/* ==========================================================================
   FELGA — hero page
   Desktop sizes come straight from the 1440×800 Figma frame: every value is
   written as calc(var(--px) * N), where N is the Figma pixel value. --px
   scales the whole composition with the viewport, so at 1440×800 it is 1:1.
   ========================================================================== */

:root {
  --yellow: #ffe600;
  --yellow-loader: #efd200;

  /* Hero text is 10% more transparent than the Figma values (every text
     alpha is multiplied by --text-a); the headline lines are dimmer still. */
  --text-a: .9;
  --headline-a: .6;
  /* every text carries half the mail-hover glow (.55 → .275), in its own hue */
  --glow-yellow: rgb(255 230 0 / .275);
  --glow-grey: rgb(225 225 225 / .275);

  /* Type follows the Tomorrow Figma file: everything is Tomorrow except the
     preloader's "Loading…", set in Suisse Int'l Mono → Geist Mono stands in. */
  --font-display: "Tomorrow", "Arial Narrow", sans-serif;
  --font-mono: "Geist Mono", "IBM Plex Mono", ui-monospace, monospace;
  --mono-tracking: .02em; /* compensates for the narrower mono substitute */

  --px: clamp(.85px, min(100vw / 1440, 100vh / 800), 2px);
  --gutter-l: calc(var(--px) * 21);
  --gutter-r: calc(var(--px) * 23);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  margin: 0;
  background: #000;
}

body {
  color: var(--yellow);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.js body.is-loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
svg { display: block; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible {
  outline: 1px dashed var(--yellow);
  outline-offset: 3px;
}

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader { display: none; }

.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #000;
  color: var(--yellow-loader);
  text-transform: uppercase;
  transition: opacity .7s ease .15s, visibility 0s linear .85s;
}

.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
}

.preloader__top {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 12px;
  padding: 0 4px;
  border: 1px solid currentColor;
  border-radius: 1px;
  background: rgb(239 210 0 / .13);
  font-size: 10px; /* same size as "Follow" next to it */
  font-weight: 700;
  line-height: 10px;
  letter-spacing: -.2px;
}

.preloader__follow {
  font-size: 10px;
  line-height: 12px;
  letter-spacing: -.2px;
}

.preloader__center {
  width: min(360px, 100% - 64px);
  padding-top: 34px; /* keeps the logo itself on the vertical centre */
  transition: transform .8s var(--ease-out);
}

.is-loaded .preloader__center { transform: scale(.96); }

.preloader__logo {
  width: 100%;
  height: auto;
  aspect-ratio: 360 / 50;
}

.progress { margin-top: 19px; }

.progress__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 11.67px;
  letter-spacing: var(--mono-tracking);
  opacity: .4;
}

.progress__track {
  display: block;
  height: 3px;
  margin-top: .33px;
  border-radius: 1px;
  background: rgb(239 210 0 / .13);
  overflow: hidden;
}

.progress__fill {
  display: block;
  height: 100%;
  border-radius: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.preloader__bottom {
  position: absolute;
  left: 50%;
  bottom: 66.5px;
  transform: translateX(-50%);
}

.agency-label {
  display: block;
  padding: 3px 14px;
  border-radius: 1px;
  background: rgb(0 0 0 / .72);
  font-size: 9px;
  line-height: 16.9px;
  letter-spacing: 3px;
  white-space: nowrap;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #000 url("../assets/img/hero-bg.webp") center / cover no-repeat;
}

.js .hero__bg {
  transform: scale(1.08);
  transition: transform 2.6s var(--ease-out);
}

.is-loaded .hero__bg { transform: none; }

/* Vimeo background video, sized like background-size: cover.
   The still image above stays visible until the video starts playing. */
.hero__video {
  --ratio: 1.4322; /* 2048 × 1430 — the clip's aspect */
  --w: max(100cqw, 100cqh * var(--ratio));
  --h: max(100cqh, 100cqw / var(--ratio));
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero.has-video .hero__video { opacity: 1; }

.hero__video iframe {
  position: absolute;
  top: calc((100cqh - var(--h)) * .5);
  left: calc((100cqw - var(--w)) * .5);
  width: var(--w);
  height: var(--h);
  border: 0;
  pointer-events: none;
}

.hero__layout {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows:
    auto
    minmax(calc(var(--px) * 24), 117fr)
    auto
    minmax(calc(var(--px) * 24), 103fr)
    auto
    auto;
  grid-template-areas:
    "brand    mail"
    ".        ."
    "nav      ."
    ".        ."
    "headline stats"
    "socials  stats";
  padding: calc(var(--px) * 33) var(--gutter-r) calc(var(--px) * 21) var(--gutter-l);
}

/* Reveal after the preloader */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--rx, -16px), 0, 0);
  transition:
    opacity .9s var(--ease-out) calc(var(--d, 0s) + .35s),
    transform .9s var(--ease-out) calc(var(--d, 0s) + .35s);
}

.is-loaded [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------- Line panels (gradient top + bottom strokes) ---------- */

.panel { position: relative; }

.panel::before,
.panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--px) * 2);
  background: var(--line);
  pointer-events: none;
}

.panel::before { top: 0; }
.panel::after { bottom: 0; }

.panel--yellow {
  --line: linear-gradient(90deg, rgb(255 230 0 / .5), rgb(153 153 153 / 0));
}

.panel--white {
  --line: linear-gradient(90deg, rgb(153 153 153 / 0), rgb(255 255 255 / var(--line-end, .5)));
}

.label {
  color: rgb(184 184 184 / var(--text-a));
  font-size: calc(var(--px) * 11);
  font-weight: 600;
  line-height: calc(var(--px) * 13.2);
  letter-spacing: calc(var(--px) * -.22);
  text-transform: uppercase;
}

/* ---------- Brand ---------- */

.hero__brand {
  grid-area: brand;
  align-self: start;
  margin-top: calc(var(--px) * .5);
}

.brand-panel {
  width: calc(var(--px) * 314);
  height: calc(var(--px) * 61);
  margin-left: calc(var(--px) * -20);
  padding: calc(var(--px) * 12.5) 0 0 calc(var(--px) * 19.3);
}

.brand {
  display: inline-block;
  color: var(--yellow);
  transition: filter .3s ease;
}

.brand:hover { filter: drop-shadow(0 0 calc(var(--px) * 10) rgb(255 230 0 / .45)); }

.brand__logo {
  width: calc(var(--px) * 230);
  height: auto;
  aspect-ratio: 360 / 50;
  filter: drop-shadow(0 calc(var(--px) * 4) calc(var(--px) * 2) rgb(0 0 0 / .25));
}

.tagline {
  margin-top: calc(var(--px) * 10.4);
  color: rgb(173 173 173 / var(--text-a));
  font-size: calc(var(--px) * 11);
  font-weight: 500;
  line-height: calc(var(--px) * 12);
  letter-spacing: calc(var(--px) * -.26);
  text-transform: uppercase;
}

/* ---------- Mail ---------- */

.hero__mail {
  grid-area: mail;
  align-self: start;
  justify-self: end;
  margin-right: calc(var(--gutter-r) * -1);
}

.mail-panel {
  --line-end: .49;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: calc(var(--px) * 343);
  height: calc(var(--px) * 61);
  padding: calc(var(--px) * 11.6) var(--gutter-r) 0 0;
}

.mail-panel .label { letter-spacing: calc(var(--px) * -.5); }

.mail-panel__link {
  margin-top: calc(var(--px) * .8);
  color: rgb(255 230 0 / var(--text-a));
  font-size: calc(var(--px) * 18);
  font-style: italic;
  font-weight: 700;
  line-height: calc(var(--px) * 21.6);
  letter-spacing: calc(var(--px) * -.5);
  text-transform: uppercase;
  transition: text-shadow .3s ease, color .3s ease;
}

.mail-panel__link:hover {
  color: rgb(255 242 122 / var(--text-a));
  text-shadow: 0 0 calc(var(--px) * 12) rgb(255 230 0 / .55);
}

/* ---------- HUD ---------- */

.hero__nav {
  grid-area: nav;
  align-self: start;
}

.hud {
  display: flex;
  flex-direction: column;
  gap: calc(var(--px) * 3);
  width: calc(var(--px) * 200);
  margin-left: calc(var(--px) * 1.3);
  text-transform: uppercase;
}

.hud__head {
  display: flex;
  height: calc(var(--px) * 16);
}

.hud__hz {
  width: calc(var(--px) * 16);
  height: calc(var(--px) * 14);
  margin-top: calc(var(--px) * 1);
  background: linear-gradient(90deg, #000 50%, var(--yellow) 50%);
}

.hud__tag {
  padding: calc(var(--px) * 2) calc(var(--px) * 6);
  background: rgb(0 0 0 / .8);
  box-shadow: inset 0 calc(var(--px) * -1) 0 rgb(255 230 0 / .4);
  color: rgb(255 230 0 / calc(.7 * var(--text-a)));
  font-size: calc(var(--px) * 9);
  line-height: calc(var(--px) * 10.8);
  letter-spacing: calc(var(--px) * -.18);
  white-space: nowrap;
}

.hud__bars {
  display: flex;
  gap: calc(var(--px) * 2);
}

.hud__bars span {
  width: calc(var(--px) * 28);
  height: calc(var(--px) * 10);
  border-radius: calc(var(--px) * 1);
  background: var(--yellow);
}

.hud__bars span:nth-child(5) { opacity: .25; animation: flicker 2.4s steps(1) infinite; }
.hud__bars span:nth-child(6) { opacity: .13; }

.hud__note {
  color: rgb(255 230 0 / calc(.5 * var(--text-a)));
  font-size: calc(var(--px) * 8);
  line-height: calc(var(--px) * 9.6);
  letter-spacing: calc(var(--px) * -.16);
}

@keyframes flicker {
  0%, 100% { opacity: .25; }
  48%      { opacity: .7; }
  52%      { opacity: .25; }
  56%      { opacity: .6; }
}

.js .hud__bars span,
.js .signal__bars span {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .35s var(--ease-out);
}

.is-loaded .hud__bars span,
.is-loaded .signal__bars span { transform: none; }

.hud__bars span:nth-child(1), .signal__bars span:nth-child(1) { transition-delay: .7s; }
.hud__bars span:nth-child(2), .signal__bars span:nth-child(2) { transition-delay: .78s; }
.hud__bars span:nth-child(3), .signal__bars span:nth-child(3) { transition-delay: .86s; }
.hud__bars span:nth-child(4), .signal__bars span:nth-child(4) { transition-delay: .94s; }
.hud__bars span:nth-child(5), .signal__bars span:nth-child(5) { transition-delay: 1.02s; }
.hud__bars span:nth-child(6), .signal__bars span:nth-child(6) { transition-delay: 1.1s; }

/* ---------- Menu ---------- */

.menu {
  position: relative;
  width: calc(var(--px) * 274);
  margin-top: calc(var(--px) * 24);
}

.menu__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--px) * 274);
  height: calc(var(--px) * 66);
  color: var(--yellow);
  pointer-events: none;
  transform: translate3d(0, calc(var(--frame-y, 0px) + var(--px) * 1), 0);
  transition: transform .5s var(--ease-out), opacity .3s ease, visibility 0s;
}

/* × pressed: the highlight fades out until another item is chosen */
.menu.is-cleared .menu__frame {
  opacity: 0;
  visibility: hidden;
  transition: transform .5s var(--ease-out), opacity .3s ease, visibility 0s linear .3s;
}

.menu__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.menu__hazard {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(var(--px) * 56);
  height: calc(var(--px) * 12.1);
}

.menu__close {
  position: absolute;
  /* 24-unit ring drawn in a 26-unit box (viewBox -1 -1 26 26): with the stroke
     flush to the edge, iOS Safari's pixel snapping at the phone's .74 scale
     shaved off the ring's right/bottom */
  top: calc(var(--px) * 31.8);
  left: calc(var(--px) * 237.2);
  width: calc(var(--px) * 26);
  height: calc(var(--px) * 26);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

/* bigger tap target than the 18–24 px ring */
.menu__close::before {
  content: "";
  position: absolute;
  inset: -10px;
}

.menu__close svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: transform .3s var(--ease-out);
}

.menu__close:hover svg { transform: rotate(90deg); }
.menu__close:active svg { transform: rotate(90deg) scale(.88); }

.menu__close:focus-visible {
  outline: 1px solid var(--yellow);
  outline-offset: 2px;
}

.menu__list {
  position: relative;
  width: calc(var(--px) * 220);
}

.menu__item {
  display: flex;
  flex-direction: column;
  gap: calc(var(--px) * 1.4);
  padding: calc(var(--px) * 9.6) calc(var(--px) * 12);
}

li:not(:last-child) > .menu__item:not(.is-active) {
  box-shadow: inset 0 calc(var(--px) * -1) 0 rgb(255 230 0 / .2);
}

.menu__title {
  display: flex;
  align-items: center;
  gap: calc(var(--px) * 6);
  color: rgb(255 230 0 / calc(.6 * var(--text-a)));
  font-size: calc(var(--px) * 13);
  font-style: italic;
  font-weight: 700;
  line-height: calc(var(--px) * 15.6);
  letter-spacing: calc(var(--px) * -.26);
  text-transform: uppercase;
  transition: color .25s ease;
}

.menu__icon {
  display: none;
  flex: none;
  width: calc(var(--px) * 12);
  height: calc(var(--px) * 12);
  background: linear-gradient(90deg, var(--yellow) 33.333%, #000 33.333% 66.666%, var(--yellow) 66.666%);
}

.menu__sub {
  color: rgb(255 230 0 / calc(.35 * var(--text-a)));
  font-size: calc(var(--px) * 9);
  line-height: calc(var(--px) * 10.8);
  letter-spacing: calc(var(--px) * -.18);
  text-transform: uppercase;
  transition: color .25s ease;
}

.menu__item:hover .menu__title { color: rgb(255 230 0 / var(--text-a)); }
.menu__item:hover .menu__sub { color: rgb(255 230 0 / calc(.55 * var(--text-a))); }

.menu__item.is-active {
  padding: calc(var(--px) * 11) calc(var(--px) * 12) calc(var(--px) * 11.6) calc(var(--px) * 13.5);
}

.menu__item.is-active .menu__title {
  color: rgb(255 230 0 / var(--text-a));
  font-size: calc(var(--px) * 18);
  line-height: calc(var(--px) * 21.6);
  letter-spacing: calc(var(--px) * -.3);
}

.menu__item.is-active .menu__icon { display: block; }
.menu__item.is-active .menu__label::before { content: "["; }
.menu__item.is-active .menu__label::after { content: "]"; }
.menu__item.is-active .menu__sub { color: rgb(255 230 0 / calc(.55 * var(--text-a))); }

/* ---------- Headline ---------- */

.hero__headline {
  grid-area: headline;
  align-self: end;
  color: rgb(201 201 201 / var(--text-a));
  text-transform: uppercase;
}

.eyebrow {
  font-size: calc(var(--px) * 18);
  font-weight: 500;
  line-height: calc(var(--px) * 18);
  letter-spacing: calc(var(--px) * -.3);
}

.headline {
  display: flex;
  flex-direction: column;
  margin: calc(var(--px) * 14.9) 0 0;
  color: rgb(201 201 201);
  font-size: calc(var(--px) * 48);
  font-style: italic;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: calc(var(--px) * -1);
}

.headline__line {
  display: flex;
  align-items: flex-start;
  gap: .2625em;
}

/* the words fade (not the bullets beside them) */
.headline__line > span { opacity: var(--headline-a); }

.bullet {
  flex: none;
  width: .2917em;
  height: .7292em;
  margin-top: .1417em;
}

/* mobile-only variants (see the stacked layout below) */
.bullet--tread,
.headline__amp { display: none; }

/* ---------- Socials ---------- */

.hero__socials {
  grid-area: socials;
  align-self: end;
  justify-self: start;
  margin-top: calc(var(--px) * 23.3);
}

.socials {
  display: flex;
  align-items: center;
  height: calc(var(--px) * 30);
  background: rgb(0 0 0 / .6);
  text-transform: uppercase;
}

.socials li {
  display: flex;
  align-items: center;
}

.socials li + li::before {
  content: "";
  width: calc(var(--px) * 1);
  height: calc(var(--px) * 18);
  background: rgb(255 230 0 / .25);
}

.socials a {
  display: flex;
  align-items: center;
  gap: calc(var(--px) * 7);
  padding: 0 calc(var(--px) * 14);
  color: rgb(255 230 0 / calc(.8 * var(--text-a)));
  font-size: calc(var(--px) * 13);
  line-height: calc(var(--px) * 15.6);
  letter-spacing: calc(var(--px) * -.18);
  white-space: nowrap;
  transition: color .25s ease;
}

.socials li:first-child a { padding-left: calc(var(--px) * 10); }
.socials li:last-child a { padding-right: calc(var(--px) * 10); }

.socials a:hover { color: rgb(255 230 0 / var(--text-a)); }

.socials__key {
  display: grid;
  place-items: center;
  flex: none;
  width: calc(var(--px) * 21);
  height: calc(var(--px) * 21);
  border-radius: 50%;
  background: var(--yellow);
  color: rgb(0 0 0 / var(--text-a));
  font-size: calc(var(--px) * 10); /* Figma has 7 px — too small to read */
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  transition: transform .25s var(--ease-out);
}

.socials a:hover .socials__key { transform: scale(1.15); }

/* ---------- Stats (bottom right) ---------- */

.hero__stats {
  grid-area: stats;
  align-self: end;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: calc(var(--gutter-r) * -1);
}

.award {
  --line-end: .49;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: calc(var(--px) * 245);
  height: calc(var(--px) * 61);
  padding: calc(var(--px) * 11.2) var(--gutter-r) 0 0;
}

.award .label { margin-right: calc(var(--px) * 3); }

.award__value {
  margin-top: calc(var(--px) * -.2);
  color: rgb(255 230 0 / var(--text-a));
  font-size: calc(var(--px) * 18);
  font-weight: 700;
  line-height: calc(var(--px) * 21.6);
  letter-spacing: calc(var(--px) * -.5);
  text-transform: uppercase;
  white-space: nowrap;
}

.signal {
  display: flex;
  flex-direction: column;
  gap: calc(var(--px) * 4);
  width: calc(var(--px) * 140);
  margin: calc(var(--px) * 11.5) var(--gutter-r) 0 0;
}

.signal__label {
  color: rgb(255 230 0 / calc(.6 * var(--text-a)));
  font-size: calc(var(--px) * 9);
  line-height: calc(var(--px) * 10.8);
  letter-spacing: calc(var(--px) * -.2);
  text-transform: uppercase;
}

.signal__bars {
  display: flex;
  gap: calc(var(--px) * 4);
}

.signal__bars span {
  width: calc(var(--px) * 20);
  height: calc(var(--px) * 10);
  border-radius: calc(var(--px) * 1);
  background: var(--yellow);
}

.signal__bars span:nth-child(n + 5) { opacity: .2; }
.signal__bars span:nth-child(4) { animation: blink 3.2s steps(1) infinite; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  70%      { opacity: .35; }
  76%      { opacity: 1; }
  82%      { opacity: .35; }
}

.speed {
  --line-end: .3;
  display: flex;
  justify-content: flex-end;
  width: calc(var(--px) * 252);
  height: calc(var(--px) * 61);
  margin-top: calc(var(--px) * 23.5);
  padding-right: calc(var(--px) * 20);
}

.speed__value {
  margin-top: 0;
  color: rgb(255 230 0 / var(--text-a));
  font-size: calc(var(--px) * 50);
  font-style: italic;
  font-weight: 700;
  line-height: calc(var(--px) * 60);
  letter-spacing: calc(var(--px) * -.5);
  text-transform: uppercase;
  white-space: nowrap;
}

.speed__num { font-variant-numeric: tabular-nums; }
.speed__unit { font-size: calc(var(--px) * 18); }

/* ---------- Text glow: half of the mail-link hover ----------
   Same 12-unit halo as .mail-panel__link:hover at half the strength; the
   mail link still goes to the full glow on hover. */

.mail-panel__link,
.hud__tag,
.hud__note,
.menu__label,
.menu__sub,
.socials a,
.award__value,
.signal__label,
.speed__value {
  text-shadow: 0 0 calc(var(--px) * 12) var(--glow-yellow);
}

.tagline,
.label,
.eyebrow,
.headline__line > span {
  text-shadow: 0 0 calc(var(--px) * 12) var(--glow-grey);
}

/* black letter on the yellow disc: no halo */
.socials__key { text-shadow: none; }

/* ==========================================================================
   Tablet & mobile: stacked layout
   ========================================================================== */

@media (max-width: 899px), (orientation: portrait) and (max-width: 1199px) {
  :root {
    --px: 1px;
    --gutter-l: 16px;
    --gutter-r: 16px;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto minmax(40px, 1fr) auto auto;
    grid-template-areas:
      "brand    mail"
      "stats    stats"
      "nav      nav"
      ".        ."
      "headline headline"
      "socials  socials";
    padding:
      max(18px, env(safe-area-inset-top))
      var(--gutter-r)
      max(32px, env(safe-area-inset-bottom) + 20px)
      var(--gutter-l);
  }

  /* not part of the phone layout */
  .tagline,
  .hud,
  .speed { display: none; }

  .hero__brand { margin-top: 0; }

  .brand-panel,
  .mail-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 42px;
    padding-top: 0;
  }

  .brand-panel {
    width: auto;
    margin-left: calc(var(--gutter-l) * -1);
    padding: 0 48px 0 var(--gutter-l);
  }

  .brand { align-self: flex-start; }
  .brand__logo { width: clamp(118px, 38vw, 230px); }

  .mail-panel {
    width: auto;
    padding: 0 var(--gutter-r) 0 40px;
  }

  /* Phone type = the MOB Figma frame (590 px wide): Figma size / 5.9 vw,
     upright everywhere, clamped so narrow phones stay legible */
  .mail-panel .label,
  .award .label {
    margin-right: 0;
    font-size: clamp(8px, 2.034vw, 12px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.0183em;
  }

  .mail-panel__link {
    margin-top: 0;
    font-size: clamp(12px, 3.39vw, 20px);
    font-style: normal;
    line-height: 1.2;
    letter-spacing: -.025em;
  }

  /* Award + signal move up under the header */
  .hero__stats {
    justify-self: start;
    align-self: start;
    align-items: flex-start;
    margin: 27px 0 0 calc(var(--gutter-l) * -1);
  }

  .award {
    --line: linear-gradient(90deg, rgb(255 255 255 / .3), rgb(153 153 153 / 0));
    justify-content: center;
    align-items: flex-start;
    width: auto;
    height: 43px;
    padding: 0 64px 0 var(--gutter-l);
  }

  .award__value {
    margin-top: 0;
    font-size: clamp(12px, 3.39vw, 20px);
    line-height: 1.2;
    letter-spacing: -.025em;
  }

  .signal {
    --px: .75px;
    width: auto;
    margin: 17px 0 0 var(--gutter-l);
  }

  /* Menu at ~3/4 scale; the active frame bleeds to the screen edge */
  .hero__nav {
    --px: .74px;
    margin: 4px 0 0 calc(var(--gutter-l) * -1);
  }

  .menu__item,
  .menu__item.is-active { padding-left: var(--gutter-l); }

  .menu__title { font-style: normal; font-size: clamp(9px, 2.203vw, 13px); letter-spacing: -.02em; }
  .menu__item.is-active .menu__title { font-size: clamp(13px, 3.39vw, 18px); letter-spacing: -.015em; }
  .menu__sub { font-size: clamp(6.5px, 1.695vw, 9px); letter-spacing: -.018em; }

  .signal__label { font-size: clamp(6.5px, 1.525vw, 9px); }

  .eyebrow {
    font-size: clamp(11px, 3.39vw, 20px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.015em;
  }

  .headline {
    margin-top: .12em;
    font-size: min(6.78vw, 44px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.07;
    letter-spacing: -.0075em;
  }

  /* no bullets on phones, "&" instead of "and" */
  .bullet { display: none; }
  .headline__and { display: none; }
  .headline__amp { display: inline; }

  /* Socials become a bar of four large tap targets */
  .hero__socials {
    justify-self: start;
    width: min(100%, 440px);
    margin-top: 28px;
  }

  .socials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: auto;
    box-shadow: inset 0 0 0 1px rgb(255 230 0 / .15);
  }

  .socials li {
    position: relative;
    display: block;
  }

  .socials li + li::before {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    height: auto;
  }

  .socials a,
  .socials li:first-child a,
  .socials li:last-child a {
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-height: 56px;
    padding: 8px 4px;
    font-size: clamp(8px, 2.203vw, 13px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.0138em;
    -webkit-tap-highlight-color: transparent;
  }

  .socials a:active {
    background: rgb(255 230 0 / .12);
    color: rgb(255 230 0 / var(--text-a));
  }

  .socials__key {
    width: 22px;
    height: 22px;
    font-size: clamp(8px, 2.034vw, 12px);
  }

  .js [data-reveal] { transform: translate3d(0, 14px, 0); }
  .is-loaded [data-reveal] { transform: none; }
}

@media (min-width: 600px) and (max-width: 899px), (min-width: 600px) and (orientation: portrait) and (max-width: 1199px) {
  :root {
    --gutter-l: 24px;
    --gutter-r: 24px;
  }

  .brand-panel,
  .mail-panel,
  .award { height: 56px; }

  .hero__stats { margin-top: 36px; }

  .mail-panel .label,
  .award .label {
    font-size: 11px;
    line-height: 15px;
  }

  .hero__nav,
  .signal { --px: 1px; }
}

@media (max-width: 899px) and (max-height: 700px) {
  .hero__stats { margin-top: 18px; }
  .hero__socials { margin-top: 20px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .js .hero__bg { transform: none; }
}
