
html, body { background: #05071c; }
:root {
  --bg: #05071c;
  --bg-2: #090b28;
  --fg: #f1ece2;
  --fg-80: rgba(241, 236, 226, 0.8);
  --fg-60: rgba(241, 236, 226, 0.6);
  --fg-40: rgba(241, 236, 226, 0.4);
  --line: rgba(241, 236, 226, 0.14);
  --lilac: #a98bff;
  --purple: #6d3bff;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* mid-weight voice between the serif headings and the body copy */
  --grotesk: "Clash Grotesk", "Helvetica Neue", Arial, sans-serif;
  --grotesk-w: 500;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ui: cubic-bezier(0.25, 0.1, 0.25, 1);
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}
/* Clash Grotesk (Fontshare, free for web use). Medium is the one in use;
   Semibold is loaded too so the weight can be switched to 600 in one place. */
@font-face { font-family: "Clash Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ClashGrotesk-Medium.otf") format("opentype"); }
@font-face { font-family: "Clash Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ClashGrotesk-Semibold.otf") format("opentype"); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: rgba(169, 139, 255, 0.35); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* film grain: one shared tile over everything */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 300;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============ SHARED MATERIAL: liquid glass ============ */
.glass {
  background: rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.09), 0 18px 50px rgba(0, 0, 0, 0.28);
}

/* ============ BUTTONS (text-roll + arrow chip) ============ */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  white-space: nowrap; cursor: pointer; border: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn.no-chip { padding: 12px 24px; }
.btn-label { display: block; height: 20px; overflow: hidden; }
.btn-label span { display: block; line-height: 20px; transition: transform 0.5s var(--ease-ui); }
.btn:hover .btn-label span { transform: translateY(-100%); }
.btn-chip {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transform: rotate(-45deg);
  transition: transform 0.5s var(--ease-ui);
}
.btn:hover .btn-chip { transform: rotate(0deg); }
.btn-solid { background: var(--fg); color: var(--bg); }
.btn-solid .btn-chip { background: var(--bg); color: var(--fg); }
.btn-solid:hover { box-shadow: 0 0 0 6px rgba(169, 139, 255, 0.18), 0 10px 40px rgba(169, 139, 255, 0.25); }
.btn-glass { color: var(--fg); background: rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 0 1px rgba(255,255,255,0.14); }
.btn-glass .btn-chip { background: var(--fg); color: var(--bg); }
.btn-sm { padding: 4px 4px 4px 18px; font-size: 13px; gap: 12px; }
.btn-sm .btn-chip { width: 30px; height: 30px; }

/* ============ HEADER ============ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 0; transition: padding 0.4s var(--ease), transform 0.8s var(--ease), opacity 0.8s var(--ease); }
.js .site-header { opacity: 0; transform: translateY(-20px); }
.js.is-ready .site-header { opacity: 1; transform: none; }
.site-header.is-scrolled { padding: 8px 0; }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.nav-pill {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: 60px; padding: 0 10px 0 14px; border-radius: 999px;
  transition: height 0.4s var(--ease), background 0.4s ease;
}
.site-header.is-scrolled .nav-pill { height: 52px; background: rgba(8, 9, 32, 0.62); }
.logo { font-family: var(--serif); font-size: 26px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; justify-self: center; }
.main-nav { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 500; justify-self: start; }
.main-nav a { position: relative; padding: 9px 16px; border-radius: 999px; color: var(--fg-80); transition: color 0.3s ease, background 0.3s ease; }
.main-nav a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.1); }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(241, 236, 226, 0.3); background: transparent;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle .bar { display: block; width: 15px; height: 1.6px; background: currentColor; transition: transform 0.3s ease; }
.nav-toggle.is-open .bar:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle.is-open .bar:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }
.nav-drawer {
  position: absolute; top: calc(100% + 10px); left: var(--gutter); right: var(--gutter);
  display: grid; gap: 4px; padding: 12px; border-radius: 24px;
  background: rgba(10, 11, 36, 0.86);
  opacity: 0; transform: translateY(-12px) scale(0.98); transform-origin: top center; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}
.nav-drawer.is-open { opacity: 1; transform: none; pointer-events: auto; }
.nav-drawer a { padding: 14px 16px; border-radius: 14px; font-size: 22px; font-family: var(--serif); }
.nav-drawer a:hover { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-pill { grid-template-columns: auto 1fr; }
  .logo { justify-self: start; padding-left: 6px; }
  .nav-toggle { display: flex; }
}
@media (min-width: 961px) { .nav-drawer { display: none; } }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; padding: 34px 0; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(40px, 6vw, 84px); line-height: 1; padding: 0 0.5em; white-space: nowrap; color: var(--fg); letter-spacing: -0.02em; }
.marquee-track span:nth-child(even) { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(241, 236, 226, 0.5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ PAGE + FIXED FOOTER REVEAL ============ */
html { background-color: #12072b; }
.page-main { position: relative; z-index: 1; background: var(--bg); border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); padding-bottom: clamp(8px, 1vw, 14px); }
.page-main > .updates { padding-bottom: clamp(8px, 1vw, 14px); }
.page-main .connect { margin-inline: clamp(8px, 1vw, 14px); }
.site-footer-main { background: #12072b; color: #b9b3d6; padding: 70px 0 56px; font-size: 13.5px; }
.site-footer-main a { transition: color 0.25s ease; }
.site-footer-main a:hover { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-contact-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-bottom: clamp(50px, 8vw, 110px); }
.footer-contact { display: flex; gap: 20px; }
.footer-social { display: flex; align-items: center; gap: 20px; }
.footer-social ul { display: flex; gap: 12px; }
.social-btn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease; }
.social-btn:hover { background: #fff; color: #12072b; transform: translateY(-3px); }
.footer-offices { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: clamp(50px, 8vw, 110px); }
.footer-office h3 { font-size: 13.5px; font-weight: 500; color: #fff; margin-bottom: 20px; }
.footer-office address { font-style: normal; line-height: 1.7; }
.footer-brand { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer-wordmark { font-family: var(--serif); font-size: clamp(54px, 11vw, 168px); letter-spacing: -0.045em; line-height: 0.85; color: #fff; white-space: nowrap; }
.footer-tagline { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 28px); line-height: 1.1; color: #fff; max-width: 16ch; text-align: right; }
@media (min-width: 961px) { .site-footer-main { position: fixed; left: 0; right: 0; bottom: 0; z-index: 0; } }
@media (max-width: 640px) { .footer-tagline { text-align: left; } .footer-offices { flex-direction: column; } }

/* ============ SHARED SECTION ============ */
.section { padding: clamp(90px, 13vw, 170px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-60); display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.kicker::before { content: ""; width: 40px; height: 1px; background: var(--fg-40); }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.6vw, 104px); line-height: 0.96; letter-spacing: -0.03em; }
.section-title em { font-style: italic; color: var(--lilac); }
.section-aside { max-width: 440px; justify-self: end; }
.section-aside p { font-size: 15.5px; line-height: 1.7; color: var(--fg-60); margin-bottom: 30px; }
@media (max-width: 960px) { .section-head { grid-template-columns: 1fr; gap: 32px; } .section-aside { justify-self: start; } }

/* load choreography (blur-rise); rest state visible without JS */
.js .rise { opacity: 0; transform: translateY(26px); filter: blur(10px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js.is-ready .rise, .js .rise.is-in { opacity: 1; transform: none; filter: none; }
.js .w { display: inline-block; opacity: 0; transform: translateY(0.5em); filter: blur(12px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: calc(0.35s + var(--i) * 0.09s); }
.js.is-ready .w { opacity: 1; transform: none; filter: none; }

/* scroll reveal for everything below the hero */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }


/* ============ CASE STUDY: per-client accent ============ */
body[data-case="adecco"] { --accent: #ff7a93; --hero-bg: linear-gradient(165deg, #f23a5f 0%, #d4204a 55%, #a8123a 100%); }
body[data-case="ecolog"] { --accent: #7ee8a4; --hero-bg: #050f0a; }
body[data-case="inteo"] { --accent: #8fa8ff; --hero-bg: radial-gradient(ellipse 80% 70% at 75% 20%, #3a64ff 0%, transparent 60%), linear-gradient(160deg, #1241fb 0%, #0a2499 55%, #050c3a 100%); }
.reveal-soft { opacity: 1; }

/* ============ CASE HERO ============ */
.bgvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .bgvideo { opacity: 0; }
.bgvideo.is-loaded { opacity: 1; transition: opacity 0.9s ease; }
.case-hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; padding: 150px 0 clamp(56px, 8vw, 110px); background: var(--hero-bg); border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); margin: 0 clamp(8px, 1vw, 14px); }
.case-hero .bgvideo { z-index: -2; }
.case-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.case-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 55%), linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 38%); }
.case-hero-bg { position: absolute; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; pointer-events: none; overflow: hidden; }
.hero-word { display: block; font-weight: 600; font-size: clamp(110px, 24vw, 420px); line-height: 0.8; letter-spacing: -0.065em; color: rgba(255, 255, 255, 0.15); white-space: nowrap; will-change: transform; transform: translate3d(0, calc(var(--py, 0) * 1px), 0); }
.hero-word-2 { margin-left: 12vw; }
body[data-case="ecolog"] .hero-word { color: rgba(255, 255, 255, 0.08); font-size: clamp(80px, 15.5vw, 280px); }
body[data-case="ecolog"] .case-hero { background: #000; }
body[data-case="ecolog"] .case-hero .bgvideo { object-position: 50% 70%; }
.case-hero-content { position: relative; width: 100%; }
.case-kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.case-kicker::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.case-title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.6vw, 108px); line-height: 0.97; letter-spacing: -0.03em; max-width: 14em; text-wrap: balance; text-shadow: 0 16px 38px rgba(0, 0, 0, 0.28); }
.scroll-cue { margin-top: clamp(36px, 6vw, 70px); display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.scroll-cue .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }

/* ============ META STRIP ============ */
.meta-strip { padding: clamp(50px, 6vw, 80px) 0 0; }
.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: clamp(36px, 5vw, 60px); }
.meta-item h4 { font-family: var(--grotesk); font-weight: var(--grotesk-w); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-60); margin-bottom: 12px; }
.meta-item p { font-family: var(--grotesk); font-weight: var(--grotesk-w); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.015em; }
@media (max-width: 960px) { .meta-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

/* ============ MEDIA SLOTS ============ */
.ph { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; display: flex; align-items: flex-end; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 14px), linear-gradient(150deg, color-mix(in srgb, var(--accent) 16%, #0d1033) 0%, #070926 100%); box-shadow: inset 0 0 0 1px var(--line); }
.ph-red, .ph-green, .ph-blue { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px), linear-gradient(150deg, color-mix(in srgb, var(--accent) 55%, #1a0610) 0%, color-mix(in srgb, var(--accent) 18%, #05071c) 100%); }
.ph-dark { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 14px), #04050f; }
.ph-tall { aspect-ratio: 4 / 5; }
.ph-wide { aspect-ratio: 16 / 8; }
.ph-label { display: flex; align-items: center; gap: 12px; padding: 22px 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-80); }
.ph-label svg { flex: none; opacity: 0.7; }
/* opening image: edge to edge, no frame, no rounding */
.bleed { padding: clamp(56px, 7vw, 100px) 0 0; }
.bleed-frame { border-radius: 0; overflow: hidden; aspect-ratio: 16 / 9; }
.bleed-frame .ph { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; transform: scale(1.14) translate3d(0, calc(var(--py, 0) * 1px), 0); will-change: transform; }
@media (max-width: 700px) { .bleed-frame { aspect-ratio: 4 / 3; } }

/* carved gilt frame (images/gilt-frame-9.webp, 9-slice from tools/gilt_frame.py) around the gallery images */
.gallery-track .ph { border-style: solid; border-color: transparent; border-image: url("images/gilt-frame-9.webp") 150 / var(--gilt-w) round; border-width: var(--gilt-w); border-radius: 0; background-clip: padding-box; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.5)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4)); }
.bleed-frame .ph-label { margin: 0 0 7% 7%; }  /* the image is scaled 1.14 for parallax; keep any placeholder caption in view */
.gallery-track .ph { --gilt-w: clamp(10px, 1.3vw, 20px); box-shadow: none; }

/* real images inside a placeholder slot: fill it edge to edge */
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* gallery frames take the width of their image (--ar on the slot), so nothing is cropped hard */
.gallery-track .ph[style*="--ar"] { width: auto; aspect-ratio: var(--ar); max-width: 86vw; }
/* swipe gallery on phones and tablets: size by width instead, so a landscape image gets a landscape frame */
@media (max-width: 960px), (max-height: 520px) {
  .gallery-track .ph[style*="--ar"] { height: auto; max-width: none; width: min(80vw, calc(52svh * var(--ar))); }
}

/* ============ NARRATIVE ============ */
.narrative { padding: clamp(90px, 12vw, 160px) 0 0; }
.narrative-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.narrative-sticky { position: sticky; top: 130px; }
.narrative-num { font-family: var(--grotesk); font-weight: var(--grotesk-w); font-size: 15px; letter-spacing: 0.04em; color: var(--accent); margin-bottom: 20px; }
.narrative-title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6vw, 92px); line-height: 0.96; letter-spacing: -0.03em; }
.narrative-body > * + * { margin-top: 26px; }
.lede { font-family: var(--grotesk); font-weight: var(--grotesk-w); font-size: clamp(23px, 2.3vw, 34px); line-height: 1.22; letter-spacing: -0.02em; color: var(--fg); max-width: 24em; }
.narrative-body p:not(.lede):not(.stat-value):not(.stat-label):not(.promise-line) { font-size: 17px; line-height: 1.75; color: var(--fg-60); max-width: 62ch; }
.narrative-body p.draft { border-left: 1px dashed var(--fg-40); padding-left: 20px; font-style: italic; }
#insight .subhead { color: var(--fg); }
.subhead { font-family: var(--grotesk); font-weight: var(--grotesk-w); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.12; letter-spacing: -0.02em; color: var(--accent); }
.narrative-media { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 26px; }
.narrative-media .ph-wide { grid-column: 1 / -1; }
@media (max-width: 960px) { .narrative-grid { grid-template-columns: 1fr; } .narrative-sticky { position: static; } }
@media (max-width: 560px) { .narrative-media { grid-template-columns: 1fr; } }

/* ============ STATS ============ */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 30px 28px; padding-top: 20px; }
.stat { border-top: 1px solid var(--line); padding-top: 20px; }
.stat-value { font-family: var(--serif); font-size: clamp(58px, 7vw, 108px); line-height: 0.95; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--fg-60); max-width: 24ch; }
.stat-tbd { border-top-style: dashed; opacity: 0.55; }
.results { padding: clamp(90px, 12vw, 150px) 0 0; }
.results .stats { padding-top: 0; }

/* ============ PROMISE ============ */
.promise { padding: clamp(10px, 2vw, 24px) 0; display: grid; gap: 14px; }
.u-mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.promise-line { font-family: var(--serif); font-size: clamp(42px, 5.6vw, 88px); line-height: 0.98; letter-spacing: -0.03em; font-style: italic; }

/* ============ DELIVERED ============ */
.delivered { padding: clamp(90px, 12vw, 160px) 0 0; }
.delivered-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6vw, 92px); line-height: 0.96; letter-spacing: -0.03em; margin-bottom: clamp(40px, 5vw, 70px); }
.delivered-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(24px, 3vw, 48px); }
.delivered-card { border-top: 1px solid var(--fg-40); padding-top: 24px; }
.delivered-card h3 { font-family: var(--grotesk); font-weight: var(--grotesk-w); font-size: clamp(22px, 2vw, 29px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.delivered-card p { font-size: 15.5px; line-height: 1.7; color: var(--fg-60); }
@media (max-width: 960px) { .delivered-grid { grid-template-columns: 1fr; } }
/* two-up mockup row under "What we delivered" */
.delivered-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); padding-top: clamp(56px, 7vw, 100px); }
.delivered-media .ph { aspect-ratio: 4 / 5; }
@media (max-width: 560px) { .delivered-media { grid-template-columns: 1fr; } }

/* ============ PINNED GALLERY ============ */
.gallery { position: relative; height: 340vh; margin-top: clamp(70px, 9vw, 130px); }
.gallery-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 4vh, 48px); overflow: hidden; }
.gallery-head { width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.gallery-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 78px); line-height: 0.98; letter-spacing: -0.03em; }
.gallery-head p { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-60); }
.gallery-track { display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.gallery-track .ph { height: min(52svh, 500px); width: clamp(280px, 36vw, 560px); aspect-ratio: auto; }
.gallery-track .ph-tall { width: clamp(220px, 25vw, 400px); }
.gallery-track figure { display: grid; gap: 14px; }
.gallery-track figcaption { font-size: 13.5px; color: var(--fg-60); max-width: 36ch; }
.gallery-progress { margin: 0 var(--gutter); height: 1px; background: var(--line); }
.gallery-progress span { display: block; height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; }
.gallery.is-static { height: auto; }
.gallery.is-static .gallery-pin { position: relative; height: auto; }
.gallery.is-static .gallery-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 12px; }
.gallery.is-static .gallery-track > *, .gallery.is-static .gallery-track figure { scroll-snap-align: start; flex: none; }
.gallery.is-static .gallery-progress { display: none; }
.gallery.is-static .gallery-head { padding-inline: var(--gutter); }

/* ============ QUOTE ============ */
.quote { padding: clamp(100px, 13vw, 190px) 0 0; }
.quote blockquote { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 70px); line-height: 1.08; letter-spacing: -0.025em; max-width: 21em; text-wrap: balance; }
.quote blockquote em { color: var(--accent); }
.quote cite { display: block; margin-top: 36px; font-family: var(--mono); font-style: normal; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-60); }

/* ============ OUTCOME ============ */
.outcome { padding: clamp(100px, 13vw, 190px) 0 0; }
.outcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: end; }
.outcome-grid h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 7.4vw, 120px); line-height: 0.92; letter-spacing: -0.04em; }
body[data-case="inteo"] .outcome-grid h2 { font-size: clamp(42px, 5.2vw, 84px); line-height: 0.98; }
.outcome-copy > * + * { margin-top: 22px; }
.outcome-copy p { font-size: 18px; line-height: 1.7; color: var(--fg-60); max-width: 46ch; }
.outcome-copy strong { color: var(--fg); font-weight: 600; }
@media (max-width: 960px) { .outcome-grid { grid-template-columns: 1fr; } }

/* ============ CLIENT ============ */
.client { padding: clamp(100px, 13vw, 190px) 0 0; }
.client-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.client-card { padding: 24px; border-radius: 32px; display: grid; gap: 22px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.client-logo { aspect-ratio: 16 / 9; border-radius: 20px; align-items: center; }
.client-facts { display: grid; }
.client-fact { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px; border-top: 1px solid var(--line); font-size: 14.5px; }
.client-fact dt { color: var(--fg-60); }
.client-fact dd { text-align: right; }
.client-copy > * + * { margin-top: 22px; }
.client-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 84px); line-height: 0.98; letter-spacing: -0.03em; }
.client-copy p { font-size: 17px; line-height: 1.75; color: var(--fg-60); max-width: 58ch; }
.client-copy .btn { margin-top: 18px; }
@media (max-width: 960px) { .client-grid { grid-template-columns: 1fr; } }

/* ============ CTA BLOCK + NEXT ============ */
.cta-block { margin: clamp(90px, 11vw, 150px) 0 0; padding: clamp(60px, 9vw, 130px) var(--gutter); border-radius: clamp(28px, 4vw, 56px); text-align: center; display: grid; justify-items: center; gap: 24px; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 65%), var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.cta-block h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(70px, 14vw, 220px); line-height: 0.85; letter-spacing: -0.05em; }
.cta-block p { max-width: 36em; font-size: 17px; line-height: 1.65; color: var(--fg-80); }
.next-project { padding: clamp(90px, 11vw, 150px) 0 clamp(60px, 7vw, 100px); }
.next-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-60); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.next-label::before { content: ""; width: 40px; height: 1px; background: var(--fg-40); }
.next-link { display: block; font-family: var(--serif); font-size: clamp(38px, 6vw, 96px); line-height: 1; letter-spacing: -0.03em; max-width: 16em; text-wrap: balance; transition: color 0.4s ease; }
.next-link .arrow { display: inline-block; color: var(--accent); transition: transform 0.6s var(--ease); }
.next-link:hover { color: var(--accent); font-style: italic; }
.next-link:hover .arrow { transform: translateX(14px); }
.cta-block + .next-inner { margin-top: clamp(90px, 11vw, 160px); }
.next-footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(50px, 7vw, 90px); padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-60); }
.next-footer a { transition: color 0.25s ease; }
.next-footer a:hover { color: var(--fg); }
.ring { display: inline-block; width: 0.42em; height: 0.42em; border: 1px solid var(--accent); border-radius: 50%; margin: 0 0.5em; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .reveal, .js .site-header { opacity: 1; transform: none; filter: none; transition: none; }
  .marquee-track, .scroll-cue .dot { animation: none; }
  .hero-word, .bleed-frame .ph { transform: none; }
}
