/* ============================================================
   PRIZIM — alive site
   Dark void · opalescent body · electric current.
   Display: Instrument Serif · Body: Geist · HUD: Geist Mono
   ============================================================ */

:root {
  --void: #03050b;
  --ink: #060a14;
  --ink-soft: #0b1120;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(220, 235, 255, 0.10);
  --line-bright: rgba(220, 235, 255, 0.22);

  --pearl: #f6f4ee;
  --lavender: #cdbdff;
  --blush: #f3c9e7;
  --ice: #dcebff;

  --cyan: #49f7ff;
  --teal: #2ee6d6;
  --blue: #4d7cff;
  --gold: #ffd479;
  --ember: #ff5a3c;

  --text: #eef3ff;
  --muted: #9fb0c6;
  --faint: #6b7a90;

  --maxw: 1180px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --display: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", "JetBrains Mono", monospace;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 350;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--void);
  background-image:
    radial-gradient(120% 80% at 50% -8%, #0d1430 0%, rgba(6, 10, 20, 0) 52%),
    radial-gradient(80% 60% at 84% 6%, rgba(77, 124, 255, 0.10) 0%, rgba(3, 5, 11, 0) 56%),
    radial-gradient(70% 60% at 10% 30%, rgba(46, 230, 214, 0.06) 0%, rgba(3, 5, 11, 0) 52%),
    linear-gradient(180deg, var(--void) 0%, var(--ink) 60%, #04060e 100%);
  overflow-x: hidden;
}

::selection { background: rgba(73, 247, 255, 0.26); color: #021015; }

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

:focus-visible {
  outline: 2px solid rgba(73, 247, 255, 0.7);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   Layout
   ============================================================ */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

.section {
  position: relative;
  z-index: 2;
  padding-block: clamp(96px, 15vw, 180px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.eyebrow.muted { color: var(--muted); }
.eyebrow.muted::before { background: linear-gradient(90deg, transparent, var(--lavender)); }

/* ============================================================
   Typography
   ============================================================ */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 0.98;
  font-size: clamp(3rem, 9vw, 6.4rem);
}
.h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
}
.h3 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.18rem;
}
.it { font-style: italic; }

/* opalescent gradient on charged words */
.opal {
  background: linear-gradient(100deg, var(--pearl) 0%, var(--ice) 24%, var(--lavender) 52%, var(--blush) 78%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 22px rgba(73, 247, 255, 0.16));
}
/* electric gradient — for the live/system surfaces */
.volt {
  background: linear-gradient(100deg, var(--cyan), var(--teal) 46%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 20px rgba(73, 247, 255, 0.28));
}

.lede {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
  line-height: 1.66;
  font-weight: 350;
  max-width: 60ch;
}
.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease, color 0.4s ease;
  will-change: transform;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* primary — electric glass */
.btn-primary {
  position: relative;
  overflow: hidden;
  color: #021015;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%),
    linear-gradient(100deg, var(--cyan), var(--teal) 55%, var(--ice));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 0 0 1px rgba(73, 247, 255, 0.25),
    0 18px 44px -16px rgba(73, 247, 255, 0.55);
}
.btn-primary::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: skewX(-18deg);
  transition: left 0.75s var(--ease);
  pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 0 0 1px rgba(73, 247, 255, 0.4), 0 24px 56px -16px rgba(73, 247, 255, 0.7); }
.btn-primary:hover::after { left: 130%; }

/* ghost — glass outline */
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(73, 247, 255, 0.45);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 36px -12px rgba(46, 230, 214, 0.5);
}
.btn-sm { padding: 0.6em 1.2em; font-size: 0.86rem; }

/* ============================================================
   Glass
   ============================================================ */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.06) inset, 0 24px 60px -32px rgba(0, 0, 0, 0.8);
}
.glass-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  transition: transform 0.5s var(--ease), border-color 0.5s ease, box-shadow 0.5s ease;
}
.glass-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(73, 247, 255, 0.4), rgba(205, 189, 255, 0.06) 32%, transparent 56%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.65; transition: opacity 0.5s ease; pointer-events: none;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 247, 255, 0.3);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.1) inset, 0 34px 70px -34px rgba(0, 0, 0, 0.9), 0 0 50px -20px rgba(73, 247, 255, 0.35);
}
.glass-card:hover::before { opacity: 1; }

/* ============================================================
   Atmosphere (CSS, behind the lower sections)
   ============================================================ */
.atmosphere { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(96px); opacity: 0.4; mix-blend-mode: screen; will-change: transform; }
.orb-1 { width: 44vw; height: 44vw; top: 36vh; left: -8vw; background: radial-gradient(circle, rgba(77, 124, 255, 0.5), transparent 68%); animation: drift-a 30s ease-in-out infinite; }
.orb-2 { width: 40vw; height: 40vw; top: 64vh; right: -10vw; background: radial-gradient(circle, rgba(46, 230, 214, 0.34), transparent 68%); animation: drift-b 36s ease-in-out infinite; }
.orb-3 { width: 48vw; height: 48vw; bottom: -16vw; left: 26vw; background: radial-gradient(circle, rgba(205, 189, 255, 0.3), transparent 70%); animation: drift-c 42s ease-in-out infinite; }
.grain {
  position: absolute; inset: 0; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 52vmax; height: 52vmax; margin-top: -26vmax; margin-left: -26vmax;
  border-radius: 50%; pointer-events: none; z-index: 0; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(73, 247, 255, 0.12), rgba(77, 124, 255, 0.05) 42%, transparent 68%);
  filter: blur(14px);
  translate: calc(var(--mx, 0.5) * 100vw) calc(var(--my, 0.5) * 100vh);
}

@keyframes drift-a { 0%,100% { transform: translate3d(0,0,0) scale(1);} 50% { transform: translate3d(4vw,5vh,0) scale(1.08);} }
@keyframes drift-b { 0%,100% { transform: translate3d(0,0,0) scale(1);} 50% { transform: translate3d(-5vw,3vh,0) scale(1.12);} }
@keyframes drift-c { 0%,100% { transform: translate3d(0,0,0) scale(1.05);} 50% { transform: translate3d(3vw,-4vh,0) scale(0.95);} }

/* ============================================================
   Strand stage (fixed WebGL canvas behind hero + system)
   ============================================================ */
.strand-stage { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
#strand-canvas { width: 100%; height: 100%; display: block; transition: opacity 0.6s ease; }
.strand-fallback {
  position: absolute; inset: 0; display: none; place-items: center;
  background: radial-gradient(circle at 50% 42%, rgba(73,247,255,0.16), transparent 60%);
}
.no-webgl .strand-fallback { display: grid; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
}
.site-header.scrolled {
  background: rgba(6, 10, 20, 0.6);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 500; font-size: 1.16rem; letter-spacing: 0.04em; }
.brand .mark { width: 26px; height: 26px; }
.brand .word { font-family: var(--display); font-size: 1.42rem; letter-spacing: 0.02em; }
.brand .word b { font-weight: 400; background: linear-gradient(100deg, var(--ice), var(--cyan) 60%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 8px 14px; font-size: 0.92rem; font-weight: 400; color: var(--muted);
  border-radius: var(--radius-pill); transition: color 0.35s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: inline-flex; align-items: center; gap: 12px; }

/* circled ? — Prizim convention */
.help { position: relative; }
.help-btn {
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  font-family: var(--mono); font-size: 0.92rem; cursor: pointer;
  transition: color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.help-btn:hover, .help-btn[aria-expanded="true"] { color: var(--text); border-color: rgba(73,247,255,0.5); box-shadow: 0 0 16px -4px rgba(73,247,255,0.6); }
.help-pop {
  position: absolute; top: calc(100% + 12px); right: 0; width: min(280px, 82vw);
  padding: 18px; border-radius: var(--radius-md); text-align: left; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.help-pop.open { opacity: 1; visibility: visible; transform: none; }
.help-pop p { margin: 0; }
.help-pop .t { font-weight: 500; color: var(--text); font-size: 0.96rem; }
.help-pop .b { color: var(--muted); font-size: 0.86rem; margin-top: 6px; line-height: 1.55; }

.menu-btn { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding-top: 96px;
  padding-bottom: clamp(60px, 12vh, 130px);
}
/* soft left scrim so the copy always reads clean over the live helix */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(3,5,11,0.86) 0%, rgba(3,5,11,0.55) 34%, rgba(3,5,11,0.12) 56%, transparent 72%),
    linear-gradient(0deg, rgba(3,5,11,0.7) 0%, transparent 30%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { margin: 0; }
.hero .lede { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* state control — minimal Plan·Run·Gate·Proof */
.state-rail {
  position: fixed; right: clamp(20px, 5vw, 44px); top: 50%; transform: translateY(-50%);
  display: grid; gap: 2px; z-index: 40;
  transition: opacity 0.55s ease;
}
.state-rail.hidden { opacity: 0; pointer-events: none; }
.state-rail button {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px;
  padding: 9px 12px; min-width: 132px; border: 0; background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); border-right: 1px solid var(--line); transition: color 0.4s, border-color 0.4s;
  text-align: left;
}
.state-rail button .led { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; opacity: 0.5; }
.state-rail button:hover { color: var(--muted); }
.state-rail button.active { color: var(--cyan); border-right-color: var(--cyan); }
.state-rail button.active .led { opacity: 1; }
@media (max-width: 920px) { .state-rail { display: none; } }

.scroll-cue {
  position: absolute; bottom: 26px; left: clamp(20px, 5vw, 44px); z-index: 3;
  display: grid; gap: 9px; color: var(--faint);
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(var(--cyan), transparent); animation: cue 2.6s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 35% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ============================================================
   System section — sits over the laying-down helix
   ============================================================ */
.system { position: relative; z-index: 2; min-height: 92svh; display: grid; align-content: center; }
.system-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); }
.system-head { max-width: 620px; }
.beats { display: grid; gap: 13px; grid-template-columns: repeat(auto-fit, minmax(184px, 1fr)); margin-top: clamp(40px, 6vw, 64px); }
.beat { padding: 20px; }
.beat .n { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--cyan); }
.beat h3 { margin: 13px 0 8px; font-family: var(--display); font-weight: 400; font-size: 1.32rem; letter-spacing: -0.01em; line-height: 1.1; }
.beat p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 440px) { .beats { grid-template-columns: 1fr; } }

/* the thesis line — one blur-resolve */
.thesis {
  margin-top: clamp(56px, 9vw, 110px);
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.8rem, 4.4vw, 3.2rem); line-height: 1.15; letter-spacing: -0.01em;
  max-width: 22ch;
}

/* ============================================================
   Contact
   ============================================================ */
.contact { position: relative; z-index: 2; }
.contact-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(44px, 7vw, 88px) clamp(28px, 5vw, 70px); text-align: center;
}
.contact-panel::before {
  content: ""; position: absolute; inset: -2px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 50% -10%, rgba(73, 247, 255, 0.34), transparent 60%),
    radial-gradient(50% 70% at 82% 120%, rgba(77, 124, 255, 0.26), transparent 60%),
    radial-gradient(50% 70% at 16% 120%, rgba(46, 230, 214, 0.22), transparent 60%);
}
.contact-panel > * { position: relative; z-index: 1; }
.contact-doors { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.email-copy {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0.7em 1.2em; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  font-family: var(--mono); font-size: 0.92rem; color: var(--text); cursor: pointer;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.email-copy:hover { border-color: rgba(73,247,255,0.45); background: rgba(255,255,255,0.05); box-shadow: 0 0 30px -14px rgba(73,247,255,0.5); }
.email-copy .ico { color: var(--cyan); }
.email-copy .copied { color: var(--teal); font-size: 0.78rem; opacity: 0; transition: opacity 0.3s; }
.email-copy.done .copied { opacity: 1; }
.contact-note { margin-top: 22px; color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   More about it — capabilities + widget mock
   ============================================================ */
.more-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .more-grid { grid-template-columns: 1fr; } }
.caps { display: grid; gap: 14px; margin-top: 30px; }
.cap { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 20px; align-items: start; }
.cap .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); padding-top: 4px; white-space: nowrap; }
.cap h3 { margin: 0 0 4px; }
.cap p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.5; }

/* monitor — "your first free build" */
.monitor-col { display: grid; gap: 0; }
.monitor-intro { color: var(--muted); font-size: 0.95rem; line-height: 1.55; margin: 0 0 18px; }
.monitor-intro .free {
  display: inline-block; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #021015; background: linear-gradient(100deg, var(--cyan), var(--teal)); padding: 3px 9px; border-radius: 999px;
  margin-right: 9px; vertical-align: 2px;
}
.widget {
  position: relative; overflow: hidden; padding: 0; border-radius: var(--radius-md);
}
.widget-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.widget-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.widget-bar .dot.r { background: var(--ember); } .widget-bar .dot.y { background: var(--gold); } .widget-bar .dot.g { background: var(--teal); }
.widget-bar .ttl { margin-left: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.widget-bar .live { margin-left: auto; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.widget-bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.widget-body { padding: 18px 16px; display: grid; gap: 12px; }
.vital { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; }
.vital .lbl { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.vital .val { font-family: var(--mono); font-size: 0.78rem; color: var(--text); }
.bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.07); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--teal)); animation: fill 3.4s var(--ease) infinite alternate; }
.bar.b2 > i { animation-duration: 4.6s; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.bar.b3 > i { animation-duration: 2.8s; background: linear-gradient(90deg, var(--teal), var(--lavender)); }
@keyframes fill { from { width: 18%; } to { width: 92%; } }
.widget-foot { padding: 12px 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--faint); display: flex; justify-content: space-between; }

/* ============================================================
   About Mike
   ============================================================ */
.about { position: relative; z-index: 2; }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 86px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-portrait {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #0c1326, #060a14);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.about-portrait .glyph { font-family: var(--display); font-size: clamp(5rem, 16vw, 9rem); color: rgba(220,235,255,0.08); }
.about-portrait .ring { position: absolute; inset: 12%; border: 1px solid rgba(73,247,255,0.14); border-radius: 50%; animation: spin 80s linear infinite; }
.about-portrait .ring.r2 { inset: 22%; border-color: rgba(205,189,255,0.12); transform: scaleY(0.5) rotate(-24deg); animation-direction: reverse; animation-duration: 110s; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-portrait .cap { position: absolute; bottom: 18px; left: 18px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.about-body p { font-size: clamp(1.05rem, 1.7vw, 1.24rem); line-height: 1.66; color: #d6deee; }
.about-body p + p { margin-top: 1.3em; }
.about-body .pull { font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.16; color: var(--text); margin: 0.7em 0; letter-spacing: -0.01em; }
.about-sign { margin-top: 2em; display: flex; align-items: center; gap: 14px; }
.about-sign .name { font-family: var(--display); font-size: 1.5rem; }
.about-sign .role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }

/* founders */
.founders { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 2.2em; }
.founder { display: grid; gap: 4px; }
.founder .name { font-family: var(--display); font-size: 1.45rem; line-height: 1.05; }
.founder .name .cred { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--muted); margin-left: 4px; }
.founder .role { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.founders-note { margin-top: 1.1em; color: var(--muted); font-size: 0.95rem; font-style: italic; }
.founders-monos { display: flex; gap: 14px; }
.mono-chip {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.9rem; color: var(--text);
  border: 1px solid var(--line-bright);
  background: linear-gradient(160deg, rgba(73, 247, 255, 0.1), rgba(205, 189, 255, 0.03));
}

/* strand tag (system) + appointment tag (contact) */
.strand-tag { margin-top: 28px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.03em; color: var(--muted); display: inline-flex; gap: 10px; max-width: 52ch; line-height: 1.5; }
.strand-tag::before { content: "↳"; color: var(--cyan); }
.strand-tag strong { color: var(--text); font-weight: 500; }
.appt-tag { margin-top: 20px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); }

/* mission ribbon */
.mission {
  margin-top: clamp(48px, 7vw, 88px); padding: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 36px); align-items: center;
}
.mission .badge {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(73,247,255,0.12), rgba(205,189,255,0.04));
  color: var(--cyan); filter: drop-shadow(0 0 16px rgba(73,247,255,0.3));
}
.mission p { margin: 0; }
.mission .big { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.25; color: var(--text); }
.mission .small { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 70px); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-grid .word { font-family: var(--display); font-size: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--text); }
.footer-meta { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--faint); }

/* ============================================================
   Reveal motion
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.85s var(--ease), transform 0.95s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-blur { opacity: 0; transform: translateY(20px); filter: blur(12px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.reveal-blur.in { opacity: 1; transform: none; filter: blur(0); }

/* hero load entrance */
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { animation: rise-in 1s var(--ease) both; animation-delay: var(--rd, 0s); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 820px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-btn {
    display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
    border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--text); cursor: pointer;
  }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { align-content: end; }
}

/* ============================================================
   Reduced motion — hold the finished poster
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-blur, .rise { opacity: 1 !important; transform: none !important; filter: none !important; }
  .orb, .cursor-glow { animation: none !important; }
  .btn-primary::after { display: none; }
}
