/* ==========================================================================
   NUMA Aviation — styles.css
   Deep-navy aviation palette, gold accent, Apple-adjacent typography.
   Sections alternate light (cream/white) and dark (navy) for scroll rhythm.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color */
  --navy-900: #071233;
  --navy-800: #0B1D51;
  --navy-700: #12245E;
  --gold-500: #E6B34A;
  --gold-400: #F2C75A;
  --cream-50: #EFECE6;
  --white:    #FFFFFF;
  --slate-400: #8A93AD;
  --ice-200:  #C9D3E6;
  --gold-700: #8F691B;   /* darkened brand gold — AA-safe as text on light bg */

  /* Derived (kept minimal; gold is too light for text on light bg — AA) */
  --ink-on-light: rgba(11, 29, 81, 0.86);       /* body text on cream/white  */
  --ink-on-dark:  var(--ice-200);               /* body text on navy         */
  --hairline-light: rgba(11, 29, 81, 0.14);
  --hairline-dark:  rgba(201, 211, 230, 0.18);
  --shadow-soft: 0 24px 60px rgba(7, 18, 51, 0.14);

  /* Type */
  --font-display: "Clash Display", -apple-system, "SF Pro Display", Inter, system-ui, sans-serif;
  --font-body: Inter, -apple-system, "SF Pro Display", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-pad: clamp(5rem, 11vw, 8.5rem);
  --radius-lg: 24px;
  --radius-md: 18px;
  --header-h: 78px;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; } /* native glide for anchor navigation */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-on-light);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--light :focus-visible,
.section--white :focus-visible { outline-color: var(--navy-800); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); position: relative; }

.section--light { background: var(--cream-50); color: var(--ink-on-light); }
.section--white { background: var(--white); color: var(--ink-on-light); }
.section--dark  { background: var(--navy-800); color: var(--ink-on-dark); }
.section--deep  { background: var(--navy-900); color: var(--ink-on-dark); }

.section--dark h2, .section--dark h3,
.section--deep h2, .section--deep h3 { color: var(--white); }
.section--light h2, .section--light h3,
.section--white h2, .section--white h3 { color: var(--navy-800); }

.section-head { max-width: 56rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--tight { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.section-title { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  color: var(--navy-800);
}
.eyebrow--gold { color: var(--gold-500); }
.eyebrow__index {
  display: inline-block;
  margin-right: 0.9rem;
  padding-right: 0.9rem;
  border-right: 1px solid currentColor;
  opacity: 0.75;
}

.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; max-width: 62ch; }

/* Faint oversized wordmark watermark behind sections */
.watermark {
  position: absolute;
  width: min(80vw, 1000px);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}
.watermark--fleet { top: 4rem; right: -6rem; }
.watermark--projects { bottom: 5rem; left: -5rem; opacity: 0.06; }

/* --------------------------------------------------------------------------
   4. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn--gold:hover {
  background: var(--gold-400);
  box-shadow: 0 12px 32px rgba(230, 179, 74, 0.35);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.btn--wa {
  border-color: rgba(201, 211, 230, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.btn--wa:hover { border-color: var(--gold-400); color: var(--gold-400); }

.btn--sm { padding: 0.6rem 1.3rem; font-size: 0.92rem; }

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.text-link:hover { color: var(--navy-700); border-color: var(--gold-400); }

/* --------------------------------------------------------------------------
   5. Scroll progress bar
   -------------------------------------------------------------------------- */
.progress-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  background: transparent;
}
.progress-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;   /* updated every scrolled frame outside GSAP */
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.35s ease, box-shadow 0.35s ease,
              backdrop-filter 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 18, 51, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);   /* kept small — blur cost is paid every scrolled frame */
  box-shadow: 0 1px 0 rgba(201, 211, 230, 0.12), 0 12px 40px rgba(7, 18, 51, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
}

.brand img { width: auto; height: 44px; }

.primary-nav { display: flex; align-items: center; gap: 1.8rem; }

.primary-nav__list {
  display: flex;
  gap: 1.7rem;
}

/* Narrow desktops: tighten the bar so nav + CTA + language pill all fit */
@media (min-width: 900px) and (max-width: 1120px) {
  .primary-nav { gap: 1.1rem; }
  .primary-nav__list { gap: 1.1rem; }
  .primary-nav .lang-toggle { padding: 0.5rem 0.75rem; gap: 0.4rem; }
}

.primary-nav__link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  padding: 0.4rem 0;
  letter-spacing: 0.01em;
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transition: right 0.3s ease;
}
.primary-nav__link:hover::after,
.primary-nav__link.is-active::after { right: 0; }
.primary-nav__link.is-active { color: var(--gold-400); }

/* Language toggle (EN ⇄ ID) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.lang-toggle:hover { border-color: var(--gold-400); }
.lang-toggle__opt { opacity: 0.45; transition: opacity 0.25s ease, color 0.25s ease; }
.lang-toggle__opt.is-active { opacity: 1; color: var(--gold-400); }
.lang-toggle__sep { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.3); }

/* Cross-fade while the language swaps (JS toggles body.is-translating) */
main, .site-footer { transition: opacity 0.26s ease; }
body.is-translating main,
body.is-translating .site-footer { opacity: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  transition: transform 0.3s ease;
}
.nav-toggle__label { display: none; }

/* Mobile: full-screen navy overlay menu */
@media (max-width: 899px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: -1;              /* logo + close toggle stay visible above the overlay */
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background: var(--navy-900);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  body.nav-open .primary-nav { opacity: 1; visibility: visible; }

  /* The frosted bar's backdrop-filter makes the header the containing block
     for fixed-position descendants, which would trap the open overlay inside
     the bar's box. Drop the filter instantly while the menu is open (the
     opaque overlay hides the bar anyway); `transition: none` matters — a
     still-transitioning filter keeps the containing block alive. */
  body.nav-open .site-header,
  body.nav-open .site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    transition: none;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
  }
  .primary-nav__link {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    font-weight: 600;
  }

  body.nav-open .nav-toggle { border-color: var(--gold-500); }
  body.nav-open .nav-toggle__bar:first-child { transform: translateY(4px) rotate(45deg); }
  body.nav-open .nav-toggle__bar:last-child { transform: translateY(-4px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }

  /* In the overlay menu the language pill sits below the CTA, slightly larger */
  .primary-nav .lang-toggle {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 3rem) 6rem;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 60% at 78% 42%, rgba(230, 179, 74, 0.14), transparent 70%),
    radial-gradient(70% 80% at 15% 100%, rgba(18, 36, 94, 0.9), transparent 70%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 58%, #050C24 100%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero__copy { position: relative; z-index: 2; }

.hero__title {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.4rem;
  max-width: 12ch;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--ice-200);
  letter-spacing: 0.04em;
  margin-bottom: 2.4rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__media { position: relative; z-index: 1; }
.hero__media img {
  width: min(112%, 720px);
  margin-left: auto;
  transform: translateX(4%);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.45));
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  color: var(--ice-200);
  opacity: 0.8;
  padding: 0.5rem;
}
.scroll-cue:hover { color: var(--gold-400); }

@media (max-width: 899px) {
  .hero { padding-bottom: 7rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: 2; display: flex; justify-content: center; }
  .hero__media img { width: min(88vw, 520px); }
}

/* --------------------------------------------------------------------------
   8. About / stats
   -------------------------------------------------------------------------- */
.about__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--hairline-light);
  border-block: 1px solid var(--hairline-light);
}

.stat {
  background: var(--cream-50);
  padding: 2rem 1.5rem;
}
.stat__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 0.6rem;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1;
}
.stat__value--text { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.2; padding-top:0.55rem; }

/* --------------------------------------------------------------------------
   9. Vision & Mission
   -------------------------------------------------------------------------- */
.mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  counter-reset: mission;
}

.mission__item {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.mission__item:hover { transform: translateY(-4px); border-color: rgba(230, 179, 74, 0.5); }

.mission__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  margin-bottom: 1.1rem;
}
.mission__item p { color: var(--ice-200); font-size: 0.99rem; }

/* --------------------------------------------------------------------------
   10. Full-bleed ramp break (parallax)
   -------------------------------------------------------------------------- */
.ramp-break {
  position: relative;
  height: min(76vh, 720px);
  overflow: hidden;
  background: var(--navy-900);
  display: flex;
  align-items: flex-end;
}

.ramp-break__media {
  position: absolute;
  inset: -12% 0;              /* headroom for parallax drift */
}
.ramp-break__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bottom scrim doubles as mask for the photo's corner timestamp */
.ramp-break__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 18, 51, 0.88) 0%, rgba(7, 18, 51, 0.25) 34%, rgba(7, 18, 51, 0) 60%);
}

.ramp-break__line {
  position: relative;
  width: 100%;
  padding-bottom: 3.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   11. Fleet — pinned showcase
   -------------------------------------------------------------------------- */
.fleet { overflow: clip; }

.fleet__shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* When JS pins the section, it collapses to exactly one viewport */
.fleet--pinned { padding-block: 0; }
.fleet--pinned .fleet__shell { height: 100vh; padding-block: calc(var(--header-h) + 1rem) 2rem; }

.fleet__stage { position: relative; }

.fleet-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}
/* Unpinned (mobile / reduced motion): slides flow in-page */
.fleet__stage .fleet-slide + .fleet-slide { margin-top: clamp(3rem, 8vw, 5rem); }

/* Pinned: slides stack in place and crossfade */
.fleet--pinned .fleet__stage { height: min(62vh, 620px); }
.fleet--pinned .fleet-slide {
  position: absolute;
  inset: 0;
  margin: 0 !important;
}

.fleet-slide__media img {
  width: 100%;
  max-height: min(56vh, 560px);
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(7, 18, 51, 0.18));
}

.fleet-slide__media--strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
.fleet-slide__media--strip img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.fleet-slide__media--strip .fleet-slide__cutout {
  grid-column: 1 / -1;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  box-shadow: none;
  border-radius: 0;
}
.fleet-slide__media--duo { grid-template-columns: 1.3fr 1fr; }

.fleet--pinned .fleet-slide__media--strip { max-height: min(62vh, 620px); overflow: hidden; }
.fleet--pinned .fleet-slide__media--strip img:not(.fleet-slide__cutout) { max-height: min(38vh, 380px); }

.fleet-slide__tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 0.9rem;
}

.fleet-slide__title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  margin-bottom: 1rem;
}
.fleet-slide__nick { color: var(--gold-700); white-space: nowrap; }

.fleet-slide__copy { color: var(--ink-on-light); margin-bottom: 1.1rem; }

.reg-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.reg-list li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--navy-800);
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--hairline-light);
  border-radius: 999px;
  background: var(--white);
}

.fleet__meter {
  display: flex;
  gap: 0.55rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  visibility: hidden;                    /* only meaningful in pinned mode */
}
.fleet--pinned .fleet__meter { visibility: visible; }
.fleet__meter-dot {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--hairline-light);
  transition: background-color 0.3s ease;
}
.fleet__meter-dot.is-active { background: var(--gold-500); }

@media (max-width: 899px) {
  .fleet-slide { grid-template-columns: 1fr; }
  .fleet-slide__info { order: -1; }
  .fleet-slide__media--strip { grid-template-columns: 1fr; }
  .fleet-slide__media--strip .fleet-slide__cutout { display: none; }
}

/* --------------------------------------------------------------------------
   12. Services
   -------------------------------------------------------------------------- */
.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2.25rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  overflow: hidden;
}
.service-panel:last-child { margin-bottom: 0; }

.service-panel--dark {
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(230, 179, 74, 0.1), transparent 65%),
    linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: var(--ice-200);
  box-shadow: var(--shadow-soft);
}
.service-panel--dark .service-panel__title { color: var(--white); }

.service-panel--cream {
  background: var(--white);
  border: 1px solid var(--hairline-light);
  color: var(--ink-on-light);
}
.service-panel--cream .service-panel__title { color: var(--navy-800); }

.service-panel__kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.9rem;
}
.service-panel--cream .service-panel__kicker { color: var(--navy-700); }

.service-panel__title {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  margin-bottom: 1.2rem;
}

.service-panel__media {
  border-radius: var(--radius-md);
  overflow: hidden;
}
.service-panel__media img {
  width: 100%;
  height: clamp(300px, 44vw, 460px);
  object-fit: cover;
  border-radius: var(--radius-md);
}
.service-panel--cream .service-panel__media img {
  object-fit: contain;
  background: linear-gradient(165deg, var(--navy-800), var(--navy-900));
  padding: 1.5rem;
}

/* Transparent aircraft cutout floating on the dark panel gradient */
.service-panel__media--cutout { overflow: visible; }
.service-panel__media--cutout img {
  height: auto;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.45));
}

.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.chip {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(230, 179, 74, 0.45);
  color: var(--gold-400);
}

@media (max-width: 899px) {
  .service-panel { grid-template-columns: 1fr; }
  .service-panel__media { order: -1; }
  .service-panel__media img { height: clamp(220px, 55vw, 340px); }
}

/* --------------------------------------------------------------------------
   13. Projects
   -------------------------------------------------------------------------- */
.projects__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
}

.projects__heading {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline-dark);
}

.project-list__item {
  display: flex;
  gap: 1.1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(201, 211, 230, 0.1);
  color: var(--ice-200);
  font-size: 1.02rem;
}
.project-list__num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  flex-shrink: 0;
}

.route {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.82rem 0;
  border-bottom: 1px solid rgba(201, 211, 230, 0.1);
  font-size: 1.02rem;
}
.route__city { color: var(--white); font-weight: 500; white-space: nowrap; }
.route__city:last-child { color: var(--ice-200); }

/* Gold connector that draws in on scroll */
.route__line {
  position: relative;
  flex: 1 1 auto;
  height: 1px;
  background: rgba(201, 211, 230, 0.15);
  overflow: visible;
}
.route__line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  transform: scaleX(var(--route-draw, 1));
  transform-origin: left center;
}
.route__line::after {
  content: "\21C4";           /* ⇄ round-trip glyph riding the line */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font-size: 0.8rem;
  line-height: 1;
  color: var(--gold-500);
  background: var(--navy-900);
  padding-inline: 0.45rem;
}

.route-note {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: var(--slate-400);
}

@media (max-width: 899px) {
  .projects__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   14. Clients — logo wall
   -------------------------------------------------------------------------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.logo-grid__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.logo-grid__cell:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 179, 74, 0.55);
  box-shadow: var(--shadow-soft);
}

.logo-grid__cell img {
  max-height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.35s ease, opacity 0.35s ease;
}
.logo-grid__cell:hover img { filter: grayscale(0); opacity: 1; }

@media (max-width: 899px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   15. Team
   -------------------------------------------------------------------------- */
.team__group { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.team__group:last-child { margin-bottom: 0; }

.team__group-title {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: 1.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--hairline-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.4rem;
}

.person figure {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(170deg, var(--navy-700), var(--navy-900));
  box-shadow: 0 10px 30px rgba(7, 18, 51, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.person figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1.5px var(--gold-500), 0 22px 44px rgba(7, 18, 51, 0.25);
}

.person__media {
  aspect-ratio: 3 / 3.6;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 20%, rgba(201, 211, 230, 0.16), transparent 70%),
    linear-gradient(170deg, var(--navy-700), var(--navy-900));
}
.person__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.85);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.person figure:hover .person__media img { filter: grayscale(0); transform: scale(1.03); }

.person figcaption { padding: 1rem 1.15rem 1.2rem; }
.person__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.person__alias { font-weight: 500; color: var(--ice-200); }
.person__role {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
}

/* --------------------------------------------------------------------------
   16. Bases
   -------------------------------------------------------------------------- */
.base-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.base-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.base-card:hover { transform: translateY(-5px); border-color: rgba(230, 179, 74, 0.5); }

.base-card__media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

/* Embedded Google Map: grows to equalize card heights so the address
   blocks align across the row. Slightly desaturated at rest to sit with
   the palette; full color on hover (same motif as logos & portraits). */
.base-card__map {
  position: relative;              /* anchor for the absolutely-filled iframe */
  flex: 1 1 auto;                  /* grows to fill the card, incl. the photo-less HQ card */
  min-height: 230px;
  background: var(--navy-900);     /* shown while the embed loads */
}
.base-card__map iframe {
  position: absolute;             /* height:100% on an iframe won't resolve against a
  inset: 0;                          flex-grown parent — absolute fill is reliable */
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.72);
  transition: filter 0.35s ease;
}
.base-card:hover .base-card__map iframe { filter: none; }
.base-card__media + .base-card__map { border-top: 1px solid var(--hairline-dark); }

.base-card__body { padding: 1.6rem 1.6rem 1.8rem; }
.base-card__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.5rem;
}
.base-card__title { font-size: 1.45rem; margin-bottom: 0.55rem; }
.base-card__addr { color: var(--ice-200); font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */
.contact { overflow: hidden; }

.contact__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 55% at 70% 20%, rgba(230, 179, 74, 0.1), transparent 70%);
  pointer-events: none;
}

.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact__title {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  color: var(--white);
  margin-bottom: 2rem;
}

.contact__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.75rem; }

.contact__details { display: grid; gap: 1.1rem; }
.contact__row dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 0.25rem;
}
.contact__row dd { color: var(--white); font-size: 1.04rem; overflow-wrap: anywhere; }
.contact__row a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(230, 179, 74, 0.6); }
.contact__row a:hover { color: var(--gold-400); }
.contact__hint { color: var(--slate-400); font-size: 0.92rem; }

.contact-form {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.contact-form__intro { color: var(--ice-200); margin-bottom: 1.5rem; }

.contact-form__field { margin-bottom: 1.2rem; }
.contact-form__field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-200);
  margin-bottom: 0.45rem;
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--white);
  background: rgba(7, 18, 51, 0.55);
  border: 1px solid var(--hairline-dark);
  border-radius: 12px;
  resize: vertical;
}
.contact-form__field input:focus-visible,
.contact-form__field textarea:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 1px;
}

.contact-form__submit { width: 100%; justify-content: center; border: 0; }
.contact-form__note { margin-top: 0.9rem; font-size: 0.85rem; color: var(--slate-400); text-align: center; }

@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #050C24;
  color: var(--ice-200);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(201, 211, 230, 0.12);
}

.site-footer__brand img { width: 190px; height: auto; margin-bottom: 1.1rem; }
.site-footer__brand p { font-size: 0.95rem; color: var(--slate-400); }

.site-footer__nav ul { display: grid; gap: 0.55rem; }
.site-footer__nav a {
  color: var(--ice-200);
  text-decoration: none;
  font-size: 0.97rem;
}
.site-footer__nav a:hover { color: var(--gold-400); }

.site-footer__contact {
  font-style: normal;
  display: grid;
  gap: 0.55rem;
  font-size: 0.97rem;
  overflow-wrap: anywhere;
}
.site-footer__contact a { color: var(--ice-200); text-decoration: none; }
.site-footer__contact a:hover { color: var(--gold-400); }
.site-footer__contact span { color: var(--slate-400); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--slate-400);
}
.site-footer__legal { max-width: 46ch; }

@media (max-width: 899px) {
  .site-footer__top { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   19. Reduced motion — content shown in final state, no scroll effects
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
