/* Stubbed case study (v6, 1 Dec 2026 brief). Stubbed's own look, not Moreira's: Bricolage Grotesque 800 + DM Sans,
   one palette (sky colours for everything; gold only for Hardcore, Lifetime, Stubs and greedy Puff; green only for wins;
   product colours only on products). Motion is calm and critically damped: no overshoot, no wobble. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/bricolage-grotesque-700.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/bricolage-grotesque-800.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/dm-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/dm-sans-500.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/dm-sans-700.woff2) format('woff2'); }

/* the site shell clips with overflow:hidden; clip instead so nothing scrolls sideways and sticky still works */
.stb-shell { overflow: clip !important; }

.stb {
  --ink: #1E2030; --ink2: #4A4E60; --hint: #5E6274; --card: #FFFFFF;
  --sky: #4AAEF5; --deep: #1F78BF; --soft: #E1F0FD; --page: #F2F7FC;
  --gold: #FFD84D; --goldbg: #FFF8DC; --goldline: #F0D98A; --goldtext: #7A5B00; --gilded: #FBF5DF;
  --win: #11724F; --winbg: #D4F5E6; --winbar: #4CC79A;
  --night: #0C1C38; --night2: #17345F;
  --fd: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --fb: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);       /* settles, never overshoots */
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 220ms; --t-med: 600ms; --t-slow: 900ms;
  --r: 24px; --shadow: 0 1px 2px rgba(30, 32, 48, .06), 0 18px 40px -18px rgba(31, 120, 191, .28);
  --g: clamp(16px, 4vw, 40px);
  display: block; position: relative; background: var(--page); color: var(--ink);
  font-family: var(--fb); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.stb *, .stb *::before, .stb *::after { box-sizing: border-box; }
.stb ::selection { background: var(--gold); color: var(--ink); }
:where(.stb) :where(p, ul, ol, h1, h2, h3, figure, blockquote) { margin: 0; }
:where(.stb) :where(ul, ol) { padding: 0; list-style: none; }
.stb a { color: var(--deep); text-underline-offset: .22em; text-decoration-thickness: 2px; }
.stb a:hover { color: var(--ink); }
.stb button { font: inherit; color: inherit; cursor: pointer; }
.stb :focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 12px; }
.stb img { max-width: 100%; height: auto; }
.stb [hidden] { display: none !important; }

.stb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--g); position: relative; }
.stb-sec { position: relative; padding: clamp(56px, 7vw, 100px) 0; } /* 4 Dec: was clamp(80px, 11vw, 150px); the review found the bands between sections too empty */

/* ---------- type ---------- */
.stb-h1, .stb-h2, .stb-h3, .stb-big, .stb-timer, .stb-final-t, .stb-sheet-t, .stb-jar-t, .stb-story-n, .stb-bal b, .stb-price-t { font-family: var(--fd); font-weight: 800; letter-spacing: -.03em; }
.stb-h1 { font-size: clamp(54px, 8.2vw, 124px); line-height: .9; letter-spacing: -.045em; color: var(--ink); margin: 6px 0 22px; }
.stb-h2 { font-size: clamp(40px, 6vw, 84px); line-height: .94; letter-spacing: -.04em; margin: 10px 0 20px; text-wrap: balance; }
.stb-h3 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1; margin: 10px 0 14px; }
.stb-big { font-size: clamp(26px, 3vw, 38px); line-height: 1.05; color: var(--deep); margin: -6px 0 16px; }
.stb-deep { color: var(--deep); }
.stb-eyebrow { font-family: var(--fb); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stb-eyebrow.is-gold { color: var(--goldtext); }
.stb-tag { display: inline-block; font-size: 12px; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); border: 1.5px solid var(--ink); }
.stb-p { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink2); max-width: 56ch; }
.stb-p + .stb-p { margin-top: 14px; }
.stb-lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink); max-width: 46ch; }
.stb-fine { font-size: 14px; color: var(--hint); margin-top: 16px; }
.is-centre { text-align: center; margin-left: auto; margin-right: auto; }
.stb-head.is-centre { max-width: 760px; }
.stb-head.is-centre .stb-eyebrow { justify-content: center; }
.stb-head.is-centre .stb-p { margin-left: auto; margin-right: auto; }

/* headlines reveal line by line (only once JS is on) */
.stb .ln { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .1em; margin: 0 -.04em -.1em; }
.stb .ln > span { display: inline-block; }
.stb-js .stb .ln > span { transform: translateY(110%); transition: transform var(--t-slow) var(--ease); }
.stb-js .stb .ln:nth-child(2) > span { transition-delay: 110ms; }
.stb-js .stb .ln:nth-child(3) > span { transition-delay: 220ms; }
.stb-js .stb .is-lit .ln > span { transform: none; }

/* reveals: rise and settle */
.stb-js .stb [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity var(--t-med) var(--ease), transform var(--t-slow) var(--ease); }
.stb-js .stb [data-rv].is-in { opacity: 1; transform: none; }
.stb-js .stb [data-rv] .stb-phone { opacity: 0; translate: 0 40px; transition: opacity var(--t-med) var(--ease), translate 1100ms var(--ease); }
.stb-js .stb [data-rv].is-in .stb-phone { opacity: 1; translate: 0 0; }
.stb-js .stb [data-rv].is-in .stb-phone:nth-of-type(2) { transition-delay: 140ms; }

/* ---------- buttons, chips ---------- */
.stb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2.5px solid var(--deep); background: var(--deep); color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform var(--t-fast) var(--ease), background var(--t-fast), box-shadow var(--t-fast); box-shadow: 0 8px 20px -10px rgba(31, 120, 191, .7); }
.stb-btn:hover { background: #1A68A8; border-color: #1A68A8; transform: translateY(-1px); }
.stb-btn:active { transform: translateY(1px) scale(.98); }
.stb-btn.is-ghost { background: #fff; color: var(--deep) !important; box-shadow: none; }
.stb-btn.is-ghost:hover { background: var(--soft); }
.stb-btn.is-small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.stb-btn.is-gold { background: var(--gold); border-color: var(--ink); color: var(--ink) !important; box-shadow: 0 4px 0 var(--ink); }
.stb-btn.is-gold:hover { background: #FFE27A; }
.stb-btn.is-gold:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.stb-btn.is-ghost-gold { background: transparent; border-color: var(--goldline); color: var(--goldbg) !important; box-shadow: none; }
.stb-btn.is-ghost-gold:hover { background: rgba(255, 216, 77, .12); border-color: var(--gold); }
.stb-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.stb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.stb-chips li { font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; }
.p-cig { color: #B23A1E; background: #FFE3D8; }
.p-pouch { color: #11724F; background: #D4F5E6; }
.p-vape { color: #5B3FC4; background: #E6DEFF; }

/* ---------- store badges ---------- */
.stb-store { display: grid; gap: 12px; justify-items: start; }
.stb-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.stb-badge { display: block; height: 50px; border-radius: 10px; }
.stb-badge svg { height: 100%; width: auto; display: block; }
.stb-badges.is-soon .stb-badge { filter: grayscale(1); opacity: .42; cursor: default; }
.stb-status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink); }
.stb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(74, 174, 245, .25); }

/* ---------- phone placeholders (1206 x 2622) ---------- */
.stb-phone { position: relative; width: 100%; aspect-ratio: 1206 / 2622; border-radius: 13% / 6%; overflow: hidden; background: var(--soft); box-shadow: 0 0 0 1px rgba(30, 32, 48, .07), 0 40px 70px -30px rgba(31, 120, 191, .45); }
.stb-phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stb-soon { position: absolute; left: 0; right: 0; bottom: 9%; display: flex; justify-content: center; pointer-events: none; }
.stb-soon span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--deep); background: rgba(255, 255, 255, .85); border: 1.5px dashed rgba(31, 120, 191, .45); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.stb-phone img:not([src*="screen-soon"]) ~ .stb-soon { display: none; }
.stb-phone.is-tilt-l { rotate: -4deg; }
.stb-phone.is-tilt-r { rotate: 4deg; }

/* ---------- the coaches (inline rigs) ---------- */
.ch { display: block; width: 100%; height: auto; overflow: visible; }
.ch .f { display: none; }
.ch.m-unimpressed .f-unimpressed, .ch.m-proud .f-proud, .ch.m-happy .f-happy, .ch.m-savage .f-savage, .ch.m-surprised .f-surprised,
.ch.m-wink .f-wink, .ch.m-disappointed .f-disappointed, .ch.m-greedy .f-greedy { display: inline; }
.ch .br, .ch .ey { transform-box: fill-box; transform-origin: center; }
.ch .ey { transition: transform 90ms linear; }
.ch.is-blink .ey { transform: scaleY(.12); }
.ch.is-react .br { animation: stbBrow 1100ms var(--ease) both; }
.ch.is-squint .ey { animation: stbSquint 1200ms var(--ease) both; }
.ch.is-grin .ch-all { animation: stbGrin 1100ms var(--ease) both; transform-origin: 50% 90%; transform-box: fill-box; }
.ch.is-hop .ch-all { animation: stbHop 900ms var(--ease-io) both; }
.ch.is-spin .ch-all { animation: stbSpin 1100ms var(--ease-io) both; transform-origin: 50% 55%; transform-box: fill-box; }
.ch.is-chomp .ch-all { animation: stbChomp 360ms var(--ease) both; transform-origin: 50% 100%; transform-box: fill-box; }
@keyframes stbBrow { 0% { transform: none; } 28% { transform: translateY(-10px); } 62% { transform: translateY(-10px); } 100% { transform: none; } }
@keyframes stbSquint { 0% { transform: none; } 30%, 70% { transform: scaleY(.45); } 100% { transform: none; } }
@keyframes stbGrin { 0% { transform: none; } 35%, 70% { transform: scale(1.06) rotate(-3deg); } 100% { transform: none; } }
@keyframes stbHop { 0% { transform: none; } 45% { transform: translateY(-26px); } 100% { transform: none; } }
@keyframes stbSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes stbChomp { 0% { transform: none; } 40% { transform: scale(1.05, .95); } 100% { transform: none; } }
.stb-float { animation: stbFloat 4s ease-in-out infinite; }
@keyframes stbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.stb-poke { display: block; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
.stb-poke:active .ch-all { transform: scale(.97); transition: transform 120ms var(--ease); }

/* speech bubbles */
.stb-say { position: relative; background: #fff; border-radius: 20px; padding: 12px 16px 14px; box-shadow: var(--shadow); font-weight: 500; font-size: 16px; line-height: 1.35; color: var(--ink); max-width: 300px; border: 2px solid var(--ink); }
.stb-say small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--deep); margin-bottom: 3px; }
.stb-say::after { content: ''; position: absolute; width: 18px; height: 18px; background: #fff; border: 2px solid var(--ink); border-top: 0; border-left: 0; transform: rotate(45deg); left: 42px; bottom: -10px; }
.stb-say.is-pop { animation: stbPop 520ms var(--ease) both; }
@keyframes stbPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.stb-say.is-big { font-size: clamp(18px, 1.7vw, 22px); max-width: 380px; padding: 16px 20px 18px; }

/* ---------- clouds ---------- */
.stb-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.stb-cl { position: absolute; fill: #fff; width: 220px; height: 110px; opacity: .95; will-change: transform; }
.stb-cl.c1 { left: -40px; top: 18%; width: 260px; height: 130px; }
.stb-cl.c2 { right: 4%; top: 8%; width: 170px; height: 85px; opacity: .8; }
.stb-cl.c3 { left: 38%; top: 72%; width: 300px; height: 150px; opacity: .7; }
.stb-cl.c4 { right: -50px; top: 56%; width: 220px; height: 110px; opacity: .9; }

/* =================== HERO =================== */
.stb-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #4AAEF5 0%, #8CCBF8 42%, #CFE6FB 74%, #F2F7FC 100%); padding: clamp(28px, 4vw, 56px) 0 clamp(70px, 8vw, 120px); }
.stb-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(760px, calc(100svh - 90px)); }
.stb-back { display: inline-flex; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink) !important; text-decoration: none; margin-bottom: 26px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .55); }
.stb-back:hover { background: #fff; }
.stb-app { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.stb-app img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 10px 24px -10px rgba(30, 32, 48, .6); }
.stb-app b { display: block; font-family: var(--fd); font-weight: 800; font-size: 28px; letter-spacing: -.03em; line-height: 1; }
.stb-app small { display: block; font-size: 14px; color: var(--ink2); margin-top: 4px; font-weight: 500; }
.stb-hero .stb-eyebrow { color: var(--ink); }
.stb-hero-art { position: relative; justify-self: end; width: min(100%, 540px); padding-bottom: 56px; }
.stb-pair { display: flex; width: min(84%, 450px); margin-left: auto; filter: drop-shadow(0 40px 50px rgba(31, 90, 150, .35)); }
.stb-pair .stb-phone { box-shadow: none; }
.stb-pair .is-left { border-radius: 26% 0 0 26% / 6% 0 0 6%; }
.stb-pair .is-right { border-radius: 0 26% 26% 0 / 0 6% 6% 0; }
.stb-pair { position: relative; }
.stb-pair figure .stb-soon { display: none !important; }
.stb-pair-soon { position: absolute; left: auto; right: 7%; bottom: 7%; z-index: 1; }
.stb-pair:has(img:not([src*="screen-soon"])) .stb-pair-soon { display: none; }
.stb-hero-puff { position: absolute; left: -6%; bottom: 0; width: 58%; z-index: 2; }
.stb-hero-puff .stb-say { position: absolute; left: 10%; bottom: 100%; width: max-content; max-width: 250px; margin-bottom: 4px; }
.stb-hint { position: absolute; left: 30%; top: 100%; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--deep); white-space: nowrap; transform: rotate(-4deg); }
.stb-hint::before { content: '↑ '; }
.puff-hero { filter: drop-shadow(0 18px 18px rgba(30, 60, 110, .25)); }

/* =================== GAP =================== */
.stb-gap { background: var(--page); padding-top: clamp(24px, 3vw, 40px); }
.stb-today { position: relative; max-width: 860px; margin: clamp(80px, 9vw, 120px) auto 0; background: #fff; border-radius: 36px; padding: clamp(70px, 7vw, 90px) clamp(20px, 5vw, 64px) clamp(32px, 4vw, 48px); text-align: center; box-shadow: var(--shadow); overflow: visible; }
.stb-today::before { content: ''; position: absolute; inset: 0 0 auto; height: 46%; border-radius: 36px 36px 0 0; background: linear-gradient(180deg, var(--sky), rgba(225, 240, 253, 0)); opacity: .45; pointer-events: none; }
.stb-today-puff { position: absolute; left: 50%; top: 0; width: clamp(130px, 15vw, 180px); transform: translate(-50%, -62%); }
.stb-today-label { position: relative; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.stb-timer { position: relative; font-size: clamp(56px, 12.5vw, 168px); line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; margin: 8px 0 18px; white-space: nowrap; }
.stb-timer i { font-style: normal; font-size: .42em; letter-spacing: -.02em; color: var(--hint); margin-left: .04em; }
.stb-timer .stb-sec-n { color: var(--deep); }
.stb-timer i.stb-sec-n { color: var(--sky); }
.stb-beat { max-width: 520px; margin: 0 auto; }
.stb-beat-line { font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); color: var(--deep); min-height: 1.5em; transition: color var(--t-fast); }
.stb-beat-bar { height: 12px; border-radius: 999px; background: var(--soft); margin: 12px 0 0; overflow: hidden; }
.stb-beat-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--sky); transition: width var(--t-med) var(--ease), background var(--t-med); }
.stb-beat.is-win .stb-beat-line { color: var(--win); }
.stb-beat.is-win .stb-beat-bar { background: var(--winbg); }
.stb-beat.is-win .stb-beat-bar i { background: var(--winbar); }
.stb-today-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.stb-today-say { min-height: 1.6em; margin-top: 18px; font-weight: 500; color: var(--ink); }
.stb-today-say:empty { margin-top: 0; }
.stb-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 860px; margin: 26px auto 0; }
.stb-ladder li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: #fff; font-weight: 500; font-size: 15px; color: var(--ink2); box-shadow: 0 1px 2px rgba(30, 32, 48, .05); transition: background var(--t-med), color var(--t-med); }
.stb-ladder b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--deep); font-size: 14px; }
.stb-ladder li.is-now { background: var(--soft); color: var(--ink); }
.stb-ladder li.is-done { background: var(--winbg); color: var(--win); }
.stb-ladder li.is-done b { background: var(--winbar); color: #fff; }

/* =================== TWO TAPS =================== */
.stb-taps { background: #fff; }
.stb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.stb-split.is-top { align-items: end; }
.stb-logger { background: var(--page); border-radius: 32px; padding: clamp(20px, 3vw, 32px); box-shadow: inset 0 0 0 1px rgba(31, 120, 191, .08); }
.stb-logger-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stb-step { font-weight: 700; color: var(--deep); }
.stb-count { font-size: 15px; color: var(--ink2); }
.stb-count b { font-family: var(--fd); font-size: 22px; color: var(--ink); }
.stb-segs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 12px 0 18px; }
.stb-segs i { height: 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(31, 120, 191, .15); transition: background var(--t-med) var(--ease); }
.stb-segs i.is-cig { background: #B23A1E; box-shadow: none; }
.stb-segs i.is-pouch { background: #11724F; box-shadow: none; }
.stb-segs i.is-vape { background: #5B3FC4; box-shadow: none; }
.stb-segs.is-over { outline: 2px dashed var(--hint); outline-offset: 4px; border-radius: 6px; }
.stb-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stb-pick button { min-height: 64px; border-radius: 20px; border: 0; font-weight: 700; font-size: 17px; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast); box-shadow: 0 2px 0 rgba(30, 32, 48, .08); }
.stb-pick button:hover { transform: translateY(-2px); box-shadow: 0 6px 14px -6px rgba(30, 32, 48, .25); }
.stb-pick button:active { transform: translateY(1px); }
.stb-pick.is-why button { background: #fff; color: var(--ink); min-height: 52px; font-size: 16px; box-shadow: inset 0 0 0 2px var(--soft); }
.stb-pick.is-why button:hover { box-shadow: inset 0 0 0 2px var(--sky); }
.stb-reply { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: end; margin-top: 22px; min-height: 120px; }
.stb-reply-coach { position: relative; }
.stb-reply-coach .is-pillow { display: none; }
.stb-reply.is-pillow .is-pillow { display: block; }
.stb-reply.is-pillow .is-puff { display: none; }
.stb-bubble { background: #fff; border-radius: 22px 22px 22px 6px; padding: 14px 18px 16px; font-weight: 500; font-size: 17px; line-height: 1.4; box-shadow: var(--shadow); margin-bottom: 26px; }
.stb-bubble small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--deep); margin-bottom: 3px; }
.stb-bubble.is-pop { animation: stbPop 520ms var(--ease) both; }

.stb-progress { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(80px, 10vw, 140px); }
.stb-progress-phone { max-width: 300px; justify-self: center; width: 100%; }
.stb-report { margin-top: 28px; background: var(--page); border-radius: 28px; padding: clamp(20px, 3vw, 30px); }
.stb-grade { display: flex; gap: 18px; align-items: center; }
.stb-grade > span { flex: none; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--winbg); color: var(--win); font-family: var(--fd); font-weight: 800; font-size: 54px; border: 2.5px solid var(--win); rotate: -4deg; }
.stb-grade p { font-family: var(--fd); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; letter-spacing: -.02em; }
.stb-grade small { display: block; font-family: var(--fb); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--hint); margin-bottom: 4px; font-weight: 700; }
.stb-wins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.stb-wins li { background: #fff; border-radius: 20px; padding: 16px; }
.stb-wins b { display: block; font-family: var(--fd); font-weight: 800; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; color: var(--win); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stb-wins span { font-size: 14px; color: var(--ink2); }

/* =================== VOICES =================== */
.stb-voices { background: var(--soft); overflow: hidden; }
.stb-voice-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .62fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.stb-voice-puff { display: grid; justify-items: center; gap: 18px; }
.stb-voice-puff .stb-say { min-height: 96px; width: 100%; }
.stb-voice-puff .stb-float { width: min(100%, 300px); }
.stb-voice-list { display: grid; gap: 10px; }
.stb-voice-list [role="radio"] { text-align: left; display: grid; gap: 2px; padding: 16px 20px; border-radius: 22px; border: 2.5px solid transparent; background: #fff; transition: border-color var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-fast); }
.stb-voice-list [role="radio"]:hover { transform: translateX(4px); }
.stb-voice-list [role="radio"] b { font-family: var(--fd); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.stb-voice-list [role="radio"] span { color: var(--ink2); font-size: 16px; }
.stb-voice-list [aria-checked="true"] { border-color: var(--ink); box-shadow: 0 5px 0 var(--ink); transform: translateY(-2px); }
.stb-voice-list [aria-checked="true"] b { color: var(--deep); }
.stb-meter { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--hint); text-transform: uppercase; letter-spacing: .06em; }
.stb-meter i { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #fff, var(--sky), var(--deep)); }
.stb-meter i::after { content: ''; position: absolute; top: 50%; left: var(--m, 50%); width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); transform: translate(-50%, -50%); transition: left var(--t-slow) var(--ease), opacity var(--t-med); }
.stb-meter i.is-flat::after { opacity: .25; }
.stb-voice-phone { max-width: 260px; justify-self: center; width: 100%; }

/* =================== BREATHER (night) =================== */
.stb-night { background: linear-gradient(180deg, var(--night) 0%, var(--night2) 100%); color: #EAF4FE; overflow: hidden; }
.stb-night .stb-eyebrow { color: #8FCBFA; }
.stb-night .stb-p { color: #B9D3EE; }
.stb-stars { position: absolute; inset: 0; pointer-events: none; opacity: .8; background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 42%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 44% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 30%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 82% 16%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 48%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 6% 60%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 52% 64%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 74% 84%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 20% 90%, #fff 50%, transparent 51%); }
.stb-night-head { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 48px; align-items: end; }
.stb-night-phone .stb-phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 70px -30px rgba(0, 0, 0, .6); }
.stb-halves { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 5vw, 64px); border-radius: 36px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6); }
.stb-half { position: relative; display: grid; justify-items: center; align-content: start; gap: 16px; padding: clamp(24px, 4vw, 44px); min-height: 520px; text-align: center; }
.stb-half.is-light { background: linear-gradient(180deg, #F2F7FC, var(--soft)); color: var(--ink); }
.stb-half.is-dark { background: radial-gradient(120% 80% at 50% 110%, rgba(74, 174, 245, .22), transparent 60%), #08142A; }
.stb-half-t { font-family: var(--fd); font-weight: 800; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1; }
.stb-half-t small { display: block; font-family: var(--fb); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; color: var(--deep); }
.stb-half.is-dark .stb-half-t small { color: #8FCBFA; }
.stb-lung { position: relative; width: min(100%, 280px); aspect-ratio: 1; display: grid; place-items: center; margin: 10px 0; }
.stb-ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(74, 174, 245, .28), rgba(74, 174, 245, .06) 70%); box-shadow: 0 0 0 2px rgba(74, 174, 245, .35); transform: scale(.78); transition: transform 4s var(--ease-io); }
.stb-lung-puff { position: relative; width: 64%; transition: transform 4s var(--ease-io); }
.stb-night.is-in-breath .stb-ring { transform: scale(1.02); transition-duration: 4s; }
.stb-night.is-in-breath .stb-lung-puff { transform: scale(1.14); transition-duration: 4s; }
.stb-night.is-out-breath .stb-ring, .stb-night.is-out-breath .stb-lung-puff { transition-duration: 6s; }
.stb-breath-text { font-weight: 700; font-size: 18px; min-height: 1.5em; color: var(--ink); }
.stb-excuses { position: relative; width: 100%; flex: 1; min-height: 360px; }
.stb-xc { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) rotate(var(--t, 0deg)); border: 0; padding: 0; background: none; width: var(--w, 140px); aspect-ratio: 2 / 1; color: #EAF4FE; font-weight: 700; font-size: 15px; transition: opacity var(--t-fast); }
.stb-xc svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(74, 174, 245, .16); stroke: rgba(143, 203, 250, .75); stroke-width: 3; filter: drop-shadow(0 0 14px rgba(74, 174, 245, .55)); overflow: visible; }
.stb-xc span { position: relative; display: block; padding-top: 8%; }
.stb-xc:hover svg { fill: rgba(74, 174, 245, .28); }
.stb-xc.is-popped { opacity: 0; pointer-events: none; }
.stb-wisp { position: absolute; border-radius: 50%; background: rgba(143, 203, 250, .7); box-shadow: 0 0 12px rgba(74, 174, 245, .8); pointer-events: none; }
.stb-cheer { font-weight: 700; color: #EAF4FE; min-height: 1.5em; }

/* =================== HARDCORE (gilded) =================== */
.stb-gilded { background: var(--gilded); }
.stb-gilded .stb-h2 { color: var(--ink); }
.stb-gilded .stb-p { color: #5A4E2C; }
.stb-jar { position: relative; padding-top: 110px; }
.stb-jar-puff { position: absolute; top: 0; right: 8%; width: 190px; z-index: 3; }
.stb-jar-puff .is-drained { display: none; }
.stb-jar.is-drained .stb-jar-puff .is-greedy { display: none; }
.stb-jar.is-drained .stb-jar-puff .is-drained { display: block; }
.stb-jar-card { position: relative; background: var(--ink); color: #FFF8DC; border-radius: 30px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 40px 70px -30px rgba(122, 91, 0, .55); }
.stb-jar-k { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.stb-jar-t { font-size: clamp(28px, 3vw, 40px); line-height: 1; margin: 8px 0 22px; color: #fff; }
.stb-jar-l { font-size: 14px; font-weight: 700; color: #E6D9A8; margin-bottom: 8px; }
.stb-prices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 18px; }
.stb-prices button { min-height: 52px; border-radius: 16px; border: 2px solid rgba(255, 216, 77, .35); background: rgba(255, 216, 77, .06); color: #FFF8DC; font-family: var(--fd); font-weight: 800; font-size: 22px; transition: background var(--t-fast), border-color var(--t-fast); }
.stb-prices button::after { content: ' Stubs'; font-family: var(--fb); font-size: 12px; font-weight: 700; opacity: .7; }
.stb-prices [aria-checked="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.stb-switch { display: flex; align-items: center; gap: 12px; font-weight: 500; margin: 10px 0; cursor: pointer; color: #FFF8DC; }
.stb-switch input, .stb-tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stb-switch span { flex: none; width: 46px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, .16); position: relative; transition: background var(--t-fast); }
.stb-switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform var(--t-med) var(--ease); }
.stb-switch input:checked + span { background: var(--gold); }
.stb-switch input:checked + span::after { transform: translateX(18px); }
.stb-switch input:focus-visible + span, .stb-tick input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.stb-badday { margin: 18px 0; padding: 14px 16px; border-radius: 18px; background: rgba(255, 216, 77, .1); border: 1.5px solid rgba(255, 216, 77, .3); font-weight: 500; }
.stb-badday b { font-family: var(--fd); font-size: 26px; color: var(--gold); font-variant-numeric: tabular-nums; }
.stb-badday small { display: block; font-size: 13px; color: #CDBF8C; }
.stb-tick { display: flex; align-items: center; gap: 12px; font-weight: 700; margin: 6px 0 18px; cursor: pointer; }
.stb-tick span { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 2.5px solid var(--gold); display: grid; place-items: center; transition: background var(--t-fast); }
.stb-tick input:checked + span { background: var(--gold); }
.stb-tick input:checked + span::after { content: '✓'; color: var(--ink); font-weight: 800; }
.stb-bal { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 12px; }
.stb-bal svg { width: 46px; height: 46px; }
.stb-bal b { font-size: clamp(56px, 6vw, 80px); line-height: .9; color: var(--gold); font-variant-numeric: tabular-nums; }
.stb-bal small { flex-basis: 100%; font-size: 15px; color: #CDBF8C; }
.stb-jar-say { min-height: 3em; font-weight: 500; color: #fff; }
.stb-jar-say.is-pop { animation: stbPop 520ms var(--ease) both; }
.stb-jar-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.stb-week { font-size: 14px; color: #CDBF8C; }
.stb-week b { color: var(--gold); }
.stb-arena { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: visible; }
.stb-coin { position: absolute; width: 30px; height: 30px; left: 0; top: 0; }
.stb-hc-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(64px, 8vw, 110px); }
.stb-hc-phones { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 26px); max-width: 480px; justify-self: center; width: 100%; }
.stb-hc-phones .stb-phone { background: var(--goldbg); box-shadow: 0 0 0 1px var(--goldline), 0 40px 70px -30px rgba(122, 91, 0, .45); }
.stb-hc-phones .stb-phone:nth-child(2) { margin-top: 48px; }
.stb-rules { display: grid; gap: 12px; }
.stb-rules li { background: #fff; border-radius: 20px; padding: 16px 20px; color: var(--ink2); box-shadow: inset 0 0 0 1.5px var(--goldline); }
.stb-rules b { color: var(--ink); }

/* =================== THROWBACKS =================== */
.stb-throw { background: var(--page); }
.stb-throw .stb-split { grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); }
.stb-throw-phone { max-width: 230px; justify-self: end; width: 100%; }
.stb-stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(40px, 6vw, 72px); }
.stb-story { position: relative; border-radius: 28px; padding: 22px 22px 26px; aspect-ratio: 9 / 13; display: flex; flex-direction: column; overflow: visible; box-shadow: var(--shadow); }
.stb-story::before { content: ''; position: absolute; left: 18px; right: 18px; top: 12px; height: 3px; border-radius: 3px; background: currentColor; opacity: .25; }
.stb-story-k { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-top: 12px; }
.stb-story-n { font-size: clamp(40px, 4.2vw, 62px); line-height: .95; margin: auto 0 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stb-story-t { font-weight: 500; font-size: 16px; line-height: 1.35; min-height: 4.1em; }
.sky-gold .stb-story-t { padding-right: 88px; }
.sky-day { background: linear-gradient(180deg, #4AAEF5, #E1F0FD 85%); color: var(--ink); }
.sky-day .stb-story-k { color: #0F4C80; }
.sky-gold { background: linear-gradient(180deg, #FF8F62, #FFE8DD 85%); color: var(--ink); }
.sky-gold .stb-story-k { color: #8A3514; }
.sky-night { background: linear-gradient(180deg, #2B2470, #5B4BC4 70%, #A99BFF); color: #fff; }
.sky-night .stb-story-k { color: #ECE8FF; }
.sky-aurora { background: linear-gradient(180deg, #0B2A33, #0E7F5C 65%, #3FD9A3); color: #fff; }
.sky-aurora .stb-story-k { color: #DAF5EA; }
.stb-story-puff { position: absolute; right: 14px; bottom: 16px; width: 92px; }

/* =================== OUTFITS + WIDGETS =================== */
.stb-dress { background: #fff; }
.stb-dress-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.stb-dress-phones { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 26px); max-width: 480px; justify-self: center; width: 100%; }
.stb-dress-phones .stb-phone:nth-child(2) { margin-top: 56px; }
.stb-dress-copy { display: grid; gap: 22px; }
.stb-closet, .stb-widget { border-radius: 24px; padding: 18px 22px; }
.stb-closet { background: var(--page); }
.stb-closet-k, .stb-widget-k { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.stb-closet-bar { height: 12px; border-radius: 999px; background: var(--winbg); margin: 10px 0 8px; overflow: hidden; }
.stb-closet-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--winbar); }
.stb-closet-t { font-size: 15px; color: var(--ink2); }
.stb-closet-t b { color: var(--win); }
.stb-widget { position: relative; width: min(100%, 340px); background: linear-gradient(160deg, var(--sky), #9CD2FA); color: var(--ink); box-shadow: var(--shadow); }
.stb-widget-k { color: #0F4C80; }
.stb-widget-n { font-family: var(--fd); font-weight: 800; font-size: 48px; letter-spacing: -.04em; line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stb-widget-puff { position: absolute; right: 12px; bottom: 10px; width: 84px; }

/* =================== PILLOW =================== */
.stb-pillow { background: var(--soft); overflow: hidden; }
.stb-pillow-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, .55fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.stb-pillow-art { position: relative; padding-top: 110px; }
.stb-pillow-art .stb-say { position: absolute; top: 0; left: 8%; width: max-content; max-width: 260px; }
.stb-pillow-phone { max-width: 230px; width: 100%; justify-self: center; }

/* =================== CREW =================== */
.stb-crew { background: var(--page); }
.stb-crew-ui { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 20px; align-items: start; }
.stb-crew-list { display: grid; gap: 10px; grid-column: 1; }
.stb-crew-list li { display: grid; grid-template-columns: 44px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: #fff; border-radius: 20px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(30, 32, 48, .06); }
.stb-av { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--h); color: var(--ink); font-family: var(--fd); font-weight: 800; font-size: 18px; border: 2px solid var(--ink); }
.stb-crew-list b { font-weight: 700; }
.stb-crew-list small { grid-column: 2; font-size: 14px; color: var(--hint); }
.stb-crew-list em { grid-column: 3; grid-row: 1 / span 2; font-style: normal; font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 999px; background: var(--page); color: var(--ink2); }
.stb-crew-list em.is-win { background: var(--winbg); color: var(--win); }
.stb-nochat { grid-column: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-radius: 999px; padding: 12px 18px; background: #fff; border: 2px dashed rgba(31, 120, 191, .35); }
.stb-nochat span { color: var(--hint); text-decoration: line-through; text-decoration-thickness: 2px; }
.stb-nochat b { font-size: 14px; color: var(--deep); }
.stb-crew-phone { grid-column: 2; grid-row: 1 / span 2; }

/* =================== PRIVACY =================== */
.stb-private { background: var(--ink); color: #F2F7FC; }
.stb-private .stb-eyebrow { color: #8FCBFA; }
.stb-private-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.stb-promise { margin: 26px 0 26px; padding: 0 0 0 22px; border-left: 4px solid var(--sky); }
.stb-promise p { font-family: var(--fd); font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.2; letter-spacing: -.02em; color: #fff; max-width: 30ch; }
.stb-private .stb-links a { color: #8FCBFA; }
.stb-private .stb-links a:hover { color: #fff; }
.stb-private-art { position: relative; max-width: 280px; justify-self: center; width: 100%; }
.stb-private-puff { position: absolute; left: -46%; bottom: 8%; width: 70%; z-index: 2; }
.stb-private .stb-phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 70px -30px rgba(0, 0, 0, .7); }
.stb-links { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 700; }

/* =================== ENDING (golden hour) =================== */
.stb-end { background: linear-gradient(180deg, #F2F7FC 0%, #FFE8DD 40%, #FFC2A4 100%); overflow: hidden; padding-bottom: clamp(40px, 6vw, 80px); }
.stb-sky.is-dusk .stb-cl { fill: #fff; opacity: .7; }
.stb-sky.is-dusk .c1 { top: 28%; }
.stb-sky.is-dusk .c3 { top: auto; bottom: 4%; left: auto; right: -60px; }
.stb-langs { max-width: 900px; }
.stb-lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.stb-lang-chips li { padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; color: var(--ink); box-shadow: 0 1px 2px rgba(30, 32, 48, .06); }
.stb-end-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.stb-price, .stb-facts { background: #fff; border-radius: 28px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.stb-price .stb-jar-k { color: var(--deep); }
.stb-price-t { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.02em; margin-top: 10px; }
.stb-facts ul { display: grid; gap: 10px; margin-bottom: 18px; }
.stb-facts li { padding-left: 26px; position: relative; font-weight: 500; }
.stb-facts li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--soft); box-shadow: inset 0 0 0 3px var(--sky); }
.stb-final { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: clamp(60px, 8vw, 110px); }
.stb-final-puff { position: relative; padding-top: 110px; max-width: 360px; justify-self: center; width: 100%; }
.stb-final-puff .stb-say { position: absolute; top: 0; left: 12%; width: max-content; max-width: 250px; }
.stb-final-t { font-size: clamp(56px, 8vw, 120px); line-height: .9; letter-spacing: -.05em; margin-bottom: 24px; }
.stb-sheet { max-width: 760px; margin: clamp(60px, 8vw, 100px) auto 0; background: #fff; border-radius: 32px 32px 32px 32px; padding: 14px clamp(22px, 4vw, 44px) clamp(28px, 4vw, 40px); text-align: center; box-shadow: 0 -10px 60px -20px rgba(194, 82, 42, .35); }
.stb-grabber { display: block; width: 44px; height: 5px; border-radius: 3px; background: #D8DBE4; margin: 0 auto 22px; }
.stb-sheet-k { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); }
.stb-sheet-t { font-size: clamp(30px, 3.6vw, 48px); line-height: 1; margin: 10px 0 14px; letter-spacing: -.035em; }
.stb-sheet .stb-p { margin: 0 auto; }
.stb-sheet-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* pause loops in off-screen sections */
.stb > section.is-off *, .stb > section.is-off *::before, .stb > section.is-off *::after { animation-play-state: paused !important; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1080px) {
  .stb-voice-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stb-voice-phone { display: none; }
  .stb-pillow-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stb-pillow-phone { grid-column: 2; max-width: 200px; justify-self: start; }
}
@media (max-width: 900px) {
  .stb { font-size: 16px; }
  .stb-hero-in, .stb-split, .stb-progress, .stb-hc-grid, .stb-dress-in, .stb-private-in, .stb-final, .stb-end-grid { grid-template-columns: minmax(0, 1fr); }
  .stb-hero-in { min-height: 0; }
  .stb-hero-art { width: min(100%, 420px); margin-top: 20px; padding-bottom: 30px; }
  .stb-progress-phone { order: 2; max-width: 240px; }
  .stb-night-head { grid-template-columns: minmax(0, 1fr) 150px; gap: 20px; }
  .stb-halves { grid-template-columns: minmax(0, 1fr); }
  .stb-half { min-height: 0; }
  .stb-stories { grid-template-columns: repeat(4, 74%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 50px var(--g) 16px; margin: 0 calc(var(--g) * -1); scrollbar-width: none; }
  .stb-stories::-webkit-scrollbar { display: none; }
  .stb-story { scroll-snap-align: center; aspect-ratio: auto; min-height: 300px; }
  .stb-throw-phone { justify-self: center; max-width: 200px; }
  .stb-jar { margin-top: 20px; }
  .stb-pillow-in { grid-template-columns: minmax(0, 1fr); }
  .stb-pillow-art { max-width: 340px; justify-self: center; width: 100%; }
  .stb-pillow-phone { grid-column: auto; justify-self: center; }
  .stb-private-art { max-width: 220px; margin-left: 30%; }
  .stb-final-copy { text-align: left; }
}
@media (max-width: 640px) {
  .stb-voice-stage { grid-template-columns: minmax(0, 1fr); }
  .stb-ladder { grid-template-columns: minmax(0, 1fr); }
  .stb-wins { grid-template-columns: minmax(0, 1fr); }
  .stb-wins li { display: flex; align-items: baseline; gap: 12px; }
  .stb-reply { grid-template-columns: 84px 1fr; }
  .stb-pick button { min-height: 56px; font-size: 15px; }
  .stb-crew-ui { grid-template-columns: minmax(0, 1fr); }
  .stb-crew-phone { grid-column: 1; grid-row: auto; max-width: 200px; justify-self: center; width: 100%; }
  .stb-hc-phones, .stb-dress-phones { max-width: 340px; }
  .stb-night-head { grid-template-columns: minmax(0, 1fr); }
  .stb-night-phone { max-width: 150px; }
  .stb-progress-phone, .stb-throw-phone, .stb-pillow-phone, .stb-crew-phone { max-width: 180px; }
  .stb-jar-puff { width: 150px; right: 2%; }
  .stb-jar { padding-top: 90px; }
  .stb-hero-puff { width: 54%; left: -2%; }
  .stb-hero .stb-cl.c2 { display: none; }
  .stb-hero .stb-cl.c1 { top: 2%; width: 150px; height: 75px; left: auto; right: -40px; }
  .stb-hero-puff .stb-say { max-width: 210px; font-size: 15px; }
  .stb-pair { width: 74%; }
  .stb-today { border-radius: 28px; }
  .stb-timer { font-size: clamp(44px, 14vw, 64px); }
  .stb-prices button::after { content: ''; }
  .stb-excuses { min-height: 320px; }
  .stb-private-art { margin-left: 34%; max-width: 180px; }
  .stb-private-puff { left: -84%; width: 80%; }
}

/* =================== REDUCED MOTION =================== */
@media (prefers-reduced-motion: reduce) {
  .stb *, .stb *::before, .stb *::after { animation: none !important; transition-duration: 1ms !important; }
  .stb-js .stb [data-rv], .stb-js .stb [data-rv] .stb-phone { transform: none !important; translate: none !important; transition: opacity 400ms linear !important; }
  .stb-js .stb .ln > span { transform: none !important; }
  .stb-ring, .stb-lung-puff { transform: none !important; }
}

/* 2 Dec: the ten languages on two crossing ribbons */
.stb-xbars { position: relative; height: 190px; margin: 34px calc(50% - 50vw) 30px; width: 100vw; overflow: hidden; }
.stb-xbar { position: absolute; left: -5%; right: -5%; top: 50%; padding: 16px 0; overflow: hidden; box-shadow: 0 10px 30px rgba(30, 32, 48, .12); }
.stb-xbar.xa { background: #4AAEF5; color: #fff; transform: translateY(-50%) rotate(-4deg); z-index: 1; }
.stb-xbar.xb { background: #fff; color: #1E2030; transform: translateY(-50%) rotate(3.5deg); }
.stb-xtrack { display: flex; align-items: center; gap: 26px; width: max-content; font: 800 clamp(24px, 3.2vw, 40px)/1 'Bricolage Grotesque', sans-serif; letter-spacing: -.01em; white-space: nowrap; animation: stb-x 38s linear infinite; }
.stb-xbar.xb .stb-xtrack { animation-direction: reverse; animation-duration: 44s; }
.stb-xtrack i { font-style: normal; font-size: .6em; opacity: .7; }
.stb-xbar.xa .stb-xtrack i { color: #FFE9A8; } .stb-xbar.xb .stb-xtrack i { color: #4AAEF5; opacity: 1; }
@keyframes stb-x { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .stb-xbars { height: 140px; } .stb-xbar { padding: 12px 0; } }
@media (prefers-reduced-motion: reduce) { .stb-xtrack { animation: none; } }

/* 4 Dec (review): on phones Puff and the Today phone come straight after the headline, inside the first screen;
   the lede, chips and store badges follow. Tighter top spacing so the art lands above the fold at 375×667. */
@media (max-width: 640px) {
  .stb-hero { padding-top: 18px; }
  .stb-hero-in { gap: 0; }
  .stb-hero-copy { display: contents; }
  .stb-back { order: 1; justify-self: start; margin-bottom: 14px; }
  .stb-app { order: 2; margin-bottom: 14px; }
  .stb-app img { width: 48px; height: 48px; border-radius: 12px; }
  .stb-app b { font-size: 24px; }
  .stb-hero .stb-eyebrow { order: 3; }
  .stb-hero .stb-h1 { order: 4; }
  .stb-hero-art { order: 5; justify-self: center; width: min(100%, 330px); margin-top: 6px; padding-bottom: 16px; margin-bottom: 34px; } /* room for "Go on, poke him" */
  .stb-hero .stb-lede { order: 6; }
  .stb-hero .stb-chips { order: 7; }
  .stb-hero .stb-store { order: 8; }
}
