/* ==========================================================
   21 CREATIVE AGENCY — Think. Create. Execute.
   Layout: warm cream page, hairline rules instead of boxes, centred serif
   statements; the v1 hero (stacked condensed caps + italic serif) over video;
   one orange accent used sparingly; deep dark footer.
   ========================================================== */
:root {
  --cream: #f3f0e9;
  --cream-2: #e9e4da;
  --ink: #141412;
  --muted: #6f6b63;
  --line: rgba(20, 20, 18, 0.16);
  --accent: #ff4f00;      /* 21 signal orange (from v1) */
  --accent-ink: #141412;

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

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1680px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
/* Dark surfaces re-map the tokens */
.dark, .site-footer {
  --bg: #141412; --fg: #f3f0e9; --muted: #a29d93; --line: rgba(243, 240, 233, 0.16);
  color-scheme: dark; background: var(--bg); color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 300;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { text-wrap: balance; }
strong { font-weight: 500; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.eyebrow {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px; color: var(--muted);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Type ---------- */
/* v1 display: condensed heavy caps (hero) */
.mega {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase; margin: 0;
  font-variation-settings: "wdth" 72; line-height: .86; letter-spacing: -0.02em;
  font-size: clamp(64px, 15vw, 250px);
}
.mega .serif { font-size: 1.04em; line-height: .8; }
/* Flatline display: thin serif caps */
.h1, .h2 {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase; margin: 0;
  line-height: .95; letter-spacing: -0.015em;
}
.h1 { font-size: clamp(46px, 7.4vw, 128px); }
.h2 { font-size: clamp(36px, 4.8vw, 82px); }
.h1 .serif, .h2 .serif { text-transform: none; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 42px); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
.lead { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.35; font-weight: 300; letter-spacing: -0.01em; max-width: 34ch; }
.body-lg { font-size: clamp(16px, 1.15vw, 19px); line-height: 1.65; font-weight: 400; color: var(--muted); max-width: 58ch; }
.body-lg strong { color: var(--fg); }

/* ---------- Header (v1) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--ink);
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .5s var(--ease), background .35s, color .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: color-mix(in srgb, var(--cream) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.site-header.over-hero { color: #f3f0e9; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.logo-mark { font-weight: 900; font-size: 30px; line-height: 1; font-variation-settings: "wdth" 62; letter-spacing: -0.04em; display: inline-flex; align-items: baseline; }
.logo-mark i { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-left: 2px; }
.logo-text { font-size: 11px; line-height: 1.15; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.nav-links { display: flex; gap: 34px; font-size: 14px; font-weight: 400; }
.nav-links a { position: relative; padding: 4px 0; opacity: .62; transition: opacity .25s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-clock { font-size: 13px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; opacity: .7; font-variant-numeric: tabular-nums; }
.nav-clock svg { width: 14px; height: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; align-items: center; justify-content: center; opacity: .9; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; box-shadow: 0 5px 0 currentColor; transform: translateY(-2.5px); }

.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: .01em;
  border: 1px solid var(--line); color: var(--fg); background: transparent;
  transition: background .3s var(--ease), color .3s, border-color .3s; white-space: nowrap;
}
.btn:hover { border-color: var(--fg); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-ghost { color: #f3f0e9; border-color: rgba(243,240,233,.35); }
.btn-ghost:hover { border-color: #f3f0e9; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--cream);
  padding: env(safe-area-inset-top, 0px) var(--gutter) 28px;
  display: flex; flex-direction: column; transform: translateY(-100%); transition: transform .6s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 2px; margin-top: 6vh; }
.mobile-menu nav a { font-family: var(--serif); font-size: clamp(44px, 13vw, 84px); text-transform: uppercase; line-height: 1.02; }
.mobile-menu nav a span { font-family: var(--sans); font-size: 13px; color: var(--accent); vertical-align: top; margin-right: 10px; }
.mobile-menu .mm-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; color: #a29d93; font-size: 15px; }

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding-block: clamp(90px, 12vw, 190px); }
.pad-sm { padding-block: clamp(60px, 8vw, 120px); }
.rule { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: clamp(36px, 4.5vw, 70px); }
.sec-head > * { min-width: 0; }
.sec-head .eyebrow { margin-bottom: 22px; }
.center-head { text-align: center; display: grid; justify-items: center; gap: 22px; margin-bottom: clamp(44px, 5vw, 80px); }
.center-head .body-lg { margin: 0; }

/* ---------- Hero (v1 composition, full-bleed video) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #000; color: #f3f0e9; }
.hero .eyebrow { color: rgba(243,240,233,.75); }
.hero-inner { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: 130px; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 4vh; }
.hero-meta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243,240,233,.7); }
.hero-title { margin: 0; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .08s; }
.hero-title .line:nth-child(3) > span { animation-delay: .16s; }
.hero-title .line.indent { padding-left: 14vw; }
@keyframes rise { to { transform: none; } }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 640px) auto; justify-content: space-between; align-items: end; gap: 24px; margin-top: auto; padding: 5vh 0 40px; }
.hero-copy .lead { margin: 0 0 26px; }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243,240,233,.7); display: flex; align-items: center; gap: 10px; }
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: currentColor; animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Header background video (Vimeo, muted + looping).
   The source video is letterboxed (picture fills ~40% of the frame height), so zoom 2.55x to crop the bars. */
.hero-bg { --video-zoom: 2.55; position: absolute; inset: 0; z-index: -1; background: #000; pointer-events: none; }
.hero-bg iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78svh;
  transform: translate(-50%, -50%) scale(var(--video-zoom, 1));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,9,.72) 0%, rgba(10,10,9,.35) 60%, rgba(10,10,9,.2) 100%),
    linear-gradient(180deg, rgba(10,10,9,.5) 0%, transparent 28%, transparent 60%, rgba(10,10,9,.75) 100%);
}
@media (prefers-reduced-motion: reduce) { .hero-bg iframe { display: none; } }

/* ---------- Statement: centred serif ---------- */
.statement { text-align: center; display: grid; justify-items: center; gap: 34px; }
.statement p.big { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 76px); line-height: 1.05; letter-spacing: -0.015em; margin: 0; max-width: 21ch; }
.statement p.big em { color: var(--accent); }
.statement .body-lg { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 120px); }
.split > * { min-width: 0; }

/* ---------- Philosophy: hairline columns ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { padding: clamp(28px, 3vw, 48px) clamp(20px, 2.6vw, 44px); border-left: 1px solid var(--line); display: grid; align-content: start; gap: 18px; text-align: center; justify-items: center; }
.pillar:first-child { border-left: 0; }
.pillar .num { font-size: 13px; color: var(--muted); }
.pillar-word, .pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 104px); line-height: .95; text-transform: uppercase; margin: 0; }
.pillar:last-child .pillar-word { font-style: italic; text-transform: none; color: var(--accent); }
.pillar p { color: var(--muted); margin: 0; max-width: 34ch; }

/* ---------- Numbered rows with hover thumbnail ---------- */
.row-list { border-top: 1px solid var(--line); }
.row-item { position: relative; display: grid; grid-template-columns: 70px 1.2fr 1fr; align-items: center; gap: 24px; padding: clamp(22px, 2.6vw, 38px) 0; border-bottom: 1px solid var(--line); }
.row-num { font-size: 13px; color: var(--muted); }
.row-title { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 60px); line-height: 1; transition: transform .5s var(--ease), color .3s; }
.row-sub { color: var(--muted); font-size: 15px; justify-self: end; text-align: right; }
.row-thumb { position: absolute; right: 30%; top: 50%; width: clamp(140px, 14vw, 220px); aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; opacity: 0; transform: translate(0, -50%) scale(.92) rotate(-2deg); transition: opacity .4s var(--ease), transform .6s var(--ease); pointer-events: none; z-index: 2; }
.row-item:hover .row-title { transform: translateX(14px); color: var(--accent); }
.row-item:hover .row-thumb { opacity: 1; transform: translate(0, -50%) scale(1) rotate(-2deg); }

/* ---------- Split image panels ---------- */
.split-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ink); }
.sp { position: relative; display: block; min-height: clamp(420px, 52vw, 760px); overflow: hidden; color: #f3f0e9; }
.sp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.sp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,9,.1) 30%, rgba(10,10,9,.75)); }
.sp:hover img { transform: scale(1.04); }
.sp-text { position: absolute; left: clamp(20px, 3vw, 48px); right: clamp(20px, 3vw, 48px); bottom: clamp(24px, 3vw, 48px); z-index: 1; display: grid; gap: 12px; }
.sp-desc { max-width: 40ch; color: rgba(243,240,233,.82); }
.sp-link { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.sp-link::after { content: ""; display: block; width: 0; height: 1px; background: var(--accent); transition: width .5s var(--ease); margin-top: 6px; }
.sp:hover .sp-link::after { width: 100%; }

/* ---------- Work grid: square edges, thin captions ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 4vw, 64px) clamp(16px, 2vw, 28px); }
.card { display: block; grid-column: span 6; }
.card .media { position: relative; overflow: hidden; background: var(--cream-2); aspect-ratio: 4/3; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .media img { transform: scale(1.04); }
.card .media .tag-float { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; opacity: 0; transition: opacity .4s var(--ease); }
.card:hover .media .tag-float { opacity: 1; }
.chip { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: rgba(243,240,233,.9); color: var(--ink); }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 14px; }
.card .meta h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.3vw, 38px); line-height: 1.05; transition: color .3s; }
.card:hover .meta h3 { color: var(--accent); }
.card .meta p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.card .meta .yr { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.card.w-7 { grid-column: span 7; } .card.w-5 { grid-column: span 5; }
.card.w-8 { grid-column: span 8; } .card.w-4 { grid-column: span 4; }
.card.w-12 { grid-column: span 12; }
.card.tall .media { aspect-ratio: 4/5; }
.card.wide .media { aspect-ratio: 16/9; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; justify-content: center; }
.filter { height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); transition: .25s; }
.filter:hover { color: var(--fg); border-color: var(--fg); }
.filter.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.filter sup { font-size: 10px; margin-left: 3px; }

.tabs { display: flex; justify-content: center; gap: clamp(20px, 4vw, 60px); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tab { padding: 0 0 16px; font-family: var(--serif); font-size: clamp(26px, 3vw, 46px); text-transform: uppercase; color: var(--muted); position: relative; line-height: 1; }
.tab.on { color: var(--fg); }
.tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.tab sup { font-family: var(--sans); font-size: 12px; color: var(--accent); margin-left: 4px; vertical-align: top; }

/* ---------- Video grid ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 22px; }
.video-card { text-align: left; display: block; width: 100%; }
.video-card .media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--cream-2); }
.video-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.video-card:hover .media img { transform: scale(1.05); }
.play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  transform: scale(.8); opacity: 0; transition: .4s var(--ease);
}
.video-card:hover .play, .video-card:focus-visible .play { transform: none; opacity: 1; }
.play svg { width: 20px; height: 20px; margin-left: 3px; }
.video-card .meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 12px; gap: 12px; border-top: 1px solid var(--line); }
.video-card .meta h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.video-card .meta span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }

.showreel { position: relative; display: block; width: 100%; aspect-ratio: 21/9; overflow: hidden; background: #000; }
.showreel img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform 1.4s var(--ease), opacity .6s; }
.showreel:hover img { transform: scale(1.03); opacity: .85; }
.showreel .sr-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 24px; color: #f3f0e9; }
.showreel .play { position: static; margin: 0; opacity: 1; transform: none; width: clamp(64px, 7vw, 104px); height: clamp(64px, 7vw, 104px); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,12,11,.95); display: none; align-items: center; justify-content: center; padding: var(--gutter); }
.lightbox.open { display: flex; }
.lightbox .frame { width: min(1400px, 100%); aspect-ratio: 16/9; background: #000; overflow: hidden; }
.lightbox iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox .close { position: absolute; top: 18px; right: var(--gutter); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243,240,233,.35); color: #f3f0e9; font-size: 22px; }
.lightbox .lb-title { position: absolute; top: 30px; left: var(--gutter); color: #f3f0e9; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Services accordion (services page) ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc-head { width: 100%; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; padding: clamp(22px, 2.6vw, 38px) 0; text-align: left; }
.svc-num { font-size: 13px; color: var(--muted); }
.svc-title { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 76px); line-height: .98; text-transform: uppercase; transition: color .3s; }
.svc-head:hover .svc-title { color: var(--accent); }
.svc-toggle { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .4s var(--ease); font-size: 22px; font-weight: 300; }
.svc.open .svc-toggle { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc.open .svc-body { grid-template-rows: 1fr; }
.svc-body > div { overflow: hidden; }
.svc-inner { display: grid; grid-template-columns: 70px 1fr 1fr 1.1fr; gap: 20px 32px; padding-bottom: 44px; }
.svc-inner > * { min-width: 0; }
.svc-inner .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.05; grid-column: 2; margin: 0; color: var(--accent); }
.svc-inner p { margin: 0; color: var(--muted); grid-column: 3; }
.svc-inner ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; grid-column: 4; }
.svc-inner li { font-size: 13px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; }
.svc-inner .svc-img { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.svc-inner .svc-img img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.step { padding: 28px 24px 0 0; position: relative; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step .n { font-size: 13px; color: var(--muted); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 46px); text-transform: uppercase; margin: 56px 0 14px; line-height: 1; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.step .bar { position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--accent); transition: width 1.2s var(--ease); }
.step.in .bar { width: 100%; }

/* ---------- Audiences ---------- */
.aud-list { border-top: 1px solid var(--line); }
.aud { display: grid; grid-template-columns: 70px 1.1fr 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding .4s var(--ease); }
.aud:hover { padding-left: 12px; }
.aud h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 40px); margin: 0; line-height: 1.05; }
.aud p { margin: 0; color: var(--muted); }
.aud .n { color: var(--muted); font-size: 13px; }

/* ---------- Why 21 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.why { padding: 36px 32px 40px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.why:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.why h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.3vw, 38px); margin: 0 0 14px; line-height: 1.05; }
.why p { color: var(--muted); margin: 0; max-width: 40ch; }
.why .n { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--accent); display: block; margin-bottom: 30px; }
.why.big { display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.big21, .why .big21 { font-family: var(--sans); font-size: clamp(160px, 18vw, 320px); font-weight: 900; font-variation-settings: "wdth" 62; line-height: .74; letter-spacing: -0.06em; margin: 0; color: var(--accent); max-width: none; }

/* ---------- CTA (inner pages): centred statement ---------- */
.cta { text-align: center; display: grid; justify-items: center; border-top: 1px solid var(--line); }
.cta .h1 a { display: inline-block; transition: color .3s; }
.cta .h1 a:hover { color: var(--accent); }
.cta .body-lg { margin-left: auto; margin-right: auto; }

/* ---------- Footer: dark, "Let's work together" ---------- */
.site-footer { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 150px) 0 28px; background: radial-gradient(120% 90% at 85% 0%, #3a2116 0%, #1a1513 42%, #141412 75%); }
.foot-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.foot-top > * { min-width: 0; }
.foot-title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8vw, 140px); line-height: .95; margin: 0; }
.foot-title .serif { color: var(--accent); }
.foot-card { display: grid; gap: 16px; justify-items: start; max-width: 340px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(243,240,233,.04); }
.foot-card p { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.foot-mail { margin-top: 44px; display: flex; align-items: center; gap: 20px; height: 66px; padding: 0 10px 0 26px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .3s; max-width: 760px; }
.foot-mail:hover { border-color: var(--fg); }
.foot-mail .lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.foot-mail .addr { flex: 1; min-width: 0; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foot-mail .go { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-top: clamp(64px, 8vw, 120px); }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { margin: 0 0 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.foot-grid a, .foot-grid p { display: block; margin: 0 0 8px; font-size: 15px; overflow-wrap: anywhere; }
.foot-grid a:hover { color: var(--accent); }
.foot-mark { font-weight: 900; font-size: clamp(90px, 10vw, 160px); line-height: .8; letter-spacing: -0.06em; font-variation-settings: "wdth" 62; display: inline-flex; align-items: baseline; }
.foot-mark i { width: .09em; height: .09em; border-radius: 50%; background: var(--accent); margin-left: .03em; }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.to-top:hover { color: var(--fg); }

/* ---------- Page heads (inner pages): centred serif caps ---------- */
.page-head { padding-top: clamp(150px, 17vw, 230px); padding-bottom: clamp(48px, 6vw, 96px); text-align: center; display: grid; justify-items: center; }
.page-head .eyebrow { margin-bottom: 28px; }
.page-head .mega { font-family: var(--serif); font-weight: 400; font-variation-settings: normal; letter-spacing: -0.015em; line-height: .92; font-size: clamp(64px, 12vw, 210px); }
.page-head .head-row { display: grid; grid-template-columns: 1fr; gap: 18px; justify-items: center; margin-top: 36px; }
.page-head .head-row > * { min-width: 0; }
.page-head .lead { max-width: 40ch; margin: 0; }
.page-head .body-lg { margin: 0; }

/* ---------- Project page ---------- */
.proj-hero { padding-top: 140px; text-align: center; }
.proj-hero .h1 { margin-top: 24px; }
.proj-hero .media { margin-top: clamp(32px, 4vw, 64px); overflow: hidden; background: var(--cream-2); max-height: 86vh; }
.proj-hero .media img { width: 100%; max-height: 86vh; object-fit: cover; }
.proj-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); text-align: left; margin: 0; }
.proj-meta > div { min-width: 0; }
.proj-meta dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.proj-meta dd { margin: 0; font-size: 16px; }
.proj-story { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 120px); }
.proj-story > * { min-width: 0; }
.proj-story .lead { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 44px); line-height: 1.1; max-width: 22ch; }
.proj-story .blocks { display: grid; border-top: 1px solid var(--line); }
.proj-story .blocks > div { padding: 26px 0; border-bottom: 1px solid var(--line); }
.proj-story .blocks h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.proj-story .blocks p { margin: 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; }
.scope { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.scope span { font-size: 13px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; }
.gallery { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.gallery .row { display: grid; gap: clamp(12px, 1.4vw, 20px); grid-auto-flow: column; grid-auto-columns: 1fr; align-items: start; }
.gallery img { width: 100%; background: var(--cream-2); }
.gallery .row img { height: 100%; object-fit: cover; }
.next-proj { display: block; border-top: 1px solid var(--line); text-align: center; }
.next-proj .wrap { padding-block: clamp(56px, 8vw, 130px); display: grid; justify-items: center; }
.next-proj .h1 { transition: color .3s; }
.next-proj:hover .h1 { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 140px); }
.contact-grid > * { min-width: 0; }
.form { display: grid; gap: 30px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 20px; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0 14px; border-radius: 0; transition: border-color .3s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field-row > * { min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; left: 0; top: 0; width: 1px; height: 1px; }
.pills label { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--fg); padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); cursor: pointer; transition: .2s; }
.pills input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pills input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-info { display: grid; gap: 36px; align-content: start; }
.contact-info .big-mail { font-family: var(--serif); font-size: clamp(30px, 3vw, 48px); border-bottom: 1px solid var(--line); padding-bottom: 6px; display: inline-block; overflow-wrap: anywhere; }
.contact-info .big-mail:hover { color: var(--accent); border-color: var(--accent); }
.form-note { font-size: 14px; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links, .nav-clock { display: none; }
  .menu-btn { display: inline-flex; }
  .process { grid-template-columns: 1fr 1fr; }
  .step:nth-child(odd) { border-left: 0; padding-left: 0; }
  .step { padding-bottom: 40px; }
  .svc-inner { grid-template-columns: 1fr 1fr; }
  .svc-inner > span:first-child { display: none; }
  .svc-inner .tagline { grid-column: 1 / -1; }
  .svc-inner p { grid-column: 1; }
  .svc-inner ul { grid-column: 2; }
  .svc-inner .svc-img { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why { border-left: 0 !important; padding-left: 0; padding-right: 24px; }
  .row-sub { display: none; }
  .row-item { grid-template-columns: 60px 1fr; }
  .row-thumb { display: none; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .nav { height: 66px; }
  .nav-cta .btn { display: none; }
  .hero-inner { padding-top: 104px; }
  .hero-title .line.indent { padding-left: 0; }
  .hero-bottom { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head > .btn { justify-self: start; }
  .split, .proj-story, .contact-grid { grid-template-columns: 1fr; }
  .card, .card.w-7, .card.w-5, .card.w-8, .card.w-4 { grid-column: span 12; }
  .card.tall .media { aspect-ratio: 4/3; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .split-panels { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .step, .step + .step { border-left: 0; padding-left: 0; }
  .step h3 { margin-top: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .why, .why:nth-child(3n + 1) { padding: 30px 0; }
  .aud { grid-template-columns: 1fr; gap: 8px; }
  .aud .n { display: none; }
  .svc-head { grid-template-columns: 1fr auto; }
  .svc-num { display: none; }
  .svc-inner { grid-template-columns: 1fr; }
  .svc-inner p, .svc-inner ul { grid-column: 1; }
  .svc-toggle { width: 42px; height: 42px; }
  .video-grid { grid-template-columns: 1fr; }
  .proj-meta { grid-template-columns: 1fr 1fr; }
  .gallery .row { grid-auto-flow: row; }
  .field-row { grid-template-columns: 1fr; }
  .showreel { aspect-ratio: 4/3; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-mail .lbl { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Page-head background image (50% opacity, gentle parallax) ---------- */
.page-head.has-bg { position: relative; isolation: isolate; }
.head-bg { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; pointer-events: none; }
.head-bg img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; opacity: .5; will-change: transform; }
.head-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(243,240,233,.55) 0%, rgba(243,240,233,0) 35%, rgba(243,240,233,0) 60%, var(--cream) 100%); }

/* ---------- Mid-page parallax band ---------- */
.px-band { position: relative; height: clamp(380px, 72vh, 760px); overflow: hidden; display: grid; place-items: center; background: #000; color: #f3f0e9; }
.px-img { position: absolute; left: 0; top: -20%; width: 100%; height: 140%; object-fit: cover; will-change: transform; }
.px-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,10,9,.25) 0%, rgba(10,10,9,.6) 100%); }
.px-text { position: relative; z-index: 1; text-align: center; }
.px-quote { font-family: var(--serif); font-size: clamp(36px, 5.6vw, 96px); line-height: 1; margin: 0 auto; max-width: 18ch; text-wrap: balance; }
.px-quote em { color: var(--accent); }
/* readability over photos */
.head-bg::after { background:
  radial-gradient(ellipse 55% 45% at 50% 52%, rgba(243,240,233,.7) 0%, rgba(243,240,233,0) 100%),
  linear-gradient(180deg, rgba(243,240,233,.55) 0%, rgba(243,240,233,0) 35%, rgba(243,240,233,0) 60%, var(--cream) 100%); }
.px-band::after { background: radial-gradient(ellipse at center, rgba(10,10,9,.45) 0%, rgba(10,10,9,.7) 100%); }
.px-quote em { color: inherit; font-style: italic; }

/* ---------- Alternating black sections (full-bleed even inside .wrap) ---------- */
section.dark { background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
section.dark.pad-sm, section.dark.pad { padding-block: clamp(80px, 10vw, 150px); }
.dark .btn-accent:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.dark .filter.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.dark .pillar:last-child .pillar-word { color: var(--accent); }
.dark .card .media, .dark .gallery img { background: #1f1e1b; }
.dark .why.big { background: transparent; }

/* ==========================================================
   Motion layer (only active with html.motion / html.has-cursor)
   ========================================================== */
/* Word-by-word heading reveal */
.motion .split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em 0; margin: 0 -.06em -.1em 0; }
.motion .split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.05s var(--ease); }
.motion .split-words.words-in .w > span { transform: none; }

/* Image clip reveals */
.motion .img-reveal { opacity: 1; transform: none; clip-path: inset(18% 0 18% 0); transition: clip-path 1.3s var(--ease); }
.motion .img-reveal.in { clip-path: inset(0 0 0 0); }
.motion .card.reveal { opacity: 1; transform: none; }
.motion .card.reveal .media { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease), transform .5s var(--ease); }
.motion .card.reveal.in .media { clip-path: inset(0 0 0 0); }
.motion .card.reveal .meta { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease) .35s, transform .8s var(--ease) .35s; }
.motion .card.reveal.in .meta { opacity: 1; transform: none; }

/* Hero: scroll-linked drift + mouse parallax smoothing */
.motion .hero-title { transform: translate3d(0, calc(var(--hero-shift, 0px) * -0.9), 0); opacity: var(--hero-fade, 1); }
.motion .hero-bottom { transform: translate3d(0, calc(var(--hero-shift, 0px) * -0.35), 0); opacity: var(--hero-fade, 1); }
.hero-title .line { transition: transform .9s var(--ease); }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; z-index: 70; pointer-events: none; }

/* Page transition curtain */
.curtain { position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--cream); display: grid; place-items: center; pointer-events: none; transform: none; transition: transform .75s cubic-bezier(.7, 0, .2, 1); }
.curtain .logo-mark { font-size: clamp(60px, 9vw, 120px); transition: opacity .3s; }
.curtain.out { transform: translateY(-100%); }
.curtain.out .logo-mark { opacity: 0; }
.curtain.in { transform: none; pointer-events: auto; }

/* Magnetic + tilt smoothing */
.btn, .svc-toggle, .menu-btn, .foot-mail .go { transition: background .3s var(--ease), color .3s, border-color .3s, transform .35s var(--ease); }
.card .media, .video-card .media { transition: transform .5s var(--ease), clip-path 1.2s var(--ease); }

/* Custom cursor */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor .filter { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor-dot.on, .cursor-ring.on { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; display: grid; place-items: center; }
.cursor-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(20,20,18,.45); transition: transform .45s var(--ease), background .3s, border-color .3s; }
.cursor-ring.on-dark::before { border-color: rgba(243,240,233,.55); }
.cursor-ring.hover::before { transform: scale(1.6); background: rgba(255,79,0,.12); border-color: var(--accent); }
.cursor-ring.down::before { transform: scale(.8); }
.cursor-ring span { position: relative; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease); }
.cursor-ring.label::before { transform: scale(2.5); background: var(--accent); border-color: var(--accent); }
.cursor-ring.label span { opacity: 1; transform: none; }
.cursor-ring.label ~ .cursor-dot, .cursor-ring.label + .cursor-dot { opacity: 0; }
.cursor-dot.hide { opacity: 0 !important; }

/* ---------- 21creative wordmark (per brand guide) ---------- */
.wm { display: inline-flex; align-items: baseline; gap: .045em; font-family: "Schibsted Grotesk", "Archivo", Arial, sans-serif; font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: currentColor; white-space: nowrap; font-variation-settings: normal; text-transform: none; }
.wm svg { height: .74em; width: auto; overflow: visible; flex: none; }
.wm svg path { fill: currentColor; stroke: currentColor; stroke-width: 18; stroke-linejoin: miter; }
.wm sup { font-size: .22em; font-weight: 700; align-self: flex-start; margin-left: .25em; letter-spacing: 0; position: relative; top: .1em; }
.logo { gap: 0; }
.logo .wm { font-size: 26px; }
.mobile-menu .logo .wm { font-size: 26px; }
.foot-mark { display: block; width: clamp(120px, 12vw, 190px); color: var(--accent); font-size: inherit; line-height: 0; }
.foot-mark svg { width: 100%; height: auto; display: block; overflow: visible; }
.foot-mark svg path { fill: currentColor; stroke: currentColor; stroke-width: 18; stroke-linejoin: miter; }
.curtain .wm { font-size: clamp(48px, 7vw, 96px); transition: opacity .3s; }
.curtain.out .wm { opacity: 0; }
@media (max-width: 780px) { .logo .wm { font-size: 22px; } }
