:root {
  --navy: #0b1a2b;
  --blue: #102a45;
  --blue-bright: #2f8fd4;
  --red: #0a66c2;
  --red-deep: #0850a0;
  --gold: #7fb6e8;

  --ink: #f2f7fc;
  --body: #bccadb;
  --muted: #7e90a4;

  --bg: #081320;
  --bg-soft: #0f2236;
  --line: #1c3650;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { color: var(--body); }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: .8rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff; opacity: .85;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--head);
  font-weight: 700; font-size: .98rem;
  padding: 15px 32px;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-join {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 12px 28px -12px rgba(10, 102, 194, 0.7);
}
.btn-join:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }

.site-header {
  position: relative; z-index: 40;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 16px -8px rgba(0, 0, 0, 0.5);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand img { width: clamp(180px, 24vw, 329px); height: auto; max-width: 100%; }
.header-right { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); }
.login-link { font-family: var(--head); font-size: .92rem; font-weight: 600; color: var(--ink); }
.login-link:hover { color: var(--blue-bright); }
.login-desk { display: inline-flex; align-items: center; }
.header-right .btn { padding: 11px 24px; font-size: .92rem; }

.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: min(70vh, 620px);
  padding: clamp(48px, 8vw, 92px) 0;
  background:
    linear-gradient(95deg, rgba(8,19,32,0.95) 0%, rgba(11,26,43,0.82) 38%, rgba(11,26,43,0.38) 66%, rgba(11,26,43,0.12) 100%),
    url('/images/hero-desktop.jpg?v=1') center center / cover no-repeat,
    var(--navy);
}
.hero-inner { max-width: 600px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.9rem); margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.hero-sub { color: rgba(255,255,255,0.96); font-size: 1.2rem; margin-bottom: 28px; max-width: 44ch; text-shadow: 0 1px 10px rgba(0,0,0,0.35); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.story { padding: clamp(56px, 8vw, 104px) 0; background: var(--bg); }
.story .container { max-width: 1000px; }
.story-intro { max-width: 760px; margin: 0 auto clamp(16px, 3vw, 28px); text-align: center; }
.story-intro h2 { color: var(--ink); margin-bottom: 16px; }
.story-intro p { font-size: 1.18rem; line-height: 1.85; color: var(--body); }
.story-block { max-width: 720px; margin: 0 auto; }
.story-block p { font-size: 1.15rem; line-height: 1.9; color: var(--body); }
.story-block h3 { color: var(--ink); margin-bottom: 14px; }
.story-block h2 { color: var(--ink); margin-bottom: 14px; }

.pullquote { text-align: center; max-width: 880px; margin: clamp(38px, 6vw, 68px) auto; }
.pullquote::before { content: ''; display: block; width: 64px; height: 4px; background: var(--red); border-radius: 2px; margin: 0 auto 26px; }
.pullquote blockquote {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.2;
  color: var(--gold);
  margin: 0;
}
.pullquote.alt blockquote { color: var(--red); }

.cta-band {
  text-align: center;
  padding: clamp(56px, 8vw, 100px) 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 48ch; margin: 0 auto 28px; font-size: 1.12rem; }

.site-footer { background: var(--navy); color: #fff; padding: 48px 0 34px; text-align: center; }
.footer-logo img { width: clamp(240px, 32vw, 329px); height: auto; max-width: 100%; margin: 0 auto 22px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-links a { color: rgba(255,255,255,0.85); text-decoration: underline; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-copy { margin-top: 18px; font-size: .85rem; color: rgba(255,255,255,0.6); }

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--navy); color: #fff;
  padding: 16px var(--gutter);
  transform: translateY(120%); transition: transform .4s ease;
}
.cookie.show { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie p { font-size: .95rem; color: rgba(255,255,255,0.92); margin: 0; flex: 1; min-width: 240px; }
.cookie a { color: #fff; text-decoration: underline; }
.cookie .btn { padding: 11px 26px; background: var(--red); color: #fff; border-color: var(--red); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .hero {
    display: block;
    min-height: 0;
    padding: 0;
    background: var(--navy);
  }
  .hero::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 767 / 526;
    background: url('/images/hero-mobile.jpg?v=2') center center / cover no-repeat;
  }
  .hero .container { padding-top: 30px; padding-bottom: 40px; }
  .hero-inner { max-width: 100%; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1; padding: 14px 10px; font-size: .92rem; }
  .header-right { gap: 10px; }
}
@media (max-width: 520px) {
  .hero-ctas { width: 100%; }
}
