/* ═══════════════════════════════════════════════════════════════════
   HERO ONE · portfolio.heroone.art
   Press Kit & Industry Portfolio
   Design system adopted from 333BI OS (public/home.html) and heroone.art:
   Ink (#06080f) + Gold (#c9a84c) + Teal (#4ff0e0),
   Syne / DM Sans / IBM Plex Mono, WebGL signal field, bento telemetry cards,
   inspection lightbox, and glass surfaces.
   ═══════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-latin-wght.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-wght.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #06080f;
  --bg-elevated: #0a0c14;
  --bg-card: rgba(255, 255, 255, 0.032);
  --bg-card-strong: rgba(255, 255, 255, 0.045);
  --ink: #06080f;
  --ink-deep: #04050a;
  --surface: #0a0c14;
  --surface-2: #0f121c;
  --surface-glass: rgba(12, 15, 24, 0.72);
  --border: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(201, 168, 76, 0.2);
  --border-glow: rgba(201, 168, 76, 0.4);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f0f2f8;
  --text-muted: rgba(190, 195, 210, 0.85);
  --text-dim: rgba(130, 135, 155, 0.95);
  --gold: #c9a84c;
  --gold-rgb: 201 168 76;
  --gold-bright: #ecd28a;
  --gold-deep: #8e6d27;
  --gold-soft: rgba(201, 168, 76, 0.1);
  --gold-glow: rgba(201, 168, 76, 0.35);
  --teal: #4ff0e0;
  --teal-rgb: 79 240 224;
  --purple: #6d40d4;
  --success: #22c55e;
  --ember: #ff665f;
  --ff-display: "Syne", sans-serif;
  --ff-body: "DM Sans", -apple-system, sans-serif;
  --ff-mono: "IBM Plex Mono", monospace;
  --content: 1320px;
  --gutter: clamp(1rem, 3.4vw, 4.5rem);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 66px;
}

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

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

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--ink);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

p {
  margin: 0;
}

::selection {
  background: rgb(var(--gold-rgb) / 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 8px;
}

.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;
  left: 1rem;
  top: -4rem;
  z-index: 300;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.mono {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.kicker {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

/* 333BI OS Eyebrow Tag */
.mm3-eyebrow-tag {
  font-family: var(--ff-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mm3-eyebrow-tag::before,
.mm3-eyebrow-tag::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
}

/* 333BI OS Highlight Gradient */
.mm3-highlight {
  background: linear-gradient(135deg, var(--gold) 0%, #f0d78c 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  border: 1px solid rgb(var(--gold-rgb) / 0.22);
  border-radius: 999px;
  background: rgb(var(--gold-rgb) / 0.06);
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulseDot 2.2s ease-in-out infinite;
  flex: none;
}

.pulse-dot--teal {
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button--primary {
  color: #120e04;
  background: linear-gradient(135deg, #f3dc98 0%, var(--gold) 45%, #a7832f 100%);
  box-shadow: 0 10px 30px -10px rgb(var(--gold-rgb) / 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.button--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}

.button--primary:hover::after {
  transform: translateX(120%);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  backdrop-filter: blur(12px);
}

.button--ghost:hover {
  border-color: rgb(var(--gold-rgb) / 0.5);
  background: rgb(var(--gold-rgb) / 0.08);
}

.button--sm {
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.85rem;
}

/* ── Glass Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  z-index: 100;
  top: max(0.75rem, env(safe-area-inset-top));
  left: 50%;
  width: min(calc(100% - 1.5rem), 1220px);
  height: var(--header-h);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 0.65rem 0 0.8rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 20px 50px -30px rgba(0, 0, 0, 0.8);
  transition: background 0.4s var(--ease), border-color 0.4s;
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(12, 14, 22, 0.82), rgba(8, 10, 16, 0.72));
  border-color: rgb(var(--gold-rgb) / 0.18);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
}

.brand-lockup img {
  width: 82px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgb(var(--gold-rgb) / 0.35));
}

.brand-badge {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgb(var(--gold-rgb) / 0.25);
  background: rgb(var(--gold-rgb) / 0.06);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.3rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.52rem 0.85rem;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s, background 0.25s;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.site-nav a.is-active {
  color: var(--text);
  background: linear-gradient(180deg, rgb(var(--gold-rgb) / 0.2), rgb(var(--gold-rgb) / 0.08));
  box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / 0.3);
}

.site-nav .nav-outbound {
  color: var(--teal);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-button span {
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.site-header.is-open .menu-button span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.site-header.is-open .menu-button span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: max(100svh, 820px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 3.5rem;
  padding: calc(var(--header-h) + 4.5rem) var(--gutter) 5.5rem;
  overflow: hidden;
  isolation: isolate;
}

.signal-field {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(65% 65% at 75% 42%, rgb(var(--gold-rgb) / 0.16), transparent 70%),
    radial-gradient(50% 50% at 15% 15%, rgb(45 74 122 / 0.32), transparent 70%),
    var(--ink);
}

.signal-field canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.signal-field canvas[data-state="ready"] {
  opacity: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 44rem;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-transform: uppercase;
}

.hero-copy .lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.6rem;
}

.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(10, 12, 20, 0.65);
  backdrop-filter: blur(16px);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.telemetry-item strong {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--gold-bright);
  line-height: 1;
}

.telemetry-item span {
  font-family: var(--ff-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Hero Stage (Interactive Glass Card) */
.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stage-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(20px);
  padding: 1rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.stage-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #08090d;
}

.stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.stage-card:hover .stage-media img {
  transform: scale(1.03);
}

.stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 8, 15, 0.88) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
}

.stage-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stage-meta strong {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: #fff;
}

.stage-meta span {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  color: var(--gold-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding: 0 0.4rem;
}

/* ── Ticker ──────────────────────────────────────────────────────── */
.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgb(var(--gold-rgb) / 0.05), transparent 30%, transparent 70%, rgb(var(--gold-rgb) / 0.05));
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 48s linear infinite;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.6rem;
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.ticker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}

/* ── Sections ────────────────────────────────────────────────────── */
.section {
  position: relative;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  margin-top: 1.2rem;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.gold {
  color: var(--gold-bright);
}

.teal {
  color: var(--teal);
}

/* ── Doctrine Grid ───────────────────────────────────────────────── */
.doctrine-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(10, 12, 20, 0.5);
}

.doctrine-grid li {
  position: relative;
  padding: 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  border-right: 1px solid var(--line);
  transition: background 0.4s;
}

.doctrine-grid li:last-child {
  border-right: 0;
}

.doctrine-grid li:hover {
  background: linear-gradient(180deg, rgb(var(--gold-rgb) / 0.1), transparent);
}

.doctrine-grid .step-num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
}

.doctrine-grid .step-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.35), transparent);
}

.doctrine-grid strong {
  font-family: var(--ff-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.doctrine-grid p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ── Bento & Tilt Cards ──────────────────────────────────────────── */
.card {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  --tint: var(--gold-rgb);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgb(var(--tint) / 0.14), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s var(--ease), border-color 0.4s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgb(var(--tint) / 0.7), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  border-color: rgb(var(--tint) / 0.28);
}

.card h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p {
  margin-top: 0.75rem;
  color: var(--text-muted);
}

.card .kicker {
  margin-bottom: 1.2rem;
}

.card--teal {
  --tint: var(--teal-rgb);
}

.card--feature {
  --tint: var(--gold-rgb);
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgb(var(--tint) / 0.16), transparent 45%),
    linear-gradient(135deg, rgb(var(--gold-rgb) / 0.12), rgba(255, 255, 255, 0.015) 60%);
  border-color: rgb(var(--gold-rgb) / 0.25);
}

/* Analytics Bento */
.analytics-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.receipt-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #090a0f;
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.receipt-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}

.receipt-frame:hover img {
  transform: scale(1.04);
}

.receipt-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(6, 8, 15, 0.85);
  border: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.metric-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.6rem 0.3rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.metric-cell b {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
  line-height: 1.1;
}

.metric-cell span {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* Press Grid */
.press-spotlight {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.8rem, 3.2vw, 2.8rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgb(var(--gold-rgb) / 0.3);
  background: linear-gradient(135deg, rgb(var(--gold-rgb) / 0.12), rgba(255, 255, 255, 0.02) 60%);
  margin-bottom: 2rem;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.chip {
  font-family: var(--ff-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.25);
}

.chip--gold {
  color: var(--gold-bright);
  border-color: rgb(var(--gold-rgb) / 0.4);
  background: rgb(var(--gold-rgb) / 0.08);
}

.chip--teal {
  color: var(--teal);
  border-color: rgb(var(--teal-rgb) / 0.35);
  background: rgb(var(--teal-rgb) / 0.06);
}

/* ── Reviews & Sync ──────────────────────────────────────────────── */
.sync-deck {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.supervisor-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.8rem;
  align-items: center;
}

.supervisor-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.supervisor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.quote-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card p {
  font-size: 0.96rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}

.quote-card footer {
  margin-top: 1rem;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* ── YouTube Shorts Deck ─────────────────────────────────────────── */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.short-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.short-card:hover {
  transform: translateY(-4px);
  border-color: rgb(var(--gold-rgb) / 0.4);
}

.short-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #020306;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.short-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.short-meta {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.short-meta h4 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.short-meta p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.short-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.8rem;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  transition: color 0.2s;
}

.short-link:hover {
  color: #fff;
}

/* ── Registry ────────────────────────────────────────────────────── */
.registry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}

.registry-card {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.registry-logo {
  height: 70px;
  display: grid;
  place-items: center;
  width: 100%;
}

.registry-logo img {
  max-height: 60px;
  max-width: 160px;
  object-fit: contain;
}

.registry-logo--light {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 0.5rem;
}

.registry-card strong {
  font-family: var(--ff-display);
  font-size: 1.05rem;
}

.registry-card span {
  font-family: var(--ff-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── Contact Section ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
  padding: 1.1rem 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s, background 0.25s, transform 0.35s var(--spring);
}

.contact-link:hover {
  border-color: rgb(var(--gold-rgb) / 0.45);
  background: rgb(var(--gold-rgb) / 0.06);
  transform: translateX(4px);
}

.contact-link strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

.contact-link span span {
  display: block;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.contact-link .contact-arrow {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.25s var(--ease);
}

.contact-link:hover .contact-arrow {
  transform: translateX(3px);
}

/* ── Lightbox Dialog ─────────────────────────────────────────────── */
.lightbox {
  width: min(100% - 2rem, 1140px);
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(3, 4, 8, 0.85);
  backdrop-filter: blur(12px);
}

.lightbox[open] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.lightbox__img {
  background: #020306;
  display: grid;
  place-items: center;
  min-height: 360px;
  max-height: calc(100svh - 2rem);
  padding: 1.5rem;
}

.lightbox__img img {
  max-height: calc(100svh - 5rem);
  width: 100%;
  object-fit: contain;
}

.lightbox__copy {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.8rem;
  border-left: 1px solid var(--line);
  overflow-y: auto;
  background: var(--surface-2);
}

.lightbox__copy h3 {
  font-size: 1.45rem;
  line-height: 1.15;
}

.lightbox__copy p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.lightbox__nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.icon-button:hover {
  border-color: rgb(var(--gold-rgb) / 0.5);
  background: rgb(var(--gold-rgb) / 0.08);
}

.meta-list {
  display: grid;
  gap: 0.65rem;
  margin: auto 0 0;
  font-size: 0.85rem;
}

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}

.meta-list dt {
  font-family: var(--ff-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.meta-list dd {
  margin: 0;
  text-align: right;
  color: var(--text-muted);
}

/* ── Closing Glow ────────────────────────────────────────────────── */
.closing {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(6rem, 12vw, 9rem) var(--gutter);
  border-top: 1px solid var(--line);
}

.closing__glow {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 900px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgb(var(--gold-rgb) / 0.2), transparent 60%);
  pointer-events: none;
}

.closing h2 {
  position: relative;
  margin-top: 1.4rem;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.closing p {
  color: var(--text-muted);
  max-width: 38rem;
  margin-top: 1.2rem;
  font-size: 1.1rem;
}

.closing .hero-actions {
  justify-content: center;
  margin-top: 2rem;
}

/* ── Site Footer ─────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
  padding: 4.5rem var(--gutter) 2.5rem;
}

.footer-grid {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand img {
  width: 140px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-top: 0.9rem;
  max-width: 22rem;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer nav .kicker {
  margin-bottom: 0.4rem;
}

.site-footer nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}

.site-footer nav a:hover {
  color: var(--gold-bright);
}

.footer-base {
  width: min(100%, var(--content));
  margin: 3.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ── Responsive Rules ────────────────────────────────────────────── */
@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-h) + 3.5rem);
    gap: 3.5rem;
  }
  .hero-stage {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }
  .section-head, .press-spotlight, .contact-grid {
    grid-template-columns: 1fr;
  }
  .analytics-bento, .press-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .doctrine-grid {
    grid-template-columns: 1fr 1fr;
  }
  .doctrine-grid li:nth-child(2) {
    border-right: 0;
  }
  .doctrine-grid li:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .sync-deck {
    grid-template-columns: 1fr;
  }
  .quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shorts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .registry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lightbox[open] {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .lightbox__copy {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .lightbox__img img {
    max-height: 55svh;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 60px;
  }
  .brand-badge {
    display: none;
  }
  .header-actions .button {
    display: none;
  }
  .site-nav {
    display: none;
  }
  .menu-button {
    display: flex;
  }
  .site-header.is-open .site-nav {
    display: flex;
    position: fixed;
    top: calc(var(--header-h) + 1.2rem);
    left: 0.75rem;
    right: 0.75rem;
    flex-direction: column;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(10, 12, 20, 0.95);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(24px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85);
  }
  .site-header.is-open .site-nav a {
    width: 100%;
    padding: 0.8rem 1rem;
  }
  .hero-telemetry {
    grid-template-columns: repeat(2, 1fr);
  }
  .analytics-bento, .press-grid, .shorts-grid, .quote-grid, .registry-grid {
    grid-template-columns: 1fr;
  }
  .doctrine-grid {
    grid-template-columns: 1fr;
  }
  .doctrine-grid li {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .doctrine-grid li:last-child {
    border-bottom: 0;
  }
  .supervisor-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .button {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
