/* ═══════════════════════════════════════════════════════════════
   ARBAB — obsidian & bone, gold where it counts
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Syne'; src: url('fonts/syne-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Syne'; src: url('fonts/syne-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Syne'; src: url('fonts/syne-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Syne'; src: url('fonts/syne-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --black: #030303;
  --bone: #F5F2EB;
  --bone-dim: rgba(245, 242, 235, 0.55);
  --bone-faint: rgba(245, 242, 235, 0.28);
  --hairline: rgba(245, 242, 235, 0.14);
  --gold: #D4AF37;
  --gold-dim: rgba(212, 175, 55, 0.45);
  --gold-faint: rgba(212, 175, 55, 0.18);
  --display: 'Syne', sans-serif;
  --serif: 'Instrument Serif', serif;
  --pad: clamp(20px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--black); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

::selection { background: var(--bone); color: var(--black); }

.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.serif { font-family: var(--serif); font-weight: 400; }

/* ═══ Cursor — gold dot + trailing ring ═══ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 1000;
  opacity: 0; will-change: transform;
}
.cursor-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); margin: -3.5px 0 0 -3.5px;
}
.cursor-ring {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.65);
  margin: -19px 0 0 -19px;
  display: flex; align-items: center; justify-content: center;
  transition: width .35s cubic-bezier(.22,1,.36,1), height .35s cubic-bezier(.22,1,.36,1),
              margin .35s cubic-bezier(.22,1,.36,1), border-color .3s, background-color .3s;
}
.cursor-label {
  font-family: var(--display); font-weight: 700; font-size: 10px;
  letter-spacing: .18em; color: var(--gold); opacity: 0;
  transition: opacity .25s;
}
.cursor-ring.is-hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.cursor-ring.is-view {
  width: 86px; height: 86px; margin: -43px 0 0 -43px;
  background: rgba(3, 3, 3, 0.55); border-color: var(--gold);
  backdrop-filter: blur(3px);
}
.cursor-ring.is-view .cursor-label { opacity: 1; }

/* ═══ Grain ═══ */
.grain {
  position: fixed; inset: -60px; z-index: 900; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.1s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); } 25% { transform: translate(-28px, 16px); }
  50% { transform: translate(18px, -22px); } 75% { transform: translate(-12px, -14px); }
  100% { transform: translate(0, 0); }
}

/* ═══ Chapter readout ═══ */
.chapter-readout {
  position: fixed; left: var(--pad); bottom: 26px; z-index: 800;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
  mix-blend-mode: difference;
}
.chapter-name {
  font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bone-dim);
}
.chapter-track { display: block; width: 128px; height: 1px; background: var(--hairline); }
.chapter-bar { display: block; width: 0%; height: 100%; background: var(--bone); }

/* ═══ Header ═══ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 850;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--pad); mix-blend-mode: difference;
}
.lockup { display: flex; align-items: center; gap: 11px; color: var(--bone); text-decoration: none; }
/* "Le Pli" mark — square field, so it sits optically level with the wordmark cap-height */
.lockup-mark { width: 20px; height: 20px; display: block; flex: none; }
.lockup-word {
  font-weight: 700; font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
}
.site-nav { display: flex; gap: clamp(14px, 2.2vw, 38px); align-items: center; }
.site-nav a {
  color: var(--bone-dim); text-decoration: none; font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; transition: color .3s;
  padding: 12px 2px;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--bone); }
.site-nav .nav-cta { border: 1px solid var(--hairline); padding: 11px 20px; border-radius: 99px; color: var(--bone); }
.site-nav .nav-cta:hover { border-color: var(--bone); }

/* ═══ HERO — the particle crown ═══ */
.hero-driver { height: 320vh; position: relative; }
.hero-stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.crown-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 1100px); height: min(60vh, 560px);
  background: radial-gradient(50% 50% at 50% 50%, rgba(212,175,55,.30), rgba(212,175,55,.08) 55%, transparent 75%);
  opacity: 0; pointer-events: none; z-index: 2; will-change: opacity;
}
.hero-content {
  position: relative; z-index: 3; text-align: center; width: 100%;
  padding: 0 var(--pad); will-change: opacity;
}
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: 11px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
  color: var(--bone-dim); margin-bottom: clamp(14px, 2.5vh, 30px);
}
.hero-eyebrow .rule { display: inline-block; width: clamp(24px, 4vw, 64px); height: 1px; background: var(--hairline); }
.hero-title {
  font-weight: 800; line-height: .93; letter-spacing: -0.015em;
  font-size: clamp(44px, 12.4vw, 182px);
  display: flex; flex-direction: column; align-items: center;
  text-shadow: 0 2px 60px rgba(3,3,3,.55);
}
.hero-line { display: block; overflow: hidden; white-space: nowrap; }
.hero-line .char { display: inline-block; will-change: transform; }
.hero-manifesto {
  margin-top: clamp(18px, 3.2vh, 36px);
  font-size: clamp(17px, 1.9vw, 26px); color: var(--bone);
  min-height: 1.6em; letter-spacing: .01em;
}
.caret {
  display: inline-block; width: 1px; height: 1em; background: var(--bone);
  vertical-align: -0.15em; margin-left: 3px; animation: caret-blink 1.05s steps(1) infinite;
}
@keyframes caret-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 var(--pad);
  font-size: 10px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--bone-dim);
}
/* a spacer each side of the scroll cue keeps it optically centred at any width */
.hero-foot-spacer { flex: 1; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; letter-spacing: .3em; }
.scroll-cue-line {
  display: block; width: 1px; height: 44px;
  background: linear-gradient(var(--bone), transparent);
  animation: cue-drop 2s cubic-bezier(.65,0,.35,1) infinite;
  transform-origin: top;
}
@keyframes cue-drop { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ═══ Kinetic Manifesto ═══ */
.manifesto-driver { height: 400vh; position: relative; background: var(--black); }
.manifesto-stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.manifesto-eyebrow {
  position: absolute; top: clamp(84px, 12vh, 130px); left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 500; letter-spacing: .38em; text-transform: uppercase; color: var(--bone-dim);
}
.manifesto-words { position: relative; width: 100%; text-align: center; }
.slam-word {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  font-weight: 800; font-size: clamp(30px, 6.8vw, 130px); line-height: 1;
  letter-spacing: -0.01em; opacity: 0; will-change: transform, opacity, filter;
  white-space: nowrap;
}
.slam-word .serif-i { font-size: 1.05em; }
.manifesto-flash { position: absolute; inset: 0; background: var(--bone); opacity: 0; pointer-events: none; }
.manifesto-count {
  position: absolute; bottom: clamp(48px, 8vh, 80px); left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 500; letter-spacing: .3em; color: var(--bone-dim);
}

/* ═══ Sections shared ═══ */
.section-head { padding: 0 var(--pad); margin-bottom: clamp(40px, 7vh, 90px); }
.section-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--bone-dim); margin-bottom: 18px;
}
.section-eyebrow .dim { color: var(--bone-faint); letter-spacing: .2em; }
.section-title {
  font-weight: 800; font-size: clamp(38px, 7.2vw, 108px); line-height: .98; letter-spacing: -0.015em;
}
.section-title .serif-i { font-size: 1.04em; letter-spacing: 0; }
.section-sub { margin-top: 16px; font-size: clamp(17px, 1.6vw, 22px); color: var(--bone-dim); }

/* ═══ The Work ═══ */
.work { padding: clamp(90px, 16vh, 190px) 0 clamp(70px, 12vh, 150px); }
.work-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 36px); padding: 0 var(--pad);
}
.work-card {
  position: relative; border: 1px solid var(--hairline); border-radius: 14px;
  padding: clamp(22px, 2.6vw, 40px);
  min-height: clamp(360px, 44vw, 520px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
  overflow: hidden; isolation: isolate; background: #070706;
  transition: border-color .4s; outline: none; will-change: transform;
}
.work-card:hover, .work-card:focus-visible, .work-card.is-open { border-color: rgba(245,242,235,.4); }
.work-card > * { position: relative; z-index: 2; }

/* the showreel reveal — gallery wall dollying past */
.reel {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  opacity: 0; transform: scale(1.08);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform 1.1s cubic-bezier(.22,1,.36,1);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(245,242,235,.06), transparent 60%),
    linear-gradient(180deg, #0b0a08, #050504);
}
.work-card:hover .reel, .work-card:focus-visible .reel, .work-card.is-open .reel { opacity: 1; transform: scale(1); }
.reel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,3,3,.1) 30%, rgba(3,3,3,.88) 92%);
}
.reel-track {
  position: absolute; top: 50%; left: 0; transform: translateY(-58%);
  display: flex; align-items: center; gap: 26px; width: max-content;
  padding-left: 26px;
  animation: dolly 16s linear infinite; animation-play-state: paused;
}
.work-card:hover .reel-track, .work-card:focus-visible .reel-track, .work-card.is-open .reel-track { animation-play-state: running; }
@keyframes dolly { to { transform: translate(-50%, -58%); } }
.phone {
  width: 118px; height: 236px; border-radius: 20px; flex: none;
  border: 1px solid rgba(245,242,235,.22); padding: 7px; background: #0a0908;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 12px;
}
.sheen-a { background: linear-gradient(200deg, #2b2417 0%, #0c0a07 55%, #141210 100%); }
.sheen-b { background: linear-gradient(160deg, #1c1e22 0%, #08090b 60%, #101013 100%); }
.sheen-c { background: linear-gradient(215deg, #241a1a 0%, #0b0808 55%, #131010 100%); }
.phone-screen::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(245,242,235,.12) 48%, transparent 62%);
  transform: translateX(-120%); animation: sheen 3.4s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.ph-metric { font-weight: 800; font-size: 24px; letter-spacing: -0.01em; line-height: 1; }
.ph-cap { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); margin-top: 5px; }
.ph-ui {
  position: absolute; top: 12px; left: 12px; right: 12px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(245,242,235,.55) 40%, rgba(245,242,235,.12) 40%);
}
.poster {
  width: 168px; height: 208px; flex: none; border-radius: 8px;
  border: 1px solid rgba(245,242,235,.16);
  background: linear-gradient(180deg, #100e0a, #070605);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.po-big { font-weight: 800; font-size: 40px; letter-spacing: -0.02em; }
.po-cap { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--bone-dim); }

.work-meta { display: flex; align-items: flex-end; gap: 20px; }
.work-index { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--bone-faint); padding-bottom: 6px; }
.work-titles { flex: 1; }
.work-titles h3 { font-weight: 800; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -0.01em; }
.work-kind { font-size: clamp(15px, 1.3vw, 19px); color: var(--bone-dim); margin-top: 4px; }
.work-stat { text-align: right; }
.stat-num { display: block; font-weight: 800; font-size: clamp(22px, 2vw, 30px); line-height: 1; }
.stat-cap { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); margin-top: 6px; max-width: 130px; }
.work-blurb { font-family: var(--serif); font-size: clamp(15px, 1.25vw, 18px); color: var(--bone-dim); max-width: 46ch; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags span {
  font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--hairline); border-radius: 99px; padding: 6px 12px; color: var(--bone-dim);
}

/* "Add More Case Studies" — paginated loader button */
.more-cases-row {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: clamp(36px, 6vh, 64px) var(--pad) 0;
}
.more-cases {
  position: relative; overflow: hidden; isolation: isolate;
  width: 200px; min-height: 52px; padding: 15px 18px;
  font-family: var(--display); font-weight: 700; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone); background: var(--black);
  border: 1px solid var(--gold); border-radius: 99px;
  cursor: pointer;
  transition: background-color .45s cubic-bezier(.22,1,.36,1), color .45s cubic-bezier(.22,1,.36,1);
}
.more-cases:hover:not(:disabled), .more-cases:focus-visible {
  background: var(--gold); color: var(--black);
  outline: none;
}
.more-cases:disabled { opacity: .38; cursor: default; }

/* ══ MEASUREMENT + FOUNDER'S NOTE ══════════════════════════════════════
   These two sections stand in for the case-study grid and the testimonial
   row, whose clients and quotes were placeholder copy. The .work-* and
   .testament-* rules above are intentionally kept so that markup can be
   restored from git history without rebuilding its styling. ══ */
.measure { padding: clamp(90px, 16vh, 190px) 0 clamp(70px, 12vh, 150px); }
.measure-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 70px); padding: 0 var(--pad);
}
.measure-item { border-top: 1px solid var(--hairline); padding-top: 22px; }
.m-num {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .24em;
  color: var(--gold); margin-bottom: 14px;
}
.measure-item h3 {
  font-weight: 800; font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 12px;
}
.measure-item p {
  font-family: var(--serif); font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.5; color: var(--bone-dim); max-width: 44ch;
}
.measure-note {
  padding: clamp(46px, 7vh, 84px) var(--pad) 0; text-align: center;
  font-size: clamp(15px, 1.3vw, 19px); color: var(--bone-faint);
}

.founder-note {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--hairline);
  padding: clamp(90px, 16vh, 190px) 0 clamp(70px, 12vh, 150px);
}
/* sits above #city, which fills the section via .city-canvas */
.fn-inner { position: relative; z-index: 2; max-width: 74ch; margin: 0 auto; padding: 0 var(--pad); }
.founder-note .section-head { text-shadow: 0 2px 30px rgba(3,3,3,.8); }
.fn-quote { display: flex; flex-direction: column; gap: clamp(18px, 2.4vh, 30px); }
.fn-quote p {
  font-size: clamp(19px, 2vw, 30px); line-height: 1.42; color: var(--bone);
}
.fn-sign {
  margin-top: clamp(34px, 5vh, 56px); padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.fn-name { font-size: clamp(19px, 1.8vw, 26px); color: var(--gold); }
.fn-role {
  font-size: 11px; font-weight: 500; letter-spacing: .24em;
  text-transform: uppercase; color: var(--bone-dim);
}

@media (max-width: 760px) {
  .measure-grid { grid-template-columns: 1fr; gap: 30px; }
}
.more-cases .ripple-ink {
  position: absolute; z-index: -1; width: 12px; height: 12px;
  margin: -6px 0 0 -6px; border-radius: 50%;
  background: rgba(212, 175, 55, 0.45); pointer-events: none;
  animation: ink-out .65s ease-out forwards;
}
@keyframes ink-out {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(28); opacity: 0; }
}
.more-cases-status {
  min-height: 1.4em; font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--bone-dim); text-align: center;
}

/* ═══ Services — preserved, gold counter badges ═══ */
.services {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 80px);
  padding: clamp(90px, 16vh, 190px) var(--pad);
  border-top: 1px solid var(--hairline);
}
.services-sticky { position: sticky; top: clamp(90px, 14vh, 150px); }
.services-lede { margin-top: 26px; font-size: clamp(18px, 1.7vw, 24px); color: var(--bone-dim); max-width: 34ch; }
.services-note {
  margin-top: 34px; font-size: 11px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--bone-faint); max-width: 30ch; line-height: 2;
}
.service {
  display: flex; gap: clamp(18px, 2.4vw, 40px);
  padding: clamp(34px, 5vh, 60px) 0; border-top: 1px solid var(--hairline);
}
.service:last-child { border-bottom: 1px solid var(--hairline); }

.service-badge {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; letter-spacing: .08em;
}
.service-body h3 { font-weight: 800; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -0.01em; }
.service-body .serif { margin-top: 16px; font-size: clamp(16px, 1.4vw, 20px); color: var(--bone-dim); max-width: 56ch; }
.service-points { margin-top: 22px; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.service-points li {
  font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--hairline); border-radius: 99px; padding: 7px 14px; color: var(--bone-dim);
}

/* ═══ Testaments — glowing panels over a constellation field ═══ */
.testaments { position: relative; overflow: hidden; border-top: 1px solid var(--hairline); }
.city-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.testaments-inner { position: relative; z-index: 2; padding: clamp(90px, 16vh, 190px) 0; }
.testaments .section-head.on-film { text-shadow: 0 2px 30px rgba(3,3,3,.8); }
.testament-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 40px; padding: 0 var(--pad);
}
/* minimalist panels: transparent over the constellation, gold outline on hover */
.testament {
  position: relative; border: 1px solid rgba(212, 175, 55, 0.10); border-radius: 8px;
  padding: 32px; background: transparent;
  display: flex; flex-direction: column; gap: 18px; min-height: 210px;
  transition: border-color .3s ease-in-out, box-shadow .3s ease-in-out, transform .3s ease-in-out;
}
.testament::before {
  content: '\201C';
  font-family: var(--serif); font-size: 54px; line-height: .6;
  color: var(--gold-dim);
}
.testament:hover {
  border-color: var(--gold-dim);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.10);
  transform: translateY(-4px);
}
.testament blockquote {
  font-size: clamp(16px, 1.5vw, 22px); line-height: 1.55; color: var(--bone);
  border: 0; flex: 1;
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.t-divider {
  display: block; width: 40px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s ease-in-out .25s;
}
.testament figcaption {
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease-in-out .35s, transform .5s ease-in-out .35s;
}
.t-name {
  font-family: var(--display); font-weight: 500; font-size: 14px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold);
}
.t-role {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--bone-dim);
}
.testament.is-in blockquote, .testament.is-in figcaption { opacity: 1; transform: translateY(0); }
.testament.is-in .t-divider { transform: scaleX(1); }
html.reduced .testament blockquote, html.reduced .testament figcaption { opacity: 1; transform: none; transition: none; }
html.reduced .t-divider { transform: scaleX(1); transition: none; }
/* 3 + 2 layout: last two panels centred on the second row */
.testament { grid-column: span 2; }
.testament:nth-child(4) { grid-column: 2 / 4; }
.testament:nth-child(5) { grid-column: 4 / 6; }

/* ═══ Process Reimagined ═══ */
.process-driver { height: 380vh; position: relative; border-top: 1px solid var(--hairline); }
.process-driver.is-static { height: auto; }
.process-stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.process-driver.is-static .process-stage {
  position: static; height: auto; padding: clamp(90px, 16vh, 190px) 0;
}
.process-head { margin-bottom: clamp(30px, 5vh, 70px); }
.process-rail { position: relative; padding: 0 var(--pad); will-change: transform; }
.process-thread {
  position: absolute; left: 0; right: 0; top: clamp(28px, 4vh, 44px);
  width: 100%; height: 80px; overflow: visible;
}
.process-steps {
  position: relative; list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 30px);
}
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.node {
  position: relative; width: clamp(72px, 8vw, 110px); height: clamp(88px, 10vw, 132px);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: clamp(18px, 3vh, 34px);
}
.crystal {
  width: 60%; height: auto; display: block;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.12));
  opacity: .5; transform: scale(.86);
  transition: opacity .6s, transform .8s cubic-bezier(.22,1,.36,1), filter .6s;
  will-change: transform;
}
.process-step.is-active .crystal, .process-step.is-past .crystal { opacity: 1; }
.process-step.is-active .crystal {
  transform: scale(1.12);
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.55));
  animation: crystal-float 3.4s ease-in-out infinite;
}
@keyframes crystal-float {
  0%, 100% { transform: scale(1.12) translateY(0) rotate(0deg); }
  50% { transform: scale(1.12) translateY(-7px) rotate(2deg); }
}
.ripple {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 20px;
  margin: -10px 0 0 -10px; border-radius: 50%;
  border: 1px solid var(--gold-dim); opacity: 0; pointer-events: none;
}
.process-step.is-active .ripple { animation: ripple-out 2.2s cubic-bezier(.2,.7,.4,1) infinite; }
.process-step.is-active .ripple.r2 { animation-delay: 1.1s; }
@keyframes ripple-out {
  0% { opacity: .8; transform: scale(.6); }
  100% { opacity: 0; transform: scale(5.2); }
}
.vignette {
  opacity: .22; transform: translateY(14px);
  transition: opacity .7s, transform .8s cubic-bezier(.22,1,.36,1);
  max-width: 30ch;
}
.process-step.is-active .vignette { opacity: 1; transform: translateY(0); }
.process-step.is-past .vignette { opacity: .5; transform: translateY(0); }
.step-num { font-size: 11px; font-weight: 700; letter-spacing: .3em; color: var(--gold); margin-bottom: 10px; }
.vignette h3 { font-weight: 800; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.01em; }
.vignette-copy { margin-top: 12px; font-size: clamp(14.5px, 1.15vw, 17.5px); line-height: 1.6; color: var(--bone-dim); }
.process-count {
  text-align: center; margin-top: clamp(28px, 5vh, 60px);
  font-size: 11px; font-weight: 500; letter-spacing: .3em; color: var(--bone-dim);
}
.process-driver.is-static .process-count { display: none; }

/* ═══ FAQ — Insights ═══ */
.faq { padding: clamp(90px, 16vh, 190px) 0; border-top: 1px solid var(--hairline); }
.faq-list { padding: 0 var(--pad); max-width: 1080px; }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-q {
  position: relative; width: 100%; min-height: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 3vh, 34px) 0;
  background: none; border: 0; color: var(--bone); text-align: left;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(17px, 1.7vw, 25px); letter-spacing: -0.005em;
  cursor: pointer; transition: color .3s;
}
.faq-q:hover, .faq-q:focus-visible { color: var(--gold); outline: none; }
/* gold underline sweep */
.faq-q::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--gold), rgba(212,175,55,.15));
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.faq-q:hover::after, .faq-item.is-open .faq-q::after { transform: scaleX(1); }
.faq-icon {
  flex: none; position: relative; width: 16px; height: 16px;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: currentColor;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.faq-icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item.is-open .faq-icon::after { transform: scaleY(0); }
.faq-item.is-open .faq-icon::before { transform: rotate(180deg); }
.faq-a-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .6s cubic-bezier(.22,1,.36,1);
}
.faq-item.is-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { overflow: hidden; }
.faq-a p {
  padding: 4px 0 clamp(24px, 3.4vh, 38px);
  max-width: 68ch; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65;
  color: var(--bone-dim);
  opacity: 0; transform: translateY(8px);
  transition: opacity .55s ease .12s, transform .55s cubic-bezier(.22,1,.36,1) .12s;
}
.faq-item.is-open .faq-a p { opacity: 1; transform: translateY(0); }

/* ═══ Footer ═══ */
.footer { position: relative; border-top: 1px solid var(--hairline); padding: clamp(90px, 15vh, 180px) var(--pad) 0; overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
.footer-title { position: relative; font-weight: 800; font-size: clamp(48px, 9.5vw, 150px); line-height: .95; letter-spacing: -0.02em; padding-bottom: 22px; }
.footer-line { display: block; overflow: hidden; }
.footer-line .char { display: inline-block; will-change: transform; }
.footer-title .serif-line { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.02em; }
.title-underline {
  position: absolute; left: 2px; bottom: 0; height: 2px; width: min(100%, 9.2em);
  background: linear-gradient(90deg, var(--gold), rgba(212,175,55,.1));
  transform: scaleX(0); transform-origin: left; will-change: transform;
}

.footer-cta {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid var(--bone); border-radius: 99px;
  padding: clamp(18px, 2vw, 26px) clamp(28px, 3vw, 44px);
  color: var(--bone); text-decoration: none; overflow: hidden; isolation: isolate;
  font-weight: 700; font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .16em; text-transform: uppercase;
  transition: color .45s cubic-bezier(.22,1,.36,1), border-color .45s;
  margin-bottom: 14px; will-change: transform;
}
.footer-cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--gold); border-radius: 99px;
  transform: translateY(101%);
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.footer-cta:hover, .footer-cta:focus-visible { color: var(--black); border-color: var(--gold); }
.footer-cta:hover::before, .footer-cta:focus-visible::before { transform: translateY(0); }
.cta-arrow { width: 20px; height: 20px; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.footer-cta:hover .cta-arrow { transform: translateX(6px); }

.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: clamp(70px, 11vh, 130px);
  padding: clamp(40px, 6vh, 70px) 0;
  border-top: 1px solid var(--hairline);
}
.footer-label { font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--bone-faint); margin-bottom: 18px; }
.footer-block { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-block a, .footer-block span { color: var(--bone-dim); text-decoration: none; font-size: 14.5px; letter-spacing: .02em; transition: color .3s; padding: 2px 0; }
.footer-block a:hover { color: var(--gold); }
/* MENU runs as two shorter columns so the three footer blocks balance:
   column-flow fills top-to-bottom (4 then 3) rather than snaking across rows. */
.menu-links {
  display: grid; grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 10px clamp(20px, 2.4vw, 40px);
  justify-content: start;
}
.socials { display: flex; gap: 14px; }
.socials a {
  width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--bone-dim);
  transition: color .3s, border-color .3s, box-shadow .3s;
}
.socials a:hover, .socials a:focus-visible {
  color: var(--gold); border-color: var(--gold-dim);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.22);
}
.socials svg { width: 18px; height: 18px; }

/* attribution: copyright left, founder credit + portrait right */
.footer-attribution {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  padding: 26px 0 clamp(120px, 16vw, 240px);
  border-top: 1px solid var(--hairline);
}
.attr-left { display: flex; flex-direction: column; gap: 6px; }
.attr-left > span:first-child {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-faint);
}
.attr-tagline { font-size: 15px; color: var(--bone-dim); }
.attr-right { display: flex; align-items: center; gap: 16px; }
.founder-credit { font-size: 13px; letter-spacing: .04em; color: var(--bone-dim); }
.founder-credit em { font-style: italic; font-size: 16px; color: var(--bone); }
.founder-pic {
  position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gold); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(70% 70% at 50% 40%, #14100a, #060504);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.14);
  transition: box-shadow .4s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
.founder-pic:hover { box-shadow: 0 0 26px rgba(212, 175, 55, 0.34); transform: scale(1.06); }
.founder-pic svg, .founder-pic img { width: 100%; height: 100%; display: block; }
/* Square head-and-shoulders crop: plain cover, biased slightly up so the
   face lands on the circle's optical centre rather than dead centre. */
.founder-pic img {
  position: absolute; inset: 0; object-fit: cover; object-position: 50% 28%;
  opacity: 0; transition: opacity .5s ease;
}
/* Uncropped portrait (a tall phone shot): main.js tags it .is-tall and we
   zoom and pan onto the subject's face, so no manual cropping is needed.
   Tuned for the founder photo: head just left of centre, high in frame.
   To re-aim, raise --pic-zoom to tighten; nudge --pic-x / --pic-y to pan. */
.founder-pic.is-tall img {
  /* Measured against the real 720x952 photo: holds the face centred while
     cropping to head-and-shoulders. Raise zoom to tighten; the x/y offsets
     must move with it (x = 50 - faceX*zoom/7.2, y = 50 - faceY*zoom/7.2). */
  --pic-zoom: 4.3;
  --pic-x: -85.6%;
  --pic-y: -129.2%;
  inset: auto; height: auto;
  width: calc(var(--pic-zoom) * 100%);
  left: var(--pic-x); top: var(--pic-y);
  object-fit: unset;
}
/* monogram holds the slot until the photo actually loads — never a broken image */
.founder-pic.img-ok img { opacity: 1; }
.founder-pic.img-ok .founder-fallback { display: none; }
.footer-watermark {
  position: absolute; left: 50%; bottom: -0.14em; transform: translateX(-50%);
  font-weight: 800; font-size: clamp(90px, 13.2vw, 220px); letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(245,242,235,.09);
  white-space: nowrap; pointer-events: none; line-height: 1;
}

/* ═══ Reveal defaults (JS animates in) ═══ */
[data-reveal] { opacity: 0; transform: translateY(46px); will-change: transform, opacity; }
html.no-js [data-reveal], html.reduced [data-reveal] { opacity: 1; transform: none; }

/* ═══ Responsive — tablet ═══ */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .more-cases { width: 240px; }
  /* footer: ENQUIRIES + MENU share the row, CHANNELS sits alone below */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-channels { grid-column: 1 / -1; }
  /* Testaments become a swipe carousel */
  .testament-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-bottom: 10px; gap: 24px;
  }
  .testament-row::-webkit-scrollbar { display: none; }
  .testament { flex: 0 0 min(74vw, 420px); scroll-snap-align: center; }
  .process-steps { gap: 10px; }
}

/* ═══ Responsive — mobile ═══ */
@media (max-width: 720px) {
  .services { grid-template-columns: 1fr; }
  .services-sticky { position: static; }
  .site-nav a:not(.nav-cta) { display: none; }
  .service { flex-direction: column; }
  .work-grid { grid-template-columns: 1fr; }
  .more-cases { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-block { align-items: center; text-align: center; }
  /* two columns still, but centred — keeps the mobile footer short */
  .menu-links { justify-content: center; gap: 10px 28px; }
  .footer-attribution { flex-direction: column; align-items: center; text-align: center; }
  .attr-left { align-items: center; }
  .founder-pic { width: 44px; height: 44px; }
  .cursor-dot, .cursor-ring { display: none; }
  .testament { flex: 0 0 84vw; padding: 20px; }
  .testament-row { gap: 16px; }
  .about-inner { padding-left: 16px; padding-right: 16px; }
  .about-body { gap: 18px; }
  /* Process stacks vertically — golden thread runs down the left.
     The horizontal thread SVG stays in the DOM (its <defs> feed the
     crystal gradients) but is collapsed invisible. */
  .process-driver { height: auto; }
  .process-stage { position: static; height: auto; padding: clamp(80px, 14vh, 150px) 0; }
  .process-thread { opacity: 0; height: 0; }
  .process-steps {
    grid-template-columns: 1fr; gap: 0;
    position: relative; margin-left: 8px;
  }
  .process-steps::before {
    content: ''; position: absolute; left: 36px; top: 0; bottom: 0; width: 1px;
    background: linear-gradient(180deg, var(--gold-faint), var(--gold-dim), var(--gold-faint));
  }
  .process-step {
    flex-direction: row; align-items: flex-start; text-align: left;
    gap: 22px; padding: 26px 0;
  }
  .node { width: 72px; height: 88px; margin-bottom: 0; flex: none; }
  .vignette { max-width: none; padding-top: 8px; }
  .process-count { display: none; }
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-cue-line, .caret { animation: none; }
  .reel-track { animation: none; }
  .phone-screen::before { animation: none; }
  .process-step.is-active .crystal, .process-step.is-active .ripple { animation: none; }
  .cursor-dot, .cursor-ring { display: none; }
  html { scroll-behavior: auto; }
}

/* ═══ About Us — over drifting gradient waves ═══ */
.about { position: relative; overflow: hidden; border-top: 1px solid var(--hairline); }
.waves-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.about-inner {
  position: relative; z-index: 2;
  padding: clamp(90px, 15vh, 170px) var(--pad);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.about-head { margin-bottom: clamp(28px, 5vh, 48px); }
.about-sub {
  transition: color .3s ease-in-out, text-shadow .3s ease-in-out;
}
.about-sub:hover, .about-sub:active {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.45);
}
.about-body { max-width: 800px; display: flex; flex-direction: column; gap: 28px; }
.about-body p {
  font-size: clamp(17px, 1.7vw, 24px); line-height: 1.75; color: var(--bone);
}
@media (max-width: 1024px) {
  .about-body { max-width: 600px; }
  .about-inner { padding-top: 24px; padding-bottom: 64px; }
}

/* ═══════════════════════════════════════════════════════════════
   SUBPAGES — case-studies.html · contact.html · thank-you.html
   ═══════════════════════════════════════════════════════════════ */
body.subpage { animation: page-in .7s ease both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
html.reduced body.subpage { animation: none; }

.subpage-main { padding-top: 120px; min-height: 72vh; }
.subpage-footbar {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 26px var(--pad) 40px;
  border-top: 1px solid var(--hairline); margin-top: clamp(60px, 10vh, 120px);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-faint);
}
.subpage-footbar a { color: var(--bone-dim); text-decoration: none; transition: color .3s; }
.subpage-footbar a:hover { color: var(--gold); }

/* generic reveal used by page.js (no GSAP on subpages) */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .8s ease-out, transform .8s ease-out; }
.rv.is-in { opacity: 1; transform: translateY(0); }
html.reduced .rv { opacity: 1; transform: none; transition: none; }

/* ═══ Case Studies page ═══ */
.cs-hero { padding: clamp(30px, 6vh, 80px) var(--pad) clamp(40px, 7vh, 90px); }
.cs-hero .section-sub { max-width: 52ch; }

.cs-logos {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline);
  margin: 0 var(--pad) clamp(60px, 10vh, 120px);
}
.cs-logo {
  position: relative; min-height: 110px;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: none; color: var(--bone-dim); cursor: pointer; padding: 18px;
  transition: color .35s ease-in-out, background-color .35s ease-in-out;
}
.cs-logo:hover, .cs-logo:focus-visible { color: var(--gold); background: rgba(212, 175, 55, 0.04); outline: none; }
.cs-logo .mark { font-size: clamp(15px, 1.4vw, 21px); letter-spacing: .04em; white-space: nowrap; }
.cs-logo .mark-syne { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.cs-logo .mark-serif { font-family: var(--serif); font-style: italic; font-size: 1.25em; }
.cs-logo .mark-caps { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .34em; font-size: .82em; }
.cs-logo::after {
  content: 'View Case Study';
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%) translateY(4px);
  font-family: var(--display); font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none;
}
.cs-logo:hover::after, .cs-logo:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }

.cs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 36px); padding: 0 var(--pad);
}
.cs-card {
  border: 1px solid var(--hairline); border-radius: 14px; padding: clamp(24px, 2.6vw, 40px);
  background: #070706; display: flex; flex-direction: column; gap: 18px;
  transition: border-color .4s, transform .5s cubic-bezier(.22,1,.36,1), box-shadow .4s;
}
.cs-card:hover { border-color: var(--gold-dim); transform: translateY(-4px); box-shadow: 0 18px 60px rgba(0,0,0,.45); }
.cs-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.cs-card h3 { font-weight: 800; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.01em; }
.cs-kind { font-family: var(--serif); font-style: italic; color: var(--bone-dim); font-size: clamp(15px, 1.3vw, 19px); }
.cs-mets { display: flex; gap: clamp(18px, 2.4vw, 40px); flex-wrap: wrap; }
.cs-met .n { display: block; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1; color: var(--bone); }
.cs-met .l { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-faint); }
.cs-blurb { font-family: var(--serif); color: var(--bone-dim); font-size: clamp(15px, 1.25vw, 18px); max-width: 52ch; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-tags span {
  font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--hairline); border-radius: 99px; padding: 6px 12px; color: var(--bone-dim);
}
.cs-open {
  align-self: flex-start; margin-top: 4px;
  position: relative; overflow: hidden; isolation: isolate;
  font-family: var(--display); font-weight: 700; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone); background: var(--black);
  border: 1px solid var(--gold); border-radius: 99px;
  padding: 13px 22px; min-height: 44px; cursor: pointer;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.cs-open:hover, .cs-open:focus-visible { background: var(--gold); color: var(--black); outline: none; }

/* ═══ Case-study modal — the metrics dashboard ═══ */
.csm {
  position: fixed; inset: 0; z-index: 950; display: none;
  align-items: flex-start; justify-content: center;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: rgba(3, 3, 3, 0.82);
  opacity: 0; transition: opacity .5s cubic-bezier(.22,1,.36,1);
}
.csm.is-open { display: flex; }
.csm.is-shown { opacity: 1; }
.csm-panel {
  position: relative; width: min(1080px, calc(100% - 32px));
  margin: clamp(24px, 6vh, 70px) 0 60px;
  background: #060504; border: 1px solid rgba(212, 175, 55, 0.22); border-radius: 16px;
  padding: clamp(24px, 3.4vw, 56px);
  transform: scale(.94); transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.csm.is-shown .csm-panel { transform: scale(1); }
@media (max-width: 720px) {
  .csm-panel { transform: translateY(7vh); border-radius: 16px 16px 0 0; margin-bottom: 0; }
  .csm.is-shown .csm-panel { transform: translateY(0); transition-timing-function: cubic-bezier(.16,1.1,.3,1); transition-duration: .6s; }
}
html.reduced .csm, html.reduced .csm-panel { transition: none; }
.csm-close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px;
  border: 1px solid var(--hairline); border-radius: 50%; background: none;
  color: var(--bone-dim); cursor: pointer; font-size: 0;
  transition: color .3s, border-color .3s;
}
.csm-close:hover, .csm-close:focus-visible { color: var(--gold); border-color: var(--gold-dim); outline: none; }
.csm-close::before { content: '\00d7'; font-size: 22px; line-height: 1; font-family: var(--display); }

.csm-head { margin-bottom: clamp(24px, 4vh, 44px); padding-right: 54px; }
.csm-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.csm-head h3 { font-weight: 800; font-size: clamp(28px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.015em; }
.csm-kind { margin-top: 8px; font-family: var(--serif); font-style: italic; color: var(--bone-dim); font-size: clamp(16px, 1.4vw, 21px); }

/* metric tiles */
.csm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: clamp(28px, 4vh, 48px); }
.tile {
  border: 1px solid var(--hairline); border-radius: 10px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: scale(.92);
  transition: opacity .6s cubic-bezier(0,0,.2,1), transform .6s cubic-bezier(0,0,.2,1),
              border-color .3s ease-in-out, box-shadow .3s ease-in-out, translate .3s ease-in-out;
}
.csm.is-shown .tile { opacity: 1; transform: scale(1); }
.tile:hover { border-color: var(--gold-dim); box-shadow: 0 0 20px rgba(212, 175, 55, 0.12); translate: 0 -4px; }
.tile-icon { width: 20px; height: 20px; color: var(--gold); }
.tile-icon svg { width: 100%; height: 100%; display: block; }
.tile-num {
  font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); line-height: 1; color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.tile-label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-faint); }
html.reduced .tile { opacity: 1; transform: none; }

/* charts */
.csm-charts { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin-bottom: clamp(28px, 4vh, 48px); }
.chart {
  border: 1px solid var(--hairline); border-radius: 10px; padding: 18px;
  min-width: 0;
}
.chart-title { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 14px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid-line { stroke: rgba(245, 242, 235, 0.07); stroke-width: 1; }
.chart .axis-label { font-family: var(--display); font-size: 9px; letter-spacing: .08em; fill: rgba(245, 242, 235, 0.38); }
.chart .val-label { font-family: var(--display); font-size: 10px; font-weight: 700; fill: var(--bone); }
.chart .line-path {
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.chart .line-fill { fill: url(#lineFillGrad); opacity: 0; transition: opacity .8s ease .9s; }
.csm.is-shown .chart .line-fill { opacity: 1; }
.chart .dot { fill: var(--gold); stroke: #060504; stroke-width: 2; }
.chart .bar { fill: rgba(245, 242, 235, 0.78); rx: 4; transform-origin: bottom; transform: scaleY(0); }
.chart .bar.lead { fill: var(--gold); }
.csm.is-shown .chart .bar { animation: bar-rise .8s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes bar-rise { to { transform: scaleY(1); } }
.chart .donut-seg { fill: none; stroke-width: 26; }
.chart-legend { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.chart-legend li { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--bone-dim); list-style: none; }
.chart-legend .chip { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.chart-legend .pct { margin-left: auto; color: var(--bone); font-variant-numeric: tabular-nums; }
.chart-tip {
  position: fixed; z-index: 990; pointer-events: none;
  background: #0d0b08; border: 1px solid var(--gold-dim); border-radius: 6px;
  padding: 6px 10px; font-family: var(--display); font-size: 11px; color: var(--bone);
  opacity: 0; transition: opacity .15s; white-space: nowrap;
}
.chart-tip.is-on { opacity: 1; }
html.reduced .chart .bar { animation: none; transform: scaleY(1); }
html.reduced .chart .line-fill { opacity: 1; transition: none; }

/* narrative */
.csm-nar { margin-bottom: clamp(28px, 4vh, 48px); }
.csm-sec-title { font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.nar-step { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--hairline);
  opacity: 0; transform: translateY(12px); transition: opacity .5s ease-out, transform .5s ease-out; }
.csm.is-shown .nar-step { opacity: 1; transform: translateY(0); }
.csm.is-shown .nar-step:nth-child(2) { transition-delay: .30s; }
.csm.is-shown .nar-step:nth-child(3) { transition-delay: .60s; }
.csm.is-shown .nar-step:nth-child(4) { transition-delay: .90s; }
.csm.is-shown .nar-step:nth-child(5) { transition-delay: 1.2s; }
.nar-step b { flex: none; width: 110px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); padding-top: 3px; }
.nar-step p { font-family: var(--serif); color: var(--bone); font-size: clamp(15px, 1.25vw, 18px); }
html.reduced .nar-step { opacity: 1; transform: none; transition: none; }

/* modal testimonial + CTA */
.csm-quote {
  position: relative; padding: 22px 0 22px 24px; margin-bottom: clamp(28px, 4vh, 44px);
  opacity: 0; transform: translateX(-24px); transition: opacity .6s ease-out .3s, transform .6s ease-out .3s;
}
.csm.is-shown .csm-quote { opacity: 1; transform: translateX(0); }
.csm-quote::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform .8s ease-in-out .5s;
}
.csm.is-shown .csm-quote::before { transform: scaleY(1); }
.csm-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.6vw, 24px); color: var(--bone); max-width: 60ch; }
.csm-quote footer { margin-top: 12px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
html.reduced .csm-quote { opacity: 1; transform: none; transition: none; }
html.reduced .csm-quote::before { transform: scaleY(1); transition: none; }
.csm-cta-row { display: flex; justify-content: center; padding-top: 8px; }

/* ═══ Contact page ═══ */
.contact-main { max-width: 800px; margin: 0 auto; padding: 0 20px 60px; border-top: 1px solid var(--gold); }
.contact-main .section-head { padding: clamp(36px, 6vh, 60px) 0 0; margin-bottom: clamp(28px, 5vh, 46px); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form label {
  font-family: var(--display); font-weight: 700; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  display: flex; flex-direction: column; gap: 9px;
}
.contact-form label .opt { color: var(--bone-faint); letter-spacing: .14em; }
.contact-form input, .contact-form textarea {
  background-color: #1A1A1A; border: 1px solid #444; color: var(--bone);
  padding: 12px; font-size: 16px; border-radius: 6px;
  font-family: var(--display); font-weight: 400; letter-spacing: normal; text-transform: none;
  transition: border-color .3s ease, box-shadow .3s ease;
  width: 100%;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 8px rgba(212, 175, 55, 0.55); outline: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(245, 242, 235, 0.32); }
.contact-submit {
  background-color: var(--gold); color: var(--black);
  font-family: var(--display); font-size: 16px; font-weight: 700;
  padding: 14px; border: 1px solid var(--gold); border-radius: 6px;
  cursor: pointer; text-transform: uppercase; letter-spacing: .12em; min-height: 52px;
  transition: background-color .3s ease, color .3s ease;
}
.contact-submit:hover, .contact-submit:focus-visible { background-color: var(--black); color: var(--gold); outline: none; }
.contact-submit:disabled { opacity: .5; cursor: default; }
.form-message { min-height: 1.5em; font-family: var(--serif); font-size: 16px; }
.form-message.ok { color: var(--gold); }
.form-message.err { color: #E06054; }
.form-message a { color: var(--gold); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ═══ Thank You page ═══ */
.thankyou-main {
  position: relative; text-align: center; padding: clamp(60px, 12vh, 120px) 20px;
  overflow: hidden;
}
.thankyou-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.thankyou-main h1 {
  font-weight: 800; font-size: clamp(40px, 7vw, 96px); letter-spacing: -0.01em;
  text-transform: uppercase; color: var(--gold);
}
.thankyou-sub {
  font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 26px); color: var(--bone);
  animation: ty-pulse 3.2s ease-in-out infinite;
}
@keyframes ty-pulse {
  0%, 100% { text-shadow: 0 0 0 rgba(212,175,55,0); }
  50% { text-shadow: 0 0 26px rgba(212,175,55,.5); }
}
html.reduced .thankyou-sub { animation: none; }
.thankyou-body { max-width: 52ch; font-family: var(--serif); color: var(--bone-dim); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.7; }
.thankyou-btn {
  margin-top: 16px; display: inline-block;
  background-color: var(--gold); color: var(--black); text-decoration: none;
  font-family: var(--display); font-size: 15px; font-weight: 700;
  padding: 15px 30px; border: 1px solid var(--gold); border-radius: 6px;
  text-transform: uppercase; letter-spacing: .12em;
  transition: background-color .3s ease, color .3s ease;
}
.thankyou-btn:hover, .thankyou-btn:focus-visible { background-color: var(--black); color: var(--gold); outline: none; }

/* ═══ Subpage responsive ═══ */
@media (max-width: 1024px) {
  .cs-logos { grid-template-columns: repeat(2, 1fr); }
  .csm-tiles { grid-template-columns: 1fr 1fr; }
  .csm-charts { grid-template-columns: 1fr 1fr; }
  .csm-charts .chart-line { grid-column: 1 / -1; }
  .contact-main .section-head { text-align: center; }
}
@media (max-width: 720px) {
  .cs-grid { grid-template-columns: 1fr; }
  .csm-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .csm-charts { grid-template-columns: 1fr; }
  .nar-step { flex-direction: column; gap: 6px; }
  .contact-main { padding: 0 16px 40px; }
  .contact-form input, .contact-form textarea { font-size: 15px; padding: 11px; }
  .subpage-main { padding-top: 96px; }
}

/* ═══════════════════════════════════════════════════════════════
   ENQUIRIES — email + WhatsApp, gold icons, hover glow, tap bounce
   Shared component: centred on contact.html, left-aligned in the footer.
   ═══════════════════════════════════════════════════════════════ */
.enquiries {
  background-color: var(--black);
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid var(--hairline);
  margin-top: clamp(40px, 7vh, 80px);
}
.enquiries h2 {
  font-family: var(--display); font-weight: 800;
  font-size: 28px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.enquiries-lede {
  font-size: clamp(17px, 1.6vw, 21px); color: var(--bone-dim);
  margin-bottom: 30px;
}
.enquiry-list { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* the whole row is the link, so the tap target clears 44px */
.enquiry-item {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 4px 2px;
  font-family: var(--display); font-size: 18px; letter-spacing: .01em;
  color: var(--bone); text-decoration: none;
  transition: color .3s ease, text-shadow .3s ease;
}
.enquiry-item .icon {
  display: inline-flex; flex: none; width: 20px; height: 20px;
  color: var(--gold);
  transition: transform .3s ease, filter .3s ease;
}
.enquiry-item .icon svg { width: 100%; height: 100%; display: block; }

/* hover: label turns gold and glows, icon enlarges and glows */
.enquiry-item:hover, .enquiry-item:focus-visible {
  color: var(--gold); text-shadow: 0 0 6px rgba(212, 175, 55, 0.55); outline: none;
}
.enquiry-item:hover .icon, .enquiry-item:focus-visible .icon {
  transform: scale(1.2); filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.85));
}
/* press: shrink, then overshoot back (JS adds .is-bounced on pointerdown) */
.enquiry-item:active .icon { transform: scale(.9); }
.enquiry-item.is-bounced .icon { animation: enquiry-bounce .3s ease; }
@keyframes enquiry-bounce {
  0%   { transform: scale(.9); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* footer variant: footer type scale, inherits the block's alignment */
.footer-block .enquiry-item { font-size: 14.5px; color: var(--bone-dim); padding: 2px 0; }
.footer-block .enquiry-item .icon { width: 17px; height: 17px; }
.footer-block .enquiry-item:hover, .footer-block .enquiry-item:focus-visible { color: var(--gold); }

/* Tablet */
@media (max-width: 768px) {
  .enquiries { padding: 40px 16px; }
  .enquiries h2 { font-size: 24px; }
  .enquiry-item { font-size: 16px; }
  .enquiry-item .icon { width: 18px; height: 18px; }
}
/* Mobile: icons stack above the label for thumb-friendly tapping */
@media (max-width: 480px) {
  .enquiries { padding: 30px 12px; }
  .enquiries h2 { font-size: 20px; }
  .enquiry-list { gap: 18px; }
  .enquiry-item { flex-direction: column; gap: 6px; font-size: 15px; }
  .enquiry-item .icon { margin-right: 0; }
  /* the footer column is already narrow — keep those inline */
  .footer-block .enquiry-item { flex-direction: row; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .enquiry-item, .enquiry-item .icon { transition: none; }
  .enquiry-item:hover .icon, .enquiry-item:focus-visible .icon,
  .enquiry-item:active .icon { transform: none; }
  .enquiry-item.is-bounced .icon { animation: none; }
}
