/* ==========================================================================
   مجموعة عبدالرحمن القحطاني — site styles
   No inline styles anywhere: everything lives here (strict CSP: style-src 'self').
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Alexandria";
  src: url("../fonts/alexandria-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Alexandria";
  src: url("../fonts/alexandria-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --background: #ffffff;
  --foreground: #0b0d12;
  --brand: #c9a14a;        /* AQ gold */
  --brand-deep: #0b1a33;   /* AQ navy */
  --brand-light: #e6c578;  /* light gold accent / focus ring */
  --accent-teal: #138f88;  /* taxi teal */
  --surface: #f5f3ef;
  --surface-card: #ffffff;
  --ink: #0b0d12;
  --ink-soft: #676c7a;
  --ghost: #dedad1;
  --hairline: #e7e3db;
  --on-brand: #ffffff;
  --radius-card: 1.5rem;
  --radius-card-lg: 2rem;
  --radius-pill: 62.5rem;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-io-cubic: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Adaptive rem grid ---------- */
html { font-size: 16px; }
@media (max-width: 1920px) { html { font-size: 0.833333vw; } }
@media (max-width: 1440px) { html { font-size: 1.111111vw; } }
@media (max-width: 1024px) { html { font-size: 1.5625vw; } }
@media (max-width: 640px)  { html { font-size: 4.444444vw; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html.is-locked { position: relative; overflow: hidden; height: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: "Alexandria", system-ui, "Segoe UI", Tahoma, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.75rem; inset-inline-start: 0.75rem; z-index: 300;
  padding: 0.75rem 1.25rem; border-radius: var(--radius-pill);
  background: var(--ink); color: #fff; font-size: 0.875rem;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.icon { width: 1em; height: 1em; flex: none; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Page frame ---------- */
main { width: 100%; overflow-x: clip; padding: 0.5rem; }
@media (min-width: 640px) { main { padding: 0.75rem; } }

/* ---------- Reveal primitives ---------- */
.clip {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding-top: 0.06em; padding-bottom: 0.18em;
}
.clip-line { display: block; }
.rv {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: var(--d, 950ms);
  transition-timing-function: var(--ease-expo);
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity;
}
.rv-fade { transform: translateY(18px); transition-timing-function: var(--ease-quart); }
.is-in .rv, .rv.is-in { transform: none; opacity: 1; }
.no-tr .rv { transition: none !important; }
/* Without JS everything is simply visible */
html:not(.js) .rv { transform: none; opacity: 1; }
.js [data-inview] { opacity: 0; }

/* ---------- Shared components ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 500; color: var(--ink-soft);
}
.eyebrow::before {
  content: ""; width: 0.375rem; height: 0.375rem; border-radius: var(--radius-pill);
  background: var(--brand);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.72); }
.eyebrow--light::before { background: var(--brand-light); }

.h-section {
  font-size: 3rem; font-weight: 600; line-height: 1.12; margin-top: 1rem;
}

.pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border-radius: var(--radius-pill); padding: 0.9rem 1.75rem;
  font-size: 0.9rem; font-weight: 500;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.pill .icon { width: 1rem; height: 1rem; }
.pill--light { background: #fff; color: var(--brand-deep); }
.pill--light:hover { background: var(--brand-light); color: var(--brand-deep); }
.pill--solid { background: var(--ink); color: #fff; }
.pill--solid:hover { background: var(--brand-deep); }
.pill--outline { border: 1px solid currentColor; color: var(--ink); }
.pill--outline:hover { background: var(--ink); color: #fff; }
.pill[disabled] { opacity: 0.55; pointer-events: none; }

.arrow-btn {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: var(--radius-pill); border: 1px solid var(--hairline);
  color: var(--ink); transition: background-color 0.25s, border-color 0.25s;
}
.arrow-btn .icon { width: 1.25rem; height: 1.25rem; }
.arrow-btn--outline:hover { border-color: var(--ink); }
.arrow-btn--solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.arrow-btn--solid:hover { background: var(--brand-deep); }
@media (min-width: 640px) { .arrow-btn { width: 3.5rem; height: 3.5rem; } }

.dots { display: flex; align-items: center; gap: 0.5rem; }
.dot { padding: 0.375rem; }
.dot span {
  display: block; height: 0.375rem; width: 0.375rem; border-radius: var(--radius-pill);
  background: var(--ghost); transition: width 0.35s var(--ease-expo), background-color 0.35s;
}
.dot[aria-current="true"] span { width: 1.25rem; background: var(--ink); }
.dots--light .dot span { background: rgba(255, 255, 255, 0.4); }
.dots--light .dot[aria-current="true"] span { background: #fff; }

.glass {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 0.75rem;
  box-shadow: 0 1.25rem 2.5rem rgba(11, 26, 51, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.mark { width: 1.35rem; height: 1.35rem; color: var(--brand-light); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  background: var(--brand-deep); color: #fff;
  transition: transform 850ms var(--ease-io-cubic);
}
.js .loader { display: flex; }
.loader.is-out { transform: translateY(-105%); }
.loader__brand { display: flex; align-items: center; gap: 0.75rem; font-size: 1.5rem; font-weight: 600; }
.loader__brand .mark { width: 2.25rem; height: 2.25rem; }
.loader__track {
  width: 10rem; height: 1px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2); overflow: hidden;
}
.loader__fill {
  height: 100%; background: var(--brand-light);
  transform: scaleX(0); transform-origin: right;
  transition: transform 1280ms var(--ease-io-cubic) 120ms;
}
.loader.is-loading .loader__fill { transform: scaleX(1); }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem 1.5rem 0; font-size: 0.85rem; color: #fff;
  position: relative; z-index: 5;
}
@media (min-width: 640px) { .site-header { padding: 2rem 2.5rem 0; } }
.site-header__nav { display: none; flex: 1; gap: 2rem; }
.site-header__nav a { opacity: 0.9; transition: opacity 0.2s; }
.site-header__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 0.4em; }
.brand { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 600; white-space: nowrap; }
.site-header .brand { flex: 1; }
.site-header__end { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 1rem; }
.link-cta { display: none; }
.link-cta:hover { text-decoration: underline; text-underline-offset: 0.4em; }
@media (min-width: 640px) { .link-cta { display: inline; } .site-header__end { gap: 1.25rem; } }
@media (min-width: 1024px) {
  .site-header__nav { display: flex; }
  .site-header .brand { justify-content: center; }
}
.burger {
  display: grid; place-items: center; gap: 5px; align-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color 0.2s;
}
.burger:hover { background: rgba(255, 255, 255, 0.25); }
.burger span { display: block; width: 1rem; height: 1px; background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  height: calc(100svh - 1rem); min-height: 36rem;
  border-radius: var(--radius-card-lg);
  background: var(--brand-deep); color: #fff;
}
@media (min-width: 640px) { .hero { height: calc(100svh - 1.5rem); } }
.hero__plate { position: absolute; inset: 0; z-index: -10; }
.hero__plate-inner { position: absolute; left: 0; right: 0; top: -16%; height: 132%; width: 100%; }
.hero__plate-inner img { width: 100%; height: 100%; object-fit: cover; }
.hero__plate::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11, 26, 51, 0.82), rgba(11, 26, 51, 0.62), rgba(11, 26, 51, 0.92));
}
.hero__title-wrap { padding: 1.5rem 1.5rem 0; }
@media (min-width: 640px) { .hero__title-wrap { padding: 1.5rem 2.5rem 0; } }
.hero__title {
  font-size: 9.4vw; font-weight: 600; line-height: 1.05; white-space: nowrap;
}
.hero__title .rv { --d: 1100ms; }
.hero__bottom {
  margin-top: auto; padding: 0 1.5rem 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 640px) {
  .hero__bottom { padding: 0 2.5rem 2.5rem; flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.hero__tagline {
  font-size: 2.4rem; font-weight: 600; line-height: 1.12; color: rgba(255, 255, 255, 0.88);
}
.hero__tagline .rv { --d: 900ms; }
.hero__cluster { display: flex; align-items: flex-end; gap: 1rem; }

.collection { display: none; width: 17rem; flex-direction: column; gap: 0.75rem; }
@media (min-width: 768px) { .collection { display: flex; } }
.collection__card { display: flex; gap: 0.75rem; align-items: center; }
.collection__img { width: 3.75rem; height: 3.75rem; border-radius: 0.75rem; object-fit: cover; flex: none; }
.collection__brand { font-size: 0.8rem; font-weight: 600; }
.collection__title { font-size: 0.72rem; opacity: 0.8; margin-top: 0.1rem; }
.collection__cta { display: inline-block; font-size: 0.7rem; margin-top: 0.3rem; text-decoration: underline; text-underline-offset: 0.3em; }

.member { display: flex; gap: 0.75rem; align-items: stretch; width: 100%; max-width: 20rem; }
@media (min-width: 640px) { .member { width: 16rem; } }
.member__col { display: flex; flex-direction: column; justify-content: space-between; gap: 0.5rem; flex: 1; }
.member__value { font-size: 1.9rem; font-weight: 600; line-height: 1; }
.avatars { display: flex; }
.avatars span {
  width: 1.25rem; height: 1.25rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 26, 51, 0.4); margin-inline-start: -0.5rem;
}
.avatars span:first-child { margin-inline-start: 0; }
.av-1 { background: #e6c578; } .av-2 { background: #c9a14a; } .av-3 { background: #138f88; } .av-4 { background: #ffffff; }
.member__caption { font-size: 0.7rem; opacity: 0.8; line-height: 1.4; }
.member__img { width: 4.25rem; aspect-ratio: 3 / 4; border-radius: 0.75rem; object-fit: cover; flex: none; }

/* ---------- Trust / about ---------- */
.trust {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--background); padding: 4rem 1.5rem;
}
@media (min-width: 640px) { .trust { padding: 5rem 2.5rem; } }
.trust__top { position: relative; z-index: 20; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 640px) { .trust__top { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.badge-round {
  width: 7.5rem; height: 7.5rem; border-radius: var(--radius-pill); background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.2rem;
}
@media (min-width: 640px) { .badge-round { width: 8.5rem; height: 8.5rem; } }
.badge-round strong { font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.badge-round span { font-size: 0.62rem; color: var(--ink-soft); max-width: 8em; line-height: 1.45; }
.badge-card {
  display: flex; gap: 1rem; align-items: flex-start; max-width: 30rem;
  border-radius: var(--radius-card); background: var(--surface); padding: 1.25rem;
}
@media (min-width: 640px) { .badge-card { gap: 1.25rem; padding: 1.5rem; } }
.badge-card__chip {
  border-radius: 0.75rem; background: var(--background); padding: 0.5rem 1rem;
  font-size: 1.25rem; font-weight: 600; flex: none;
}
.badge-card h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.badge-card p { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.8; margin-top: 0.4rem; }

.ghost {
  position: relative; z-index: 0; pointer-events: none; user-select: none;
  max-width: 88rem; margin: 3rem auto 0;
  font-size: 8.2vw; font-weight: 600; line-height: 1.15;
}
.ghost__row { display: flex; justify-content: space-between; }
.ghost__word { display: inline-block; color: var(--brand-deep); }
.ghost .rv {
  --d: 700ms;
  /* extra box room so gradient-clipped text never cuts Arabic descenders */
  padding: 0.04em 0.06em 0.16em; margin: -0.04em -0.06em -0.16em;
}
/* Navy words that fade softly downward */
.ghost__word .rv {
  background-image: linear-gradient(175deg, #0b1a33 10%, #1d3560 55%, rgba(29, 53, 96, 0.35) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* The highlighted word: brushed gold */
.ghost__word--ink .rv {
  background-image: linear-gradient(120deg, #8a6a2a 0%, #c9a14a 30%, #f3dc9a 50%, #c9a14a 70%, #8a6a2a 100%);
  background-size: 220% 100%;
  animation: gold-sheen 6s ease-in-out infinite;
}
@keyframes gold-sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { .ghost__word--ink .rv { animation: none; } }

.coach {
  position: relative; z-index: 10; width: 13rem; margin: 2rem auto 0;
}
@media (min-width: 640px) {
  .coach { position: absolute; left: 50%; top: 50%; width: 16rem; margin: 0; transform: translate(-50%, -50%); }
}
.coach__fig {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-card);
  background: var(--brand-deep); overflow: hidden; transform: rotate(-6deg);
}
.coach__fig img { width: 100%; height: 100%; object-fit: cover; }
.caption-glass {
  position: absolute; inset-inline: 0.75rem; bottom: 0.75rem;
  border-radius: 0.75rem; background: rgba(11, 26, 51, 0.5); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 0.6rem 0.85rem;
}
.caption-glass strong { display: block; font-size: 0.875rem; font-weight: 600; line-height: 1.4; }
.caption-glass span { display: block; font-size: 0.68rem; opacity: 0.85; line-height: 1.5; }
.caption-glass--teal { background: rgba(19, 143, 136, 0.6); }

.trust__controls {
  position: relative; z-index: 20; margin-top: 3rem;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 640px) { .trust__controls { margin-top: 6rem; } }

/* ---------- Services list ---------- */
.services { background: var(--surface); padding: 6rem 1.5rem 8rem; border-radius: var(--radius-card-lg); }
@media (min-width: 640px) { .services { padding-inline: 2.5rem; } }
.services__list { margin-top: 3.5rem; }
.services__list li { border-top: 1px solid var(--hairline); }
.services__list li:last-child { border-bottom: 1px solid var(--hairline); }
.svc-row {
  display: flex; align-items: center; gap: 1.5rem; padding: 1.75rem 0; width: 100%; text-align: start;
  transition: background-color 0.2s;
}
.svc-row:focus-visible { background: var(--background); }
.svc-row__idx { width: 2.5rem; font-size: 0.875rem; font-weight: 500; color: var(--ink-soft); flex: none; }
.svc-row__body { flex: 1; }
.svc-row__name { display: block; font-size: 1.5rem; font-weight: 600; line-height: 1.35; }
.svc-row__desc { display: block; font-size: 0.875rem; color: var(--ink-soft); margin-top: 0.35rem; line-height: 1.7; }
@media (min-width: 640px) { .svc-row__name { font-size: 1.875rem; } }
.svc-row__arrow {
  display: grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-pill); border: 1px solid var(--hairline);
}
.svc-row__arrow .icon { width: 1.1rem; height: 1.1rem; opacity: 0.55; }

/* ---------- Branches ---------- */
.branches {
  position: relative; background: var(--background); border-radius: var(--radius-card-lg);
  margin-top: -2.5rem; padding: 4rem 1.5rem 5rem;
}
@media (min-width: 640px) { .branches { padding-inline: 2.5rem; } }
.branches__grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 768px) { .branches__grid { grid-template-columns: 1fr 1fr; } }
.branches__intro { max-width: 26rem; }
.branches__icon { width: 4rem; height: 4rem; border-radius: var(--radius-card); object-fit: cover; }
.branches__intro .h-section { margin-top: 1.5rem; }
.branches__body { font-size: 0.9rem; color: var(--ink-soft); max-width: 22rem; margin-top: 1.5rem; line-height: 1.9; }
.branches__body .rv { --d: 700ms; }
.cities { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.cities li {
  font-size: 0.75rem; padding: 0.35rem 0.85rem; border-radius: var(--radius-pill);
  border: 1px solid var(--hairline); color: var(--ink-soft);
}
.map-link {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem;
  font-size: 0.85rem; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 0.15rem;
}
.map-link .icon { width: 0.9rem; height: 0.9rem; }
.tiles { display: flex; align-items: flex-end; gap: 1.25rem; }
.tile { flex: 1; }
.tile--offset { margin-bottom: 2rem; }
.tile__fig { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-card); overflow: hidden; background: var(--surface); }
.tile__fig img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats ---------- */
.stats {
  background: var(--brand-deep); color: #fff; border-radius: var(--radius-card-lg);
  margin-top: 0.75rem; padding: 5rem 1.5rem;
}
@media (min-width: 640px) { .stats { padding-inline: 2.5rem; } }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2rem; row-gap: 3rem; margin-top: 4rem; }
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 1.25rem; }
.stat__value { display: block; font-size: 3.75rem; font-weight: 600; line-height: 1.1; }
.stat__value small { font-size: 0.5em; color: var(--brand-light); }
@media (min-width: 640px) { .stat__value { font-size: 4.5rem; } }
.stat__label { display: block; font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); margin-top: 0.75rem; }

/* ---------- Why us ---------- */
.why { background: var(--background); padding: 5rem 1.5rem; }
@media (min-width: 640px) { .why { padding: 6rem 2.5rem; } }
.why__grid { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (min-width: 768px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  display: flex; flex-direction: column; justify-content: space-between; height: 100%;
  border-radius: var(--radius-card); background: var(--surface); padding: 1.75rem;
}
.why-card__icon {
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-pill);
  display: grid; place-items: center; background: var(--brand-deep); color: var(--brand-light);
}
.why-card__icon .icon { width: 1.25rem; height: 1.25rem; }
.why-card p { font-size: 1.125rem; line-height: 1.8; color: var(--ink); margin-top: 1rem; }
.why-card figcaption { border-top: 1px solid var(--hairline); padding-top: 1rem; margin-top: 1.5rem; }
.why-card figcaption strong { display: block; font-weight: 600; }
.why-card figcaption span { display: block; font-size: 0.875rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer {
  background: var(--brand-deep); color: #fff; border-radius: var(--radius-card-lg);
  margin-top: 0.75rem; padding: 3.5rem 1.5rem;
}
@media (min-width: 640px) { .footer { padding: 4rem 2.5rem; } }
.footer__cta {
  display: flex; flex-direction: column; gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); padding-bottom: 3.5rem;
}
@media (min-width: 640px) { .footer__cta { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.footer__big { font-size: 3.75rem; font-weight: 600; line-height: 1.12; margin-top: 1rem; }
.footer__cols { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .footer__cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand { max-width: 22rem; }
.footer__brand .brand { font-size: 1.125rem; }
.footer__blurb { font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); margin-top: 1rem; line-height: 1.9; }
.footer address { font-style: normal; margin-top: 1.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); display: grid; gap: 0.4rem; }
.footer address a:hover { color: var(--brand-light); }
.muted { color: rgba(255, 255, 255, 0.55); }
.footer__col h2 { font-size: 0.78rem; font-weight: 500; color: rgba(255, 255, 255, 0.5); }
.footer__col ul { margin-top: 1rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); display: grid; gap: 0.75rem; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.35em; }
.footer__bar {
  display: flex; flex-direction: column; gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 2rem;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.6);
}
@media (min-width: 640px) { .footer__bar { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__bar nav ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__bar a:hover { color: #fff; }

/* ---------- Overlays (menu + modal) ---------- */
.overlay { position: fixed; inset: 0; pointer-events: none; visibility: hidden; }
.overlay.is-open { pointer-events: auto; visibility: visible; }
.overlay.is-closing { visibility: visible; }

.menu { z-index: 70; display: flex; flex-direction: column; color: #fff; }
.menu__backdrop { position: absolute; inset: 0; background: var(--brand-deep); opacity: 0; }
.menu__panel {
  position: relative; height: 100%; display: flex; flex-direction: column; opacity: 0;
  padding: 0.5rem;
}
@media (min-width: 640px) { .menu__panel { padding: 0.75rem; } }
.menu__inner { display: flex; flex-direction: column; height: 100%; padding: 1.5rem 1.5rem; }
@media (min-width: 640px) { .menu__inner { padding: 2rem 2.5rem 2.5rem; } }
.menu__top { display: flex; align-items: center; justify-content: space-between; }
.close-btn {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15); transition: background-color 0.2s;
}
.close-btn:hover { background: rgba(255, 255, 255, 0.25); }
.close-btn .icon { width: 1.1rem; height: 1.1rem; }
.menu__nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; }
.menu__nav a { display: block; font-size: 3rem; font-weight: 600; line-height: 1.3; transition: color 0.2s; }
.menu__nav a:hover { color: var(--brand-light); }
@media (min-width: 640px) { .menu__nav a { font-size: 4.5rem; } }
.menu__bottom {
  display: flex; flex-direction: column; gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 2rem;
}
@media (min-width: 640px) { .menu__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.menu__social { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.menu__social a:hover { color: #fff; }

.modal { z-index: 90; display: flex; align-items: flex-end; justify-content: center; padding: 0.75rem; }
@media (min-width: 640px) { .modal { align-items: center; padding: 1.5rem; } }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(11, 26, 51, 0.45); opacity: 0;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative; width: 100%; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain;
  border-radius: var(--radius-card-lg); background: var(--surface-card); color: var(--ink);
  padding: 1.5rem; opacity: 0;
  box-shadow: 0 2rem 5rem rgba(11, 26, 51, 0.35);
}
@media (min-width: 640px) { .modal__panel { max-width: 34rem; padding: 2rem; } }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.modal__title { font-size: 2.25rem; font-weight: 600; line-height: 1.15; margin-top: 0.75rem; }
.modal__title .rv { --d: 800ms; }
@media (min-width: 640px) { .modal__title { font-size: 3rem; } }
.modal .close-btn { background: var(--surface); flex: none; }
.modal .close-btn:hover { background: var(--hairline); }

.form { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.field label, .field .label { display: block; font-size: 0.78rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 0.4rem; }
.field input, .field textarea, .field select {
  width: 100%; border-radius: 0.75rem; border: 1px solid var(--hairline);
  background: var(--background); padding: 0.75rem 1rem; font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.25);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c0392b; }
.field__error { display: block; min-height: 1em; font-size: 0.75rem; color: #b42318; margin-top: 0.3rem; }
.field__hint { display: block; font-size: 0.72rem; color: var(--ink-soft); margin-top: 0.3rem; }
.form__note { font-size: 0.72rem; color: var(--ink-soft); line-height: 1.7; }
.form .pill { justify-content: center; }

.success {
  margin-top: 2rem; border-radius: var(--radius-card); background: var(--surface);
  padding: 1.5rem; text-align: center;
}
.success__icon {
  width: 3rem; height: 3rem; border-radius: var(--radius-pill); background: var(--brand);
  color: #fff; display: grid; place-items: center; margin: 0 auto;
}
.success__icon .icon { width: 1.4rem; height: 1.4rem; }
.success h3 { font-size: 1.125rem; font-weight: 600; margin-top: 1rem; }
.success p { font-size: 0.875rem; color: var(--ink-soft); margin-top: 0.5rem; line-height: 1.8; }
.success .pill { margin-top: 1.25rem; }
[hidden] { display: none !important; }

/* ---------- 404 ---------- */
.nf {
  min-height: calc(100svh - 1rem); border-radius: var(--radius-card-lg);
  background: var(--brand-deep); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  text-align: center; padding: 2rem;
}
.nf__code { font-size: 9rem; font-weight: 600; line-height: 1; color: var(--brand-light); }
.nf p { color: rgba(255, 255, 255, 0.75); max-width: 26rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .rv { transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .loader { transition-duration: 1ms; }
  .loader__fill { transition-duration: 150ms; transition-delay: 0ms; }
}

/* ==========================================================================
   IDENTITY EDITION — no photography. Everything below is CSS + inline SVG.
   ========================================================================== */
@keyframes drift { to { transform: translate3d(4rem, -3rem, 0) scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -64; } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes ticker { to { transform: translateX(50%); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.gold-text {
  background-image: linear-gradient(120deg, #8a6a2a 0%, #c9a14a 28%, #f6e2a6 50%, #c9a14a 72%, #8a6a2a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gold-sheen 6s ease-in-out infinite;
}

/* ---------- Hero art ---------- */
.hero { background: radial-gradient(120% 85% at 85% 0%, #17325e 0%, #0b1a33 55%, #060d1c 100%); }
.hero__plate::after { background: linear-gradient(to bottom, rgba(6, 13, 28, 0.25), rgba(6, 13, 28, 0) 45%, rgba(6, 13, 28, 0.7)); }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(230, 197, 120, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 197, 120, 0.07) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(75% 65% at 45% 50%, #000 25%, transparent 100%);
  mask-image: radial-gradient(75% 65% at 45% 50%, #000 25%, transparent 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hero__glow--a { width: 40rem; height: 40rem; left: -10rem; top: 28%; background: rgba(201, 161, 74, 0.14); animation: drift 14s ease-in-out infinite alternate; }
.hero__glow--b { width: 32rem; height: 32rem; right: -8rem; top: -8rem; background: rgba(19, 143, 136, 0.2); animation: drift 18s ease-in-out infinite alternate-reverse; }
.hero__mono { position: absolute; width: 44rem; height: 44rem; right: -11rem; top: 20%; color: rgba(230, 197, 120, 0.08); }
.hero__ring {
  position: absolute; width: 52rem; height: 52rem; right: -15rem; top: calc(20% - 4rem);
  border-radius: 50%; border: 1px dashed rgba(230, 197, 120, 0.2); animation: spin 70s linear infinite;
}
.hero__title .clip:last-child .rv {
  background-image: linear-gradient(120deg, #a8823a 0%, #e0bd6c 30%, #fbe9b5 50%, #e0bd6c 70%, #a8823a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gold-sheen 7s ease-in-out infinite;
  padding: 0.04em 0.06em 0.18em; margin: -0.04em -0.06em -0.18em;
}

.routes { position: absolute; left: 4%; top: 33%; width: 42%; height: auto; overflow: visible; }
@media (max-width: 767px) { .routes { left: -4%; top: 30%; width: 108%; opacity: 0.75; } .hero__mono, .hero__ring { display: none; } }
.route-base { fill: none; stroke: rgba(230, 197, 120, 0.16); stroke-width: 1.5; }
.route { fill: none; stroke: #e6c578; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 2 14; animation: flow 2.6s linear infinite; }
.route--slow { animation-duration: 4s; }
.city .core { fill: #f6e2a6; }
.city .halo { fill: none; stroke: rgba(230, 197, 120, 0.55); stroke-width: 1; }
.city .pulse { fill: rgba(230, 197, 120, 0.45); transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-out infinite; }
.city--hq .core { fill: #ffffff; }
.city--hq .pulse { fill: rgba(255, 255, 255, 0.5); }
.city-label { fill: rgba(255, 255, 255, 0.72); font-size: 13px; font-family: inherit; }
.city--hq .city-label { fill: #fff; font-weight: 600; font-size: 15px; }
.c2 .pulse { animation-delay: 0.4s; } .c3 .pulse { animation-delay: 0.8s; } .c4 .pulse { animation-delay: 1.2s; }
.c5 .pulse { animation-delay: 1.6s; } .c6 .pulse { animation-delay: 2s; } .c7 .pulse { animation-delay: 2.4s; }

/* hero cards art */
.tile-ico {
  width: 3.75rem; height: 3.75rem; border-radius: 0.75rem; flex: none;
  display: grid; place-items: center; color: var(--brand-deep);
  background: linear-gradient(135deg, #f6e2a6, #c9a14a 55%, #8a6a2a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0.5rem 1.25rem rgba(201, 161, 74, 0.3);
}
.tile-ico .icon { width: 1.6rem; height: 1.6rem; }
.meter {
  width: 4.25rem; aspect-ratio: 3 / 4; border-radius: 0.75rem; flex: none;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: flex-end; justify-content: center; gap: 0.25rem; padding: 0.55rem 0.5rem;
}
.meter span {
  width: 0.38rem; border-radius: 2px; transform-origin: bottom;
  background: linear-gradient(to top, #8a6a2a, #f6e2a6);
  animation: grow 1.4s var(--ease-expo) both;
}
.meter span:nth-child(1) { height: 32%; animation-delay: 1.9s; }
.meter span:nth-child(2) { height: 52%; animation-delay: 2s; }
.meter span:nth-child(3) { height: 44%; animation-delay: 2.1s; }
.meter span:nth-child(4) { height: 74%; animation-delay: 2.2s; }
.meter span:nth-child(5) { height: 96%; animation-delay: 2.3s; }

/* ---------- Ticker ---------- */
.ticker {
  margin-top: 0.75rem; border-radius: var(--radius-card-lg); overflow: hidden;
  background: linear-gradient(90deg, #0b1a33, #13284d 50%, #0b1a33); color: var(--brand-light);
  padding: 1.35rem 0;
}
.ticker__track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; gap: 2.25rem; padding-inline-end: 2.25rem; font-size: 1.6rem; font-weight: 600; white-space: nowrap; }
.ticker__group .icon { width: 1.15rem; height: 1.15rem; color: var(--brand); }
.ticker__group .alt { color: #fff; }

/* ---------- Brand card (replaces the photo card) ---------- */
.coach__fig--brand {
  background: radial-gradient(120% 90% at 100% 0%, #1d3a6b 0%, #0b1a33 60%, #060d1c 100%);
  color: #fff; box-shadow: 0 2rem 4rem rgba(11, 26, 51, 0.35);
  border: 1px solid rgba(230, 197, 120, 0.25);
}
.bc__pattern { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(230, 197, 120, 0.07) 0 1px, transparent 1px 14px); }
.bc__glow { position: absolute; width: 75%; aspect-ratio: 1; border-radius: 50%; left: -18%; bottom: 8%; background: rgba(201, 161, 74, 0.38); filter: blur(42px); }
.bc__art { position: absolute; inset: 0; }
.bc__num { position: absolute; top: 1rem; inset-inline-start: 1.1rem; font-size: 0.8rem; letter-spacing: 0.25em; color: var(--brand-light); }
.bc__mono { position: absolute; top: 0.9rem; inset-inline-end: 1rem; width: 1.6rem; height: 1.6rem; color: var(--brand-light); }
.bc__ring {
  position: absolute; left: 50%; top: 40%; width: 10.5rem; height: 10.5rem; margin: -5.25rem 0 0 -5.25rem;
  border-radius: 50%; border: 1px dashed rgba(230, 197, 120, 0.4); animation: spin 30s linear infinite;
}
.bc__icon-wrap {
  position: absolute; left: 50%; top: 40%; width: 7rem; height: 7rem; margin: -3.5rem 0 0 -3.5rem;
  border-radius: 50%; display: grid; place-items: center; color: var(--brand-deep);
  background: linear-gradient(135deg, #f6e2a6, #c9a14a 52%, #8a6a2a);
  box-shadow: 0 1rem 2.5rem rgba(201, 161, 74, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.bc__icon-wrap .icon { width: 3.1rem; height: 3.1rem; }

/* ---------- Branches art ---------- */
.mono-tile {
  width: 4rem; height: 4rem; border-radius: var(--radius-card); display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #1d3a6b, #0b1a33 70%); color: var(--brand-light);
  box-shadow: 0 0.75rem 1.75rem rgba(11, 26, 51, 0.25);
}
.mono-tile .icon { width: 2rem; height: 2rem; }
.tile__fig--navy { background: linear-gradient(165deg, #17325e, #0b1a33 60%, #060d1c); }
.tile__fig--gold { background: linear-gradient(165deg, #f6e2a6, #c9a14a 55%, #8a6a2a); }
.tile__art { position: absolute; inset: 0; display: grid; place-items: center; }
.tile__art::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.6px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 85%);
}
.tile__art .big { position: relative; width: 42%; height: auto; margin-top: -18%; }
.tile__fig--navy .big { color: #e6c578; filter: drop-shadow(0 0.75rem 1.5rem rgba(201, 161, 74, 0.35)); }
.tile__fig--gold .big { color: #0b1a33; }
.tile__art .orbit {
  position: absolute; width: 70%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -62%);
  border-radius: 50%; border: 1px dashed currentColor; opacity: 0.35;
}
.tile__fig--navy .orbit { color: #e6c578; }
.tile__fig--gold .orbit { color: #0b1a33; }

/* stats gold plus */
.stats { background: radial-gradient(90% 120% at 0% 100%, #17325e 0%, #0b1a33 55%); }

@media (prefers-reduced-motion: reduce) {
  .gold-text, .hero__title .clip:last-child .rv, .ticker__track, .route, .city .pulse,
  .hero__ring, .bc__ring, .hero__glow, .meter span { animation: none !important; }
}
