/* ============================================================
   NYLEM AI : refined engineering-grade dark aesthetic
   Display: Fraunces (optical serif)  ·  Body: Inter Tight  ·  Mono: JetBrains Mono
   ============================================================ */

:root {
  /* Brand palette (from Nylem identity) */
  --ink:        #0B0F1A;   /* deepest background */
  --ink-2:      #0F1626;   /* raised dark surface */
  --ink-3:      #16203A;   /* card on dark */
  --navy:       #1E3A8A;   /* brand navy */
  --cyan:       #7DD3FC;   /* brand cyan / river */
  --cyan-deep:  #38BDF8;
  --sky:        #3F8FCB;
  --paper:      #FAFAF7;   /* warm off-white */
  --paper-2:    #F1F4F8;

  --text-on-dark:        #EAF1F8;
  --text-on-dark-muted:  #9DB0C7;
  --text-on-dark-faint:  #5E708A;
  --text-on-light:       #0F1626;
  --text-on-light-muted: #4A5B73;

  --line-dark:  rgba(125,211,252,0.14);
  --line-light: #E2E8F0;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter Tight", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-on-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ---------- flowing background canvas ---------- */
#flowfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

/* subtle film grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .nav, .footer { position: relative; z-index: 2; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(11,15,26,0);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,15,26,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-dark);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-on-dark);
}
.nav__mark { color: var(--text-on-dark); flex-shrink: 0; }
.nav__word {
  font-family: var(--font-body);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.nav__word-div {
  color: var(--cyan);
  font-weight: 300;
  opacity: 0.55;
  margin: 0 0.02em;
}
.nav__word-ai {
  color: var(--cyan);
  font-weight: 400;
  margin-left: 0.3em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
}
.nav__links a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1.5px;
  background: var(--cyan);
  transition: width 0.3s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--text-on-dark); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  color: var(--cyan) !important;
  transition: all 0.25s var(--ease) !important;
}
.nav__cta:hover {
  background: var(--cyan);
  color: var(--ink) !important;
  border-color: var(--cyan);
}
.nav__burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text-on-dark); transition: 0.3s var(--ease); display: block; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem clamp(1.2rem, 4vw, 3rem) 4rem;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.hero__inner { max-width: 920px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  color: var(--cyan);
  margin-bottom: 2rem;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(125,211,252,0.6);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(125,211,252,0.5); }
  70% { box-shadow: 0 0 0 9px rgba(125,211,252,0); }
  100% { box-shadow: 0 0 0 0 rgba(125,211,252,0); }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.8rem;
}
.hero__accent {
  font-style: italic;
  font-weight: 400;
  color: var(--cyan);
  background: linear-gradient(120deg, var(--cyan), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--text-on-dark-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 2.6rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.hero__metrics {
  display: flex;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line-dark);
}
.metric { display: flex; flex-direction: column; gap: 0.3rem; }
.metric__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-on-dark);
  line-height: 1;
}
.metric__value--text { font-style: italic; color: var(--cyan); }
.metric__label {
  font-size: 0.82rem;
  color: var(--text-on-dark-faint);
  letter-spacing: 0.02em;
}
.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  right: clamp(1.2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--text-on-dark-faint);
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scrolldrop 2.2s infinite;
}
@keyframes scrolldrop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   THESIS / NARRATIVE BAND
   ============================================================ */
.thesis { padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
.thesis__inner { max-width: 1000px; margin: 0 auto; }
.thesis__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text-on-dark);
  margin-bottom: 3rem;
}
.thesis__lead::first-letter { color: var(--cyan); }
.thesis__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.thesis__col { position: relative; padding-top: 1.4rem; }
.thesis__col::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--cyan);
}
.thesis__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}
.thesis__col p { color: var(--text-on-dark-muted); font-size: 0.97rem; line-height: 1.65; }
.thesis__close {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: var(--text-on-dark);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line-dark);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.btn--primary {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(125,211,252,0.4);
}
.btn--primary:hover {
  background: #a5e0fd;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(125,211,252,0.5);
}
.btn--ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: var(--line-dark);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--full { width: 100%; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 9rem) clamp(1.2rem, 4vw, 3rem);
}
.section--dark {
  max-width: none;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(30,58,138,0.18), transparent 60%),
    var(--ink-2);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.section--dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { max-width: 760px; margin-bottom: 3.5rem; }
.section__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  display: block;
  margin-bottom: 1rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.section__sub {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--text-on-dark-muted);
  line-height: 1.65;
}

/* ---------- 3 cards (problem) ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 3.5rem;
}
.card {
  position: relative;
  padding: 2.2rem 1.8rem 2rem;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(125,211,252,0.3); }
.card:hover::before { transform: scaleX(1); }
.card__num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  color: rgba(125,211,252,0.12);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.card p { color: var(--text-on-dark-muted); font-size: 0.97rem; }

/* ---------- precedent strip ---------- */
.precedent {
  border-left: 3px solid var(--cyan);
  background: linear-gradient(90deg, rgba(125,211,252,0.06), transparent);
  border-radius: 0 14px 14px 0;
  padding: 2rem 2.2rem;
}
.precedent__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--cyan);
  display: block;
  margin-bottom: 0.8rem;
}
.precedent p { font-size: 1.08rem; color: var(--text-on-dark-muted); line-height: 1.7; }
.precedent strong { color: var(--text-on-dark); font-weight: 600; }

/* ---------- phases (approach) ---------- */
.phases {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.phases__track {
  position: absolute;
  top: 34px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, var(--text-on-dark-faint), var(--cyan));
  opacity: 0.4;
}
.phase {
  position: relative;
  padding: 1.6rem 1.2rem;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.phase:hover { transform: translateY(-5px); border-color: rgba(125,211,252,0.35); }
.phase__letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(125,211,252,0.08);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
}
.phase__time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-faint);
  display: block;
  margin-bottom: 0.5rem;
}
.phase h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}
.phase p { font-size: 0.86rem; color: var(--text-on-dark-muted); line-height: 1.55; }

/* ---------- steps (simplified approach) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: 3rem;
}
.step {
  position: relative;
  padding: 2.2rem 1.9rem 2rem;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: rgba(125,211,252,0.3); }
.step:hover::before { transform: scaleX(1); }
.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 1.3rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(125,211,252,0.08);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
}
.step p { color: var(--text-on-dark-muted); font-size: 0.98rem; line-height: 1.65; }

/* ---------- confidence bar ---------- */
.confidence { max-width: 720px; }
.confidence__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--text-on-dark-faint);
  display: block;
  margin-bottom: 0.7rem;
}
.confidence__bar { display: flex; gap: 4px; height: 10px; border-radius: 6px; overflow: hidden; }
.confidence__bar span {
  flex: 1;
  background: var(--ink-3);
  transform: scaleX(0);
  transform-origin: left;
}
.confidence.in .confidence__bar span {
  animation: fillbar 0.6s var(--ease) forwards;
  animation-delay: calc(var(--i) * 0.12s);
}
.confidence__bar span:nth-child(1) { background: #2A3A52; }
.confidence__bar span:nth-child(2) { background: #34516F; }
.confidence__bar span:nth-child(3) { background: #3F6E94; }
.confidence__bar span:nth-child(4) { background: var(--sky); }
.confidence__bar span:nth-child(5) { background: var(--cyan); }
@keyframes fillbar { to { transform: scaleX(1); } }
.confidence__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-dark-faint);
}
.confidence__ends span:last-child { color: var(--cyan); }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.pillar {
  padding: 2.2rem 1.9rem;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(125,211,252,0.3); }
.pillar__icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(125,211,252,0.08);
  color: var(--cyan);
  margin-bottom: 1.3rem;
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.pillar p { color: var(--text-on-dark-muted); font-size: 0.97rem; }

/* ---------- horizon (platform) ---------- */
.horizon { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.horizon__feature {
  padding: 2rem;
  background: rgba(11,15,26,0.5);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  position: relative;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.horizon__feature:hover { border-color: rgba(125,211,252,0.3); background: rgba(11,15,26,0.8); }
.horizon__feature h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
  color: var(--cyan);
}
.horizon__feature p { color: var(--text-on-dark-muted); }

/* ---------- governance ---------- */
.gov { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-bottom: 3rem; }
.gov__item {
  position: relative;
  padding: 1.8rem 2rem 1.8rem 2.2rem;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
}
.gov__rail {
  position: absolute;
  left: 0; top: 1.4rem; bottom: 1.4rem;
  width: 3px;
  background: var(--cyan);
  border-radius: 3px;
}
.gov__item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}
.gov__item p { color: var(--text-on-dark-muted); font-size: 0.95rem; }
.gov__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.4;
  text-align: center;
  color: var(--text-on-dark);
  max-width: 800px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

/* ---------- contact ---------- */
.section--contact {
  background:
    radial-gradient(900px 500px at 20% 120%, rgba(30,58,138,0.22), transparent 60%),
    var(--ink-2);
  border-top: 1px solid var(--line-dark);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__left .section__title { margin-bottom: 0.9rem; }
.contact__alt { margin-top: 1.6rem; color: var(--text-on-dark-faint); font-size: 0.95rem; }
.contact__alt a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.contact__alt a:hover { border-bottom-color: var(--cyan); }

.contact__form {
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  padding: 2rem;
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-on-dark-muted);
  margin-bottom: 0.5rem;
}
.field__opt { color: var(--text-on-dark-faint); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(11,15,26,0.6);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(11,15,26,0.9);
}
.form__status { margin-top: 1rem; font-size: 0.9rem; min-height: 1.2em; text-align: center; }
.form__status.ok { color: var(--cyan); }
.form__status.err { color: #ff9a8a; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line-dark);
  padding: 3rem clamp(1.2rem, 4vw, 3rem);
  background: var(--ink);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.footer__tag { color: var(--text-on-dark-muted); font-size: 0.95rem; }

/* supporter / partner block */
.footer__supporter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin: 1.6rem 0 0.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-dark);
  width: 100%;
  max-width: 420px;
}
.footer__supporter-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
}
.footer__supporter-logo {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 1rem 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}
.footer__supporter-logo:hover { transform: translateY(-2px); }
.footer__supporter-logo img {
  height: 88px;
  width: auto;
  display: block;
}
.footer__address {
  color: var(--text-on-dark-faint);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  margin-top: 1.2rem;
  line-height: 1.5;
}
.footer__copy { color: var(--text-on-dark-faint); font-size: 0.82rem; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.1s);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr; }
  .thesis__cols { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps { grid-template-columns: 1fr; }
  .phases { grid-template-columns: repeat(2, 1fr); }
  .phases__track { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .horizon { grid-template-columns: 1fr; }
  .gov { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }

  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem 2.4rem;
    background: rgba(11,15,26,0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line-dark);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav__links.open { transform: none; }
  .nav__links a { font-size: 1.1rem; }
  .nav__burger { display: flex; z-index: 10; }
}

@media (max-width: 540px) {
  .phases { grid-template-columns: 1fr; }
  .hero__metrics { gap: 1.5rem; }
  .hero { padding-top: 6rem; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  #flowfield { display: none; }
}
