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

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

:root {
  --bg: #ffffff;
  --bg-deep: #f5f5f3;
  --bg-card: #fafaf8;
  --text: #1a1a1a;
  --text-muted: #5a5a58;
  --text-dim: #8a8a88;
  --border: #e0e0de;
  --green: #2d7a4a;
  --amber: #a06a28;
  --blue: #2a6a8e;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────────── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

nav .logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

nav .links {
  display: flex; gap: 32px;
  list-style: none;
}

nav .links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav .links a:hover, nav .links a.active { color: var(--text); }

/* ── HERO ────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  max-width: 800px;
  margin-bottom: 24px;
}

.hero .subtitle {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ── TRIPTYCH ────────────────────────────────────────────── */

.triptych {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 100%;
  margin: 60px auto 0;
  padding: 0 40px;
}

.triptych-card {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}

.triptych-card:hover {
  transform: scale(1.03);
  border-color: var(--text-dim);
}

.triptych-card .overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(245,245,243,0.7);
  padding: 20px;
  text-align: center;
}

.triptych-card .overlay h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.triptych-card .overlay .scale {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.triptych-card.green .overlay h3 { color: var(--green); }
.triptych-card.amber .overlay h3 { color: var(--amber); }
.triptych-card.blue .overlay h3 { color: var(--blue); }

/* ── SECTIONS ────────────────────────────────────────────── */

section {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

section h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  margin-bottom: 12px;
}

section .section-lead {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* ── PILOT CARDS ─────────────────────────────────────────── */

.pilot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pilot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
  text-decoration: none;
  color: var(--text);
  display: block;
}

.pilot-card:hover { border-color: var(--text-dim); }

.pilot-card .card-map {
  height: 180px;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.pilot-card .card-map iframe {
  width: 100%; height: 100%; border: 0;
  pointer-events: none;
}

.pilot-card .card-body {
  padding: 20px;
}

.pilot-card .card-body h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.pilot-card .card-body .meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-family: var(--mono);
}

.pilot-card .card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.pilot-card.green h3 { color: var(--green); }
.pilot-card.amber h3 { color: var(--amber); }
.pilot-card.blue h3 { color: var(--blue); }

/* ── STAT BAR ────────────────────────────────────────────── */

.stat-bar {
  display: flex; gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 40px 0;
}

.stat {
  text-align: center;
}

.stat .num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
}

.stat .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── ARTICLE GRID ────────────────────────────────────────── */

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s;
  text-decoration: none;
  color: var(--text);
  display: block;
}

.article-card:hover { border-color: var(--text-dim); }

.article-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-card .excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.article-card .tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-dim);
  margin-top: 12px;
}

/* ── CTA BUTTON ──────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--text-dim);
  color: var(--text);
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
  background: transparent;
}

.btn:hover {
  background: rgba(0,0,0,0.03);
  border-color: var(--text-muted);
}

.btn.green { border-color: var(--green); color: var(--green); }
.btn.amber { border-color: var(--amber); color: var(--amber); }
.btn.blue { border-color: var(--blue); color: var(--blue); }

/* ── PILOT PAGE HERO ─────────────────────────────────────── */

.pilot-hero {
  min-height: 50vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px 40px 60px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.pilot-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(255,255,255,0) 60%);
}

.pilot-hero > * { position: relative; z-index: 1; }

.pilot-hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  max-width: 700px;
}

.pilot-hero .pilot-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 500px;
}

/* ── MAP EMBED ───────────────────────────────────────────── */

.map-container {
  width: 100%;
  height: 500px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-deep);
  margin: 40px 0;
}

.map-container iframe {
  width: 100%; height: 100%; border: 0;
}

.map-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-dim);
  font-size: 14px;
}

.map-placeholder .icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

/* ── PIN TYPES ───────────────────────────────────────────── */

.pin-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.pin-type {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
}

.pin-type .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── COMING SOON ─────────────────────────────────────────── */

.coming-soon {
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 40px 0;
}

.coming-soon h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}

.coming-soon p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ── FOOTER ──────────────────────────────────────────────── */

footer {
  padding: 60px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

footer .footer-brand {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

footer .footer-actions {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  nav .links { gap: 16px; }
  nav .links a { font-size: 11px; }
  .hero { padding: 100px 20px 60px; }
  .triptych { grid-template-columns: 1fr; max-width: 280px; gap: 16px; }
  section { padding: 60px 20px; }
  .pilot-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .stat-bar { flex-wrap: wrap; gap: 24px; }
  .pilot-hero { padding: 100px 20px 40px; min-height: 40vh; }
  .map-container { height: 350px; }
}
