/* ─── Tokens ─── */
:root {
  --espresso:    #1a0f08;
  --dark-roast:  #2e1a0d;
  --amber:       #d4893a;
  --amber-light: #f0a95a;
  --cream:       #faf5ee;
  --cream-warm:  #f5ede0;
  --fog:         #e8ddd0;
  --cosmic:      #0a0e1a;
  --star-dim:    rgba(255,255,255,0.35);
  --star-bright: rgba(255,255,255,0.85);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber); color: var(--cream); }

/* ─── Typography Helpers ─── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--espresso);
  margin-bottom: 1.5rem;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--espresso);
  overflow: hidden;
  padding: 6rem 4rem 4rem;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle at center, rgba(212,137,58,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.hero-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(212,137,58,0.4);
  border-radius: 2rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 2rem;
}
.hero-headline em {
  color: var(--amber);
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fog);
  max-width: 460px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--espresso);
  background: var(--amber);
  padding: 0.35rem 0.8rem;
  border-radius: 2rem;
}

/* Hero Visual — Cosmic Rings */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.cosmic-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,137,58,0.15);
}
.ring-1 { width: 320px; height: 320px; }
.ring-2 { width: 480px; height: 480px; border-color: rgba(212,137,58,0.08); }
.ring-3 { width: 640px; height: 640px; border-color: rgba(212,137,58,0.05); }

.starfield { position: absolute; inset: 0; }
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--star-bright);
}
.s1 { top: 20%; left: 15%; width: 1px; height: 1px; }
.s2 { top: 35%; left: 75%; width: 3px; height: 3px; }
.s3 { top: 60%; left: 25%; width: 1px; height: 1px; }
.s4 { top: 15%; left: 60%; width: 2px; height: 2px; }
.s5 { top: 70%; left: 80%; width: 2px; height: 2px; }
.s6 { top: 45%; left: 10%; width: 1px; height: 1px; background: var(--star-dim); }

.orbit-labels {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-label {
  position: absolute;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-light);
  transform: rotate(var(--angle)) translateY(-200px) rotate(calc(-1 * var(--angle)));
}

/* ─── Operational ─── */
.operational {
  padding: 7rem 4rem;
  background: var(--cream-warm);
}
.operational .section-title { max-width: 500px; }

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3rem;
  background: var(--fog);
  border: 1px solid var(--fog);
}
.ops-card {
  background: var(--cream);
  padding: 2.2rem 2rem;
  transition: transform 0.2s;
}
.ops-card:hover { transform: translateY(-2px); }

.ops-icon {
  color: var(--amber);
  margin-bottom: 1.2rem;
}
.ops-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 0.7rem;
}
.ops-card p {
  font-size: 0.88rem;
  color: var(--dark-roast);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── Origins ─── */
.origins {
  background: var(--espresso);
  padding: 7rem 4rem;
}
.origins-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.origins .section-label { color: var(--amber-light); }
.origins .section-title { color: var(--cream); }
.origins-body {
  color: var(--fog);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.origin-list { display: flex; flex-direction: column; gap: 1rem; }
.origin-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--cream);
}
.origin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: 6px;
  flex-shrink: 0;
}
.origin-item strong { font-weight: 600; }
.origin-item span { color: var(--fog); font-size: 0.88rem; }

/* World Map (stylized) */
.world-map {
  position: relative;
  background: var(--dark-roast);
  border-radius: 8px;
  height: 360px;
  overflow: hidden;
  border: 1px solid rgba(212,137,58,0.15);
}
.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(212,137,58,0.6);
}
.d1 { top: 40%; left: 20%; }
.d2 { top: 50%; left: 52%; }
.d3 { top: 58%; left: 65%; }
.d4 { top: 32%; left: 74%; }
.d5 { top: 62%; left: 26%; }
.d6 { top: 28%; left: 76%; }
.map-route {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(212,137,58,0.06) 0%, transparent 40%),
    radial-gradient(circle at 52% 50%, rgba(212,137,58,0.06) 0%, transparent 40%),
    radial-gradient(circle at 65% 58%, rgba(212,137,58,0.06) 0%, transparent 40%);
}
.map-label {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
}

/* ─── Flavor ─── */
.flavor {
  background: var(--amber);
  padding: 6rem 4rem;
}
.flavor .section-label { color: var(--espresso); }
.flavor .section-title { color: var(--espresso); }
.flavor-header { margin-bottom: 3rem; }
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(26,15,8,0.15);
}
.flavor-card {
  background: var(--amber);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(26,15,8,0.1);
}
.flavor-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 0.8rem;
}
.flavor-note {
  font-size: 0.82rem;
  color: var(--dark-roast);
  font-weight: 300;
}

/* ─── Manifesto ─── */
.manifesto {
  background: var(--cream-warm);
  padding: 7rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.manifesto-quote {
  border-left: 3px solid var(--amber);
  padding-left: 2.5rem;
}
.manifesto-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.4;
  margin-bottom: 1.2rem;
}
.manifesto-quote cite {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  font-style: normal;
}
.manifesto-body p {
  font-size: 0.95rem;
  color: var(--dark-roast);
  line-height: 1.75;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

/* ─── Closing ─── */
.closing {
  background: var(--cosmic);
  padding: 7rem 4rem;
  text-align: center;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.closing p {
  font-size: 1rem;
  color: var(--fog);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--espresso);
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
}
.footer-sub { font-size: 0.78rem; color: var(--fog); font-weight: 300; }
.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.78rem;
  color: var(--fog);
  font-weight: 400;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero { padding: 5rem 2rem 3rem; flex-direction: column; }
  .hero-content { max-width: 100%; }
  .hero-visual { position: relative; width: 100%; height: 280px; margin-top: 3rem; }
  .ops-grid { grid-template-columns: repeat(2, 1fr); }
  .origins-inner { grid-template-columns: 1fr; gap: 3rem; }
  .manifesto { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2rem; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .operational { padding: 5rem 2rem; }
  .origins { padding: 5rem 2rem; }
  .flavor { padding: 5rem 2rem; }
  .closing { padding: 5rem 2rem; }
}
@media (max-width: 600px) {
  .ops-grid { grid-template-columns: 1fr; }
  .flavor-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 3rem; }
}