/* CodeMyVibe shared look: tokens, type, buttons, header (.top), footer (.foot), then the homepage.
   Cream planner, teal hairlines, one copper circle. */
:root {
  --cream: #F4EEE2;
  --paper: #FBF8F1;
  --ink: #103C3E;
  --ink-2: #3F5B5C;
  --line: rgba(16, 60, 62, .18);
  --line-2: rgba(16, 60, 62, .09);
  --copper: #C2772C;
  --copper-ink: #8A4F17;
  --plan-bg: #103C3E; --plan-fg: #F4EEE2;
  --build-bg: #D9E4E0; --build-fg: #103C3E; --build-bar: #103C3E;
  --seen-bg: #F3E0C8; --seen-fg: #6B3C0F; --seen-bar: #C2772C;
  --run-bg: #DFE8DA; --run-fg: #2C4832; --run-bar: #6F8C73;
  --err: #9A2F14;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --cell: 76px;
  --toph: 65px; /* sticky header height: keeps sticky bars and anchor jumps below it */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--toph) + 16px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line-2); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); padding: 6px 0; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav-start { text-decoration: none; font-size: 15px; font-weight: 500; background: var(--ink); color: var(--cream); padding: 8px 16px; border-radius: 6px; }
.nav-start:hover { background: #0B2E30; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 0; border-radius: 7px; font: 500 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-main { background: var(--ink); color: var(--cream); }
.btn-main:hover { background: #0B2E30; }
.btn-line { border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
.btn-line:hover { border-color: var(--ink); }
.btn-main:disabled { opacity: .45; cursor: default; }
.btn-text { background: none; border: 0; padding: 8px 2px; font: 500 15px/1.2 var(--sans); color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.btn-text:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Shared type */
.h-big { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.03; font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
.h-sec { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }

/* Hero */
.hero { padding: clamp(36px, 6vh, 72px) 0 clamp(56px, 9vh, 96px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: clamp(36px, 4.5vw, 64px); align-items: start; }
.kicker { display: flex; align-items: center; gap: 10px; font: 500 13px/1.35 var(--mono); color: var(--copper-ink); letter-spacing: .01em; margin-bottom: 16px; }
.kicker::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--copper); flex: none; }
h1 { font-size: clamp(2.3rem, 3.9vw, 3.2rem); line-height: 1.03; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.lede { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 42ch; }

/* The picker: months as tear-off calendar pages */
.picker { margin-top: 26px; }
.picker-q { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.picker-hint { margin: 2px 0 10px; font-size: 15px; color: var(--ink-2); }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.chip { appearance: none; display: flex; flex-direction: column; align-items: stretch; padding: 0; min-height: 66px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; text-align: center; transition: border-color .15s, background-color .2s, color .2s, box-shadow .2s; }
.chip-y { display: block; font: 500 10.5px/1 var(--mono); color: var(--ink-2); padding: 6px 0 5px; background: rgba(16, 60, 62, .045); border-bottom: 1px solid var(--line-2); transition: inherit; }
.chip-m { display: block; flex: 1; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1; padding: 11px 0 12px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--copper); }
.chip[aria-pressed="true"] .chip-y { color: rgba(244, 238, 226, .82); background: rgba(255, 255, 255, .06); border-bottom-color: rgba(255, 255, 255, .14); }
/* "Not sure yet" is a page like the months, just wider: no date is as fine an answer as any month. */
.chip-unsure { grid-column: span 2; }
.chip-unsure .chip-m { font-size: 17px; letter-spacing: -.01em; padding: 13px 0 14px; }
.alt { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.alt a { color: var(--ink); text-underline-offset: 3px; }

.lead-by { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.lead-by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.lead-by p { font-size: 15px; line-height: 1.4; }
.lead-by strong { display: block; font-weight: 600; }
.lead-by span { color: var(--ink-2); }

/* Calendar (shared by hero and plan) */
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; min-height: 30px; }
.cal-title { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.narrow-only { display: none; }
.od-card { display: none; }
.cal-kinds { display: inline-flex; padding: 3px; gap: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.cal-kinds button { appearance: none; border: 0; background: none; color: var(--ink-2); font: 500 13px/1 var(--sans); padding: 8px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.cal-kinds button:hover { color: var(--ink); }
.cal-kinds button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.cal-steps { display: none; }
.legend { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); flex-wrap: wrap; }
.legend i { width: 10px; height: 10px; border-radius: 2px; margin-left: 8px; }
.k-plan { background: var(--plan-bg); }
.k-build { background: var(--build-bg); box-shadow: inset 2px 0 0 var(--build-bar); }
.k-seen { background: var(--seen-bg); box-shadow: inset 2px 0 0 var(--seen-bar); }
.k-run { background: var(--run-bg); box-shadow: inset 2px 0 0 var(--run-bar); }

.cal { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.wds { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.wds span { font: 500 11px/1 var(--mono); color: var(--ink-2); padding: 10px 10px 9px; }
.cal-body { position: relative; }
.cells { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: var(--cell); }
.d { position: relative; padding: 8px 10px; font: 400 12px/1 var(--mono); color: var(--ink); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cells .d:nth-child(7n) { border-right: 0; }
.cells .d:nth-last-child(-n+7) { border-bottom: 0; }
.d.o { color: rgba(16, 60, 62, .38); }
.d.first { font-weight: 600; }
.d.wk { background: rgba(194, 119, 44, .055); }
.d.op { font-weight: 600; }
.ring { position: absolute; left: 1px; top: -3px; width: 32px; height: 32px; overflow: visible; }
.ring circle { fill: none; stroke: var(--copper); stroke-width: 2.2; stroke-dasharray: 100; stroke-dashoffset: 0; stroke-linecap: round; }
.evs { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 5), var(--cell)); pointer-events: none; }
.evs > .ev, .evs > .grp { align-self: start; margin: 27px 4px 0 4px; }
.grp { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ev { font: 500 11px/1.25 var(--sans); max-height: calc(2.5em + 8px); padding: 4px 6px 4px 7px; border-radius: 3px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; hyphens: auto; }
.hero-cal .cal { --cell: 84px; }
.hero-cal .ev { -webkit-line-clamp: 3; max-height: calc(3.75em + 8px); padding: 4px 5px 4px 6px; font-size: 10.5px; overflow-wrap: normal; hyphens: manual; }
.ev.plan { background: var(--plan-bg); color: var(--plan-fg); }
.ev.build { background: var(--build-bg); color: var(--build-fg); box-shadow: inset 2px 0 0 var(--build-bar); }
.ev.seen { background: var(--seen-bg); color: var(--seen-fg); box-shadow: inset 2px 0 0 var(--seen-bar); }
.ev.run { background: var(--run-bg); color: var(--run-fg); box-shadow: inset 2px 0 0 var(--run-bar); }
.ev.open { background: var(--copper-ink); color: #FBF3E8; }

@media (prefers-reduced-motion: no-preference) {
  .hero-cal .ring circle { animation: draw 1s cubic-bezier(.6, 0, .2, 1) .5s both; }
  .hero-cal .ev.h { animation: drop .55s cubic-bezier(.2, .9, .25, 1) both; animation-delay: calc(.9s + var(--k, 0) * 90ms); }
  .hero-cal.re .cells { animation: flip .4s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-cal.re .ring circle { animation-delay: .25s; }
  .hero-cal.re .ev.h { animation-delay: calc(.4s + var(--k, 0) * 70ms); }
}
@keyframes draw { from { stroke-dashoffset: 100; } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } }
@keyframes flip { from { opacity: 0; transform: translateY(8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes pop { from { opacity: 0; transform: scale(.8); } }

.hero-cal { transform-origin: 50% 0; }
.anim .hero-cal { transform: translate3d(0, calc(var(--hz, 0) * -24px), 0) scale(calc(1 - var(--hz, 0) * .1)); will-change: transform; }


/* Timeline: base (no JS, reduced motion) */
.timeline { overflow: clip; --nowh: 118px; --row: 104px; border-top: 1px solid var(--line-2); padding-bottom: clamp(72px, 10vh, 120px); }
.tl-head { padding-top: clamp(80px, 12vh, 140px); }
.timeline h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.02; font-weight: 600; letter-spacing: -.04em; max-width: 17ch; text-wrap: balance; }
.tl-head p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }

.now { position: sticky; top: var(--toph); z-index: 20; margin-top: 44px; background: var(--cream); transition: background-color .35s ease, transform .4s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.now-in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0 64px; padding-top: 14px; align-items: end; }
.now-phase { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.counter { font: 500 38px/1.05 var(--mono); letter-spacing: -.045em; white-space: nowrap; font-variant-numeric: tabular-nums; margin: 4px 0 14px; transition: color .3s; }
.counter.is-open { color: var(--copper-ink); }
.now-right { position: relative; }
.prog { display: flex; gap: 6px; }
.prog li { position: relative; flex: 1; font-size: 12px; font-weight: 500; color: var(--ink-2); padding-top: 9px; border-top: 2px solid var(--line); }
.prog li::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--ink); transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
.now .wds { margin-top: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px 10px 0 0; }
.strip { display: none; }
.today { display: none; }

.tl-body { position: relative; }
.phase { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0 64px; align-items: start; }
.phase-copy { padding: 40px 0 48px; }
.phase h3 { font-size: 14px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.phase h3::before { content: ""; width: 12px; height: 12px; border-radius: 3px; flex: none; }
.phase[data-p="0"] h3::before { background: var(--plan-bg); }
.phase[data-p="1"] h3::before { background: var(--build-bg); box-shadow: inset 3px 0 0 var(--build-bar); }
.phase[data-p="2"] h3::before { background: var(--seen-bg); box-shadow: inset 3px 0 0 var(--seen-bar); }
.phase[data-p="3"] h3::before { background: var(--run-bg); box-shadow: inset 3px 0 0 var(--run-bar); }
.moment { margin-top: 14px; font-size: clamp(1.55rem, 2.3vw, 2rem); line-height: 1.1; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.moment strong { font-weight: 600; }
.more { margin-top: 14px; color: var(--ink-2); max-width: 30ch; }
.phase-cal { display: none; }
.and-on { display: none; }


/* Agenda rows: the phone design, and the no-JS desktop */
.agenda { grid-column: 2; padding: 40px 0 24px; }
.agenda li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-2); align-items: start; }
.agenda li.mo-row { display: block; padding: 22px 0 6px; border-top: 0; font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--copper-ink); }
.date { display: block; font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); transition: color .25s; }
.date b { display: block; font-weight: 500; font-size: 12px; color: var(--ink-2); margin-bottom: 2px; }
.date .n { display: block; font-size: 38px; line-height: 1; font-weight: 400; letter-spacing: -.05em; }
.date i { display: block; font-style: normal; font-size: 11px; color: var(--ink-2); margin-top: 5px; }
.agenda li.cur .date .n { color: var(--copper-ink); }
.evs-a { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding-top: 16px; font-size: 15px; color: var(--ink-2); }
.evs-a .ev { display: block; max-height: none; -webkit-line-clamp: unset; font-size: 16px; font-weight: 600; line-height: 1.3; padding: 15px 16px 15px 18px; border-radius: 12px; }
.evs-a .ev.build, .evs-a .ev.seen, .evs-a .ev.run { box-shadow: inset 4px 0 0 var(--bar); }
.evs-a .ev.build { --bar: var(--build-bar); }
.evs-a .ev.seen { --bar: var(--seen-bar); }
.evs-a .ev.run { --bar: var(--run-bar); }
.evs-a small { font-size: 13px; color: var(--ink-2); padding-left: 4px; }
.on-and-on .date .n { font-size: 28px; }
.on-and-on .evs-a { font-size: 17px; color: var(--ink); padding-top: 20px; }

/* Opening day: the big moment, full bleed */
.oday { --op: .5; --draw: 1; --fill: 1; background: var(--copper); color: var(--ink); overflow: clip; }
.oday-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; min-height: 108vh; padding-block: 12vh; }
.oday-words { transform: translate3d(0, calc((.5 - var(--op)) * -5vh), 0); }
.oday-wd { font: 500 26px/1.1 var(--mono); letter-spacing: -.02em; }
.oday h3 { font-size: clamp(3.6rem, 9vw, 8.4rem); line-height: .9; font-weight: 600; letter-spacing: -.055em; margin-top: 18px; }
.oday-line { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; margin-top: 26px; max-width: 18ch; letter-spacing: -.02em; }
.oday-num { position: relative; width: min(42vw, 66vh); aspect-ratio: 1; display: grid; place-items: center; transform: translate3d(0, calc((.5 - var(--op)) * 9vh), 0) scale(calc(.84 + var(--op) * .24)); }
.oday-num span { position: relative; font: 500 min(21vw, 33vh)/1 var(--mono); letter-spacing: -.07em; color: var(--cream); margin-left: -.07em; }
.oday-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.oday-ring .stroke { fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--draw) * 100); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 100px 100px; }
.oday-ring .fill { fill: var(--ink); transform: scale(calc(var(--fill) * .92)); transform-origin: 100px 100px; }

/* Proof: client quotes in their own section */
.proof { padding: clamp(80px, 12vh, 140px) 0; border-top: 1px solid var(--line-2); }
.proof h2, .lead h2, .faq h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.02; font-weight: 600; letter-spacing: -.04em; }
.done-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; align-items: start; }
.done { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line-2); }
.done.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.done-shot { padding: 14px; background: var(--cream); border-bottom: 1px solid var(--line); }
.done.wide .done-shot { border-bottom: 0; border-right: 1px solid var(--line); display: flex; }
.done-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line-2); }
.done.wide .done-shot img { aspect-ratio: auto; height: 100%; min-height: 340px; }
.done-body { padding: 0 26px 26px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.done-t { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 -26px; padding: 16px 26px; border-bottom: 1px solid var(--line-2); }
.done-t::after { content: "Done"; margin-left: auto; font: 500 12px/1 var(--mono); color: var(--ink-2); padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; }
.tick { flex: none; width: 20px; height: 20px; border-radius: 5px; background: var(--ink); display: grid; place-items: center; }
.tick svg { width: 14px; height: 14px; fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.done blockquote { margin: 0; }
.done blockquote p { font-size: 17px; line-height: 1.55; }
.done.wide blockquote p { font-size: 20px; line-height: 1.5; letter-spacing: -.01em; }
.who { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); padding-top: 16px; border-top: 1px solid var(--line-2); }
.who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.who b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }

/* Who you'll work with */
.lead { padding: 0 0 clamp(80px, 12vh, 140px); }
.inspector { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); margin-top: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.lead-photo { border-right: 1px solid var(--line); background: var(--ink); }
.lead-photo img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.lead-body { padding: 30px 34px 30px; }
.org { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.org::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.lead-body h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin-top: 8px; }
.lead-line { margin-top: 12px; font-size: 19px; line-height: 1.5; max-width: 46ch; }
.rows { margin-top: 24px; border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.rows dt { font-size: 14px; font-weight: 500; color: var(--ink-2); padding-top: 2px; }
.rows dd { font-size: 16px; }
.rows li { position: relative; padding-left: 18px; }
.rows li + li { margin-top: 6px; }
.rows li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--ink); }

/* Questions */
.faq { padding: 0 0 clamp(80px, 12vh, 140px); }
.faq-in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px 64px; align-items: start; }
.faq h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); max-width: 9ch; }
.qa > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px 32px; padding: 20px 0; border-top: 1px solid var(--line); }
.qa > div:last-child { border-bottom: 1px solid var(--line); }
.qa dt { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.qa dd { font-size: 17px; color: var(--ink-2); }
.qa a { color: var(--ink); font-weight: 500; text-underline-offset: 4px; white-space: nowrap; }

/* Close */
.close { background: var(--ink); color: var(--cream); padding: clamp(80px, 13vh, 150px) 0; }
.close-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.date-tile { width: 200px; background: var(--paper); color: var(--ink); border-radius: 14px; overflow: hidden; }
.tile-wd { display: block; font: 500 12px/1 var(--mono); padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.tile-n { position: relative; display: grid; place-items: center; height: 164px; font: 400 64px/1 var(--mono); }
.tile-n > span { position: relative; }
.tile-n .ring { position: absolute; left: 50%; top: 50%; width: 116px; height: 116px; transform: translate(-50%, -50%); }
.tile-n .ring circle { stroke-width: 1.6; }
.close h2 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; font-weight: 600; letter-spacing: -.05em; }
.close-copy > p { margin-top: 18px; font-size: 19px; color: rgba(244, 238, 226, .88); max-width: 46ch; }
.promise { margin-top: 16px; display: grid; gap: 8px; }
.promise li { display: flex; align-items: baseline; gap: 12px; font-size: 18px; line-height: 1.4; }
.promise li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #E9A15A; }
.close .actions { margin-top: 30px; }
.close .btn-main { background: var(--cream); color: var(--ink); }
.close .btn-main:hover { background: #fff; }
.close .btn-line { background: transparent; color: var(--cream); border-color: rgba(244, 238, 226, .4); }
.close .btn-line:hover { border-color: var(--cream); }
.close .contact { margin-top: 28px; font-size: 16px; }
.close .contact a { color: var(--cream); text-underline-offset: 4px; white-space: nowrap; }
.close :focus-visible { outline-color: #E9A15A; }

/* Footer */
.foot { padding: 36px 0 44px; font-size: 14px; color: var(--ink-2); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; align-items: baseline; }
.foot-brand b { color: var(--ink); margin-right: 6px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot .micro { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 14px auto 0; padding-inline: var(--pad); font-size: 12.5px; color: var(--ink-2); }
.foot .micro a { color: var(--ink-2); text-underline-offset: 3px; }

.sticky-cta { display: none; }

/* Desktop with JS: one continuous calendar under a sticky bar */
@media (min-width: 900px) {
  .hero-cal { position: sticky; top: calc(var(--toph) + 20px); }
  .hero-cal { margin-top: 6px; }
  .js .phase-cal { display: block; grid-column: 2; grid-row: 1 / span 3; }
  .js .phase .agenda { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; }
  .js .and-on { display: flex; align-items: center; gap: 14px; grid-column: 2; font-size: 20px; letter-spacing: -.01em; padding: 26px 0 0; }
  .js .and-on::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--copper); flex: none; }
  .anim .phase-copy { position: sticky; top: calc(var(--toph) + var(--nowh) + 24px); will-change: opacity; }
  .js .tl-body + .tl-body .phase-copy { padding-top: 56px; }
  .js .today { display: block; position: absolute; left: 0; right: 0; top: calc(50vh - 14px); height: 0; border-top: 2px solid var(--copper); pointer-events: none; transition: opacity .3s; opacity: 0; }
  .on-cal .today { opacity: 1; }
  .js .today::before { content: ""; position: absolute; left: -6px; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--copper); }
  .today-tag { position: absolute; right: calc(100% + 14px); top: -12px; font: 500 12px/1 var(--mono); color: #FBF3E8; background: var(--copper-ink); padding: 6px 8px; border-radius: 5px; white-space: nowrap; }
  .is-oday .now { transform: translate3d(0, -100%, 0); opacity: 0; }
  .is-oday .now-phase, .is-oday .prog li { color: var(--ink); }
  .is-oday .counter.is-open { color: var(--ink); }
  .is-oday .today { opacity: 0; }

  .phase .cal { border-radius: 0; border-top: 0; --cell: var(--row); }
  .tl-body:first-of-type .phase:last-child .cal, .phase[data-p="2"] .cal { border-radius: 0 0 14px 14px; }
  .phase[data-p="3"] .cal { border-radius: 0 0 14px 14px; border-top: 1px solid var(--line); }
  .phase + .phase .cal { border-top: 1px solid var(--ink); }
  .phase .d { padding: 10px 12px; font-size: 13px; transition: color .25s, background-color .25s, box-shadow .25s; }
  .phase .d.first { font-weight: 600; color: var(--copper-ink); }
  .phase .d.wk { background: rgba(194, 119, 44, .08); }
  .phase .d.past { color: rgba(16, 60, 62, .42); }
  .phase .d.td { background: rgba(16, 60, 62, .07); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); font-weight: 600; }
  .phase .d.fade { opacity: .4; border-bottom: 0; }
  .phase .d.od { font-weight: 600; }
  .phase .d.od .ring { left: 3px; top: -1px; width: 34px; height: 34px; }
  .phase .d.od .ring circle { transition: fill .35s; }
  .phase .d.od.hit { color: var(--cream); }
  .phase .d.od.hit .ring circle { fill: var(--copper); }
  .phase .d.od span { position: relative; }
  .phase .evs > .grp { margin: 32px 5px 0; }
  .phase .ev { font-size: 12px; padding: 5px 7px 5px 9px; border-radius: 4px; }
  .phase .ev.build, .phase .ev.seen, .phase .ev.run { box-shadow: inset 3px 0 0 var(--bar); }
  .phase .ev.build { --bar: var(--build-bar); }
  .phase .ev.seen { --bar: var(--seen-bar); }
  .phase .ev.run { --bar: var(--run-bar); }
  .phase .ev.fade { opacity: .4; }
}

/* Motion: events drop in with a spring and settle square as their day approaches */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .anim .phase .ev { opacity: 0; transform: translate3d(0, -26px, 0) scale(.94); transition: transform .7s cubic-bezier(.3, 1.55, .5, 1), opacity .22s ease; }
  .anim .phase .ev.in { opacity: 1; transform: none; }
  .anim .phase .ev.in.fade { opacity: .4; }
}

/* Phone: a calendar app. Months to tap, a sticky week strip, a full-screen opening day. */
@media (max-width: 899px) {
  :root { --pad: 20px; --toph: 97px; }
  body { font-size: 16px; }
  .top-in { flex-wrap: wrap; gap: 0 16px; height: calc(var(--toph) - 1px); align-content: center; padding-top: 4px; padding-bottom: 4px; }
  .nav-start { margin-left: auto; padding: 9px 16px; }
  .nav { order: 3; flex-basis: 100%; margin: 6px 0 0; gap: 22px; }
  .nav a { font-size: 14px; padding: 9px 0; }

  .hero { padding: 18px 0 52px; }
  .hero-in { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-copy { display: contents; }
  .kicker { order: 1; margin-bottom: 12px; font-size: 12.5px; }
  .hero h1 { order: 2; }
  .lede { order: 3; }
  .picker { order: 4; }
  .hero-cal { order: 5; margin-top: 14px; }
  .alt { order: 7; }
  .lead-by { order: 8; }
  .anim .hero-cal { transform: none; }
  h1 { font-size: clamp(2rem, 8.6vw, 2.45rem); }
  .lede { font-size: 16px; margin-top: 14px; }
  .picker { margin-top: 22px; }
  .picker-q { font-size: 16px; }
  .chips { gap: 7px; }
  .chip { min-height: 60px; border-radius: 12px; }
  .chip-m { font-size: 18px; padding: 10px 0 11px; }
  .chip-unsure .chip-m { font-size: 16px; padding: 11px 0 12px; }
  .actions .btn { flex: 1 1 100%; min-height: 54px; border-radius: 12px; }
  .lead-by { margin-top: 22px; padding-top: 16px; }
  .lead-by img { width: 44px; height: 44px; }

  .hero-cal .cal-top { margin-bottom: 10px; flex-wrap: wrap; row-gap: 10px; }
  .cal-kinds { flex: 1 1 100%; }
  .cal-kinds button { flex: 1; min-height: 40px; font-size: 14px; padding: 8px 6px; }
  .cal-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 10px 0 0; padding: 0; }
  .cal-steps .ev { font-size: 13px; padding: 7px 10px; -webkit-line-clamp: unset; max-height: none; }
  .legend { display: none; }
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .cal-title { font-size: 15px; }
  .hero-cal .cal { border-radius: 14px; }
  .hero-cal .cells .d { display: none; }
  .hero-cal .cells .d.wk { display: block; border: 0; background: none; }
  .hero-cal .cells { grid-auto-rows: 52px; }
  .hero-cal .evs { display: none; }
  .hero-cal .d { padding: 18px 0 0; text-align: center; font-size: 15px; }
  .hero-cal .ring { left: 50%; top: 6px; margin-left: -19px; width: 38px; height: 38px; }
  .hero-cal .wds span { text-align: center; padding: 10px 0 0; }
  .hero-cal .wds { border-bottom: 0; }
  .od-card { display: flex; align-items: center; justify-content: space-between; margin: 4px 10px 10px; padding: 12px 14px; border-radius: 10px; background: var(--copper-ink); color: #FBF3E8; font-size: 15px; }
  .od-card span { font: 500 13px/1 var(--mono); }
  .od-card b { font-weight: 600; }
  .anim .od-card { animation: drop .6s cubic-bezier(.3, 1.5, .5, 1) 1.1s both; }
  .anim .hero-cal.re .od-card { animation-delay: .3s; }

  .timeline { --nowh: 104px; padding-bottom: 24px; }
  .tl-head { padding-top: 72px; }
  .tl-head p { font-size: 16px; }
  .now { margin-top: 24px; border-bottom: 1px solid var(--line); }
  .now-in { display: block; padding-top: 10px; padding-bottom: 8px; }
  .now-left { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .counter { font-size: 17px; margin: 0; letter-spacing: -.03em; }
  .prog { margin-top: 8px; gap: 4px; }
  .prog li { font-size: 0; padding: 0; height: 0; }
  .now .wds { display: none; }
  .strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 8px; }
  .strip li { display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .strip b { font: 500 10px/1 var(--mono); color: var(--ink-2); }
  .strip span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 500 16px/1 var(--mono); font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s; }
  .strip li.cur span { background: var(--ink); color: var(--cream); }
  .strip li.od span { box-shadow: inset 0 0 0 2px var(--copper); }
  .strip li.od.cur span { background: var(--copper-ink); box-shadow: none; }
  .is-oday .now { background: var(--copper); border-bottom-color: transparent; }
  .is-oday .now-phase, .is-oday .strip b { color: var(--ink); }
  .is-oday .counter.is-open { color: var(--ink); }

  /* The phase text, then its days, then the quote pinned to them. */
  .phase { display: flex; flex-direction: column; align-items: stretch; }
  .phase-copy { display: contents; }
  .phase h3 { margin-top: 52px; }
  .moment { font-size: 1.75rem; }
  .agenda { order: 1; padding: 12px 0 8px; }
  .agenda li { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
  .agenda li.mo-row { padding: 20px 0 4px; }
  .date .n { font-size: 36px; }
  .anim .agenda li .ev, .anim .agenda li small { opacity: 0; transform: translate3d(44px, 0, 0); transition: transform .65s cubic-bezier(.3, 1.45, .5, 1), opacity .25s ease; }
  .anim .agenda li.in .ev, .anim .agenda li.in small { opacity: 1; transform: none; }
  .anim .agenda li.in small { transition-delay: .08s; }

  .oday-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; min-height: 100svh; padding-block: 72px; }
  .oday-num { order: -1; width: min(80vw, 46vh); }
  .oday-num span { font-size: min(36vw, 21vh); }
  .oday-words { transform: none; }
  .oday-wd { font-size: 24px; letter-spacing: -.04em; }
  .oday h3 { font-size: 3.4rem; margin-top: 10px; }
  .oday-line { margin: 18px auto 0; font-size: 24px; }

  .proof { padding: 72px 0; }
  .done-list { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .done.wide { display: flex; }
  .done.wide .done-shot { border-right: 0; border-bottom: 1px solid var(--line); }
  .done.wide .done-shot img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .done-body { padding: 0 20px 20px; }
  .done-t { margin: 0 -20px; padding: 14px 20px; }
  .done.wide blockquote p { font-size: 17px; }

  .lead { padding: 0 0 72px; }
  .inspector { grid-template-columns: 1fr; margin-top: 28px; }
  .lead-photo { border-right: 0; border-bottom: 1px solid var(--line); }
  .lead-photo img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
  .lead-body { padding: 22px 20px 22px; }
  .rows > div { grid-template-columns: 1fr; gap: 4px; }

  .faq { padding-bottom: 72px; }
  .faq-in { grid-template-columns: 1fr; }
  .qa > div { grid-template-columns: 1fr; padding: 16px 0; }
  .qa dt { font-size: 18px; }
  .qa dd { font-size: 16px; }

  .close-in { grid-template-columns: 1fr; }
  .date-tile { width: 136px; }
  .tile-n { height: 108px; font-size: 44px; }
  .tile-n .ring { width: 82px; height: 82px; }

  .js .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16, 60, 62, .08); transform: translate3d(0, 110%, 0); visibility: hidden; transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s .32s; }
  .js .sticky-cta.on { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  .sticky-cta .btn { width: 100%; min-height: 50px; border-radius: 12px; }
  .foot { padding-bottom: 96px; }
}

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