/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --void: #080807;
  --surface: #0E0D0B;
  --surface-2: #151410;
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.13);
  /* Brand teal — from logo */
  --teal: #00B08A;
  --teal-dim: rgba(0, 176, 138, 0.10);
  --teal-glow: 0 0 28px rgba(0, 176, 138, 0.30);
  --teal-mid: #00967A;
  /* Alert orange — clash / issue indicators only */
  --fire: #E85D26;
  --fire-dim: rgba(232, 93, 38, 0.10);
  /* Live / active green */
  --data: #00C98A;
  --data-dim: rgba(0, 201, 138, 0.10);
  /* Text */
  --ink: #EDE8E0;
  --ink-2: rgba(237, 232, 224, 0.55);
  --ink-3: rgba(237, 232, 224, 0.28);
  --ink-4: rgba(237, 232, 224, 0.07);
  /* Liquid Glass */
  --glass-bg: rgba(10, 10, 8, 0.55);
  --glass-bg-light: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-top: rgba(255, 255, 255, 0.15);
  --glass-blur: blur(24px) saturate(150%);
  /* Fonts */
  --font-display: 'Alata', sans-serif;
  --font-body: 'Quicksand', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  /* Spacing & radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ============================================================
   CURSOR
============================================================ */
#cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

#cursor-ring {
  position: fixed;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.2s, height 0.2s, opacity 0.2s;
  opacity: 0.65;
  background: rgba(0, 176, 138, 0.04);
  backdrop-filter: blur(4px);
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400; /* Alata is single-weight — size creates hierarchy */
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* Quoted / editorial text uses Quicksand italic */
.serif-italic {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
}

.mono {
  font-family: var(--font-mono);
}


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

/* ============================================================
   SECTION LABEL
============================================================ */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.sec-label::before {
  content: '';
  display: block;
  width: 3px;
  height: 14px;
  background: var(--teal);
  border-radius: 2px;
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   NAV
============================================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(9, 8, 7, 0.60);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border);
  box-shadow: 0 1px 0 var(--glass-border-top) inset, 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-img {
  height: 30px;
  margin-bottom: 16px;
}

/* Legacy dot — kept for pulse animation reference */
.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 176, 138, 0.7); }
  50% { box-shadow: 0 0 0 6px rgba(0, 176, 138, 0); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.nav-active { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 6px;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--teal-mid);
  box-shadow: var(--teal-glow);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: none;
  font-size: 14px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
  color: var(--ink-2);
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--glass-border-top);
  transform: rotate(20deg);
}

.theme-toggle-icon {
  position: absolute;
  transition: opacity 0.25s, transform 0.25s;
}

/* Dark mode: show sun, hide moon */
[data-theme="dark"] .theme-toggle-dark  { opacity: 1; transform: scale(1); }
[data-theme="dark"] .theme-toggle-light { opacity: 0; transform: scale(0.6); }

/* Light mode: show moon, hide sun */
[data-theme="light"] .theme-toggle-dark  { opacity: 0; transform: scale(0.6); }
[data-theme="light"] .theme-toggle-light { opacity: 1; transform: scale(1); }

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 0 60px;
}

/* Construction atmosphere background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Blueprint grid */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 176, 138, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 176, 138, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(0, 176, 138, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 176, 138, 0.012) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 80%);
}

/* Atmospheric glow radials */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 80%, rgba(0, 176, 138, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 75% 20%, rgba(255, 85, 0, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(0, 176, 138, 0.08) 0%, transparent 60%);
}

#hero-canvas {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  cursor: grab;
}
#hero-canvas:active { cursor: grabbing; }

/* Gradient veil — ensures left text panel is always legible regardless of theme */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(6, 7, 5, 0.97)  0%,
    rgba(6, 7, 5, 0.93)  22%,
    rgba(6, 7, 5, 0.78)  40%,
    rgba(6, 7, 5, 0.35)  62%,
    rgba(6, 7, 5, 0.08)  80%,
    transparent          100%
  );
}

[data-theme="light"] .hero-veil {
  background: linear-gradient(
    100deg,
    rgba(232, 229, 222, 0.97)  0%,
    rgba(232, 229, 222, 0.93)  22%,
    rgba(232, 229, 222, 0.78)  40%,
    rgba(232, 229, 222, 0.35)  62%,
    rgba(232, 229, 222, 0.06)  80%,
    transparent                100%
  );
}

/* ── Hero two-column content layout ── */
.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 40px;
  max-width: 1240px;
  width: calc(100% - 80px);
  height: calc(100svh - 140px);
  margin: 0 auto;
  align-items: center;
  will-change: transform, opacity;
}

/* ── Left column ── */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 48px;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

/* Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 40px;
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-top);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  width: fit-content;
  transition: background 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-badge:hover { background: rgba(255, 255, 255, 0.07); }

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

/* Heading */
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 2.9vw, 44px);
  line-height: 1.13;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Gradient accent on last line */
.hero-h1-accent {
  background: linear-gradient(135deg, var(--teal) 0%, #00E5A0 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 400;
  color: var(--ink);
  opacity: 0.70;
  line-height: 1.75;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Right column — viewer + dashboard as one block ── */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 0;          /* viewer + dashboard share a continuous border */
  min-width: 0;
  height: clamp(430px, 66vh, 560px);
}


/* Inner glow blob */
.hgc-inner-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 176, 138, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

/* Card header: icon + big number */
.hgc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.hgc-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(0, 176, 138, 0.25);
  background: rgba(0, 176, 138, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hgc-big-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
  line-height: 1;
}

.hgc-big-label {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
  font-weight: 300;
}

/* Progress bar */
.hgc-progress-wrap { margin-bottom: 18px; }

.hgc-progress-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hgc-progress-label { font-size: 13px; color: var(--ink-3); }

.hgc-progress-val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
}

.hgc-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

.hgc-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal), #00E5A0);
}

/* Divider */
.hgc-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 18px 0;
}

/* Mini stats row */
.hgc-mini-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  text-align: center;
}

.hgc-mini-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: transform 0.2s;
  cursor: default;
}

.hgc-mini-stat:hover { transform: translateY(-2px); }

.hgc-mini-val {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.hgc-mini-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hgc-mini-sep {
  width: 1px;
  height: 36px;
  background: var(--glass-border);
  margin: 0 auto;
}

/* Pill tags */
.hgc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.hgc-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 40px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  color: var(--ink-3);
}

.hgc-pill-live {
  color: var(--data);
  border-color: rgba(0, 229, 160, 0.25);
  background: rgba(0, 229, 160, 0.04);
}

.hgc-pill-teal {
  color: var(--teal);
  border-color: rgba(0, 176, 138, 0.25);
  background: rgba(0, 176, 138, 0.04);
}

/* Live dot animation */
.hgc-live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hgc-live-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--data);
  opacity: 0.6;
  animation: hgc-ping 1.5s ease-out infinite;
}

.hgc-live-core {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--data);
}

@keyframes hgc-ping {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}


.trust-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
  padding: 0 4px;
}

.trust-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.trust-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
}

.trust-item {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  opacity: 0.55;
  padding: 0 14px;
  transition: opacity 0.2s;
}

.trust-item:hover { opacity: 1; }

.trust-sep {
  color: var(--teal);
  opacity: 0.45;
  font-size: 18px;
  line-height: 1;
}

/* ── Fade-slide-up entrance animations ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.afd {
  animation: fadeSlideUp 0.85s ease-out both;
  opacity: 0;
}

.afd-1 { animation-delay: 0.05s; }
.afd-2 { animation-delay: 0.18s; }
.afd-3 { animation-delay: 0.32s; }
.afd-4 { animation-delay: 0.46s; }
.afd-5 { animation-delay: 0.55s; }
.afd-6 { animation-delay: 0.28s; }

/* Buttons */
.btn-primary {
  background: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 8px;
  border: none;
  cursor: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  display: inline-block;
  box-shadow: 0 2px 12px rgba(0, 176, 138, 0.20);
}

.btn-primary:hover {
  background: var(--teal-mid);
  box-shadow: 0 4px 24px rgba(0, 176, 138, 0.40);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--border-2);
  cursor: none;
  transition: border-color 0.2s, color 0.2s, transform 0.15s, background 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: rgba(0, 176, 138, 0.5);
  color: var(--teal);
  transform: translateY(-2px);
  background: var(--teal-dim);
}


.hf-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 40px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--ink-3);
  cursor: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.hf-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-2);
  border-color: var(--glass-border-top);
}

.hf-btn.active {
  background: rgba(0, 176, 138, 0.15);
  border-color: rgba(0, 176, 138, 0.40);
  color: var(--teal);
  box-shadow: 0 0 18px rgba(0, 176, 138, 0.15);
}

.hf-btn[data-filter="clashes"].active {
  background: rgba(232, 93, 38, 0.15);
  border-color: rgba(232, 93, 38, 0.40);
  color: var(--fire);
  box-shadow: 0 0 18px rgba(232, 93, 38, 0.15);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--teal));
  animation: scroll-pump 1.6s ease-in-out infinite;
}

@keyframes scroll-pump {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50%       { transform: scaleY(1.3); opacity: 1; }
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ============================================================
   TICKER
============================================================ */
#ticker {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS COMMON
============================================================ */
section { padding: 120px 40px; }
.container    { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 900px;  margin: 0 auto; }


/* ============================================================
   INSIGHT
============================================================ */
#insight {
  background: var(--void);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 140px 40px;
}

#insight::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 176, 138, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.insight-quote {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.15;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto 20px;
  letter-spacing: 0.01em;
}

.insight-quote .fire-line { color: var(--teal); }

.insight-attr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-top: 24px;
}

/* ============================================================
   WHO WE ARE
============================================================ */
#manifesto {
  background: var(--void);
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.who-h2 {
  font-size: clamp(44px, 5.8vw, 88px);
  line-height: 1.0;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  max-width: 600px;
}

.who-accent {
  font-style: normal;
  color: var(--teal);
}

/* Two-column split */
.who-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.who-body {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink);
  opacity: 0.72;
  line-height: 1.75;
  font-weight: 400;
  max-width: 460px;
  margin-bottom: 40px;
}

.who-pillars {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.pillar-dot {
  color: var(--teal);
  font-size: 18px;
  line-height: 1;
}

/* ── Clarity Report card ── */
.who-report-wrap {
  display: flex;
  align-items: flex-start;
}

.who-report {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 176, 138, 0.18);
  border-top-color: rgba(0, 176, 138, 0.30);
  background: rgba(4, 8, 6, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    0 0 0 0.5px rgba(0, 176, 138, 0.06),
    inset 0 1px 0 rgba(0, 176, 138, 0.10);
}

.who-rpt-hdr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 176, 138, 0.04);
}

.who-rpt-label {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.who-rpt-project {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.who-rpt-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-transform: uppercase;
  margin-top: 2px;
}

.who-rpt-ping {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: ping-anim 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

.who-rpt-rows {
  display: flex;
  flex-direction: column;
}

.who-rpt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.who-rpt-row:last-child { border-bottom: none; }

.who-rpt-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  flex-shrink: 0;
  width: 100px;
}

.who-rpt-val {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-align: right;
}

.who-rpt-ok { color: var(--teal); }
.who-rpt-warn { color: #E8A226; }

.who-rpt-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(0, 176, 138, 0.07);
  border-top: 1px solid rgba(0, 176, 138, 0.15);
}

.who-rpt-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(0, 176, 138, 0.60);
  flex-shrink: 0;
  animation: ping-anim 2s ease-in-out infinite;
}

.who-rpt-status-txt {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Keep val-pill for about.html */
.manifesto-values {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.val-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--ink-3);
  background: transparent;
  transition: border-color 0.2s, color 0.2s;
}

.val-pill:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-dim);
}

/* ============================================================
   SERVICES
============================================================ */
#services { background: var(--void); }

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-h2 {
  font-size: clamp(38px, 4.5vw, 68px);
  margin-bottom: 16px;
}

.services-sub {
  color: var(--ink);
  opacity: 0.70;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.svc-card {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
  cursor: default;
}

.svc-card:last-child { border-right: none; }

.svc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  right: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  transition: left 0.5s ease, right 0.5s ease;
}

.svc-card:hover::after { left: 0; right: 0; }
.svc-card:hover {
  background: rgba(0, 176, 138, 0.03);
}

.svc-num {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 68px;
  font-weight: 400;
  color: var(--ink-4);
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
}

.svc-icon  { font-size: 28px; margin-bottom: 20px; display: block; }
.svc-title { font-size: 28px; font-weight: 400; color: var(--ink); margin-bottom: 12px; line-height: 1.1; }
.svc-desc  { font-size: 14px; color: var(--ink); opacity: 0.70; line-height: 1.65; margin-bottom: 24px; font-weight: 400; }

.svc-deliverables { margin-top: auto; }

.svc-del-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.svc-del-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-del-list li {
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-del-list li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ============================================================
   STATS
============================================================ */
#stats {
  background: var(--void);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-item {
  padding: 60px 40px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}

/* ============================================================
   EXPERIENCE / DEMO
============================================================ */
#experience { background: var(--void); }

.exp-header  { text-align: center; margin-bottom: 36px; }
.exp-h2      { font-size: clamp(34px, 4.0vw, 58px); margin-bottom: 10px; }
.exp-sub     { color: var(--ink); opacity: 0.70; font-size: 15px; }


/* ════════════════════════════════════════
   EXPERIENCE VIEWER BLOCK
════════════════════════════════════════ */
.exp-viewer-block {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}

/* Top bar: viewpoint tabs */
.exp-view-top {
  background: rgba(9, 8, 7, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: none; /* vp-tabs has its own border */
}

.exp-mode-tabs {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.exp-mode-btn {
  padding: 6px 14px;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  background: transparent;
  color: var(--ink-3);
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.18s;
}

.exp-mode-btn:hover { color: var(--ink-1); border-color: var(--teal); }
.exp-mode-btn.active {
  background: rgba(0, 176, 138, 0.14);
  border-color: var(--teal);
  color: var(--data);
}

/* BIM filter row */
.bim-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}

.viewer-filter-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.80;
  white-space: nowrap;
}

.viewer-filter-btns {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}

/* Clear isolation button */
.clash-clear-btn {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(255, 80, 40, 0.14);
  border: 1px solid rgba(255, 80, 40, 0.35);
  border-radius: 5px;
  color: #FF6650;
  font-family: var(--font-mono);
  font-size: 10px;
  cursor: pointer;
  transition: background 0.18s;
  white-space: nowrap;
}
.clash-clear-btn:hover { background: rgba(255, 80, 40, 0.24); }

/* Dashboard hint row */
.dash-hint-row {
  display: none;
  flex: 1;
  align-items: center;
  gap: 16px;
}
.dash-hint-text {
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

/* Full-width canvas layout (no sidebar) */
.bim-split {
  display: block;
}

.bim-right-panel {
  display: none;
}
.bim-sidebar {
  display: none;
}

.bim-canvas-area {
  position: relative;
  overflow: hidden;
}

#viewer-canvas {
  display: block;
  width: 100%;
  height: 520px;
  min-height: 520px;
  cursor: default;
}

/* ── Hover Tooltip ── */
.viewer-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(4, 10, 8, 0.94);
  border: 1px solid rgba(0, 176, 138, 0.28);
  border-top-color: rgba(0, 176, 138, 0.50);
  backdrop-filter: blur(16px);
  border-radius: 8px;
  padding: 10px 14px;
  min-width: 175px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.12s, transform 0.12s;
  z-index: 30;
}
.viewer-tooltip.visible { opacity: 1; transform: translateY(0); }
.vtt-type {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}
.vtt-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 7px;
}
.vtt-props { display: flex; flex-direction: column; gap: 3px; }
.vtt-props span {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* ── Guided Tour Bar ── */
.viewer-tour {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(4, 10, 8, 0.92);
  border: 1px solid rgba(0, 176, 138, 0.28);
  border-top-color: rgba(0, 176, 138, 0.45);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  padding: 10px 18px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 30;
  white-space: nowrap;
}
.viewer-tour.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.tour-steps { display: flex; gap: 5px; align-items: center; }
.tour-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s, transform 0.2s;
}
.tour-dot.active { background: var(--teal); transform: scale(1.3); }
.tour-content { display: flex; align-items: center; gap: 10px; }
.tour-icon { font-size: 15px; color: var(--teal); line-height: 1; }
.tour-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
}
.tour-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 2px;
}
.tour-actions { display: flex; gap: 6px; align-items: center; }
.tour-next {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--void);
  background: var(--teal);
  border: none;
  border-radius: 20px;
  padding: 5px 13px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.tour-next:hover { opacity: 0.8; }
.tour-skip {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.2s;
}
.tour-skip:hover { color: var(--ink-2); }
.tour-highlight {
  outline: 2px solid rgba(0, 176, 138, 0.75) !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
}

.bim-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid rgba(0, 229, 160, 0.30);
  border-radius: 5px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--data);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--data);
  animation: pulse-dot 1.4s infinite;
}

/* Overlay label on canvas showing active clash/highlight */
.viewer-dash-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(9, 8, 7, 0.85);
  border: 1px solid var(--teal);
  border-radius: 4px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--data);
  pointer-events: none;
  white-space: nowrap;
}
.viewer-dash-label:empty { display: none; }

/* Right panel */
.bim-right-panel {
  border-left: 1px solid var(--border);
  position: relative;
  overflow-y: auto;
}


.exp-view-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.mode-panel {
  display: none;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  background: rgba(6, 6, 5, 0.96);
}
.mode-panel.active { display: flex; }

/* Sidebar sections */
.bim-sidebar { display: flex; flex-direction: column; overflow-y: auto; }

.bim-sb-section {
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border);
}
.bim-sb-section:last-child { border-bottom: none; }

.bim-sb-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.bim-sb-sub {
  font-size: 8px;
  letter-spacing: 0.04em;
  opacity: 0.7;
  text-transform: none;
}

/* Clash items */
.clash-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 6px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.18s;
}
.clash-item:hover        { background: rgba(255,255,255,0.04); }
.clash-item.highlighted  { background: rgba(255, 50, 0, 0.07); }
.clash-item.isolated     { background: rgba(255, 50, 0, 0.12); border: 1px solid rgba(255,80,40,0.3); }
.clash-item.resolved     { opacity: 0.45; cursor: default; }

.clash-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.clash-dot.red    { background: #FF3322; box-shadow: 0 0 6px rgba(255,50,30,0.5); }
.clash-dot.yellow { background: #FFAA00; box-shadow: 0 0 5px rgba(255,170,0,0.4); }
.clash-dot.green  { background: var(--data); }

.clash-item-body  { display: flex; flex-direction: column; gap: 4px; }
.clash-item-name  { font-size: 11px; color: var(--ink-2); line-height: 1.35; }
.clash-item-tag   { font-family: var(--font-mono); font-size: 9px; padding: 2px 6px; border-radius: 3px; width: fit-content; }
.critical-tag     { background: rgba(255,50,30,0.18); color: #FF6650; }
.major-tag        { background: rgba(255,170,0,0.16);  color: #FFCC66; }
.resolved-tag     { background: rgba(0,229,160,0.14); color: var(--data); }

/* Model stats */
.bim-stat-row     { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--border); font-size: 11px; }
.bim-stat-row:last-child { border-bottom: none; }
.bim-stat-label   { color: var(--ink-3); }
.bim-stat-val     { color: var(--ink-1); font-family: var(--font-mono); font-size: 11px; }
.bim-stat-val.accent-teal { color: var(--data); }

/* Dashboard KPI cards in sidebar */
.dash-kpi-card {
  padding: 10px 8px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s;
  margin-bottom: 6px;
}
.dash-kpi-card:hover     { background: rgba(255,255,255,0.04); border-color: var(--border); }
.dash-kpi-card.active-kpi { background: rgba(0,176,138,0.10); border-color: rgba(0,176,138,0.35); }

.dash-kpi-label  { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.10em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 4px; }
.dash-kpi-val    { font-size: 18px; font-weight: 700; color: var(--ink-1); margin-bottom: 3px; }
.dash-kpi-change { font-size: 10px; font-family: var(--font-mono); }
.dash-kpi-change.up      { color: var(--data); }
.dash-kpi-change.warn    { color: #FFCC44; }
.dash-kpi-change.neutral { color: var(--ink-3); }

/* Inline progress bars for dashboard */
.dash-bars { display: flex; flex-direction: column; gap: 8px; }
.dash-bar-row { display: flex; align-items: center; gap: 6px; font-size: 10px; }
.dash-bar-month { width: 24px; color: var(--ink-3); font-family: var(--font-mono); }
.dash-bar-track { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.dash-bar-fill  { height: 100%; background: var(--teal); border-radius: 2px; }
.dash-bar-pct   { width: 28px; color: var(--ink-2); font-family: var(--font-mono); text-align: right; }

.bim-tooltip { display: none; }

/* Dashboard Panel */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

.kpi-card {
  background: var(--surface-2);
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.kpi-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.kpi-val {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.kpi-change { font-size: 12px; display: flex; align-items: center; gap: 4px; }
.kpi-change.up      { color: var(--data); }
.kpi-change.neutral { color: var(--ink-3); }
.kpi-change.warn    { color: #FFB800; }


/* ============================================================
   PROCESS
============================================================ */
#process { background: var(--void); }

.process-header  { text-align: center; margin-bottom: 72px; }
.process-h2      { font-size: clamp(38px, 4.5vw, 68px); }
.process-sub     { font-size: 15px; color: var(--ink); opacity: 0.70; max-width: 540px; margin: 16px auto 0; line-height: 1.65; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(to right, var(--border), var(--teal), var(--border));
  z-index: 0;
}

.step {
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform 0.2s;
}

.step:hover { transform: translateY(-6px); }

.step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: var(--void);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  position: relative;
}

.step:hover .step-circle {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-dim);
}

.step-title { font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 12px; text-transform: uppercase; }
.step-pilot .step-circle { border-color: var(--teal); color: var(--teal); background: var(--teal-dim); }

/* ══════════════════════════════════════════════════════════
   MODE TABS  (replaces old .vp-tabs in experience section)
══════════════════════════════════════════════════════════ */
.mode-tabs {
  display: flex;
  gap: 2px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(9,8,7,0.90);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mode-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-3);
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.20s, background 0.20s, border-color 0.20s;
  white-space: nowrap;
  position: relative;
}
.mode-tab:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.04);
}
.mode-tab.active {
  color: var(--teal);
  background: rgba(0,176,138,0.09);
  border-color: rgba(0,176,138,0.28);
}
.mode-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px 2px 0 0;
  animation: mode-timer var(--mode-dur, 11s) linear forwards;
}
@keyframes mode-timer { from { width: 0; } to { width: 100%; } }
.mode-tab-icon  { font-size: 15px; line-height: 1; }
.mode-tab-label { font-size: 13px; }
.mobile-label   { display: none; }

/* ══════════════════════════════════════════════════════════
   PROPERTY CARD  (Mode 0 — Data Intelligence)
   Floats bottom-right of canvas; slides in per element
══════════════════════════════════════════════════════════ */
.prop-card {
  position: absolute;
  bottom: 52px;
  right: 16px;
  width: 238px;
  background: rgba(6,8,12,0.94);
  border: 1px solid rgba(0,176,138,0.35);
  border-top-color: rgba(0,176,138,0.55);
  border-radius: 10px;
  padding: 14px 15px;
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  z-index: 20;
}
.prop-card.visible  { opacity: 1; transform: translateY(0); }
.prop-card.exiting  { opacity: 0; transform: translateY(6px); }

.pc-type {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}
.pc-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.pc-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.pc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}
.pc-key {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  flex-shrink: 0;
}
.pc-val {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-2);
  text-align: right;
}
.pc-footer {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--data);
  border-top: 1px solid var(--border);
  padding-top: 8px;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   COORD BADGE  (Mode 1 — Section Cut indicator)
══════════════════════════════════════════════════════════ */
.coord-badge {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(0,232,200,0.10);
  border: 1px solid rgba(0,232,200,0.38);
  border-radius: 22px;
  padding: 5px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: #00E8C8;
  opacity: 0;
  transition: opacity 0.30s, transform 0.30s;
  pointer-events: none;
  z-index: 20;
  white-space: nowrap;
}
.coord-badge.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════════════════════
   COLLABORATION PANEL  (Mode 2 — Team Collaboration)
══════════════════════════════════════════════════════════ */
.collab-panel {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 272px;
  background: rgba(5,7,11,0.95);
  border: 1px solid rgba(255,130,50,0.28);
  border-top-color: rgba(255,130,50,0.50);
  border-radius: 10px;
  padding: 14px 15px;
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  z-index: 20;
  max-height: 440px;
  overflow: hidden;
}
.collab-panel.visible {
  opacity: 1;
  transform: translateX(0);
}
.collab-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.collab-sev {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FF4444;
  text-transform: uppercase;
}
.collab-num {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-3);
}
.collab-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.4;
  margin-bottom: 11px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.collab-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cc-msg {
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  animation: ccIn 0.38s ease forwards;
  animation-delay: calc(0.6s + var(--delay, 0s));
}
@keyframes ccIn { to { opacity: 1; transform: translateY(0); } }
.cc-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.cc-body  { flex: 1; min-width: 0; }
.cc-meta  {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-3);
  margin-bottom: 3px;
  line-height: 1.3;
}
.cc-meta strong { color: var(--ink-2); }
.cc-meta em     { color: var(--ink-3); font-style: normal; }
.cc-text {
  font-size: 10px;
  color: #7A8A8E;
  line-height: 1.55;
}
.collab-presence {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid var(--border);
}
.cc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.cc-live {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--data);
  margin-left: 2px;
}

/* ── Viewpoint Tabs ── */
.vp-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.vp-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 13px;
  position: relative;
  overflow: hidden;
}
.vp-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--teal);
  transform-origin: left center;
}
.vp-tab.active::after {
  animation: vp-timer 6.2s linear forwards;
}
@keyframes vp-timer {
  from { width: 0; }
  to   { width: 100%; }
}
.vp-tab:hover {
  color: var(--ink);
}
.vp-tab.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.vp-tab-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--teal);
  opacity: 0.6;
}
.vp-tab.active .vp-tab-num {
  opacity: 1;
}
.vp-tab-name {
  font-size: 13px;
  font-weight: 500;
}

/* ── Viewpoint Data Strip ── */
.vp-data-strip {
  border-top: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  min-height: 80px;
}
.vp-data-panel {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.vp-data-panel.active {
  display: grid;
}
.vp-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}
.vp-kpi:last-child {
  border-right: none;
}
.vp-kpi-val {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--ink-1);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.vp-kpi-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .vp-data-panel.active {
    grid-template-columns: repeat(2, 1fr);
  }
  .vp-tab {
    padding: 12px 16px;
  }
  .vp-tab-name {
    font-size: 11px;
  }
  #viewer-canvas {
    height: 320px !important;
    min-height: 320px !important;
  }
}

/* ============================================================
   PROJECTS
============================================================ */
#projects { background: var(--void); }

.projects-header { text-align: center; margin-bottom: 64px; }
.projects-h2     { font-size: clamp(38px, 4.5vw, 68px); }

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.proj-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: #050504;
}

.proj-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(30, 95, 255, 0.06) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(30, 95, 255, 0.06) 30px);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 8, 7, 0.9) 40%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.proj-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--teal-dim);
  border: 1px solid rgba(0, 176, 138, 0.25);
  color: var(--teal);
  text-transform: uppercase;
}

.proj-soon-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(255, 85, 0, 0.08);
  border: 1px solid rgba(255, 85, 0, 0.2);
  color: rgba(255, 85, 0, 0.6);
}

.proj-title    { font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 6px; text-transform: uppercase; }
.proj-meta     { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.proj-services { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.proj-note     { text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }

/* ============================================================
   WHO WE SERVE
============================================================ */
#audience { background: var(--void); }

.audience-header { text-align: center; margin-bottom: 64px; }
.audience-h2     { font-size: clamp(38px, 4.5vw, 68px); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.aud-card {
  background: var(--surface-2);
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.aud-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.aud-icon  { font-size: 32px; margin-bottom: 18px; display: block; }
.aud-title { font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: 12px; text-transform: uppercase; }
.aud-desc  { font-size: 14px; color: var(--ink); opacity: 0.70; line-height: 1.65; font-weight: 400; }

/* ============================================================
   FOUNDER
============================================================ */
#founder { background: var(--void); }

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: start;
}

/* Photo column */
.founder-photo-col { display: flex; flex-direction: column; gap: 0; }

.founder-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-top);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}

.founder-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.founder-id { margin-bottom: 0; }

.founder-name {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 5px;
  letter-spacing: 0.06em;
}

/* Story content side */
.founder-quote-main {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 32px;
  border-left: 2px solid var(--teal);
  padding-left: 20px;
}

.founder-li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  border: 1px solid rgba(0, 176, 138, 0.3);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  margin-top: 10px;
  transition: background 0.2s;
  cursor: none;
}

.founder-li:hover { background: var(--teal-dim); }

.founder-quote-2 {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  border-left: 2px solid var(--teal);
  padding-left: 16px;
}

.founder-story         { font-size: 15px; color: var(--ink); opacity: 0.70; line-height: 1.75; font-weight: 400; }
.founder-story p + p   { margin-top: 16px; }
.founder-story strong  { color: var(--ink); font-weight: 500; }

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.founder-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 4px;
  background: var(--ink-4);
  color: var(--ink-3);
}

/* ============================================================
   CTA
============================================================ */
#cta {
  background: var(--void);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 160px 40px;
}

#cta::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 176, 138, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.cta-h2 {
  font-size: clamp(56px, 7vw, 96px);
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 0.92;
}

.cta-sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.cta-contacts {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta-contact-item {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.cta-contact-item:hover { color: var(--ink-2); }

/* ============================================================
   FOOTER
============================================================ */
#footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 40px 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand .nav-logo { margin-bottom: 12px; }

.footer-tagline {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ink-3);
  transition: all 0.2s;
}

.footer-social a:hover { border-color: var(--teal); color: var(--teal); }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--ink-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }
.footer-location { font-size: 14px; color: var(--ink-3); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); transition: color 0.2s; }
.footer-legal a:hover { color: var(--ink-2); }

/* ============================================================
   MODAL
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(4, 4, 3, 0.75);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: rgba(18, 17, 14, 0.80);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-top);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(0, 176, 138, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-width: 520px;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-3);
  font-size: 18px;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.modal-close:hover { border-color: var(--border-2); color: var(--ink); }

.modal-title { font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: 8px; text-transform: uppercase; }
.modal-sub   { font-size: 14px; color: var(--ink-2); margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.form-input,
.form-select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus { border-color: var(--teal); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(244,237,228,0.28)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-select option { background: var(--surface-2); }

.modal-submit {
  width: 100%;
  background: var(--teal);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px;
  border-radius: 6px;
  cursor: none;
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}

.modal-submit:hover { background: var(--teal-mid); box-shadow: var(--teal-glow); }

.modal-privacy {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   COOKIE BAR
============================================================ */
#cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4000;
  background: var(--surface-2);
  border-top: 1px solid var(--border-2);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s;
}

#cookie-bar.show { transform: translateY(0); }

.cookie-text { font-size: 13px; color: var(--ink-2); flex: 1; min-width: 200px; }
.cookie-text a { color: var(--teal); text-decoration: underline; }

.cookie-btns { display: flex; gap: 8px; }

.cookie-accept {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 5px;
  border: none;
  background: var(--teal);
  color: #fff;
  cursor: none;
  transition: background 0.2s;
}

.cookie-accept:hover { background: var(--teal-mid); }

.cookie-decline {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 5px;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--ink-3);
  cursor: none;
  transition: all 0.2s;
}

.cookie-decline:hover { border-color: var(--border-2); color: var(--ink-2); }

/* ============================================================
   TOUCH DEVICES — disable custom cursor
============================================================ */
@media (pointer: coarse) {
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }
  a, button, [role="button"] { cursor: pointer; }
  .theme-toggle { cursor: pointer; }
  .btn-primary, .btn-ghost, .nav-cta,
  .founder-li, .nav-hamburger { cursor: pointer; }
}

/* ============================================================
   MOBILE NAV — hamburger button + full-screen overlay
============================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.nav-hamburger:hover { border-color: var(--border-2); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Full-screen nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--void);
  z-index: 999; /* below #nav at 1000 so hamburger stays visible */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
  padding: 11px 0;
  opacity: 0;
  transform: translateY(14px);
  transition: color 0.2s ease, opacity 0.38s ease, transform 0.38s ease;
}
.mobile-nav.open .mobile-nav-link          { opacity: 0.5; transform: translateY(0); }
.mobile-nav.open .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.open .mobile-nav-link:nth-child(2) { transition-delay: 0.09s; }
.mobile-nav.open .mobile-nav-link:nth-child(3) { transition-delay: 0.13s; }
.mobile-nav.open .mobile-nav-link:nth-child(4) { transition-delay: 0.17s; }
.mobile-nav.open .mobile-nav-link:nth-child(5) { transition-delay: 0.21s; }
.mobile-nav-link:hover,
.mobile-nav-link.nav-active { color: var(--teal); opacity: 1; }
.mobile-nav-divider {
  width: 36px;
  height: 1px;
  background: var(--border);
  margin: 24px 0 20px;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.3s 0.25s ease, transform 0.3s 0.25s ease;
}
.mobile-nav.open .mobile-nav-divider { opacity: 1; transform: scaleX(1); }
.mobile-nav-cta {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  padding: 14px 40px !important;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 176, 138, 0.20);
  opacity: 0;
  transform: translateY(10px);
  transition: background 0.2s, box-shadow 0.2s, opacity 0.35s 0.29s ease, transform 0.35s 0.29s ease;
}
.mobile-nav.open .mobile-nav-cta { opacity: 1; transform: translateY(0); }
.mobile-nav-cta:hover { background: var(--teal-mid); box-shadow: var(--teal-glow); }

/* ============================================================
   RESPONSIVE
============================================================ */

/* ── Large desktop (≤1100px) ── */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr 1fr; gap: 24px; width: calc(100% - 64px); }
}

/* ── Tablet landscape (≤960px) ── */
@media (max-width: 960px) {
  .hero-content  { grid-template-columns: 1fr; height: auto; width: calc(100% - 48px); max-width: 600px; }
  .hero-right    { display: none; }
  .h-dash        { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 40px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  #hero          { padding: 80px 0 40px; }
}

/* ── Tablet portrait + mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Nav */
  #nav           { padding: 0 20px; height: 60px; }
  .nav-links     { display: none; }
  .nav-cta       { display: none; }
  .nav-hamburger { display: flex; }

  /* Section spacing */
  section { padding: 56px 20px; }
  #cta    { padding: 72px 20px; }

  /* Containers — ensure horizontal padding on sections that use padding: X 0 */
  .container    { padding-left: 20px; padding-right: 20px; }
  .container-sm { padding-left: 20px; padding-right: 20px; }

  /* Sections with zero horizontal padding — add explicit side padding */
  #manifesto { padding: 56px 0; }
  #ticker    { padding: 14px 0; }

  /* Hero — stack single column, show 3D viewer below text */
  #hero          { height: auto !important; min-height: auto !important; padding: 100px 0 60px; }
  .hero-content  { grid-template-columns: 1fr; width: calc(100% - 40px); max-width: 100%; height: auto; gap: 32px; }
  .hero-right    { display: block; }
  .h-viewer      { height: 300px; }
  #hero-canvas   { cursor: default; }
  .hero-h1       { font-size: clamp(30px, 8.5vw, 42px); }
  .hero-sub      { font-size: 15px; max-width: 100%; }
  .hero-left     { gap: 28px; }
  .hero-ctas     { flex-direction: row; align-items: stretch; gap: 10px; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost  { flex: 1; text-align: center; justify-content: center; padding: 13px 16px; font-size: 13px; }
  .scroll-cue    { display: none; }
  .hero-tag      { display: none; }

  /* Typography — consistent mobile scale */
  .who-h2       { font-size: clamp(32px, 8vw, 44px); letter-spacing: -0.01em; margin-bottom: 20px; }
  .services-h2  { font-size: clamp(28px, 7vw, 38px); }
  .exp-h2       { font-size: clamp(26px, 7vw, 36px); }
  .projects-h2  { font-size: clamp(28px, 7vw, 38px); }
  .process-h2   { font-size: clamp(28px, 7vw, 38px); }
  .svc-title    { font-size: 22px; }
  .stat-num     { font-size: clamp(36px, 9vw, 52px); }

  /* Who we are */
  .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .who-split      { grid-template-columns: 1fr; gap: 40px; }
  .who-pillars    { flex-wrap: wrap; gap: 10px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Experience viewer */
  .bim-canvas-area  { height: 280px !important; }
  .mode-tabs        { gap: 0; }
  .mode-tab         { flex: 1; padding: 10px 8px; }
  .mode-tab-label   { font-size: 11px; }
  .desktop-label    { display: none; }
  .mobile-label     { display: inline; }
  .vp-data-panel.active { grid-template-columns: repeat(2, 1fr); }
  .vp-kpi           { padding: 14px 16px; }

  /* Prop card — smaller and pinned to top-left so viewer stays visible */
  .prop-card        { width: 180px; font-size: 11px; padding: 10px 11px; bottom: auto; top: 8px; right: auto; left: 8px; }
  .process-strip    { display: none; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }

  /* Audience */
  .audience-grid { grid-template-columns: 1fr 1fr; }

  /* Founder / about teaser */
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-strip  { flex-direction: column; text-align: center; gap: 16px; }
  .about-strip-cta { width: 100%; text-align: center; }

  /* Compare */
  .compare-grid { grid-template-columns: 1fr; }
  .compare-col.col-good { border-right: none; border-bottom: 2px solid var(--border); }

  /* Footer */
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }

  /* Cookie bar */
  #cookie-bar  { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .cookie-btns { width: 100%; }

  /* Story pillars — single column on mobile */
  .story-pillars { grid-template-columns: 1fr; }

  /* Inner page hero */
  .page-hero     { padding: 100px 20px 40px; }
  .page-hero-sub { font-size: 15px; }

  /* About page — sections have own padding rules that override generic section{} */
  .about-manifesto,
  .about-process,
  .about-founder { padding: 48px 20px; }

  /* Story pillars — force single column (overrides 3-col grid) */
  .story-pillars { grid-template-columns: 1fr !important; }

  /* CTA section */
  .cta-h2 { font-size: clamp(30px, 8vw, 52px); }
  .cta-sub { font-size: 15px; }

  /* Misc */
  .exp-tabs       { overflow-x: auto; padding-bottom: 4px; justify-content: flex-start; }
  .dash-grid      { grid-template-columns: 1fr 1fr; }
  .process-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-grid::before { display: none; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  section { padding: 48px 16px; }
  #cta    { padding: 64px 16px; }
  #nav    { padding: 0 16px; }

  /* Containers — tighter side padding on small screens */
  .container    { padding-left: 16px; padding-right: 16px; }
  .container-sm { padding-left: 16px; padding-right: 16px; }

  .hero-h1  { font-size: clamp(26px, 8vw, 36px); }
  .hero-sub { font-size: 14px; line-height: 1.65; }

  .stats-grid    { grid-template-columns: 1fr; }
  .stat-item     { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .dash-grid     { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-legal  { justify-content: center; gap: 16px; }

  .bim-canvas-area { height: 240px !important; }
  .mode-tab-icon   { display: none; }
  .h-viewer        { height: 240px; }

  .page-hero    { padding: 88px 16px 32px; }
  .page-hero-h1 { font-size: clamp(24px, 7.5vw, 36px); }

  .about-manifesto,
  .about-process,
  .about-founder { padding: 40px 16px; }

  .mobile-nav-link { font-size: 26px; padding: 9px 0; }

  .work-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LIGHT MODE — full token overrides
============================================================ */
[data-theme="light"] {
  --void: #F5F3EF;
  --surface: #EDEAE4;
  --surface-2: #E5E2DB;
  --border: rgba(0, 0, 0, 0.07);
  --border-2: rgba(0, 0, 0, 0.13);
  --teal: #007A60;
  --teal-dim: rgba(0, 122, 96, 0.10);
  --teal-glow: 0 0 28px rgba(0, 122, 96, 0.25);
  --teal-mid: #006450;
  --fire: #C84310;
  --fire-dim: rgba(200, 67, 16, 0.10);
  --data: #009968;
  --data-dim: rgba(0, 153, 104, 0.10);
  --ink: #1A1816;
  --ink-2: rgba(26, 24, 22, 0.60);
  --ink-3: rgba(26, 24, 22, 0.38);
  --ink-4: rgba(26, 24, 22, 0.07);
  --glass-bg: rgba(255, 253, 249, 0.70);
  --glass-bg-light: rgba(0, 0, 0, 0.04);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-border-top: rgba(255, 255, 255, 0.80);
  --glass-blur: blur(24px) saturate(180%);
}

/* Light mode — body & grain */
[data-theme="light"] body {
  background: var(--void);
  color: var(--ink);
}

[data-theme="light"] body::after {
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* Light mode — nav */
[data-theme="light"] #nav.scrolled {
  background: rgba(245, 243, 239, 0.80);
  border-color: var(--glass-border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 32px rgba(0,0,0,0.08);
}

/* Logo swap per theme */
.logo-light { display: none; }
.logo-dark  { display: inline; }
[data-theme="light"] .logo-light { display: inline; width: 106px; height: auto; }
[data-theme="light"] .footer-logo-img.logo-light { width: 88px; height: auto; margin-bottom: 16px; }
[data-theme="light"] .logo-dark  { display: none; }

/* Light mode — hero */
[data-theme="light"] .hero-h1 { color: var(--ink); }

[data-theme="light"] .hero-bg::before {
  background-image:
    linear-gradient(rgba(0, 122, 96, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 122, 96, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(0, 122, 96, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 122, 96, 0.015) 1px, transparent 1px);
}

/* Light mode — glass cards */
[data-theme="light"] .hero-glass-card {
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-top-color: rgba(255, 255, 255, 0.90);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.80) inset;
}

[data-theme="light"] .hgc-bar {
  background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hgc-divider {
  background: rgba(0, 0, 0, 0.07);
}

/* Light mode — ticker */
[data-theme="light"] #ticker {
  background: var(--surface);
  border-color: var(--border);
}

/* Light mode — svc cards */
[data-theme="light"] .svc-card {
  background: transparent;
  border-color: var(--border);
}

[data-theme="light"] .svc-card:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* Light mode — compare grid */
[data-theme="light"] .compare-col {
  background: var(--surface);
  border-color: var(--border);
}

[data-theme="light"] .compare-item {
  border-color: var(--border);
}

/* Light mode — insight quote */
[data-theme="light"] #insight {
  background: var(--surface);
}

/* Light mode — stats */
[data-theme="light"] .stat-item {
  border-color: var(--border);
}

/* Light mode — experience panel */
[data-theme="light"] .exp-panel {
  background: var(--surface);
  border-color: var(--border);
}

[data-theme="light"] .tab-btn {
  background: transparent;
  border-color: var(--border);
  color: var(--ink-2);
}

[data-theme="light"] .tab-btn.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* Light mode — founder */
[data-theme="light"] .founder-photo-card {
  background: var(--surface-2);
  border-color: var(--border);
}

/* Light mode — audience cards */
[data-theme="light"] .aud-card {
  background: var(--surface);
  border-color: var(--border);
}

/* Light mode — step cards */
[data-theme="light"] .step {
  background: var(--surface);
  border-color: var(--border);
}

/* Light mode — story pillars */
[data-theme="light"] .story-pillar {
  background: var(--glass-bg);
}
[data-theme="light"] .story-pillar-accent {
  background: rgba(0, 122, 96, 0.04);
}

/* Light mode — process timeline */
[data-theme="light"] .ptl-item {
  border-top-color: rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .ptl-item:hover,
[data-theme="light"] .ptl-item-accent {
  border-top-color: var(--teal);
}
[data-theme="light"] .ptl-tag {
  background: rgba(0, 0, 0, 0.04);
}

/* Light mode — CTA section */
[data-theme="light"] #cta {
  background: var(--surface-2);
}

/* Light mode — footer */
[data-theme="light"] footer {
  background: var(--surface);
  border-color: var(--border);
}

/* Light mode — modal */
[data-theme="light"] .modal-box {
  background: rgba(245, 243, 239, 0.95);
  border-color: var(--border);
}

/* Light mode — cookie bar */
[data-theme="light"] #cookie-bar {
  background: rgba(237, 234, 228, 0.95);
  border-color: var(--border);
}

/* Light mode — hf-btn */
[data-theme="light"] .hf-btn {
  background: rgba(255, 253, 249, 0.70);
  border-color: var(--border-2);
  color: var(--ink-3);
}

[data-theme="light"] .hf-btn:hover {
  background: rgba(255, 255, 255, 0.90);
  color: var(--ink-2);
}

[data-theme="light"] .hf-btn.active {
  background: rgba(0, 122, 96, 0.12);
  border-color: rgba(0, 122, 96, 0.35);
  color: var(--teal);
}

/* Light mode — project cards */
[data-theme="light"] .proj-card {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="light"] .proj-bg {
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(0, 122, 96, 0.06) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(0, 122, 96, 0.06) 30px);
}
[data-theme="light"] .proj-overlay {
  background: linear-gradient(to top, rgba(26, 24, 22, 0.55) 30%, transparent);
}
[data-theme="light"] .proj-badge {
  background: rgba(0, 122, 96, 0.10);
  border-color: rgba(0, 122, 96, 0.25);
}
[data-theme="light"] .proj-soon-badge {
  background: rgba(200, 70, 0, 0.08);
  border-color: rgba(200, 70, 0, 0.22);
  color: rgba(180, 60, 0, 0.75);
}

/* Light mode — Clarity Report card (Who We Are section) */
[data-theme="light"] .who-report {
  background: rgba(235, 232, 226, 0.90);
  border-color: rgba(0, 122, 96, 0.20);
  border-top-color: rgba(0, 122, 96, 0.35);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.10),
    0 0 0 0.5px rgba(0, 122, 96, 0.06),
    inset 0 1px 0 rgba(0, 122, 96, 0.10);
}
[data-theme="light"] .who-rpt-hdr {
  background: rgba(0, 122, 96, 0.04);
  border-bottom-color: var(--border);
}
[data-theme="light"] .who-rpt-status {
  background: rgba(0, 122, 96, 0.06);
  border-top-color: rgba(0, 122, 96, 0.15);
}
[data-theme="light"] .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(18,17,14,0.35)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
}

/* Smooth theme transition */
html {
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* ============================================================
   HERO — 3D VIEWER PANEL  (right column)
============================================================ */
.h-viewer {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; /* flat bottom — merges with dash */
  border: 1px solid rgba(0, 176, 138, 0.18);
  border-top-color: rgba(0, 176, 138, 0.32);
  border-bottom: none;
  background: rgba(4, 7, 6, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow:
    0 0 0 0.5px rgba(0, 176, 138, 0.08),
    inset 0 1px 0 rgba(0, 176, 138, 0.12);
  min-height: 0;
}

.h-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0, 176, 138, 0.12);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: rgba(0, 176, 138, 0.70);
  background: rgba(0, 176, 138, 0.04);
  flex-shrink: 0;
}

.h-viewer-live {
  color: var(--teal);
  animation: hv-pulse 2.2s ease-in-out infinite;
}

@keyframes hv-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

.h-viewer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-top: 1px solid rgba(0, 176, 138, 0.10);
  background: rgba(0, 176, 138, 0.03);
  flex-shrink: 0;
}

.h-leg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.h-leg-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.h-viewer-hint {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

/* ============================================================
   HERO — LIVE CONSTRUCTION DASHBOARD  (left column, below CTAs)
============================================================ */
.h-dash {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); /* flat top — connects to viewer */
  border: 1px solid rgba(0, 176, 138, 0.18);
  border-top: 1px solid rgba(0, 176, 138, 0.10);
  background: rgba(3, 6, 5, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 20px 18px;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.50),
    0 0 0 0.5px rgba(0, 176, 138, 0.08);
  flex-shrink: 0;
}

.h-dash-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.h-dash-project {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.h-dash-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.h-dash-ping {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: ping-anim 1.8s ease-in-out infinite;
}

@keyframes ping-anim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.5; }
}

/* Phase row */
.h-dash-phase-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.h-dash-phase-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  opacity: 0.60;
  flex-shrink: 0;
}

.h-dash-phase-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.h-dash-phase-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(208, 88, 24, 0.14);
  color: #D05818;
  border: 1px solid rgba(208, 88, 24, 0.30);
  flex-shrink: 0;
}

/* Timeline track */
.h-dash-track-wrap {
  margin-bottom: 6px;
}

.h-dash-track-bg {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: visible;
  margin-bottom: 14px;
}

.h-dash-track-fill {
  position: absolute;
  inset: 0;
  right: auto;
  width: 0%;
  background: linear-gradient(90deg, #00B08A, #00E0A4);
  border-radius: 3px;
  transition: width 0.12s linear;
}

.h-dash-track-fill::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00E0A4;
  box-shadow: 0 0 8px rgba(0, 224, 164, 0.70);
}

/* Milestone ticks */
.h-ms-tick {
  position: absolute;
  top: 10px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  white-space: nowrap;
}

.h-ms-tick::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 6px;
  background: rgba(255, 255, 255, 0.14);
}

/* Days row (below progress bar) */
.h-dash-days-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

/* Pct — inline in phase row */
.h-dash-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--teal);
  line-height: 1;
  margin-left: auto;
  white-space: nowrap;
}

.h-dash-days {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

/* KPI grid */
.h-dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0;
}

.h-kpi {
  padding: 10px 12px;
  background: rgba(4, 8, 6, 0.55);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.h-kpi-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.h-kpi-warn { color: #E85D26; }

.h-kpi-lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  color: var(--ink-3);
  white-space: nowrap;
}

/* Activity log */
.h-dash-log {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 42px;
  overflow: hidden;
}

.h-log-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  line-height: 1.4;
}

.h-log-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.55;
  flex-shrink: 0;
}

/* ── Light mode overrides ── */
[data-theme="light"] .h-viewer {
  background: rgba(240, 238, 234, 0.80);
  border-color: rgba(0, 122, 96, 0.18);
  border-top-color: rgba(0, 122, 96, 0.30);
  border-bottom: none;
}

[data-theme="light"] .h-viewer-bar {
  background: rgba(0, 122, 96, 0.05);
  border-color: rgba(0, 122, 96, 0.12);
  color: rgba(0, 122, 96, 0.70);
}

[data-theme="light"] .h-dash {
  background: rgba(235, 232, 226, 0.72);
  border-color: rgba(0, 122, 96, 0.16);
  border-top-color: rgba(0, 122, 96, 0.28);
}

[data-theme="light"] .h-kpi { background: rgba(235, 232, 226, 0.60); }

[data-theme="light"] .h-dash-pct { color: var(--teal); }

[data-theme="light"] .h-dash-track-bg { background: rgba(0, 0, 0, 0.08); }

[data-theme="light"] .h-viewer-footer { background: rgba(0, 122, 96, 0.04); }

/* ── Light mode: Experience viewer tabs & overlays ── */
[data-theme="light"] .mode-tabs {
  background: rgba(240, 238, 232, 0.96);
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .mode-tab {
  color: rgba(26, 24, 22, 0.55);
}
[data-theme="light"] .mode-tab:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .mode-tab.active {
  color: var(--teal);
  background: rgba(0, 122, 96, 0.09);
  border-color: rgba(0, 122, 96, 0.26);
}
[data-theme="light"] .mode-tab.active::after {
  background: var(--teal);
}

/* Property card — light */
[data-theme="light"] .prop-card {
  background: rgba(252, 250, 246, 0.97);
  border-color: rgba(0, 122, 96, 0.22);
  border-top-color: rgba(0, 122, 96, 0.42);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10), 0 1px 0 rgba(255, 255, 255, 0.80) inset;
}
[data-theme="light"] .pc-footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

/* Section cut badge — light */
[data-theme="light"] .coord-badge {
  background: rgba(0, 122, 96, 0.09);
  border-color: rgba(0, 122, 96, 0.32);
  color: var(--teal);
}

/* Collaboration panel — light */
[data-theme="light"] .collab-panel {
  background: rgba(252, 250, 246, 0.97);
  border-color: rgba(200, 67, 16, 0.22);
  border-top-color: rgba(200, 67, 16, 0.42);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10), 0 1px 0 rgba(255, 255, 255, 0.80) inset;
}
[data-theme="light"] .collab-title {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .cc-text {
  color: rgba(26, 24, 22, 0.50);
}
[data-theme="light"] .cc-meta {
  color: rgba(26, 24, 22, 0.45);
}
[data-theme="light"] .cc-meta strong { color: var(--ink); }

/* bim-badge — light */
[data-theme="light"] .bim-badge {
  background: rgba(240, 238, 232, 0.90);
  color: var(--teal);
  border-color: rgba(0, 122, 96, 0.18);
}
[data-theme="light"] .bim-badge .live-dot {
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 122, 96, 0.18);
}

/* Viewer canvas area bg — light */
[data-theme="light"] .bim-canvas-area {
  background: #F0EDE6;
}

/* Viewer tooltip — light */
[data-theme="light"] .viewer-tooltip {
  background: rgba(252, 250, 246, 0.97);
  border-color: rgba(0, 0, 0, 0.10);
  color: var(--ink);
}

/* Data strip — light */
[data-theme="light"] .vp-data-strip {
  background: rgba(240, 238, 232, 0.80);
  border-color: rgba(0, 0, 0, 0.07);
}
[data-theme="light"] .vp-kpi-val {
  color: var(--ink);
}
[data-theme="light"] .vp-kpi-label {
  color: var(--ink-3);
}


/* ============================================================
   BELIEF — merged insight + manifesto section
============================================================ */
.belief-quote-wrap {
  text-align: center;
  margin-bottom: 56px;
}

/* ============================================================
   PROCESS STRIP — compact 4-step inline strip
============================================================ */
#process {
  padding: 28px 0;
}

.process-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  background: transparent;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  flex-wrap: wrap;
}

.ps-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-shrink: 0;
}

.ps-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  flex-wrap: wrap;
}

.ps-step {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.ps-step em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  margin-right: 6px;
}

.ps-step-pilot {
  color: var(--ink);
  position: relative;
}

.ps-step-pilot::after {
  content: 'PILOT';
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(0,176,138,0.25);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 6px;
  vertical-align: middle;
}

.ps-arrow {
  color: var(--ink-3);
  font-size: 14px;
  flex-shrink: 0;
}

.ps-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  text-decoration: none;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.ps-link:hover { opacity: 1; }

/* ============================================================
   PROJECTS FOOTER — view all link
============================================================ */
.proj-footer {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   ABOUT STRIP — slim founder teaser
============================================================ */
.about-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.about-strip-photo {
  flex-shrink: 0;
}

.about-strip-photo img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0,176,138,0.25);
}

.about-strip-content {
  flex: 1;
}

.about-strip-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-strip-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  border: none;
  padding: 0;
  margin: 0;
}

.about-strip-cta {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .about-strip {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .process-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .ps-steps {
    gap: 8px;
  }
}

/* ============================================================
   INNER PAGE — shared styles for about.html / work.html
============================================================ */
.page-hero {
  padding: 140px 0 72px;
  text-align: center;
}

.page-hero-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: block;
}

.page-hero-h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.page-hero-sub {
  font-size: 17px;
  color: var(--ink);
  opacity: 0.70;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── About page specific ── */
.about-manifesto {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════════
   STORY PILLARS  (About — Belief / Vision / Mission)
══════════════════════════════════════════════════════════ */
.story-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.story-pillar {
  padding: 40px 36px;
  background: var(--void);
  transition: background 0.20s;
}
.story-pillar:hover {
  background: var(--surface);
}
.story-pillar-accent {
  background: var(--surface);
  border-left: 3px solid var(--teal);
  padding-left: 33px;
}
.story-pillar-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.story-pillar-text {
  font-size: 15px;
  line-height: 1.70;
  color: var(--ink);
  font-weight: 300;
}
/* ══════════════════════════════════════════════════════════
   FOUNDER JOURNEY  (numbered narrative steps)
══════════════════════════════════════════════════════════ */
.founder-journey {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}
.journey-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.journey-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(0,176,138,0.20);
  border-radius: 6px;
  padding: 4px 9px;
  margin-top: 2px;
}
.journey-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.journey-text {
  font-size: 14px;
  line-height: 1.70;
  color: var(--ink);
  font-weight: 300;
  opacity: 0.72;
}
.journey-text strong { opacity: 1; font-weight: 500; }

/* ══════════════════════════════════════════════════════════
   PROCESS TIMELINE  (Services — How We Work)
══════════════════════════════════════════════════════════ */
.process-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-top: 60px;
}
.ptl-connector {
  width: 1px;
  min-height: 120px;
  background: linear-gradient(to bottom, var(--teal), var(--border));
  margin: 20px auto 0;
  opacity: 0.45;
}
.ptl-item {
  padding: 0 16px 40px;
  border-top: 2px solid var(--border-2);
  padding-top: 24px;
  transition: border-color 0.20s;
}
.ptl-item:hover {
  border-top-color: var(--teal);
}
.ptl-item-accent {
  border-top-color: var(--teal);
}
.ptl-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.ptl-num-accent {
  color: var(--teal);
}
.ptl-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ptl-desc {
  font-size: 13px;
  line-height: 1.70;
  color: var(--ink);
  font-weight: 400;
  opacity: 0.68;
  margin-bottom: 16px;
}
.ptl-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
}
.ptl-tag-accent {
  color: var(--teal);
  background: var(--teal-dim);
  border-color: rgba(0,176,138,0.20);
}
@media (max-width: 900px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .ptl-connector {
    width: 40px;
    height: 1px;
    min-height: auto;
    background: linear-gradient(to right, var(--teal), var(--border));
    margin: 0 0 0 16px;
    transform: rotate(90deg);
    transform-origin: left center;
    display: none;
  }
}

/* ── dark mode step text readability fix (legacy .step-desc) ── */
.step-desc {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.70;
  line-height: 1.65;
  font-weight: 400;
}

.about-process {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.about-founder {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

/* ── Work page specific ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.work-note {
  text-align: center;
  margin-top: 48px;
  color: var(--ink-3);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.proj-card-placeholder {
  border-style: dashed;
  background: transparent;
  min-height: 260px;
}
