@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  /* ===========================================
     TIER 1: PRIMITIVES (Catalyst Brand Baseline)
     =========================================== */
  --p-navy-950: #0d1423;
  --p-navy-900: #1a2744;
  --p-navy-800: #2c3e66;
  --p-gold-500: #c9a84c;
  --p-gold-glow: rgba(201, 168, 76, 0.25);
  --p-white: #ffffff;
  --p-gray-100: #f4f5f7;
  --p-gray-400: #a0aec0;

  /* ===========================================
     TIER 2: SEMANTIC (Intents)
     =========================================== */
  --bg-primary: var(--p-navy-950);
  --bg-secondary: var(--p-navy-900);
  --bg-elevated: var(--p-navy-800);
  
  --text-primary: var(--p-gray-100);
  --text-strong: var(--p-white);
  --text-muted: var(--p-gray-400);
  
  --accent: var(--p-gold-500);
  --accent-glow: var(--p-gold-glow);
  --border: rgba(201, 168, 76, 0.15);
  --border-strong: rgba(201, 168, 76, 0.4);

  /* Typography */
  --font-display: "Playfair Display", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Spacing */
  --gap: 1.5rem;
  --radius: 12px; /* Sharper, more professional than the previous 24px */

  /* Motion: Investigative Focus */
  --spring-silk: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --spring-snap: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  color-scheme: dark;
}

/* ===========================================
   RESET & BASE
   =========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: var(--font-display);
  color: var(--text-strong);
  line-height: 1.2;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* ===========================================
   LAYOUT
   =========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* Bento Engine - Retained for layout versatility */
.bento-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(250px, auto);
}

.bento-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--spring-silk), transform var(--spring-snap);
}

.bento-box:hover {
  border-color: var(--border-strong);
}

/* ===========================================
   COMPONENTS
   =========================================== */

/* Header */
.station-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 1rem 2rem; /* Surgically tightened air */
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.main-logo {
  height: 320px; /* Massive increase, letting Lady Justice speak */
  width: auto;
  filter: drop-shadow(0 0 15px var(--accent-glow));
}

.main-title {
  display: none; /* Removing the text title entirely */
}

/* Nav */
nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--spring-silk);
}

nav a:hover, nav a.active {
  color: var(--accent);
}

/* Buttons */
.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--spring-silk);
  display: inline-block;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
}

.btn-outline:hover {
  background: var(--border);
}

/* ===========================================
   UTILITIES (Mailing List Infra)
   =========================================== */
.input-error {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.2);
}

.input-error::placeholder {
  color: #ff4d4d !important;
  opacity: 1;
}

.btn.loading {
  opacity: 0.8;
  cursor: wait;
}

/* ===========================================
   ANIMATIONS
   =========================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s var(--spring-silk);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   MOBILE
   =========================================== */
@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  nav { gap: 1.5rem; flex-wrap: wrap; }
  .station-header { flex-direction: column; gap: 1rem; }
}

