/* ==========================================================================
   VILLS MANPOWER CORPORATION — Stylesheet
   Design concept: "Dispatch Board" — the site borrows the visual language
   of workforce ID badges, dispatch tickets and shift boards: perforated
   ticket-stub cards, rivet corners, punch-clock counters, stamped labels.
   ========================================================================== */

:root {
  /* ---- Color tokens ---- */
  --navy: #0A1930;
  --navy-2: #12294D;
  --navy-3: #1F4E79;
  --amber: #F5A623;
  --amber-2: #FFC857;
  --cream: #F7F4EC;
  --paper: #FFFDF8;
  --ink: #111820;
  --slate: #5B6B79;
  --white: #FFFFFF;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(10, 25, 48, 0.12);

  /* ---- Type ---- */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* ---- Layout ---- */
  --container: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-soft: cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 600; margin-bottom: 14px; }
.section-head p { color: var(--slate); font-size: 16.5px; }
.section-head.on-dark p { color: rgba(255,255,255,0.68); }
.section-head.on-dark h2 { color: var(--white); }

section { position: relative; padding: 110px 0; }
.on-dark { background: var(--navy); color: var(--white); }
.on-steel { background: var(--navy-2); color: var(--white); }

/* ---- Reveal-on-scroll ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(.9) translateY(22px); }
[data-reveal="scale"].is-visible { transform: scale(1) translateY(0); }

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  z-index: 2000;
  box-shadow: 0 0 12px rgba(245,166,35,.7);
  transition: width .1s linear;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
  position: fixed; inset: 0; background: var(--navy); z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-badge {
  width: 74px; height: 74px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--amber);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
header#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
header#site-header.scrolled {
  background: rgba(10,25,48,0.92);
  backdrop-filter: blur(14px);
  padding: 13px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: linear-gradient(140deg, var(--amber), var(--amber-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--navy);
  font-size: 15px; letter-spacing: -0.03em; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(245,166,35,.35), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 4px rgba(0,0,0,.08);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
.brand-mark.has-logo, .badge-avatar.has-logo {
  background: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.7);
}
.brand-mark img, .badge-avatar img {
  width: 100%; height: 100%; object-fit: contain; padding: 5px; border-radius: inherit;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); color: var(--white); font-size: 16px; letter-spacing: .01em; }
.brand-text span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--amber); text-transform: uppercase; }

nav.primary-nav ul { display: flex; gap: 36px; }
nav.primary-nav a {
  position: relative; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.82);
  padding: 6px 0; transition: color .3s;
}
nav.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--amber); transition: width .35s var(--ease);
}
nav.primary-nav a:hover, nav.primary-nav a.active { color: var(--white); }
nav.primary-nav a:hover::after, nav.primary-nav a.active::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1100; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: transform .35s var(--ease), opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
#hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  background: var(--navy); overflow: hidden; padding-top: 120px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg video, .hero-bg img.hero-fallback {
  width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero-bg video.loaded, .hero-bg img.hero-fallback.loaded { opacity: 0.92; }
.hero-bg.no-media {
  background:
    radial-gradient(circle at 22% 18%, rgba(245,166,35,.28), transparent 55%),
    radial-gradient(circle at 85% 78%, rgba(31,78,121,.55), transparent 55%);
  animation: bg-drift 16s ease-in-out infinite alternate;
}
@keyframes bg-drift {
  0% { background-position: 0% 0%, 100% 100%; }
  100% { background-position: 8% 6%, 92% 94%; }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(245,166,35,.14), transparent 55%),
    linear-gradient(100deg, rgba(10,25,48,.82) 0%, rgba(10,25,48,.55) 32%, rgba(10,25,48,.18) 58%, rgba(10,25,48,.05) 78%),
    linear-gradient(180deg, rgba(10,25,48,.05) 0%, rgba(10,25,48,.35) 72%, var(--navy) 100%);
}
/* Faint branded watermark — reads as "the company's own mark", not stock imagery */
.hero-watermark {
  position: absolute; right: -2%; bottom: -8%; z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(160px, 24vw, 340px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.05);
  background: linear-gradient(180deg, rgba(245,166,35,.07), rgba(255,255,255,.02));
  -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 30%, black, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 60px; align-items: center; padding-bottom: 60px;
}
.hero-visual { position: relative; }
.hero-copy .eyebrow { color: var(--amber-2); }
.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 64px); font-weight: 600; color: var(--white);
  margin-bottom: 22px;
}
.hero-copy h1 em { font-style: normal; color: var(--amber); }
.hero-copy p.lead { color: rgba(255,255,255,.72); font-size: 18px; max-width: 520px; margin-bottom: 34px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px;
  border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
  border: none;
}
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(245,166,35,.4); background: var(--amber-2); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.32); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); transform: translateY(-4px); }
.btn i { transition: transform .4s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn { position: relative; overflow: hidden; }
.btn .ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,.55); pointer-events: none; animation: ripple-out .65s ease-out forwards;
}
@keyframes ripple-out { to { transform: scale(3.2); opacity: 0; } }

.hero-stats { display: flex; gap: 0; }
.hero-stat { padding-right: 34px; margin-right: 34px; border-right: 1px dashed rgba(255,255,255,.22); }
.hero-stat:last-child { border-right: none; }
.hero-stat .value { font-family: var(--font-display); font-size: 26px; color: var(--amber-2); font-weight: 700; display: block; }
.hero-stat .label { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }

/* Signature element: dispatch badge card */
.dispatch-badge {
  position: relative; background: var(--paper); border-radius: 18px;
  padding: 34px 30px 30px; color: var(--ink);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  transform: rotate(3deg) scale(1);
  transition: transform .55s var(--ease-soft), box-shadow .55s var(--ease-soft);
  will-change: transform;
}
.dispatch-badge:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.08);
  box-shadow: 0 46px 90px rgba(0,0,0,.45), 0 0 0 1px rgba(245,166,35,.25);
}
.dispatch-badge:hover .badge-avatar { transform: scale(1.06); }
.dispatch-badge:hover .badge-status .dot { animation-duration: 1s; }
.dispatch-badge::before {
  content: ''; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  width: 62px; height: 26px; border-radius: 0 0 13px 13px; background: var(--navy-2);
}
.dispatch-badge::after {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--cream);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.3);
}
.badge-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; border-bottom: 1px dashed var(--line-light); padding-bottom: 16px; }
.badge-top .badge-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--slate); text-transform: uppercase; }
.badge-top .badge-id { font-family: var(--font-mono); font-size: 12px; color: var(--amber-dark, #b5750f); font-weight: 600; }
.badge-avatar {
  width: 64px; height: 64px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(140deg, var(--navy), var(--navy-3));
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-2); font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.03em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -12px 20px rgba(0,0,0,.2);
  transition: transform .5s var(--ease-soft);
  overflow: hidden;
}
.dispatch-badge h4 { font-size: 19px; margin-bottom: 3px; }
.dispatch-badge .role { font-family: var(--font-mono); font-size: 11.5px; color: var(--slate); margin-bottom: 18px; display: block; }
.badge-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.badge-meta div span { display: block; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; color: var(--slate); letter-spacing: .06em; }
.badge-meta div strong { font-size: 14px; }
.badge-status { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; color: #2f8f4e; text-transform: uppercase; letter-spacing: .06em; }
.badge-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #2f8f4e; box-shadow: 0 0 0 0 rgba(47,143,78,.6); animation: pulse-dot 1.8s infinite; }
@keyframes pulse-dot { 0%{box-shadow:0 0 0 0 rgba(47,143,78,.55);} 70%{box-shadow:0 0 0 9px rgba(47,143,78,0);} 100%{box-shadow:0 0 0 0 rgba(47,143,78,0);} }

/* Floating brand chips — reinforce identity around the badge instead of leaning on stock photography */
.floating-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  padding: 10px 16px; border-radius: 999px; z-index: 3;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--navy);
  box-shadow: 0 16px 32px rgba(0,0,0,.28);
  animation: float-chip 5.5s ease-in-out infinite;
}
.floating-chip i { color: var(--amber-dark, #b5750f); font-size: 12px; }
.chip-1 { top: -22px; left: -26px; animation-delay: 0s; }
.chip-2 { bottom: 26px; right: -34px; animation-delay: 1.4s; }
@keyframes float-chip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 1000px) {
  .floating-chip { display: none; }
}

/* Faint oversized icon watermarks — same idea as the hero "VMC" mark,
   reused per-section with a real <i> icon so nothing depends on guessed
   unicode codepoints. Markup: <div class="section-watermark ..."><i class="fas fa-x"></i></div> */
#about, #why-us, #contact { position: relative; overflow: hidden; }
#about .about-grid, #why-us .container, #contact .container { position: relative; z-index: 1; }
#process .container { position: relative; z-index: 1; }

.section-watermark {
  position: absolute; pointer-events: none; z-index: 0;
  font-size: clamp(180px, 22vw, 300px); color: var(--navy); opacity: .035; line-height: 1;
}
.on-dark .section-watermark { color: var(--white); opacity: .04; }
.section-watermark.wm-tr { right: -3%; top: -8%; transform: rotate(10deg); }
.section-watermark.wm-bl { left: -4%; bottom: -10%; transform: rotate(-8deg); }
.section-watermark.wm-br { right: -3%; bottom: -10%; transform: rotate(6deg); }
@media (max-width: 700px) { .section-watermark { display: none; } }

/* Perforated "ticket" divider — echoes the dispatch-badge/ticket-stub
   motif already used across the site, stitched between sections. */
.ticket-divider {
  position: relative; height: 1px; z-index: 5;
  background: repeating-linear-gradient(90deg, rgba(10,25,48,.16) 0 10px, transparent 10px 20px);
}
.ticket-divider::before, .ticket-divider::after {
  content: ''; position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cream); transform: translateY(-50%);
}
.ticket-divider::before { left: -11px; }
.ticket-divider::after { right: -11px; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
  color: rgba(255,255,255,.5); font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 34px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--amber); animation: scrollline 2s infinite var(--ease);
}
@keyframes scrollline { to { top: 100%; } }

/* ==========================================================================
   Ticket-stub cards (shared component)
   ========================================================================== */
.stub-card {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 30px 26px; border: 1px solid var(--line-light);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .4s;
  overflow: hidden;
}
.stub-card::before, .stub-card::after {
  content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--line-light); top: 14px;
}
.stub-card::before { left: -5px; }
.stub-card::after { right: -5px; }
.stub-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 26px 50px rgba(10,25,48,.14);
  border-color: rgba(245,166,35,.5);
}
.stub-card .num {
  font-family: var(--font-mono); font-size: 12px; color: var(--amber-dark, #b5750f);
  letter-spacing: .08em; margin-bottom: 12px; display: block;
}

/* ==========================================================================
   About
   ========================================================================== */
#about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: start; }
.about-visual { position: sticky; top: 120px; }
.about-card {
  background: var(--navy); border-radius: 20px; padding: 40px 32px; color: var(--white);
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(245,166,35,.25), transparent 55%);
}
.about-card .quote-mark { font-family: var(--font-display); font-size: 60px; color: var(--amber); line-height: 1; margin-bottom: 6px; }

/* Stat rows — each becomes a small "badge" tile with an icon medallion on
   the left. They slide in and light up in sequence, and glow/lift on
   hover so the sidebar feels alive rather than a flat spec sheet. */
.stat-row { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; position: relative; z-index: 1; }
.stat-item {
  display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px 4px;
  border-radius: 14px; position: relative;
  opacity: 0; transform: translateX(-14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease),
              background .35s var(--ease-soft), padding-left .35s var(--ease-soft);
}
.about-card.is-visible .stat-item,
.stat-item.is-visible { opacity: 1; transform: translateX(0); }
.stat-item + .stat-item { border-top: 1px dashed var(--line-dark); padding-top: 18px; }
.stat-item:hover { background: rgba(245,166,35,.08); padding-left: 14px; }

.stat-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(245,166,35,.22), rgba(245,166,35,.06));
  border: 1px solid rgba(245,166,35,.35); color: var(--amber-2); font-size: 17px;
  transition: transform .5s var(--ease-soft), background .4s, color .4s, box-shadow .4s;
}
.stat-item:hover .stat-icon {
  transform: rotate(-8deg) scale(1.08);
  background: var(--amber); color: var(--navy);
  box-shadow: 0 8px 20px rgba(245,166,35,.35);
}
.stat-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.stat-item .stat-val { font-family: var(--font-display); font-size: 20px; color: var(--white); font-weight: 700; white-space: nowrap; letter-spacing: -.01em; }
.stat-item .stat-lab { font-size: 12.8px; color: rgba(255,255,255,.62); line-height: 1.4; }

.about-body p { color: var(--slate); margin-bottom: 20px; font-size: 16px; }
.about-body p:first-of-type { font-size: 18px; color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Mission & Vision — dedicated section.
   Signature: a stamped "pill" tag with a tail, sitting on top of a ringed
   icon medallion, cascading down into a ticket-style text card — reads like
   two ID badges laid side by side, echoing the dispatch-badge motif already
   used in the hero.
   ========================================================================== */
.mv-section { background: var(--paper); overflow: hidden; }
.mv-dot-field {
  position: absolute; inset: 0; opacity: .55; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(10,25,48,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 20%, black, transparent 72%);
}
.mv-cascade {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  max-width: 900px; margin: 0 auto;
}
.mv-block { display: flex; flex-direction: column; align-items: center; text-align: center; }

.mv-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 26px;
  border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .01em; color: var(--white); position: relative; z-index: 2;
  box-shadow: 0 14px 26px rgba(0,0,0,.16);
}
.mv-pill::after {
  content: ''; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px; border-radius: 3px;
}
.mv-pill--vision { background: linear-gradient(135deg, var(--navy-3), var(--navy)); }
.mv-pill--vision::after { background: var(--navy); }
.mv-pill--mission { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: var(--navy); }
.mv-pill--mission::after { background: var(--amber-2); }

.mv-icon-circle {
  width: 68px; height: 68px; border-radius: 50%; margin-top: 26px; margin-bottom: -34px; z-index: 3;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: var(--paper); border: 3px solid var(--paper);
  box-shadow: 0 10px 22px rgba(10,25,48,.16);
  transition: transform .5s var(--ease-soft);
}
.mv-block:hover .mv-icon-circle { transform: scale(1.1) rotate(-6deg); }
.mv-icon-circle--vision { color: var(--navy-3); box-shadow: 0 10px 22px rgba(10,25,48,.16), 0 0 0 3px rgba(31,78,121,.18); }
.mv-icon-circle--mission { color: var(--amber-dark, #b5750f); box-shadow: 0 10px 22px rgba(10,25,48,.16), 0 0 0 3px rgba(245,166,35,.22); }
.mv-icon-circle::before {
  content: ''; position: absolute; width: 88px; height: 88px; border-radius: 50%; z-index: -1;
  opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease); transform: scale(.8);
}
.mv-icon-circle--vision::before { background: radial-gradient(circle, rgba(31,78,121,.18), transparent 70%); }
.mv-icon-circle--mission::before { background: radial-gradient(circle, rgba(245,166,35,.22), transparent 70%); }
.mv-block:hover .mv-icon-circle::before { opacity: 1; transform: scale(1); }

.mv-textcard {
  position: relative; width: 100%; background: var(--white); border: 1px solid var(--line-light);
  border-radius: 20px; padding: 46px 30px 30px; margin-top: 0;
  box-shadow: 0 20px 44px rgba(10,25,48,.08);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}
.mv-block:hover .mv-textcard { transform: translateY(-6px); box-shadow: 0 30px 58px rgba(10,25,48,.14); }
.mv-textcard p { font-size: 15px; line-height: 1.8; color: var(--slate); }
.mv-textcard::before {
  content: ''; position: absolute; left: 50%; top: 34px; transform: translateX(-50%);
  width: 44px; height: 3px; border-radius: 3px;
}
.mv-block:nth-child(1) .mv-textcard::before { background: linear-gradient(90deg, var(--navy-3), var(--navy)); }
.mv-block:nth-child(2) .mv-textcard::before { background: linear-gradient(90deg, var(--amber), var(--amber-2)); }

@media (max-width: 760px) {
  .mv-cascade { grid-template-columns: 1fr; gap: 56px; }
}

/* ==========================================================================
   Ticker strip — a moving band of brand claims between sections; a small,
   deliberate motion accent rather than a full section.
   ========================================================================== */
.ticker-strip {
  background: var(--navy); overflow: hidden; padding: 16px 0;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.ticker-track {
  display: flex; align-items: center; gap: 18px; width: max-content;
  animation: ticker-scroll 26s linear infinite;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.68);
}
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { white-space: nowrap; }
.ticker-dot { color: var(--amber); font-size: 11px; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Services
   ========================================================================== */
#services { background: var(--paper); position: relative; overflow: hidden; }
#services .container { position: relative; z-index: 1; }

.services-stack { display: flex; flex-direction: column; gap: 60px; }

/* Each service is a "dispatch board" panel — no photography, just the
   navy gradient with a subtle grid, a moving light sheen, and a stamped
   ticket tag for the index number — title/description on the left and a
   checklist of feature cards on the right. */
.svc-panel {
  position: relative; border-radius: 28px; padding: clamp(38px, 4.6vw, 64px); overflow: hidden; color: var(--white);
  background: linear-gradient(135deg, var(--navy-3) 0%, var(--navy) 68%, var(--navy-2) 100%);
  box-shadow: 0 30px 60px rgba(10,25,48,.22);
  isolation: isolate;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.svc-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 42px 80px rgba(10,25,48,.34);
}

/* A soft diagonal light sheen drifts across the panel on a loop, and
   sweeps faster/brighter the moment the cursor arrives — a bit of
   "always-alive" motion even before anyone interacts. */
.svc-sheen {
  position: absolute; top: -50%; left: -60%; width: 45%; height: 200%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.05), rgba(245,166,35,.09), transparent);
  transform: rotate(8deg); animation: svc-sheen-drift 7s ease-in-out infinite;
}
.svc-panel:hover .svc-sheen { animation-duration: 2.2s; }
@keyframes svc-sheen-drift {
  0%   { left: -60%; }
  50%  { left: 120%; }
  100% { left: 120%; }
}

.svc-panel::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 12% 15%, black, transparent 62%);
}
.svc-panel > * { position: relative; z-index: 2; }

/* Two large, soft-focus colour blobs drift slowly behind the content for
   extra depth and a bit of glassmorphism warmth — decorative only, never
   sharp enough to distract from the copy or cards. */
.svc-blob {
  position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  filter: blur(60px); opacity: .5;
  animation: svc-blob-drift 14s ease-in-out infinite;
}
.svc-blob-1 {
  width: 260px; height: 260px; top: -80px; right: 8%;
  background: radial-gradient(circle, rgba(245,166,35,.55), transparent 70%);
}
.svc-blob-2 {
  width: 320px; height: 320px; bottom: -140px; left: 6%;
  background: radial-gradient(circle, rgba(31,78,121,.6), transparent 70%);
  animation-delay: -7s;
}
@keyframes svc-blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -14px) scale(1.12); }
}

/* A blurred, service-related image or clip fills the whole panel like a
   frosted photo behind glass — genuinely visible, but soft enough to
   never compete with the copy or the cards sitting on top of it. A
   gradient veil keeps the left-hand text readable while letting the
   photo show through more openly toward the right. Both need to win
   back absolute positioning from the ".svc-panel > *" rule above. */
.svc-panel > .svc-media {
  position: absolute; inset: -8%; z-index: 0; width: 116%; height: 116%; object-fit: cover;
  opacity: .58; filter: blur(16px) saturate(1.1) brightness(.62);
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-soft), opacity .7s var(--ease-soft), filter .7s var(--ease-soft);
}
.svc-panel:hover > .svc-media { opacity: .7; transform: scale(1.09); filter: blur(12px) saturate(1.2) brightness(.66); }
.svc-panel > .svc-media-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(10,25,48,.94) 0%, rgba(10,25,48,.8) 26%, rgba(10,25,48,.42) 52%, rgba(10,25,48,.18) 74%, rgba(10,25,48,.28) 100%);
}

.svc-content {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: start;
}

.svc-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; margin-bottom: 20px;
  border: 1.5px dashed rgba(245,166,35,.55); border-radius: 999px; transform: rotate(-1.5deg);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-2); background: rgba(245,166,35,.08);
}
.svc-tag-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber-2); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255,200,87,.6); animation: pulse-dot 1.8s infinite;
}

.svc-icon-badge {
  position: relative;
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: var(--amber-2); font-size: 22px; margin-bottom: 24px;
  transition: transform .5s var(--ease-soft), background .4s, color .4s;
}
.svc-icon-badge::after {
  content: ''; position: absolute; inset: -6px; border-radius: 18px; z-index: -1;
  border: 1.5px solid rgba(245,166,35,.4);
  animation: svc-badge-breathe 2.6s ease-in-out infinite;
}
@keyframes svc-badge-breathe {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.16); opacity: 0; }
}
.svc-panel:hover .svc-icon-badge { transform: rotate(-8deg) scale(1.1); background: var(--amber); color: var(--navy); }

.svc-info h3 {
  font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.3; margin-bottom: 20px; text-transform: uppercase;
}
.svc-info h3 em { color: var(--amber-2); font-style: normal; }
.svc-info p { color: rgba(255,255,255,.78); font-size: 15.5px; line-height: 1.85; max-width: 400px; }

/* Feature checklist — a 2x2 grid of frosted, glass-panel cards, each with
   its own amber checkmark chip. Cards stagger in as the panel scrolls into
   view (driven off the panel's own .is-visible reveal state). */
.svc-features {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; perspective: 900px;
}
.feature-card:nth-child(2) { margin-top: 16px; }
.feature-card:nth-child(4) { margin-top: -16px; }
.feature-card {
  position: relative; background: rgba(255,255,255,.96); border-radius: 18px; padding: 26px 24px 24px;
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  opacity: 0; transform: translateY(18px) scale(.97);
  transition: opacity .6s var(--ease), transform .6s var(--ease),
              box-shadow .4s var(--ease-soft), background .4s;
  overflow: hidden;
}
.svc-panel.is-visible .feature-card { opacity: 1; transform: translateY(0) scale(1); }
.svc-panel.is-visible .feature-card:nth-child(1) { transition-delay: .05s; }
.svc-panel.is-visible .feature-card:nth-child(2) { transition-delay: .16s; }
.svc-panel.is-visible .feature-card:nth-child(3) { transition-delay: .27s; }
.svc-panel.is-visible .feature-card:nth-child(4) { transition-delay: .38s; }

.feature-card::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(245,166,35,.28), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease-soft); pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 22px 42px rgba(0,0,0,.22);
  background: var(--white);
}
.feature-card:hover::after { left: 130%; }

.feature-check {
  position: relative;
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 10px; background: linear-gradient(145deg, var(--amber-2), var(--amber)); color: var(--navy); font-size: 13px; margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(245,166,35,.35);
  transition: transform .45s var(--ease-soft);
}
.feature-check::after {
  content: ''; position: absolute; top: -5px; right: -5px; width: 7px; height: 7px;
  background: var(--amber-2); clip-path: polygon(50% 0,63% 37%,100% 50%,63% 63%,50% 100%,37% 63%,0 50%,37% 37%);
  opacity: 0; transform: scale(.4); transition: opacity .4s var(--ease-soft), transform .4s var(--ease-soft);
}
.feature-card:hover .feature-check::after { opacity: 1; transform: scale(1); }
.feature-card:hover .feature-check { transform: scale(1.15) rotate(-6deg); }
.feature-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.feature-card p { font-size: 13px; color: var(--slate); line-height: 1.6; }

/* Panels with no feature list (edge case / placeholder rows) keep a clean
   single-column layout instead of an empty gap. */
.svc-content.no-features { grid-template-columns: 1fr; }
.svc-content.no-features .svc-info p { max-width: 640px; }

@media (max-width: 900px) {
  .svc-panel { padding: 30px; }
  .svc-content, .svc-content.no-features { grid-template-columns: 1fr; gap: 28px; }
  .svc-features { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(2), .feature-card:nth-child(4) { margin-top: 0; }
  .svc-info p { max-width: none; }
}
@media (max-width: 520px) {
  .svc-features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Process (timeline)
   ========================================================================== */
#process { background: var(--navy); overflow: hidden; }
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px);
}
.timeline-item { display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding-bottom: 46px; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy-2); border: 2px solid var(--amber);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700;
  color: var(--amber-2); font-size: 17px; z-index: 1; transition: transform .5s var(--ease), background .4s;
}
.timeline-item:hover .timeline-num { transform: scale(1.12); background: var(--amber); color: var(--navy); }
.timeline-content { padding-top: 6px; }
.timeline-content h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.timeline-content p { color: rgba(255,255,255,.62); font-size: 15px; margin-bottom: 12px; }
.timeline-content ul { display: flex; flex-direction: column; gap: 8px; }
.timeline-content li { font-size: 14px; color: rgba(255,255,255,.75); padding-left: 20px; position: relative; }
.timeline-content li::before { content: '\f0da'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--amber); position: absolute; left: 0; top: 1px; font-size: 12px; }

/* ==========================================================================
   Why choose us
   ========================================================================== */
#why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.why-card { display: flex; gap: 18px; align-items: flex-start; }
.why-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--navy); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--amber-2); font-size: 19px;
  transition: transform .5s var(--ease-soft), background .4s;
}
.why-card:hover .why-icon { transform: rotate(-8deg) scale(1.08); background: var(--amber); color: var(--navy); }
.why-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.why-card p { font-size: 14.5px; color: var(--slate); }

/* ==========================================================================
   Partners marquee
   ========================================================================== */
#partners { background: var(--paper); padding-bottom: 100px; position: relative; overflow-x: hidden; overflow-y: visible; }
#partners .container { position: relative; z-index: 1; }
.marquee {
  overflow-x: hidden; overflow-y: visible; position: relative; margin-top: 10px; z-index: 1;
  padding: 70px 0 60px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Partner card — the logo itself is the hero of the card, in full colour,
   with the client name printed underneath like a name-plate. On hover the
   card genuinely pops: it scales up large and lifts above its neighbours
   so the logo becomes the clear focal point. */
.partner-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  background: var(--white); border: 1px solid var(--line-light); border-radius: 18px;
  width: 216px; padding: 30px 20px 22px; flex-shrink: 0; overflow: hidden;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .45s var(--ease-soft), border-color .35s;
  transform-origin: center bottom;
}
.partner-card:hover {
  transform: translateY(-22px) scale(1.22) rotate(-1deg);
  box-shadow: 0 46px 80px rgba(10,25,48,.32), 0 0 0 3px rgba(245,166,35,.5), 0 0 40px rgba(245,166,35,.28);
  border-color: rgba(245,166,35,.7);
  z-index: 20;
}

.partner-pin {
  position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--cream); color: var(--amber-dark, #b5750f); font-size: 11px;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}

.partner-logo-wrap {
  width: 100%; height: 72px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.partner-card img {
  max-height: 68px; max-width: 168px; width: auto; object-fit: contain;
  filter: none; transition: transform .55s cubic-bezier(.34,1.56,.64,1);
}
.partner-card:hover img { transform: scale(1.14); }

.partner-name {
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink);
  line-height: 1.3; text-align: center; padding-top: 14px; width: 100%;
  border-top: 1px dashed var(--line-light);
}
.partner-visit {
  margin-top: 8px; font-family: var(--font-mono); font-size: 10.5px; color: var(--amber-dark, #b5750f);
  letter-spacing: .04em; opacity: 0; transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.partner-card:hover .partner-visit { opacity: 1; transform: translateY(0); }
.partner-visit:hover { text-decoration: underline; }

.partner-card::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(245,166,35,.22), transparent);
  transform: skewX(-18deg); transition: left .75s var(--ease-soft); pointer-events: none;
  clip-path: inset(0 round 18px);
}
.partner-card:hover::after { left: 130%; }

.p-icon {
  width: 58px; height: 58px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--navy), var(--navy-3)); color: var(--amber-2);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 17px; font-weight: 700;
}

/* ==========================================================================
   Team — redesigned: glass cards, spotlight-follow glow, gradient avatar
   ring, and a department icon badge for a more elegant, editorial feel.
   ========================================================================== */
#team { background: var(--navy); position: relative; overflow: hidden; }
#team::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 50% 30%, black, transparent 75%);
}
.dept-block { margin-bottom: 60px; position: relative; z-index: 1; }
.dept-block:last-child { margin-bottom: 0; }
.dept-title { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.dept-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--amber), var(--amber-2)); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  box-shadow: 0 8px 20px rgba(245,166,35,.3), inset 0 1px 0 rgba(255,255,255,.5);
}
.dept-title h3 { color: var(--white); font-size: 19px; }
.dept-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-dark), transparent); }
.dept-badge { font-family: var(--font-mono); font-size: 10.5px; color: var(--amber-2); border: 1px solid rgba(245,166,35,.4); padding: 4px 10px; border-radius: 999px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 24px; }

.team-card {
  --mx: 50%; --my: 0%;
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  backdrop-filter: blur(6px);
  border-radius: 18px; padding: 32px 20px 28px; text-align: center;
  border: 1px solid var(--line-dark); position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .55s var(--ease-soft), box-shadow .55s var(--ease-soft), border-color .4s, background .4s;
}
.team-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(circle 180px at var(--mx) var(--my), rgba(245,166,35,.22), transparent 70%);
  transition: opacity .45s var(--ease); pointer-events: none;
}
.team-card:hover::before { opacity: 1; }
.team-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 30px 56px rgba(0,0,0,.42);
  border-color: rgba(245,166,35,.5);
  background: linear-gradient(165deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}
.team-card::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--amber), var(--amber-2)); transform: translateX(-50%);
  transition: width .5s var(--ease-soft);
}
.team-card:hover::after { width: 62%; }

.team-avatar {
  width: 118px; height: 118px; border-radius: 50%; margin: 0 auto 20px; position: relative; z-index: 1;
}
.team-avatar-ring {
  position: absolute; inset: -5px; border-radius: 50%; z-index: 0;
  background: conic-gradient(from 0deg, var(--amber), var(--amber-2), transparent 40%, transparent 60%, var(--amber));
  opacity: 0; transition: opacity .4s var(--ease); animation: ring-spin 3.5s linear infinite paused;
}
.team-card:hover .team-avatar-ring { opacity: 1; animation-play-state: running; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.team-avatar-inner {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-3), var(--navy-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--amber-2); font-size: 31px;
  letter-spacing: -0.02em; border: 3px solid var(--navy);
  transition: transform .5s var(--ease-soft);
}
.team-card:hover .team-avatar-inner { transform: scale(1.07); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-soft); }
.team-card:hover .team-avatar img { transform: scale(1.14); }
.team-card h4 { color: var(--white); font-size: 15.5px; margin-bottom: 7px; position: relative; z-index: 1; }
.team-card p {
  color: rgba(255,255,255,.55); font-size: 12px; font-family: var(--font-mono); letter-spacing: .01em;
  position: relative; z-index: 1; transition: color .4s;
}
.team-card:hover p { color: var(--amber-2); }

/* ==========================================================================
   Contact
   ========================================================================== */
#contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line-light);
  display: flex; gap: 18px; align-items: flex-start; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10,25,48,.1); }
.contact-card .c-icon { width: 46px; height: 46px; border-radius: 11px; background: var(--navy); color: var(--amber-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px; }
.contact-card h4 { font-size: 15px; margin-bottom: 8px; }
.contact-card a, .contact-card span { display: block; font-size: 14.5px; color: var(--slate); }
.contact-card a:hover { color: var(--amber-dark, #b5750f); }

.locations-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; margin-top: 6px; }
.location-pin { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; transition: transform .4s var(--ease); }
.location-pin:hover { transform: translateY(-6px); }
.location-pin i.fa-location-dot { color: var(--amber); margin-bottom: 10px; font-size: 18px; }
.location-pin h4 { font-size: 15px; margin-bottom: 4px; }
.location-pin p { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.location-pin a { font-family: var(--font-mono); font-size: 11.5px; color: var(--amber-2); letter-spacing: .04em; }
.location-pin a:hover { text-decoration: underline; }

.social-row { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.social-btn {
  width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 16px;
  transition: transform .4s var(--ease-soft), background .35s, color .35s, box-shadow .4s;
}
.social-btn:hover { transform: translateY(-6px) scale(1.08); background: var(--amber); color: var(--navy); box-shadow: 0 14px 26px rgba(245,166,35,.35); }

/* ==========================================================================
   Footer
   ========================================================================== */
footer { background: var(--navy-2); color: rgba(255,255,255,.7); padding: 70px 0 26px; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding-bottom: 46px; border-bottom: 1px solid var(--line-dark); }
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-brand-strong { font-family: var(--font-display); color: var(--white); font-size: 17px; letter-spacing: .01em; }
#footer-brand-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--amber-2); text-transform: uppercase; display: block; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; color: rgba(255,255,255,.55); max-width: 320px; }
.footer-col h5 { color: var(--white); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.62); transition: color .3s, padding-left .3s; }
.footer-col a:hover { color: var(--amber-2); padding-left: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.42); flex-wrap: wrap; gap: 12px; }

#back-to-top {
  position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--amber); color: var(--navy); display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 900; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background .3s;
  box-shadow: 0 12px 26px rgba(0,0,0,.3);
}
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--amber-2); transform: translateY(-4px); }

/* ==========================================================================
   Counter animation helper
   ========================================================================== */
.count-up { display: inline-block; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .dispatch-badge { max-width: 380px; margin: 0 auto; transform: rotate(0); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  /* The panel itself — a fully opaque navy surface (never see-through),
     matching the dispatch-board palette used everywhere else on the site. */
  nav.primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: linear-gradient(165deg, #0D2038 0%, var(--navy) 55%, #081527 100%);
    background-color: var(--navy); /* solid fallback — guarantees no transparency */
    padding: 110px 30px 40px; transform: translateX(100%);
    transition: transform .5s var(--ease); z-index: 1050;
    box-shadow: -30px 0 60px rgba(0,0,0,.45);
    overflow-y: auto;
  }
  nav.primary-nav::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(circle at 100% 100%, rgba(245,166,35,.16), transparent 55%);
  }
  nav.primary-nav > * { position: relative; z-index: 1; }
  nav.primary-nav.open { transform: translateX(0); }
  nav.primary-nav ul { flex-direction: column; gap: 8px; }

  /* Nav links get their own tappable row + stagger in one after another
     once the panel is open. */
  nav.primary-nav li {
    opacity: 0; transform: translateX(18px);
    transition: opacity .45s var(--ease), transform .45s var(--ease);
  }
  nav.primary-nav.open li { opacity: 1; transform: translateX(0); }
  nav.primary-nav.open li:nth-child(1) { transition-delay: .08s; }
  nav.primary-nav.open li:nth-child(2) { transition-delay: .13s; }
  nav.primary-nav.open li:nth-child(3) { transition-delay: .18s; }
  nav.primary-nav.open li:nth-child(4) { transition-delay: .23s; }
  nav.primary-nav.open li:nth-child(5) { transition-delay: .28s; }
  nav.primary-nav.open li:nth-child(6) { transition-delay: .33s; }
  nav.primary-nav.open li:nth-child(7) { transition-delay: .38s; }
  nav.primary-nav.open li:nth-child(8) { transition-delay: .43s; }

  nav.primary-nav a { display: block; font-size: 17px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }

  /* Dim backdrop behind the panel — the rest of the page is scrimmed,
     never left showing through as a "transparent" gap. */
  .nav-overlay {
    position: fixed; inset: 0; z-index: 1040; background: rgba(6,14,28,.6);
    backdrop-filter: blur(2px); opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
  }
  .nav-overlay.open { opacity: 1; visibility: visible; }

  .nav-toggle { display: flex; }
  section { padding: 80px 0; }

  /* header#site-header.scrolled uses backdrop-filter, and any element
     with a backdrop-filter/filter becomes the containing block for its
     position:fixed descendants. nav.primary-nav lives inside the header,
     so once scrolled + open, the "fixed" panel was sizing/positioning
     itself against the small header box instead of the viewport —
     causing it to render cut off with its own inner scrollbar. Turning
     the blur off while the menu is open restores the viewport as the
     containing block. */
  body.nav-open header#site-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* The header creates its own stacking context (fixed + z-index).
     The off-canvas panel (1050) and its blurred backdrop (1040) are
     siblings placed after it in the DOM, so they render above the
     ENTIRE header — including the toggle button — no matter what
     z-index .nav-toggle has on its own. Lifting the header above both
     keeps the hamburger/close button visible and clickable while open. */
  header#site-header { z-index: 1060; }
}
@media (min-width: 861px) {
  .nav-overlay { display: none; }
}
body.nav-open { overflow: hidden; }

@media (max-width: 600px) {
  .hero-copy h1 { font-size: 34px; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .hero-stat { border-right: none; margin-right: 0; padding-right: 0; }
  .badge-meta { grid-template-columns: 1fr; }
}

/* Custom cursor spotlight — reusable across any dark "glow-host" section */
.glow-host { position: relative; }
.glow-spot {
  position: absolute; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(245,166,35,.14), transparent 70%);
  transform: translate(-50%, -50%); z-index: 0; transition: opacity .4s;
  left: 0; top: 0; opacity: 0;
}
.glow-spot-lg { width: 560px; height: 560px; z-index: 1; }
.glow-host:hover .glow-spot { opacity: 1; }
.glow-host > .container { position: relative; z-index: 1; }
