:root {
  --navy: #0f1c2e;
  --navy-2: #16233a;
  --navy-3: #111a2a;
  --navy-4: #1c2b44;
  --text: #f9f9ff;
  --muted: rgba(249, 249, 255, 0.76);
  --soft: rgba(249, 249, 255, 0.6);
  --gold: #e9c176;
  --gold-2: #f3d79f;
  --gold-ink: #261900;
  --cream: #f6f0e4;
  --line: rgba(249, 249, 255, 0.14);
  --line-gold: rgba(233, 193, 118, 0.35);
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1140px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 64px);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 68px;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 0 26px;
}
.display em, .h2 em { color: var(--gold); font-style: italic; }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 28, 46, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 60px; height: 60px; border-radius: 4px; background: #0d1a2b; }
.brand span {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 14px;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav a.active::after { transform: scaleX(1); }
.header-cta { margin-left: 14px; }
.nav .nav-cta { display: none; }

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 44px;
  height: 42px;
  border-radius: 3px;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  content: "";
  transition: transform 0.2s ease, background 0.2s ease;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  padding: 16px 30px;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { border-color: rgba(249, 249, 255, 0.45); color: var(--text); background: rgba(15, 28, 46, 0.35); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 11px 20px; }
.btn-lg { padding: 20px 40px; font-size: 13px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 4px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.text-link:hover { color: var(--gold-2); border-bottom-color: var(--gold); }
.text-link.plain { color: var(--muted); border-bottom-color: var(--line); }
.text-link.plain:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  max-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #141b2c;
  background-image:
    linear-gradient(to right, rgba(8, 13, 24, 0.9) 0%, rgba(8, 13, 24, 0.55) 55%, rgba(8, 13, 24, 0.15) 100%),
    linear-gradient(to bottom, rgba(15, 28, 46, 0) 60%, var(--navy) 100%),
    url("images/hero-home.webp");
  background-size: cover;
  background-position: center;
}
.hero-inner { max-width: 600px; padding: 96px 0 150px; }
.hero .lead { max-width: 520px; margin-bottom: 36px; color: rgba(249, 249, 255, 0.86); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.stats-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 26px 24px 30px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.1;
  color: var(--gold);
  margin-bottom: 6px;
}
.stat span { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- About / values ---------- */
.about { padding: 130px 0 120px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.about-copy .lead + .lead { margin-top: 18px; }
.about-copy .text-link { margin-top: 36px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.value {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 30px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.value-num {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
  padding-top: 2px;
}
.value h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.2;
  margin: 0 0 8px;
}
.value p { color: var(--muted); }

/* ---------- Brands ---------- */
.brands { background: var(--navy-2); padding: 120px 0 130px; }
.brand-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.brand-row + .brand-row { margin-top: 110px; }
.brand-row:nth-child(even) .brand-media { order: 2; }
.brand-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--navy-4);
}
.brand-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
a.brand-media { display: block; text-decoration: none; cursor: pointer; }
.brand-media .visit {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(15, 28, 46, 0.88);
  color: var(--text);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
a.brand-media:hover .visit, a.brand-media:focus-visible .visit { opacity: 1; transform: none; }
@media (hover: none) { .brand-media .visit { opacity: 1; transform: none; } }
.brand-row:hover .brand-media img { transform: scale(1.03); }
.brand-logo {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 132px;
  height: 84px;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--cream);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo.dark { background: #0d1a2b; padding: 0; overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-logo.dark img { object-fit: cover; }
.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.brand-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.brand-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 6px;
}
.brand-tagline { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-2); margin-bottom: 18px; }
.brand-body > p { color: var(--muted); font-size: 17px; }
.checks {
  list-style: none;
  margin: 26px 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.checks li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.45;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.brand-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--soft);
}
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); opacity: 0.8; }

/* ---------- Presence ---------- */
.presence { padding: 120px 0; }
.places {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.place {
  position: relative;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
}
.place-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--soft);
  margin-bottom: 28px;
}
.place h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 4px;
}
.place-role { color: var(--gold); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.place p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.place.next { border-style: dashed; border-color: var(--line-gold); background: transparent; }
.badge {
  position: absolute;
  top: 26px;
  right: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: var(--gold);
  border-radius: 999px;
  padding: 4px 10px;
}
.badge.hq { background: transparent; color: var(--gold); border: 1px solid var(--line-gold); }

/* ---------- Contact ---------- */
.contact { background: var(--navy-3); padding: 130px 0; border-top: 1px solid var(--line); }
.contact .section-head { margin-bottom: 56px; }
.routes {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.route {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border-radius: 18px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.route:hover { border-color: var(--line-gold); transform: translateY(-2px); }
.route h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.2;
  margin: 0 0 10px;
}
.route p { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.route .text-link { margin-top: auto; align-self: flex-start; text-transform: none; letter-spacing: 0.2px; font-size: 14px; }
.contact > .wrap > .lead { max-width: 520px; margin-bottom: 36px; }
.contact-cta { text-align: center; }
.contact-cta p { color: var(--soft); font-size: 14px; margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); border-top: 1px solid var(--line); padding: 80px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-about img { width: 72px; height: 72px; margin-bottom: 22px; border-radius: 4px; background: #0d1a2b; }
.footer-about .footer-name {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}
.footer-about p { max-width: 300px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.footer-col h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { font-size: 15px; line-height: 1.5; padding: 5px 0; color: var(--muted); }
.footer-col a { text-decoration: none; color: var(--text); }
.footer-col a:hover { color: var(--gold); }
.footer-col small { display: block; font-size: 12px; color: var(--soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--soft);
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .brand-media img, .btn, .route { transition: none; }
}

@media print { .js .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-cta { display: none; }
  .display { font-size: 58px; }
  .h2 { font-size: 42px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .brand-row { gap: 48px; }
  .places { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .wrap { padding: 0 20px; }
  .brand { gap: 12px; }
  .brand img { width: 48px; height: 48px; }
  .brand span { font-size: 22px; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.active { color: var(--gold); }
  .nav .nav-cta { display: flex; margin-top: 16px; border: 0; text-align: center; color: var(--gold-ink); padding: 15px; }

  .hero {
    min-height: 0;
    max-height: none;
    background-image:
      linear-gradient(rgba(8, 13, 24, 0.7), rgba(8, 13, 24, 0.7)),
      linear-gradient(to bottom, rgba(15, 28, 46, 0) 50%, var(--navy) 100%),
      url("images/hero-home.webp");
    background-position: 62% center;
  }
  .hero-inner { padding: 72px 0 48px; }
  .display { font-size: 46px; }
  .stats { position: static; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 22px 16px 22px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat strong { font-size: 32px; }

  .about, .brands, .presence, .contact { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .h2 { font-size: 36px; }
  .lead { font-size: 17px; }
  .brand-row { grid-template-columns: 1fr; gap: 28px; }
  .brand-row + .brand-row { margin-top: 72px; }
  .brand-row:nth-child(even) .brand-media { order: 0; }
  .brand-body h3 { font-size: 36px; }
  .routes { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .display { font-size: 40px; }
  .h2 { font-size: 32px; }
  .btn-row .btn { flex: 1 1 100%; }
  .value { grid-template-columns: 1fr; gap: 10px; padding: 24px 22px; }
  .checks { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr; }
  .brand-logo { width: 110px; height: 70px; left: 14px; bottom: 14px; }
  .btn-lg { width: 100%; padding: 18px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col.contact-col { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
