:root {
  --night: #071113;
  --night-deep: #050c0e;
  --deep: #0b1d21;
  --rain: #10272f;
  --rain-raised: #17353b;
  --paper: #f3ede2;
  --paper-soft: #e4ddd1;
  --ink: #172322;
  --mist: #b8c7c6;
  --amber: #d6a258;
  --amber-soft: #e8c58d;
  --line: rgba(243, 237, 226, .18);
  --line-warm: rgba(214, 162, 88, .54);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page: min(calc(100% - 2.5rem), 78rem);
  --reading: min(calc(100% - 2.5rem), 48rem);
  --section: clamp(5rem, 10vw, 10rem);
}

* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--night); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--amber-soft); outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; text-wrap: pretty; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-shell { margin-inline: auto; width: var(--page); }
.skip-link { background: var(--paper); color: var(--night); left: 1rem; padding: .8rem 1rem; position: fixed; top: -6rem; z-index: 100; }
.skip-link:focus { top: 1rem; }
.eyebrow, .panel-kicker, .chapter-mark { color: var(--amber); font-size: .68rem; font-weight: 800; letter-spacing: .19em; line-height: 1.35; text-transform: uppercase; }
.wordmark { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-decoration: none; }
.wordmark span { color: var(--amber); }

/* Landing opening */
.hero { isolation: isolate; min-height: 88svh; overflow: hidden; position: relative; }
.hero__scene { background: url("assets/a-01-opening.png") 57% 52% / cover no-repeat; filter: saturate(.72) contrast(1.08) brightness(.62); inset: 0; position: absolute; z-index: -4; transform: scale(1.015); }
.hero__atmosphere { background: radial-gradient(circle at 72% 35%, rgba(214,162,88,.14), transparent 25%), linear-gradient(90deg, rgba(5,12,14,.97) 0%, rgba(7,17,19,.88) 43%, rgba(7,17,19,.38) 78%, rgba(7,17,19,.58) 100%), linear-gradient(0deg, var(--night) 0%, transparent 38%, rgba(7,17,19,.18) 100%); inset: 0; position: absolute; z-index: -3; }
.site-header { align-items: center; border-bottom: 1px solid rgba(243,237,226,.12); display: flex; justify-content: space-between; margin-inline: auto; min-height: 4.75rem; position: relative; width: var(--page); z-index: 2; }
.site-header nav { align-items: center; display: flex; font-size: .67rem; font-weight: 800; gap: 1.5rem; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav a { text-decoration: none; }
.nav-cta { align-items: center; border: 1px solid var(--line-warm); display: inline-flex; min-height: 2.6rem; padding: .65rem .85rem; }
.nav-cta:hover { background: var(--amber); color: var(--night); }
.hero__content { align-items: end; display: grid; gap: 4rem; margin-inline: auto; min-height: calc(88svh - 4.75rem); padding: clamp(3.5rem, 9vh, 6.5rem) 0 clamp(2.5rem, 5vh, 4rem); width: var(--page); }
.hero__copy { max-width: 48rem; min-width: 0; }
.hero .eyebrow { margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(3.5rem, 8.4vw, 8.25rem); line-height: .96; margin-bottom: 1.6rem; max-width: 10ch; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--paper-soft); font-weight: 400; padding-left: .08em; }
.hero__dek { color: #dbe3df; font-family: var(--serif); font-size: clamp(1.08rem, 1.8vw, 1.32rem); line-height: 1.54; margin-bottom: 1.75rem; max-width: 34rem; }
.hero__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1.1rem 1.5rem; }
.button, .signup-button { align-items: center; display: inline-flex; font-size: .72rem; font-weight: 900; justify-content: space-between; letter-spacing: .13em; min-height: 3.35rem; padding: .9rem 1rem; text-decoration: none; text-transform: uppercase; }
.button--primary { background: var(--amber); color: var(--night); gap: 1.8rem; min-width: 15rem; }
.button--primary:hover { background: var(--paper); }
.text-link { color: var(--paper-soft); font-size: .69rem; font-weight: 800; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--amber); margin-left: .35rem; }
.hero__expectation { color: var(--mist); font-size: .66rem; font-weight: 700; letter-spacing: .08em; margin: .85rem 0 0; text-transform: uppercase; }
.hero__ledger { border-left: 1px solid var(--line-warm); display: grid; gap: 1.15rem; margin: 0; padding-left: 1.25rem; }
.hero__ledger div { align-items: baseline; display: grid; gap: 1rem; grid-template-columns: 3.5rem 1fr; }
.hero__ledger dt { color: var(--amber-soft); font-family: var(--serif); font-size: 1.75rem; line-height: 1; }
.hero__ledger dd { color: var(--mist); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Compact story shelf */
.story-sequence { background: radial-gradient(circle at 78% 8%, rgba(214,162,88,.1), transparent 28%), linear-gradient(180deg, var(--rain) 0%, var(--night) 42%, var(--deep) 100%); padding: clamp(4rem, 7vw, 7rem) 0; }
.story-shelf-shell { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.sequence-heading { align-items: end; display: grid; gap: 1.5rem; }
.sequence-heading .eyebrow { margin-bottom: .8rem; }
.sequence-heading h2 { font-size: clamp(2.7rem, 5.6vw, 5.2rem); line-height: 1; margin: 0; max-width: 13ch; }
.sequence-heading h2 em { color: var(--amber-soft); font-weight: 400; }
.sequence-heading > p { color: var(--mist); font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; margin: 0; max-width: 24rem; }
.story-shelf { display: grid; gap: clamp(1rem, 2.4vw, 2rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { min-width: 0; }
.story-cover { aspect-ratio: 3 / 4; border: 1px solid var(--line-warm); box-shadow: 0 24px 60px rgba(0,0,0,.28); margin: 0 0 1rem; overflow: hidden; position: relative; }
.story-cover::after { background: linear-gradient(180deg, rgba(7,17,19,.06) 26%, rgba(7,17,19,.92) 100%); content: ""; inset: 0; position: absolute; }
.story-cover img { height: 100%; filter: saturate(.72) contrast(1.08); object-fit: cover; transition: transform .35s ease; width: 100%; }
.story-card:hover .story-cover img { transform: scale(1.025); }
.story-cover figcaption { bottom: 0; display: grid; gap: .5rem; left: 0; padding: clamp(1rem, 2.6vw, 1.6rem); position: absolute; right: 0; z-index: 1; }
.story-cover figcaption span { color: var(--amber); font-size: .64rem; font-weight: 800; letter-spacing: .18em; }
.story-cover figcaption strong { font-family: var(--serif); font-size: clamp(1.45rem, 2.7vw, 2.25rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; max-width: 9ch; }
.story-card > p { color: var(--paper-soft); font-family: var(--serif); font-size: 1rem; line-height: 1.46; margin: 0 0 .5rem; max-width: 24ch; }
.story-card small { color: var(--mist); font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

/* Conversion climax */
.offer { background: linear-gradient(180deg, var(--night), var(--deep)); isolation: isolate; overflow: hidden; padding: var(--section) 0; position: relative; }
.offer__atmosphere { background: linear-gradient(90deg, rgba(7,17,19,.94), rgba(7,17,19,.68), rgba(7,17,19,.94)), url("assets/c-04-atlas-dawn.png") center / cover no-repeat; filter: saturate(.62) contrast(1.06) brightness(.65); inset: 0; opacity: .55; position: absolute; z-index: -1; }
.offer-object { border: 1px solid var(--line-warm); box-shadow: 0 38px 100px rgba(0,0,0,.38); display: grid; margin-inline: auto; max-width: 68rem; min-height: 38rem; position: relative; }
.offer-proof { background: url("assets/a-04-dawn.png") 48% center / cover no-repeat; min-height: 30rem; overflow: hidden; position: relative; }
.offer-proof__shade { background: linear-gradient(180deg, rgba(7,17,19,.36), rgba(7,17,19,.96)); inset: 0; position: absolute; }
.offer-proof__content { bottom: 0; left: 0; padding: clamp(1.5rem, 4vw, 3rem); position: absolute; right: 0; z-index: 1; }
.offer-proof .eyebrow { margin-bottom: 1rem; }
.offer-proof h2 { font-size: clamp(2.8rem, 5.5vw, 5rem); line-height: .98; margin-bottom: 1.6rem; max-width: 11ch; }
.offer-proof h2 em { color: var(--amber-soft); font-weight: 400; }
.offer-proof ul { border-top: 1px solid var(--line); list-style: none; margin: 0; padding: .75rem 0 0; }
.offer-proof li { border-bottom: 1px solid var(--line); color: var(--paper-soft); display: grid; font-family: var(--serif); gap: 1rem; grid-template-columns: 2.5rem 1fr; padding: .65rem 0; }
.offer-proof li span { color: var(--amber); font-family: var(--sans); font-size: .64rem; font-weight: 800; letter-spacing: .14em; padding-top: .22rem; }
.capture-panel { background: var(--paper); color: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: clamp(1.7rem, 5vw, 4rem); position: relative; }
.capture-panel::before { background: linear-gradient(90deg, rgba(243,237,226,0), var(--paper)); bottom: 0; content: ""; left: -4rem; pointer-events: none; position: absolute; top: 0; width: 4rem; }
.capture-panel .panel-kicker { color: #8f642c; margin-bottom: .8rem; }
.capture-panel h3 { font-size: clamp(2.5rem, 4.6vw, 4.3rem); line-height: 1; margin-bottom: 1rem; max-width: 9ch; }
.capture-panel > p:not(.panel-kicker):not(.privacy) { font-family: var(--serif); font-size: 1.04rem; line-height: 1.58; max-width: 29rem; }
.signup-button { background: var(--night); color: var(--paper); gap: 2rem; margin: 1rem 0; max-width: 26rem; width: 100%; }
.signup-button:hover { background: var(--amber); color: var(--night); }
.beehiiv-embed-shell { background: var(--paper); border: 1px solid rgba(159,140,108,.55); box-shadow: 0 1.25rem 3rem rgba(7,17,19,.12); margin-top: .25rem; overflow: hidden; width: 100%; }
.beehiiv-embed { background: var(--paper); border: 0; display: block; height: 24rem; width: 100%; }
.capture-meta { border-bottom: 1px solid rgba(23,35,34,.18); border-top: 1px solid rgba(23,35,34,.18); display: grid; gap: .4rem; margin: .55rem 0 1rem; padding: .8rem 0; }
.capture-meta p { font-size: .72rem; letter-spacing: .04em; margin: 0; }
.capture-meta strong { font-weight: 800; }
.privacy { color: #52605e; font-size: .7rem; line-height: 1.5; margin: 0; max-width: 30rem; }
.privacy a { color: var(--ink); }

footer { align-items: center; background: var(--night-deep); border-top: 1px solid var(--line); color: var(--mist); display: grid; font-size: .66rem; gap: .8rem 1.5rem; letter-spacing: .1em; padding: 1.5rem max(1.25rem, calc((100vw - 78rem) / 2)); text-transform: uppercase; }
footer p { margin: 0; }
footer a { color: inherit; }

/* Sampler reading surface */
.sampler-page { background: var(--night); color: var(--paper); font-family: var(--serif); }
.sampler-mast { isolation: isolate; min-height: 84svh; overflow: hidden; position: relative; }
.sampler-mast__image { background: url("assets/a-01-opening.png") center / cover no-repeat; filter: saturate(.68) brightness(.55); inset: 0; position: absolute; z-index: -2; }
.sampler-mast__veil { background: linear-gradient(90deg, rgba(7,17,19,.98), rgba(7,17,19,.7), rgba(7,17,19,.36)), linear-gradient(0deg, var(--night), transparent 56%); inset: 0; position: absolute; z-index: -1; }
.sampler-nav { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-inline: auto; min-height: 4.75rem; width: var(--page); }
.sampler-nav a { font-family: var(--sans); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }
.sampler-mast__copy { display: flex; flex-direction: column; justify-content: end; margin-inline: auto; min-height: calc(84svh - 4.75rem); padding: 5rem 0 4rem; width: var(--page); }
.sampler-mast h1 { font-size: clamp(4rem, 10vw, 9rem); line-height: .9; margin-bottom: 1.3rem; max-width: 8ch; }
.sampler-mast h1 em { color: var(--amber-soft); display: block; font-weight: 400; }
.sampler-mast__copy > p:last-child { color: #d7e0df; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.55; max-width: 35rem; }
.reading-story { background: linear-gradient(180deg, var(--night), var(--deep)); border-top: 1px solid var(--line); padding: var(--section) 0; }
.reading-story:nth-of-type(even) { background: linear-gradient(180deg, var(--deep), var(--rain)); }
.reading-story__head { align-items: end; display: grid; gap: 2rem; margin-inline: auto; width: var(--page); }
.reading-story__head h2 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: .96; margin-bottom: 0; max-width: 11ch; }
.reading-story__head p { color: var(--amber); font-family: var(--sans); font-size: .66rem; font-weight: 800; letter-spacing: .18em; margin: 0; text-transform: uppercase; }
.reading-image { margin: 2.5rem auto; max-width: 62rem; position: relative; width: var(--page); }
.reading-image img { aspect-ratio: 16 / 10; filter: saturate(.76) contrast(1.06); object-fit: cover; width: 100%; }
.reading-image::after { border: 1px solid var(--line-warm); content: ""; inset: 1rem -1rem -1rem 1rem; pointer-events: none; position: absolute; z-index: -1; }
.prose { color: var(--paper-soft); font-size: clamp(1.04rem, 1.6vw, 1.18rem); line-height: 1.75; margin-inline: auto; width: var(--reading); }
.prose p { margin-bottom: 1.45rem; }
.prose .turn { border-left: 1px solid var(--amber); color: var(--amber-soft); font-size: 1.18em; font-style: italic; margin-top: 2.2rem; padding-left: 1.25rem; }
.sampler-closing { background: radial-gradient(circle at 60% 20%, rgba(214,162,88,.13), transparent 35%), var(--night); padding: var(--section) 0; }
.sampler-closing__inner { margin-inline: auto; width: var(--page); }
.sampler-closing h2 { font-size: clamp(3rem, 7vw, 6rem); line-height: .98; margin-bottom: 1rem; }
.sampler-closing p { color: var(--mist); font-size: 1.05rem; max-width: 38rem; }
.sampler-closing .button { background: var(--amber); color: var(--night); margin-top: 1.2rem; }

@media (min-width: 52rem) {
  .hero__content { grid-template-columns: minmax(0, 1fr) 13rem; }
  .sequence-heading { grid-template-columns: minmax(0, 1fr) 24rem; }
  .offer-object { grid-template-columns: minmax(0, 1.05fr) minmax(25rem, .95fr); }
  .capture-meta { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr auto auto; }
  .reading-story__head { grid-template-columns: 1fr auto; }
}

@media (max-width: 51.99rem) {
  .hero__scene { background-position: 64% center; }
  .hero__atmosphere { background: linear-gradient(0deg, rgba(7,17,19,.98) 0%, rgba(7,17,19,.75) 64%, rgba(7,17,19,.44) 100%); }
  .hero__content { align-content: end; }
  .hero__ledger { border-left: 0; border-top: 1px solid var(--line-warm); grid-template-columns: repeat(3, 1fr); padding-left: 0; padding-top: 1rem; }
  .hero__ledger div { display: block; }
  .hero__ledger dt { margin-bottom: .35rem; }
  .hero__ledger dd { max-width: 6rem; }
  .offer { padding: clamp(3rem, 8vw, 5rem) 0; }
  .offer-object { min-height: 0; }
  .offer-proof { display: none; }
  .capture-panel::before { display: none; }
  .reading-story__head p { grid-row: 1; }
}

@media (max-width: 38rem) {
  :root { --page: min(calc(100% - 1.5rem), 78rem); --reading: min(calc(100% - 2rem), 48rem); }
  .site-header nav a:not(.nav-cta) { display: none; }
  .nav-cta { min-height: 2.5rem; padding-inline: .7rem; }
  .hero__content { min-height: calc(88svh - 4.75rem); padding-bottom: 1.5rem; padding-top: 2.5rem; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.35rem); line-height: .98; }
  .hero__dek { font-size: 1.02rem; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .button--primary { min-width: 0; width: 100%; }
  .hero__expectation { line-height: 1.45; }
  .sequence-heading h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .story-shelf { gap: 1rem; grid-auto-columns: minmax(13.5rem, 72vw); grid-template-columns: none; grid-auto-flow: column; margin-right: -.75rem; overflow-x: auto; padding: 0 .75rem 1rem 0; scroll-padding-left: .75rem; scroll-snap-type: x mandatory; }
  .story-card { scroll-snap-align: start; }
  .story-cover figcaption strong { font-size: 1.65rem; }
  .story-card > p { min-height: 2.9rem; }
  .offer-object { margin-inline: -.1rem; }
  .offer-proof { min-height: 34rem; }
  .offer-proof h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .capture-panel { padding: 1.5rem; }
  .capture-panel h3 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .signup-button { max-width: none; }
  .sampler-nav a:last-child { display: none; }
  .sampler-mast h1 { font-size: clamp(4rem, 18vw, 5.6rem); }
  .reading-story__head h2 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .reading-image { width: calc(100% - 1.5rem); }
  .reading-image img { aspect-ratio: 4 / 5; }
  footer { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
