@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-deep: #060908;
  --bg-surface: #0C1210;
  --bg-elevated: #111917;
  --bg-glass: rgba(13, 20, 18, 0.76);
  --text-main: #F5F2EC;
  --text-body: #B8C2BD;
  --text-dim: #7C8983;
  --copper: #E59856;
  --copper-bright: #FFD2A6;
  --copper-glow: rgba(229, 152, 86, 0.18);
  --malachite: #2EB895;
  --malachite-deep: #134E3F;
  --malachite-glow: rgba(46, 184, 149, 0.16);
  --border-subtle: rgba(245, 242, 236, 0.10);
  --border-specular: rgba(229, 152, 86, 0.34);
  --shadow-luxury: 0 28px 70px -20px rgba(0, 0, 0, 0.72);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

[data-theme="ivory"] {
  --bg-deep: #F4F0E8;
  --bg-surface: #FAF8F4;
  --bg-elevated: #EAE4D8;
  --bg-glass: rgba(250, 248, 244, 0.86);
  --text-main: #111615;
  --text-body: #3E4844;
  --text-dim: #697470;
  --copper: #B85E22;
  --copper-bright: #8F4210;
  --copper-glow: rgba(184, 94, 34, 0.12);
  --malachite: #156A54;
  --malachite-deep: #D8EAE4;
  --malachite-glow: rgba(21, 106, 84, 0.11);
  --border-subtle: rgba(17, 22, 21, 0.12);
  --border-specular: rgba(184, 94, 34, 0.35);
  --shadow-luxury: 0 24px 55px -20px rgba(17, 22, 21, 0.16);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 70% 45% at 85% 6%, var(--copper-glow), transparent 70%),
    radial-gradient(ellipse 65% 45% at 12% 28%, var(--malachite-glow), transparent 72%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

/* Top Scroll Laser Progress */
.scroll-hairline {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--malachite), var(--copper), var(--copper-bright));
  box-shadow: 0 0 12px var(--copper);
  z-index: 150;
}

/* Diagonal Bronze-Trimmed Page Transition Shutter */
.page-shutter {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.shutter-col {
  background: linear-gradient(180deg, #060908 0%, #0E1714 100%);
  border-right: 1px solid rgba(229, 152, 86, 0.16);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.36s cubic-bezier(0.76, 0, 0.24, 1);
}
.shutter-col:nth-child(2) { transition-delay: 0.03s; }
.shutter-col:nth-child(3) { transition-delay: 0.06s; }
.shutter-col:nth-child(4) { transition-delay: 0.09s; }
.page-shutter.is-closing .shutter-col {
  transform-origin: bottom;
  transform: scaleY(1);
}
.page-shutter.is-opening .shutter-col {
  transform-origin: top;
  transform: scaleY(0);
}

/* Custom Magnetic Reticle Cursor */
.kinetic-cursor-ring {
  display: none;
}
@media (pointer: fine) and (min-width: 1024px) {
  .kinetic-cursor-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    border: 1px solid var(--copper);
    border-radius: 999px;
    pointer-events: none;
    z-index: 160;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease;
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.12em;
    color: #FFF;
  }
  .kinetic-cursor-ring.is-lens {
    width: 78px;
    height: 78px;
    background: rgba(11, 17, 15, 0.82);
    backdrop-filter: blur(6px);
    border-color: var(--copper-bright);
  }
}

/* Multi-Page Route Bar */
.route-telemetry-bar {
  background: rgba(6, 9, 8, 0.92);
  border-bottom: 1px solid rgba(229, 152, 86, 0.18);
  padding: 6px 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(245, 242, 236, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.route-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F5F2EC;
}
.route-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--malachite);
  box-shadow: 0 0 10px var(--malachite);
}

/* Sticky Luxury Glass Header — Visible on 1 line down to 680px so Canvas Split-View shows all pages! */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 11px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-emblem-svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 14px rgba(229, 152, 86, 0.22));
}
.emblem-orbit {
  transform-origin: 24px 24px;
  animation: emblemOrbit 26s linear infinite;
}
@keyframes emblemOrbit {
  to { transform: rotate(360deg); }
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
.brand-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-main);
}
.brand-title b {
  color: var(--copper);
  font-weight: 700;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 3px;
}

/* Floating Glass Pill Nav */
.primary-nav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}
.nav-item {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-body);
  transition: all 0.22s ease;
  white-space: nowrap;
}
.nav-item:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}
.nav-item.is-active {
  background: linear-gradient(135deg, rgba(229, 152, 86, 0.22), rgba(46, 184, 149, 0.18));
  color: var(--text-main);
  font-weight: 600;
  border: 1px solid var(--border-specular);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.theme-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.theme-btn:hover {
  border-color: var(--copper);
  transform: rotate(18deg);
}
.btn-inquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #E59856, #C66D28);
  color: #080B0A;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}
.btn-inquire:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(229, 152, 86, 0.35);
}
.mobile-menu-btn {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 5px;
  color: var(--text-main);
  cursor: pointer;
}
.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 14px 20px 18px;
}
.mobile-drawer.is-open {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (max-width: 900px) {
  .brand-sub { display: none; }
}
@media (max-width: 680px) {
  .primary-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}

/* Containers & Spacing */
.shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 22px;
}
.sec-pad {
  padding: 68px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* Luxury Typography */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(229, 152, 86, 0.10);
  border: 1px solid rgba(229, 152, 86, 0.30);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 18px;
}
.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 4.3vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero-title em, .sec-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--copper-bright), var(--copper), var(--malachite));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3vw, 2.85rem);
  line-height: 1.1;
  margin: 0 0 14px;
}
.lead-copy {
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  color: var(--text-body);
  line-height: 1.72;
  margin: 0 0 24px;
  max-width: 60ch;
}
.body-copy {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.72;
  margin: 0 0 16px;
}

/* Action Buttons */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #E89E5C 0%, #BD6422 100%);
  color: #070A09;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px -8px rgba(229, 152, 86, 0.48);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -6px rgba(229, 152, 86, 0.65);
}
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--border-specular);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background-color 0.24s ease, transform 0.24s ease;
}
.btn-glass:hover {
  background: var(--copper-glow);
  transform: translateY(-2px);
}
.ico-sm { width: 15px; height: 15px; flex-shrink: 0; }
.ico-md { width: 21px; height: 21px; flex-shrink: 0; }

/* Specular Spotlight Card Engine */
.luxe-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.luxe-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(229, 152, 86, 0.13), transparent 45%);
  pointer-events: none;
  z-index: 2;
}
.luxe-card:hover {
  border-color: var(--border-specular);
}

/* Hero Stage — Keeps 2 columns down to 720px so Canvas side-panel shows full side-by-side luxury visual! */
.hero-stage {
  position: relative;
  padding: 44px 0 58px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Right Visual Stack: Photography + Live 3D Geodesic Globe Overlay */
.hero-visual-deck {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.showcase-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-specular);
  box-shadow: var(--shadow-luxury);
  transform-style: preserve-3d;
  will-change: transform;
}
.showcase-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase-frame:hover .showcase-img {
  transform: scale(1.05);
}
.showcase-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,9,8,0.12) 0%, rgba(6,9,8,0.0) 45%, rgba(6,9,8,0.84) 100%);
  pointer-events: none;
}
.hud-overlay-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.hud-chip {
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(8, 12, 11, 0.76);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 152, 86, 0.32);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #F5F2EC;
}
.hud-overlay-bottom {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  color: #F5F2EC;
  pointer-events: none;
}
.hud-caption-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
}
.hud-caption-code {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--copper-bright);
  letter-spacing: 0.1em;
}

/* Interactive 3D Geodesic Globe Bar */
.globe-telemetry-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.globe-canvas-box {
  width: 120px;
  height: 120px;
  position: relative;
  cursor: grab;
}
.globe-canvas-box:active {
  cursor: grabbing;
}

/* 4-Cell Institutional Telemetry Strip */
.telemetry-bar-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.telemetry-tile {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.t-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.t-val {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--text-main);
}
.t-sub {
  font-size: 11.5px;
  color: var(--text-body);
  margin-top: 2px;
}
@media (max-width: 760px) {
  .telemetry-bar-4 { grid-template-columns: 1fr 1fr; }
}

/* Bento 3-Pillar Grid */
.bento-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) {
  .bento-3 { grid-template-columns: 1fr; }
}
.bento-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.luxe-card:hover .bento-media img {
  transform: scale(1.06);
}
.bento-content {
  padding: 22px;
  position: relative;
  z-index: 3;
}
.bento-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--copper);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.bento-heading {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 10px;
}

/* Split Grids */
.split-5-7 {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 28px;
  align-items: stretch;
}
.split-7-5 {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 28px;
  align-items: center;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 760px) {
  .split-5-7, .split-7-5, .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Interactive Lens Tabs */
.lens-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lens-btn {
  text-align: left;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.25s ease;
}
.lens-btn:hover {
  border-color: var(--copper);
}
.lens-btn.is-active {
  background: linear-gradient(135deg, rgba(229, 152, 86, 0.16), rgba(19, 78, 63, 0.34));
  border-color: var(--copper);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}
.lens-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--copper);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 4px;
}
.lens-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.lens-sub {
  font-size: 12.5px;
  color: var(--text-body);
  display: block;
}

/* Pills & Horizon Controls */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.pill-btn {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-body);
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pill-btn:hover, .pill-btn.is-active {
  background: linear-gradient(135deg, var(--copper), #B85E22);
  color: #070A09;
  border-color: transparent;
  font-weight: 600;
}
.horizon-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}
.horizon-opt {
  padding: 6px 13px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-body);
  font-family: var(--font-mono);
  font-size: 10.5px;
  cursor: pointer;
}
.horizon-opt.is-active {
  background: var(--malachite);
  color: #060908;
  font-weight: 600;
}

/* Interactive Draggable Computer-Vision Assay Comparator (Page 4) */
.vision-scanner-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-specular);
  aspect-ratio: 16 / 9;
  user-select: none;
  background: #080C0B;
}
.vision-layer-raw, .vision-layer-ai {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vision-layer-raw img, .vision-layer-ai img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vision-layer-ai {
  clip-path: inset(0 0 0 50%);
}
.vision-layer-ai img {
  filter: contrast(1.14) saturate(1.18) hue-rotate(-6deg);
}
.vision-hud-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.vision-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--copper-bright);
  box-shadow: 0 0 16px var(--copper);
  pointer-events: none;
  z-index: 6;
}
.vision-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0B110F;
  border: 2px solid var(--copper-bright);
  color: var(--copper-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  box-shadow: 0 0 24px rgba(229, 152, 86, 0.6);
}
.vision-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
}

/* Spec Key-Value Rows */
.kv-table {
  border-top: 1px solid var(--border-subtle);
  margin-top: 16px;
}
.kv-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12.8px;
}
.kv-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  text-transform: uppercase;
}
.kv-v {
  color: var(--text-main);
  font-weight: 500;
  text-align: right;
}

/* Circuit Flow Animation */
.circuit-pulse {
  stroke-dasharray: 7 7;
  animation: pulseDash 16s linear infinite;
}
@keyframes pulseDash {
  to { stroke-dashoffset: -240; }
}

/* Governance Accordion */
.acc-list {
  border-top: 1px solid var(--border-subtle);
}
.acc-item {
  border-bottom: 1px solid var(--border-subtle);
}
.acc-btn {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: none;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}
.acc-title {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600;
}
.acc-sign {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--copper);
  transition: transform 0.25s ease;
}
.acc-item.is-open .acc-sign {
  transform: rotate(45deg);
}
.acc-body {
  display: none;
  padding: 0 0 22px;
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.74;
}
.acc-item.is-open .acc-body {
  display: block;
}

/* Slide-Over Dispatch Reader Modal */
.dispatch-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 6, 0.78);
  backdrop-filter: blur(8px);
  z-index: 170;
  display: none;
  justify-content: flex-end;
}
.dispatch-modal-backdrop.is-open {
  display: flex;
}
.dispatch-drawer {
  width: min(640px, 100%);
  height: 100%;
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 36px 32px;
  overflow-y: auto;
  border-left: 1px solid var(--border-specular);
}

/* Contact Console */
.form-field {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-deep);
  color: var(--text-main);
  font-size: 14px;
  transition: border-color 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--copper);
}
.envelope-preview {
  background: #050807;
  color: #F5F2EC;
  border: 1px solid var(--border-specular);
  border-radius: 14px;
  padding: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
}

/* Tag Pills */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.tag-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
}

/* Reveal Animation */
.reveal-folio {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-folio.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast */
.atelier-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 190;
  background: #0B110F;
  color: #F5F2EC;
  border: 1px solid var(--copper);
  padding: 12px 18px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  box-shadow: var(--shadow-luxury);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: all 0.26s ease;
}
.atelier-toast.is-shown {
  opacity: 1;
  transform: translateY(0);
}

/* Footer — Strict Contact Isolation */
.site-footer {
  background: #040706;
  color: #F5F2EC;
  border-top: 1px solid rgba(229, 152, 86, 0.22);
  padding: 54px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(245, 242, 236, 0.1);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(245, 242, 236, 0.7);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--copper);
}
.mail-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(229, 152, 86, 0.4);
  background: rgba(229, 152, 86, 0.08);
  color: #F5F2EC;
  font-family: var(--font-mono);
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.22s ease;
}
.mail-pill:hover {
  background: rgba(229, 152, 86, 0.2);
  border-color: var(--copper-bright);
}
