/* ============================================================================
   WAHB GLOBAL — main.css
   The single stylesheet for wahbglobal.com. No framework, no build step.

   Tokens are the finalised brand values (build spec §3). The palette ratio is
   ~70% graphite · 22% bone · 6% slate · 2% brass. Brass is a hairline, a label,
   a hover state, the logo — never a fill.

   Contents
     01  Tokens
     02  Base
     03  Typography
     04  Layout primitives
     05  Header & navigation
     06  Footer
     07  Components — eyebrow · buttons · links · image slots · bands · notes
     08  Home
     09  Work
     10  About
     11  Contact
     12  Corporate Film (commercial.html)
     13  Motion
     14  Utilities & accessibility
   ============================================================================ */


/* ----------------------------------------------------------------------------
   01 · TOKENS
   ---------------------------------------------------------------------------- */
:root {
  /* ─── Colour ─────────────────────────────── */
  --graphite:      #1C1F23;   /* primary ground */
  --graphite-90:   #2A2D31;   /* raised surface, cards */
  --graphite-80:   #35383C;   /* borders on dark */
  --bone:          #F4F1EA;   /* light ground, primary text on dark */
  --bone-dim:      #CFC9BD;   /* body text on dark */
  --brass:         #C9A55C;   /* accent — warm soft gold, USE SPARINGLY */
  --brass-soft:    #D9B876;   /* hover state only */
  --slate:         #6E7478;   /* secondary text, rules */

  /* Slate, lifted for text. --slate on graphite is 3.5:1, which fails WCAG AA
     for small text (spec §8 asks for a lift). This tone keeps the secondary
     hierarchy and passes: 5.5:1 on graphite, 4.6:1 on graphite-90.
     Rules, dividers and decorative hairlines still use --slate / --graphite-80. */
  --slate-text:    #91969A;

  /* ─── Type ───────────────────────────────── */
  --font-display: 'Marcellus', Georgia, serif;
  --font-body:    'Jost', -apple-system, sans-serif;
  --body-weight:  300;

  --tracking-wide:  0.02em;   /* headings */
  --tracking-label: 0.32em;   /* uppercase eyebrows */
  --tracking-logo:  0.24em;   /* wordmark-style text */
  --measure:        70ch;     /* max body line length */

  /* ─── Scale (fluid) ──────────────────────── */
  --step-display: clamp(2.6rem, 6vw, 4.6rem);
  --step-h1:      clamp(2.2rem, 5vw, 3.4rem);
  --step-h2:      clamp(1.8rem, 4vw, 2.6rem);
  --step-h3:      clamp(1.2rem, 2.4vw, 1.5rem);
  --step-body:    clamp(1.05rem, 1.5vw, 1.18rem);
  --step-small:   0.95rem;
  --step-label:   0.88rem;

  /* ─── Space ──────────────────────────────── */
  --space-section: clamp(6rem, 12vw, 11rem);  /* vertical rhythm between sections */
  --space-gutter:  clamp(1.5rem, 6vw, 5rem);  /* page side padding */
  --max-width:     1200px;
  --max-narrow:    780px;

  /* ─── Layout constants ───────────────────── */
  --header-h: 4.5rem;
  --gap-grid: clamp(1rem, 2vw, 1.5rem);        /* gap between gallery images */
  --ease:     cubic-bezier(0.25, 0.1, 0.25, 1);
}


/* ----------------------------------------------------------------------------
   02 · BASE
   ---------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  overflow-x: clip;                 /* safety net only: nothing here should overflow */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--graphite);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: var(--body-weight);
  font-size: var(--step-body);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--brass); color: var(--graphite); }

/* The inline logo sprite: present in the DOM, occupies no space. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }


/* ----------------------------------------------------------------------------
   03 · TYPOGRAPHY
   Marcellus for headings, marks, pull-quotes and numerals. Jost 300 for body,
   400 for labels and UI, 500 sparingly for emphasis. Marcellus is never bolded.
   ---------------------------------------------------------------------------- */
h1, h2, h3, h4,
.t-display, .t-h1, .t-h2, .t-h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  color: var(--bone);
  text-wrap: balance;
}

.t-display { font-size: var(--step-display); line-height: 1.05; }
h1, .t-h1  { font-size: var(--step-h1);      line-height: 1.12; }
h2, .t-h2  { font-size: var(--step-h2);      line-height: 1.18; }
h3, .t-h3  { font-size: var(--step-h3);      line-height: 1.3;  }

p { max-width: var(--measure); color: var(--bone-dim); }
p + p { margin-top: 1.35em; }

strong { font-weight: 500; color: var(--bone); }
em { font-style: italic; }

.small { font-size: var(--step-small); }
.muted { color: var(--slate-text); }

/* Small Marcellus label in brass — case-study headings, facts, terms */
.label {
  font-family: var(--font-display);
  font-size: var(--step-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}


/* ----------------------------------------------------------------------------
   04 · LAYOUT PRIMITIVES
   ---------------------------------------------------------------------------- */
/* Each section carries half of --space-section above and below, so the space
   BETWEEN two sections is exactly one --space-section (not two stacked). */
.section { padding: calc(var(--space-section) / 2) var(--space-gutter); }
.section--tight { padding-block: calc(var(--space-section) * 0.45); }

/* First block on an inner page: clears the fixed header, then breathes. */
.page-head {
  padding: calc(var(--header-h) + clamp(4rem, 9vw, 8rem)) var(--space-gutter) calc(var(--space-section) / 2);
}
.page-head p { margin-top: 1.5rem; max-width: 60ch; }
.page-head__sub {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: var(--step-h3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-text);
}

.container { width: 100%; max-width: var(--max-width); margin-inline: auto; }
.container--narrow { max-width: var(--max-narrow); }

.center { text-align: center; }
.center p,
.center h1, .center h2, .center h3,
.center .eyebrow { margin-inline: auto; }

/* Eyebrow + heading group that precedes a section's content */
.section-head { margin-bottom: 3rem; }
.section-head > p { margin-top: 1.5rem; }

/* Two-column editorial split: heading left, copy right */
.split { display: grid; gap: 2.5rem; }
.split .btn { margin-top: 2.5rem; }
@media (min-width: 900px) {
  .split {
    grid-template-columns: 5fr 7fr;
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}

/* Three equal columns, stacked below 900px */
.grid-3 { display: grid; gap: 3.25rem; }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); column-gap: clamp(2.5rem, 4vw, 4rem); }
}

/* Anchored sections sit clear of the fixed header (and the Work sub-nav) */
[id] { scroll-margin-top: calc(var(--header-h) + 3.5rem); }


/* ----------------------------------------------------------------------------
   05 · HEADER & NAVIGATION
   Fixed, translucent graphite with blur; fully opaque after 60px of scroll
   (main.js toggles .is-scrolled). The blur lives on a pseudo-element so the
   header itself never becomes a containing block for the fixed mobile menu.
   ---------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  padding-inline: var(--space-gutter);
  border-bottom: 1px solid var(--graphite-80);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(28, 31, 35, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 300ms var(--ease);
}
.site-header.is-scrolled::before { background: var(--graphite); }

.site-header__inner {
  height: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  color: var(--brass);
  text-decoration: none;
}
.brand svg { height: 26px; width: auto; }
@media (max-width: 639.98px) { .brand svg { height: 22px; } }

.site-nav ul { display: flex; gap: clamp(1.5rem, 2.6vw, 2.6rem); }
.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.35em 0;
  font-weight: 400;
  font-size: var(--step-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bone-dim);
  text-decoration: none;
  transition: color 250ms var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: calc(100% - 0.16em);     /* ignore the trailing letter-space */
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 250ms var(--ease);
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--brass); }
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--bone); }

/* Hamburger: three 1px bone lines. Only rendered when JS is available. */
.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--bone);
  transition: transform 250ms var(--ease), opacity 250ms var(--ease);
}
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 899.98px) {
  .js .nav-toggle { display: inline-flex; }

  /* Full-screen graphite overlay, links stacked large in Marcellus */
  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--header-h) var(--space-gutter) 2rem;
    background: var(--graphite);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
  }
  .js.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 300ms var(--ease);
  }
  .js .site-nav ul { flex-direction: column; align-items: center; gap: 2.2rem; }
  .js .site-nav a {
    padding: 0.2em 0 0.2em 0.14em;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 6vw, 2.2rem);
    letter-spacing: 0.14em;
    color: var(--bone);
  }
  .js .site-nav a::after { display: none; }
  .js .site-nav a:hover,
  .js .site-nav a:focus-visible,
  .js .site-nav a[aria-current="page"] { color: var(--brass); }
  .menu-open { overflow: hidden; }

  /* Without JS the links stay inline and may wrap beneath the wordmark. */
  html:not(.js) .site-header { height: auto; min-height: var(--header-h); }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: 0.9rem; row-gap: 0.4rem; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; gap: 1rem 1.4rem; }
}

/* Language switcher — EN · FR, active language in gold, inactive in slate */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 400;
  font-size: var(--step-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lang-switch .is-active { color: var(--brass); }
.lang-switch a {
  color: var(--slate-text);
  text-decoration: none;
  transition: color 250ms var(--ease);
}
.lang-switch a:hover,
.lang-switch a:focus-visible { color: var(--brass); }
.lang-switch__sep { color: var(--slate-text); }
.lang-switch--menu { display: none; }

@media (min-width: 900px) {
  /* Push the nav against the switcher on the right */
  .site-nav { margin-left: auto; }
}
@media (max-width: 899.98px) {
  /* With JS, the header switcher hides; the copy inside the overlay menu shows instead */
  .js .lang-switch--header { display: none; }
  .js .site-nav { flex-direction: column; gap: 3rem; }
  .js .site-nav .lang-switch--menu { display: inline-flex; }
}


/* ----------------------------------------------------------------------------
   06 · FOOTER
   ---------------------------------------------------------------------------- */
.site-footer {
  padding: var(--space-section) var(--space-gutter) 4rem;
  border-top: 1px solid rgba(201, 165, 92, 0.18);   /* --brass at 18% */
  text-align: center;
}
.site-footer__mark { display: inline-flex; color: var(--brass); }
.site-footer__mark svg { width: 200px; max-width: 70vw; height: auto; }

.site-footer__rule {
  width: 60px;
  height: 1px;
  margin: 2.2rem auto;
  background: var(--brass);
  opacity: 0.5;
}

.site-footer__cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 0.24em;
  font-family: var(--font-display);
  font-size: var(--step-small);
  line-height: 1.9;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-text);
}
.site-footer__cities li:not(:last-child)::after { content: "·"; margin: 0 0.45em 0 0.3em; }

.site-footer__email {
  display: inline-block;
  margin-top: 2rem;
  color: var(--slate-text);
  text-decoration: none;
  transition: color 250ms var(--ease);
}
.site-footer__email:hover,
.site-footer__email:focus-visible { color: var(--brass); }

.site-footer__copy {
  margin: 2rem auto 0;
  font-size: var(--step-label);
  letter-spacing: 0.04em;
  color: var(--slate-text);
}


/* ----------------------------------------------------------------------------
   07 · COMPONENTS
   ---------------------------------------------------------------------------- */

/* Eyebrow — the small brass label that precedes most headings */
.eyebrow {
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 400;
  font-size: var(--step-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brass);
}
.center .eyebrow { padding-left: var(--tracking-label); }   /* optical centring */

/* Primary button — hairline brass border, fills only on hover */
.btn {
  display: inline-block;
  padding: 1.1rem 2.4rem;
  border: 1px solid var(--brass);
  border-radius: 0;
  background: transparent;
  color: var(--bone);
  font-weight: 400;
  font-size: var(--step-small);
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.btn:hover,
.btn:focus-visible { background: var(--brass); color: var(--graphite); }
.btn--block { display: block; width: 100%; }

/* Text link — bone, hairline beneath, brass grows from the left on hover */
.link {
  color: var(--bone);
  text-decoration: none;
  padding-bottom: 0.1em;
  background:
    linear-gradient(var(--brass), var(--brass)) no-repeat 0 100% / 0 1px,
    linear-gradient(rgba(244, 241, 234, 0.28), rgba(244, 241, 234, 0.28)) no-repeat 0 100% / 100% 1px;
  transition: background-size 250ms var(--ease);
}
.link:hover,
.link:focus-visible { background-size: 100% 1px, 100% 1px; }

/* Image slot — a styled placeholder at the final aspect ratio.
   To swap in photography: drop an <img> inside .slot__frame and delete the
   mark and label. The frame keeps the ratio; the image covers it. */
.slot { margin: 0; }
.slot__frame {
  --ratio: 3 / 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  aspect-ratio: var(--ratio);
  background: var(--graphite-90);
  border: 1px solid var(--graphite-80);
  overflow: hidden;
}
.slot--21x9 .slot__frame { --ratio: 21 / 9; }
.slot--16x9 .slot__frame { --ratio: 16 / 9; }
.slot--3x2  .slot__frame { --ratio: 3 / 2; }
.slot--4x5  .slot__frame { --ratio: 4 / 5; }
.slot--1x1  .slot__frame { --ratio: 1 / 1; }

.slot__mark { width: clamp(48px, 16%, 120px); color: var(--bone); opacity: 0.1; }
.slot__label {
  padding-inline: 1rem;
  font-weight: 400;
  font-size: var(--step-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--slate-text);
}
.slot__frame > img,
.slot__frame > iframe,
.slot__frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.slot__frame > img { transition: transform 700ms var(--ease); }
.slot:hover .slot__frame > img { transform: scale(1.03); }

.slot figcaption {
  margin-top: 0.9rem;
  font-weight: 400;
  font-size: var(--step-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-text);
}

/* Raised band — a full-width graphite-90 strip */
.band { background: var(--graphite-90); }
.band .eyebrow { margin-bottom: 1.8rem; }

/* Note — graphite-90 block with a 3px brass left border */
.note {
  padding: 2rem 2.4rem;
  background: var(--graphite-90);
  border-left: 3px solid var(--brass);
}

/* Credential line — names in Marcellus separated by middle dots */
.cred {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 0.14em;
  font-family: var(--font-display);
  font-size: var(--step-h3);
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-text);
}
.cred + .cred { margin-top: 0.3em; }
.cred li:not(:last-child)::after { content: "·"; margin: 0 0.5em 0 0.36em; }

/* Pull-quote — Marcellus, brass */
.pullquote {
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: var(--step-h2);
  line-height: 1.3;
  letter-spacing: var(--tracking-wide);
  color: var(--brass);
  text-wrap: balance;
}
.pullquote--rules {
  max-width: var(--max-narrow);
  margin-inline: auto;
  padding: 2.5rem 1rem;
  border-top: 1px solid rgba(201, 165, 92, 0.35);    /* --brass at 35% */
  border-bottom: 1px solid rgba(201, 165, 92, 0.35);
  text-align: center;
}

/* Labelled rows — brass Marcellus label left, copy right (case study, terms) */
.rows > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 3rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--graphite-80);
}
.rows > div:first-child { border-top: 0; padding-top: 0; }
.rows > div:last-child { padding-bottom: 0; }
.rows dt { padding-top: 0.25em; }
.rows dd { max-width: var(--measure); color: var(--bone-dim); }
@media (min-width: 640px) {
  .rows > div { grid-template-columns: 11rem 1fr; }
}

/* Pull-quote that closes a split section's copy column */
.split .pullquote { margin-top: 3rem; }


/* ----------------------------------------------------------------------------
   08 · HOME
   ---------------------------------------------------------------------------- */

/* Hero — the seal, one line, one button, centred over a full-bleed image
   under a graphite scrim. Full viewport height. */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) var(--space-gutter) 6rem;
  text-align: center;
  isolation: isolate;
}
.hero > * { position: relative; z-index: 1; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--graphite-90);
}
.hero__bg > img,
.hero__bg > picture,
.hero__bg > picture > img,
.hero__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 2rem var(--space-gutter);
}
.hero__placeholder .slot__label { position: relative; z-index: 1; padding: 0; text-align: right; }  /* above the scrim */

/* Scrim: graphite at ~70% at the edges, lighter in the middle, deepening to
   solid graphite at the bottom so the hero dissolves into the page. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(28, 31, 35, 0.72) 0%,
      rgba(28, 31, 35, 0.58) 40%,
      rgba(28, 31, 35, 0.80) 78%,
      rgba(28, 31, 35, 0.96) 94%,
      var(--graphite) 100%),
    linear-gradient(to right,
      rgba(28, 31, 35, 0.70) 0%,
      rgba(28, 31, 35, 0.00) 28%,
      rgba(28, 31, 35, 0.00) 72%,
      rgba(28, 31, 35, 0.70) 100%);
}

.hero__seal { width: min(360px, 70vw); color: var(--brass); }
.hero__seal svg { width: 100%; height: auto; }

.hero__tagline {
  margin-top: 3rem;
  padding-left: 0.24em;
  font-family: var(--font-display);
  font-size: var(--step-h3);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
@media (max-width: 639.98px) {
  .hero__tagline { font-size: 0.82rem; letter-spacing: 0.22em; }
}
.hero .btn { margin-top: 4rem; }

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  width: 1px;
  height: 40px;
  background: var(--brass);
  opacity: 0.4;
}

/* Capabilities — three columns, each opened by a short brass hairline */
.cap { position: relative; padding-top: 1.75rem; }
.cap::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2rem;
  height: 1px;
  background: var(--brass);
}
.cap h3,
.cap h4 { margin-bottom: 1rem; font-size: var(--step-h3); }

/* Client roster — text only, hairline dividers between rows */
.clients {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
.clients li {
  padding: 1.7rem 2rem 1.7rem 0;
  border-top: 1px solid var(--graphite-80);
  font-family: var(--font-display);
  font-size: var(--step-h3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
}
.clients li:first-child { border-top: 0; }
@media (min-width: 640px) {
  .clients { grid-template-columns: repeat(2, 1fr); }
  .clients li:nth-child(-n+2) { border-top: 0; }
}
@media (min-width: 900px) {
  .clients { grid-template-columns: repeat(3, 1fr); }
  .clients li:nth-child(-n+3) { border-top: 0; }
}
.clients-note {
  margin-top: 2rem;
  max-width: var(--measure);
  font-size: var(--step-h3);
  color: var(--bone);
}

/* Closing call */
.closing p { margin-top: 1.5rem; color: var(--slate-text); }
.closing .btn { margin-top: 3rem; }


/* ----------------------------------------------------------------------------
   09 · WORK
   ---------------------------------------------------------------------------- */

/* Sticky in-page navigation beneath the header. Desktop only. */
.subnav { display: none; }
@media (min-width: 900px) {
  .subnav {
    display: block;
    position: sticky;
    top: var(--header-h);
    z-index: 50;
    padding-inline: var(--space-gutter);
    background: rgba(28, 31, 35, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--graphite-80);
    border-bottom: 1px solid var(--graphite-80);
  }
  .subnav ul { display: flex; gap: 2.8rem; max-width: var(--max-width); margin-inline: auto; }
  .subnav a {
    display: inline-block;
    padding: 1.05rem 0;
    font-weight: 400;
    font-size: var(--step-small);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bone-dim);
    text-decoration: none;
    transition: color 250ms var(--ease);
  }
  .subnav a:hover,
  .subnav a:focus-visible,
  .subnav a.is-active { color: var(--brass); }
}

/* Editorial gallery — six-column grid, spans set per image */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gap-grid);
}
.gallery > * { grid-column: span 6; }
@media (min-width: 640px) {
  .gallery .span-3 { grid-column: span 3; }
  .gallery .span-2 { grid-column: span 2; }
}

/* Portrait grid — three columns, two on tablet, one on mobile */
.gallery--portraits {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-grid);
}
@media (min-width: 640px) { .gallery--portraits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gallery--portraits { grid-template-columns: repeat(3, 1fr); } }

/* Offset grid — two columns, the right one starts a quarter-width lower */
.gallery--offset {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-grid);
}
.gallery--offset .col { display: flex; flex-direction: column; gap: var(--gap-grid); }
@media (min-width: 640px) {
  .gallery--offset { grid-template-columns: 1fr 1fr; align-items: start; }
  .gallery--offset .col:last-child { margin-top: 25%; }
}

.work-note { margin-top: clamp(2.5rem, 4vw, 3.5rem); }


/* ----------------------------------------------------------------------------
   10 · ABOUT
   ---------------------------------------------------------------------------- */
.story { display: grid; gap: 3rem; }
.story h3 { margin: 2.6rem 0 0.9rem; }
.story h3:first-child { margin-top: 0; }
@media (min-width: 900px) {
  .story {
    grid-template-columns: 2fr 3fr;
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
  .story__portrait { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* The facts — two-column definition list on a raised surface */
.facts {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--graphite-90);
  border: 1px solid var(--graphite-80);
}
.facts > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 2.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--graphite-80);
}
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts > div:last-child { padding-bottom: 0; }
.facts dt { padding-top: 0.2em; }
.facts dd { color: var(--bone); }
@media (min-width: 640px) {
  .facts > div { grid-template-columns: 11rem 1fr; }
}


/* ----------------------------------------------------------------------------
   11 · CONTACT
   ---------------------------------------------------------------------------- */
.contact { display: grid; gap: 4rem; }
@media (min-width: 900px) {
  .contact {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}

.details { margin-top: 3rem; display: grid; gap: 1.6rem; }
.details dt { margin-bottom: 0.3rem; }
.details dd { color: var(--bone-dim); }
.details a { color: var(--bone-dim); text-decoration: none; transition: color 250ms var(--ease); }
.details a:hover,
.details a:focus-visible { color: var(--brass); }

.contact__rule { width: 60px; height: 1px; margin: 2.5rem 0 1.5rem; background: var(--brass); }

/* The form — raised surface, hairline fields, brass on focus */
.form {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--graphite-90);
  border: 1px solid var(--graphite-80);
  color-scheme: dark;
}
.field { display: block; margin-bottom: 1.8rem; }
.field__label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 400;
  font-size: var(--step-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-text);
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 0.7rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--graphite-80);
  border-radius: 0;
  color: var(--bone);
  font-weight: 300;
  transition: border-color 250ms var(--ease);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; border-bottom-color: var(--brass); }
.field select {
  padding-right: 1.6rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23CFC9BD' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
}
.field select option { background: var(--graphite-90); color: var(--bone); }
.field textarea { min-height: 8.5rem; resize: vertical; }
.form .btn { margin-top: 0.6rem; }
.field input:-webkit-autofill,
.field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--bone);
  box-shadow: 0 0 0 1000px var(--graphite-90) inset;
}


/* ----------------------------------------------------------------------------
   12 · CORPORATE FILM (commercial.html)
   ---------------------------------------------------------------------------- */
.film-hero p { max-width: 55ch; }
.film-hero .btn { margin-top: 3rem; }
.film-hero__video { max-width: 960px; margin: 3.5rem auto 0; }

/* The problem — three columns */
.problem h3 { margin-bottom: 0.9rem; }

/* The method, plainly — AI stated outright */
.method__sub {
  margin: 3.5rem 0 2.5rem;
  font-size: var(--step-h3);
  letter-spacing: 0.04em;
  color: var(--brass);
}
.method .note { margin-top: 3rem; }

/* Standalone gold statement line */
.callout {
  margin-top: 3rem;
  max-width: var(--measure);
  font-size: var(--step-h3);
  font-weight: 400;
  line-height: 1.5;
  color: var(--brass);
}

/* Cost comparison — conventional production (understated slate) vs the house (bone, gold figures) */
.compare { display: grid; gap: 2.5rem; }
@media (min-width: 640px) {
  .compare { grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
}
.compare h3 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--step-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 0.9rem;
}
.compare li { padding: 0.7rem 0; border-top: 1px solid var(--graphite-80); }
.compare__col--conv h3,
.compare__col--conv li { color: var(--slate-text); }
.compare__col--wahb h3 { color: var(--brass); }
.compare__col--wahb li { color: var(--bone); }
.compare__col--wahb .compare__figure {
  font-family: var(--font-display);
  font-size: var(--step-h3);
  color: var(--brass);
}
.compare__verdict {
  margin-top: 3rem;
  max-width: var(--measure);
  font-size: var(--step-h3);
  font-weight: 400;
  line-height: 1.5;
  color: var(--brass);
}

/* Case study */
.case-sub {
  margin-top: 1rem;
  font-weight: 400;
  font-size: var(--step-small);
  line-height: 1.8;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-text);
}
.case { margin-top: 3rem; }
.case dt { padding-top: 0.25em; }
.case + .note { margin-top: 3rem; }

/* Process — five numbered steps, Marcellus numerals in brass */
.steps > li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  grid-template-areas: "num title" "num body";
  gap: 0.6rem 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--graphite-80);
}
.steps__num { grid-area: num; }
.steps h3 { grid-area: title; }
.steps p { grid-area: body; }
.steps > li:first-child { border-top: 0; padding-top: 0; }
.steps > li:last-child { padding-bottom: 0; }
.steps__num {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  line-height: 1;
  color: var(--brass);
}
.steps h3 {
  padding-top: 0.15em;
  font-size: var(--step-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.steps h3 + p { margin-top: 0.6rem; }
@media (min-width: 640px) {
  .steps > li {
    grid-template-columns: 5rem 12rem 1fr;
    grid-template-areas: "num title body";
    column-gap: 2rem;
  }
  .steps h3 + p { margin-top: 0; }
}

/* Pricing — three cards, equal height, the middle one flagged.
   Each card is a flex column so the italic tag sits at the bottom of every card. */
.pricing { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem 2.25rem;
  background: var(--graphite-90);
  border: 1px solid var(--graphite-80);
}
.price-card--featured { border-color: var(--brass); }
.price-card__flag {
  position: absolute;
  top: -0.55rem;
  left: 2rem;
  padding: 0 0.6rem;
  background: var(--graphite);
  font-weight: 400;
  font-size: var(--step-label);
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}
.price-card h3 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--step-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.price-card__price {
  margin: 0.8rem 0 1.6rem;
  font-family: var(--font-display);
  font-size: var(--step-h1);
  line-height: 1;
  color: var(--bone);
}
.price-card ul li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--graphite-80);
  font-size: var(--step-small);
  color: var(--bone-dim);
}
.price-card__tag {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: var(--step-small);
  font-style: italic;
  color: var(--slate-text);
}

/* Upgrade menu — grouped tables */
.menu-group + .menu-group { margin-top: 3.5rem; }
.menu-group h3 {
  font-size: var(--step-h3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}
.menu-group table { margin-top: 1.25rem; }
.menu-group th {
  padding: 0 0 0.6rem;
  font-weight: 400;
  font-size: var(--step-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: left;
  color: var(--slate-text);
}
.menu-group td {
  padding: 0.9rem 0;
  border-top: 1px solid var(--graphite-80);
  vertical-align: top;
  color: var(--bone-dim);
}
.menu-group th:last-child,
.menu-group td:last-child {
  padding-left: 2rem;
  text-align: right;
  white-space: nowrap;
}
.menu-group td:last-child { color: var(--bone); font-weight: 400; }

/* Key terms the client must not miss — large, bright gold */
.menu-group p,
.menu-note {
  max-width: var(--measure);
  font-size: var(--step-h3);
  font-weight: 400;
  line-height: 1.55;
  color: var(--brass);
}
.menu-group p { margin-top: 1.5rem; }
.menu-note { margin-top: 3rem; }

/* Terms — labels larger and bright gold so no clause is missed */
.terms { margin-top: 3.5rem; }
.terms dt { padding-top: 0.25em; font-size: var(--step-h3); line-height: 1.35; }
@media (min-width: 640px) {
  .terms > div { grid-template-columns: 15rem 1fr; }
}

/* Close */
.film-close p { margin-top: 2rem; font-size: var(--step-small); color: var(--slate-text); }
.film-close .btn { margin-top: 3rem; }


/* ----------------------------------------------------------------------------
   13 · MOTION
   One permitted effect on scroll: fade-and-rise, once, 600ms ease-out.
   Applied only when JS is present, so the page is complete without it.
   ---------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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


/* ----------------------------------------------------------------------------
   14 · UTILITIES & ACCESSIBILITY
   ---------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1.2rem;
  background: var(--graphite);
  border: 1px solid var(--brass);
  color: var(--bone);
  font-size: var(--step-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
