/* ============================================================
   Simone Stafford — portfolio
   Palette + motion vocabulary adapted from the Maxx template.
   ============================================================ */

:root {
  --blush:      #fbe7e4;
  --blush-deep: #f6d9d4;
  --red:        #f13427;
  --red-dark:   #c9271c;
  --ink:        #171310;
  --ink-soft:   #4a3f3a;
  --bone:       #f8f8f3;
  --mute:       #c9c7c2;

  --bg: var(--blush);
  --fg: var(--ink);

  --display: "Anton", "Haettenschweiler", "Arial Narrow", sans-serif;
  /* variable grotesk used for the hero wordmark (wdth + wght axes) */
  --display-var: "Archivo", "Anton", "Arial Narrow", sans-serif;
  /* case studies use a lighter condensed face — closer to the reference's
     secondary display type than the heavy poster weight of the hero */
  --display-cs: "Oswald", "Barlow Condensed", "Arial Narrow", sans-serif;
  --label:   "Barlow Condensed", "Helvetica Neue", sans-serif;
  --body:    "Inter Tight", "Helvetica Neue", sans-serif;

  --pad: clamp(1rem, 3.2vw, 2.75rem);
  /* The hero wordmark is full-bleed, so on a wide display a fixed 96rem
     column read as a narrow strip under an enormous name. The column now
     grows with the viewport. Below ~1707px the 96rem floor wins and nothing
     changes; past that it tracks 92vw up to a 150rem ceiling so the cards
     don't become billboards. Everything capped to --maxw (hero labels,
     work grid, footer) widens together and stays in line. */
  --maxw: clamp(96rem, 94vw, 180rem);

  --ease: cubic-bezier(0.65, 0.05, 0, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit; color: inherit; background: none; border: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--red); color: var(--blush); }

/* ---------- type ---------- */

.label {
  font-family: var(--label);
  font-size: clamp(0.72rem, 0.95vw, 0.86rem);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1.25;
  font-weight: 500;
}
.label--red { color: var(--red); }
.label--mute { color: var(--ink-soft); }

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: -0.015em;
  margin: 0;
}

.prose { max-width: 42ch; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.55; }
.prose p + p { margin-top: 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ============================================================
   Preloader
   ============================================================ */
.no-intro #preloader { display: none !important; }
#preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--red);
  color: var(--blush);
  display: grid; place-items: center;
}
#preloader .pl-inner { text-align: center; overflow: hidden; }
#preloader .pl-name {
  /* matches the hero wordmark so the intro hands off cleanly */
  font-family: var(--display-var); font-weight: 900;
  font-variation-settings: "wdth" 62, "wght" 900;
  font-size: clamp(2.5rem, 9vw, 7rem);
  text-transform: uppercase; line-height: 0.85; display: block;
}
#preloader .pl-count {
  font-family: var(--label); font-size: 0.85rem; letter-spacing: 0.2em;
  margin-top: 1.2rem; display: block;
}
body.is-loading { overflow: hidden; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.9rem, 1.6vw, 1.35rem) var(--pad);
  mix-blend-mode: normal;
}
/* ---------------------------------------------------------------
   The backdrop. Red links floating over the red hero wordmark are
   invisible, so the moment the page moves the nav gets a ground of
   its own and the page passes underneath it. Fades in, so the top
   of the page keeps the clean full-bleed hero.
   --------------------------------------------------------------- */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blush);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.nav.is-stuck::before { opacity: 1; }

/* ---------- nav over a case-study hero ----------
   Case-study heroes are full-bleed photographs and the nav floats on top of
   them, where the ink logo and red links simply vanish into the picture.
   While the nav is still over the hero it goes light, with a soft shadow so
   it holds on a bright frame too; the moment it takes its blush backdrop
   (.is-stuck) it returns to the normal palette. */
.sws .nav:not(.is-stuck) .nav__logo,
.sws .nav:not(.is-stuck) .nav__link,
.sws .nav:not(.is-stuck) .nav__toggle {
  color: var(--blush);
  text-shadow: 0 1px 14px rgba(10, 10, 10, 0.55);
}
.sws .nav:not(.is-stuck) .nav__cta {
  color: var(--blush);
  border-color: rgba(251, 231, 228, 0.75);
  text-shadow: 0 1px 14px rgba(10, 10, 10, 0.55);
}
.sws .nav:not(.is-stuck) .nav__cta::before { background: var(--blush); }
.sws .nav:not(.is-stuck) .nav__cta:hover { color: var(--ink); text-shadow: none; }
.nav__logo, .nav__link, .nav__cta, .nav__toggle {
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), text-shadow 0.3s var(--ease);
}
/* the mobile sheet sets its own ground, so it keeps its own colours */
body.nav-open .nav__link { text-shadow: none; }
@media (prefers-reduced-motion: reduce) { .nav::before { transition: none; } }
/* The nav sat about two points under everything else and read as fine print.
   Scoped to .nav so the rest of the site's .label type is untouched. */
.nav .label { font-size: clamp(0.88rem, 1.08vw, 1.02rem); }
.nav__cta { padding: 0.6rem 1.3rem; }

.nav__logo {
  font-family: var(--display); font-size: 1.32rem; text-transform: uppercase;
  letter-spacing: 0.02em; line-height: 1;
}
.nav__logo sup { font-family: var(--body); font-size: 0.5em; vertical-align: super; }

/* everything except the logo sits right-justified */
.nav__right {
  display: flex; align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  margin-left: auto;
}
.nav__links {
  display: flex; justify-content: flex-end;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  color: var(--red);
}

.nav__cta {
  display: inline-flex; align-items: center;
  border: 1px solid var(--red); border-radius: 999px;
  padding: 0.55rem 1.15rem;
  color: var(--red);
  position: relative; overflow: hidden;
  isolation: isolate;
}
.nav__cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.nav__cta:hover { color: var(--blush); }
.nav__cta:hover::before { transform: translateY(0); }

/* text roll — the Maxx button hover */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: bottom; }
.roll span { display: block; transition: transform 0.45s var(--ease); }
.roll span:last-child { position: absolute; inset: 0; transform: translateY(100%); }
.roll:hover span:first-child { transform: translateY(-100%); }
.roll:hover span:last-child { transform: translateY(0); }

.nav__link { position: relative; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* mobile nav */
.nav__toggle { display: none; }
@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 0; background: var(--red); color: var(--blush);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 1.5rem; font-size: 2rem;
    clip-path: inset(0 0 100% 0); transition: clip-path 0.6s var(--ease);
  }
  .nav__links .label {
    font-family: var(--display); font-size: clamp(2.5rem, 13vw, 4.5rem);
    letter-spacing: -0.01em; line-height: 1;
  }
  body.nav-open .nav__links { clip-path: inset(0 0 0 0); }
  .nav__toggle { display: block; z-index: 101; }
  body.nav-open .nav__toggle, body.nav-open .nav__logo { color: var(--blush); }

  /* No underline in the overlay. iOS leaves a tapped link in :hover, so the
     rule meant for a desktop cursor stuck a line under whichever item you
     last touched and it read as a mistake. */
  .nav__links .nav__link::after { content: none; }

  /* The pill has no room in the mobile bar, but hiding it outright left the
     contact page unreachable from the nav on a phone. It rejoins the menu
     instead, parked at the foot of the open overlay. */
  .nav__cta { display: none; }
  body.nav-open .nav__cta {
    display: inline-flex;
    position: fixed; left: 50%; bottom: clamp(3rem, 11vh, 5.5rem);
    transform: translateX(-50%);
    z-index: 102;
    border-color: var(--blush); color: var(--blush);
    font-size: 0.95rem; padding: 0.85rem 1.7rem;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  /* deliberately short — the name should dominate, not float in a field
     of pale pink, and the work grid should break the fold */
  /* Capped as well as proportional: on a tall window 58svh grew while the
     wordmark (sized off the width) did not, so the name floated in a field
     of pink with the slack split above and below it. */
  min-height: min(52svh, 36rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  /* has to clear the fixed nav even when there is no slack left */
  padding-top: clamp(4.5rem, 6vw, 6.5rem);
  padding-bottom: clamp(0.9rem, 1.8vw, 1.4rem);
  position: relative;
}
.hero__mark {
  position: relative;
  width: 100%;
  padding-inline: var(--pad);
  /* auto margins centre the wordmark vertically while the meta row
     stays pinned to the bottom of the viewport */
  margin-block: auto;
}
.hero__title {
  /* variable face so the letters can morph on the width + weight axes */
  font-family: var(--display-var);
  font-weight: 900;
  font-variation-settings: "wdth" 62, "wght" 900;
  text-align: center;
  color: var(--red);
  text-transform: uppercase;
  /* line-height must stay >= 1 so the reveal masks don't clip the glyphs;
     the lines are pulled together with a negative margin instead. */
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  /* JS fits this to the container width; this is just the pre-fit fallback */
  font-size: 13vw;
}
/* natural letter spacing — JS scales the type so the line fills the width.
   One line on desktop; stacked on small screens. */
.hero__title { white-space: nowrap; }
.hero__line { display: inline; }

/* ---- weight morph ----
   Letters near the pointer widen and lighten. The two axes live in custom
   properties registered with @property so the browser can interpolate them
   itself — JS only writes target numbers, CSS does the easing. */
@property --wdth { syntax: "<number>"; inherits: false; initial-value: 62; }
@property --wght { syntax: "<number>"; inherits: false; initial-value: 900; }

.hero__title .ch {
  --wdth: 62;
  --wght: 900;
  font-variation-settings: "wdth" var(--wdth), "wght" var(--wght);
  transition: --wdth 0.5s var(--ease-soft), --wght 0.5s var(--ease-soft);
}
@media (prefers-reduced-motion: reduce) {
  .hero__title .ch { transition: none; }
}

.hero__title .ch { display: inline-block; will-change: transform; }
.mask {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  /* breathing room so descenders/overshoot survive the clip */
  padding-bottom: 0.06em;
}

/* space-between only centres the middle item when the outer two match, and
   they do not (363px vs 250px), which pushed PORTLAND, OR 56px off centre.
   Equal outer tracks fix that; minmax(min-content, 1fr) with nowrap keeps the
   disciplines line from wrapping, which is what the grid did wrong before. */
/* Two items now that the city line is gone, so space-between does the right
   thing on its own — the three-column grid here was only ever needed to hold
   a middle item honestly centred between two unequal neighbours. */
.hero__meta {
  display: flex; align-items: end; justify-content: space-between;
  gap: clamp(1rem, 3vw, 3rem); margin-top: clamp(0.9rem, 1.6vw, 1.4rem);
}
.hero__meta > * { margin: 0; }
@media (min-width: 761px) { .hero__meta > * { white-space: nowrap; } }
.hero__meta > :nth-child(2) { text-align: center; }
.hero__meta > :nth-child(3) { text-align: right; }
@media (max-width: 760px) {
  .hero__meta { grid-template-columns: 1fr; gap: 0.35rem; }
  .hero__meta > * { text-align: left !important; }
  .hero__title { white-space: normal; }
  .hero__line { display: block; }
  .hero__line + .hero__line { margin-top: -0.12em; }
}

/* ============================================================
   Work grid
   ============================================================ */
.work { padding-top: clamp(1rem, 2vw, 2rem); }

.work__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 1.6vw, 1.35rem);
}
@media (max-width: 760px) { .work__grid { grid-template-columns: 1fr; } }

.card { display: block; position: relative; }
.card--wide { grid-column: 1 / -1; }

.card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--blush-deep);
  border-radius: clamp(0.75rem, 1.1vw, 1.25rem);
}
.card--wide .card__media { aspect-ratio: 21 / 9; }

/* a cinema-wide image (2.4:1+) inside a 3:2 tile: letterbox it on a dark
   ground rather than cropping. Nike+ runners is a banner, not a tile crop —
   a cover fit cuts two runners and slices the swoosh in half. */
.card--banner .card__media { background: #0f1012; }
.card--banner .card__media img { object-fit: contain; transform: none; }
.card--banner:hover .card__media img { transform: scale(1.03); }

/* a mark rather than a photograph: the artwork is a small square on pure
   black, so the ground has to be pure black too or its edge shows, and it
   must not be blown up past its own pixels. */
.card--mark .card__media { background: #000; }
.card--mark .card__media img {
  width: auto; height: auto;
  max-width: min(100%, 22rem); max-height: 70%;
  margin: auto; inset: 0; position: absolute;
  image-rendering: auto;
}
.card--mark:hover .card__media img { transform: scale(1.04); }
@media (max-width: 760px) { .card--wide .card__media { aspect-ratio: 4/3; } }

.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.07); }

/* short, soft scrim so the white label holds on pale images —
   invisible on dark ones */
.card__media::before {
  content: ""; position: absolute; inset: auto 0 0 0; z-index: 1;
  height: 40%; pointer-events: none;
  background: linear-gradient(to top, rgba(23,19,16,0.6) 0%, rgba(23,19,16,0.18) 45%, transparent 100%);
}
/* red wipe on hover */
.card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: var(--red); mix-blend-mode: multiply;
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.card:hover .card__media::after { opacity: 0.26; }

/* just the name, bottom left over the image — as in the reference */
.card__caption {
  position: absolute; z-index: 3;
  left: clamp(0.9rem, 1.5vw, 1.5rem);
  bottom: clamp(0.8rem, 1.3vw, 1.25rem);
  right: clamp(0.9rem, 1.5vw, 1.5rem);
  color: #fff;
}
.card__title {
  font-family: var(--label); font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  letter-spacing: 0.1em; line-height: 1.2;
  margin: 0; color: inherit;
  /* keeps it legible on pale images without needing a scrim */
  text-shadow: 0 1px 12px rgba(23, 19, 16, 0.55);
}

.card--locked .card__media { display: grid; place-items: center; }


/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--red); border-bottom: 1px solid var(--red);
  padding-block: clamp(0.4rem, 0.7vw, 0.6rem);
  margin-block: clamp(2.5rem, 6vw, 5rem);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
/* self-contained repeating unit — the trailing gap is inside it, so
   scrolling by exactly one group width loops seamlessly */
.marquee__group {
  display: flex; align-items: center; gap: 1.5rem;
  padding-right: 1.5rem; flex: none;
}
.marquee__group > span {
  font-family: var(--display); text-transform: uppercase; color: var(--red);
  font-size: clamp(0.95rem, 1.9vw, 1.65rem); line-height: 1;
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 1.5rem;
  white-space: nowrap;
}
.marquee__group > span::after { content: "✱"; font-size: 0.5em; }

/* ============================================================
   Statement / sections
   ============================================================ */
.section { padding-block: clamp(3.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 4rem); }

.sec-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; padding-bottom: clamp(1rem, 2.5vw, 2rem);
  margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
}
/* section headings sit a few points above the utility label size */
.sec-head .label {
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  letter-spacing: 0.07em;
  font-weight: 600;
}

.statement {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.75rem, 5vw, 4.5rem);
  /* >= 1 so the per-line reveal masks don't clip the glyphs */
  line-height: 1.02;
  letter-spacing: -0.015em; margin: 0; max-width: 26ch;
}
.statement em { font-style: normal; color: var(--red); }

/* padding gives the clip room; the negative margin keeps the rhythm tight */
.line { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.07em; }
.line > span { display: block; will-change: transform; }

/* two-column info rows (experience, capabilities) */
.rows { border-top: 1px solid rgba(23,19,16,0.15); }
/* fixed final column so the middle column starts at the same x on every
   row — an `auto` track sized itself to each row's date string */
.row {
  display: grid; grid-template-columns: 1.1fr 1.4fr 9rem;
  gap: 1rem; align-items: baseline;
  padding-block: clamp(0.9rem, 1.8vw, 1.35rem);
  border-bottom: 1px solid rgba(23,19,16,0.15);
  transition: color 0.35s var(--ease), padding-left 0.45s var(--ease);
}
.row:hover { color: var(--red); padding-left: 0.6rem; }
.row__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(1rem, 1.7vw, 1.5rem); line-height: 1; }
.row > :last-child { text-align: right; }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 0.25rem; }
  .row > :last-child { text-align: left; }
}

/* ============================================================
   About — intro block (portrait + statement + bio as one unit)
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .about-intro { grid-template-columns: 1fr; align-items: start; }
}

/* The crop is baked into the file rather than done here with object-fit:
   the shot needs a specific amount of wall above her head, and a CSS cover
   crop would move that around with the column width. */
.about-intro__media {
  margin: 0; overflow: hidden;
  border-radius: clamp(0.75rem, 1.1vw, 1.25rem);
  aspect-ratio: 3614 / 2928;
}
.about-intro__media picture { display: contents; }
.about-intro__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.about-intro__statement {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.4rem, 2.9vw, 2.7rem); line-height: 1.02;
  letter-spacing: -0.01em; margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  color: var(--red); max-width: 20ch;
}
/* With the statement line gone, this paragraph is the only copy on the
   page, so it has to carry the weight the headline used to. Set at
   statement scale. 600 is the heaviest Inter Tight we load — 700 would be
   a browser-synthesised fake bold. */
.about-intro__copy .prose { max-width: none; }
.about-intro__copy .prose p {
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}


/* ============================================================
   Rounded CTA module
   ============================================================ */
/* A pill, not a full-width bar. The bordered band ran the width of the page
   directly above the footer's huge red "Let's talk", so two full-width red
   things stacked and competed. */
.cta-module {
  /* block-level flex, not inline-flex: auto margins only centre a block box */
  display: flex; align-items: center; gap: clamp(0.8rem, 1.4vw, 1.15rem);
  width: fit-content;
  margin: clamp(2rem, 5vw, 3.5rem) auto clamp(3rem, 7vw, 5rem);
  padding: 1.05em 1.75em;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red); text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease);
}
.cta-module::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red); transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.cta-module:hover { color: var(--blush); transform: translateY(-2px); }
.cta-module:hover::before { transform: translateY(0); }
.cta-module__title {
  font-family: var(--label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.09em; font-size: clamp(0.85rem, 1.15vw, 1rem); line-height: 1;
}
.cta-module__arrow { font-size: 1.05em; line-height: 1; transition: transform 0.4s var(--ease); }
.cta-module:hover .cta-module__arrow { transform: translate(2px, -2px); }

/* ============================================================
   She peers over the top of the Let's talk module
   ============================================================ */
/* ============================================================
   Card variants — link, video, or not yet live
   ============================================================ */
button.card {
  width: 100%; text-align: left; padding: 0; border: 0;
  background: none; font: inherit; color: inherit; display: block;
}

/* not clickable yet: no pointer, no hover motion */
.card--inert { cursor: default; }
.card--inert:hover .card__media img { transform: scale(1.02); }
.card--inert:hover .card__media::after { opacity: 0; }

/* video card gets a play affordance */
.card__play {
  position: absolute; z-index: 3; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.card__play span {
  display: grid; place-items: center;
  width: clamp(3rem, 4.5vw, 4.25rem); aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(251, 231, 228, 0.9); color: var(--red);
  font-size: 1rem; padding-left: 0.2em;
  transform: scale(0.92);
  transition: transform 0.45s var(--ease), background-color 0.45s var(--ease);
}
.card--video:hover .card__play span { transform: scale(1); background: var(--blush); }

/* ============================================================
   Video lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 210;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(23, 19, 16, 0.9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
}
.lightbox.is-open { visibility: visible; }

.lightbox__stage {
  position: relative;
  width: min(100%, 68rem);
  border-radius: clamp(0.7rem, 1.1vw, 1.1rem);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.lightbox__video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* shown only when the video file is missing */
.lightbox__missing {
  position: absolute; inset: auto 0 0 0;
  margin: 0; padding: 0.9rem 1.1rem;
  background: var(--red); color: var(--blush);
  font-family: var(--label); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.8rem;
  display: none;
}
.lightbox.is-missing .lightbox__missing { display: block; }
.lightbox.is-missing .lightbox__video { object-fit: contain; }

.lightbox__close {
  position: absolute; top: clamp(0.75rem, 2vw, 1.5rem); right: clamp(0.75rem, 2vw, 1.5rem);
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.8rem; color: var(--blush);
  border: 1px solid rgba(251,231,228,0.5); border-radius: 999px;
  padding: 0.5rem 1rem;
}
.lightbox__close:hover { background: var(--blush); color: var(--ink); }

/* ============================================================
   Case study
   ============================================================ */
.cs-hero { padding-top: clamp(6rem, 14vw, 11rem); }
/* the About page uses the same wordmark face as the home hero */
.cs-hero__title--name {
  font-family: var(--display-var) !important;
  font-weight: 900;
  font-variation-settings: "wdth" 62, "wght" 900;
  letter-spacing: -0.02em;
}
.cs-hero__title {
  font-family: var(--display-cs); font-weight: 400;
  text-transform: uppercase; color: var(--red);
  font-size: clamp(2.75rem, 10.5vw, 10.5rem); line-height: 0.95; letter-spacing: -0.005em;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}
.cs-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  border-top: 1px solid rgba(23,19,16,0.2); padding-top: 1rem;
}
@media (max-width: 760px) { .cs-meta { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; } }
.cs-meta dt { margin: 0 0 0.35rem; }
.cs-meta dd { margin: 0; font-size: 0.95rem; }

.cs-figure { margin: 0 0 clamp(0.75rem, 1.6vw, 1.35rem); overflow: hidden; }
.cs-figure img { width: 100%; will-change: transform; }
.cs-figure figcaption { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--ink-soft); padding-top: 0.5rem; }

/* ============================================================
   Long-form captures — phone screens you scroll
   The Nike editorial work is full-article screen captures, some of
   them 14,000px tall. Dropped inline they blew the case study out to
   50 screens and upscaled 828px-wide artwork to 1352, which softened
   the one thing these pieces are here to show: the writing. Each one
   now sits in a phone-width frame at roughly native scale and scrolls
   inside itself, the way the article did on the phone it shipped on.
   ============================================================ */
/* ---- Simone's own case studies in the Splice layout ----
   Same proportions and type, but the acid yellow belongs to Splice.
   On a Nike or Select page the accent is the site's own red. */
/* body.* so it beats `.sws` whatever the source order */
body.sws--ss { --acid: #f13427; }
/* The eyebrow sits on a dark photograph. Red at label size was unreadable
   there and black would be worse — it needs to come off the image, not sink
   into it. Dimmed white keeps it legible while staying under the title. */
body.sws--ss .sws-hero__eyebrow { color: rgba(255, 255, 255, 0.82); }
/* The Splice heroes sit on dark film. These sit on a photograph that can be
   bright, so the title needs its own ground rather than luck. */
body.sws--ss .sws-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top,
    rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.3) 45%, rgba(10, 10, 10, 0) 78%);
}

/* one instruction per set, above the frames — it was repeating under
   every single screen, which is 22 copies of the same sentence */
.stories-hint--top { margin: 0 0 clamp(1rem, 2vw, 1.5rem); text-align: left; }

/* section headings inside the combined Nike page */
.nike-set__title {
  font-family: var(--display-cs); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 3.25rem); line-height: 1; letter-spacing: -0.015em;
  margin: 0.35em 0 0.6em;
}

.cs-rail { position: relative; margin-top: clamp(1.25rem, 2.5vw, 2rem); }
.cs-phones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.75rem);
}
@media (min-width: 1100px) { .cs-phones { grid-template-columns: repeat(3, 1fr); } }
.cs-phone { margin: 0; }

/* ---- the phone set on a small screen ----
   Twenty-one screens at 74vh each, one per row, made the Nike page a mile
   long on a phone. Below 760 the set travels sideways instead: swipe across
   the screens, scroll inside one to read it. Two axes, one for choosing and
   one for reading. The desktop grid above is untouched. */
@media (max-width: 760px) {
  .cs-phones {
    display: flex;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    /* room for the scrollbar so it never sits on top of a screen */
    padding-bottom: 0.9rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(23, 19, 16, 0.3) transparent;
  }
  .cs-phones::-webkit-scrollbar { height: 6px; }
  .cs-phones::-webkit-scrollbar-thumb {
    background: rgba(23, 19, 16, 0.28); border-radius: 999px;
  }
  .cs-phone {
    flex: 0 0 auto;
    /* a sliver of the next screen, so it reads as a set you can push */
    width: min(78vw, 20rem);
    scroll-snap-align: start;
  }
}

/* The rail is a phone-width thing, and a phone has the gesture already.
   A narrow desktop window gets it too, and there a mouse needs arrows. */
/* the hint has to describe whichever behaviour is actually in force */
.hint-rail { display: none; }
@media (max-width: 760px) {
  .hint-stack { display: none; }
  .hint-rail { display: inline; }
}

.cs-rail__btn { display: none; }
@media (max-width: 760px) and (hover: hover) {
  .cs-rail__btn {
    position: absolute; top: calc(50% - 0.45rem); transform: translateY(-50%);
    z-index: 3; display: grid; place-items: center;
    width: 2.9rem; height: 2.9rem; border-radius: 999px;
    border: 1px solid rgba(23, 19, 16, 0.18);
    background: rgba(251, 231, 228, 0.92);
    backdrop-filter: blur(6px);
    color: var(--ink); font-size: 1.05rem; line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 26px -14px rgba(23, 19, 16, 0.5);
    transition: opacity 0.3s var(--ease), background 0.3s var(--ease);
  }
  .cs-rail__btn:hover { background: var(--red); color: var(--blush); border-color: transparent; }
  .cs-rail__btn--prev { left: clamp(0.4rem, 1vw, 0.9rem); }
  .cs-rail__btn--next { right: clamp(0.4rem, 1vw, 0.9rem); }
  .cs-rail__btn[disabled] { opacity: 0; pointer-events: none; }
}
.cs-phone__screen {
  height: min(74vh, 44rem);
  overflow-y: auto; overflow-x: hidden;
  border-radius: clamp(0.8rem, 1.2vw, 1.25rem);
  background: #0a0a0a;
  box-shadow: 0 20px 44px -30px rgba(23, 19, 16, 0.55);
  /* Lenis owns the wheel on this site; without this it swallows the
     gesture and the frame never scrolls. */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 19, 16, 0.35) transparent;
}
.cs-phone__screen::-webkit-scrollbar { width: 6px; }
.cs-phone__screen::-webkit-scrollbar-thumb {
  background: rgba(23, 19, 16, 0.3); border-radius: 999px;
}
.cs-phone__screen img { display: block; width: 100%; height: auto; }

.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.75rem, 1.6vw, 1.35rem); }
@media (max-width: 760px) { .cs-grid { grid-template-columns: 1fr; } }

.pullquote {
  font-family: var(--display-cs); font-weight: 300;
  text-transform: uppercase; color: var(--red);
  font-size: clamp(1.6rem, 4.4vw, 3.75rem); line-height: 1.04; letter-spacing: 0;
  margin: 0; max-width: 24ch;
}

.next {
  display: block; border-top: 1px solid rgba(23,19,16,0.2);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.next__title {
  display: block;
  font-family: var(--display-cs); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 8rem); line-height: 0.95; margin: 0.35rem 0 0;
  transition: color 0.35s var(--ease), transform 0.6s var(--ease);
}
.next:hover .next__title { color: var(--red); transform: translateX(1.5rem); }

/* placeholder blocks for missing assets */
.placeholder {
  display: grid; place-items: center; text-align: center;
  aspect-ratio: 16/9; background: var(--blush-deep);
  border: 1px dashed var(--red); color: var(--red);
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.8rem; padding: 2rem;
}

/* ============================================================
   Footer
   ============================================================ */
/* a rounded module inset from the page edges rather than a full-bleed band */
.footer {
  background: var(--red); color: var(--blush);
  padding-top: clamp(1.75rem, 3vw, 2.75rem);
  /* Cap the panel to the content column. Without a max-width the red ran
     nearly full-bleed while the .wrap inside it stopped at --maxw, so past
     ~1624px the type drifted inward and sat stranded in the middle of the
     red. width keeps the --pad inset on narrower screens. */
  width: calc(100% - 2 * var(--pad));
  max-width: var(--maxw);
  margin: 0 auto var(--pad);
  border-radius: clamp(0.7rem, 1.1vw, 1.1rem);
  overflow: hidden;
}
.footer a:hover { opacity: 0.7; }
/* Let's talk IS the mailto now — the address no longer sits under it */
.footer__big {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 4.5rem); line-height: 0.9; letter-spacing: -0.02em;
  margin: 0; display: inline-block; position: relative;
  color: inherit; text-decoration: none; cursor: pointer;
  transition: opacity 0.35s var(--ease);
}
.footer__big-arrow {
  display: inline-block; margin-left: 0.18em;
  font-size: 0.42em; vertical-align: 0.9em; line-height: 1;
  transition: transform 0.4s var(--ease);
}
/* No underline: at this size and line-height the rule lands inside the
   glyphs and slices through them. The colour flip carries the hover. */
.footer__big:hover { color: var(--ink); }
.footer__big:hover .footer__big-arrow { transform: translate(0.18em, -0.18em); }
.footer__big:focus-visible { outline: 2px solid currentColor; outline-offset: 0.2em; }
.footer__cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
@media (max-width: 760px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
.footer__cols ul { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.4rem; }
.footer__base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(251,231,228,0.3); padding-block: 0.9rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* ============================================================
   Reveal defaults (JS removes / animates)
   ============================================================ */
[data-reveal] { opacity: 0; }
.no-js [data-reveal] { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  #preloader { display: none; }
}

/* ---- homepage lead card: plays its film ---- */
.card__video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.02);
  transition: transform 0.9s var(--ease);
}
.card:hover .card__video { transform: scale(1.06); }
.card--film .card__media {
  background-image: url('../img/start-with-sound/bang.jpg');
  background-size: cover; background-position: center;
}
.card--film .card__media::before { opacity: 0.55; }

/* ---- case study hero: full-bleed film ---- */
.sws-hero {
  position: relative; min-height: 82svh;
  display: flex; align-items: flex-end;
  background: var(--ink2, #0a0a0a); overflow: hidden;
  border-radius: 0 0 clamp(0.7rem, 1.1vw, 1.1rem) clamp(0.7rem, 1.1vw, 1.1rem);
}
.sws-hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.78;
}
.sws-hero__inner {
  position: relative; z-index: 2; width: 100%;
  padding: var(--pad); padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  color: #fff;
}
.sws-hero__eyebrow {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: clamp(0.72rem, 0.95vw, 0.86rem); color: var(--acid, #eaff00);
  margin: 0 0 clamp(0.75rem, 1.5vw, 1.1rem);
}
.sws-hero__title {
  font-family: var(--display-var); font-weight: 900;
  font-variation-settings: "wdth" 62, "wght" 900;
  text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 0.88; margin: 0;
  font-size: clamp(2.5rem, 11vw, 11rem);
}
.sws-play {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin-top: clamp(1rem, 2vw, 1.6rem);
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.8rem; color: #0a0a0a;
  background: var(--acid, #eaff00); border-radius: 999px;
  padding: 0.7rem 1.2rem;
  transition: transform 0.4s var(--ease);
}
.sws-play:hover { transform: translateY(-2px); }

/* ============================================================
   Case study — Start With Sound
   Proportions measured off instrument.com/work/splice-campaign:
   body 18/28, heading 23/28, statement 36/40, all weight 400;
   body sits in a column indented ~27%, statements start at the margin.
   ============================================================ */
.sws { --acid: #eaff00; --ink2: #0a0a0a; }

.act { padding-block: clamp(3.5rem, 8vw, 7rem); }
.act--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
/* A media act sandwiched between two copy acts stacked its padding on top of
   theirs, so a sentence and the image it refers to sat 104-179px apart, and
   unevenly. Most of that was the copy act's own 82px bottom padding, not the
   media act's — so zero the media act against a copy neighbour and halve the
   copy act's padding on the side that faces it. Even gap, both sides. */
.act + .act--tight { padding-top: 0; }
.act--tight:has(+ .act) { padding-bottom: 0; }
.act:has(+ .act--tight) { padding-bottom: clamp(1.5rem, 3vw, 2.75rem); }
.act--tight + .act { padding-top: clamp(1.5rem, 3vw, 2.75rem); }

/* Two tight acts in a row — a paragraph sitting between runs of images —
   stacked both sections' padding and left 83px of blush on each side of the
   text. Dropping the second one's top padding halves it to 53px and keeps it
   even above and below, since the paragraph's own margin now carries the
   gap on both sides. */
.act--tight + .act--tight { padding-top: 0; }
.act--ink { background: var(--ink2); color: #ededed; }
.act__in {
  width: 100%; max-width: 100rem; margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.4vw, 3rem);
}

/* the two column positions */
.tcol { margin-left: 26.8%; max-width: 46.5%; }
.wcol { max-width: 62%; }
@media (max-width: 900px) {
  .tcol { margin-left: 0; max-width: 100%; }
  .wcol { max-width: 100%; }
}

/* type scale — everything regular weight */
.t-intro {
  font-family: var(--body); font-weight: 400;
  font-size: clamp(1.25rem, 1.95vw, 1.75rem); line-height: 1.16;
  letter-spacing: -0.015em; margin: 0;
}
.t-say {
  font-family: var(--body); font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.12;
  letter-spacing: -0.02em; margin: 0;
}
.t-say .k { opacity: 0.38; }
.t-h {
  font-family: var(--body); font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.44rem); line-height: 1.22;
  letter-spacing: -0.005em; margin: 0 0 1.1rem;
}
.t-body {
  font-family: var(--body); font-weight: 400;
  font-size: clamp(0.98rem, 1.25vw, 1.125rem); line-height: 1.56; margin: 0;
}
.t-body + .t-body { margin-top: 1.55em; }
.act--ink .t-body { color: #c9c9c9; }
.t-kicker {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.14em;
  /* stated so the treatment holds on a heading element too, where the UA
     stylesheet would otherwise bold it */
  font-size: 0.78rem; font-weight: 400; margin: 0 0 1.5rem; color: var(--ink-soft);
}
.act--ink .t-kicker { color: var(--acid); }

/* media — full width of the act, one rhythm for all of it */
.m { margin: 0; }
.m img, .m video {
  width: 100%; height: auto; display: block;
  border-radius: clamp(0.75rem, 1.4vw, 1.5rem);
}
.m figcaption {
  font-family: var(--body); font-weight: 400; font-size: 0.95rem;
  line-height: 1.5; color: var(--ink-soft); padding-top: 0.9rem;
  margin-left: 26.8%; max-width: 46.5%;
}
@media (max-width: 900px) { .m figcaption { margin-left: 0; max-width: 100%; } }
.m-stack { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.m-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.75rem); align-items: start; }
/* Stacked media inside one act had no gap at all — on the Splice pages each
   group sits in its own section and inherits the act's padding. Match the
   .m-two gutter so a column of media reads as the same grid as a row. */
.act__in > .m + .m,
.act__in > .m + .m-two,
.act__in > .m-two + .m,
.act__in > .m-two + .m-two { margin-top: clamp(1rem, 2vw, 1.75rem); }
/* and the scroll sets want real air above them, not a gutter */
.act__in > .m + .stories-hint--top,
.act__in > .m-two + .stories-hint--top { margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 760px) { .m-two { grid-template-columns: 1fr; } }
.m-narrow { max-width: 34%; margin-left: 26.8%; }
@media (max-width: 900px) { .m-narrow { max-width: 100%; margin-left: 0; } }

/* the anthem script */
.script {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(0.85rem, 1.05vw, 0.95rem); line-height: 2.0;
  margin: 0; color: #ededed;
}
.script p { margin: 0 0 1.4em; }
.script .hi { color: var(--acid); }

/* simple lists — objectives, pillars, roles */
.lst { list-style: none; margin: 0; padding: 0; }
.lst li {
  font-family: var(--body); font-weight: 400;
  font-size: clamp(0.98rem, 1.25vw, 1.125rem); line-height: 1.56;
}
.lst li + li { margin-top: 0.9em; }
.act--ink .lst b { color: var(--acid); font-weight: 400; }

.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.cols2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 860px) { .cols3, .cols2 { grid-template-columns: 1fr; } }
.cols3 h4, .cols2 h4 {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.75rem; font-weight: 500; color: var(--ink-soft);
  margin: 0 0 1rem; padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(23,19,16,0.14);
}
.act--ink .cols3 h4, .act--ink .cols2 h4 { color: var(--acid); border-color: rgba(255,255,255,0.16); }

/* touchpoint cards keep the same type scale */
.tp__m { overflow: hidden; border-radius: clamp(0.6rem, 1.1vw, 1.1rem); background: var(--ink2); margin-bottom: 1rem; }
/* show the whole graphic — these are portrait social assets and a 4:3
   cover crop was slicing the tops and bottoms off all three */
.tp__m img, .tp__m video {
  width: 100%; aspect-ratio: 3 / 4; object-fit: contain; display: block;
}
.tp h5 { font-family: var(--body); font-weight: 400; font-size: 1.05rem; margin: 0 0 0.4rem; }
.tp p { font-family: var(--body); font-weight: 400; font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); margin: 0; }

.ads { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(1.25rem, 3vw, 2.5rem); }
.ads img { display: block; }

/* ---- scattered collage: the campaign as one field of work ---- */
.collage {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--ink2);
}
.collage figure {
  position: absolute; margin: 0;
  left: var(--x); top: var(--y); width: var(--w);
  transition: transform 0.6s var(--ease);
}
.collage figure:hover { transform: translateY(-6px) scale(1.015); z-index: 5; }
.collage img, .collage video {
  width: 100%; height: 100%; display: block;
  aspect-ratio: var(--ar, 4 / 3); object-fit: cover;
  border-radius: clamp(0.3rem, 0.5vw, 0.5rem);
  box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.45);
}
@media (max-width: 860px) {
  .collage img, .collage video { aspect-ratio: 4 / 3; }
}
.collage figcaption {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.62rem; color: rgba(255,255,255,0.45); padding-top: 0.5rem;
}
@media (max-width: 860px) {
  .collage {
    aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.75rem; padding: 1rem;
  }
  .collage figure { position: static; width: auto; }
  .collage figure:nth-child(1) { grid-column: 1 / -1; }
}

/* ---- story carousel ---- */
.stories {
  display: flex; gap: clamp(0.6rem, 1.2vw, 1rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 0.5rem; cursor: grab;
}
.stories::-webkit-scrollbar { display: none; }
.stories.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.stories > figure {
  flex: 0 0 clamp(11rem, 21vw, 17rem);
  scroll-snap-align: center; margin: 0;
}
.stories img, .stories video {
  width: 100%; aspect-ratio: 706 / 1460; object-fit: cover; display: block;
  background: #111;
  border-radius: clamp(0.6rem, 1.1vw, 1.1rem);
  user-select: none; -webkit-user-drag: none;
}
.stories-hint {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; color: var(--ink-soft); margin: 1rem 0 0;
}

/* OOH beside the landing page. The scroll mockup is 760x2100, so it sits in
   a browser-shaped window and scrolls inside it — that keeps both halves of
   the row the same height instead of one running 3x the other. */
.m-pair {
  display: grid; grid-template-columns: 1.55fr 1fr;
  gap: clamp(1rem, 2vw, 1.75rem); align-items: start;
}
.m-pair figcaption { margin-left: 0; max-width: 100%; }
.m--window video {
  aspect-ratio: 1.147; object-fit: cover; object-position: center top;
}
@media (max-width: 860px) {
  .m-pair { grid-template-columns: 1fr; }
  .m--window video { aspect-ratio: 4 / 3; }
}

/* ============================================================
   Start With Sound — module restructure (Simone, Oct 2026)
   M2 centred set-up, M3 purple bleed, M5 paired OOH,
   M6 mixed carousel + fuller collage
   ============================================================ */
.sws { --grape: #bb78fb; --grape-ink: #150a24; }

/* ---- M2: the set-up. Centred and bold, filling the measure. ---- */
.t-set {
  font-family: var(--body); font-weight: 400;
  font-size: clamp(1.3rem, 2.15vw, 2rem); line-height: 1.24;
  letter-spacing: -0.025em; text-align: center;
  max-width: 54ch; margin-inline: auto;
}
.t-set + .t-set { margin-top: 1.05em; }
/* Inter Tight is only loaded at 400/500/600, so a bare <strong> at 700 would
   be a browser-synthesized fake bold — heavier, blurrier and off-rhythm next
   to the real weights. Pin it to the weight we actually ship. */
.t-set strong { font-weight: 600; }
/* the statement that closes the overview, set off by a clear break */
.t-stmt { margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.t-set-k { text-align: center; }
@media (max-width: 760px) { .t-set { font-size: clamp(1.25rem, 5.4vw, 1.75rem); max-width: 100%; } }

/* ---- M3: the key art bleeds into a field of its own purple ----
   purple-key.jpg is cropped so its last row is #BA77FB; the mask
   dissolves the film grain into the flat field over the final 12%,
   which is already dead space under the caption. ---- */
.act--purple {
  background: var(--grape); color: var(--grape-ink);
  padding-top: 0;
}
.key { margin: 0 0 clamp(1.5rem, 2.6vw, 2.5rem); }
.key img {
  width: 100%; height: auto; display: block; border-radius: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 94%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 94%, transparent 100%);
}
.act--purple .t-kicker { color: rgba(21,10,36,0.6); }
.act--purple .cols2 h4 { color: rgba(21,10,36,0.6); border-color: rgba(21,10,36,0.22); }
.act--purple .lst li { color: var(--grape-ink); }
.act--purple .lst b { font-weight: 500; }

/* ---- M4: the campaign manifesto ---- */
.t-mani {
  font-family: var(--body); font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.36;
  letter-spacing: -0.015em; margin: 0;
}
.t-mani .st { display: block; margin-top: 1.05em; font-weight: 500; }

/* ---- M5: two billboards, equal height, no crop ----
   ooh-building is 1.227:1 and ooh is 1.779:1. Column widths in that
   same ratio make both images resolve to an identical height at their
   natural aspect, and together they span the row exactly. ---- */
.m-row--ooh {
  display: grid; grid-template-columns: 1.227fr 1.779fr;
  gap: clamp(1rem, 2vw, 1.75rem); align-items: start;
}
.m-row--ooh figcaption { margin-left: 0; max-width: 100%; }
@media (max-width: 760px) { .m-row--ooh { grid-template-columns: 1fr; } }

/* the anthem, playable in place rather than behind a CTA */
.m--play video { background: #000; }

/* ---- M6: carousel mixing square-ish social posts with 9:16 stories.
   Fixed height + per-item aspect lets both sit in one rail. ---- */
.stories.stories--mixed > figure { flex: 0 0 auto; }
.stories.stories--mixed img,
.stories.stories--mixed video {
  height: clamp(19rem, 37vw, 30rem); width: auto;
  aspect-ratio: var(--ar, 706 / 1460); object-fit: cover;
}
@media (max-width: 760px) {
  .stories.stories--mixed img,
  .stories.stories--mixed video { height: 62vw; }
}

/* ---- M6: a fuller collage with drift ---- */
.collage--full { aspect-ratio: 16 / 10; }
@media (max-width: 860px) { .collage--full { aspect-ratio: auto; } }

/* Collage drift: GSAP scrubs the figure's transform, so the figure can't
   carry a CSS transition or a hover transform of its own — the two fight
   and the scrub stutters. Hover moves onto the media instead. */
.collage figure { transition: none; }
.collage figure:hover { transform: none; z-index: 5; }
.collage img, .collage video { transition: transform 0.6s var(--ease); }
.collage figure:hover img, .collage figure:hover video { transform: scale(1.03); }

/* ============================================================
   Start With Sound — centred, with Jen's pull-backs
   Centre the page copy, but the hero, the "what it had to do"
   columns and the whole anthem section stay left.
   Scoped to .sws, which only this page carries.
   ============================================================ */
.sws .act__in { text-align: center; }

/* the copy columns centre on the page instead of sitting in the
   left-indented Instrument column */
.sws .tcol,
.sws .wcol,
.sws .m figcaption { margin-inline: auto; }
@media (min-width: 901px) {
  .sws .tcol,
  .sws .m figcaption { max-width: 62ch; }
}

.sws .next { text-align: center; }
.sws .next:hover .next__title { transform: none; }

/* --- stays left: the hero --- */
.sws .sws-hero__inner { text-align: left; }

/* --- stays left: what it had to do --- */
.sws .act--purple .act__in { text-align: left; }

/* --- stays left: the whole anthem section, flush to the margin
       so the script lines up with its own label --- */
.sws .act--ink .act__in,
.sws .act--ink .tcol { text-align: left; }
@media (min-width: 901px) {
  .sws .act--ink .tcol { margin-left: 0; margin-right: auto; max-width: 70ch; }
}

/* the BANG statement carries weight */
.sws .t-say--strong { font-weight: 600; letter-spacing: -0.03em; }

/* ---- Jen's round 3 ---- */

/* section padding modifiers, for closing gaps between related blocks */
.act--pt-tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.act--pb-tight { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* the anthem script with the film beside it */
.anthem { display: grid; gap: clamp(1.5rem, 2.5vw, 2.75rem); align-items: start; }
.anthem .script { margin: 0; max-width: none; }
.anthem__film video { border-radius: clamp(0.5rem, 0.9vw, 0.9rem); }
/* the script is monospace, so it only ever needs the width of its longest
   written line — max-content gives it exactly that and hands every remaining
   pixel to the film, which is the thing worth looking at */
@media (min-width: 1200px) {
  .anthem { grid-template-columns: minmax(0, max-content) minmax(0, 1fr); }
  .anthem .script { font-size: clamp(0.78rem, 0.92vw, 0.9rem); }
  .anthem__film { position: sticky; top: clamp(4rem, 8vw, 6rem); }
}
/* and the anthem band runs the full page rather than the 100rem text measure */
.act--wide .act__in { max-width: none; }

/* emphasis inside the statements */
.sws .t-mani b { font-weight: 700; }
.sws .t-say b  { font-weight: 600; }

/* touchpoint copy: no single-word last lines */
.sws .tp p { text-wrap: pretty; }

/* credits: headers stay centred, the lists under them read left */
.sws .act--credits .lst { text-align: left; }

/* ---- Jen's round 4 ---- */

/* BANG lands with a hit */
.bang { display: inline-block; will-change: transform; }

/* pillars and credits: headers and items both left, set as a tight block */
.sws .act--cols-left .cols3 h4 { text-align: left; }
.sws .act--cols-left .lst { text-align: left; }
.sws .act--cols-left .lst li + li { margin-top: 0; }

/* even the impact statement's lines so no single word strands */
.t-say--balance { text-wrap: balance; }

/* no rule above Next project on this case study */
.sws .next { border-top: 0; }

/* Role / Partners sit on the hero's own margin, so "Role" lines up with the
   S of START. The hero is full-bleed with var(--pad); the normal act column
   caps at 100rem and centres, which drifts right of the hero past ~1600px. */
.sws .act--credits .act__in {
  max-width: none;
  padding-inline: var(--pad);
}

/* The rail is left-anchored to the hero's margin and runs off the right edge:
   the first card starts in line with the S of START, and the row visibly
   continues past the screen rather than stopping inside the text column. */
.sws .act--rail .act__in {
  max-width: none;
  padding-left: var(--pad);
  padding-right: 0;
}
.sws .act--rail .stories-hint { text-align: left; }

/* ---- Splice INSTRUMENT: the six colour rooms ---- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.6rem, 1.2vw, 1rem); }
.rooms figure { margin: 0; }
.rooms video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  border-radius: clamp(0.5rem, 0.9vw, 0.9rem); background: #111;
}
@media (max-width: 860px) { .rooms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rooms { grid-template-columns: 1fr; } }

/* the free-drop trio keeps the media rhythm rather than the list rhythm */
.inst .cols3 .m img { border-radius: clamp(0.5rem, 0.9vw, 0.9rem); }

/* ---- INSTRUMENT: the pack stack ----
   The drops ship at three different aspects (1:1, 1.5, 1.6) and each carries its
   FREE DROP lockup in a different corner, so a fixed cell crops the type off.
   Masonry columns let every pack keep its own shape, uncropped. */
.packs { columns: 3; column-gap: clamp(0.6rem, 1.2vw, 1rem); }
.packs figure { break-inside: avoid; margin: 0 0 clamp(0.6rem, 1.2vw, 1rem); }
.packs img {
  width: 100%; height: auto; display: block;
  border-radius: clamp(0.5rem, 0.9vw, 0.9rem); background: #111;
}
@media (max-width: 860px) { .packs { columns: 2; } }
@media (max-width: 520px) { .packs { columns: 1; } }

/* ---- INSTRUMENT: tighter vertical rhythm ----
   Jen: too much air between a heading and its copy, and between modules. */
.inst .act { padding-block: clamp(2.25rem, 5vw, 4rem); }
.inst .act--tight { padding-block: clamp(1.4rem, 2.8vw, 2.25rem); }
.inst .t-kicker { margin-bottom: clamp(0.7rem, 1.3vw, 1rem); }

/* ---- a rail with few enough items to fit becomes a grid ----
   Four posts never overflowed the row, so the swipe did nothing and 340px of
   the row sat empty. Wide screens lay them out to fill it; narrow screens keep
   the scrolling rail. */
@media (min-width: 1100px) {
  .stories.stories--fit {
    display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
    overflow: visible; cursor: default;
  }
  .stories.stories--fit > figure { flex: none; }
  .stories.stories--fit img,
  .stories.stories--fit video {
    width: 100%; height: auto; aspect-ratio: var(--ar, 1000 / 1250);
  }
  .stories--fit + .stories-hint { display: none; }
  /* a fitted grid wants its right margin back — the bleed is for scrolling rows */
  .sws .act--fit .act__in { padding-right: var(--pad); }
}

/* .t-set never zeroed its own block margins, so the UA's p{margin:1em 0} —
   32px at this type size — collapsed over the kicker's margin and won. */
.inst .t-set { margin-block: 0; }
.inst .t-set + .t-set { margin-top: 1.05em; }

/* ---- lightbox: image galleries alongside the video player ---- */
.lightbox__img {
  display: none; width: auto; height: auto;
  max-width: 100%; max-height: 82vh; object-fit: contain;
}
.lightbox.is-gallery .lightbox__img { display: block; }
.lightbox.is-gallery .lightbox__video,
.lightbox.is-gallery .lightbox__missing { display: none; }
/* A gallery stage hugs the image. It must size from the image's *capped*
   height, not its intrinsic one — a grid item defaults to min-height:auto, so
   a tall photo was blowing the row out past the viewport and the centred
   stage hung off the bottom. min-height:0 plus max-height does it. */
.lightbox.is-gallery .lightbox__stage {
  aspect-ratio: auto; background: transparent; overflow: visible;
  width: auto; height: auto; min-height: 0;
  max-width: min(100%, 76rem); max-height: 82vh;
}
.lightbox__bar {
  position: absolute; left: 0; right: 0; bottom: clamp(0.75rem, 2.5vw, 1.75rem);
  display: none; align-items: center; justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}
.lightbox.is-gallery .lightbox__bar { display: flex; }
.lightbox__meta {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.75rem; color: var(--blush); opacity: 0.85;
}
.lightbox__arrow {
  width: 2.6rem; height: 2.6rem; border-radius: 999px; line-height: 1;
  font-size: 1.4rem; color: var(--blush);
  border: 1px solid rgba(251,231,228,0.5); background: rgba(23,19,16,0.35);
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.lightbox__arrow:hover { background: var(--blush); color: var(--ink); }

/* a card that opens a gallery behaves like the video card, not a dead tile */
.card--gallery { cursor: pointer; }

/* tall scroll-capture images fit to width and scroll inside the stage */
.lightbox.is-gallery.is-tall .lightbox__stage {
  /* these are phone-screen scroll captures, 414pt wide at source — showing
     them any wider is upscaling, which is what made the Nike copy mush */
  width: min(100%, 26rem); max-width: min(100%, 26rem);
  height: auto; min-height: 0; max-height: 82vh;
  overflow-y: auto; overflow-x: hidden; border-radius: 0.5rem;
}
.lightbox.is-gallery.is-tall .lightbox__img {
  width: 100%; height: auto; max-height: none; object-fit: fill;
}

/* the highlights grid runs tighter than the case-study grid */
.work__grid--small { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .work__grid--small { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .work__grid--small { grid-template-columns: repeat(2, 1fr); } }
.work__grid--small .card__title { font-size: clamp(0.95rem, 1.35vw, 1.2rem); }
.work__grid--small .card__media { border-radius: clamp(0.5rem, 0.9vw, 0.9rem); }

/* three case studies, equal weight, one row */
.work__grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .work__grid--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px)  { .work__grid--three { grid-template-columns: 1fr; } }

/* the gallery bar spans the backdrop, so let clicks through it reach the
   backdrop and close — only the arrows themselves should catch the pointer */
.lightbox__bar { pointer-events: none; }
.lightbox__arrow { pointer-events: auto; }

/* placeholder tile — a black box holding a slot in the grid */
.card--tbd { pointer-events: none; }
.card--tbd .card__media { background: #0a0a0a; }
.card--tbd .card__title { color: rgba(251,231,228,0.65); }

/* ============================================================
   Hypnotize — the easter egg
   Deliberately slow and non-flashing: a fast or strobing spiral is the
   classic photosensitive-seizure trigger. One steady rotation, no opacity
   pulsing, no colour inversion, and it stops dead under reduced-motion.
   ============================================================ */
.hyp-body { background: var(--blush); overflow: hidden; height: 100%; --spiral-ink: #ec66a0; }
.hyp { position: fixed; inset: 0; display: grid; place-items: center; overflow: hidden; }

/* The spiral rotates, so its own box must be a square bigger than the
   viewport's diagonal — otherwise the short side of a rectangle swings across
   the screen as it turns and you see its straight edges. A square at 160vmax
   always clears the diagonal (which is at most ~141vmax). */
.hyp__spin {
  position: absolute; top: 50%; left: 50%;
  width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax;
  opacity: 0.9;
}
.hyp__spin svg { width: 100%; height: 100%; display: block; transform-origin: 50% 50%; }
/* The spiral is the page's colour. Black fought the snap GIF's hot pink —
   the hand read as pasted onto someone else's artwork. One knob. */
.hyp__spin svg path { stroke: var(--spiral-ink); }
@media (prefers-reduced-motion: no-preference) {
  .hyp__spin svg { animation: hyp-turn 13s linear infinite; }
}
@keyframes hyp-turn { to { transform: rotate(360deg); } }

/* the spiral is black, so the middle is lifted back toward blush or the
   script would sit unreadable on top of the dark bands */
.hyp__haze {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%,
    rgba(251,231,228,0.97) 0%,
    rgba(251,231,228,0.93) 18%,
    rgba(251,231,228,0.55) 34%,
    rgba(251,231,228,0) 52%);
}

.hyp__script {
  position: relative; z-index: 2; text-align: center;
  width: min(92vw, 46rem); padding: clamp(1.5rem, 4vw, 3rem);
  display: grid; justify-items: center;
}
.hyp__line {
  grid-area: 1 / 1; margin: 0;
  font-family: var(--body); font-weight: 500;
  font-size: clamp(1.3rem, 3.2vw, 2.5rem); line-height: 1.18;
  letter-spacing: -0.025em; color: var(--ink);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hyp__line { animation: hyp-say var(--dur, 2.8s) var(--at, 0s) both; }
}
@media (prefers-reduced-motion: reduce) {
  .hyp__script { gap: 1.1rem; }
  .hyp__line { grid-area: auto; opacity: 1; font-size: clamp(1rem, 2vw, 1.35rem); }
  .hyp__line--count { display: flex; gap: 0.4em; }
}
@keyframes hyp-say {
  0%   { opacity: 0; filter: blur(7px); transform: scale(0.97); }
  18%  { opacity: 1; filter: blur(0);   transform: scale(1); }
  82%  { opacity: 1; filter: blur(0);   transform: scale(1); }
  100% { opacity: 0; filter: blur(7px); transform: scale(1.03); }
}

/* the count lands a word at a time and accumulates */
.hyp__line--count { display: flex; gap: 0.45em; justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
  .hyp__line--count { animation: hyp-hold var(--dur, 4.2s) var(--at, 0s) both; }
  .hyp__line--count span { opacity: 0; display: inline-block;
                           animation: hyp-bounce 0.72s var(--at, 0s) both; }
}
/* starts at 0 so the backwards fill keeps it hidden through its delay */
@keyframes hyp-hold { 0%,4% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hyp-bounce {
  0%   { opacity: 0; transform: scale(0.35) translateY(16px); }
  50%  { opacity: 1; transform: scale(1.22) translateY(-7px); }
  72%  { transform: scale(0.92) translateY(3px); }
  88%  { transform: scale(1.05) translateY(-1px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* The address belongs to the name, so it sits right under it. The display
   face leaves a lot of air below its baseline, so the gap is tightened
   past zero rather than just reduced. */
/* The address belongs to the name, so it sits right under it. The rows
   were also stretching to fill the line's box, which added a second
   line's worth of air under the name on top of the gap. */
.hyp__line--end {
  display: grid; gap: 0.4rem;
  justify-items: center; align-content: center;
}
@media (prefers-reduced-motion: no-preference) {
  .hyp__line--end { animation: hyp-land 1.6s var(--at, 0s) both; }
}
@keyframes hyp-land {
  0%   { opacity: 0; filter: blur(10px); transform: scale(0.96); }
  100% { opacity: 1; filter: blur(0);    transform: scale(1); }
}
.hyp__name {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.1rem, 8vw, 5.5rem); line-height: 0.92;
  letter-spacing: -0.02em; color: var(--ink);
}
.hyp__mail {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: clamp(0.78rem, 1.2vw, 0.95rem); color: var(--ink);
  /* no standing rule under the address — it read as a form field on an
     otherwise bare end card. The underline arrives on hover instead. */
  border-bottom: 1px solid transparent; padding-bottom: 0.2rem;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.hyp__mail:hover { color: var(--red); border-bottom-color: currentColor; }
.hyp__out {
  position: fixed; z-index: 5; top: var(--pad); right: var(--pad);
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.8rem; color: var(--ink);
  border: 1px solid rgba(23,19,16,0.4); border-radius: 999px;
  padding: 0.55rem 1.1rem; background: var(--blush);
}
.hyp__out:hover { background: var(--ink); color: var(--blush); }



/* ============================================================
   Mixed work grid — one grid, two tile sizes
   Simone's note: case studies sit alongside the rest rather than in their
   own module; they just run larger and carry a tag.
   12 columns so a half (6) and a third (4) both land cleanly.
   ============================================================ */
.work__grid--mix { grid-template-columns: repeat(12, 1fr); }
.work__grid--mix > .card { grid-column: span 4; }
.work__grid--mix > .card--lg { grid-column: span 6; }
.work__grid--mix > .card--lg .card__media { aspect-ratio: 3 / 2; }
.work__grid--mix > .card:not(.card--lg) .card__media {
  border-radius: clamp(0.5rem, 0.9vw, 0.9rem);
}
.work__grid--mix > .card:not(.card--lg) .card__title {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
}
@media (max-width: 1100px) {
  .work__grid--mix { grid-template-columns: repeat(6, 1fr); }
  .work__grid--mix > .card { grid-column: span 2; }
  .work__grid--mix > .card--lg { grid-column: span 3; }
}
@media (max-width: 760px) {
  .work__grid--mix { grid-template-columns: repeat(2, 1fr); }
  .work__grid--mix > .card { grid-column: span 1; }
  .work__grid--mix > .card--lg { grid-column: span 2; }
  .work__grid--mix > .card--lg .card__media { aspect-ratio: 4 / 3; }
  /* Two columns leaves an odd number of small tiles hanging alone on the
     last row. The marked tile closes the row across both columns. Keyed to
     a class, not :last-child, so adding a tile after it does not quietly
     hand the job to the new one. */
  .work__grid--mix > .card--closer {
    grid-column: 1 / -1;
  }
  .work__grid--mix > .card--closer .card__media {
    aspect-ratio: 4 / 3;
  }
  .work__grid--mix > .card--closer .card__title {
    font-size: clamp(1.05rem, 4.4vw, 1.4rem);
  }
}

/* one tile that closes the row on its own: a band rather than a block */
.work__grid--mix > .card--full { grid-column: 1 / -1; }
.work__grid--mix > .card--full .card__media { aspect-ratio: 12 / 5; }
.card--full.card--hyp { --spiral: 118%; }
@media (max-width: 760px) {
  .work__grid--mix > .card--full .card__media { aspect-ratio: 4 / 3; }
  .card--full.card--hyp { --spiral: 145%; }
}

/* the tag, upper left — above the hover wipe so it stays readable */
.card__tag {
  position: absolute; z-index: 4;
  top: clamp(0.7rem, 1.1vw, 1.1rem);
  left: clamp(0.7rem, 1.1vw, 1.1rem);
  font-family: var(--label); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: clamp(0.62rem, 0.78vw, 0.78rem); line-height: 1;
  color: var(--blush); background: var(--red);
  padding: 0.52em 0.78em 0.44em;
  border-radius: 999px;
}

/* ---- the surprise tile ----
   The GIF is 165x236, filmed on a phone. Stretched to the width of a
   full-bleed tile it falls apart, so it sits at a contained height on the
   ground instead, pinned there like a clip rather than used as wallpaper. */
.card--surprise .card__media { background: var(--blush-deep); }
/* Shallower than the other full-bleed tiles: there is one small object in
   here, not a photograph, so the extra height was just empty ground. Needs
   to out-rank .work__grid--mix > .card--full .card__media above. */
.work__grid--mix > .card--surprise .card__media { aspect-ratio: 10 / 3; }
.card--surprise .card__gif {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  /* keep the block clear of the line that arrives at the foot on hover */
  padding-bottom: clamp(1.6rem, 2.4vw, 2.6rem);
}
/* <picture> is an inline box with auto height, so a percentage height on
   the img inside it resolves to nothing and the clip renders at its own
   165px. Collapsing the wrapper hands the grid area to the img. */
.card--surprise .card__gif picture { display: contents; }
.card--surprise .card__gif img {
  display: block;
  /* A percentage height here resolves against the wrong box, so the clip is
     sized against the viewport instead — which tracks the tile, since the
     tile is a fixed ratio of the content width. */
  height: clamp(140px, 18vw, 255px); width: auto;
  transition: transform 0.6s var(--ease);
}
.card--surprise:hover .card__gif img,
.card--surprise:focus-visible .card__gif img { transform: scale(1.035); }
/* The scrim exists to float a white title over a photograph. There is no
   title here and no photograph under it — it just greyed the ground. */
.card--surprise .card__media::before { display: none; }
.card--surprise .card__caption {
  pointer-events: none;
  text-align: center; left: 0; right: 0;
  color: var(--ink);
}
/* The line under the block is a card label like every other tile on the
   grid, so it is set like one — same face, case and tracking as KNOW YOUR
   LIMITS. Both classes, to out-rank the plain .card--hyp .card__dare set
   further down. */
.card--hyp.card--surprise .card__dare {
  font-family: var(--label);
  font-weight: 600;
  text-transform: uppercase;
  /* the same step the other grid tiles take, so it sits level with them */
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  letter-spacing: 0.1em;
  line-height: 1.2;
}
@media (max-width: 760px) {
  /* A 4:3 tile is too shallow for a portrait clip with a line under it, so
     this one goes square and the clip keeps its hands off the caption. */
  .work__grid--mix > .card--surprise .card__media { aspect-ratio: 1 / 1; }
  .card--surprise .card__gif { padding-bottom: 2.2rem; }
  .card--surprise .card__gif img { height: clamp(180px, 50vw, 300px); }
}

/* ---- the hypnotizer tile ----
   The bit only works if nobody sees it coming, so the tile withholds. At
   rest it is a flat ground and a question: no spiral, no name, no hint of
   what the page does. The spiral only blooms on hover — enough to promise
   that something happens, not enough to give away what. ---------------- */
.card--hyp .card__media { background: var(--blush-deep); }
.card--hyp .card__spiral {
  position: absolute; inset: 0; display: grid; place-items: center;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.75s var(--ease);
}
.card--hyp:hover .card__spiral,
.card--hyp:focus-visible .card__spiral { opacity: 0.55; }

/* the second line holds back until they lean in */
.card--hyp .card__dare {
  font-family: var(--body); margin: 0.5rem 0 0;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem); letter-spacing: -0.01em;
  color: inherit; opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.card--hyp:hover .card__dare,
.card--hyp:focus-visible .card__dare { opacity: 0.8; transform: none; }

/* no hover on touch, so the tile shows its full hand there instead of
   sitting inert — the question alone still has to earn the tap */
@media (hover: none) {
  .card--hyp .card__spiral { opacity: 0.4; }
  .card--hyp .card__dare { opacity: 0.8; transform: none; }
}
/* the spiral is a square that rotates, so it must out-reach the tile's
   diagonal or its own straight edges sweep into the corners. As a share of
   the tile's WIDTH that diagonal is 1.25x at 4:3, 1.20x at 3:2 and 1.08x at
   12:5 — so each aspect sets its own --spiral above those. */
.card--hyp { --spiral: 145%; }
.card--hyp .card__spiral svg {
  position: absolute; top: 50%; left: 50%;
  width: var(--spiral); height: auto; aspect-ratio: 1;
  margin: calc(var(--spiral) / -2) 0 0 calc(var(--spiral) / -2);
  transform-origin: 50% 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .card--hyp .card__spiral svg { animation: hyp-turn 22s linear infinite; }
  .card--hyp:hover .card__spiral svg { animation-duration: 9s; }
}
/* a light wash only — the tile carries no copy in the middle, so it doesn't
   need the heavy readability haze the full-page version does */
.card--hyp .card__spiral::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%,
    rgba(251,231,228,0.5) 0%, rgba(251,231,228,0.14) 42%, rgba(251,231,228,0) 72%);
}
/* no red wipe over the spiral — it muddies it */
.card--hyp .card__media::after { display: none; }
.card--hyp .card__media::before { opacity: 0.75; }

/* ---- the aside: the shipping treatment ----
   The one tile on the homepage that isn't a piece of work, so it looks
   like nothing else there: solid red, no spiral at any point, no image.
   It reads as a note rather than a project, which is the whole trick —
   a portfolio tile gets skimmed, a personal aside gets read. ---------- */
.card--aside .card__media { background: var(--red); }
.card--aside .card__media::before,
.card--aside .card__media::after { display: none; }
.card--aside .card__caption { color: var(--blush); }
.card--aside .card__title { text-shadow: none; }
.card--aside .card__tag { background: var(--blush); color: var(--red); }
/* never a spiral here, whatever .card--hyp would otherwise do */
.card--aside .card__spiral { display: none; }

/* ---- locked tile: in the grid, not open yet ---- */
.card--protected { pointer-events: none; }
.card--protected .card__media {
  background: #0a0a0a;
  display: grid; place-items: center;
}
.card--protected .card__media::before,
.card--protected .card__media::after { display: none; }
.card--protected .card__lock {
  width: clamp(1.7rem, 2.6vw, 2.5rem); height: auto;
  color: rgba(251,231,228,0.45);
}
.card--protected .card__title { color: rgba(251,231,228,0.75); }
.card--protected .card__tag {
  background: rgba(251,231,228,0.16); color: rgba(251,231,228,0.8);
}

/* the snap lands where the count used to be — a drawn hand rather than an
   emoji, which sat flat and rendered differently on every platform. The
   lavender ground of the source art is keyed out so it reads on the blush
   and over the spiral. */
.hyp__line--snap { font-size: clamp(3rem, 9vw, 6rem); line-height: 1; }
.hyp__snap {
  width: clamp(10rem, 30vw, 19rem); height: auto;
  margin-inline: auto;
}

/* ============================================================
   Contact — three directions (contact-a / -b / -c)
   ------------------------------------------------------------
   display:grid/flex on a component beats the UA's [hidden] rule, so the
   resume links stayed visible while the PDF was still missing. 
   Shared chrome first, then one block per option.
   ============================================================ */
[hidden] { display: none !important; }
.ct main { min-height: 72svh; }
/* the site footer is red and shouts Let's talk — on a contact page that is
   both redundant and loud, so the slim one just ends the page quietly */
.footer--slim { padding-block: clamp(1.5rem, 3vw, 2.5rem); background: var(--blush); color: var(--ink); }
.footer--slim .footer__base { border-top: 1px solid rgba(23,19,16,0.15); padding-top: 1rem;
  color: var(--ink); opacity: 0.6;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.opt-switch { color: var(--red); text-decoration: none; }
.opt-switch:hover { text-decoration: underline; }

/* Height-aware, not just width-aware: on a short laptop screen the headline
   and its breathing room were pushing Send off the bottom, and a contact page
   whose send button needs scrolling to find is a broken contact page. */
.ct-head { padding-top: clamp(4rem, min(6.5vw, 9vh), 5.5rem); }
.ct-head__title {
  font-family: var(--display-cs); font-weight: 400; text-transform: uppercase;
  /* 0.92 let the comma on line one sit inside the cap-height of line two —
     at this size a descender and an ascender were landing on each other.
     1.0 clears it; the type is smaller too so the form fits one screen. */
  font-size: clamp(2.4rem, min(5.6vw, 7.5vh), 4.5rem); line-height: 1; letter-spacing: -0.015em;
  margin: 0.3em 0 0;
}

/* big shared buttons */
.btn-big, .btn-ghost {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.09em; font-size: clamp(0.85rem, 1.15vw, 1rem);
  padding: 1.05em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn-big { background: var(--red); color: var(--blush); }
.btn-big:hover { background: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(23,19,16,0.3); }
.btn-ghost:hover { background: var(--ink); color: var(--blush); transform: translateY(-2px); }

/* ---------- the hypnotizer: a postscript, not a button ----------
   A pill floating on its own read as a generic CTA and needed a colour that
   belonged to nobody. A plain line is what it actually is: a quiet aside at
   the end of the work, where the sentence is the link. */
.aside-ps {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  text-align: center;
  font-family: var(--body); font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: var(--ink);
}
.aside-ps a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.12em;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.aside-ps a:hover { color: var(--red); border-bottom-color: currentColor; }
/* the emoji keeps its own colour, so it must not take the link's underline
   or the red hover shift with it */
/* A drawn pair of googly eyes rather than the 👀 glyph: the emoji rendered
   differently on every platform and sat dead on the line. Pupils wobble on
   two offset cycles so the eyes never track together. */
.aside-ps__eyes {
  border-bottom: 0;
  display: inline-block; vertical-align: -0.2em;
  width: 1.35em; height: 1.15em;
  transition: transform 0.35s var(--ease);
}
.googly { width: 100%; height: 100%; display: block; overflow: visible; }
.googly__ball { fill: #fff; stroke: rgba(23, 19, 16, 0.32); stroke-width: 2.5; }
.googly__iris { fill: #2b2724; }
.googly__glint { fill: #fff; }
.googly__pupil {
  transform-box: view-box; transform-origin: center;
  animation: googly-roll 2.6s var(--ease-soft) infinite;
}
.googly__pupil--r { animation-duration: 3.1s; animation-delay: -0.4s; }
.aside-ps a:hover .googly__pupil { animation-duration: 0.9s; }
.aside-ps a:hover .googly__pupil--r { animation-duration: 1.15s; }
@keyframes googly-roll {
  0%   { transform: translate(-6px,  3px); }
  25%  { transform: translate(-2px, -6px); }
  50%  { transform: translate( 6px, -2px); }
  75%  { transform: translate( 2px,  6px); }
  100% { transform: translate(-6px,  3px); }
}
@media (prefers-reduced-motion: reduce) {
  .googly__pupil { animation: none; transform: translate(-3px, 2px); }
  .googly__pupil--r { transform: translate(3px, 2px); }
}
.aside-ps a:hover .aside-ps__eyes { transform: translateY(-1px) scale(1.12); }

/* ---------------- A — the brief writes itself ---------------- */
.ct-a__wrap {
  display: grid; grid-template-columns: minmax(0,1fr) 15rem;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 9vw, 7rem);
}
@media (max-width: 900px) { .ct-a__wrap { grid-template-columns: 1fr; } }

.madlib__line {
  font-family: var(--body); font-weight: 400;
  font-size: clamp(1.35rem, 2.9vw, 2.3rem); line-height: 1.5;
  letter-spacing: -0.02em; margin: 0 0 0.55em; color: var(--ink);
}
.fill {
  font: inherit; color: var(--red); background: transparent;
  border: 0; border-bottom: 2px solid rgba(241,52,39,0.35);
  padding: 0 0.12em 0.04em; margin: 0 0.06em;
  border-radius: 0; outline: none; max-width: 100%;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.fill::placeholder { color: rgba(241,52,39,0.4); }
.fill:focus { border-bottom-color: var(--red); background: rgba(241,52,39,0.06); }
.fill--sel { appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 1em; width: auto; }
.fill-wrap { position: relative; display: inline-block; }
.fill-wrap::after {
  content: "\25BE"; position: absolute; right: 0.15em; top: 50%;
  transform: translateY(-50%); color: var(--red); pointer-events: none;
  font-size: 0.6em; opacity: 0.6;
}
.madlib__foot { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.6rem; }
.madlib__note { margin: 0; }
.madlib__err { margin: 0.9rem 0 0; }

.ct-aside { display: grid; gap: 1.6rem; padding-top: 0.6rem; }
.ct-aside__item {
  display: grid; gap: 0.3rem; text-decoration: none; color: var(--ink);
  padding-bottom: 1.3rem; border-bottom: 1px solid rgba(23,19,16,0.15);
}
.ct-aside__item:last-child { border-bottom: 0; }
.ct-aside__val { font-family: var(--body); font-size: 1rem; letter-spacing: -0.01em; }
a.ct-aside__item:hover .ct-aside__val { color: var(--red); }

/* footer social row, beside the copyright */
.footer__social { display: inline-flex; gap: 1.2rem; }
.footer__social-link {
  color: inherit; text-decoration: none; opacity: 0.65;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.footer__social-link:hover { opacity: 1; color: var(--red); }

/* ---------------- resume download (about) ---------------- */
.resume-cta {
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem);
  flex-wrap: wrap;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(23, 19, 16, 0.12);
}
.resume-cta__note { opacity: 0.6; }

/* ---------------- B — pick a lane, then write ---------------- */
.ct-form-wrap { padding-block: clamp(1rem, 1.6vw, 1.5rem) clamp(3rem, 6vw, 5rem); }

.lanes {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  margin-bottom: clamp(1.1rem, 2vw, 1.5rem);
}
@media (max-width: 760px) { .lanes { grid-template-columns: 1fr; } }

.lane { display: block; cursor: pointer; }
.lane input {
  position: absolute; width: 1px; height: 1px; opacity: 0;
  margin: 0; pointer-events: none;
}
.lane__in {
  display: grid; gap: 0.45rem; align-content: start;
  padding: clamp(0.95rem, 1.7vw, 1.3rem);
  border: 1px solid rgba(23,19,16,0.18);
  border-radius: clamp(0.6rem, 1vw, 1rem);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease),
              color 0.35s var(--ease);
}
.lane:hover .lane__in { border-color: rgba(23,19,16,0.45); }
.lane input:checked + .lane__in { background: var(--red); border-color: var(--red); color: var(--blush); }
.lane input:focus-visible + .lane__in { outline: 2px solid var(--ink); outline-offset: 3px; }
.lane__num { opacity: 0.55; }
.lane__title {
  font-family: var(--display-cs); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -0.015em;
}
.lane__sub { font-family: var(--body); font-size: 0.98rem; opacity: 0.7; }

.cform__note {
  font-family: var(--body); font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-soft);
  max-width: 48ch; margin: 0 0 clamp(1.1rem, 2vw, 1.6rem);
}

.cform__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(0.9rem, 1.5vw, 1.2rem);
}
@media (max-width: 620px) { .cform__grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  font-family: var(--body); font-size: 1.05rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(23,19,16,0.3);
  padding: 0.55rem 0 0.6rem; border-radius: 0; outline: none; width: 100%;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 4.25rem; height: 4.25rem; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--red); }
.field.is-bad input, .field.is-bad textarea { border-bottom-color: var(--red); }

/* honeypot — off-screen, never focusable */
.cform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.cform__foot {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  margin-top: clamp(1.1rem, 2vw, 1.6rem);
}
.cform__status { margin: 1rem 0 0; }
.cform__status--ok { color: var(--red); }
.cform__status--bad { color: var(--ink); opacity: 0.75; }
.cform.is-sent .lanes, .cform.is-sent .cform__grid,
.cform.is-sent .cform__foot, .cform.is-sent .cform__note { display: none; }

/* The contact page is short — shorter than the viewport once the form is
   sent — so the footer stopped where the content stopped and left a band of
   blush beneath it. Scoped to .ct rather than applied to every page: making
   <body> a flex container site-wide would stop margins collapsing and could
   shift spacing on the long pages. */
.ct { min-height: 100svh; display: flex; flex-direction: column; }
.ct main { flex: 1 0 auto; }
.ct .footer { flex-shrink: 0; }
.cform__sent {
  font-family: var(--body); color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  margin: 0.9rem 0 0;
}

/* ---------------- C — the business card ---------------- */
.ct-c main { display: grid; }
.card-page {
  min-height: 100svh; display: grid; align-content: center;
  padding: clamp(6rem, 12vw, 9rem) var(--pad) clamp(3rem, 6vw, 5rem);
  position: relative;
}
.card-page__in { display: grid; gap: clamp(1.6rem, 3.5vw, 3rem); justify-items: start; width: 100%; }
.bigmail {
  display: block; position: relative; background: none; border: 0; padding: 0;
  cursor: pointer; text-align: left; color: var(--ink); font: inherit; width: 100%;
}
.bigmail__text {
  display: block; font-family: var(--display-cs); font-weight: 400;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95;
  /* sized so the longest plausible address still fits one line on desktop */
  font-size: clamp(1.75rem, 7.1vw, 6.5rem);
  word-break: break-word;
  transition: color 0.4s var(--ease);
}
.bigmail:hover .bigmail__text { color: var(--red); }
.bigmail__hint {
  display: inline-block; margin-top: 0.9rem; color: var(--ink-soft);
  opacity: 0.6; transition: opacity 0.3s var(--ease);
}
.bigmail:hover .bigmail__hint { opacity: 1; }
.bigmail.is-copied .bigmail__text { color: var(--red); }
.bigmail.is-copied .bigmail__hint { opacity: 0; }
.bigmail.is-copied::after {
  content: "Copied. Now use it."; position: absolute; left: 0; bottom: -2.1rem;
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 600; font-size: 0.8rem; color: var(--red);
}
.card-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(1rem, 2.5vw, 2.5rem); width: 100%;
  border-top: 1px solid rgba(23,19,16,0.15); padding-top: 1.4rem;
}
@media (max-width: 620px) { .card-meta { grid-template-columns: 1fr; gap: 1.1rem; } }
.card-meta__cell { display: grid; gap: 0.35rem; }
.card-meta__val { font-family: var(--body); font-size: clamp(0.95rem, 1.2vw, 1.1rem); letter-spacing: -0.01em; }
.card-links { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); flex-wrap: wrap; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: clamp(0.8rem, 1vw, 0.92rem);
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid rgba(23,19,16,0.3); padding-bottom: 0.25rem;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card-link:hover { color: var(--red); border-color: var(--red); }
.card-page__sig {
  position: absolute; right: var(--pad); bottom: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0; max-width: 14ch; text-align: right;
  font-family: var(--body); font-size: 0.85rem; line-height: 1.35;
  color: var(--ink-soft); opacity: 0.5;
}
@media (max-width: 900px) { .card-page__sig { display: none; } }

/* ---------------- the picker ---------------- */
.opts { padding-block: clamp(6rem, 13vw, 10rem) clamp(4rem, 8vw, 6rem); }
.opts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.75rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 900px) { .opts__grid { grid-template-columns: 1fr; } }
.opt {
  display: grid; gap: 0.7rem; align-content: start; text-decoration: none; color: var(--ink);
  padding: clamp(1.4rem, 2.5vw, 2rem); border: 1px solid rgba(23,19,16,0.15);
  border-radius: clamp(0.75rem, 1.1vw, 1.25rem);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.opt:hover { background: var(--ink); color: var(--blush); transform: translateY(-4px); }
.opt__name { font-family: var(--display-cs); text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; }
.opt__desc { font-family: var(--body); font-size: 0.98rem; line-height: 1.5; margin: 0; color: inherit; opacity: 0.8; }

/* ============================================================
   Big display type is poster, not prose
   An <h1> is text, so the browser hands you an I-beam over it — which reads
   as "you can type here" on a wordmark the size of the viewport. Arrow
   instead. Body copy keeps its I-beam: people do select that.
   ============================================================ */
.hero__mark,
.hero__title,
.cs-hero__title,
.sws-hero__title,
.next__title,
.ct-head__title,
.room__title,
.pl-name,
.pl-count,
.hyp__name {
  cursor: default;
}

/* ============================================================
   Ways in — the hypnotizer options page (/hyp-options)
   Mockup only. Whichever one wins gets folded back into the
   homepage tile and this page goes away.
   ============================================================ */
.hopts-page { padding-top: clamp(3rem, 7vw, 5rem); }
.hopt__intro {
  font-family: var(--body); max-width: 62ch; margin: 1.4rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.55;
  color: var(--ink-soft);
}
.hopts { display: grid; gap: clamp(3.5rem, 8vw, 6rem); padding-block: clamp(3rem, 6vw, 5rem); }
/* the real tile's proportions come from the work grid, which isn't here —
   restate them so these mock up at the size they'll actually ship at */
.hopts .card--full .card__media { aspect-ratio: 12 / 5; }
@media (max-width: 760px) { .hopts .card--full .card__media { aspect-ratio: 4 / 3; } }
.hopt__head {
  display: flex; align-items: baseline; gap: 1rem;
  border-top: 1px solid rgba(23,19,16,0.15); padding-top: 1rem;
}
.hopt__name {
  font-family: var(--display-cs); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -0.015em;
  margin: 0;
}
.hopt__why {
  font-family: var(--body); max-width: 60ch; margin: 0.9rem 0 1.6rem;
  font-size: 1rem; line-height: 1.55; color: var(--ink-soft);
}

/* ---- 03 the eye chart: reading it is the thing it asks for ---- */
.hyp-v3 .card__media { display: grid; place-items: center; }
.hyp-chart {
  position: relative; z-index: 2;
  display: grid; justify-items: center; gap: 0.55em;
  text-align: center; color: var(--ink);
  font-family: var(--label); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hyp-chart span:nth-child(1) { font-size: clamp(1.5rem, 3.6vw, 3rem); }
.hyp-chart span:nth-child(2) { font-size: clamp(0.95rem, 2vw, 1.7rem); }
.hyp-chart span:nth-child(3) {
  font-size: clamp(0.6rem, 1vw, 0.8rem); text-transform: none;
  font-family: var(--body); letter-spacing: 0.02em; opacity: 0.7;
}
/* the last line is below comfortable reading size until they lean in */
.hyp-chart span:nth-child(4) {
  font-size: clamp(0.42rem, 0.62vw, 0.55rem); text-transform: none;
  font-family: var(--body); letter-spacing: 0.02em;
  opacity: 0.35; transition: opacity 0.6s var(--ease);
}
.hyp-v3:hover .hyp-chart span:nth-child(4) { opacity: 0.9; }
/* the photo scrim has nothing to darken here and just muddies the chart —
   it only comes back when the caption does */
.hyp-v3 .card__media::before { opacity: 0; transition: opacity 0.4s var(--ease); }
.hyp-v3:hover .card__media::before { opacity: 0.6; }
.hyp-v3 .card__caption { opacity: 0; transition: opacity 0.4s var(--ease); }
.hyp-v3:hover .card__caption { opacity: 1; }
/* chart sits above the spiral so it stays readable once it blooms */
.hyp-v3 .hyp-chart { z-index: 4; }

/* ---- 04 the warning label ---- */
.card__tag--warn { background: var(--ink); color: var(--blush); }

/* ---- 05 her own words ---- */
.hyp-v5 .card__title { font-family: var(--display-cs); font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.015em; line-height: 1; }

/* ============================================================
   Mobile pass
   Measured at 375×812 rather than guessed: the layout held up (no
   horizontal overflow on any page), but the small type ran below a
   legible floor and several controls were well under a finger.
   ============================================================ */
@media (max-width: 760px) {
  /* ---- type floors ----
     The fluid clamps bottom out around 10–11.5px on a phone, which is
     fine on a 27" display and squinty in the hand. Raise the floors only;
     desktop is untouched because these only apply below 760px. */
  .label { font-size: 0.8rem; }
  .card__tag { font-size: 0.72rem; }
  .sws-hero__eyebrow { font-size: 0.8rem; }
  .stories-hint { font-size: 0.8rem; }
  /* 0.6 alpha on 11px grey was the least readable text on the site */
  .resume-cta__note { opacity: 0.78; }

  /* The footer CTA is the main conversion on the site and it bottomed out
     at 32px — smaller than some headings above it. */
  .footer__big { font-size: clamp(2.5rem, 11vw, 3.4rem); }

  /* ---- 44px hit areas ----
     Grown with a centred pseudo-element rather than padding, so the
     tappable box expands past the glyphs without moving any layout or
     changing the height of the fixed nav. */
  .nav__logo, .nav__toggle, .footer__social-link { position: relative; }
  .nav__logo::after,
  .nav__toggle::after,
  .footer__social-link::after {
    content: ""; position: absolute;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: max(100%, 44px); height: 44px;
  }
  .lightbox__close { min-height: 44px; min-width: 44px; }
}

/* iOS renders U+2197 as a blue emoji, so the outbound arrow stopped reading
   as typography and started reading as an app icon. Gone on phones; it still
   sets properly at desktop sizes, where it is a glyph. */
@media (max-width: 760px) {
  .arr { display: none !important; }
}
