*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #0c1a24;
  --ink-soft: #1a2f3a;
  --paper: #f2f5f3;
  --paper-2: #e6ece8;
  --forest: #1a5f4a;
  --forest-bright: #2d8a6a;
  --muted: #5a6e66;
  --line: rgba(12, 26, 36, 0.12);
  --font-sans: "Barlow", "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--forest-bright);
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(680px, calc(100% - 2.5rem));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 245, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--forest);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: #e8f0ec;
}

.hero__plane {
  position: absolute;
  inset: 0;
  animation: hero-fade 1.2s ease-out both;
}

.hero__diagram {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hero__gate {
  animation: gate-pulse 4.5s ease-in-out infinite;
}

@keyframes hero-fade {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: none; }
}

@keyframes gate-pulse {
  0%, 100% { stroke-opacity: 0.7; }
  50% { stroke-opacity: 1; }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  animation: content-up 0.9s 0.15s ease-out both;
}

@keyframes content-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.brand {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fbfa8;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #b8cfc4;
  line-height: 1.5;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: #c8e6d8;
  color: var(--ink);
}

.btn--primary:hover {
  background: #e0f2ea;
  color: var(--ink);
}

.btn--ghost {
  border-color: rgba(200, 230, 216, 0.45);
  color: #c8e6d8;
  background: transparent;
}

.btn--ghost:hover {
  border-color: #c8e6d8;
  color: #fff;
}

.section--cta .btn--primary {
  background: var(--forest);
  color: #fff;
}

.section--cta .btn--primary:hover {
  background: var(--forest-bright);
  color: #fff;
}

.section--cta .btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}

.section--cta .btn--ghost:hover {
  border-color: var(--forest);
  color: var(--forest);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--band {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.section--cta {
  background:
    linear-gradient(160deg, #dce8e2 0%, var(--paper) 55%),
    var(--paper);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 22ch;
}

.prose {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.prose.muted {
  color: var(--muted);
  font-size: 0.98rem;
}

.prose em {
  font-style: italic;
}

.bullets {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  font-family: var(--font-serif);
  color: var(--ink-soft);
}

.bullets li {
  margin-bottom: 0.55rem;
}

.sources-list a {
  text-decoration: none;
}

.sources-list a:hover {
  text-decoration: underline;
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  animation: content-up 0.7s ease-out both;
}

.steps li:nth-child(2) { animation-delay: 0.08s; }
.steps li:nth-child(3) { animation-delay: 0.16s; }
.steps li:nth-child(4) { animation-delay: 0.24s; }

.steps__n {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--forest);
  padding-top: 0.2rem;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-block {
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-block a {
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--forest);
}

@media (max-width: 640px) {
  .nav {
    font-size: 0.8rem;
    gap: 0.25rem 0.75rem;
  }

  .hero {
    min-height: 88vh;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__plane,
  .hero__content,
  .hero__gate,
  .steps li {
    animation: none;
  }
}
