/* Home v2 — "the house that stays lit".
   Layout: full-bleed cinematic chapters on a near-black ground; content on a 1320px measure with wide gutters.
   One visual world in both color schemes (night), so tokens are pinned dark here.
   Color: night ink + warm lamplight (ember/marker) + spruce. Type: Big Shoulders Display at poster scale,
   Big Shoulders Stencil for timecodes, IBM Plex Sans for reading, Plex Mono for numbers. */
/* ===== Hero ===== */
.v2-hero { position: relative; min-height: clamp(680px, 100svh, 1040px); display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.v2-hero-img { position: absolute; inset: 0; z-index: -1; }
.v2-hero-img img, .v2-ch-img img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.v2-hero-img img { object-position: 72% 60%; }
.v2-hero-img::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 15, 17, .92) 0%, rgba(10, 15, 17, .66) 34%, rgba(10, 15, 17, .05) 66%),
  linear-gradient(0deg, var(--night) 0%, rgba(10, 15, 17, .55) 22%, rgba(10, 15, 17, 0) 46%); }
.v2-hero-inner { align-self: end; display: grid; gap: 22px; padding-top: 118px; padding-bottom: 40px; }
.v2-hero h1 { font: 900 clamp(60px, min(8vw, 11.2vh), 140px)/.86 var(--poster); text-transform: uppercase; letter-spacing: -.005em; max-width: 9.5ch; text-wrap: balance; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.v2-hero h1 em { font-style: normal; color: var(--lamp); }
.v2-lede { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.55; color: #d6ddd9; max-width: 42ch; margin: 0; }
.v2-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.v2-strip { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); border-top: 1px solid var(--faint); padding-top: 20px; padding-bottom: 26px; gap: 18px; }
.v2-strip > span { display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--faint); padding-left: 18px; }
.v2-strip > span:first-child { border-left: 0; padding-left: 0; font-size: 13px; color: var(--dim); line-height: 1.5; }
.v2-strip-label b { color: var(--ink); font-weight: 600; }
.v2-strip b { font: 800 clamp(34px, 3vw, 48px)/1 var(--poster); font-variant-numeric: tabular-nums; }
.v2-strip .v2-strip-label b { font: 600 15px/1.4 var(--body); }
.v2-strip b i { font-style: normal; font-size: .55em; color: var(--dim); }
.v2-strip small { font-size: 12.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 900px) { .v2-strip { grid-template-columns: repeat(3, 1fr); } .v2-strip > span:first-child { grid-column: 1 / -1; } .v2-strip > span:nth-child(2), .v2-strip > span:nth-child(5) { border-left: 0; padding-left: 0; } }

/* ===== Story ===== */
.v2-story { position: relative; padding-top: 140px; }
.v2-story-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px 64px; align-items: end; padding-bottom: 90px; }
.v2-story-intro .v2-tag { grid-column: 1 / -1; }
@media (max-width: 900px) { .v2-story-intro { grid-template-columns: minmax(0, 1fr); } }
.v2-story-intro h2, .v2-check h2, .v2-ledger h2, .v2-index h2, .v2-final h2 { font: 800 clamp(44px, 5.4vw, 92px)/.92 var(--poster); text-transform: uppercase; max-width: 15ch; text-wrap: balance; }
.v2-story-intro p, .v2-ledger-head p { font-size: 19px; color: var(--dim); max-width: 52ch; margin: 0; line-height: 1.6; }

.v2-rail { position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 20; display: grid; gap: 14px; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.v2-rail.on { opacity: 1; pointer-events: auto; }
.v2-rail a { display: flex; align-items: center; gap: 10px; font: 800 11px/1 var(--stencil); letter-spacing: .18em; text-transform: uppercase; color: rgba(238, 241, 236, .45); text-decoration: none; }
.v2-rail a i { width: 18px; height: 2px; background: currentColor; transition: width .3s ease; }
.v2-rail a.active { color: var(--lamp); }
.v2-rail a.active i { width: 34px; }
@media (max-width: 1240px) { .v2-rail { display: none; } }

.v2-ch { position: relative; min-height: clamp(640px, 96svh, 980px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.v2-ch + .v2-ch { margin-top: 2px; }
.v2-ch-img { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.v2-ch-img::after { content: ""; position: absolute; inset: 0; }
.v2-ch-left .v2-ch-img::after { background: linear-gradient(90deg, rgba(10, 15, 17, .9) 0%, rgba(10, 15, 17, .62) 38%, rgba(10, 15, 17, 0) 70%); }
#ch1 .v2-ch-img img { object-position: 80% 50%; }
#ch2 .v2-ch-img img { filter: brightness(.82) saturate(.9); }
#ch2 .v2-ch-img::after { background: linear-gradient(90deg, rgba(10, 15, 17, .94) 0%, rgba(10, 15, 17, .78) 42%, rgba(10, 15, 17, .2) 78%); }
.v2-ch-split .v2-ch-img { left: 38%; }
.v2-ch-split .v2-ch-img::after { background: linear-gradient(90deg, var(--night) 0%, rgba(10, 15, 17, .55) 18%, rgba(10, 15, 17, 0) 42%); }
#ch3 .v2-ch-img img { object-position: 60% 75%; filter: brightness(.68) saturate(.92); }
@media (max-width: 900px) { .v2-ch-split .v2-ch-img { left: 0; } .v2-ch-split .v2-ch-img::after { background: linear-gradient(90deg, rgba(10, 15, 17, .92) 0%, rgba(10, 15, 17, .7) 60%, rgba(10, 15, 17, .4) 100%); } }
.v2-ch-dawn { align-items: center; justify-items: end; color: #1b2226; }
.v2-ch-dawn .v2-ch-img img { object-position: 30% 60%; }
.v2-ch-dawn .v2-ch-img::after { background: linear-gradient(270deg, rgba(246, 240, 236, .75) 0%, rgba(246, 240, 236, .35) 38%, rgba(246, 240, 236, 0) 62%); }
.v2-ch-dawn .v2-ch-body { justify-items: start; }
.v2-ch-dawn .v2-ch-body > * { margin-left: auto; }
.v2-ch-body { display: grid; gap: 18px; padding-block: 90px; }
.v2-ch-body > * { max-width: 520px; }
.v2-time { font: 800 clamp(64px, 8vw, 132px)/.8 var(--stencil); color: var(--lamp); letter-spacing: .02em; text-shadow: 0 0 60px rgba(255, 190, 90, .35); }
.v2-ch-dawn .v2-time { color: #b4561c; text-shadow: none; }
.v2-ch h3 { font: 800 clamp(36px, 3.6vw, 58px)/.95 var(--poster); text-transform: uppercase; }
.v2-ch p { font-size: 18px; line-height: 1.6; color: var(--soft); margin: 0; }
.v2-ch-dawn p { color: #2c3539; }
.v2-kit { margin: 6px 0 0; display: grid; gap: 0; border-top: 1px solid var(--faint); }
.v2-ch-dawn .v2-kit { border-color: rgba(27, 34, 38, .18); }
.v2-kit dt { font: 800 11.5px/1 var(--stencil); letter-spacing: .2em; text-transform: uppercase; color: var(--lamp); padding: 16px 0 6px; }
.v2-ch-dawn .v2-kit dt { color: #b4561c; }
.v2-kit dd { margin: 0; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--faint); font-size: 16px; position: relative; }
.v2-ch-dawn .v2-kit dd { border-color: rgba(27, 34, 38, .14); }
.v2-kit dd::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 12px; border: 1.8px solid var(--accent); border-radius: 2px; background: linear-gradient(var(--accent), var(--accent)) center / 6px 6px no-repeat; }
.v2-ch-dawn .v2-kit dd::before { border-color: #1e5e5b; background-image: linear-gradient(#1e5e5b, #1e5e5b); }

/* ===== The check ===== */
.v2-check { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: center; padding-top: 160px; padding-bottom: 140px; }
@media (max-width: 900px) { .v2-check { grid-template-columns: minmax(0, 1fr); padding-top: 100px; } }
.v2-dial { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.v2-dial::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 190, 90, .16), rgba(255, 190, 90, 0) 70%); }
.v2-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.v2-dial .track { fill: none; stroke: rgba(238, 241, 236, .08); stroke-width: 12; }
.v2-dial .tick { fill: none; stroke: rgba(238, 241, 236, .18); stroke-width: 1; stroke-dasharray: 1 10.1; }
.v2-dial .fill { fill: none; stroke: var(--lamp); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 139 604; filter: drop-shadow(0 0 10px rgba(255, 190, 90, .6)); transition: stroke-dasharray 1.6s cubic-bezier(.2, .7, .2, 1); }
.v2-dial b { position: relative; font: 900 clamp(90px, 10vw, 150px)/.8 var(--poster); display: flex; align-items: flex-start; }
.v2-dial b i { font-style: normal; font-size: .32em; color: var(--dim); margin-top: .2em; }
.v2-dial small { position: absolute; bottom: 30%; font: 800 12px/1 var(--stencil); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.v2-check-copy { display: grid; gap: 28px; justify-items: start; }
.v2-qs { list-style: none; counter-reset: q; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; width: 100%; max-width: 620px; }
.v2-qs li { counter-increment: q; display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--faint); font-size: 17px; }
.v2-qs li::before { content: counter(q, decimal-leading-zero); font: 800 13px/1 var(--stencil); letter-spacing: .14em; color: var(--lamp); }
.v2-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--faint); border: 1px solid var(--faint); border-radius: 16px; overflow: hidden; width: 100%; max-width: 620px; }
.v2-preview > div { background: var(--night-2); padding: 18px 20px; display: grid; gap: 10px; align-content: start; }
.v2-preview p { margin: 0; font-size: 14.5px; display: flex; justify-content: space-between; gap: 10px; padding-left: 22px; position: relative; color: var(--soft); }
.v2-preview p::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border: 1.6px solid var(--accent); border-radius: 2px; }
.v2-preview p b { font: 500 13.5px var(--mono); color: var(--ink); }
@media (max-width: 560px) { .v2-qs, .v2-preview { grid-template-columns: minmax(0, 1fr); } }

/* ===== Ledger ===== */
.v2-ledger { background: var(--night-2); border-block: 1px solid var(--faint); padding-block: 140px 110px; }
.v2-ledger-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px 64px; align-items: end; margin-bottom: 80px; }
.v2-ledger-head .v2-tag { grid-column: 1 / -1; }
@media (max-width: 900px) { .v2-ledger-head { grid-template-columns: minmax(0, 1fr); } }
.v2-ledger-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.v2-ledger-row::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--lamp) 0%, var(--lamp) 38%, var(--faint) 38%); }
.v2-ledger-row li { position: relative; display: grid; gap: 14px; padding: 36px 28px 0 0; align-content: start; }
.v2-ledger-row li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--night-2); border: 2px solid var(--lamp); }
.v2-ledger-row li:nth-child(-n+2)::before { background: var(--lamp); box-shadow: 0 0 18px rgba(255, 190, 90, .6); }
.v2-ledger-row .when { font: 800 13px/1 var(--stencil); letter-spacing: .2em; text-transform: uppercase; color: var(--lamp); }
.v2-ledger-row b { font: 800 clamp(52px, 5.6vw, 96px)/.9 var(--poster); font-variant-numeric: tabular-nums; }
.v2-ledger-row li > span:last-child { color: var(--dim); font-size: 15.5px; max-width: 24ch; }
@media (max-width: 860px) { .v2-ledger-row { grid-template-columns: 1fr 1fr; gap: 40px 0; } .v2-ledger-row::before { display: none; } }
.v2-note { margin-top: 56px; font-size: 13.5px; color: var(--dim); }

/* ===== Editorial index ===== */
.v2-index { padding-top: 150px; padding-bottom: 130px; }
.v2-index-head { display: grid; gap: 22px; margin-bottom: 48px; }
/* ===== Final ===== */
.v2-final { position: relative; min-height: clamp(620px, 90svh, 920px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.v2-final .v2-ch-img img { object-position: 30% 50%; }
.v2-final .v2-ch-img::after { background: linear-gradient(270deg, rgba(10, 15, 17, .92) 0%, rgba(10, 15, 17, .6) 40%, rgba(10, 15, 17, .1) 70%), linear-gradient(180deg, var(--night) 0%, rgba(10, 15, 17, 0) 18%); }
.v2-final-body { display: grid; gap: 26px; justify-items: start; align-content: center; padding-block: 120px; }
.v2-final-body > * { max-width: 600px; }
@media (min-width: 900px) { .cine .v2-final-body { padding-left: calc(50% + 24px); } }

/* ===== Motion: a slow push-in on images, chapters fade up. Reduced motion keeps soft fades only. ===== */
@media (prefers-reduced-motion: no-preference) {
  .v2-hero-img img { animation: v2push 22s ease-out both; }
  @keyframes v2push { from { transform: scale(1.08); } to { transform: scale(1); } }
  .v2-ch-img img { transform: scale(1.08); transition: transform 2.4s cubic-bezier(.2, .7, .2, 1); }
  .v2-ch.inview .v2-ch-img img, .v2-final.inview .v2-ch-img img { transform: scale(1); }
  .js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
  .js-reveal .reveal.in { opacity: 1; transform: none; }
  .v2-hero-inner > * { animation: v2rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .v2-hero-inner > *:nth-child(2) { animation-delay: .12s; } .v2-hero-inner > *:nth-child(3) { animation-delay: .24s; } .v2-hero-inner > *:nth-child(4) { animation-delay: .36s; } .v2-hero-inner > *:nth-child(5) { animation-delay: .44s; }
  @keyframes v2rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 0; transition: opacity .8s ease; }
  .js-reveal .reveal.in { opacity: 1; }
  .v2-dial .fill { transition: opacity .6s ease; }
}
.v2-final-sub { font-size: 19px; line-height: 1.6; color: var(--soft); margin: 0; }
