/* ==========================================================================
   Plan A International — site stylesheet
   Design system: "Creative Giants" (Refero) — oversized editorial poster on
   cream paper. Bone White canvas, one family (Switzer) at weight 300/400,
   pill-shaped controls, sharp-cornered imagery, no shadows, colour rationed
   into small hits. Brand assets (logo) follow the Plan A brand kit v1.0.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Colour — design system */
  --color-bone-white: #fffef7;
  --color-ink-black: #000000;
  --color-graphite: #666666;
  --color-ash: #aaaaaa;
  --color-charcoal-scale: #4d4c4a;
  --color-magenta-bloom: #8a0467;
  --color-forest-teal: #03624c;
  --color-powder-blue: #a5c8eb;
  --color-candy-pink: #ffacea;
  --color-mint-wash: #a5ebd6;
  --color-navy-ink: #101731;
  --color-signal-yellow: #ffd001;

  /* Surfaces */
  --surface-canvas: var(--color-bone-white);
  --surface-inverted-field: var(--color-navy-ink);

  /* Type — Switzer, single family */
  --font-switzer: 'Switzer', 'Inter', ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --text-caption: 0.75rem;                                   /* 12 */
  --text-body-sm: 0.875rem;                                  /* 14 */
  --text-body: 1rem;                                         /* 16 */
  --text-lead: 1.125rem;                                     /* 18 */
  --text-subheading: 1.25rem;                                /* 20 */
  --text-heading-sm: clamp(1.625rem, 1.32rem + 0.95vw, 2.125rem);  /* 26 → 34 */
  --text-heading: clamp(2.25rem, 1.5rem + 2.35vw, 3.375rem);       /* 36 → 54 */
  --text-heading-lg: clamp(2.5rem, 1.55rem + 2.95vw, 4rem);        /* 40 → 64 */
  --text-display: clamp(3rem, 1.85rem + 3.6vw, 5.25rem);           /* 48 → 84 */

  /* Spacing — 8px base */
  --space-8: 0.5rem;
  --space-16: 1rem;
  --space-24: 1.5rem;
  --space-32: 2rem;
  --space-48: 3rem;
  --space-64: 4rem;
  --space-80: 5rem;
  --space-112: 7rem;
  --gutter: clamp(1rem, 0.45rem + 2.2vw, 2rem);
  --section-gap: clamp(4rem, 2.6rem + 4.4vw, 7rem);
  --card-padding: 1.5rem;
  --element-gap: 0.5rem;
  --grid-gap: clamp(1rem, 0.6rem + 1.25vw, 1.5rem);

  /* Shape */
  --radius-pill: 1440px;
  --radius-cards: 0;
  --radius-images: 0;
  --hairline: 1px solid var(--color-ash);
  --shadow-subtle: rgba(255, 255, 255, 0.2) 0 0 0 1px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Logo — brand kit minimum is 120px wide on screen */
  --logo-w: 120px;
}

/* ---------- Display face for the home "PLAN A" headline -------------------
   ITC Machine is a licensed font. When the webfont is purchased (MyFonts →
   Webfont license), save the bold .woff2 as assets/fonts/itc-machine-bold.woff2
   and delete the two marker lines below (the one containing ITC-MACHINE-START
   and the one containing ITC-MACHINE-END). Until then the headline uses Teko,
   the closest free match. */
/* ITC-MACHINE-START
@font-face {
  font-family: "ITC Machine";
  src: url("../fonts/itc-machine-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
ITC-MACHINE-END */
:root { --font-display: "ITC Machine", "ITC Machine Pro", "Teko", "Arial Narrow", sans-serif; }

/* ---------- 2. Base ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--color-bone-white);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface-canvas);
  color: var(--color-ink-black);
  font-family: var(--font-switzer);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.018em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
iframe { border: 0; }

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4, h5 { font-weight: 300; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }

strong, b { font-weight: 400; }

::selection { background: var(--color-signal-yellow); color: var(--color-ink-black); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-ink-black);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.lightbox :focus-visible { outline-color: var(--color-bone-white); }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--color-ink-black);
  color: var(--color-bone-white);
}
.skip-link:focus { top: var(--space-16); }

/* ---------- 3. Typography roles ----------------------------------------- */
.display, .heading-lg, .heading, .heading-sm, .statement { text-wrap: balance; }
.display {
  font-size: var(--text-display);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
}
.heading-lg {
  font-size: var(--text-heading-lg);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.027em;
}
.heading {
  font-size: var(--text-heading);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.023em;
}
.heading-sm {
  font-size: var(--text-heading-sm);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.subheading {
  font-size: var(--text-subheading);
  font-weight: 300;
  line-height: 1.4;
}
.lead {
  font-size: var(--text-subheading);
  font-weight: 300;
  line-height: 1.4;
}
.body-sm { font-size: var(--text-body-sm); line-height: 1.43; }
.eyebrow {
  font-size: var(--text-caption);
  font-weight: 400;
  line-height: 1.43;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-graphite);
}
.muted { color: var(--color-graphite); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

.prose > * + * { margin-top: 1em; }
.prose { max-width: 62ch; }
.prose p { text-wrap: pretty; }

.link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--color-ash);
  transition: text-decoration-color 0.2s;
}
.link:hover { text-decoration-color: currentColor; }

/* Arrow link: "See the channel →" */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.25s var(--ease);
}
.arrow-link:hover { gap: 0.8em; }
.arrow-link svg { width: 14px; height: 14px; flex: none; }

/* ---------- 4. Layout ---------------------------------------------------- */
.container { padding-inline: var(--gutter); }

/* Small utilities */
.stack-8, .stack-16, .stack-24, .stack-32, .stack-48 { display: grid; align-content: start; }
.stack-8 { gap: var(--space-8); }
.stack-16 { gap: var(--space-16); }
.stack-24 { gap: var(--space-24); }
.stack-32 { gap: var(--space-32); }
.stack-48 { gap: var(--space-48); }
.self-end { align-self: end; }
.mt-32 { margin-top: var(--space-32); }
.mt-48 { margin-top: var(--space-48); }
.mt-section { margin-top: clamp(3rem, 2rem + 4vw, 6rem); }
.pt-48 { padding-top: var(--space-48); }
.break { overflow-wrap: anywhere; }
.ratio-3-2, .ratio-16-9, .ratio-4-5, .ratio-21-9 { position: relative; overflow: hidden; background: var(--color-navy-ink); }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-21-9 { aspect-ratio: 21 / 9; }
.ratio-3-2 > img, .ratio-16-9 > img, .ratio-4-5 > img, .ratio-21-9 > img { width: 100%; height: 100%; object-fit: cover; }
figure > figcaption { margin-top: var(--space-16); font-size: var(--text-body-sm); color: var(--color-graphite); }
.section { padding-block: var(--section-gap); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.rule-top { border-top: var(--hairline); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-48);
}

/* Section title block: eyebrow + statement, separated by whitespace only */
.section-head {
  display: grid;
  gap: var(--space-16);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.section-head > .heading,
.section-head > .heading-lg { max-width: 22ch; text-wrap: balance; }
.section-head > .display { max-width: 16ch; text-wrap: balance; }
.heading .slash { color: var(--color-ash); }
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-32);
  flex-wrap: wrap;
}
.section-head--split > div { display: grid; gap: var(--space-16); }
.section-head--split > .arrow-group { display: flex; gap: var(--space-8); }
.section-head--split .heading { max-width: 20ch; text-wrap: balance; }

/* ---------- 5. Controls: pills, tags, arrows ----------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.pill svg { width: 16px; height: 16px; flex: none; }
.pill--ink {
  background: var(--color-ink-black);
  color: var(--color-bone-white);
  box-shadow: var(--shadow-subtle);
}
.pill--ink:hover { background: var(--color-charcoal-scale); }
.pill--outline {
  background: transparent;
  color: var(--color-ink-black);
  border-color: var(--color-ash);
}
.pill--outline:hover { border-color: var(--color-ink-black); }
.pill--bone {
  background: var(--color-bone-white);
  color: var(--color-ink-black);
  border-color: var(--color-ash);
}
.pill--bone:hover { background: var(--color-signal-yellow); border-color: var(--color-signal-yellow); }
.pill--ghost {
  background: transparent;
  color: var(--color-bone-white);
  border-color: rgba(255, 254, 247, 0.5);
}
.pill--ghost:hover { border-color: var(--color-bone-white); }
.pill--lg { min-height: 52px; padding: 14px 28px; }
.pill-row { display: flex; flex-wrap: wrap; gap: var(--space-8) var(--space-16); align-items: center; }

.play-dot {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: currentColor;
}
.play-dot::before {
  content: "";
  margin-left: 2px;
  border-left: 7px solid var(--play-fill, var(--color-bone-white));
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}
.pill--bone .play-dot,
.pill--outline .play-dot { --play-fill: var(--color-bone-white); color: var(--color-ink-black); }
.pill--ink .play-dot { --play-fill: var(--color-ink-black); color: var(--color-bone-white); }
.pill--ghost .play-dot { --play-fill: var(--color-navy-ink); color: var(--color-bone-white); }

/* Tag / category pill */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: var(--text-caption);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-ink-black);
  white-space: nowrap;
}
.tag--yellow { background: var(--color-signal-yellow); border-color: var(--color-signal-yellow); }
.tag--on-dark { color: var(--color-bone-white); border-color: rgba(255, 254, 247, 0.35); }
.tag[data-dot]::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-ink-black);
}
.tag[data-dot="aviation"]::before { background: var(--color-forest-teal); }
.tag[data-dot="film"]::before { background: var(--color-magenta-bloom); }
.tag[data-dot="documentary"]::before { background: var(--color-navy-ink); }
.tag[data-dot="branded"]::before { background: var(--color-powder-blue); }
.tag[data-dot="reel"]::before { background: var(--color-signal-yellow); }
.tag-row { display: flex; flex-wrap: wrap; gap: var(--element-gap); }

/* Filter chips (work page, contact form) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--color-ash);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: var(--text-body-sm);
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--color-ink-black); }
.chip[aria-pressed="true"],
.chip:has(input:checked) {
  background: var(--color-ink-black);
  border-color: var(--color-ink-black);
  color: var(--color-bone-white);
}
.chip:has(input:focus-visible) { outline: 2px solid var(--color-ink-black); outline-offset: 3px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip__count { color: var(--color-graphite); font-size: var(--text-caption); }
.chip[aria-pressed="true"] .chip__count { color: var(--color-ash); }

/* Carousel arrow control — circular outline */
.arrow-btn {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--color-ash);
  border-radius: 50%;
  background: transparent;
  color: var(--color-ink-black);
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
}
.arrow-btn:hover:not(:disabled) { border-color: var(--color-ink-black); }
.arrow-btn:disabled { opacity: 0.35; cursor: default; }
.arrow-btn svg { width: 16px; height: 16px; }
.arrow-group { display: flex; gap: var(--space-8); }

/* ---------- 6. Header & menu --------------------------------------------- */
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: var(--space-24);
  padding: var(--space-16) var(--gutter);
}
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: var(--logo-w); height: auto; }
/* The brand-kit logo, deepened slightly so it holds up against the cream */
.site-header__logo img, .menu__top img, .site-footer__bottom img { filter: brightness(0.78) saturate(1.15); }
.site-header__tagline {
  color: var(--color-ink-black);
  line-height: 1.5;
  /* stop short of the fixed "Start a project" / "Menu" buttons */
  padding-right: 240px;
}
.site-header__actions {
  position: fixed;
  top: var(--space-24);
  right: var(--gutter);
  z-index: 40;
  display: flex;
  gap: var(--space-8);
}
@media (max-width: 719px) {
  .site-header__tagline { display: none; }
  .site-header__actions .pill--bone { display: none; }
  .site-header__actions { top: var(--space-16); }
}

/* Full-screen menu (native <dialog>) */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--color-bone-white);
  color: var(--color-ink-black);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.menu[open] { display: flex; flex-direction: column; }
.menu.is-open { opacity: 1; }
.menu::backdrop { background: transparent; }
.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  padding: var(--space-16) var(--gutter);
}
.menu__top img { width: var(--logo-w); height: auto; }
.menu__close { align-self: flex-start; margin-top: calc(var(--space-24) - var(--space-16)); }
@media (max-width: 719px) { .menu__close { margin-top: 0; } }
.menu__body {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: end;
  padding: var(--space-48) var(--gutter) var(--space-32);
}
.menu__nav { grid-column: 1 / span 8; }
.menu__nav ol { display: grid; }
.menu__nav li { border-top: var(--hairline); }
.menu__nav li:last-child { border-bottom: var(--hairline); }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: var(--space-24);
  padding: 0.12em 0;
  font-size: clamp(2.5rem, 1.4rem + 4.2vw, 5.25rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
  transition: opacity 0.25s, transform 0.4s var(--ease);
}
.menu__nav ol:hover a { opacity: 0.35; }
.menu__nav ol:hover a:hover { opacity: 1; transform: translateX(8px); }
.menu__nav a[aria-current="page"] .menu__label {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}
.menu__index {
  min-width: 2.5em;
  font-size: var(--text-caption);
  letter-spacing: 0;
  color: var(--color-graphite);
  transform: translateY(-1.6em);
}
.menu__aside {
  grid-column: 10 / span 3;
  display: grid;
  gap: var(--space-16);
  align-content: end;
}
.menu__aside .pill { justify-self: start; }
.menu__nav li,
.menu__aside > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.menu.is-open .menu__nav li,
.menu.is-open .menu__aside > * { opacity: 1; transform: none; }
.menu.is-open .menu__nav li:nth-child(2) { transition-delay: 0.04s; }
.menu.is-open .menu__nav li:nth-child(3) { transition-delay: 0.08s; }
.menu.is-open .menu__nav li:nth-child(4) { transition-delay: 0.12s; }
.menu.is-open .menu__nav li:nth-child(5) { transition-delay: 0.16s; }
.menu.is-open .menu__nav li:nth-child(6) { transition-delay: 0.2s; }
.menu.is-open .menu__aside > * { transition-delay: 0.22s; }
@media (max-width: 899px) {
  .menu__body { align-items: start; row-gap: var(--space-48); }
  .menu__nav, .menu__aside { grid-column: 1 / -1; }
}
html.menu-open { overflow: hidden; }

/* ---------- 7. Heroes ---------------------------------------------------- */
/* 7a. Home: poster headline knocked out of the cream canvas. One image runs
   behind both rows, so it shows through the letters and continues in the band
   directly beneath them, as if the band rises into the headline. */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-navy-ink);
}
.hero__media > img {
  transform-origin: 60% 55%;
  animation: hero-drift 28s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.1) translate3d(-1.2%, -0.8%, 0); }
}
.hero__knockout {
  position: relative;
  z-index: 1;
  /* top room covers ascenders that rise above the cap height ("l") */
  /* a strip of cream between the letters and the band, as on the reference */
  padding: clamp(1.25rem, 3.2vw, 3.25rem) var(--gutter) clamp(0.75rem, 2.4vw, 2.25rem);
  background: var(--color-bone-white);
  color: var(--color-ink-black);
  text-align: center; /* the one centered element the system allows: the hero display headline */
  /* lighten keeps the cream exact (no visible box edge); black glyphs reveal the image */
  mix-blend-mode: lighten;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 30vw, 45rem);
  font-weight: 700;
  line-height: 0.74;
  letter-spacing: 0.08em; /* spaced out; the fit script shrinks the size to keep it edge to edge */
  text-transform: uppercase;
  white-space: nowrap;
}
/* Trim the line box to cap height and baseline so the letters sit exactly on the band */
@supports (text-box: trim-both cap alphabetic) {
  .hero__title { line-height: 1; text-box: trim-both cap alphabetic; }
}
.hero__title .fit-inner { display: inline-block; margin-right: -0.08em; /* cancel the tracking after the last letter so it centres */ }
.hero__band {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-32);
  min-height: clamp(260px, 38svh, 520px);
  padding: var(--space-32) var(--gutter);
  color: var(--color-bone-white);
}
.hero__band::before {
  content: "";
  position: absolute;
  inset: 25% 0 0 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0));
  pointer-events: none;
}
.hero__caption { display: grid; gap: var(--space-16); max-width: 40rem; }
.hero__caption .eyebrow { color: var(--color-bone-white); }
.hero__caption .heading-sm { text-wrap: balance; }
@media (max-width: 719px) {
  .hero__band {
    min-height: clamp(380px, 58svh, 520px);
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: var(--space-24);
  }
}

/* Shared: cover-fit media layer (poster image + background video) */
.media-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
}
.media-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-cover iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  max-width: none; /* allow overflow so a 16:9 video can cover tall or narrow boxes */
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.media-cover.is-playing iframe { opacity: 1; }
.media-cover video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.media-cover.is-playing video { opacity: 1; }

/* 7b. Inner pages: display headline, then a full-bleed band */
.page-hero__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-24);
  align-items: end;
  padding: clamp(2rem, 1rem + 5vw, 6rem) var(--gutter) clamp(2rem, 1.5rem + 2.5vw, 4rem);
}
.page-hero__head > .eyebrow { grid-column: 1 / -1; }
.page-hero__head h1 { grid-column: 1 / span 9; max-width: 15ch; text-wrap: balance; }
.page-hero__head .page-hero__aside {
  grid-column: 10 / span 3;
  display: grid;
  gap: var(--space-16);
  justify-items: start;
}
@media (max-width: 899px) {
  .page-hero__head h1, .page-hero__head .page-hero__aside { grid-column: 1 / -1; }
}

/* Full-bleed band (image or footage) with bottom-left caption */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(420px, 74svh, 900px);
  background: var(--color-navy-ink);
  color: var(--color-bone-white);
}
.band--short { height: clamp(320px, 56svh, 680px); }
.band__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-32);
  padding: clamp(5rem, 12vw, 9rem) var(--gutter) var(--space-32);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}
.band .band__caption { margin: 0; font-size: var(--text-body); color: var(--color-bone-white); }
.band__caption > div { display: grid; gap: var(--space-16); max-width: 42rem; }
.band__caption .eyebrow { color: var(--color-bone-white); }
.band__caption .heading-sm { text-wrap: balance; }
@media (max-width: 719px) {
  .band__caption { flex-direction: column; align-items: flex-start; gap: var(--space-24); }
}

/* ---------- 8. Cards ---------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1rem, 0.2rem + 2.5vw, 3rem);
  row-gap: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) {
  .card-grid, .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.card { display: flex; flex-direction: column; gap: var(--space-16); min-width: 0; }
.card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--color-navy-ink);
  cursor: pointer;
  text-align: left;
}
.card__media--square { aspect-ratio: 1 / 1; }
.card__media--43 { aspect-ratio: 4 / 3; }
.card__media--poster { aspect-ratio: 2 / 3; }
/* A square channel logo shown whole, on a field matching its own dark edge */
.card__media--logo { background: rgb(30 40 52); }
.card__media.card__media--logo img { object-fit: contain; }
/* A film's poster shown whole in a 16:9 card, over a blurred copy of itself */
.card__media.card__media--key-art img { position: relative; object-fit: contain; }
.card__media.card__media--key-art .card__media-backdrop {
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: blur(22px) brightness(0.55) saturate(1.1);
  transform: scale(1.25);
}
.card__media--key-art:hover .card__media-backdrop,
.card__media--key-art:focus-visible .card__media-backdrop { transform: scale(1.25); }
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.card__media:hover img,
.card__media:focus-visible img { transform: scale(1.035); }
.card__hint {
  position: absolute;
  left: var(--space-16);
  bottom: var(--space-16);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-bone-white);
  color: var(--color-ink-black);
  font-size: var(--text-caption);
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.2s, transform 0.4s var(--ease);
}
.card__hint .play-dot { --play-fill: var(--color-bone-white); color: var(--color-ink-black); width: 18px; height: 18px; }
.card__media:hover .card__hint,
.card__media:focus-visible .card__hint { background: var(--color-signal-yellow); }
.card__duration {
  position: absolute;
  right: var(--space-16);
  bottom: var(--space-16);
  font-size: var(--text-caption);
  color: var(--color-bone-white);
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}
.card__body { display: grid; gap: var(--space-8); }
.card__title {
  font-size: var(--text-subheading);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.018em;
}
.card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.card__text {
  font-size: var(--text-body-sm);
  line-height: 1.43;
  color: var(--color-graphite);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta { font-size: var(--text-caption); text-transform: uppercase; color: var(--color-graphite); }
/* Show a card's whole description instead of three lines */
.card-grid--full-text .card__text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.card .tag-row { margin-bottom: 2px; }

/* Chromatic accent card — the occasional colour rupture in a grid */
.accent-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-32);
  min-height: 100%;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  background: var(--accent, var(--color-mint-wash));
  color: var(--color-ink-black);
}
.accent-card--navy { --accent: var(--color-navy-ink); color: var(--color-bone-white); }
.accent-card--navy .eyebrow { color: rgba(255, 254, 247, 0.7); }
.accent-card--blue { --accent: var(--color-powder-blue); }
.accent-card--pink { --accent: var(--color-candy-pink); }
.accent-card--mint { --accent: var(--color-mint-wash); }
.accent-card .eyebrow { color: rgba(0, 0, 0, 0.62); }
.accent-card__figure {
  font-size: var(--text-display);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.accent-card blockquote {
  font-size: var(--text-heading-sm);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

/* ---------- 9. Content blocks ------------------------------------------- */
/* Intro statement */
.statement {
  font-size: var(--text-heading);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.023em;
  max-width: 24ch;
  text-wrap: balance;
}
.statement .muted { color: var(--color-graphite); }

.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-32);
}
.split__main { grid-column: 1 / span 7; }
.split__side { grid-column: 9 / span 4; }
.split__side--wide { grid-column: 8 / span 5; }
.split__side-left { grid-column: 1 / span 5; }
.split__faq { grid-column: 7 / span 6; }
.split__form { grid-column: 7 / span 6; }
@media (max-width: 899px) {
  .split__main, .split__side, .split__side--wide,
  .split__side-left, .split__faq, .split__form { grid-column: 1 / -1; }
}
.measure { max-width: 62ch; }
.measure-wide { max-width: 56rem; }

/* Closing line of a case study */
.case-close {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-32) var(--space-48);
}
.case-close .heading { max-width: 22ch; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(var(--stats-cols, 3), minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-48);
}
.stats--4 { --stats-cols: 4; }
.stat { display: grid; gap: var(--space-16); align-content: start; padding-top: var(--space-24); border-top: 1px solid var(--color-ink-black); }
.stat__value {
  font-size: var(--text-display);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: lining-nums;
}
.stat__label { font-size: var(--text-body-sm); line-height: 1.43; color: var(--color-graphite); max-width: 30ch; }
@media (max-width: 899px) { .stats, .stats--4 { --stats-cols: 2; } }

/* Credits list — names set as quiet annotations */
.credits {
  display: grid;
  grid-template-columns: repeat(var(--credits-cols, 4), minmax(0, 1fr));
  column-gap: var(--grid-gap);
}
.credits li {
  padding: var(--space-16) 0;
  border-top: var(--hairline);
  font-size: clamp(1rem, 0.85rem + 0.6vw, 1.25rem);
  font-weight: 300;
  line-height: 1.3;
}
.credits li small { display: block; margin-top: 4px; font-size: var(--text-caption); text-transform: uppercase; color: var(--color-graphite); letter-spacing: 0; }
.credits--3 { --credits-cols: 3; }
.credits--5 { --credits-cols: 5; }
@media (max-width: 1023px) { .credits, .credits--5 { --credits-cols: 3; } }
@media (max-width: 719px) { .credits, .credits--3, .credits--5 { --credits-cols: 2; } }

/* Client strip: a single quiet row of names between hairlines */
.client-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: var(--space-16) 2vw;
  padding: var(--space-24) 0;
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}
.client-strip li {
  font-size: clamp(1.125rem, 0.1rem + 1.5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: -0.018em;
  white-space: nowrap;
}
/* spread edge to edge only where all the names fit on one line */
@media (min-width: 1100px) { .client-strip { justify-content: space-between; column-gap: 1.25rem; } }
@media (max-width: 719px) { .client-strip { gap: var(--space-8) var(--space-24); } }

/* Hairline rows: label + description */
.rows > li {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-8);
  padding: var(--space-24) 0;
  border-top: var(--hairline);
}
.rows > li:last-child { border-bottom: var(--hairline); }
.rows__index { grid-column: 1 / span 1; font-size: var(--text-caption); color: var(--color-graphite); padding-top: 0.6em; }
.rows__label { grid-column: 2 / span 4; font-size: var(--text-heading-sm); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; }
.rows__text { grid-column: 7 / span 6; color: var(--color-graphite); max-width: 56ch; padding-top: 0.35em; }
.rows--no-index .rows__label { grid-column: 1 / span 5; }
@media (max-width: 899px) {
  .rows__index { grid-column: 1 / -1; padding-top: 0; }
  .rows__label, .rows--no-index .rows__label, .rows__text { grid-column: 1 / -1; }
}

/* Feature rows: media + copy, alternating */
.feature-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-32);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(4rem, 3rem + 4vw, 7rem); }
.feature-row__media { grid-column: 1 / span 7; }
.feature-row__copy { grid-column: 9 / span 4; display: grid; gap: var(--space-16); align-content: center; }
.feature-row--flip .feature-row__media { grid-column: 6 / span 7; order: 2; }
.feature-row--flip .feature-row__copy { grid-column: 1 / span 4; order: 1; }
.feature-row__copy .heading-sm { text-wrap: balance; }
.feature-row__copy p { color: var(--color-graphite); text-wrap: pretty; }
.feature-row__copy .arrow-link { justify-self: start; margin-top: var(--space-8); }
.feature-row__note { font-size: var(--text-body-sm); }
@media (max-width: 899px) {
  .feature-row__media, .feature-row__copy,
  .feature-row--flip .feature-row__media, .feature-row--flip .feature-row__copy { grid-column: 1 / -1; order: 0; }
}

/* Pillars: two large editorial cards */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.pillar { display: grid; gap: var(--space-24); align-content: start; }
.pillar__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-navy-ink); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.03); }
.pillar__media .tag { position: absolute; left: var(--space-16); top: var(--space-16); background: var(--color-bone-white); border-color: transparent; }
.pillar__body { display: grid; gap: var(--space-16); max-width: 36rem; }
.pillar__body p { color: var(--color-graphite); }
.pillar__body .pill { justify-self: start; margin-top: var(--space-8); }
@media (max-width: 719px) { .pillars { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-64); } }

/* Featured inverted block — the one Navy Ink field on a page */
.feature-block {
  margin-inline: var(--gutter);
  padding: clamp(2rem, 1rem + 5vw, 6rem) clamp(1.25rem, 0.5rem + 4vw, 5rem);
  background: var(--surface-inverted-field);
  color: var(--color-bone-white);
}
.feature-block .eyebrow { color: rgba(255, 254, 247, 0.68); }
.feature-block .muted,
.feature-block p { color: rgba(255, 254, 247, 0.78); }
.feature-block .heading, .feature-block .heading-lg, .feature-block .heading-sm, .feature-block .display { color: var(--color-bone-white); }
.feature-block .stat { border-top-color: rgba(255, 254, 247, 0.4); }
.feature-block .stat__value { color: var(--color-bone-white); }
.feature-block .stat__label { color: rgba(255, 254, 247, 0.7); }
.feature-block .card__title { color: var(--color-bone-white); }
.feature-block .card__text { color: rgba(255, 254, 247, 0.7); }
.feature-block .rule-top { border-top-color: rgba(255, 254, 247, 0.22); }
.feature-block .arrow-link { color: var(--color-bone-white); }

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 1rem + 2vw, 3.5rem);
  row-gap: var(--space-48);
}
.cols-3 > div { display: grid; gap: var(--space-16); align-content: start; }
.cols-3 p { text-wrap: pretty; }
@media (max-width: 899px) { .cols-3 { grid-template-columns: minmax(0, 1fr); } }

/* Awards list */
.awards {
  display: grid;
  grid-template-columns: repeat(var(--award-cols, 3), minmax(0, 1fr));
  column-gap: var(--grid-gap);
}
.awards li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px var(--space-16);
  align-items: start;
  padding: var(--space-24) 0;
  border-top: var(--hairline);
}
.awards .tag { grid-row: span 2; align-self: start; }
.awards__name { font-size: var(--text-subheading); font-weight: 300; line-height: 1.25; }
.awards__meta { font-size: var(--text-body-sm); color: var(--color-graphite); }
.feature-block .awards li { border-top-color: rgba(255, 254, 247, 0.22); }
.feature-block .awards__meta { color: rgba(255, 254, 247, 0.65); }
@media (max-width: 1023px) { .awards { --award-cols: 2; } }
@media (max-width: 639px) { .awards { --award-cols: 1; } }

/* Laurel names in a flowing line */
.laurel-line {
  font-size: var(--text-heading-sm);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.laurel-line > span { white-space: nowrap; }
@media (max-width: 719px) {
  .laurel-line { font-size: var(--text-subheading); }
  .laurel-line > span { white-space: normal; }
}
.laurel-line .sep { color: var(--color-ash); padding-left: 0.3em; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.step {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: var(--space-16);
  padding: var(--card-padding);
  border: var(--hairline);
}
.step.accent-card { border-color: transparent; }
.step__num { font-size: var(--text-heading-lg); font-weight: 300; line-height: 1; letter-spacing: -0.027em; }
.step__title { font-size: var(--text-subheading); font-weight: 400; line-height: 1.3; }
.step p { font-size: var(--text-body-sm); line-height: 1.5; color: var(--color-graphite); }
.step.accent-card p { color: rgba(0, 0, 0, 0.72); }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Pull quote */
.pull-quote { display: grid; gap: var(--space-24); padding-left: var(--space-32); border-left: 1px solid var(--color-forest-teal); }
.pull-quote blockquote {
  font-size: var(--text-heading-sm);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.pull-quote figcaption { font-size: var(--text-body-sm); color: var(--color-graphite); }

/* FAQ */
.faq { border-bottom: var(--hairline); }
.faq details { border-top: var(--hairline); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-24);
  padding: var(--space-24) 0;
  font-size: var(--text-subheading);
  font-weight: 300;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 14px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 14px 1px no-repeat;
  transform: rotate(180deg);
}
.faq__answer { padding: 0 0 var(--space-24); max-width: 60ch; color: var(--color-graphite); }
.faq__answer p + p { margin-top: 0.8em; }

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-64) var(--grid-gap);
}
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--grid-gap); align-items: start; }
.person__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-navy-ink); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__body { display: grid; gap: var(--space-16); }
.person__body p { color: var(--color-graphite); font-size: var(--text-body-sm); line-height: 1.5; }
.person__body .tag-row { margin-top: var(--space-8); }
@media (max-width: 1100px) { .team { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 559px) { .person { grid-template-columns: minmax(0, 1fr); } }

/* Bios (about page): alternating photo / text */
.bios { display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); }
.bio {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-24);
  align-items: end;
}
.bio__photo { grid-column: 1 / span 4; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-navy-ink); }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.bio__body { grid-column: 6 / span 6; display: grid; gap: var(--space-16); }
.bio__body p:not(.eyebrow) { color: var(--color-graphite); max-width: 62ch; text-wrap: pretty; }
.bio__body .tag-row { margin-top: var(--space-8); }
.bio:nth-child(even) .bio__photo { grid-column: 9 / span 4; order: 2; }
.bio:nth-child(even) .bio__body { grid-column: 1 / span 6; order: 1; }
@media (max-width: 899px) {
  .bio__photo, .bio__body,
  .bio:nth-child(even) .bio__photo, .bio:nth-child(even) .bio__body { grid-column: 1 / -1; order: 0; }
  .bio__photo { max-width: 440px; }
}

/* Press: small clipping cards — a quiet zoom and underline on hover */
.split__press { grid-column: 6 / span 7; }
@media (max-width: 899px) { .split__press { grid-column: 1 / -1; } }
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-48) var(--grid-gap);
}
@media (max-width: 1023px) { .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-32) var(--grid-gap); } }
.press-card { display: grid; gap: var(--space-8); align-content: start; }
.press-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: var(--space-8);
  overflow: hidden;
  background: var(--color-navy-ink);
}
.press-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.press-card:hover .press-card__media img,
.press-card:focus-visible .press-card__media img { transform: scale(1.05); }
.press-card__title {
  font-size: var(--text-lead);
  font-weight: 300;
  line-height: 1.3;
  text-wrap: balance;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.25s;
}
.press-card:hover .press-card__title,
.press-card:focus-visible .press-card__title { text-decoration-color: currentColor; }

/* Poster carousel */
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 21vw, 320px);
  gap: var(--grid-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) var(--space-8);
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { scroll-snap-align: start; }
.carousel__track .card__body { padding-right: var(--space-8); }

/* Work index */
.reels {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-48);
  align-items: end;
}
.reels__main { grid-column: 1 / span 8; }
.reels__side { grid-column: 9 / span 4; }
@media (max-width: 899px) { .reels__main, .reels__side { grid-column: 1 / -1; } }
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16) var(--space-32);
  padding-bottom: var(--space-32);
  margin-bottom: var(--space-48);
  border-bottom: var(--hairline);
}
.filters { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.card__media--static { cursor: default; }
.card__media--static:hover img { transform: none; }
.card-grid > [hidden] { display: none !important; }

/* Poster marquee — a slow, full-bleed reel of key art */
.marquee { position: relative; overflow: hidden; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 110s linear infinite;
}
.marquee__track > li { flex: none; width: clamp(160px, 19vw, 300px); margin-right: var(--grid-gap); overflow: hidden; }
.marquee__track img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--color-navy-ink);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; scrollbar-width: none; }
  .marquee__track { animation: none !important; }
  .marquee__track > li[aria-hidden="true"] { display: none; }
}

/* Partner note: a quiet text card under a strong rule */
.partner {
  display: grid;
  gap: var(--space-16);
  align-content: start;
  padding-top: var(--space-24);
  border-top: 1px solid var(--color-ink-black);
}
.partner p:not(.eyebrow) { color: var(--color-graphite); text-wrap: pretty; }

.credits--on-dark li { border-top-color: rgba(255, 254, 247, 0.22); color: var(--color-bone-white); }

/* Lists of two columns of "labels" on dark */
.inline-list { display: flex; flex-wrap: wrap; gap: var(--space-8); }

/* ---------- 10. Forms --------------------------------------------------- */
.form { display: grid; gap: var(--space-32); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-32) var(--grid-gap); }
@media (max-width: 639px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: var(--space-8); }
.field > label,
.field > legend,
.fieldset > legend {
  padding: 0;
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--color-graphite);
}
.optional { text-transform: none; color: var(--color-graphite); opacity: 0.75; }
.sticky { position: sticky; top: 96px; align-self: start; }
@media (max-width: 899px) { .sticky { position: static; } }
.input {
  width: 100%;
  min-height: 52px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--color-ash);
  border-radius: 0;
  background: transparent;
  font-size: var(--text-subheading);
  font-weight: 300;
  line-height: 1.4;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--color-ash); }
.input:hover { border-bottom-color: var(--color-graphite); }
.input:focus { outline: none; border-bottom-color: var(--color-ink-black); }
.input:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--color-ink-black); }
textarea.input { min-height: 140px; resize: vertical; }
.select {
  padding-right: 28px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4.5 6 8.5l4-4' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.select:invalid, .select option[value=""] { color: var(--color-graphite); }

/* Contact details list */
.contact-details > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: var(--space-16);
  align-items: baseline;
  padding: var(--space-16) 0;
  border-top: var(--hairline);
}
.contact-details > div:last-child { border-bottom: var(--hairline); }
.contact-details dd { overflow-wrap: anywhere; }
.fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: var(--space-16); }
.fieldset .chips { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-16) var(--space-24); }
.form__note { font-size: var(--text-body-sm); color: var(--color-graphite); }
.form__status { font-size: var(--text-body-sm); min-height: 1.4em; }
.form__status.is-success { padding: 12px 16px; background: var(--color-mint-wash); color: var(--color-ink-black); }
.form__status.is-error { padding: 12px 16px; background: var(--color-candy-pink); color: var(--color-ink-black); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 11. CTA & footer -------------------------------------------- */
.cta { display: grid; gap: var(--space-32); }
.cta__title {
  font-size: clamp(2.5rem, 1.2rem + 4.2vw, 5.5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 20ch;
  text-wrap: balance;
}
.cta__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: var(--space-32); align-items: end; }
.cta__row > p { grid-column: 1 / span 6; color: var(--color-graphite); max-width: 46ch; }
.cta__row > .pill-row { grid-column: 8 / span 5; justify-content: flex-end; }
@media (max-width: 899px) {
  .cta__row > p, .cta__row > .pill-row { grid-column: 1 / -1; justify-content: flex-start; }
}

.site-footer { padding: 0 var(--gutter) var(--space-32); }
.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-48);
  padding-top: var(--space-48);
  border-top: var(--hairline);
}
.site-footer__quote {
  grid-column: 1 / span 6;
  justify-self: start;
  align-self: start;
  display: grid;
  gap: var(--space-16);
  align-content: start;
  margin: 0;
  padding-left: var(--space-24);
  border-left: 1px solid var(--color-forest-teal);
}
.site-footer__quote blockquote {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-indent: -0.42em; /* hang the opening quote mark */
  text-wrap: balance;
}
.site-footer__quote figcaption { margin: 0; font-size: var(--text-caption); text-transform: uppercase; color: var(--color-graphite); }
.site-footer__col { grid-column: span 2; display: grid; gap: var(--space-16); align-content: start; }
.site-footer__col ul { display: grid; gap: var(--space-8); font-size: var(--text-body-sm); }
.site-footer__col a:hover { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-24);
  margin-top: var(--space-64);
  font-size: var(--text-caption);
  color: var(--color-graphite);
}
.site-footer__bottom img { width: var(--logo-w); height: auto; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-8) var(--space-24); text-transform: uppercase; }
.site-footer__legal a:hover { color: var(--color-ink-black); }
@media (max-width: 1023px) {
  .site-footer__quote { grid-column: 1 / -1; }
  .site-footer__col { grid-column: span 4; }
}
@media (max-width: 559px) {
  .site-footer__col { grid-column: span 6; }
}

/* ---------- 12. Video lightbox ----------------------------------------- */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: var(--space-16) var(--gutter) var(--space-24);
  border: 0;
  background: transparent;
  color: var(--color-bone-white);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox[open] { display: flex; flex-direction: column; gap: var(--space-16); }
.lightbox.is-open { opacity: 1; }
.lightbox::backdrop { background: var(--color-navy-ink); }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-24); }
.lightbox__title { font-size: var(--text-subheading); font-weight: 300; }
.lightbox__stage { flex: 1; display: grid; place-items: center; min-height: 0; }
.lightbox__frame {
  position: relative;
  width: min(100%, calc((100svh - 180px) * 16 / 9));
  aspect-ratio: 16 / 9;
  background: #000;
}
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.lightbox__frame--image { width: auto; max-width: 100%; aspect-ratio: auto; background: transparent; }
.lightbox__frame--image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 180px);
  margin: 0 auto;
}
.lightbox__foot { display: flex; justify-content: space-between; gap: var(--space-24); flex-wrap: wrap; font-size: var(--text-body-sm); color: rgba(255, 254, 247, 0.7); }
.lightbox__foot a { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: rgba(255, 254, 247, 0.4); }
.lightbox__foot a:hover { color: var(--color-bone-white); text-decoration-color: currentColor; }

/* ---------- 13. Landing pages (unlinked, e.g. /seniorliving) ----------- */
/* In-page anchor nav sits where the tagline goes on the main site */
.site-header__nav ul { display: flex; flex-wrap: wrap; gap: var(--space-8) var(--space-24); }
.site-header__nav a {
  font-size: var(--text-caption);
  line-height: 1.43;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-ink-black);
}
.site-header__nav a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
@media (max-width: 899px) { .site-header__nav { display: none; } }

.split__right { grid-column: 7 / span 6; }
@media (max-width: 899px) { .split__right { grid-column: 1 / -1; } }
.feature-row__copy .pill { justify-self: start; margin-top: var(--space-8); }
.cta .heading-lg { max-width: 20ch; }

/* A clip with its own player controls, in a 16:9 frame */
.clip { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--color-navy-ink); }

/* Testimonials: short quotes side by side */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-48) var(--grid-gap); }
@media (max-width: 899px) { .quotes { grid-template-columns: minmax(0, 1fr); } }
.pull-quote--sm blockquote { font-size: clamp(1.125rem, 0.95rem + 0.55vw, 1.5rem); line-height: 1.3; }
.feature-block .pull-quote { border-left-color: var(--color-mint-wash); }
.feature-block .pull-quote figcaption { color: rgba(255, 254, 247, 0.65); }

/* Service columns, each led by a short clip */
.offer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-64) clamp(1.5rem, 1rem + 2vw, 3rem);
}
.offer__col { display: grid; gap: var(--space-24); align-content: start; }
.offer__list li {
  padding: var(--space-16) 0;
  border-top: var(--hairline);
  font-size: var(--text-body-sm);
  line-height: 1.5;
  color: var(--color-graphite);
  text-wrap: pretty;
}
@media (max-width: 899px) { .offer { grid-template-columns: minmax(0, 1fr); } }

/* Labelled paragraphs: a small caption over each paragraph, between hairlines */
.labelled > div { display: grid; gap: var(--space-8); padding: var(--space-24) 0; border-top: var(--hairline); }
.labelled > div:last-child { border-bottom: var(--hairline); }
.labelled dd { max-width: 62ch; color: var(--color-graphite); text-wrap: pretty; }

/* Photo mosaic: one tall picture beside a 2 × 2 grid */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
  aspect-ratio: 4 / 3;
}
.mosaic > * { overflow: hidden; background: var(--color-navy-ink); }
.mosaic > :first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* Poster wall: key art in a tight grid */
.poster-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--space-8); }
.poster-grid img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--color-navy-ink); }
@media (max-width: 1023px) { .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 14. Motion -------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header__actions, .menu, .lightbox, .media-cover iframe, .media-cover video { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
