/* ================================================
   6N7  ·  Styles
   Palette —
     --ground  : #F6F1E9  (warm cream)
     --text    : #1C1712  (warm near-black)
     --accent  : #9E6537  (cognac / warm sienna)
     --dark-bg : #100D0A  (deep dark for AI section)
   ================================================ */

/* ── Custom Properties ──────────────────────────── */
:root {
  --ground  : #F6F1E9;
  --text    : #1C1712;
  --accent  : #9E6537;
  --muted   : rgba(28, 23, 18, 0.50);
  --border  : rgba(28, 23, 18, 0.11);
  --card-bg : rgba(28, 23, 18, 0.045);
  --dark-bg : #100D0A;

  --f-intro   : 'Bebas Neue', sans-serif;
  --f-display : 'Syne', sans-serif;
  --f-body    : 'DM Sans', sans-serif;
  --f-mono    : 'Space Mono', monospace;

  --ease-out : cubic-bezier(0.16, 1, 0.3, 1);
  --t        : 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  --max-w : 1160px;
  --pad   : clamp(1.25rem, 4vw, 2.5rem);
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar { display: none; }

body {
  background: var(--ground);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none;
}

body::-webkit-scrollbar { display: none; }

/* ── Eyebrow label ──────────────────────────────── */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

.eyebrow--light {
  color: rgba(158, 101, 55, 0.85);
}

/* ── Buttons ────────────────────────────────────── */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 3px;
  transition: background var(--t), transform var(--t), color var(--t), border-color var(--t);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: var(--ground);
  padding: 0.8rem 1.75rem;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-primary.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* Cream variant for dark backgrounds */
.btn-cream {
  background: var(--ground);
  color: var(--text);
}

.btn-cream:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
}

.btn-secondary:hover {
  background: var(--card-bg);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t);
}

.btn-ghost:hover { color: var(--text); }

.btn-ghost--cream {
  color: rgba(246, 241, 233, 0.65);
}

.btn-ghost--cream:hover {
  color: var(--ground);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}

.btn-primary:hover .btn-arrow,
.btn-cream:hover .btn-arrow,
.btn-secondary:hover .btn-arrow,
.btn-ghost:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── Headline curtain-reveal utility ────────────── */
.reveal-line {
  display: block;
  overflow: hidden;
  line-height: inherit;
}
.reveal-text {
  display: block;
  will-change: transform;
}

/* ================================================
   INTRO OVERLAY
   ================================================ */
#intro {
  position: fixed;
  inset: 0;
  background: var(--ground);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow: hidden;
}

#intro-stage {
  display: flex;
  align-items: center;
  gap: 0;
  user-select: none;
}

.ic-wrap {
  display: inline-block;
  overflow: hidden;
  line-height: 1;
}

.ic {
  font-family: var(--f-intro);
  font-size: clamp(90px, 17vw, 260px);
  line-height: 1;
  color: var(--text);
  display: inline-block;
  will-change: transform;
}

#intro-loader {
  position: absolute;
  top: calc(50% + 12rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  opacity: 0;
  pointer-events: none;
}

#intro-bar {
  width: 140px;
  height: 1.5px;
  background: rgba(28, 23, 18, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

#intro-bar-fill {
  height: 100%;
  width: 0%;
  background: #9E6537;
  border-radius: 2px;
}

#intro-pct {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: rgba(28, 23, 18, 0.35);
}

#skip-btn {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(28, 23, 18, 0.30);
  background: none;
  border: 1px solid rgba(28, 23, 18, 0.12);
  padding: 0.45rem 1rem;
  border-radius: 3px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

#skip-btn:hover {
  color: rgba(28, 23, 18, 0.65);
  border-color: rgba(28, 23, 18, 0.30);
}

#intro-desktop-hint {
  display: none;
  position: absolute;
  top: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28, 23, 18, 0.42);
  pointer-events: none;
}

@media (max-width: 700px) {
  #intro-desktop-hint { display: block; }
}

/* ================================================
   SITE WRAPPER
   ================================================ */
#site {
  opacity: 0;
  visibility: hidden;
}

/* ================================================
   NAVIGATION
   ================================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
  transition: none;
}

#nav.solid {
  background: rgba(246, 241, 233, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
  padding: 1rem 0;
}

/* Nav on dark (over video) */
#nav.on-dark .nav-logo       { color: var(--ground); }
#nav.on-dark .nav-menu-btn   { color: var(--ground); }
#nav.on-dark .nav-menu-lines span { background: var(--ground); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--f-intro);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-logo:hover { color: var(--accent); }

/* Menu button */
.nav-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 0;
  transition: color 0.2s;
}

.nav-menu-btn:hover { color: var(--accent); }

.nav-menu-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-menu-lines span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: background 0.2s, transform 0.3s ease, opacity 0.3s ease;
}

.nav-menu-text {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Nav overlay ── */
#nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(28, 23, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.nav-ol-inner {
  background: var(--text);
  border-radius: 12px;
  width: min(480px, calc(100vw - 2rem));
  overflow: hidden;
  transform: translateY(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#nav-overlay.open .nav-ol-inner {
  transform: translateY(0);
}

.nav-ol-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(246, 241, 233, 0.08);
}

.nav-logo--ol {
  color: var(--ground);
}
.nav-logo--ol:hover { color: var(--accent); }

.nav-ol-close {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(246, 241, 233, 0.45);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0;
}

.nav-ol-close:hover { color: var(--ground); }

.nav-ol-close-x {
  font-size: 0.95rem;
  font-family: var(--f-body);
}

/* Nav links inside popup */
.nav-ol-links {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}

.nav-ol-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(246, 241, 233, 0.7);
  text-decoration: none;
  padding: 0.7rem 1.75rem;
  border-bottom: 1px solid rgba(246, 241, 233, 0.06);
  transition: color 0.18s ease, background 0.18s ease;
  line-height: 1.2;
}

.nav-ol-link:last-child { border-bottom: none; }

.nav-ol-link:hover {
  color: var(--ground);
  background: rgba(246, 241, 233, 0.04);
}

.nav-ol-num {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.10em;
  color: rgba(246, 241, 233, 0.22);
  flex-shrink: 0;
  width: 1.8rem;
  transition: color 0.18s;
}

.nav-ol-link:hover .nav-ol-num { color: var(--accent); }

.nav-ol-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid rgba(246, 241, 233, 0.08);
}

/* ================================================
   HERO — SPLIT LAYOUT
   ================================================ */
#hero {
  height: 100vh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6.5rem var(--pad) 4rem;
}

/* Full-screen background video */
.hero-bg-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.58) 30%,
    rgba(0, 0, 0, 0.18) 58%,
    transparent 78%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-copy { max-width: 600px; }

#hero .eyebrow--light { color: #fff; }

#hero h1 {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: var(--ground);
  margin-bottom: 1.25rem;
}

#hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.9rem, 1.3vw, 1.02rem);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-tag {
  font-family: var(--f-mono);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.26rem 0.65rem;
  border-radius: 2px;
}

.hero-tag--light {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Pulsing accent line at bottom */
.signal-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.2;
  animation: signalPulse 5s ease-in-out infinite;
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.08; transform: scaleX(0.6); }
  50%       { opacity: 0.28; transform: scaleX(1); }
}

/* Scroll down indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
  animation: heroScrollFade 2.4s ease-in-out infinite;
}

.hero-scroll-label {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  animation: heroScrollBounce 2.4s ease-in-out infinite;
}

@keyframes heroScrollFade {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ================================================
   TICKER
   ================================================ */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
  background: rgba(28, 23, 18, 0.02);
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 3rem;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-sep { color: var(--accent); }

/* ================================================
   PROCESS
   ================================================ */
#process {
  height: 380vh;
  border-top: 1px solid var(--border);
}

/* Process scene — sticky scroll */
.process-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  overflow: hidden;
  background: var(--ground);
}

.proc-heading h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}

/* Horizontal timeline rail */
.proc-rail {
  width: 100%;
}

.proc-line {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(28, 23, 18, 0.10);
  border-radius: 2px;
}

.proc-fill {
  position: absolute;
  top: 0; left: 0;
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.proc-dot {
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 2px;
  height: 16px;
  border-radius: 1px;
  background: rgba(28, 23, 18, 0.18);
  transition: background 0.3s ease, height 0.3s ease;
}

.proc-dot[data-dot="1"] { left: 0%; }
.proc-dot[data-dot="2"] { left: 50%; }
.proc-dot[data-dot="3"] { left: 100%; }

.proc-dot.active {
  background: var(--accent);
  height: 22px;
}

.proc-dot.done {
  background: rgba(158, 101, 55, 0.55);
}

/* Stage content area */
.proc-stages {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.proc-stage {
  will-change: transform, opacity;
}

.proc-stage-num {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.10em;
  display: block;
  margin-bottom: 0.75rem;
}

.proc-stage h3 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.proc-stage p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 540px;
}

/* ================================================
   AI SHOWCASE
   ================================================ */
#ai {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

#ai::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 23, 18, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 23, 18, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

#ai::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(ellipse, rgba(158, 101, 55, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

#ai .section-inner { position: relative; z-index: 1; }

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.ai-copy h2 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.ai-copy p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.ai-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ai-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text);
}

.ai-feature-icon {
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Demo window */
.ai-demo-wrap { position: relative; }

.demo-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(158, 101, 55, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.demo-window {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 12px 40px rgba(28, 23, 18, 0.1),
    0 2px 8px rgba(28, 23, 18, 0.06),
    0 0 0 1px rgba(158, 101, 55, 0.08);
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--ground);
}

.demo-dots {
  display: flex;
  gap: 5px;
}

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  display: block;
}

.demo-title {
  flex: 1;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-mono);
  font-size: 0.56rem;
  color: #5a9471;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5a9471;
  display: inline-block;
  animation: statusPulse 2.4s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.4; transform: scale(0.82); }
}

.demo-body {
  padding: 1.25rem;
  height: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--ground);
  scroll-behavior: smooth;
}

.demo-body::-webkit-scrollbar { width: 4px; }
.demo-body::-webkit-scrollbar-track { background: transparent; }
.demo-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.demo-msg {
  max-width: 88%;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-family: var(--f-body);
  font-size: 0.81rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.demo-msg.user {
  align-self: flex-end;
  background: var(--text);
  color: var(--ground);
  border-radius: 8px 8px 2px 8px;
}

.demo-msg.ai {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px 8px 8px 2px;
  color: var(--text);
}

.demo-thinking {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px 8px 8px 2px;
  color: var(--muted);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  padding: 0.7rem 1.1rem;
  animation: thinkPulse 1.2s ease-in-out infinite;
}

@keyframes thinkPulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1;    }
}

.demo-input-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--ground);
}

.demo-placeholder {
  flex: 1;
  font-size: 0.79rem;
  color: rgba(28, 23, 18, 0.22);
  font-family: var(--f-body);
}

.demo-cursor {
  color: var(--accent);
  font-weight: 300;
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.demo-suggestions {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  background: rgba(28, 23, 18, 0.015);
}

.demo-chip {
  font-family: var(--f-mono);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border);
  padding: 0.28rem 0.72rem;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
}

.demo-chip:hover,
.demo-chip.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(158, 101, 55, 0.07);
}

/* ================================================
   SHARED SECTION LAYOUT
   ================================================ */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-header { margin-bottom: 3.5rem; }

.section-header h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ================================================
   ABOUT — EDITORIAL DARK BENTO
   ================================================ */
#about {
  padding: 7rem 0;
  border-top: 1px solid rgba(246, 241, 233, 0.07);
  background: #1C1712;
  position: relative;
  overflow: hidden;
}

/* Subtle grid overlay */
#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 241, 233, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 233, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

/* Ghost "6N7" watermark behind content */
.about-wordmark {
  position: absolute;
  bottom: -0.14em;
  right: -0.04em;
  font-family: var(--f-intro);
  font-size: clamp(14rem, 30vw, 28rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(246, 241, 233, 0.045);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.about-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-header {
  max-width: 600px;
}

.about-header h2 {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ground);
  margin-top: 0.75rem;
}

.about-header h2 em {
  font-style: normal;
  color: var(--accent);
}

/* ── Bento grid ── */
.about-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "copy s1   s2"
    "copy s3   mani";
  gap: 1px;
  background: rgba(246, 241, 233, 0.07);
  border: 1px solid rgba(246, 241, 233, 0.07);
  border-radius: 12px;
  overflow: hidden;
  min-height: 380px;
}

.about-cell {
  background: #1C1712;
  padding: 2.5rem;
}

/* Copy cell — spans both rows */
.about-cell--copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.about-copy-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-cell--copy p {
  font-size: 0.95rem;
  color: rgba(246, 241, 233, 0.52);
  line-height: 1.85;
}

/* Stat cells */
.about-cell--s1 { grid-area: s1; background: rgba(246, 241, 233, 0.02); }
.about-cell--s2 { grid-area: s2; background: rgba(246, 241, 233, 0.02); }
.about-cell--s3 { grid-area: s3; background: rgba(246, 241, 233, 0.02); }

.about-cell--s1,
.about-cell--s2,
.about-cell--s3 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  transition: background 0.25s ease;
}

.about-cell--s1:hover,
.about-cell--s2:hover,
.about-cell--s3:hover {
  background: rgba(246, 241, 233, 0.04);
}

.about-stat-n {
  font-family: var(--f-intro);
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1;
  color: var(--ground);
  letter-spacing: -0.01em;
  display: block;
}

.about-stat-l {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 241, 233, 0.3);
  display: block;
}

/* Manifesto / quote cell */
.about-cell--mani {
  grid-area: mani;
  background: rgba(158, 101, 55, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.about-mani-origin {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}

.about-mani-q {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: rgba(246, 241, 233, 0.62);
  margin: 0;
}

/* Responsive */
@media (max-width: 860px) {
  .about-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "copy copy"
      "s1   s2"
      "s3   mani";
    min-height: unset;
  }
}

@media (max-width: 560px) {
  .about-bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "s1"
      "s2"
      "s3"
      "mani";
  }
}

/* ================================================
   CONTACT
   ================================================ */
#contact {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  bottom: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(158, 101, 55, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

#contact h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.contact-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 400px;
  line-height: 1.8;
}

/* ── Contact mailto button (mobile only) ── */
.contact-mailto-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--text);
  color: var(--ground);
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 8px;
}

/* ── Contact form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cf-row {
  display: flex;
  gap: 1rem;
}

.cf-row--2 .cf-field {
  flex: 1;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.cf-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.cf-req {
  color: var(--accent);
}

.cf-field input,
.cf-field textarea {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--f-body);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: vertical;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: rgba(28, 23, 18, 0.3);
}

.cf-field input:focus,
.cf-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(158, 101, 55, 0.12);
}

.cf-field input.cf-error,
.cf-field textarea.cf-error {
  border-color: #c0392b;
}

.cf-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.cf-submit {
  flex-shrink: 0;
}

.cf-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cf-status {
  font-size: 0.88rem;
  line-height: 1.5;
}

.cf-status--ok {
  color: #2e7d4f;
}

.cf-status--err {
  color: #c0392b;
}

@media (max-width: 860px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-header {
    position: static;
  }
  .cf-row--2 {
    flex-direction: column;
  }
}

/* ================================================
   FOOTER
   ================================================ */
#footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--f-intro);
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.footer-copy {
  font-family: var(--f-mono);
  font-size: 0.63rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ================================================
   DATA FLOW DIAGRAM
   ================================================ */
#flow {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

#flow .section-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.flow-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 195px 400px 175px;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  justify-content: center;
  align-items: center;
  min-height: 560px;
  margin-top: 1.75rem;
}

.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

/* Sources */
.flow-sources-col {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  position: relative;
  z-index: 2;
}

.flow-source {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  box-shadow: 0 2px 8px rgba(28, 23, 18, 0.05);
}

.flow-src-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 0.48rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0;
}

.flow-src-name {
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--text);
}

/* Center card */
.flow-center-col {
  position: relative;
  z-index: 2;
  padding: 0 1.25rem;
}

.flow-center-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(28, 23, 18, 0.1),
    0 2px 8px rgba(28, 23, 18, 0.06);
}

.flow-card-hdr {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: var(--ground);
}

.flow-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(158, 101, 55, 0.18);
  border: 1px solid rgba(158, 101, 55, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-intro);
  font-size: 0.52rem;
  color: var(--accent);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.flow-card-title {
  flex: 1;
  font-family: var(--f-mono);
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.flow-pct {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  min-width: 3.5ch;
  text-align: right;
}

.flow-card-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 0.5rem;
  letter-spacing: 0.09em;
  color: #5a9471;
  padding: 0.18rem 0.5rem;
  background: rgba(90, 148, 113, 0.1);
  border: 1px solid rgba(90, 148, 113, 0.22);
  border-radius: 2px;
  white-space: nowrap;
}

.flow-card-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5a9471;
  flex-shrink: 0;
  animation: statusPulse 2.4s ease-in-out infinite;
}

.flow-bars {
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: #fff;
}

.flow-bar-row { display: flex; flex-direction: column; gap: 0.28rem; }

.flow-bar-label {
  font-family: var(--f-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.flow-bar-track {
  height: 5px;
  background: rgba(28, 23, 18, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.flow-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--bar-color, var(--accent));
  border-radius: 3px;
}

.flow-card-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}

.flow-bottom-cell {
  background: var(--ground);
  padding: 0.85rem 1rem;
}

.flow-bottom-label {
  font-family: var(--f-mono);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.32rem;
}

.flow-bottom-val {
  font-size: 0.74rem;
  color: var(--text);
  line-height: 1.4;
}

/* ================================================
   SCROLL INDICATOR
   ================================================ */
#scroll-indicator {
  position: fixed;
  left: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.6s ease;
}

#scroll-indicator.visible {
  opacity: 1;
}

.si-track {
  position: relative;
  width: 2px;
  height: 70vh;
  background: transparent;
  border-radius: 2px;
  cursor: ns-resize;
  /* wider hit area without changing visual width */
  padding: 0 8px;
  margin: 0 -8px;
  box-sizing: content-box;
}

.si-fill {
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  height: 0%;
  background: var(--accent);
  border-radius: 2px;
  will-change: height;
  pointer-events: none;
}

.si-dots {
  position: absolute;
  inset: 0 8px;
  pointer-events: none;
}

.si-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(28, 23, 18, 0.18);
  transition: background 0.35s ease, transform 0.35s ease;
  pointer-events: auto;
  cursor: pointer;
}

.si-dot.active {
  background: var(--accent);
  transform: translateX(-50%) translateY(-50%) scale(1.55);
}

.si-dot.passed {
  background: rgba(158, 101, 55, 0.45);
}

.si-track.dragging { cursor: grabbing; }
.si-track.dragging * { pointer-events: none; }

@media (max-width: 1100px) {
  #scroll-indicator { display: none; }
}

.flow-card-tags {
  display: flex;
  gap: 0.45rem;
  padding: 0.72rem 1.2rem;
  border-top: 1px solid var(--border);
  background: var(--ground);
}

.flow-card-tag {
  font-family: var(--f-mono);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  color: rgba(90, 148, 113, 0.9);
  padding: 0.18rem 0.5rem;
  background: rgba(90, 148, 113, 0.07);
  border: 1px solid rgba(90, 148, 113, 0.2);
  border-radius: 2px;
}

/* Output card */
.flow-output-col {
  position: relative;
  z-index: 2;
}

.flow-output-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  box-shadow: 0 12px 40px rgba(28, 23, 18, 0.1);
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
}

.flow-out-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(158, 101, 55, 0.08);
  border: 1px solid rgba(158, 101, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.15rem;
  color: var(--accent);
}

.flow-out-title {
  font-family: var(--f-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.flow-out-sub {
  font-family: var(--f-mono);
  font-size: 0.53rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

/* ================================================
   OWNERSHIP DEPTHS — CSS sticky scrollytelling
   ================================================ */
#ownership {
  border-top: 1px solid var(--border);
  height: 380vh; /* scroll distance for all 3 card transitions */
}

.ownership-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  background: var(--ground); /* prevent bleed from sections scrolling behind */
  overflow: hidden; /* clips cards that start below the viewport */
}

/* Left column */
.own-left {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.own-heading .eyebrow { margin-bottom: 1rem; }

.own-heading h2 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

/* Scroll wheel SVG */
.own-wheel-wrap {
  display: flex;
  align-items: center;
}

.own-arc {
  stroke: rgba(28, 23, 18, 0.12);
  transition: stroke 0.55s ease;
}

.own-arc.active { stroke: var(--accent); }
.own-arc.done   { stroke: rgba(158, 101, 55, 0.30); }

/* Right: card stack */
.own-stack {
  position: relative;
  height: 420px;
  max-width: 580px;
  width: 100%;
}

.own-card {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.own-card-inner {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.75rem 2.5rem;
  box-shadow:
    0 28px 72px rgba(28, 23, 18, 0.14),
    0 4px 16px rgba(28, 23, 18, 0.07);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.own-card-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 55%);
  opacity: 0.4;
}

.own-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.own-card-path {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.own-card-status {
  font-family: var(--f-mono);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 2px;
}

.own-status--live {
  color: #5a9471;
  background: rgba(90, 148, 113, 0.1);
  border: 1px solid rgba(90, 148, 113, 0.22);
}

.own-status--dev {
  color: #5491b4;
  background: rgba(84, 145, 180, 0.1);
  border: 1px solid rgba(84, 145, 180, 0.22);
}

.own-status--early {
  color: var(--accent);
  background: rgba(158, 101, 55, 0.1);
  border: 1px solid rgba(158, 101, 55, 0.22);
}

.own-card-inner h3 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.own-card-sub {
  font-size: 0.98rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: block;
}

.own-card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.82;
  flex: 1;
}

.own-card-idx {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.58rem;
  color: rgba(28, 23, 18, 0.22);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .ai-copy h2 { font-size: clamp(2rem, 5vw, 3rem); }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-accent { flex-direction: row; justify-content: flex-start; gap: 1.5rem; }
  .why-nums { font-size: clamp(4rem, 10vw, 7rem); }
}


@media (max-width: 900px) {
  .flow-diagram {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
  }
  .flow-sources-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .flow-center-col { padding: 0; }
  .flow-output-card { opacity: 1 !important; transform: none !important; }
  .cards { grid-template-columns: 1fr; }

  /* ── AI section: fit on one phone screen ── */
  #ai { padding: 2.5rem 0; }
  .ai-grid { gap: 1rem; }
  .ai-copy h2 { font-size: 1.7rem; margin-bottom: 0.5rem; }
  .ai-copy > p { display: none; }
  .ai-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.75rem;
  }
  .ai-feature-item { font-size: 0.78rem; gap: 0.4rem; }
  .demo-window { height: 280px; }
  .demo-body { overflow-y: hidden; }

  #ownership { height: 260vh; }
  .ownership-scene {
    position: sticky;
    top: 0;
    height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    padding: 5rem var(--pad) 1rem;
    align-items: start;
    overflow: hidden;
  }
  .own-wheel-wrap { display: none; }
  .own-left { gap: 0; }
  .own-heading .eyebrow { margin-bottom: 0.2rem; }
  .own-heading h2 { font-size: 1.85rem; }
  .own-stack {
    position: relative;
    height: 340px;
    overflow: hidden;
    max-width: 100%;
  }
  .own-card {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
  }
  .own-card-ghost { display: none; }
  .own-card-inner {
    height: auto;
    padding: 1.5rem 1.25rem;
    box-shadow: none;
    background: transparent;
    border: none;
    border-radius: 0;
  }
  .own-card-inner h3 { font-size: 1.3rem; }
  .own-card-sub { font-size: 0.75rem; }
  .own-card-desc { font-size: 0.8rem; }

  .nav-links { display: none; }
  #process { height: auto; }
  .process-scene {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 1.25rem;
    padding: 4rem var(--pad) 3rem;
    flex-direction: unset;
    justify-content: unset;
  }
  .proc-heading {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 1.25rem;
  }
  .proc-heading h2 { font-size: 1.6rem; }
  .proc-rail {
    display: block;
    grid-column: 1;
    grid-row: 2;
  }
  .proc-line { width: 2px; height: 100%; margin: 0 auto; }
  .proc-fill { width: 100%; height: 0%; bottom: auto; transition: height 0.6s ease; }
  .proc-dot {
    top: auto;
    width: 10px;
    height: 2px;
    background: rgba(28,23,18,0.18);
    transition: background 0.3s ease;
  }
  .proc-dot.active { background: var(--accent); height: 2px; }
  .proc-dot.done   { background: rgba(158,101,55,0.55); height: 2px; }
  .proc-dot[data-dot="1"] { top: 33%;  left: 50%; }
  .proc-dot[data-dot="2"] { top: 66%;  left: 50%; }
  .proc-dot[data-dot="3"] { top: calc(100% - 1px); left: 50%; }
  .proc-stages {
    display: grid;
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .proc-stage {
    opacity: 1 !important;
    transform: none !important;
    padding: 0 0 1.75rem 0;
    border-bottom: none;
    margin-bottom: 0;
  }
  .proc-stage:last-child { padding-bottom: 0; }
  .proc-stage h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
  .proc-stage p { font-size: 0.8rem; max-width: none; line-height: 1.6; }
  .proc-stage-num { margin-bottom: 0.2rem; }

  /* ── Contact: mailto button ── */
  .contact-form { display: none; }
  .contact-mailto-btn { display: flex; }

  /* ── About section ── */
  #about { padding: 2.5rem 0; }
  .about-inner { gap: 1.25rem; }
  .about-header h2 { font-size: 2rem; }
  .about-copy-body p:last-child { display: none; }
  .about-cell { padding: 1.25rem; }
  .about-stat-n { font-size: 2rem; }
  .about-mani-q { font-size: 0.95rem; }
  .about-bento {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
      "copy copy copy"
      "s1   s2   s3"
      "mani mani mani";
    min-height: unset;
  }
}

@media (max-width: 700px) {
  #flow { padding: 3.5rem 0; }

  .flow-diagram { gap: 0.75rem; }

  .flow-sources-col { gap: 0.35rem; }

  .flow-source {
    padding: 0.4rem 0.6rem;
    gap: 0.45rem;
    border-radius: 6px;
  }

  .flow-src-icon {
    width: 20px;
    height: 20px;
    font-size: 0.4rem;
    border-radius: 4px;
  }

  .flow-src-name { font-size: 0.65rem; }

  .flow-card-hdr { padding: 0.65rem 0.9rem; gap: 0.5rem; }

  .flow-bars { padding: 0.7rem 0.9rem; gap: 0.6rem; }

  .flow-card-bottom { display: none; }

  .flow-card-tags { padding: 0.5rem 0.9rem; gap: 0.35rem; }

  .flow-card-tag { font-size: 0.48rem; padding: 0.2rem 0.45rem; }

  .flow-output-card { padding: 1.25rem 1rem; }

  .flow-out-title { font-size: 1.05rem; }

  .flow-out-sub { font-size: 0.6rem; }

  .flow-out-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
}

@media (max-width: 560px) {
  .nav-cta { display: none; }
  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  #hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
  .scene-h2 { font-size: clamp(2rem, 8vw, 3.5rem); }
  .scene-h2--xl { font-size: clamp(2.2rem, 9vw, 4rem); }
}

/* ================================================
   POINT OF VIEW
   ================================================ */
#pov {
  border-top: 1px solid var(--border);
  height: 650vh;
}

.pov-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: stretch;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  background: var(--ground);
  overflow: hidden;
}

.pov-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.pov-counter {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  overflow: hidden;
}

.pov-num {
  font-family: var(--f-display);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.05em;
  display: block;
}

.pov-denom {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.pov-stack {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pov-card {
  position: absolute;
  left: 0;
  right: 0;
  will-change: transform;
}

.pov-card-inner {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 2.75rem 2rem 3rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.pov-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.pov-card-idx {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.pov-card-tag {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(158, 101, 55, 0.07);
  border: 1px solid rgba(158, 101, 55, 0.18);
  padding: 0.28rem 0.72rem;
  border-radius: 2px;
}

.pov-card h3 {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}

.pov-card p {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 54ch;
  flex: 1;
}

@media (max-width: 900px) {
  #pov { height: 460vh; }
  .pov-scene { display: block; padding: 0; }
  .pov-left { display: none; }
  .pov-stack { height: 100vh; width: 100%; }
  .pov-card-inner { padding: 1.75rem var(--pad) 2rem; }
  .pov-card h3 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .pov-card p { font-size: 0.85rem; max-width: none; }
}

/* ================================================
   REDUCED MOTION
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  .status-dot,
  .demo-cursor,
  .demo-thinking,
  .ticker-track,
  .scroll-cue-line {
    animation: none;
  }
  .card::after { transition: none; }
  .btn-primary:hover,
  .btn-secondary:hover { transform: none; }
  #hero { height: auto; }
  .hero-sticky { position: relative; }
}
