/* White Horse Agency — site styles.
   Layout: 1200px editorial container; white ground with soft-grey and charcoal bands; one brand red used sparingly. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-soft: #FCF7F6;   /* faint brand blush */
  --blush: #F8EEEC;     /* feature bands */
  --blush-2: #F2E2DF;   /* panels on blush */
  --ink: #241B1B;       /* warm text, never pure black */
  --ink-2: #6E6261;
  --ink-3: #9A8C8A;
  --line: #F0E6E4;
  --line-2: #E3D4D1;
  --dark: #F8EEEC;      /* former charcoal bands now use the brand blush */
  --dark-2: #FFFFFF;
  --dark-3: #F2E2DF;
  --on-dark: #241B1B;
  --on-dark-2: #6E6261;
  --line-dark: #EADAD6;
  --line-dark-2: #D9C2BD;
  --red: #870000;       /* sampled from the White Horse Agency logo */
  --red-deep: #6B0000;
  --red-soft: #B05A5A;  /* lighter brand shade for secondary headlines */
  --error-dark: #B3261E;
  --error-light: #B3261E;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.bg-dark :focus-visible { outline-color: var(--red); }
::selection { background: var(--red); color: #FFFFFF; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #FFFFFF; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1296px;
  margin-inline: auto;
  padding-left: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(20px, 4vw, 48px), env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(80px, 10vw, 136px); }
.section-tight { padding-block: clamp(64px, 7vw, 96px); }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--dark); color: var(--on-dark); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Type ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--red); flex: none; }
.bg-dark .eyebrow, .on-dark .eyebrow { color: var(--on-dark-2); }
.eyebrow--center { justify-content: center; }
.display { font-size: clamp(44px, 7vw, 92px); line-height: 1.02; font-weight: 600; letter-spacing: -.046em; text-wrap: balance; }
.h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; font-weight: 600; letter-spacing: -.042em; text-wrap: balance; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; font-weight: 600; letter-spacing: -.036em; text-wrap: balance; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; font-weight: 600; letter-spacing: -.026em; text-wrap: balance; }
.h4 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.012em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.muted { color: var(--ink-2); }
.bg-dark .lead, .bg-dark .muted { color: var(--on-dark-2); }
.small { font-size: 15px; }
.caption { font-size: 13px; color: var(--ink-2); }
.prose { max-width: 680px; color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--ink); font-weight: 600; }
.section-head { max-width: 780px; }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 22px; max-width: 640px; }
.section-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; max-width: none; }
.section-head--split > div { max-width: 760px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 17px/1 var(--font); letter-spacing: -.01em; cursor: pointer; white-space: nowrap; text-align: center;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red); color: #FFFFFF; }
.btn-primary:hover { background: var(--red-deep); box-shadow: 0 10px 28px rgba(135, 0, 0, .22); }
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: #FFFFFF; }
.btn-inverse { background: var(--red); color: #FFFFFF; }
.btn-inverse:hover { background: var(--red-deep); box-shadow: 0 10px 28px rgba(135, 0, 0, .22); }
.btn-outline-dark { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline-dark:hover { border-color: var(--red); background: var(--red); color: #FFFFFF; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); min-height: 44px; transition: color .2s var(--ease); }
.link-arrow svg { width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover svg { transform: translateX(3px); }
.bg-dark .link-arrow, .on-dark .link-arrow { color: var(--on-dark); }
.bg-dark .link-arrow:hover, .on-dark .link-arrow:hover { color: var(--red); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled, .site-header.is-open { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
  font-size: 15px; font-weight: 500; color: var(--ink); background: none; border: 0; cursor: pointer;
}
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link[data-current]::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.menu-toggle span { position: relative; display: block; width: 20px; height: 12px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span::before { top: 0; }
.menu-toggle span::after { top: 10px; }
.menu-toggle[aria-expanded="true"] span::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 5px; transform: rotate(-45deg); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(135, 0, 0, .05);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .4s var(--ease); }
.mega-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 40px 36px; }
.mega-group p { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.mega-group ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 2px; }
.mega-group a { display: block; padding: 7px 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); transition: color .2s, transform .3s var(--ease); }
.mega-group a:hover { color: var(--red); transform: translateX(3px); }
.mega-foot { border-top: 1px solid var(--line); padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--ink-2); }
.mega-foot a { font-weight: 600; color: var(--ink); }
.mega-foot a:hover { color: var(--red); }

.mobile-menu {
  position: fixed; left: 0; right: 0; bottom: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  z-index: 49; background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .45s var(--ease); }
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 8px; }
.mobile-menu .m-link, .mobile-menu summary { display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-size: 26px; font-weight: 600; letter-spacing: -.024em; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.mobile-menu details[open] summary svg { transform: rotate(180deg); }
.mobile-menu .m-sub { display: flex; flex-direction: column; padding: 8px 0 16px; border-bottom: 1px solid var(--line); }
.mobile-menu .m-sub a { padding: 9px 0; font-size: 17px; font-weight: 500; color: var(--ink-2); }
.mobile-menu .m-sub a:hover { color: var(--ink); }
.mobile-menu .m-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .m-contact { margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.mobile-menu.is-open nav > * { animation: menuIn .5s var(--ease-out) both; }
.mobile-menu.is-open nav > *:nth-child(2) { animation-delay: .03s; }
.mobile-menu.is-open nav > *:nth-child(3) { animation-delay: .06s; }
.mobile-menu.is-open nav > *:nth-child(4) { animation-delay: .09s; }
.mobile-menu.is-open nav > *:nth-child(5) { animation-delay: .12s; }
.mobile-menu.is-open nav > *:nth-child(6) { animation-delay: .15s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }

@media (max-width: 1000px) {
  .nav, .mega { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  :root { --header-h: 60px; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .brand img { height: 22px; }
  .header-cta { min-height: 36px; padding: 0 15px; font-size: 14px; }
}

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(84px, 11vw, 152px) clamp(56px, 7vw, 96px); text-align: center; }
.hero .display { margin: 28px auto 0; max-width: 1100px; }
.hero .lead { margin: 36px auto 0; max-width: 640px; }
.hero .actions { justify-content: center; margin-top: 44px; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: block; }
.tone-2 { color: var(--red-soft); }
.dot { color: var(--red); }

/* Load sequence: content rests visible; motion only adds an entrance */
.load-rise { animation: lineUp 1.15s var(--ease-out) both; }
.load-fade { animation: fadeUp 1s var(--ease-out) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .3s; } .d4 { animation-delay: .44s; } .d5 { animation-delay: .58s; }
@keyframes lineUp { from { transform: translateY(104%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll reveal: armed only for elements below the first screen */
.reveal-armed { opacity: 0; transform: translateY(28px); }
.reveal-armed.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--delay, 0s); }

/* Work reel */
.reel { overflow: hidden; padding-bottom: clamp(56px, 7vw, 96px); }
.reel-row { display: flex; gap: 16px; width: max-content; will-change: transform; }
.reel-row + .reel-row { margin-top: 16px; }
.reel-item { position: relative; flex: none; width: clamp(240px, 27vw, 400px); aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); }
.reel-item img { width: 100%; height: 100%; object-fit: cover; }
.reel-item figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 12px; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.reel-item:hover figcaption { opacity: 1; transform: none; }

/* Logos */
.clients { border-top: 1px solid var(--line); padding-top: clamp(56px, 6vw, 72px); text-align: center; }
.clients .h4 { font-size: 21px; }
.logos { list-style: none; padding: 0; margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 44px; max-width: 1100px; }
.logos li { width: 132px; height: 60px; display: flex; align-items: center; justify-content: center; }
.logos img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: .5; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.logos li:hover img { opacity: 1; transform: scale(1.04); }
@media (max-width: 560px) { .logos { gap: 12px 24px; } .logos li { width: 120px; height: 52px; } }

/* ---------- Service bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 5vw, 64px); }
.tile { grid-column: span 4; position: relative; isolation: isolate; display: flex; flex-direction: column; background: var(--bg); border-radius: var(--r-xl); overflow: hidden; min-width: 0; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(135, 0, 0, .07); }
.tile--wide { grid-column: span 7; }
.tile--narrow { grid-column: span 5; }
.tile-body { flex: 1; display: flex; flex-direction: column; padding: clamp(28px, 3.2vw, 44px); min-width: 0; }
.tile-label { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.tile h3 { margin-top: 12px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.tile:not(.tile--wide):not(.tile--narrow) h3 { font-size: clamp(24px, 2.2vw, 30px); }
.tile p.tile-copy { margin-top: 14px; color: var(--ink-2); max-width: 480px; }
.tile-incl { margin-top: auto; padding-top: 32px; font-size: 14px; color: var(--ink-2); }
.tile-cta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.tile-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile--split { flex-direction: row; }
.tile--split .tile-media { flex: 0 0 40%; aspect-ratio: auto; border-radius: 20px; margin: 12px 12px 12px 0; }
.tile--image-dark { color: var(--on-dark); background: var(--dark); }
.tile--image-dark .tile-bg { position: absolute; inset: 0; z-index: -2; }
.tile--image-dark .tile-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--image-dark:hover .tile-bg img { transform: scale(1.05); }
.tile--image-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 12, .9) 0%, rgba(10, 10, 12, .72) 46%, rgba(10, 10, 12, .35) 100%); }
.tile--image-dark .tile-label, .tile--image-dark .tile-incl, .tile--image-dark p.tile-copy { color: #D1D1D6; }
.tile--image-dark .tile-cta { border-top-color: rgba(255, 255, 255, .18); }
.tile--image-dark .link-arrow { color: #FFFFFF; }
.search-chip { margin-top: 30px; max-width: 440px; height: 54px; padding: 0 20px; border-radius: 999px; background: var(--bg-soft); display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; }
.search-chip svg { width: 18px; height: 18px; flex: none; color: var(--ink-2); }
.caret { display: inline-block; width: 2px; height: 20px; margin-left: -8px; background: var(--red); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.also { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 1080px) {
  .tile, .tile--wide, .tile--narrow { grid-column: span 6; }
  .tile--wide { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tile, .tile--wide, .tile--narrow { grid-column: auto; }
  .tile--split { flex-direction: column-reverse; }
  .tile--split .tile-media { flex: none; aspect-ratio: 16 / 10; margin: 12px 12px 0; }
  .tile:hover { transform: none; }
}

/* ---------- Case studies (dark) ---------- */
.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 5vw, 64px); }
.case { grid-column: span 6; display: flex; flex-direction: column; background: var(--dark-2); border-radius: var(--r-xl); overflow: hidden; min-width: 0; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.case:hover { transform: translateY(-3px); box-shadow: 0 24px 48px rgba(135, 0, 0, .08); }
.case--feature { grid-column: 1 / -1; flex-direction: row; }
.case--feature .case-media { flex: 0 0 56%; aspect-ratio: auto; min-height: 460px; }
.case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark-3); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case-media img { transform: scale(1.04); }
.case-media--type { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 3vw, 40px); background: var(--blush-2); color: var(--red); }
.case-media--type .big { font-size: clamp(34px, 4vw, 56px); line-height: 1.02; font-weight: 600; letter-spacing: -.04em; }
.case-media--type .tag { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red-soft); }
.case-body { flex: 1; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); min-width: 0; }
.case-industry { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.case h3 { margin-top: 10px; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.12; font-weight: 600; letter-spacing: -.024em; color: var(--on-dark); }
.case dl { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.case dt { font-size: 13px; font-weight: 600; color: var(--on-dark-2); }
.case dd { margin-top: 4px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.case dd.outcome { font-weight: 600; color: var(--red); }
.case .link-arrow { margin-top: auto; padding-top: 24px; }
@media (max-width: 960px) {
  .case, .case--feature { grid-column: 1 / -1; flex-direction: column; }
  .case--feature .case-media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------- Statement (scroll highlight) ---------- */
.statement { font-size: clamp(26px, 3.3vw, 44px); line-height: 1.16; font-weight: 600; letter-spacing: -.03em; max-width: 1040px; text-wrap: pretty; }
.statement .w { color: var(--ink-3); transition: color .35s var(--ease); }
.statement .w.is-on { color: var(--ink); }

/* ---------- Differentiators ---------- */
.diffs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.diffs li { border-top: 1px solid var(--line); padding-top: 22px; }
.diffs p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
@media (max-width: 560px) { .diffs { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.media-round { border-radius: var(--r-xl); overflow: hidden; background: var(--bg-soft); position: relative; }
.media-round img { width: 100%; height: 100%; object-fit: cover; }
.parallax { overflow: hidden; }
.parallax img { height: 116%; will-change: transform; }

/* ---------- Process ---------- */
.steps { position: relative; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin-top: clamp(56px, 6vw, 72px); }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; left: 0; top: -0.5px; height: 2px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 1)); }
.step { position: relative; padding-top: 34px; }
.step::before { content: ""; position: absolute; left: 0; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg-soft); border: 2px solid var(--line-2); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.step.is-on::before { background: var(--red); border-color: var(--red); }
.bg-white .step::before { background: var(--bg); }
.step-num { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--red); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 12px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; font-weight: 600; letter-spacing: -.024em; }
.step p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps::before, .steps::after { display: none; } .step { border-top: 1px solid var(--line-2); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- Industries ---------- */
.industries { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 5vw, 64px); }
.ind { position: relative; isolation: isolate; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; color: #FFFFFF; background: var(--dark-3); }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(64, 8, 8, .84) 0%, rgba(64, 8, 8, .42) 42%, rgba(64, 8, 8, 0) 72%); }
.ind:hover img { transform: scale(1.06); }
.ind-body { padding: 22px; width: 100%; }
.ind h3 { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -.016em; }
.ind p { margin-top: 8px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .86); }
.ind-arrow { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; transform: scale(.8); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.ind:hover .ind-arrow, .ind:focus-visible .ind-arrow { transform: none; opacity: 1; }
.ind-arrow svg { width: 16px; height: 16px; }
@media (max-width: 1100px) { .industries { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .industries { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); padding-bottom: 8px; scrollbar-width: none; }
  .industries::-webkit-scrollbar { display: none; }
  .industries li { flex: 0 0 72%; scroll-snap-align: start; }
  .ind-arrow { opacity: 1; transform: none; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 5vw, 64px); }
.quote { display: flex; flex-direction: column; min-height: 320px; padding: clamp(28px, 3vw, 44px); background: var(--bg); border-radius: var(--r-xl); }
.quote svg { width: 34px; height: 26px; color: var(--red); }
.quote blockquote { margin-top: 26px; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.quote figcaption { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 2px; }
.quote figcaption b { font-size: 16px; font-weight: 600; color: var(--ink); }
.quote figcaption span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) { .quotes { grid-template-columns: minmax(0, 1fr); } .quote { min-height: 0; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px 80px; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.38; font-weight: 600; letter-spacing: -.012em; }
.faq-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s; }
.faq-icon svg { width: 14px; height: 14px; }
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #FFFFFF; }
.faq summary:hover .faq-icon { border-color: var(--red); color: var(--red); }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 56px 26px 0; color: var(--ink-2); }
@media (max-width: 560px) { .faq-answer p { padding-right: 0; } }

/* ---------- CTA + form ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 80px; }
@media (max-width: 1000px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }
.cta-title { font-size: clamp(38px, 5vw, 66px); line-height: 1.03; font-weight: 600; letter-spacing: -.042em; text-wrap: balance; color: var(--on-dark); }
.cta-copy { margin-top: 26px; max-width: 480px; font-size: 19px; color: var(--on-dark-2); }
.talk { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 6px; }
.talk .label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 6px; }
.talk-row { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: 18px; font-weight: 600; color: var(--on-dark); }
.talk-row svg { width: 18px; height: 18px; flex: none; color: var(--red); }
.talk-row a { transition: color .2s; }
.talk-row a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.talk .note { margin-top: 6px; font-size: 13px; color: var(--on-dark-2); }

.form { position: relative; align-self: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; padding: clamp(24px, 3.4vw, 44px); background: var(--dark-2); border-radius: var(--r-xl); border: 1px solid var(--line-dark); box-shadow: 0 30px 60px rgba(135, 0, 0, .06); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field .req, .field .opt { color: var(--on-dark-2); font-weight: 400; }
.input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg-soft); color: var(--ink); font: 16px/1.4 var(--font); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: var(--line-dark-2); }
.input:focus { outline: none; border-color: var(--red); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(135, 0, 0, .1); }
.input[aria-invalid="true"] { border-color: var(--error-dark); }
textarea.input { min-height: 120px; padding: 14px 16px; resize: vertical; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 18px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); pointer-events: none; color: var(--on-dark-2); }
.field-error { font-size: 13px; color: var(--error-dark); }
.check { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--red); }
.check a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.form-foot .caption { color: var(--on-dark-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 0; }
.form-success .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #FFFFFF; display: grid; place-items: center; animation: pop .6s var(--ease-out) both; }
.form-success .tick svg { width: 26px; height: 26px; }
.form-success h3 { font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -.024em; color: var(--on-dark); }
.form-success p { color: var(--on-dark-2); max-width: 520px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); } .form-foot .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); color: var(--ink); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px 40px; padding-block: 88px 0; }
.footer-brand { flex: 1 1 280px; max-width: 400px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.footer-contact { list-style: none; padding: 0; margin-top: 16px; display: flex; flex-direction: column; font-size: 15px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; overflow-wrap: anywhere; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--red); }
.footer-contact a:hover { color: var(--red); }
.socials { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink); transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.social svg { width: 17px; height: 17px; flex: none; color: var(--red); }
.social { gap: 7px; }
.social:hover { color: var(--red); border-color: var(--red-soft); background: var(--blush); }
.social:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.contact-card .socials { margin-top: 4px; }
.contact-card .social { padding: 0 12px 0 10px; font-size: 13.5px; }
@media (max-width: 420px) { .socials { gap: 6px; } .social { padding: 0 11px 0 10px; gap: 6px; font-size: 13.5px; } }
.footer-col { flex: 0 1 220px; }
.footer-col .label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.footer-col ul { list-style: none; padding: 0; margin-top: 16px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.footer-col li a, .footer-col li span { display: inline-flex; align-items: center; min-height: 36px; }
.footer-col li a:hover { color: var(--red); }
.footer-bottom { margin-top: 64px; padding-block: 24px 40px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--ink-2); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-bottom a { min-height: 36px; display: inline-flex; align-items: center; }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 720px) {
  .footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; padding-top: 64px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

/* ---------- Inner pages ---------- */
.page-hero { padding-block: clamp(48px, 6vw, 88px) 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--line-2); }
.page-hero .eyebrow { margin-top: 40px; }
.page-hero .h1 { margin-top: 20px; max-width: 1000px; }
.page-hero .lead { margin-top: 24px; max-width: 700px; }
.page-hero .actions { margin-top: 36px; }
.hero-media { margin-top: clamp(48px, 6vw, 80px); aspect-ratio: 2 / 1; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-soft); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media.parallax img { height: 116%; }
@media (max-width: 720px) { .hero-media { aspect-ratio: 4 / 3; } }
.page-hero--center { text-align: center; }
.page-hero--center .crumbs, .page-hero--center .eyebrow, .page-hero--center .actions { justify-content: center; }
.page-hero--center .h1, .page-hero--center .lead { margin-inline: auto; }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 5vw, 64px); }
.card { padding: clamp(28px, 3vw, 40px); background: var(--bg); border-radius: var(--r-xl); min-width: 0; }
.bg-white .card, .card--soft { background: var(--bg-soft); }
.card h3 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.016em; }
.card p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 960px) { .cards3 { grid-template-columns: minmax(0, 1fr); } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 56px; margin-top: clamp(40px, 5vw, 56px); list-style: none; padding: 0; }
.feature { padding-block: 28px 32px; border-top: 1px solid var(--line); }
.bg-soft .feature { border-top-color: var(--line-2); }
.feature h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.014em; }
.feature p { margin-top: 10px; color: var(--ink-2); }
.feature .link-arrow { margin-top: 6px; font-size: 15px; }

.note-box { margin-top: 48px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--bg-soft); display: flex; gap: 18px; align-items: flex-start; }
.note-box svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 2px; }
.note-box p { color: var(--ink-2); }
.note-box strong { color: var(--ink); }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.compare > div { padding: clamp(28px, 3vw, 40px); border-radius: var(--r-xl); background: var(--bg); }
.compare h3 { font-size: 22px; font-weight: 600; letter-spacing: -.016em; }
.compare ul { margin-top: 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); }
.compare li { display: flex; gap: 12px; }
.compare li::before { content: ""; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--line-2); flex: none; }
.compare > div:last-child li::before { background: var(--red); }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* Work grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font: 500 15px var(--font); color: var(--ink); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip[aria-pressed="true"] { background: var(--red); color: #FFFFFF; border-color: var(--red); }
.work-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 40px 24px; margin-top: 40px; }
.work-card { display: flex; flex-direction: column; gap: 16px; }
.work-card.is-leaving { opacity: 0; transform: scale(.97); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.work-card.is-entering { animation: fadeUp .6s var(--ease-out) both; }
.work-media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work-meta h3 { font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.work-meta p { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.work-card a.work-link { display: contents; }

/* Blog cards */
.posts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 44px 24px; margin-top: 48px; }
.post { display: flex; flex-direction: column; gap: 16px; }
.post-media { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post:hover .post-media img { transform: scale(1.04); }
.post .tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.post h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.014em; }
.post:hover h3 { color: var(--red); }
.post-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; margin-top: 48px; }
.post-feature .post-media { aspect-ratio: 16 / 9; }
@media (max-width: 860px) { .post-feature { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Timeline (about) */
.timeline { list-style: none; padding: 0; margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.timeline li { border-top: 2px solid var(--line-2); padding-top: 22px; }
.timeline li:last-child { border-top-color: var(--red); }
.timeline .when { font-size: 14px; font-weight: 600; color: var(--red); }
.timeline h3 { margin-top: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.016em; }
.timeline p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 860px) { .timeline { grid-template-columns: minmax(0, 1fr); } }

/* Contact cards */
.contact-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.contact-card { padding: 28px; border-radius: var(--r-lg); background: var(--bg-soft); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.contact-card .label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.contact-card .value { font-size: 17px; font-weight: 600; letter-spacing: -.012em; overflow-wrap: anywhere; user-select: all; }
.contact-card .sub { font-size: 14px; color: var(--ink-2); }
.copy-btn { align-self: flex-start; margin-top: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s; }
.copy-btn:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }

.pill-list { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); font-size: 14px; font-weight: 500; }
.bg-soft .pill-list li { background: var(--bg); }

.band { padding-block: clamp(56px, 7vw, 88px); }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.band .h2 { max-width: 720px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal-armed { opacity: 1; transform: none; }
  .caret { animation: none; }
}

/* ---------- Utilities ---------- */
.mt-xs { margin-top: 12px; } .mt-s { margin-top: 18px; } .mt-m { margin-top: 40px; } .mt-l { margin-top: clamp(48px, 6vw, 72px); }
.ratio-43 { aspect-ratio: 4 / 3; } .ratio-54 { aspect-ratio: 5 / 4; } .ratio-169 { aspect-ratio: 16 / 9; }
.center { text-align: center; }
.maxw-640 { max-width: 640px; }

/* ---------- Inner-page components ---------- */
.kv { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.kv dt { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.kv dd { margin-top: 4px; font-weight: 600; color: var(--ink); }
.bg-dark .kv { border-top-color: var(--line-dark); }
.bg-dark .kv dt { color: var(--on-dark-2); }
.bg-dark .kv dd { color: var(--on-dark); }

.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 56px); list-style: none; padding: 0; }
.svc { display: flex; flex-direction: column; gap: 12px; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-xl); background: var(--bg-soft); min-width: 0; scroll-margin-top: calc(var(--header-h) + 24px); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.bg-soft .svc { background: var(--bg); }
.svc:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(135, 0, 0, .06); }
.svc:target { box-shadow: 0 0 0 2px var(--red); }
.svc h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.svc p { color: var(--ink-2); }
.svc .link-arrow { margin-top: auto; padding-top: 8px; }
.svc .tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--bg); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.bg-soft .svc .tag { background: var(--bg-soft); }
@media (max-width: 760px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }

.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps--3 { grid-template-columns: minmax(0, 1fr); } }

.case-rows { display: flex; flex-direction: column; gap: 20px; margin-top: clamp(48px, 5vw, 64px); }
.case-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--bg-soft); border-radius: var(--r-xl); overflow: hidden; }
.case-row:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.case-row:nth-child(even) .case-row-media { order: 2; }
.case-row-media { min-height: 380px; overflow: hidden; background: var(--bg-soft); position: relative; }
.case-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-row:hover .case-row-media img { transform: scale(1.04); }
.case-row-media.case-media--type { position: relative; }
.case-row-body { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; }
.case-row-body h2 { margin-top: 10px; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.case-row-body .link-arrow { margin-top: auto; padding-top: 24px; }
@media (max-width: 900px) {
  .case-row, .case-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .case-row:nth-child(even) .case-row-media { order: 0; }
  .case-row-media { min-height: 0; aspect-ratio: 16 / 10; }
}

.meta-row { list-style: none; padding: 0; margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.meta-row li { display: flex; flex-direction: column; gap: 4px; }
.meta-row span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.meta-row b { font-size: 17px; font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 56px); }
.gallery figure { border-radius: var(--r-xl); overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 3; }
.gallery figure.wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .gallery { grid-template-columns: minmax(0, 1fr); } .gallery figure.wide { aspect-ratio: 4 / 3; } }

.outcome-band { padding: clamp(32px, 4vw, 56px); border-radius: var(--r-xl); background: var(--dark); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 56px; align-items: start; }
.outcome-band .label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.outcome-band .value { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; font-weight: 600; letter-spacing: -.03em; color: var(--red); }
.outcome-band p { margin-top: 16px; color: var(--on-dark-2); }
@media (max-width: 800px) { .outcome-band { grid-template-columns: minmax(0, 1fr); } }

.next-case { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 40px; border-top: 1px solid var(--line); }
.next-case .caption { text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.next-case a.big { font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 12px; transition: color .2s; }
.next-case a.big svg { width: 24px; height: 24px; transition: transform .3s var(--ease); }
.next-case a.big:hover { color: var(--red); }
.next-case a.big:hover svg { transform: translateX(4px); }

.ind-section { scroll-margin-top: calc(var(--header-h) + 16px); }
.ind-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ind-split.flip .ind-split-media { order: 2; }
.ind-split-media { aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-soft); }
.ind-split-media img { width: 100%; height: 116%; object-fit: cover; }
@media (max-width: 860px) { .ind-split { grid-template-columns: minmax(0, 1fr); } .ind-split.flip .ind-split-media { order: 0; } .ind-split-media { aspect-ratio: 16 / 10; } }

.checks { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--red); color: #FFFFFF; margin-top: 1px; }

.placeholder-panel { border-radius: var(--r-xl); background: var(--bg-soft); border: 1px dashed var(--line-2); min-height: 280px; display: grid; place-items: center; padding: 32px; text-align: center; color: var(--ink-2); font-size: 15px; }

.type-stack { display: flex; flex-direction: column; gap: 6px; }
.type-stack span { font-size: clamp(28px, 4vw, 52px); line-height: 1.05; font-weight: 600; letter-spacing: -.04em; }
.type-stack span:nth-child(2) { color: var(--red-soft); }
.type-stack span:nth-child(3) { color: #BC7470; }
.hero-media--contain { display: grid; place-items: center; background: #FFFFFF; border: 1px solid var(--line); }
.hero-media--contain img { width: auto; height: auto; max-width: min(100%, 860px); max-height: 100%; object-fit: contain; }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .gallery--3 { grid-template-columns: minmax(0, 1fr); } }
.case-media--contain { background: #FFFFFF; }
.case-media--contain img { object-fit: contain; }
.case:hover .case-media--contain img { transform: scale(1.02); }
.tile--narrow .tile-media { aspect-ratio: 2 / 1; }

/* ---------- Results: stat tiles ---------- */
.stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.stat { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--bg-soft); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bg-soft .stat, .bg-dark .stat { background: var(--bg); }
.stat .num { font-size: clamp(34px, 4vw, 52px); line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--red); font-variant-numeric: tabular-nums; }
.stat .what { margin-top: 6px; font-size: 16px; font-weight: 600; color: var(--ink); }
.stat .from { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats { gap: 10px; } .stat { padding: 18px; } }
.milestone { margin-top: 16px; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-lg); background: var(--blush); display: flex; gap: 16px; align-items: flex-start; }
.milestone svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 3px; }
.milestone b { display: block; font-size: 17px; color: var(--ink); }
.milestone span { color: var(--ink-2); }
.period { margin-top: 14px; font-size: 13px; color: var(--ink-2); }

/* Case cards with figures */
.case--third { grid-column: span 4; }
.case-figure { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-figure .num { display: block; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; color: var(--red); font-variant-numeric: tabular-nums; }
.case-figure .what { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.case-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 22px; }
.case-figures .num { font-size: clamp(26px, 2.4vw, 34px); }
.case-logo { height: 34px; width: auto; margin-bottom: 14px; }
@media (max-width: 1080px) { .case--third { grid-column: span 6; } }
@media (max-width: 960px) { .case--third { grid-column: 1 / -1; } }

/* ---------- Website cards (live client sites) ---------- */
.site-card { display: flex; flex-direction: column; gap: 14px; }
.site-card .work-media { aspect-ratio: 4 / 3; background: var(--blush); }
.site-card .site-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 16px; }
.site-card .site-meta > div { flex: 1 1 160px; min-width: 0; }
.site-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.site-card p { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.site-card .visit { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--ink); transition: border-color .2s, color .2s, background-color .2s; }
.site-card .visit svg { width: 13px; height: 13px; }
.site-card .visit:hover { border-color: var(--red); color: var(--red); }
.site-card:hover .work-media img { transform: scale(1.03); }

/* ---------- Areas ---------- */
.areas-band { border-top: 1px solid var(--line); }
.areas-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.area-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 15px; font-weight: 500; color: var(--ink); transition: border-color .2s, color .2s, background-color .2s, transform .3s var(--ease); }
.area-chip svg { width: 16px; height: 16px; color: var(--red); }
.area-chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.area-chip[aria-current="page"] { background: var(--red); border-color: var(--red); color: #FFFFFF; }
.area-chip[aria-current="page"] svg { color: #FFFFFF; }
.mega-areas a { font-weight: 500; color: var(--ink-2); }
.mega-areas a:hover { color: var(--red); }

/* ---------- Local pages ---------- */
.local-hero-work { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.local-hero-work figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--blush); aspect-ratio: 4 / 3; }
.local-hero-work img { width: 100%; height: 100%; object-fit: cover; }
.local-hero-work--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .local-hero-work, .local-hero-work--2 { grid-template-columns: minmax(0, 1fr); } .local-hero-work figure + figure { display: none; } }
.glance { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 56px); }
.glance li { padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg); background: var(--bg); }
.glance h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.014em; }
.glance p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 900px) { .glance { grid-template-columns: minmax(0, 1fr); } }
.svc-rows { list-style: none; padding: 0; margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 12px 40px; align-items: center; padding-block: 26px; border-bottom: 1px solid var(--line); }
.svc-row h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.svc-row h3 small { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.svc-row p { color: var(--ink-2); }
.svc-row--lead { background: var(--blush); border-radius: var(--r-lg); padding-inline: clamp(20px, 2.6vw, 32px); border-bottom: 0; margin-bottom: 12px; }
@media (max-width: 860px) { .svc-row { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.honest { margin-top: 28px; font-size: 14px; color: var(--ink-2); max-width: 760px; }
.work-meta { flex-wrap: wrap; row-gap: 2px; }
.work-meta p { white-space: normal; }

.case-media img[src*="shot-"], .case-row-media img[src*="shot-"], .hero-media img[src*="shot-"] { object-position: left top; }

@media (max-width: 960px) { .case--feature .case-media { flex: none; width: 100%; } }

/* ---------- AI SEO proof ---------- */
.ai-proof { margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3.6vw, 48px); border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.ai-proof-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(28px, 4vw, 56px); align-items: start; }
.ai-proof-text p { color: var(--ink-2); }
.ai-proof-text p + p { margin-top: 12px; }
.ai-proof-text b { color: var(--ink); font-weight: 600; }
.ai-proof-shot { margin: clamp(24px, 3vw, 36px) 0 0; }
.ai-proof-shot a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 22px 44px -30px rgba(107, 0, 0, .35); transition: transform .35s ease, box-shadow .35s ease; }
.ai-proof-shot a:hover { transform: translateY(-3px); box-shadow: 0 28px 52px -30px rgba(107, 0, 0, .42); }
.ai-proof-shot a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.ai-proof-shot img { display: block; width: 100%; height: auto; }
.ai-proof-shot figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) {
  .ai-proof-copy { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ai-proof-shot a { transition: none; } .ai-proof-shot a:hover { transform: none; } }

/* ---------- Thank-you page ---------- */
.thanks { padding-block: clamp(64px, 9vw, 128px); text-align: center; }
.thanks .tick { width: 64px; height: 64px; margin: 0 auto 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--red); }
.thanks .tick svg { width: 30px; height: 30px; }
.thanks .lead { max-width: 620px; margin: 20px auto 0; }
.thanks .actions { justify-content: center; margin-top: 36px; }

/* soft variant of the areas band (homepage rhythm) */
.areas-band.bg-soft { border-top: 0; }

/* ---------- Small-phone refinements (320–480px) ---------- */
@media (max-width: 480px) {
  .btn { white-space: normal; max-width: 100%; line-height: 1.25; padding: 12px 22px; }
  .site-card .visit { max-width: 100%; }
}
@media (max-width: 374px) {
  .header-inner { gap: 10px; }
  .brand img { height: 18px; }
  .header-cta { padding: 0 14px; font-size: 14px; }
}

/* Big numbers scale with their tile, so they never spill on small phones */
.stat, .case-figure { container-type: inline-size; }
.stat .num { font-size: clamp(22px, 22cqi, 52px); }
.case-figure .num { font-size: clamp(22px, 22cqi, 42px); }
.case-figures .num { font-size: clamp(22px, 22cqi, 34px); }
.stat .num--long, .case-figure .num--long { font-size: clamp(19px, 13.5cqi, 46px); }
.case-figures .num--long { font-size: clamp(20px, 13.5cqi, 30px); }

/* ---------- Legal, careers, clients, media, sitemap ---------- */
.legal-date { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.legal { padding-top: clamp(40px, 5vw, 64px); }
.legal-prose { max-width: 760px; font-size: 17px; line-height: 1.7; }
.legal-prose h2 { margin: 2em 0 .6em; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.012em; color: var(--ink); }
.legal-prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.client-wall .logos { margin-top: 0; max-width: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 14px; }
.client-wall .logos li { width: auto; height: 104px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.client-wall .logos img { opacity: .78; }
.stat-link { display: flex; flex-direction: column; gap: 6px; color: inherit; height: 100%; }
.stat-link:hover .what { color: var(--red); }
.press { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.press-item { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.press-item .tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.press-item h2 a:hover { color: var(--red); }
.press-item blockquote { margin: 0; padding-left: 16px; border-left: 2px solid var(--red-soft); color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.press-item .link-arrow { margin-top: auto; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 40px 32px; }
.sitemap-col ul { list-style: none; padding: 0; margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.sitemap-col li a { display: inline-block; padding: 6px 0; font-size: 15px; color: var(--ink); line-height: 1.4; }
.sitemap-col li a:hover, .sitemap-col h2 a:hover { color: var(--red); }
.sitemap-col--wide { grid-column: 1 / -1; }
.sitemap-col--wide ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 0 32px; }
