*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0d0f14; --navy: #0e1e45; --gold: #e8b000; --gold-light: #fdf3d0;
  --cream: #faf8f3; --white: #ffffff; --rule: #d4cec3; --muted: #7a7266; --soft: #f2f0ea;
  --shadow-card: 0 1px 3px rgba(13,15,20,0.07), 0 4px 12px rgba(13,15,20,0.06);
  --shadow-card-hover: 0 4px 16px rgba(13,15,20,0.12), 0 1px 3px rgba(13,15,20,0.06);
  --shadow-feat: 0 8px 32px rgba(13,15,20,0.22);
  --radius-sm: 4px; --radius-md: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--ink); min-height: 100vh; }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav-wrap { background: var(--white); border-bottom: 1px solid var(--rule); box-shadow: 0 1px 0 var(--rule), 0 2px 8px rgba(13,15,20,0.06); position: sticky; top: 0; z-index: 200; }
.nav-inner { padding: 0 48px; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-brand img { height: 36px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.nav-brand-text { display: none; }
.nav-links { display: flex; align-items: center; }
.nav-links a { font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 5px 12px; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.12s, background 0.12s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--soft); }
.nav-links a.active { background: var(--soft); color: var(--navy); }
.nav-cta { background: var(--gold) !important; color: var(--ink) !important; border-radius: var(--radius-sm) !important; }
.nav-cta:hover { background: #d4a000 !important; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; color: var(--navy); padding: 6px; border-radius: 6px; transition: background 0.12s; -webkit-tap-highlight-color: transparent; }
.nav-burger:hover { background: var(--soft); }
.nav-drawer { display: none; flex-direction: column; border-top: 1px solid var(--rule); }
.nav-drawer.open { display: flex; }
.nav-drawer a { display: block; padding: 15px 20px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid var(--rule); transition: background 0.12s; }
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { background: var(--soft); }
.nav-drawer a.active { background: var(--navy); color: var(--white); }
.nav-drawer .nav-cta-mobile { background: var(--gold); color: var(--ink) !important; font-weight: 700; }

/* ── Page header ─────────────────────────────────────────────────── */
.page-header { background: var(--navy); border-bottom: 4px solid var(--gold); padding: 48px 48px 40px; }
.page-header-kicker, .kicker { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.page-header-kicker::before, .kicker::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.page-header h1 { font-family: 'DM Serif Display', serif; font-size: clamp(36px, 5vw, 56px); color: var(--white); line-height: 1; letter-spacing: -1px; }
.page-header h1 em { font-style: italic; color: var(--gold); }
.page-header-sub { margin-top: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.1em; }

/* ── Footer ──────────────────────────────────────────────────────── */
footer { background: var(--navy); color: var(--white); border-top: 3px solid var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 14px; padding: 36px 48px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); max-width: 1200px; margin: 0 auto; }
.footer-logo { height: 34px; width: auto; opacity: 0.85; mix-blend-mode: luminosity; }
.footer-brand-name { font-family: 'DM Serif Display', serif; font-size: 16px; color: rgba(255,255,255,0.7); letter-spacing: -0.2px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 28px 48px 32px; display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-col ul { list-style: none; }
.footer-col ul li + li { margin-top: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; transition: color 0.15s, gap 0.15s var(--ease); }
.footer-col a:hover { color: var(--gold); gap: 7px; }
.footer-col p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 16px 48px 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 11px; color: rgba(255,255,255,0.25); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; text-align: center; }

/* ── Animations ──────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.page-header { animation: fadeUp 0.4s 0.05s both; }
.page-wrap { animation: fadeUp 0.4s 0.15s both; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .page-header { padding: 28px 20px 24px; }
}
@media (max-width: 640px) {
  .footer-brand { padding: 28px 20px 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-inner { grid-template-columns: 1fr; padding: 24px 20px 24px; gap: 28px; text-align: center; }
  .footer-bottom { padding: 14px 20px 20px; }
}

/* ── Reduced motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
