/* ========================================================================
   ESG MIAMI VICE DESIGN SYSTEM
   v1 — Session 1 baseline
   Linked from every HTML page. Component-level styles still live inline,
   but they should reference the CSS custom properties defined here.
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ─── Color palette ─────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:               #0B0614;   /* page background */
  --bg-card:          #150E24;   /* card surface */
  --bg-section:       #110A1F;   /* alternating section bg */
  --bg-elevated:      #1C1330;   /* hover / active */

  /* Primary — cyan */
  --cyan:             #00D4FF;
  --cyan-soft:        #66E3FF;

  /* Secondary — neon pink */
  --pink:             #FF2D78;
  --pink-soft:        #FF6BA0;

  /* Tertiary — violet */
  --violet:           #8B5CF6;
  --violet-soft:      #A78BFA;

  /* Text */
  --text:             #F0EDF6;   /* primary */
  --text-2:           #9B8FB5;   /* body / muted */
  --text-3:           #5C4F73;   /* labels / dim */

  /* Legacy alias mapping — keeps old inline styles from breaking until
     we rewrite each component. Maps gold tokens to new accent colors. */
  --gold:             var(--cyan);
  --gold-deep:        var(--violet);
  --green:            var(--cyan);
  --rule:             rgba(139,92,246,.1);

  /* Type */
  --display:          'Playfair Display', Georgia, serif;
  --body:             'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Motion */
  --ease:             cubic-bezier(.22,.61,.36,1);
}

/* ─── Base reset & typography ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Atmosphere — global background effects ────────────────────────────── */
body::before {
  /* Subtle violet grid overlay across the entire page */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(139,92,246,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

body::after {
  /* Ambient cyan + pink glows */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle 600px at 90% 10%, rgba(0,212,255,.08), transparent 60%),
    radial-gradient(circle 500px at 10% 90%, rgba(255,45,120,.06), transparent 60%);
}

/* All real content sits above the atmosphere layer */
nav, section, footer, main { position: relative; z-index: 1; }

/* ─── Headlines ─────────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -.01em;
  margin: 0;
}

h1 { font-size: clamp(42px, 5.5vw, 68px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; }
h3 { font-size: 18px; font-family: var(--body); font-weight: 600; }

em { font-style: italic; color: var(--cyan); }

/* Gradient text utility — for headlines and stat numbers */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Tag (small uppercase eyebrow) ─────────────────────────────────────── */
.tag, .ds-tag {
  display: inline-block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--cyan);
  margin-bottom: 18px;
}

/* ─── Divider lines ─────────────────────────────────────────────────────── */
.gradient-divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--violet), var(--pink), var(--cyan), transparent);
  opacity: .35;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn,
.btn-primary,
.btn-ghost,
.btn-secondary,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}

.btn-primary,
.cta-btn {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #06010F;
  box-shadow: 0 4px 24px rgba(0,212,255,.25);
}
.btn-primary:hover,
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,212,255,.4);
}

.btn-ghost,
.btn-secondary {
  background: transparent;
  color: var(--text-2);
  border-color: var(--text-3);
}
.btn-ghost:hover,
.btn-secondary:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,212,255,.15);
}

/* ─── Nav (shared across all pages) ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,6,20,.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(139,92,246,.1);
  transition: background .3s var(--ease);
}
.nav.scrolled { background: rgba(11,6,20,.92); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.01em;
  transition: color .2s var(--ease);
}
.brand span { color: var(--cyan); }
.brand:hover { color: var(--cyan-soft); }
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(0,212,255,.18));
  transition: filter .25s var(--ease), transform .25s var(--ease);
}
.brand:hover .brand-logo {
  filter: drop-shadow(0 0 16px rgba(0,212,255,.35));
  transform: scale(1.03);
}
@media (max-width: 540px) {
  .brand-text { display: none; }   /* logo-only on phones */
  .brand-logo { width: 34px; height: 34px; }
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0,212,255,.18));
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-2);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--cyan); }

.nav-links .cta-btn {
  padding: 11px 22px;
  font-size: 11px;
  letter-spacing: .14em;
}

.nav-mobile {
  display: none;
  background: transparent;
  border: 1px solid var(--text-3);
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 6px;
  font-family: var(--body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-inner { padding: 14px 22px; }
  .nav-mobile { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11,6,20,.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139,92,246,.18);
    padding: 12px 22px 22px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(139,92,246,.08); }
  .nav-links .cta-btn { margin-top: 12px; justify-content: center; }
}

/* Push body content below fixed nav */
body { padding-top: 68px; }

/* ─── Footer (shared) ───────────────────────────────────────────────────── */
.footer {
  margin-top: 80px;
  padding: 52px 0;
  background: var(--bg);
  border-top: 1px solid rgba(139,92,246,.08);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--text-2);
}
.footer-brand span { color: var(--cyan); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-family: var(--body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-3);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer-links a:hover { color: var(--cyan); }
.footer-meta {
  font-family: var(--body);
  font-size: 12px;
  color: var(--text-3);
}
.footer-meta a { color: var(--text-3); text-decoration: none; transition: color .2s var(--ease); }
.footer-meta a:hover { color: var(--cyan); }

/* ─── Shared layout primitives ──────────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }
.section-narrow { padding: 70px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .tag { display: inline-block; }
.section-head p { color: var(--text-2); font-size: 16px; line-height: 1.7; margin: 22px auto 0; max-width: 600px; }

/* ─── Hero (home) ───────────────────────────────────────────────────────── */
.hero-v2 {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
}
.hero-v2 .hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-v2 h1 { margin-bottom: 24px; }
.hero-v2 h1 em { display: block; font-style: italic; }
.hero-v2 .hero-sub-v2 {
  font-family: var(--body);
  font-size: 17px;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-v2 .hero-cta-row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ─── Stats strip ───────────────────────────────────────────────────────── */
.stats-strip {
  background: var(--bg-section);
  padding: 56px 0;
  position: relative;
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-3);
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; } }

/* ─── Service lanes (3 cards) ───────────────────────────────────────────── */
.lanes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.lane-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(139,92,246,.1);
  border-radius: 14px;
  padding: 40px 32px 32px;
  transition: all .3s var(--ease);
  overflow: hidden;
}
.lane-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lane-card:hover {
  border-color: rgba(139,92,246,.3);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0,212,255,.08);
}
.lane-card:hover::before { opacity: 1; }
.lane-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 56px;
  color: var(--text-3);
  opacity: .35;
  line-height: 1;
  margin-bottom: 18px;
}
.lane-title {
  font-family: var(--body);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.lane-desc {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 24px;
}
.lane-link {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--cyan);
  text-decoration: none;
  transition: gap .25s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.lane-link:hover { color: var(--cyan-soft); gap: 10px; }
@media (max-width: 920px) { .lanes-grid { grid-template-columns: 1fr; } }

/* ─── Automation cards (4) ─────────────────────────────────────────────── */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 0 40px;
}
.auto-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(139,92,246,.1);
  border-radius: 14px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  transition: all .3s var(--ease);
}
.auto-card:hover {
  border-color: rgba(139,92,246,.3);
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0,212,255,.08);
}
.auto-card.is-new {
  border-color: rgba(139,92,246,.45);
  box-shadow: 0 0 0 1px rgba(139,92,246,.2);
}
.auto-card.is-new::after {
  content: 'NEW';
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--cyan);
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.35);
  padding: 4px 8px;
  border-radius: 4px;
}
.auto-title {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
}
.auto-desc {
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0 0 14px;
}
.auto-link {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--cyan);
  text-decoration: none;
}
.auto-link:hover { color: var(--cyan-soft); }
.auto-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 22px;
  border-left: 1px solid rgba(139,92,246,.12);
  min-width: 130px;
}
.auto-stat-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 4px;
}
.auto-stat-label {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-3);
}
@media (max-width: 920px) { .auto-grid { grid-template-columns: 1fr; } .auto-card { grid-template-columns: 1fr; gap: 20px; } .auto-stats { flex-direction: row; padding-left: 0; padding-top: 18px; border-left: 0; border-top: 1px solid rgba(139,92,246,.12); gap: 40px; min-width: 0; } }

.auto-foot { text-align: center; }
.auto-foot a {
  font-family: var(--body); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--cyan); text-decoration: none;
}
.auto-foot a:hover { color: var(--cyan-soft); }

/* ─── Framework teaser (7 phase cards) ─────────────────────────────────── */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 40px;
}
.phase-card {
  background: var(--bg-card);
  border: 1px solid rgba(139,92,246,.1);
  border-radius: 10px;
  padding: 22px 14px;
  text-align: center;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.phase-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.phase-card:hover {
  border-color: rgba(139,92,246,.3);
  transform: translateY(-3px);
}
.phase-card:hover::after { transform: scaleX(1); }
.phase-num {
  font-family: var(--body); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-3);
  margin-bottom: 10px;
}
.phase-name {
  font-family: var(--body); font-size: 12.5px; font-weight: 500;
  color: var(--text); line-height: 1.4;
}
.phase-cta-row { text-align: center; }
@media (max-width: 980px) { .phase-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .phase-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── Principles 2x2 ───────────────────────────────────────────────────── */
.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}
.principle-card {
  background: linear-gradient(135deg, rgba(139,92,246,.04), rgba(0,212,255,.02));
  border-left: 2px solid var(--violet);
  border-radius: 0 10px 10px 0;
  padding: 28px 32px;
  transition: all .3s var(--ease);
}
.principle-card:hover {
  border-left-color: var(--pink);
  background: linear-gradient(135deg, rgba(255,45,120,.05), rgba(0,212,255,.03));
}
.principle-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}
.principle-title em { color: var(--pink); font-style: italic; }
.principle-text {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 760px) { .principle-grid { grid-template-columns: 1fr; } }

/* ─── Footer CTA section ───────────────────────────────────────────────── */
.cta-section {
  padding: 110px 40px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(0,212,255,.10), rgba(255,45,120,.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-section h2 { margin-bottom: 22px; }
.cta-section h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cta-section p {
  font-family: var(--body); font-size: 15px;
  color: var(--text-2); line-height: 1.7;
  max-width: 540px; margin: 0 auto 36px;
}
.cta-row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ─── Forms ────────────────────────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 560px;
  margin: 0 auto;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-3);
}
.form-row input,
.form-row textarea {
  background: var(--bg-card);
  border: 1px solid rgba(139,92,246,.18);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.form-row textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-3); }
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--cyan);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px rgba(0,212,255,.12);
}
.form-honey { display: none !important; }
.form-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 8px; }

/* ─── About page sections ──────────────────────────────────────────────── */
.about-section { padding: 90px 0; }
.about-section + .about-section { border-top: 1px solid rgba(139,92,246,.08); }
.about-inner { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.about-eyebrow {
  font-family: var(--body); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--cyan); margin-bottom: 22px;
}
.about-headline {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.15;
  margin: 0 0 32px;
}
.about-headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.about-prose p {
  font-family: var(--body); font-size: 15.5px;
  color: var(--text-2); line-height: 1.75;
  margin: 0 0 20px;
}
.about-prose strong { color: var(--text); font-weight: 500; }

/* Build cards (3 columns inside founder section) */
.build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.build-card {
  background: var(--bg-card);
  border: 1px solid rgba(139,92,246,.1);
  border-radius: 12px;
  padding: 22px 22px 24px;
  transition: all .3s var(--ease);
}
.build-card:hover { border-color: rgba(139,92,246,.3); transform: translateY(-3px); }
.build-num {
  font-family: var(--body); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--text-3); margin-bottom: 8px;
}
.build-title {
  font-family: var(--display); font-style: italic; font-size: 19px;
  color: var(--text); margin-bottom: 12px;
}
.build-text {
  font-family: var(--body); font-size: 13.5px;
  color: var(--text-2); line-height: 1.7; margin: 0;
}
@media (max-width: 820px) { .build-grid { grid-template-columns: 1fr; } }


/* ─── Scroll reveal (Session 13 polish) ────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}