/* ── Fonts ── */
@font-face {
  font-family: 'PasticheGrotesque';
  src: url('/fonts/PasticheGrotesqueWeb-Regular.woff2') format('woff2'),
       url('/fonts/PasticheGrotesqueWeb-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PasticheGrotesque';
  src: url('/fonts/PasticheGrotesqueWeb-Medium.woff2') format('woff2'),
       url('/fonts/PasticheGrotesqueWeb-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PasticheGrotesque';
  src: url('/fonts/PasticheGrotesqueWeb-SemiBold.woff2') format('woff2'),
       url('/fonts/PasticheGrotesqueWeb-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PasticheGrotesque';
  src: url('/fonts/PasticheGrotesqueWeb-Bold.woff2') format('woff2'),
       url('/fonts/PasticheGrotesqueWeb-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PasticheGrotesque';
  src: url('/fonts/PasticheGrotesqueWeb-Black.woff2') format('woff2'),
       url('/fonts/PasticheGrotesqueWeb-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

/* ── Variables ── */
:root {
  --navy: #0b1a2e;
  --navy-mid: #112240;
  --navy-light: #1a3054;
  --amber: #c9942e;
  --amber-light: #e2b75a;
  --amber-dim: rgba(201, 148, 46, 0.15);
  --cream: #f0ece3;
  --cream-dim: rgba(240, 236, 227, 0.7);
  --white: #ffffff;
  --green: #4caf7c;
  --blue: #8cb4d5;
  --muted: rgba(240, 236, 227, 0.4);
  --phase-fight: #c9942e;
  --phase-win: #e2b75a;
  --phase-prove: #8cb4d5;
  --phase-enforce: #f0ece3;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* ── Noise overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ── Ambient glow ── */
.topo-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background:
    radial-gradient(ellipse 600px 600px at 20% 30%, var(--amber) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 80% 70%, var(--blue) 0%, transparent 70%);
}

/* ── Top bar ── */
.topbar {
  position: relative;
  z-index: 100;
  padding: 1.25rem 0;
}
.topbar-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
}
.topbar-logo span { color: var(--amber); }

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  border-top: 1px solid rgba(240, 236, 227, 0.08);
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(240, 236, 227, 0.35);
}
.footer-email {
  font-size: 0.85rem;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-email:hover { color: var(--amber); }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-link {
  font-size: 0.85rem;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--amber); }

@media (max-width: 600px) {
  .footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
