/* ============ Tokens ============ */
:root {
  --burgundy: #8e2f36;
  --burgundy-600: #a14343;
  --navy: #1b3450;
  --navy-900: #122438;
  --gold: #d9b779;
  --cream: #f6f1ea;
  --ink: #1d232b;
  --muted: #5b6470;
  --line: #e4ddd2;
  --white: #ffffff;

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --container: 1200px;
  --header-h: 76px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.eyebrow.dark { color: var(--burgundy); }
.body-lg { font-size: 1.15rem; color: var(--ink); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--burgundy); color: var(--white); }
.btn-primary:hover { background: var(--burgundy-600); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--cream); }
.btn-small { padding: .6em 1.2em; font-size: .88rem; }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--white); transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(18, 36, 56, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { border-radius: 8px; }
.logo-word { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: .12em; }
.logo-ct { color: var(--gold); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-size: .93rem; font-weight: 500; opacity: .85; transition: opacity .2s; }
.main-nav a:hover { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(ellipse at 75% 30%, #25476b 0%, var(--navy) 45%, var(--navy-900) 100%);
  padding: calc(var(--header-h) + 90px) 0 48px;
  min-height: 92vh; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lines .arc { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .3; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3s ease forwards; }
.hero-lines .a2 { animation-delay: .6s; } .hero-lines .a3 { animation-delay: .9s; } .hero-lines .a4 { animation-delay: 1.1s; }
.hero-lines .pin { fill: var(--gold); opacity: 0; animation: fade .6s ease forwards 1.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: .9; } }
.hero-content { position: relative; max-width: 820px; margin-left: 0; }
.hero-content { margin: 0 auto 0 max(24px, calc((100vw - var(--container)) / 2 + 24px)); padding: 0; }
.hero .lead { font-size: 1.2rem; max-width: 620px; opacity: .85; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin: 80px 0 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15);
}
.stats div { margin: 0; }
.stats dt { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.stats dd { margin: 4px 0 0; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--gold); }

/* ============ Sections ============ */
.section { padding: 110px 0; }
.section-tint { background: var(--cream); }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-dark .section-head p { color: rgba(255,255,255,.72); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.split p { color: var(--muted); }
.split .body-lg { color: var(--ink); }

.pillars { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pillars strong { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--burgundy); }
.pillars span { color: var(--muted); }

/* ============ Companies ============ */
.company-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.company-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.company-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--burgundy); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.company-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(18,36,56,.35); border-color: transparent; }
.company-card:hover::before { transform: scaleX(1); }
.company-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.country-tag {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-weight: 600; font-size: .8rem; letter-spacing: .08em;
}
.company-role { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--burgundy); }
.company-card h3 { margin-bottom: .25em; }
.company-loc { font-size: .88rem; color: var(--muted); font-weight: 500; margin-bottom: 1em; }
.company-card > p:not(.company-loc) { color: var(--muted); font-size: .95rem; flex: 1; }
.company-link { font-weight: 600; font-size: .9rem; color: var(--burgundy); text-decoration: none; margin-top: 8px; }
.company-link:hover { text-decoration: underline; }

/* ============ Presence ============ */
.map { margin-bottom: 56px; }
.map svg { width: 100%; height: auto; display: block; }
.route { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 4 6; opacity: .7; }
.map-pin circle { fill: var(--gold); }
.map-pin .pulse { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.map .region { fill: rgba(255,255,255,.28); font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-anchor: middle; }
.map-pin text { fill: var(--white); font-family: var(--font-body); font-size: 15px; font-weight: 600; text-anchor: middle; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.5); opacity: 0; } }

.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.office { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; }
.office h3 { font-size: 1.2rem; display: flex; flex-direction: column; gap: 2px; }
.office h3 span { font-family: var(--font-body); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); order: -1; }
.office p { color: rgba(255,255,255,.72); font-size: .93rem; margin-bottom: .6em; }
.office a { color: var(--white); text-decoration: none; }
.office a:hover { color: var(--gold); }

/* ============ Values ============ */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.value { border-top: 2px solid var(--burgundy); padding-top: 24px; }
.value-num { font-family: var(--font-display); font-size: 1rem; color: var(--burgundy); display: block; margin-bottom: 18px; }
.value p { color: var(--muted); font-size: .95rem; }

/* ============ Band ============ */
.band { background: linear-gradient(120deg, var(--burgundy) 0%, #6e2229 100%); color: var(--white); padding: 80px 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.band h2 { margin-bottom: .3em; }
.band p { opacity: .85; margin: 0; }
.band .eyebrow { color: var(--gold); }

/* ============ Contact ============ */
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: .9rem; }
.contact-list a { font-weight: 600; color: var(--navy); text-decoration: none; }
.contact-form { background: var(--cream); border-radius: var(--radius); padding: 36px; display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: .95rem; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--burgundy); outline-offset: 1px; border-color: transparent; }
.contact-form .btn { justify-self: start; }
.form-note { font-size: .8rem; color: var(--muted); margin: 0; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1fr; gap: 40px; }
.logo-footer { color: var(--white); margin-bottom: 16px; }
.footer-tag { font-size: .92rem; max-width: 280px; }
.site-footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-lines .arc { animation: none; stroke-dashoffset: 0; }
  .hero-lines .pin { animation: none; opacity: .9; }
  .map-pin .pulse { animation: none; opacity: 0; }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .company-grid, .office-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.menu-open { background: var(--navy-900); }
  .site-header.menu-open .main-nav {
    display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--navy-900); padding: 12px 24px 28px; border-top: 1px solid rgba(255,255,255,.08);
  }
  .site-header.menu-open .main-nav ul { flex-direction: column; gap: 0; }
  .site-header.menu-open .main-nav a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero-content { margin-left: 16px; margin-right: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .company-grid, .office-grid, .value-grid, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .pillars li { grid-template-columns: 1fr; gap: 4px; }
  .contact-form { padding: 24px; }
  .map-pin text { font-size: 22px; }
}
