/* =========================================================
   BrandVista — stylesheet
   ========================================================= */
:root {
  --red: #e90017;
  --red-deep: #b80012;
  --navy: #23213d;
  --navy-deep: #15142a;
  --cream: #edede9;
  --paper: #f6f5f1;
  --white: #ffffff;
  --ink: #23213d;
  --muted: #5d5c72;
  --line: rgba(35, 33, 61, .12);
  --line-light: rgba(237, 237, 233, .16);

  --f-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --radius: 22px;
  --radius-lg: 34px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: var(--white); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--dark { background: var(--navy); color: var(--cream); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

.dot { color: var(--red); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 99px; z-index: 999; }
.skip:focus { left: 8px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(233,0,23,.45); } 50% { box-shadow: 0 0 0 7px rgba(233,0,23,0); } }

.h-xl { font-size: clamp(48px, 9.4vw, 150px); }
.h-lg { font-size: clamp(40px, 6.4vw, 96px); }
.h-md { font-size: clamp(32px, 4.4vw, 62px); }
.h-sm { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: rgba(237,237,233,.72); }
.outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
.section--dark .outline, .hero .outline { -webkit-text-stroke-color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .btn__arrow {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.18); overflow: hidden; position: relative;
}
.btn .btn__arrow svg { width: 13px; height: 13px; transition: transform .5s var(--ease); }
.btn .btn__arrow svg + svg { position: absolute; transform: translateX(-200%); }
.btn:hover .btn__arrow svg:first-child { transform: translateX(200%); }
.btn:hover .btn__arrow svg + svg { transform: translateX(0); }
.btn--light { --bg: var(--cream); --fg: var(--navy); }
.btn--light::before { background: var(--red); }
.btn--light:hover { color: var(--white); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--cream); }
.section--dark .btn--ghost, .hero--dark .btn--ghost { --fg: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line-light); }
.section--dark .btn--ghost::before { background: var(--cream); }
.section--dark .btn--ghost:hover { color: var(--navy); }
.section--dark .btn::before { background: var(--cream); }
.section--dark .btn:not(.btn--ghost):hover { color: var(--navy); }

.link-line {
  position: relative; display: inline-flex; gap: 8px; align-items: center; font-weight: 700;
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: transform .6s var(--ease), background .4s, box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(246,245,241,.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { width: 168px; flex: none; position: relative; z-index: 2; }
.header__logo img { width: 100%; height: auto; transition: opacity .3s; }
.header__logo .logo-light { position: absolute; inset: 0; opacity: 0; }
.header--dark:not(.is-scrolled) .logo-dark, .menu-open .header .logo-dark { opacity: 0; }
.header--dark:not(.is-scrolled) .logo-light, .menu-open .header .logo-light { opacity: 1; }
.header--dark:not(.is-scrolled) .nav a { color: var(--cream); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; font-weight: 600; font-size: 15px; border-radius: 99px;
  overflow: hidden; display: inline-block;
}
.nav a span { display: block; transition: transform .5s var(--ease); }
.nav a span::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%; text-align: center; color: var(--red);
}
.nav a:hover span { transform: translateY(-100%); }
.nav a.is-active::before {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); transform: translateX(-50%);
}
.header__cta { padding: 13px 22px; font-size: 15px; }
.header__right { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none; position: relative; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--cream);
}
.burger span {
  position: absolute; left: 16px; right: 16px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:nth-child(1) { top: 21px; }
.burger span:nth-child(2) { top: 29px; }
.menu-open .burger span:nth-child(1) { top: 25px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 25px; transform: rotate(-45deg); }
.menu-open .burger { background: var(--red); }

.scroll-progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--red); transform-origin: left; transform: scaleX(0);
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--navy); color: var(--cream);
  clip-path: circle(0% at calc(100% - 52px) 42px);
  transition: clip-path .9s var(--ease-io);
  display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 40px;
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 52px) 42px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.04em;
  font-size: clamp(44px, 13vw, 80px); line-height: 1.08; overflow: hidden;
  display: flex; align-items: baseline; gap: 14px;
}
.mobile-menu nav a small { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--red); letter-spacing: 0; }
.mobile-menu nav a > span { display: block; transform: translateY(110%); transition: transform .8s var(--ease); }
.menu-open .mobile-menu nav a > span { transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) > span { transition-delay: .25s; }
.menu-open .mobile-menu nav a:nth-child(2) > span { transition-delay: .31s; }
.menu-open .mobile-menu nav a:nth-child(3) > span { transition-delay: .37s; }
.menu-open .mobile-menu nav a:nth-child(4) > span { transition-delay: .43s; }
.menu-open .mobile-menu nav a:nth-child(5) > span { transition-delay: .49s; }
.mobile-menu__foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px 24px; opacity: 0; transition: opacity .6s .55s; color: rgba(237,237,233,.7); font-size: 15px; }
.menu-open .mobile-menu__foot { opacity: 1; }

@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header__logo { width: 140px; }
}

/* ---------- Page transition + loader ---------- */
.transition {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; display: grid;
}
.transition__panel {
  grid-area: 1 / 1; transform: translateY(100%);
}
.transition__panel--red { background: var(--red); }
.transition__panel--navy { background: var(--navy); display: grid; place-items: center; }
.transition__panel--navy img { width: 92px; border-radius: 26px; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .5s var(--ease); }

/* On load: panels start covering, then leave upward */
.is-entering .transition__panel { transform: translateY(0); }
.is-entering .transition__panel--navy img { opacity: 1; transform: none; }
.is-entered .transition__panel { transform: translateY(-100%); transition: transform .9s var(--ease-io); }
.is-entered .transition__panel--red { transition-delay: .12s; }
.is-entered .transition__panel--navy img { opacity: 0; transition-duration: .2s; }
/* On leave: panels sweep in from bottom */
.first-visit:not(.is-leaving) .transition { visibility: hidden; }
.is-leaving .transition { pointer-events: all; }
.is-leaving .transition__panel { animation: panelIn .7s var(--ease-io) both; }
.is-leaving .transition__panel--navy { animation-delay: .1s; }
@keyframes panelIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
.is-leaving .transition__panel--navy img { opacity: 1; transform: none; transition-delay: .5s; }

.loader {
  position: fixed; inset: 0; z-index: 210; background: var(--navy); color: var(--cream);
  display: grid; place-items: center; overflow: hidden;
}
.loader__inner { text-align: center; }
.loader__word { font-family: var(--f-display); font-weight: 800; font-size: clamp(48px, 10vw, 128px); letter-spacing: -.05em; line-height: 1; display: flex; overflow: hidden; }
.loader__word span { display: inline-block; transform: translateY(105%); animation: loaderIn .9s var(--ease) forwards; }
.loader__word span.r { color: var(--red); }
.loader__count { margin-top: 18px; font-weight: 600; letter-spacing: .2em; font-size: 13px; color: rgba(237,237,233,.55); }
.loader.is-done { transform: translateY(-100%); transition: transform 1s var(--ease-io); }
@keyframes loaderIn { to { transform: none; } }

/* ---------- Cursor ---------- */
.cursor, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; border-radius: 50%; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--red); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(233,0,23,.55);
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s;
}
.cursor-ring span { font-size: 12px; font-weight: 700; color: var(--white); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.cursor-ring.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(233,0,23,.08); }
.cursor-ring.is-view { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--red); border-color: var(--red); }
.cursor-ring.is-view span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ---------- Reveal animations ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(48px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius-lg)); transition: clip-path 1.4s var(--ease-io); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-word > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.is-in .split-word > span, [data-split].is-in .split-word > span { transform: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden; isolation: isolate;
}
.hero--dark { background: var(--navy); color: var(--cream); }
.hero__blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: blob 18s ease-in-out infinite; }
.blob--1 { width: 46vw; height: 46vw; background: var(--red); right: -10vw; top: -10vw; }
.blob--2 { width: 34vw; height: 34vw; background: #5b4bd6; left: -8vw; bottom: -14vw; animation-delay: -6s; opacity: .35; }
.blob--3 { width: 22vw; height: 22vw; background: #ff6a3d; right: 22vw; bottom: 6vw; animation-delay: -11s; opacity: .3; }
@keyframes blob {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(-6vw, 5vw) scale(1.12); }
  66% { transform: translate(4vw, -3vw) scale(.9); }
}
.hero__grain {
  position: absolute; inset: -50%; z-index: -1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-4%,3%)} 50%{transform:translate(3%,-5%)} 75%{transform:translate(-2%,4%)} 100%{transform:translate(0,0)} }
.hero__grid { width: 100%; }
.hero__title { font-size: clamp(54px, 11.6vw, 188px); line-height: .9; letter-spacing: -.055em; }
.hero__title .row { display: block; }
.hero__title .row--indent { padding-left: clamp(0px, 10vw, 180px); }
.hero__rotator { display: inline-grid; vertical-align: top; overflow: hidden; color: var(--red); }
.hero__rotator > span { grid-area: 1/1; padding: .04em 0 .14em; transform: translateY(130%); transition: transform .9s var(--ease); }
.hero__rotator > span.is-current { transform: none; }
.hero__rotator > span.is-out { transform: translateY(-130%); }
.hero__bottom {
  margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: end;
  border-top: 1px solid var(--line-light); padding-top: 28px;
}
.hero__bottom p { color: rgba(237,237,233,.75); max-width: 42ch; font-size: 18px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue { display: grid; place-items: center; width: 108px; height: 108px; position: relative; }
.scroll-cue svg.ring { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.scroll-cue svg.ring text { font-size: 10.5px; letter-spacing: 3.2px; font-weight: 700; fill: var(--cream); text-transform: uppercase; }
.scroll-cue .arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: grid; place-items: center; animation: bob 2s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (max-width: 860px) {
  .hero__title .row--indent { padding-left: 0; }
  .hero__bottom { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(50px, 7vw, 100px); position: relative; overflow: hidden; }
.page-hero__meta { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.page-hero .crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.page-hero .crumbs a:hover { color: var(--red); }
.page-hero--dark { background: var(--navy); color: var(--cream); }
.page-hero--dark .crumbs, .page-hero--dark .lead { color: rgba(237,237,233,.7); }
.page-hero__shape {
  position: absolute; right: -8vw; top: 12vh; width: 38vw; max-width: 560px; aspect-ratio: 1; z-index: 0; pointer-events: none;
  border-radius: 50%; border: 1.5px dashed rgba(233,0,23,.35);
  animation: spin 40s linear infinite;
}
.page-hero__shape::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--red); top: 50%; left: -9px; }
.page-hero > .wrap { position: relative; z-index: 1; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; display: flex; user-select: none; --speed: 32s; }
.marquee__track { display: flex; flex: none; gap: clamp(40px, 6vw, 96px); padding-right: clamp(40px, 6vw, 96px); align-items: center; animation: marquee var(--speed) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-100%); } }
.logos .marquee__track img { height: 54px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.logos .marquee__track img:hover { filter: none; opacity: 1; transform: scale(1.08); }
.logos-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 40px; color: var(--muted); font-weight: 600; font-size: 15px; }

.big-marquee { padding: 24px 0; background: var(--red); color: var(--white); transform: rotate(-2deg) scale(1.04); margin: 0 -2vw; }
.big-marquee .marquee__track { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 6vw, 84px); letter-spacing: -.04em; gap: 40px; padding-right: 40px; white-space: nowrap; }
.big-marquee .star { width: .6em; height: .6em; flex: none; animation: spin 6s linear infinite; }
.big-marquee--navy { background: var(--navy); transform: rotate(2deg) scale(1.04); margin-top: -40px; position: relative; z-index: -1; }

/* ---------- Intro / statement ---------- */
.statement { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4.3vw, 60px); line-height: 1.12; letter-spacing: -.03em; }
.statement .w { opacity: .14; transition: opacity .3s; }
.statement .w.on { opacity: 1; }
.statement em { font-style: normal; color: var(--red); }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-2--top { align-items: start; }
@media (max-width: 860px) { .split-2 { grid-template-columns: 1fr; } }

/* ---------- Service cards (home) ---------- */
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.services-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative; display: grid; grid-template-columns: 80px 1.1fr 1.3fr 60px; gap: 24px; align-items: center;
  padding: 36px 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.svc-row::before {
  content: ""; position: absolute; inset: 0; background: var(--navy); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.svc-row:hover::before { transform: scaleY(1); }
.svc-row > * { transition: color .4s, transform .6s var(--ease); }
.svc-row:hover > * { color: var(--cream); }
.svc-row:hover h3 { transform: translateX(16px); }
.svc-row .num { font-weight: 700; color: var(--red) !important; font-size: 15px; padding-left: 12px; }
.svc-row h3 { font-size: clamp(26px, 3vw, 42px); }
.svc-row p { color: var(--muted); margin: 0; font-size: 16px; }
.svc-row .go { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.svc-row:hover .go { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.svc-row .preview {
  position: absolute; right: 120px; top: 50%; width: 120px; height: 120px; border-radius: 28px;
  background: var(--red); display: grid; place-items: center; z-index: 1;
  transform: translate(0,-50%) scale(0) rotate(-20deg); transition: transform .6s var(--ease);
  pointer-events: none;
}
.svc-row:hover .preview { transform: translate(0,-50%) scale(1) rotate(8deg); }
.svc-row .preview svg { width: 56px; height: 56px; color: var(--white); }
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr auto; padding: 28px 0; }
  .svc-row .num { grid-column: 1 / -1; padding-left: 0; }
  .svc-row p { grid-column: 1 / -1; }
  .svc-row .go { grid-row: 2; grid-column: 2; }
  .svc-row .preview { display: none; }
  .svc-row:hover h3 { transform: none; }
}

/* ---------- Cases grid ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.case-card { grid-column: span 6; position: relative; display: block; }
.case-card--wide { grid-column: span 7; }
.case-card--narrow { grid-column: span 5; }
.case-card--third { grid-column: span 4; }
.case-card__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.2;
  background: var(--cream); transform: translateZ(0);
}
.case-card--tall .case-card__media { aspect-ratio: 4 / 5; }
.case-card--narrow .case-card__media { aspect-ratio: 25 / 28; }
@media (max-width: 860px) { .case-card--narrow .case-card__media { aspect-ratio: 4 / 3.2; } }
.case-card__media > :not(.case-card__tag) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-card:hover .case-card__media > :not(.case-card__tag) { transform: scale(1.06); }
.case-card__tag {
  position: absolute; top: 18px; left: 18px; z-index: 2; padding: 8px 14px; border-radius: 99px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px); font-size: 13px; font-weight: 700;
}
.case-card__info { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 6px 0; }
.case-card__info h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.025em; }
.case-card__info p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.case-card__info .go { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s; }
.case-card:hover .case-card__info .go { transform: rotate(-45deg); background: var(--red); }
.case-card.is-soon { pointer-events: none; }
.case-card.is-soon .case-card__info .go { background: var(--cream); color: var(--muted); }

/* Generated "mockups" for cases */
.mock { display: grid; place-items: center; }
.mock--web { background: linear-gradient(135deg, #ffe3d6, #ffd0e0); }
.mock--web .browser { width: 78%; height: 70%; border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -20px rgba(35,33,61,.35); overflow: hidden; position: relative; inset: auto; }
.mock--web .browser::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; background: #f1efe9; }
.mock--web .browser::after { content: ""; position: absolute; left: 12px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; box-shadow: 14px 0 #ffd166, 28px 0 #06d6a0; }
.mock--web .browser img { position: absolute; height: 46%; width: auto; left: 50%; top: 18%; transform: translateX(-50%); }
.mock--web .browser .bar { position: absolute; left: 10%; right: 10%; height: 8px; border-radius: 8px; background: #f3e9f7; }
.mock--flyer { background: linear-gradient(160deg, #fff4c2, #c9f0e3); }
.mock--flyer .paper { position: relative; inset: auto; width: 46%; height: 78%; background: #fff; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(35,33,61,.4); transform: rotate(-6deg); display: grid; place-items: center; }
.mock--flyer .paper + .paper { position: absolute; transform: rotate(7deg) translate(30%, 4%); background: #ffe7ef; }
.mock--flyer .paper img { width: 70%; position: relative; inset: auto; height: auto; }
.mock--soon { background: repeating-linear-gradient(-45deg, var(--cream), var(--cream) 14px, #e6e5df 14px, #e6e5df 28px); color: var(--muted); font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; }
.mock--video { background: var(--navy); }
.mock--video img { position: relative; inset: auto; width: 46%; height: auto; filter: brightness(0) invert(1); opacity: .9; }
.mock--video .play { position: absolute; inset: auto; width: 74px; height: 74px; border-radius: 50%; background: var(--red); display: grid; place-items: center; right: 8%; bottom: 10%; animation: pulse 2.4s infinite; }

@media (max-width: 860px) {
  .case-card, .case-card--wide, .case-card--narrow, .case-card--third { grid-column: span 12; }
}

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter {
  position: relative; padding: 12px 20px; border-radius: 99px; font-weight: 600; font-size: 15px;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: color .4s, box-shadow .4s; overflow: hidden; isolation: isolate;
}
.filter::before { content: ""; position: absolute; inset: 0; background: var(--navy); z-index: -1; transform: scale(0); border-radius: inherit; transition: transform .5s var(--ease); }
.filter:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.filter.is-active { color: var(--cream); box-shadow: none; }
.filter.is-active::before { transform: scale(1); }
.filter sup { font-size: 11px; color: var(--red); margin-left: 2px; }
.cases-grid .case-card { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.cases-grid .case-card.is-hidden { opacity: 0; transform: scale(.9) translateY(20px); }
.cases-grid .case-card.is-gone { display: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.section--dark .stats { border-color: var(--line-light); }
.stat { padding: 34px 24px 0 0; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(54px, 7vw, 104px); letter-spacing: -.05em; line-height: 1; }
.stat__num sup { color: var(--red); font-size: .45em; vertical-align: top; position: relative; top: .25em; margin-left: 4px; }
.stat__label { margin-top: 10px; color: var(--muted); font-weight: 500; }
.section--dark .stat__label { color: rgba(237,237,233,.62); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(40px, 6vw, 72px); perspective: 1200px; }
.price-card {
  position: relative; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--white);
  display: flex; flex-direction: column; gap: 22px; overflow: hidden; isolation: isolate;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(35,33,61,.25);
  transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s;
}
.price-card:hover { box-shadow: 0 1px 0 var(--line), 0 50px 80px -40px rgba(35,33,61,.4); }
.price-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(233,0,23,.10), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.price-card:hover::after { opacity: 1; }
.price-card--featured { background: var(--navy); color: var(--cream); }
.price-card.price-card--featured .price-card__note, .price-card.price-card--featured li { color: rgba(237,237,233,.85); }
.price-card__badge { position: absolute; top: 24px; right: 24px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; letter-spacing: .04em; }
.price-card__icon { width: 56px; height: 56px; border-radius: 18px; background: var(--red); color: #fff; display: grid; place-items: center; }
.price-card__icon svg { width: 26px; height: 26px; }
.price-card h3 { font-size: 26px; letter-spacing: -.02em; line-height: 1.12; }
.price-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-card__price strong { font-family: var(--f-display); font-size: 64px; letter-spacing: -.05em; line-height: 1; }
.price-card__note { font-size: 14px; color: var(--muted); }
.price-card ul { list-style: none; padding: 22px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }
.price-card--featured ul { border-color: var(--line-light); }
.price-card li { display: flex; gap: 12px; align-items: center; color: var(--muted); font-weight: 500; }
.price-card li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; background: rgba(233,0,23,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23e90017' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.price-card .btn { justify-content: space-between; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 3vw, 40px); }
.member { position: relative; }
.member__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); }
.member__photo img { width: 100%; height: 120%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), filter .8s; filter: grayscale(.25) contrast(1.02); }
.member:hover .member__photo img { filter: none; transform: scale(1.04); }
.member__socials { position: absolute; left: 18px; bottom: 18px; display: flex; gap: 8px; z-index: 2; }
.member__socials a { width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; transform: translateY(80px); transition: transform .6s var(--ease), background .3s, color .3s; }
.member__socials a:nth-child(2) { transition-delay: .05s; }
.member__socials a:nth-child(3) { transition-delay: .1s; }
.member:hover .member__socials a, .member:focus-within .member__socials a { transform: none; }
.member__socials a:hover { background: var(--red); color: #fff; }
.member__socials svg { width: 18px; height: 18px; }
.member__info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 6px 0; flex-wrap: wrap; }
.member__info h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; }
.member__info p { margin: 0; color: var(--muted); font-weight: 500; }
.section--dark .member__info p { color: rgba(237,237,233,.65); }
@media (hover: none) { .member__socials a { transform: none; } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } }

/* ---------- Values / pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.pillar { padding: clamp(28px, 3vw, 44px); border-radius: var(--radius-lg); background: var(--white); position: relative; overflow: hidden; min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.pillar::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--red); right: -120px; top: -120px; z-index: -1; transition: transform .9s var(--ease); }
.pillar:hover::before { transform: scale(5.2); }
.pillar > * { transition: color .5s; }
.pillar:hover > * { color: var(--white) !important; }
.pillar__num { font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--white); position: absolute; right: 28px; top: 26px; }
.pillar h3 { font-size: clamp(36px, 3.6vw, 54px); margin-bottom: 18px; }
.pillar p { color: var(--muted); }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; gap: 60px; } }

/* ---------- Stacked services (services page) ---------- */
.stack { display: grid; gap: 28px; }
.stack-card {
  position: sticky; top: calc(var(--header-h) + 20px + var(--i) * 18px);
  min-height: min(76vh, 640px); border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; transform-origin: top center;
  box-shadow: 0 -20px 60px -30px rgba(35,33,61,.35);
}
.stack-card:nth-child(1) { background: var(--navy); color: var(--cream); }
.stack-card:nth-child(2) { background: var(--red); color: var(--white); }
.stack-card:nth-child(3) { background: var(--cream); color: var(--navy); }
.stack-card:nth-child(4) { background: var(--white); color: var(--navy); }
.stack-card__body { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.stack-card__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.stack-card h3 { font-size: clamp(36px, 4.6vw, 68px); margin-bottom: 22px; }
.stack-card p { font-size: 18px; opacity: .8; max-width: 46ch; }
.stack-card ul { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-card li { padding: 8px 14px; border-radius: 99px; border: 1.5px solid currentColor; font-size: 14px; font-weight: 600; opacity: .85; }
.stack-card__art { position: relative; display: grid; place-items: center; overflow: hidden; }
.stack-card__art svg { width: 70%; max-width: 360px; height: auto; }
@media (max-width: 860px) {
  .stack-card { grid-template-columns: 1fr; min-height: 0; position: relative; top: auto; }
  .stack-card__art { min-height: 220px; }
}

/* Art animations */
.art-spin { animation: spin 22s linear infinite; transform-origin: center; transform-box: fill-box; }
.art-float { animation: float 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.art-float--2 { animation-delay: -2s; }
.art-float--3 { animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-14px) rotate(4deg); } }
.art-draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 4s var(--ease) infinite alternate; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.art-blink { animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.art-bar { transform-box: fill-box; transform-origin: bottom; animation: bar 2.4s var(--ease) infinite alternate; }
@keyframes bar { from { transform: scaleY(.3); } to { transform: scaleY(1); } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line-light); }
.process__line { position: absolute; left: 0; top: 27px; height: 2px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; padding-top: 84px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--red); color: var(--cream);
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.step h3 { font-size: 26px; margin-bottom: 12px; letter-spacing: -.02em; }
.step p { color: rgba(237,237,233,.68); font-size: 16px; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 36px; }
  .process::before, .process__line { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { padding: 6px 0 0 84px; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 0; text-align: left; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; transition: color .3s; }
.faq__q:hover { color: var(--red); }
.faq__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); position: relative; transition: background .4s, transform .6s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--navy); border-radius: 2px; transition: transform .5s var(--ease), background .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--red); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 60px 30px 0; color: var(--muted); max-width: 70ch; }

/* ---------- CTA ---------- */
.cta {
  position: relative; border-radius: var(--radius-lg); background: var(--red); color: var(--white);
  padding: clamp(48px, 8vw, 120px) clamp(28px, 6vw, 90px); overflow: hidden; isolation: isolate;
}
.cta__title { font-size: clamp(44px, 8vw, 128px); line-height: .92; letter-spacing: -.055em; }
.cta p { max-width: 52ch; opacity: .88; font-size: 18px; margin-top: 28px; }
.cta__actions { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn { --bg: var(--white); --fg: var(--navy); }
.cta .btn::before { background: var(--navy); }
.cta .btn:hover { color: var(--cream); }
.cta .btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.cta .btn--ghost::before { background: var(--white); }
.cta .btn--ghost:hover { color: var(--red); }
.cta__circle { position: absolute; z-index: -1; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); }
.cta__circle--1 { width: 700px; height: 700px; right: -200px; top: -260px; animation: breathe 7s ease-in-out infinite; }
.cta__circle--2 { width: 460px; height: 460px; right: -80px; top: -140px; animation: breathe 7s ease-in-out -2s infinite; }
.cta__circle--3 { width: 240px; height: 240px; right: 30px; top: -30px; background: rgba(255,255,255,.08); animation: breathe 7s ease-in-out -4s infinite; }
@keyframes breathe { 50% { transform: scale(1.08); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius); background: var(--white);
  box-shadow: 0 1px 0 var(--line); transition: transform .5s var(--ease), background .4s, color .4s;
}
.contact-card:hover { transform: translateX(10px); background: var(--navy); color: var(--cream); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 16px; background: rgba(233,0,23,.1); color: var(--red); display: grid; place-items: center; flex: none; transition: background .4s, color .4s, transform .6s var(--ease); }
.contact-card:hover .contact-card__icon { background: var(--red); color: #fff; transform: rotate(-10deg); }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; transition: color .4s; }
.contact-card:hover small { color: rgba(237,237,233,.6); }
.contact-card strong { font-size: 18px; }
.contact-card .arrow { margin-left: auto; transition: transform .5s var(--ease); }
.contact-card:hover .arrow { transform: rotate(-45deg); }
.address { margin-top: 32px; padding: 26px; border-radius: var(--radius); border: 1.5px dashed var(--line); color: var(--muted); font-size: 15px; }
.address strong { color: var(--ink); display: block; margin-bottom: 4px; }

.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px); box-shadow: 0 40px 80px -50px rgba(35,33,61,.35); }
.form h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 8px; }
.form > p { color: var(--muted); margin-bottom: 32px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { position: relative; margin-bottom: 26px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 0 10px; border: 0; border-bottom: 1.5px solid var(--line); background: transparent;
  font: inherit; font-size: 17px; color: var(--ink); outline: none; border-radius: 0; resize: vertical;
}
.field textarea { min-height: 130px; }
.field label { position: absolute; left: 0; top: 20px; color: var(--muted); pointer-events: none; transition: transform .4s var(--ease), color .3s, font-size .4s var(--ease); transform-origin: left; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field textarea ~ label { top: 20px; }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(.78); color: var(--red); }
.field textarea ~ ::after { bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 30px; }
.chips legend { width: 100%; font-size: 14px; color: var(--muted); margin-bottom: 10px; font-weight: 500; padding: 0; }
fieldset.chips { border: 0; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); user-select: none; }
.chip span:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.chip input:checked + span { background: var(--navy); color: var(--cream); box-shadow: none; transform: scale(1.04); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__foot small { color: var(--muted); max-width: 34ch; }
.form__foot small a { text-decoration: underline; }
.form__status { margin-top: 20px; padding: 16px 20px; border-radius: 16px; background: rgba(6,160,110,.1); color: #067a55; font-weight: 600; display: none; }
.form__status.is-shown { display: block; animation: pop .6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Case detail ---------- */
.case-hero__media { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; position: relative; }
.case-hero__media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-hero__media img.cover { object-fit: cover; }
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.case-meta small { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.case-meta strong { font-size: 18px; }
.case-meta a { color: var(--red); }
@media (max-width: 760px) { .case-meta { grid-template-columns: repeat(2, 1fr); } .case-hero__media { aspect-ratio: 4 / 3.4; } }
.case-body { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.case-body p { font-size: 19px; color: var(--muted); }
.case-body p strong { color: var(--ink); }
@media (max-width: 860px) { .case-body { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(16px, 2vw, 24px); }
.gallery > div { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 340px; }
.gallery > div > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery .swatches { display: grid; grid-template-columns: repeat(4, 1fr); }
.gallery .swatches span { display: flex; align-items: flex-end; padding: 16px; font-size: 13px; font-weight: 700; transition: flex .6s var(--ease); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }
.next-case { display: block; padding: clamp(60px, 9vw, 120px) 0; text-align: center; background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.next-case small { display: block; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; color: var(--red); margin-bottom: 18px; }
.next-case .h-lg { transition: transform .8s var(--ease), letter-spacing .8s var(--ease); }
.next-case:hover .h-lg { transform: scale(1.04); letter-spacing: -.02em; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; font-size: 15px; }
.legal__toc a { padding: 8px 14px; border-radius: 12px; color: var(--muted); font-weight: 500; transition: background .3s, color .3s, transform .4s var(--ease); }
.legal__toc a:hover { color: var(--ink); transform: translateX(4px); }
.legal__toc a.is-active { background: var(--white); color: var(--red); font-weight: 700; }
.legal__body { max-width: 74ch; }
.legal__body section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__body h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; margin-bottom: 18px; display: flex; gap: 14px; align-items: baseline; }
.legal__body h2 span { color: var(--red); font-size: .7em; }
.legal__body p, .legal__body li { color: var(--muted); }
.legal__body ol, .legal__body ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 8px; }
.legal__body strong { color: var(--ink); }
.legal__body a { color: var(--red); text-decoration: underline; }
.table { width: 100%; border-collapse: collapse; margin: 10px 0 0; font-size: 15px; }
.table th, .table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.table td { color: var(--muted); }
.table-wrap { overflow-x: auto; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: relative; top: 0; display: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--cream); padding: clamp(80px, 10vw, 130px) 0 32px; overflow: hidden; position: relative; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__intro p { color: rgba(237,237,233,.65); max-width: 38ch; margin-top: 22px; }
.footer__logo { width: 190px; }
.footer h4 { font-family: var(--f-body); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: rgba(237,237,233,.45); font-weight: 700; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: rgba(237,237,233,.85); transition: color .3s, padding .4s var(--ease); }
.footer ul a:hover { color: var(--red); padding-left: 6px; }
.footer__socials { display: flex; gap: 10px; margin-top: 26px; }
.footer__socials a { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-light); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.footer__socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-4px); }
.footer__socials svg { width: 18px; height: 18px; }
.footer__mega {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  font-size: clamp(64px, 19.5vw, 300px); margin: clamp(60px, 8vw, 110px) 0 24px; white-space: nowrap;
  display: flex; justify-content: center; overflow: hidden;
}
.footer__mega span { display: inline-block; transform: translateY(100%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.footer__mega.is-in span { transform: none; }
.footer__mega .r { color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 14px; color: rgba(237,237,233,.5); }
.to-top { display: inline-flex; gap: 8px; align-items: center; }
.to-top:hover { color: var(--red); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__intro { grid-column: 1 / -1; } }

/* ---------- Misc ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.badge-rotate { width: 150px; height: 150px; position: relative; display: grid; place-items: center; }
.badge-rotate svg.ring { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.badge-rotate svg.ring text { font-size: 10.5px; letter-spacing: 3.6px; font-weight: 700; fill: currentColor; text-transform: uppercase; }
.badge-rotate img { width: 64px; }

.img-reveal { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .split-word > span, .footer__mega span { transform: none; }
  .statement .w { opacity: 1; }
  .loader, .transition { display: none; }
}
