/* STROPK.AI review build
   01 Precision Studio · 02 Blueprint Atelier · 03 Obsidian Command */

:root {
  --font-sans: "Manrope", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --header-h: 78px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-smooth: cubic-bezier(.65, 0, .35, 1);
}

html[data-style="precision"] {
  --bg: #f5f6f8;
  --bg-rgb: 245, 246, 248;
  --surface: #ffffff;
  --surface-2: #edf0f4;
  --surface-3: #e3e8ef;
  --ink: #0b0e12;
  --ink-rgb: 11, 14, 18;
  --muted: #626a75;
  --muted-2: #8d949e;
  --line: rgba(11, 14, 18, .13);
  --line-strong: rgba(11, 14, 18, .28);
  --accent: #155eef;
  --accent-rgb: 21, 94, 239;
  --accent-ink: #ffffff;
  --accent-soft: #e6eeff;
  --live: #9bdc43;
  --danger: #d94835;
  --grid-size: 56px;
  --radius: 20px;
  --radius-small: 12px;
  --shadow: 0 24px 70px rgba(12, 21, 36, .10);
  color-scheme: light;
}

html[data-style="editorial"] {
  --bg: #f4f0e8;
  --bg-rgb: 244, 240, 232;
  --surface: #fffdf8;
  --surface-2: #ebe6dc;
  --surface-3: #ded8cc;
  --ink: #171c21;
  --ink-rgb: 23, 28, 33;
  --muted: #626970;
  --muted-2: #8d918f;
  --line: rgba(23, 28, 33, .16);
  --line-strong: rgba(23, 28, 33, .42);
  --accent: #175cd3;
  --accent-rgb: 23, 92, 211;
  --accent-ink: #fffdf8;
  --accent-soft: #dce7f8;
  --live: #e05a3f;
  --danger: #b94732;
  --grid-size: 32px;
  --radius: 0px;
  --radius-small: 0px;
  --shadow: none;
  color-scheme: light;
}

html[data-style="command"] {
  --bg: #080b10;
  --bg-rgb: 8, 11, 16;
  --surface: #101620;
  --surface-2: #151d29;
  --surface-3: #1d2735;
  --ink: #e9edf3;
  --ink-rgb: 233, 237, 243;
  --muted: #98a4b6;
  --muted-2: #657287;
  --line: rgba(169, 190, 218, .14);
  --line-strong: rgba(169, 190, 218, .32);
  --accent: #2d8cff;
  --accent-rgb: 45, 140, 255;
  --accent-ink: #06101d;
  --accent-soft: #132b49;
  --live: #c9ff68;
  --danger: #ff7d66;
  --grid-size: 48px;
  --radius: 8px;
  --radius-small: 5px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .42);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .45s var(--ease-smooth), color .35s ease;
}
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.wrap { width: min(var(--wrap), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed; z-index: 1000; left: 18px; top: 12px; padding: 11px 16px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-grid {
  position: fixed; z-index: -2; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  opacity: .42;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.78) 62%, transparent 100%);
}
.cursor-glow {
  position: fixed; z-index: -1; left: var(--cursor-x, 50%); top: var(--cursor-y, 32%);
  width: 560px; height: 560px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .12), transparent 68%);
  transform: translate(-50%, -50%); opacity: .8;
}
html[data-style="editorial"] .site-grid {
  opacity: .54;
  background-image:
    linear-gradient(to right, rgba(23,92,211,.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23,92,211,.13) 1px, transparent 1px);
}
html[data-style="editorial"] .site-grid::after {
  content: "A 01        B 02        C 03        D 04";
  position: absolute; top: 110px; left: var(--gutter); right: var(--gutter);
  color: rgba(var(--accent-rgb), .32); font: 10px/1 var(--font-mono); letter-spacing: .22em;
  word-spacing: 10vw;
}
html[data-style="command"] .site-grid {
  opacity: .62;
  background-image:
    linear-gradient(to right, rgba(89,142,199,.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(89,142,199,.11) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 16%, #000, rgba(0,0,0,.5) 62%, transparent 100%);
}
html[data-style="command"] .cursor-glow { opacity: 1; background: radial-gradient(circle, rgba(var(--accent-rgb), .16), transparent 64%); }

/* Header */
.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: height .28s ease, background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.site-header.is-scrolled {
  height: 68px; border-color: var(--line);
  background: rgba(var(--bg-rgb), .88); backdrop-filter: blur(18px) saturate(135%);
}
.header-inner {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2))); height: 100%; margin-inline: auto;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: #080b10; border-radius: 50%; overflow: hidden;
}
.brand-mark img { width: 34px; height: 34px; object-fit: cover; }
.brand-name { font-size: 16px; line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.brand-name span { color: var(--accent); }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.desktop-nav a {
  padding: 9px 12px; color: var(--muted); font-size: 13px; font-weight: 650;
  text-decoration: none; transition: color .18s ease;
}
.desktop-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 21px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 99; inset: var(--header-h) 0 0; padding: 32px var(--gutter); background: var(--bg); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu > a:not(.button) { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 26px; font-weight: 700; text-decoration: none; }
.mobile-menu .button { margin-top: 30px; width: 100%; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 99px; text-decoration: none; cursor: pointer;
  font-size: 12px; line-height: 1.2; font-weight: 750; letter-spacing: .055em; text-transform: uppercase;
  transition: transform .2s var(--ease-out), color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px rgba(var(--accent-rgb), .18); }
.button-primary:hover { box-shadow: 0 15px 32px rgba(var(--accent-rgb), .26); }
.button-secondary { border-color: var(--line-strong); background: rgba(var(--bg-rgb), .54); color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: var(--surface); }
.button-small { min-height: 40px; padding: 0 18px; background: var(--ink); color: var(--bg); font-size: 10px; }
.call-pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.call-pulse::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--live); border-radius: 50%; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { opacity: 0; transform: scale(.5); } 28% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }

/* Shared type and sections */
.section { position: relative; padding: clamp(100px, 12vw, 174px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { max-width: 960px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-heading h2 {
  margin: 0; max-width: 900px; font-size: clamp(40px, 5.3vw, 76px); line-height: .99;
  letter-spacing: -.055em; text-wrap: balance;
}
.section-heading > p:not(.section-index), .split-heading > p { max-width: 600px; margin: 24px 0 0; color: var(--muted); font-size: clamp(16px, 1.55vw, 19px); line-height: 1.7; }
.section-index, .micro-label, .form-eyebrow {
  margin: 0 0 22px; color: var(--accent); font: 500 10px/1.2 var(--font-mono);
  letter-spacing: .17em; text-transform: uppercase;
}
.split-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 8vw; max-width: none; align-items: end; }
.split-heading > p { margin: 0 0 3px; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
.js .reveal.in-view { opacity: 1; transform: translateY(0); }

/* Hero */
.hero { position: relative; padding: calc(var(--header-h) + 78px) 0 58px; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); gap: clamp(54px, 7vw, 110px); align-items: center; min-height: calc(100svh - 245px); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 28px;
  color: var(--muted); font: 500 10px/1.4 var(--font-mono); letter-spacing: .105em; text-transform: uppercase;
}
.live-dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .08); }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(58px, 7.5vw, 108px); line-height: .88; letter-spacing: -.075em; text-wrap: balance; }
.hero h1 span { color: var(--accent); }
.hero-lede { max-width: 640px; margin: 34px 0 0; color: var(--muted); font-size: clamp(17px, 1.65vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-footnote { display: flex; flex-wrap: wrap; gap: 13px 24px; margin-top: 30px; color: var(--muted-2); font: 500 10px/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.hero-footnote span { display: inline-flex; align-items: center; gap: 8px; }
.hero-footnote span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.hero-system { position: relative; perspective: 1200px; }
.system-window {
  position: relative; z-index: 2; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: rgba(var(--bg-rgb), .77); box-shadow: var(--shadow); backdrop-filter: blur(18px);
}
.window-bar { min-height: 54px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.window-title { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; }
.status-light { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 16px var(--live); }
.window-state { color: var(--accent); font: 500 9px/1 var(--font-mono); letter-spacing: .1em; }
.goal-block { padding: 22px 22px 24px; border-bottom: 1px solid var(--line); background: rgba(var(--accent-rgb), .045); }
.goal-block .micro-label { margin-bottom: 10px; color: var(--muted-2); }
.goal-block p { margin: 0; min-height: 28px; font: 500 13px/1.6 var(--font-mono); letter-spacing: -.025em; }
.prompt { margin-right: 9px; color: var(--accent); }
.caret { display: inline-block; width: 6px; height: 15px; margin-left: 3px; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.operation-flow { position: relative; padding: 10px 0; }
.flow-line { position: absolute; left: 38px; top: 46px; bottom: 46px; width: 1px; background: linear-gradient(var(--accent), var(--line-strong)); }
.flow-node { position: relative; z-index: 1; min-height: 68px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 9px 20px; }
.flow-node + .flow-node { border-top: 1px solid var(--line); }
.node-id { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--bg); color: var(--muted); font: 500 9px/1 var(--font-mono); }
.flow-node.is-live .node-id { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.flow-node div { display: grid; gap: 2px; }
.flow-node b { font-size: 12px; }
.flow-node small { color: var(--muted); font: 400 9px/1.4 var(--font-mono); }
.flow-node > i { color: var(--muted-2); font: normal 500 8px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.flow-node.is-live > i { color: var(--accent); }
.system-footer { min-height: 44px; padding: 0 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted-2); font: 400 8px/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.system-footer span:first-child { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.system-footer i { width: 5px; height: 5px; border-radius: 50%; background: var(--live); }
.orbit-card { position: absolute; z-index: 4; padding: 11px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius-small); background: var(--surface); box-shadow: 0 14px 30px rgba(0,0,0,.1); animation: float 5s ease-in-out infinite; }
.orbit-card span { display: block; color: var(--accent); font: 500 7px/1 var(--font-mono); letter-spacing: .14em; }
.orbit-card b { display: block; margin-top: 6px; font-size: 10px; }
.orbit-card-one { top: 20%; right: -34px; }
.orbit-card-two { left: -42px; bottom: 18%; animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.client-ribbon { margin-top: 46px; padding-top: 25px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.ribbon-label { color: var(--muted-2); font: 500 9px/1 var(--font-mono); letter-spacing: .13em; text-transform: uppercase; }
.ribbon-track { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 11px; font-weight: 700; }
.ribbon-track i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }

/* Model */
.operating-model { background: rgba(var(--bg-rgb), .64); }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.model-step { position: relative; min-height: 340px; padding: 28px 26px 32px; }
.model-step + .model-step { border-left: 1px solid var(--line); }
.model-step > span { color: var(--muted-2); font: 500 9px/1 var(--font-mono); }
.step-icon { margin: 62px 0 28px; color: var(--accent); font: 400 38px/1 var(--font-serif); }
.model-step h3 { margin: 0 0 14px; font-size: 17px; letter-spacing: -.025em; }
.model-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.model-step::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--accent); transition: width .4s var(--ease-out); }
.model-step:hover::after { width: 100%; }

/* System cards */
.systems { overflow: hidden; }
.systems-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.system-card {
  position: relative; min-height: 390px; padding: 28px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(var(--bg-rgb), .72);
  transition: transform .3s var(--ease-out), border-color .3s ease, background-color .3s ease;
}
.system-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--surface); }
.system-card-wide { grid-column: span 2; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-number { color: var(--muted-2); font: 500 9px/1 var(--font-mono); }
.card-signal { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.system-card:hover .card-signal { background: var(--live); box-shadow: 0 0 12px var(--live); }
.system-card h3 { position: relative; z-index: 2; margin: 34px 0 12px; font-size: clamp(22px, 2vw, 30px); line-height: 1.05; letter-spacing: -.045em; }
.system-card p { position: relative; z-index: 2; max-width: 570px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.tag-row, .work-tags { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row span, .work-tags span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font: 500 8px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.card-icon { height: 104px; margin-top: 30px; }
.rag-icon { display: grid; grid-template-columns: repeat(4, 58px); gap: 8px; align-items: end; }
.rag-icon span { position: relative; height: 76px; border: 1px solid var(--line-strong); background: var(--surface); }
.rag-icon span::before { content: ""; position: absolute; inset: 10px; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 8px); }
.rag-icon span:nth-child(2) { height: 94px; transform: translateY(-8px); background: var(--accent-soft); }
.rag-icon span:nth-child(3) { height: 64px; }
.rag-icon span:nth-child(4) { height: 84px; transform: translateY(-3px); }
.voice-icon { display: flex; align-items: center; gap: 7px; }
.voice-icon i { display: block; width: 4px; height: 30px; border-radius: 99px; background: var(--accent); animation: waveform 1.4s ease-in-out infinite alternate; }
.voice-icon i:nth-child(2) { height: 70px; animation-delay: -.4s; }
.voice-icon i:nth-child(3) { height: 98px; animation-delay: -.8s; }
.voice-icon i:nth-child(4) { height: 56px; animation-delay: -.2s; }
.voice-icon i:nth-child(5) { height: 24px; animation-delay: -.7s; }
@keyframes waveform { to { transform: scaleY(.38); } }
.agent-icon { display: flex; align-items: center; gap: 10px; }
.agent-icon span { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); font: 500 10px/1 var(--font-mono); }
.agent-icon b { color: var(--muted-2); font-weight: 400; }
.sms-icon { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sms-icon span { max-width: 170px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 12px 12px 12px 2px; background: var(--surface); color: var(--muted); font: 400 8px/1.3 var(--font-mono); }
.sms-icon span:last-child { margin-left: 30px; border-radius: 12px 12px 2px 12px; background: var(--accent); color: var(--accent-ink); }
.portal-preview { position: absolute; right: 24px; top: 68px; width: 47%; height: 174px; display: grid; grid-template-columns: 48px 1fr; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-small); background: var(--surface); transform: rotate(1.5deg); }
.portal-rail { padding: 14px 12px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 13px; }
.portal-rail i { height: 4px; border-radius: 4px; background: var(--surface-3); }
.portal-rail i:first-child { background: var(--accent); }
.portal-main { padding: 16px; }
.portal-main > span { display: block; width: 45%; height: 7px; margin-bottom: 18px; background: var(--ink); opacity: .7; }
.portal-main > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.portal-main b { height: 54px; border: 1px solid var(--line); background: var(--surface-2); }
.portal-main p { width: 100%; height: 4px; margin: 14px 0 0; background: var(--surface-3); }
.system-card-wide .portal-preview ~ h3, .system-card-wide .portal-preview ~ p { max-width: 45%; }
.managed-card { background: var(--ink); color: var(--bg); }
.managed-card p { color: rgba(var(--bg-rgb), .66); }
.managed-card .card-number { color: rgba(var(--bg-rgb), .5); }
.managed-card .managed-word { margin-top: 40px; color: transparent; -webkit-text-stroke: 1px rgba(var(--bg-rgb), .38); font-size: clamp(42px, 5vw, 74px); line-height: .85; font-weight: 800; letter-spacing: -.08em; }
.managed-card .tag-row span { border-color: rgba(var(--bg-rgb), .2); color: rgba(var(--bg-rgb), .65); }

/* Proof and work */
.work { background: var(--surface-2); }
.featured-proof { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.proof-media { position: relative; min-height: 500px; background: #0b0e12; }
.proof-media video { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.proof-media > span { position: absolute; left: 18px; bottom: 16px; padding: 7px 10px; background: rgba(8,11,16,.82); color: #fff; font: 500 8px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.proof-quote { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5.2vw, 76px); }
.proof-label { margin: 0 0 30px; color: var(--accent); font: 500 9px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em; }
.proof-quote blockquote { margin: 0; font-size: clamp(27px, 3.1vw, 45px); line-height: 1.13; letter-spacing: -.045em; }
.proof-quote blockquote em { color: var(--accent); font-style: normal; }
.quote-context { margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 38px; background: var(--line); border: 1px solid var(--line); }
.proof-stats div { padding: 18px; background: var(--surface); }
.proof-stats b { display: block; font-size: 25px; line-height: 1; letter-spacing: -.05em; }
.proof-stats span { display: block; margin-top: 7px; color: var(--muted); font: 400 8px/1.35 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.proof-quote > small { margin-top: 12px; color: var(--muted-2); font-size: 9px; }
.rvb-proof { display: grid; grid-template-columns: 180px 1fr auto; gap: 38px; align-items: center; margin-top: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(var(--bg-rgb), .58); }
.rvb-proof .proof-label { margin: 0; }
.rvb-proof blockquote { margin: 0; max-width: 720px; font-size: clamp(18px, 2vw, 26px); line-height: 1.35; letter-spacing: -.035em; }
.rvb-proof > span { color: var(--muted-2); font: 400 8px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; text-align: right; }
.work-list { margin-top: 32px; border-top: 1px solid var(--line-strong); }
.work-item { position: relative; display: grid; grid-template-columns: 56px 1.05fr 1.5fr .85fr; gap: 28px; align-items: start; min-height: 176px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.work-id { color: var(--muted-2); font: 500 9px/1 var(--font-mono); }
.work-title h3 { margin: 10px 0 0; font-size: 20px; line-height: 1.12; letter-spacing: -.035em; }
.work-status { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font: 500 8px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.work-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); }
.work-status.live::before { background: var(--live); }
.work-status.building::before { background: var(--accent); animation: pulseDot 1.8s ease-in-out infinite; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12); } }
.work-item > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.work-tags { position: static; justify-content: flex-end; }
.work-tags span { white-space: nowrap; }

/* Audits */
.audit-ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.audit-card { position: relative; min-height: 310px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .22s ease; }
.audit-card:hover { background: var(--surface); }
.audit-id { color: var(--muted-2); font: 500 9px/1 var(--font-mono); }
.audit-sector { position: absolute; right: 24px; top: 25px; color: var(--accent); font: 500 8px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.audit-card h3 { margin: 68px 0 14px; max-width: 90%; font-size: 23px; line-height: 1.05; letter-spacing: -.04em; }
.audit-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.audit-card a { position: absolute; left: 26px; bottom: 24px; color: var(--muted-2); font: 400 9px/1 var(--font-mono); text-decoration: none; transition: color .18s ease; }
.audit-card a:hover { color: var(--accent); }

/* Contact and form */
.contact { padding-bottom: clamp(70px, 8vw, 110px); }
.contact-shell { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: clamp(60px, 9vw, 140px); align-items: center; padding: clamp(42px, 6vw, 84px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.contact-copy .section-index { color: var(--live); }
.contact-copy h2 { margin: 0; font-size: clamp(46px, 5.8vw, 82px); line-height: .91; letter-spacing: -.065em; }
.contact-copy h2 span { color: var(--live); }
.contact-copy > p:not(.section-index) { max-width: 570px; margin: 28px 0 0; color: rgba(var(--bg-rgb), .67); font-size: 15px; line-height: 1.7; }
.contact-path { margin-top: 42px; border-top: 1px solid rgba(var(--bg-rgb), .18); }
.contact-path > div { display: grid; grid-template-columns: 35px 1fr; gap: 14px; align-items: start; padding: 15px 0; border-bottom: 1px solid rgba(var(--bg-rgb), .13); }
.contact-path > div > span { color: rgba(var(--bg-rgb), .45); font: 500 8px/1.6 var(--font-mono); }
.contact-path p { display: grid; gap: 2px; margin: 0; }
.contact-path b { font-size: 11px; }
.contact-path small { color: rgba(var(--bg-rgb), .52); font-size: 10px; }
.ai-callback-note { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; margin-top: 28px; }
.ai-avatar { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(var(--bg-rgb), .2); border-radius: 50%; background: #080b10; }
.ai-avatar img { width: 38px; height: 38px; }
.ai-avatar i { position: absolute; right: 0; bottom: 2px; width: 8px; height: 8px; border: 2px solid var(--ink); border-radius: 50%; background: var(--live); }
.ai-callback-note b { display: block; font-size: 11px; }
.ai-callback-note p { margin: 4px 0 0; color: rgba(var(--bg-rgb), .52); font-size: 10px; line-height: 1.55; }
.ask-card { min-height: 550px; padding: clamp(28px, 4vw, 46px); border-radius: calc(var(--radius) * .72); background: var(--bg); color: var(--ink); }
.ask-open { min-height: 455px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.ask-open h3, .ask-intro h3 { margin: 0; font-size: clamp(31px, 3.2vw, 44px); line-height: 1.02; letter-spacing: -.055em; }
.ask-open > p:not(.form-eyebrow), .ask-intro > p:not(.form-eyebrow) { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.ask-open .button { margin-top: 32px; }
.form-assurances { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 26px; color: var(--muted-2); font: 500 8px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.form-assurances span { display: inline-flex; align-items: center; gap: 6px; }
.form-assurances span::before { content: "✓"; color: var(--accent); }
.ask-form { display: grid; gap: 19px; scroll-margin-top: 92px; }
.ask-intro { margin-bottom: 5px; }
.ask-intro h3 { font-size: clamp(28px, 3vw, 38px); }
.ask-field { display: grid; gap: 8px; }
.ask-field label { font-size: 10px; font-weight: 700; }
.ask-field label > span { color: var(--muted-2); font-size: 9px; font-weight: 500; }
.ask-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ask-input { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius-small); outline: none; background: var(--surface); color: var(--ink); font-size: 13px; resize: vertical; transition: border-color .18s ease, box-shadow .18s ease; }
.ask-input::placeholder { color: var(--muted-2); }
.ask-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .1); }
textarea.ask-input { min-height: 82px; }
.ask-select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.ask-field-note { color: var(--muted-2); font-size: 8.5px; line-height: 1.55; }
.ask-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ask-toggle { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 99px; }
.ask-tab { min-height: 27px; padding: 0 10px; border: 0; border-radius: 99px; background: transparent; color: var(--muted); cursor: pointer; font: 500 8px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.ask-tab.is-on { background: var(--ink); color: var(--bg); }
.ask-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ask-consent { display: grid; grid-template-columns: 17px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 9.5px; line-height: 1.55; cursor: pointer; }
.ask-consent input { position: absolute; opacity: 0; pointer-events: none; }
.ask-check { position: relative; width: 17px; height: 17px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); }
.ask-consent input:checked + .ask-check { border-color: var(--accent); background: var(--accent); }
.ask-consent input:checked + .ask-check::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent-ink); font-size: 11px; }
.ask-consent input:focus-visible + .ask-check { outline: 3px solid var(--accent); outline-offset: 3px; }
.ask-submit { width: 100%; }
.ask-submit:disabled { opacity: .55; cursor: wait; }
.ask-msg { margin: 0; padding: 16px; border: 1px solid var(--line); font-size: 12px; }
.ask-msg.ok { border-color: var(--live); }
.ask-msg.bad { border-color: var(--danger); }

/* Footer */
.site-footer { padding: 56px 0 36px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-grid > p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.footer-links, .footer-meta { display: grid; gap: 8px; }
.footer-links a, .footer-meta span { color: var(--muted); font: 400 9px/1.4 var(--font-mono); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-meta { text-align: right; }
.mobile-cta { display: none; }

/* Direction 02 · Blueprint Atelier */
html[data-style="editorial"] .site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
html[data-style="editorial"] .brand-mark,
html[data-style="editorial"] .button,
html[data-style="editorial"] .tag-row span,
html[data-style="editorial"] .work-tags span,
html[data-style="editorial"] .ask-toggle,
html[data-style="editorial"] .ask-tab,
html[data-style="editorial"] .ask-check { border-radius: 0; }
html[data-style="editorial"] .button-primary { box-shadow: 5px 5px 0 var(--ink); }
html[data-style="editorial"] .button-primary:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
html[data-style="editorial"] .hero-grid { grid-template-columns: minmax(390px, .82fr) minmax(0, 1.18fr); }
html[data-style="editorial"] .hero-copy { order: 2; }
html[data-style="editorial"] .hero-system { order: 1; }
html[data-style="editorial"] .hero h1,
html[data-style="editorial"] .section-heading h2,
html[data-style="editorial"] .proof-quote blockquote,
html[data-style="editorial"] .contact-copy h2,
html[data-style="editorial"] .ask-open h3,
html[data-style="editorial"] .ask-intro h3 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.035em; }
html[data-style="editorial"] .hero h1 { font-size: clamp(68px, 8.4vw, 124px); line-height: .83; }
html[data-style="editorial"] .hero h1 span { font-style: italic; color: var(--accent); }
html[data-style="editorial"] .system-window { border-width: 1px; transform: rotate(-1.2deg); background: rgba(255,253,248,.87); }
html[data-style="editorial"] .system-window::before,
html[data-style="editorial"] .system-window::after { content: "+"; position: absolute; z-index: 4; color: var(--live); font: 500 17px/1 var(--font-mono); }
html[data-style="editorial"] .system-window::before { left: -1px; top: -1px; transform: translate(-50%,-50%); }
html[data-style="editorial"] .system-window::after { right: -1px; bottom: -1px; transform: translate(50%,50%); }
html[data-style="editorial"] .orbit-card { display: none; }
html[data-style="editorial"] .client-ribbon { border-top-color: var(--line-strong); }
html[data-style="editorial"] .section-heading h2 { line-height: .94; }
html[data-style="editorial"] .model-grid { counter-reset: model; }
html[data-style="editorial"] .model-step { min-height: 360px; padding-top: 24px; }
html[data-style="editorial"] .step-icon { font-family: var(--font-mono); font-size: 28px; }
html[data-style="editorial"] .systems-grid { gap: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
html[data-style="editorial"] .system-card { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,253,248,.45); }
html[data-style="editorial"] .system-card:hover { transform: none; background: var(--surface); }
html[data-style="editorial"] .featured-proof { border-color: var(--ink); }
html[data-style="editorial"] .proof-quote blockquote { font-size: clamp(33px, 4vw, 56px); }
html[data-style="editorial"] .work-item { grid-template-columns: 56px 1.1fr 1.6fr .8fr; }
html[data-style="editorial"] .audit-ledger { grid-template-columns: 1fr; border-left: 0; }
html[data-style="editorial"] .audit-card { display: grid; grid-template-columns: 52px minmax(130px,.55fr) minmax(220px,.75fr) minmax(320px,1.5fr) auto; gap: 24px; align-items: center; min-height: 112px; padding: 20px 0; border-right: 0; }
html[data-style="editorial"] .audit-sector { position: static; }
html[data-style="editorial"] .audit-card h3 { margin: 0; max-width: none; font-family: var(--font-serif); font-size: 27px; font-weight: 400; }
html[data-style="editorial"] .audit-card p { margin: 0; }
html[data-style="editorial"] .audit-card a { position: static; text-align: right; white-space: nowrap; }
html[data-style="editorial"] .contact-shell { border-color: var(--ink); }

/* Direction 03 · Obsidian Command */
html[data-style="command"] .site-header.is-scrolled { background: rgba(8,11,16,.88); box-shadow: 0 12px 40px rgba(0,0,0,.22); }
html[data-style="command"] .brand-mark { border: 1px solid rgba(45,140,255,.35); box-shadow: 0 0 24px rgba(45,140,255,.18); }
html[data-style="command"] .button-small { background: var(--accent); color: var(--accent-ink); }
html[data-style="command"] .hero { padding-top: calc(var(--header-h) + 48px); }
html[data-style="command"] .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr); gap: clamp(48px, 5vw, 76px); }
html[data-style="command"] .hero h1 { font-size: clamp(54px, 6vw, 86px); }
html[data-style="command"] .system-window { background: rgba(12,17,25,.82); box-shadow: 0 0 0 1px rgba(45,140,255,.05), 0 28px 90px rgba(0,0,0,.5); }
html[data-style="command"] .goal-block { background: rgba(45,140,255,.06); }
html[data-style="command"] .node-id { background: #0b1018; }
html[data-style="command"] .client-ribbon { color: var(--muted); }
html[data-style="command"] .operating-model { background: rgba(10,15,23,.66); }
html[data-style="command"] .model-step:hover { background: rgba(45,140,255,.04); }
html[data-style="command"] .systems-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html[data-style="command"] .system-card { background: rgba(14,20,30,.82); }
html[data-style="command"] .system-card:hover { background: var(--surface-2); box-shadow: 0 18px 60px rgba(0,0,0,.28); }
html[data-style="command"] .rag-icon span,
html[data-style="command"] .sms-icon span,
html[data-style="command"] .portal-preview { background: #0d141e; }
html[data-style="command"] .managed-card { background: var(--accent); color: var(--accent-ink); }
html[data-style="command"] .managed-card p { color: rgba(5,15,28,.66); }
html[data-style="command"] .managed-card .managed-word { -webkit-text-stroke-color: rgba(5,15,28,.36); }
html[data-style="command"] .managed-card .tag-row span { border-color: rgba(5,15,28,.2); color: rgba(5,15,28,.7); }
html[data-style="command"] .work { background: #0c1119; }
html[data-style="command"] .featured-proof { background: var(--surface); }
html[data-style="command"] .audit-card:hover { background: rgba(45,140,255,.045); }
html[data-style="command"] .contact-shell { background: var(--surface); color: var(--ink); border-color: rgba(45,140,255,.4); box-shadow: 0 0 80px rgba(45,140,255,.1); }
html[data-style="command"] .contact-copy h2 span,
html[data-style="command"] .contact-copy .section-index { color: var(--live); }
html[data-style="command"] .contact-copy > p:not(.section-index),
html[data-style="command"] .contact-path small,
html[data-style="command"] .ai-callback-note p { color: var(--muted); }
html[data-style="command"] .contact-path { border-top-color: var(--line); }
html[data-style="command"] .contact-path > div { border-bottom-color: var(--line); }
html[data-style="command"] .ask-card { background: #090d13; border: 1px solid var(--line-strong); }
html[data-style="command"] .ask-input { background: #101721; }
html[data-style="command"] .site-footer { background: #070a0f; }

/* Mobile */
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .hero-grid,
  html[data-style="editorial"] .hero-grid,
  html[data-style="command"] .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr); gap: 46px; }
  html[data-style="editorial"] .hero-copy { order: 1; }
  html[data-style="editorial"] .hero-system { order: 2; }
  .hero h1, html[data-style="editorial"] .hero h1 { font-size: clamp(60px, 9vw, 92px); }
  .systems-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-card-wide { grid-column: span 2; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .model-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .model-step:nth-child(4) { border-top: 1px solid var(--line); }
  .work-item { grid-template-columns: 42px 1fr 1.35fr; }
  .work-tags { grid-column: 2 / -1; justify-content: flex-start; }
  .audit-ledger { grid-template-columns: repeat(2, 1fr); }
  html[data-style="editorial"] .audit-card { grid-template-columns: 42px .5fr .8fr 1.4fr; }
  html[data-style="editorial"] .audit-card a { display: none; }
  .contact-shell { grid-template-columns: 1fr 1fr; gap: 48px; padding: 46px; }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; --gutter: 20px; }
  .site-header, .site-header.is-scrolled { height: var(--header-h); background: rgba(var(--bg-rgb), .91); border-color: var(--line); backdrop-filter: blur(18px); }
  .header-inner { gap: 10px; }
  .header-cta { display: none; }
  .header-actions { margin-left: auto; gap: 3px; }
  .menu-toggle { display: block; }
  .hero { padding-top: calc(var(--header-h) + 54px); padding-bottom: 46px; min-height: auto; }
  .hero-grid,
  html[data-style="editorial"] .hero-grid,
  html[data-style="command"] .hero-grid { grid-template-columns: 1fr; gap: 58px; min-height: 0; }
  .hero-copy, html[data-style="editorial"] .hero-copy { order: 1; }
  .hero-system, html[data-style="editorial"] .hero-system { order: 2; }
  .hero-kicker { max-width: 310px; margin-bottom: 22px; font-size: 8px; }
  .hero h1,
  html[data-style="editorial"] .hero h1,
  html[data-style="command"] .hero h1 { max-width: 640px; font-size: clamp(52px, 16vw, 78px); line-height: .89; }
  .hero-lede { margin-top: 26px; font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-footnote { gap: 9px 14px; font-size: 8px; }
  .hero-system { width: min(100%, 560px); margin-inline: auto; }
  .orbit-card { display: none; }
  .client-ribbon { grid-template-columns: 1fr; gap: 18px; margin-top: 56px; overflow: hidden; }
  .ribbon-track { width: max-content; justify-content: flex-start; gap: 20px; animation: ribbonScroll 24s linear infinite; }
  @keyframes ribbonScroll { to { transform: translateX(-50%); } }
  .section { padding: 94px 0; }
  .section-heading { margin-bottom: 48px; }
  .section-heading h2 { font-size: clamp(40px, 12vw, 58px); }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .split-heading > p { margin: 0; }
  .model-grid { grid-template-columns: 1fr; }
  .model-step { min-height: 250px; padding: 24px 4px 30px; }
  .model-step + .model-step, .model-step:nth-child(3), .model-step:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .step-icon { margin: 38px 0 24px; }
  .systems-grid, html[data-style="command"] .systems-grid { grid-template-columns: 1fr; gap: 12px; border-left: 0; }
  .system-card, html[data-style="editorial"] .system-card { grid-column: auto; min-height: 360px; }
  .system-card, html[data-style="editorial"] .system-card { min-height: 430px; padding-bottom: 82px; }
  html[data-style="editorial"] .system-card { border-left: 1px solid var(--line); }
  .portal-preview { top: 72px; width: 45%; height: 140px; }
  .featured-proof { grid-template-columns: 1fr; }
  .proof-media, .proof-media video { min-height: 380px; }
  .proof-quote { padding: 34px 24px; }
  .rvb-proof { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .rvb-proof > span { text-align: left; }
  .proof-stats div { padding: 13px; }
  .proof-stats b { font-size: 22px; }
  .work-item { grid-template-columns: 36px 1fr; gap: 16px; }
  .work-item > p, .work-tags { grid-column: 2; }
  .work-tags { justify-content: flex-start; }
  .audit-ledger, html[data-style="editorial"] .audit-ledger { grid-template-columns: 1fr; border-left: 1px solid var(--line); }
  .audit-card, html[data-style="editorial"] .audit-card { display: block; min-height: 290px; padding: 24px; border-right: 1px solid var(--line); }
  .audit-sector, html[data-style="editorial"] .audit-sector { position: absolute; right: 22px; top: 24px; }
  .audit-card h3, html[data-style="editorial"] .audit-card h3 { margin: 66px 0 14px; }
  .audit-card a, html[data-style="editorial"] .audit-card a { display: block; position: absolute; left: 24px; bottom: 22px; text-align: left; }
  .contact-shell { width: calc(100% - 20px); grid-template-columns: 1fr; gap: 54px; padding: 42px 20px 20px; }
  .contact-copy h2 { font-size: clamp(48px, 13vw, 72px); }
  .ask-card { min-height: 0; padding: 28px 20px; }
  .ask-open { min-height: 390px; }
  .ask-two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { text-align: left; }
  .mobile-cta { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); display: block; transform: translateY(calc(100% + 24px)); transition: transform .3s var(--ease-out); }
  .mobile-cta.is-visible { transform: translateY(0); }
  .mobile-cta .button { width: 100%; min-height: 50px; box-shadow: 0 12px 34px rgba(0,0,0,.22); }
}

@media (max-width: 520px) {
  .brand-name { font-size: 14px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-mark img { width: 31px; height: 31px; }
  .hero h1,
  html[data-style="editorial"] .hero h1,
  html[data-style="command"] .hero h1 { font-size: clamp(48px, 15.8vw, 68px); }
  .system-footer { align-items: flex-start; flex-direction: column; padding-block: 11px; }
  .portal-preview { position: relative; top: auto; right: auto; width: 100%; height: 130px; margin-top: 26px; }
  .system-card-wide .portal-preview ~ h3,
  .system-card-wide .portal-preview ~ p { max-width: none; }
  .proof-media, .proof-media video { min-height: 320px; }
  .proof-stats { grid-template-columns: 1fr; }
  .proof-stats div { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 12px; }
  .proof-stats span { margin-top: 0; }
  .work-item { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (hover: none) {
  .cursor-glow { display: none; }
}

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

/* Class display declarations appear after the global hidden reset, so guard
   the interactive surfaces explicitly. */
.ask-open[hidden],
.ask-form[hidden],
.ask-consent[hidden],
.ask-msg[hidden],
.mobile-menu[hidden] { display: none !important; }
