/* VIRPA studio
   Colours stay neutral; the two brand blues appear only as accents. */

:root {
  --ground: #F6F6F6;
  --ink: #14151A;
  --muted: #50535F;
  --body: #3F424E;
  --surface: #E9E9F1;   /* brand light blue */
  --accent: #223184;    /* brand deep blue */
  --line: rgba(20, 21, 26, 0.08);
  --font: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --ease-menu: cubic-bezier(0.65, 0.05, 0, 1);   /* slow start, quick middle, long settle */
  --header-space: 80px;                          /* room the fixed menu bar takes at the top */
}

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

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;   /* the page does not jump sideways when the open menu locks scrolling */
}

/* With the menu open the page is locked. The background change only shows in
   the strip a classic (Windows-style) scrollbar leaves empty: it matches the
   dimmed page, so the strip does not stay bright. */
html {
  background: var(--ground);
  transition: background-color 0.45s;
}

html.menu-open {
  overflow: hidden;
  background: #A0A0A2;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Until main.js is ready, keep the page hidden so nothing flashes before the intro. */
.js:not(.ready) body { visibility: hidden; }

/* ---------- Menu bar ----------
   A floating bar fixed to the top: Menu on the left, logo in the middle,
   actions on the right. Opening the menu widens the bar and lets a panel
   grow out of its underside. */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 20px 24px 0;
  pointer-events: none;   /* only the bar itself catches clicks */
}

.nav {
  width: 100%;
  max-width: 880px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 18px;
  pointer-events: auto;
  transition: max-width 0.55s var(--ease-menu) 0.2s;   /* on close: narrows after the panel has gone */
}

.nav.is-open {
  max-width: 1392px;
  transition-delay: 0s;
}

.nav__bar {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 7px 8px;
}

.nav__menu {
  justify-self: start;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

@media (hover: hover) {
  .nav__menu:hover { background: rgba(20, 21, 26, 0.05); }
}

/* Two lines that cross into an X while the menu is open. */
.nav__menu-icon {
  position: relative;
  width: 18px;
  height: 12px;
}

.nav__menu-icon span {
  position: absolute;
  left: 0;
  right: 0;
  top: 2px;
  height: 1.6px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease-menu), top 0.4s var(--ease-menu);
}

.nav__menu-icon span:last-child { top: 8.4px; }

.nav.is-open .nav__menu-icon span { top: 5.2px; transform: rotate(45deg); }
.nav.is-open .nav__menu-icon span:last-child { transform: rotate(-45deg); }

.nav__logo {
  justify-self: center;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
}

.nav__symbol {
  display: block;
  width: 18px;
  height: 18px;
  transition: transform 0.6s var(--ease-menu);
}

/* The wordmark sits in a window that closes to nothing once the page is
   scrolled, so the symbol slides to the centre on its own. */
.nav__wordmark {
  display: block;
  width: 80px;
  margin-left: 7px;
  overflow: hidden;
  transition: width 0.5s var(--ease-menu), margin-left 0.5s var(--ease-menu), opacity 0.3s;
}

.nav__wordmark img {
  display: block;
  width: 80px;
  max-width: none;
  height: 18px;
}

.nav.is-scrolled .nav__wordmark {
  width: 0;
  margin-left: 0;
  opacity: 0;
}

.nav.is-scrolled .nav__symbol { transform: rotate(180deg); }

/* The two shapes touch, like the tags in the footer: a circle and a box. */
.nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Language switch: a circle in the brand's light blue. */
.nav__lang {
  --pass-gap: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;            /* the label leaves and re-enters through the circle's own edge */
  border-radius: 50%;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}

.nav__lang:hover { background: #DADAE8; }

.button {
  --pass-gap: 26px;
  height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s;
}

.button:hover {
  color: #FFFFFF;
  background: #1A2668;
}

.button__short { display: none; }

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

/* The panel's row grows from nothing to its natural height. */
.nav__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-menu);
}

.nav.is-open .nav__panel {
  grid-template-rows: 1fr;
  transition-delay: 0.18s;   /* on open: the bar widens first, then the panel drops */
}

/* Hidden (not just clipped) while closed, so its links cannot be tabbed to. */
.nav__panel-inner {
  min-height: 0;
  max-height: calc(100vh - 110px);
  max-height: calc(100svh - 110px);
  overflow: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;   /* scrolls on short screens, but no bar flashes while the panel grows */
  visibility: hidden;
  transition: visibility 0s 0.5s;
}

.nav__panel-inner::-webkit-scrollbar { display: none; }

.nav.is-open .nav__panel-inner {
  overflow-y: auto;
  visibility: visible;
  transition-delay: 0s;
}

.menu {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid var(--line);
}

.menu__card,
.menu__column,
.menu__feature {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 26px 28px 28px;
  border-radius: 12px;
}

.menu__card { background: var(--surface); }

.menu__label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__list a {
  display: block;
  padding: 11px 0;
  border-top: 1px solid rgba(20, 21, 26, 0.1);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.menu__list li:first-child a { border-top: 0; }

.menu__meta {
  margin: auto 0 0;
  padding: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

.menu__meta a {
  display: block;
  line-height: 32px;
  text-decoration: none;
}

.menu__feature {
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  gap: 24px;
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
}

.menu__feature:hover { color: #FFFFFF; }

.menu__feature .menu__label { color: var(--surface); }

.menu__feature-mark {
  position: absolute;
  right: -34%;
  top: -22%;
  width: 110%;
  aspect-ratio: 1 / 1;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
}

.menu__feature-title {
  position: relative;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.menu__feature-foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  font-size: 15px;
  font-weight: 500;
}

.menu__feature-button {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--ink);
  white-space: nowrap;
}

/* The panel's content rises a little as the panel opens. */
.menu > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.25s, transform 0.25s;
}

.nav.is-open .menu > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s 0.3s, transform 0.6s var(--ease-menu) 0.3s;
}

.nav.is-open .menu > *:nth-child(2) { transition-delay: 0.36s; }
.nav.is-open .menu > *:nth-child(3) { transition-delay: 0.42s; }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(20, 21, 26, 0.38);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s, visibility 0s 0.45s;
}

.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s;
}

/* ---------- Hero shell ---------- */

/* The first screen holds the headline and the top of the wheel. The rest of
   the wheel's arc continues below it; main.js measures how much (--wheel-extra). */
.hero {
  min-height: calc(100vh + var(--wheel-extra, 0px));
  min-height: calc(100svh + var(--wheel-extra, 0px));
  display: flex;
  flex-direction: column;
  padding-top: var(--header-space);
  overflow: hidden;
}

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

.hero__main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.eyebrow img { display: block; }

.title {
  margin: 0;
  font-size: clamp(min(44px, 11.4vw), 7.8vw, 128px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

/* Line 1: a window one line tall. Words roll through it from below.
   It is a little taller than the line so descenders are not clipped;
   the negative margin gives that extra height back. */
.title__roll {
  position: relative;
  display: block;
  height: 1.16em;
  margin: -0.1em 0;
  overflow: hidden;
  color: var(--accent);
}

.title__word {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  line-height: 1.16;
  white-space: nowrap;
}

/* Line 2 never moves, so the changing word above cannot shift the layout. */
.title__rest {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.title__rest-inner { display: block; }

/* During the intro main.js wraps every letter so each can rise on its own. */
.title .word {
  display: inline-block;
  white-space: nowrap;
}

.title .char {
  display: inline-block;
  will-change: transform;
}

.lede {
  margin: 0;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--body);
  text-wrap: balance;
}

/* ---------- Selected work: label row ---------- */

.work {
  flex: none;
  display: flex;
  flex-direction: column;
}

.work__bar {
  padding: 0 32px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.work__label {
  margin: 0;
  white-space: nowrap;
}

/* ---------- Selected work: the wheel ----------
   main.js sets two numbers on .wheel:
     --s  scale of the cards (1.3 at a 1440px wide window)
     --r  radius of the circle in px
   and one on each card:
     --a  the card's angle on the circle
   Every card is placed at the top of the circle and rotated around the
   circle's centre, so turning .wheel__ring turns the whole wheel. */

.wheel {
  --s: 1.3;
  --r: 1351;
  --first-screen: calc(234px * var(--s) + 66px);        /* the part that belongs to the first screen: the top card and its caption */
  position: relative;
  height: var(--wheel-h, var(--first-screen));          /* main.js: tall enough for the arc to reach the window's sides */
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.wheel.is-dragging { cursor: grabbing; }

.wheel:focus-visible {
  outline-offset: -4px;
  border-radius: 12px;
}

/* Two nested turntables sharing one centre: .wheel__spin is turned once by
   the intro, .wheel__ring is turned by dragging and by the idle drift. */
.wheel__spin {
  position: absolute;
  left: 50%;
  top: calc((124 * var(--s) + var(--r)) * 1px);
  width: 0;
  height: 0;
}

.wheel__ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.card {
  --w: 352;
  --h: 198;
  --a: 0deg;
  position: absolute;
  left: calc(var(--w) * var(--s) * -0.5px);
  top: calc((var(--r) + var(--h) * var(--s) * 0.5) * -1px);
  width: calc(var(--w) * var(--s) * 1px);
  transform-origin: 50% calc((var(--r) + var(--h) * var(--s) * 0.5) * 1px);
  transform: rotate(var(--a));
}

.card__media {
  position: relative;
  overflow: hidden;
  height: calc(var(--h) * var(--s) * 1px);
  border-radius: calc(8px + 3px * var(--s));
  background: var(--surface);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card--blue .card__media { background: var(--accent); }
.card--ink .card__media { background: var(--ink); }

.wheel:not(.is-dragging) .card__media:hover { transform: scale(1.025); }

.card__format {
  position: absolute;
  left: 14px;
  top: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.card--blue .card__format,
.card--ink .card__format { color: var(--surface); }

/* Placeholder artwork: the VIRPA symbol, cropped differently per card. */
.card__mark {
  position: absolute;
  aspect-ratio: 1 / 1;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}

.card__mark--wide-a   { width: 113.6%; right: -38.6%; top: -51%; opacity: 0.14; }
.card__mark--wide-b   { width: 83.5%;  right: -10.2%; top: -24.2%; }
.card__mark--portrait { width: 141.9%; left: -60.5%;  bottom: -30.7%; }
.card__mark--tall-a   { width: 148.4%; right: -59.7%; top: 29.1%; }
.card__mark--tall-b   { width: 162.9%; left: -31.5%;  bottom: -25%; }
.card__mark--square   { width: 72.4%;  left: 13.8%;   top: 13.8%; }

/* Only the card at the top of the wheel shows its caption. */
.card__caption {
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}

.card.is-active .card__caption {
  opacity: 1;
  transform: none;
}

/* While the wheel is still spinning in on load, no caption shows. */
.wheel.is-arriving .card.is-active .card__caption {
  opacity: 0;
  transform: translateY(6px);
}

.card__title {
  font-size: 14px;
  font-weight: 500;
}

.card__meta {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- The studio (placeholder section) ---------- */

.studio {
  padding: 84px clamp(20px, 4.2vw, 60px) 140px;
}

.studio__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.studio__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 80px;
}

.studio__label {
  flex: 0 0 200px;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.studio__statement {
  flex: 999 1 560px;
  min-width: 0;
  max-width: 940px;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.studio__statement span { color: var(--muted); }

.reel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--ink);
  color: var(--ground);
}

.reel__mark {
  position: absolute;
  right: -24%;
  top: -34%;
  height: 168%;
  aspect-ratio: 1 / 1;
  opacity: 0.5;
  pointer-events: none;
}

.reel__play {
  position: relative;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  padding: 0 0 0 6px;
  border: 0;
  border-radius: 50%;
  background: var(--ground);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reel__play:hover { transform: scale(1.06); }

.reel__play svg {
  display: block;
  fill: currentColor;
}

.reel__label {
  position: absolute;
  left: 28px;
  bottom: 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Footer ----------
   A white sheet with rounded top corners: an invitation and link columns at
   the top, the name repeated across the bottom, a small legal row under it. */

.footer {
  --words-visible: 1.8;   /* how many repeats of the name fit across the footer; fewer = bigger letters */
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 9.7vw, 190px);   /* air between the top block and the name: about 140px at a 1440px wide window */
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: #FFFFFF;
}

.footer__top {
  width: 100%;
  max-width: calc(1320px + 2 * clamp(20px, 4.2vw, 60px));
  margin: 0 auto;
  padding: 124px clamp(20px, 4.2vw, 60px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px 64px;
}

.footer__label {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__pitch {
  margin: 0 0 22px;
  font-size: clamp(32px, 3.3vw, 48px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.footer__mail {
  font-size: 18px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
  align-content: start;
}

.footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__col a {
  display: block;
  font-size: 16px;
  line-height: 32px;
  text-decoration: none;
}

/* The repeated name. The drawing holds the name four times (dark, light,
   dark, light) and is centred on the second dark one, so only part of it fits
   in the footer and the rest runs off both edges. The band clips: letters
   that main.js has bent downwards are cut off at its lower edge, and the
   repeats that are waiting off to the sides stay out of sight. */
.footer__band {
  overflow: hidden;
}

.footer__word {
  display: block;
  width: calc(100% * 4 / var(--words-visible));   /* four names in the drawing */
  height: auto;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: visible;
}

.footer__letter--light { fill: var(--surface); }
.footer__letter--ink { fill: var(--ink); }

.footer__legal {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px 24px;
  padding: 18px clamp(20px, 4.2vw, 60px) 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__legal p { margin: 0; }

.footer__credit {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tags: small filled labels that touch each other, in two shapes (a box with
   barely rounded corners, and a pill) and two colours (ink, and the brand's
   deep blue). */
.tags {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  list-style: none;
}

.tag {
  height: 21px;
  display: flex;
  align-items: center;
  overflow: hidden;            /* the label leaves and re-enters through the tag's own edges */
  padding: 0 7px;
  border-radius: 2px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.tag:hover { color: #FFFFFF; }

.tag--pill {
  padding: 0 9px;
  border-radius: 11px;
}

.tag--accent { background: var(--accent); }

/* The pass: shared by the footer tags and the two shapes in the top bar.
   main.js adds .is-passing to anything marked data-pass when the mouse
   arrives and takes it off when the animation has finished, so the pass
   always plays to the end. The label speeds up out through the right edge,
   leaning forward, then comes in through the left edge and straightens as it
   stops. --pass-gap is how far past its own width the label has to travel to
   be fully out of sight (a little more than the shape's side padding). */
.pass__text { display: inline-block; }

.is-passing > .pass__text { animation: tag-pass 0.5s both; }

@keyframes tag-pass {
  0% {
    transform: translateX(0) skewX(0deg);
    animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.45);
  }
  38% { transform: translateX(calc(100% + var(--pass-gap, 12px))) skewX(-16deg); }
  38.01% {
    transform: translateX(calc(-100% - var(--pass-gap, 12px))) skewX(-16deg);
    animation-timing-function: cubic-bezier(0.1, 0.6, 0.25, 1);
  }
  100% { transform: translateX(0) skewX(0deg); }
}

/* ---------- Medium screens ---------- */

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; }
  .menu { grid-template-columns: 1fr 1fr; }
  .menu__feature { grid-column: 1 / -1; min-height: 220px; }
}

/* ---------- Small screens ---------- */

@media (max-width: 720px) {
  :root { --header-space: 68px; }
  .site-header { padding: 12px 12px 0; }
  .nav { border-radius: 16px; }
  .nav__bar { min-height: 54px; padding: 5px 6px; gap: 6px; }
  .nav__menu { padding: 0 10px; font-size: 14px; }
  .nav__lang { display: none; }
  .button { padding: 0 14px; font-size: 14px; }
  .button__long { display: none; }
  .button__short { display: inline; }
  .nav__panel-inner { max-height: calc(100vh - 90px); max-height: calc(100svh - 90px); }
  .menu { grid-template-columns: 1fr; }
  .menu__card, .menu__column, .menu__feature { min-height: 0; padding: 22px 22px 24px; }
  .menu__feature { grid-column: auto; min-height: 220px; }
  .menu__list a { font-size: 22px; }
  .hero__main { gap: 20px; padding: 24px 20px; }
  .eyebrow { font-size: 13px; }
  .lede { font-size: 16px; max-width: 320px; }
  .work__bar { padding: 0 20px 12px; font-size: 12px; }
  .studio { padding: 80px 20px 88px; }
  .studio__inner { gap: 48px; }
  .reel { border-radius: 16px; }
  .reel__play { width: 76px; height: 76px; }
  .reel__label { left: 18px; bottom: 16px; font-size: 12px; }
  .footer { --words-visible: 1.3; gap: 56px; border-radius: 22px 22px 0 0; }
  .footer__top { grid-template-columns: 1fr; gap: 48px; padding-top: 72px; }
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__legal { grid-template-columns: 1fr; justify-items: center; gap: 12px; padding: 18px 20px 22px; text-align: center; }
  .footer__credit { justify-self: center; }
  .tag { height: 28px; padding: 0 10px; }          /* a little bigger than on desktop, for fingers */
  .tag--pill { padding: 0 12px; border-radius: 14px; }
}

/* ---------- Very narrow phones ---------- */

@media (max-width: 350px) {
  .nav__wordmark { display: none; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html, .nav, .nav__panel, .nav__panel-inner, .nav__menu-icon span, .nav__symbol, .nav__wordmark,
  .menu > *, .nav.is-open .menu > *, .menu-overlay, .menu-open .menu-overlay,
  .button, .card__media, .card__caption, .reel__play { transition: none; }
  .is-passing > .pass__text { animation: none; }
}
