/*
 * Option B — bold editorial theme.
 * Cream + black bands, Oswald uppercase display type, Poppins body.
 * Edit the tokens in :root to adjust colour, type and spacing.
 */

/* ---------- Fonts (local, SIL Open Font License — see fonts/) ---------- */
@font-face {
  font-family: "Oswald";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/oswald-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/oswald-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/oswald-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/caveat-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --cream: #ffffff;
  --ink: #070707;
  --black: #000000;
  --muted: #5f5f66; /* ≥ 5:1 on cream */
  --muted-dark: #a6a6ad; /* ≥ 7:1 on black */
  --card: #fafaf6;
  --card-line: #e4e2d9;
  --line: #d9d7ce;
  --line-dark: #2a2a2a;
  --card-dark: #111111;
  --note-bg: #fff6d6;
  --note-line: #e5c65a;
  --note-text: #4a3a00;

  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Caveat", "Segoe Print", cursive;
  --soft: #f5f5f3;
  --stroke: #e4e4e7; /* light grey card outline (white sections) */
  --card-stroke-dark: rgba(
    228,
    228,
    231,
    0.204
  ); /* light grey card outline (black bands) */

  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-lead: clamp(1.25rem, 1rem + 1.1vw, 1.875rem);
  --fs-card-title: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem);
  --fs-section: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem);
  --fs-page: clamp(3rem, 1.6rem + 6vw, 7.5rem);
  --fs-giant: clamp(3rem, 9.4vw, 8.75rem);

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 9vw, 130px);
  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}
img,
video,
iframe,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
strong {
  font-weight: 600;
}

.display,
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.band--dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--cream);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section);
}
.band--dark {
  background: var(--black);
  color: var(--cream);
}
.band--dark .muted,
.band--dark .text-muted {
  color: var(--muted-dark);
}
.muted {
  color: var(--muted);
}
.reading {
  max-width: 720px;
}

.section-title {
  font-size: var(--fs-section);
  line-height: 1.1;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head p {
  max-width: 42ch;
}

.label-spaced {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.label {
  font-size: 1.375rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}
.kicker {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Buttons & links ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 28px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease;
}
.btn:hover {
  background: transparent;
  color: var(--ink);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
}
.band--dark .btn,
.btn--light {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.band--dark .btn:hover,
.btn--light:hover {
  background: transparent;
  color: var(--cream);
}
.band--dark .btn--outline {
  background: transparent;
  color: var(--cream);
}
.band--dark .btn--outline:hover {
  background: var(--cream);
  color: var(--ink);
}
.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 250ms var(--ease);
}
.btn:hover svg {
  transform: translate(2px, -2px);
}

.link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: opacity 150ms ease;
}
.link:hover {
  opacity: 0.65;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink, #0a0a0a);
}
.logo__mark {
  display: block;
  width: auto;
  height: 34px;
}
@media (max-width: 899px) {
  .logo__mark {
    height: 30px;
  }
}
.logo sup {
  font-size: 0.5em;
  vertical-align: 0.9em;
  margin-left: 1px;
}
.nav-list {
  display: flex;
  gap: clamp(20px, 2.6vw, 34px);
}
.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  background: none;
  border: 0;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9375rem;
  cursor: pointer;
}
.menu-toggle__icon {
  position: relative;
  width: 22px;
  height: 12px;
}
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition:
    transform 250ms var(--ease),
    top 250ms var(--ease);
}
.menu-toggle__icon::before {
  top: 0;
}
.menu-toggle__icon::after {
  top: 10px;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  top: 5px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  top: 5px;
  transform: rotate(-45deg);
}
.mobile-panel {
  display: none;
}

@media (max-width: 767px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .mobile-panel {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--black);
    color: var(--cream);
    overflow-y: auto;
  }
  .mobile-panel[hidden] {
    display: none;
  }
  .mobile-panel ul {
    padding-block: 24px 48px;
  }
  .mobile-panel li + li {
    border-top: 1px solid var(--line-dark);
  }
  .mobile-panel a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
  }
  .mobile-panel a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 0.15em;
    text-decoration-thickness: 2px;
  }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  z-index: 2;
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: 0;
  overflow-x: clip;
}
.hero + .band--dark {
  padding-top: calc(var(--section) + 60px);
}
.hero__giant {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: var(--fs-giant);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}
.hero__grid {
  display: grid;
  gap: 40px;
  margin-top: clamp(24px, 3vw, 36px);
}
.hero__portrait {
  position: relative;
  z-index: 1;
}
.tilt {
  border: 4px solid #fff;
  border-radius: 16px;
  overflow: hidden;
  transform: rotate(9deg);
  background: #e8e6df;
}
.hero__h1 {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1.15;
}
.hero__stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}
.hero__stat strong {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
}
.hero__lead {
  max-width: 30ch;
  margin-bottom: 24px;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 357px) minmax(0, 1fr);
    align-items: start;
  }
  .hero__grid--no-portrait {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  /* The text columns set the hero height; `top` nudges the card down so it overlaps the black band. */
  .hero__portrait {
    margin-top: calc(var(--fs-giant) * -0.55);
    margin-bottom: -110px;
    top: 40px;
  }
  .hero__right {
    padding-top: 12px;
  }
  .hero__left,
  .hero__right {
    padding-bottom: 48px;
  }
}

@media (max-width: 899px) {
  .hero__giant {
    white-space: normal;
    text-align: left;
    font-size: clamp(3rem, 15vw, 7rem);
  }
  .hero__portrait {
    width: 71%;
    max-width: 306px;
    margin: 16px auto -64px;
    order: 3;
  }
  .hero__right {
    order: 2;
  }
}

/* ---------- Reel ---------- */
.reel__meta {
  display: grid;
  gap: 32px;
  margin-top: clamp(32px, 4vw, 48px);
}
@media (min-width: 900px) {
  .reel__meta {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}
.reel__lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  max-width: 32ch;
}
.credit-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.credit-list > div {
  display: grid;
  gap: 4px;
}
@media (min-width: 600px) {
  .credit-list > div {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
  }
}
.credit-list dt {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  color: var(--muted-dark);
}

/* ---------- Video ---------- */
.video {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0d0d0d;
  color: var(--cream);
}
.video video,
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video--missing {
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
}
.video__missing {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 46ch;
  padding: 24px;
  text-align: center;
}
.video__play-ring {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
}
.video__play-ring svg {
  width: 26px;
  height: 26px;
  opacity: 0.6;
}
.video__missing p {
  color: var(--muted-dark);
  font-size: var(--fs-small);
}
@media (max-width: 599px) {
  .video__missing {
    gap: 8px;
    padding: 12px;
  }
  .video__play-ring {
    width: 48px;
    height: 48px;
  }
  .video__play-ring svg {
    width: 18px;
    height: 18px;
  }
  .video__missing p {
    font-size: 0.8125rem;
    line-height: 1.4;
  }
}
.video__badge {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.875rem;
}

/* ---------- Pills, tags, number boxes ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pill--draft {
  background: var(--note-bg);
  color: var(--note-text);
  border: 1px solid var(--note-line);
}
.num-box {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  opacity: 0.75;
  font-size: 0.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ---------- Work cards ---------- */
.work-grid {
  display: grid;
  gap: clamp(28px, 3vw, 36px) 20px;
}
@media (min-width: 760px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.work-card a {
  display: block;
  text-decoration: none;
}
.work-card__media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #e8e6df;
}
.band--dark .work-card__media {
  background: #161616;
}
.work-card__media > :first-child {
  transition: transform 700ms var(--ease);
}
.work-card a:hover .work-card__media > :first-child {
  transform: scale(1.03);
}
.work-card__pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
}
.work-card__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  padding-top: 18px;
}
.work-card__body .num-box {
  margin-top: 6px;
}
.work-card__title {
  font-size: var(--fs-card-title);
  transition: opacity 150ms ease;
}
.work-card a:hover .work-card__title {
  opacity: 0.7;
}
.work-card__summary,
.work-card__role {
  grid-column: 2;
}
.work-card__role {
  font-size: var(--fs-small);
  color: var(--muted);
}
.band--dark .work-card__role {
  color: var(--muted-dark);
}
.work-card__arrow {
  width: 18px;
  height: 18px;
}

/* ---------- Brand row ---------- */
.brands {
  text-align: center;
}
.brands__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 700px) {
  .brands__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.brands__list li {
  display: grid;
  place-items: center;
  min-height: 64px;
}
.brands__text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  letter-spacing: -0.01em;
  color: #b9b9be;
}
.brands__img {
  max-height: 34px;
  width: auto;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.85;
}
.brands .preview-note {
  margin: 28px auto 0;
  max-width: 640px;
  text-align: left;
}

/* ---------- About band ---------- */
.about-band {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .about-band {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  }
}
.about-band__text {
  font-size: var(--fs-lead);
  line-height: 1.45;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.stats strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stats span {
  display: block;
  margin-top: 10px;
  font-size: 0.9375rem;
}

/* ---------- Cards (bento) ---------- */
.card {
  position: relative;
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
}
.band--dark .card {
  background: var(--card-dark);
  border-color: var(--line-dark);
}
.card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.card__arrow {
  width: 16px;
  height: 16px;
}
.card__title {
  font-size: var(--fs-card-title);
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
}
.band--dark .card p {
  color: var(--muted-dark);
}
.bento {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .bento > :nth-child(4n + 1) {
    grid-column: span 8;
  }
  .bento > :nth-child(4n + 2) {
    grid-column: span 4;
  }
  .bento > :nth-child(4n + 3) {
    grid-column: span 4;
  }
  .bento > :nth-child(4n + 4) {
    grid-column: span 8;
  }
  .bento > :last-child:nth-child(4n + 1) {
    grid-column: span 12;
  }
  .bento > :last-child:nth-child(4n + 3) {
    grid-column: span 12;
  }
}

/* ---------- Footer CTA + footer ---------- */
.cta {
  text-align: center;
  border-top: 1px solid var(--line);
  overflow-x: clip;
}
.cta__pre {
  font-size: 1.125rem;
  font-weight: 500;
}
.cta__giant {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 0.4rem + 7.4vw, 8.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: opacity 200ms ease;
}
.cta__giant:hover {
  opacity: 0.75;
}
.cta__giant .cta__arrow {
  display: inline-block;
  font-weight: 400;
  transition: transform 300ms var(--ease);
}
.cta__giant:hover .cta__arrow {
  transform: translate(6px, -6px);
}
.cta .actions {
  justify-content: center;
  margin-top: 32px;
}

.site-footer {
  padding-block: 28px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 250ms ease,
    visibility 250ms ease;
}
.to-top.is-shown {
  opacity: 1;
  visibility: visible;
}
.to-top svg {
  width: 16px;
  height: 16px;
}

/* ---------- Page heads ---------- */
.page-head {
  padding-top: clamp(48px, 7vw, 100px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.page-head__title {
  font-size: var(--fs-page);
  line-height: 1;
}
.page-head__lead {
  margin-top: 24px;
  max-width: 44ch;
  font-size: 1.125rem;
}

/* ---------- About page ---------- */
.about-hero {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}
.about-hero__portrait {
  max-width: 420px;
  padding: 20px;
}
.about-hero__title {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem);
  line-height: 1.05;
}
.bio {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .bio {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  }
}
.bio__body {
  max-width: 760px;
}
.bio__body p + p {
  margin-top: 1.1em;
}
.bio__lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--cream);
}
.bio__body p:not(.bio__lead) {
  color: #d6d5cf;
}
.bio__body strong {
  color: #fff;
}

.contact-layout {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}
.info-list {
  display: grid;
  gap: 28px;
}
.info-item {
  display: grid;
  gap: 6px;
}
.info-item svg {
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
}
.info-item h3,
.info-item h2 {
  font-size: 1.25rem;
  font-weight: 400;
}
.info-item a,
.info-item p {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.info-item a {
  text-decoration: none;
}
.info-item a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.contact-panel__email {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(1.5rem, 0.8rem + 3vw, 3.25rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.contact-panel__email:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}
.copy-email {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.copy-email__status {
  font-size: var(--fs-small);
  color: var(--muted);
}
.copy-email__status:empty {
  display: none;
}

.gallery {
  display: grid;
  gap: 20px;
}
@media (min-width: 600px) {
  .gallery--2,
  .gallery--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .gallery--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Media + placeholders ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #e8e6df;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
figure figcaption {
  margin-top: 10px;
  font-size: var(--fs-small);
  color: var(--muted);
}
.placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0 14px,
      rgba(7, 7, 7, 0.05) 14px 15px
    ),
    #e8e6df;
  color: var(--muted);
}
.band--dark .placeholder {
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0 14px,
      rgba(255, 255, 255, 0.05) 14px 15px
    ),
    #141414;
  color: var(--muted-dark);
}
.tilt .placeholder {
  border-radius: 0;
}
.placeholder__label {
  max-width: 80%;
  padding: 8px 12px;
  background: var(--cream);
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.4;
  text-align: center;
  border-radius: 4px;
}
.band--dark .placeholder__label {
  background: #000;
  color: var(--muted-dark);
}
.placeholder__label small {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 16px;
  border-left: 3px solid var(--note-line);
  background: var(--note-bg);
  color: var(--note-text);
  font-size: var(--fs-small);
  line-height: 1.5;
  border-radius: 0 4px 4px 0;
}
.preview-note__tag {
  flex: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.6875rem;
  padding-top: 2px;
}

/* ---------- Case study ---------- */
.cs-head {
  padding-top: clamp(40px, 6vw, 88px);
}
.cs-crumb {
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
}
.cs-crumb a {
  text-decoration: none;
}
.cs-crumb a:hover {
  text-decoration: underline;
}
.cs-title {
  margin-top: 16px;
  font-size: var(--fs-page);
  line-height: 1;
}
.cs-subtitle {
  margin-top: 18px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem);
  line-height: 1.25;
  color: var(--muted);
  max-width: 32ch;
}
.cs-intro {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 900px) {
  .cs-intro {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }
}
.cs-intro__summary {
  font-size: var(--fs-lead);
  line-height: 1.45;
}
.cs-draft {
  margin-top: 28px;
  padding: 16px 20px;
  max-width: 720px;
  background: var(--note-bg);
  border-left: 3px solid var(--note-line);
  color: var(--note-text);
}
.cs-hero-media {
  margin-top: clamp(36px, 5vw, 56px);
}
.cs-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.cs-meta > div {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
}
.cs-meta dt {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 2px;
  color: var(--muted);
}
.cs-meta dd {
  margin-top: 4px;
  font-weight: 500;
}
.pending {
  color: var(--muted);
  font-style: italic;
  font-weight: 400 !important;
}

.cs-body {
  display: grid;
  gap: 0 48px;
  padding-top: var(--section);
}
@media (min-width: 1100px) {
  .cs-body {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}
.cs-aside {
  display: none;
}
@media (min-width: 1100px) {
  .cs-aside {
    display: block;
  }
  .cs-contents {
    display: none;
  }
}
.cs-index {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}
.cs-index__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.875rem;
  margin-bottom: 14px;
}
.cs-index ol {
  border-left: 1px solid var(--line);
}
.cs-index a {
  display: flex;
  gap: 10px;
  margin-left: -1px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  font-size: var(--fs-small);
  line-height: 1.35;
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms ease;
}
.cs-index a:hover {
  color: var(--ink);
}
.cs-index a[aria-current="true"] {
  color: var(--ink);
  font-weight: 500;
  border-left-color: var(--ink);
}
.cs-contents {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  margin-bottom: 40px;
  background: var(--cream);
  border-block: 1px solid var(--line);
}
.cs-contents summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.cs-contents summary::-webkit-details-marker {
  display: none;
}
.cs-contents summary::after {
  content: "+";
  font-size: 1.25rem;
}
.cs-contents[open] summary::after {
  content: "–";
}
.cs-contents ol {
  padding: 0 0 16px 1.4em;
  max-height: 60vh;
  overflow-y: auto;
}
.cs-contents a {
  display: block;
  padding: 7px 0;
  text-decoration: none;
}

.chapter + .chapter {
  margin-top: var(--section);
}
.chapter__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.chapter__title {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
}
.chapter__blocks {
  display: grid;
  gap: clamp(28px, 3.4vw, 44px);
}
.chapter__blocks > * {
  min-width: 0;
}
.cs-text,
.cs-points,
.chapter__blocks > .preview-note,
.cs-quote,
.media-reading {
  max-width: 760px;
}
.cs-text p + p {
  margin-top: 1.1em;
}
.cs-text--lead p {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1.2;
}
.cs-points {
  display: grid;
  gap: 22px;
}
.cs-points dt {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: 500;
}
.cs-points dd {
  margin-top: 2px;
  color: #2b2b2e;
}
.cs-quote {
  padding: 28px 32px;
  background: var(--black);
  color: var(--cream);
  border-radius: var(--radius);
}
.cs-quote blockquote {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.375rem, 1rem + 1.3vw, 2rem);
  line-height: 1.25;
}
.cs-quote figcaption {
  margin-top: 14px;
  color: var(--muted-dark);
  font-size: var(--fs-small);
}

.flow__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9375rem;
  margin-bottom: 16px;
}
.flow {
  display: grid;
  gap: 12px;
  counter-reset: none;
}
@media (min-width: 900px) {
  .flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
}
.flow__label {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.25rem;
  line-height: 1.15;
}
.flow__text {
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.55;
}
@media (min-width: 900px) {
  .flow li:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -11px;
    top: 22px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--cream);
    font-size: 12px;
    line-height: 1;
  }
}
.flow__caption {
  margin-top: 16px;
  color: var(--muted);
  max-width: 760px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.table caption {
  margin-bottom: 14px;
  text-align: left;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9375rem;
}
.table th,
.table td {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table thead th {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--muted);
  border-bottom-color: var(--ink);
}
.table--mapping {
  max-width: 760px;
}
.table--mapping tbody th {
  font-weight: 500;
}
.table__arrow {
  width: 40px;
}
.scenes tbody th {
  width: 32%;
  font-weight: 600;
}
.scenes .placeholder,
.scenes .media {
  margin-bottom: 10px;
}
@media (max-width: 699px) {
  .scenes thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .scenes,
  .scenes tbody,
  .scenes tr,
  .scenes th,
  .scenes td {
    display: block;
    width: 100% !important;
  }
  .scenes tr {
    padding-block: 16px;
    border-bottom: 1px solid var(--line);
  }
  .scenes th,
  .scenes td {
    padding: 4px 0;
    border: 0;
  }
  .scenes td::before {
    content: attr(data-label);
    display: block;
    font-size: var(--fs-small);
    color: var(--muted);
  }
}

.stages {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .stages {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .stages > li {
    grid-column: span 2;
  }
  .stages > li:nth-child(4),
  .stages > li:nth-child(5) {
    grid-column: span 3;
  }
}
.stages .card__top {
  margin-bottom: 36px;
}

.credits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.credits > div {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
}
.credits dt {
  font-size: var(--fs-small);
  color: var(--muted);
}
.credits dd {
  font-weight: 500;
}

/* Prev / next — "stories" rows on black */
.pager {
  display: grid;
  gap: 20px;
}
.pager__row {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  text-decoration: none;
}
@media (min-width: 760px) {
  .pager__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 24px;
  }
}
.pager__media {
  border-radius: 8px;
  overflow: hidden;
}
.pager__media > * {
  transition: transform 700ms var(--ease);
}
.pager__row:hover .pager__media > * {
  transform: scale(1.03);
}
.pager__kicker {
  color: var(--muted-dark);
}
.pager__title {
  margin-block: 10px 22px;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
}

/* ---------- 404 ---------- */
.nf-links {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

/* ---------- Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 700ms var(--ease),
      transform 700ms var(--ease);
  }
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
  .js .tilt[data-reveal] {
    transform: rotate(0deg) translateY(24px);
  }
  .js .tilt[data-reveal].is-visible {
    transform: rotate(9deg);
  }

  /* Hero portrait: springy drop-in that settles into the tilt */
  .js .tilt--hero[data-reveal] {
    opacity: 0;
    transform: rotate(-6deg) translateY(56px) scale(0.9);
    transition:
      opacity 700ms ease 250ms,
      transform 1300ms cubic-bezier(0.34, 1.45, 0.64, 1) 250ms;
  }
  .js .tilt--hero[data-reveal].is-visible {
    opacity: 1;
    transform: rotate(9deg);
  }

  /* Pointer tilt (set by js/site.js) + scroll parallax */
  .hero__portrait {
    perspective: 1100px;
    transform: translate3d(0, var(--py, 0px), 0);
  }
  .tilt-3d {
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transform-style: preserve-3d;
    transition: transform 700ms var(--ease);
    will-change: transform;
  }
  .tilt--hero img {
    transition: transform 900ms var(--ease);
  }
  .hero__portrait.is-hover .tilt--hero img {
    transform: scale(1.06);
  }
}
@media print {
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .to-top {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =====================================================================
   Reference-style sections (marquee, services, showcase, stories, contact)
   ===================================================================== */

/* ---------- Logo marquee ---------- */
.marquee-wrap {
  text-align: center;
}
.marquee {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee__list {
  display: flex;
  align-items: center;
  gap: clamp(56px, 7vw, 110px);
  padding-right: clamp(56px, 7vw, 110px);
}
.marquee__list li {
  flex: none;
}
.marquee__list {
  --logo-h: clamp(26px, 2.6vw, 38px);
}
/* Supplied logos are full colour; show them all as white so they read as one set on the black band. */
.marquee__list img {
  height: calc(var(--logo-h) * var(--logo-scale, 1));
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee__track {
    animation: none;
    width: auto;
    justify-content: center;
  }
  .marquee__list {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    row-gap: 28px;
  }
  .marquee__list[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Services (reference cards) ---------- */
.service {
  display: flex;
  flex-direction: column;
  min-height: clamp(260px, 26vw, 340px);
  padding: clamp(26px, 3.2vw, 44px);
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  text-decoration: none;
  transition: border-color 250ms ease;
}
.service:hover {
  border-color: #b8b8bf;
}
.service__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service__top svg {
  width: 20px;
  height: 20px;
  transition: transform 300ms var(--ease);
}
.service:hover .service__top svg {
  transform: translate(3px, -3px);
}
.service__title {
  margin-top: auto;
  padding-top: 56px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}
.service__text {
  margin-top: 12px;
  color: var(--muted);
  max-width: 52ch;
}

/* ---------- Work showcase (dark band) ---------- */
.showcase-band {
  padding-block: clamp(56px, 7vw, 100px);
}
.showcase-band .container {
  max-width: calc(1440px + var(--gutter) * 2);
}
.script-label {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 24px;
  font-family: var(--font-script);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem);
  transform: rotate(-8deg);
  transform-origin: left bottom;
  color: var(--cream);
}
.script-label svg {
  width: 44px;
  height: 44px;
  margin-bottom: -16px;
}
.showcase {
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .showcase {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
  }
  .showcase > :nth-child(1),
  .showcase > :nth-child(2) {
    grid-column: span 3;
  }
  .showcase > :nth-child(n + 3) {
    grid-column: span 3;
  }
}
/* Cards in the same row match heights: the link fills the grid cell and the text panel takes the spare space. */
.showcase-card {
  display: flex;
}
.showcase-card a {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--card-stroke-dark);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  background: #141414;
  transition: border-color 300ms var(--ease);
}
.showcase-card a:hover {
  border-color: rgba(255, 255, 255, 0.34);
}
/* Cover images carry their own titles, so show them uncropped at their native ratio. */
.showcase-card__media {
  aspect-ratio: 1065 / 615;
}
.showcase-card__media > figure,
.showcase-card__media .media,
.showcase-card__media .placeholder {
  height: 100%;
  aspect-ratio: auto !important;
  border-radius: 0;
}
.showcase-card__media > * {
  transition: transform 800ms var(--ease);
}
.showcase-card a:hover .showcase-card__media > * {
  transform: scale(1.04);
}
.showcase-card__pill {
  position: absolute;
  top: 16px;
  right: 16px;
}
.showcase-card__pill .pill {
  background: rgba(120, 120, 120, 0.55);
}
.showcase-card__pill .pill--draft {
  background: var(--note-bg);
}
/* Text sits below the image (not over it) so it never collides with the text in the covers. */
.showcase-card__overlay {
  position: static;
  flex: 1;
  padding: clamp(18px, 2.4vw, 28px);
  background: #141414;
}
.showcase-card__num {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
}
.showcase-card__title {
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem);
  line-height: 1.1;
}
.showcase-card__summary {
  margin-top: 6px;
  max-width: 54ch;
  color: #e6e5df;
  font-size: 0.9375rem;
}
.showcase-card__role {
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: var(--fs-small);
}
.showcase-card a:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

/* ---------- Showreel on cream ---------- */
.reel-light .credit-list {
  border-top-color: var(--line);
}
.reel-light .credit-list dt {
  color: var(--muted);
}

/* ---------- Stories ---------- */
.stories {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}
.story {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(18px, 2.6vw, 30px);
  border: 1px solid var(--line-dark);
}
@media (min-width: 860px) {
  .story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
  }
}
.story__media {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.story__media .placeholder,
.story__media .media {
  border-radius: 0;
}
.story__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
}
.story__tag .pill {
  background: rgba(20, 20, 20, 0.85);
  padding: 9px 16px;
}
.story__kicker {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
}
.story__title {
  margin-block: 14px 26px;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
  line-height: 1.12;
}
.story__excerpt {
  margin-top: -10px;
  margin-bottom: 24px;
  color: #cfcfcf;
  font-size: 1rem;
  line-height: 1.65;
}
.story__excerpt:last-child {
  margin-bottom: 0;
}
.story__soon {
  display: inline-block;
  color: var(--muted-dark);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Contact (reference layout) ---------- */
.contact-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
  }
}
.panel {
  padding: clamp(28px, 3.4vw, 52px);
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 12px;
}
.contact-info {
  display: grid;
  gap: 36px;
}
.contact-info__item svg {
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
}
.contact-info__item h3 {
  font-size: 1.375rem;
  font-weight: 400;
}
.contact-info__item a,
.contact-info__item p {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: break-word;
}
.contact-info__item a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.socials a,
.socials__pending {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #e3e2dc;
  background: #f9f9f7;
  color: var(--ink);
  transition:
    background-color 200ms ease,
    color 200ms ease;
}
.socials a:hover {
  background: var(--ink);
  color: var(--cream);
}
.socials svg {
  width: 18px;
  height: 18px;
  margin: 0;
}
.socials__pending {
  cursor: default;
}

.form-grid {
  display: grid;
  gap: 28px 32px;
}
@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid .field--full {
    grid-column: 1 / -1;
  }
}
.field label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: uppercase;
}
.field__control {
  position: relative;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 14px 52px 14px 20px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
}
.field textarea {
  min-height: 128px;
  resize: vertical;
  padding-right: 20px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #8b8b90;
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.field__icon {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
}
.form-note {
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 46ch;
}
.form-status {
  font-size: var(--fs-small);
  color: var(--ink);
}
.form-status:empty {
  display: none;
}

/* ---------- "Let's work" CTA (reference) ---------- */
.cta--work .cta__pre {
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 400;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  letter-spacing: 0;
}
.cta--work .cta__giant {
  font-size: clamp(3.5rem, 0.8rem + 12vw, 11.5rem);
  letter-spacing: -0.01em;
}
.bento > li > .service {
  height: 100%;
}
.band--dark .stats span {
  color: var(--cream);
}

/* Hero portrait: soft shadow lifts the card as it tilts */
.tilt--hero {
  transition: box-shadow 600ms var(--ease);
}
.hero__portrait.is-hover .tilt--hero {
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.45);
}

/* ---------- Video embed facade (poster + play button; player loads on click) ---------- */
.video__facade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0d0d0d;
  color: #fff;
  cursor: pointer;
}
.video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 900ms var(--ease),
    opacity 300ms ease;
}
.video__facade:hover .video__poster {
  transform: scale(1.03);
}
.video__play {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(68px, 8vw, 104px);
  height: clamp(68px, 8vw, 104px);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
  transition:
    transform 350ms var(--ease),
    background-color 200ms ease,
    color 200ms ease;
}
.video__play svg {
  width: 34%;
  height: 34%;
  margin-left: 6%;
}
.video__facade:hover .video__play,
.video__facade:focus-visible .video__play {
  transform: scale(1.08);
  background: var(--ink);
  color: var(--cream);
}
.video__facade:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

/* Showreel animation (replaces the video player) */
.reel-anim .media {
  border-radius: 12px;
  background: #000;
}
.reel-anim img {
  object-fit: contain;
}

/* ==========================================================================
   Case study blocks: chain, timeline, clip, cards, palette
   ========================================================================== */
.chapter__blocks figcaption,
.gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--fs-small);
}

/* Chain: steps joined by arrows */
.chain__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
}
.chain__list li {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--card-line);
  border-radius: 999px;
  background: var(--card);
  font-weight: 500;
  font-size: 0.9375rem;
}
.chain__list li + li {
  margin-left: 34px;
  position: relative;
}
.chain__list li + li::before {
  content: "→";
  position: absolute;
  left: -26px;
  color: var(--muted);
}

/* Timeline (Gantt) */
.timeline__scroll {
  overflow-x: auto;
  padding-bottom: 6px;
}
.timeline__scroll:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.timeline__grid {
  display: grid;
  position: relative;
  min-width: 640px;
  row-gap: 8px;
  grid-template-columns: minmax(170px, 1.8fr) repeat(
      var(--weeks),
      minmax(38px, 1fr)
    );
  grid-auto-rows: minmax(30px, auto);
  align-items: center;
}
.timeline__week {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.timeline__label {
  grid-column: 1;
  font-size: 0.875rem;
  padding-right: 12px;
}
.timeline__bar {
  height: 22px;
  border-radius: 5px;
  margin-inline: 2px;
}
.timeline__bar--define,
.timeline__key--define {
  background: #e4e3f8;
  border: 1px solid #b7b4e6;
}
.timeline__bar--produce,
.timeline__key--produce {
  background: #ddf2e6;
  border: 1px solid #9fd2b4;
}
.timeline__review {
  align-self: stretch;
  justify-self: end;
  width: 0;
  border-right: 1px dashed #9a9aa2;
}
.timeline__review-label {
  justify-self: start;
  margin-left: -28px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.timeline__legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.timeline__key {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
}
.timeline__key--produce {
  margin-left: 14px;
}

/* Clip: silent looping animation with a pause button */
.clip__frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
.clip__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clip__toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
}
.clip__toggle:hover {
  background: rgba(0, 0, 0, 0.8);
}
.clip__toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.clip__icon {
  width: 12px;
  height: 14px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}
.clip__toggle[aria-pressed="true"] .clip__icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
  margin-left: 3px;
}
.clip.media-reading {
  max-width: 520px;
}

/* Cards */
.cs-cards {
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .cs-cards--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cs-cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.cs-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
}
.cs-card .media {
  border-radius: 0;
}
.cs-card__body {
  padding: 20px 22px 22px;
}
.cs-card__title {
  font-size: 1.375rem;
  line-height: 1.15;
  margin-bottom: 8px;
}
.cs-card p {
  color: #2b2b2e;
  font-size: 0.9375rem;
}

/* Palette bar */
.palette {
  display: flex;
  height: 14px;
  max-width: 760px;
  overflow: hidden;
  border-radius: 2px;
}
.palette span {
  flex: 1;
}
.palette span:nth-child(2) {
  flex: 1.1;
}
.palette span:nth-child(3) {
  flex: 0.9;
}

/* Line-art process images sit on white; give them a hairline frame */
.chapter__blocks .media img[src$=".png"],
.chapter__blocks .media img[src^="data:image/png"] {
  object-fit: contain;
  background: #fff;
}
.chapter__blocks .media:has(img[src$=".png"]) {
  background: #fff;
  border: 1px solid var(--stroke);
}

/* Text beside an image (case study) */
.cs-text-media {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .cs-text-media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 48px;
  }
}
.cs-text-media > figure {
  justify-self: center;
  width: 100%;
}

/* Flow: keep the number box its natural size */
.flow .num-box {
  align-self: flex-start;
}

/* Section index: the numbers are in the links already */
.cs-index ol,
.cs-contents ol {
  list-style: none;
}
.cs-contents ol {
  padding-left: 0;
}

/* Gallery items capped at native width sit centred in their cell */
.gallery > figure {
  justify-self: center;
  width: 100%;
}

/* Single-file version: note shown in place of a film too large to embed */
.video {
  position: relative;
}
.video__offline {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.8125rem;
}
.clip__frame:not(:has(video)) .clip__toggle {
  display: none;
}
