:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-alt: #eaf0f8;
  --ink: #0c1a36;
  --muted: #4a618a;
  --line: #ccd6e8;
  --line-strong: #a0b4cc;
  --accent: #b8912a;        /* gold */
  --navy: #0c1a36;
  --navy-mid: #1e3460;
  --gold: #b8912a;
  --gold-light: #d4aa4a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

.container {
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto;
}

.section {
  padding: clamp(3.6rem, 5.2vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.section-alt {
  background: var(--surface-alt);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(244, 246, 251, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: background-color 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 246, 251, 0.99);
  border-bottom-color: var(--line-strong);
}

/* Offset for fixed header so main content isn't hidden underneath */
main {
  padding-top: 78px;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-text {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

/* ── Header right group (nav + lang + hamburger) ── */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Language switcher ── */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.5rem;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  color: var(--muted);
  font-size: 0.68rem;
  font-family: inherit;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease;
}

.lang-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.lang-chevron {
  transition: transform 200ms ease;
}

.lang-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  min-width: 110px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 0.55rem 0.85rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: 0.78rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 140ms ease;
}

.lang-option:hover {
  background: var(--surface-alt);
}

.lang-option--active {
  color: var(--gold);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

.nav-contact {
  padding: 0.45rem 0.78rem;
  border: 1px solid var(--line-strong);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  border-top: 0;
  padding-top: clamp(4.5rem, 7vw, 7rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: clamp(1.2rem, 2.4vw, 2.6rem);
  align-items: stretch;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  animation: gold-breathe 5s ease-in-out infinite;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Source Serif 4", "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6.3vw, 4.75rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  max-width: 18ch;
}

h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

.lede {
  margin: 1.35rem 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.66rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn-solid {
  background: linear-gradient(
    105deg,
    var(--navy) 0%, var(--navy) 35%,
    var(--gold-light) 50%,
    var(--navy) 65%, var(--navy) 100%
  );
  background-size: 300% 100%;
  border-color: var(--navy);
  color: #ffffff;
  animation: shimmer-sweep 5s linear infinite;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  animation: none;
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
  animation: border-pulse 5s ease-in-out infinite;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  animation: none;
  background: var(--navy);
  color: #ffffff;
}

.hero-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(1rem, 2vw, 1.7rem);
}

.hero-panel h2 {
  max-width: none;
  font-size: clamp(1.9rem, 3.1vw, 2.5rem);
}

.hero-panel p {
  margin: 0.9rem 0 1.2rem;
  color: var(--muted);
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.hero-stats li {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.15rem;
  color: var(--ink);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.3rem, 2.6vw, 3rem);
  align-items: start;
}

.copy-stack p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.section-intro {
  max-width: 760px;
}

.sector-grid {
  margin-top: clamp(1.4rem, 2.8vw, 2.4rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.sector-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 1.1rem;
  min-height: 170px;
}

.sector-index {
  margin: 0 0 0.58rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sector-card p {
  margin: 0.62rem 0 0;
  color: var(--muted);
}

.network-layout {
  display: grid;
  gap: 1.2rem;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: clamp(1.4rem, 2.8vw, 2.4rem);
}

.network-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 1.1rem;
  min-height: 140px;
}

.network-item p {
  margin: 0.62rem 0 0;
  color: var(--muted);
}

.pillar-grid {
  margin-top: clamp(1.4rem, 2.8vw, 2rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.pillar {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem;
  min-height: 170px;
}

.pillar p {
  margin: 0.64rem 0 0;
  color: var(--muted);
}

.contact-panel {
  border: 1px solid var(--line);
  background: var(--surface-alt);
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.7rem);
}

.contact-panel h2 {
  margin-inline: auto;
}

.contact-panel p {
  max-width: 56ch;
  margin: 1rem auto 1.5rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.4rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 980px) {
  .hero-layout,
  .two-column {
    grid-template-columns: 1fr;
  }

  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 13ch;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1140px, calc(100% - 1.5rem));
  }

  .header-inner {
    min-height: 70px;
  }

  main {
    padding-top: 70px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .brand-logo {
    height: 30px;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    background: #f4f6fb;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0.95rem 1.2rem 1.1rem;
    z-index: 40;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-contact {
    border: 0;
    padding: 0;
  }

  .section {
    padding: 3.4rem 0;
  }

  .hero {
    padding-top: 4.4rem;
  }

  .sector-grid,
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   COLOR VIBRATION KEYFRAMES
   Three independent layers — all pause on hover, all respect
   prefers-reduced-motion at the bottom of this file.
═══════════════════════════════════════════════════════════════ */

/* Gold shimmer sweep: a bright glint travels left → right */
@keyframes shimmer-sweep {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Gold breathe: label color slowly cycles muted ↔ gold */
@keyframes gold-breathe {
  0%, 100% { color: var(--muted); }
  50%       { color: var(--gold);  }
}

/* Gradient drift: hero headline gradient floats diagonally */
@keyframes gradient-drift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* Border pulse: outline button border glints gold */
@keyframes border-pulse {
  0%, 100% { border-color: var(--navy); }
  50%       { border-color: var(--gold-light); }
}

@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;
  }
}


/* ═══════════════════════════════════════════════════════════════
   CINEMATIC HERO
═══════════════════════════════════════════════════════════════ */

.cinematic-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  perspective: 1500px;
}

/* ── Environment ── */
.ch-film-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}

.ch-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right,  rgba(12,26,54,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,26,54,0.07) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  will-change: transform, opacity, filter;
}

/* ── Language overlay (top-right of cinematic hero) ── */
.ch-lang-overlay {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  z-index: 30;
}

.ch-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  color: var(--muted);
  font-size: 0.68rem;
  font-family: inherit;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease;
}

.ch-lang-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.ch-lang-chev {
  transition: transform 200ms ease;
}

.ch-lang-btn[aria-expanded="true"] .ch-lang-chev {
  transform: rotate(180deg);
}

.ch-lang-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  min-width: 110px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 100;
}

.ch-lang-opt {
  display: block;
  width: 100%;
  padding: 0.55rem 0.85rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: 0.78rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 140ms ease;
}

.ch-lang-opt:hover        { background: var(--surface-alt); }
.ch-lang-opt--active      { color: var(--gold); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   GLOBAL LOCATIONS SECTION
═══════════════════════════════════════════════════════════════ */

.gl-section {
  padding: clamp(4rem, 6vw, 7rem) 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
}

/* ── Header ── */
.gl-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 4vw, 4rem);
}

.gl-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.28rem 0.9rem;
  background: linear-gradient(135deg, var(--navy), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--navy), var(--gold-light)) 1;
  border-radius: 0;
}

/* Fallback for browsers without -webkit-text-fill-color */
@supports not (-webkit-text-fill-color: transparent) {
  .gl-badge { color: var(--navy); }
}

.gl-headline {
  font-family: "Source Serif 4", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 1rem;
  max-width: 22ch;
  margin-inline: auto;
}

.gl-desc {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Map ── */
.gl-map-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
}

#world-map {
  display: block;
  width: 100%;
  height: auto;
}

/* Pulse: scale-based so it works across all browsers (r is not CSS-animatable) */
.gl-marker .gl-pulse {
  transform-box: fill-box;
  transform-origin: center center;
  animation: gl-pulse 2.6s ease-out infinite;
  stroke: var(--gold);
}

@keyframes gl-pulse {
  0%   { transform: scale(1);   opacity: 0.65; }
  75%  { transform: scale(3);   opacity: 0;    }
  100% { transform: scale(3);   opacity: 0;    }
}

/* Hover scale: transform-box anchors the scale to the element's own bounding box */
.gl-marker {
  transform-box: fill-box;
  transform-origin: center center;
  transition: transform 0.18s ease;
}

.gl-marker:hover {
  transform: scale(1.45);
}

/* ── Tooltip ── */
.gl-tooltip {
  position: absolute;
  pointer-events: none;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1), 0 1px 4px rgba(0,0,0,0.06);
  padding: 0.55rem 0.85rem;
  min-width: 130px;
  z-index: 20;
}

.gl-tip-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.gl-tip-detail {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── CTA button ── */
.gl-cta-wrap {
  text-align: center;
  margin-top: clamp(2rem, 3.5vw, 3.5rem);
}

.gl-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 2rem;
  background: linear-gradient(
    105deg,
    var(--navy) 0%, var(--navy-mid) 30%,
    var(--gold-light) 50%,
    var(--navy-mid) 70%, var(--navy) 100%
  );
  background-size: 300% 100%;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(12, 26, 54, 0.35);
  animation: shimmer-sweep 5s linear infinite;
}

.gl-cta-btn:hover,
.gl-cta-btn:focus-visible {
  animation: none;
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(12, 26, 54, 0.45);
}

.gl-cta-btn:active {
  transform: translateY(0);
}

/* ── Scroll hint ── */
.ch-scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  pointer-events: none;
  user-select: none;
}

.ch-scroll-text {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ch-scroll-hint svg {
  animation: ch-bounce 1.8s ease-in-out infinite;
}

@keyframes ch-bounce {
  0%, 100% { transform: translateY(0);   opacity: 1;    }
  50%       { transform: translateY(7px); opacity: 0.45; }
}

/* ── Hero taglines ── */
.ch-hero-text {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100vw;
  padding: 0 1.5rem;
  will-change: transform, opacity, filter;
}

.ch-text-track,
.ch-text-days {
  margin: 0;
  font-family: "Archivo", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.ch-text-track {
  color: var(--navy);
  text-shadow:
    0 10px 30px rgba(12,26,54,0.18),
    0 2px 4px rgba(12,26,54,0.08);
}

.ch-text-days {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 30%, var(--gold) 60%, var(--gold-light) 80%, var(--navy) 100%);
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateZ(0);
  filter:
    drop-shadow(0 10px 20px rgba(12,26,54,0.14))
    drop-shadow(0 2px 4px rgba(12,26,54,0.08));
  animation: gradient-drift 8s ease infinite;
}

