/* ==========================================================================
   Metriclyst — site styles
   Light, editorial, near-black ink on white. Rounded media cards.
   ========================================================================== */

:root {
  --ink: #0c0c0c;
  --ink-2: #1a1a1a;
  --text: #404040;
  --muted: #7c7c7c;
  --muted-2: #a3a3a3;
  --line: #e4e5e6;
  --soft: #f5f7fa;
  --soft-2: #eef1f5;
  --white: #ffffff;
  --accent-a: #2b3fd6;
  --accent-b: #7b3fe4;

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --wrap: 1400px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo (wordmark) ---------- */
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.065em;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.logo--nav { font-size: 27px; }
.logo .ai, .giant__word .ai, .footer__giant .ai { margin-left: .2em; letter-spacing: -0.035em; }
.logo .dot { display: inline-block; width: .19em; height: .19em; border-radius: 50%; background: currentColor; margin-left: .04em; transform: translateY(-.02em); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px;
  border-radius: 6px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2a; }
.btn--light { background: var(--soft-2); color: var(--ink); }
.btn--light:hover { background: #e3e7ee; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #ececec; }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--soft-2); }
.btn--outline-light { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn--lg { height: 44px; padding: 0 18px; font-size: 15px; border-radius: 8px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; font-size: 15px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, #2236c9 0%, #3d3fd8 40%, #6a3fe0 100%);
  color: #fff; font-size: 13.5px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 9px var(--gutter); text-align: center; flex-wrap: wrap;
}
.announce a.u { text-decoration: underline; text-underline-offset: 3px; }
.announce .pill { border: 1px solid rgba(255,255,255,.6); border-radius: 5px; padding: 2px 8px; font-size: 12.5px; display: inline-flex; align-items: center; gap: 4px; }
.announce .pill:hover { background: rgba(255,255,255,.14); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: box-shadow .3s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__menu > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 10px; border-radius: 6px;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
}
.nav__link svg { width: 10px; height: 10px; opacity: .6; transition: transform .2s var(--ease); }
.nav__menu > li:hover .nav__link svg { transform: rotate(180deg); }
.nav__link:hover { background: var(--soft); }
.nav__actions { display: flex; align-items: center; gap: 8px; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: -12px;
  min-width: 300px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__menu > li:hover .dropdown, .nav__menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 8px; }
.dropdown a:hover { background: var(--soft); }
.dropdown strong { display: block; color: var(--ink); font-weight: 500; font-size: 14.5px; }
.dropdown span { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }

.nav__burger { display: none; width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s var(--ease), background .2s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease); }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; }

@media (max-width: 1080px) {
  .nav__menu, .nav__actions .btn--light, .nav__actions .btn--ghost { display: none; }
  .nav__burger { display: inline-flex; }
  .mobile-menu {
    display: block; position: fixed; inset: 64px 0 0 0; background: #fff; z-index: 49;
    padding: 16px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open + .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 24px; color: var(--ink); letter-spacing: -0.02em; }
  .mobile-menu .btn { margin-top: 24px; width: 100%; justify-content: center; height: 48px; font-size: 16px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 0; }
.hero__card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: #070707;
  height: min(78vh, 780px); min-height: 560px;
  isolation: isolate;
}
.hero__wall {
  position: absolute; inset: -30% -10% -30% 28%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  transform: perspective(1600px) rotateX(22deg) rotateZ(-14deg) rotateY(-10deg);
  transform-origin: center;
  z-index: 0;
}
.hero__col { display: flex; flex-direction: column; gap: 18px; animation: wall-up 60s linear infinite; will-change: transform; }
.hero__col:nth-child(2) { animation-duration: 75s; animation-direction: reverse; }
.hero__col:nth-child(3) { animation-duration: 66s; }
.hero__col:nth-child(4) { animation-duration: 82s; animation-direction: reverse; }
.hero__col img { width: 100%; border-radius: 10px; filter: brightness(.86) saturate(.95); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,7,7,.97) 0%, rgba(7,7,7,.9) 38%, rgba(7,7,7,.4) 64%, rgba(7,7,7,.08) 100%),
    linear-gradient(0deg, rgba(7,7,7,.85) 0%, rgba(7,7,7,0) 40%),
    radial-gradient(60% 60% at 78% 50%, rgba(255,140,60,.10), transparent 70%);
}
.hero__flare {
  position: absolute; z-index: 1; pointer-events: none;
  width: 900px; height: 900px; right: -260px; top: -320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,150,70,.32), rgba(255,110,40,.08) 55%, transparent 72%);
  filter: blur(10px); mix-blend-mode: screen;
  animation: flare 12s ease-in-out infinite alternate;
}
@keyframes flare { from { transform: translate(0,0) scale(1); opacity: .8; } to { transform: translate(-80px,60px) scale(1.12); opacity: 1; } }

.hero__content {
  position: absolute; z-index: 2; left: 0; bottom: 0;
  padding: clamp(28px, 4.2vw, 64px);
  max-width: 720px; color: #fff;
}
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  padding: 6px 12px 6px 8px; margin-bottom: 26px;
  background: rgba(255,255,255,.06); backdrop-filter: blur(8px);
}
.eyebrow-chip i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
.hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.03; letter-spacing: -0.03em;
}
.hero__lede { margin-top: 22px; color: rgba(255,255,255,.82); font-size: clamp(16px, 1.25vw, 18px); max-width: 560px; line-height: 1.55; }
.hero__ctas { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }

.hero__ticker {
  position: absolute; right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); z-index: 2;
  display: flex; gap: 10px;
}
.ticker-card {
  width: 190px; padding: 14px 16px; border-radius: 12px;
  background: rgba(20,20,20,.55); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff;
}
.ticker-card b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; }
.ticker-card span { display: block; font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 4px; line-height: 1.35; }

@media (max-width: 1080px) { .hero__ticker { display: none; } }
@media (max-width: 720px) {
  .hero__card { height: auto; min-height: 640px; }
  .hero__wall { inset: -20% -40% 30% -10%; grid-template-columns: repeat(3, 1fr); }
  .hero__col:nth-child(4) { display: none; }
  .hero__shade { background: linear-gradient(0deg, rgba(7,7,7,.98) 0%, rgba(7,7,7,.92) 45%, rgba(7,7,7,.35) 75%, rgba(7,7,7,.2) 100%); }
}

/* ---------- Logo marquee ---------- */
.trust { padding: 44px 0 0; }
.trust__label { text-align: center; color: var(--muted); font-size: 15px; }
.marquee { position: relative; overflow: hidden; margin-top: 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 30px; width: auto; max-width: 150px; object-fit: contain; opacity: .78; transition: opacity .2s; }
.marquee__track img:hover { opacity: 1; }
.marquee__track img.tall { height: 44px; }
.marquee__track img.wide { height: 24px; max-width: 170px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Giant wordmark ---------- */
.giant { padding: var(--section) 0 0; overflow: hidden; }
.giant__kicker { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.giant__kicker p { max-width: 520px; font-size: 18px; color: var(--text); }
.giant__kicker .mono { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.giant__word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(56px, 15.4vw, 232px);
  letter-spacing: -0.075em; line-height: .82;
  margin: 28px 0 0 -0.04em;
  white-space: nowrap;
  color: var(--ink);
  background-image: linear-gradient(100deg, var(--ink) 0%, var(--ink) 38%, #2b3fd6 47%, #7b3fe4 53%, var(--ink) 62%, var(--ink) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: word-sheen 7s var(--ease) infinite;
  position: relative;
  padding-bottom: .04em;
}
.giant__word .dot { display: inline-block; width: .18em; height: .18em; border-radius: 50%; background: linear-gradient(135deg, #2b3fd6, #7b3fe4); margin-left: .02em; }
@keyframes word-sheen { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
.giant__strip {
  margin-top: 36px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.giant__strip > div { padding: 24px 24px 0 0; }
.giant__strip > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.giant__strip h3 { font-size: 22px; letter-spacing: -0.02em; }
.giant__strip p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.giant__strip .num { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); display: block; margin-bottom: 10px; }
@media (max-width: 760px) {
  .giant__strip { grid-template-columns: 1fr; }
  .giant__strip > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
}

/* ---------- Section heading ---------- */
.section { padding: var(--section) 0 0; }
.section-title {
  text-align: center;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1; letter-spacing: -0.02em;
  max-width: 980px; margin: 0 auto;
}
.section-sub { text-align: center; max-width: 640px; margin: 18px auto 0; font-size: 17px; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.02em; max-width: 760px; }
.section-head p { max-width: 460px; color: var(--muted); font-size: 16px; }
.kicker { display: block; font-size: 15px; color: var(--muted); margin-bottom: 14px; font-weight: 500; }

/* ---------- Practices (three columns) ---------- */
.practices { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.practice__name { font-family: var(--font-display); font-size: 22px; color: #4a4a4a; letter-spacing: -0.015em; margin-bottom: 18px; font-weight: 500; }
.practice__media { aspect-ratio: 16 / 9.2; border-radius: var(--radius-md); overflow: hidden; background: var(--soft); position: relative; }
.practice__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.practice:hover .practice__media img { transform: scale(1.04); }
.practice__media .tag { position: absolute; left: 12px; top: 12px; background: rgba(12,12,12,.72); color: #fff; font-size: 12px; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
.practice h3 { margin-top: 26px; font-size: 24px; line-height: 1.22; letter-spacing: -0.02em; }
.practice p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.practice__ctas { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.practice__foot { margin-top: 18px; font-size: 13.5px; color: var(--muted-2); }
@media (max-width: 960px) { .practices { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- Capabilities (tabbed showcase) ---------- */
.tabs-top { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 22px; margin-bottom: 26px; }
.tabs-top button { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 24px); color: var(--muted-2); letter-spacing: -0.015em; font-weight: 500; transition: color .2s; white-space: nowrap; }
.tabs-top button.is-active { color: #3a3a3a; }
.tabs-top .bar { height: 1px; background: var(--line); position: relative; overflow: hidden; }
.tabs-top .bar i { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--ink); }
.showcase {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 3.2vw, 50px);
  display: grid; grid-template-columns: minmax(240px, 1fr) 2.2fr; gap: clamp(24px, 4vw, 64px); align-items: center;
}
.showcase__list { list-style: none; margin: 0; padding: 0; }
.showcase__list li + li { margin-top: 6px; }
.showcase__item { text-align: left; width: 100%; padding: 8px 0; }
.showcase__item h4 { font-size: clamp(18px, 1.55vw, 22px); color: #c3c3c3; letter-spacing: -0.015em; transition: color .25s; font-weight: 400; }
.showcase__item p { max-height: 0; overflow: hidden; opacity: 0; color: var(--muted); font-size: 15px; transition: max-height .45s var(--ease), opacity .35s var(--ease), margin .3s; }
.showcase__item .prog { display: block; height: 2px; background: var(--soft-2); border-radius: 2px; margin-top: 0; overflow: hidden; max-height: 0; transition: margin .3s, max-height .3s; }
.showcase__item .prog i { display: block; height: 100%; width: 0; background: var(--ink); }
.showcase__item.is-active h4 { color: #333; }
.showcase__item.is-active p { max-height: 140px; opacity: 1; margin-top: 8px; }
.showcase__item.is-active .prog { margin-top: 14px; max-height: 2px; }
.showcase__media { position: relative; aspect-ratio: 16 / 10.5; border-radius: var(--radius-md); overflow: hidden; background: var(--soft); }
.showcase__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.showcase__media > img.is-active { opacity: 1; transform: none; }
.showcase__media > img.top { object-position: top; }
.showcase__media .show-phones { opacity: 0; transition: opacity .7s var(--ease); }
.showcase__media .show-phones.is-active { opacity: 1; }
.showcase__caption { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: rgba(12,12,12,.74); color: #fff; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
@media (max-width: 900px) {
  .tabs-top { grid-template-columns: auto 1fr auto; }
  .tabs-top .bar:nth-of-type(2), .tabs-top button:nth-of-type(3) { display: none; }
  .tabs-top { overflow-x: auto; }
  .showcase { grid-template-columns: 1fr; }
  .showcase__media { order: -1; }
}
@media (max-width: 640px) {
  .tabs-top { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .tabs-top .bar { display: none; }
  .tabs-top button:nth-of-type(3) { display: inline; }
}

/* ---------- Work grid ---------- */
.work-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px 20px; }
.work-card { grid-column: span 6; display: block; }
.work-card--wide { grid-column: span 12; }
.work-card--third { grid-column: span 4; }
.work-card__media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); }
.work-card--wide .work-card__media { aspect-ratio: 21 / 9; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.035); }
.work-card__media .badge { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 999px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.3); }
.work-card__media .badge.dark { background: rgba(12,12,12,.78); color: #fff; backdrop-filter: blur(6px); }
.work-card__media .logo-chip { position: absolute; right: 14px; bottom: 14px; background: rgba(255,255,255,.94); border-radius: 10px; padding: 8px 12px; height: 40px; display: flex; align-items: center; }
.work-card__media .logo-chip img { height: 22px; width: auto; max-width: 120px; object-fit: contain; }
.work-card__meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.work-card h3 { margin-top: 8px; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.22; letter-spacing: -0.02em; max-width: 680px; }
.work-card__result { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.work-card__result span { font-size: 13px; color: var(--ink); background: var(--soft); border: 1px solid var(--soft-2); padding: 4px 10px; border-radius: 999px; }
.work-card .link-arrow { margin-top: 16px; font-size: 14.5px; }

/* phone collage media (for mobile-first projects) */
.phones { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 3%; padding: 6% 6% 0; }
.phones img { width: 22%; height: auto; border-radius: 14px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.45); transform: translateY(8%); transition: transform .9s var(--ease); object-fit: cover; object-position: top; aspect-ratio: 9 / 19; }
.phones img:nth-child(2) { transform: translateY(-2%); }
.phones img:nth-child(4) { transform: translateY(2%); }
.work-card:hover .phones img { transform: translateY(2%); }
.work-card:hover .phones img:nth-child(2) { transform: translateY(-6%); }
.work-card .work-card__media .phones img { transform-origin: center; }
.bg-owl { background: linear-gradient(160deg, #0b1b33, #12305a 60%, #1b4a7d); }
.bg-smile { background: linear-gradient(160deg, #eef4fb, #dfe9f6 60%, #f6efe3); }

@media (max-width: 900px) {
  .work-card, .work-card--third { grid-column: span 12; }
  .work-card--wide .work-card__media { aspect-ratio: 16 / 10; }
  .work-grid { gap: 48px 16px; }
}

/* ---------- Stats band ---------- */
.stats { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 72px); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(90,110,255,.35), transparent); pointer-events: none; }
.stats h2 { color: #fff; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; max-width: 760px; position: relative; }
.stats__grid { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.stat { padding: 26px 20px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.12); }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 3.6vw, 56px); letter-spacing: -0.04em; line-height: 1; color: #fff; }
.stat span { display: block; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.62); line-height: 1.4; }
@media (max-width: 1080px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } .stat:nth-child(4) { border-left: 0; padding-left: 0; } .stat { padding-bottom: 28px; } }
@media (max-width: 600px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(odd) { border-left: 0; padding-left: 0; } .stat:nth-child(4) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.12); } }

/* ---------- Labs gradient card ---------- */
.labs {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 96px);
  color: #fff; isolation: isolate;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: center;
  min-height: 600px;
}
.labs__bg { position: absolute; inset: -20%; z-index: -1; filter: blur(70px) saturate(120%); background: #3b4a3a; }
.labs__bg i { position: absolute; border-radius: 50%; }
.labs__bg i:nth-child(1) { width: 60%; height: 70%; left: -5%; top: 5%; background: #1e3247; animation: blob 18s ease-in-out infinite alternate; }
.labs__bg i:nth-child(2) { width: 55%; height: 60%; left: 30%; top: 20%; background: #8c8a5c; animation: blob 22s ease-in-out infinite alternate-reverse; }
.labs__bg i:nth-child(3) { width: 45%; height: 55%; right: -5%; top: -5%; background: #2f4a3c; animation: blob 20s ease-in-out infinite alternate; }
.labs__bg i:nth-child(4) { width: 40%; height: 45%; right: 10%; bottom: -5%; background: #b0a57a; animation: blob 26s ease-in-out infinite alternate-reverse; }
@keyframes blob { to { transform: translate(8%, -6%) scale(1.15); } }
.labs::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.05)); }
.labs__kicker { font-size: 14px; opacity: .9; }
.labs h2 { color: #fff; margin-top: 16px; font-size: clamp(20px, 1.75vw, 26px); line-height: 1.35; letter-spacing: -0.012em; }
.labs .btn { margin-top: 30px; }
.labs__list { border-top: 1px solid rgba(255,255,255,.75); }
.labs__list a { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.75); }
.labs__list h3 { color: #fff; font-size: 20px; letter-spacing: -0.012em; }
.labs__list p { grid-column: 1; color: rgba(255,255,255,.76); font-size: 14px; margin-top: 6px; line-height: 1.45; }
.labs__list svg { width: 14px; height: 14px; grid-row: 1; grid-column: 2; margin-top: 6px; transition: transform .25s var(--ease); }
.labs__list a:hover svg { transform: translate(2px, -2px); }
@media (max-width: 900px) { .labs { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.industries { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px 26px 26px; min-height: 290px; display: flex; flex-direction: column;
  transition: border-color .25s, background .25s, transform .35s var(--ease);
  background: #fff;
}
.industry:hover { border-color: #cfd3d8; background: var(--soft); transform: translateY(-3px); }
.industry__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.industry__icon svg { width: 20px; height: 20px; }
.industry h3 { margin-top: 26px; font-size: 22px; letter-spacing: -0.02em; }
.industry p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.industry ul { list-style: none; margin: auto 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.industry li { font-size: 12.5px; color: var(--ink); background: var(--soft-2); border-radius: 999px; padding: 4px 10px; }
.industry:hover li { background: #fff; }
@media (max-width: 960px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .industries { grid-template-columns: 1fr; } .industry { min-height: 0; } }

/* ---------- Logo wall ---------- */
.logo-wall { margin-top: 56px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall > div { min-width: 0; height: clamp(84px, 9vw, 128px); display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 12%; transition: background .25s; }
.logo-wall > div:hover { background: var(--soft); }
.logo-wall img { display: block; max-height: 40px; width: auto; height: auto; max-width: 100%; object-fit: contain; opacity: .82; transition: opacity .25s, transform .35s var(--ease); }
.logo-wall > div:hover img { opacity: 1; transform: scale(1.05); }
.logo-wall img.tall { max-height: 56px; }
.logo-wall .more { flex-direction: column; gap: 2px; background: var(--ink); color: #fff; text-align: center; }
.logo-wall .more:hover { background: #222; }
.logo-wall .more b { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.03em; line-height: 1; }
.logo-wall .more span { font-size: 13px; color: rgba(255,255,255,.65); }
@media (max-width: 1080px) { .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .logo-wall > div { padding: 0 10%; height: 72px; } .logo-wall img { max-height: 28px; } .logo-wall img.tall { max-height: 40px; } .logo-wall .more span { font-size: 11px; } }

/* ---------- News / insights ---------- */
.news { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 40px; }
.news-item { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.news-item__media { aspect-ratio: 16 / 9.4; border-radius: var(--radius-md); overflow: hidden; background: var(--soft); position: relative; }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-item:hover .news-item__media img { transform: scale(1.04); }
.news-item__media .over { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: #fff; font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.1; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.15)); }
.news-item .date { font-size: 13px; color: var(--muted); }
.news-item h3 { margin-top: 6px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.2; letter-spacing: -0.02em; color: #3a3a3a; }
.news-item p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.news-item .link-arrow { margin-top: 12px; font-size: 14px; }
@media (max-width: 1080px) { .news { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .news-item { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: var(--section) 0; }
.cta h2 { font-size: clamp(40px, 6vw, 92px); line-height: 1; letter-spacing: -0.035em; }
.cta p { margin: 22px auto 0; max-width: 560px; color: var(--muted); font-size: 17px; }
.cta__btns { margin-top: 34px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 96px 0 36px; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 24px; }
.footer__cols h4 { font-family: var(--font-body); font-size: 13.5px; color: rgba(255,255,255,.5); font-weight: 400; margin-bottom: 18px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; }
.footer__cols li + li { margin-top: 6px; }
.footer__cols a { font-size: 15.5px; color: #fff; opacity: .92; }
.footer__cols a:hover { opacity: .65; }
.footer__giant {
  margin-top: 110px; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(52px, 15.6vw, 236px); letter-spacing: -0.075em; line-height: .8;
  color: #fff; white-space: nowrap; margin-left: -0.04em;
}
.footer__giant .dot { display: inline-block; width: .18em; height: .18em; border-radius: 50%; background: #5b6cff; margin-left: .02em; }
.footer__bottom { margin-top: 44px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .02em; }
.footer__bottom a:hover { color: #fff; }
.footer__social { display: flex; gap: 16px; }
.footer__social a { opacity: .8; }
.footer__social a:hover { opacity: 1; }
.footer__social svg { width: 18px; height: 18px; fill: #fff; }
@media (max-width: 860px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ==========================================================================
   Case study page
   ========================================================================== */
.case-hero { padding-top: 40px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.case-hero__top { margin-top: 28px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.case-hero__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.case-hero__tags span { font-size: 13px; color: var(--ink); background: var(--soft); border: 1px solid var(--soft-2); border-radius: 999px; padding: 4px 11px; }
.case-hero h1 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -0.03em; }
.case-hero__lede { font-size: 18px; color: var(--text); }
.case-hero__client { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.case-hero__client img { height: 32px; width: auto; max-width: 160px; object-fit: contain; }
.case-media { margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); position: relative; aspect-ratio: 16 / 8; }
.case-media > img { width: 100%; height: 100%; object-fit: cover; }
.case-media .phones { padding: 5% 8% 0; }
.case-media .phones img { width: 17%; border-radius: 22px; }

.case-meta { margin-top: 40px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.case-meta div { padding: 20px 20px 0 0; }
.case-meta div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.case-meta dt { font-size: 13px; color: var(--muted); }
.case-meta dd { margin: 6px 0 0; color: var(--ink); font-size: 15px; line-height: 1.45; }

.case-results { margin-top: var(--section); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.result { background: var(--soft); border-radius: var(--radius-md); padding: 32px 28px; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; }
.result b { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.4vw, 68px); letter-spacing: -0.045em; color: var(--ink); line-height: 1; }
.result span { margin-top: 24px; color: var(--text); font-size: 15.5px; }

.case-block { margin-top: var(--section); display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.case-block h2 { font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -0.02em; line-height: 1.1; }
.case-block .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 14px; }
.case-block .body p { font-size: 18px; color: var(--text); line-height: 1.6; }
.case-block .body p + p { margin-top: 18px; }
.goals { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.goals div { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.goals h4 { font-size: 17px; letter-spacing: -0.01em; }
.goals p { margin-top: 6px; color: var(--muted); font-size: 14.5px !important; line-height: 1.45 !important; }

.changes { margin-top: 0; }
.change { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.change:nth-child(even) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.change:nth-child(even) .change__media { order: -1; }
.change .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.change h3 { margin-top: 14px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.02em; }
.change p { margin-top: 14px; color: var(--text); font-size: 16.5px; }
.change__media { border-radius: var(--radius-md); overflow: hidden; background: var(--soft); aspect-ratio: 16 / 10; position: relative; }
.change__media > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.change__media.contain > img { object-fit: contain; padding: 4%; }
.change__media .phones img { width: 30%; }
.pipeline { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pipeline span { font-size: 13px; background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 11px; }
.pipeline em { font-style: normal; color: var(--muted-2); }

.gallery { margin-top: var(--section); display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--soft); grid-column: span 4; aspect-ratio: 1 / 1; }
.gallery figure.w6 { grid-column: span 6; aspect-ratio: 16 / 10; }
.gallery figure.w12 { grid-column: span 12; aspect-ratio: 21 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .gallery figure, .gallery figure.w6 { grid-column: span 6; aspect-ratio: 1 / 1; } .gallery figure.w12 { grid-column: span 12; aspect-ratio: 16 / 10; } }

.next-case { margin-top: var(--section); display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; }
.next-case__text { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.next-case__text span { font-size: 14px; color: rgba(255,255,255,.6); }
.next-case__text h3 { color: #fff; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -0.02em; margin-top: 10px; }
.next-case__media { min-height: 320px; position: relative; overflow: hidden; }
.next-case__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.next-case:hover .next-case__media > img { transform: scale(1.04); }

@media (max-width: 960px) {
  .case-hero__top { grid-template-columns: 1fr; gap: 24px; }
  .case-meta { grid-template-columns: 1fr 1fr; }
  .case-meta div, .case-meta div + div { padding: 18px 0 0; border-left: 0; }
  .case-results { grid-template-columns: 1fr; }
  .case-block { grid-template-columns: 1fr; gap: 20px; }
  .goals { grid-template-columns: 1fr; }
  .change, .change:nth-child(even) { grid-template-columns: 1fr; }
  .change:nth-child(even) .change__media { order: 0; }
  .case-media { aspect-ratio: 4 / 3; }
  .case-media .phones img { width: 28%; }
  .case-media .phones img:nth-child(n+4) { display: none; }
  .next-case { grid-template-columns: 1fr; }
}

/* Work index page */
.page-head { padding: 64px 0 0; }
.page-head h1 { font-size: clamp(44px, 6vw, 96px); line-height: .98; letter-spacing: -0.04em; max-width: 1100px; }
.page-head p { margin-top: 22px; max-width: 620px; font-size: 18px; color: var(--muted); }
.filters { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: #cfd3d8; }
.filters button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-card.is-hidden { display: none; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact { padding: 56px 0 var(--section); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact__intro { position: sticky; top: 104px; }
.contact__intro h1 { font-size: clamp(40px, 5vw, 76px); line-height: 1; letter-spacing: -0.035em; }
.contact__lede { margin-top: 22px; font-size: 18px; color: var(--text); max-width: 520px; }
.contact__steps { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__steps span { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); padding-top: 4px; }
.contact__steps h3 { font-size: 17px; letter-spacing: -0.01em; }
.contact__steps p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.contact__trust { margin-top: 36px; }
.contact__trust p { font-size: 13.5px; color: var(--muted); }
.contact__logos { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.contact__logos img { height: 22px; width: auto; max-width: 110px; object-fit: contain; opacity: .7; }
.contact__logos img.tall { height: 32px; }
.contact__email { margin-top: 32px; font-size: 15px; color: var(--muted); }
.contact__email a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.contact__card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.2vw, 44px); background: #fff; box-shadow: 0 30px 60px -40px rgba(0,0,0,.25); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--soft-2); border-radius: 10px; margin-bottom: 28px; }
.seg button { height: 40px; border-radius: 7px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.seg button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

#contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 13.5px; font-weight: 500; color: var(--ink); padding: 0; }
.field i { font-style: normal; color: var(--muted-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid #d9dce1; border-radius: 8px;
  padding: 11px 12px; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%237c7c7c' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 11px; padding-right: 32px; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #a8acb3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c4c8ce; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(12,12,12,.08); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d14343; box-shadow: 0 0 0 3px rgba(209,67,67,.1); }
.field__error { font-size: 13px; color: #c13535; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid #d9dce1; border-radius: 999px; font-size: 14px; color: var(--ink); transition: background .15s, border-color .15s, color .15s; user-select: none; }
.chip:hover span { border-color: #b9bec5; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 12.5px; color: var(--muted); }
.form__submit { width: 100%; justify-content: center; height: 50px; font-size: 15.5px; }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__status { font-size: 14px; color: #c13535; min-height: 1px; }
.form__status:empty { display: none; }
.form__done { text-align: center; padding: 48px 8px; }
.form__done:focus { outline: none; }
.form__check { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; }
.form__check svg { width: 26px; height: 26px; }
.form__done h2 { margin-top: 22px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; }
.form__done p { margin: 10px auto 24px; color: var(--muted); max-width: 380px; }

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .contact__steps, .contact__trust { display: none; }
  .contact__email { margin-top: 18px; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .contact { padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
