/* Waxbug landing page (served at / to every browser; see server/api/landing.js).
   Mobile first. No framework, no animation library.

   BRAND TOKENS — colours and typography. The logo is Otis + the wordmark (/brand/otis-logo.svg,
   /brand/otis-mark.svg, made from brand/otis-v1). Nothing below this block hard-codes a brand colour or font. */
/* Figtree (variable, 300–900; Latin), served from this site and preloaded by index.html.
   Fontsource's copy, SIL Open Font License 1.1 (fonts/OFL.txt). */
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --wb-bg: #f6f1e7;            /* warm cream ground */
  --wb-bg-2: #fbf8f1;          /* raised surface */
  --wb-ink: #1f1d1a;           /* charcoal text */
  --wb-ink-2: #55514a;         /* secondary text (7:1 on the ground) */
  --wb-line: rgb(31 29 26 / .1);
  --wb-olive: #8d9161;
  --wb-olive-soft: #e3e3cb;
  --wb-gold: #c9a34e;
  --wb-gold-soft: #f1e3bd;
  --wb-blue: #a9c8e6;
  --wb-blue-soft: #dceaf6;
  --wb-cta: #1f1d1a;           /* Open App button */
  --wb-cta-ink: #fbf8f1;
  --wb-accent-ink: #6f5a1f;    /* gold headline accent (5.9:1 on the ground) */

  /* One sans family for everything. Figtree at 700 is the closest match to the lowercase waxbug
     wordmark (open round bowls, two-storey a, single-storey g, a confident bold rather than black),
     and it is already the app's body face. Headings differ from body text by weight and size only. */
  --wb-font-display: "Figtree", -apple-system, "Segoe UI", Roboto, sans-serif;
  --wb-font-body: "Figtree", -apple-system, "Segoe UI", Roboto, sans-serif;
  --wb-font-logo: var(--wb-font-display);

  --wb-radius: 22px;
  --wb-radius-lg: 32px;
  --wb-shadow: 0 1px 2px rgb(31 29 26 / .06), 0 18px 40px -18px rgb(60 48 20 / .28);
  --wb-gutter: 20px;
  --wb-max: 1160px;
  --wb-top-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--wb-top-h) + 12px); }
body {
  margin: 0; background: var(--wb-bg); color: var(--wb-ink);
  font: 400 17px/1.55 var(--wb-font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--wb-max); margin: 0 auto; padding: 0 var(--wb-gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--wb-ink); color: var(--wb-bg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--wb-gold); outline-offset: 3px; border-radius: 6px; }

/* ---- type ---- */
.eyebrow { font: 600 12.5px/1 var(--wb-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--wb-ink-2); margin-bottom: 16px; }
.display { font: 700 clamp(38px, 10vw, 80px)/1.02 var(--wb-font-display); letter-spacing: -.03em; text-wrap: balance; }
.display em { font-style: normal; color: var(--wb-accent-ink); } /* the gold accent, in the same face */
.display--md { font-size: clamp(32px, 8vw, 54px); line-height: 1.04; }
.lede { font-size: clamp(18px, 4.6vw, 22px); line-height: 1.45; color: var(--wb-ink-2); margin-top: 20px; }
.lede--sm { font-size: 18px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--wb-font-body); text-decoration: none; white-space: nowrap; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn--cta { background: var(--wb-cta); color: var(--wb-cta-ink); box-shadow: 0 6px 18px -8px rgb(31 29 26 / .6); }
.btn--cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgb(31 29 26 / .7); }
.btn--ghost { background: transparent; border: 1.5px solid var(--wb-line); }
.btn--ghost:hover { background: var(--wb-bg-2); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16.5px; }

/* ---- sticky header ---- */
.top { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top); background: rgb(246 241 231 / .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .25s ease; }
.top.is-scrolled { box-shadow: 0 1px 0 var(--wb-line); }
.top__inner { max-width: var(--wb-max); margin: 0 auto; height: var(--wb-top-h); padding: 0 var(--wb-gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand__logo { display: block; height: 40px; width: auto; }
@media (min-width: 720px) { .brand__logo { height: 46px; } }
.top__cta { padding: 0 18px; }

/* ---- 1. hero ---- */
.hero { position: relative; padding: 32px 0 40px; overflow: hidden; isolation: isolate; }
.hero::before { /* olive, gold and baby-blue light */
  content: ""; position: absolute; inset: -20% -30% 10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 38% at 18% 22%, rgb(141 145 97 / .22), transparent 70%),
    radial-gradient(38% 34% at 85% 18%, rgb(169 200 230 / .45), transparent 70%),
    radial-gradient(45% 40% at 60% 75%, rgb(201 163 78 / .2), transparent 70%);
}
/* One column, one left edge: eyebrow, headline, description, buttons and hint all start here. */
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero__copy .lede { max-width: 30em; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* Open Waxbug + Join the Beta, and the line under them (hero and final section). */
.cta-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-note { margin-top: 12px; font: 500 14px/1.4 var(--wb-font-body); color: var(--wb-ink-2); }
.final .cta-note { margin-top: -12px; }
/* The album covers: two rows drifting slowly in opposite directions, full width under the copy.
   Each row holds its tiles twice, so moving it by half its width loops seamlessly. Transform only,
   on the compositor; paused off screen and under a mouse (never by touch), still under reduced
   motion (landing.js). */
.covers { margin-top: 40px; display: grid; gap: 14px; overflow: hidden; }
/* The covers' room is kept from the first paint, so nothing below moves when landing.js fills the
   rows (it shows them by lifting [hidden]): two rows of tiles (.disc's size) and the gap between. */
.js .covers { min-height: calc(2 * clamp(118px, 30vw, 188px) + 14px); }
/* !important: the page-wide [hidden] rule above is !important too, and must not win here, or the
   room collapses until landing.js runs and everything below jumps when it does (desktop CLS). */
.js .covers[hidden] { display: grid !important; visibility: hidden; }
.covers__row { display: flex; gap: 14px; width: max-content; padding-left: 14px; }
.covers__row.is-moving { animation: drift 110s linear infinite; will-change: transform; }
.covers__row--reverse.is-moving { animation-direction: reverse; }
/* Paused under a mouse only (a computer: hold still to read a title). On a phone a finger that lands
   on the covers while scrolling past counts as a hover, and iOS keeps it, so the rows stopped and
   stayed stopped: touch never pauses them (owner, 13 Nov 2026). Off screen they rest, unseen. */
@media (hover: hover) and (pointer: fine) { .covers:hover .covers__row { animation-play-state: paused; } }
.covers.is-off .covers__row { animation-play-state: paused; }
@keyframes drift { to { transform: translate3d(-50%, 0, 0); } }
.covers__pool { display: none; }
.disc {
  position: relative; flex: none; width: clamp(118px, 30vw, 188px); aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: linear-gradient(145deg, var(--c1), color-mix(in srgb, var(--c1) 55%, var(--c2)));
  color: #fbf8f1; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--wb-shadow);
}
.disc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgb(20 16 10 / .55)); }
.disc__title, .disc__artist { position: relative; }
.disc__title { font: 700 clamp(15px, 3.6vw, 19px)/1.08 var(--wb-font-display); letter-spacing: -.01em; }
.disc__artist { font: 600 11px/1.3 var(--wb-font-body); letter-spacing: .06em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.disc img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; }
.disc img.is-loaded { opacity: 1; }

/* ---- phone frame: real app screenshots from /landing/shots/<feature>.jpg ----
   The frame takes the screenshot's own shape: nothing is cropped or stretched. To replace one, save
   an iPhone screenshot at 600 px wide under the same name (keep it under ~150 KB). */
.phone { position: relative; width: min(280px, 72vw); border-radius: 38px; padding: 9px; background: #191816; box-shadow: 0 30px 60px -28px rgb(31 29 26 / .55), inset 0 0 0 1.5px rgb(255 255 255 / .08); }
.phone img { width: 100%; height: auto; border-radius: 30px; background: var(--wb-bg-2); }

/* ---- 2. experience carousel ---- */
.exp { padding: 48px 0 44px; }
.exp__head .display { max-width: 15ch; }
.exp__lede { max-width: 34em; margin-top: 14px; text-wrap: balance; }
.exp__tabs { display: none; }
.exp__viewport { margin-top: 28px; }
.exp__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px var(--wb-gutter) 24px; scroll-padding: 0 var(--wb-gutter); scrollbar-width: none;
}
.exp__track::-webkit-scrollbar { display: none; }
.feat {
  flex: none; width: min(88vw, 420px); scroll-snap-align: start; border-radius: var(--wb-radius-lg); padding: 26px 22px 0;
  display: flex; flex-direction: column; gap: 24px; overflow: hidden; background: var(--wb-bg-2); box-shadow: var(--wb-shadow);
}
.feat__num { font: 600 12.5px/1 var(--wb-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--wb-ink-2); margin-bottom: 12px; }
.feat__title { font: 700 clamp(28px, 7vw, 38px)/1.06 var(--wb-font-display); letter-spacing: -.025em; margin-bottom: 12px; }
.feat__text p:last-child { color: var(--wb-ink-2); font-size: 16px; }
.feat__art { position: relative; margin-top: auto; display: flex; justify-content: center; padding-bottom: 28px; }
/* The same phone size and position on every card; each card keeps its own ambient colour. */
.feat__art .phone { width: min(220px, 58vw); }
.feat--rate { background: linear-gradient(160deg, var(--wb-gold-soft), var(--wb-bg-2) 70%); }
.feat--collect { background: linear-gradient(170deg, var(--wb-olive-soft), var(--wb-bg-2) 75%); }
.feat--discover { background: linear-gradient(160deg, var(--wb-blue-soft), var(--wb-bg-2) 72%); }
.feat--discuss { background: linear-gradient(160deg, var(--wb-blue-soft), var(--wb-bg-2) 72%); } /* sky, like its screenshot */
.exp__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--wb-line); background: var(--wb-bg-2); color: var(--wb-ink); font: 500 20px/1 var(--wb-font-body); cursor: pointer; transition: background-color .2s ease, opacity .2s ease; }
.arrow:hover { background: #fff; }
.arrow:disabled { opacity: .35; cursor: default; }
/* The four progress ticks: they fill to the current card as you swipe. */
.exp__ticks { display: flex; gap: 6px; justify-content: center; margin-top: 4px; }
.exp__ticks i { width: 22px; height: 3px; border-radius: 3px; background: var(--wb-line); transition: background-color .3s ease; }
.exp__ticks i.is-on { background: var(--wb-gold); }
.exp__count { font: 600 14px/1 var(--wb-font-body); letter-spacing: .08em; color: var(--wb-ink-2); min-width: 64px; text-align: center; }

/* The ambient light behind the whole page: one soft layer per colour, mixed by landing.js as you
   scroll, so the sections flow into one another instead of each painting its own patch. Fixed and
   as tall as the largest viewport, so the iPhone address bar never uncovers an edge. */
.ambient { position: fixed; top: 0; left: 0; right: 0; height: 100vh; z-index: -1; pointer-events: none; }
@supports (height: 1lvh) { .ambient { height: 100lvh; } }
/* Each layer is drawn at a quarter size and scaled up: soft gradients look the same, and the
   phone keeps a sixteenth of the memory for them. */
.ambient__l { position: absolute; top: 0; left: 0; width: 25%; height: 25%; transform: scale(4); transform-origin: 0 0; opacity: 0; will-change: opacity; }
.ambient__l--gold { background: radial-gradient(75% 55% at 70% 42%, var(--wb-gold-soft), transparent 75%), radial-gradient(60% 45% at 15% 85%, rgb(201 163 78 / .16), transparent 75%); }
.ambient__l--olive { background: radial-gradient(75% 55% at 70% 45%, var(--wb-olive-soft), transparent 75%), radial-gradient(60% 45% at 20% 15%, rgb(141 145 97 / .16), transparent 75%); }
.ambient__l--sky { background: radial-gradient(75% 55% at 68% 45%, var(--wb-blue-soft), transparent 75%), radial-gradient(55% 45% at 18% 80%, rgb(169 200 230 / .3), transparent 75%); }
.ambient__l--plus { background: radial-gradient(80% 60% at 30% 40%, color-mix(in srgb, var(--wb-gold-soft) 60%, var(--wb-olive-soft)), transparent 78%), radial-gradient(60% 50% at 85% 75%, var(--wb-olive-soft), transparent 75%); }
/* With the ambient light on, the sections it replaces stay clear. */
.scroll-story .four, .scroll-story .identity, .scroll-story .dna { background: none; }

/* ---- 2c. Your Four, then your archetype ---- */
.four { padding: 64px 0 40px; background: radial-gradient(60% 55% at 50% 72%, var(--wb-gold-soft), transparent 72%); }
.four__inner { display: grid; justify-items: center; text-align: center; }
.four__inner .display { max-width: 16ch; }
.four__lede { max-width: 36em; margin-top: 14px; text-wrap: balance; }
.four__stack { width: min(880px, 100%); display: grid; gap: 28px; margin-top: 32px; }
/* The FOUR: two by two on phones (bigger covers than four in a row), one row of four from tablet up. */
.four__albums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px clamp(14px, 4vw, 22px); text-align: left; }
.four__albums li { display: flex; flex-direction: column; min-width: 0; }
.four__albums img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 12px; background: var(--wb-bg-2); color: transparent; font-size: 0;
  box-shadow: 0 1px 2px rgb(31 29 26 / .12), 0 22px 40px -18px rgb(60 48 20 / .5); }
.four__albums b, .four__albums i { font-style: normal; overflow-wrap: anywhere; }
.four__albums b { font: 700 16px/1.25 var(--wb-font-display); letter-spacing: -.01em; }
.four__albums i { margin-top: 3px; font-size: 14px; line-height: 1.3; color: var(--wb-ink-2); }
.arch { position: relative; overflow: hidden; border-radius: 26px; border: 1.5px solid rgb(201 163 78 / .55); background: #f8f2e4; text-align: left; box-shadow: 0 30px 60px -32px rgb(60 48 20 / .5); }
.arch__world { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 45%; }
.arch__body { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 20px 22px; background: linear-gradient(90deg, rgb(248 242 228 / .97) 48%, rgb(248 242 228 / .5)); }
.arch__emblem { width: clamp(64px, 16vw, 84px); height: auto; }
/* Otis's Musical Polymath card, sealed until earned: the app's prestige card in its own violet hue. */
.arch--sealed { width: min(560px, 100%); justify-self: center; border-color: rgb(150 120 200 / .45); background: linear-gradient(135deg, #f7f2fb, #f4ecf6 55%, #f8f2e4); box-shadow: 0 30px 60px -32px rgb(70 40 110 / .45); }
.arch--sealed .arch__body { background: none; padding: 22px 24px; gap: 20px; }
.arch--sealed .arch__kicker { color: #5b3f8c; }
.arch--sealed .arch__level { margin-top: 8px; }
.arch__kicker { font: 600 11.5px/1.2 var(--wb-font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--wb-ink-2); }
.arch__kicker b { color: var(--wb-accent-ink); }
.arch__name { font: 700 clamp(24px, 6vw, 34px)/1.05 var(--wb-font-display); letter-spacing: -.02em; margin-top: 6px; }
.arch__level { display: flex; align-items: center; gap: 10px; margin-top: 10px; font: 600 13px/1 var(--wb-font-body); color: var(--wb-ink-2); }
.arch__bars { display: inline-flex; gap: 5px; }
.arch__bars i { position: relative; width: clamp(18px, 5vw, 28px); height: 6px; border-radius: 6px; overflow: hidden; background: rgb(201 163 78 / .25); }
.arch__bars i::after { content: ""; position: absolute; inset: 0; background: var(--wb-gold); }
.four__note { margin-top: 22px; max-width: 34em; font: 500 13.5px/1.5 var(--wb-font-body); color: var(--wb-ink-2); text-wrap: balance; }
.four__handle { font-weight: 700; color: var(--wb-ink); } /* plain text, not a link (owner, 14 Nov 2026) */
/* With the scroll story on, landing.js moves the covers, the card and the level bar with scroll. */
.scroll-story .four__albums li, .scroll-story .arch, .scroll-story .fact, .scroll-story .final__inner { will-change: transform; }
.scroll-story .four__albums li, .scroll-story .arch { will-change: opacity, transform; }
.scroll-story .arch__bars i::after { transform: scaleX(var(--f, 0)); transform-origin: left; }

/* ---- 3. musical identity ---- */
.identity { padding: 56px 0; background: linear-gradient(180deg, transparent, var(--wb-olive-soft) 30%, var(--wb-olive-soft) 70%, transparent); }
/* Waxbug+ teaser: a warmer, gold-touched version of the same section. Premium in tone only. */
.identity--plus { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--wb-gold-soft) 55%, var(--wb-olive-soft)) 30%, color-mix(in srgb, var(--wb-gold-soft) 55%, var(--wb-olive-soft)) 70%, transparent); }
.eyebrow--plus { color: var(--wb-accent-ink); }
.identity--plus .fact { box-shadow: inset 0 0 0 1px rgb(201 163 78 / .4), var(--wb-shadow); }
.identity__grid { display: grid; gap: 28px; }
.identity--plus { padding-top: 40px; }
.facts { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.fact { background: var(--wb-bg-2); border-radius: var(--wb-radius); padding: 18px 16px; box-shadow: var(--wb-shadow); }
.fact__num { font: 700 12px/1 var(--wb-font-body); letter-spacing: .14em; color: var(--wb-accent-ink); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.fact h3 { font: 700 19px/1.15 var(--wb-font-display); letter-spacing: -.02em; margin-bottom: 8px; }
.fact p { font-size: 14.5px; line-height: 1.45; color: var(--wb-ink-2); }
.fact--uncovered { background: linear-gradient(160deg, var(--wb-gold-soft), var(--wb-bg-2)); }
.fact--pressings { background: linear-gradient(160deg, var(--wb-blue-soft), var(--wb-bg-2)); }

/* ---- 4. WaxDNA: the wordmark, then a living helix (landing.js draws it on a canvas). ---- */
.dna { position: relative; padding: 64px 0 60px; text-align: center; overflow: hidden;
  background: radial-gradient(60% 45% at 28% 52%, var(--wb-gold-soft), transparent 70%), radial-gradient(55% 45% at 76% 56%, var(--wb-olive-soft), transparent 72%), radial-gradient(40% 35% at 55% 88%, var(--wb-blue-soft), transparent 70%); }
.dna__copy { display: grid; justify-items: center; }
.dna__copy .eyebrow { margin-bottom: 8px; letter-spacing: .3em; }
.dna__mark { font: 700 clamp(68px, 20.5vw, 158px)/.95 var(--wb-font-logo); letter-spacing: -.035em; color: var(--wb-ink); }
.dna__mark em { font: inherit; font-style: normal; vertical-align: baseline; margin-left: .02em; color: var(--wb-accent-ink);
  background: linear-gradient(100deg, #8a6c25, var(--wb-gold) 55%, var(--wb-olive)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.dna__art { position: relative; height: clamp(220px, 58vw, 340px); margin: 10px 0 2px; cursor: crosshair; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.dna__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dna__copy .lede { max-width: 33em; margin-top: 0; }
.dna__tag { margin-top: 16px; font: 700 clamp(19px, 4.6vw, 25px)/1.25 var(--wb-font-display); letter-spacing: -.02em; color: var(--wb-accent-ink); }

/* ---- 5. final ---- */
.final { padding: 24px 0 40px; }
/* Waxbug on Instagram, centred under the final card. */
.follow { display: flex; justify-content: center; margin-top: 28px; }
.follow__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; color: var(--wb-ink); text-decoration: none; font: 600 15px/1 var(--wb-font-body); transition: background-color .2s ease; }
.follow__link svg { width: 26px; height: 26px; flex: none; }
.follow__link:hover { background: var(--wb-bg-2); }
.final__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-top: 40px; padding-bottom: 40px; border-radius: var(--wb-radius-lg); background: radial-gradient(60% 70% at 20% 0%, rgb(169 200 230 / .55), transparent 70%), radial-gradient(60% 70% at 90% 100%, rgb(201 163 78 / .3), transparent 70%), var(--wb-bg-2); box-shadow: var(--wb-shadow); }
/* Mascot stage: a fixed box (no layout shift whatever goes in it). */
.mascot { width: 156px; height: 156px; display: grid; place-items: center; border-radius: 50%; background: var(--wb-bg); box-shadow: inset 0 0 0 1.5px var(--wb-line); }
.mascot img { height: 72%; width: auto; }
.mascot[data-state="idle"] img { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }

/* ---- footer ---- */
.foot { padding: 0 0 calc(40px + env(safe-area-inset-bottom)); }
.foot__inner { display: grid; gap: 18px; padding-top: 28px; border-top: 1px solid var(--wb-line); }
.brand--foot .brand__logo { height: 34px; }
.brand__mark { position: relative; display: block; }
.foot__links, .social { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__links a, .social a { font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 0; }
.foot__links a:hover, .social a:hover { text-decoration: underline; }
.foot__small { font-size: 13px; color: var(--wb-ink-2); }

/* ---- tablet / desktop ---- */
@media (min-width: 760px) {
  :root { --wb-gutter: 32px; --wb-top-h: 72px; }
  .hero { padding: 56px 0 48px; }
  /* The light keeps a fixed size here (what -20% / 10% of the 943 px hero gave), so it never grows
     when the hero does (waxbug.com, 11 Nov 2026: it was the one thing moving, CLS 0.18 on desktop). */
  .hero::before { inset: -190px -30% auto; height: 1040px; }
  .exp { padding: 56px 0 48px; }
  .identity { padding: 64px 0; }
  .four__albums { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .four__albums b { font-size: 17px; }
  .four__albums i { font-size: 14.5px; }
  .dna { padding: 64px 0 56px; }
  .hero__copy .display { max-width: 13ch; }
  .exp__head .display { max-width: 22ch; }
  .exp__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
  .exp__tab { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--wb-line); background: transparent; color: var(--wb-ink); font: 600 14.5px/1 var(--wb-font-body); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
  .exp__tab span { color: var(--wb-ink-2); font-variant-numeric: tabular-nums; }
  .exp__tab[aria-current="true"] { background: var(--wb-ink); color: var(--wb-bg); border-color: var(--wb-ink); }
  .exp__tab[aria-current="true"] span { color: var(--wb-gold-soft); }
  .exp__track { padding-left: max(var(--wb-gutter), calc((100vw - var(--wb-max)) / 2 + var(--wb-gutter))); scroll-padding-left: max(var(--wb-gutter), calc((100vw - var(--wb-max)) / 2 + var(--wb-gutter))); }
  .feat { width: min(860px, calc(100vw - 2 * var(--wb-gutter))); flex-direction: row; align-items: stretch; padding: 48px 0 0 48px; min-height: 480px; }
  .feat__text { flex: 1 1 46%; max-width: 380px; padding-bottom: 48px; align-self: center; }
  .feat__art { flex: 1 1 54%; align-items: center; padding-bottom: 48px; }
  .feat__art .phone { width: 250px; }
  .foot__inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot__small { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .covers { margin-top: 56px; gap: 18px; }
  .js .covers { min-height: calc(2 * clamp(118px, 30vw, 188px) + 18px); }
  .covers__row { gap: 18px; }
  .identity__grid { grid-template-columns: .9fr 1.1fr; align-items: center; column-gap: 56px; }
}
@media (min-width: 1100px) {
  .feat { width: 960px; }
}

/* Motion: restrained, and none at all for people who ask for less. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .covers__row.is-moving, .mascot[data-state] img { animation: none; }
  .btn, .disc img { transition-duration: .01s; }
}
@media (max-width: 379px) { .facts { grid-template-columns: 1fr; } }
