/* ============================================================
   PROPELLER MISSION INVITE - STYLES
   Near-monochrome · spy theme · cinematic animations
   ============================================================ */

:root {
  --bg:          #0a0a0a;
  --bg-card:     #111;
  --bg-elevated: #161616;
  --border:      rgba(255,255,255,0.06);
  --border-hover:rgba(255,255,255,0.12);
  --text:        #f5f5f5;
  --text-dim:    #999;
  --text-muted:  #555;
  --bg-light:    #f7f6f3;
  --bg-light-card:#fff;
  --border-light: rgba(0,0,0,0.08);
  --text-dark:   #111;
  --text-dark-dim:#555;
  --text-dark-muted:#999;
  --accent:      #ff1493;
  --white:       #fff;
  --black:       #0a0a0a;
  --font-display:'Barlow Condensed', sans-serif;
  --font-body:   'Barlow', sans-serif;
  --font-mono:   'Space Mono', monospace;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: #444 var(--bg);
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: var(--font-body); }
ul { list-style: none; }

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

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

/* ---------- UTILITY ---------- */
.tc { text-align: center; }
.hide-mob { display: inline; }
@media (max-width: 640px) { .hide-mob { display: none; } }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Labels use wipe reveal - override translateY */
.label.reveal {
  transform: none;
  transition: opacity 0.01s;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--white);
  opacity: 0.5;
  z-index: 10002;
}

/* ============================================================
   SCAN LINE - cinematic hero sweep
   ============================================================ */
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 5%, rgba(255,255,255,0.8) 50%, transparent 95%);
  box-shadow: 0 0 30px 10px rgba(255,255,255,0.15), 0 0 80px 20px rgba(255,255,255,0.05);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}
.scan-line.active {
  animation: scanSweep 1.5s var(--ease-out) forwards;
}
@keyframes scanSweep {
  0%   { top: -2%; opacity: 0; }
  5%   { opacity: 1; }
  85%  { opacity: 0.3; }
  100% { top: 102%; opacity: 0; }
}

/* ============================================================
   CURSOR FOLLOWER (desktop only)
   ============================================================ */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-dot.active { opacity: 0.7; }
@media (pointer: coarse) { .cursor-dot { display: none !important; } }

/* ============================================================
   SHARED TYPOGRAPHIC ELEMENTS
   ============================================================ */
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  overflow: hidden;
}
/* Label wipe pseudo-element */
.label.reveal::after {
  content: '';
  position: absolute;
  top: -2px; left: -4px; right: -4px; bottom: -2px;
  background: var(--white);
  transform: translateX(0);
  pointer-events: none;
}
.s--light .label.reveal::after { background: var(--text-dark); }
.label.reveal.wipe::after {
  animation: wipeSlide 0.6s 0.1s var(--ease-out) forwards;
}
@keyframes wipeSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(101%); }
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.h2--dark { color: var(--text-dark); }
.body {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 32px;
}
.body--lg {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.65;
  max-width: 620px;
}
.body strong { color: var(--white); font-weight: 600; }
.body em { color: var(--white); font-style: italic; }
.body--center { text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }
.sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-content { position: relative; z-index: 2; }
.hero-mark {
  width: clamp(64px, 8vw, 100px);
  margin-bottom: 40px;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.hero-mark.revealed { opacity: 1; }
.hero-mark svg { width: 100%; height: auto; }
.hero-mark svg path { transform-origin: center; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 130px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 900px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.8s var(--ease-out);
}
.hero h1.revealed { opacity: 1; transform: translateY(0); }

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 24px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
.hero-sub.revealed { opacity: 1; transform: translateY(0); }
.hero-sub + .hero-sub { margin-top: 12px; }

.hero-agent {
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.hero-agent.revealed { opacity: 1; transform: translateY(0); }

.agent-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: inline-block;
}
#agentName { font-weight: 700; color: var(--white); }

.hero .btn {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-spring);
}
.hero .btn.revealed { opacity: 1; transform: translateY(0) scale(1); }

/* ============================================================
   PHOTO MARQUEE
   ============================================================ */
.marquee-wrap {
  background: var(--bg);
  padding: 2px 0;
  overflow: hidden;
  position: relative;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.marquee {
  display: flex;
  width: max-content;
}
.marquee-track {
  display: flex;
  gap: 4px;
  animation: marqueeScroll 60s linear infinite;
}
.m-card {
  position: relative;
  width: 180px;
  height: 120px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.m-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.7);
  transition: filter 0.5s, transform 0.5s;
}
.m-card:hover img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.08);
}
.m-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 8px 6px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS - base
   ============================================================ */
.s {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.s--dark {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* ============================================================
   PARALLAX BACKGROUNDS
   ============================================================ */
.s--hero-img { overflow: hidden; }
.parallax-bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) brightness(0.25);
  z-index: 0;
  will-change: transform;
}
.s--hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   GROWTH TRAJECTORY
   ============================================================ */
.stats-context {
  font-size: 15px;
  color: var(--text-dim);
  text-align: center;
  max-width: 480px;
  margin: 24px auto 0;
  line-height: 1.7;
}
.trajectory {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.traj-big {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
}
.traj-sub {
  font-size: 15px;
  color: var(--text-dim);
  display: block;
  margin-top: 12px;
  line-height: 1.5;
}
.traj-note {
  font-size: 15px;
  color: var(--text-dim);
  text-align: center;
  max-width: 540px;
  margin: 32px auto 0;
  line-height: 1.7;
}

/* ============================================================
   FOUNDER QUOTE
   ============================================================ */
.founder {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.founder-quote {
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  max-width: 520px;
  margin: 0 auto 16px;
  font-weight: 300;
}
.founder-attr {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   JOURNEY TIMELINE
   ============================================================ */
.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.journey-step {
  text-align: left;
  position: relative;
}
.journey-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 6px;
  right: -14px;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(-45deg);
  opacity: 0.5;
}
.journey-n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}
.journey-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.1;
}
.journey-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}
@media (max-width: 900px) {
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey-step::after { display: none !important; }
}
@media (max-width: 540px) {
  .journey { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   LIGHT SECTIONS
   ============================================================ */
.s--light {
  background: var(--bg-light);
  border-top: none;
}
.s--light .label { color: var(--text-dark-muted); }
.s--light .h2 { color: var(--text-dark); }
.s--light .body { color: var(--text-dark-dim); }
.s--light .body strong { color: var(--text-dark); }
.s--light .body em { color: var(--text-dark); }
.s--light .sub { color: var(--text-dark-muted); }
.s--intel { border-top: 1px solid var(--border-light); }

/* ============================================================
   STATS - large metric display
   ============================================================ */
.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 48px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-val {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  display: block;
}
.stat-val .stat-suffix {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--text-dim);
  margin-left: 2px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
}
.stat-sep {
  font-size: 32px;
  color: var(--text-muted);
  opacity: 0.3;
}
@media (max-width: 640px) {
  .stats { flex-direction: column; gap: 32px; }
  .stat-sep { display: none; }
}

.stats-img { margin-top: 48px; }
.stats-img img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  filter: grayscale(1);
}
.stats-img-caption {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 12px;
  text-align: center;
}

/* ============================================================
   MATH CARD
   ============================================================ */
.math {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  margin: 40px 0;
}
.math-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-dark-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.math-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.math-col { flex: 1; min-width: 120px; }
.math-col--hl {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 20px;
  border-radius: 12px;
}
.math-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-dark-muted);
  display: block;
  margin-bottom: 8px;
}
.math-val {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}
.math-val--accent { color: var(--text-dark); }
.per { font-size: 0.5em; color: var(--text-dark-muted); font-weight: 400; }
.math-arr { color: var(--text-dark-muted); opacity: 0.4; flex-shrink: 0; }
@media (max-width: 640px) {
  .math-row { flex-direction: column; align-items: flex-start; }
  .math-arr { transform: rotate(90deg); align-self: center; }
}

/* ============================================================
   INTEL CALCULATOR
   ============================================================ */
.calc {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  margin: 40px 0;
}
.calc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-dark-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.calc-sliders {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
.calc-slider-group {
  flex: 1;
}
.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.calc-slider-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-dark-muted);
}
.calc-slider-val {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
}
.calc-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text-dark);
  cursor: pointer;
  border: 3px solid var(--bg-light-card);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}
.calc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text-dark);
  cursor: pointer;
  border: 3px solid var(--bg-light-card);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.calc-slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dark-muted);
  letter-spacing: 1px;
}
.calc-results {
  display: flex;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.calc-result {
  flex: 1;
  text-align: center;
  padding: 20px 12px;
}
.calc-result--hl {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
}
.calc-result-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-dark-muted);
  display: block;
  margin-bottom: 8px;
}
.calc-result-val {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  transition: color 0.2s ease;
}
.calc-result-val--accent {
  color: var(--accent);
}
.calc-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-dark-muted);
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
@media (max-width: 640px) {
  .calc-sliders { flex-direction: column; gap: 24px; }
  .calc-results { flex-direction: column; gap: 0; }
  .calc-result { padding: 16px 12px; }
}

/* ============================================================
   PUNCH
   ============================================================ */
.punch {
  margin: 48px 0 40px;
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.punch h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-dark);
  text-align: center;
}

/* ============================================================
   DOSSIER DETAILS
   ============================================================ */
.dossier {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  margin: 40px 0;
}
.dossier-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-dark-muted);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  background: rgba(0,0,0,0.02);
}
.dossier-items {
  padding: 0;
}
.dossier-item {
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.dossier-item:last-child { border-bottom: none; }
.dossier-item::before {
  content: '//';
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dark-muted);
  flex-shrink: 0;
  padding-top: 2px;
}

/* ============================================================
   FINE PRINT
   ============================================================ */
.fine {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}
.fine-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-dark-muted);
  padding: 14px 20px 0;
}
.fine p:not(.fine-label) {
  padding: 10px 20px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dark-dim);
}

/* ============================================================
   PORTAL PREVIEW - fake dashboard UI
   ============================================================ */
.portal-window {
  max-width: 700px;
  margin: 48px auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d0d0d;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.portal-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #141414;
  border-bottom: 1px solid var(--border);
}
.portal-dots {
  display: flex;
  gap: 6px;
}
.portal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}
.portal-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.portal-screen {
  display: flex;
  min-height: 260px;
}
.portal-sidebar {
  width: 140px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 16px 0;
  background: #0f0f0f;
}
.portal-nav {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 10px 16px;
  cursor: default;
  transition: color 0.2s;
}
.portal-nav--active {
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border-left: 2px solid var(--white);
}
.portal-main {
  flex: 1;
  padding: 0;
}
.portal-thead {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.portal-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.portal-row:hover { background: rgba(255,255,255,0.02); }
.portal-row--claimed { background: rgba(255,255,255,0.03); }
.portal-name {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 2px;
}
.portal-name--real {
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0;
}
.portal-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
}
.portal-tag--open {
  color: var(--text-dim);
  background: rgba(255,255,255,0.05);
}
.portal-tag--claimed {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.portal-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--black);
  background: var(--white);
  padding: 6px 14px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.portal-btn:hover { transform: scale(1.05); }
.portal-check {
  font-size: 16px;
  color: var(--white);
  padding: 0 8px;
}
.portal-name-wrap {
  display: flex;
  flex-direction: column;
}
.portal-hint {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 2px;
}
.portal-hint--real {
  color: var(--text-dim);
}
@media (max-width: 640px) {
  .portal-sidebar { display: none; }
  .portal-thead { display: none; }
  .portal-row { grid-template-columns: 1fr; gap: 8px; }
  .portal-name { font-size: 13px; }
}

/* ============================================================
   PRINCIPLES (grid4 / card)
   ============================================================ */
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 36px);
  transition: border-color 0.3s, transform 0.5s var(--ease-out);
  opacity: 0;
  transform: translateY(40px);
  transform-style: preserve-3d;
}
.card.card-visible {
  opacity: 1;
  transform: translateY(0);
}
.card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-6px);
}
.card-n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}
.card h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}
@media (max-width: 900px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid4 { grid-template-columns: 1fr; } }

/* ============================================================
   SEAT INDICATOR
   ============================================================ */
.seats { margin: 48px auto; max-width: 400px; }
.seat-grid {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.seat {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  transition: transform 0.3s;
}
.seat--taken {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.08);
}
.seat--open {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.4);
  animation: seatPulse 2.5s ease-in-out infinite;
}
.seat--open:nth-child(9) { animation-delay: 0s; }
.seat--open:nth-child(10) { animation-delay: 0.3s; }
.seat--open:nth-child(11) { animation-delay: 0.6s; }
.seat--open:nth-child(12) { animation-delay: 0.9s; }
@keyframes seatPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.92); }
}
.seats-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-align: center;
}
.seats-count {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  margin-right: 4px;
}

/* ============================================================
   DECISION
   ============================================================ */
.s--final { padding: clamp(100px, 12vw, 160px) 0; }
.s--access { border-top: 1px solid var(--border); }
.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}
.btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.result {
  text-align: center;
  animation: resultReveal 0.6s var(--ease-out) both;
}
@keyframes resultReveal {
  from { opacity: 0; transform: scale(0.95) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 8px 24px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.badge--yes { background: var(--white); color: var(--black); }
.badge--no  { background: var(--text-muted); color: var(--bg); }
.badge--exp { background: #cc0000; color: #fff; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 48px rgba(255,255,255,0.08);
}
.btn--lg { padding: 20px 48px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }

.s--light .btn { background: var(--black); color: var(--white); }
.s--light .btn:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}
.btn-ghost--full { width: 100%; justify-content: center; }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 40px);
  max-width: 440px;
  width: 100%;
  position: relative;
  animation: modalIn 0.4s var(--ease-spring) both;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-x {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-muted);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.modal-x:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.modal-t {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.modal-s { font-size: 15px; color: var(--text-dim); margin-bottom: 24px; }
.modal-f { display: flex; flex-direction: column; gap: 18px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.opt { opacity: 0.5; }
.fg input[type="text"],
.fg input[type="email"],
.fg textarea {
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.fg input:focus, .fg textarea:focus { border-color: var(--white); }
.fg textarea { resize: vertical; }
.fg--check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}
.fg--check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--white);
  cursor: pointer;
}
.fg--check label {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0;
  cursor: pointer;
}
.modal .btn { background: var(--white); color: var(--black); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.foot-in {
  display: flex;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero h1 { font-size: clamp(42px, 12vw, 72px); }
  .m-card { width: 140px; height: 94px; }
}
@media (max-width: 480px) {
  .hero { padding: 0 0 60px; }
  .btns { flex-direction: column; align-items: center; }
  .btn--lg, .btn-ghost { width: 100%; justify-content: center; }
  .m-card { width: 110px; height: 74px; }
  .m-name { font-size: 9px; padding: 14px 4px 4px; }
  .seat { width: 22px; height: 22px; }
  .seat-grid { gap: 5px; }
}

/* ============================================================
   MISSION ACCEPTED ANIMATION
   ============================================================ */
.mission-accepted-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
}
.mission-accepted-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,20,147,0.15) 0%, transparent 70%);
  opacity: 0;
  animation: missionGlow 2s 0.3s ease forwards;
}
.mission-flash {
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0;
}
.mission-text {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
}
.mission-text h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 6rem);
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.mission-text .mission-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  display: block;
}
.mission-text .mission-line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 1.25rem auto 0;
  opacity: 0;
  animation: missionLineIn 0.4s 1.2s ease forwards;
}

@keyframes missionFlash {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes missionGlow {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes missionTextIn {
  0% { opacity: 0; transform: scale(0.5); }
  60% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes missionTextOut {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.8); filter: blur(8px); }
}
@keyframes missionLineIn {
  0% { width: 0; opacity: 0; }
  100% { width: 60px; opacity: 1; }
}
@keyframes missionFadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
