/* Elevate One Agency — site styles
   Layout language inspired by editorial real-estate sites: light paper ground,
   oversized extended display type, colour-block cards, fixed dock. */

:root {
  --paper: #f4f1ea;
  --paper-2: #e8e4da;
  --card: #fffdf8;
  --ink: #12110f;
  --ink-soft: #3a3732;
  --muted: #6f6a60;
  --line: rgba(18, 17, 15, 0.14);
  --line-light: rgba(244, 241, 234, 0.16);
  --gold: #b9955c;
  --gold-ink: #80612e;

  /* Service colours (one per capability): soft tones that sit with the gold brand */
  --c1: #e3cfa8; /* champagne — Brand & Creative */
  --c2: #e6c7b8; /* rose clay — Marketing & Influence */
  --c3: #c8d5c6; /* sage — Digital & AI */
  --c4: #c6d1dc; /* mist blue — Experiences & Enablement */

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 3.2vw, 48px);
  --section: clamp(88px, 11vw, 176px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Only the menu locks the root. `is-loading` must not: changing overflow here
   makes the document a scroll container and breaks `position: sticky`. */
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.kicker {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.h1, .h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.h1 { font-size: clamp(48px, 8.4vw, 150px); line-height: 0.94; }
.h2 { font-size: clamp(38px, 5.2vw, 84px); }
.h1 em, .h2 em, .statement em { font-family: var(--serif); font-style: normal; font-weight: 350; letter-spacing: -0.02em; color: var(--gold-ink); }
.lede { margin: 0; max-width: 46ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-soft); }
.tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid currentColor;
  font-family: var(--display);
  font-size: 13px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 24px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.btn:hover { background: var(--gold-ink); border-color: var(--gold-ink); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.text-link { display: inline-flex; gap: 8px; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 600; transition: color 0.3s; }
.text-link:hover { color: var(--gold-ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px var(--gutter);
  transition: transform 0.55s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid {
  background: rgba(244, 241, 234, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right { justify-self: end; }
.nav-link { position: relative; font-size: 13.5px; font-weight: 500; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}
.pill:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* logo-dark.png = ink + gold for paper; logo-light.png = white + gold for dark grounds */
.brand { display: block; justify-self: center; }
.brand img { height: 40px; width: auto; }
.logo-for-dark { display: none; }
body[data-hero="dark"] .site-header:not(.is-solid) { color: var(--paper); }
body[data-hero="dark"] .site-header:not(.is-solid) .logo-for-light { display: none; }
body[data-hero="dark"] .site-header:not(.is-solid) .logo-for-dark { display: block; }
body[data-hero="dark"] .site-header:not(.is-solid) .pill:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- Dock + menu ---------- */
.dock {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 60;
  display: flex;
  gap: 8px;
}
.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 18px;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}
.dock-btn:hover { background: var(--ink); color: var(--paper); }
.dots { display: grid; grid-template-columns: repeat(2, 4px); gap: 3px; }
.dots i { width: 4px; height: 4px; background: currentColor; }
.dock-menu { width: 46px; padding: 0; justify-content: center; background: var(--ink); color: var(--paper); box-shadow: 0 0 0 1px rgba(244, 241, 234, 0.28); }
.dock-menu:hover { background: var(--gold-ink); border-color: var(--gold-ink); }
.burger { display: grid; gap: 5px; justify-items: end; }
.burger i { display: block; height: 1.5px; width: 18px; background: currentColor; }
.burger i:last-child { width: 11px; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding: 16px var(--gutter) var(--gutter);
  background: var(--ink);
  color: var(--paper);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease), visibility 0s linear 0.8s;
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 0.8s var(--ease), visibility 0s; }
.menu-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.menu-label { font-size: 13.5px; color: rgba(244, 241, 234, 0.6); }
.menu-close { justify-self: end; display: inline-flex; gap: 10px; align-items: center; min-height: 44px; padding: 0 4px 0 12px; font-size: 13.5px; font-weight: 600; }
.menu-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.menu-main { display: grid; }
.menu-main a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 6.6vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), color 0.3s;
}
.menu-main a span { font-size: 12px; letter-spacing: 0.1em;color: var(--gold); transform: translateY(-2.2em); }
.menu-main a:hover { color: var(--gold); }
.menu.is-open .menu-main a { opacity: 1; transform: none; }
.menu.is-open .menu-main a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open .menu-main a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open .menu-main a:nth-child(4) { transition-delay: 0.15s; }
.menu.is-open .menu-main a:nth-child(5) { transition-delay: 0.2s; }
.menu-services .kicker { color: rgba(244, 241, 234, 0.55); }
.menu-services a {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
  font-size: 17px;
  transition: padding 0.4s var(--ease), color 0.3s;
}
.menu-services a:hover { padding-left: 10px; color: var(--gold); }
.menu-services i { width: 14px; height: 14px; background: var(--c); outline: 1px solid var(--line-light); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 13.5px; color: rgba(244, 241, 234, 0.65); padding-top: 18px; border-top: 1px solid var(--line-light); }
.menu-foot a:hover { color: var(--gold); }

/* ---------- Preloader (home, once per session) ---------- */
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  clip-path: inset(0);
  transition: clip-path 1s var(--ease);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader-stack { position: relative; width: clamp(120px, 13vw, 180px); aspect-ratio: 1; overflow: hidden; background: #000; }
.loader-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.loader-stack img.on { opacity: 1; }
.loader-count {
  position: absolute;
  bottom: var(--gutter);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.loader-logo { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); height: 40px; width: auto; }

/* ---------- Hero ----------
   The hero is a scroll runway: the sticky stage stays pinned while the video
   square opens (via clip-path) to fill the screen, holds, then scrolls away. */
.hero { position: relative; }
.js .hero { height: 250svh; }
.hero-sticky { position: relative; height: 100svh; min-height: 620px; overflow: hidden; --s: clamp(230px, 29vw, 470px); }
.js .hero-sticky { position: sticky; top: 0; }
.hero-sizer { position: absolute; width: var(--s); height: 0; visibility: hidden; }
.marquee {
  position: absolute;
  left: 0; right: 0;
  top: 45%;
  transform: translateY(-50%);
  display: flex;
  white-space: nowrap;
  pointer-events: none;
  will-change: opacity;
}
.marquee-track { display: flex; flex-shrink: 0; animation: marquee 42s linear infinite; }
.marquee-track span {
  padding-right: 0.3em;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(92px, 17vw, 290px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.marquee-track em { font-family: var(--serif); font-style: normal; font-weight: 350; letter-spacing: -0.02em; color: var(--gold-ink); }
@keyframes marquee { to { transform: translateX(-100%); } }

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--ink);
  clip-path: inset(calc(45% - var(--s) / 2) calc(50% - var(--s) / 2) calc(55% - var(--s) / 2));
  will-change: clip-path;
}
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.35) 0%, rgba(10, 9, 8, 0) 30%, rgba(10, 9, 8, 0) 50%, rgba(10, 9, 8, 0.72) 100%);
  opacity: var(--e, 0);
}
.hero-caption {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  bottom: var(--gutter);
  max-width: min(780px, 70vw);
  color: var(--paper);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}
.hero-caption p {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.br-phone { display: none; }
.hero-caption em { font-family: var(--serif); font-style: normal; font-weight: 350; letter-spacing: -0.02em; color: var(--gold); }
.hero-controls {
  position: absolute;
  z-index: 4;
  right: calc(50% - var(--s) / 2 + 10px);
  top: calc(45% - var(--s) / 2 + 10px);
  display: flex;
  gap: 6px;
}
.video-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(18, 17, 15, 0.55);
  color: var(--paper);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.3s;
}
.video-btn:hover { background: rgba(18, 17, 15, 0.8); }
.video-btn svg { width: 13px; height: 13px; }
.video-sound .i-sound-on { display: none; }
.video-sound:not(.is-muted) .i-sound-on { display: block; }
.video-sound:not(.is-muted) .i-sound-off { display: none; }
.video-toggle .i-play, .video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.hero-foot {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(var(--gutter) + 70px);
  padding-inline: var(--gutter);
  text-align: center;
}
.hero-foot p { margin: 0 auto 16px; max-width: 36ch; font-size: clamp(15px, 1.25vw, 18px); font-weight: 500; line-height: 1.45; }
.hero-copyright { position: absolute; left: var(--gutter); bottom: var(--gutter); line-height: 46px; font-size: 13.5px; font-weight: 500; }

/* ---------- Statement ---------- */
.statement { padding: var(--section) var(--gutter); }
.statement h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 5.8vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.js .statement .w { opacity: 0.13; transition: opacity 0.35s; }
.js .statement .w.on { opacity: 1; }
.statement-copy { margin: 48px 0 0 auto; max-width: 42ch; font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-soft); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 var(--gutter) var(--section);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 20px 20px 30px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.stat dd {
  margin: 56px 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(56px, 7.4vw, 124px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat dd sup { font-size: 0.4em; color: var(--gold-ink); vertical-align: top; margin-left: 4px; }

/* ---------- Capabilities (colour-block cards) ---------- */
.caps { background: var(--paper); padding: var(--section) var(--gutter); }
.split-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.caps-aside { display: grid; gap: 32px; }
.rail-controls { display: flex; align-items: center; gap: 12px; }
.rail-count { min-width: 64px; font-family: var(--display);font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.rail-count b { font-weight: 600; color: var(--ink); }
.rail-bar { position: relative; flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.rail-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--rail, 0.3)); transition: transform 0.3s var(--ease); }
.rail-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--ink); font-size: 18px; transition: background 0.3s, color 0.3s, opacity 0.3s; }
.rail-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.rail-btn:disabled { opacity: 0.28; cursor: default; }
.rail { margin-inline: calc(var(--gutter) * -1); }
.rail-track {
  display: flex;
  gap: clamp(10px, 1.2vw, 16px);
  padding: 4px var(--gutter) 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail-track.is-dragging .cap-card { pointer-events: none; }
.cap-card {
  position: relative;
  flex: 0 0 clamp(280px, 29vw, 430px);
  display: flex;
  flex-direction: column;
  background: var(--c);
  color: var(--ink);
  overflow: hidden;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-drag: none;
}
.cap-card:focus-visible { outline-offset: -3px; }
.cap-card-top {
  min-height: clamp(210px, 19vw, 280px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(16px, 1.6vw, 24px);
}
.cap-card-head { display: flex; justify-content: space-between; align-items: start; }
.cap-num { font-family: var(--display);font-weight: 700; font-size: 14px; letter-spacing: 0.02em; }
.cap-arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(18, 17, 15, 0.22);
  font-size: 18px;
  transform: rotate(-45deg);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s, background 0.3s, color 0.3s;
}
.cap-card:hover .cap-arrow, .cap-card:focus-visible .cap-arrow { opacity: 1; transform: none; background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cap-card-copy h3 { margin: 0; font-family: var(--display);font-weight: 450; font-size: clamp(26px, 2.4vw, 38px); line-height: 1; letter-spacing: -0.025em; }
.cap-card-copy p { margin: 10px 0 0; max-width: 26ch; font-size: 14px; line-height: 1.4; opacity: 0.75; }
.cap-card-img { position: relative; aspect-ratio: 4 / 3.6; overflow: hidden; }
.cap-card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease); pointer-events: none; }
.cap-card:hover .cap-card-img img { transform: scale(1.09); }
.cap-card-tags { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cap-card-tags li {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--paper);
  background: rgba(18, 17, 15, 0.45);
  border: 1px solid rgba(244, 241, 234, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---------- Showreel: one full-screen video, no overlaid text ---------- */
.reel { position: relative; background: var(--ink); }
.reel-stage { position: relative; height: 100svh; min-height: 520px; overflow: hidden; }
.reel-media { position: absolute; inset: 0; }
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-controls {
  position: absolute;
  z-index: 2;
  right: calc(var(--gutter) + 10px);
  top: calc(var(--gutter) + 56px);
  display: flex;
  gap: 6px;
}

/* ---------- Clients: one line of logos, each slot swaps on its own ----------
   Mirrors ajithsteve.com: small tracked label, 8 equal slots (4 on phones),
   swap = fade + 6px blur + 3px lift over 420ms. Logos are cropped to their
   artwork box (--l/--t/--cw/--ch) and sized for equal visual weight (--bw/--bh). */
.clients { padding: clamp(64px, 8vw, 120px) var(--gutter); --s: 1; }
.brands-head { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: clamp(28px, 3vw, 44px); }
.brands-label { margin: 0; font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--ink); }
.brands-toggle { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: color 0.3s, border-color 0.3s; }
.brands-toggle:hover { color: var(--ink); border-color: var(--ink); }
.brands-toggle svg { width: 9px; height: 9px; }
.brands-toggle .i-play, .clients.is-paused .brands-toggle .i-pause { display: none; }
.clients.is-paused .brands-toggle .i-play { display: block; }
.brands-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; max-width: 1500px; margin: 0 auto; padding: 0; list-style: none; }
.brands-row li { flex: 1 1 0; min-width: 0; height: calc(36px * var(--s)); display: flex; justify-content: center; align-items: center; }
.brand-logo {
  position: relative;
  display: block;
  overflow: hidden;
  width: calc(var(--bw) * var(--s) * 1px);
  height: calc(var(--bh) * var(--s) * 1px);
  mix-blend-mode: multiply;
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  transition: opacity 420ms cubic-bezier(0.4, 0, 0.2, 1), filter 420ms cubic-bezier(0.4, 0, 0.2, 1), transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
}
.brand-logo.is-out { opacity: 0; filter: blur(6px); transform: translateY(-3px) scale(0.985); }
.brand-logo img {
  position: absolute;
  max-width: none;
  width: calc(var(--bw) * var(--s) * 1px / var(--cw));
  height: calc(var(--bh) * var(--s) * 1px / var(--ch));
  left: calc(var(--bw) * var(--s) * -1px * var(--l) / var(--cw));
  top: calc(var(--bh) * var(--s) * -1px * var(--t) / var(--ch));
  filter: grayscale(1);
}
.brand-logo img.invert { filter: invert(1) grayscale(1); }
/* On black (home, under the statement): logos flip to white, label/toggle go light, sits close to the text above */
.statement.dark + .clients.dark { padding-top: 0; }
.statement.dark:has(+ .clients.dark) { padding-bottom: clamp(48px, 6vw, 88px); }
.clients.dark .brands-label { color: var(--paper); }
.clients.dark .brands-toggle:hover { color: var(--paper); border-color: var(--paper); }
.clients.dark .brand-logo { mix-blend-mode: screen; }
.clients.dark .brand-logo img { filter: grayscale(1) invert(1); }
.clients.dark .brand-logo img.invert { filter: grayscale(1); }
.clients.dark .brand-logo img.tile { filter: grayscale(1) contrast(3); }
@media (max-width: 1280px) { .clients { --s: 0.85; } .brands-row { gap: 28px; } .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) { .clients { --s: 0.72; } .brands-row { gap: 20px; } }
@media (max-width: 700px) { .clients { --s: 0.62; } .brands-row { gap: 16px; } .brands-row li:nth-child(n + 5) { display: none; } }

/* ---------- Dubai locale (home) ---------- */
/* [data-media-reveal] figures open from an inset frame and drift as you scroll (see main.js). */
[data-media-reveal] { clip-path: inset(var(--ci, 0%)); }
[data-media-reveal] img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; transform: translateY(var(--py, 0%)); }
.locale { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.locale-media { position: absolute; inset: 0; margin: 0; }
.locale-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.6) 0%, rgba(10, 9, 8, 0.1) 32%, rgba(10, 9, 8, 0.25) 55%, rgba(10, 9, 8, 0.9) 100%);
}
.locale-inner {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  padding: calc(var(--gutter) + 64px) var(--gutter) var(--gutter);
}
.locale-top { display: flex; justify-content: space-between; align-items: start; gap: 24px; flex-wrap: wrap; }
.locale .kicker { color: rgba(244, 241, 234, 0.7); }
.locale-meta { display: grid; gap: 4px; text-align: right; font-family: var(--display);font-size: 13px; color: rgba(244, 241, 234, 0.7); }
.locale-clock {font-size: clamp(30px, 3.2vw, 48px); font-weight: 500; letter-spacing: -0.03em; text-transform: none; color: var(--paper); font-variant-numeric: tabular-nums; }
.locale-bottom { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px 56px; align-items: end; }
.locale .h2 { max-width: 13ch; }
.locale .h2 em { color: var(--gold); }
.locale .lede { color: rgba(244, 241, 234, 0.82); }
.locale .text-link:hover { color: var(--gold); }
.route { grid-column: 1 / -1; display: flex; align-items: center; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid rgba(244, 241, 234, 0.2); }
.route-node { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 13.5px; font-weight: 600; }
.route-node i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.route-node.hq i { animation: pulse 2.4s ease-out infinite; }
.route-line { position: relative; flex: 1; height: 1px; margin: 0 16px; background: rgba(244, 241, 234, 0.3); overflow: hidden; }
.route-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: travel 3.2s linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes travel { to { left: 100%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(185, 149, 92, 0.65); } 100% { box-shadow: 0 0 0 14px rgba(185, 149, 92, 0); } }
.why { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(32px, 5vw, 88px); padding: var(--section) var(--gutter); }
.why-count {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(128px, 17vw, 260px);
  line-height: 0.78;
  letter-spacing: -0.07em;
}
.why-count span { font-size: 0.3em; color: var(--gold-ink); letter-spacing: 0; margin-left: 10px; }
.why-caption { margin: 18px 0 0; font-family: var(--display);font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
.why-note { margin: 28px 0 0; max-width: 32ch; color: var(--muted); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-content: start; border-top: 1px solid var(--ink); }
.why-item { padding: 26px 0 34px; border-bottom: 1px solid var(--line); }
.why-item h3 { margin: 0 0 8px; font-family: var(--display);font-weight: 500; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.025em; }
.why-item p { margin: 0; color: var(--muted); max-width: 32ch; }

/* ---------- Workflow ---------- */
.flow { background: var(--paper-2); padding: var(--section) var(--gutter); }
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.flow-list li { padding: 20px 22px 8px 0; }
.flow-list li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.flow-num { font-family: var(--display);font-size: 12px; letter-spacing: 0.12em; color: var(--gold-ink); }
.flow-list h3 { margin: clamp(56px, 7vw, 120px) 0 10px; font-family: var(--display);font-weight: 500; font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -0.025em; line-height: 1.05; }
.flow-list p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 110px); padding: var(--section) var(--gutter); }
.say { margin: 0; font-family: var(--display);font-weight: 500; font-size: clamp(64px, 10.5vw, 176px); line-height: 0.88; letter-spacing: -0.055em; }
.say em { font-family: var(--serif); font-style: normal; font-weight: 350; letter-spacing: -0.02em; color: var(--gold-ink); }
.contact .lede { margin-top: 28px; }
.contact-direct { margin-top: 40px; display: grid; gap: 6px; font-size: 15px; }
.contact-direct a { width: fit-content; border-bottom: 1px solid var(--line); transition: border-color 0.3s; }
.contact-direct a:hover { border-color: var(--ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; align-content: start; }
.form label { display: grid; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea {
  width: 100%;
  padding: 10px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  font: 500 17px/1.4 var(--body);
  transition: border-color 0.3s;
  resize: vertical;
}
.form input::placeholder, .form textarea::placeholder { color: #a39d91; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer-wrap { background: var(--ink); padding: var(--gutter) var(--gutter) calc(var(--gutter) + 62px); }
.footer { background: var(--card); padding: 22px clamp(18px, 3vw, 40px) 0; overflow: hidden; }
.footer-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.footer-nav .nav-link:last-child { justify-self: end; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: clamp(56px, 7vw, 104px) 0 48px; border-bottom: 1px solid var(--line); }
.footer-cols h2 { margin: 0 0 16px; font-family: var(--display);font-size: 14px; font-weight: 500; color: var(--muted); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-cols a:hover { color: var(--gold-ink); }
/* Footer sign-off: the full logo, traced to SVG so it stays crisp at full width */
.footer-logo { padding: clamp(28px, 3vw, 44px) 0 clamp(12px, 1.6vw, 24px); line-height: 0; }
.footer-logo img { display: block; width: 100%; height: auto; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 20px 0 22px; font-size: 13px; color: var(--muted); }
.footer-social { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 600; color: var(--ink); transition: color 0.3s; }
.footer-social svg { width: 18px; height: 18px; }
.footer-social:hover { color: var(--gold-ink); }

/* ---------- Inner pages ---------- */
.page-hero { padding: calc(130px + 3vw) var(--gutter) clamp(56px, 7vw, 112px); }
.page-lead { margin: 30px 0 0; max-width: 40ch; font-size: clamp(17px, 1.5vw, 22px); color: var(--ink-soft); }

.cta-band { background: var(--ink); color: var(--paper); padding: var(--section) var(--gutter); }
.cta-band .kicker { color: rgba(244, 241, 234, 0.55); }
.cta-band .h2 { max-width: 14ch; margin-bottom: 44px; }

/* Service detail */
.svc-hero {
  min-height: 86svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  padding: calc(110px + 2vw) var(--gutter) clamp(40px, 5vw, 72px);
  background: var(--c);
  color: var(--ink);
}
.svc-back { display: inline-flex; gap: 10px; align-items: center; width: fit-content; font-size: 14px; font-weight: 600; opacity: 0.8; transition: opacity 0.3s, gap 0.3s var(--ease); }
.svc-back:hover { opacity: 1; gap: 16px; }
.svc-hero .kicker { color: rgba(18, 17, 15, 0.6); }
.svc-hero .h1 { max-width: 13ch; }
.svc-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.svc-intro p { margin: 0; color: var(--ink-soft); max-width: 42ch; }
.svc-intro p:first-child { margin-bottom: 16px; color: var(--ink); font-family: var(--display);font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -0.015em; }
.svc-image { margin: 0; aspect-ratio: 21 / 9; overflow: hidden; }
.svc-image img { width: 100%; height: 100%; object-fit: cover; }
.svc-list-wrap { padding: var(--section) var(--gutter); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: 24px; padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.svc-row .flow-num { padding-top: 10px; }
.svc-row h3 { margin: 0; font-family: var(--display);font-weight: 500; font-size: clamp(26px, 2.8vw, 44px); line-height: 1; letter-spacing: -0.03em; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.chips li { padding: 7px 12px; border: 1px solid var(--line); background: var(--card); font-size: 14px; }
.svc-next { display: block; margin: 0 var(--gutter) var(--section); background: var(--c); color: var(--ink); padding: clamp(24px, 3vw, 44px); transition: filter 0.4s; }
.svc-next:hover { filter: brightness(0.95); }
.svc-next .kicker { color: rgba(18, 17, 15, 0.6); }
.svc-next strong { display: flex; justify-content: space-between; align-items: end; gap: 20px; font-family: var(--display);font-weight: 500; font-size: clamp(34px, 5.5vw, 92px); line-height: 1; letter-spacing: -0.04em; }

/* About page */
.about-hero { padding: calc(130px + 3vw) var(--gutter) var(--section); }
.about-hero-row { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; margin: 32px 0 clamp(40px, 5vw, 72px); }
.about-hero-row .page-lead { margin: 0; }
.about-hero-facts { display: grid; gap: 6px; margin: 0; text-align: right; font-size: 14px; color: var(--muted); }
.about-hero-facts b { font-weight: 600; color: var(--ink); }
.about-hero-figure { position: relative; margin: 0; aspect-ratio: 2.4 / 1; max-height: 64svh; width: 100%; overflow: hidden; background: var(--ink); }
.about-hero-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 40px 22px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(10, 9, 8, 0.65));
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.two-col p { margin: 0 0 24px; font-size: 18px; color: var(--ink-soft); max-width: 44ch; }
/* Industries: centred words; the word nearest the screen centre lights up and
   a small thumbnail pops in to its right (see main.js). */
.industries { padding: var(--section) var(--gutter) 0; overflow-x: clip; }
.ind-head { max-width: 920px; margin: 0 auto; text-align: center; }
.ind-head .lede { margin: 28px auto 0; }
.ind-scroller { position: relative; }
.ind-list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 36svh 0 42svh; text-align: center; }
.ind-list li {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(10px, 2.2svh, 24px) 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 100px);
  line-height: 1;
  letter-spacing: -0.045em;
  transition: color 0.5s var(--ease);
}
.ind-num { padding-top: 0.5em; font-size: 12px;letter-spacing: 0.12em; color: var(--gold); opacity: 0; transition: opacity 0.5s; }
.ind-word { position: relative; display: inline-block; }
.ind-thumb {
  position: absolute;
  left: calc(100% + 0.3em);
  top: 50%;
  width: clamp(72px, 7vw, 124px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  opacity: 0;
  transform: translateY(-50%) scale(0.6) rotate(-4deg);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.ind-list li.is-active .ind-thumb { opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg); }
.js .ind-list li { color: rgba(244, 241, 234, 0.16); }
.js .ind-list li.is-active { color: var(--paper); }
.ind-list li.is-active .ind-num { opacity: 1; }
.name { padding: var(--section) var(--gutter); overflow: hidden; }
.name-word { line-height: 0; margin: 12px 0 40px; }
.name-word span { display: inline-block; font-family: var(--display);font-weight: 600; font-size: 20vw; line-height: 0.8; letter-spacing: -0.05em; white-space: nowrap; }
.name-word em { font-style: normal; color: var(--gold-ink); }
.name-note { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* Team page */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) 1fr; gap: clamp(28px, 5vw, 88px); align-items: center; padding: 0 var(--gutter) var(--section); }
.founder figure { margin: 0; }
.founder img { width: auto; height: auto; max-width: 100%; max-height: 80svh; }
.founder-role { display: block; margin: 12px 0 28px; font-size: 14px; font-weight: 600; color: var(--gold-ink); }
.founder p { max-width: 40ch; font-size: 18px; color: var(--ink-soft); margin: 0 0 32px; }
.team { background: var(--paper-2); padding: var(--section) var(--gutter); }
.team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.member-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #000; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.9); transition: transform 1.2s var(--ease), filter 0.6s; }
.member:hover .member-photo img { transform: scale(1.06); filter: grayscale(0.15) brightness(1); }
.member-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 9, 8, 0.35) 0%, transparent 25%, transparent 55%, rgba(10, 9, 8, 0.75) 100%); }
.member-index { position: absolute; z-index: 1; top: 12px; left: 12px; font-family: var(--display);font-size: 11px; letter-spacing: 0.12em; color: var(--paper); }
.member-detail {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--paper);
  background: rgba(18, 17, 15, 0.4);
  border: 1px solid rgba(244, 241, 234, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.member-loc { margin: 16px 0 4px; font-family: var(--display);font-size: 13px; color: var(--gold-ink); }
.member h3 { margin: 0; font-family: var(--display);font-weight: 500; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -0.02em; }
.member-role { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.team .split-intro { margin-bottom: clamp(40px, 5vw, 64px); }

/* Book page */
.sessions { padding: 0 var(--gutter) var(--section); }
.session-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.session {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: clamp(20px, 2.2vw, 32px);
  background: var(--card);
  border: 1px solid var(--line);
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s;
}
.session:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.session-top { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; }
.session-top span:first-child { font-family: var(--display);color: var(--gold-ink); }
.session:hover .session-top span:first-child { color: var(--gold); }
.session h3 { margin: 72px 0 14px; font-family: var(--display);font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; letter-spacing: -0.03em; }
.session p { margin: 0; color: var(--muted); max-width: 34ch; transition: color 0.45s; }
.session:hover p { color: rgba(244, 241, 234, 0.7); }
.session-bottom { margin-top: auto; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.session:hover .session-bottom { border-color: var(--line-light); }
.session-bottom strong { font-family: var(--display);font-weight: 500; font-size: 30px; letter-spacing: -0.03em; }
.session-bottom span { font-size: 13.5px; color: var(--muted); }
.session:hover .session-bottom span { color: rgba(244, 241, 234, 0.65); }
.session-cta { margin-top: 24px; display: inline-flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 18px; border: 1px solid currentColor; font-weight: 600; font-size: 14px; }
.session:hover .session-cta { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- Data grid (home): "Our numbers do the talking" ----------
   8 columns × 3 rows: brand column | title | four small stats,
   big stat, wide stat, an empty cell and the quote. */
.data { background: var(--ink); color: var(--paper); border-top: 1px solid rgba(244, 241, 234, 0.14); --dl: rgba(244, 241, 234, 0.14); }
.data-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(3, clamp(240px, 17vw, 340px)); }
.data-cell { position: relative; min-width: 0; margin: 0; padding: clamp(24px, 2.6vw, 52px) clamp(18px, 2.2vw, 44px); border-left: 1px solid var(--dl); border-bottom: 1px solid var(--dl); }
.data-brand { grid-column: 1 / 3; grid-row: 1 / 4; padding: 0; border-left: 0; overflow: hidden; }
.data-brand-track { display: flex; flex-direction: column; animation: data-rise 30s linear infinite; }
.db-pair { display: block; padding: 0 clamp(18px, 2.4vw, 44px) clamp(28px, 3vw, 52px); }
.db-pair img { display: block; width: 100%; height: auto; }
@keyframes data-rise { to { transform: translateY(-50%); } }
@keyframes data-slide { to { transform: translateX(-50%); } }
.data-title { grid-column: 3 / 5; grid-row: 1 / 3; }
.data-title .kicker { color: rgba(244, 241, 234, 0.55); }
.data-title h2 { margin: 0; font-family: var(--display);font-weight: 600; font-size: clamp(40px, 3.7vw, 80px); line-height: 0.92; letter-spacing: -0.045em; text-transform: uppercase; overflow-wrap: anywhere; }
.data-title h2 em { font-family: var(--serif); font-style: normal; font-weight: 350; letter-spacing: -0.02em; color: var(--gold); }
.data-s1 { grid-column: 5 / 6; grid-row: 1; }
.data-s2 { grid-column: 6 / 7; grid-row: 1; }
.data-s3 { grid-column: 7 / 8; grid-row: 1; }
.data-s4 { grid-column: 8 / 9; grid-row: 1; }
.data-big { grid-column: 5 / 7; grid-row: 2; display: flex; flex-direction: column; justify-content: center; padding-left: clamp(24px, 4.5vw, 90px); }
.data-wide { grid-column: 3 / 5; grid-row: 3; display: flex; flex-direction: column; justify-content: center; padding-left: clamp(24px, 6vw, 120px); }
.data-empty { grid-column: 5 / 7; grid-row: 3; }
.data-quote { grid-column: 7 / 9; grid-row: 2 / 4; display: flex; flex-direction: column; justify-content: center; padding-inline: clamp(20px, 3.4vw, 68px); }
.data-num { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(48px, 5vw, 104px); line-height: 0.9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.data-num sup { margin-left: 0.04em; font-size: 0.45em; vertical-align: top; color: var(--gold); }
.data-big .data-num { font-size: clamp(72px, 8.4vw, 170px); }
.data-wide .data-num { font-size: clamp(64px, 6.6vw, 136px); }
.data-label { margin: 18px 0 0; max-width: 14ch; font-family: var(--display);font-weight: 500; font-size: clamp(12px, 0.95vw, 18px); line-height: 1.15; text-transform: uppercase; color: rgba(244, 241, 234, 0.85); }
.data-quote blockquote { margin: 0; font-family: var(--display);font-weight: 600; font-size: clamp(20px, 1.8vw, 36px); line-height: 1.08; letter-spacing: -0.02em; text-transform: uppercase; }
.review-stage { display: grid; }
.review {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  filter: blur(6px);
  transform: translateY(8px);
  transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1), filter 500ms cubic-bezier(0.4, 0, 0.2, 1), transform 500ms cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 500ms;
}
.review.is-active { opacity: 1; visibility: visible; filter: blur(0); transform: none; transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1), filter 500ms cubic-bezier(0.4, 0, 0.2, 1), transform 500ms cubic-bezier(0.4, 0, 0.2, 1), visibility 0s; }
.review-nav { display: flex; align-items: center; gap: 8px; margin-top: clamp(28px, 3vw, 48px); }
.review-count { margin-right: auto; font-size: 13px; color: rgba(244, 241, 234, 0.6); font-variant-numeric: tabular-nums; }
.review-count b { font-weight: 600; color: var(--paper); }
.review-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(244, 241, 234, 0.3); border-radius: 50%; color: var(--paper); font-size: 16px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.review-btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.data-quote figcaption { margin-top: clamp(24px, 2.4vw, 40px); font-family: var(--display); font-weight: 500; font-size: clamp(12px, 0.95vw, 17px); text-transform: uppercase; color: rgba(244, 241, 234, 0.75); }

@media (max-width: 1199px) {
  .data-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
  .data-cell { grid-row: auto; min-height: clamp(170px, 24vw, 240px); }
  .data-brand { grid-column: 1 / -1; min-height: 0; height: clamp(150px, 22vw, 220px); }
  .data-brand-track { flex-direction: row; align-items: center; width: max-content; height: 100%; animation-name: data-slide; animation-duration: 40s; }
  .db-pair { display: flex; align-items: center; height: 100%; padding: 0 clamp(28px, 5vw, 64px) 0 0; }
  .db-pair img { width: auto; height: clamp(56px, 9vw, 96px); }
  .data-title { grid-column: 1 / -1; border-left: 0; min-height: 0; padding-block: clamp(40px, 7vw, 72px); }
  .data-s1, .data-s2, .data-s3, .data-s4 { grid-column: span 1; }
  .data-s1 { border-left: 0; }
  .data-big { grid-column: 1 / 3; border-left: 0; }
  .data-wide { grid-column: 3 / 5; }
  .data-empty { display: none; }
  .data-quote { grid-column: 1 / -1; border-left: 0; min-height: 0; padding-block: clamp(40px, 7vw, 72px); }
}
@media (max-width: 700px) {
  .data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .data-s3 { border-left: 0; }
  .data-big, .data-wide { grid-column: 1 / -1; border-left: 0; }
  .data-label { font-size: 12px; }
}

/* ---------- Page title style (About, Team): large title, serif accent, hand-drawn circle ---------- */
.work-eyebrow { margin: 0 0 22px; font-size: 15px; font-weight: 500; }
.work-title { margin: 0; max-width: 22ch; font-family: var(--display);font-weight: 500; font-size: clamp(40px, 5.6vw, 90px); line-height: 1.05; letter-spacing: -0.035em; }
.serif { font-family: var(--serif); font-weight: 350; letter-spacing: -0.015em; }
.circled { position: relative; display: inline-block; }
.circled svg { position: absolute; left: -9%; top: -16%; width: 118%; height: 138%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) 0.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Dark sections ----------
   Re-maps the colour tokens so existing components read on ink. */
.dark {
  --line: rgba(244, 241, 234, 0.14);
  --muted: rgba(244, 241, 234, 0.58);
  --ink-soft: rgba(244, 241, 234, 0.78);
  --gold-ink: var(--gold);
  background: var(--ink);
  color: var(--paper);
}
.dark .why-list, .dark .flow-list, .dark ul { border-top-color: rgba(244, 241, 234, 0.45); }
.why.dark { border-top: 1px solid var(--line); }
.flow.dark { border-top: 1px solid var(--line); }
.page-hero.dark { padding-bottom: clamp(72px, 9vw, 140px); }
.page-hero.dark + .founder, .page-hero.dark + .sessions { padding-top: var(--section); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(6, 1fr); }
  .member { grid-column: span 2; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .flow-list li, .flow-list li + li { padding: 20px 0 32px; border-left: 0; border-bottom: 1px solid var(--line); }
  .flow-list li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .flow-list h3 { margin-top: 40px; }
}
@media (max-width: 900px) {
  .nav-left, .nav-right .pill { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .brand { justify-self: start; grid-column: 1; grid-row: 1; }
  .nav-right { grid-column: 2; }
  .brand img { height: 34px; }
  .split-intro, .why, .contact, .svc-hero-grid, .two-col, .industries, .name-note, .founder, .menu-body, .locale-bottom, .about-hero-row { grid-template-columns: 1fr; }
  .about-hero-facts, .locale-meta { text-align: left; }
  .about-hero-figure { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat dd { margin-top: 36px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .svc-row { grid-template-columns: 48px 1fr; }
  .svc-row .chips { grid-column: 2; }
  .session-grid { grid-template-columns: 1fr; }
  .session { min-height: 0; }
  .session h3 { margin-top: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .member { grid-column: span 1; }
  .menu-body { align-items: start; gap: 32px; }
  .menu-label { display: none; }
  .menu-top { grid-template-columns: auto 1fr; }
  .menu-top .brand { justify-self: start; }
  .svc-hero { min-height: 0; gap: 48px; }
  .statement-copy { margin-left: 0; }
  .hero-copyright { display: none; }
}
@media (max-width: 560px) {
  .dock-btn:not(.dock-menu) { padding: 0 14px; font-size: 13px; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .why-list { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-nav .brand { display: none; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .route { flex-direction: column; align-items: flex-start; }
  .route-line { flex: none; width: 1px; height: 18px; margin: 6px 0 6px 4px; }
  .route-line::after { display: none; }
  .about-hero-figure figcaption { flex-direction: column; gap: 2px; }
  .hero-foot { bottom: calc(var(--gutter) + 64px); }
  .svc-image { aspect-ratio: 4 / 3; }
}

/* Phones: services stack as compact cards instead of scrolling sideways */
@media (max-width: 700px) {
  .locale-media::after { background: linear-gradient(180deg, rgba(10, 9, 8, 0.7) 0%, rgba(10, 9, 8, 0.45) 35%, rgba(10, 9, 8, 0.6) 55%, rgba(10, 9, 8, 0.92) 100%); }
  .rail { margin-inline: 0; }
  .rail-track { display: grid; gap: 10px; padding: 0; overflow: visible; scroll-snap-type: none; cursor: auto; }
  .rail-controls { display: none; }
  .cap-card { display: grid; grid-template-columns: 40% 1fr; min-height: 168px; }
  .cap-card-img { order: -1; aspect-ratio: auto; height: 100%; }
  .cap-card-tags { display: none; }
  .cap-card-top { min-height: 0; gap: 12px; padding: 14px 16px; }
  .cap-card-copy h3 { font-size: 22px; }
  .cap-card-copy p { font-size: 13px; }
  .cap-arrow { opacity: 1; transform: none; width: 32px; height: 32px; font-size: 15px; }
}

@media (max-width: 700px) {
  .ind-list li { flex-direction: column; align-items: center; gap: 8px; }
  .ind-num { padding-top: 0; }
  .ind-list li { position: relative; }
  .ind-word { position: static; }
  .ind-thumb { left: auto; right: 0; width: 64px; z-index: -1; }
}

/* Phones: larger hero caption on two lines ("Built to be" / "remembered."), 16px above the pinned buttons */
@media (max-width: 700px) {
  .hero-caption { left: var(--gutter); right: var(--gutter); bottom: calc(var(--gutter) + 62px); max-width: none; }
  .hero-caption .tag { font-size: 13px; white-space: nowrap; }
  .hero-caption p { margin-top: 14px; font-size: clamp(48px, 14.5vw, 84px); line-height: 0.92; }
  .br-phone { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .statement .w { opacity: 1; }
  .js .hero { height: auto; }
  .circled path { stroke-dashoffset: 0; }
  .js .hero-sticky { position: relative; }
}
