:root {
  --navy: #174579;
  --blue: #0a478c;
  --blue-bright: #2f7fd4;
  --red: #d02727;
  --red-deep: #b01f1f;

  --ink: #15263b;
  --body: #46525f;
  --muted: #7d8a99;

  --bg: #ffffff;
  --bg-soft: #eef3f9;
  --line: #dbe5f0;

  --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(--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(208, 39, 39, 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: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px -8px rgba(23, 69, 121, 0.2);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand img { width: clamp(150px, 20vw, 190px); height: auto; }
.header-right { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); }
.hnav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); }
.hnav-cat { display: none; }
.login-link { font-family: var(--head); font-size: .92rem; font-weight: 600; color: var(--navy); }
.login-link:hover { color: var(--blue-bright); }
.login-desk { display: inline-flex; align-items: center; }
.login-mobile { display: none; }
.header-right .btn { padding: 11px 24px; font-size: .92rem; }

.country-select {
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 34px 9px 12px;
  cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 16px) 53%, calc(100% - 11px) 53%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  min-width: 165px;
}
.country-select:hover { border-color: var(--blue-bright); }

.menu-toggle {
  display: none;
  width: 46px; height: 42px;
  align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}

.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: min(70vh, 620px);
  padding: clamp(48px, 8vw, 92px) 0;
  background:
    linear-gradient(95deg, rgba(23,69,121,0.95) 0%, rgba(23,69,121,0.8) 38%, rgba(23,69,121,0.28) 66%, rgba(23,69,121,0) 100%),
    url('/images/var2-1-new-up1.jpg?v=3') right top / 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; }

.cat-strip { background: var(--blue); }
.cat-strip .container { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; padding-left: 0; padding-right: 0; }
.cat-strip a {
  display: block; padding: 16px 30px;
  font-family: var(--head); font-weight: 600; font-size: .92rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.cat-strip a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.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(--navy); 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); }

.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(--navy);
  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: 240px; 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(23,69,121,0.12) 0%, rgba(23,69,121,0.55) 52%, rgba(23,69,121,0.95) 100%),
      url('/images/var2-1-new-mobile4-up1.jpg') center top / cover no-repeat,
      var(--navy);
  }
  .hero-inner { max-width: 100%; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1; padding: 14px 10px; font-size: .92rem; }
  .header-right { gap: 10px; }
  .menu-toggle { display: inline-flex; }
  .hnav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 14px;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px -16px rgba(23, 69, 121, 0.3);
    padding: 18px var(--gutter); z-index: 50;
  }
  .hnav.open { display: flex; }
  .hnav-cat { display: block; font-family: var(--head); font-weight: 600; color: var(--navy); padding: 4px 2px; }
  .country-select { width: 100%; min-width: 0; font-size: 1rem; padding: 12px 34px 12px 14px; }
  .login-desk { display: none; }
  .login-mobile { display: block; font-size: 1.05rem; padding: 4px 2px; }
  .cat-strip { display: none; }
}
@media (max-width: 520px) {
  .hero-ctas { width: 100%; }
}
