/* Bandwagon landing page. Builds on /ui/tokens.css (Stamp and seal). */
:root {
  --wrap: 1160px;
  --pad: 24px;
  --sec: 128px;
  --face: clamp(38px, 5.2vw, 60px);
  --D: min(1060px, 96vw);
}
@media (max-width: 640px) {
  :root { --pad: 16px; --sec: 88px; --D: 640px; --face: 40px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bw-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .25 0 0 0 0 .14 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px 220px; /* paper grain, only where cream shows */
  color: var(--bw-ink);
  font: 400 18px/1.55 var(--bw-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--bw-display); font-weight: var(--bw-display-weight); letter-spacing: var(--bw-display-track); color: var(--bw-oxblood); text-wrap: balance; }
.label { font: var(--bw-label-weight) 12px/1.2 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--bw-oxblood); outline-offset: 3px; border-radius: var(--bw-r-sm); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bw-ink); color: var(--bw-cream); padding: 10px 14px; border-radius: var(--bw-r-sm); text-decoration: none; }
.skip:focus { top: 12px; }
.tnum, .count { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: var(--bw-r-sm);
  font: 600 16px/1 var(--bw-body); text-decoration: none; white-space: nowrap;
  transition: background-color var(--bw-d-150) var(--bw-out), box-shadow var(--bw-d-150) var(--bw-out), transform var(--bw-d-100) var(--bw-out);
}
.btn { transform: translate(var(--mx, 0px), var(--my, 0px)) scale(var(--press, 1)); }
.btn:active { --press: .96; }
.btn-ox { background: var(--bw-oxblood); color: #fff8f0; box-shadow: 0 1px 0 var(--bw-wax), inset 0 1px 0 rgba(255, 255, 255, .08); } /* matches .btn-primary in /ui/components.css */
.btn-quiet { background: var(--bw-sheet); color: var(--bw-ink); box-shadow: inset 0 0 0 1px var(--bw-line), var(--bw-sh-1); } /* matches .btn-secondary */
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
@media (hover: hover) {
  .btn-ox:hover { background: var(--bw-wax); }
  .btn-quiet:hover { background: #fff; box-shadow: inset 0 0 0 1px #c8b79b, var(--bw-sh-1); }
}

/* Nav */
.nav { position: sticky; top: 0; z-index: var(--bw-z-topbar); }
/* The bar's paper is its own layer: it shrinks (scaleY) as the nav condenses, so nothing reflows */
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(244, 237, 225, .94); transform-origin: top; transition: transform var(--bw-d-300) var(--bw-out), box-shadow var(--bw-d-200) var(--bw-out); }
.nav-in { position: relative; transition: transform var(--bw-d-300) var(--bw-out); }
.nav.scrolled::before { transform: scaleY(.84); box-shadow: 0 1px 0 var(--bw-line); }
.nav.scrolled .nav-in { transform: translateY(-5px); }
.nav.scrolled .logo svg { transform: rotate(30deg); }
.nav-links { position: relative; }
.nav-ind { position: absolute; left: 0; bottom: 2px; width: 100px; height: 2px; border-radius: 1px; background: var(--bw-oxblood); transform-origin: left; transform: translateX(var(--x, 0px)) scaleX(var(--w, 0)); opacity: var(--on, 0); transition: transform var(--bw-d-300) var(--bw-move), opacity var(--bw-d-200) var(--bw-out); }
.nav-links a[aria-current="true"] { color: var(--bw-ink); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; color: var(--bw-oxblood); } /* 44px tall tap target; the bar is taller, so nothing moves */
.logo svg { width: 30px; height: 30px; transition: transform var(--bw-d-300) var(--bw-out); }
.logo span { font: 900 23px/1 var(--bw-mark); letter-spacing: -.01em; }
@media (hover: hover) { .logo:hover svg { transform: rotate(45deg); } }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a, .nav-apply { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--bw-muted); padding: 10px 12px; border-radius: var(--bw-r-sm); transition: color var(--bw-d-150) var(--bw-out); }
@media (hover: hover) { .nav-links a:hover, .nav-apply:hover { color: var(--bw-ink); } }
.nav-end { display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
}
/* Nav: Creators (quiet outline) and Brands (wax red). Both stay visible on phones, just smaller. */
.btn-nav.btn-quiet { background: transparent; box-shadow: inset 0 0 0 1px var(--bw-line); }
@media (hover: hover) { .btn-nav.btn-quiet:hover { background: var(--bw-sheet); box-shadow: inset 0 0 0 1px #c8b79b; } }
@media (max-width: 480px) {
  .btn-nav { min-height: 40px; padding: 0 13px; font-size: 15px; }
  .nav-end { gap: 6px; }
  .nav-in { height: 60px; }
  .logo span { font-size: 21px; }
}

/* Hero */
.hero { position: relative; padding-top: 56px; }
.hero-copy { text-align: center; display: grid; justify-items: center; position: relative; z-index: 2; }
.hero-proof { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--bw-muted); padding: 6px 14px 6px 6px; border-radius: var(--bw-r-pill); box-shadow: inset 0 0 0 1px var(--bw-line); background: var(--bw-paper); transition: box-shadow var(--bw-d-150) var(--bw-out), color var(--bw-d-150) var(--bw-out); }
@media (hover: hover) { .hero-proof:hover { color: var(--bw-ink); box-shadow: inset 0 0 0 1px var(--bw-muted); } }
.stack { display: flex; }
.stack img { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bw-paper); background: var(--bw-line); }
.stack img + img { margin-left: -8px; }
.hero h1 { margin-top: 24px; font-size: clamp(52px, 7.4vw, 100px); line-height: .98; max-width: 12ch; }
.lead { margin-top: 24px; font-size: clamp(18px, 1.7vw, 21px); color: var(--bw-ink); max-width: 36ch; }
.lead [data-fee-line] { white-space: nowrap; }
/* The deal line: no catch, read in the first second. "$0 to start." sits on an oxblood highlighter swipe (cream type),
   the three "No" terms are bold ink, each kept whole so phones break between terms, never inside one. */
.deal { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.deal-zero { display: inline-block; font: var(--bw-display-weight) clamp(34px, 3.4vw, 44px)/1 var(--bw-display); letter-spacing: var(--bw-display-track);
  color: var(--bw-cream); padding: .1em .32em .14em; transform: rotate(-1.5deg);
  background: linear-gradient(var(--bw-oxblood), var(--bw-oxblood)) no-repeat 0 55% / 100% 88%;
  border-radius: .14em .34em .2em .38em / .34em .16em .36em .18em; }
.deal-terms { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 12px; font-size: clamp(16px, 1.45vw, 19px); font-weight: 700; color: var(--bw-ink); letter-spacing: -.005em; }
.deal-terms > span { white-space: nowrap; }
.deal-terms > span::before { content: ""; display: inline-block; width: .34em; height: .34em; margin: 0 .42em .12em 0; border-radius: 50%; background: var(--bw-oxblood); vertical-align: middle; }
.hero .deal + .lead { margin-top: 18px; }
@media (max-width: 560px) {
  .deal { margin-top: 18px; gap: 10px; }
  .deal-terms { gap: 2px 10px; }
}
.ctas { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* The wheel: 34 faces on the rim, the wax seal at the hub. The rim turns with the scroll. */
.wheel-frame {
  position: relative; height: calc(var(--D) * .7); margin-top: 28px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 76%, transparent);
  mask-image: linear-gradient(#000 76%, transparent);
}
.wheel { position: absolute; left: 50%; top: 0; width: var(--D); height: var(--D); margin-left: calc(var(--D) / -2); }
.rim { position: absolute; inset: 0; transform: rotate(var(--spin, 0deg)); will-change: transform; }
.spokes { position: absolute; inset: calc(var(--face) / 2); width: calc(100% - var(--face)); height: calc(100% - var(--face)); overflow: visible; }
.spokes circle { fill: none; stroke: var(--bw-line); stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.spokes .thin { stroke-width: 1; opacity: .7; }
.spokes line { stroke: var(--bw-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.face {
  position: absolute; left: 50%; top: 50%; width: var(--face); height: var(--face); margin: calc(var(--face) / -2) 0 0 calc(var(--face) / -2);
  transform: rotate(var(--a)) translateY(calc((var(--D) - var(--face)) / -2));
}
.face-in { display: block; width: 100%; height: 100%; transform: rotate(calc(-1 * (var(--a) + var(--spin, 0deg)))); }
.face img { width: 100%; height: 100%; border-radius: 50%; background: var(--bw-line); box-shadow: 0 0 0 3px var(--bw-cream), 0 6px 14px -6px rgba(92, 18, 13, .45); animation: board var(--bw-d-300) var(--bw-out) both; animation-delay: calc(200ms + var(--i) * 22ms); }
@keyframes board { from { opacity: 0; transform: scale(.6); } }
.face .tip {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, -4px); opacity: 0; pointer-events: none;
  background: var(--bw-ink); color: var(--bw-cream); font-size: 13px; line-height: 1.3; white-space: nowrap; padding: 7px 10px; border-radius: var(--bw-r-sm);
  transition: opacity var(--bw-d-150) var(--bw-out), transform var(--bw-d-150) var(--bw-out); z-index: 3;
}
.face .tip b { font-weight: 600; }
.face .tip span { color: #cbbfae; }
@media (hover: hover) {
  .wheel-frame { pointer-events: auto; }
  .face:hover { z-index: 5; }
  .face:hover .tip { opacity: 1; transform: translate(-50%, 0); }
  .face:hover img { box-shadow: 0 0 0 3px var(--bw-oxblood), 0 8px 18px -6px rgba(92, 18, 13, .5); }
}
.hub { position: absolute; left: 50%; top: 50%; width: calc(var(--D) * .32); height: auto; transform: translate(-50%, -50%); }

/* Brands marquee: moves left to right, pauses on hover */
.brands { padding: 8px 0; position: relative; z-index: 2; }
.brands-title { text-align: center; font: 500 15px/1.4 var(--bw-body); color: var(--bw-muted); }
.brands-title span { font-weight: 600; color: var(--bw-ink); }
/* Three rows (left, right, left) at one speed. The edges fade over a short fixed width, so a logo at the edge reads as
   sliding under the page, not as a half-faded tile in the middle of the row. */
.marquee {
  --fade: 72px;
  margin-top: 20px; display: grid; gap: 10px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
@media (max-width: 640px) { .marquee { --fade: 28px; } }
.track { display: flex; width: max-content; animation: slide-left var(--dur, 120s) linear infinite; will-change: transform; }
.track.to-right { animation-name: slide-right; }
@media (hover: hover) { .marquee:hover .track { animation-play-state: paused; } }
@keyframes slide-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes slide-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.track ul { display: flex; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; margin-right: 10px; border-radius: var(--bw-r-md); background: var(--bw-paper); box-shadow: inset 0 0 0 1px var(--bw-line-soft); font-weight: 600; font-size: 16px; white-space: nowrap; }
.brand img, .brand .lt { width: 26px; height: 26px; border-radius: 6px; object-fit: contain; flex: none; }
.brand .lt { display: grid; place-items: center; background: var(--bw-ox-tint); color: var(--bw-oxblood); font: 400 18px/1 var(--bw-display); }

/* Statement that fills in with the scroll */
.say { padding: calc(var(--sec) * .9) 0 calc(var(--sec) * .5); }
.reveal { font: var(--bw-display-weight) clamp(32px, 4.2vw, 54px)/1.12 var(--bw-display); letter-spacing: var(--bw-display-track); max-width: 30ch; margin: 0 auto; text-align: center; color: var(--bw-ink); }
.reveal .w { color: var(--bw-ink); opacity: var(--o, 1); transition: opacity var(--bw-d-150) linear; }
.js .reveal .w { --o: .2; }
.js .reveal .w.on { --o: 1; }

/* Section heads */
.sec { padding: var(--sec) 0 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head h2 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1; }
.sec-head p { margin-top: 14px; color: var(--bw-muted); font-size: 18px; }

/* Stat cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.card { background: var(--bw-sheet); border-radius: var(--bw-r-lg); box-shadow: inset 0 0 0 1px var(--bw-line), var(--bw-sh-1); }
.stat { padding: 28px 28px 22px; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; min-height: 440px; }
@media (max-width: 960px) { .stat { min-height: 0; } }
@media (max-width: 640px) { .stat { padding: 22px 20px 18px; } }
.big { font: var(--bw-display-weight) clamp(60px, 6.2vw, 80px)/.95 var(--bw-display); color: var(--bw-oxblood); letter-spacing: var(--bw-display-track); }
.stat-label { margin-top: 10px; font-weight: 600; font-size: 17px; line-height: 1.35; max-width: 26ch; }
.stat-foot { font-size: 13px; color: var(--bw-muted); padding-top: 14px; box-shadow: inset 0 1px 0 var(--bw-line-soft); }

.ticker { align-self: end; height: 168px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.ticker ul { display: grid; }
.ticker ul.go { transform: translateY(-56px); transition: transform var(--bw-d-300) var(--bw-out); }
.ticker li { height: 56px; display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; font-size: 15px; }
.ticker img { width: 32px; height: 32px; border-radius: 50%; background: var(--bw-line); }
.ticker .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker .nm small { display: block; font-weight: 400; color: var(--bw-muted); font-size: 13px; }
.ticker .fl { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--bw-ink); }

.bars { align-self: end; height: 150px; display: flex; align-items: flex-end; gap: 3px; }
.bar { flex: 1; height: var(--h); min-height: 4px; background: var(--bw-oxblood); border-radius: 2px 2px 0 0; opacity: .82; transform-origin: bottom; transform: scaleY(var(--s, 1)); transition: transform 600ms var(--bw-out), opacity var(--bw-d-100) linear; transition-delay: calc(var(--i) * 18ms), 0ms; position: relative; }
.bar::after { content: ""; position: absolute; inset: -40px -2px 0; }
.js .bars:not(.on) .bar { --s: 0; }
.bar.hot { opacity: 1; background: var(--bw-wax); }
.bars-cap { font-size: 14px; color: var(--bw-muted); margin-top: -12px; min-height: 2.7em; }
.bars-cap b { color: var(--bw-ink); font-weight: 600; }

.roles { align-self: end; display: grid; gap: 14px; }
.roles li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 15px; }
.roles b { font-weight: 600; font-variant-numeric: tabular-nums; }
.roles i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--bw-line-soft); overflow: hidden; }
.roles i::before { content: ""; display: block; height: 100%; width: 100%; background: var(--bw-oxblood); border-radius: 3px; transform-origin: left; transform: scaleX(var(--w)); transition: transform 600ms var(--bw-out); transition-delay: calc(var(--i) * 80ms); }
.js .roles:not(.on) i::before { transform: scaleX(0); }

/* Team */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: var(--bw-r-pill); font-size: 15px; font-weight: 500; color: var(--bw-muted); box-shadow: inset 0 0 0 1px var(--bw-line); background: transparent; transition: background-color var(--bw-d-150) var(--bw-out), color var(--bw-d-150) var(--bw-out); }
.chip span { color: inherit; opacity: .7; margin-left: 4px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--bw-ink); color: var(--bw-cream); box-shadow: none; }
@media (hover: hover) { .chip:hover { color: var(--bw-ink); } .chip[aria-pressed="true"]:hover { color: var(--bw-cream); } }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1060px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .people { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.person a { display: grid; grid-template-columns: 56px 1fr; gap: 6px 14px; align-items: center; padding: 16px; height: 100%; text-decoration: none; background: var(--bw-sheet); border-radius: var(--bw-r-md); box-shadow: inset 0 0 0 1px var(--bw-line); transition: box-shadow var(--bw-d-150) var(--bw-out); animation: fade var(--bw-d-200) var(--bw-out) both; }
@keyframes fade { from { opacity: 0; } }
.person img { width: 56px; height: 56px; border-radius: 50%; background: var(--bw-line); grid-row: span 2; transition: transform var(--bw-d-200) var(--bw-out); }
.person .who { min-width: 0; align-self: end; }
.person .who b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .who span { display: block; font-size: 14px; color: var(--bw-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .nums { align-self: start; font-size: 14px; color: var(--bw-muted); }
.person .nums b { color: var(--bw-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.person .tp { grid-column: 1 / -1; margin-top: 8px; padding-top: 10px; box-shadow: inset 0 1px 0 var(--bw-line-soft); font-size: 13px; color: var(--bw-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) {
  .person a:hover { box-shadow: inset 0 0 0 1.5px var(--bw-oxblood); }
  .person a:hover img { transform: rotate(-6deg) scale(1.04); }
}
@media (max-width: 760px) {
  .person a { grid-template-columns: 1fr; padding: 14px; gap: 4px; }
  .person img { width: 48px; height: 48px; grid-row: auto; margin-bottom: 8px; }
  .person .tp { display: none; }
}
.more { display: flex; margin: 20px auto 0; }
.more[hidden] { display: none; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 0; border-top: 1.5px dashed var(--bw-line); }
.step { position: relative; padding-right: 8px; }
.step-n { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bw-cream); box-shadow: inset 0 0 0 1.5px var(--bw-oxblood); color: var(--bw-oxblood); font: var(--bw-display-weight) 23px/1 var(--bw-display); }
.step .when { margin-top: 22px; font: var(--bw-label-weight) 12px/1 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-oxblood); }
.step h3 { margin-top: 10px; font-size: 30px; line-height: 1.05; color: var(--bw-ink); }
.step p:last-child { margin-top: 8px; color: var(--bw-muted); font-size: 16px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; max-width: 520px; margin: 0 auto; }
  .steps::before { left: 20px; right: auto; top: 20px; bottom: 20px; width: 0; height: auto; border-top: 0; border-left: 1.5px dashed var(--bw-line); }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; }
  .step > :not(.step-n) { grid-column: 2; }
  .step-n { grid-row: span 3; }
  .step .when { margin-top: 12px; }
}


/* Everything is a launch: the wheel. 12 spokes, 12 kinds of launch; scrolling turns it spoke by spoke */
@property --rot { syntax: "<angle>"; inherits: true; initial-value: 90deg; }
.any { padding-top: 0; }
.any-track { position: relative; }
.any-stick { padding-top: var(--sec); }
@media (min-width: 861px) {
  .any-track { height: calc(100vh + 12 * 20vh); }
  .any-stick { position: sticky; top: 0; min-height: 100vh; padding-top: 84px; padding-bottom: 16px; display: grid; align-content: center; }
  .any-stick > .wrap { width: 100%; } /* auto margins on a grid item shrink it to fit; keep it on the page's 1160 grid */
  .any .sec-head { margin-bottom: 28px; }
}
.any-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; align-items: center; }
.lw { --R: 200px; position: relative; width: calc(var(--R) * 2 + 220px); height: calc(var(--R) * 2 + 24px); margin-left: auto; touch-action: pan-y; cursor: grab; user-select: none; }
.any-grid { transition: --rot var(--bw-d-300) var(--bw-move); }
.any-grid.drag { transition-duration: var(--bw-d-100); }
.any-grid.drag .lw { cursor: grabbing; }
.lw-rotor { position: absolute; left: 0; top: 12px; width: calc(var(--R) * 2); height: calc(var(--R) * 2); transform: rotate(var(--rot)); }
.lw-rotor svg { width: 100%; height: 100%; overflow: visible; }
.lw-shade { position: absolute; left: 0; top: 12px; width: calc(var(--R) * 2); height: calc(var(--R) * 2); pointer-events: none; overflow: visible; }
.lw-labels { position: absolute; left: var(--R); top: calc(var(--R) + 12px); }
.lw-label {
  position: absolute; left: 0; top: 0; transform-origin: 0 0; white-space: nowrap;
  transform: rotate(calc(var(--a) + var(--rot))) translateX(calc(var(--R) + 18px)) rotate(calc(-1 * (var(--a) + var(--rot)))) translateY(-50%);
  font: 500 16px/1.2 var(--bw-body); color: var(--bw-muted); padding: 8px 10px; border-radius: var(--bw-r-sm); min-height: 36px;
  opacity: var(--o, 0); transition: opacity var(--bw-d-300) var(--bw-out), color var(--bw-d-150) var(--bw-out); pointer-events: var(--pe, none);
}
.lw-label[aria-current="true"] { color: var(--bw-oxblood); font-weight: 600; }
@media (hover: hover) { .lw-label:hover { color: var(--bw-ink); } }
.lw-side { position: relative; }
.lw-count { display: flex; align-items: center; gap: 10px; font: var(--bw-label-weight) 12px/1 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-muted); margin-bottom: 14px; }
.lw-mini { width: 26px; height: 26px; color: var(--bw-oxblood); transform: rotate(var(--rot)); }
.lw-list { display: grid; }
.lw-card { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity var(--bw-d-200) var(--bw-in), transform var(--bw-d-200) var(--bw-in); }
.lw-card.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity var(--bw-d-300) var(--bw-out) 80ms, transform var(--bw-d-300) var(--bw-out) 80ms; }
.lw-card h3 { font-size: clamp(34px, 3.6vw, 46px); line-height: 1; color: var(--bw-oxblood); }
.lw-post { margin-top: 20px; background: var(--bw-sheet); border-radius: var(--bw-r-lg); box-shadow: inset 0 0 0 1px var(--bw-line), var(--bw-sh-1); padding: 18px 20px; }
.lw-who { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.lw-who b { font-weight: 600; }
.lw-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bw-ink); color: var(--bw-cream); font: var(--bw-display-weight) 18px/1 var(--bw-display); }
.example-tag { margin-left: auto; font: var(--bw-label-weight) 11px/1 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-muted); border: 1px dashed var(--bw-line); border-radius: 3px; padding: 4px 6px 3px; }
.lw-post p { margin-top: 12px; font-size: 18px; line-height: 1.45; }
.lw-note { margin-top: 14px; font-size: 14px; color: var(--bw-muted); }
.kinds-note { text-align: center; margin-top: 36px; color: var(--bw-muted); font-size: 16px; }
.hint-phone { display: none; }
@media (max-width: 860px) { .hint-desk { display: none; } .hint-phone { display: inline; } }
@media (max-width: 1060px) { .lw { --R: 160px; } .any-grid { grid-template-columns: minmax(0, 1fr) 380px; } }
@media (max-width: 860px) {
  .lw { display: none; }
  .any-grid { display: block; }
  .lw-count { justify-content: flex-start; }
  .lw-list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 12px; scrollbar-width: none; scroll-padding: 0 var(--pad); }
  .lw-list::-webkit-scrollbar { display: none; }
  .lw-card, .lw-card.on { flex: 0 0 86%; opacity: 1; transform: none; pointer-events: auto; scroll-snap-align: start; background: var(--bw-sheet); border-radius: var(--bw-r-lg); box-shadow: inset 0 0 0 1px var(--bw-line); padding: 20px; }
  .lw-card h3 { font-size: 32px; }
  .lw-post { box-shadow: none; background: transparent; padding: 0; margin-top: 14px; }
}

/* Wheel cards: real posts from the team */
a.lw-post { display: block; text-decoration: none; color: inherit; transition: box-shadow var(--bw-d-150) var(--bw-out); }
@media (hover: hover) { a.lw-post:hover { box-shadow: inset 0 0 0 1.5px var(--bw-oxblood), var(--bw-sh-2); } a.lw-post:hover .lw-view { color: var(--bw-oxblood); } }
.lw-who { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; font-size: 14px; line-height: 1.25; }
.lw-who img { width: 32px; height: 32px; border-radius: 50%; background: var(--bw-line); }
.lw-who b { display: block; font-weight: 600; }
.lw-who span span { color: var(--bw-muted); font-size: 13px; }
.lw-brand { font: var(--bw-label-weight) 11px/1 var(--bw-label); letter-spacing: .05em; text-transform: uppercase; color: var(--bw-oxblood); background: var(--bw-ox-tint); border-radius: 3px; padding: 5px 6px 4px; white-space: nowrap; }
.lw-post p { margin-top: 12px; font-size: 16px; line-height: 1.45; }
.lw-media { position: relative; display: block; margin-top: 12px; aspect-ratio: 16 / 9; max-height: 168px; width: 100%; border-radius: 10px; overflow: hidden; background: var(--bw-line-soft); }
@media (max-height: 760px) and (min-width: 861px) { .lw-media { max-height: 120px; } }
.lw-post p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lw-post:not(:has(.lw-media)) p { -webkit-line-clamp: 9; }
.lw-media img { width: 100%; height: 100%; object-fit: cover; }
.lw-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; display: grid; place-items: center; background: rgba(31, 27, 24, .62); color: #fff8f0; box-shadow: inset 0 0 0 1px rgba(255, 248, 240, .28); }
.lw-play svg { width: 18px; height: 18px; margin-left: 2px; }
.lw-foot { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--bw-muted); }
.lw-foot b { color: var(--bw-ink); font-weight: 600; }
.lw-view { font-weight: 600; transition: color var(--bw-d-150) var(--bw-out); }

/* In their own words: three columns of real posts drifting up at different speeds, seamless loop */
.wall { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); height: 680px; overflow: hidden; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
@media (max-width: 1000px) { .wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .wall { grid-template-columns: 1fr; height: 600px; } }
.wall-col { min-width: 0; }
.wall-run { display: grid; gap: 14px; padding-bottom: 14px; animation: drift var(--dur, 90s) linear infinite; will-change: transform; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (hover: hover) { .wall:hover .wall-run { animation-play-state: paused; } }
.quote { display: block; text-decoration: none; background: var(--bw-sheet); border-radius: var(--bw-r-md); box-shadow: inset 0 0 0 1px var(--bw-line), var(--bw-sh-1); padding: 18px 20px; transition: transform var(--bw-d-150) var(--bw-out), box-shadow var(--bw-d-150) var(--bw-out); }
@media (hover: hover) { .quote:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--bw-oxblood), var(--bw-sh-2); } }
.quote-head { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; }
.quote-head img { width: 36px; height: 36px; border-radius: 50%; background: var(--bw-line); }
.quote-head b { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote-head span span { display: block; font-size: 13px; color: var(--bw-muted); }
.quote-head svg { width: 15px; height: 15px; color: var(--bw-ink); }
.quote p { margin-top: 12px; font-size: 16px; line-height: 1.5; }
.quote .for { margin-top: 12px; font-size: 13px; color: var(--bw-muted); }
/* Media cards on the wall: one box per card, shaped by its media, the video's own poster as the still (no image
   layer underneath), play icon until the video is actually running. Clip on its own layer so it moves with the drift. */
.quote-m p:not(.for) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qm { position: relative; display: block; margin-top: 12px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; isolation: isolate; transform: translateZ(0); background: #2a2420; }
.qm img, .qm video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; object-fit: cover; border-radius: inherit; }
.qm-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; display: grid; place-items: center; background: rgba(31, 27, 24, .62); color: #fff8f0; box-shadow: inset 0 0 0 1px rgba(255, 248, 240, .28); transition: opacity var(--bw-d-200) var(--bw-out); }
.qm-play svg { width: 18px; height: 18px; margin-left: 2px; }
.qm.on .qm-play { opacity: 0; }
@media (hover: hover) { .quote:hover .qm.on .qm-play { opacity: 1; } }
.words-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--bw-muted); }
.wall.still { height: auto; -webkit-mask-image: none; mask-image: none; }
.wall.still .wall-run { animation: none; }

/* Pain statement: two lines, the second in oxblood */
.pain { font: var(--bw-display-weight) clamp(44px, 7vw, 104px)/.98 var(--bw-display); letter-spacing: var(--bw-display-track); max-width: 16ch; margin: 0 auto; text-align: center; color: var(--bw-ink); }
.pain-1, .pain-2 { display: block; }
.pain-2 { margin-top: .12em; color: var(--bw-oxblood); }
.pain .pain-2 .w { color: var(--bw-oxblood); }
.pain .w { color: inherit; }

/* Video, a headline service */
.video-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: center; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; gap: 40px; } }
.sec-head .video-tag, .video-tag { display: inline-block; font: var(--bw-label-weight) 12px/1 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-cream); background: var(--bw-oxblood); padding: 6px 8px 5px; margin-top: 0; border-radius: 3px; margin-bottom: 14px; }
.video-list { display: grid; gap: 0; margin-top: -16px; }
.video-list li { display: grid; gap: 4px; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--bw-line); }
.video-list li:first-child { box-shadow: inset 0 1px 0 var(--bw-line), inset 0 -1px 0 var(--bw-line); }
.video-list b { font: var(--bw-display-weight) 26px/1.1 var(--bw-display); letter-spacing: var(--bw-display-track); color: var(--bw-oxblood); }
.video-list span { font-size: 16px; color: var(--bw-ink); }
.video-note { margin-top: 16px; font-size: 14px; color: var(--bw-muted); }
.phone { justify-self: center; margin: 0; }
.phone-device { width: min(320px, 82vw); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: var(--bw-ink); box-shadow: 0 30px 60px -24px rgba(31, 27, 24, .55), inset 0 0 0 2px #3a332d; }
.phone-screen { height: 100%; border-radius: 34px; background: var(--bw-sheet); display: flex; flex-direction: column; overflow: hidden; -webkit-mask-image: -webkit-radial-gradient(white, black); isolation: isolate; }
.vid-post { display: grid; grid-template-columns: 32px 1fr 16px; gap: 8px; align-items: center; font-size: 13px; line-height: 1.25; }
.vid-post img { width: 32px; height: 32px; border-radius: 50%; background: var(--bw-line); }
.vid-post b { display: block; font-size: 14px; }
.vid-post span span { color: var(--bw-muted); }
.vid-post svg { width: 14px; height: 14px; }
.vid-text { font-size: 15px; line-height: 1.4; }
.vid-frame { position: relative; flex: none; aspect-ratio: 16 / 9; border-radius: 12px; background: #2a2420; overflow: hidden; display: grid; place-items: center; }
.vid-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 400ms var(--bw-out); }
.vid-frame video.on { opacity: 1; }
.vid-frame { cursor: pointer; touch-action: pan-y; user-select: none; }
.reel-head { display: grid; gap: 10px; transition: opacity var(--bw-d-150) var(--bw-out); }
.reel-head.swap { opacity: 0; }
.reel-dots { display: flex; justify-content: center; gap: 2px; margin-top: -2px; }
.reel-dots button { width: 22px; height: 22px; display: grid; place-items: center; padding: 0; }
.reel-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bw-line); transition: transform var(--bw-d-200) var(--bw-out), background-color var(--bw-d-200) var(--bw-out); }
.reel-dots button[aria-current="true"]::before { background: var(--bw-oxblood); transform: scale(1.35); }
.vid-play[hidden] { display: none; }
.vid-play { position: relative; z-index: 1; border: 0; cursor: pointer; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--bw-oxblood); color: #fff8f0; box-shadow: 0 0 0 8px rgba(140, 28, 19, .22), 0 10px 24px -8px rgba(0, 0, 0, .6); transition: transform var(--bw-d-200) var(--bw-out); }
.vid-play svg { width: 26px; height: 26px; margin-left: 3px; }
@media (hover: hover) { .phone:hover .vid-play { transform: scale(1.08); } }

.vid-actions { display: flex; justify-content: space-between; padding: 4px 6px; }
.vid-actions i { width: 18px; height: 6px; border-radius: 3px; background: var(--bw-line); }
.vid-next { margin-top: 10px; padding-top: 14px; box-shadow: inset 0 1px 0 var(--bw-line-soft); display: grid; gap: 8px; opacity: .7; }
.vid-next span { height: 8px; border-radius: 4px; background: var(--bw-line-soft); }
.vid-next span:nth-child(1) { width: 40%; } .vid-next span:nth-child(3) { width: 70%; }
.phone figcaption { margin-top: 14px; text-align: center; font-size: 14px; }
.phone figcaption a { color: var(--bw-oxblood); font-weight: 600; text-underline-offset: 3px; }

/* The phone as an X feed: three copies of the shuffled team posts for a seamless loop, gentle auto-scroll */
.feed-top { flex: none; height: 50px; display: grid; place-items: end center; padding-bottom: 8px; box-shadow: inset 0 -1px 0 var(--bw-line-soft); background: var(--bw-sheet); position: relative; z-index: 1; }
.feed-top svg { width: 18px; height: 18px; color: var(--bw-ink); }
.feed { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: none; }
.feed::-webkit-scrollbar { display: none; }
.feed:focus-visible { box-shadow: inset 0 0 0 2px var(--bw-oxblood); }
@media (pointer: coarse) { .feed { overflow-y: hidden; touch-action: pan-y; } .feed.grab { overflow-y: auto; } }
@media (pointer: fine) { .feed-hint { display: none; } }
.feed-hint { color: var(--bw-muted); }
.fpost { position: relative; padding: 12px 14px 8px; box-shadow: inset 0 -1px 0 var(--bw-line-soft); cursor: pointer; transition: background-color var(--bw-d-150) var(--bw-out); }
.fpost-hit { position: absolute; inset: 0; z-index: 1; border-radius: 0; }
.fpost-hit:focus-visible { outline: 2px solid var(--bw-oxblood); outline-offset: -3px; }
@media (pointer: coarse) { .feed.grab .fpost-mbox { z-index: 2; } }
.fpost-sound { position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border-radius: 50%; color: #fff8f0; background: rgba(31, 27, 24, .74); box-shadow: inset 0 0 0 1px rgba(255, 248, 240, .28); cursor: pointer; transition: background-color var(--bw-d-150) var(--bw-out), transform var(--bw-d-100) var(--bw-out); }
.fpost-sound svg { width: 16px; height: 16px; }
.fpost-sound::after, .fact::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; } /* 40px hit area around the small feed buttons, no visual change */
.fact::after { inset: -3px; }
.fpost-sound[aria-pressed="true"] { background: var(--bw-oxblood); }
.fpost-sound:active { transform: scale(.92); }
.fpost-sound:focus-visible { outline: 2px solid #fff8f0; outline-offset: 2px; }
@media (hover: hover) { .fpost-sound:hover { background: var(--bw-oxblood); } }
.fpost-mbox { transition: box-shadow var(--bw-d-150) var(--bw-out); }
@media (hover: hover) { .fpost:hover { background: #fff; } .fpost:hover .fpost-mbox { box-shadow: 0 0 0 2px var(--bw-oxblood); } /* no transform here: it would trap the sound button under the card link */ }
.fpost-head { display: grid; grid-template-columns: 36px 1fr 15px; gap: 9px; align-items: center; font-size: 13px; line-height: 1.25; }
.fpost-head img { width: 36px; height: 36px; border-radius: 50%; background: var(--bw-line); }
.fpost-head b { display: block; font-size: 14px; font-weight: 600; }
.fpost-head span span { color: var(--bw-muted); }
.fpost-head svg { width: 14px; height: 14px; color: var(--bw-ink); }
.fpost-text { margin: 8px 0 10px; font-size: 14px; line-height: 1.4; }
/* One media box per card: its aspect-ratio comes from the video's own size (inline style), and the video and its
   poster fill it exactly. isolation + translateZ give the box its own compositing layer, so the rounded clip moves
   with the video while the feed scrolls (without it, browsers can clip the video layer at a stale position and show
   whatever is underneath). The video carries the radius too, so it never depends on the clip alone. The sound button sits in .fpost-mbox, outside
   that layer, so it stays above the card link. Never give the video a class like .live: that name belongs to the
   live-numbers row and its padding shrank the playing video to the top 3/4 of the card (the 30 Nov bug). */
.feed { --fpost-tall: 420px; }
.fpost-mbox { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; background: #2a2420; }
.fpost-mbox.is-tall { margin-inline: auto; }
.fpost-media { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; isolation: isolate; transform: translateZ(0); }
.fpost-media img, .fpost-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; object-fit: cover; border-radius: inherit; background: #2a2420; }
.fpost-act { position: relative; z-index: 3; display: flex; gap: 18px; padding: 4px 0 0; margin-left: -8px; color: var(--bw-muted); }
.fact { position: relative; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border-radius: 50%; color: var(--bw-muted); cursor: pointer; }
.fact::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--bw-oxblood); opacity: 0; transform: scale(.7); transition: opacity var(--bw-d-150) var(--bw-out), transform var(--bw-d-150) var(--bw-out); }
.fact svg { position: relative; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: fill var(--bw-d-200) var(--bw-out), color var(--bw-d-200) var(--bw-out); }
@media (hover: hover) { .fact:hover { color: var(--bw-oxblood); } .fact:hover::before { opacity: .1; transform: none; } }
.fact:focus-visible { outline: 2px solid var(--bw-oxblood); outline-offset: 1px; }
.fact.on { color: var(--bw-oxblood); }
.fact-like.on svg { fill: var(--bw-oxblood); }
.fact-like.pop svg { animation: fact-pop 320ms var(--bw-out); }
@keyframes fact-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.fact-rt.pop svg { animation: fact-spin 420ms var(--bw-move); }
@keyframes fact-spin { to { transform: rotate(360deg); } }
.fact-burst { position: absolute; inset: 0; pointer-events: none; }
.fact-burst i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--c); animation: fact-burst 520ms var(--bw-out) forwards; }
@keyframes fact-burst { from { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); } to { opacity: 0; transform: rotate(var(--a)) translateY(-18px) scale(.4); } }


/* Growth story cards from /api/stories (inside #cases) */
/* Three to a row on desktop, two on tablets, one on phones. Flex so a short last row sits centred (no orphan on the
   left); rows stretch to one height and the best post drops to the card's foot, so every row ends on one line. */
.sc-grid { --sc-gap: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sc-gap); margin: 0 auto; }
.sc { flex: 0 1 calc((100% - 2 * var(--sc-gap)) / 3); min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--bw-sheet); border-radius: var(--bw-r-lg); box-shadow: inset 0 0 0 1px var(--bw-line), var(--bw-sh-1); }
.sc > .sc-part:has(.sc-post) { margin-top: auto; }
@media (max-width: 1060px) { .sc { flex-basis: calc((100% - var(--sc-gap)) / 2); } }
@media (max-width: 760px) { .sc-grid { max-width: 520px; } .sc { flex-basis: 100%; } }
.sc-head { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.sc-head img { width: 40px; height: 40px; border-radius: 50%; background: var(--bw-line); }
.sc-head b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-head a { font-size: 14px; color: var(--bw-muted); text-decoration: none; }
.sc-tag { font: var(--bw-label-weight) 11px/1 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-muted); border: 1px dashed var(--bw-line); border-radius: 3px; padding: 5px 6px 4px; }
.sc-big { margin-top: 2px; font: var(--bw-display-weight) clamp(40px, 3.6vw, 50px)/1 var(--bw-display); letter-spacing: var(--bw-display-track); color: var(--bw-oxblood); font-variant-numeric: lining-nums; }
.sc-big span { font-size: .5em; color: var(--bw-muted); margin: 0 .15em; vertical-align: .25em; }
.sc-unit { margin-top: -8px; font-weight: 600; font-size: 16px; line-height: 1.35; }
.sc-src { margin-top: -12px; font-size: 14px; color: var(--bw-muted); }
.sc-label { display: flex; align-items: center; gap: 8px; font: var(--bw-label-weight) 11px/1.2 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-muted); margin-bottom: 10px; }
/* The curve's height is --ch; landing.js gives the start dot its height as a fraction (--y) of the 96-unit viewBox */
.sc-curve { --ch: 72px; position: relative; margin: 0; }
.sc-curve svg { display: block; width: 100%; height: var(--ch); }
.sc-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--bw-oxblood); box-shadow: 0 0 0 3px var(--bw-sheet); transform: translate(-50%, -50%); }
.sc-dot.a { left: 2%; top: calc(var(--y, .9375) * var(--ch)); }
.sc-dot.b { left: 98%; top: calc(var(--ch) * 10 / 96); }
.sc-curve figcaption { display: flex; justify-content: space-between; margin-top: 6px; font: var(--bw-label-weight) 11px/1.3 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-muted); }
.sc-curve figcaption b { display: block; font: var(--bw-display-weight) 20px/1 var(--bw-display); letter-spacing: 0; text-transform: none; color: var(--bw-ink); margin-top: 4px; }
.sc-curve figcaption span:last-child { text-align: right; }
.sc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sc-stats p { display: grid; gap: 4px; align-content: start; }
.sc-stats b { font: var(--bw-display-weight) 24px/1 var(--bw-display); letter-spacing: var(--bw-display-track); color: var(--bw-oxblood); white-space: nowrap; }
.sc-stats span { font: var(--bw-label-weight) 10.5px/1.3 var(--bw-label); letter-spacing: .04em; text-transform: uppercase; color: var(--bw-muted); }
.sc-countries { margin-top: 14px; display: grid; gap: 8px; }
.sc-countries li { display: grid; grid-template-columns: 110px 1fr 48px; gap: 10px; align-items: center; font-size: 13px; }
.sc-countries i { height: 6px; border-radius: 3px; background: var(--bw-line-soft); position: relative; overflow: hidden; }
.sc-countries i::before { content: ""; position: absolute; inset: 0; width: calc(var(--w) * 100%); background: var(--bw-brass); border-radius: 3px; }
.sc-countries li:first-child i::before { background: var(--bw-oxblood); }
.sc-countries b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-note { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--bw-muted); }
.sc-post { display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--bw-r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--bw-line); text-decoration: none; transition: box-shadow var(--bw-d-150) var(--bw-out); }
@media (hover: hover) { .sc-post:hover { box-shadow: inset 0 0 0 1.5px var(--bw-oxblood); } }
.sc-post-head { display: grid; grid-template-columns: 32px 1fr 15px; gap: 9px; align-items: center; font-size: 13px; line-height: 1.25; }
.sc-post-head img { width: 32px; height: 32px; border-radius: 50%; }
.sc-post-head b { display: block; font-size: 14px; }
.sc-post-head span span { color: var(--bw-muted); }
.sc-post-head svg { width: 14px; height: 14px; }
.sc-post-text { font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sc-post-act { display: flex; gap: 16px; font-size: 13px; color: var(--bw-muted); }
.sc-post-act b { color: var(--bw-ink); font-weight: 600; }
@media (max-width: 420px) { .sc { padding: 18px; } .sc-stats b { font-size: 22px; } .sc-countries li { grid-template-columns: 96px 1fr 44px; } }
.sc-grid { margin-bottom: 16px; }
.sc-grid[hidden] { display: none; }

/* Case studies: we grew our own first */
/* Same gap and padding as the story cards above. Six cards once the "soon" card steps aside: three to a row on desktop
   (two even rows, columns lined up with the stories), so there is never a row of four over a row of two. */
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.case-grid:has(> .case-soon[hidden]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) { .case-grid, .case-grid:has(> .case-soon[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .case-grid, .case-grid:has(> .case-soon[hidden]) { grid-template-columns: 1fr; } }
.case { display: flex; flex-direction: column; padding: 20px; background: var(--bw-sheet); border-radius: var(--bw-r-lg); box-shadow: inset 0 0 0 1px var(--bw-line), var(--bw-sh-1); }
.case[hidden] { display: none; }
.case-who { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; min-height: 28px; }
.case-who img { width: 28px; height: 28px; border-radius: 50%; background: var(--bw-line); }
.case-big { margin-top: 16px; font: var(--bw-display-weight) clamp(40px, 3.6vw, 50px)/1 var(--bw-display); letter-spacing: var(--bw-display-track); color: var(--bw-oxblood); }
.case-unit { margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.case-body { margin-top: auto; padding-top: 14px; font-size: 15px; line-height: 1.45; color: var(--bw-muted); }
.case-soon { background: transparent; box-shadow: inset 0 0 0 1.5px var(--bw-line); border-style: dashed; justify-content: center; }
.case-soon { box-shadow: none; outline: 1.5px dashed var(--bw-line); outline-offset: -1.5px; }
.case-soon .case-big { margin-top: 0; font-size: 34px; color: var(--bw-muted); }
.case-soon .case-unit { font-weight: 400; color: var(--bw-muted); }
.case-note { margin-top: 16px; text-align: center; font-size: 13px; color: var(--bw-muted); }

/* Live team numbers, right under the hero */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The team's numbers sit in the hero, under the buttons, so they're in the first view. Four tiles on desktop, 2x2 on phones.
   Ruled like a ledger: hairlines between the tiles, a double rule above and below (stamp-and-seal print feel). */
.live { width: 100%; max-width: 980px; margin: 36px auto 0; padding: 18px 0; position: relative; z-index: 2;
  border-top: 3px double var(--bw-line); border-bottom: 3px double var(--bw-line); }
.live-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.live-grid:has(.live-tile[hidden]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.live-tile { display: grid; gap: 6px; align-content: start; justify-items: center; text-align: center; padding: 6px 10px; }
.live-tile[hidden] { display: none; }
.live-tile b { font: var(--bw-display-weight) clamp(40px, 4.4vw, 64px)/.95 var(--bw-display); letter-spacing: var(--bw-display-track); color: var(--bw-oxblood); font-variant-numeric: lining-nums tabular-nums; }
.live-tile > span { font: var(--bw-label-weight) 11.5px/1.3 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-muted); }
/* Odometer replay on hover or tap: each digit is a column of 0-9 that rolls to its place. Same font and colour as the number. */
.live-tile { cursor: default; }
.live-tile b { display: inline-flex; align-items: flex-start; }
.odo-d { display: inline-block; height: .95em; overflow: hidden; }
.odo-s { display: block; line-height: .95; transform: translateY(0); }
.odo-go .odo-s { transform: translateY(calc(-100% * var(--to) / var(--rows))); transition: transform 1000ms cubic-bezier(.16, 1, .3, 1) var(--delay); }
.odo-c { display: inline-block; }
.live-tile + .live-tile { box-shadow: inset 1px 0 0 var(--bw-line); }
@media (max-width: 720px) {
  .live { margin-top: 28px; padding: 4px 0; }
  .live-grid, .live-grid:has(.live-tile[hidden]) { grid-template-columns: 1fr 1fr; }
  .live-tile { padding: 14px 6px; }
  .live-tile + .live-tile { box-shadow: none; }
  .live-tile:nth-child(odd of :not([hidden])) { box-shadow: inset -1px 0 0 var(--bw-line); }
  .live-tile:nth-child(n + 3 of :not([hidden])) { border-top: 1px solid var(--bw-line); }
}

/* Ladder: three steps */
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .steps.steps-3 { grid-template-columns: 1fr; } }

/* The core team */
.core-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1060px) { .core-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .core-grid { grid-template-columns: 1fr; } }
.core-card a { display: grid; justify-items: start; gap: 4px; height: 100%; padding: 22px 20px; text-decoration: none; background: var(--bw-sheet); border-radius: var(--bw-r-lg); box-shadow: inset 0 0 0 1px var(--bw-line), var(--bw-sh-1); }
.core-card img { width: 72px; height: 72px; border-radius: 50%; background: var(--bw-line); margin-bottom: 10px; box-shadow: 0 0 0 3px var(--bw-cream), 0 0 0 4px var(--bw-line); }
.core-card b { font-weight: 600; font-size: 18px; line-height: 1.2; }
.core-h { font-size: 14px; color: var(--bw-muted); }
.core-k { margin-top: 12px; font: var(--bw-display-weight) 24px/1.05 var(--bw-display); letter-spacing: var(--bw-display-track); color: var(--bw-oxblood); }
.core-l { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--bw-ink); }
@media (hover: hover) { .core-card a:hover { box-shadow: inset 0 0 0 1.5px var(--bw-oxblood), var(--bw-sh-2); } }
@media (max-width: 640px) { .core-card a { grid-template-columns: 64px 1fr; column-gap: 16px; align-items: center; } .core-card img { width: 64px; height: 64px; grid-row: span 2; margin: 0; } .core-k, .core-l { grid-column: 1 / -1; } }

/* Proof row */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 14px; }
.proof p { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 22px 12px; border-radius: var(--bw-r-lg); background: var(--bw-ox-tint); }
.proof b { font: var(--bw-display-weight) clamp(48px, 5.6vw, 72px)/1 var(--bw-display); letter-spacing: var(--bw-display-track); color: var(--bw-oxblood); }
.proof span { font-size: 15px; color: var(--bw-ink); }
.proof-note { text-align: center; font-size: 13px; color: var(--bw-muted); margin-bottom: 32px; }
@media (max-width: 640px) { .proof { grid-template-columns: 1fr; gap: 10px; } .proof p { padding: 16px 12px; } }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }
.price { padding: 26px 28px; background: var(--bw-sheet); border-radius: var(--bw-r-lg); box-shadow: inset 0 0 0 1px var(--bw-line), var(--bw-sh-1); }
@media (max-width: 640px) { .price { padding: 22px 20px; } } /* phones: the same 20px inner edge as the story and case cards */
.price-tag { font: var(--bw-label-weight) 12px/1 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-oxblood); }
.price h3 { margin-top: 12px; font-size: 34px; line-height: 1.02; }
.price p:last-child { margin-top: 10px; font-size: 16px; color: var(--bw-ink); }
.price-note { max-width: 640px; margin: 22px auto 0; text-align: center; font-size: 15px; color: var(--bw-muted); }

/* What you get: the included strategy block */
.included { margin-top: 8px; padding: 22px 24px; border-radius: var(--bw-r-lg); background: var(--bw-sheet); box-shadow: inset 0 0 0 1.5px var(--bw-oxblood), var(--bw-sh-1); max-width: 460px; }
.included-tag { font: var(--bw-label-weight) 12px/1 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-oxblood); }
.included h3 { margin-top: 10px; font-size: 28px; line-height: 1.05; }
.included p:last-child { margin-top: 10px; font-size: 16px; color: var(--bw-ink); }

/* What you get */
.get-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .get-grid { grid-template-columns: 1fr; gap: 48px; } }
.ledger { background: var(--bw-sheet); border-radius: var(--bw-r-lg); box-shadow: inset 0 0 0 1px var(--bw-line), var(--bw-sh-1); padding: 8px 24px; }
.ledger-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--bw-line-soft); font-size: 17px; }
.ledger-row span:first-child { font-weight: 500; }
.ledger-row span:last-child { flex: none; font: var(--bw-label-weight) 12px/1 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-muted); }
.ledger-row.total { box-shadow: none; border-top: 1.5px solid var(--bw-ink); margin-top: -1px; }
.ledger-row.total span:first-child { font-weight: 600; }
.ledger-row.total span:last-child { color: var(--bw-oxblood); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 8px; } }
.faq .sec-head a { color: var(--bw-oxblood); }
.qa details { box-shadow: inset 0 -1px 0 var(--bw-line); }
.qa details:first-child { box-shadow: inset 0 1px 0 var(--bw-line), inset 0 -1px 0 var(--bw-line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 19px; min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--bw-oxblood), var(--bw-oxblood)) center / 14px 2px no-repeat, linear-gradient(var(--bw-oxblood), var(--bw-oxblood)) center / 2px 14px no-repeat; transition: transform var(--bw-d-200) var(--bw-out); }
.qa details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) { .qa summary:hover { color: var(--bw-oxblood); } }
.qa details p { padding: 0 40px 24px 0; color: var(--bw-muted); font-size: 17px; max-width: 60ch; animation: fade var(--bw-d-200) var(--bw-out); }
.qa details p a { color: var(--bw-oxblood); font-weight: 600; }

/* Book */
.book { padding: var(--sec) 0 calc(var(--sec) * .8); }
.book-in { display: grid; justify-items: center; text-align: center; }
.book-seal { width: clamp(180px, 22vw, 260px); height: auto; }
.book h2 { margin-top: 16px; font-size: clamp(52px, 7.2vw, 92px); line-height: .98; }
.book p { margin-top: 16px; font-size: 19px; max-width: 40ch; }
.book .btn { margin-top: 28px; }

/* Footer */
.foot { box-shadow: inset 0 1px 0 var(--bw-line); padding: 32px 0 40px; }
.foot-in { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.logo.small svg { width: 22px; height: 22px; }
.logo.small span { font-size: 18px; }
.foot-line { color: var(--bw-muted); font-size: 15px; }
.foot-links { margin-left: auto; display: flex; gap: 4px 20px; flex-wrap: wrap; }
.foot-links a { font-size: 15px; color: var(--bw-muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) { .foot-links a:hover { color: var(--bw-ink); } }
@media (max-width: 640px) { .foot-links { margin-left: 0; width: 100%; } }

/* Polish: reveals (fade up, once), blur-up images, the seal press, card tilt, stamp cursor */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--bw-out), transform 600ms var(--bw-out); transition-delay: calc(var(--rvi, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; } /* fade-up only (opacity and transform): no blur, nothing that repaints */
.hw { display: inline-block; }
.js .hw { animation: word 700ms var(--bw-out) both; animation-delay: calc(120ms + var(--i) * 70ms); }
@keyframes word { from { opacity: 0; transform: translateY(.18em); filter: blur(10px); } }
.js .lead, .js .hero .ctas, .js .hero-proof { animation: word 700ms var(--bw-out) both; }
.js .hero-proof { animation-delay: 60ms; }
.js .lead { animation-delay: 680ms; }
/* The swipe is drawn left to right under "$0 to start." right after the headline lands; the terms follow */
.js .deal-zero { animation: swipe 620ms var(--bw-out) 480ms both; }
.js .deal-terms { animation: word 700ms var(--bw-out) 600ms both; }
@keyframes swipe { from { background-size: 0% 88%; color: var(--bw-oxblood); } 40% { color: var(--bw-oxblood); } }
.js .hero .ctas { animation-delay: 760ms; }
.js img.bu { transition: filter 400ms var(--bw-out), opacity 400ms var(--bw-out); }
.js img.bu:not(.ld) { filter: blur(8px); opacity: .55; }
.js .book-seal { opacity: 0; transform: scale(1.15) rotate(-3deg); }
.js .book-seal.pressed { animation: press 420ms var(--bw-out) forwards; }
@keyframes press {
  0% { opacity: 0; transform: scale(1.15) rotate(-3deg); }
  55% { opacity: 1; transform: scale(.97) rotate(0deg); }
  100% { opacity: 1; transform: none; }
}
html .tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform var(--bw-d-300) var(--bw-out), box-shadow var(--bw-d-150) var(--bw-out); }
html .tilt.hov { --ty: -3px; transition-duration: var(--bw-d-100), var(--bw-d-150); }
@media (hover: hover) and (pointer: fine) {
  .btn-ox { cursor: url("/assets/landing/brand/cursor-stamp.svg") 16 16, pointer; }
  .person a:hover img { transform: none; }
}
/* Preview-only demo link (shown when /api/config says demo_available) */
.demo-link { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; font-size: 14px; color: var(--bw-muted); animation: fade var(--bw-d-300) var(--bw-out); }
.demo-link[hidden] { display: none; }
.demo-link a { color: var(--bw-oxblood); font-weight: 600; text-underline-offset: 3px; }
.growth { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; font-size: 16px; color: var(--bw-muted); text-align: center; }
.growth b { color: var(--bw-ink); font-weight: 600; }
.growth a { color: var(--bw-oxblood); font-weight: 600; text-underline-offset: 3px; min-height: 40px; display: inline-flex; align-items: center; } /* a flex item, not inline text: give it a full tap target */
.growth-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bw-oxblood); box-shadow: 0 0 0 4px var(--bw-ox-wash); }

@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .hw, .js .lead, .js .deal-terms, .js .hero .ctas, .js .hero-proof, .js img.bu:not(.ld) { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .js .book-seal { opacity: 1; transform: none; }
  .tilt { transform: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .track { animation: none !important; width: auto; }
  .track ul { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .track ul[aria-hidden] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding: 0 var(--pad); }
  .track.r2 { display: none; }
  .js .reveal .w { --o: 1; }
}

/* Brands and Creators dialogs: a paper sheet with a ledger rule under the heading; the wax seal stamps a success */
.bw-dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 0; margin: auto; border: 0; border-radius: var(--bw-r-lg);
  background: var(--bw-sheet); color: var(--bw-ink); box-shadow: inset 0 0 0 1px var(--bw-line), 0 30px 80px -20px rgba(31, 27, 24, .45); overflow: auto; }
.bw-dlg-sm { width: min(440px, calc(100vw - 24px)); }
.bw-dlg::backdrop { background: rgba(31, 27, 24, .45); }
.bw-dlg[open] { animation: dlg-in var(--bw-d-300) var(--bw-out); }
.bw-dlg[open]::backdrop { animation: dlg-fade var(--bw-d-200) var(--bw-out); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes dlg-fade { from { opacity: 0; } }
.dlg-head { position: relative; padding: 26px 28px 18px; border-bottom: 3px double var(--bw-line); }
.dlg-kicker { font: var(--bw-label-weight) 11.5px/1 var(--bw-label); letter-spacing: .08em; text-transform: uppercase; color: var(--bw-oxblood); }
.dlg-head h2, .dlg-done h2 { margin-top: 10px; font: var(--bw-display-weight) clamp(30px, 6vw, 38px)/1.02 var(--bw-display); letter-spacing: var(--bw-display-track); color: var(--bw-ink); }
.dlg-lead { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--bw-muted); max-width: 44ch; }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--bw-muted); cursor: pointer; }
.dlg-x svg { width: 18px; height: 18px; }
@media (hover: hover) { .dlg-x:hover { background: var(--bw-paper); color: var(--bw-ink); } }
.dlg-body { display: grid; gap: 14px; padding: 20px 28px 8px; }
.dlg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .dlg-row { grid-template-columns: 1fr; } .dlg-head { padding: 22px 20px 16px; } .dlg-body { padding: 18px 20px 8px; } .dlg-foot { padding: 14px 20px 20px; } }
.dlg-field { display: grid; gap: 6px; min-width: 0; }
.dlg-field > span:first-child { font-size: 14px; font-weight: 600; color: var(--bw-ink); }
.dlg-field small { font-weight: 400; color: var(--bw-muted); margin-left: 4px; }
.dlg-field input, .dlg-field textarea, .dlg-at { width: 100%; min-height: 44px; padding: 10px 12px; font: 400 15.5px/1.4 var(--bw-body); color: var(--bw-ink);
  background: #fffdf9; border: 1px solid var(--bw-line); border-radius: var(--bw-r-sm); transition: border-color var(--bw-d-150) var(--bw-out), box-shadow var(--bw-d-150) var(--bw-out); }
.dlg-field textarea { resize: vertical; min-height: 88px; }
.dlg-at { display: flex; align-items: center; gap: 2px; padding: 0 12px; }
.dlg-at i { font-style: normal; color: var(--bw-muted); }
.dlg-at input { border: 0; padding: 10px 0; min-height: 42px; background: transparent; box-shadow: none; }
.dlg-field input:focus, .dlg-field textarea:focus, .dlg-at:focus-within { outline: none; border-color: var(--bw-oxblood); box-shadow: 0 0 0 3px rgba(140, 28, 19, .14); }
.dlg-at input:focus { box-shadow: none; }
.dlg-field.bad input, .dlg-field.bad textarea, .dlg-field.bad .dlg-at { border-color: var(--bw-oxblood); background: #fffaf8; }
.dlg-err { font-style: normal; font-size: 13px; font-weight: 500; color: var(--bw-oxblood); }
.dlg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dlg-msg { font-size: 14px; color: var(--bw-oxblood); }
.dlg-note { font-size: 13px; color: var(--bw-muted); }
.dlg-foot { display: flex; justify-content: flex-end; padding: 16px 28px 24px; }
.dlg-foot .btn[disabled] { opacity: .6; cursor: progress; }
.bw-dlg [hidden] { display: none !important; }
.dlg-done { position: relative; display: grid; justify-items: center; gap: 6px; padding: 36px 28px 32px; text-align: center; }
.dlg-done img { width: 96px; height: 96px; animation: seal-press 520ms var(--bw-out) both; }
.dlg-done p { color: var(--bw-muted); max-width: 36ch; }
.dlg-done .btn { margin-top: 10px; }
@keyframes seal-press { 0% { transform: scale(1.6) rotate(-14deg); opacity: 0; } 60% { transform: scale(.94) rotate(2deg); opacity: 1; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .bw-dlg[open], .bw-dlg[open]::backdrop, .dlg-done img { animation: none; } }

/* Creators: the seal sits in the header */
.dlg-head-seal { padding-left: 104px; min-height: 120px; }
.dlg-seal { position: absolute; left: 24px; top: 26px; width: 64px; height: 64px; transform: rotate(-8deg); }
@media (max-width: 520px) { .dlg-head-seal { padding-left: 88px; } .dlg-seal { left: 16px; width: 56px; height: 56px; } }

/* Brands: three steps in one sheet. A ledger of steps, day chips, a time grid, then a ticket to confirm. */
.dlg-steps { display: flex; gap: 6px; margin-top: 14px; counter-reset: st; }
.dlg-steps li { counter-increment: st; display: inline-flex; align-items: center; gap: 6px; font: var(--bw-label-weight) 11px/1 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-muted); }
.dlg-steps li::before { content: counter(st); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--bw-line); font-size: 10.5px; }
.dlg-steps li + li::after { order: -1; content: ""; width: 14px; height: 1px; background: var(--bw-line); margin-right: 2px; }
.dlg-steps li[aria-current="step"] { color: var(--bw-oxblood); }
.dlg-steps li[aria-current="step"]::before, .dlg-steps li.done::before { background: var(--bw-oxblood); color: #fff8f0; box-shadow: none; }
.dlg-foot { gap: 8px; }
.dlg-foot .dlg-back { margin-right: auto; }
.dlg-msg { padding: 0 28px; }
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.slot-day { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; width: 62px; padding: 9px 0 8px; border-radius: var(--bw-r-md); background: #fffdf9; box-shadow: inset 0 0 0 1px var(--bw-line); cursor: pointer; color: var(--bw-ink); transition: box-shadow var(--bw-d-150) var(--bw-out), background-color var(--bw-d-150) var(--bw-out); }
.slot-day small { font: var(--bw-label-weight) 10.5px/1 var(--bw-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bw-muted); }
.slot-day b { font: var(--bw-display-weight) 26px/1 var(--bw-display); }
.slot-day[aria-selected="true"] { background: var(--bw-oxblood); box-shadow: none; color: #fff8f0; }
.slot-day[aria-selected="true"] small { color: #f3d9c9; }
@media (hover: hover) { .slot-day:hover:not([aria-selected="true"]) { box-shadow: inset 0 0 0 1px var(--bw-oxblood); } }
.slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; min-height: 52px; }
.slot-time { display: grid; gap: 2px; justify-items: center; padding: 10px 6px; border-radius: var(--bw-r-sm); background: #fffdf9; box-shadow: inset 0 0 0 1px var(--bw-line); cursor: pointer; color: var(--bw-ink); font: 600 15.5px/1.1 var(--bw-body); font-variant-numeric: tabular-nums; }
.slot-time small { font: 400 11.5px/1.1 var(--bw-body); color: var(--bw-muted); }
.slot-time[aria-selected="true"] { background: var(--bw-oxblood); color: #fff8f0; box-shadow: none; }
.slot-time[aria-selected="true"] small { color: #f3d9c9; }
@media (hover: hover) { .slot-time:hover:not([aria-selected="true"]) { box-shadow: inset 0 0 0 1px var(--bw-oxblood); } }
.slot-day:focus-visible, .slot-time:focus-visible { outline: 2px solid var(--bw-oxblood); outline-offset: 2px; }
.slot-note { font-size: 14px; color: var(--bw-muted); }
.slot-skel { height: 52px; border-radius: var(--bw-r-sm); background: linear-gradient(90deg, var(--bw-line-soft) 0 40%, #f3ebdd 50%, var(--bw-line-soft) 60% 100%); background-size: 300% 100%; animation: bw-shimmer 1.4s linear infinite; }
@keyframes bw-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.dlg-ticket { position: relative; padding: 18px 20px; border-radius: var(--bw-r-md); background: var(--bw-paper); box-shadow: inset 0 0 0 1px var(--bw-line); border-left: 4px solid var(--bw-oxblood); }
.ticket-when, .dlg-done h2 { margin-top: 8px; font: var(--bw-display-weight) clamp(26px, 5vw, 32px)/1.08 var(--bw-display); color: var(--bw-ink); }
.ticket-madrid { margin-top: 4px; font-size: 13.5px; color: var(--bw-muted); }
.ticket-who { margin-top: 10px; font-size: 14.5px; color: var(--bw-ink); }
.dlg-done .dlg-kicker { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .slot-skel { animation: none; } }
