@font-face {
  font-family: 'Sohne Breit';
  src: url('/assets/fonts/soehne-breit-dreiviertelfett.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ABC Areal Mono';
  src: url('/assets/fonts/ABCArealMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ABC Areal';
  src: url('/assets/fonts/ABCAreal-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #161616;
  --fg: #fff;
  --line: #333;
  --card: #000;
  --radius: 10px;
  --pad: 80px;
  --gap: 32px;
  --max: 1280px;
  --display: 'Sohne Breit', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'ABC Areal Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'ABC Areal', 'Helvetica Neue', Arial, sans-serif;
  --h1: clamp(40px, 5.556vw, 80px);
  --h2: clamp(30px, 3.333vw, 48px);
  --h3: clamp(26px, 2.64vw, 38px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.4 var(--sans);
  font-feature-settings: 'liga' 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }

.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: 0; }
.mono { font-family: var(--mono); font-size: 14px; line-height: 1.2; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* background X: stays in view while scrolling */
.bg-x { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-x img { position: absolute; left: calc(50% - 463px); top: 30px; width: 1178px; height: 997px; max-width: none; transform: rotate(18.33deg); }
main, .nav, .footer { position: relative; z-index: 1; }

/* buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px; padding: 0 12px; min-width: 103px;
  border: 1px solid #fff; border-radius: var(--radius);
  font: 14px/1 var(--mono); white-space: nowrap;
  transition: background .2s, color .2s;
}
.pill.is-active, .pill--solid { background: #fff; color: #000; }
@media (hover: hover) { .pill:hover { background: #fff; color: #000; } }
.pill:active { transform: scale(.97); }

/* nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 85px; }
.nav__logo img { width: 52px; height: 20.5px; }
.nav__links { display: contents; }
.nav a, .nav button.link { font: 14px/1 var(--mono); }
.nav a:hover, .nav button.link:hover { opacity: .6; }
.nav .underline { text-decoration: underline; text-underline-offset: 3px; }
.nav__toggle { display: none; }

/* hero */
.hero { position: relative; height: 1100px; max-width: 1440px; margin: 0 auto; }
.hero__title {
  position: absolute; left: 50%; top: 266px; transform: translateX(-50%);
  width: min(1067px, 92vw); text-align: center; font-size: var(--h1); z-index: 2;
}
.hero__sub {
  position: absolute; left: 28.76%; top: 615px; width: 172px; text-align: center; z-index: 2;
}
.hero__sqs { position: absolute; inset: 0; }
.hero__sq {
  position: absolute; border-radius: var(--radius); overflow: hidden; background: #000;
  will-change: transform;
}
.hero__sq img { width: 100%; height: 100%; object-fit: cover; }
.hero__sq--a { left: calc(8.33% + 52.6px); top: 308px; width: 220px; height: 220px; }
.hero__sq--b { left: calc(33.33% + 38px); top: 147px; width: 220px; height: 220px; }
.hero__sq--c { left: calc(58.33% + 80px); top: 548px; width: 231px; height: 220px; }

/* logo marquee */
.marquee { position: absolute; left: 0; right: 0; top: 906px; overflow: hidden; z-index: 1; }
.marquee__row { display: flex; width: max-content; gap: 72px; padding-right: 72px; height: 41px; margin-bottom: 46px; align-items: center; animation: marq 60s linear infinite; }
.marquee__row:nth-child(2) { animation-direction: reverse; animation-duration: 70s; }
.marquee__row img { height: 30px; width: auto; opacity: .4; flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }

/* intro */
.intro { text-align: center; padding: 86px 0 133px; }
.intro h2 { font-size: var(--h2); }
.intro p { margin-top: 26px; }

/* case cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px var(--gap); }
.card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--card);
  grid-column: span 2; aspect-ratio: 1279 / 431; isolation: isolate;
}
.card--half { grid-column: span 1; aspect-ratio: 623 / 432; }
.card__media, .card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media { z-index: -1; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .card:hover .card__media { transform: scale(1.03); } }
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,0) 70%, rgba(0,0,0,.3) 100%); }
.card__body { position: absolute; inset: 0; padding: 19px 27px 30px; display: flex; flex-direction: column; }
.card__title { font-size: var(--h3); max-width: 626px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px 27px; margin-top: 15px; }
.card__more { margin-top: auto; align-self: flex-start; }
.card.is-hidden { display: none; }

/* sections */
.section { padding-top: 90px; }
.section__title { font-size: var(--h2); margin-bottom: 55px; }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 29px 31.5px; }
.service {
  position: relative; display: flex; flex-direction: column; min-height: 215px; padding: 29px 23px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; isolation: isolate;
  transition: border-color .2s;
}
.service:hover { border-color: #777; }
.service h3 { font-family: var(--display); text-transform: uppercase; font-size: 24px; line-height: 1; white-space: pre-line; }
.service p { margin-top: 12px; }
.service__arrow { margin-top: auto; align-self: flex-end; width: 31.4px; height: 31.4px; transition: transform .2s; }
.service:hover .service__arrow { transform: translateX(4px); }
.service--featured::before {
  content: ''; position: absolute; inset: -50px -25px; z-index: -1; opacity: .2; mix-blend-mode: luminosity;
  background: url('/assets/img/still_lifeai.webp') center/cover;
}

/* testimonials */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 40px) / 3); gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; cursor: grab; }
.quotes::-webkit-scrollbar { display: none; }
.quotes.is-drag { cursor: grabbing; scroll-snap-type: none; }
.quote { scroll-snap-align: start; }
.quote__tile { width: 50px; height: 50px; border-radius: 8px; display: grid; place-items: center; font: 700 22px/1 var(--display); color: #fff; }
.quote__name { margin-top: 26px; font: 700 20px/1.2 var(--display); text-transform: uppercase; }
.quote__role { font: 14px/1.5 var(--mono); }
.quote__text { margin-top: 23px; max-width: 352px; }
.quotes-nav { display: flex; gap: 10px; margin-top: 36px; }
.quotes-nav button { width: 31.4px; height: 31.4px; }
.quotes-nav button:first-of-type img { transform: rotate(180deg); }
.quotes-nav button:disabled { opacity: .3; cursor: default; }

/* destealth banner */
.banner { position: relative; display: block; margin-top: 90px; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 1279 / 431; isolation: isolate; }
.banner__img { position: absolute; left: 30.2%; top: -8.5%; width: 60.5%; height: auto; mix-blend-mode: lighten; z-index: -1; }
.banner__body { position: absolute; left: 8.65%; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; }
.banner__logo { position: relative; width: 168px; height: 21px; }
.banner__logo img { position: absolute; top: 0; }
.banner__logo span { position: absolute; left: 134px; top: 3px; font: 10px/1 var(--mono); letter-spacing: .72px; text-transform: uppercase; opacity: .2; color: #ededeb; white-space: nowrap; }
.banner h2 { font-size: var(--h2); margin-top: 14px; max-width: 738px; }
.banner .pill { margin-top: 16px; align-self: flex-start; min-width: 109px; }

/* closing CTA */
.cta { position: relative; padding: 230px 0 160px; text-align: center; }
.cta__inner { position: relative; display: inline-block; }
.cta__kicker { position: absolute; left: 14px; top: -30px; width: 66px; text-align: center; line-height: 1.2; }
.cta h2 { font-size: var(--h2); width: min(568px, 90vw); }
.cta .pill { margin-top: 26px; }

/* footer */
.footer { padding: 0 0 26px; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 60px; font: 14px/1.6 var(--mono); }
.footer a:hover { opacity: .6; }

/* case studies page */
.page-head { padding: 193px var(--pad) 130px; text-align: center; }
.page-head h1 { font-size: var(--h1); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-top: 46px; }
.filters .pill { min-width: 175px; }

/* case detail */
.cs-hero { position: relative; height: 747px; overflow: hidden; background: #000; isolation: isolate; }
.cs-hero__media, .cs-hero__media img, .cs-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.cs-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%); z-index: -1; }
.cs-hero .wrap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; padding-bottom: 72px; }
.cs-hero h1 { font-size: var(--h1); max-width: 1045px; }
.cs-hero .tags { display: flex; flex-wrap: wrap; gap: 6px 36px; margin-top: 28px; }
.cs-body { padding-top: 91px; }
.cs-text { max-width: 735px; }
.cs-text h2 { font-size: var(--h2); }
.cs-text p { margin-top: 14px; }
.cs-text p + p { margin-top: 10px; }
.cs-text--center { margin: 0 auto; text-align: center; }
.cs-block { margin-top: 63px; }
.cs-img { border-radius: var(--radius); overflow: hidden; background: #000; }
.cs-img img { width: 100%; height: auto; }
.cs-img + .cs-img, .cs-pair + .cs-img, .cs-img + .cs-pair, .cs-pair + .cs-pair { margin-top: 30px; }
.cs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cs-pair .cs-img img { aspect-ratio: 625 / 833; object-fit: cover; height: 100%; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px var(--gap); max-width: 1180px; }
.stat__num { font: 700 var(--h1)/1 var(--display); }
.stat__label { margin-top: 10px; }
.cs-similar { padding-top: 120px; }

/* privacy */
.legal { padding: 193px var(--pad) 0; }
.legal h1 { font-size: var(--h1); }
.legal__body { max-width: 735px; margin-top: 60px; }
.legal__body p, .legal__body li { margin: 0 0 12px; }
.legal__body h2 { font: 700 20px/1.2 var(--display); text-transform: uppercase; margin: 36px 0 12px; }

/* showreel modal */
.reel { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: none; place-items: center; padding: 4vw; }
.reel.is-open { display: grid; }
.reel video { width: min(1280px, 100%); max-height: 86vh; border-radius: var(--radius); background: #000; }
.reel__close { position: absolute; top: 28px; right: var(--pad); font: 14px/1 var(--mono); text-decoration: underline; text-underline-offset: 3px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__row { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  :root { --pad: 48px; }
  .hero { height: 1000px; }
  .hero__title { top: 230px; }
  .hero__sub { left: 50%; transform: translateX(-50%); top: 560px; }
  .hero__sq--a { left: 4%; top: 300px; width: 180px; height: 180px; }
  .hero__sq--b { left: 32%; top: 140px; width: 180px; height: 180px; }
  .hero__sq--c { left: auto; right: 6%; top: 500px; width: 190px; height: 180px; }
  .marquee { top: 820px; }
}

/* shared additions */
html.is-locked, html.is-locked body { overflow: hidden; }
.nav__menu-foot, .m-cta, .nav__burger { display: none; }
.quotes-nav { align-items: center; }
.quotes-count { order: 3; margin-left: 8px; opacity: .6; }
.filters-count { margin-top: 18px; opacity: .5; }
.cs-next { padding-top: 120px; }
.cs-next a { display: flex; align-items: center; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-next .mono { opacity: .6; flex: none; width: 110px; }
.cs-next .display { font-size: var(--h3); flex: 1; }
.cs-next img { flex: none; transition: transform .2s; }
@media (hover: hover) { .cs-next a:hover img { transform: translateX(6px); } }
.cs-similar { padding-top: 90px; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }


/* authored case study components */
.cs-dek { max-width: 640px; margin-top: 18px; font-size: 17px; line-height: 1.45; opacity: .9; }
.cs-summary { padding-top: 64px; }
.cs-summary__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-summary__facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.cs-summary__facts > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.cs-summary__facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.cs-summary__facts dt, .cs-summary__results h2 { opacity: .55; font-weight: 400; margin: 0 0 8px; font-size: 13px; }
.cs-summary__facts dd { margin: 0; font-size: 15px; line-height: 1.4; }
.cs-summary__results { padding: 24px 0 24px 32px; border-left: 1px solid var(--line); }
.cs-summary__results ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.cs-summary__results li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; }
.cs-summary__results li::before { content: ''; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border: 1px solid #fff; border-radius: 50%; }
.cs-block--tight { margin-top: 30px; }
.cs-img { margin: 0; }
.cs-img figcaption { padding: 10px 2px 0; opacity: .6; }
.cs-img--native { margin: 0 auto; border: 1px solid var(--line); }
.cs-pair--natural .cs-img img { aspect-ratio: auto; height: auto; }
.cs-pair--natural { align-items: start; }
.cs-gallery { display: flex; gap: 30px; align-items: flex-start; }
.cs-gallery .cs-img img { width: 100%; height: auto; }
.cs-list { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); border-top: 1px solid var(--line); }
.cs-list > div { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.cs-list dt { font-size: 20px; line-height: 1.1; }
.cs-list dd { margin: 10px 0 0; max-width: 520px; }
.cs-bar { max-width: 960px; }
.cs-bar__track { display: flex; gap: 4px; height: 72px; margin-top: 28px; border-radius: 6px; overflow: hidden; }
.cs-bar__track span { display: block; min-width: 8px; }
.cs-bar__legend { width: 100%; margin-top: 18px; border-collapse: collapse; font-family: var(--mono); font-size: 14px; }
.cs-bar__legend th { text-align: left; font-weight: 400; padding: 10px 0; display: flex; align-items: center; gap: 12px; }
.cs-bar__legend i { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.cs-bar__legend td { text-align: right; padding: 10px 0 10px 24px; white-space: nowrap; }
.cs-bar__legend tr { border-bottom: 1px solid var(--line); }
.cs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cs-table { width: 100%; border-collapse: collapse; font: 14px/1.3 var(--mono); min-width: 640px; }
.cs-table caption { text-align: left; padding-bottom: 14px; opacity: .6; caption-side: top; }
.cs-table th, .cs-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; white-space: nowrap; }
.cs-table thead th { opacity: .55; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.cs-table .num { text-align: right; }
.cs-table th:first-child { padding-left: 0; }
.cs-table td:last-child, .cs-table thead th:last-child { padding-right: 0; }
.cs-table tbody tr.is-hl { background: rgba(255,255,255,.06); }
.cs-table tbody tr.is-hl th { box-shadow: inset 3px 0 0 #fff; padding-left: 10px; }
.cs-table tfoot th, .cs-table tfoot td { border-bottom: 0; border-top: 1px solid #777; }
.cs-quote { margin: 90px 0 0; max-width: 1060px; }
.cs-quote blockquote { margin: 0; font-size: var(--h2); }
.cs-quote figcaption { margin-top: 18px; opacity: .6; }
.cs-faq { max-width: 960px; }
.cs-faq h2 { font-size: var(--h2); margin-bottom: 18px; }
.cs-faq__item { padding: 22px 0; border-top: 1px solid var(--line); }
.cs-faq__item:last-child { border-bottom: 1px solid var(--line); }
.cs-faq__item h3 { font: 700 18px/1.25 var(--display); text-transform: uppercase; }
.cs-faq__item p { margin-top: 10px; max-width: 760px; }

.cs-pair > .cs-img + .cs-img, .cs-gallery > .cs-img + .cs-img { margin-top: 0; }
.cs-hero--long h1 { font-size: clamp(34px, 4.3vw, 62px); max-width: 1100px; }
.stats--dense .stat__num { font-size: clamp(34px, 4.4vw, 64px); }
.cs-hero--photo::after { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.78) 100%); }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  :root { --pad: 20px; --gap: 14px; --h1: clamp(34px, 9.6vw, 48px); --h2: clamp(28px, 8vw, 38px); --h3: clamp(21px, 6.2vw, 30px); }
  body { font-size: 15px; line-height: 1.5; }
  .mono { font-size: 13px; }

  /* tap targets */
  .pill { height: 44px; padding: 0 18px; min-width: 0; font-size: 14px; border-radius: 12px; }

  /* header: fixed, compact, hides on scroll down */
  .nav { position: fixed; transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s; padding-top: env(safe-area-inset-top); }
  .nav .wrap { height: 60px; }
  .nav.is-scrolled { background: rgba(22,22,22,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .nav.is-hidden { transform: translateY(-100%); }
  .nav.is-open { background: var(--bg); transform: none; }
  .nav__logo { padding: 12px 12px 12px 0; }
  .nav__toggle { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 0 0 12px; font: 14px/1 var(--mono); }
  .nav__burger { display: block; position: relative; width: 18px; height: 10px; }
  .nav__burger::before, .nav__burger::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: #fff; transition: transform .25s, top .25s; }
  .nav__burger::before { top: 0; } .nav__burger::after { top: 8.5px; }
  .nav.is-open .nav__burger::before { top: 4.25px; transform: rotate(45deg); }
  .nav.is-open .nav__burger::after { top: 4.25px; transform: rotate(-45deg); }
  .nav__links {
    display: flex; visibility: hidden; opacity: 0; position: fixed; left: 0; right: 0; top: calc(60px + env(safe-area-inset-top)); bottom: 0;
    background: var(--bg); flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0;
    padding: 24px var(--pad) calc(28px + env(safe-area-inset-bottom)); overflow-y: auto;
    transition: opacity .25s, visibility 0s .25s;
  }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transition: opacity .25s; }
  .nav__links > a, .nav__links > button.link {
    display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); text-align: left;
    font: 700 30px/1 var(--display); text-transform: uppercase; text-decoration: none;
  }
  .nav__menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 32px; }
  .nav__menu-foot .pill { flex: 1; height: 52px; font-size: 15px; }
  .nav__menu-foot .mono { padding: 14px 0; }

  /* floating CTA */
  .m-cta {
    display: flex; align-items: center; justify-content: space-between; position: fixed; z-index: 30;
    left: var(--pad); right: var(--pad); bottom: calc(14px + env(safe-area-inset-bottom)); height: 52px; padding: 0 20px;
    background: #fff; color: #000; border-radius: 14px; font: 15px/1 var(--mono);
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
    transform: translateY(calc(100% + 30px)); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .m-cta.is-shown { transform: none; }
  .m-cta__arrow { font-size: 18px; }

  /* hero: headline first, work below, all in the first screen */
  .hero { height: auto; padding: calc(104px + env(safe-area-inset-top)) 0 0; display: flex; flex-direction: column; }
  .hero__title, .hero__sub { position: relative; left: auto; top: auto; transform: none; }
  .hero__title { width: auto; padding: 0 var(--pad); text-align: left; font-size: min(var(--h1), 9.6vw); order: 1; }
  .hero__sub { order: 3; width: auto; margin: 28px var(--pad) 0; text-align: left; display: block; padding: 6px 0; }
  .hero__sub br { display: none; }
  .hero__sub span { margin-left: 8px; }
  .hero__sqs { order: 2; position: relative; inset: auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin: 32px var(--pad) 0; height: auto; }
  .hero__sq, .hero__sq--a, .hero__sq--b, .hero__sq--c { position: relative; left: auto; right: auto; top: auto; width: auto; height: auto; max-width: none; max-height: none; aspect-ratio: 1; transform: none !important; }
  .hero__sq--b { margin-top: 22px; } .hero__sq--c { margin-top: 44px; }
  .marquee { order: 4; position: relative; top: auto; margin-top: 44px; width: 100%; }
  .marquee__row { gap: 40px; padding-right: 40px; height: 28px; margin-bottom: 18px; animation-duration: 45s; }
  .marquee__row:nth-child(2) { animation-duration: 52s; }
  .marquee__row img { height: 20px; }

  .intro { padding: 72px var(--pad) 64px; text-align: left; }
  .intro p { margin-top: 16px; }

  /* case cards: image on top, text below for legibility */
  .cards { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .card, .card--half { grid-column: span 1; aspect-ratio: auto; background: none; overflow: visible; border-radius: 0; }
  .card::after { display: none; }
  .card__media { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #000; z-index: 0; }
  .card__media img, .card__media video { position: absolute; inset: 0; }
  .card__body { position: relative; inset: auto; padding: 16px 0 0; }
  .card__title { font-size: var(--h3); }
  .card__tags { margin-top: 10px; gap: 4px 16px; opacity: .7; }
  .card__more { display: none; }
  .card:active .card__media { opacity: .85; }

  .section { padding-top: 80px; }
  .section__title { margin-bottom: 24px; }

  /* services: compact tappable rows */
  .services { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .service { min-height: 0; padding: 20px 52px 20px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; overflow: visible; }
  .service--featured::before { display: none; }
  .service h3 { font-size: 20px; white-space: normal; }
  .service h3 br { display: none; }
  .service p { margin-top: 8px; font-size: 14px; opacity: .75; }
  .service__arrow { position: absolute; right: 0; top: 50%; margin: -16px 0 0; }
  .service:active { background: rgba(255,255,255,.04); }

  /* testimonials: swipe with peek */
  .quotes { align-items: start; grid-auto-columns: 84%; gap: 16px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 4px; scroll-padding: 0 var(--pad); }
  .quote { padding: 22px 20px 26px; border: 1px solid var(--line); border-radius: var(--radius); }
  .quote__tile { width: 40px; height: 40px; font-size: 18px; }
  .quote__name { margin-top: 18px; font-size: 18px; }
  .quote__text { margin-top: 14px !important; font-size: 15px; }
  .quotes-nav { margin-top: 20px; }
  .quotes-nav button { width: 44px; height: 44px; display: grid; place-items: center; }
  .quotes-nav button img { width: 32px; height: 32px; }

  /* destealth */
  .banner { aspect-ratio: auto; min-height: 0; margin-top: 72px; display: flex; flex-direction: column; }
  .banner__img { position: relative; left: auto; top: auto; bottom: auto; width: 120%; max-width: none; margin: -10px -10% -30px; order: 2; opacity: 1; }
  .banner__body { position: relative; left: auto; padding: 32px 22px 0; order: 1; }
  .banner h2 { font-size: 28px; margin-top: 16px; }
  .banner .pill { margin-top: 20px; }
  .br-d { display: none; }

  /* closing CTA */
  .cta { padding: 110px var(--pad) 90px; }
  .cta__inner { display: block; }
  .cta__kicker { position: static; display: block; margin: 0 auto 14px; width: auto; }
  .cta h2 { width: auto; }
  .cta .pill { margin-top: 24px; height: 52px; padding: 0 32px; }

  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; text-align: left; }
  .footer a { display: flex; align-items: center; min-height: 44px; border-top: 1px solid var(--line); font-size: 13px; }

  /* case studies index */
  .page-head { padding: calc(110px + env(safe-area-inset-top)) var(--pad) 32px; text-align: left; }
  .page-head h1 { font-size: var(--h1); }
  .filters {
    position: sticky; top: 0; z-index: 10; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin: 24px calc(var(--pad) * -1) 0; padding: 10px var(--pad); gap: 8px; background: rgba(22,22,22,.92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); scroll-snap-type: x proximity;
  }
  .filters { transition: top .3s cubic-bezier(.2,.7,.2,1); }
  html:not(.nav-hidden) .filters { top: calc(60px + env(safe-area-inset-top)); }
  .filters::-webkit-scrollbar { display: none; }
  .filters .pill { min-width: 0; flex: none; height: 40px; scroll-snap-align: start; }
  .filters-count { margin-top: 6px; }

  /* case detail */
  .cs-hero { height: 72svh; min-height: 480px; }
  .cs-hero .wrap { padding-bottom: 28px; }
  .cs-hero .tags { gap: 4px 18px; margin-top: 16px; }
  .cs-body { padding-top: 44px; }
  .cs-block { margin-top: 40px; }
  .cs-text p { font-size: 16px; line-height: 1.55; }
  .cs-text--center { text-align: left; }
  .cs-pair { grid-template-columns: 1fr; gap: 12px; }
  .cs-pair .cs-img img { aspect-ratio: auto; }
  .cs-img + .cs-img, .cs-pair + .cs-img, .cs-img + .cs-pair, .cs-pair + .cs-pair { margin-top: 12px; }
  .stats { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px 14px; }
  .stats--dense .stat__num { font-size: clamp(26px, 8.4vw, 40px); }
  .stat__num { font-size: clamp(34px, 10vw, 46px); }
  .cs-next { padding-top: 64px; }
  .cs-next a { flex-wrap: wrap; gap: 8px 16px; padding: 22px 0; }
  .cs-next .mono { width: 100%; }
  .cs-next .display { font-size: 24px; }
  .cs-similar { padding-top: 64px; }


  /* authored case studies, mobile */
  .cs-dek { font-size: 15px; margin-top: 12px; }
  .cs-summary { padding-top: 36px; }
  .cs-summary__grid { grid-template-columns: 1fr; }
  .cs-summary__facts > div { padding: 16px 12px 16px 0; }
  .cs-summary__facts > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cs-summary__results { border-left: 0; padding: 20px 0 22px; }
  .cs-block--tight { margin-top: 12px; }
  .cs-gallery { flex-direction: column; gap: 12px; }
  .cs-gallery .cs-img { flex: none !important; width: 100%; }
  .cs-list { grid-template-columns: 1fr; }
  .cs-list dt { font-size: 18px; }
  .cs-bar__track { height: 48px; }
  .cs-bar__legend { font-size: 13px; }
  .cs-bar__legend td { padding-left: 12px; }
  .cs-table-wrap { margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
  .cs-table { font-size: 13px; }
  .cs-quote { margin-top: 56px; }
  .cs-faq__item h3 { font-size: 16px; }
  .legal { padding: calc(110px + env(safe-area-inset-top)) var(--pad) 0; }
  .legal__body p, .legal__body li { font-size: 15px; line-height: 1.6; }

  /* showreel: full screen */
  .reel { padding: 0; }
  .reel video { width: 100%; max-height: 100svh; border-radius: 0; }
  .reel__close { top: calc(14px + env(safe-area-inset-top)); right: var(--pad); height: 44px; padding: 0 4px; }

  .bg-x img { left: -150px; top: 10px; width: 730px; height: 618px; opacity: .8; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 31px; }
  .footer nav { grid-template-columns: 1fr; }
}
