@font-face{font-family:'Anton';src:url('../fonts/Anton-Regular.ttf') format('truetype');font-weight:400;font-display:swap;}
@font-face{font-family:'Switzer';src:url('../fonts/Switzer-Light.otf') format('opentype');font-weight:300;font-display:swap;}
@font-face{font-family:'Switzer';src:url('../fonts/Switzer-Regular.otf') format('opentype');font-weight:400;font-display:swap;}
@font-face{font-family:'Switzer';src:url('../fonts/Switzer-Medium.otf') format('opentype');font-weight:500;font-display:swap;}
@font-face{font-family:'Switzer';src:url('../fonts/Switzer-Semibold.otf') format('opentype');font-weight:600;font-display:swap;}
@font-face{font-family:'Switzer';src:url('../fonts/Switzer-Bold.otf') format('opentype');font-weight:700;font-display:swap;}

:root {
  --blue: #000D85;
  --blue-dark: #000660;
  --yellow: #F5E392;
  --lavender: #A6ABDA;
  --black: #0A0A0A;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Semantic tokens — used by mobile nav overlay */
  --color-bg: var(--blue);
  --color-surface: var(--blue-dark);
  --color-accent: var(--yellow);
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-border: rgba(255, 255, 255, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Switzer', sans-serif; background: var(--blue); color: #fff; -webkit-font-smoothing: antialiased; }

/* ─── Nav ──────────────────────────────────────────────────────────────── */
.nav-shell {
  position: sticky; top: 0; z-index: 200;
  height: 72px; padding: 0 clamp(14px, 2.5vw, 32px);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0,6,96,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245,227,146,0.1);
}
.nav-shell img { height: 56px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links-desktop { display: flex; align-items: center; gap: 28px; }
.nav-links a.nav-link { font-family: 'Switzer'; font-weight: 600; font-size: 14px; color: #fff; text-decoration: none; }
.nav-links a.nav-link.active { color: var(--yellow); }
.nav-cta {
  font-family: 'Switzer'; font-weight: 700; font-size: 14px;
  background: var(--yellow); color: var(--blue);
  border: none; border-radius: 9999px; padding: 10px 26px;
  text-decoration: none; box-shadow: 0 4px 20px rgba(245,227,146,0.3);
  transition: transform 200ms, box-shadow 200ms;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,227,146,0.45); }
@media (max-width: 640px) {
  .nav-shell img { height: 44px; }
  .nav-links-desktop { display: none !important; }
}

/* ─── Hamburger button (mobile nav trigger) ─────────────────────────────── */
.hamburger-btn {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.hamburger-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--color-text); border-radius: 2px;
}
@media (max-width: 640px) { .hamburger-btn { display: inline-flex; } }

/* ─── Mobile nav overlay ─────────────────────────────────────────────────── */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 9999;
  width: 100vw; height: 100vh;
  background: var(--color-surface);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity 380ms var(--ease), visibility 380ms var(--ease);
}
.mobile-nav-overlay.is-open { opacity: 1; visibility: visible; }

.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 clamp(14px, 2.5vw, 32px);
  flex-shrink: 0;
}
.mobile-nav-header img { height: 44px; }
.mobile-nav-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--color-border); border-radius: 9999px;
  cursor: pointer; color: var(--color-text);
  transition: transform 380ms var(--ease), background 200ms;
}
.mobile-nav-close:active { background: rgba(255,255,255,0.08); }
.mobile-nav-close.is-tapped { transform: rotate(90deg); }

.mobile-nav-links {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
}
.mobile-nav-link {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 11vw, 56px);
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.01em;
  opacity: 0; transform: translateY(24px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.mobile-nav-overlay.is-open .mobile-nav-link { opacity: 1; transform: translateY(0); }
.mobile-nav-overlay.is-open .mobile-nav-link:nth-child(1) { transition-delay: 80ms; }
.mobile-nav-overlay.is-open .mobile-nav-link:nth-child(2) { transition-delay: 160ms; }

.mobile-nav-cta-wrap {
  padding: 0 clamp(24px, 8vw, 56px) clamp(56px, 10vh, 88px);
  display: flex; justify-content: center;
  opacity: 0; transform: translateY(24px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
  transition-delay: 240ms;
}
.mobile-nav-overlay.is-open .mobile-nav-cta-wrap { opacity: 1; transform: translateY(0); }
.mobile-nav-cta-wrap a {
  font-family: 'Switzer'; font-weight: 700; font-size: 16px;
  background: var(--color-accent); color: var(--color-bg);
  text-decoration: none; border-radius: 9999px; padding: 16px 44px;
  box-shadow: 0 8px 32px rgba(245,227,146,0.28);
}

@media (min-width: 641px) {
  .mobile-nav-overlay, .hamburger-btn { display: none !important; }
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.page-hero { padding: clamp(56px, 9vw, 96px) clamp(24px, 8vw, 8%) clamp(48px, 7vw, 72px); background: var(--blue); }
.eyebrow { font-family: 'Switzer'; font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lavender); margin-bottom: 20px; }
.page-hero h1 { font-family: 'Anton', sans-serif; font-size: clamp(44px, 7.5vw, 80px); text-transform: uppercase; color: #fff; line-height: 0.97; letter-spacing: -0.01em; }
.page-hero h1 .accent { color: var(--yellow); }

/* ─── Card grid (listing) ──────────────────────────────────────────────── */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px);
  max-width: 1400px; margin: 0 auto;
  padding: 0 clamp(24px, 8vw, 8%) clamp(96px, 12vw, 140px);
}
.news-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; }
.news-card .thumb { position: relative; aspect-ratio: 1.3; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.05); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms cubic-bezier(0.22,1,0.36,1); }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .date { font-family: 'Switzer'; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lavender); }
.news-card h3 { font-family: 'Switzer'; font-weight: 700; font-size: 19px; color: #fff; line-height: 1.35; }
.news-card p { font-family: 'Switzer'; font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

/* ─── Article page ─────────────────────────────────────────────────────── */
.article-hero { padding: clamp(56px, 9vw, 96px) clamp(24px, 8vw, 8%) clamp(40px, 6vw, 56px); background: var(--blue); }
.article-hero .back-link { display: inline-flex; align-items: center; gap: 8px; font-family: 'Switzer'; font-weight: 600; font-size: 13px; color: var(--lavender); text-decoration: none; margin-bottom: 28px; }
.article-hero .back-link:hover { color: #fff; }
.article-hero h1 { font-family: 'Anton', sans-serif; font-size: clamp(34px, 5.6vw, 60px); text-transform: uppercase; color: #fff; line-height: 1.05; letter-spacing: -0.005em; max-width: 900px; margin-bottom: 24px; }
.article-meta { display: flex; gap: 20px; align-items: center; font-family: 'Switzer'; font-size: 13px; color: var(--lavender); }
.article-cover { max-width: 1100px; margin: 0 auto; padding: 0 clamp(24px, 6vw, 5%); }
.article-cover img { width: 100%; border-radius: 20px; display: block; aspect-ratio: 1.6; object-fit: cover; }
.article-body { background: #fff; }
.article-body-inner {
  max-width: 720px; margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) clamp(24px, 6vw, 24px) clamp(80px, 10vw, 120px);
  font-family: 'Switzer'; font-size: 17px; line-height: 1.8; color: rgba(10,10,30,0.8);
}
.article-body-inner p { margin-bottom: 22px; text-wrap: pretty; }
.article-body-inner img { width: 100%; border-radius: 16px; margin: 8px 0 30px; display: block; }
.article-footer-nav { background: #fff; padding: 0 clamp(24px, 6vw, 8%) 80px; }
.article-footer-nav-inner { max-width: 720px; margin: 0 auto; }
.article-footer-nav a { font-family: 'Switzer'; font-weight: 700; font-size: 14px; color: var(--blue); text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
footer { background: var(--black); padding: 44px clamp(20px, 8vw, 8%); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-top: 1px solid rgba(255,255,255,0.06); }
footer img { height: 40px; opacity: 0.65; }
footer .copy { font-family: 'Switzer'; font-size: 13px; color: rgba(255,255,255,0.28); }
footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
footer nav a { font-family: 'Switzer'; font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 200ms; }
footer nav a:hover { color: #fff; }
@media (max-width: 640px) { footer { flex-direction: column; align-items: flex-start; text-align: left; } }
