/* ==========================================================================
   NG Media: main stylesheet
   Palettes come straight from "NG MEDIA Colour Palette.pdf".
   ========================================================================== */

/* ---------- Colour options (switch with data-palette on <html>) ---------- */
:root,
[data-palette='gold'] {
  --bg: #f3eee6;        /* warm cream */
  --bg-2: #e9e0d2;      /* sand, secondary surfaces */
  --ink: #133133;       /* deep green, main text */
  --dark: #133133;      /* dark sections */
  --dark-2: #0d2627;    /* footer */
  --on-dark: #f3eee6;
  --accent: #b08a59;    /* gold, buttons */
  --on-accent: #10120e;
  --accent-soft: #c9a77a;
}
[data-palette='sage'] {
  --bg: #e8e0d5;
  --bg-2: #ddd3c5;
  --ink: #133133;
  --dark: #133133;
  --dark-2: #171716;
  --on-dark: #e8e0d5;
  --accent: #838e7b;
  --on-accent: #10120e;
  --accent-soft: #a4ad9b;
}
[data-palette='lilac'] {
  --bg: #f4ede7;
  --bg-2: #eadfd9;
  --ink: #082a27;
  --dark: #082a27;
  --dark-2: #463541;
  --on-dark: #f4ede7;
  --accent: #c0acca;
  --on-accent: #082a27;
  --accent-soft: #d4c5db;
}

:root {
  --ink-2: color-mix(in srgb, var(--ink) 70%, var(--bg));
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --on-dark-2: color-mix(in srgb, var(--on-dark) 68%, var(--dark));

  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1480px;
  --radius: clamp(10px, 1.2vw, 18px);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);       /* ease-in-out, calm */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;

  /* Type scale */
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --fs-lede: clamp(1.125rem, 1rem + 0.55vw, 1.5rem);
  --fs-st-sm: clamp(1.6rem, 1.1rem + 2.2vw, 3.25rem);
  --fs-st: clamp(2.1rem, 1.2rem + 3.9vw, 5.25rem);
  --fs-st-lg: clamp(2.3rem, 1.2rem + 4.6vw, 6rem);
  --fs-st-xl: clamp(2.5rem, 1rem + 6.2vw, 8rem);
  --fs-st-xxl: clamp(4rem, 1rem + 14vw, 17rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease);
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  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 {
  position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 99px;
  background: var(--ink); color: var(--bg); transition: top 0.3s var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.center { display: flex; justify-content: center; }
.section { padding-block: clamp(80px, 12vw, 180px); }
.section--tight-top { padding-top: 0; }

/* ---------- Type ---------- */
.statement {
  font-size: var(--fs-st);
  font-weight: 700;
  font-stretch: 112%;
  font-variation-settings: 'wdth' 112;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 18ch;
}
.statement--sm { font-size: var(--fs-st-sm); line-height: 1.08; max-width: 26ch; font-weight: 600; letter-spacing: -0.025em; }
.statement--lg { font-size: var(--fs-st-lg); max-width: 16ch; }
.statement--xl { font-size: var(--fs-st-xl); max-width: 17ch; }
.statement--xxl { font-size: var(--fs-st-xxl); letter-spacing: -0.05em; line-height: 0.9; max-width: none; }
.lede { font-size: var(--fs-lede); line-height: 1.45; color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variation-settings: 'wdth' 118;
  color: var(--ink-2);
}
.eyebrow a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: clamp(24px, 3vw, 40px); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: var(--h); padding-inline: 1.5em;
  border-radius: 999px;
  font-weight: 600; font-size: 0.975rem; letter-spacing: 0.01em;
  font-variation-settings: 'wdth' 108;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn__arrow { width: 1em; height: 1em; transition: transform 0.45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--sm { --h: 42px; font-size: 0.9rem; padding-inline: 1.25em; }
.btn--lg { --h: 58px; font-size: 1.05rem; padding-inline: 1.8em; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn--outline { color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* on dark surfaces the hover inverts to cream */
[data-nav-theme='dark'] .btn--accent:hover,
.menu .btn--accent:hover { background: var(--on-dark); color: var(--dark); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  color: var(--ink);
  transition: color 0.5s var(--ease), background-color 0.5s var(--ease), transform 0.6s var(--ease), box-shadow 0.5s var(--ease);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__logo { width: clamp(118px, 11vw, 150px); flex-shrink: 0; }
.nav__links { margin-left: auto; }
.nav__links ul { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav__links a, .footer a, .inline-links a, .menu__social a {
  position: relative; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease), opacity 0.4s var(--ease);
  padding-bottom: 2px;
}
.nav__links a:hover, .footer a:hover, .inline-links a:hover, .menu__social a:hover { background-size: 100% 1px; }
.nav__links a[aria-current='page'] { background-size: 100% 1px; }
.nav__links a[aria-current='page']::before {
  content: ''; position: absolute; left: 50%; top: -9px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 1.5px; background: var(--accent);
}
.nav__cta { margin-left: clamp(8px, 1.5vw, 20px); }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__burger i { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav__burger i:nth-of-type(1) { top: 17px; }
.nav__burger i:nth-of-type(2) { top: 26px; }
.nav.is-open .nav__burger i:nth-of-type(1) { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav__burger i:nth-of-type(2) { top: 21.5px; transform: rotate(-45deg); }

.nav.on-dark { color: var(--on-dark); }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled.on-dark { background: color-mix(in srgb, var(--dark) 86%, transparent); box-shadow: 0 1px 0 color-mix(in srgb, var(--on-dark) 12%, transparent); }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-open { color: var(--on-dark); background: transparent; box-shadow: none; backdrop-filter: none; }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--dark); color: var(--on-dark);
  padding-top: calc(var(--nav-h) + 24px); padding-bottom: 32px;
  overflow-y: auto;
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu__inner { display: flex; flex-direction: column; gap: 40px; min-height: 100%; }
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  display: inline-block; font-size: clamp(2.5rem, 11vw, 4.5rem); font-weight: 700; line-height: 1.08;
  font-variation-settings: 'wdth' 118; letter-spacing: -0.035em;
  transform: translateY(24px); opacity: 0; transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out);
}
.menu__links a[aria-current='page'] { color: var(--accent); }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open li:nth-child(2) a { transition-delay: 0.05s; }
.menu.is-open li:nth-child(3) a { transition-delay: 0.1s; }
.menu.is-open li:nth-child(4) a { transition-delay: 0.15s; }
.menu.is-open li:nth-child(5) a { transition-delay: 0.2s; }
.menu .btn { align-self: flex-start; }
.menu__social { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: auto; color: var(--on-dark-2); }

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ---------- Media + placeholders ---------- */
.m { width: 100%; height: 100%; object-fit: cover; }
.ph {
  --c1: var(--dark); --c2: var(--accent);
  position: relative; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--c2) 55%, transparent), transparent 60%),
    radial-gradient(90% 80% at 90% 100%, color-mix(in srgb, var(--c2) 35%, transparent), transparent 65%),
    var(--c1);
  color: var(--on-dark);
}
.ph[style*='--t:1'] { --c1: color-mix(in srgb, var(--dark) 82%, var(--accent)); }
.ph[style*='--t:2'] { --c1: color-mix(in srgb, var(--dark-2) 85%, var(--bg)); --c2: var(--accent-soft); }
.ph[style*='--t:3'] { --c1: color-mix(in srgb, var(--accent) 70%, var(--dark)); --c2: var(--bg); }
.ph[style*='--t:4'] { --c1: var(--dark-2); }
.ph[style*='--t:5'] { --c1: color-mix(in srgb, var(--dark) 60%, var(--bg-2)); --c2: var(--dark); }
.ph::after {
  content: ''; position: absolute; inset: -50%;
  background: linear-gradient(115deg, transparent 40%, color-mix(in srgb, var(--on-dark) 10%, transparent) 50%, transparent 60%);
  animation: sheen 7s var(--ease) infinite;
}
@keyframes sheen { from { transform: translateX(-30%); } to { transform: translateX(30%); } }
.ph__mark { width: min(28%, 120px); opacity: 0.14; }
.ph__tag {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  padding: 5px 9px; border-radius: 99px;
  background: color-mix(in srgb, var(--on-dark) 14%, transparent); backdrop-filter: blur(4px);
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; display: flex; user-select: none; }
.marquee__track { display: flex; flex-shrink: 0; animation: marquee var(--dur, 40s) linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee__half { display: flex; flex-shrink: 0; align-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Home: hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  color: var(--on-dark); background: var(--dark);
  display: flex; align-items: flex-end; overflow: hidden;
  padding-top: calc(var(--nav-h) + 20px);
}
.hero__media { position: absolute; inset: 0; }
.hero__media .m { transform: scale(1.06); animation: heroIn 2.4s var(--ease-out) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 20 20 / 0.45) 0%, rgb(8 20 20 / 0.2) 35%, rgb(8 20 20 / 0.7) 100%); }
.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(32px, 6vh, 80px);
  padding-top: calc(var(--nav-h) + 16px);
}
.hero__title {
  font-size: clamp(2.8rem, min(8.6vw, 13vh), 9.6rem);
  font-weight: 800; line-height: 0.9; letter-spacing: -0.04em;
  font-variation-settings: 'wdth' 122; text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.3s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rise { to { transform: none; } }
.hero__sub, .hero__cta { opacity: 0; animation: fadeUp 1.2s var(--ease-out) 0.5s forwards; }
.hero__cta { animation-delay: 0.65s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__sub { font-size: var(--fs-lede); margin: clamp(16px, 2.2vw, 28px) 0 clamp(20px, 2.6vw, 32px); max-width: 32ch; color: color-mix(in srgb, var(--on-dark) 90%, transparent); }

/* ---------- Logo strip ---------- */
.logos { padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.logos__item { display: flex; align-items: center; padding-inline: clamp(28px, 4vw, 64px); height: 88px; color: var(--ink); opacity: 0.85; }
.clogo { display: block; flex: none; height: calc(var(--h) * var(--ls, 1)); background: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.wordmark { white-space: nowrap; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.45rem); line-height: 1; letter-spacing: -0.01em; }
.wordmark--0 { font-weight: 800; font-variation-settings: 'wdth' 125; text-transform: uppercase; letter-spacing: 0.02em; }
.wordmark--1 { font-weight: 400; font-style: italic; font-variation-settings: 'wdth' 90; font-size: 1.35em; letter-spacing: -0.03em; }
.wordmark--2 { font-weight: 600; font-variation-settings: 'wdth' 70; text-transform: uppercase; letter-spacing: 0.18em; }
.wordmark--3 { font-weight: 300; font-variation-settings: 'wdth' 110; letter-spacing: 0.04em; }

/* ---------- Home: philosophy ---------- */
.philosophy { background: var(--bg-2); }
.philosophy .statement { font-size: var(--fs-st-xl); max-width: 14ch; }
.philosophy__foot { display: grid; gap: 32px; margin-top: clamp(40px, 6vw, 88px); }
@media (min-width: 900px) { .philosophy__foot { padding-left: 42%; } }

/* ---------- Cards ---------- */
.featured { background: var(--bg-2); }
.featured__grid { display: grid; gap: clamp(12px, 1.6vw, 24px); grid-template-columns: 1fr; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 720px) {
  .featured__grid { grid-template-columns: 1fr 1fr; }
  .featured__grid .card:nth-child(4n + 1), .featured__grid .card:nth-child(4n + 4) { aspect-ratio: 4 / 4.6; }
  .featured__grid .card:nth-child(even) { margin-top: clamp(40px, 8vw, 140px); }
  .featured__grid .card:nth-child(3) { margin-top: calc(-1 * clamp(40px, 8vw, 140px) + clamp(12px, 1.6vw, 24px)); }
}
.card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 5; color: var(--on-dark); background: var(--dark); isolation: isolate;
  container-type: inline-size;
  transition: transform 0.9s var(--ease), box-shadow 0.9s var(--ease);
}
.card__media { position: absolute; inset: 0; }
.card__media .m { transition: transform 1.2s var(--ease); }
.card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(8 20 20 / 0.65)); }
.card__text { position: absolute; inset: auto 0 0; padding: clamp(18px, 2.4vw, 36px); }
.card__name {
  font-size: clamp(1.6rem, 8.4cqi, 4.6rem); line-height: 0.92; font-weight: 800; letter-spacing: -0.04em;
  font-variation-settings: 'wdth' 118; text-transform: uppercase; text-wrap: balance;
}
.card__tags { margin-top: 10px; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.card:hover { scale: 1.02; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 80%, transparent), 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent); }
.card:hover .card__media .m { transform: scale(1.035); }

/* ---------- Home: what we do ---------- */
.ticker { padding-block: clamp(20px, 3vw, 40px); border-block: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 56px); }
.ticker span:not(.tick-mark) {
  font-size: clamp(3rem, 1rem + 8vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  font-variation-settings: 'wdth' 125; text-transform: uppercase; white-space: nowrap; padding-inline: 0.25em;
}
.tick-mark { width: clamp(44px, 6vw, 96px); color: var(--accent); margin-inline: 0.3em; }
.wwd__list { margin-bottom: clamp(40px, 6vw, 80px); }
.wwd__row { border-bottom: 1px solid var(--line); }
.wwd__row a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 3vw, 48px);
  padding-block: clamp(22px, 3vw, 40px);
}
.wwd__num { align-self: start; font-weight: 600; font-variation-settings: 'wdth' 118; color: var(--accent); padding-top: 0.5em; min-width: 2.2ch; }
.wwd__name {
  display: block; font-size: clamp(1.9rem, 1rem + 3.4vw, 4.5rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.04em;
  font-variation-settings: 'wdth' 120; text-transform: uppercase;
  transition: transform 0.7s var(--ease);
}
.wwd__line { display: block; margin-top: 12px; color: var(--ink-2); max-width: 38ch; }
.wwd__media { width: clamp(84px, 11vw, 170px); aspect-ratio: 4 / 5; border-radius: calc(var(--radius) * 0.7); overflow: hidden; }
.wwd__row--main .wwd__name { font-size: clamp(2.6rem, 1rem + 6.4vw, 8.5rem); }
.wwd__row--main .wwd__line { font-size: var(--fs-lede); }
.wwd__row--main .wwd__media { width: clamp(120px, 19vw, 300px); }
.wwd__row a:hover .wwd__name { transform: translateX(10px); }
.wwd__body { min-width: 0; }
@media (max-width: 600px) {
  .wwd__row a { grid-template-columns: 1fr auto; }
  .wwd__num { grid-column: 1 / -1; padding: 0; }
  .wwd__name { font-size: 8vw; }
  .wwd__row--main a { grid-template-columns: 1fr; }
  .wwd__row--main .wwd__name { font-size: 11vw; }
  .wwd__row--main .wwd__media { width: 100%; aspect-ratio: 16 / 10; }
}

/* ---------- Contact block ---------- */
.cta { position: relative; min-height: clamp(560px, 100svh, 1000px); display: grid; align-items: center; color: var(--on-dark); background: var(--dark); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; }
.cta__shade { position: absolute; inset: 0; background: rgb(8 20 20 / 0.45); }
.cta__inner { position: relative; padding-block: 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(32px, 4vw, 56px); }
.cta__title {
  font-size: clamp(3.1rem, 0.5rem + 11vw, 13.5rem); font-weight: 800; line-height: 0.86; letter-spacing: -0.05em;
  font-variation-settings: 'wdth' 125; text-transform: uppercase;
}
.cta__title span { display: block; }
.cta__title span:nth-child(2) { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--dark-2); color: var(--on-dark); padding-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.footer__grid { display: grid; gap: 48px 32px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } .footer__brand { grid-column: auto; } }
.footer__logo { display: block; width: clamp(160px, 16vw, 220px); margin-bottom: 20px; }
.footer__brand p { color: var(--on-dark-2); max-width: 30ch; }
.footer__contact { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.footer__contact a { color: var(--on-dark); width: fit-content; }
.footer .eyebrow { color: var(--on-dark-2); margin-bottom: 16px; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { width: fit-content; display: inline-block; }
.footer__marquee { margin-top: clamp(64px, 8vw, 120px); padding-block: 12px; border-block: 1px solid color-mix(in srgb, var(--on-dark) 12%, transparent); }
.footer__word { font-size: clamp(2.6rem, 1rem + 6vw, 7.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.045em; font-variation-settings: 'wdth' 125; text-transform: uppercase; white-space: nowrap; }
.footer__sep { width: clamp(40px, 5vw, 80px); margin-inline: clamp(20px, 3vw, 48px); color: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-block: 28px; font-size: 0.875rem; color: var(--on-dark-2); }
.footer__legal span { margin-left: auto; }
@media (max-width: 600px) { .footer__legal span { margin-left: 0; width: 100%; } }

/* ---------- Generic page head ---------- */
.page-head { padding-top: calc(var(--nav-h) + clamp(64px, 12vw, 180px)); padding-bottom: clamp(56px, 8vw, 120px); }
.page-head .lede { margin-top: clamp(20px, 2.5vw, 36px); }
.jump ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 4vw, 56px); }
.jump a { display: inline-flex; align-items: center; height: 42px; padding-inline: 18px; border-radius: 99px; border: 1px solid var(--line); font-weight: 500; transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease); }
.jump a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.legal { min-height: 70vh; }
.legal__wrap { max-width: 860px; margin-inline: 0; }
.legal__section { margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.legal__section h2 { font-size: 1.15rem; font-weight: 700; font-variation-settings: 'wdth' 110; margin-bottom: 10px; }
.legal__section p { color: var(--ink-2); max-width: 64ch; }
.legal__section p + p { margin-top: 10px; }
.legal__section a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- About ---------- */
.big-statement {
  min-height: 85svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + clamp(48px, 9vh, 120px)) clamp(48px, 8vh, 100px);
}
.big-statement .statement {
  font-size: clamp(2.2rem, min(5.4vw, 8.2vh), 5.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 22ch;
}

.wall { padding-bottom: clamp(80px, 12vw, 180px); overflow: hidden; }
.wall__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.1vw, 18px); padding-inline: clamp(8px, 1.1vw, 18px); }
.wall__col { display: grid; gap: clamp(8px, 1.1vw, 18px); will-change: transform; }
.wall__col:nth-child(even) { margin-top: 12vw; }
.wall__item { aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; }
.wall__col:nth-child(3n) .wall__item:first-child { aspect-ratio: 4 / 5; }
@media (max-width: 720px) {
  .wall__grid { grid-template-columns: 1fr 1fr; }
  .wall__col { display: contents; }
  .wall__item:nth-child(4n + 2), .wall__item:nth-child(4n + 3) { transform: translateY(40px); }
}

.split__grid { display: grid; gap: 32px; }
.split__side { display: grid; gap: 28px; align-content: start; }
@media (min-width: 900px) {
  .split__grid { grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: end; }
}

.scrub { height: 280vh; position: relative; }
.scrub__sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.scrub__frame {
  width: 100%; height: 100%;
  clip-path: inset(var(--inset-y, 18%) var(--inset-x, 14%) round var(--r, 24px));
  will-change: clip-path;
}
.scrub__frame .m { transform: scale(var(--zoom, 1.15)); will-change: transform; }

.roles { position: relative; height: 380vh; background: var(--dark); color: var(--on-dark); }
[data-palette='lilac'] .roles { background: var(--dark-2); }
.roles__sticky { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.roles__inner { display: grid; gap: clamp(14px, 2.4vw, 30px); }
.roles__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; transition: opacity 0.8s var(--ease); }
@media (min-width: 800px) { .roles__row { grid-template-columns: minmax(200px, 0.9fr) 2.6fr; align-items: center; gap: 32px; } }
.roles__label { font-size: clamp(0.8rem, 0.7rem + 0.4vw, 1.05rem); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-variation-settings: 'wdth' 120; color: var(--accent); }
.roles__reel { --lh: 1.02em; height: var(--lh); overflow: hidden; font-size: clamp(1.6rem, 7vw, 5.25rem); font-weight: 800; letter-spacing: -0.04em; font-variation-settings: 'wdth' 100; text-transform: uppercase; line-height: var(--lh); }
.roles__reel ul { transition: transform 0.9s var(--ease); transform: translateY(calc(var(--i, 0) * var(--lh) * -1)); }
.roles__reel li { height: var(--lh); white-space: nowrap; }
.roles__final { height: 1.05em; overflow: hidden; margin-top: clamp(16px, 3vw, 44px); font-size: clamp(1.9rem, 6.6vw, 8rem); font-weight: 800; letter-spacing: -0.045em; font-variation-settings: 'wdth' 125; text-transform: uppercase; line-height: 1.05; color: var(--accent); white-space: nowrap; }
.roles__final span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.roles.is-final .roles__row { opacity: 0.28; }
.roles.is-final .roles__final span { transform: none; }

/* ---------- Services ---------- */
.svc-wrap { display: grid; gap: clamp(80px, 12vw, 180px); padding-bottom: clamp(80px, 12vw, 180px); }
.svc { scroll-margin-top: calc(var(--nav-h) + 24px); border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 40px); }
.svc__head { display: flex; align-items: baseline; gap: clamp(14px, 2vw, 32px); margin-bottom: clamp(28px, 4vw, 56px); }
.svc__num { font-weight: 600; font-variation-settings: 'wdth' 118; color: var(--accent); }
.svc__name { font-size: clamp(2.2rem, 1rem + 4vw, 5rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.045em; font-variation-settings: 'wdth' 122; text-transform: uppercase; }
.svc--main .svc__name { font-size: clamp(3rem, 0.6rem + 9vw, 11rem); }
.svc__grid { display: grid; gap: clamp(28px, 4vw, 64px); }
.svc__copy { display: grid; gap: 28px; align-content: start; }
.svc__sentence { font-size: var(--fs-lede); font-weight: 500; line-height: 1.35; max-width: 32ch; }
.svc--main .svc__sentence { font-size: var(--fs-st-sm); font-weight: 600; font-variation-settings: 'wdth' 108; letter-spacing: -0.025em; line-height: 1.1; }
.svc__list { border-top: 1px solid var(--line); }
.svc__copy .svc__sentence { margin-top: 4px; }
.svc__list li { padding-block: 14px; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.svc__list li::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 0.62em; border-radius: 2px; background: var(--accent); }
.svc__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.svc--main .svc__media { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .svc--main .svc__grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .svc--main:nth-of-type(2) .svc__copy { order: 2; }
  .svc--main .svc__media { aspect-ratio: 5 / 6; }
}
.svc-pair { display: grid; gap: clamp(80px, 12vw, 180px); }
@media (min-width: 900px) {
  .svc-pair { grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
  .svc-pair .svc__media { aspect-ratio: 16 / 11; order: -1; }
}

/* ---------- Work ---------- */
.work-grid { display: grid; gap: clamp(12px, 1.6vw, 24px); }
@media (min-width: 640px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .work-grid .card:nth-child(3n + 2) { translate: 0 clamp(40px, 6vw, 100px); }
  .work-grid { padding-bottom: clamp(40px, 6vw, 100px); }
}

.reviews { background: var(--bg-2); }
.reviews__grid { display: grid; gap: clamp(14px, 2vw, 28px); }
@media (min-width: 760px) { .reviews__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); align-items: start; } .reviews__grid .review:nth-child(3n + 2) { margin-top: 64px; } }
.review {
  --g: 0;
  background: var(--bg); border-radius: var(--radius); padding: clamp(24px, 2.8vw, 40px);
  display: grid; gap: 28px; position: relative;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -30px color-mix(in srgb, var(--accent) calc(var(--g) * 90%), transparent);
  transition: box-shadow 0.8s var(--ease), translate 0.8s var(--ease-out);
}
.review:hover { --g: 1; box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent), 0 30px 70px -28px color-mix(in srgb, var(--accent) 90%, transparent); }
.review__logo { display: flex; align-items: center; min-height: 44px; --ls: 0.72; color: var(--ink); opacity: 0.8; }
.review__logo .wordmark { font-size: 1rem; }
.review blockquote p { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); line-height: 1.45; text-wrap: pretty; }
.review blockquote p::before { content: '“'; } .review blockquote p::after { content: '”'; }
.review figcaption, .quote figcaption { display: grid; gap: 2px; font-size: 0.9375rem; }
.review figcaption span, .quote figcaption span { color: var(--ink-2); }

.patients { margin-top: clamp(56px, 8vw, 110px); }
.patients .eyebrow { margin-bottom: 18px; }
.hscroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 24vw, 300px); gap: clamp(10px, 1.4vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.hscroll__item { aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: var(--dark); }

.past { padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.past__row { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 28px 56px; }
.past__item { height: 96px; display: flex; align-items: center; opacity: 0.8; --ls: 1.1; }

/* ---------- Case study ---------- */
.case-hero { display: grid; height: min(100svh, 1000px); min-height: 520px; gap: 4px; background: var(--dark); }
.case-hero--2 { grid-template-columns: 1fr 1fr; }
.case-hero--3 { grid-template-columns: repeat(3, 1fr); }
.case-hero__item { position: relative; overflow: hidden; }
.case-hero__item::after { content: ''; position: absolute; inset: 0 0 auto; height: 30%; background: linear-gradient(rgb(8 20 20 / 0.45), transparent); pointer-events: none; }
.case-hero__label { position: absolute; left: 16px; bottom: 16px; z-index: 1; color: var(--on-dark); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 720px) {
  .case-hero--2, .case-hero--3 { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; height: 82svh; }
  .case-hero__item { scroll-snap-align: center; }
  .case-hero .ph__tag { display: none; }
}
.case-intro { padding-block: clamp(56px, 9vw, 140px) clamp(32px, 5vw, 72px); }
.case-intro .eyebrow { margin-bottom: 22px; }
.case-intro .lede { margin-top: 22px; }
.case-block { padding-block: clamp(36px, 5vw, 72px); }
.case-block__grid { display: grid; gap: 18px; border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 40px); }
@media (min-width: 900px) { .case-block__grid { grid-template-columns: 1fr 2.4fr; gap: 48px; } }
.did { display: grid; gap: 40px; }
@media (min-width: 900px) { .did--chapters { grid-template-columns: 1fr 1fr; } }
.did__title { font-size: 1.1rem; font-weight: 700; font-variation-settings: 'wdth' 112; margin-bottom: 14px; }
.did__list { columns: 1; column-gap: 48px; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .did:not(.did--chapters) .did__list { columns: 2; } }
.did__list li { break-inside: avoid; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: var(--fs-lede); line-height: 1.35; }

.gallery { padding-block: clamp(48px, 7vw, 110px); }
.gallery__grid { display: grid; gap: clamp(8px, 1.2vw, 18px); grid-template-columns: repeat(2, 1fr); }
.gallery__item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.gallery__item--0 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(6, 1fr); }
  .gallery__item--0 { grid-column: span 4; aspect-ratio: auto; }
  .gallery__item--1 { grid-column: span 2; aspect-ratio: 9 / 16; }
  .gallery__item--2, .gallery__item--3, .gallery__item--4 { grid-column: span 2; }
  .gallery__item--5 { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .gallery__item--6, .gallery__item--7, .gallery__item--8 { grid-column: span 2; }
}
.quote-split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.quote-split__video { width: 100%; max-width: 340px; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--dark); }
@media (min-width: 900px) { .quote-split { grid-template-columns: minmax(0, 1fr) clamp(240px, 24vw, 340px); } }
.case-review { background: var(--bg-2); }
.quote { display: grid; gap: 32px; max-width: 1100px; }
.quote blockquote p { font-size: var(--fs-st-sm); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; font-variation-settings: 'wdth' 106; text-wrap: pretty; }
.quote blockquote p::before { content: '“'; color: var(--accent); } .quote blockquote p::after { content: '”'; color: var(--accent); }
.case-review .eyebrow { margin-bottom: 18px; }
.case-more { padding-block: clamp(64px, 9vw, 140px); }

/* ---------- Contact ---------- */
.contact { padding-top: calc(var(--nav-h) + clamp(48px, 9vw, 140px)); padding-bottom: clamp(80px, 10vw, 160px); }
.contact__grid { display: grid; gap: 56px; }
@media (min-width: 980px) { .contact__grid { grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: start; } }
.contact__intro .lede { margin-top: 24px; }
.contact__details { display: grid; gap: 22px; margin-top: clamp(40px, 5vw, 72px); }
.contact__details dd { margin: 4px 0 0; font-size: 1.125rem; }
.inline-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }

.contact__form-wrap { background: var(--bg-2); border-radius: calc(var(--radius) * 1.4); padding: clamp(22px, 3.2vw, 48px); }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .label { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; }
.field abbr { text-decoration: none; color: var(--accent); }
.field input, .field textarea, .multi__btn {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  font-size: 1rem; /* 16px avoids iOS zoom */
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus, .multi__btn:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
.field [aria-invalid='true'] { border-color: #a4452c; }
.multi { position: relative; }
.multi__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.multi__btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.4s var(--ease); }
.multi__btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.multi__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.multi__value.is-empty { color: var(--ink-2); }
.multi__panel {
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg); margin-top: 6px; padding: 8px;
  display: grid; gap: 2px;
}
@media (min-width: 560px) { .multi__panel { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; cursor: pointer; font-size: 0.95rem; transition: background-color 0.3s var(--ease); }
.check:hover { background: var(--bg-2); }
.check input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.form__error { color: #a4452c; font-size: 0.95rem; }
.form__submit { justify-self: start; min-width: 160px; }
.form__submit[disabled] { opacity: 0.6; cursor: progress; }
.form__thanks { display: grid; gap: 16px; padding-block: 32px; }
.form__thanks:focus { outline: none; }

/* ---------- Palette switcher (review only) ---------- */
.palette {
  position: fixed; left: 16px; bottom: 16px; z-index: 120;
  display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; border-radius: 99px;
  background: color-mix(in srgb, var(--bg) 92%, transparent); color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 12px 32px -12px rgb(0 0 0 / 0.35);
  backdrop-filter: blur(10px); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.palette__label { margin-right: 4px; }
.palette button { display: flex; padding: 4px; border-radius: 99px; border: 1.5px solid transparent; transition: border-color 0.3s var(--ease); }
.palette button[aria-pressed='true'] { border-color: var(--ink); }
.palette i { width: 12px; height: 22px; display: block; }
.palette i:first-child { border-radius: 99px 0 0 99px; }
.palette i:last-child { border-radius: 0 99px 99px 0; }
@media (max-width: 480px) { .palette__label { display: none; } .palette { padding-left: 6px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion: switch everything off ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__title .line > span, .hero__sub, .hero__cta { transform: none; opacity: 1; }
  .hero__media .m { transform: none; }
  .marquee { overflow-x: auto; }
  .scrub { height: auto; }
  .scrub__sticky { position: relative; height: 80svh; }
  .scrub__frame { clip-path: none; }
  .scrub__frame .m { transform: none; }
  .roles { height: auto; }
  .roles__sticky { position: relative; height: auto; padding-block: 120px; }
  .roles__final span { transform: none; }
  .wall__col { transform: none !important; }
}

/* Placeholder labels: keep clear of the nav on full-bleed media */
.hero .ph__tag, .cta .ph__tag, .case-hero .ph__tag { top: auto; bottom: 14px; }
.case-hero--2 .ph__tag, .case-hero--3 .ph__tag { display: none; }

/* Client logos a little smaller on phones */
@media (max-width: 600px) { .logos__item { --ls: 0.8; height: 56px; } .past__item { --ls: 0.85; } }

/* Long single words (VIDEOGRAPHY) must fit narrow phones */
.svc__copy, .svc__media, .svc__head { min-width: 0; }
@media (max-width: 600px) {
  .svc__head { flex-wrap: wrap; row-gap: 6px; }
  .svc__name { font-size: 8.4vw; }
  .svc--main .svc__name { font-size: 9.4vw; }
  .wwd__row--main .wwd__name { font-size: 9.4vw; }
}
