/* DeepNeuro Engineering LLC — site styles
   Palette follows the DNE pitch deck: deep navy, signal cyan, amber accent. */

:root {
  --ink: #0b1626;
  --ink-2: #33455c;
  --ink-3: #5d6f86;
  --line: #d9e3ee;
  --paper: #ffffff;
  --paper-2: #f3f7fb;

  --night: #040a16;
  --night-2: #08142a;
  --night-3: #0e1f3d;
  --night-line: rgba(120, 190, 255, 0.16);
  --night-text: #e8f1fb;
  --night-muted: #9db0c8;

  --cyan: #1fc8ea;
  --cyan-deep: #076d96;
  --blue: #0b5fa5;
  --amber: #f3a83b;
  --amber-deep: #975a00;
  --good: #22c38e;
  --bad: #ef5d5d;

  /* per-class colours for the ultrasonic demo */
  --c-good: #22c38e;
  --c-fo: #1fc8ea;
  --c-id: #f3a83b;
  --c-pd: #b784f5;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(8, 22, 45, 0.08);
  --shadow-lg: 0 24px 60px rgba(8, 22, 45, 0.16);

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

  --header-h: 84px;
  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan-deep); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 2000; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(4, 10, 22, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--night-line); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 64px; width: 64px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(31, 200, 234, 0.55), 0 0 22px rgba(31, 200, 234, 0.35); transition: transform .2s, box-shadow .2s; }
.brand:hover img { transform: scale(1.06); box-shadow: 0 0 0 2px var(--cyan), 0 0 30px rgba(31, 200, 234, 0.55); }
.wordmark { font-family: var(--mono); font-size: 1.08rem; font-weight: 600; letter-spacing: 0.02em; color: #fff; line-height: 1.15; display: flex; flex-direction: column; }
.wordmark b { color: var(--cyan); font-weight: 600; display: inline; }
.wordmark small { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: #c7d4e4; text-decoration: none; font-size: 0.92rem; font-weight: 500; white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav a.active { color: var(--cyan); }
.nav .nav-cta { background: var(--cyan); color: #04121f; margin-left: 8px; padding: 9px 16px; font-weight: 650; }
.nav .nav-cta:hover { background: #5fdcf4; color: #04121f; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Shared section styles ──────────────────────────────── */
section { padding: 104px 0; position: relative; }
.dark { background: var(--night); color: var(--night-text); }
.tint { background: var(--paper-2); }
.eyebrow {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-deep);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--cyan); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 750; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; }
.lead { font-size: 1.1rem; color: var(--ink-3); max-width: 680px; }
.dark .lead { color: var(--night-muted); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 650; font-size: 0.97rem; text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: #04121f; box-shadow: 0 8px 26px rgba(31, 200, 234, 0.35); }
.btn-primary:hover { box-shadow: 0 12px 34px rgba(31, 200, 234, 0.5); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(31, 200, 234, 0.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--blue); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: calc(var(--header-h) + 72px) 0 88px;
  background:
    radial-gradient(900px 500px at 78% 40%, rgba(31, 200, 234, 0.13), transparent 60%),
    radial-gradient(600px 420px at 8% 90%, rgba(11, 95, 165, 0.25), transparent 60%),
    var(--night);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 190, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(243, 168, 59, 0.35); background: rgba(243, 168, 59, 0.07);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 26px;
}
.hero-tag .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero h1 .hl { color: var(--cyan); }
.hero p.sub { font-size: 1.15rem; color: var(--night-muted); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 34px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--night-line); flex-wrap: wrap; }
.hero-facts div { font-size: 0.85rem; color: var(--night-muted); }
.hero-facts strong { display: block; font-size: 1.5rem; color: #fff; font-weight: 750; letter-spacing: -0.02em; }

/* live scope card */
.scope {
  background: linear-gradient(160deg, rgba(14, 31, 61, 0.9), rgba(8, 20, 42, 0.9));
  border: 1px solid var(--night-line); border-radius: 18px; padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.scope-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-muted); }
.scope-top .live { color: var(--good); display: inline-flex; align-items: center; gap: 7px; }
.scope-top .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
.scope-ctrl { display: inline-flex; align-items: center; gap: 12px; }
.scope-top .live.is-paused { color: var(--night-muted); }
.scope-top .live.is-paused::before { animation: none; }
.scope-pause { font: inherit; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-text); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--night-line); border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.scope-pause:hover { border-color: var(--cyan); color: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-tag .pulse, .scope-top .live::before { animation: none; } }
.scope canvas { width: 100%; height: 230px; display: block; border-radius: 10px; background: rgba(0, 0, 0, 0.25); }
.scope-readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.scope-readout div { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--night-line); border-radius: 10px; padding: 10px 12px; }
.scope-readout span { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-muted); }
.scope-readout b { font-size: 0.98rem; font-weight: 650; color: #fff; }
.scope-note { margin-top: 12px; font-size: 0.76rem; color: var(--night-muted); }

/* industries strip */
.strip { background: var(--night-2); border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); padding: 18px 0; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--night-muted); }
.strip-inner b { color: #fff; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.strip-inner b svg { color: var(--amber); }

/* ── Challenges ─────────────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c4d4e5; }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: #eaf6fb; color: var(--cyan-deep); margin-bottom: 18px;
}
.card.warn .ico { background: #fff4e3; color: var(--amber-deep); }
.card h3 { margin-bottom: 10px; }
.card p, .card li { color: var(--ink-3); font-size: 0.93rem; }
.card ul { list-style: none; display: grid; gap: 8px; }
.card li { padding-left: 16px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 2px; background: var(--cyan); }

/* ── Solution pipeline ─────────────────────────────────── */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; position: relative; }
.stage {
  text-align: left; background: rgba(255, 255, 255, 0.03); color: var(--night-text);
  border: 1px solid var(--night-line); border-radius: var(--radius); padding: 22px;
  position: relative; transition: border-color .2s, background .2s, transform .2s;
}
.stage:hover { border-color: rgba(31, 200, 234, 0.45); }
.stage[aria-selected="true"] { background: linear-gradient(160deg, rgba(31, 200, 234, 0.16), rgba(11, 95, 165, 0.12)); border-color: var(--cyan); }
.stage .num { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--cyan); }
.stage .verb { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: 0.02em; margin: 6px 0 4px; }
.stage .what { font-size: 0.88rem; color: var(--night-muted); }
.stage:not(:last-child)::after {
  content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); transform: translateY(-50%) rotate(45deg); opacity: .6;
}
.stage-panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px;
  background: var(--night-2); border: 1px solid var(--night-line); border-radius: 18px; padding: 34px;
  min-height: 250px;
}
.stage-panel h3 { font-size: 1.5rem; margin-bottom: 12px; }
.stage-panel p { color: var(--night-muted); margin-bottom: 18px; }
.stage-panel ul { list-style: none; display: grid; gap: 12px; }
.stage-panel li { display: flex; gap: 12px; color: var(--night-text); font-size: 0.95rem; }
.stage-panel li svg { flex: none; color: var(--cyan); margin-top: 3px; }
.stage-panel .proof { border-left: 1px solid var(--night-line); padding-left: 32px; }
.stage-panel .proof .label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.stage-panel .proof a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.stage-panel .proof a:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 0.8rem; padding: 5px 11px; border-radius: 100px; border: 1px solid var(--night-line); color: var(--night-muted); background: rgba(255, 255, 255, 0.02); }

/* ── Projects ───────────────────────────────────────────── */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.tab {
  display: flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--ink-2);
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
}
.tab img { width: 26px; height: 26px; border-radius: 7px; }
.tab .tab-ico { width: 26px; height: 26px; border-radius: 7px; background: #e6f4fa; color: var(--cyan-deep); display: grid; place-items: center; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab[aria-selected="true"] .tab-ico { background: rgba(255, 255, 255, 0.12); color: var(--cyan); }
.tab:not([aria-selected="true"]):hover { background: var(--paper-2); }
.project[hidden] { display: none; }
.project-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; margin-bottom: 44px; }
.project-intro h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.project-intro p { color: var(--ink-3); margin-bottom: 12px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.fact span { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.fact b { font-size: 1rem; font-weight: 650; }
.fact.big b { font-size: 1.6rem; color: var(--blue); letter-spacing: -0.02em; }
.pub { margin-top: 16px; font-size: 0.88rem; color: var(--ink-3); border-left: 3px solid var(--amber); padding: 6px 0 6px 14px; }
.pub i { color: var(--ink); }

.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  box-shadow: var(--shadow); margin-bottom: 28px;
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.panel-head h4 { font-size: 1.15rem; font-weight: 700; }
.panel-head p { color: var(--ink-3); font-size: 0.92rem; max-width: 640px; }
.step-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-deep); margin-bottom: 4px; }

.seg { display: inline-flex; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 7px 13px; border-radius: 7px; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(8, 22, 45, 0.12); }
.seg .sw { width: 9px; height: 9px; border-radius: 50%; }

.specimen { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.specimen figure { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.specimen figure img { margin: 0 auto; max-height: 360px; width: auto; cursor: zoom-in; }
.specimen figure img.pix { image-rendering: pixelated; }
figcaption { font-size: 0.82rem; color: var(--ink-3); margin-top: 10px; text-align: center; }
.specimen-note { margin-top: 16px; font-size: 0.92rem; color: var(--ink-2); background: #f0f8fc; border: 1px solid #d3e9f3; border-radius: 10px; padding: 12px 16px; }
.scan-toggle { display: flex; justify-content: center; margin-top: 10px; }

/* signal lab */
.lab { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.lab-plot { background: var(--night); border-radius: 12px; padding: 14px; position: relative; }
.lab-plot canvas { width: 100%; height: 300px; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 0.8rem; color: var(--night-muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.lab-side h5 { font-size: 0.95rem; margin-bottom: 10px; }
.lab-controls { display: grid; gap: 12px; margin-bottom: 18px; }
.lab-controls .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dist { display: grid; gap: 9px; }
.dist-row { display: grid; grid-template-columns: 118px 1fr 48px; gap: 10px; align-items: center; font-size: 0.85rem; }
.dist-row .bar { height: 10px; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.dist-row .bar i { display: block; height: 100%; border-radius: 6px; transition: width .45s ease; }
.dist-row .val { font-family: var(--mono); font-size: 0.78rem; text-align: right; color: var(--ink-3); }
.dist-row.win { font-weight: 700; }
.verdict { margin-top: 16px; border-radius: 12px; padding: 14px 16px; font-size: 0.95rem; border: 1px solid; }
.verdict.ok { background: #eafaf3; border-color: #bfe9d6; color: #0c6b4b; }
.verdict.no { background: #fdeeee; border-color: #f4c8c8; color: #9b2a2a; }
.verdict b { display: block; font-size: 1.05rem; }
.tally { margin-top: 10px; font-size: 0.82rem; color: var(--ink-3); }

/* classifier comparison */
.clf { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }
.bars { display: grid; gap: 10px; }
.bar-btn {
  display: grid; grid-template-columns: 138px 1fr 70px; gap: 12px; align-items: center;
  background: none; border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; text-align: left; color: var(--ink);
}
.bar-btn:hover { background: var(--paper-2); }
.bar-btn[aria-pressed="true"] { background: #eef7fc; border-color: #cde6f2; }
.bar-btn .name { font-size: 0.9rem; font-weight: 600; }
.bar-btn .track { height: 14px; background: var(--paper-2); border-radius: 7px; position: relative; overflow: hidden; }
.bar-btn .fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 7px; transition: width .6s ease; }
.bar-btn .pct { font-family: var(--mono); font-size: 0.85rem; text-align: right; }
.axis-note { font-size: 0.78rem; color: var(--ink-3); margin: 6px 10px 0; }
.cm { display: grid; grid-template-columns: 90px repeat(4, 1fr); gap: 4px; font-size: 0.8rem; }
.cm .h { font-family: var(--mono); font-size: 0.68rem; color: var(--ink-3); display: flex; align-items: center; justify-content: center; text-align: center; letter-spacing: .04em; }
.cm .h.row { justify-content: flex-end; padding-right: 8px; text-align: right; }
.cm .c { aspect-ratio: 1.35; border-radius: 6px; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; transition: background .3s, color .3s; }
.cm-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.cm-sub { font-size: 0.82rem; color: var(--ink-3); margin-bottom: 14px; }
.cm-axis { font-size: 0.72rem; color: var(--ink-3); text-align: center; margin-top: 8px; font-family: var(--mono); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.gallery figure:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery figure .thumb { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; padding: 10px; border-bottom: 1px solid var(--line); }
.gallery figure img { max-height: 100%; object-fit: contain; }
.gallery figcaption { text-align: left; padding: 12px 14px; margin: 0; }
.gallery figcaption b { display: block; color: var(--ink); font-size: 0.9rem; margin-bottom: 2px; }

/* DIC */
.dic { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start; }
.dic-stage { position: relative; border-radius: 12px; overflow: hidden; background: #111; aspect-ratio: 8 / 5; }
.dic-stage canvas, .dic-stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.dic-stage img { object-fit: cover; filter: grayscale(1) contrast(1.05); }
.dic-stage canvas { cursor: crosshair; }
.probe {
  position: absolute; pointer-events: none; background: rgba(4, 10, 22, 0.88); color: #fff;
  font-family: var(--mono); font-size: 0.74rem; padding: 6px 9px; border-radius: 6px; white-space: nowrap;
  transform: translate(12px, -50%); opacity: 0; transition: opacity .12s;
}
.colorbar { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); }
.colorbar .cb { flex: 1; height: 10px; border-radius: 5px; }
.control { margin-bottom: 18px; }
.control label { display: flex; justify-content: space-between; font-size: 0.86rem; font-weight: 600; margin-bottom: 8px; }
.control label output { font-family: var(--mono); font-weight: 500; color: var(--blue); }
input[type="range"] { width: 100%; accent-color: var(--cyan-deep); }
.kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.kpi div { background: var(--paper-2); border-radius: 10px; padding: 12px; }
.kpi span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: block; }
.kpi b { font-size: 1.15rem; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.feature-list li { display: flex; gap: 12px; font-size: 0.93rem; color: var(--ink-2); }
.feature-list li svg { flex: none; color: var(--cyan-deep); margin-top: 3px; }
.feature-list li b { color: var(--ink); }

/* POD */
.pod { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start; }
.pod-plot { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.pod-plot canvas { width: 100%; height: 360px; display: block; }
.pod-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: var(--ink-3); padding: 4px 8px 6px; }
.pod-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pod-legend i { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }
.pod-legend i.dot { width: 8px; height: 8px; border-radius: 50%; }
.disclaimer { font-size: 0.8rem; color: var(--ink-3); margin-top: 12px; }

/* Legal and disclaimer notes */
.legal-page { padding: calc(var(--header-h) + 56px) 0 80px; background: var(--paper); }
.legal-page .wrap { max-width: 860px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal-page .updated { font-family: var(--mono); font-size: 0.78rem; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 28px; }
.legal-page h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.legal-page p, .legal-page li { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 10px; }
.legal-page ul { padding-left: 22px; margin-bottom: 10px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 0.92rem; }
.legal-page th, .legal-page td { text-align: left; vertical-align: top; border: 1px solid var(--line); padding: 10px 12px; }
.legal-page th { background: var(--paper-2); font-weight: 650; }
.legal-page .summary { background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--cyan-deep); border-radius: 10px; padding: 16px 20px; margin-bottom: 8px; }
.legal-page .summary p { margin: 0; }
.legal-back { color: #04121f; background: var(--cyan); text-decoration: none; font-weight: 650; font-size: 0.92rem; padding: 9px 16px; border-radius: 8px; white-space: nowrap; }
.legal-back:hover { background: #5fdcf4; }
@media (max-width: 600px) { .legal-page table, .legal-page tbody, .legal-page tr, .legal-page td, .legal-page th { display: block; width: 100%; } .legal-page thead { display: none; } .legal-page td { border-top: 0; } .legal-page tr { border-top: 1px solid var(--line); margin-bottom: 10px; } }

.demo-note { margin-top: 18px; font-size: 0.84rem; color: #6b4a12; background: #fff7e8; border: 1px solid #f1d9a8; border-radius: 10px; padding: 10px 14px; }
.demo-note b { color: #5a3706; }
.facts-note { grid-column: 1 / -1; font-size: 0.8rem; color: var(--ink-3); line-height: 1.5; }
.form-legal { font-size: 0.8rem; color: var(--night-muted); margin: 4px 0 14px; }
.form-legal a { color: var(--cyan); }
/* UT Studio additions */
.case-study { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; margin-bottom: 28px; padding: 28px 32px; border-radius: 18px; background: var(--night); color: var(--night-text); position: relative; overflow: hidden; }
.case-study::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--amber), var(--cyan)); }
.case-study .eyebrow { color: var(--amber); }
.case-study h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 10px; }
.case-study p { color: var(--night-muted); }
.case-study p strong { color: #fff; }
.case-study .inline-fig { margin: 0; max-width: none; justify-self: end; width: 100%; max-width: 420px; }
.tab-text-short { display: none; }
.inline-fig { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: zoom-in; max-width: 420px; }
.inline-fig figcaption { text-align: left; margin-top: 6px; }
.specimen figure.dark-fig { background: #151618; border-color: #26282c; }
.specimen figure.dark-fig figcaption { color: #9aa3ad; }
.specimen figure img { border-radius: 6px; }
.curved { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: start; }
.compare { position: relative; border-radius: 12px; overflow: hidden; background: #151618; user-select: none; }
.compare > img { display: block; width: 100%; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-top img { width: 100%; display: block; }
.compare-bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.5); }
.compare-bar i { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.compare-bar i::before, .compare-bar i::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.compare-bar i::before { left: 8px; transform: translateY(-50%) rotate(-45deg); }
.compare-bar i::after { right: 8px; transform: translateY(-50%) rotate(135deg); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-tag { position: absolute; bottom: 12px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: rgba(4,10,22,.8); color: #fff; pointer-events: none; }
.compare-tag.left { left: 12px; } .compare-tag.right { right: 12px; color: var(--cyan); }
.compare-cap { font-size: 0.84rem; color: var(--ink-3); margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--amber); }
.mini-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.mini-figs figure { background: #151618; border-radius: 10px; padding: 6px; cursor: zoom-in; }
.mini-figs figcaption { color: #9aa3ad; margin: 6px 0 2px; }
.versus { display: flex; flex-direction: column; gap: 10px; }
.vs-head { order: -1; display: grid; grid-template-columns: 1fr 96px 110px; gap: 10px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.vs-head i { font-style: normal; text-align: right; }
.vs-row { display: grid; grid-template-columns: 1fr 96px 110px; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 0.9rem; }
.vs-row b { text-align: right; font-family: var(--mono); font-size: 0.88rem; }
.vs-row .bad { color: #b23b3b; } .vs-row .good { color: #0c7a55; }
.vs-note { font-size: 0.86rem; color: var(--ink-3); margin-top: 4px; }
.tour { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.tour-list { display: grid; gap: 6px; }
.tour-group { font-family: var(--mono); font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 10px 0 2px 4px; }
.tour-group:first-child { margin-top: 0; }
.tour-list button { text-align: left; background: none; border: 1px solid transparent; border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 0.9rem; color: var(--ink-2); }
.tour-list button:hover { background: var(--paper-2); }
.tour-list button[aria-selected="true"] { background: #eef7fc; border-color: #cde6f2; color: var(--ink); }
.tour-view figure { border-radius: 12px; overflow: hidden; border: 1px solid #26282c; background: #151618; cursor: zoom-in; }
.tour-view img { width: 100%; display: block; }
.tour-text { margin-top: 16px; }
.tour-text h5 { font-size: 1.05rem; margin-bottom: 8px; }
.tour-text ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.tour-text li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--ink-2); }
.tour-text li svg { flex: none; color: var(--cyan-deep); margin-top: 3px; }

/* ── Approach ───────────────────────────────────────────── */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue)); opacity: .35; }
.t-step { position: relative; text-align: center; padding: 0 6px; }
.t-dot {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--cyan); color: var(--ink); font-family: var(--mono); font-weight: 600; position: relative; z-index: 1;
}
.t-step h3 { font-size: 1.05rem; margin-bottom: 2px; }
.t-step .aka { font-size: 0.78rem; color: var(--cyan-deep); font-family: var(--mono); margin-bottom: 10px; }
.t-step p { font-size: 0.88rem; color: var(--ink-3); }

/* ── Why + audiences ────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 64px; }
.why {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 28px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--night-line); border-radius: var(--radius);
}
.why .n { font-family: var(--mono); font-size: 1.9rem; color: var(--cyan); line-height: 1; }
.why h3 { margin-bottom: 8px; }
.why p { color: var(--night-muted); font-size: 0.95rem; }
.aud { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.aud-list { display: grid; gap: 8px; align-content: start; }
.aud-list button {
  text-align: left; background: none; border: 1px solid var(--night-line); color: var(--night-text);
  border-radius: 12px; padding: 14px 16px; font-weight: 600; display: flex; align-items: center; gap: 12px;
  transition: background .15s, border-color .15s;
}
.aud-list button svg { color: var(--cyan); }
.aud-list button[aria-selected="true"] { background: rgba(31, 200, 234, 0.1); border-color: var(--cyan); }
.aud-body { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 16px; padding: 30px; }
.aud-body h3 { font-size: 1.35rem; margin-bottom: 18px; }
.aud-body ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.aud-body li { display: flex; gap: 12px; color: var(--night-text); }
.aud-body li svg { flex: none; color: var(--good); margin-top: 3px; }

/* ── Industries ─────────────────────────────────────────── */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ind-top { background: linear-gradient(150deg, var(--night-3), var(--night)); color: #fff; padding: 26px 24px 22px; position: relative; overflow: hidden; }
.ind-top::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(31, 200, 234, 0.25); box-shadow: 0 0 0 18px rgba(31, 200, 234, 0.05), 0 0 0 36px rgba(31, 200, 234, 0.03); }
.ind-top svg { color: var(--amber); margin-bottom: 14px; }
.ind-top h3 { font-size: 1.25rem; }
.ind-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.ind-body ul { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.ind-body li { font-size: 0.9rem; color: var(--ink-2); padding-left: 16px; position: relative; }
.ind-body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--cyan); }
.ind-body .outcome { margin-top: auto; font-family: var(--mono); font-size: 0.74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-deep); border-top: 1px dashed var(--line); padding-top: 14px; }

/* ── About ──────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about-grid p { color: var(--ink-3); margin-bottom: 16px; }
.about-grid p strong { color: var(--ink); }
.mv { display: grid; gap: 18px; }
.emblem-feature { justify-self: center; margin-bottom: 8px; padding: 14px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 200, 234, 0.18), rgba(4, 10, 22, 0) 70%); }
.emblem-feature img { width: 380px; height: 380px; max-width: 100%; border-radius: 50%; box-shadow: 0 0 0 3px rgba(31, 200, 234, 0.6), 0 20px 60px rgba(4, 10, 22, 0.45), 0 0 50px rgba(31, 200, 234, 0.3); }
.mv-card { border-radius: var(--radius); padding: 26px 28px; background: var(--night); color: var(--night-text); border: 1px solid var(--night-3); position: relative; overflow: hidden; }
.mv-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--cyan), var(--blue)); }
.mv-card .eyebrow { margin-bottom: 8px; color: var(--cyan); }
.mv-card p { color: var(--night-muted); margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--paper); }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; color: var(--blue); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 0.84rem; color: var(--ink-3); }
.taglines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.taglines span { font-size: 0.82rem; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); padding: 6px 12px; border-radius: 100px; font-style: italic; }

/* ── Contact ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-grid h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.contact-lines { display: grid; gap: 16px; margin-top: 30px; }
.cl { display: flex; gap: 14px; align-items: center; }
.cl .ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(31, 200, 234, 0.1); color: var(--cyan); flex: none; }
.cl span { display: block; font-size: 0.78rem; color: var(--night-muted); font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.cl a, .cl b { color: #fff; text-decoration: none; font-weight: 600; }
.cl a:hover { color: var(--cyan); }
.form { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 18px; padding: 32px; }
.intent { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.intent label { cursor: pointer; }
.intent input { position: absolute; opacity: 0; pointer-events: none; }
.intent span { display: inline-block; padding: 8px 14px; border-radius: 100px; border: 1px solid var(--night-line); font-size: 0.86rem; color: var(--night-muted); transition: .15s; }
.intent input:checked + span { background: var(--cyan); color: #04121f; border-color: var(--cyan); font-weight: 600; }
.intent input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--night-muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--night-line); color: #fff;
  border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 0.95rem; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #5f7390; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(31, 200, 234, 0.15); }
.field select option { background: var(--night-2); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; justify-content: center; border: 0; }
.form-status { margin-top: 14px; font-size: 0.9rem; min-height: 1.4em; }
.form-status.ok { color: var(--good); }
.form-status.err { color: #ff9a9a; }
.hp { position: absolute; left: -9999px; }

/* ── Footer ─────────────────────────────────────────────── */
footer { background: #02060e; color: var(--night-muted); padding: 48px 0 36px; font-size: 0.88rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.9fr; gap: 40px; }
.foot-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; text-decoration: none; }
.foot-brand img { width: 128px; height: 128px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(31, 200, 234, 0.5), 0 0 28px rgba(31, 200, 234, 0.3); }
.foot h4 { color: #fff; font-size: 0.85rem; margin-bottom: 12px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: var(--night-muted); text-decoration: none; }
.foot a:hover { color: var(--cyan); }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; }

/* ── Lightbox ───────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(2, 6, 14, 0.9); display: none; align-items: center; justify-content: center; padding: 40px 20px; }
.lightbox.open { display: flex; }
.lightbox figure { max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; background: #fff; border-radius: 10px; }
.lightbox figcaption { color: #cfdcec; font-size: 0.92rem; margin-top: 14px; max-width: 800px; }
.lightbox .close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 1.4rem; line-height: 1; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; font-size: 0.88rem; }
  .nav .nav-cta { padding: 9px 13px; }
  .grid-4, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .timeline::before { display: none; }
}
@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .brand img { height: 54px; width: 54px; }
  .brand .wordmark { font-size: 0.86rem; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--night); padding: 12px 16px 20px; border-bottom: 1px solid var(--night-line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
  section { padding: 76px 0; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .curved, .tour, .case-study { grid-template-columns: 1fr; }
  .case-study .inline-fig { justify-self: start; }
  .tour-list { grid-template-columns: repeat(2, 1fr); }
  .tour-group { grid-column: 1 / -1; }
  .hero-grid, .project-intro, .specimen, .lab, .clf, .dic, .pod, .about-grid, .contact-grid, .stage-panel, .aud { grid-template-columns: 1fr; }
  .stage-panel .proof { border-left: 0; padding-left: 0; border-top: 1px solid var(--night-line); padding-top: 22px; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .stage::after { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .aud-list { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .grid-4, .ind-grid, .gallery, .feature-list, .aud-body ul, .timeline { grid-template-columns: 1fr; }
  .aud-list { grid-template-columns: 1fr; }
  .facts, .field-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .emblem-feature img { width: 300px; height: 300px; }
  .foot-brand img { width: 104px; height: 104px; }
  .hero-facts { gap: 22px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-tag { letter-spacing: 0.08em; font-size: 0.7rem; }
  .scope canvas { height: 190px; }
  .lab-plot canvas { height: 240px; }
  .pod-plot canvas { height: 300px; }
  .panel, .form, .stage-panel, .case-study { padding: 20px; }
  .bar-btn { grid-template-columns: 100px 1fr 58px; }
  .dist-row { grid-template-columns: 96px 1fr 44px; }
  .cm { grid-template-columns: 60px repeat(4, 1fr); }
  .tabs { display: flex; }
  .tab { flex: 1; justify-content: center; padding: 10px; }
  .tab .tab-text-long { display: none; }
  .tab .tab-text-short { display: inline; }
  .compare-tag { font-size: 0.58rem; padding: 3px 6px; bottom: 6px; }
  .compare-tag.left { left: 6px; } .compare-tag.right { right: 6px; }
  .tab .tab-text-short { white-space: nowrap; }
  .tour-list, .tour-text ul, .mini-figs { grid-template-columns: 1fr; }
  .vs-row, .vs-head { grid-template-columns: 1fr 72px 92px; font-size: 0.82rem; }
}
