/* ==========================================================================
   Clients Online: Website stylesheet
   Brand: Clients Orange #D66100 · Black #000 · Canvas #F7F5F2 · White
          Oxblood #521F1B · Sage #89998A
   Type:  Neue Montreal (headlines) · DM Sans (body)
   Neue Montreal is a licensed typeface (Pangram Pangram). Drop the licensed
   .woff2 files into /assets/fonts and uncomment the @font-face below.
   Until then headlines fall back to Inter Tight, the closest free match.
   ========================================================================== */

/*
@font-face { font-family: "Neue Montreal"; src: url("../fonts/NeueMontreal-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("../fonts/NeueMontreal-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("../fonts/NeueMontreal-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
*/

:root {
  --orange: #D66100;
  --orange-soft: #F3D9C2;
  --black: #000000;
  --ink: #0B0B0B;
  --ink-2: #151515;
  --canvas: #F7F5F2;
  --white: #FFFFFF;
  --oxblood: #521F1B;
  --sage: #89998A;
  --sage-soft: #DDE3DD;

  --text: #0B0B0B;
  --text-muted: #5C5853;
  --line: rgba(0, 0, 0, .12);
  --line-dark: rgba(255, 255, 255, .14);

  --font-head: "Neue Montreal", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ann-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -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; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Typography ---------- */
.display, .h-xl, .h-lg, .h-md, .h-sm {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.display { font-size: clamp(44px, 6vw, 88px); line-height: .98; }
[hidden] { display: none !important; }
.h-xl    { font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; }
.h-lg    { font-size: clamp(32px, 4vw, 56px); line-height: 1.05; }
.h-md    { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.025em; }
.h-sm    { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -0.02em; }
.accent  { color: var(--orange); font-style: normal; }
.lead    { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--text-muted); max-width: 46ch; }
.dark .lead, .oxblood .lead, .hero .lead { color: rgba(255,255,255,.78); }
.muted   { color: var(--text-muted); }
.dark .muted, .oxblood .muted { color: rgba(255,255,255,.64); }
.small   { font-size: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.eyebrow.no-dot::before { display: none; }
.dot-sep { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin: 0 14px; vertical-align: middle; }

/* Placeholder copy the team still needs to supply */
.ph-copy {
  display: inline; padding: 2px 6px; border-radius: 4px;
  background: repeating-linear-gradient(-45deg, rgba(214,97,0,.08) 0 8px, rgba(214,97,0,.14) 8px 16px);
  color: #8a3f00; font-size: .94em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.dark .ph-copy, .oxblood .ph-copy { color: #ffb070; background: rgba(214,97,0,.18); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.section-sm { padding: clamp(56px, 6vw, 90px) 0; }
.dark { background: var(--black); color: var(--white); }
.ink { background: var(--ink); color: var(--white); }
.canvas { background: var(--canvas); }
.oxblood { background: var(--oxblood); color: var(--white); }
.sage-bg { background: var(--sage-soft); }
.dots { background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px); background-size: 24px 24px; }
.dots-light { background-image: radial-gradient(rgba(0,0,0,.08) 1px, transparent 1.2px); background-size: 24px 24px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: 24px; }
.stack-sm > * + * { margin-top: 14px; }
.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head.center { align-items: center; }
.section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.split-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: -.005em;
  white-space: nowrap; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: #e86c00; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #222; }
.btn-light { background: var(--white); color: var(--black); }
.btn-ghost { border: 1.5px solid currentColor; }
.btn-ghost:hover { background: rgba(127,127,127,.12); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; border-bottom: 1.5px solid var(--orange); padding-bottom: 2px; transition: gap .25s var(--ease); }
.link-arrow:hover { gap: 14px; }
.link-arrow::after { content: "→"; color: var(--orange); }
.link-back::before { content: "← "; color: var(--orange); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: "DM Sans", var(--font-body); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-word { font-size: 24px; }
.logo-word b { font-weight: 500; color: var(--orange); }

/* ---------- Announcement bar ---------- */
.ann-bar {
  position: relative; z-index: 60;
  background: var(--orange); color: var(--black);
  font-size: 14px; text-align: center; padding: 9px var(--gutter); line-height: 1.4;
}
.ann-bar a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; margin-left: 6px; }

/* ---------- Top navigation (floating pill) ---------- */
.topbar {
  position: fixed; left: 0; right: 0; top: calc(var(--ann-h) + 12px); z-index: 50;
  padding: 0 var(--gutter); pointer-events: none; transition: top .3s var(--ease);
}
.topbar-inner {
  pointer-events: auto;
  max-width: var(--max); margin: 0 auto; height: 64px; padding: 0 12px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: 18px; color: var(--white);
  background: rgba(10, 10, 10, .42); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .3s, box-shadow .3s, max-width .4s var(--ease);
}
.topbar.scrolled .topbar-inner { background: rgba(10,10,10,.9); box-shadow: 0 10px 40px rgba(0,0,0,.18); max-width: 1160px; }
.topbar .logo-word { font-size: 22px; }
.topbar .logo-mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { white-space: nowrap; font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 10px; color: rgba(255,255,255,.86); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--orange); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

/* Dropdown (Our Work → Portfolio / Our Clients / Case Studies) */
.nav-item { position: relative; }
.nav-links .nav-parent { display: inline-flex; align-items: center; gap: 7px; }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
.nav-item:hover .caret, .nav-item:focus-within .caret { transform: translateY(1px) rotate(225deg); }
.nav-drop {
  position: absolute; top: calc(100% + 18px); left: 50%; min-width: 290px;
  background: rgba(12,12,12,.97); border: 1px solid var(--line-dark); border-radius: 16px; padding: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* hover bridge */
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-links .nav-drop a { display: block; padding: 12px 14px; border-radius: 10px; color: #fff; font-size: 15px; }
.nav-links .nav-drop a small { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); font-weight: 400; margin-top: 2px; }
.nav-links .nav-drop a:hover { background: rgba(255,255,255,.07); }
.nav-links .nav-drop a.active { color: var(--orange); }
.nav-links .nav-drop a:hover small { color: rgba(255,255,255,.75); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s, background .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--black); color: var(--white);
  padding: calc(var(--ann-h) + 110px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu > a, .mobile-menu summary { font-family: var(--font-head); font-size: 34px; letter-spacing: -.03em; padding: 8px 0; border-bottom: 1px solid var(--line-dark); display: block; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after { content: "+"; float: right; color: var(--orange); }
.mobile-menu details[open] summary::after { content: "–"; }
.mobile-menu details a { display: block; padding: 10px 0 10px 4px; font-size: 18px; color: rgba(255,255,255,.75); }
.mobile-menu > a.btn { margin-top: 24px; align-self: flex-start; display: inline-flex; font-family: var(--font-body); font-size: 16px; letter-spacing: 0; padding: 0 26px; border: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--black); color: var(--white); overflow: hidden; isolation: isolate;
}
.hero--inner { min-height: 92svh; }
.hero--short { min-height: 72svh; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: .62; animation: slowzoom 24s ease-in-out infinite alternate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 100%),
    linear-gradient(0deg, rgba(0,0,0,.85) 0%, transparent 40%);
}
.hero-content { padding-top: 170px; padding-bottom: clamp(40px, 5vw, 72px); }
.hero-content .display { max-width: 13ch; }
.hero-content .lead { margin-top: 28px; max-width: 52ch; }
.hero-content .btn-row { margin-top: 36px; }
.hero-content .eyebrow { margin-bottom: 28px; color: rgba(255,255,255,.85); }
.hero .bracket-corner { position: absolute; right: var(--gutter); bottom: 40px; }
@keyframes slowzoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }

.offer-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.offer-strip span {
  font-size: 13.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); backdrop-filter: blur(8px);
}
.offer-strip span:first-child { border-color: var(--orange); color: #ffb373; }

/* ---------- Logo marquee ---------- */
.marquee { overflow: hidden; position: relative; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.marquee.light { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-label { text-align: center; font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.marquee.light .marquee-label { color: var(--text-muted); }
.marquee-track { display: flex; width: max-content; gap: 72px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-head); font-weight: 600; font-size: 21px; letter-spacing: -.02em; white-space: nowrap; opacity: .72; display: inline-flex; align-items: center; gap: 10px; }
.marquee-track span::before { content: ""; width: 18px; height: 18px; border-radius: 5px; border: 2px solid currentColor; opacity: .7; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--mq-bg, #000), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--mq-bg, #000), transparent); }
.marquee.light { --mq-bg: #fff; }
.marquee.on-canvas { --mq-bg: var(--canvas); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scroll-lit statement ---------- */
.statement { height: 240vh; background: var(--canvas); position: relative; }
.statement-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding: 0 var(--gutter); }
.statement-inner { max-width: 1100px; text-align: center; }
.statement-text { font-family: var(--font-head); font-weight: 500; font-size: clamp(34px, 5.2vw, 78px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.statement-text .w { opacity: .14; transition: opacity .25s linear, color .25s; }
.statement-text .w.on { opacity: 1; }
.statement-text .w.hl.on { color: var(--orange); }
.statement-sub { margin: 36px auto 0; max-width: 60ch; color: var(--text-muted); font-size: clamp(16px, 1.3vw, 19px); opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s var(--ease); }
.statement.done .statement-sub { opacity: 1; transform: none; }
.statement-tag { margin-top: 28px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Capability showcase (fanned cards) ---------- */
.showcase { height: 280vh; position: relative; }
.showcase-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(28px, 5vh, 56px); padding: 90px var(--gutter) 40px; }
.showcase-stage { position: relative; width: 100%; max-width: 1100px; height: min(58vh, 520px); }
.showcase-stage.four { height: min(50vh, 460px); }
.show-card {
  position: absolute; left: 50%; top: 0; height: 100%; aspect-ratio: 9 / 15.5;
  border-radius: 22px; overflow: hidden; background: #222;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.12);
  transform: translateX(-50%); will-change: transform;
}
.show-card img { width: 100%; height: 100%; object-fit: cover; }
.show-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.82)); }
.show-card-copy { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.show-card-copy .tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.show-card-copy p { font-family: var(--font-head); font-size: 19px; line-height: 1.2; letter-spacing: -.02em; margin-top: 8px; }
.show-card .chip { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.show-card .chip i { width: 22px; height: 22px; border-radius: 6px; background: var(--orange); display: block; }

/* ---------- Service rows ---------- */
.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); align-items: start;
}
.service-row .num { font-size: 13px; color: var(--text-muted); letter-spacing: .08em; }
.service-row .h-md { margin-top: 14px; }
.service-row .kicker { margin-top: 10px; color: var(--orange); font-weight: 600; font-size: 15px; }
.service-row .pitch { font-family: var(--font-head); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; letter-spacing: -.02em; }
.service-row .body { margin-top: 12px; color: var(--text-muted); }
.service-row .link-arrow { margin-top: 26px; }
.service-media { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--canvas); position: relative; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-row:hover .service-media img { transform: scale(1.05); }

.ticks { display: grid; gap: 10px; margin-top: 20px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--orange); }

/* ---------- Bento results ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento > * { border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.bento .span-2 { grid-column: span 2; }
.b-orange { background: var(--orange); color: var(--black); }
.b-black { background: var(--black); color: var(--white); }
.b-sage { background: var(--sage); color: var(--black); }
.b-oxblood { background: var(--oxblood); color: var(--white); }
.b-line { background: var(--white); border: 1px solid var(--line); }
.b-canvas { background: var(--canvas); }
.metric { font-family: var(--font-head); font-weight: 500; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -.04em; }
.metric-label { font-size: 15px; margin-top: 10px; opacity: .85; max-width: 22ch; }
.b-foot { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; font-weight: 600; }
.bento .b-logo { display: grid; place-items: center; place-content: center; text-align: center; }
.b-logo .wordmark { font-family: var(--font-head); font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -.03em; }
.b-quote { font-family: var(--font-head); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.28; letter-spacing: -.02em; }
.b-person { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 14px; }
.b-person .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--canvas) center/cover; flex: none; }
.b-person small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }

/* ---------- Horizontal work rail ---------- */
.rail-section { position: relative; }
.rail-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 96px; }
.rail-sticky .tile { width: clamp(170px, min(21vw, calc((100vh - 480px) * .75)), 300px); }
.rail-track .tile-media { aspect-ratio: 4 / 5; }
.rail-head { text-align: center; margin-bottom: clamp(28px, 4vh, 48px); padding: 0 var(--gutter); }
.rail-head .btn { margin-top: 20px; }
.rail-track { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.tile { width: clamp(220px, 21vw, 300px); flex: none; cursor: pointer; }
.tile-media { aspect-ratio: 9 / 15; border-radius: 16px; overflow: hidden; position: relative; background: #1a1a1a; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.06); }
.tile-media .play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(214,97,0,.92); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .3s var(--ease); }
.tile:hover .play { opacity: 1; transform: none; }
.play::after { content: ""; border-left: 15px solid #000; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.tile-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; font-size: 14px; }
.tile-meta b { font-weight: 600; }
.tile-meta span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .6; text-align: right; }
.tile-title { font-size: 13.5px; opacity: .7; margin-top: 2px; }

/* ---------- Booking / form card ---------- */
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.form-card { background: var(--white); color: var(--text); border-radius: 24px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 30px 80px rgba(0,0,0,.25); position: relative; }
.form-card.bracket::after { content: ""; position: absolute; top: -10px; right: -10px; width: 46px; height: 46px; border-top: 8px solid var(--orange); border-right: 8px solid var(--orange); }
.step-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.step-progress { display: flex; gap: 6px; margin: 14px 0 26px; }
.step-progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--canvas); transition: background .4s; }
.step-progress i.on { background: var(--orange); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp .5s var(--ease); }
.form-step h3 { margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-size: 13.5px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  padding: 13px 14px; font-size: 15.5px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(214,97,0,.12); }
.field.invalid input, .field.invalid textarea { border-color: #C2361B; }
.field .error { display: none; font-size: 13px; color: #C2361B; }
.field.invalid .error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; cursor: pointer; transition: .2s; }
.chip-opt input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 16px; }
.form-note a { text-decoration: underline; }
.form-error-msg { display: none; margin-top: 14px; font-size: 14px; color: #C2361B; }

/* Scheduler placeholder */
.scheduler { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 13px; }
.cal-grid .dow { color: var(--text-muted); font-size: 11px; padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; border-radius: 10px; font-size: 13.5px; }
.cal-grid button:disabled { color: #bbb; cursor: default; }
.cal-grid button:not(:disabled) { background: var(--canvas); font-weight: 600; }
.cal-grid button.sel { background: var(--orange); color: var(--black); }
.slots { display: grid; gap: 8px; align-content: start; max-height: 290px; overflow: auto; }
.slots button { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px; font-size: 14px; font-weight: 600; }
.slots button.sel { border-color: var(--orange); background: rgba(214,97,0,.08); }
.tz { font-size: 12.5px; color: var(--text-muted); margin-top: 12px; }
.success-state { text-align: center; padding: 20px 0; }
.success-state .check { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; margin: 0 auto 20px; font-size: 30px; color: #000; }

/* ---------- Footer ---------- */
.site-footer { background: var(--canvas); color: var(--text); padding: clamp(64px, 8vw, 110px) 0 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .logo-word { font-size: 26px; }
.footer-brand .tagline { margin-top: 18px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.footer-brand p { margin-top: 18px; color: var(--text-muted); max-width: 36ch; font-size: 15.5px; }
.footer-col h4 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 18px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 15.5px; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-col address { font-style: normal; font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.footer-col .contact-line { display: block; font-size: 15.5px; margin-bottom: 8px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.socials a:hover { background: var(--black); color: var(--white); }
.footer-giant { margin: clamp(48px, 7vw, 90px) 0 0; display: flex; align-items: center; gap: 2.2vw; font-family: "DM Sans", var(--font-body); font-weight: 500; font-size: clamp(56px, 13.6vw, 206px); letter-spacing: -.055em; line-height: .9; white-space: nowrap; user-select: none; }
.footer-giant svg { width: .82em; height: .82em; flex: none; }
.footer-giant b { font-weight: 500; color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 0 32px; margin-top: clamp(28px, 4vw, 50px); border-top: 1px solid var(--line); font-size: 13px; color: var(--text-muted); }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text); }
.footer-compact { background: var(--black); color: var(--white); padding: 40px 0; }
.footer-compact .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer-compact nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-compact a:hover { color: var(--orange); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 80; width: min(420px, calc(100vw - 32px));
  background: var(--ink); color: var(--white); border-radius: 18px; padding: 24px;
  border: 1px solid var(--line-dark); box-shadow: 0 20px 60px rgba(0,0,0,.35);
  transform: translateY(20px); opacity: 0; visibility: hidden; transition: .4s var(--ease);
}
.cookie.show { transform: none; opacity: 1; visibility: visible; }
.cookie .eyebrow { font-size: 10.5px; color: rgba(255,255,255,.7); }
.cookie h3 { font-family: var(--font-head); font-weight: 500; font-size: 24px; letter-spacing: -.02em; margin: 10px 0 8px; }
.cookie p { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.5; }
.cookie .btn-row { margin-top: 18px; gap: 8px; }
.cookie .btn { height: 40px; font-size: 13.5px; padding: 0 16px; }
.cookie-prefs { display: none; margin-top: 16px; border-top: 1px solid var(--line-dark); padding-top: 8px; }
.cookie.manage .cookie-prefs { display: block; }
.pref { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 13.5px; }
.pref b { display: block; font-size: 14px; margin-bottom: 2px; }
.pref span { color: rgba(255,255,255,.64); }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 24px; background: #444; transition: .25s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .25s; }
.switch input:checked + i { background: var(--orange); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:disabled + i { opacity: .6; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 90; background: var(--black); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; opacity: 0; transition: .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Cards & generic modules ---------- */
.card { border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); background: var(--white); border: 1px solid var(--line); position: relative; }
.canvas .card { border-color: transparent; }
.dark .card, .oxblood .card { background: var(--ink-2); border-color: var(--line-dark); }
.card .h-sm { margin-bottom: 10px; }
.card p { color: var(--text-muted); }
.dark .card p, .oxblood .card p { color: rgba(255,255,255,.7); }
.card-num { font-family: var(--font-head); font-size: 15px; color: var(--orange); font-weight: 600; margin-bottom: 26px; display: block; }
.bracket-tl::before { content: ""; position: absolute; top: -1px; right: -1px; width: 26px; height: 26px; border-top: 5px solid var(--orange); border-right: 5px solid var(--orange); border-top-right-radius: 4px; opacity: 0; transition: opacity .3s; }
.bracket-tl:hover::before { opacity: 1; }

.media-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.media-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--canvas); }
.media-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.media-card:hover .media img { transform: scale(1.05); }
.media-card .body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.media-card .body p { color: var(--text-muted); }
.media-card .tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.media-card .link-arrow { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.dark .media-card { background: var(--ink-2); border-color: var(--line-dark); }
.dark .media-card .body p { color: rgba(255,255,255,.7); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.dark .steps, .oxblood .steps { border-color: var(--line-dark); }
.step { padding: 36px 32px 8px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.dark .step + .step, .oxblood .step + .step { border-color: var(--line-dark); }
.step .n { font-family: var(--font-head); font-size: clamp(48px, 5vw, 72px); font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--orange); }
.step .h-sm { margin: 22px 0 10px; }
.step p { color: var(--text-muted); }
.dark .step p, .oxblood .step p { color: rgba(255,255,255,.7); }

/* Big claim / spotlight */
.spotlight { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.spot-list { display: grid; gap: 0; }
.spot-item { padding: 26px 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: baseline; }
.spot-item:last-child { border-bottom: 1px solid var(--line-dark); }
.spot-item .k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.spot-item .v { font-family: var(--font-head); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -.02em; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark .stats { border-color: var(--line-dark); }
.stat { padding: 40px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.dark .stat + .stat { border-color: var(--line-dark); }
.stat .metric { color: var(--orange); }
.stat p { margin-top: 10px; color: var(--text-muted); max-width: 26ch; }
.dark .stat p { color: rgba(255,255,255,.7); }

/* Quote / perspective block */
.perspective { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.perspective-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.perspective-media img { width: 100%; height: 100%; object-fit: cover; }
.perspective-media .badge { position: absolute; left: 20px; bottom: 20px; background: var(--orange); color: #000; border-radius: 14px; padding: 16px 20px; }
.perspective-media .badge .metric { font-size: 40px; }

/* Modules (4 creative stories) */
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.module { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; isolation: isolate; }
.module img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.module::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.85)); }
.module:hover img { transform: scale(1.05); }
.module .tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.module .h-md { margin: 10px 0; }
.module p { color: rgba(255,255,255,.8); max-width: 44ch; }
.module .link-arrow { margin-top: 18px; align-self: flex-start; }

/* Expectations list */
.expect { display: grid; gap: 0; border-top: 1px solid var(--line); }
.expect li { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.expect li span { color: var(--orange); font-weight: 600; font-family: var(--font-head); }

/* Final CTA */
.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta .h-xl { max-width: 16ch; margin: 0 auto; }
.final-cta .lead { margin: 24px auto 0; }
.final-cta .btn-row { justify-content: center; margin-top: 36px; }
.final-cta::before, .final-cta::after { content: ""; position: absolute; width: 90px; height: 90px; border: 0 solid var(--orange); }
.final-cta::before { top: 40px; left: var(--gutter); border-top-width: 10px; border-left-width: 10px; }
.final-cta::after { bottom: 40px; right: var(--gutter); border-bottom-width: 10px; border-right-width: 10px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.dark .faq { border-color: var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line); }
.dark .faq details { border-color: var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; font-family: var(--font-head); font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 28px; line-height: .8; transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 70ch; color: var(--text-muted); }
.dark .faq details p { color: rgba(255,255,255,.72); }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.package { border-radius: 24px; padding: 36px 32px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.package.featured { background: var(--black); color: var(--white); border-color: var(--black); }
.package.featured::after { content: ""; position: absolute; top: -8px; right: -8px; width: 40px; height: 40px; border-top: 7px solid var(--orange); border-right: 7px solid var(--orange); }
.package .name { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--orange); }
.package .price { font-family: var(--font-head); font-size: clamp(44px, 4.4vw, 60px); letter-spacing: -.04em; line-height: 1; margin: 20px 0 6px; }
.package .per { font-size: 15px; color: var(--text-muted); }
.package.featured .per, .package.featured p { color: rgba(255,255,255,.72); }
.package .pitch { font-family: var(--font-head); font-size: 20px; letter-spacing: -.02em; line-height: 1.3; margin: 26px 0 12px; }
.package p { color: var(--text-muted); font-size: 15.5px; }
.package .btn { margin-top: auto; }
.package .spacer { flex: 1; min-height: 28px; }
.guarantee { margin-top: 24px; border-radius: 24px; background: var(--oxblood); color: #fff; padding: clamp(28px, 3.4vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.guarantee .seal { width: 88px; height: 88px; border-radius: 50%; border: 2px dashed var(--orange); display: grid; place-items: center; text-align: center; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; line-height: 1.3; color: #ffb373; }
.guarantee p { color: rgba(255,255,255,.8); margin-top: 6px; }

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .card { padding: 40px; }
.compare .card.hl { background: var(--black); color: #fff; border-color: var(--black); }
.compare .card.hl .ticks li { color: rgba(255,255,255,.85); }
.compare .card .tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; }

/* Filters & gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; transition: .2s; }
.filters button:hover { border-color: var(--black); }
.filters button.active { background: var(--black); color: #fff; border-color: var(--black); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.gallery .tile, .grid-2 .tile { width: auto; }
.gallery .tile-media { aspect-ratio: 4 / 5; }
.gallery.films .tile-media { aspect-ratio: 16 / 10; }
.gallery .tile .play { opacity: 1; transform: none; }
.gallery .tile-meta span { opacity: .55; }
.gallery .tile.hide { display: none; }
.empty-state { display: none; text-align: center; padding: 60px 0; color: var(--text-muted); }
.empty-state.show { display: block; }
.empty-state button { color: var(--orange); font-weight: 600; text-decoration: underline; }

/* Modal (portfolio overlay) */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; animation: fadeIn .3s; }
.modal-box { background: var(--ink); color: #fff; border-radius: 22px; width: min(1080px, 100%); max-height: calc(100vh - 48px); overflow: auto; display: grid; grid-template-columns: 1.3fr 1fr; }
.modal-media { background: #000; position: relative; min-height: 320px; display: grid; place-items: center; }
.modal-media img, .modal-media video { width: 100%; height: 100%; object-fit: cover; max-height: 80vh; }
.modal-media .video-error { position: absolute; inset: auto 16px 16px; background: rgba(0,0,0,.75); padding: 10px 14px; border-radius: 10px; font-size: 13.5px; display: none; }
.modal-info { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.modal-info dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 0; font-size: 15px; }
.modal-info dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); padding-top: 3px; }
.modal-info dd { margin: 0; }
.modal-nav { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.modal-nav .btn { height: 42px; font-size: 13.5px; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; display: grid; place-items: center; }

/* Results index cards */
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.result-card { border-radius: var(--radius); border: 1px solid var(--line); padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; background: var(--white); transition: border-color .3s, transform .3s var(--ease); }
.result-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.result-card .num { font-family: var(--font-head); color: var(--orange); font-weight: 600; }
.result-card .cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; text-align: right; }
.result-card .h-md { grid-column: 1 / -1; }
.result-card p { grid-column: 1 / -1; color: var(--text-muted); }
.result-card .link-arrow { grid-column: 1 / -1; justify-self: start; }

/* Story page */
.story-tiles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.story-tile { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 18px 22px; backdrop-filter: blur(10px); }
.story-tile .metric { font-size: clamp(30px, 3vw, 44px); color: var(--orange); }
.story-tile small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 6px; }
.story-body { display: grid; grid-template-columns: 260px 1fr; gap: 0 clamp(32px, 6vw, 96px); }
.story-body .aside { position: sticky; top: 120px; align-self: start; }
.story-section { padding: 40px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.story-section h2 { font-family: var(--font-head); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.story-section p { font-size: 18px; line-height: 1.65; }
.story-section.note { background: var(--canvas); border-radius: 16px; border-top: 0; padding: 32px; margin-top: 20px; }

/* Logo wall (Our Clients) */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-cell { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; transition: background .3s; position: relative; }
.logo-cell:hover { background: var(--white); }
/* Logo files are already grey and pre-balanced on a 2:1 canvas, so every image gets the same box */
.logo-cell img { width: 100%; max-width: 230px; height: auto; transition: filter .3s; }
.logo-cell:hover img { filter: brightness(.3); }
.logo-cell .wm { font-family: var(--font-head); font-weight: 600; font-size: clamp(15px, 1.25vw, 18px); letter-spacing: -.02em; line-height: 1.15; color: #8a8a8a; transition: color .3s; }
.logo-cell:hover .wm { color: #2a2a2a; }
.logo-cell.empty .wm { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; letter-spacing: .04em; opacity: .4; }
.logo-wall:not(.expanded) .logo-cell.extra { display: none; }
.logo-wall-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* Testimonials (Our Clients) */
.testi-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.testi-feature .tile { width: auto; }
.testi-feature .tile-media { aspect-ratio: 16 / 10; }
.testi-feature .tile .play { opacity: 1; transform: none; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.testi-grid > .testi { margin: 0; }
.testi { break-inside: avoid; margin: 0 0 20px; border-radius: var(--radius); padding: 30px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.testi blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.38; letter-spacing: -.015em; }
.testi blockquote::before { content: "“"; display: block; font-size: 54px; line-height: .6; color: var(--orange); margin-bottom: 10px; }
.testi .who { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.testi .who .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--canvas) center / cover; flex: none; }
.testi .who b { display: block; font-weight: 600; }
.testi .who small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.testi .link-arrow { align-self: flex-start; font-size: 14px; }
.testi.t-orange { background: var(--orange); border-color: var(--orange); }
.testi.t-orange blockquote::before { color: #000; }
.testi.t-orange .link-arrow, .testi.t-sage .link-arrow { border-color: #000; }
.testi.t-orange .link-arrow::after, .testi.t-sage .link-arrow::after { color: #000; }
.testi.t-black { background: var(--black); color: #fff; border-color: var(--black); }
.testi.t-sage { background: var(--sage); border-color: var(--sage); }
.testi.t-oxblood { background: var(--oxblood); color: #fff; border-color: var(--oxblood); }
.testi.t-black .ph-copy, .testi.t-oxblood .ph-copy { color: #ffb070; background: rgba(214,97,0,.2); }
.testi.t-orange .ph-copy, .testi.t-sage .ph-copy { color: #2a1300; background: rgba(255,255,255,.35); }
/* Real testimonials: strongest line up front, full text behind a toggle */
.testi .pull { margin: 0; }
.testi .more { margin-top: 16px; font-family: var(--font-body); }
.testi .more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: 0; opacity: .75; }
.testi .more summary::-webkit-details-marker { display: none; }
.testi .more summary::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; font-size: 14px; line-height: 1; }
.testi .more[open] summary::before { content: "\2212"; }
.testi .more summary:hover { opacity: 1; }
.testi .more .full { margin-top: 14px; font-size: 15px; line-height: 1.6; letter-spacing: 0; opacity: .85; }
.testi .more .full p { margin: 0 0 12px; }
.testi .more .full p:last-child { margin-bottom: 0; }
.testi .who img.avatar { width: 56px; height: 56px; object-fit: cover; }
.testi .who .loc { display: block; font-size: 12.5px; opacity: .6; margin-top: 2px; }
.testi-photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.testi-photo img { width: 100%; height: auto; display: block; }
.feature-quote { margin: 0; }
.feature-full p { color: rgba(255,255,255,.75); margin: 0 0 12px; max-width: 52ch; }
.b-person img.avatar { object-fit: cover; }

/* ==========================================================================
   Case study pages (cs-*)
   ========================================================================== */
.cs-hero { position: relative; background: var(--black); color: #fff; padding: clamp(150px, 15vw, 190px) 0 clamp(56px, 7vw, 90px); overflow: hidden; isolation: isolate; }
.cs-hero.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 55%, rgba(0,0,0,.45) 100%); }
.cs-hero .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cs-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.cs-hero .crumbs { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.cs-hero .crumbs a:hover { color: var(--orange); }
.cs-hero .h-xl { margin-top: 22px; max-width: 16ch; }
.cs-hero .lead { margin-top: 22px; max-width: 54ch; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cs-tags span { font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); }
.light .cs-tags span, .cs-card .cs-tags span { border-color: var(--line); }
.cs-hero-media { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.5); max-height: 520px; }
.cs-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Photo heroes (case study pages): fixed frame, per-photo focal point via --pos / --pos-m */
.cs-hero-media.photo { margin: 0; aspect-ratio: 1 / 1; max-height: none; background: var(--ink-2); }
.cs-hero-media.photo.light { background: #f1f1f1; }
.cs-hero-media.photo img { object-position: var(--pos, center); }
/* Ageless AI funnel: tall ad on the left, two screens stacked on the right */
.cs-funnel-shots { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); margin-top: 24px; align-items: start; }
.cs-funnel-shots .stack { display: grid; gap: clamp(20px, 3vw, 32px); }
.cs-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-dark); }
.cs-meta > div { padding: 18px 20px 0 0; }
.cs-meta dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 6px; }
.cs-meta dd { margin: 0; font-size: 15px; color: rgba(255,255,255,.88); }

/* Sticky in-page tabs */
.cs-tabs { position: sticky; top: calc(var(--ann-h) + 88px); z-index: 30; display: flex; justify-content: center; padding: 14px var(--gutter) 0; pointer-events: none; margin-bottom: -56px; }
.cs-tabs nav { pointer-events: auto; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.86); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(0,0,0,.08); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.cs-tabs nav::-webkit-scrollbar { display: none; }
.cs-tabs a { font-size: 13.5px; font-weight: 600; padding: 8px 15px; border-radius: 999px; white-space: nowrap; color: var(--text-muted); transition: background .2s, color .2s; }
.cs-tabs a:hover { color: var(--text); }
.cs-tabs a.on { background: var(--black); color: #fff; }
.cs-anchor { scroll-margin-top: 150px; }

.cs-label { display: inline-flex; align-items: baseline; gap: 10px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--text-muted); }
.cs-label b { color: var(--orange); letter-spacing: .04em; font-family: var(--font-head); }
.dark .cs-label, .oxblood .cs-label { color: rgba(255,255,255,.65); }
.cs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.cs-head .h-lg { margin-top: 16px; }
.cs-head .lead { max-width: 52ch; }

/* KPI band */
.cs-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cs-kpis.three { grid-template-columns: repeat(3, 1fr); }
.cs-kpis.two { grid-template-columns: repeat(2, 1fr); }
.cs-split { grid-template-columns: 1.25fr 1fr; }
.cs-kpi { padding: clamp(22px, 2.6vw, 34px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-kpi .metric { font-size: clamp(36px, 4vw, 58px); }
.cs-kpi.hl .metric { color: var(--orange); }
.cs-kpi p { margin-top: 10px; color: var(--text-muted); font-size: 15px; max-width: 24ch; }
.dark .cs-kpis, .dark .cs-kpi { border-color: var(--line-dark); }
.dark .cs-kpi p { color: rgba(255,255,255,.68); }
.cs-note { margin-top: 18px; font-size: 13.5px; color: var(--text-muted); max-width: 80ch; }
.dark .cs-note, .oxblood .cs-note { color: rgba(255,255,255,.6); }

/* Cards used for challenges / jobs / angles */
.cs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cs-card-sm { border-radius: 18px; padding: 26px; background: var(--white); border: 1px solid var(--line); position: relative; }
.canvas .cs-card-sm { border-color: transparent; }
.dark .cs-card-sm { background: var(--ink-2); border-color: var(--line-dark); }
.cs-card-sm .n { font-family: var(--font-head); font-weight: 600; color: var(--orange); font-size: 14px; }
.cs-card-sm h3 { font-family: var(--font-head); font-weight: 500; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; margin: 14px 0 8px; }
.cs-card-sm p { color: var(--text-muted); font-size: 15.5px; }
.dark .cs-card-sm p { color: rgba(255,255,255,.7); }
.cs-card-sm .share { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.dark .cs-card-sm .share { border-color: var(--line-dark); color: var(--orange); }

/* Comparison bars (before vs after) */
.cs-compare { display: grid; gap: 22px; }
.cs-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.cs-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.cs-row { display: grid; grid-template-columns: 170px 1fr 90px; gap: 16px; align-items: center; }
.cs-row .k { font-size: 14.5px; font-weight: 600; }
.cs-row .bars { display: grid; gap: 4px; }
.cs-row .bar { height: 14px; border-radius: 0 4px 4px 0; background: #CFCAC2; position: relative; min-width: 4px; }
.cs-row .bar.after { background: var(--orange); }
.cs-row .bar span { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); font-size: 12.5px; white-space: nowrap; color: var(--text-muted); }
.cs-row .bar.after span { color: var(--text); font-weight: 600; }
.cs-row .chg { font-family: var(--font-head); font-weight: 600; font-size: 18px; text-align: right; }
.cs-row .chg.up { color: var(--orange); }
.cs-row [data-tip], .cs-col [data-tip] { cursor: default; }

/* Column chart */
.cs-cols { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; align-items: end; height: 240px; border-bottom: 1px solid var(--line); padding-top: 28px; }
.cs-col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.cs-col .b { width: min(64px, 70%); background: var(--orange); border-radius: 4px 4px 0 0; position: relative; min-height: 2px; transition: filter .2s; }
.cs-col .b:hover { filter: brightness(1.1); }
.cs-col .v { font-family: var(--font-head); font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.cs-col-labels { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 10px; text-align: center; font-size: 13px; color: var(--text-muted); }

/* Funnel */
.cs-funnel { display: grid; gap: 10px; }
.cs-step { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.cs-step .k { font-size: 14px; font-weight: 600; }
.cs-step .track { background: var(--canvas); border-radius: 6px; height: 40px; overflow: hidden; }
.dark .cs-step .track { background: var(--ink-2); }
.cs-step .fill { height: 100%; background: var(--orange); border-radius: 6px; display: flex; align-items: center; padding: 0 12px; font-size: 13.5px; font-weight: 600; color: #000; white-space: nowrap; min-width: max-content; }
.cs-step .fill.muted { background: var(--sage); }

/* Data tables */
.cs-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--white); -webkit-overflow-scrolling: touch; }
.dark .cs-table-wrap { background: var(--ink-2); border-color: var(--line-dark); }
.cs-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.cs-table th, .cs-table td { padding: 14px 16px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dark .cs-table th, .dark .cs-table td { border-color: var(--line-dark); }
.cs-table th:first-child, .cs-table td:first-child { text-align: left; white-space: normal; }
.cs-table thead th { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; background: var(--canvas); }
.dark .cs-table thead th { background: rgba(255,255,255,.04); color: rgba(255,255,255,.6); }
.cs-table tbody tr:hover { background: rgba(214,97,0,.05); }
.cs-table tr.total td { font-weight: 700; border-bottom: 0; background: var(--canvas); }
.dark .cs-table tr.total td { background: rgba(255,255,255,.04); }
.cs-table td.win { color: var(--orange); font-weight: 700; }
.cs-table td.pos { color: var(--orange); font-weight: 600; }
.cs-table .col-hl { background: rgba(214,97,0,.06); }

/* Big quote / takeaway */
.cs-pull { font-family: var(--font-head); font-weight: 500; font-size: clamp(26px, 3vw, 42px); line-height: 1.15; letter-spacing: -.03em; max-width: 24ch; }
.cs-pull em { font-style: normal; color: var(--orange); }

/* Creative gallery (ad screenshots) */
.cs-ads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.cs-ads figure { margin: 0; }
.cs-ads img { width: 100%; border-radius: 14px; border: 1px solid var(--line-dark); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.cs-ads figcaption { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 10px; }
.cs-shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.12); background: #fff; }
.cs-shot img { width: 100%; }
.cs-shot figcaption { font-size: 12.5px; color: var(--text-muted); padding: 10px 14px; border-top: 1px solid var(--line); }

/* Steps of a funnel / phases timeline */
.cs-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.cs-phase { padding: 0 24px 0 0; position: relative; }
.cs-phase::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--orange); margin-bottom: 22px; opacity: .35; }
.cs-phase:nth-child(2)::before { opacity: .65; } .cs-phase:nth-child(3)::before { opacity: 1; }
.cs-phase .when { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.cs-phase h3 { font-family: var(--font-head); font-weight: 500; font-size: 24px; letter-spacing: -.02em; margin: 10px 0 6px; }
.cs-phase p { color: var(--text-muted); font-size: 15.5px; }
.dark .cs-phase p { color: rgba(255,255,255,.7); }

/* Learnings */
.cs-learn { counter-reset: learn; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cs-learn li { counter-increment: learn; display: grid; grid-template-columns: 70px 1fr 1.3fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cs-learn li::before { content: counter(learn, decimal-leading-zero); font-family: var(--font-head); color: var(--orange); font-weight: 600; }
.cs-learn h3 { font-family: var(--font-head); font-weight: 500; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.cs-learn p { color: var(--text-muted); }
.dark .cs-learn, .dark .cs-learn li { border-color: var(--line-dark); }
.dark .cs-learn p { color: rgba(255,255,255,.7); }

/* "For your brand" steps */
.cs-next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.cs-next-steps div { border-radius: 18px; padding: 26px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.14); }
.cs-next-steps b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 22px; margin-bottom: 8px; }
.cs-next-steps b i { font-style: normal; color: var(--orange); margin-right: 8px; }
.cs-next-steps p { color: rgba(255,255,255,.75); font-size: 15.5px; }

/* Hover tooltip for chart marks */
[data-tip] { position: relative; }
[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--black); color: #fff; font: 600 12.5px/1.3 var(--font-body); padding: 7px 10px; border-radius: 8px; white-space: nowrap; z-index: 5; pointer-events: none; }

/* Case study cards (index selector) */
.cs-list { display: grid; gap: 20px; }
.cs-card { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 24px; overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.cs-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0,0,0,.08); }
.cs-card .media { position: relative; min-height: 320px; background: var(--black); overflow: hidden; }
.cs-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transition: transform .8s var(--ease); }
.cs-card:hover .media img { transform: scale(1.04); }
.cs-card .media .big { position: absolute; left: 24px; bottom: 22px; right: 24px; color: #fff; z-index: 1; }
.cs-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.8)); }
.cs-card .media .big .metric { font-size: clamp(40px, 4.4vw, 64px); color: var(--orange); }
.cs-card .media .big span { display: block; font-size: 14px; color: rgba(255,255,255,.85); margin-top: 4px; }
/* Photo with its subject low in the frame: headline number sits at the top instead */
.cs-card .media.text-top .big { top: 22px; bottom: auto; }
.cs-card .media.text-top::after { background: linear-gradient(0deg, transparent 45%, rgba(0,0,0,.72)); }
.cs-card .body { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.cs-card .cat { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.cs-card h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.025em; line-height: 1.1; }
.cs-card p { color: var(--text-muted); }
.cs-card .mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 4px; }
.cs-card .mini b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 24px; letter-spacing: -.02em; }
.cs-card .mini small { font-size: 12.5px; color: var(--text-muted); line-height: 1.35; display: block; }
.cs-card .cs-tags { margin-top: 0; }
.cs-card .cs-tags span { color: var(--text-muted); font-size: 12px; }
.cs-card .link-arrow { margin-top: auto; align-self: flex-start; }
.cs-card.hide, .result-card.hide { display: none; }
.cs-more-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin: clamp(64px, 8vw, 110px) 0 32px; }

/* Leads list (treatments) */
.cs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-chips span { padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.cs-chips span:first-child { background: var(--orange); border-color: var(--orange); font-weight: 700; }

@media (max-width: 1080px) {
  .cs-ads { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .cs-hero-grid, .cs-head, .cs-card, .cs-phases, .cs-next-steps, .cs-split { grid-template-columns: 1fr; }
  .cs-kpis { grid-template-columns: repeat(2, 1fr); }
  .cs-phase { padding: 0 0 28px; }
  .cs-learn li { grid-template-columns: 44px 1fr; }
  .cs-learn li p { grid-column: 2; }
  .cs-row { grid-template-columns: 1fr 70px; }
  .cs-row .k { grid-column: 1 / -1; }
  .cs-row .bars { padding-right: 60px; }
  .cs-step { grid-template-columns: 1fr; gap: 6px; }
  .cs-card .media { min-height: 280px; }
  .cs-card .media img { object-position: var(--pos-m, var(--pos, center)); }
  .cs-hero-media.photo { aspect-ratio: 4 / 3; margin-top: 8px; }
  .cs-hero-media.photo img { object-position: var(--pos-m, var(--pos, center)); }
  .cs-funnel-shots { grid-template-columns: 1fr; }
  .cs-funnel-shots > .cs-shot:first-child { max-width: 360px; width: 100%; justify-self: center; }
  .cs-tabs { top: calc(var(--ann-h) + 78px); justify-content: flex-start; }
}
@media (max-width: 480px) {
  .cs-kpis, .cs-kpis.two { grid-template-columns: 1fr 1fr; }
  .cs-kpis.three { grid-template-columns: 1fr; }
  .cs-kpi { padding: 18px; }
  .cs-kpi .metric { font-size: 32px; }
  .cs-card .mini { grid-template-columns: 1fr 1fr; }
}

/* Leadership */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.person { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.person img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.person:hover img { filter: none; }
.person figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; }
.person figcaption b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 26px; letter-spacing: -.02em; }
.person figcaption span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.team-labels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.team-labels span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 14px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { border-radius: var(--radius); padding: 30px 26px 34px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.pillar:nth-child(1) { background: var(--orange); }
.pillar:nth-child(2) { background: var(--black); color: #fff; }
.pillar:nth-child(3) { background: var(--sage); }
.pillar:nth-child(4) { background: var(--oxblood); color: #fff; }
.pillar .n { font-size: 13px; font-weight: 600; opacity: .7; }
.pillar p { opacity: .85; margin-top: 10px; font-size: 15.5px; }

/* Capability rows */
.cap-list { border-top: 1px solid var(--line); }
.cap { display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding .3s var(--ease); }
.cap:hover { padding-left: 12px; }
.cap .n { color: var(--orange); font-weight: 600; font-family: var(--font-head); }
.cap p { color: var(--text-muted); }

/* Channels */
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.channel { border-radius: var(--radius); padding: 30px 26px; background: var(--ink-2); border: 1px solid var(--line-dark); min-height: 260px; display: flex; flex-direction: column; }
.channel .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(214,97,0,.15); color: var(--orange); display: grid; place-items: center; font-weight: 700; font-size: 18px; margin-bottom: auto; }
.channel .h-sm { margin: 28px 0 8px; }
.channel p { color: rgba(255,255,255,.68); font-size: 15.5px; }
.channel-wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: 24px; background: transparent; border-style: dashed; }
.channel-wide .h-sm { margin: 0; white-space: nowrap; }
.channel-wide .ico { margin: 0; }

/* Reporting mock */
.report { background: var(--white); border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.12); border: 1px solid var(--line); }
.report-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.report-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.report-kpis div { background: var(--canvas); border-radius: 12px; padding: 14px; }
.report-kpis b { display: block; font-family: var(--font-head); font-size: 24px; letter-spacing: -.02em; }
.report-kpis small { font-size: 11.5px; color: var(--text-muted); }
.report-bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; margin-top: 18px; padding-top: 10px; border-bottom: 1px solid var(--line); }
.report-bars i { flex: 1; background: var(--sage-soft); border-radius: 6px 6px 0 0; }
.report-bars i.hl { background: var(--orange); }
.report-note { margin-top: 16px; font-size: 13.5px; background: var(--canvas); border-left: 3px solid var(--orange); padding: 12px 14px; border-radius: 6px; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cats > div { padding: 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.cats > div:hover { background: var(--canvas); }
.cats p { color: var(--text-muted); margin-top: 10px; font-size: 15.5px; }

/* Scope table */
.scope { border-top: 1px solid var(--line-dark); }
.scope > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.scope p { color: rgba(255,255,255,.72); }
.canvas .scope, .scope.light { border-color: var(--line); }
.scope.light > div { border-color: var(--line); }
.scope.light p { color: var(--text-muted); }

/* Ribbon */
.ribbon { background: var(--orange); color: var(--black); overflow: hidden; padding: 18px 0; }
.ribbon .marquee-track { gap: 48px; animation-duration: 30s; }
.ribbon .marquee-track span { opacity: 1; font-size: 20px; }
.ribbon .marquee-track span::before { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--black); opacity: 1; }

/* Legal / doc pages */
.doc { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 96px); }
.doc-toc { position: sticky; top: 120px; align-self: start; font-size: 14px; }
.doc-toc a { display: block; padding: 6px 0; color: var(--text-muted); }
.doc-toc a:hover { color: var(--orange); }
.doc-body section { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.doc-body h2 { font-family: var(--font-head); font-weight: 500; font-size: 24px; letter-spacing: -.02em; margin-bottom: 12px; }
.sitemap-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.sitemap-cols h2 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 18px; font-family: var(--font-body); }
.sitemap-cols li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sitemap-cols li a { font-weight: 600; }
.sitemap-cols li span { display: block; font-size: 14px; color: var(--text-muted); }

/* Role cards */
.role-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 30px; border-radius: 16px; border: 1px solid var(--line); flex-wrap: wrap; }
.role-card .meta { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-head); font-size: clamp(120px, 26vw, 360px); letter-spacing: -.06em; line-height: .85; color: var(--orange); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
/* Above-the-fold hero copy animates on load rather than waiting for the observer */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: fadeUp .9s var(--ease) both; }
.hero .reveal-d1 { animation-delay: .1s; } .hero .reveal-d2 { animation-delay: .2s; } .hero .reveal-d3 { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .statement-text .w { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 1080px) {
  .service-row { grid-template-columns: 1fr 1fr; }
  .service-row .service-media { grid-column: 1 / -1; order: -1; aspect-ratio: 16 / 8; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .pillars, .channels { grid-template-columns: repeat(2, 1fr); }
  .steps.four { grid-template-columns: repeat(2, 1fr); }
  .steps.four .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .sitemap-cols { grid-template-columns: repeat(2, 1fr); }
  .modal-box { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .split-layout, .book-grid, .spotlight, .perspective, .compare, .packages, .modules, .result-grid, .people, .story-body, .doc, .scheduler { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step + .step, .steps.four .step:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .dark .step + .step, .oxblood .step + .step { border-top-color: var(--line-dark); }
  .step { padding-right: 0; padding-bottom: 28px; }
  .cats { grid-template-columns: 1fr; }
  .cap { grid-template-columns: 50px 1fr; }
  .cap p { grid-column: 2; }
  .story-section { grid-template-columns: 1fr; gap: 10px; }
  .story-body .aside, .doc-toc { position: static; }
  .scope > div { grid-template-columns: 1fr; gap: 8px; }
  .spot-item { grid-template-columns: 1fr; gap: 6px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .dark .stat + .stat { border-top-color: var(--line-dark); }
  .guarantee { grid-template-columns: 1fr; }
  .channel-wide { flex-direction: column; align-items: flex-start; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .testi-feature { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-row { grid-template-columns: 1fr; }
  .bento, .pillars, .channels, .gallery, .sitemap-cols { grid-template-columns: 1fr; }
  .bento .span-2 { grid-column: auto; }
  .bento > * { min-height: 220px; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .steps.four { grid-template-columns: 1fr; }
  .steps.four .step + .step { border-top: 1px solid var(--line); padding-left: 0; border-left: 0; }
  .hero-content { padding-top: 140px; }
  .topbar-inner { height: 58px; padding-left: 16px; }
  .topbar .logo-word { font-size: 19px; }
  .ann-bar { font-size: 12.5px; }
  .modal { padding: 0; }
  .modal-box { border-radius: 0; max-height: 100vh; height: 100%; }
  .final-cta::before, .final-cta::after { width: 50px; height: 50px; }
  .module { min-height: 340px; padding: 24px; }
  .cookie { left: 8px; bottom: 8px; width: calc(100vw - 16px); }
  .report-kpis { grid-template-columns: 1fr 1fr; }
}

/* Mobile fallbacks for the scroll-driven sections */
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .statement { height: auto; padding: 110px 0; }
  .statement-sticky { position: static; height: auto; }
  .statement-text .w { opacity: 1; }
  .statement-sub { opacity: 1; transform: none; }
  .showcase { height: auto; }
  .showcase-sticky { position: static; height: auto; padding: 100px 0 60px; }
  .showcase-stage { height: auto; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 20px; max-width: none; }
  .show-card { position: relative; left: auto; transform: none !important; height: 460px; flex: none; scroll-snap-align: center; }
  .rail-section { height: auto !important; }
  .rail-sticky { position: static; height: auto; padding: 100px 0 80px; }
  .rail-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 10px; }
  .rail-track .tile { scroll-snap-align: start; }
}

/* ---------- Results board: screenshots pinned a little off-grid, each with a note ---------- */
.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px) clamp(24px, 3.4vw, 48px); align-items: start; }
.board .pin { grid-column: span var(--span, 6); margin: var(--y, 0) 0 0; position: relative; }
.pin-in { transform: rotate(var(--r, 0deg)); transition: transform .5s var(--ease); }
.pin:hover .pin-in, .pin:focus-within .pin-in { transform: rotate(0deg) translateY(-4px); }
.pin:hover, .pin:focus-within { z-index: 4; }
.shots { display: grid; position: relative; }
.shot { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #fff; border-radius: 10px; overflow: hidden; cursor: zoom-in; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 22px 44px -22px rgba(0,0,0,.4); transition: transform .5s var(--ease); }
.shot img { display: block; width: 100%; height: auto; }
.shot:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.shot-label { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--black); color: #fff; font: 600 10.5px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.shots.pair { padding-top: 7%; }
.shots.pair .shot { grid-area: 1 / 1; }
.shots.pair .back { width: 84%; justify-self: end; align-self: start; transform: translate(5%, -9%) rotate(3deg); z-index: 0; }
.shots.pair .back .shot-label { left: auto; right: 10px; background: var(--oxblood); }
.shots.pair .front { width: 94%; margin-top: 4%; z-index: 1; }
.pin:hover .shots.pair .back, .pin:focus-within .shots.pair .back { transform: translate(8%, -14%) rotate(4.5deg); }
.note { position: relative; z-index: 3; width: min(340px, 88%); margin: -26px 0 0 clamp(0px, var(--nx, 6%), calc(100% - min(340px, 88%) - 12px)); transform: rotate(var(--nr, 1.5deg)); background: #fff; border-radius: 6px; padding: 18px 20px 20px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 16px 34px -16px rgba(0,0,0,.32); font-family: var(--font-body); }
.note.n-orange { background: var(--orange-soft); }
.note.n-sage { background: var(--sage-soft); }
.note-tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.note-metric { display: block; margin: 8px 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.05; letter-spacing: -.03em; color: var(--ink); }
.note p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #2b2925; }
.note .link-arrow { margin-top: 12px; font-size: 14px; }
.pin-cta { align-self: center; }
.pin-cta .pin-in { background: var(--orange); color: #fff; border-radius: 10px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; box-shadow: 0 22px 44px -22px rgba(0,0,0,.4); }
.pin-cta .eyebrow { color: rgba(255,255,255,.85); }
.pin-cta .h-md { margin: 0; }
.pin-cta p { margin: 0; color: rgba(255,255,255,.9); max-width: 34ch; }
.board-foot { display: flex; justify-content: center; margin-top: clamp(56px, 7vw, 96px); }
.board-mini .note { width: min(320px, 92%); }

/* Full-size viewer for board screenshots */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px); }
.lightbox.open { display: flex; animation: fadeIn .3s; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; gap: 14px; max-width: min(1400px, 100%); }
.lightbox .lb-scroll { overflow: auto; max-height: calc(100vh - 150px); border-radius: 10px; background: #fff; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; }
.lightbox figcaption { color: rgba(255,255,255,.8); font-size: 14px; text-align: center; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.4); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.12); }
.lightbox .lb-close { top: 16px; right: 16px; font-size: 26px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1100px) {
  .board .pin { grid-column: span 6; }
  .board-mini .pin { grid-column: span 4; }
}
@media (max-width: 860px) {
  .board, .board-mini { grid-template-columns: 1fr; gap: 64px; }
  .board .pin, .board-mini .pin { grid-column: auto; margin-top: 0; }
  .pin-in { transform: rotate(calc(var(--r, 0deg) * .45)); }
  .note { margin-top: -14px; transform: rotate(calc(var(--nr, 1.5deg) * .5)); margin-left: clamp(0px, var(--nx, 6%), 10%); }
  .lightbox { padding: 64px 0 24px; }
  .lightbox figure { max-width: 100%; }
  .lightbox .lb-scroll { border-radius: 0; max-height: calc(100vh - 130px); }
  .lightbox img { max-width: none; max-height: none; width: 960px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 10px; transform: none; }
  .lightbox figcaption { padding: 0 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .pin-in, .shot { transition: none; }
}

/* ---------- Web & Landing Pages: proof block ---------- */
.web-proof { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.web-proof figure { margin: 0; }
.web-proof blockquote { margin: 0; max-width: 18ch; }
.web-proof .b-person img.avatar { object-fit: cover; }
.web-proof-links { display: grid; gap: 20px; }
.web-proof-links .card { display: flex; flex-direction: column; gap: 10px; background: var(--canvas); border-color: transparent; transition: transform .4s var(--ease); }
.web-proof-links .card:hover { transform: translateY(-4px); }
.web-proof-links .tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.web-proof-links p { color: var(--text-muted); }
.web-proof-links .link-arrow { align-self: flex-start; margin-top: 6px; font-size: 14px; }
@media (max-width: 860px) {
  .web-proof { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .web-hero img, .web-hero video { opacity: .3; }
}

/* ---------- Web & Landing Pages: real redesign videos in browser frames ---------- */
.redesigns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(44px, 5vw, 72px) clamp(20px, 3vw, 36px); }
.redesign { margin: 0; }
.redesign.featured { grid-column: 1 / -1; }
.browser-frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 34px 70px -34px rgba(0,0,0,.4); }
.bf-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #EFECE8; border-bottom: 1px solid var(--line); }
.bf-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ED6A5E; flex: none; }
.bf-bar i:nth-child(2) { background: #F5BF4F; } .bf-bar i:nth-child(3) { background: #61C454; }
.bf-url { margin-left: 12px; flex: 0 1 320px; min-width: 0; height: 22px; border-radius: 6px; background: #fff; font-size: 12px; color: var(--text-muted); display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-screen { position: relative; aspect-ratio: 2 / 1; background: #f2f1ee; }
.bf-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-toggle { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.62); cursor: pointer; display: grid; place-items: center; opacity: .85; transition: opacity .2s; }
.vid-toggle:hover, .vid-toggle:focus-visible { opacity: 1; }
.vid-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.vid-toggle::before { content: ""; width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; box-sizing: border-box; }
.vid-toggle.is-paused::before { width: 0; height: 0; border-right: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.redesign figcaption { margin-top: 22px; display: grid; gap: 10px; }
.redesign figcaption .tag { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 8px; }
.redesign figcaption p { color: var(--text-muted); max-width: 62ch; }
.redesign.featured figcaption { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); column-gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) {
  .redesigns { grid-template-columns: 1fr; }
  .redesign.featured figcaption { grid-template-columns: 1fr; }
  .bf-bar { height: 30px; } .bf-bar i { width: 8px; height: 8px; }
}

/* ---------- Web & Landing Pages: funnel results table ---------- */
.funnel-stats { margin-bottom: clamp(36px, 5vw, 56px); }
.funnel-table { background: var(--white); border-radius: var(--radius); padding: clamp(8px, 1.6vw, 20px) clamp(18px, 3vw, 40px); overflow-x: auto; }
.funnel-table:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.funnel-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.funnel-table thead th { font: 600 11px/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); text-align: left; padding: 18px 12px 14px 0; border-bottom: 1px solid var(--line); }
.funnel-table thead th:nth-child(2) { text-align: right; padding-right: clamp(20px, 5vw, 72px); }
.funnel-table tbody th, .funnel-table tbody td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.funnel-table tbody tr:last-child th, .funnel-table tbody tr:last-child td { border-bottom: 0; }
.funnel-table tbody th { font: 500 clamp(17px, 1.5vw, 21px)/1.25 var(--font-head); letter-spacing: -.02em; text-align: left; }
.funnel-table tbody td:nth-child(2) { text-align: right; padding-right: clamp(20px, 5vw, 72px); font-size: 16px; white-space: nowrap; }
.funnel-table td:last-child { width: 46%; }
.funnel-table .roas { display: flex; align-items: center; gap: 14px; }
.funnel-table .roas-bar { flex: none; height: 8px; width: calc(var(--w) * .72); min-width: 6px; border-radius: 0 4px 4px 0; background: var(--sage); }
.funnel-table .roas b { font-weight: 600; font-size: 16px; white-space: nowrap; }
.funnel-table tr.top .roas-bar { background: var(--orange); }
.funnel-table tr.top .roas b { color: var(--orange); }
.funnel-note { margin-top: 16px; font-size: 13.5px; color: var(--text-muted); }
@media (max-width: 860px) {
  .funnel-stats { grid-template-columns: 1fr 1fr; }
  .funnel-stats .stat { padding: 24px 14px 24px 0; }
  .funnel-stats .stat + .stat { border-left: 0; }
  .funnel-stats .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
  .funnel-stats .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .funnel-stats .metric { font-size: 36px; }
  .funnel-stats .stat p { font-size: 14px; }
  .funnel-table td:last-child { width: auto; }
  .funnel-table .roas-bar { display: none; }
  .funnel-table thead th:nth-child(2), .funnel-table tbody td:nth-child(2) { padding-right: 16px; }
}

/* ---------- Film overlay: Wistia player ---------- */
.modal-media .wistia-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; align-self: center; background: #000; }
.modal-media .wistia-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
button.link-arrow { background: none; border: 0; border-bottom: 1.5px solid var(--orange); color: inherit; font: inherit; font-weight: 600; font-size: 15px; padding: 0 0 2px; cursor: pointer; }

/* ---------- Cinematic Ads: skipped-ads stat, logo strip, package extras ---------- */
.skip-stat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.skip-figure .metric { font-size: clamp(110px, 15vw, 220px); line-height: .85; color: var(--orange); letter-spacing: -.06em; }
.skip-figure p { margin-top: 18px; font-family: var(--font-head); font-size: clamp(22px, 2vw, 30px); line-height: 1.2; letter-spacing: -.02em; max-width: 14ch; }
.marquee-track.logos { gap: 56px; align-items: center; }
.marquee-track.logos img { height: 76px; width: auto; flex: none; filter: brightness(1.75); opacity: .85; }
.marquee.light .marquee-track.logos img { filter: none; opacity: 1; }
.pkg-extras { margin-top: 20px; }
.pkg-extras .card-num { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.pkg-extras .card p { color: var(--text-muted); }
@media (max-width: 860px) {
  .skip-stat { grid-template-columns: 1fr; gap: 28px; }
  .marquee-track.logos { gap: 36px; }
  .marquee-track.logos img { height: 48px; }
}
/* Tilted pins can poke a few pixels past the screen edge on phones */
#results-board { overflow-x: clip; }

/* ---------- Homepage: partner and award strip below the hero ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); padding: clamp(24px, 3vw, 34px) 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 4vw, 56px); }
.trust-label { margin: 0; padding-right: clamp(28px, 4vw, 56px); border-right: 1px solid var(--line); font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); line-height: 1.7; text-align: right; white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: clamp(32px, 4.5vw, 64px); list-style: none; margin: 0; padding: 0; }
.trust-logos li { display: flex; align-items: center; justify-content: center; height: 72px; }
.trust-logos img { display: block; width: auto; }
.trust-logos .t-meta { height: 50px; }
.trust-logos .t-google { height: 58px; }
.trust-logos .t-inc { height: 72px; }
@media (max-width: 860px) {
  .trust-bar { padding: 22px 0; }
  .trust-inner { flex-direction: column; gap: 14px; }
  .trust-label { padding-right: 0; border-right: 0; text-align: center; white-space: normal; font-size: 11px; }
  .trust-label br { display: none; }
  .trust-logos { gap: 28px; }
  .trust-logos li { height: 52px; }
  .trust-logos .t-meta { height: 36px; }
  .trust-logos .t-google { height: 42px; }
  .trust-logos .t-inc { height: 52px; }
}

/* ---------- Our Work + Creative Engine: creative galleries ---------- */
.work-filter { position: sticky; top: calc(var(--ann-h) + 88px); z-index: 20; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; margin-bottom: clamp(32px, 4vw, 48px); background: var(--white); }
.work-filter button { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; transition: .2s; background: #fff; }
.work-filter button:hover { border-color: var(--black); }
.work-filter button.active { background: var(--black); color: #fff; border-color: var(--black); }
.work-block + .work-block { margin-top: clamp(64px, 8vw, 110px); }
.work-block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); }
.work-block-head p { color: var(--text-muted); max-width: 46ch; }
.brand-group + .brand-group { margin-top: clamp(40px, 5vw, 64px); }
.brand-group-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.brand-group-head h3 { font-family: var(--font-head); font-weight: 500; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; margin: 0; }
.cat-chip { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.brand-group-head .count { margin-left: auto; font-size: 13px; color: var(--text-muted); }
.work-masonry { columns: 4 220px; column-gap: 16px; }
.work-masonry .shot { margin: 0 0 16px; break-inside: avoid; border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 14px 30px -18px rgba(0,0,0,.35); }
.work-masonry .shot img { transition: transform .6s var(--ease); }
.work-masonry .shot:hover img { transform: scale(1.03); }
.work-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 40vw), 1fr)); gap: 24px 16px; }
.vid-card { margin: 0; min-width: 0; }
.vid-card .shot { border-radius: 14px; aspect-ratio: 9 / 16; background: #111; box-shadow: 0 14px 30px -18px rgba(0,0,0,.45); }
.vid-card .shot.landscape { aspect-ratio: 16 / 9; }
.vid-card video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vid-card .vid-play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(214,97,0,.92); display: grid; place-items: center; transition: opacity .3s; pointer-events: none; }
.vid-card .vid-play::before { content: ""; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.vid-card .shot:hover .vid-play { opacity: 0; }
.vid-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; margin-top: 10px; font-size: 14px; }
.vid-card figcaption b { font-weight: 600; }
.lightbox .lb-scroll.is-video { background: #000; }
.lightbox .lb-scroll video { display: block; max-width: 100%; max-height: calc(100vh - 150px); }
.modal-media img { object-fit: contain; }
@media (max-width: 860px) {
  .work-filter { top: calc(var(--ann-h) + 76px); overflow-x: auto; flex-wrap: nowrap; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .work-filter button { flex: none; }
  .work-masonry { columns: 2; column-gap: 10px; }
  .work-masonry .shot { margin-bottom: 10px; }
  .lightbox .lb-scroll:not(.is-wide) img { width: auto; max-width: 100%; max-height: calc(100vh - 130px); }
  .lightbox .lb-scroll video { max-height: calc(100vh - 130px); }
}

/* ---------- Creative Engine: creative story cards (media on top, text below) ---------- */
.story-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.story-card { background: var(--canvas); border-radius: var(--radius); padding: 12px 12px 26px; display: flex; flex-direction: column; }
.story-card .story-media { aspect-ratio: 4 / 5; border-radius: 14px; background: #111; }
.story-card .story-media img, .story-card .story-media video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.story-card .story-media:hover img { transform: scale(1.04); }
.story-media .vid-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(214,97,0,.92); display: grid; place-items: center; transition: opacity .3s; pointer-events: none; }
.story-media .vid-play::before { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.story-media:hover .vid-play { opacity: 0; }
.sc-body { padding: 22px 12px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sc-body .tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.sc-body .h-sm { margin: 0; }
.sc-body p { color: var(--text-muted); margin: 0; }
.sc-body .link-arrow { margin-top: auto; padding-top: 8px; align-self: flex-start; font-size: 14px; }
@media (max-width: 860px) {
  .story-cards { grid-template-columns: 1fr; }
  .story-card .story-media { aspect-ratio: 1 / 1; }
}

/* ---------- About: team grid, badges, influences ---------- */
.people.three { grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
.people.three .person figcaption b { font-size: 22px; }
.about-badges { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 4vw, 56px); margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(28px, 3vw, 36px); border-top: 1px solid var(--line); }
.mentor-wall { columns: 3; column-gap: clamp(16px, 2vw, 28px); }
.mw { break-inside: avoid; margin: 0 0 clamp(16px, 2vw, 28px); background: var(--white); border-radius: var(--radius-sm); padding: 10px 10px 0; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 18px 40px -26px rgba(0,0,0,.35); }
.mw .shot { border-radius: 6px; box-shadow: none; background: #ddd; }
.mw .shot img { transition: transform .8s var(--ease); }
.mw .shot:hover img { transform: scale(1.03); }
.mw figcaption { padding: 16px 8px 20px; }
.mw figcaption b { display: block; font: 500 19px/1.2 var(--font-head); letter-spacing: -.01em; margin-bottom: 6px; }
.mw figcaption b::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--orange); vertical-align: middle; margin: -3px 10px 0 0; }
.mw figcaption span { display: block; color: var(--text-muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) {
  .people.three { grid-template-columns: 1fr 1fr; }
  .about-badges { flex-direction: column; gap: 14px; }
  .about-badges .trust-label { padding-right: 0; border-right: 0; text-align: center; white-space: normal; }
  .about-badges .trust-label br { display: none; }
  .mentor-wall { columns: 2; }
}
@media (max-width: 560px) {
  .mentor-wall { columns: 1; }
}

/* ---------- About: intro copy ---------- */
.about-intro-head { position: sticky; top: 120px; }
.about-intro-body { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: var(--text-muted); }
.about-intro-body b { color: var(--black); font-weight: 600; }
.about-intro-body .about-intro-lead { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.4; color: var(--black); font-family: var(--font-head); font-weight: 500; letter-spacing: -.01em; }
.about-intro-body .about-intro-close { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; color: var(--black); font-family: var(--font-head); font-weight: 500; letter-spacing: -.01em; }
@media (max-width: 860px) { .about-intro-head { position: static; } }
