/* ═══════════════════════════════════════════════════════════════
   9 LINE AGENCY: MAIN STYLES
   Design System: Military TDY Lodging, Premium, Trust & Authority
═══════════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  --color-bg:          #F5F4F0;
  --color-bg-dark:     #1C1C1C;
  --color-text:        #1A1A1A;
  --color-text-muted:  #6B6B6B;
  --color-accent:      #4A5C42;
  --color-accent-hover:#3A4A34;
  --color-card:        #FFFFFF;
  --color-border:      #E8E6E0;
  --color-sage:        #6B7C65;
  --color-process-bg:  #2A3528;

  --font-heading: 'Oswald', 'Impact', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width:    1280px;
  --nav-height:   80px;
  --section-pad:  120px;
  --container-px: clamp(24px, 5vw, 80px);

  --z-nav:    100;
  --z-mobile: 90;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Promote scrubbing videos to their own GPU compositor layer */
#hero-video,
#capabilities-video,
#process-video,
#about-video {
  transform: translateZ(0);
  backface-visibility: hidden;
}

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

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ─── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-eyebrow--light {
  color: var(--color-sage);
}

.section-eyebrow--on-dark {
  color: rgba(255, 255, 255, 0.6);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 20px;
}

.section-title--light {
  color: #FFFFFF;
}

.section-subhead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 56ch;
}

.section-subhead--muted {
  color: rgba(255, 255, 255, 0.55);
}

.section-header {
  margin-bottom: 64px;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease,
              border-color 200ms ease, box-shadow 200ms ease,
              transform 150ms ease;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 92, 66, 0.35);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-outline:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
  transform: translateY(-1px);
}

/* White-border outline variant for use on dark/video backgrounds */
.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--color-process-bg);
  border-color: #FFFFFF;
  font-weight: 700;
}

.btn-white:hover {
  background-color: var(--color-bg);
  border-color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  z-index: var(--z-nav);
  height: 64px;
  width: max-content;
  max-width: calc(100% - 32px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: background 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

.site-nav.past-hero {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.nav-container {
  max-width: none;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo: white over hero, dark after hero */
.nav-logo-img {
  filter: invert(1);
  transition: filter 350ms ease;
}

.site-nav.past-hero .nav-logo-img {
  filter: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity 200ms ease;
}

.nav-logo:hover img { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 2px;
  transition: color 250ms ease;
}

.nav-link:hover { color: #FFFFFF; }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease-out);
}

.nav-link:hover::after { transform: scaleX(1); }

/* Past-hero: dark links over frosted glass */
.site-nav.past-hero .nav-link { color: rgba(20, 20, 20, 0.78); }
.site-nav.past-hero .nav-link:hover { color: #000; }
.site-nav.past-hero .nav-link::after { background: var(--color-accent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.875rem;
}

/* ─── Hamburger ──────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 200ms ease;
}

.hamburger:hover { background-color: rgba(0, 0, 0, 0.06); }

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: transform 300ms var(--ease-out), opacity 300ms ease, background-color 350ms ease;
  transform-origin: center;
}

.site-nav.past-hero .hamburger span { background-color: rgba(20, 20, 20, 0.85); }

.site-nav.past-hero .nav-cta {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Mobile Menu ────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--color-bg-dark);
  z-index: var(--z-mobile);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  padding: 0 32px;
}

.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  color: #FFFFFF;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 200ms ease;
}

.mobile-nav-link:hover { color: var(--color-sage); }

.mobile-cta {
  margin-top: 32px;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 1: HERO (full-bleed video background)
═══════════════════════════════════════════════════════════════ */
/* Hero: 200 vh tall so page locks while video plays, then scrolls away */
.hero-section {
  height: 200vh;
  background-color: #1A1A1A;
}

.hero-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 var(--container-px);
  padding-top: var(--nav-height);
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 28px;
}

.hero-headline strong {
  font-weight: 700;
  display: block;
  color: #FFFFFF;
}

.hero-subhead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  justify-content: center;
}

.hero-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: color 200ms ease;
}

.contact-item:hover { color: #FFFFFF; }

.contact-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1rem;
}

/* Trust badges */
.trust-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-chevron {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: chevron-bounce 1.6s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 2: STATS BAR
═══════════════════════════════════════════════════════════════ */
.stats-section {
  background-color: var(--color-bg-dark);
  padding: 72px var(--container-px);
}

.stats-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 8px 16px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.stat-number--static {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 3: CAPABILITIES (full-section video background)
═══════════════════════════════════════════════════════════════ */
.capabilities-section {
  height: 300vh;
  position: relative;
  background: #111;
}

.capabilities-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#capabilities-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.capabilities-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.capabilities-inner {
  position: relative;
  z-index: 2;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.capability-card {
  background-color: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 3px solid transparent;
  cursor: default;
  transition:
    border-left-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms var(--ease-out);
}

.capability-card:hover {
  border-left-color: var(--color-accent);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
}

.card-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(74, 92, 66, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent);
  transition: background-color 300ms ease;
}

.capability-card:hover .card-icon {
  background-color: rgba(74, 92, 66, 0.14);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.card-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: gap 200ms ease, color 200ms ease;
  cursor: pointer;
}

.card-doc-link:hover {
  gap: 10px;
  color: var(--color-accent-hover);
}

.card-doc-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 4: BOOKING PROCESS (Terminal split layout)
═══════════════════════════════════════════════════════════════ */

.process-section {
  height: 350vh;
  position: relative;
}

.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

/* ─── Left panel ─────────────────────────────────────────── */
.process-left {
  width: 50%;
  height: 100%;
  background: #F5F4F0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 56px 80px 72px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.process-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 28px;
  flex-shrink: 0;
}

.process-steps-text {
  position: relative;
  flex: 1;
  min-height: 0;
}

.process-step-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 500ms ease;
  padding-right: 4px;
}

.process-step-text.is-active { opacity: 1; }

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

/* Step counter */
.step-counter {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.step-num {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.06);
  transition: color 650ms ease;
}

.step-of {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.15);
  transition: color 650ms ease 80ms;
}

.step-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.1);
  transition: color 500ms ease;
}

.step-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  color: rgba(0, 0, 0, 0.09);
  transition: color 650ms ease 120ms;
  position: relative;
  display: block;
}

.step-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 0;
  background: var(--color-accent);
  transition: width 600ms ease 300ms;
}

.step-body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.07);
  transition: color 650ms ease 180ms;
  max-width: 50ch;
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-list li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.07);
  padding-left: 15px;
  position: relative;
  transition: color 650ms ease 220ms;
}

.step-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  transition: background 650ms ease 220ms;
}

.step-timing {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 5px 12px;
  border-radius: 2px;
  transition: color 500ms ease, border-color 500ms ease;
  align-self: flex-start;
}

.step-cta {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: flex-start;
}

.step-contact {
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.25);
  margin: 0;
}

.step-contact a { color: rgba(0, 0, 0, 0.38); }
.step-contact a:hover { color: var(--color-accent); }

/* ─── Split-edge step tab (sits inside the notch in the dark panel) ── */
.split-tab {
  position: absolute;
  left: 50%;
  top: 10vh;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 52px;
  height: 64px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
}

.split-tab-label {
  font-family: var(--font-heading);
  font-size: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.6;
  line-height: 1;
}

.split-tab-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1;
}

/* ─── Active: text shines in ─────────────────────────────── */
.process-step-text.is-active .step-num            { color: rgba(0, 0, 0, 0.88); }
.process-step-text.is-active .step-of             { color: rgba(0, 0, 0, 0.3); }
.process-step-text.is-active .step-label          { color: var(--color-accent); }
.process-step-text.is-active .step-title          { color: rgba(0, 0, 0, 0.9); }
.process-step-text.is-active .step-title::after   { width: 44px; }
.process-step-text.is-active .step-body           { color: rgba(0, 0, 0, 0.6); }
.process-step-text.is-active .step-list li        { color: rgba(0, 0, 0, 0.65); }
.process-step-text.is-active .step-list li::before { background: var(--color-accent); }
.process-step-text.is-active .step-timing         { color: var(--color-accent); border-color: var(--color-accent); }

/* ─── Right panel ────────────────────────────────────────── */
.process-right {
  width: 50%;
  height: 100%;
  background: #0D1209;
  position: relative;
  /* clip-path set by JS on every scroll frame */
}

.process-anim-arena {
  position: absolute;
  inset: 0;
  left: 52px;
}

.process-anim {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 500ms ease;
}

.process-anim.is-active { opacity: 1; }

.anim-label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(74, 92, 66, 0.55);
}

/* ─── Anim 0: Radar ──────────────────────────────────────── */
.anim-radar-svg {
  width: min(460px, 82%);
  height: auto;
}

.radar-sweep-group {
  animation: radar-spin 4s linear infinite;
  transform-origin: 150px 150px;
  animation-play-state: paused;
}

.process-anim[data-anim="0"].is-active .radar-sweep-group {
  animation-play-state: running;
}

@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.radar-blip {
  opacity: 0.1;
  animation: blip-pulse 2.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  animation-play-state: paused;
}

.process-anim[data-anim="0"].is-active .radar-blip {
  animation-play-state: running;
}

@keyframes blip-pulse {
  0%, 100% { opacity: 0.1; }
  50%       { opacity: 0.9; }
}

/* ─── Anim 1: Coordinate grid ────────────────────────────── */
.anim-grid-svg {
  width: min(460px, 82%);
  height: auto;
}

.reticle-group {
  animation: reticle-pan 7s ease-in-out infinite;
  animation-play-state: paused;
}

.process-anim[data-anim="1"].is-active .reticle-group {
  animation-play-state: running;
}

@keyframes reticle-pan {
  0%, 100% { transform: translate(0, 0); }
  25%       { transform: translate(14px, -10px); }
  50%       { transform: translate(-10px, 16px); }
  75%       { transform: translate(8px, 8px); }
}

.process-anim[data-anim="1"].is-active .coord-text {
  animation: coord-fade-in 0.6s ease 0.5s forwards;
}

.process-anim[data-anim="1"].is-active .coord-text-2 {
  animation: coord-fade-in 0.6s ease 1.1s forwards;
}

@keyframes coord-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Anim 2: Roster ─────────────────────────────────────── */
.anim-roster {
  width: min(420px, 82%);
  font-family: 'Courier New', monospace;
}

.roster-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(74, 92, 66, 0.3);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.roster-title {
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(74, 92, 66, 0.7);
}

.roster-count {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: #4A5C42;
}

.roster-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.roster-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: translateX(-8px);
}

.process-anim[data-anim="2"].is-active .roster-row {
  animation: roster-in 0.4s ease forwards;
  animation-delay: calc(var(--r) * 0.12s + 0.2s);
}

@keyframes roster-in {
  to { opacity: 1; transform: translateX(0); }
}

.roster-rank {
  font-size: 0.875rem;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  min-width: 36px;
}

.roster-name { flex: 1; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.04em; }

.roster-status {
  color: #4A5C42;
  font-size: 0.875rem;
  opacity: 0;
}

.process-anim[data-anim="2"].is-active .roster-status {
  animation: roster-in 0.3s ease forwards;
  animation-delay: calc(var(--r) * 0.12s + 0.48s);
}

.roster-footer { display: flex; flex-direction: column; gap: 6px; }

.roster-progress-bar {
  height: 2px;
  background: rgba(74, 92, 66, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.roster-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  border-radius: 2px;
}

.process-anim[data-anim="2"].is-active .roster-bar-fill {
  animation: bar-grow 0.8s ease 0.9s forwards;
}

@keyframes bar-grow { to { width: 100%; } }

.roster-confirm {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74, 92, 66, 0.6);
  text-align: right;
  opacity: 0;
}

.process-anim[data-anim="2"].is-active .roster-confirm {
  animation: coord-fade-in 0.5s ease 1.8s forwards;
}

/* ─── Anim 3: Document lock ───────────────────────────────── */
.anim-doc {
  width: min(420px, 82%);
  font-family: 'Courier New', monospace;
}

.doc-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(74, 92, 66, 0.3);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.doc-title-text {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74, 92, 66, 0.85);
}

.doc-ref {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.05em;
}

.doc-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.doc-field { display: flex; flex-direction: column; gap: 4px; }

.field-label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

.field-line {
  height: 1.5px;
  width: 0%;
  background: rgba(74, 92, 66, 0.6);
  border-radius: 1px;
}

.process-anim[data-anim="3"].is-active .field-line {
  animation: field-expand 0.5s ease forwards;
  animation-delay: calc(var(--f) * 0.18s + 0.2s);
}

@keyframes field-expand { to { width: 100%; } }

.doc-confirm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.doc-check-svg { width: 48px; height: 48px; flex-shrink: 0; }

.check-stroke {
  stroke-dasharray: 52;
  stroke-dashoffset: 52;
}

.process-anim[data-anim="3"].is-active .check-stroke {
  animation: draw-path 0.7s ease 1.1s forwards;
}

.doc-confirmed-text {
  font-size: 1.375rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0;
}

.process-anim[data-anim="3"].is-active .doc-confirmed-text {
  animation: coord-fade-in 0.5s ease 2s forwards;
}

/* ─── Anim 4: Mission clock ───────────────────────────────── */
.anim-mission {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mission-clock-wrap { text-align: center; margin-bottom: 8px; }

.mission-clock-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(74, 92, 66, 0.5);
  margin-bottom: 6px;
}

.mission-clock {
  font-family: 'Courier New', monospace;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  color: #4A5C42;
  letter-spacing: 0.08em;
}

.process-anim[data-anim="4"].is-active .mission-clock {
  animation: clock-flicker 2s step-end infinite;
}

@keyframes clock-flicker {
  0%, 93% { opacity: 1; }
  94%, 100% { opacity: 0.6; }
}

.mission-shield-svg { width: min(180px, 50%); height: auto; }

.shield-outline {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
}

.process-anim[data-anim="4"].is-active .shield-outline {
  animation: draw-path 1.2s ease 0.3s forwards;
}

.shield-check {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

.process-anim[data-anim="4"].is-active .shield-check {
  animation: draw-path 0.6s ease 1.6s forwards;
}

@keyframes draw-path { to { stroke-dashoffset: 0; } }

.mission-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mission-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0;
}

.process-anim[data-anim="4"].is-active .mission-dot {
  animation: coord-fade-in 0.3s ease 2.3s forwards,
             dot-pulse 1.5s ease 2.6s infinite;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.5); opacity: 1; }
}

.mission-status-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0;
}

.process-anim[data-anim="4"].is-active .mission-status-text {
  animation: coord-fade-in 0.5s ease 2.5s forwards;
}

/* ─── Scan reveal: fires when step becomes active ─────────── */
@keyframes scan-reveal {
  from { background-position: 105% 0; }
  to   { background-position: 0% 0; }
}

@keyframes num-sweep-in {
  0%   { color: rgba(0, 0, 0, 0.06); }
  22%  { color: rgba(74, 92, 66, 0.65); }
  100% { color: rgba(0, 0, 0, 0.88); }
}

.process-step-text.is-active .step-num {
  animation: num-sweep-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0s both;
}

.process-step-text.is-active .step-label {
  background-image: linear-gradient(90deg,
    var(--color-accent) 47%,
    rgba(74, 92, 66, 0.85) 50%,
    rgba(0, 0, 0, 0) 53%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scan-reveal 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.02s both;
}

.process-step-text.is-active .step-title {
  background-image: linear-gradient(90deg,
    rgba(0, 0, 0, 0.88) 46%,
    var(--color-accent) 50%,
    rgba(0, 0, 0, 0) 54%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scan-reveal 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.08s both;
}

.process-step-text.is-active .step-body {
  background-image: linear-gradient(90deg,
    rgba(0, 0, 0, 0.6) 46%,
    var(--color-accent) 50%,
    rgba(0, 0, 0, 0) 54%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scan-reveal 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.18s both;
}

.process-step-text.is-active .step-list li {
  background-image: linear-gradient(90deg,
    rgba(0, 0, 0, 0.65) 46%,
    var(--color-accent) 50%,
    rgba(0, 0, 0, 0) 54%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.process-step-text.is-active .step-list li:nth-child(1) {
  animation: scan-reveal 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}
.process-step-text.is-active .step-list li:nth-child(2) {
  animation: scan-reveal 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}
.process-step-text.is-active .step-list li:nth-child(3) {
  animation: scan-reveal 0.45s cubic-bezier(0.4, 0, 0.2, 1) 1.0s both;
}
.process-step-text.is-active .step-list li:nth-child(4) {
  animation: scan-reveal 0.45s cubic-bezier(0.4, 0, 0.2, 1) 1.2s both;
}
.process-step-text.is-active .step-list li:nth-child(5) {
  animation: scan-reveal 0.45s cubic-bezier(0.4, 0, 0.2, 1) 1.4s both;
}

.process-step-text.is-active .step-timing {
  background-image: linear-gradient(90deg,
    var(--color-accent) 47%,
    rgba(74, 92, 66, 0.85) 50%,
    rgba(0, 0, 0, 0) 53%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scan-reveal 0.4s cubic-bezier(0.4, 0, 0.2, 1) 1.5s both;
}

/* ─── Mobile ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* Text panel: top 58vh, padded to clear fixed nav */
  .process-left {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 58vh;
    width: 100%;
    padding: 56px 24px 40px; /* 56px clears collapsed nav pill (top 12px + height 48px) */
    z-index: 2;
    overflow: hidden;
  }

  /* Animation panel: full sticky height, behind; JS clips it to bottom 42vh with sliding notch */
  .process-right {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .step-num   { font-size: 4rem; }
  .step-title { font-size: 1.375rem; }

  /* Reduce horizontal gap between step counter and content on mobile */
  .process-step-text { gap: 16px; align-items: flex-start; }

  /* Compact step content so step 5 fits without overflow */
  .step-body    { font-size: 0.875rem; line-height: 1.65; }
  .step-list li { font-size: 0.84rem; }
  .step-cta     { gap: 8px; }
  .step-contact { font-size: 0.75rem; }

  /* Split-tab: horizontal pill at the 58vh boundary, slides left via JS */
  .split-tab {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    width: auto;
    height: auto;
    padding: 6px 12px;
    background: rgba(245, 244, 240, 0.95);
    border-radius: 20px;
    top: calc(58vh - 16px);
    left: 0;
    transform: translateX(-50%);
    z-index: 30;
  }

  /* Animation arena: span only the visible bottom 42vh; remove desktop left-edge offset */
  .process-anim-arena {
    top: 58%;
    left: 0;
    right: 0;
    bottom: 0;
  }

  /* Scale animations down to fit the compact mobile panel */
  .process-anim {
    transform: scale(0.65);
    transform-origin: center center;
  }
}

/* ─── Folder-tab section separator ────────────────────────── */
.section-tab-sep {
  position: relative;
  height: 0;
  display: flex;
  justify-content: center;
  z-index: 20;
}

.tab-handle {
  position: absolute;
  bottom: 0;
  background: #F5F4F0;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 22px 0;
  border-radius: 6px 6px 0 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: none;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 5: LOCATIONS (Leaflet map)
═══════════════════════════════════════════════════════════════ */
.locations-section {
  background-color: var(--color-bg);
  background-image: radial-gradient(circle, #C8C4BC 1px, transparent 1px);
  background-size: 24px 24px;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

/* Full-width map, edge to edge, no horizontal padding */
.map-container {
  width: 100%;
  height: 550px;
  margin: 48px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 0;
}

/* Mobile tap-to-interact overlay for Leaflet map */
.map-touch-overlay {
  display: none;
}

@media (max-width: 767px) {
  .map-touch-overlay {
    display: flex;
    position: absolute;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    pointer-events: all;
    cursor: pointer;
    user-select: none;
  }
}

.locations-note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.locations-note a {
  color: var(--color-accent);
  font-weight: 600;
  transition: color 200ms ease;
}

.locations-note a:hover { color: var(--color-accent-hover); }

/* Leaflet popup dark theme */
.leaflet-popup-content-wrapper {
  background: #1C1C1C !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 12px 16px !important;
}

.leaflet-popup-content strong {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  display: block;
  margin-bottom: 2px;
}

.leaflet-popup-content span {
  color: rgba(255, 255, 255, 0.55) !important;
}

.leaflet-popup-tip {
  background: #1C1C1C !important;
}

.leaflet-popup-close-button {
  color: rgba(255, 255, 255, 0.45) !important;
}

.leaflet-popup-close-button:hover {
  color: #FFFFFF !important;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 6: OUR STORY TEASER (compact split-layout)
═══════════════════════════════════════════════════════════════ */
.story-teaser {
  background: #111714;
  padding: 120px var(--container-px);
}

.story-teaser-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 72px;
}

.story-teaser-media {
  flex: 0 0 300px;
  border-radius: 4px;
  overflow: hidden;
  margin: 0;
}

.story-teaser-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.story-teaser-content {
  flex: 1;
}

.story-teaser-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin: 20px 0 32px;
  max-width: 480px;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 7: CTA BANNER (static dark background, no video)
═══════════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 140px var(--container-px);
  background-color: #0D1410;
  background-image: url('../assets/images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Dark scrim over the photo */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 12, 0.82);
  z-index: 0;
  pointer-events: none;
}

/* Center spotlight — draws eye toward the CTA button */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 65% at 50% 55%, rgba(74, 92, 66, 0.22) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cta-banner .btn-white {
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.12), 0 4px 20px rgba(0, 0, 0, 0.35);
}

.cta-banner .btn-white:hover {
  box-shadow: 0 0 48px rgba(255, 255, 255, 0.2), 0 8px 28px rgba(0, 0, 0, 0.4);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-banner-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 52ch;
  margin-bottom: 8px;
}

.btn-cta-lg {
  padding: 18px 48px;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
}

.cta-trust-row {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.cta-trust-badge {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.cta-trust-badge + .cta-trust-badge {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background-color: var(--color-bg-dark);
  padding: 48px var(--container-px) 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  max-width: 32ch;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: background-color 200ms ease, color 200ms ease;
}

.social-link:hover {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.social-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 200ms ease;
  line-height: 1.5;
}

.footer-links a:hover { color: #FFFFFF; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-sage);
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 200ms ease;
}

.footer-contact-list a:hover { color: #FFFFFF; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.3);
  transition: color 200ms ease;
}

.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.7); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE: TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 90px;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About teaser: tighten on tablet */
  .story-teaser { padding: 90px var(--container-px); }
  .story-teaser-inner { gap: 48px; }
  .story-teaser-media { flex: 0 0 240px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item + .stat-item::before {
    display: none;
  }

  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE: MOBILE (≤ 767px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  :root {
    --section-pad: 72px;
    --container-px: 24px;
  }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .site-nav { top: 12px; left: 50%; transform: translateX(-50%); right: auto; width: calc(100% - 24px); max-width: none; height: 60px; border-radius: 12px; transition: background 350ms ease, border-color 350ms ease, box-shadow 350ms ease, transform 300ms ease, width 300ms ease, height 300ms ease, border-radius 300ms ease; }

  /* Logo animates out when nav collapses */
  .site-nav .nav-logo { overflow: hidden; max-width: 140px; transition: max-width 300ms ease, opacity 300ms ease; }

  /* Collapsed: 48×48px hamburger pill in top-right */
  .site-nav.nav-collapsed { width: 48px; height: 48px; border-radius: 14px; transform: translateX(calc(50vw - 60px)); overflow: hidden; }
  .site-nav.nav-collapsed .nav-logo { max-width: 0; opacity: 0; pointer-events: none; }
  .site-nav.nav-collapsed .nav-container { padding: 0 4px; justify-content: center; gap: 0; }

  /* Hero */
  .hero-headline {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-contact {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .contact-divider { display: none; }

  /* Stats */
  .stats-section { padding: 56px var(--container-px); }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }

  /* Hero: shorten lock so mobile scroll doesn't feel too long */
  .hero-section { height: 150vh; }

  /* Capabilities */
  .capabilities-grid { grid-template-columns: 1fr; }
  .capabilities-section { height: auto; }
  .capabilities-sticky  { position: relative; height: auto; overflow: visible; padding-top: 48px; padding-bottom: 48px; }

  /* Map */
  .map-container { height: 380px; }

  /* About teaser: stack vertically on mobile */
  .story-teaser { padding: 80px var(--container-px); }
  .story-teaser-inner { flex-direction: column; gap: 36px; }
  .story-teaser-media { flex: 0 0 auto; width: 200px; margin: 0 auto; }
  .story-teaser-media img { height: 240px; }

  /* CTA */
  .cta-banner { padding: 96px var(--container-px); }
  .btn-cta-lg { padding: 16px 36px; }
  .cta-trust-row { gap: 16px; }
  .cta-trust-badge + .cta-trust-badge { border-left: none; padding-left: 0; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: auto; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE: SMALL MOBILE (≤ 480px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }

  /* process-right inherits from ≤767 breakpoint */
}

/* ═══════════════════════════════════════════════════════════════
   FOCUS & ACCESSIBILITY
═══════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 999;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: top 200ms ease;
}

.skip-link:focus { top: 0; }


/* ═══════════════════════════════════════════════════════════════
   SUB-PAGES: JTR Compliance, Privacy Policy, Terms of Service
═══════════════════════════════════════════════════════════════ */

/* section-reveal elements are pre-revealed on sub-pages, no observer runs */
body.sub-page .section-reveal,
body.sub-page .card-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Force past-hero state on sub-pages (always on light sections) */
body.sub-page .site-nav {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.sub-page .site-nav .nav-logo-img {
  filter: none;
}

body.sub-page .site-nav .nav-link {
  color: rgba(20, 20, 20, 0.78);
}

body.sub-page .site-nav .nav-link:hover {
  color: #000;
}

body.sub-page .site-nav .nav-link::after {
  background: var(--color-accent);
}

body.sub-page .site-nav .hamburger span {
  background-color: rgba(20, 20, 20, 0.85);
}

body.sub-page .site-nav .nav-cta {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
}

/* Back link in nav */
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 200ms ease;
  padding: 4px 0;
}

.nav-back:hover { color: var(--color-accent); }

.nav-back svg { flex-shrink: 0; }

/* Active nav link on sub-pages */
.nav-link--active {
  color: var(--color-accent) !important;
  font-weight: 600;
}

/* ─── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-height) + 80px) var(--container-px) 80px;
  background-color: var(--color-bg-dark);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(74, 92, 66, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(74, 92, 66, 0.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%234A5C42' fill-opacity='0.18'/%3E%3C/svg%3E");
  background-size: auto, auto, 32px 32px;
  text-align: center;
  position: relative;
}

.page-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(74, 92, 66, 0.15);
  border: 1px solid rgba(74, 92, 66, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #A3B59D;
}

.page-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #A3B59D;
  background: rgba(74, 92, 66, 0.2);
  border: 1px solid rgba(74, 92, 66, 0.35);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-subhead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto 24px;
}

.page-date {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

/* ─── CONTENT WRAP ───────────────────────────────────────────── */
.content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px var(--container-px) 120px;
}

.content-card {
  background-color: var(--color-card);
  border-radius: 20px;
  padding: 48px 52px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

.content-card-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.content-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.content-card p + p { margin-top: 12px; }

/* ─── NOTE CALLOUT ───────────────────────────────────────────── */
.note-callout {
  background: rgba(74, 92, 66, 0.07);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-top: 24px;
}

.note-callout p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

.note-callout strong {
  color: var(--color-accent);
}

/* ─── HIGHLIGHT BLOCKS ───────────────────────────────────────── */
.highlight-block {
  background: rgba(74, 92, 66, 0.06);
  border: 1px solid rgba(74, 92, 66, 0.18);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 20px;
}

.highlight-block p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

.highlight-block strong {
  color: var(--color-text);
}

/* ─── ACCORDION ──────────────────────────────────────────────── */
.accordion-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.accordion-item {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 200ms ease;
}

.accordion-item.is-open {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-color: rgba(74, 92, 66, 0.3);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-text);
  transition: background-color 150ms ease;
}

.accordion-trigger:hover {
  background-color: rgba(74, 92, 66, 0.04);
}

.accordion-icon-wrap {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(74, 92, 66, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: background-color 200ms ease;
}

.accordion-item.is-open .accordion-icon-wrap {
  background: rgba(74, 92, 66, 0.18);
}

.accordion-title {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.accordion-chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.is-open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-body-inner {
  padding: 0 28px 28px 84px;
}

.accordion-body-inner p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.accordion-body-inner p:last-child { margin-bottom: 0; }

.accordion-body-inner ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-body-inner ul li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}

.accordion-body-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  opacity: 0.6;
}

/* ─── PAGE CTA CARD ──────────────────────────────────────────── */
.page-cta-card {
  background-color: var(--color-accent);
  background-image: linear-gradient(135deg, var(--color-accent) 0%, #3a4a34 100%);
  border-radius: 20px;
  padding: 52px;
  text-align: center;
  margin-top: 24px;
}

.page-cta-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-cta-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin: 0 auto 32px;
}

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  padding: 14px 28px;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease;
  cursor: pointer;
}

.btn-white-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-white-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  background-color: #FFFFFF;
  border: none;
  border-radius: 100px;
  padding: 14px 28px;
  text-decoration: none;
  transition: opacity 200ms ease, transform 200ms ease;
  cursor: pointer;
}

.btn-white-solid:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.page-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── FOOTER REFERENCE ───────────────────────────────────────── */
.footer-reference {
  border-top: 1px solid var(--color-border);
  padding: 28px 0 0;
  margin-top: 40px;
}

.footer-reference p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.footer-reference a {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-reference a:hover { text-decoration: underline; }

/* ─── LEGAL PAGES ────────────────────────────────────────────── */
.legal-card {
  background-color: var(--color-card);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 24px;
}

.legal-section {
  padding: 36px 52px;
  border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child { border-bottom: none; }

.legal-heading {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.legal-heading-num {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  font-family: var(--font-body);
  flex-shrink: 0;
}

.legal-p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.legal-p:last-child { margin-bottom: 0; }

.legal-ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 12px;
}

.legal-ul li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.legal-ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  opacity: 0.55;
}

/* ─── SUB-PAGE RESPONSIVE ────────────────────────────────────── */
@media (max-width: 767px) {
  .page-hero {
    padding: calc(var(--nav-height) + 48px) var(--container-px) 56px;
  }

  .content-wrap {
    padding: 48px var(--container-px) 80px;
  }

  .content-card {
    padding: 32px 24px;
  }

  .accordion-trigger {
    padding: 20px 20px;
  }

  .accordion-body-inner {
    padding: 0 20px 24px 20px;
  }

  .accordion-icon-wrap {
    width: 36px;
    height: 36px;
  }

  .page-cta-card {
    padding: 40px 28px;
  }

  .legal-section {
    padding: 28px 24px;
  }
}
