/* ==========================================================================
   Pincbone — landing-top.css
   Nav, hero, marquee band, statement. Tokens and shared pieces come from
   tokens.css and landing-base.css; nothing here redefines them.

   Motion contract: every rule outside an "html.js:not(.motion-off)" selector
   is the final, static state. Pre-animation states and idle loops only exist
   under that selector, so the page is whole if GSAP never arrives.
   ========================================================================== */

:root {
  --nav-pad: 0.5rem;                                   /* inner padding of the floating nav pill */
  --band-lift: clamp(1.5rem, 1rem + 1.6vw, 2.75rem);   /* how far the marquee band rides up into the hero */
  --foot-sink: 0.75rem;                                /* how far the mascot's feet sit into the band */
}

/* ==========================================================================
   NAV
   .nav is only a fixed frame: it never gets a transform or a filter, because
   either would turn it into the containing block of the full-screen menu.
   The visible bar is .nav__bar. Its geometry never changes; the pill state
   only paints a background behind content that is already in place, so the
   logo stays on the page gutter in both states.
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  pointer-events: none;            /* only the bar and the open menu take input */
}
.nav__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(100% - 2 * (var(--gutter) - var(--nav-pad)), var(--maxw) - 2 * (var(--gutter) - var(--nav-pad)));
  height: 3.5rem;
  margin: calc(0.5rem + env(safe-area-inset-top, 0px)) auto 0;
  padding-inline: calc(var(--nav-pad) - 1px);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--bone);
  pointer-events: auto;
  transition:
    transform var(--dur-2) var(--ease-out),
    background-color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out);
}
.nav--pill .nav__bar {
  background-color: rgba(13, 10, 11, 0.72);
  border-color: rgba(255, 246, 238, 0.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}
.nav--hidden .nav__bar { transform: translateY(calc(-100% - 1.25rem)); }
.nav--hidden:focus-within .nav__bar { transform: none; }

/* logo */
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding-right: 0.375rem;
}
.nav__mark {
  flex: none;
  width: auto;
  height: 2.25rem;
  transition: transform var(--dur-2) var(--ease-snap);
}
.nav__word {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 78, "opsz" 24;
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

/* desktop links: muted until hovered, underline draws in from the left */
.nav__links { display: none; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255, 246, 238, 0.76);
  transition: color var(--dur-1) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.625rem;
  height: 1.5px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav__link:focus-visible { color: var(--bone); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__login { display: none; }

/* menu button: two bars that fold into an X. Useless without JS, so it only shows with it. */
.nav__toggle {
  display: none;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--bone);
  -webkit-tap-highlight-color: transparent;
}
html.js .nav__toggle { display: grid; }
.nav__toggle-bars {
  position: relative;
  display: block;
  width: 1.375rem;
  height: 0.625rem;
}
.nav__toggle-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav__toggle-bar:first-child { top: 0; }
.nav__toggle-bar:last-child { bottom: 0; }
.nav--open .nav__toggle-bar:first-child { transform: translateY(0.25rem) rotate(45deg); }
.nav--open .nav__toggle-bar:last-child { transform: translateY(-0.25rem) rotate(-45deg); }

/* full-screen menu (phones and small tablets) */
.nav__menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding:
    calc(var(--nav-h) + 1.25rem + env(safe-area-inset-top, 0px))
    var(--gutter)
    calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--bone);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.nav--open .nav__menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}
/* while the menu is open the bar is just the logo and the close button on ink */
.nav--open .nav__bar {
  transform: none;
  background-color: transparent;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html.nav-lock { overflow: hidden; }

.nav__menu-inner {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  gap: 2rem;
}
.nav__menu-list { border-top: 1px solid var(--line); }
.nav__menu-link {
  display: flex;
  align-items: center;
  min-height: 4rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 800;
  font-size: clamp(2.5rem, 1.6rem + 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  transition: color var(--dur-1) var(--ease-out);
}
.nav__menu-link:active { color: var(--pink); }

.nav__menu-foot {
  display: grid;
  gap: 1rem;
  margin-top: auto;
}
.nav__menu-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__menu-login {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.25rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--pink);
}
.nav__menu-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.nav__menu-roles .btn { width: 100%; padding-inline: 0.75rem; }

/* items rise in one after another once the menu is open; closing is immediate */
.nav__menu-item {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.nav--open .nav__menu-item {
  opacity: 1;
  transform: none;
  transition-delay: calc(70ms + var(--i, 0) * 50ms);
}

@media (hover: hover) and (pointer: fine) {
  .nav__logo:hover .nav__mark { transform: rotate(-9deg); }
  .nav__link:hover { color: var(--bone); }
  .nav__link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
  .nav__toggle:hover { background-color: rgba(255, 246, 238, 0.08); }
}

@media (min-width: 900px) {
  :root { --nav-pad: 0.875rem; }
  .nav__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .nav__logo { justify-self: start; }
  .nav__links { display: flex; align-items: center; }
  .nav__actions { justify-self: end; gap: 0.375rem; }
  .nav__login { display: inline-flex; }
  html.js .nav__toggle { display: none; }
  .nav__menu { display: none; }
}

/* ==========================================================================
   HERO
   Stacking: the hero itself must NOT become a stacking context (no z-index,
   transform or filter on .hero / .hero__inner). That lets the marquee band
   (z 1) slide between the hero's ink background and the mascot stage (z 2),
   so the dog stands on the band. Copy sits above both (z 3).
   ========================================================================== */
.hero {
  --hero-k: 0.6;                   /* scales the loose-word offsets; 1 on desktop */
  position: relative;
  display: grid;
  min-height: min(100svh, 70rem);
  padding-top: calc(var(--nav-h) + 0.75rem);
  padding-bottom: calc(var(--band-lift) - var(--foot-sink));
  overflow-x: clip;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(1.75rem, 1rem + 4vw, 3rem);
}

/* ---- copy ---------------------------------------------------------------- */
.hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.hero__eyebrow .eyebrow__dot { position: relative; }

.hero__title {
  margin-top: clamp(0.875rem, 0.6rem + 1vw, 1.5rem);
  word-spacing: 0.05em;            /* condensed + tight tracking closes the word gaps too far */
}
/* phones: the shared --fs-hero leaves the longest line at about 70% of the width; this fills it */
@media (max-width: 899.98px) {
  .hero__title { font-size: clamp(3rem, 15.5vw, 5.5rem); }
}
.hero__line {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  white-space: nowrap;
}
.hero__line--pink { color: var(--pink); }
.hero__word { display: inline-block; }

.hero__sub {
  margin-top: clamp(1rem, 0.7rem + 1.2vw, 1.75rem);
  max-width: 44ch;
}

/* two roles, equal weight: equal-width buttons, one caption under each */
.hero__roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 31rem;
  margin-top: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
}
.hero__role {
  display: grid;
  align-content: start;
  gap: 0.625rem;
  min-width: 0;
}
.hero__role .btn {
  width: 100%;
  justify-content: space-between;
}
.hero__role-note {
  padding-left: 1.5rem;            /* lines up with the button label */
  text-wrap: balance;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1.25rem, 0.8rem + 1.6vw, 2.25rem);
  color: rgba(255, 246, 238, 0.54);   /* quiet, still AA on ink */
}
.hero__meta::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
}

/* narrow phones: both buttons stay on one row, so drop the arrow and centre the label */
@media (max-width: 479.98px) {
  /* both mono lines stay on one line down to 360px */
  .hero__eyebrow,
  .hero__meta { font-size: clamp(0.5625rem, 2.6vw, 0.6875rem); letter-spacing: 0.08em; }
  .hero__meta::before { display: none; }
  .hero__roles { gap: 0.625rem; }
  .hero__role .btn {
    justify-content: center;
    min-height: 3.25rem;
    padding-inline: 0.75rem;
    font-size: 1rem;
  }
  .hero__role .btn__icon { display: none; }
  .hero__role-note { padding-left: 0; text-align: center; }
}

/* ---- stage: glow, text ring, mascot, chips -------------------------------- */
.hero__stage {
  --dog-h: min(132vw, 36rem);                          /* the mascot is sized by height everywhere */
  --ring: min(calc(var(--dog-h) * 0.84), 94vw);
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  align-self: end;
  width: 100%;
  transform-origin: 50% 100%;      /* scroll drift scales toward the feet */
}

/* glow and ring share one square centred on the dog's head (36% down the figure) */
.hero__glow,
.hero__ring {
  position: absolute;
  left: calc(50% - var(--ring) / 2);
  top: calc(36% - var(--ring) / 2);
  width: var(--ring);
  height: var(--ring);
  pointer-events: none;
}
.hero__glow {
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 74, 147, 0.26), rgba(255, 74, 147, 0.09) 58%, rgba(255, 74, 147, 0) 100%);
  transform: scale(1.25);
}
.hero__ring { max-width: none; overflow: visible; }
.hero__ring-text {
  font-family: var(--font-mono);
  font-size: 14px;                 /* SVG user units: about 10px on phones */
  font-weight: 500;
  fill: var(--bone);
  fill-opacity: 0.35;
}

.hero__float {
  position: relative;
  z-index: 1;
  margin-bottom: calc(var(--dog-h) * -0.0085);   /* the cutout has 12px of empty rows under the feet (of 1412) */
  transform-origin: 50% 100%;
}
.hero__mascot {
  display: block;
  width: auto;
  max-width: none;
  height: var(--dog-h);
  -webkit-user-drag: none;
  user-select: none;
}

/* chips hang off the dog's centre line; min() keeps each one (about --w wide) on the stage */
.hero__chips {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero__chip { position: absolute; }
.hero__chip .chip {
  min-height: 2rem;
  padding: 0.3125rem 0.75rem;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
}
.hero__chip svg { color: var(--pink); }
.hero__chip--a {
  --w: 11.75rem;
  top: 56%;
  right: min(calc(50% + var(--dog-h) * 0.07), calc(100% - var(--w)));
  rotate: -5deg;
}
.hero__chip--b {
  --w: 9.5rem;
  top: 80%;
  left: min(calc(50% + var(--dog-h) * 0.1), calc(100% - var(--w)));
  rotate: 4deg;
}
.hero__chip--c { display: none; }  /* phones show two */

@media (min-width: 900px) {
  .hero {
    --hero-k: 1;
    /* the dog stands right of centre, where the tilted band's edge is about 1vw higher */
    --foot-sink: calc(1rem - min(1vw, 0.875rem));
    padding-top: calc(var(--nav-h) + 1rem);
  }
  .hero__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
  }
  /* copy spans one column more than it needs so the headline can run under the stage's edge */
  .hero__copy {
    grid-column: 1 / span 8;
    grid-row: 1;
    padding-bottom: clamp(2rem, 8svh, 6rem);
  }
  .hero__title { font-size: min(var(--fs-hero), 14.5svh); }   /* short laptop screens */
  .hero__sub { max-width: min(44ch, 82%); }                   /* stays clear of the stage on narrow desktops */
  .hero__stage {
    --dog-h: min(90svh, 54rem, 64vw);   /* the 3D figure fills ~89% of its box, so the box is a little taller than the old cutout */
    --ring: calc(var(--dog-h) * 0.84);
    grid-column: 8 / -1;
    grid-row: 1;
  }
  .hero__ring-text { font-size: 11.5px; }
  .hero__chip .chip {
    min-height: 2.25rem;
    padding: 0.375rem 0.875rem;
    font-size: var(--fs-label);
    letter-spacing: 0.08em;
  }
  .hero__chip--a {
    --w: 13.25rem;
    top: 53%;
    right: min(calc(50% + var(--dog-h) * 0.12), calc(100% - var(--w)));
  }
  .hero__chip--b {
    --w: 10.75rem;
    top: 26%;
    left: min(calc(50% + var(--dog-h) * 0.14), calc(100% - var(--w)));
  }
  .hero__chip--c {
    --w: 12.75rem;
    display: block;
    top: 74%;
    left: min(calc(50% + var(--dog-h) * 0.1), calc(100% - var(--w)));
    rotate: -3deg;
  }
}

/* ---- hero motion ---------------------------------------------------------
   Idle loops run only while JS motion is expected (the pause button lives
   there too). The float waits for the entrance to finish.
   -------------------------------------------------------------------------- */
html.js:not(.motion-off) .hero__ring {
  animation: hero-ring 60s linear infinite;
  will-change: transform;
}
html.js:not(.motion-off) .hero__float {
  animation: hero-float 5.5s ease-in-out 1.3s infinite alternate;
  will-change: transform;
}
html.js:not(.motion-off) .hero__chip .chip { animation: hero-bob 4.8s ease-in-out -1.2s infinite alternate; }
html.js:not(.motion-off) .hero__chip--b .chip { animation-duration: 5.6s; animation-delay: -3.4s; }
html.js:not(.motion-off) .hero__chip--c .chip { animation-duration: 5.2s; animation-delay: -2.1s; }
html.js:not(.motion-off) .hero__eyebrow .eyebrow__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--accent);
  opacity: 0;
  animation: hero-ping 1.5s var(--ease-out) 0.2s 3;
}

@keyframes hero-ring { to { transform: rotate(360deg); } }
@keyframes hero-float { to { transform: translateY(-9px) rotate(1.5deg); } }
@keyframes hero-bob {
  from { transform: translateY(4px); }
  to { transform: translateY(-5px); }
}
@keyframes hero-ping {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(3.4); opacity: 0; }
}

/* Entrance pre-states. Everything stays readable and tappable: words are only
   knocked loose, never hidden. landing-top.js starts from these exact values,
   then adds .hero--set and clears its inline styles. Visitors who prefer
   reduced motion never see them. */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.motion-off) .hero:not(.hero--set) .hero__word {
    transform:
      translate(calc(var(--dx, 0px) * var(--hero-k)), calc(var(--dy, 0px) * var(--hero-k)))
      rotate(calc(var(--r, 0deg) * var(--hero-k)));
  }
  html.js:not(.motion-off) .hero:not(.hero--set) .hero__lean { transform: translateY(48px) scale(0.96); }
  html.js:not(.motion-off) .hero:not(.hero--set) .hero__sub { opacity: 0.2; transform: translateY(12px); }
  html.js:not(.motion-off) .hero:not(.hero--set) .hero__role { opacity: 0.25; transform: translateY(12px); }
  html.js:not(.motion-off) .hero:not(.hero--set) .hero__chip { opacity: 0; transform: scale(0.7); }

  /* GSAP never arrived (blocked or slow CDN): the pre-states drop away, so let
     the pieces settle on their own instead of jumping */
  html.js.motion-off .hero__word { transition: transform var(--dur-3) var(--ease-snap); }
  html.js.motion-off .hero__lean { transition: transform var(--dur-4) var(--ease-out); }
  html.js.motion-off .hero__sub,
  html.js.motion-off .hero__role,
  html.js.motion-off .hero__chip { transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
}

/* Elastic type: hovering a headline line eases its width axis out. The line is
   nowrap and fit-content, so it only grows to the right, over empty canvas. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .hero__line { transition: font-variation-settings 450ms var(--ease-out); }
  .hero__line:hover { font-variation-settings: "wdth" 96, "opsz" 96; }
}

/* ==========================================================================
   MARQUEE
   The section is a transparent, clipped frame; the bone band inside it is
   tilted and a little wider than the page. --tilt-pad is the room the tilted
   ends need above and below (108% * sin 2deg / 2 = 1.9% of the width), so
   overflow:hidden never cuts the band and no horizontal scroll can appear.
   The frame overlaps the hero by that pad plus --band-lift.
   ========================================================================== */
.marquee {
  --tilt-pad: max(2.2vw, 0.75rem);
  --edge: calc(100% * 4 / 108);    /* the part of the band that hangs off each side */
  --gap: clamp(1rem, 0.6rem + 1.6vw, 2.25rem);
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * (var(--band-lift) + var(--tilt-pad)));
  margin-bottom: calc(-1 * var(--tilt-pad));
  padding-block: var(--tilt-pad);
  background: none;                /* the band carries the bone, not the frame */
  overflow: hidden;
  pointer-events: none;            /* the frame overlaps the hero; only the button takes input */
}
.marquee__band {
  position: relative;
  width: 108%;
  margin-left: -4%;
  padding-block: clamp(0.75rem, 0.5rem + 1vw, 1.375rem);
  background: var(--bone);
  transform: rotate(-2deg);
  overflow: hidden;
}
/* soft right end, so type slides out from under the pause button instead of colliding with it */
.marquee__band::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(var(--edge) + var(--gutter) + 6rem);
  background: linear-gradient(to right, rgba(255, 246, 238, 0), var(--bone) 58%);
  pointer-events: none;
}

.marquee__track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  margin-left: calc(var(--edge) + var(--gutter));   /* static row starts on the page gutter */
}
/* looping: the track starts at the band's hidden left end so the seam never shows */
html.motion-on .marquee__track {
  margin-left: 0;
  will-change: transform;
}
.marquee__group {
  display: flex;
  flex: none;
  align-items: center;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
  font-family: var(--font-display);
  font-variation-settings: "wdth" 78, "opsz" 48;
  font-weight: 800;
  font-size: clamp(1.5rem, 1rem + 2.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
.marquee__item .bone-icon {
  width: 1.2em;
  color: var(--pink-deep);
  transform: rotate(-14deg);
}

.marquee__toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: calc(var(--edge) + var(--gutter));
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  transform: rotate(2deg);         /* sits level on the tilted band */
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-1) var(--ease-out);
}
.marquee__icon { width: 1rem; height: 1rem; }
.marquee__icon--play { display: none; }
.marquee__toggle[aria-pressed="true"] .marquee__icon--pause { display: none; }
.marquee__toggle[aria-pressed="true"] .marquee__icon--play { display: block; }
@media (hover: hover) and (pointer: fine) {
  .marquee__toggle:hover { background-color: var(--pink-dark); }
}

/* ==========================================================================
   STATEMENT
   A narrow label rail on the left, the argument on the right. On phones the
   rail folds above its text.
   ========================================================================== */
.statement { overflow-x: clip; }
.statement__inner {
  --row-gap: clamp(5rem, 3rem + 9vw, 11rem);
  display: grid;
  row-gap: var(--row-gap);
}
/* the facts belong to the fix above them, so they sit closer than a new chapter would */
.statement__row--facts { margin-top: calc(var(--row-gap) * -0.45); }
.statement__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}
.statement__main { min-width: 0; }

.statement__problem {
  max-width: 22ch;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 88, "opsz" 96;
  font-weight: 700;
  font-size: clamp(1.75rem, 1.1rem + 3.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: wrap;
  font-kerning: none;              /* split into words by JS; keeps the split from shifting glyphs */
}
.statement__hot { color: var(--pink); }
.statement__follow {
  margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
  max-width: 34ch;
}

.statement__fix {
  text-wrap: wrap;                 /* split text: never balance */
  font-kerning: none;
}
.statement__channels {
  margin-top: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  font-family: var(--font-display);
  font-variation-settings: "wdth" 88, "opsz" 48;
  font-weight: 600;
  font-size: var(--fs-d3);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* rotor: static pages get the plain list; with motion the list becomes
   screen-reader-only and the pill takes its place */
.rotor { display: none; }
html.js:not(.motion-off) .rotor {
  display: inline-grid;
  justify-items: center;
  margin-inline: 0.08em 0;
  padding: 0.04em 0.5em 0.1em;
  border-radius: var(--radius-pill);
  background: var(--pink);
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  vertical-align: baseline;
  clip-path: inset(0 round 999px);   /* clips the sliding words without making a scroll container */
}
html.js:not(.motion-off) .rotor__word { grid-area: 1 / 1; }
html.js:not(.motion-off) .rotor__word:not(:first-child) { opacity: 0; }   /* until the script parks them below */
html.js:not(.motion-off) .rotor__list {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* facts: hairline rows on phones, three columns from 700px */
.statement__fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.125rem;
  border-top: 1px solid var(--line);
}
.statement__fact:last-child { border-bottom: 1px solid var(--line); }
.statement__fact-num {
  font-family: var(--font-display);
  font-variation-settings: var(--display-settings);
  font-weight: 800;
  font-size: clamp(2.5rem, 1.5rem + 5vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: var(--bone);
}
/* at this weight and width the tilde collapses into a dash; give it room to read as "about" */
.statement__approx {
  margin-right: 0.04em;
  font-variation-settings: "wdth" 100, "opsz" 96;
  font-weight: 600;
}
.statement__fact-cap {
  max-width: 9.5rem;
  text-align: right;
}

@media (min-width: 700px) {
  .statement__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .statement__fact {
    display: grid;
    align-content: start;
    justify-content: start;
    gap: 0.875rem;
    padding-block: 1.25rem 0;
  }
  .statement__fact:last-child { border-bottom: 0; }
  .statement__fact-num { font-size: clamp(2rem, 1.2rem + 2.6vw, 4rem); }
  .statement__fact-cap { max-width: none; text-align: left; }
}

@media (min-width: 900px) {
  .statement__row {
    grid-template-columns: minmax(8.5rem, 1fr) minmax(0, 4fr);
    column-gap: var(--gutter);
  }
  .statement__rail { padding-top: 0.625rem; }   /* label sits on the cap line of the big type beside it */
  .statement__row--facts > * { grid-column: 2; }
  .statement__problem { max-width: 20ch; }
}


/* ---- hero mascot: live 3D model (replaces the photo cutout) -----------------
   The host is a 5:7 box sized by height; the figure fills about 89% of it and
   its feet sit 1.9% above the bottom edge. */
.hero__mascot { aspect-ratio: 5 / 7; }
.hero__float { margin-bottom: calc(var(--dog-h) * -0.019); }
/* the live model has its own idle motion, so the wrapper stops floating once it is running */
.hero__float:has(.mascot3d.is-live) { animation: none !important; }

/* ---- phones: an opaque nav pill instead of a live background blur ------------
   backdrop-filter re-blurs whatever scrolls underneath on every frame. */
@media (pointer: coarse), (max-width: 899.98px) {
  .nav--pill .nav__bar {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: rgba(13, 10, 11, 0.94);
  }
}
