/* Kuulective: "Main Stage" brand look
   Electric ultramarine and highlighter yellow on deep ink.
   Headlines: Unbounded. Body: Manrope.
   Contrast notes: ultramarine on ink is only 2.6:1, so on dark sections it is used
   for shapes only and links/accents use highlighter instead. */

:root {
  --ultramarine: #2340e8;
  --highlighter: #ffd60a;
  --ink: #0a1033;
  --ink-2: #121a45;
  --paper: #f6f7fb;
  --white: #ffffff;
  --slate: #4a5275;
  --mist: #a9b1d6;
  --line-light: #dfe2ee;
  --line-dark: rgba(169, 177, 214, 0.22);

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --section: clamp(56px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--ultramarine); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--highlighter);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 7vw, 76px); font-weight: 800; }
h2 { font-size: clamp(28px, 4.4vw, 48px); font-weight: 800; }
h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--highlighter); color: var(--ink);
  padding: 10px 16px; font-weight: 700; border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 16, 51, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px; flex-wrap: wrap;
  min-height: 72px; padding-block: 12px;
}
.wordmark {
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  letter-spacing: -0.01em; color: var(--paper); text-decoration: none;
}
.wordmark span { color: var(--highlighter); }

.site-nav ul {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px clamp(12px, 2.4vw, 28px);
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  color: var(--mist); font-weight: 600; font-size: 15px;
  text-decoration: none; padding: 6px 0; display: inline-block;
}
.site-nav a:hover { color: var(--paper); }
.site-nav a[aria-current="page"] {
  color: var(--paper);
  box-shadow: inset 0 -3px 0 var(--highlighter);
}
.site-nav .nav-cta {
  background: var(--highlighter); color: var(--ink);
  padding: 8px 16px; border-radius: var(--radius);
}
.site-nav .nav-cta:hover { color: var(--ink); }
.site-nav .nav-cta[aria-current="page"] { box-shadow: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800; font-size: 16px;
  padding: 14px 24px; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  line-height: 1.2;
}
.btn-primary { background: var(--highlighter); color: var(--ink); }
.btn-primary:hover { background: #ffe14d; }
.btn-ghost { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-ghost:hover { background: rgba(246, 247, 251, 0.1); }
.btn-blue { background: var(--ultramarine); color: var(--white); }
.btn-blue:hover { background: #1b33c4; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 0.15s ease, background-color 0.15s ease; }
  .btn:hover { transform: translateY(-2px); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark a:not(.btn) { color: var(--highlighter); }
.section-white { background: var(--white); }
.section-blue { background: var(--ultramarine); color: var(--white); }
.section-blue a:not(.btn) { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ultramarine); margin-bottom: 14px;
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--highlighter); }
.section-blue .eyebrow { color: var(--highlighter); }

.lede { font-size: clamp(18px, 2vw, 21px); max-width: 60ch; color: var(--slate); }
.section-dark .lede, .hero .lede { color: var(--mist); }
.section-blue .lede { color: #e6e9fb; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

.nowrap { white-space: nowrap; }

mark {
  background: var(--highlighter); color: var(--ink);
  padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  padding-block: clamp(64px, 11vw, 140px) clamp(64px, 10vw, 120px);
  isolation: isolate;
}
.hero::before, .hero::after {
  content: ""; position: absolute; top: -30%; height: 170%;
  transform: skewX(-14deg); z-index: -1;
}
.hero::before { right: -18%; width: 44%; background: var(--ultramarine); }
.hero::after { right: 30%; width: 2.2%; background: var(--highlighter); }
.hero h1 { max-width: 13ch; }
.hero .lede { margin-bottom: 32px; max-width: 46ch; }
.hero-proof {
  margin: 40px 0 0; font-size: 14px; font-weight: 600;
  letter-spacing: 0.03em; color: var(--mist);
}
.hero-proof strong { color: var(--paper); }

.page-hero { padding-block: clamp(56px, 9vw, 110px) clamp(48px, 8vw, 90px); }
.page-hero h1 { font-size: clamp(34px, 6vw, 64px); max-width: 16ch; }
.page-hero::before { width: 38%; right: -14%; }
.page-hero::after { right: 26%; }

@media (max-width: 1000px) {
  .hero::before { opacity: 0.45; }
  .hero::after { opacity: 0.6; }
}
@media (max-width: 720px) {
  .hero::before { right: -45%; width: 70%; opacity: 0.35; }
  .hero::after { display: none; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.stat { background: var(--ink-2); padding: 28px 24px; }
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 4.6vw, 52px); line-height: 1; color: var(--highlighter);
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.stat-label { color: var(--mist); font-size: 15px; }
.fine-print { font-size: 14px; color: var(--mist); margin-top: 18px; }
.section-white .fine-print, .section .fine-print.on-light { color: var(--slate); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card {
  background: var(--white); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  border-top: 5px solid var(--ultramarine);
  box-shadow: 0 1px 0 var(--line-light), 0 12px 32px -24px rgba(10, 16, 51, 0.35);
}
.section-white .card { background: var(--paper); box-shadow: none; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 10px;
}
.card-accent { border-top-color: var(--highlighter); }

.card-dark {
  background: var(--ink-2); color: var(--paper);
  border-top-color: var(--highlighter); box-shadow: none;
}
.card-dark p { color: var(--mist); }

.segment-num {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--ultramarine); display: block; margin-bottom: 14px;
}

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 12px; height: 12px; background: var(--highlighter);
  border: 2px solid var(--ink); transform: skewX(-14deg);
}

/* ---------- Placeholders for Matt's media ---------- */
.placeholder {
  position: relative;
  display: grid; place-items: center; text-align: center;
  min-height: 220px; padding: 24px;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(-14deg, rgba(35, 64, 232, 0.08) 0 14px, transparent 14px 28px),
    var(--ink-2);
  border: 2px dashed var(--mist);
  color: var(--mist); font-weight: 700; font-size: 15px;
}
.placeholder::before {
  content: "Placeholder"; position: absolute; top: 12px; left: 12px;
  background: var(--highlighter); color: var(--ink);
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
}
.placeholder.ratio-16x9 { aspect-ratio: 16 / 9; min-height: 0; }
.placeholder.ratio-4x5 { aspect-ratio: 4 / 5; min-height: 0; }
.placeholder.ratio-1x1 { aspect-ratio: 1 / 1; min-height: 0; }
.placeholder.logo { min-height: 96px; font-size: 13px; }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* ---------- Case studies ---------- */
.case {
  display: grid; gap: clamp(24px, 4vw, 56px); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line-light);
}
.case:first-of-type { border-top: 0; padding-top: 0; }
.case-meta {
  font-size: 13px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 10px;
}
.case h2 { font-size: clamp(26px, 3.4vw, 38px); }
.case-numbers {
  display: grid; gap: 12px; margin: 22px 0;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.case-numbers div { border-left: 4px solid var(--highlighter); padding-left: 12px; }
.case-numbers b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 26px; line-height: 1.1; color: var(--ultramarine);
}
.case-numbers span { font-size: 14px; color: var(--slate); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 64px; margin-bottom: 28px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--highlighter);
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--mist); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after {
  content: ""; position: absolute; right: 8%; top: -40%; height: 180%; width: 18px;
  background: var(--highlighter); transform: skewX(-14deg); z-index: -1;
}
.cta-band h2 { max-width: 18ch; }

/* ---------- About ---------- */
.split {
  display: grid; gap: clamp(28px, 5vw, 64px); align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 18px 0; border-top: 1px solid var(--line-light); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline b { display: block; font-size: 18px; }
.timeline span { color: var(--slate); font-size: 15px; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field .hint { font-weight: 500; color: var(--slate); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid #c9cee3; border-radius: var(--radius);
  padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ultramarine); outline: none;
  box-shadow: 0 0 0 3px rgba(35, 64, 232, 0.25);
}
.field-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; font-weight: 700; margin: 0; }
.form-status.ok { color: #16703f; }
.form-status.err { color: #b3261e; }
.form-note { font-size: 14px; color: var(--slate); margin: 0; }

.contact-aside { display: grid; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: var(--mist);
  border-top: 4px solid var(--highlighter);
  padding-block: 48px 40px; font-size: 15px;
}
.site-footer .footer-bottom {
  display: flex; flex-wrap: wrap; gap: 24px 48px;
  justify-content: space-between; align-items: flex-start;
}
.footer-cta {
  padding-block: clamp(24px, 5vw, 56px) clamp(40px, 6vw, 72px);
  margin-bottom: 40px; border-bottom: 1px solid var(--line-dark);
}
.footer-cta .eyebrow { color: var(--highlighter); }
.footer-email {
  display: block; width: fit-content; max-width: 100%;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  /* Sized so the whole address stays on one line: it is about 13.5em wide in Unbounded. */
  font-size: clamp(18px, 5.8vw, 72px); line-height: 1.05; white-space: nowrap;
  color: var(--paper) !important; text-decoration: none !important;
}
/* Same visual gap below the address as between "Got a project?" and the address. */
.site-footer .footer-email { margin: 0 0 calc(20px - 0.08em); }
@supports (font-size: 1cqi) {
  .footer-cta { container-type: inline-size; }
  .footer-email { font-size: min(84px, 7cqi); }
}
.footer-email span { color: var(--highlighter); }
.footer-email:hover { text-decoration: underline !important; text-decoration-color: var(--highlighter) !important; text-decoration-thickness: 4px !important; }
.site-footer .wordmark { font-size: 18px; display: inline-block; margin-bottom: 8px; }
.site-footer p { margin: 0; max-width: 38ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a:not(.btn) { color: var(--mist); text-decoration: none; font-weight: 600; }
.site-footer a:not(.btn):hover { color: var(--paper); text-decoration: underline; }
.site-footer .legal { width: 100%; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.muted { color: var(--slate); }

/* ---------- Photo-led hero (home) ---------- */
.hero-media { min-height: min(88vh, 860px); display: flex; align-items: flex-end; }
.hero-media::before, .hero-media::after { display: none; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bg.placeholder {
  border: 0; border-radius: 0; min-height: 0;
  place-items: start end; padding: 96px var(--gutter) 24px;
}
.hero-bg.placeholder::before { top: auto; bottom: 20px; left: auto; right: var(--gutter); }
.hero-bg.placeholder span { opacity: 0.85; }
.hero-media .hero-content { position: relative; width: 100%; }
.hero-media .hero-content::before {
  /* readable scrim over the photo */
  content: ""; position: absolute; z-index: -1;
  inset: -40vh -50vw -20vh -50vw;
  background: linear-gradient(0deg, rgba(10, 16, 51, 0.96) 25%, rgba(10, 16, 51, 0.55) 65%, rgba(10, 16, 51, 0.15));
}
.hero-media h1 { max-width: 14ch; }

/* ---------- Ticker band ---------- */
.ticker {
  background: var(--highlighter); color: var(--ink);
  overflow: hidden; white-space: nowrap;
  border-block: 3px solid var(--ink);
  padding-block: 14px;
}
.ticker-track { display: inline-flex; gap: 0; }
.ticker-track span {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(18px, 2.6vw, 28px); letter-spacing: 0.01em; padding-inline: 22px;
  position: relative;
}
.ticker-track span::after {
  content: ""; position: absolute; right: -6px; top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  background: var(--ultramarine); transform: skewX(-14deg);
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 32s linear infinite; }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section head with an action on the right ---------- */
.section-head-row {
  max-width: none; display: flex; flex-wrap: wrap; gap: 20px 32px;
  align-items: flex-end; justify-content: space-between;
}
.section-head-row h2 { margin-bottom: 0; }

/* ---------- Sideways-scrolling work tiles ---------- */
.tile-scroller {
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scroll-padding-inline: var(--gutter);
  padding-bottom: 12px;
  scrollbar-color: var(--highlighter) var(--ink-2);
}
.tile-scroller:focus-visible { outline-offset: -3px; }
.tile-row {
  list-style: none; margin: 0; display: flex; gap: clamp(14px, 2vw, 24px);
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  width: max-content;
}
.tile { scroll-snap-align: start; width: min(78vw, 560px); flex: 0 0 auto; }
.tile a {
  position: relative; display: block; color: var(--paper); text-decoration: none;
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
}
.tile-media { aspect-ratio: 4 / 5; min-height: 0; border-radius: var(--radius); }
.tile-media.placeholder { place-items: start center; padding-top: 30%; }
.tile a::after {
  content: ""; position: absolute; inset: 40% 0 0; z-index: 0;
  background: linear-gradient(0deg, rgba(10, 16, 51, 0.95), transparent);
  pointer-events: none;
}
.chip {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 3px;
}
.chip::before { content: ""; width: 7px; height: 7px; background: var(--ultramarine); transform: skewX(-14deg); }
.tile-num {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--highlighter);
}
.tile .placeholder::before { display: none; }
.tile-text { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; display: grid; gap: 6px; }
.tile-title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.05;
}
.tile-sub { color: var(--highlighter); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .tile-media { transition: transform 0.3s ease; }
  .tile a:hover .tile-media, .tile a:focus-visible .tile-media { transform: scale(1.03); }
}

/* ---------- Manifesto ---------- */
.manifesto { background: var(--ultramarine); color: var(--white); }
.manifesto .eyebrow { color: var(--highlighter); }
.manifesto h2 { font-size: clamp(20px, 5vw, 72px); max-width: 18em; }
/* The highlighted line stays on one line: it is about 16.3em wide, so the headline scales to fit it. */
.manifesto h2 mark { white-space: nowrap; }
@supports (font-size: 1cqi) {
  .manifesto .wrap { container-type: inline-size; }
  .manifesto h2 { font-size: clamp(26px, 5.9cqi, 72px); }
  .manifesto h2 mark { font-size: min(1em, 5.9cqi); }
}
.manifesto .lede { color: #e6e9fb; }

/* ---------- Three paths ---------- */
.paths { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.paths a {
  display: grid; gap: 8px 32px; align-items: baseline;
  grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line-dark);
  color: var(--paper) !important; text-decoration: none;
}
.path-num { font-family: var(--font-display); font-weight: 800; color: var(--highlighter); }
.path-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.1; }
.path-desc { color: var(--mist); }
.path-go { font-weight: 800; color: var(--highlighter); white-space: nowrap; }
.paths a:hover .path-title { color: var(--highlighter); }
@media (max-width: 820px) {
  .paths a { grid-template-columns: 40px minmax(0, 1fr); }
  .path-desc, .path-go { grid-column: 2; }
}

/* ---------- Big case studies (work page) ---------- */
.case-big { padding-block: clamp(28px, 5vw, 56px); }
.case-big + .case-big { border-top: 1px solid var(--line-dark); }
.case-banner { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.case-media { aspect-ratio: 21 / 9; min-height: 260px; border-radius: var(--radius); place-items: start center; padding-top: 12%; }
.case-banner .placeholder::before { display: none; }
.case-banner::after {
  content: ""; position: absolute; inset: 35% 0 0; z-index: 0;
  background: linear-gradient(0deg, rgba(10, 16, 51, 0.95), transparent);
}
.case-title {
  position: absolute; left: clamp(18px, 3vw, 32px); right: clamp(18px, 3vw, 32px); bottom: clamp(16px, 3vw, 28px);
  z-index: 1; margin: 0; color: var(--paper);
  font-size: clamp(28px, 5.4vw, 64px);
}
.case-body {
  display: grid; gap: 16px clamp(24px, 4vw, 56px); align-items: start; margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.case-body p { color: var(--mist); margin: 0; }
.section-dark .case-numbers b { color: var(--highlighter); }
.section-dark .case-numbers span { color: var(--mist); }
.case-body .case-numbers { margin: 0; }

/* ---------- Real photos in tiles, banners and hero ---------- */
img.hero-bg { display: block; filter: saturate(1.05); }
img.tile-media, img.case-media { display: block; padding: 0; width: 100%; height: auto; object-fit: cover; background: var(--ink-2); }
img.case-media { min-height: 260px; }
img.portrait { display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--ink-2); }
/* ---------- Brand logo wall ---------- */
.logo-wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 56px; }
.logo-wall li { display: flex; align-items: center; justify-content: center; }
.logo-wall img { display: block; width: auto; height: auto; max-height: 64px; max-width: 180px; }
@media (max-width: 600px) { .logo-wall { gap: 28px 32px; } .logo-wall img { max-height: 48px; max-width: 132px; } }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--ink-2); }
