:root {
  --paper: #f4eee1;
  --paper-deep: #ebe2cf;
  --ink: #2a1f18;
  --ink-soft: #5b4a3c;
  --rule: #2a1f18;
  --oxblood: #7e1d27;
  --oxblood-deep: #5e1219;
  --cream: #f3e9d2;
  --gold: #c9a96a;
  --serif: "Libre Baskerville", Baskerville, "Baskerville Old Face", Georgia, serif;
  --text: "EB Garamond", Garamond, Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15120e;
    --paper-deep: #1d1913;
    --ink: #efe6d4;
    --ink-soft: #c9bba3;
    --rule: #cfc3aa;
  }
}

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 20px;
  line-height: 1.55;
}

a { color: var(--oxblood); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: #e08a92; } }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Masthead */
.masthead { padding: 28px 0 0; text-align: center; }
.masthead nav { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.masthead nav .home { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-style: italic; font-weight: 700; }
.masthead nav .home img { width: 32px; height: 32px; border-radius: 8px; }
.masthead nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.masthead nav ul a { color: var(--ink); text-decoration: none; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.masthead nav ul a:hover { color: var(--oxblood); }

.title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(56px, 11vw, 132px);
  line-height: 1;
  margin: 48px 0 18px;
  letter-spacing: -0.01em;
}

.rules { border-top: 3px solid var(--rule); border-bottom: 1px solid var(--rule); height: 7px; }
.dateline {
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Hero */
.hero { text-align: center; padding-top: 56px; padding-bottom: 24px; }
.hero h2 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.2; margin: 0 auto 18px; max-width: 760px; }
.hero p { max-width: 640px; margin: 0 auto; color: var(--ink-soft); font-size: 22px; }
.cta { display: inline-flex; gap: 14px; margin: 32px 0 8px; flex-wrap: wrap; justify-content: center; }
.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--oxblood);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 17px;
}
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.price { font-size: 15px; color: var(--ink-soft); letter-spacing: .06em; }

.device {
  margin: 40px auto 0;
  max-width: 760px;
  background: #111;
  padding: 16px;
  border-radius: 44px;
  box-shadow: 0 30px 80px rgba(40, 20, 10, .28);
}
.device img { display: block; width: 100%; border-radius: 30px; }
.device.peek {
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  padding-bottom: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  box-shadow: none;
}
.device.peek img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.button.soon { cursor: default; }

/* Screenshot strip */
.gallery { padding: 24px 0 56px; border-top: 1px solid var(--rule); }
.gallery .kicker { margin: 32px 0 18px; }
.strip {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px max(24px, calc((100vw - 1032px) / 2)) 24px;
  scrollbar-width: thin;
}
.strip img {
  flex: 0 0 auto; width: min(300px, 70vw); height: auto; border-radius: 14px;
  scroll-snap-align: center; box-shadow: 0 14px 34px rgba(40, 20, 10, .18);
}

/* Features */
.features { padding: 72px 0 24px; }
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; border-top: 1px solid var(--rule); }
.feature:nth-child(even) .copy { order: 2; }
.feature h3 { font-family: var(--serif); font-style: italic; font-size: 36px; line-height: 1.15; margin: 0 0 14px; }
.feature p { margin: 0; color: var(--ink-soft); }
.feature .shot { background: #111; padding: 10px; border-radius: 28px; box-shadow: 0 18px 50px rgba(40, 20, 10, .2); width: 100%; max-width: 420px; justify-self: center; }
.feature .shot img { display: block; width: 100%; border-radius: 20px; }
.kicker { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--oxblood); margin-bottom: 10px; }

.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding: 48px 0; border-top: 3px double var(--rule); }
.columns h4 { font-family: var(--serif); font-style: italic; font-size: 22px; margin: 0 0 8px; }
.columns p { margin: 0; font-size: 18px; color: var(--ink-soft); }

/* Leather band */
.band { background: radial-gradient(circle at 35% 30%, #8e2430, var(--oxblood-deep) 75%); color: var(--cream); text-align: center; padding: 72px 24px; }
.band h2 { font-family: var(--serif); font-style: italic; font-size: clamp(32px, 5vw, 52px); margin: 0 0 12px; }
.band p { margin: 0 auto 26px; max-width: 560px; color: #e9d9b4; }
.band .button { background: var(--cream); color: var(--oxblood-deep); }

/* Article pages */
.article { max-width: 720px; margin: 0 auto; padding: 48px 0 72px; }
.article h1 { font-family: var(--serif); font-style: italic; font-size: 44px; margin: 0 0 6px; }
.article h2 { font-family: var(--serif); font-size: 24px; margin: 40px 0 8px; }
.article .meta { color: var(--ink-soft); font-size: 16px; letter-spacing: .06em; }
.article details { border-top: 1px solid var(--rule); padding: 16px 0; }
.article details:last-of-type { border-bottom: 1px solid var(--rule); }
.article summary { cursor: pointer; font-family: var(--serif); font-size: 19px; }
.article details p { margin: 10px 0 0; color: var(--ink-soft); }

footer { border-top: 3px solid var(--rule); margin-top: 0; padding: 26px 0 48px; font-size: 15px; color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--ink-soft); }

@media (max-width: 760px) {
  body { font-size: 18px; }
  .feature { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .feature:nth-child(even) .copy { order: 0; }
  .columns { grid-template-columns: 1fr; gap: 24px; }
  .masthead nav ul { gap: 14px; }
  .masthead nav .home span { display: none; }
  .masthead nav ul a { font-size: 12px; letter-spacing: .06em; }
  .feature .shot { max-width: 340px; }
  .dateline { letter-spacing: .12em; font-size: 12px; }
  .device { padding: 10px; border-radius: 30px; }
  .device img { border-radius: 22px; }
  .hero h2 { font-size: 26px; }
  .hero p { font-size: 19px; }
  .title { margin-top: 32px; }
}
