/* ============================================================
   72DPI — web studio
   Type: Inter Tight / JetBrains Mono
   Palette: ink, paper, signal orange
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b0c0d;
  --ink-2: #101214;
  --paper: #f2efe8;
  --paper-2: #e8e4da;
  --accent: #ff4d1f;
  --fg: var(--paper);
  --muted: rgba(242, 239, 232, 0.62);
  --line: rgba(242, 239, 232, 0.16);
  --bg: var(--ink);
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

.theme-paper {
  --fg: #0b0c0d;
  --muted: #605c53;
  --line: rgba(11, 12, 13, 0.16);
  --bg: var(--paper);
  --accent: #d93c13;
  background: var(--bg);
  color: var(--fg);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
input, textarea { font: inherit; }

::selection {
  background: var(--accent);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(84px, 10vw, 150px);
  background: var(--bg);
  color: var(--fg);
}

.section-dark {
  --fg: var(--paper);
  --muted: rgba(242, 239, 232, 0.62);
  --line: rgba(242, 239, 232, 0.16);
  --bg: var(--ink);
  --accent: #ff4d1f;
  background: var(--bg);
  color: var(--fg);
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.slash { margin-inline: 4px; opacity: 0.45; }

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(40px, 6vw, 76px);
  color: var(--muted);
}
.section-label::after {
  content: "";
  order: 3;
  flex: 1;
  height: 1px;
  background: var(--line);
}
.label-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.display {
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 550;
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(31px, 4vw, 58px);
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.accent-serif {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.035em;
}

.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.022em;
  color: var(--muted);
  text-wrap: pretty;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 72px);
}
.section-head .h2 { max-width: 15ch; }
.section-intro {
  max-width: 42ch;
  padding-bottom: 6px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.012em;
  cursor: pointer;
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft),
    border-color 0.3s var(--ease-soft), transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}
.btn-accent:hover { background: var(--paper); }

.btn-ghost {
  border-color: rgba(242, 239, 232, 0.28);
  color: var(--paper);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn-sm {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 12.5px;
}

.btn-arrow {
  flex: 0 0 auto;
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn-arrow { transform: translate(2px, -2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 450;
  color: var(--fg);
  transition: border-color 0.3s, color 0.3s;
}
.text-link svg { transition: transform 0.35s var(--ease); }
.text-link:hover { border-color: var(--accent); color: var(--accent); }
.text-link:hover svg { transform: translate(2px, -2px); }
.dark-link { border-color: var(--line); }
.nowrap { white-space: nowrap; }

/* ---------- Header ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft),
    backdrop-filter 0.35s var(--ease-soft);
}
.site-header.is-scrolled {
  background: rgba(11, 12, 13, 0.84);
  border-color: rgba(242, 239, 232, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 2px;
  width: 16px;
  height: 16px;
}
.logo-grid i { display: block; background: var(--paper); }
.logo-grid i:nth-child(1) { background: var(--accent); }
.logo-grid i:nth-child(4) { opacity: 0.5; }
.logo-word {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 17px;
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.logo-word small {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.5);
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 34px); margin-left: auto; }
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  color: rgba(242, 239, 232, 0.68);
  transition: color 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.35s var(--ease);
}
.nav a:hover,
.nav a[aria-current="true"] { color: var(--paper); }
.nav a:hover::after,
.nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: 0 50%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 42px;
  padding: 0 2px;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}
.menu-toggle-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 12px;
}
.menu-toggle-icon i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--paper);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-toggle-icon i:first-child { top: 2px; }
.menu-toggle-icon i:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { top: 6px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 32px) 0 32px;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-soft), visibility 0s linear 0.4s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease-soft), visibility 0s linear 0s;
}
.mobile-menu-inner { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.mobile-nav a span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.mobile-menu-foot {
  display: grid;
  gap: 8px;
  padding-top: 28px;
  font-size: 14px;
}
.mobile-menu-foot a { color: var(--muted); }
.mobile-menu-foot a:first-child { color: var(--paper); font-size: 18px; }
.mobile-menu-foot p { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 80px));
  padding-bottom: clamp(30px, 4vw, 48px);
  overflow: hidden;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(242, 239, 232, 0.055) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25) 70%, transparent);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.25) 70%, transparent);
}
.hero-glow {
  position: absolute;
  top: -18%;
  right: -8%;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(255, 77, 31, 0.15), rgba(255, 77, 31, 0.04) 40%, transparent 68%);
  filter: blur(18px);
}
.hero::before {
  content: "";
  position: absolute;
  top: 18%;
  right: -18%;
  width: 54vw;
  height: 54vw;
  border: 1px solid rgba(242, 239, 232, 0.07);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(350px, 0.85fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.hero-copy { min-width: 0; }
.hero-eyebrow {
  margin-bottom: clamp(28px, 3.5vw, 44px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.hero-title {
  font-size: clamp(42px, 5.55vw, 82px);
  font-weight: 550;
  line-height: 0.96;
  letter-spacing: -0.052em;
  text-wrap: balance;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero-title .line > span {
  display: block;
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 100ms);
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.hero-lead {
  max-width: 58ch;
  margin-top: clamp(24px, 3vw, 34px);
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.58;
  color: var(--muted);
  text-wrap: pretty;
  transition: opacity 0.8s var(--ease) 0.32s, transform 0.8s var(--ease) 0.32s;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: clamp(28px, 3.4vw, 42px);
  transition: opacity 0.8s var(--ease) 0.42s, transform 0.8s var(--ease) 0.42s;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.2vw, 52px);
  margin-top: clamp(44px, 5vw, 68px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  transition: opacity 0.8s var(--ease) 0.52s, transform 0.8s var(--ease) 0.52s;
}
.hero-facts li { display: flex; flex-direction: column; gap: 3px; }
.hero-facts b {
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero-facts span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.js .hero-eyebrow,
.js .hero-lead,
.js .hero-actions,
.js .hero-facts,
.js .hero-visual {
  opacity: 0;
}
.js .hero-eyebrow { transform: translateY(10px); }
.js .hero-lead,
.js .hero-actions { transform: translateY(18px); }
.js .hero-facts { transform: translateY(16px); }
.js .hero-visual { transform: translateY(24px); }
.js .hero-title .line > span { transform: translateY(112%); }

body.is-ready .hero-eyebrow,
body.is-ready .hero-lead,
body.is-ready .hero-actions,
body.is-ready .hero-facts { opacity: 1; transform: none; }
body.is-ready .hero-title .line > span { transform: none; }

.hero-visual {
  transition: opacity 1s var(--ease) 0.3s, transform 1s var(--ease) 0.3s;
}
body.is-ready .hero-visual { opacity: 1; transform: none; }

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.4);
  writing-mode: vertical-rl;
}
.hero-scroll i {
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scroll-line 2.4s var(--ease-soft) infinite;
  transform-origin: top;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- System map ---------- */
.system {
  position: relative;
  width: 100%;
  border: 1px solid rgba(242, 239, 232, 0.14);
  background: linear-gradient(155deg, rgba(242, 239, 232, 0.045), rgba(242, 239, 232, 0.008) 55%, rgba(255, 77, 31, 0.03));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 14px;
}
.system-head,
.system-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.42);
}
.system-head { padding-bottom: 11px; border-bottom: 1px solid rgba(242, 239, 232, 0.1); }
.system-foot { padding-top: 11px; border-top: 1px solid rgba(242, 239, 232, 0.1); }
.system-live { display: inline-flex; align-items: center; gap: 6px; color: rgba(242, 239, 232, 0.62); }
.system-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7fffb2;
  box-shadow: 0 0 8px rgba(127, 255, 178, 0.6);
}
.system-year { color: rgba(242, 239, 232, 0.3); }
.system-stage { position: relative; aspect-ratio: 1; margin: 9px 0; }
.system-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(242, 239, 232, 0.55);
}
.orbit { transform-box: fill-box; transform-origin: center; }
.orbit-a { animation: orbit-spin 80s linear infinite; }
.orbit-b { animation: orbit-spin 120s linear infinite reverse; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.system-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 27%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 77, 31, 0.55);
  background: rgba(11, 12, 13, 0.72);
  box-shadow: 0 0 44px rgba(255, 77, 31, 0.1), inset 0 0 24px rgba(255, 77, 31, 0.05);
}
.system-core b {
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}
.system-core span {
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.35;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.sys-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border: 1px solid rgba(242, 239, 232, 0.16);
  background: rgba(11, 12, 13, 0.88);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.n-idx { font-family: var(--font-mono); font-size: 7px; color: var(--accent); }
.n-name {
  font-family: var(--font-mono);
  font-size: clamp(8px, 0.72vw, 10px);
  letter-spacing: 0.02em;
  color: rgba(242, 239, 232, 0.8);
}
.n1 { top: 2%; left: 50%; transform: translateX(-50%); }
.n2 { top: 25%; right: 0; }
.n3 { bottom: 5%; right: 1%; }
.n4 { bottom: 2%; left: 0; }
.n5 { top: 27%; left: 0; }

.cross {
  position: absolute;
  width: 9px;
  height: 9px;
  opacity: 0.4;
}
.cross::before,
.cross::after {
  content: "";
  position: absolute;
  background: rgba(242, 239, 232, 0.7);
}
.cross::before { left: 4px; top: 0; width: 1px; height: 9px; }
.cross::after { top: 4px; left: 0; height: 1px; width: 9px; }
.cross-1 { left: 21%; top: 15%; }
.cross-2 { right: 16%; bottom: 27%; }
.cross-3 { left: 34%; bottom: 13%; }

/* ---------- Client ticker ---------- */
.ticker-section {
  position: relative;
  padding-top: clamp(28px, 3vw, 38px);
  background: var(--ink);
  border-top: 1px solid rgba(242, 239, 232, 0.08);
}
.ticker-label { margin-bottom: 16px; }
.ticker {
  overflow: hidden;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(242, 239, 232, 0.1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; align-items: center; }
.ticker-list li {
  display: inline-flex;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  padding-right: clamp(24px, 3vw, 44px);
  white-space: nowrap;
}

.brand-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.brand-mark {
  display: block;
  height: clamp(20px, 1.65vw, 26px);
  width: auto;
  flex: 0 0 auto;
  color: rgba(242, 239, 232, 0.74);
  transition: color 0.3s var(--ease-soft);
  -webkit-user-drag: none;
}
.ticker-list li:hover .brand-mark { color: var(--paper); }
.ticker-list li::after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--accent);
  opacity: 0.75;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Positioning ---------- */
.positioning { padding-top: clamp(80px, 10vw, 140px); }
.positioning-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.72fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: end;
}
.positioning-grid .display { max-width: 17ch; }
.positioning-copy { display: grid; gap: 22px; padding-bottom: 7px; }
.positioning-copy p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.62;
  color: var(--muted);
  text-wrap: pretty;
}
.positioning-copy p:first-child {
  font-size: clamp(17px, 1.35vw, 19px);
  color: var(--fg);
  letter-spacing: -0.02em;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(52px, 7vw, 96px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.principle { position: relative; }
.principle-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.principle h3 {
  max-width: 24ch;
  margin-bottom: 12px;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.principle p {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- Directions ---------- */
.directions { padding-top: 0; }
.direction-list { border-bottom: 1px solid var(--line); }
.direction {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1.12fr) minmax(0, 1.12fr) minmax(190px, 0.7fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: start;
  padding: clamp(26px, 3.2vw, 38px) 0;
  border-top: 1px solid var(--line);
}
.direction::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.65s var(--ease);
}
.direction:hover::before { width: 100%; }
.d-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 6px;
}
.d-title {
  max-width: 17ch;
  font-size: clamp(21px, 2.15vw, 31px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  transition: transform 0.45s var(--ease), color 0.3s;
}
.direction:hover .d-title { transform: translateX(6px); }
.d-desc {
  max-width: 44ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.d-tags li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s;
}
.direction:hover .d-tags li { border-color: color-mix(in srgb, var(--fg) 28%, transparent); color: var(--fg); }

.gov-callout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.55fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin-top: clamp(38px, 5vw, 60px);
  padding: clamp(28px, 4.4vw, 56px);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.gov-callout::before {
  content: "GOV";
  position: absolute;
  right: -0.06em;
  bottom: -0.28em;
  font-size: clamp(120px, 17vw, 250px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
  color: rgba(242, 239, 232, 0.035);
  pointer-events: none;
}
.gov-copy { position: relative; z-index: 1; }
.gov-copy .eyebrow { color: rgba(242, 239, 232, 0.58); }
.gov-copy h3 {
  margin: 18px 0 14px;
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.gov-copy p {
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(242, 239, 232, 0.62);
  text-wrap: pretty;
}
.gov-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-top: 3px;
}
.gov-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gov-tags li {
  padding: 7px 9px;
  border: 1px solid rgba(242, 239, 232, 0.2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.72);
}
.gov-side .btn { margin-top: 2px; }

.also { margin-top: clamp(54px, 7vw, 86px); }
.also-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.also-head p { font-size: 13px; color: var(--muted); }
.also-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
}
.also-grid article {
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
}
.also-grid h3 {
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.also-grid p {
  max-width: 32ch;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Engineering ---------- */
.engineering {
  border-top: 1px solid rgba(242, 239, 232, 0.08);
  border-bottom: 1px solid rgba(242, 239, 232, 0.08);
  background:
    radial-gradient(ellipse 70% 55% at 78% 8%, rgba(255, 77, 31, 0.07), transparent 60%),
    var(--ink);
}
.engineering-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.engineering-intro { position: sticky; top: 120px; }
.engineering-intro .h2 { max-width: 14ch; }
.engineering-intro .lead { max-width: 42ch; margin-top: 26px; }
.manifesto {
  margin-top: clamp(38px, 5vw, 58px);
  padding: 22px 0 0 24px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--accent);
}
.manifesto p {
  max-width: 24ch;
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.manifesto cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.engineering-list { border-top: 1px solid var(--line); }
.eng-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(22px, 2.8vw, 32px) 0;
  border-bottom: 1px solid var(--line);
}
.eng-num {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.eng-item h3 {
  margin-bottom: 9px;
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 500;
  letter-spacing: -0.03em;
  transition: color 0.3s;
}
.eng-item:hover h3 { color: var(--accent); }
.eng-item p {
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
  text-wrap: pretty;
}

.stack {
  margin-top: clamp(50px, 7vw, 86px);
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stack-label {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.stack-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  row-gap: 14px;
}
.stack-flow span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.74);
}
.stack-flow i {
  position: relative;
  width: clamp(14px, 2.5vw, 34px);
  height: 1px;
  background: rgba(242, 239, 232, 0.24);
}
.stack-flow i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-top: 1px solid rgba(242, 239, 232, 0.4);
  border-right: 1px solid rgba(242, 239, 232, 0.4);
  transform: rotate(45deg);
}

/* ---------- Industries ---------- */
.industries { --bg: var(--paper-2); --line: rgba(11, 12, 13, 0.18); background: var(--paper-2); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.industry {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--paper);
  border: 1px solid rgba(11, 12, 13, 0.13);
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s var(--ease);
}
.industry:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 12, 13, 0.45);
  box-shadow: 0 18px 46px -30px rgba(11, 12, 13, 0.5);
}
.industry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.industry-top .eyebrow { font-size: 8.5px; color: #777269; }
.industry-mark {
  font-size: 15px;
  color: var(--accent);
  transition: transform 0.4s var(--ease);
}
.industry:hover .industry-mark { transform: translate(2px, -2px); }
.industry h3 {
  max-width: 15ch;
  margin-bottom: 12px;
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.industry p {
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.58;
  color: #5e5a51;
  text-wrap: pretty;
}
.industry-clients {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  margin-top: auto;
  padding-top: 26px;
}
.industry-clients li { display: inline-flex; align-items: center; }
.client-mark {
  display: block;
  height: 16px;
  width: auto;
  flex: 0 0 auto;
  color: #6f6a60;
  transition: color 0.35s var(--ease-soft);
  -webkit-user-drag: none;
}
.industry:hover .client-mark { color: var(--ink); }
.client-text {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #777269;
}

.nda-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 78ch;
  margin-top: clamp(34px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.nda-note .status-dot { margin-top: 6px; }

/* ---------- Process ---------- */
.process-section {
  background: var(--paper);
  border-top: 1px solid rgba(11, 12, 13, 0.12);
}
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.process-aside { position: sticky; top: 120px; }
.process-aside .h2 { max-width: 12ch; }
.process-lead {
  max-width: 39ch;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
.process-aside .text-link { margin-top: 30px; }

.process-steps { border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
  padding: clamp(22px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.step-num {
  position: relative;
  padding-top: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #8a857b;
  transition: color 0.35s;
}
.step-num::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.step.is-active .step-num { color: var(--accent); }
.step.is-active .step-num::before { opacity: 1; transform: scale(1); }
.step-body h3 {
  margin-bottom: 8px;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
  transition: transform 0.4s var(--ease);
}
.step:hover .step-body h3 { transform: translateX(4px); }
.step-body p {
  max-width: 49ch;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
  text-wrap: pretty;
}
.step-meta {
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a857b;
  text-align: right;
  white-space: nowrap;
}

/* ---------- Studio ---------- */
.studio {
  background:
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(255, 77, 31, 0.06), transparent 60%),
    var(--ink);
}
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}
.studio-intro .h2 { max-width: 13ch; }
.studio-copy { display: grid; gap: 18px; padding-top: 3px; }
.studio-copy p {
  max-width: 52ch;
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
.studio-copy p:first-child { color: rgba(242, 239, 232, 0.82); }

.guarantees {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(50px, 7vw, 86px);
}
.guarantee {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  background: rgba(242, 239, 232, 0.02);
  transition: border-color 0.35s, background 0.35s;
}
.guarantee:hover { border-color: rgba(255, 77, 31, 0.5); background: rgba(255, 77, 31, 0.035); }
.guarantee-value {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 16px;
  font-size: clamp(36px, 3.3vw, 48px);
  font-weight: 450;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.guarantee-value small {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.guarantee p {
  max-width: 32ch;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(44px, 6vw, 70px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.trust-row h3 {
  margin: 11px 0 7px;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.trust-row p { font-size: 12px; line-height: 1.55; color: var(--muted); }
.trust-row .eyebrow { font-size: 8px; }

/* ---------- Digital ---------- */
.digital { background: var(--paper); }
.digital-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.analytics-card {
  padding: clamp(24px, 3vw, 38px);
  background: var(--paper-2);
  border: 1px solid rgba(11, 12, 13, 0.14);
}
.analytics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.analytics-head .eyebrow { color: #6d685e; }
.analytics-mark { color: var(--accent); font-size: 15px; }
.analytics-card > p {
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
  text-wrap: pretty;
}
.attribution {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.attr-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}
.attr-row span {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6d685e;
}
.attr-row i {
  position: relative;
  display: block;
  height: 5px;
  background: rgba(11, 12, 13, 0.09);
  overflow: hidden;
}
.attr-row i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--accent);
  transition: width 1.2s var(--ease) 0.2s;
}
.analytics-card.is-in .attr-row i::before { width: var(--w); }
.attr-note {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a857b;
}

.services { padding-top: 2px; }
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 54px);
  border-top: 1px solid var(--line);
}
.service-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.35;
  transition: color 0.3s;
}
.service-list li:hover { color: var(--accent); }
.service-list li span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  color: #8a857b;
}
.icc-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: #8a857b;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse 55% 65% at 8% 100%, rgba(255, 77, 31, 0.08), transparent 60%),
    var(--ink);
  border-top: 1px solid rgba(242, 239, 232, 0.08);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.contact-title { max-width: 12ch; font-size: clamp(36px, 4.8vw, 68px); }
.contact-copy .lead { max-width: 46ch; margin-top: 26px; }
.contact-list { margin-top: clamp(36px, 5vw, 54px); border-top: 1px solid var(--line); }
.contact-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a,
.contact-list li > span:last-child {
  font-size: clamp(16px, 1.4vw, 19px);
  letter-spacing: -0.02em;
}
.contact-list a { transition: color 0.3s; }
.contact-list a:hover { color: var(--accent); }
.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.contact-note .status-dot { margin-top: 6px; }

.form-card {
  padding: clamp(24px, 3.2vw, 40px);
  background: var(--paper);
  color: var(--ink);
}
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d685e;
}
.field input,
.field textarea {
  width: 100%;
  padding: 9px 0 11px;
  border: 0;
  border-bottom: 1px solid rgba(11, 12, 13, 0.22);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  outline: none;
  transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input::placeholder,
.field textarea::placeholder { color: #9b968c; }
.field input:focus,
.field textarea:focus { border-color: var(--accent); outline: none; }
.field input:user-invalid,
.field textarea:user-invalid { border-color: #b3261e; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.5;
  color: #6d685e;
  cursor: pointer;
}
.consent input {
  width: 14px;
  height: 14px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #0b0c0d;
}
.consent a { color: #0b0c0d; text-decoration: underline; text-underline-offset: 2px; }

.form-card .btn-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 4px;
  background: var(--ink);
  color: var(--paper);
}
.form-card .btn-submit:hover { background: var(--accent); color: var(--ink); }
.form-status {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #8a857b;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: clamp(60px, 8vw, 96px) 0 26px;
  background: #070809;
  border-top: 1px solid rgba(242, 239, 232, 0.08);
  color: var(--paper);
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 0.9fr) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand p {
  max-width: 30ch;
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(242, 239, 232, 0.5);
}
.footer-nav,
.footer-contacts,
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-nav .eyebrow,
.footer-contacts .eyebrow,
.footer-cta .eyebrow { margin-bottom: 10px; font-size: 8px; }
.footer-nav a,
.footer-contacts a {
  font-size: 13.5px;
  color: rgba(242, 239, 232, 0.72);
  transition: color 0.25s;
}
.footer-nav a:hover,
.footer-contacts a:hover { color: var(--accent); }
.footer-contacts p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(242, 239, 232, 0.5);
}
.footer-cta .btn { margin-top: 4px; }

.footer-wordmark {
  margin: clamp(40px, 6vw, 70px) 0 clamp(24px, 3vw, 34px);
  font-size: clamp(76px, 19vw, 280px);
  font-weight: 650;
  line-height: 0.74;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 232, 0.13);
  user-select: none;
  pointer-events: none;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 239, 232, 0.1);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.52);
}
.footer-legal { display: flex; align-items: center; gap: 22px; }
.footer-legal a { transition: color 0.25s; }
.footer-legal a:hover { color: var(--paper); }

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Legal page ---------- */
.legal-top {
  padding: 22px 0;
  background: var(--ink);
  color: var(--paper);
}
.legal-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.legal-top-back {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.6);
  transition: color 0.25s;
}
.legal-top-back:hover { color: var(--accent); }
.legal-page {
  min-height: 100svh;
  padding: clamp(56px, 8vw, 100px) 0 clamp(70px, 9vw, 110px);
  background: var(--paper);
  color: var(--ink);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d685e;
}
.legal-back:hover { color: var(--accent); }
.legal-page h1 {
  max-width: 18ch;
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.05em;
}
.legal-date {
  margin-bottom: 48px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6d685e;
}
.legal-body { max-width: 76ch; }
.legal-body h2 {
  margin: 38px 0 12px;
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.legal-body p,
.legal-body li {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.68;
  color: #4f4b43;
}
.legal-body ul { padding-left: 18px; list-style: disc; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }

.legal-footer {
  padding: 22px 0;
  background: var(--ink);
  color: rgba(242, 239, 232, 0.58);
}
.legal-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.legal-footer a { transition: color 0.25s; }
.legal-footer a:hover { color: var(--paper); }

/* ---------- Noise ---------- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 500;
  opacity: 0.035;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .direction { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.1fr); }
  .d-tags { grid-column: 2 / -1; margin-top: 2px; }
  .d-desc { max-width: 52ch; }
}

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr); }
  .system-core b { font-size: 28px; }
  .positioning-grid { grid-template-columns: 1fr; gap: 36px; }
  .positioning-grid .display { max-width: 20ch; }
  .positioning-copy { grid-template-columns: repeat(2, 1fr); }
  .engineering-grid { grid-template-columns: 1fr; gap: 48px; }
  .engineering-intro { position: static; }
  .engineering-intro .h2 { max-width: 18ch; }
  .engineering-intro .lead { max-width: 60ch; }
  .manifesto { max-width: 580px; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: 1fr; gap: 44px; }
  .process-aside { position: static; }
  .process-aside .h2 { max-width: 18ch; }
  .studio-grid { grid-template-columns: 1fr; gap: 28px; }
  .studio-intro .h2 { max-width: 18ch; }
  .studio-copy { grid-template-columns: repeat(2, 1fr); }
  .digital-grid { grid-template-columns: 1fr; gap: 36px; }
  .analytics-card { max-width: 620px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-copy .lead { max-width: 58ch; }
  .contact-title { max-width: 16ch; }
  .form-card { max-width: 680px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 64px); padding-bottom: 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { font-size: clamp(40px, 8.6vw, 68px); }
  .hero-lead { max-width: 62ch; }
  .hero-visual { max-width: 520px; width: 100%; }
  .hero-scroll { display: none; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principles { grid-template-columns: 1fr; gap: 26px; }
  .principle { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
  .principle-num { margin: 4px 0 0; grid-row: 1 / 3; }
  .principle h3 { margin-bottom: 6px; }
  .principle p { max-width: 58ch; }
  .direction { grid-template-columns: 38px minmax(0, 1fr); gap: 14px 18px; }
  .d-title { max-width: none; }
  .d-desc { grid-column: 2; }
  .d-tags { grid-column: 2; }
  .gov-callout { grid-template-columns: 1fr; }
  .gov-side { margin-top: 4px; }
  .also-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guarantees { grid-template-columns: 1fr; }
  .guarantee { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; }
  .guarantee-value { margin-bottom: 0; }
  .guarantee p { max-width: 48ch; }
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; row-gap: 32px; }
  .step { grid-template-columns: 38px minmax(0, 1fr); }
  .step-meta { grid-column: 2; padding-top: 0; text-align: left; }
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .section-head .h2 { max-width: 20ch; }
  .section-intro { max-width: 56ch; }
  .process-aside .h2 { max-width: 16ch; }
  .footer-wordmark { font-size: clamp(90px, 24vw, 220px); }
}

@media (max-width: 720px) {
  .field input,
  .field textarea { font-size: 16px; }
  .positioning-copy { grid-template-columns: 1fr; gap: 18px; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; }
  .gov-callout { padding: 26px 22px; }
  .also-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .also-grid { grid-template-columns: 1fr; }
  .studio-copy { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry { min-height: 0; }
  .industry-clients { margin-top: 8px; padding-top: 20px; }
  .guarantee { grid-template-columns: 1fr; gap: 10px; }
  .contact-list li { grid-template-columns: 80px minmax(0, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-wordmark { font-size: clamp(70px, 23vw, 180px); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-legal { flex-wrap: wrap; gap: 14px; }
  .stack-flow { row-gap: 10px; }
  .stack-flow i { width: 12px; }
}

@media (max-width: 540px) {
  .container,
  .hero-inner { width: calc(100% - 36px); }
  .hero-title { font-size: clamp(36px, 10.8vw, 50px); }
  .hero-title .line { padding-bottom: 0.1em; margin-bottom: -0.1em; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .hero-facts b { font-size: 26px; }
  .hero-facts span { font-size: 8px; }
  .section { padding-block: 68px; }
  .display { font-size: clamp(30px, 8.8vw, 40px); }
  .h2 { font-size: clamp(28px, 8.2vw, 38px); }
  .direction { padding: 22px 0 24px; }
  .d-title { font-size: 22px; }
  .d-desc { font-size: 13.5px; }
  .gov-tags { gap: 6px; }
  .system { padding: 11px; }
  .system-stage { margin: 7px 0; }
  .sys-node { padding: 4px 5px; }
  .n-name { font-size: 8px; }
  .n5 { left: -2%; }
  .n2 { right: -2%; }
  .guarantees { margin-top: 44px; }
  .step-body p { font-size: 13px; }
  .form-card { padding: 22px 18px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .contact-label { font-size: 8px; }
  .trust-row { grid-template-columns: 1fr; }
  .nda-note { font-size: 12px; }
  .footer-wordmark { letter-spacing: -0.08em; }
}

/* ============================================================
   Motion preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal],
  .hero-eyebrow,
  .hero-lead,
  .hero-actions,
  .hero-facts,
  .hero-visual { opacity: 1 !important; transform: none !important; }
  .hero-title .line > span { transform: none !important; }
  .ticker { overflow-x: auto; }
  .ticker-track { animation: none; }
  .analytics-card .attr-row i::before { width: var(--w); }
}

/* ---------- 404 ---------- */
.error-lead {
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.65;
  color: #5e5a51;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 34px;
}
