/* Little Flock — site. Ink & Gold, the app's own palette and type (Newsreader + Geist, SIL OFL). */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/Newsreader.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(../fonts/Newsreader-Italic.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/Geist.woff2) format("woff2"); }

:root {
  --bg: #F6F1E7;
  --card: #FBF8F2;
  --ink: #16130F;
  --ink2: #5B544A;
  --ink3: #7E766A;
  --line: #E4DBCB;
  --accent: #86652A;
  --gold: #C9A55A;
  --gold-soft: #D9B872;
  --seal: #B23A2B;
  --night: #12110F;
  --night2: #1C1A17;
  --cream: #F2ECE0;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", -apple-system, "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow-lg: 0 40px 80px -30px rgba(22, 19, 15, .38), 0 18px 36px -18px rgba(22, 19, 15, .22);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background-color: var(--bg);
  /* the app's 5 px paper grain */
  background-image: radial-gradient(rgba(60, 45, 20, .07) .6px, transparent .8px);
  background-size: 5px 5px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(201, 165, 90, .35); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.022em;
  line-height: 1.04;
  font-size: clamp(38px, 5.2vw, 68px);
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 400; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow-gold { color: var(--gold-soft); }
.lede {
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--ink2);
  text-wrap: pretty;
}
.fine { font-size: 14px; color: var(--ink3); line-height: 1.5; }
.gold { color: var(--accent); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head.center { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px; letter-spacing: .01em;
  text-decoration: none; border-radius: 14px; padding: 0 22px; height: 52px;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: #2B2620; }
.btn-line { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink3); }
.btn-gold { background: var(--ink); color: var(--bg); box-shadow: 0 14px 30px -14px rgba(134, 101, 42, .8); }
.btn-gold:hover { background: #2B2620; }
.text-link { font-weight: 600; font-size: 15px; color: var(--accent); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.badge-link { display: inline-block; border-radius: 12px; transition: transform .25s var(--ease), box-shadow .25s; }
.badge-link img { width: 180px; height: auto; }
.badge-link:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(22, 19, 15, .55); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.nav.scrolled { background: rgba(246, 241, 231, .78); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 rgba(22, 19, 15, .07); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.brand img { width: 34px; height: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink2); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav-links { display: none; } .nav-row .btn { margin-left: auto; } }

/* ---------- phone (Apple's iPhone 17 Pro Max bezel, screen masked to its exact corners) ---------- */
.phone { position: relative; width: var(--pw, 320px); aspect-ratio: 1470 / 3000; }
.phone-screen {
  position: absolute; inset: 0; background: #0E0D0B;
  -webkit-mask: url(../img/screen-mask.png) center / 100% 100% no-repeat;
          mask: url(../img/screen-mask.png) center / 100% 100% no-repeat;
}
.phone-screen > img, .phone-screen > video, .phone-screen > .walls, .phone-screen > .lock-ui, .phone-screen > .lock-bottom {
  position: absolute; left: 5.102%; top: 2.2%; width: 89.796%; height: 95.6%; object-fit: cover;
}
.phone-bezel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ======================================================== HERO */
.hero { position: relative; padding: clamp(110px, 14vh, 150px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.paper-glow { position: absolute; inset: -20% -10% auto -10%; height: 120%; background: radial-gradient(60% 50% at 70% 35%, rgba(233, 205, 140, .38), transparent 70%), radial-gradient(40% 40% at 15% 20%, rgba(255, 255, 255, .5), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-title { font-size: clamp(56px, 8.4vw, 116px); line-height: .98; letter-spacing: -0.035em; margin-bottom: 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .word { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero-title .line:nth-child(1) .word:nth-child(2) { transition-delay: .07s; }
.hero-title .line:nth-child(2) .word:nth-child(1) { transition-delay: .14s; }
.hero-title .line:nth-child(2) .word:nth-child(2) { transition-delay: .21s; }
.ready .hero-title .word { transform: none; }
.hero .lede { max-width: 520px; font-size: clamp(19px, 1.9vw, 23px); }
.hero-cta { display: flex; align-items: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--ink2); font-weight: 500; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-stage { position: relative; display: flex; justify-content: center; perspective: 1400px; min-height: 620px; }
.hero-tilt { position: relative; transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
.phone-hero { --pw: clamp(260px, 25vw, 340px); filter: drop-shadow(0 50px 60px rgba(22, 19, 15, .28)) drop-shadow(0 10px 18px rgba(22, 19, 15, .18)); opacity: 0; transform: translateY(60px) rotate(-2deg); transition: opacity 1.2s var(--ease) .25s, transform 1.4s var(--ease) .25s; }
.ready .phone-hero { opacity: 1; transform: rotate(-2deg); }
.float { position: absolute; opacity: 0; transition: opacity 1s var(--ease), translate 1s var(--ease); will-change: transform; }
.ready .float { opacity: 1; }
.float-note { top: 13%; left: -32%; width: 330px; transition-delay: .9s; translate: -20px 0; }
.float-answer { bottom: 20%; right: -30%; width: 300px; transition-delay: 1.15s; translate: 20px 0; }
.float-streak { bottom: 6%; left: -18%; width: 210px; transition-delay: 1.35s; translate: -20px 0; }
.ready .float { translate: 0 0; }
.float img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-lg); }
.float-answer img { border-radius: 20px; }
.float-streak img { border-radius: 999px; }
.float > * { animation: bob 7s ease-in-out infinite; }
.float-answer > * { animation-delay: -2.4s; }
.float-streak > * { animation-delay: -4.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.note { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: 22px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .7); font-family: -apple-system, "SF Pro Text", var(--sans); }
.note > img { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.note-meta { display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: .06em; color: #6D6A64; margin-bottom: 1px; }
.note-meta b { font-weight: 600; }
.note-title { font-weight: 600; font-size: 14.5px; color: #111; line-height: 1.25; }
.note-text { font-size: 14px; color: #222; line-height: 1.3; margin-top: 1px; }

.horizon { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 90px; overflow: visible; pointer-events: none; }
.horizon path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.6s cubic-bezier(.6, .1, .2, 1) .2s; opacity: .55; vector-effect: non-scaling-stroke; }
.ready .horizon path { stroke-dashoffset: 0; }
.walker { position: absolute; left: 0; top: 0; width: 46px; height: auto; pointer-events: none; opacity: 0; transition: opacity .8s ease 1.8s; offset-rotate: 0deg; will-change: transform; }
.ready .walker { opacity: 1; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-stage { min-height: 0; margin-top: 30px; }
  .float-note { left: -22%; width: 290px; top: 8%; }
  .float-answer { right: -22%; width: 250px; }
  .float-streak { left: -12%; }
}
@media (max-width: 620px) {
  .hero { padding-top: 104px; }
  .hero-title { font-size: clamp(54px, 15.5vw, 76px); }
  .phone-hero { --pw: min(66vw, 280px); }
  .float-note { left: 50%; width: min(86vw, 330px); top: auto; bottom: -9%; translate: -50% 0; }
  .ready .float-note { translate: -50% 0; }
  .float-answer, .float-streak { display: none; }
  .hero-stage { padding-bottom: 70px; }
}

/* ======================================================== RIBBON */
.ribbon { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: rgba(251, 248, 242, .55); }
.ribbon-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ribbon 60s linear infinite; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink2); white-space: nowrap; }
.ribbon-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ======================================================== STATEMENT */
.statement { padding: clamp(100px, 15vw, 200px) 0; }
.statement-text { font-family: var(--serif); font-size: clamp(30px, 4.3vw, 58px); line-height: 1.18; letter-spacing: -0.02em; max-width: 1000px; text-wrap: balance; }
.statement-text .w { color: var(--ink); opacity: .14; transition: opacity .35s linear; }
.statement-text .w.on { opacity: 1; }
.statement-text .w.em { font-style: italic; color: var(--accent); }

/* ======================================================== HOW (sticky story) */
.how { padding: 40px 0 clamp(80px, 10vw, 140px); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.story-steps { display: flex; flex-direction: column; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .6s var(--ease); }
.step.is-on { opacity: 1; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(201, 165, 90, .6); margin-bottom: 22px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 16px; }
.step p { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); color: var(--ink2); line-height: 1.55; max-width: 470px; }
.step-shot { display: none; }
.story-stage { position: relative; }
.story-sticky { --pw: min(30vw, 350px, 40vh); position: sticky; top: calc(50vh - var(--pw) * 1.0204); display: flex; align-items: center; gap: 26px; justify-content: center; }
.phone-story { filter: drop-shadow(0 40px 50px rgba(22, 19, 15, .24)); }
.phone-story .screen { opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.phone-story .screen.is-on { opacity: 1; transform: none; }
.story-dots { display: flex; flex-direction: column; gap: 10px; }
.story-dots li { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .4s, transform .4s; }
.story-dots li.is-on { background: var(--gold); transform: scale(1.35); }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story-stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 30px 0 50px; align-items: center; text-align: center; }
  .step p { margin-inline: auto; }
  .step-shot { display: block; width: min(72vw, 300px); height: auto; margin-top: 30px; border-radius: 34px; box-shadow: 0 30px 50px -24px rgba(22, 19, 15, .45), 0 0 0 7px #16130F; }
}

/* ======================================================== LOCK SCREEN (Vespers) */
.lock { position: relative; color: var(--cream); padding: clamp(100px, 12vw, 160px) 0 0; overflow: hidden; isolation: isolate; }
.lock-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 75% 40%, rgba(201, 165, 90, .16), transparent 70%), radial-gradient(50% 50% at 10% 90%, rgba(90, 110, 140, .18), transparent 70%), var(--night); }
.lock-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 240, 210, .035) .6px, transparent .8px); background-size: 5px 5px; }
.lock .lede { color: #BDB4A6; margin-top: 24px; }
.lock-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.ticks { margin-top: 34px; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 30px; color: #BDB4A6; font-size: 16.5px; line-height: 1.5; }
.ticks li b { color: var(--cream); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--gold-soft); box-shadow: inset 0 0 0 3px var(--night), inset 0 0 0 10px var(--gold); }
.lock-stage { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.phone-lock { --pw: clamp(270px, 26vw, 350px); filter: drop-shadow(0 50px 70px rgba(0, 0, 0, .55)); }
.walls { overflow: hidden; }
.walls img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s linear; }
.walls img.is-on { opacity: 1; transform: scale(1); }
.lock-ui { display: flex; flex-direction: column; align-items: center; pointer-events: none; font-family: -apple-system, "SF Pro Display", "Helvetica Neue", var(--sans); color: rgba(255, 255, 255, .96); text-shadow: 0 1px 12px rgba(0, 0, 0, .12); transition: color 1s; }
.lock-ui.ink { color: rgba(22, 19, 15, .86); text-shadow: none; }
.lock-date { margin-top: 15.5%; font-size: calc(var(--pw) * .052); font-weight: 600; letter-spacing: .01em; }
.lock-time { font-size: calc(var(--pw) * .235); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin-top: 4.5%; font-variant-numeric: tabular-nums; }
.lock-bottom { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 9% 7.5%; pointer-events: none; }
.lock-bottom span { width: calc(var(--pw) * .13); aspect-ratio: 1; border-radius: 50%; background: rgba(40, 40, 40, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.widget-float { position: absolute; will-change: transform; }
.widget-float img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); transition: opacity .9s ease; }
.w-medium { width: clamp(240px, 22vw, 310px); left: -8%; bottom: 7%; }
.w-small { width: clamp(118px, 10.5vw, 150px); right: -5%; top: 27%; }
.w-medium > img { animation: bob 8s ease-in-out infinite; }
.w-small > img { animation: bob 8s ease-in-out infinite -3s; }
.lock-caption { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 13px; color: #8E8576; letter-spacing: .04em; }
.wall-strip { margin-top: clamp(60px, 8vw, 100px); padding: 0 0 clamp(70px, 9vw, 110px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.wall-track { display: flex; gap: 18px; width: max-content; animation: ribbon 90s linear infinite; }
.wall-track img { width: 150px; height: auto; aspect-ratio: 1320 / 2868; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); }
@media (max-width: 980px) {
  .lock-grid { grid-template-columns: 1fr; }
  .lock-copy { text-align: center; }
  .lock .lede { margin-inline: auto; max-width: 620px; }
  .ticks { max-width: 520px; margin-inline: auto; text-align: left; }
  .w-medium { left: -2%; }
}
@media (max-width: 620px) {
  .w-medium { width: 66vw; left: -2%; bottom: 6%; }
  .w-small { display: none; }
  .wall-track img { width: 110px; border-radius: 16px; }
}

/* ======================================================== TRUST */
.trust { padding: clamp(100px, 12vw, 170px) 0; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.trust .lede { margin-top: 26px; }
.trust .fine { margin-top: 20px; font-size: 15px; }
.trust .fine b { color: var(--ink); font-weight: 600; }
.verse-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 30px 32px; box-shadow: var(--shadow-lg); transform: rotate(-1.2deg); }
.vc-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.vc-text { font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.5; margin-top: 14px; }
.vc-text mark { background-color: rgba(201, 165, 90, 0); color: inherit; padding: .04em .12em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color 1.2s var(--ease) .6s; }
.verse-card.in mark { background-color: rgba(201, 165, 90, .32); }
.vc-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--ink3); }
.vc-foot .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.bibles { margin-top: 26px; display: grid; gap: 10px; }
.bibles li { display: flex; align-items: baseline; gap: 14px; padding: 13px 18px; border-radius: 14px; background: rgba(251, 248, 242, .7); border: 1px solid var(--line); }
.bibles b { font-family: var(--serif); font-weight: 500; font-size: 18px; min-width: 46px; color: var(--accent); }
.bibles span { font-size: 15px; color: var(--ink2); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } .verse-card { transform: none; } }

/* ======================================================== HABIT */
.habit { padding: clamp(40px, 6vw, 80px) 0 clamp(100px, 12vw, 170px); }
.habit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(22, 19, 15, .35); }
.tile-wide { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; column-gap: 50px; align-items: center; padding: 38px 40px; }
.tile-wide .week { grid-row: span 2; }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.15; letter-spacing: -0.01em; margin: 22px 0 10px; }
.tile-wide h3 { margin-top: 0; font-size: clamp(28px, 3vw, 38px); }
.tile p { color: var(--ink2); font-size: 16px; }
.week { display: flex; justify-content: space-between; gap: 8px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: var(--ink3); font-weight: 500; }
.day i { width: clamp(34px, 4.6vw, 52px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; }
.day.done i { background: var(--ink); border-color: var(--ink); transform: scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.day.done i::after { content: ""; width: 34%; height: 18%; border-left: 2.4px solid var(--bg); border-bottom: 2.4px solid var(--bg); transform: translateY(-15%) rotate(-45deg); }
.in .day.done i { transform: none; opacity: 1; }
.in .day:nth-child(2) i { transition-delay: .1s; } .in .day:nth-child(3) i { transition-delay: .2s; } .in .day:nth-child(4) i { transition-delay: .3s; }
.in .day:nth-child(5) i { transition-delay: .4s; } .in .day:nth-child(6) i { transition-delay: .5s; }
.day.rest i { border-color: var(--gold); background: radial-gradient(circle, rgba(201, 165, 90, .22), transparent 70%); }
.day.rest i::after { content: "Rest"; font-family: var(--serif); font-style: italic; font-size: clamp(11px, 1.2vw, 14px); color: var(--accent); }
.day.rest span { color: var(--accent); }
.mini-note { border-radius: 18px; padding: 13px 15px; background: #EFE8DA; font-family: -apple-system, var(--sans); font-size: 12px; color: #6D6A64; display: grid; grid-template-columns: 1fr auto; row-gap: 4px; }
.mini-note b { font-weight: 600; letter-spacing: .05em; }
.mini-note p { grid-column: span 2; font-family: var(--serif); font-size: 16px; color: var(--ink); line-height: 1.35; }
.quiet { display: flex; align-items: flex-end; gap: 8px; height: 66px; padding-top: 4px; }
.quiet i { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--gold); }
.quiet i:nth-child(1) { height: 100%; } .quiet i:nth-child(2) { height: 46%; opacity: .7; } .quiet i:nth-child(3) { height: 46%; opacity: .55; } .quiet i:nth-child(4) { height: 46%; opacity: .4; } .quiet i:nth-child(5) { height: 6%; opacity: .25; }
.seal { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.05; color: #FBF8F2; background: radial-gradient(circle at 35% 30%, #C9513F, var(--seal) 60%, #8E2A1E); box-shadow: 0 10px 20px -10px rgba(178, 58, 43, .9), inset 0 0 0 4px rgba(255, 255, 255, .12); transform: rotate(-10deg); }
@media (max-width: 900px) {
  .habit-grid { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; grid-template-columns: 1fr; padding: 30px; }
  .tile-wide .week { grid-row: auto; margin-bottom: 24px; }
}

/* ======================================================== JOURNEY */
.journey { padding: clamp(40px, 6vw, 80px) 0 clamp(100px, 12vw, 160px); }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.journey .lede { margin-top: 22px; }
.journey-stage { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 0; padding: 20px 0 60px; }
.phone-journey { --pw: clamp(220px, 21vw, 290px); transform: rotate(-4deg); z-index: 1; filter: drop-shadow(0 40px 50px rgba(22, 19, 15, .25)); }
.phone-heroes { --pw: clamp(220px, 21vw, 290px); transform: translateY(60px) rotate(4deg); margin-left: -40px; filter: drop-shadow(0 40px 50px rgba(22, 19, 15, .22)); }
@media (max-width: 900px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-copy { text-align: center; }
  .journey .lede { margin-inline: auto; max-width: 620px; }
}
@media (max-width: 620px) { .phone-journey, .phone-heroes { --pw: 46vw; } .phone-heroes { margin-left: -24px; } }

/* ======================================================== TOGETHER */
.together { padding: clamp(40px, 6vw, 80px) 0 clamp(100px, 12vw, 160px); }
.together-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.together .lede + .lede { margin-top: 18px; }
.together .lede { margin-top: 24px; }
.together-stage { position: relative; display: flex; justify-content: center; }
.phone-friends { --pw: clamp(250px, 24vw, 320px); filter: drop-shadow(0 40px 50px rgba(22, 19, 15, .25)); transform: rotate(3deg); }
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble { position: absolute; padding: 12px 18px 13px; border-radius: 22px 22px 22px 6px; background: #E8D6A8; border: 4px solid #FFFDF8; box-shadow: 0 14px 26px -12px rgba(22, 19, 15, .4); font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.1; opacity: 0; transform: translateY(16px) scale(.92); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.bubble span { display: block; font-family: var(--sans); font-weight: 600; font-size: 11.5px; letter-spacing: .06em; color: var(--accent); margin-bottom: 3px; }
.b1 { left: 0; top: 18%; transition-delay: .3s; }
.b2 { right: -4%; top: 44%; border-radius: 22px 22px 6px 22px; background: #FBF8F2; transition-delay: .65s; }
.b3 { left: 6%; bottom: 14%; transition-delay: 1s; }
.in .bubble, .together-stage.in .bubble { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .together-grid { grid-template-columns: 1fr; }
  .together-copy { order: -1; text-align: center; }
  .together .lede { margin-inline: auto; max-width: 620px; }
}

/* ======================================================== PRIVACY */
.privacy-band { padding: clamp(80px, 10vw, 130px) 0; background: rgba(251, 248, 242, .6); border-block: 1px solid var(--line); text-align: center; }
.privacy-band .display { margin-bottom: 56px; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: left; max-width: 1000px; margin: 0 auto 46px; }
.pv svg { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.pv h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; margin-bottom: 8px; }
.pv p { color: var(--ink2); font-size: 16px; }
@media (max-width: 760px) { .privacy-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; } .pv svg { margin-inline: auto; } }

/* ======================================================== PRICING */
.pricing { padding: clamp(100px, 12vw, 170px) 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 40px 38px 36px; display: flex; flex-direction: column; }
.plan h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font-family: var(--serif); font-weight: 400; font-size: 58px; letter-spacing: -0.03em; line-height: 1; }
.price span { color: var(--ink3); font-size: 15px; }
.price-alt { color: var(--ink3); font-size: 14px; margin-bottom: 4px; }
.plan ul { margin: 24px 0 32px; display: grid; gap: 13px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 16px; color: var(--ink2); line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan .fine { margin-top: 16px; font-size: 12.5px; }
.plan-member { background: var(--night); color: var(--cream); border-color: #2E2A25; box-shadow: 0 50px 80px -40px rgba(22, 19, 15, .6); }
.plan-member h3 { color: var(--gold-soft); }
.plan-member .price span, .plan-member .price-alt, .plan-member .fine { color: #8E8576; }
.plan-member li { color: #CFC7B9; }
.plan-member li::before { border-color: var(--gold-soft); }
.plan-member .btn-gold { background: var(--gold); color: var(--night); box-shadow: 0 16px 34px -14px rgba(201, 165, 90, .7); }
.plan-member .btn-gold:hover { background: var(--gold-soft); }
.plan-flag { position: absolute; top: 26px; right: 26px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--night); background: var(--gold-soft); border-radius: 999px; padding: 6px 12px; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } .plan { padding: 34px 26px 30px; } }

/* ======================================================== FAQ */
.faq { padding: 0 0 clamp(100px, 12vw, 170px); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq .section-head { position: sticky; top: 110px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 46px 24px 0; position: relative; font-family: var(--serif); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.25; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq-list .a { overflow: hidden; }
.faq-list .a p { padding: 0 40px 26px 0; color: var(--ink2); font-size: 16.5px; line-height: 1.6; }
.faq-list .a a { color: var(--accent); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq .section-head { position: static; } }

/* ======================================================== FINALE */
.finale { position: relative; padding: clamp(90px, 10vw, 140px) 0 0; text-align: center; overflow: hidden; }
.finale-verse { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; color: var(--ink2); max-width: 760px; margin: 0 auto 28px; text-wrap: balance; }
.finale .display { font-size: clamp(46px, 6.6vw, 92px); }
.finale-scene { position: relative; width: 100%; max-width: 1280px; margin: 10px auto 0; aspect-ratio: 2.3 / 1; }
.finale-scene iframe, .finale-scene .scene-fallback { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; }
.finale-scene .scene-fallback { object-fit: cover; transition: opacity .6s; }
.finale-scene.live .scene-fallback { opacity: 0; }
@media (max-width: 620px) { .finale-scene { aspect-ratio: 1.25 / 1; } }

/* ======================================================== FOOTER */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; background: rgba(251, 248, 242, .55); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--ink2); font-size: 14.5px; font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-fine { margin-top: 22px; display: grid; gap: 6px; }
.footer-fine p { font-size: 12.5px; color: var(--ink3); }

/* ======================================================== MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-title .word { transform: none; }
  .phone-hero, .float { opacity: 1; transform: none; translate: 0 0; }
  .horizon path { stroke-dashoffset: 0; }
  .statement-text .w { opacity: 1; }
  .ribbon-track, .wall-track { animation: none; }
  .walker { display: none; }
}
