/* Homepage only. Shares tokens with styles.css ("The Family Ledger"), with life added:
   a cinematic hero, a record that writes itself, cut-out people, a film-like demo, a moving reel.
   Hidden-until-animated states only apply under html.js, so the page reads fine if scripts fail.
   All motion stops for prefers-reduced-motion and for the page's own Pause motion button (html.still). */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.home main { max-width: none; margin: 0; padding: 0; }
.home section { padding: 76px 0; position: relative; overflow-x: clip; }
@media (min-width: 900px) { .home section { padding: 112px 0; } }
.home h1 { font: 600 clamp(38px, 5.6vw, 66px)/1.05 var(--serif); margin: 0 0 22px; letter-spacing: -0.02em; }
.home h1 em { font-style: italic; font-weight: 500; display: block; margin-top: 8px; }
.home h2 { font: 600 clamp(30px, 3.8vw, 46px)/1.12 var(--serif); margin: 0 0 20px; letter-spacing: -0.012em; max-width: 21em; }
.home h3 { font: 600 22px/1.3 var(--serif); margin: 0 0 8px; }
.lede { font-size: 21px; line-height: 1.6; max-width: 36em; }
.small { font-size: 17px; }
.band { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cta { width: auto; display: inline-flex; padding: 17px 32px; font-size: 20px; margin: 0; box-shadow: 0 10px 24px -12px rgba(178,34,52,.8); transition: transform .2s ease, box-shadow .2s ease, background .2s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(178,34,52,.85); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--sheet); color: var(--ink); padding: 12px 16px; z-index: 60; font-weight: 700; }
.skip:focus { left: 8px; }
.home img { display: block; background: #D8DEE8; object-fit: cover; height: auto; }

/* Header: sticky, with a thin brass reading-progress line */
.home .top { padding: 0 max(20px, calc((100% - 1160px) / 2 + 20px)); position: sticky; top: 0; z-index: 40; }
.top-nav { display: none; gap: 28px; margin-left: auto; margin-right: 24px; }
.top-nav a { color: #E6E9E7; text-decoration: none; font-weight: 700; font-size: 17px; min-height: 48px; display: inline-flex; align-items: center; }
.top-nav a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 960px) { .top-nav { display: flex; } }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.progress span { display: block; height: 100%; background: #C8313E; transform-origin: left; transform: scaleX(0); }

/* ---- HERO: full-bleed photo, ink gradient, white type ---- */
.home .hero { padding: 0; min-height: min(92vh, 860px, 100svh); display: flex; align-items: center; color: #fff; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-position: 70% 30%; transform-origin: 70% 40%; animation: kenburns 28s ease-in-out infinite alternate; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,28,54,.96) 0%, rgba(14,28,54,.88) 38%, rgba(14,28,54,.35) 70%, rgba(14,28,54,.15) 100%), linear-gradient(0deg, rgba(14,28,54,.75), transparent 45%); }
@media (max-width: 959px) { .hero-bg::after { background: linear-gradient(180deg, rgba(14,28,54,.55) 0%, rgba(14,28,54,.9) 45%, rgba(14,28,54,.97) 100%); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero-grid { position: relative; z-index: 2; display: grid; gap: 40px; padding: 64px 20px 72px; width: 100%; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding: 96px 20px 110px; } }
.hero h1 em { color: #D9C08A; }
.hero .lede { color: #E7ECE9; }
.kicker { font: 600 18px var(--serif); margin: 0 0 16px; padding-left: 14px; border-left: 3px solid #C8313E; color: #D9C08A; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 30px 0 24px; }
.hero .cta { background: #2E6B57; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); }
.hero .cta:hover { background: #245746; }
.text-link { font-weight: 700; min-height: 48px; display: inline-flex; align-items: center; }
.hero .text-link { color: #fff; }
.assurances { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.assurances li { padding-left: 30px; position: relative; color: #D5DCD8; }
.assurances li::before, .ticks li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px; border-left: 2.5px solid var(--brass); border-bottom: 2.5px solid var(--brass); transform: rotate(-45deg); }
.hero .assurances li::before { border-color: #C8313E; }

/* Blank receipts drifting slowly behind the hero: the paper of a year of care */
.paper-drift { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.drift { position: absolute; width: 120px; height: 170px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.14) 0 2px, transparent 2px 16px) 18px 26px / 80px 120px no-repeat, rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 2px; animation: drift 26s linear infinite; }
.d1 { left: 52%; top: 110%; animation-delay: -4s; }
.d2 { left: 84%; top: 110%; animation-delay: -15s; width: 96px; height: 136px; }
.d3 { left: 66%; top: 110%; animation-delay: -21s; width: 80px; height: 112px; opacity: .7; }
@keyframes drift { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-140vh) rotate(10deg); } }
@media (max-width: 959px) { .paper-drift { display: none; } }

/* The live record card */
.float-ledger { background: var(--sheet); color: var(--ink); border-top: 3px solid #C8313E; padding: 6px 20px 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); max-width: 440px; width: 100%; justify-self: end; position: relative; }
@media (min-width: 960px) { .float-ledger { transform: rotate(1.2deg); } }
.fl-head { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--muted); padding: 12px 0 9px; border-bottom: 1px solid var(--brass); }
.fl-head span:first-child { font: 600 16px var(--serif); color: var(--ink); }
.fl-line { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--rule); align-items: baseline; font-size: 16px; }
.js .fl-line { clip-path: inset(0 100% 0 0); opacity: .2; transition: clip-path .9s cubic-bezier(.3,.6,.2,1), opacity .5s; }
.js .fl-line.show { clip-path: inset(0 0 0 0); opacity: 1; }
.fl-line .d { font: 500 14px var(--serif); color: var(--muted); }
.fl-line .w { font-weight: 700; line-height: 1.3; }
.fl-line small { display: flex; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 3px; }
.fl-line .a, .fl-close .a { font: 600 17px var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fl-close { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px double var(--brass); margin-top: -1px; padding-top: 12px; font: 600 17px var(--serif); }
.fl-close .a { font-size: 32px; color: var(--navy); }
.fl-note { font-size: 14px; color: var(--muted); margin: 8px 0 0; text-align: right; }

/* Moving strip of what counts */
.marquee { overflow: hidden; background: var(--ink); color: #E7ECE9; border-top: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:not(.reel) span { font: 500 italic 20px var(--serif); padding: 18px 0 18px 26px; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee:not(.reel) span::after { content: ''; width: 8px; height: 8px; background: #C8313E; transform: rotate(45deg); display: inline-block; margin-left: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.facts { display: grid; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts p { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--rule); font-size: 17px; color: var(--muted); }
@media (min-width: 760px) { .facts p { border-bottom: 0; padding: 26px 24px 26px 0; } .facts p + p { border-left: 1px solid var(--rule); padding-left: 24px; } }
.facts strong { display: block; font: 600 19px var(--serif); color: var(--ink); }
.facts .motion-row { grid-column: 1 / -1; border: 0 !important; padding: 0 0 8px !important; text-align: right; }
.motion-toggle { font-size: 16px; color: var(--muted); }

/* Scroll reveals */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Cut-out people layered into sections */
.cutout { position: absolute; pointer-events: none; background: none !important; height: auto; z-index: 0; }
.breathe { animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.015); } }
.cut-why { right: max(-40px, calc((100% - 1160px) / 2 - 140px)); bottom: 0; width: min(430px, 34vw); opacity: .13; filter: grayscale(.3); }
@media (max-width: 899px) { .cut-why { display: none; } }
.why-grid, .caregiver-grid, .family-grid, .sample-wrap, .price-grid { position: relative; z-index: 1; }

/* Why it matters */
.why-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 72px; } }
.honest { border-left: 3px solid var(--brass); padding-left: 16px; font-weight: 700; }
.income-figure { margin: 0; background: var(--paper); border-top: 3px solid var(--ink); padding: 26px 24px 20px; box-shadow: 0 30px 60px -36px rgba(24,36,47,.5); }
.inc-row { margin-bottom: 22px; }
.inc-label { display: block; font-weight: 700; margin-bottom: 8px; }
.inc-bar { display: block; height: 26px; background: #E3E8E5; overflow: hidden; }
.inc-bar span { display: block; height: 100%; transform-origin: left; }
.js .inc-bar span { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.inc-bar.full span { width: 100%; background: var(--ink); }
.inc-bar.minus span { width: 44%; margin-left: 56%; background: repeating-linear-gradient(135deg, var(--brass) 0 6px, #D9D9D9 6px 12px); transform-origin: right; transition-delay: .5s; }
.inc-bar.counted span { width: 56%; background: var(--green); transition-delay: 1.1s; }
.js .income-figure.in .inc-bar span { transform: scaleX(1); }
.inc-row.result { border-top: 3px double var(--brass); padding-top: 16px; }
.inc-note { font: 600 21px/1.35 var(--serif); margin: 4px 0 12px; }

/* Who: tabs with crossfading panels */
.who-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 8px 0 32px; }
@media (min-width: 860px) { .who-tabs { flex-wrap: wrap; } }
.who-tabs button { flex: none; min-height: 52px; padding: 0 20px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 700 18px var(--sans); border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.who-tabs button:hover { background: #E7EBE8; }
.who-tabs button[aria-selected=true] { background: var(--ink); color: #fff; }
.who-panel { display: grid; gap: 30px; }
@media (min-width: 860px) { .who-panel { grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; } }
.who-photo { overflow: hidden; box-shadow: 0 30px 60px -36px rgba(24,36,47,.6); }
.who-panel img { width: 100%; aspect-ratio: 4 / 5; max-height: 580px; }
.who-panel.in img { animation: settle 1.1s cubic-bezier(.2,.7,.2,1); }
.who-panel.in .who-words { animation: rise .8s .1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes settle { from { transform: scale(1.08); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.pain { font: 500 italic clamp(25px, 2.7vw, 32px)/1.35 var(--serif); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding: 11px 0 11px 32px; border-top: 1px solid var(--rule); }
.ticks li::before { top: 20px; }

/* Before / after slider */
.shoebox-head { margin-bottom: 28px; }
.ba { position: relative; aspect-ratio: 16 / 10; max-height: 640px; width: 100%; overflow: hidden; background: var(--paper); box-shadow: 0 40px 80px -40px rgba(24,36,47,.55); --pos: 50%; user-select: none; margin-bottom: 12px; }
@media (max-width: 700px) { .ba { aspect-ratio: 3 / 4; } }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-after { display: flex; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(135deg, #E7EFEA, #F6F7F4); }
.ba-ledger { background: var(--sheet); border-top: 3px solid var(--ink); padding: 4px 18px 10px; width: min(560px, 100%); box-shadow: 0 24px 48px -28px rgba(24,36,47,.5); }
.ml { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; align-items: baseline; }
.ml span:first-child { font: 500 14px var(--serif); color: var(--muted); }
.ml span:nth-child(2) { font-weight: 700; }
.ml small { display: flex; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
.ml span:last-child { font: 600 17px var(--serif); font-variant-numeric: tabular-nums; }
.ml.total { border-top: 3px double var(--brass); border-bottom: 0; margin-top: -1px; font: 600 17px var(--serif); }
.ml.total span:last-child { color: var(--navy); font-size: 24px; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { width: 100%; height: 100%; filter: saturate(.8) contrast(1.05); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(24,36,47,.2); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.ba-handle span::before, .ba-handle span::after { content: ''; position: absolute; top: 50%; width: 9px; height: 9px; border-top: 3px solid #fff; border-left: 3px solid #fff; }
.ba-handle span::before { left: 12px; transform: translateY(-50%) rotate(-45deg); }
.ba-handle span::after { right: 12px; transform: translateY(-50%) rotate(135deg); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; min-height: 0; }
.ba:focus-within .ba-handle span { outline: 3px solid #C8313E; outline-offset: 3px; }
.ba-tag { position: absolute; top: 16px; font: 700 16px var(--sans); background: rgba(24,36,47,.88); color: #fff; padding: 6px 12px; pointer-events: none; }
.ba-tag.left { left: 16px; } .ba-tag.right { right: 16px; background: var(--green); }

/* How: photo steps + the receipt film */
.photo-steps { list-style: none; padding: 0; margin: 12px 0 72px; display: grid; gap: 40px; }
@media (min-width: 860px) { .photo-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step-photo { position: relative; overflow: hidden; margin-bottom: 20px; box-shadow: 0 24px 48px -32px rgba(24,36,47,.6); }
.step-photo img { width: 100%; aspect-ratio: 4 / 3; transition: transform .8s ease; }
.photo-steps li:hover .step-photo img { transform: scale(1.04); }
.step-n { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font: 600 34px/1 var(--serif); padding: 14px 18px 12px; }
.demo-film { margin: 0; background: var(--ink); color: #fff; padding: 36px 24px 26px; display: grid; gap: 30px; align-items: center; box-shadow: 0 40px 80px -40px rgba(24,36,47,.8); }
@media (min-width: 860px) { .demo-film { grid-template-columns: 320px 1fr; gap: 56px; padding: 48px 52px 36px; } }
.receipt { font: 15px/1.5 'Courier New', Courier, monospace; background: #fff; color: #222; width: min(290px, 100%); margin: 0 auto; padding: 16px 18px 24px; transform: rotate(-2deg); position: relative; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/16px 8px repeat-x;
          mask: linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom/16px 8px repeat-x; }
.r-name { font-weight: 700; text-align: center; letter-spacing: .04em; }
.r-small { text-align: center; color: #555; font-size: 13px; }
.r-row { display: flex; justify-content: space-between; gap: 12px; }
.r-total { font-weight: 700; border-top: 1px dashed #999; margin-top: 6px; padding-top: 6px; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 36px; background: linear-gradient(180deg, transparent, rgba(46,107,87,.4), transparent); opacity: 0; }
.demo-film[data-stage="1"] .scanline { opacity: 1; animation: scan 1.4s ease-in-out; }
@keyframes scan { from { transform: translateY(-40px); } to { transform: translateY(240px); } }
.film-flow .becomes { color: #C9D2CC; }
.becomes { display: flex; align-items: center; gap: 12px; margin: 16px 0 10px; font: italic 500 17px var(--serif); color: var(--muted); }
.becomes::before, .becomes::after { content: ''; flex: 1; height: 1px; background: #C8313E; }
.film-flow .becomes:first-child { margin-top: 0; }
.demo-ledger { background: var(--sheet); color: var(--ink); padding: 0 14px; }
.js .film-line .lline { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.3,.6,.2,1); }
.js .demo-film[data-stage="2"] .film-line .lline, .js .demo-film[data-stage="3"] .film-line .lline, .js .demo-film[data-stage="4"] .film-line .lline { clip-path: inset(0 0 0 0); }
.demo-box { background: var(--sheet); color: var(--ink); padding: 12px 14px; }
.box-id { font: 600 15px var(--serif); background: var(--ink); color: #fff; display: inline-block; padding: 2px 10px; margin-bottom: 8px; }
.demo-box dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: 17px; }
.demo-box dt { color: var(--muted); }
.demo-box dd { margin: 0; font-weight: 700; }
.js .demo-box dd { opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s; }
.js .demo-film[data-stage="3"] .demo-box dd, .js .demo-film[data-stage="4"] .demo-box dd { opacity: 1; transform: none; }
.demo-box dd:nth-of-type(2) { transition-delay: .15s; } .demo-box dd:nth-of-type(3) { transition-delay: .3s; } .demo-box dd:nth-of-type(4) { transition-delay: .45s; }
.film-note { color: #C9D2CC; text-align: right; margin: 12px 0 0; }

/* What counts */
.counts-grid { display: grid; gap: 36px; margin: 28px 0 20px; }
@media (min-width: 900px) { .counts-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.counts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.counts li { padding: 15px 0 15px 28px; border-bottom: 1px solid var(--rule); position: relative; }
.counts li::before { content: ''; position: absolute; left: 4px; top: 25px; width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); }
.missed { background: var(--paper); border-top: 3px solid var(--brass); padding: 24px 24px 8px; box-shadow: 0 24px 48px -34px rgba(24,36,47,.5); }
.missed ul { padding: 0; margin: 0; list-style: none; }
.missed li { padding: 0 0 16px; }
.missed strong { display: block; font: 600 20px var(--serif); }

/* Caregiver + family */
.caregiver-grid, .family-grid { display: grid; gap: 44px; }
@media (min-width: 900px) {
  .caregiver-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; }
  .family-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
}
.photo-frame { overflow: hidden; box-shadow: 0 30px 60px -36px rgba(24,36,47,.6); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; }

/* The letter: dark and dramatic */
.home .letter { background: var(--ink); color: #fff; }
.letter-bg { position: absolute; inset: 0; }
.letter-bg img { width: 100%; height: 100%; object-position: 70% 30%; opacity: .6; }
.letter-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,28,54,.97) 0%, rgba(14,28,54,.9) 45%, rgba(14,28,54,.25) 100%); }
@media (max-width: 899px) { .letter-bg::after { background: rgba(14,28,54,.88); } }
.letter-inner { position: relative; z-index: 1; }
.letter-inner > * { max-width: 34em; }
.letter .lede { color: #E1E7E3; }
.letter-steps { counter-reset: s; list-style: none; padding: 0; margin: 26px 0 0; }
.letter-steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.18); font-size: 20px; }
.letter-steps li::before { content: counter(s); font: 600 30px/1 var(--serif); color: #D9C08A; }

/* Family: the sisters behind a live feed */
.family-visual { position: relative; padding-top: 170px; }
.cut-sisters { width: min(420px, 90%); left: 50%; top: 0; transform: translateX(-50%); }
.feed-card { position: relative; z-index: 1; background: var(--sheet); border-top: 3px solid var(--ink); padding: 4px 20px 12px; box-shadow: 0 40px 80px -36px rgba(24,36,47,.6); }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.js .feed li { opacity: .15; transform: translateY(8px); transition: opacity .6s, transform .6s; }
.js .feed li.show { opacity: 1; transform: none; }
.who-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font: 700 17px var(--sans); display: grid; place-items: center; }
.who-dot.b { background: #6E5627; }

/* Reel of families */
.home .reel-sec { padding-bottom: 60px; }
.reel { background: none; border: 0; margin-top: 12px; }
.reel .marquee-track { animation-duration: 80s; gap: 18px; padding-left: 18px; }
.reel figure { margin: 0; width: 260px; flex: none; }
.reel img { width: 260px; height: 320px; }
.reel figcaption { font: italic 500 17px var(--serif); color: var(--muted); padding-top: 10px; }
.reel:hover .marquee-track { animation-play-state: paused; }

/* Sample worksheet */
.sample-wrap { display: grid; gap: 36px; }
@media (min-width: 900px) { .sample-wrap { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 64px; } }
.sample { margin: 0; background: var(--paper); border-top: 3px solid var(--ink); padding: 22px 22px 16px; box-shadow: 0 40px 80px -40px rgba(24,36,47,.55); }
@media (min-width: 900px) { .sample { transform: rotate(-.6deg); } }
.sample-head { display: flex; justify-content: space-between; gap: 12px; font: 600 17px var(--serif); }
.sample-tag { font: 700 14px var(--sans); border: 1.5px solid var(--ink); padding: 1px 8px; height: fit-content; }
.sample-sub { font-size: 16px; color: var(--muted); border-bottom: 1px solid var(--brass); padding-bottom: 10px; }
.sample h3 { font-size: 18px; margin: 16px 0 4px; }
.sline { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 17px; align-items: baseline; }
.sline .box { font: 600 15px var(--serif); border: 1px solid var(--ink); text-align: center; padding: 0 4px; }
.sline .num { font-weight: 600; }
.sclose { display: flex; justify-content: space-between; gap: 12px; border-top: 3px double var(--brass); margin-top: 12px; padding-top: 10px; font: 600 18px var(--serif); }
.sclose .num { color: var(--navy); font-size: 24px; }
.sample figcaption { margin-top: 10px; }

/* Comparison */
.table-scroll { overflow-x: auto; border-top: 3px solid var(--ink); }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 18px; }
.compare th, .compare td { padding: 17px 14px; border-bottom: 1px solid var(--rule); text-align: left; }
.compare thead th { font: 600 19px var(--serif); }
.compare tbody th { font-weight: 700; }
.compare td { color: var(--muted); }
.compare .us { background: #E8EDF6; color: var(--ink); font-weight: 700; }
.compare thead .us { color: var(--green); }

/* Price: the veteran leans over the card */
.price-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; } }
.price-stage { position: relative; padding-top: 210px; }
.cut-price { width: min(360px, 80%); right: 24px; top: 0; }
.price { position: relative; z-index: 1; background: var(--sheet); border-top: 3px solid var(--green); padding: 30px 28px; box-shadow: 0 40px 80px -36px rgba(24,36,47,.6); }
.price-free { font: 600 27px/1.3 var(--serif); margin: 0 0 6px; }
.price-then { font-size: 21px; }
.price-then .num { font-size: 30px; font-weight: 600; }
.price .cta { margin-top: 22px; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font: 600 21px/1.35 var(--serif); list-style: none; padding: 12px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 30px var(--sans); color: var(--green); flex: none; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 42em; margin: 0 0 20px; }

/* Closing: full-bleed walk photo with the paper card */
.home .closing { padding: 0; min-height: min(80vh, 720px); display: flex; align-items: center; }
.closing-bg { position: absolute; inset: 0; overflow: hidden; }
.closing-bg img { width: 100%; height: 100%; object-position: center 60%; animation: kenburns 30s ease-in-out infinite alternate; }
.closing-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,28,54,.55), rgba(14,28,54,.05) 70%); }
.closing .wrap { position: relative; z-index: 1; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.closing-card { background: var(--sheet); border-top: 3px solid #C8313E; padding: 34px 28px; max-width: 540px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.closing-card h2 { font-size: clamp(28px, 3.3vw, 38px); }

/* Phone sticky start button */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(246,247,244,.97); border-top: 1px solid var(--rule); }
.sticky-cta .btn { margin: 0; }
@media (min-width: 900px) { .sticky-cta { display: none !important; } }
.home .disclaimer { max-width: 1160px; padding-bottom: 110px; }

/* Off screen, long animations rest */
.offscreen, .offscreen * { animation-play-state: paused !important; }

/* Stillness: the system setting or the page's Pause motion button */
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
.still [data-reveal], .still .fl-line, .still .feed li, .still .demo-box dd { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.still .film-line .lline { clip-path: none !important; }
.still .income-figure .inc-bar span { transform: scaleX(1) !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .fl-line, .js .feed li, .js .demo-box dd { opacity: 1; transform: none; clip-path: none; }
  .js .film-line .lline { clip-path: none; }
  .js .income-figure .inc-bar span { transform: scaleX(1); }
}
/* The finished record lives on the After side, so it is fully visible at the halfway mark */
@media (min-width: 701px) { .ba-after { justify-content: flex-end; padding-right: 4%; } .ba-ledger { width: min(46%, 520px); } }
@media (max-width: 700px) { .ba-after { align-items: flex-end; padding: 12px; } .ba-ledger { font-size: 15px; } }
/* Phones: let the hero photo show across the top, headline starts below her */
@media (max-width: 959px) {
  .hero-bg { bottom: auto; height: 460px; }
  .hero-bg img { object-position: 30% 35%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(14,28,54,.25) 0%, rgba(14,28,54,.1) 25%, rgba(14,28,54,.88) 58%, var(--ink) 100%); }
  .hero-grid { padding-top: 320px; }
}
@media (max-width: 700px) { .ba-tag { top: auto; bottom: 12px; } }

/* ---- Tour: the 40-second film and the real screens ---- */
.tour-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .tour-grid { grid-template-columns: 420px 1fr; gap: 72px; } }
.tour-video { margin: 0; }
.tour-frame { position: relative; width: min(380px, 100%); margin: 0 auto; aspect-ratio: 9 / 16; background: var(--ink); border-radius: 36px; padding: 10px; box-shadow: 0 50px 100px -40px rgba(24,36,47,.8), 0 0 0 2px #3a4a58; }
.tour-frame video { width: 100%; height: 100%; border-radius: 28px; object-fit: cover; background: #111a22; display: block; }
.tour-play { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 3px solid #fff; background: rgba(46,107,87,.92); cursor: pointer; box-shadow: 0 16px 40px rgba(0,0,0,.45); transition: transform .2s; }
.tour-play:hover { transform: scale(1.06); }
.tour-play span { position: absolute; left: 38px; top: 29px; border-left: 30px solid #fff; border-top: 19px solid transparent; border-bottom: 19px solid transparent; }
.tour-video figcaption { text-align: center; margin-top: 12px; }
.screens-title { margin: 72px 0 18px !important; }
.screens { display: flex; gap: 22px; overflow-x: auto; padding: 8px max(20px, calc((100% - 1160px) / 2 + 20px)) 22px; scroll-snap-type: x mandatory; }
.screens figure { flex: none; width: 230px; margin: 0; scroll-snap-align: start; }
.screens img { width: 230px; height: auto; aspect-ratio: 390 / 844; border-radius: 22px; border: 8px solid var(--ink); box-shadow: 0 24px 48px -28px rgba(24,36,47,.7); background: var(--paper); }
.screens figcaption { font: 600 18px var(--serif); margin-top: 12px; text-align: center; }

/* Navy star-field and flag-stripe textures behind the stat band and the closing, like a service banner. */
.counts-sec { background: linear-gradient(rgba(14,28,54,.9), rgba(14,28,54,.9)), url(/img/stars.webp) center / cover; color: #fff; border: 0; }
.counts-sec h2, .counts-sec p, .counts-sec li { color: #fff; }
.counts-sec .missed { color: var(--ink); }
.counts-sec .missed h2, .counts-sec .missed h3, .counts-sec .missed p, .counts-sec .missed li { color: var(--ink); }
.compare { background: linear-gradient(rgba(255,255,255,.93), rgba(255,255,255,.93)), url(/img/stripes.webp) center / cover; }
.counts-sec .muted, .counts-sec .lede { color: #D3DBEA; } .counts-sec .missed .muted { color: var(--muted); }
