/* The proposed homepage (/proposed): the Comeback Auction with the Great River Bridges.
   Everything is scoped under .cb because every stylesheet here loads on every page.
   Motion is transform/opacity only; prefers-reduced-motion gets the finished picture. */

.cb {
  --cb-night: #050d24;
  --cb-navy: #0c2154;
  --cb-blue: #1450b4;
  --cb-gold: #f6b62b;
  --cb-gold-hi: #ffd36b;
  --cb-green: #5cc29a;
  --cb-green-deep: #2c8a68;
  --cb-kiwanis-blue: #123763; /* the K disc of kiwanis-logo.png, sampled (TW #3406) */
  --cb-cream: #fbf5e8;
  --cb-paper: #fffdf7;
  --cb-ink: #121726;
  --cb-ink-soft: #4b5368;
  --cb-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --cb-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --cb-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --cb-spring: cubic-bezier(.34, 1.56, .64, 1);
  --cb-out: cubic-bezier(.16, 1, .3, 1);
}

body:has(> main.cb) { background: var(--cb-night); }
main.cb {
  max-width: none; margin: 0; padding: 0;
  font-family: var(--cb-sans); color: var(--cb-ink); background: var(--cb-cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.cb section { margin: 0; }
.cb [id] { scroll-margin-top: 72px; } /* in-page links land below the fixed nav */
.cb h2, .cb h3 { border: 0; padding: 0; text-wrap: balance; }
.cb a { color: inherit; }
.cb img { display: block; max-width: 100%; }

/* ---------- shared pieces ---------- */
/* Section titles (TW #3129: Steve picked the middle of three sizes) */
.cb-eyebrow {
  margin: 0 0 .85rem; font: 800 clamp(1.15rem, 1.6vw, 1.45rem)/1.15 var(--cb-sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cb-blue); text-wrap: balance;
}
.cb-h2 {
  margin: 0 0 1rem; font: 400 clamp(2.4rem, 7vw, 4.6rem)/.98 var(--cb-display); letter-spacing: .01em;
  text-transform: uppercase; color: var(--cb-ink);
}
.cb-lead { margin: 0 0 1rem; font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.55; color: var(--cb-ink-soft); max-width: 40em; }
.cb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.4em;
  border: 2px solid transparent; border-radius: 999px; font: 700 1rem/1 var(--cb-sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--cb-spring), box-shadow .25s, background .25s;
}
.cb-btn:hover { transform: translateY(-3px) rotate(-1deg); }
.cb-btn:active { transform: translateY(1px) rotate(2deg); }
.cb-btn:focus-visible { outline: 3px solid var(--cb-gold-hi); outline-offset: 3px; }
.cb-btn--gold { background: var(--cb-gold); color: var(--cb-ink); box-shadow: 0 8px 24px rgba(246, 182, 43, .35); }
.cb-btn--gold:hover { background: var(--cb-gold-hi); }
.cb-btn--green { background: var(--cb-green); color: var(--cb-ink); box-shadow: 0 8px 24px rgba(92, 194, 154, .35); }
.cb-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.cb-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
/* "Knock us down" (TW #3140): "Can you knock us down?" over "Click to try!" with a mouse or "Tap to try!" on
   touch screens (the question leads, the second line is a little smaller); after each knock the next reply
   (.is-nope, set by the comeback controller once everything is back up). With a mouse it gives a
   short buzz about every 1.2 s (transform only, so it runs on the compositor). Paused while the hero is off
   screen; still while the bridges fall, under the pointer and with focus, so it is easy to click. */
.cb-knock { flex-direction: column; gap: .3em; }
.cb-knock > span { text-wrap: balance; }  /* on the narrowest phones a line wraps evenly, never one word alone */
.cb-knock__click, .cb-knock__tap, .cb-knock__again { font-size: .85em; }
.cb-knock__click, .cb-knock__nope, .cb-knock__again { display: none; }
.cb-knock.is-nope .cb-knock__ask, .cb-knock.is-nope .cb-knock__click, .cb-knock.is-nope .cb-knock__tap { display: none; }
.cb-knock.is-nope .cb-knock__nope, .cb-knock.is-nope .cb-knock__again:not(:empty) { display: inline; }
/* about 1.5x other buttons' text on a desktop, smaller on phones; a long reply wraps into even lines */
.cb-knock { max-width: 100%; font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem); }
/* The emoji: 1.5x line 1, centred on it, on a white sticker badge so it stands out on the gold. */
.cb-knock__emoji {
  display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%; font-size: 1.15em; line-height: 1;
  vertical-align: middle; background: #fff; box-shadow: 0 2px 6px rgba(18, 23, 38, .28);
}
/* A new message draws the eye once (.is-popping, from the comeback controller): the button boings like a
   spring, the words drop in, the emoji bounces and a gold ring ripples out. Transform and opacity only;
   while it plays it replaces the shake. */
.cb-knock { position: relative; padding-inline: 1.1em; }  /* a little less side padding than other buttons, so the bigger emoji keeps messages on one line */
.cb-knock::after { content: ""; position: absolute; inset: -4px; border-radius: 999px; opacity: 0; pointer-events: none; }
/* A tap that lands before the page's JavaScript has arrived (TW #4331): the button stays pressed, its ring on,
   until the knock starts. */
.cb-knock.is-pressed { transform: translateY(1px) rotate(2deg); background: var(--cb-gold-hi); }
.cb-knock.is-pressed::after { border: 3px solid var(--cb-gold); opacity: .6; }
.cb-knock.is-popping .cb-knock__nope, .cb-knock.is-popping .cb-knock__again { display: inline-block; }
.cb-js .cb-knock.is-popping { animation: cb-pop-boing .75s ease-out; }
.cb-js .cb-knock.is-popping :is(.cb-knock__nope, .cb-knock__again) { animation: cb-pop-drop .45s var(--cb-spring) both; }
.cb-js .cb-knock.is-popping .cb-knock__emoji { animation: cb-pop-bounce .55s .25s var(--cb-spring) both; }
.cb-js .cb-knock.is-popping::after { border: 3px solid var(--cb-gold); animation: cb-pop-ring .75s ease-out; }
@keyframes cb-pop-boing {
  0%, 100% { transform: none; }
  15% { transform: scale(1.12, .86); }
  32% { transform: scale(.92, 1.1); }
  50% { transform: scale(1.05, .96); }
  68% { transform: scale(.98, 1.02); }
}
@keyframes cb-pop-drop { from { transform: translateY(-.7em); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cb-pop-bounce { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: none; } }
@keyframes cb-pop-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.25, 1.6); opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .cb-knock__click { display: inline; }
  .cb-knock__tap { display: none; }
  .cb-js .cb-knock { animation: cb-shake-buzz 1.2s 3.2s linear infinite; }
  .cb-js .cb-hero.is-offscreen .cb-knock { animation-play-state: paused; }
  .cb-js.is-knocking .cb-knock, .cb-js .cb-knock:hover, .cb-js .cb-knock:focus { animation: none; }
}
/* buzz: a phone on vibrate, six quick swings of 3px, then still */
@keyframes cb-shake-buzz {
  0%, 30%, 100% { transform: none; }
  5% { transform: translateX(-3px); }
  10% { transform: translateX(3px); }
  15% { transform: translateX(-3px); }
  20% { transform: translateX(3px); }
  25% { transform: translateX(-2px); }
}
.cb-btn--small { min-height: 40px; padding: .55em 1.1em; font-size: .9rem; background: var(--cb-gold); color: var(--cb-ink); }

/* reveal on scroll (only when the controller is running). Hiding is instant: with the transition
   on the hidden state too, everything below the fold faded OUT for .9s after load (TW #3417). */
.cb-js [data-reveal] { opacity: 0; transform: translateY(40px); }
.cb-js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--cb-out), transform .9s var(--cb-out); }

/* ---------- nav ---------- */
.cb-nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px clamp(16px, 4vw, 40px); color: #fff; transition: background .4s, box-shadow .4s, padding .4s;
}
.cb-nav.is-solid { background: rgba(5, 13, 36, .82); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); padding-block: 8px; }
.cb-nav__brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.cb-nav__logo { height: 34px; width: auto; background: #fff; border-radius: 8px; padding: 3px; }
.cb-nav__links { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 26px); }
/* TW #3406 (Steve picked B): three pills. The proposal in the Kiwanis logo's blue (a pill: that blue as plain
   text on the dark nav would be hard to read), Comeback Sign-Up green with a soft glow every few seconds. */
.cb-nav__links > a { white-space: nowrap; }
.cb-nav__brand, .cb-nav__logo { flex-shrink: 0; }
.cb-nav__links .cb-btn--kiwanis { background: var(--cb-kiwanis-blue); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.cb-nav__links .cb-btn--signup { background: var(--cb-green); color: var(--cb-ink); animation: cb-signup-glow 3.2s ease-in-out 1s infinite; }
@keyframes cb-signup-glow { 0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(92, 194, 154, 0); } 20% { box-shadow: 0 0 0 7px rgba(92, 194, 154, .45); } 40% { box-shadow: 0 0 0 12px rgba(92, 194, 154, 0); } }
.cb-nav__links [data-short]::after { content: attr(data-short); display: none; }
.cb-nav__links > a:not(.cb-btn) { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; font-size: .95rem; }
.cb-nav__links > a:not(.cb-btn):hover { color: var(--cb-gold-hi); }
@media (max-width: 720px) {
  .cb-nav__brand span { display: none; }
}
/* Phones: three pills on one line (TW #3406): "Members", all three pills a step smaller together, nothing wraps,
   the logo kept full size. */
@media (max-width: 480px) {
  .cb-nav__links .cb-nav__long { display: none; }
  .cb-nav__links [data-short]::after { content: attr(data-short); display: inline; }
  .cb-nav__links { gap: 5px; }
  .cb-nav__links .cb-btn--small { font-size: .72rem; padding: .5em .6em; min-height: 34px; }
}
@media (max-width: 380px) { /* TW #3406: three pills still fit a 360px phone */
  .cb-nav { padding-inline: 10px; gap: 8px; }
  .cb-nav__links { gap: 4px; }
  .cb-nav__links .cb-btn--small { padding: .5em .55em; }
}

/* ---------- hero ---------- */
.cb-hero {
  position: relative; min-height: max(100vh, calc(530px + 22.6vw)); min-height: max(100svh, calc(530px + 22.6vw)); overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-start; justify-content: center; background: var(--cb-night); color: #fff;
}
/* The scene: a 16:9 wrapper that covers the hero like "slice" (bottom-centred), holding stacked
   layers positioned in scene units. On portrait screens it is sized by width so both spans show. */
.cb-scene-box { position: absolute; inset: 0; z-index: -1; overflow: hidden; container: cb-box / size; }
.cb-scene { position: absolute; left: 50%; bottom: 0; width: max(100cqw, 177.78cqh); aspect-ratio: 16 / 9; translate: -50% 0; container-type: inline-size; }
@container cb-box (max-aspect-ratio: 4/5) { .cb-scene { width: 215cqw; } }
.cb-layer { position: absolute; display: block; overflow: visible; }
.cb-piece { will-change: transform, opacity; pointer-events: none; }  /* a bridge piece lifted out for "Knock us down" */
.cb-layer--night { inset: 0; background: var(--cb-night); opacity: 0; will-change: opacity; }
/* Moving layers start where the page opens (also the picture without JS or with reduced motion): the Kiwanis
   moon up with its glow, the veil off, the left cloud pulled back, the right one high in the right-hand sky in
   fair-weather colours (TW #3182; its storm twin and the sun's cloud hidden), the sun shining (TW #3177). The moon's spot is --cb-moon-x/-y (scene units from where it is drawn) and --cb-moon-s (its
   size); the clouds that cover it on a knock are placed from it (never lower than they are drawn, so they stay
   in sight above the skyline), and the comeback controller reads the same variables.
   It then slides the sun, moon and right cloud as you scroll (transform), and "Knock us down" turns the sky stormy:
   the moon drops low behind the bridge, the right cloud zips down over it and turns to storm, another cloud covers
   the sun, which dims; then it all comes back (translate and opacity, on top of the scroll).
   1 scene unit = .0625cqw. */
/* The moon's spot is measured from the scene's visible top-left corner (--cb-edge-x/-y, how much of the scene the
   hero crops off the left and top; 0 unless a placement below sets them), so it sits the same on 4:3 and 16:9. */
@property --cb-edge-x { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --cb-edge-y { syntax: "<length>"; inherits: true; initial-value: 0px; }
/* Where the hero's top falls in the scene (the scene height less the hero's; negative when the scene starts lower), for
   a cloud measured down from the hero's top; 0 where it is measured in scene units. */
@property --cb-sky-top { syntax: "<length>"; inherits: true; initial-value: 0px; }
/* The right cloud rests on the right (TW #3182), its middle --cb-cloud-mid below the hero's top (--cb-sky-top is where
   that falls in the scene; 0 where it is measured from the scene's top), x --cb-cloud-x scene units plus --cb-cloud-px.
   Phones: in scene units, its top 10 under the top of the Kiwanis moon (375 = 50.39cqw of the hero box at a 215cqw
   scene), or lower on short phones, where that would meet the button: its top 412px down the hero (the scene starts
   100cqh - 120.9375cqw down; the cloud's half height is 13.84cqw). Upright tablets, where the moon is higher than the button's bottom: its top just under the button (630px down
   the hero). Desktop and laptop: just right of "COMEBACK" (its left 382px right of the middle) and level with
   "Auction" (360px down), in px because the title is placed in px. */
@property --cb-cloud-mid { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --cb-cloud-px { syntax: "<length>"; inherits: true; initial-value: 0px; }
.cb-scene { --cb-moon-x: 0; --cb-moon-y: -80; --cb-moon-s: 1; --cb-cloud-x: 470; --cb-sky-top: 0px; --cb-cloud-mid: max(50.39cqw, calc(412px + 134.78cqw - 100cqh)); }
@container cb-box (max-aspect-ratio: 4/5) { .cb-scene { --cb-moon-x: 160; } }
/* Wide screens: a smaller moon up in the left-hand sky, clear of "COMEBACK" (Steve picked option A, 2026-10-11):
   its centre 95 units in from the left edge and 165 down from the top, 45% size. Tablets upright: left of the
   button. Phones keep the spot above. */
@container cb-box (min-aspect-ratio: 4/5) {
  .cb-scene {
    --cb-edge-x: calc((max(100cqw, 177.78cqh) - 100cqw) / 2); --cb-edge-y: calc(max(56.25cqw, 100cqh) - 100cqh);
    --cb-moon-x: -385; --cb-moon-y: -305; --cb-moon-s: .45;
    --cb-cloud-x: 376; --cb-cloud-px: calc(382px + var(--cb-edge-x)); --cb-cloud-mid: calc(360px + var(--cb-edge-y));
  }
}
/* Near-square screens: the button is wide for the screen, so the cloud sits lower to stay clear of it. */
@container cb-box (min-aspect-ratio: 4/5) and (max-aspect-ratio: 6/5) { .cb-scene { --cb-cloud-x: 920; --cb-cloud-px: 0px; --cb-cloud-mid: 660px; --cb-sky-top: calc(max(56.25cqw, 100cqh) - 100cqh); } }
@container cb-box (max-aspect-ratio: 4/5) and (min-width: 600px) { .cb-scene { --cb-moon-x: 40; --cb-moon-y: -131; --cb-moon-s: .42; --cb-cloud-mid: 630px; --cb-sky-top: calc(120.9375cqw - 100cqh); } }
.cb-layer--sun { will-change: transform, translate; }
.cb-layer--sun-glow, .cb-layer--sun-path { will-change: transform, opacity; }
.cb-layer--sun-dim { opacity: 0; will-change: transform, opacity; }
.cb-layer--moon {
  transform: translate3d(calc(var(--cb-edge-x) + var(--cb-moon-x) * .0625cqw), calc(var(--cb-edge-y) + var(--cb-moon-y) * .0625cqw), 0)
    scale(var(--cb-moon-s));
  will-change: transform, translate;
}
.cb-layer--glow, .cb-layer--veil { will-change: transform, translate, opacity; }
.cb-layer--veil { opacity: 0; }
.cb-layer--cloud { will-change: transform, translate, opacity; }
.cb-layer--cloud-left {
  transform: translate3d(calc(var(--cb-edge-x) + (var(--cb-moon-x) - 420) * .0625cqw),
    min(calc(var(--cb-edge-y) + (var(--cb-moon-y) + 80) * .0625cqw), 0px), 0);
  opacity: .3;
}
/* The right cloud at rest: --cb-cloud-x scene units (plus --cb-cloud-px) right of where it is drawn, from the visible
   right edge, and its middle (drawn 617 down, 38.5625cqw) at --cb-sky-top + --cb-cloud-mid. */
.cb-layer--cloud-right {
  transform: translate3d(calc(var(--cb-cloud-x) * .0625cqw - var(--cb-edge-x) + var(--cb-cloud-px)), calc(var(--cb-sky-top) + var(--cb-cloud-mid) - 38.5625cqw), 0);
}
.cb-layer--cloud-storm, .cb-layer--cloud-sun { opacity: 0; }
.cb-hero__copy {
  width: min(100%, 1100px); padding: clamp(76px, 10vh, 120px) 16px 0; text-align: center; will-change: transform, opacity;
}
.cb-kicker {
  margin: 0 0 .5rem; font: 800 clamp(.9rem, 2.1vw, 1.25rem)/1 var(--cb-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--cb-gold-hi);
  animation: cb-fade-up 1s .2s var(--cb-out) both;
}
.cb-title { margin: 0; font-weight: 400; line-height: 1; color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.cb-title__the, .cb-title__auction { display: block; font: italic 700 clamp(1.6rem, 5vw, 3.4rem)/1 var(--cb-serif); color: var(--cb-gold-hi); }
.cb-title__the { animation: cb-fade-up .9s .35s var(--cb-out) both; margin-bottom: -.05em; }
.cb-title__auction { animation: cb-fade-up .9s 1.5s var(--cb-out) both; margin-top: .02em; }
.cb-title__word {
  display: inline-flex; font: 400 clamp(4.2rem, 17.5vw, 11rem)/.92 var(--cb-display); letter-spacing: .01em; cursor: pointer;
  -webkit-user-select: none; user-select: none;
}
.cb-letter { display: inline-block; transform-origin: 92% 96%; will-change: transform; }
.cb-letter:nth-child(odd) { color: #fff; }
.cb-letter:nth-child(even) { color: #e9f3ff; }
.cb-title__word.is-getting-up .cb-letter { animation: cb-get-up 1.25s calc(.55s + var(--i) * 95ms) both; }
/* Knocked down: each letter falls (C first, like dominoes), lies there while the bridges are in the
   river, and springs back up K first as the pieces fly back (--rise-at comes from the comeback controller, timed off the bridge collapse). */
.cb-title__word.is-knocked .cb-letter {
  animation: cb-fall .45s calc(var(--i) * 75ms) forwards, cb-get-up 1.25s calc(var(--rise-at, 1200ms) - 440ms + (7 - var(--i)) * 95ms) forwards;  /* K first, back to C */
}
.cb-title__word.is-knocked { animation: cb-thud .45s .55s both; }
@keyframes cb-get-up {
  0% { transform: rotate(90deg) translateY(4%); }
  35% { transform: rotate(90deg) translateY(4%); animation-timing-function: cubic-bezier(.2, .9, .3, 1.4); }
  72% { transform: rotate(-9deg); }
  86% { transform: rotate(4deg); }
  100% { transform: rotate(0); }
}
@keyframes cb-fall {
  0% { transform: rotate(0); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  75% { transform: rotate(90deg) translateY(4%); }
  88% { transform: rotate(84deg) translateY(4%); }
  100% { transform: rotate(90deg) translateY(4%); }
}
@keyframes cb-thud {
  0%, 100% { transform: none; }
  20% { transform: translate(-4px, 5px); }
  45% { transform: translate(5px, -2px); }
  70% { transform: translate(-2px, 2px); }
}
.cb-lyric {
  margin: clamp(.8rem, 2vh, 1.3rem) auto 0; max-width: 30em; font: italic 500 clamp(1.1rem, 2.6vw, 1.6rem)/1.35 var(--cb-serif); color: #fff;
  animation: cb-fade-up 1s 1.8s var(--cb-out) both;
}
.cb-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(1rem, 3vh, 1.8rem); animation: cb-fade-up 1s 2.1s var(--cb-out) both; }
.cb-scroll-cue {
  position: absolute; left: 50%; bottom: 22px; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 16px;
  animation: cb-fade-up 1s 2.6s both;
}
.cb-scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cb-cue 1.8s infinite; }
@keyframes cb-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
@keyframes cb-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* the scene */
.cb-dawn { opacity: 0; animation: cb-dawn 4.5s .6s ease-out forwards; }
@keyframes cb-dawn { to { opacity: 1; } }
.cb-stars circle { fill: #fff; animation: cb-twinkle 3.2s var(--t) infinite alternate, cb-stars-out 4s 1.2s forwards; }
@keyframes cb-twinkle { from { opacity: .9; } to { opacity: .2; } }
@keyframes cb-stars-out { to { fill-opacity: .25; } }
/* Scrolling down: the sun sets on the right, the sky darkens, the Kiwanis moon drifts up on the left
   (layer transforms set by the comeback controller; see .cb-layer above). */
.cb-moon-seal { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
.cb-moon-overlay { opacity: .95; mix-blend-mode: soft-light; }
/* The sunrise slides the sun's three layers up on `translate` (330 units), composited, so nothing repaints. */
.cb-layer--sun { animation: cb-sunrise 4.2s .4s var(--cb-out) backwards; }
@keyframes cb-sunrise { from { translate: 0 20.625cqw; } to { translate: 0 0; } }
.cb-sun-path { opacity: 0; animation: cb-sun-path 4s 1.6s ease-out forwards; }
@keyframes cb-sun-path { to { opacity: .45; } }
.cb-skyline { fill: #0a1c45; }
.cb-deck { fill: #0b1a3c; }
.cb-rail { stroke: #2a5a63; stroke-width: 3; fill: none; }
.cb-stone { fill: #3b4660; }
.cb-bridge path.cb-draw { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cb-bridge--front .cb-draw { stroke: var(--cb-green); stroke-width: 5; }
.cb-bridge--front .chord { stroke-width: 8; }
.cb-bridge--back { opacity: .5; }
.cb-bridge--back .cb-draw { stroke: #3c9a7c; stroke-width: 3.5; }
.cb-bridge--back .chord { stroke-width: 5.5; }
.cb-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.cb-hero .cb-draw,
.cb-stage__frame.is-active .cb-draw { animation: cb-draw .75s var(--d) var(--cb-out) forwards; }
@keyframes cb-draw { to { stroke-dashoffset: 0; } }
.cb-lamp path { stroke: #0b1a3c; stroke-width: 4; fill: none; }
.cb-lamp__bulb { fill: #ffe7a3; }
.cb-lamp__glow { opacity: .55; animation: cb-lamp 2.5s 3.4s ease-in forwards; }
@keyframes cb-lamp { to { opacity: .08; } }
.cb-reflection { opacity: .3; }
.cb-wave path { fill: #0e2a5c; }
.cb-wave--1 path { fill: rgba(40, 84, 150, .55); }
.cb-wave--2 path { fill: rgba(14, 38, 86, .7); }
.cb-wave--3 path { fill: rgba(6, 18, 44, .85); }
.cb-wave--1 { animation: cb-flow 14s linear infinite; }
.cb-wave--2 { animation: cb-flow 22s linear infinite reverse; }
.cb-wave--3 { animation: cb-flow 30s linear infinite; }
@keyframes cb-flow { from { transform: translateX(0); } to { transform: translateX(-100%); } }  /* each wave's layer is 1600 scene units wide */
.cb-glints path { stroke: #cfe3ff; stroke-width: 2; stroke-linecap: round; opacity: 0; animation: cb-glint 3s var(--t) infinite; }
@keyframes cb-glint { 0%, 100% { opacity: 0; transform: translateX(0); } 50% { opacity: .55; transform: translateX(-30px); } }
/* nobody can see them (TW #3133): the comeback controller marks the hero .is-offscreen */
.cb-hero.is-offscreen :is(.cb-stars circle, .cb-wave, .cb-glints path, .cb-scroll-cue span) { animation-play-state: paused; }
.cb-marquee.is-offscreen .cb-marquee__track { animation-play-state: paused; }

/* ---------- marquee ---------- */
.cb-marquee { position: relative; z-index: 2; margin: -34px 0 -10px; padding: 18px 0; overflow: hidden; }
.cb-marquee__row { display: flex; transform: rotate(-2.2deg); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.cb-marquee__row + .cb-marquee__row { transform: rotate(1.4deg); margin-top: -6px; }
.cb-marquee__row--gold { background: var(--cb-gold); color: var(--cb-ink); }
.cb-marquee__row--green { background: var(--cb-green-deep); color: #fff; }
.cb-marquee__track { display: flex; flex: none; align-items: center; gap: 28px; padding: 12px 14px; white-space: nowrap; animation: cb-marquee 38s linear infinite; }
.cb-marquee__row--reverse .cb-marquee__track { animation-direction: reverse; animation-duration: 46s; }
.cb-marquee__track span { font: 400 clamp(1.3rem, 3vw, 2rem)/1 var(--cb-display); text-transform: uppercase; letter-spacing: .03em; }
.cb-marquee__track i { font-style: normal; opacity: .6; }
@keyframes cb-marquee { to { transform: translateX(-50%); } }

/* ---------- why ---------- */
.cb .cb-why { padding: clamp(80px, 14vw, 160px) clamp(16px, 6vw, 80px); max-width: 1180px; margin: 0 auto; }
.cb-why__text { margin: 0; font: 700 clamp(1.9rem, 5.2vw, 4rem)/1.12 var(--cb-serif); letter-spacing: -.01em; color: var(--cb-ink); }
.cb-why__next { margin-top: .7em; }
.cb-why__punch {
  margin: .9em 0 0; font: 400 clamp(3rem, 10.5vw, 8.5rem)/.95 var(--cb-display); text-transform: uppercase; letter-spacing: .01em;
  color: var(--cb-ink); cursor: pointer; -webkit-user-select: none; user-select: none;
}
.cb-punch-word { display: inline-block; transform-origin: 92% 96%; }
.cb-punch-word--up { color: var(--cb-green-deep); }
.cb-js .cb-why__punch .cb-punch-word { transform: rotate(90deg) translateY(4%); }
.cb-js .cb-why__punch.is-in .cb-punch-word { animation: cb-get-up 1.3s calc(.15s + var(--i) * 110ms) both; }
.cb-js .cb-why__punch.is-in .cb-punch-word--up { animation-name: cb-get-up-big; }
@keyframes cb-get-up-big {
  0%, 35% { transform: rotate(90deg) translateY(4%); animation-timing-function: cubic-bezier(.2, .9, .3, 1.4); }
  70% { transform: rotate(-10deg) translateY(-8%) scale(1.08); }
  86% { transform: rotate(4deg) scale(1); }
  100% { transform: none; }
}
.cb-word { transition: color .35s, opacity .35s; }
.cb-js .cb-why .cb-word { opacity: .16; }
.cb-js .cb-why .cb-word.is-lit { opacity: 1; }
.cb-word--gold { color: #b07a06; }
.cb-word--down { color: #c8432f; }
.cb-word--up { color: var(--cb-green-deep); }
.cb-js .cb-why .cb-word--down, .cb-js .cb-why .cb-word--up { display: inline-block; transition: color .35s, opacity .35s, transform .7s var(--cb-spring); }
.cb-js .cb-why .cb-word--down { transform-origin: 90% 90%; }
.cb-js .cb-why .cb-word--down.is-lit { transform: rotate(9deg) translateY(.12em); }
.cb-js .cb-why .cb-word--down.is-lit + .cb-word--down.is-lit { transform: rotate(14deg) translateY(.2em); }
.cb-js .cb-why .cb-word--up.is-lit { transform: translateY(-.14em); }

/* ---------- the bridge story ---------- */
.cb-story { background: var(--cb-navy); color: #fff; padding: clamp(70px, 10vw, 130px) 0 clamp(40px, 6vw, 80px); }
.cb-story .cb-eyebrow { color: var(--cb-gold-hi); }
.cb-story .cb-h2 { color: #fff; }
.cb-story .cb-lead { color: rgba(255, 255, 255, .78); }
.cb-story__intro { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 60px) clamp(30px, 5vw, 60px); }
.cb-story__body { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px);
  /* the 4:3 picture box height: its column is 1.35 / 2.35 of the body width less the padding and the gap */
  --cb-stage-h: calc((min(100vw, 1280px) - 2 * clamp(16px, 4vw, 48px) - clamp(20px, 4vw, 56px)) * 1.35 / 2.35 * .75); }
.cb-stage {
  position: sticky; top: max(72px, calc(50vh - var(--cb-stage-h) / 2)); align-self: start; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: #081638;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.cb-stage__frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.cb-stage__frame.is-active { opacity: 1; }
.cb-stage__frame img, .cb-stage__frame .cb-art { width: 100%; height: 100%; object-fit: cover; }
.cb-stage__frame img { transform: scale(1.02); }
.cb-stage__frame.is-active img { animation: cb-kenburns 12s ease-out forwards; }
.cb-stage__frame--rebuild img { transform-origin: 70% 40%; }
.cb-stage__frame--twins img { transform-origin: 50% 40%; }
@keyframes cb-kenburns { from { transform: scale(1.02); } to { transform: scale(1.16); } }
.cb-stage__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 13, 36, .0) 50%, rgba(5, 13, 36, .75)); pointer-events: none; }
.cb-stage__frame figcaption { position: absolute; right: 18px; bottom: 16px; z-index: 1; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .8); }
.cb-stage__year {
  position: absolute; left: 18px; bottom: 4px; z-index: 2; margin: 0; font: 400 clamp(4rem, 10vw, 8.5rem)/1 var(--cb-display); color: var(--cb-gold);
  text-shadow: 0 8px 30px rgba(0, 0, 0, .45);
}
.cb-stage__year.is-turning { animation: cb-year .7s var(--cb-spring); }
@keyframes cb-year { 0% { transform: translateY(40%) rotate(-8deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
/* one picture-height per step, so the next words arrive at the bottom of the picture as the last ones leave */
.cb-steps { list-style: none; margin: 0; padding: max(8vh, calc(50vh - var(--cb-stage-h) / 2)) 0 max(12vh, calc(50vh - var(--cb-stage-h) / 2)); counter-reset: none; }
.cb-step { min-height: var(--cb-stage-h); display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s; }
.cb-step.is-current { opacity: 1; }
/* with JavaScript and motion, a desktop fades each step with the scroll (comeback#paintStoryText) */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) { .cb-js .cb-step { transition: none; } }
.cb-step__year { margin: 0; font: 400 1.1rem/1 var(--cb-display); letter-spacing: .14em; color: var(--cb-gold-hi); }
.cb-step h3 { margin: .3rem 0 .8rem; font: 700 clamp(1.7rem, 3.4vw, 2.6rem)/1.08 var(--cb-serif); color: #fff; }
.cb-step p:not(.cb-step__year) { margin: 0; font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 30em; }
.cb-step--down h3 { color: #ff9b85; }
.cb-step--up h3 { color: var(--cb-green); }
@media (max-width: 900px) {
  .cb-story__body { display: block; }
  .cb-stage { top: 64px; aspect-ratio: 4 / 3; max-height: 46svh; margin: 0 auto; z-index: 1; border-radius: 16px; }
  .cb-stage__frame figcaption { top: 10px; bottom: auto; right: 12px; padding: 3px 8px; border-radius: 6px; background: rgba(8, 22, 56, .55); font-size: .7rem; }
  .cb-steps { padding: 6vh 0 20vh; position: relative; z-index: 2; }
  .cb-step { min-height: 0; margin: 0 0 46vh; padding: 20px 20px 22px; border-radius: 16px; background: rgba(8, 22, 56, .92); backdrop-filter: blur(8px); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); opacity: 1; }
  .cb-step:last-child { margin-bottom: 0; }

  /* With motion (TW #3129) each step is a tall track: its card rises, holds at the bottom of the
     screen for --cb-pause of scrolling while its picture fades in (comeback#paintStory), then
     carries on up. The timing knobs: --cb-pause and --cb-gap here, STORY in the controller. */
  .cb-js .cb-story { --cb-pause: 45svh; --cb-gap: 30svh; }
  .cb-js .cb-step { margin-bottom: var(--cb-gap); padding: 0; border-radius: 0; background: none; backdrop-filter: none; box-shadow: none; }
  .cb-js .cb-step:last-child { margin-bottom: 0; }
  .cb-js .cb-step::before { content: ""; display: block; height: var(--cb-pause); }
  .cb-js .cb-step__card {
    position: sticky; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 20px 20px 22px; border-radius: 16px;
    background: rgba(8, 22, 56, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  }
  .cb-js .cb-stage__frame { transition: none; will-change: opacity; }
}

/* the 1753 frame */
.cb-rain path { stroke: rgba(210, 225, 255, .35); stroke-width: 1.5; animation: cb-rain .9s var(--t) linear infinite; }
@keyframes cb-rain { from { transform: translate(0, -60px); } to { transform: translate(-30px, 60px); } }
.cb-plank__deck { fill: #8a5a33; }
.cb-plank__posts, .cb-plank__rail { fill: none; stroke: #6d4526; stroke-width: 9; stroke-linecap: round; }
.cb-plank__rail { stroke-width: 6; }
/* The 1753 picture is five stacked SVGs (sky and rain, plank, river, surge, slow wave) in a box exactly the size
   of the 800 x 600 drawing as it covers the frame, so 1 drawing unit = 1/800 of a layer's width and its movements
   are percentages of its own box (TW #3133). */
.cb-art--1753 { position: relative; overflow: hidden; container-type: size; }
.cb-art--1753 > svg {
  position: absolute; left: 50%; top: 50%; width: max(100cqw, 133.3333cqh); height: max(100cqh, 75cqw);
  margin: calc(max(100cqh, 75cqw) / -2) 0 0 calc(max(100cqw, 133.3333cqh) / -2);
  overflow: visible;  /* the waves are twice the drawing's width and slide; the picture's box clips them */
}
/* the plank turns about the bottom middle of its drawing (400, 440 of 800 x 600) */
.cb-plank { transform-origin: 50% 73.3333%; animation: cb-swept 7s ease-in-out infinite; }
@keyframes cb-swept {
  0%, 38% { transform: translate(0, 0) rotate(0); opacity: 1; }
  44% { transform: translate(1.75%, 1.6667%) rotate(4deg); }
  58% { transform: translate(52.5%, 20%) rotate(28deg); opacity: 0; }
  59%, 74% { transform: translate(0, -70%) rotate(0); opacity: 0; }
  75% { opacity: 1; }
  84% { transform: translate(0, 1.6667%); }
  90% { transform: translate(0, -1.3333%); }
  95%, 100% { transform: translate(0, 0); opacity: 1; }
}
.cb-surge path { fill: rgba(70, 120, 170, .75); }
.cb-surge { animation: cb-surge 7s ease-in-out infinite; }
@keyframes cb-surge {
  0%, 30% { transform: translate(0, 0); }
  48% { transform: translate(-25%, -14.3333%); }
  62% { transform: translate(-50%, -1.6667%); }
  72%, 100% { transform: translate(-50%, 0); }
}
.cb-wave--slow { animation: cb-flow-short 9s linear infinite; }
/* nobody can see them (TW #3133): the stage is off screen, or the 1753 picture has faded out */
:is(.cb-stage.is-offscreen, .cb-stage__frame.is-resting) :is(.cb-rain path, .cb-plank, .cb-surge, .cb-wave--slow) { animation-play-state: paused; }
.cb-wave--slow path { fill: rgba(12, 26, 48, .8); }
@keyframes cb-flow-short { to { transform: translateX(-100%); } }  /* 800 drawing units: the layer's width */

/* the 1840s and 1880 frames: old-photograph sepia, with the dam below the bridge */
.cb-art--sepia .cb-skyline { fill: #a8936c; }
.cb-art--sepia .cb-deck { fill: #3b2f22; }
.cb-art--sepia .cb-stone { fill: #7a6748; }
.cb-art--sepia .cb-wave--slow path { fill: rgba(59, 47, 34, .45); }
.cb-dam__sheet { fill: #c9b48c; }
.cb-dam__streaks { stroke: #f4ead2; stroke-width: 1.2; opacity: .45; fill: none; }
.cb-foam path { fill: #efe2c2; opacity: .85; }
.cb-bridge--iron .cb-draw { stroke: #3b2f22; stroke-width: 3; }
.cb-bridge--iron .chord, .cb-bridge--iron .post { stroke-width: 4.5; }
.cb-covered__roof { fill: #3b2f22; }
.cb-covered__wall { fill: #6b5638; }
.cb-covered__boards { stroke: #4e3f2a; stroke-width: 2; fill: none; }
.cb-covered__eave { fill: #4e3f2a; }
.cb-covered__piers, .cb-covered__span { opacity: 0; }
.cb-stage__frame.is-active .cb-covered__piers { animation: cb-rise-in .7s .3s var(--cb-out) forwards; }
.cb-stage__frame.is-active .cb-covered__span { animation: cb-settle 1.1s .9s var(--cb-out) forwards; }
@keyframes cb-rise-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes cb-settle { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }

/* the 1938 frame */
.cb-art--1938 .cb-skyline { fill: #1a2b5c; }
.cb-flood { transform: translateY(-110px); }
.cb-stage__frame.is-active .cb-flood { animation: cb-flood-down 1.6s .1s ease-in-out forwards; }
@keyframes cb-flood-down { to { transform: translateY(0); } }

/* ---------- goal ---------- */
.cb-goal { padding: clamp(80px, 12vw, 150px) clamp(16px, 6vw, 80px); text-align: center; background: var(--cb-cream); }
.cb-goal__amount { margin: 0; padding-bottom: .12em; /* room for the comma's tail at any size */ font: 400 clamp(5rem, 21vw, 15rem)/.9 var(--cb-display); color: var(--cb-ink); font-variant-numeric: tabular-nums; }
.cb-goal__sub { margin: .4rem 0 2.6rem; font: italic 500 clamp(1.2rem, 2.6vw, 1.7rem)/1.2 var(--cb-serif); color: var(--cb-ink-soft); }
.cb-meter { position: relative; max-width: 900px; height: 30px; margin: 4.4rem auto 5.6rem; border-radius: 999px; background: #e8e0cc; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .12); }
.cb-meter__ghost { position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(-45deg, rgba(200, 67, 47, .28) 0 6px, rgba(200, 67, 47, .08) 6px 12px); }
.cb-meter__fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cb-blue), var(--cb-green) 70%, var(--cb-gold)); transform-origin: 0 50%; transform: scaleX(.909); }
.cb-meter__tick { position: absolute; top: -10px; bottom: -10px; width: 0; border-left: 2px dashed var(--cb-ink-soft); }
.cb-meter__tick--goal { left: 90.9%; border-color: var(--cb-green-deep); }
.cb-meter__tick--then { left: 69.1%; }
.cb-meter__tick--before { left: 100%; border-color: #c8432f; }
.cb-meter__tick span { position: absolute; right: 8px; white-space: nowrap; text-align: right; font-size: .82rem; font-weight: 700; line-height: 1.25; color: var(--cb-ink-soft); }
.cb-meter__tick b { display: block; font-size: 1.05rem; }
.cb-meter__tick--goal span { bottom: calc(100% + 4px); color: var(--cb-green-deep); }
.cb-meter__tick--goal span::after { content: ""; position: absolute; right: -28px; bottom: -40px; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, var(--cb-gold-hi), rgba(246, 182, 43, 0) 70%); }
.cb-meter__tick--then span, .cb-meter__tick--before span { top: calc(100% + 4px); }
.cb-meter__tick--before span { color: #c8432f; right: 0; }
.cb-goal__story { margin: 0 auto 2.6rem; max-width: 34em; font: italic 500 clamp(1.15rem, 2.4vw, 1.5rem)/1.4 var(--cb-serif); color: var(--cb-ink); }
/* why the big one (TW #3180, the proposal PDF's page 8) */
.cb-goal__why { max-width: 36em; margin: 2.8rem auto 0; font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.6; color: var(--cb-ink-soft); }
/* the meter acts it out: up to where we were, knocked down, back up toward the goal */
.cb-js .cb-goal .cb-meter__fill { transform: scaleX(0); }
.cb-js .cb-goal .cb-meter__ghost, .cb-js .cb-goal .cb-meter__tick { opacity: 0; }
.cb-js .cb-goal.is-counting .cb-meter__fill { animation: cb-meter 4.8s .4s forwards; }
.cb-js .cb-goal.is-counting .cb-meter__tick--before { animation: cb-fade-in .5s 1.6s both; }
.cb-js .cb-goal.is-counting .cb-meter__ghost { animation: cb-fade-in .6s 2.3s both; }
.cb-js .cb-goal.is-counting .cb-meter__tick--then { animation: cb-fade-in .5s 2.8s both; }
.cb-js .cb-goal.is-counting .cb-meter__tick--goal { animation: cb-fade-in .5s 4.9s both; }
@keyframes cb-meter {
  0% { transform: scaleX(0); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  26% { transform: scaleX(1); }
  36% { transform: scaleX(1); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  45% { transform: scaleX(.691); animation-timing-function: ease-out; }
  49% { transform: scaleX(.725); animation-timing-function: ease-in; }
  53% { transform: scaleX(.691); }
  66% { transform: scaleX(.691); animation-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
  100% { transform: scaleX(.909); }
}
@keyframes cb-fade-in { from { opacity: 0; } to { opacity: 1; } }
.cb-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cb-stats li { min-width: 170px; padding: 20px 22px; border-radius: 18px; background: var(--cb-paper); box-shadow: 0 10px 30px rgba(18, 23, 38, .08); }
.cb-stats b { display: block; font: 400 clamp(2.4rem, 6vw, 3.6rem)/1 var(--cb-display); color: var(--cb-blue); }
.cb-stats span { color: var(--cb-ink-soft); font-weight: 600; }

/* ---------- widen the window ---------- */
.cb-window { padding: clamp(80px, 12vw, 140px) clamp(16px, 6vw, 80px); background: var(--cb-paper); }
.cb-window > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.cb-window__chart { margin-top: 2.6rem; margin-bottom: 2.4rem; }
.cb-window__months, .cb-window__row { display: grid; grid-template-columns: 4.2rem 1fr; align-items: center; }
.cb-window__months { grid-template-columns: 4.2rem repeat(7, 1fr); color: var(--cb-ink-soft); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.cb-window__months span { padding-bottom: 8px; border-left: 1px solid #e3dccb; padding-left: 6px; }
.cb-window__months span:first-child { border: 0; }
.cb-window__row { margin-top: 58px; }
.cb-window__months + .cb-window__row { margin-top: 10px; }
.cb-window__label { font: 400 1.4rem/1 var(--cb-display); color: var(--cb-ink); }
.cb-window__track {
  position: relative; height: 54px; border-radius: 14px;
  background: repeating-linear-gradient(90deg, #f3eedf 0 calc(100% / 7 - 1px), #e3dccb calc(100% / 7 - 1px) calc(100% / 7));
}
.cb-window__bar { position: absolute; top: 8px; bottom: 8px; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* 2026: the real window, January to turn-in night (mid-February), after The Lost Month */
.cb-window__row--then .cb-window__bar { left: 42.86%; width: 21.43%; background: #7d879b; }
.cb-window__crunch {
  position: absolute; z-index: 1; top: 8px; bottom: 8px; left: 28.57%; width: 14.29%; border-radius: 6px;
  background: repeating-linear-gradient(-45deg, rgba(200, 60, 50, .85) 0 6px, rgba(200, 60, 50, .45) 6px 12px);
}
.cb-window__crunch span, .cb-window__turnin span {
  position: absolute; left: 50%; top: calc(100% + 12px); translate: -50% 0; white-space: nowrap; font-size: .8rem; font-weight: 700; color: #b8392e;
}
.cb-window__turnin { position: absolute; z-index: 2; left: 64.29%; top: -6px; bottom: -6px; border-left: 2px dashed var(--cb-ink); }
.cb-window__turnin span { top: calc(100% + 6px); color: var(--cb-ink); }
.cb-window__auction { position: absolute; z-index: 2; left: 73.3%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; rotate: 45deg; background: var(--cb-gold); box-shadow: 0 0 0 3px var(--cb-paper); }
.cb-window__auction span { position: absolute; left: 22px; top: 50%; rotate: -45deg; translate: 0 -50%; transform-origin: 0 50%; white-space: nowrap; font-size: .8rem; font-weight: 800; color: #8a6200; }
/* 2027: start now; November and December are digital fundraising (December = Digital Dollars
   Month); members keep raising money to turn-in night in mid-April; the auction is the end of April */
.cb-window__ready { position: absolute; top: 14px; bottom: 14px; left: 2%; width: 12.29%; border-radius: 8px 0 0 8px; background: rgba(20, 80, 180, .25); }
.cb-window__row--now .cb-window__bar {
  left: 14.29%; width: 78.57%;
  background: linear-gradient(90deg, #b5e4cc, #8fd3b2);
  transition: left 1.6s .5s var(--cb-spring), width 1.6s .5s var(--cb-spring);
}
.cb-window__row--now .cb-window__auction { left: 98%; }
.cb-window__row--now .cb-window__auction span { left: auto; right: 14px; top: auto; bottom: 30px; rotate: -45deg; translate: none; transform-origin: 100% 100%; }
.cb-js .cb-window:not(.is-in) .cb-window__row--now .cb-window__bar { left: 42.86%; width: 21.43%; }
.cb-js .cb-window:not(.is-in) .cb-window__seg,
.cb-js .cb-window:not(.is-in) .cb-window__ready,
.cb-js .cb-window:not(.is-in) .cb-window__row--now .cb-window__auction { opacity: 0; }
.cb-window__ready, .cb-window__row--now .cb-window__auction, .cb-window__seg { transition: opacity .6s 1.9s; }
.cb-window__seg {
  position: absolute; z-index: 1; top: 8px; bottom: 8px; width: 14.29%; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; text-align: center; border-right: 2px solid var(--cb-paper);
}
.cb-window__seg span { font-size: .76rem; font-weight: 800; line-height: 1.05; }
/* December, Digital Dollars Month: dark green with a dollar sign; the rest of the bar is light green */
.cb-window__seg--dollars { background: #1f6b4f; color: #fff; border-right: 0; border-left: 2px solid var(--cb-paper); }
/* February to turn-in night, finding new donors (TW #3180): green to the bar's end, its label inside */
.cb-window__seg--newdonors { background: var(--cb-green); color: var(--cb-ink); border-right: 0; border-left: 2px solid var(--cb-paper); border-radius: 0 10px 10px 0; }
.cb-window__seg--newdonors span { letter-spacing: .02em; }
/* 2026: solicitation letters, November 10 up to December (The Lost Month); same look as 2027's pale blue "We start now" bar */
.cb-window__steel { position: absolute; z-index: 1; top: 14px; bottom: 14px; left: 18.57%; width: 10%; border-radius: 8px 0 0 8px; background: rgba(20, 80, 180, .25); }
.cb-pixel-dollar { display: block; overflow: visible; }
.cb-pixel-dollar__shadow { fill: #0f3e2c; }
.cb-pixel-dollar__face { fill: #ffffff; }
.cb-window__under {
  position: absolute; top: calc(100% + 10px); translate: -50% 0; white-space: nowrap;
  font-size: .85rem; font-weight: 800; color: var(--cb-ink-soft); transition: opacity .6s 1.9s;
}
.cb-window__under--dollars { color: #c8102e; }
.cb-window__row--then .cb-window__under { transition: none; }
.cb-js .cb-window:not(.is-in) .cb-window__row--then .cb-window__under { opacity: 1; }
.cb-window__under--letters { color: var(--cb-blue); }
.cb-js .cb-window:not(.is-in) .cb-window__under { opacity: 0; }
.cb-window__label small { display: block; margin-top: 4px; font: 800 .74rem/1.1 var(--cb-sans); color: var(--cb-ink-soft); letter-spacing: .01em; }
.cb-window__row--now .cb-window__label small { color: var(--cb-green-deep); }

.cb-window__flag { position: absolute; top: calc(100% + 10px); white-space: nowrap; font-size: .85rem; font-weight: 800; color: var(--cb-blue); transition: opacity .6s 1.9s; }
.cb-window__flag--start { left: 0; }
.cb-window__flag--turnin { left: 92.86%; translate: -100% 0; color: var(--cb-green-deep); }
.cb-js .cb-window:not(.is-in) .cb-window__flag { opacity: 0; }
/* 6 weeks -> 5 1/2 months, two cells and an arrow (TW #3180, the proposal PDF's page 9); stacked on phones */
.cb-window__vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; margin-top: 3.6rem; }
.cb-window__vs p { margin: 0; }
.cb-window__vs-cell { padding: 18px 22px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(18, 23, 38, .08); }
.cb-window__vs-cell b { display: block; margin-bottom: .2rem; font: 400 clamp(2.6rem, 5vw, 3.4rem)/1 var(--cb-display); }
.cb-window__vs-cell span { font-size: 1rem; line-height: 1.45; font-weight: 600; color: var(--cb-ink-soft); }
.cb-window__vs-cell--then b { color: #7d879b; }
.cb-window__vs-cell--now b { color: var(--cb-green-deep); }
.cb-window__vs-arrow { align-self: center; font: 400 2.8rem/1 var(--cb-display); color: var(--cb-gold); }
.cb-window__why { margin-top: 2.6rem; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.6; color: var(--cb-ink-soft); }
.cb-window__why strong { color: var(--cb-ink); }
@media (max-width: 640px) {
  .cb-window__months, .cb-window__row { grid-template-columns: 2.8rem 1fr; }
  .cb-window__months { grid-template-columns: 2.8rem repeat(7, 1fr); font-size: .66rem; letter-spacing: .02em; }
  .cb-window__label { font-size: 1.05rem; }
  .cb-window__flag { font-size: .72rem; }
  .cb-window__seg span, .cb-window__flag--start { display: none; }
  .cb-window__seg--newdonors span { display: block; font-size: .6rem; letter-spacing: 0; }
  .cb-window__vs { grid-template-columns: 1fr; gap: 10px; }
  .cb-window__vs-arrow { justify-self: center; rotate: 90deg; }
  .cb-window__under { font-size: .62rem; white-space: normal; width: 5.6em; text-align: center; line-height: 1.1; }
  .cb-window__under--dollars { top: calc(100% + 40px); }
  .cb-window__under--letters { top: calc(100% + 44px); }
  .cb-window__row--now { margin-top: 84px; }
  .cb-pixel-dollar { height: 26px; width: 16px; }
  .cb-window__chart { margin-bottom: 5.2rem; }
  .cb-window__label small { font-size: .6rem; }
  .cb-window__crunch span, .cb-window__turnin span, .cb-window__auction span { font-size: .66rem; }
  .cb-window__crunch span, .cb-window__turnin span { white-space: normal; width: 5.2em; line-height: 1.15; text-align: center; }
  .cb-window__flag--turnin { white-space: normal; width: 6.5em; line-height: 1.15; }
  .cb-window__flag--turnin { text-align: right; }
}

/* ---------- road ---------- */
.cb-road { --road: 0; padding: clamp(80px, 12vw, 140px) clamp(16px, 6vw, 80px); background: var(--cb-cream); }
.cb-road > .cb-eyebrow, .cb-road > .cb-h2 { max-width: 900px; margin-left: auto; margin-right: auto; }
.cb-road__wrap { position: relative; max-width: 900px; margin: 2.4rem auto 0; }
.cb-road__line { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 6px; border-radius: 3px; background: #e6dcc3; }
.cb-road__line span { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(var(--cb-blue), var(--cb-green), var(--cb-gold)); transform-origin: top; transform: scaleY(var(--road)); }
.cb-road__list { list-style: none; margin: 0; padding: 0; }
.cb-road__stop { position: relative; padding: 0 0 2.2rem 84px; }
.cb-road__dot {
  position: absolute; left: 0; top: -4px; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%;
  font: 400 1.6rem/1 var(--cb-display); color: #fff; background: var(--cb-navy); box-shadow: 0 0 0 6px var(--cb-cream);
  transition: transform .6s var(--cb-spring), background .4s;
}
/* Steps 1-6 yellow (the work), 7 green (the auction weekend), 8 red (redemption night). */
.cb-road__stop:nth-child(-n+6) .cb-road__dot { background: var(--cb-gold); color: var(--cb-ink); }
.cb-road__stop:nth-child(8) .cb-road__dot { background: #c8432f; color: #fff; }
.cb-road__stop.is-in .cb-road__dot { transform: scale(1.08); }
.cb-road__stop h3 { margin: 0 0 .3rem; font: 700 clamp(1.35rem, 2.6vw, 1.75rem)/1.15 var(--cb-serif); color: var(--cb-ink); }
.cb-road__stop p { margin: 0; color: var(--cb-ink-soft); font-size: 1.05rem; line-height: 1.55; }

/* the big event: auction weekend stands out from the other stops */
.cb-road__stop--main {
  z-index: 1; margin: .6rem 0 2.8rem; padding: 26px 26px 28px 124px; border-radius: 22px;
  background: linear-gradient(135deg, var(--cb-navy), #163a86); color: #fff;
  box-shadow: 0 20px 50px rgba(12, 33, 84, .35), inset 0 0 0 2px var(--cb-green);
}
.cb-road__stop--main .cb-road__dot {
  left: -18px; top: 50%; width: 112px; height: 112px; margin-top: -56px; font-size: 3.6rem;
  background: none; color: var(--cb-ink); box-shadow: 0 10px 30px rgba(92, 194, 154, .55);
  isolation: isolate; --ring-from: .744186;  /* (56 + 8) / (56 + 30): the pulse's start, radius 64 of 86 */
}
/* The pulse (TW #3133): drawn as before (a green ring growing from 8 to 30px beyond the dot and fading out,
   between the glow and the cream ring) but as a disc that is scaled and faded, which the GPU does without
   repainting (the old box-shadow animation repainted every frame). Layers, bottom up: the glow (the dot's
   own shadow), the disc (::before), the dot's green with its cream ring (::after, drawn together exactly as
   the dot used to draw them), the number. */
.cb-road__stop--main .cb-road__dot::before, .cb-road__stop--main .cb-road__dot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; pointer-events: none;
}
.cb-road__stop--main .cb-road__dot::before { inset: -30px; background: rgb(92, 194, 154); opacity: 0; transform: scale(var(--ring-from)); }
.cb-road__stop--main .cb-road__dot::after { background: var(--cb-green); box-shadow: 0 0 0 8px var(--cb-cream); }
.cb-road__stop--main.is-in .cb-road__dot { background: none; transform: scale(1); }
.cb-road__stop--main.is-in .cb-road__dot::before { animation: cb-big-event 2.4s 1s ease-out infinite; }
.cb-road__stop--main.is-offscreen .cb-road__dot::before { animation-play-state: paused; }  /* nobody can see it (TW #3133) */
@keyframes cb-big-event {
  0% { transform: scale(var(--ring-from)); opacity: .75; }
  70%, 100% { transform: scale(1); opacity: 0; }
}
.cb-road__stop--main .cb-road__badge { margin: 0 0 .3rem; font: 800 .78rem/1 var(--cb-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--cb-green); }
.cb .cb-road__stop--main h3 { font: 400 clamp(2.2rem, 6vw, 3.6rem)/1 var(--cb-display); text-transform: uppercase; letter-spacing: .01em; color: #fff; margin-bottom: .5rem; }
.cb-road__stop--main p:not(.cb-road__badge) { color: rgba(255, 255, 255, .88); font-size: 1.12rem; }
@media (max-width: 640px) {
  .cb-road__stop--main { padding: 84px 20px 22px; margin-left: 0; }
  .cb-road__stop--main .cb-road__dot { left: 20px; top: -30px; margin-top: 0; width: 96px; height: 96px; font-size: 3rem; --ring-from: .717949; }  /* (48 + 8) / (48 + 30) */
}

/* ---------- anthem / tv ---------- */
.cb-anthem {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 70px); align-items: center;
  padding: clamp(80px, 12vw, 140px) clamp(16px, 6vw, 80px); background: radial-gradient(ellipse at 70% 40%, #17306e, var(--cb-night) 70%); color: #fff;
}
.cb-anthem .cb-eyebrow { color: var(--cb-gold-hi); }
.cb-anthem .cb-h2 { color: #fff; }
.cb-anthem .cb-lead { color: rgba(255, 255, 255, .8); }
.cb-anthem__tub { margin: 1.2rem 0 0; font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.6; color: rgba(255, 255, 255, .72); }
.cb-anthem__tub b { color: #fff; }
.cb-tv { position: relative; padding-top: 70px; max-width: 760px; width: 100%; justify-self: center; }
.cb-tv__antenna { position: absolute; left: 50%; top: 0; width: 160px; height: 76px; transform: translateX(-50%); }
.cb-tv__antenna::before, .cb-tv__antenna::after {
  content: ""; position: absolute; bottom: 0; left: 50%; width: 4px; height: 92px; background: #c9ced8; border-radius: 2px; transform-origin: bottom;
}
.cb-tv__antenna::before { transform: rotate(-32deg); }
.cb-tv__antenna::after { transform: rotate(28deg); }
.cb-tv__body {
  position: relative; display: grid; grid-template-columns: 1fr 92px; gap: 16px; padding: 22px; border-radius: 30px;
  background: linear-gradient(160deg, #3c9a7c, #1f6b52); box-shadow: 0 30px 70px rgba(0, 0, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -6px 0 rgba(0, 0, 0, .2);
}
.cb-tv__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 22px / 26px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 6px #0b1a3c, 0 0 0 4px rgba(0, 0, 0, .25); }
.cb-tv__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cb-tv__screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 4px); box-shadow: inset 0 0 60px rgba(0, 0, 0, .45);
}
.cb-tv__screen::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: #fff; transform: scale(1, 0); opacity: 0; }
.cb-anthem.is-in .cb-tv__screen::before { animation: cb-power-on .8s .5s ease-out; }
@keyframes cb-power-on {
  0% { opacity: 1; transform: scale(0, .005); }
  35% { opacity: 1; transform: scale(1, .005); }
  70% { opacity: .8; transform: scale(1, 1); }
  100% { opacity: 0; transform: scale(1, 1); }
}
.cb-tv__panel { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 12px 0; border-radius: 16px; background: rgba(0, 0, 0, .18); }
.cb-tv__channel { font: 400 1.7rem/1 var(--cb-display); color: var(--cb-gold-hi); padding: 6px 10px; border-radius: 8px; background: #0b1a3c; text-shadow: 0 0 10px rgba(255, 211, 107, .7); }
.cb-tv__knob { width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3f3f3, #9aa1ad); box-shadow: 0 4px 8px rgba(0, 0, 0, .35); position: relative; }
.cb-tv__knob::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 14px; margin-left: -2px; border-radius: 2px; background: #3a3f4a; }
.cb-anthem.is-in .cb-tv__knob:first-of-type { animation: cb-knob 1s .2s var(--cb-spring) both; }
@keyframes cb-knob { from { transform: rotate(-120deg); } to { transform: rotate(0); } }
.cb-tv__grille { flex: 1; width: 52px; min-height: 40px; border-radius: 10px; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .3) 0 3px, transparent 3px 7px); }
@media (max-width: 900px) {
  .cb-anthem { grid-template-columns: 1fr; }
  .cb-tv__body { grid-template-columns: 1fr; padding: 14px; border-radius: 22px; }
  .cb-tv__panel { flex-direction: row; justify-content: center; padding: 8px; }
  .cb-tv__knob { width: 36px; height: 36px; }
  .cb-tv__grille { min-height: 30px; height: 30px; flex: none; width: 90px; }
}

/* ---------- cause ---------- */
.cb-cause { padding: clamp(80px, 12vw, 140px) clamp(16px, 6vw, 80px); background: var(--cb-gold); text-align: center; }
.cb-cause__line { margin: 0 auto 1rem; max-width: 16em; font: 400 clamp(2.6rem, 8vw, 6rem)/.98 var(--cb-display); text-transform: uppercase; color: var(--cb-ink); }
.cb-cause__line em { font-style: normal; color: #fff; text-shadow: 3px 3px 0 var(--cb-ink); }
.cb-cause .cb-lead { margin: 0 auto; color: var(--cb-ink); }

/* ---------- join ---------- */
.cb-join { position: relative; isolation: isolate; overflow: hidden; padding: clamp(100px, 14vw, 180px) clamp(16px, 6vw, 80px); color: #fff; text-align: center; }
.cb-join__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cb-join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 13, 36, .3), rgba(5, 13, 36, .8)); }
.cb-join .cb-h2 { color: #fff; font-size: clamp(3rem, 10vw, 7rem); }
.cb-join__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 860px; margin: 1.6rem auto 0; text-align: left; }
.cb-card { padding: 26px; border-radius: 20px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.cb-card h3 { margin: 0 0 .4rem; font: 400 2rem/1 var(--cb-display); text-transform: uppercase; letter-spacing: .02em; }
.cb-card p { margin: 0 0 1.2rem; color: rgba(255, 255, 255, .85); line-height: 1.5; }
.cb-join__ask { margin: 2rem 0 0; color: rgba(255, 255, 255, .8); }

/* ---------- the newsletter band (TW #3393 option B): gold, just above the join section ---------- */
/* The section above (.cb-cause) is gold too: a navy rule marks where the band starts. */
.cb-band { padding: clamp(40px, 6vw, 64px) clamp(16px, 6vw, 80px); border-top: 5px solid var(--cb-navy); background: var(--cb-gold); color: var(--cb-ink); }
.cb-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; max-width: 920px; margin: 0 auto; }
.cb-band__title { margin: 0 0 .3rem; font: 400 clamp(2rem, 4.4vw, 2.6rem)/1 var(--cb-display); text-transform: uppercase; letter-spacing: .01em; color: var(--cb-navy); }
.cb-band__text p { margin: 0; font-weight: 600; }
.cb-band__form { position: relative; display: flex; flex-wrap: wrap; gap: 8px 10px; flex: 1 1 380px; max-width: 440px; }
.cb-band__form input[type=email] { flex: 1 1 200px; min-width: 0; min-height: 50px; padding: 0 16px; border: 0; border-radius: 10px; font: 400 1rem var(--cb-sans); color: var(--cb-ink); background: #fff; }
.cb-band__form input[type=email]:focus-visible { outline: 3px solid var(--cb-navy); outline-offset: 2px; }
.cb-btn--navy { min-height: 50px; background: var(--cb-navy); color: #fff; box-shadow: 0 8px 20px rgba(12, 33, 84, .25); }
.cb-btn--navy:hover { background: var(--cb-blue); }
.cb-btn--navy:focus-visible { outline-color: var(--cb-navy); }
.cb-band__note { flex-basis: 100%; margin: 0; font-size: .85rem; color: rgba(18, 23, 38, .75); }

/* ---------- footer ---------- */
.cb-footer { margin: 0; padding: 36px clamp(16px, 6vw, 80px) 48px; border: 0; background: var(--cb-night); color: rgba(255, 255, 255, .62); font-size: .85rem; line-height: 1.6; }
.cb-footer__club { display: flex; align-items: center; gap: 12px; margin: 0 0 1rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
.cb-footer__logo { height: 28px; width: auto; background: #fff; border-radius: 6px; padding: 2px; }
.cb-credits p { margin: 0 0 .5rem; max-width: 70em; }
.cb-credits a { color: var(--cb-gold-hi); }

/* ---------- what's in a name: we trade, we make noise, we build ---------- */
.cb-name { padding: clamp(80px, 12vw, 150px) clamp(16px, 6vw, 80px); background: var(--cb-cream); color: var(--cb-ink); }
.cb-name__intro { max-width: 1180px; margin: 0 auto clamp(40px, 6vw, 70px); }
.cb-name__list { list-style: none; max-width: 1180px; margin: 0 auto; padding: 0; }
.cb-name__row {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center;
  padding: clamp(28px, 4vw, 48px) 0; border-top: 2px solid rgba(18, 23, 38, .12);
}
.cb-name__row:last-child { border-bottom: 2px solid rgba(18, 23, 38, .12); }
.cb-name__word { margin: 0; font: 400 clamp(3rem, 6.2vw, 5.6rem)/.9 var(--cb-display); text-transform: uppercase; letter-spacing: .01em; color: var(--cb-ink); }
.cb-name__word > span { display: inline-block; white-space: nowrap; }
.cb-name__we, .cb-name__key { display: inline-block; }
.cb-name__key { font-style: normal; text-shadow: 4px 4px 0 var(--cb-ink); }
.cb-name__row--trade .cb-name__key { color: var(--cb-gold); }
.cb-name__row--noise .cb-name__key { color: var(--cb-blue); }
.cb-name__row--build .cb-name__key { color: var(--cb-green); }
.cb-name__row--build .cb-name__key span { display: inline-block; }
.cb-name__waves { display: inline-block; width: .42em; height: .7em; margin-left: .08em; vertical-align: -.02em; overflow: visible; }
.cb-name__waves path { fill: none; stroke: var(--cb-blue); stroke-width: 5; stroke-linecap: round; }
.cb-name__text p { margin: 0; font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.6; color: var(--cb-ink-soft); }
.cb-name__text .cb-name__source { margin-bottom: .5rem; font: 800 .82rem/1.2 var(--cb-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cb-blue); }
/* each reading's quiet closing line: what it means for 2027 (TW #3180, the proposal PDF's page 4) */
.cb-name__text .cb-name__2027 { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(18, 23, 38, .16); font-weight: 600; color: var(--cb-ink); }
.cb-name__2027 b { font: 400 1.2em/1 var(--cb-display); letter-spacing: .04em; color: var(--cb-blue); }
.cb-name .cb-lead strong { color: var(--cb-ink); }
.cb-name__kicker { max-width: 1180px; margin: clamp(48px, 7vw, 80px) auto 0; text-align: center; font: 400 clamp(2.2rem, 6vw, 4.6rem)/1 var(--cb-display); text-transform: uppercase; color: var(--cb-ink); }
.cb-name__kicker span { display: block; margin-top: .7rem; font: italic 500 clamp(1.15rem, 2.2vw, 1.5rem)/1.3 var(--cb-serif); text-transform: none; color: var(--cb-ink-soft); }

/* as each row comes in: the two words of "we trade" meet, "make noise" thumps and sends out waves, "build" stacks up */
.cb-js .cb-name__row--trade.is-in .cb-name__we { animation: cb-name-from-left .8s .2s var(--cb-out) both; }
.cb-js .cb-name__row--trade.is-in .cb-name__key { animation: cb-name-from-right .8s .2s var(--cb-out) both; }
@keyframes cb-name-from-left { from { opacity: 0; transform: translateX(-60px); } }
@keyframes cb-name-from-right { from { opacity: 0; transform: translateX(60px); } }
.cb-js .cb-name__row--noise.is-in .cb-name__key { animation: cb-name-thump .5s .5s ease-in-out 2; }
@keyframes cb-name-thump {
  0%, 100% { transform: none; }
  20% { transform: scale(1.06) rotate(-1.5deg); }
  45% { transform: scale(.98) rotate(1deg); }
  70% { transform: scale(1.03); }
}
.cb-name__waves path { opacity: .9; }
.cb-js .cb-name__row--noise.is-in .cb-name__waves path { animation: cb-name-wave 1.2s calc(.5s + var(--w) * 140ms) ease-out 3 both; }
.cb-name__waves path:nth-child(1) { --w: 0; }
.cb-name__waves path:nth-child(2) { --w: 1; }
.cb-name__waves path:nth-child(3) { --w: 2; }
@keyframes cb-name-wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: .9; } }
.cb-js .cb-name__row--build.is-in .cb-name__key span { animation: cb-name-stack .6s calc(.3s + var(--i) * 90ms) var(--cb-spring) both; }
@keyframes cb-name-stack { from { opacity: 0; transform: translateY(-1.1em); } }

@media (max-width: 900px) {
  .cb-name__row { grid-template-columns: 1fr; gap: 14px; }
  .cb-name__key { text-shadow: 3px 3px 0 var(--cb-ink); }
}

/* ---------- reduced motion: the finished picture ---------- */
@media (prefers-reduced-motion: reduce) {
  .cb-nav__links .cb-btn--signup { animation: none; } /* TW #3406 */
  .cb *, .cb *::before, .cb *::after { animation: none !important; transition: none !important; }
  .cb .cb-draw { stroke-dashoffset: 0; }
  .cb .cb-dawn { opacity: 1; }
  .cb .cb-lamp__glow { opacity: .08; }
  .cb .cb-flood { transform: none; }
  .cb .cb-covered__piers, .cb .cb-covered__span { opacity: 1; }
  .cb .cb-hero__copy { transform: none; opacity: 1; }
  .cb .cb-layer--night { opacity: 0; }
  .cb .cb-layer--sun-dim { opacity: 0; }
}
