/* Arqenta Digital — site styles. 8 px grid, one variable font, no framework. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a1022;
  --ink-2: #3d4a63;
  --ink-3: #5b6780;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --navy: #060b1a;
  --navy-2: #0b1530;
  --navy-line: rgba(255, 255, 255, 0.12);
  --on-dark: #f3f6fc;
  --on-dark-2: #a8b3c9;
  --blue: #2563eb;
  --blue-hi: #3b82f6;
  --cyan: #27aef3;
  --grad: linear-gradient(90deg, #2563eb 0%, #27aef3 100%);
  --grad-text: linear-gradient(92deg, #3b82f6 0%, #27aef3 60%, #6fd3ff 100%);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px;
  --s7: 56px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px; --s20: 160px;

  --container: 1200px;
  --gutter: 24px;
  --section: clamp(96px, 12vw, 160px);
  --radius: 16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 28px;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.022em; text-wrap: balance; }
.lead, .card-body p, .step p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .hero :focus-visible, .site-footer.dark :focus-visible { outline-color: #7cc8ff; }

.skip {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: var(--s1) var(--s2); border-radius: 8px;
}
.skip:focus { top: var(--s2); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section.tight { padding: var(--s12) 0; }
.soft { background: var(--bg-soft); }
.dark { background: var(--navy); color: var(--on-dark); }
.dark .lead, .dark .muted { color: var(--on-dark-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.display {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 650;
}
.h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.032em; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-size: 24px; line-height: 32px; letter-spacing: -0.016em; font-weight: 620; }
.h4 { font-size: 20px; line-height: 28px; letter-spacing: -0.012em; font-weight: 620; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); letter-spacing: -0.006em; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; line-height: 20px; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.light .grad-text, .on-light .grad-text { background: linear-gradient(92deg, #1d4ed8 0%, #1f8fd8 100%); -webkit-background-clip: text; background-clip: text; }

.eyebrow {
  display: inline-flex; flex-direction: column; gap: 12px;
  font-family: var(--mono);
  font-size: 12px; line-height: 16px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s3);
}
.eyebrow::after { content: ""; width: 64px; height: 1px; background: var(--grad); transform-origin: left; }
.dark .eyebrow, .hero .eyebrow, .band .eyebrow { color: var(--on-dark-2); }
.center .eyebrow { align-items: center; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.stack-2 > * + * { margin-top: var(--s2); }
.stack-3 > * + * { margin-top: var(--s3); }
.mw-640 { max-width: 640px; }
.mw-760 { max-width: 760px; }
.mw-880 { max-width: 880px; }

/* Buttons */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; gap: 10px;
  height: var(--bh); padding: 0 var(--s3);
  border-radius: 999px;
  font-size: 15px; line-height: 1; font-weight: 600; letter-spacing: -0.005em;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -12px rgba(37, 99, 235, .7); }
.btn-primary:hover { background: #1d4fd8; box-shadow: 0 12px 32px -12px rgba(37, 99, 235, .85); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .32); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); }
.btn-line { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: #c5cfdf; background: var(--bg-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--blue);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.dark .link-arrow { color: #7cc8ff; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.site-header.is-solid {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(10, 16, 34, .08);
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 33px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-size: 16px; font-weight: 780; letter-spacing: 0.06em; }
.brand-word span { font-size: 9px; font-weight: 600; letter-spacing: 0.44em; margin-top: 4px; opacity: .78; }

.nav { display: flex; align-items: center; gap: var(--s4); }
.nav a.nav-link { font-size: 15px; font-weight: 500; opacity: .86; position: relative; padding: var(--s1) 0; transition: opacity .25s; }
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] { opacity: 1; }
.nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { --bh: 40px; padding: 0 20px; font-size: 14px; }
.site-header:not(.is-solid) .nav .btn-primary { box-shadow: none; }

.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; border-radius: 12px; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 40;
  background: var(--navy); color: var(--on-dark);
  padding: calc(var(--header-h) + var(--s4)) var(--gutter) var(--s5);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.mobile-nav ul li { border-bottom: 1px solid var(--navy-line); }
.mobile-nav ul a { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.mobile-nav .small { color: var(--on-dark-2); }
.nav-open .site-header { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-open { overflow: hidden; }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100vh, 1000px); min-height: min(100svh, 1000px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--navy);
  overflow: hidden;
}
.hero-media { position: absolute; inset: -6% 0 0 0; height: 112%; z-index: -2; will-change: transform; }
.hero-media img, .hero-media picture { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 11, 26, .55) 0%, rgba(6, 11, 26, .05) 30%, rgba(6, 11, 26, .25) 60%, rgba(6, 11, 26, .92) 100%),
    linear-gradient(90deg, rgba(6, 11, 26, .55) 0%, rgba(6, 11, 26, 0) 60%);
}
.hero-body { padding-top: calc(var(--header-h) + var(--s12)); padding-bottom: var(--s10); }
.hero-body .display { max-width: 15ch; }
.hero-body .lead { color: rgba(243, 246, 252, .82); max-width: 600px; margin-top: var(--s3); }
.hero-body .btn-row { margin-top: var(--s5); }
.hero.page { min-height: min(72vh, 720px); min-height: min(72svh, 720px); }
.hero.page .hero-body { padding-bottom: var(--s12); }
.hero.page .h1 { max-width: 18ch; }

.scroll-cue { position: absolute; right: var(--gutter); bottom: calc(var(--s10) + 8px); display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.scroll-cue i { width: 1px; height: 48px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Discipline strip */
.strip { background: #fff; border-bottom: 1px solid var(--line); position: relative; }
.strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-hi) 30%, var(--cyan) 70%, transparent); opacity: .7; }
.strip ul { display: grid; grid-template-columns: repeat(6, 1fr); }
.strip li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: var(--s3) var(--s1); font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.strip li + li { border-left: 1px solid var(--line); }
.strip svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* Glow backgrounds */
.glow { position: relative; overflow: hidden; }
.glow::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 900px; height: 600px; left: 50%; top: 0; transform: translate(-50%, -30%);
  background: radial-gradient(closest-side, rgba(59, 130, 246, .16), rgba(39, 174, 243, .08) 50%, transparent 100%);
}
.glow.bottom::before { top: auto; bottom: 0; transform: translate(-50%, 40%); }
.glow > * { position: relative; z-index: 1; }
.dark.glow::before { background: radial-gradient(closest-side, rgba(37, 99, 235, .28), rgba(39, 174, 243, .1) 55%, transparent 100%); }

/* Intro split */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s8); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
.split .h2 + .lead { margin-top: var(--s3); }

/* Section heading row */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); margin-bottom: var(--s8); }
.head-row .lead { max-width: 440px; }

/* Service cards (home) */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(10, 16, 34, .22); border-color: #d6deea; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: var(--s3); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body p { color: var(--ink-2); font-size: 16px; line-height: 24px; }
.card-body .link-arrow { margin-top: auto; padding-top: var(--s1); }
.card-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.card-kicker svg { width: 18px; height: 18px; color: var(--blue); }

/* Work cards */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s3); }
.work-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-2); isolation: isolate; color: #fff; }
.work-card .wc-media { position: absolute; inset: 0; z-index: -2; }
.work-card .wc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.work-card:hover .wc-media img { transform: scale(1.05); }
.work-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 11, 26, .05) 0%, rgba(6, 11, 26, .2) 35%, rgba(6, 11, 26, .92) 100%); transition: opacity .5s var(--ease); }
.work-card .wc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s4); display: flex; flex-direction: column; gap: 12px; }
.work-card .wc-tags { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.work-card .wc-metric { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; line-height: 16px; font-weight: 600; }
.work-card .wc-metric::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.wc-a { grid-column: span 7; grid-row: span 2; min-height: 640px; }
.wc-b, .wc-c { grid-column: span 5; min-height: 308px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-top: var(--s8); counter-reset: step; }
.step { position: relative; padding-top: var(--s4); }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grad); transform: scaleX(1); transform-origin: left; transition: transform 1.4s var(--ease-out) calc(var(--d, 0ms) + 200ms); }
.js .step::after { transform: scaleX(0); }
.js .step.is-in::after { transform: scaleX(1); }
.step-num { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--blue); margin-bottom: var(--s2); display: block; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--ink-2); font-size: 16px; line-height: 24px; }
.step .small { margin-top: var(--s2); color: var(--ink-3); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-top: var(--s8); }
.number { padding: var(--s4) var(--s3); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.number b { display: block; font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 650; letter-spacing: -0.04em; margin-bottom: var(--s2); }
.number b small { font-size: .45em; letter-spacing: -0.01em; margin-left: 4px; color: var(--ink-3); font-weight: 600; }
.number p { color: var(--ink-2); font-size: 16px; line-height: 24px; }

/* Industries marquee */
.marquee { margin-top: var(--s8); display: flex; flex-direction: column; gap: var(--s2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); overflow: hidden; }
.marquee-row { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-row.rev { animation-direction: reverse; animation-duration: 70s; }
.marquee-row ul { display: flex; flex: none; }
.marquee-row li { display: inline-flex; align-items: center; gap: var(--s4); padding-right: var(--s4); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; font-weight: 600; letter-spacing: -0.025em; color: #8291a8; white-space: nowrap; transition: color .3s; }
.marquee-row li:hover { color: var(--ink); }
.marquee-row li::after { content: ""; width: 10px; height: 10px; background: var(--grad); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Image band / CTA */
.band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); padding: clamp(120px, 16vw, 200px) 0; }
.band-media { position: absolute; inset: -15% 0; z-index: -2; will-change: transform; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,11,26,.55), rgba(6,11,26,.35) 50%, rgba(6,11,26,.7)); }
.band .lead { color: rgba(243,246,252,.84); margin-top: var(--s3); }
.band .btn-row { margin-top: var(--s5); justify-content: center; }

/* Services page */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: var(--s1); overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; height: 36px; padding: 0 var(--s2); border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--ink-2); white-space: nowrap; transition: background .3s, color .3s; }
.subnav a:hover { background: var(--bg-soft); color: var(--ink); }
.subnav a.is-active { background: var(--ink); color: #fff; }

.svc { padding: var(--section) 0; scroll-margin-top: calc(var(--header-h) + 60px); }
.svc + .svc { border-top: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10); align-items: center; }
.svc.flip .svc-media { order: 2; }
.svc-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-2); }
.svc-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.svc-num { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--blue); display: block; margin-bottom: var(--s2); }
.svc .h2 { font-size: clamp(32px, 3.6vw, 48px); }
.svc .lead { margin-top: var(--s3); }
.svc-lists { display: grid; grid-template-columns: 1fr; gap: var(--s4); margin-top: var(--s5); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px var(--s3); }
.checks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 24px; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(37,99,235,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232563eb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.list-label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s2); display: block; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.chips li { font-size: 13px; line-height: 16px; font-weight: 550; padding: 8px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s8); }
.model { padding: var(--s5) var(--s4); border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid var(--navy-line); transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease); }
.model:hover { background: rgba(255,255,255,.07); border-color: rgba(124,200,255,.35); transform: translateY(-4px); }
.model .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(37,99,235,.35), rgba(39,174,243,.2)); margin-bottom: var(--s4); }
.model .icon svg { width: 24px; height: 24px; color: #9fd8ff; }
.model p { color: var(--on-dark-2); margin-top: 12px; font-size: 16px; line-height: 24px; }
.model .best { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--navy-line); font-size: 14px; line-height: 20px; color: var(--on-dark); }
.model .best span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 4px; }

/* Work page */
.page-hero-plain { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: calc(var(--header-h) + var(--s16)) 0 var(--s12); isolation: isolate; }
.page-hero-plain::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 400px at 85% 20%, rgba(39,174,243,.28), transparent 70%),
  radial-gradient(700px 500px at 10% 110%, rgba(37,99,235,.35), transparent 70%); }
.page-hero-plain .lead { color: rgba(243,246,252,.8); margin-top: var(--s3); max-width: 620px; }
.filters { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s6); }
.filters button { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 550; color: var(--ink-2); background: #fff; transition: all .3s var(--ease); }
.filters button:hover { border-color: #c5cfdf; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s4); }
.case { display: flex; flex-direction: column; gap: var(--s3); }
.case[hidden] { display: none; }
.case-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-2); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.case:hover .case-media img { transform: scale(1.04); }
.case-media .wc-metric { position: absolute; left: var(--s3); bottom: var(--s3); color: #fff; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(6,11,26,.55); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; line-height: 16px; font-weight: 600; }
.case-media .wc-metric::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.case-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.case h3 { font-size: 26px; line-height: 32px; }
.case p { color: var(--ink-2); }
.footnote { margin-top: var(--s10); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink-3); }

/* About */
.frame { position: relative; padding: var(--s2); }
.frame::before, .frame::after, .frame > .tick-b::before, .frame > .tick-b::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--ink); }
.frame::before { left: 0; top: 0; }
.frame::after { right: 0; top: 0; }
.frame > .tick-b::before { left: 0; bottom: 0; }
.frame > .tick-b::after { right: 0; bottom: 0; }
.frame-in { border-radius: 4px; overflow: hidden; position: relative; }
.frame-in::after { content: ""; position: absolute; width: 22%; aspect-ratio: 1; right: 0; bottom: 0; background: var(--grad); clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .9; }
.duo { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s4); align-items: end; }
.duo .frame-in img { width: 100%; height: 100%; object-fit: cover; }
.duo .tall .frame-in { aspect-ratio: 4 / 5; }
.duo .wide .frame-in { aspect-ratio: 4 / 3; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: var(--s8); border-top: 1px solid var(--navy-line); }
.principle { padding: var(--s5) var(--s4) var(--s5) 0; border-bottom: 1px solid var(--navy-line); display: grid; grid-template-columns: 64px 1fr; gap: var(--s2); }
.principle:nth-child(odd) { border-right: 1px solid var(--navy-line); }
.principle:nth-child(even) { padding-left: var(--s4); }
.principle .num { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #7cc8ff; padding-top: 8px; }
.principle p { color: var(--on-dark-2); margin-top: 12px; font-size: 16px; line-height: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s10); align-items: start; }
.mail-big { display: inline-flex; align-items: center; gap: var(--s2); margin-top: var(--s5); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; font-weight: 650; letter-spacing: -0.03em; color: var(--ink); border-bottom: 2px solid transparent; border-image: var(--grad) 1; padding-bottom: 6px; transition: color .3s; overflow-wrap: anywhere; }
.mail-big:hover { color: var(--blue); }
.mail-big svg { width: 28px; height: 28px; flex: none; transition: transform .4s var(--ease); }
.mail-big:hover svg { transform: translate(4px, -4px); }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-top: var(--s6); }
.topic { padding: var(--s3); border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: var(--s1); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.topic:hover { border-color: #c5cfdf; transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(10,16,34,.25); }
.topic svg { width: 22px; height: 22px; color: var(--blue); margin-bottom: var(--s1); }
.topic b { font-size: 16px; line-height: 24px; font-weight: 620; }
.topic span { font-size: 14px; line-height: 20px; color: var(--ink-3); }
.panel { padding: var(--s5) var(--s4); border-radius: var(--radius-lg); background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.panel::before { content: ""; position: absolute; inset: auto -30% -40% auto; width: 420px; height: 420px; z-index: -1; background: radial-gradient(closest-side, rgba(37,99,235,.45), transparent); }
.panel .checks li { color: var(--on-dark); }
.panel .checks { grid-template-columns: 1fr; }
.panel .checks li::before { background-color: rgba(124,200,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%237cc8ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.panel .small { color: var(--on-dark-2); margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--navy-line); }
.faq { margin-top: var(--s6); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) 0; font-size: 19px; line-height: 28px; font-weight: 600; letter-spacing: -0.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: transform .4s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover i { background: var(--bg-soft); }
.faq details p { padding: 0 var(--s6) var(--s3) 0; color: var(--ink-2); max-width: 720px; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: var(--s12) 0 var(--s5); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-hi) 30%, var(--cyan) 70%, transparent); opacity: .6; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: var(--s5); }
.footer-grid .brand { color: var(--ink); }
.footer-grid p { color: var(--ink-2); font-size: 15px; line-height: 24px; margin-top: var(--s3); max-width: 320px; }
.footer-col h2 { font-family: var(--mono); font-size: 11px; line-height: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: var(--s2); }
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 15px; line-height: 24px; color: var(--ink-2); transition: color .25s; }
.footer-col a:hover { color: var(--blue); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s10); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--ink-3); }
.footer-base nav { display: flex; gap: var(--s3); }
.footer-base a:hover { color: var(--blue); }

/* Credits / plain pages */
.prose h2 { margin: var(--s8) 0 var(--s2); }
.prose p + p { margin-top: var(--s2); }
.credits-table { width: 100%; border-collapse: collapse; margin-top: var(--s3); font-size: 15px; line-height: 24px; }
.credits-table th, .credits-table td { text-align: left; padding: 14px var(--s2) 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits-table th { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.credits-table a { color: var(--blue); overflow-wrap: anywhere; }
.credits-table td:first-child { color: var(--ink-2); }

/* 404 */
.nf { min-height: min(100vh, 1000px); min-height: min(100svh, 1000px); display: grid; place-items: center; text-align: center; padding: var(--s12) var(--gutter); }
.nf .code { font-size: clamp(120px, 22vw, 240px); line-height: .9; font-weight: 700; letter-spacing: -0.06em; }
.nf .btn-row { justify-content: center; margin-top: var(--s5); }

/* Reveal motion */
.js .reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(8% 8% 8% 8% round 24px); transition: clip-path 1.4s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0 round 0); }
.js .hero .h-line { display: block; overflow: hidden; }
.js .hero .h-line > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .hero.is-in .h-line > span { transform: none; }
.js .hero .hero-fade { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .hero.is-in .hero-fade { opacity: 1; transform: none; }
.js .hero-media img { transform: scale(1.08); transition: transform 2.4s var(--ease-out); }
.js .hero.is-in .hero-media img { transform: scale(1); }

/* Responsive */
@media (max-width: 1080px) {
  .strip ul { grid-template-columns: repeat(3, 1fr); }
  .strip li:nth-child(4) { border-left: 0; }
  .strip li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps, .numbers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .models { grid-template-columns: 1fr; }
  .svc-grid { gap: var(--s6); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .split, .split.even, .contact-grid, .svc-grid, .duo { grid-template-columns: 1fr; gap: var(--s5); }
  .svc.flip .svc-media { order: 0; }
  .svc-media { aspect-ratio: 4 / 3; }
  .head-row { flex-direction: column; align-items: flex-start; margin-bottom: var(--s6); }
  .work-grid { grid-template-columns: 1fr; }
  .wc-a, .wc-b, .wc-c { grid-column: auto; grid-row: auto; min-height: 440px; }
  .cases { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principle:nth-child(odd) { border-right: 0; }
  .principle:nth-child(even) { padding-left: 0; }
  .topics { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
@media (max-width: 600px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; line-height: 26px; }
  .strip ul { grid-template-columns: repeat(2, 1fr); }
  .strip li { justify-content: flex-start; padding: var(--s2) var(--s2); font-size: 11px; letter-spacing: .08em; }
  .strip li:nth-child(n) { border-left: 0; border-top: 0; }
  .strip li:nth-child(even) { border-left: 1px solid var(--line); }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards-3, .steps, .numbers { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-body { padding-bottom: var(--s8); }
  .hero-body .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .work-card .wc-body { padding: var(--s3); }
  .wc-a, .wc-b, .wc-c { min-height: 400px; }
  .faq details p { padding-right: 0; }
  .principle { grid-template-columns: 1fr; gap: var(--s1); padding: var(--s4) 0; }
  .principle .num { padding-top: 0; }
  .footer-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .hero .hero-fade { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
  .js .hero .h-line > span, .js .hero-media img { transform: none; }
  .marquee-row { animation: none; width: auto; display: block; padding: 0 var(--gutter); }
  .marquee-row ul + ul { display: none; }
  .marquee-row ul { flex-wrap: wrap; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .scroll-cue i::after { display: none; }
}

@media (min-width: 861px) { .split-pt { padding-top: 40px; } }
@media (max-width: 700px) {
  .credits-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .credits-table, .credits-table tbody, .credits-table tr, .credits-table td { display: block; width: 100%; }
  .credits-table tr { padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
  .credits-table td { border: 0; padding: 2px 0; }
  .credits-table td:first-child { font-weight: 600; color: var(--ink); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s3); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .topic { display: grid; grid-template-columns: 24px 1fr; column-gap: var(--s2); row-gap: 2px; padding: var(--s2) var(--s3); }
  .topic svg { grid-row: span 2; margin: 2px 0 0; }
  .faq summary { font-size: 17px; line-height: 26px; }
}
.mobile-nav ul a svg { width: 20px; height: 20px; opacity: .55; transition: transform .35s var(--ease), opacity .3s; }
.mobile-nav ul a:hover svg { transform: translateX(4px); opacity: 1; }
.mobile-nav ul a[aria-current="page"] { color: #7cc8ff; }
.subnav { transition: top .45s var(--ease); }
.header-hidden .subnav { top: 0; }
