:root {
  --navy: #16233f;
  --blue: #15294d;
  --blue-bright: #3a6bbf;
  --red: #cc1f3a;
  --red-deep: #a3152d;

  --ink: #f3f1ec;
  --body: #c3c7d2;
  --muted: #8a8f9e;

  --bg: #0d0e13;
  --bg-soft: #16181f;
  --line: #2a2d38;

  --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: 'Fraunces', 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(--red); 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: linear-gradient(120deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px -6px rgba(204, 31, 58, 0.5);
}
.btn-join:hover { background: linear-gradient(120deg, var(--red-deep) 0%, #7d0f22 100%); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 10px 22px -7px rgba(204, 31, 58, 0.6); }
.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: #fff;
  border-bottom: 1px solid var(--line);
  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(150px, 20vw, 200px); height: auto; }
.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(--navy); }
.login-link:hover { color: var(--red); }
.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(13,14,19,0.96) 0%, rgba(13,14,19,0.82) 38%, rgba(13,14,19,0.30) 66%, rgba(13,14,19,0) 100%),
    url('/images/var2-1-new-up1.jpg?v=22') right top / cover no-repeat,
    var(--bg);
}
.hero-inner { max-width: 600px; }
.hero h1, .hero .hero-heading {
  font-family: var(--head); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em;
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero h1 .accent, .hero .hero-heading .accent { color: #e8324f; }
.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.5); }
.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 h1 { color: var(--ink); margin-bottom: 16px; font-size: clamp(2.1rem, 4.6vw, 3rem); }
.story-intro h2 { color: var(--ink); margin-bottom: 16px; }
.story-intro p { font-size: 1.18rem; line-height: 1.85; color: var(--body); margin-bottom: 16px; }
.story-intro p:last-child { margin-bottom: 0; }
.story-block { max-width: 720px; margin: 0 auto; }
.story-block p { font-size: 1.15rem; line-height: 1.9; color: var(--body); margin-bottom: 18px; }
.story-block p:last-child { margin-bottom: 0; }
.story-block ul { margin: 4px 0 18px 22px; }
.story-block li { font-size: 1.15rem; line-height: 1.85; color: var(--body); margin-bottom: 10px; }
.story-block li:last-child { margin-bottom: 0; }
.story-block h2, .story-block h3 { color: var(--ink); margin-bottom: 14px; }
.story-block + .story-block { margin-top: clamp(40px, 6vw, 64px); }
.story-cta {
  color: var(--ink); font-size: 1.16rem; line-height: 1.7;
  margin-top: 24px; padding: 18px 22px;
  background: var(--bg-soft); border-left: 3px solid var(--red); border-radius: 0 10px 10px 0;
}
.story-cta strong { color: #e8324f; }

.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-style: italic; font-weight: 600;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.2;
  color: var(--blue-bright);
  margin: 0;
}
.pullquote.alt blockquote { color: #e8324f; }

.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(220px, 30vw, 300px); height: auto; 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 {
    min-height: 80vh;
    align-items: flex-end;
    padding: 0 0 clamp(32px, 8vw, 52px);
    background:
      linear-gradient(180deg, rgba(13,14,19,0.12) 0%, rgba(13,14,19,0.55) 52%, rgba(13,14,19,0.95) 100%),
      url('/images/var2-1-new-mobile4-up1.jpg?v=22') center top / cover no-repeat,
      var(--bg);
  }
  .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%; }
}
