/* ═══════════════════════════════════════════
   PROJECT PHASOR — TECH BEIGE + DARK THEME
   ═══════════════════════════════════════════ */

:root {
  /* Surfaces */
  --bg:          #1a1612;
  --bg2:         #201c17;
  --bg3:         #272119;
  --bg4:         #2e2820;

  /* Borders */
  --border:      rgba(210,195,168,0.1);
  --border-mid:  rgba(210,195,168,0.16);
  --border-hi:   rgba(210,195,168,0.26);

  /* Beige palette */
  --beige:       #c8a97e;
  --beige-light: #ddc9a8;
  --beige-dim:   #8c7b6e;
  --beige-pale:  rgba(200,169,126,0.12);
  --beige-glow:  rgba(200,169,126,0.06);

  /* Logo accent — red/orange from the logo divider bar */
  --logo-red:    #d94f2b;
  --logo-orange: #e8782a;

  /* Text */
  --text:        #e8e0d4;
  --text-mid:    #a89880;
  --text-dim:    #5e5448;

  /* Typography */
  --font-serif:  'Libre Baskerville', Georgia, serif;
  --font-mono:   'DM Mono', 'Courier New', monospace;
  --font-sans:   'Outfit', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── LAYOUT ── */
.container { max-width: 1080px; margin: 0 auto; }
section { padding: 120px 48px; }
.section-divider { height: 1px; background: var(--border); margin: 0 48px; }

@keyframes spin-slow { to { transform: rotate(360deg); } }
.ring-spin { transform-origin: 240px 240px; animation: spin-slow 24s linear infinite; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 60px;
  background: rgba(26,22,18,0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; line-height: 1;
}

/* The logo PNG has a white bg — we invert it for the dark nav */
.nav-logo-img {
  height: 36px; width: auto;
  filter: invert(1) sepia(0.3) hue-rotate(10deg) brightness(0.92);
  /* This inverts white→dark and preserves the red/orange accent naturally */
  transition: opacity 0.2s;
}
.nav-logo-img:hover { opacity: 0.82; }

/* Fallback logo-mark for footer SVG usage */
.logo-mark {
  width: 28px; height: 28px;
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--beige);
}

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 400;
  color: var(--text-mid); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--beige-light); }

.nav-cta {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em;
  color: var(--logo-orange); border: 1px solid rgba(232,120,42,0.45);
  padding: 7px 16px; border-radius: 4px; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--logo-red); color: #fff; border-color: var(--logo-red); }

.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-mid); border-radius: 2px;
  transition: transform 0.2s;
}

.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 199;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  flex-direction: column; padding: 16px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-sans); font-size: 1rem; color: var(--text-mid);
  text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em;
  background: var(--logo-red); color: #fff;
  padding: 12px 28px; border-radius: 4px; text-decoration: none;
  font-weight: 500; transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em;
  color: var(--text-mid); border: 1px solid var(--border-mid);
  padding: 12px 28px; border-radius: 4px; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--beige); color: var(--beige-light); }

.btn-sm { padding: 7px 14px; font-size: 0.74rem; }

/* ── SECTION HEADERS ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em;
  color: var(--logo-red); text-transform: uppercase; margin-bottom: 18px;
}
h2 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.15; letter-spacing: -0.01em; color: var(--text);
}
h2 em { font-style: italic; color: var(--beige-light); }
.section-sub {
  font-family: var(--font-sans); font-size: 1rem;
  color: var(--text-mid); line-height: 1.75; max-width: 560px;
}
.section-header { margin-bottom: 56px; }
.section-header.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 52px; }

/* ── HERO ── */
.section-hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 0; overflow: hidden; position: relative;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(210,195,168,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210,195,168,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 80% at 40% 50%, black, transparent);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.14; }
.hero-orb-1 { width: 560px; height: 560px; background: radial-gradient(circle, #c8a97e, transparent 70%); top: -100px; right: -60px; }
.hero-orb-2 { width: 360px; height: 360px; background: radial-gradient(circle, #6b5c4e, transparent 70%); bottom: 20px; left: 40px; }
.phasor-visual { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); opacity: 0.09; pointer-events: none; }

.hero-content { position: relative; z-index: 2; max-width: 640px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em;
  color: var(--logo-orange); border: 1px solid rgba(232,120,42,0.3);
  background: rgba(217,79,43,0.07); padding: 6px 14px; border-radius: 100px;
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--logo-red); box-shadow: 0 0 6px var(--logo-red);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

h1 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  line-height: 1.06; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 24px;
}
h1 em { font-style: italic; color: var(--beige-light); }
.h1-dim { color: var(--text-dim); }

.hero-sub {
  font-size: 1.05rem; color: var(--text-mid);
  line-height: 1.75; max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }

.hero-stats {
  display: flex; align-items: center; gap: 0;
  margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border);
}
.stat { padding: 0 28px; }
.stat:first-child { padding-left: 0; }
.stat-divider { width: 1px; height: 36px; background: var(--border-mid); }
.stat-val {
  font-family: var(--font-serif); font-size: 2rem;
  font-weight: 700; color: var(--text); line-height: 1;
}
.stat-plus { color: var(--beige); }
.stat-label {
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.1em; color: var(--text-dim); margin-top: 5px;
}

/* Staggered hero animation */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.hero-content > * { animation: fadeUp 0.65s ease both; }
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-content > *:nth-child(3) { animation-delay: 0.25s; }
.hero-content > *:nth-child(4) { animation-delay: 0.35s; }
.hero-content > *:nth-child(5) { animation-delay: 0.48s; }

/* ── MISSION ── */
.section-mission { background: var(--bg2); }
.mission-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.mission-text p {
  font-size: 0.97rem; color: var(--text-mid);
  line-height: 1.85; margin-bottom: 18px;
}
.mission-text strong { color: var(--text); font-weight: 600; }
.mission-text blockquote {
  border-left: 2px solid var(--logo-red);
  padding: 4px 0 4px 20px; margin: 28px 0;
  font-family: var(--font-serif); font-style: italic;
  color: var(--text-mid); font-size: 1rem; line-height: 1.7;
}
.mission-text blockquote cite {
  display: block; margin-top: 8px;
  font-family: var(--font-mono); font-size: 0.72rem;
  font-style: normal; letter-spacing: 0.06em; color: var(--text-dim);
}
.pillars { display: flex; flex-direction: column; gap: 2px; }
.pillar {
  padding: 22px 24px; background: var(--bg3);
  border: 1px solid var(--border); border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.pillar:hover { border-color: var(--border-mid); background: var(--bg4); }
.pillar-num {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.14em; color: var(--logo-red); margin-bottom: 10px;
}
.pillar h3 {
  font-family: var(--font-sans); font-size: 0.95rem;
  font-weight: 600; color: var(--text); margin-bottom: 7px;
}
.pillar p { font-size: 0.83rem; color: var(--text-dim); line-height: 1.65; }

/* ── TECHNOLOGY ── */
.section-technology { background: var(--bg); }
.tech-cards {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; margin-bottom: 40px;
}
.tech-card {
  background: var(--bg2); padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: background 0.25s;
}
.tech-card:hover { background: var(--bg3); }
.tech-card::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--logo-red), var(--logo-orange), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.tech-card:hover::after { opacity: 0.6; }
.tech-num {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 20px;
}
.tech-icon {
  width: 40px; height: 40px;
  background: var(--beige-pale); border: 1px solid var(--border-mid);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--beige); margin-bottom: 20px;
}
.tech-card h3 {
  font-family: var(--font-sans); font-size: 1rem;
  font-weight: 600; color: var(--text); margin-bottom: 12px;
}
.tech-card p { font-size: 0.855rem; color: var(--text-dim); line-height: 1.72; }
.tech-tag {
  display: inline-block; margin-top: 18px;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.1em; color: var(--beige-dim);
  background: rgba(140,123,110,0.1); border: 1px solid rgba(140,123,110,0.22);
  padding: 4px 10px; border-radius: 100px;
}

.roadmap {
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg2); overflow: hidden;
}
.roadmap-header {
  padding: 20px 32px; border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.roadmap-items { padding: 0 32px; }
.roadmap-item {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 24px; padding: 18px 0;
  border-bottom: 1px solid var(--border); align-items: start;
}
.roadmap-item:last-child { border-bottom: none; }
.roadmap-label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.1em; color: var(--logo-red); padding-top: 3px;
}
.roadmap-desc { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }
.roadmap-desc strong { color: var(--text); font-weight: 500; }

/* ── TEAM ── */
.section-team { background: var(--bg2); }
.org-chart {
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg3); padding: 44px; margin-bottom: 48px;
}
.org-top { display: flex; justify-content: center; margin-bottom: 0; }
.org-box-main {
  background: var(--beige-pale); border: 1px solid rgba(200,169,126,0.28);
  border-radius: 8px; padding: 16px 40px; text-align: center;
}
.org-main-title {
  font-family: var(--font-sans); font-size: 0.97rem;
  font-weight: 600; color: var(--text); margin-bottom: 5px;
}
.org-main-leads {
  font-family: var(--font-mono); font-size: 0.67rem;
  letter-spacing: 0.08em; color: var(--logo-orange);
}
.org-spine { width: 1px; height: 32px; background: var(--border-mid); margin: 0 auto; }
.org-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; position: relative; padding-top: 0;
}
.org-row::before {
  content: ''; position: absolute; top: 0;
  left: calc(50% - 33.33%); right: calc(50% - 33.33%);
  height: 1px; background: var(--border-mid);
}
.org-dept-wrap { display: flex; flex-direction: column; align-items: center; }
.org-dept-line { width: 1px; height: 28px; background: var(--border-mid); }
.org-dept {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 18px 16px; text-align: center; width: 100%;
  transition: border-color 0.2s;
}
.org-dept:hover { border-color: var(--border-mid); }
.org-dept-icon { font-size: 0.9rem; color: var(--beige-dim); margin-bottom: 10px; }
.org-dept-name {
  font-family: var(--font-sans); font-size: 0.93rem;
  font-weight: 600; color: var(--text); margin-bottom: 5px;
}
.org-dept-sub {
  font-family: var(--font-mono); font-size: 0.63rem;
  letter-spacing: 0.1em; color: var(--text-dim);
}

.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.team-card {
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg3); overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.team-card:hover { border-color: var(--border-mid); transform: translateY(-3px); }
.team-avatar {
  height: 130px; background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700;
  color: var(--beige); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.team-avatar::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 80%, var(--beige-glow), transparent 65%);
}
.team-info { padding: 18px; }
.team-name {
  font-family: var(--font-sans); font-size: 0.93rem;
  font-weight: 600; color: var(--text); margin-bottom: 3px;
}
.team-role {
  font-family: var(--font-mono); font-size: 0.67rem;
  letter-spacing: 0.08em; color: var(--logo-red); margin-bottom: 9px;
}
.team-bio { font-size: 0.8rem; color: var(--text-dim); line-height: 1.65; }
.team-affil { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.tag {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.05em; color: var(--text-dim);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 3px 8px; border-radius: 3px;
}

/* ── COMMUNITY ── */
.section-community { background: var(--bg); }
.community-stats {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg2); overflow: hidden;
  margin: 48px 0;
}
.c-stat { flex: 1; padding: 28px 24px; text-align: center; }
.c-stat-div { width: 1px; align-self: stretch; background: var(--border); }
.c-stat-val {
  font-family: var(--font-serif); font-size: 2.4rem;
  font-weight: 700; color: var(--beige-light); line-height: 1;
}
.c-stat-label {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.1em; color: var(--text-dim); margin-top: 7px;
}

.endorsers-section { margin-bottom: 64px; }
.endorsers-head {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 24px;
}
.endorsers-head h3 {
  font-family: var(--font-serif); font-size: 1.4rem;
  font-weight: 700; color: var(--text);
}
.endorsers-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 12px; margin-bottom: 20px;
}
.endorser-card {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 20px; background: var(--bg2);
  transition: border-color 0.2s;
}
.endorser-card:hover { border-color: var(--border-mid); }
.endorser-name {
  font-family: var(--font-sans); font-size: 0.9rem;
  font-weight: 600; color: var(--text); margin-bottom: 3px;
}
.endorser-role {
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.06em; color: var(--logo-orange); margin-bottom: 4px;
}
.endorser-affil { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 10px; }
.endorser-quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.82rem; color: var(--text-mid); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hidden-endorser { display: none; }

.show-more-btn {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em;
  color: var(--text-dim); border: 1px solid var(--border);
  background: transparent; padding: 10px 24px; border-radius: 5px;
  cursor: pointer; display: block; margin: 0 auto 0;
  transition: border-color 0.2s, color 0.2s;
}
.show-more-btn:hover { border-color: var(--beige); color: var(--beige); }

.resources-section { margin-top: 56px; }
.resources-title {
  font-family: var(--font-serif); font-size: 1.4rem;
  font-weight: 700; color: var(--text); margin-bottom: 24px;
}
.docs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.doc-card {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 24px; background: var(--bg2); text-decoration: none;
  color: inherit; display: block;
  transition: border-color 0.2s, background 0.2s;
}
.doc-card:hover { border-color: var(--border-mid); background: var(--bg3); }
.doc-icon {
  width: 36px; height: 36px; background: var(--beige-pale);
  border: 1px solid var(--border-mid); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--beige); margin-bottom: 16px;
}
.doc-title {
  font-family: var(--font-sans); font-size: 0.93rem;
  font-weight: 600; color: var(--text); margin-bottom: 7px;
}
.doc-desc { font-size: 0.8rem; color: var(--text-dim); line-height: 1.65; }
.doc-tag {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-mono); font-size: 0.63rem;
  letter-spacing: 0.1em; color: var(--beige-dim);
  background: rgba(140,123,110,0.08); border: 1px solid rgba(140,123,110,0.18);
  padding: 3px 9px; border-radius: 100px;
}

/* ── CONTACT ── */
.section-contact { background: var(--bg2); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 0; }
.contact-info h3 {
  font-family: var(--font-serif); font-size: 1.5rem;
  font-weight: 700; color: var(--text); margin-bottom: 14px; line-height: 1.3;
}
.contact-info p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.78; margin-bottom: 32px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.875rem; color: var(--text-mid); text-decoration: none;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--beige-light); }
.contact-link-icon {
  width: 32px; height: 32px; background: var(--bg3);
  border: 1px solid var(--border); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--beige-dim); flex-shrink: 0;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-mono); font-size: 0.67rem;
  letter-spacing: 0.1em; color: var(--text-dim);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text);
  font-family: var(--font-sans); font-size: 0.875rem;
  padding: 11px 14px; outline: none;
  transition: border-color 0.2s; -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(200,169,126,0.45); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--bg); }
.form-submit {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.07em;
  background: var(--logo-red); color: #fff;
  padding: 13px; border-radius: 6px; border: none;
  cursor: pointer; font-weight: 500;
  transition: opacity 0.2s; margin-top: 4px;
}
.form-submit:hover { opacity: 0.85; }

/* ── FOOTER ── */
footer {
  padding: 32px 48px; border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; gap: 32px;
}
.footer-left { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { line-height: 1; }
.footer-logo-img {
  height: 28px; width: auto;
  filter: invert(1) sepia(0.3) hue-rotate(10deg) brightness(0.85);
  opacity: 0.75;
}
.footer-copy {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.06em; color: var(--text-dim);
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.07em; color: var(--text-dim);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--beige); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  section { padding: 100px 32px; }
  .section-divider { margin: 0 32px; }
  nav { padding: 0 32px; }
  footer { padding: 32px; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  nav .nav-links, nav .nav-cta { display: none; }
  .nav-burger { display: flex; }
  section { padding: 90px 20px 72px; }
  .section-divider { margin: 0 20px; }
  .section-header.split { flex-direction: column; align-items: flex-start; gap: 16px; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .hero-stats { gap: 0; flex-wrap: nowrap; overflow-x: auto; }
  .stat { padding: 0 20px; white-space: nowrap; }
  .phasor-visual { display: none; }
  .mission-layout { grid-template-columns: 1fr; gap: 40px; }
  .tech-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .endorsers-grid { grid-template-columns: 1fr 1fr; }
  .community-stats { flex-wrap: wrap; }
  .c-stat { min-width: 45%; }
  .c-stat-div { display: none; }
  .docs-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .org-row { grid-template-columns: 1fr; }
  .org-row::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 28px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .roadmap-item { grid-template-columns: 90px 1fr; gap: 16px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  .team-grid { grid-template-columns: 1fr; }
  .endorsers-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
}
