@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --black:  #000000;
  --white:  #ffffff;
  --amber:  #C49A1E;
  --grey:   #888888;
  --grey-light: #e8e8e8;
  --font:   'Space Grotesk', sans-serif;
  --nav-h:  80px;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: var(--font); font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { background: var(--white); color: var(--black); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: var(--nav-h);
  background: var(--black);
  border-bottom: 1px solid #1a1a1a;
  color: var(--white);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: currentColor;
}

.nav-wordmark {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 0.25s ease;
}

.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active { opacity: 1; }
.nav-links a.active::after { width: 100%; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

/* ─── Mobile nav ─────────────────────────────────────────────── */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--black);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.9;
}

.nav-mobile a:hover { opacity: 1; color: var(--amber); }

/* ─── Sections ───────────────────────────────────────────────── */
.section {
  padding: 120px 56px;
  position: relative;
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section--hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  display: flex;
  align-items: flex-end;
}

.section--hero-centered {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 80px;
}

.hero-inner--centered {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

/* ─── Typography ─────────────────────────────────────────────── */
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 32px;
  display: block;
}

.heading-xl {
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
}

.heading-display {
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.heading-lg {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.heading-md {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.heading-sm {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.body-lg {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--grey);
  max-width: 580px;
}

.section--dark .body-lg { color: #aaaaaa; }

.body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey);
}

.section--dark .body { color: #999999; }

.mission-text {
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 15px 36px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn--amber {
  background: var(--amber);
  color: var(--black);
}

.btn--amber:hover { opacity: 0.88; }

.btn--outline-white {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
}

.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

.arrow-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.arrow-link:hover { gap: 14px; }

/* ─── Dome motif ─────────────────────────────────────────────── */
.dome-hero {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  fill: currentColor;
  opacity: 0.95;
}

.dome-bg {
  position: absolute;
  fill: currentColor;
  pointer-events: none;
  user-select: none;
}

/* ─── Section inner containers ───────────────────────────────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 72px;
}

.section-header .heading-lg {
  margin-bottom: 20px;
}

/* ─── Problem grid ───────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--grey-light);
}

.problem-item {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--grey-light);
}

.problem-item:last-child { border-right: none; }
.problem-item:not(:first-child) { padding-left: 40px; }

.problem-item .heading-sm {
  margin-bottom: 16px;
  color: var(--black);
}

/* ─── Who tiles ──────────────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--black);
}

.who-tile {
  padding: 48px 40px;
  border-right: 1px solid var(--black);
}

.who-tile:last-child { border-right: none; }

.who-tile .heading-sm {
  margin-bottom: 16px;
  color: var(--black);
}

/* ─── Steps ──────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #222;
}

.step {
  padding: 48px 40px 48px 0;
  border-right: 1px solid #222;
}

.step:last-child { border-right: none; }
.step:not(:first-child) { padding-left: 40px; }

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 20px;
  display: block;
}

.step .heading-md { color: var(--black); }

/* ─── Standards grid ─────────────────────────────────────────── */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid #222;
  margin-top: 56px;
}

.standard-item {
  padding: 40px 48px 40px 0;
  border-right: 1px solid #222;
}

.standard-item:last-child { border-right: none; }
.standard-item:not(:first-child) { padding-left: 48px; }

.standard-item .label { margin-bottom: 12px; }

/* ─── Master plan ────────────────────────────────────────────── */
.plan-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--grey-light);
  margin-top: 56px;
}

.plan-item {
  padding: 56px 56px 56px 0;
  border-right: 1px solid var(--grey-light);
}

.plan-item:last-child { border-right: none; padding-left: 56px; padding-right: 0; }

.plan-num {
  font-size: 56px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  display: block;
}

/* ─── Amber rule ─────────────────────────────────────────────── */
.amber-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--amber);
  margin-bottom: 56px;
}

/* ─── Spacers ────────────────────────────────────────────────── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mt-80 { margin-top: 80px; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 56px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-brand .nav-mark { width: 32px; height: 32px; margin-bottom: 16px; fill: var(--white); }
.footer-brand .nav-wordmark { font-size: 13px; letter-spacing: 0.2em; color: var(--white); margin-bottom: 20px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: #666; max-width: 260px; }

.footer-nav { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.footer-nav a { font-size: 13px; letter-spacing: 0.05em; color: #666; transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }

.footer-meta { text-align: right; padding-top: 8px; }
.footer-meta p { font-size: 12px; color: #444; }

/* ─── Contact ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

.contact-email {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 32px;
  display: block;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.form-field {
  border-bottom: 1px solid var(--grey-light);
  padding: 20px 0;
}

.form-field:first-child { border-top: 1px solid var(--grey-light); }

.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  resize: none;
}

.form-field textarea { min-height: 100px; }

/* ─── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Hero animations ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-animate { opacity: 0; animation: fadeUp 0.8s ease forwards; }
.hero-animate-1 { animation-delay: 0.1s; }
.hero-animate-2 { animation-delay: 0.25s; }
.hero-animate-3 { animation-delay: 0.4s; }
.hero-animate-4 { animation-delay: 0.55s; }
.hero-animate-5 { animation-delay: 0.7s; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: 100px 40px; }
  .nav { padding: 0 40px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .section { padding: 80px 24px; }
  .section--hero,
  .section--hero-centered { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 72px; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .dome-hero { width: 120px; height: 120px; }

  .problem-grid { grid-template-columns: 1fr; }
  .problem-item { border-right: none; border-bottom: 1px solid var(--grey-light); padding: 40px 0; }
  .problem-item:not(:first-child) { padding-left: 0; }

  .who-grid { grid-template-columns: 1fr; }
  .who-tile { border-right: none; border-bottom: 1px solid var(--black); }

  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid #222; padding: 40px 0; }
  .step:not(:first-child) { padding-left: 0; }

  .standards-grid { grid-template-columns: 1fr; }
  .standard-item { border-right: none; border-bottom: 1px solid #222; padding: 40px 0; }
  .standard-item:not(:first-child) { padding-left: 0; }

  .plan-items { grid-template-columns: 1fr; }
  .plan-item { border-right: none; border-bottom: 1px solid var(--grey-light); padding: 48px 0; }
  .plan-item:last-child { padding-left: 0; }

  .footer { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px 40px; }
  .footer-meta { text-align: left; }
}
