/* =============================================
   ROLLING STONE LINES INC. - MONOCHROME PREMIUM
   Pure black & white editorial system with motion.
   ============================================= */

:root {
  /* Tone scale - paper to ink */
  --paper:    #FFFFFF;
  --paper-2:  #FAFAFA;
  --paper-3:  #F2F2F2;
  --paper-4:  #E6E6E6;
  --line:     #D9D9D9;
  --line-2:   #B5B5B5;
  --mute:     #6B6B6B;
  --mid:      #3A3A3A;
  --ink-2:    #1A1A1A;
  --ink:      #0A0A0A;
  --black:    #000000;

  /* Type */
  --f-display: "Archivo", "Inter", system-ui, -apple-system, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Layout */
  --container: 1280px;
  --gutter:    32px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ===== Paper grain overlay (pure opacity, no blend mode) ===== */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 990;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

/* ===== NAV =====
   Solid white nav at every scroll position - no transparent / over-dark
   gymnastics. Adds a soft elevation shadow once the page has scrolled. */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: rgba(0,0,0,0.05);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 10px 30px -16px rgba(0,0,0,0.12);
}

.nav-inner {
  width: 100%;
  margin: 0;
  padding: 18px clamp(28px, 4vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.nav-logo img {
  height: 42px;
  width: auto;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
}
.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-mobile-cta { display: none; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  padding-right: 14px;
  border-right: 1px solid var(--line);
  transition: opacity .25s var(--ease);
}
.nav-phone:hover { opacity: .65; }
.nav-phone-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 2px;
}
.nav-phone-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.nav-cta-btn {
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 1024px) {
  /* Top nav: tighter padding, smaller logo, larger tap-target burger */
  .nav-inner {
    padding: 12px clamp(18px, 4vw, 28px);
    padding-right: max(clamp(18px, 4vw, 28px), env(safe-area-inset-right));
    padding-left:  max(clamp(18px, 4vw, 28px), env(safe-area-inset-left));
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .nav-logo img { height: 32px; }

  /* Slide-down drawer */
  .nav-links {
    position: fixed;
    inset: 56px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 28px clamp(20px, 5vw, 40px) calc(80px + env(safe-area-inset-bottom));
    transform: translateY(-100%);
    transition: transform .35s var(--ease);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
    color: var(--ink);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--f-display);
    font-size: clamp(26px, 7vw, 34px);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding-left .25s var(--ease), color .2s var(--ease);
  }
  .nav-links a::after { display: none; }
  .nav-links a::before {
    content: "→";
    font-family: var(--f-mono);
    font-size: 16px;
    color: var(--mute);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav-links a:active,
  .nav-links a:focus-visible { padding-left: 6px; }
  .nav-links a:active::before,
  .nav-links a:focus-visible::before {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--ink);
  }
  .nav-mobile-cta .nav-phone {
    align-items: flex-start;
    padding-right: 0;
    border-right: 0;
  }
  .nav-mobile-cta .nav-phone-label {
    font-size: 11px;
  }
  .nav-mobile-cta .nav-phone-num {
    font-size: 30px;
    letter-spacing: -0.02em;
  }
  .nav-mobile-cta .btn-solid {
    align-self: stretch;
    justify-content: center;
    padding: 18px 24px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .nav-cta { display: none; }

  /* Burger button: bigger tap area, no border, more breathing */
  .nav-burger {
    display: inline-flex;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    gap: 6px;
  }
  .nav-burger span {
    width: 22px;
    height: 1.5px;
    background: var(--ink);
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.btn-lg { padding: 18px 28px; font-size: 13px; letter-spacing: 0.06em; }
.btn-solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-solid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .8s var(--ease);
  pointer-events: none;
}
.btn-solid:hover::after { transform: translateX(110%); }
.btn-solid:hover { background: var(--paper); color: var(--ink); }
.btn-solid svg { transition: transform .3s var(--ease); }
.btn-solid:hover svg { transform: translateX(4px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-light:disabled { opacity: .35; cursor: not-allowed; }

.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { border-color: var(--paper); background: rgba(255,255,255,0.06); }
.btn-outline-light:disabled { opacity: .25; cursor: not-allowed; }

/* ===== Eyebrow + Section heads ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-block;
}
.eyebrow--light { color: rgba(255,255,255,0.7); }
.eyebrow--light .eyebrow-dot { background: var(--paper); }

.section-head { margin-bottom: 80px; max-width: 760px; }
.section-head--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  max-width: none;
}
.section-head--row > div { min-width: 0; }
.section-head--row > .section-sub,
.section-head--row > .section-sub--narrow { max-width: none; }
.section-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.section-title--light { color: var(--paper); }
.section-sub {
  margin-top: 24px;
  font-size: clamp(15px, 1.1vw, 18px);
  color: var(--mid);
  max-width: 560px;
  line-height: 1.65;
}
.section-sub em {
  font-family: var(--f-body);
  font-weight: 600;
  font-style: italic;
}
.section-sub--narrow { max-width: 380px; margin-top: 0; }

/* word reveal helper */
.split-text .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.18em;
  line-height: 1;
  padding-bottom: 0.06em;
}
.split-text .word > span {
  display: inline-block;
  will-change: transform;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100vh - 110px);
  min-height: calc(100dvh - 110px);
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) brightness(.85);
  will-change: transform;
  /* fallback solid in case image fails */
  background: var(--ink);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,10,10,0.30) 0%,
      rgba(10,10,10,0.55) 40%,
      rgba(10,10,10,0.80) 80%,
      var(--ink) 100%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(10,10,10,0.55) 95%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: 64px clamp(72px, 6vw, 120px) 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: end;
}
.hero-meta-rail {
  position: absolute;
  left: 22px;
  top: 96px;
  bottom: 96px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border-left: 1px solid rgba(255,255,255,0.16);
  padding-left: 16px;
  pointer-events: none;
}
.hero-meta-line {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.hero-copy {
  align-self: end;
  padding-bottom: 8px;
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 7.6vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin: 16px 0 32px;
  color: var(--paper);
}
.hero-title .hero-line {
  display: block;
  overflow: hidden;
}
.hero-title .hero-line-inner {
  display: block;
  will-change: transform;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--paper);
}
.hero-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 0 36px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-actions .btn-solid {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.hero-actions .btn-solid:hover { background: transparent; color: var(--paper); }

.hero-card {
  align-self: end;
  background: var(--ink);
  color: var(--paper);
  padding: 28px 26px 24px;
  position: relative;
  margin-bottom: 8px;
}
.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  margin-bottom: 8px;
}
.hero-card-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-card-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}
.hero-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-card-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  align-items: baseline;
  transition: padding-left .35s var(--ease);
}
.hero-card-list li:hover { padding-left: 6px; }
.hero-card-list li:last-child { border-bottom: 0; }
.hcl-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
}
.hcl-name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--paper);
}
.hcl-detail {
  grid-column: 2;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin-top: 2px;
}
.hero-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-card-foot span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-card-foot strong {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--paper);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 76px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  z-index: 3;
  pointer-events: none;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.55));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--paper);
  animation: scroll-pulse 2.4s var(--ease) infinite;
}
@keyframes scroll-pulse {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(360%); opacity: 0; }
}

/* Marquee ribbon */
.hero-marquee {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.16);
  background: rgba(10,10,10,0.88);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  padding: 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--paper);
}
.marquee-track .dot { font-size: 6px; color: var(--paper); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== STRIP (Compliance) ===== */
.strip {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
  position: relative;
  z-index: 2;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 28px var(--gutter);
}
.strip-item {
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.strip-value {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--paper);
}

/* ===== IN MOTION ===== */
.motion {
  padding: 140px 0;
  background: var(--paper);
}
.motion-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  align-items: stretch;
}
.motion-img {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.motion-img--lg {
  grid-row: 1 / 3;
  aspect-ratio: 4 / 5;
}
.motion-img--sm {
  aspect-ratio: 4 / 3;
}
.parallax-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.parallax-img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02);
  transform: translateY(-5%);
  will-change: transform;
  background: var(--ink);
}

/* If a photo fails to load, fill the figure with a textured monochrome panel
   so the layout still reads premium instead of showing a broken icon. */
.img-failed {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 14px),
    var(--ink) !important;
}
.img-failed .parallax-img { display: none; }
.motion-cap {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(10,10,10,0.7);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}
.motion-cap-tag { color: rgba(255,255,255,0.55); }

.motion-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: stretch;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper-2);
}
.motion-stat {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 200px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.motion-stat:hover { background: var(--ink); color: var(--paper); }
.motion-stat:hover .motion-stat-label { color: rgba(255,255,255,0.6); }
.motion-stat-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 3.6vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.motion-stat-num .suffix {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
}
.motion-stat-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color .3s var(--ease);
}

/* ===== SERVICES (horizontal 3-card grid) ===== */
.services {
  padding: 140px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-row {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-row:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -22px rgba(0,0,0,0.18);
}
.svc-num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--paper);
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
}
.svc-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
  margin: 0;
}
.svc-figure .parallax-img { transition: transform .8s var(--ease); }
.svc-row:hover .svc-figure .parallax-img { transform: translateY(-5%) scale(1.06); }
.svc-figure-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: rgba(10,10,10,0.35);
  pointer-events: none;
  z-index: 2;
  transition: background .4s var(--ease);
}
.svc-row:hover .svc-figure-icon { background: rgba(10,10,10,0.55); }
.svc-body {
  padding: 28px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-body h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--ink);
}
.svc-body p {
  font-size: 14px;
  color: var(--mid);
  margin: 0 0 20px;
  line-height: 1.6;
  flex: 1;
}
.svc-body p em {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
}
.svc-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: auto 0 0;
}
.svc-tags li {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--line);
  padding: 5px 9px;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.svc-row:hover .svc-tags li {
  border-color: var(--ink);
  color: var(--ink);
}

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .svc-grid > .svc-row:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .services { padding: 80px 0; }
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-grid > .svc-row:nth-child(3) { grid-column: auto; }
  .svc-figure { aspect-ratio: 16 / 9; }
}

/* ===== WHY ===== */
.why {
  padding: 140px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-cell {
  --mx: 50%;
  --my: 50%;
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  transition: background .35s var(--ease), color .35s var(--ease);
  isolation: isolate;
  overflow: hidden;
}
.why-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(10,10,10,0.06), transparent 60%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.why-cell:hover { background: var(--ink); }
.why-cell:hover::before { opacity: 0; }
.why-cell:hover .why-num,
.why-cell:hover h3,
.why-cell:hover p { color: var(--paper); position: relative; z-index: 1; }
.why-cell:hover .why-num { border-color: var(--paper); }
.why-num {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 4px 10px;
  margin-bottom: 24px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  z-index: 1;
}
.why-cell h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--ink);
  transition: color .3s var(--ease);
  position: relative;
  z-index: 1;
}
.why-cell p {
  font-size: 14px;
  color: var(--mid);
  margin: 0;
  line-height: 1.6;
  transition: color .3s var(--ease);
  position: relative;
  z-index: 1;
}

/* ===== STATEMENT ===== */
.statement {
  position: relative;
  padding: 200px 0;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.statement-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.statement-bg .parallax-img {
  width: 100%;
  height: 130%;
  filter: contrast(1.1) brightness(.55);
  transform: translateY(-15%);
}
.statement-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(10,10,10,0.4) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.65) 50%, rgba(10,10,10,0.92) 100%);
  pointer-events: none;
}
.statement-inner { position: relative; z-index: 1; }
.statement-text {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 auto 28px;
  max-width: 1100px;
}
.statement-text em {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.015em;
}
.quote-mark {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.2em;
  color: var(--paper);
  margin-right: 4px;
  display: inline-block;
  transform: translateY(0.1em);
}
.statement-attr {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin: 0 auto;
  max-width: 1100px;
}

/* ===== COVERAGE (light section, dark map frame inside) ===== */
.coverage {
  padding: 140px 0;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
/* No need to override section-title / section-sub / eyebrow - light defaults apply */

.metro-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.metro {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background .3s var(--ease), padding-left .3s var(--ease);
  cursor: default;
  background: var(--paper);
}
.metro:hover {
  background: var(--paper-3);
  padding-left: 28px;
}
.metro-pin {
  font-size: 8px;
  color: var(--ink);
  margin-bottom: 8px;
  display: inline-block;
}
.metro strong {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.metro span {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.04em;
}
.metro em {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ===== CAREERS ===== */
.careers {
  padding: 140px 0;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
}
.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.careers-intro .section-sub { color: rgba(255,255,255,0.7); max-width: 480px; }
.careers-sub {
  font-size: clamp(15px, 1.1vw, 17px);
  color: rgba(255,255,255,0.7);
  margin: 22px 0 28px;
  max-width: 480px;
  line-height: 1.65;
}
.careers-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.careers-list li {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
}
.careers-list li span {
  color: var(--paper);
  font-weight: 700;
}

.careers-callbox {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 22px 24px;
  display: grid;
  gap: 4px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.careers-callbox::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--paper), transparent);
  animation: shimmer 4s var(--ease) infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.ccb-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.ccb-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--paper);
  line-height: 1;
  transition: opacity .25s var(--ease);
}
.ccb-num:hover { opacity: .65; }
.ccb-mail {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  word-break: break-all;
  transition: color .25s var(--ease);
}
.ccb-mail:hover { color: var(--paper); }

/* Apply form */
.apply {
  background: var(--paper);
  color: var(--ink);
  padding: 36px 32px;
  border: 1px solid var(--paper);
  position: relative;
  isolation: isolate;
}
.apply-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.apply-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.apply-step {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.apply-rail {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.rail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  background: var(--paper-3);
  border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.rail-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--mute);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.rail-item.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.rail-item.active span {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.rail-item.done {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}
.rail-item.done span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.apply-progress {
  height: 2px;
  background: var(--paper-3);
  margin-bottom: 32px;
  overflow: hidden;
}
.apply-progress > div {
  width: 25%;
  height: 100%;
  background: var(--ink);
  transition: width .35s var(--ease);
}

.apply-step-pane {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
}
.apply-step-pane.active {
  display: block;
  animation: fadeUp .45s var(--ease);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.apply-row { margin-bottom: 16px; }
.apply-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.apply-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.apply-field > span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.apply-field input,
.apply-field select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: background .2s var(--ease);
}
.apply-field input:focus,
.apply-field select:focus {
  outline: none;
  background: var(--paper-3);
}
.apply-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230A0A0A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.apply-checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.apply-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.apply-check input { accent-color: var(--ink); width: 14px; height: 14px; }
.apply-check:has(input:checked) { background: var(--ink); color: var(--paper); }
.apply-check:has(input:checked) input { accent-color: var(--paper); }

.apply-consent {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.55;
  color: var(--mid);
  margin-top: 16px;
}
.apply-consent input { accent-color: var(--ink); margin-top: 3px; }

.apply-review {
  background: var(--paper-3);
  border: 1px solid var(--line);
  padding: 22px 24px;
  display: grid;
  gap: 0;
}
.apply-review-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.apply-review-row:first-child { border-top: 0; }
.apply-review-row strong {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  align-self: center;
}

.apply-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.apply-controls .btn-light,
.apply-controls .btn-outline-light {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.apply-controls .btn-light:hover { background: transparent; color: var(--ink); }
.apply-controls .btn-outline-light {
  background: transparent;
  color: var(--ink);
}
.apply-controls .btn-outline-light:hover { background: var(--ink); color: var(--paper); }
.apply-controls .btn-outline-light:disabled,
.apply-controls .btn-light:disabled {
  opacity: .35; cursor: not-allowed;
}

.apply-error {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--paper-3);
  border: 1px solid var(--ink);
  border-left-width: 3px;
  color: var(--ink);
  font-size: 13px;
}

.apply-success {
  background: var(--paper);
  color: var(--ink);
  padding: 60px 40px;
  text-align: center;
  border: 1px solid var(--paper);
}
.apply-success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 20px;
}
.apply-success h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.apply-success p {
  margin: 0;
  font-size: 14px;
  color: var(--mid);
}
.apply-success a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
}

/* ===== CONTACT ===== */
.contact {
  padding: 140px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cc-block {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.cc-block:hover { background: var(--paper); }
.cc-block:nth-child(2n) { border-right: 0; }
.cc-block:nth-last-child(-n+2) { border-bottom: 0; }
.cc-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}
.cc-link {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
  transition: opacity .25s var(--ease);
  word-break: break-word;
}
.cc-link:hover { opacity: .6; }
.cc-link--mail {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--mid);
  letter-spacing: 0;
}
.cc-addr {
  font-style: normal;
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  margin: 0 0 12px;
}
.cc-map {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  display: inline-block;
  padding-bottom: 2px;
  transition: opacity .25s var(--ease);
}
.cc-map:hover { opacity: .6; }
.cc-hours {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--mid);
}
.cc-hours span:nth-child(odd) {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ===== FOOTER ===== */
.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 36px;
}
.foot-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.foot-brand img {
  height: 28px;
  filter: invert(1);
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}
.foot-nav a {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color .25s var(--ease);
}
.foot-nav a:hover { color: var(--paper); }
.foot-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ===== Reveal animations =====
   Elements with the `.reveal` marker class are animated in by GSAP.
   No CSS hiding rule here on purpose: if JS/GSAP fails to load, content
   stays visible. GSAP's `from()` writes the initial hidden state inline
   the moment the script runs, so there is no FOUC. */

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-scroll-line::after { animation: none; }
  .careers-callbox::before { animation: none; }
  .parallax-img { transform: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-meta-rail { display: none; }
  .hero-scroll { display: none; }
  .careers-grid { grid-template-columns: 1fr; gap: 56px; }
  .metro-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .section-head--row { grid-template-columns: 1fr; gap: 24px; }
  .strip-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 0; }
  .strip-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .motion-grid { grid-template-columns: 1fr 1fr; }
  .motion-img--lg { grid-row: auto; aspect-ratio: 4/3; }
  .motion-img--sm { aspect-ratio: 4/3; }
  .motion-stats { grid-column: span 2; grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  .hero { min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 48px var(--gutter) 60px;
  }
  .why-grid { grid-template-columns: 1fr; }
  .metro-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
  .cc-block { border-right: 0 !important; }
  .cc-block:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .foot-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .foot-brand, .foot-meta { justify-self: center; align-items: center; text-align: center; }
  .foot-nav { justify-content: center; }
  .apply { padding: 24px 20px; }
  .apply-rail { grid-template-columns: 1fr 1fr; }
  .apply-row.two { grid-template-columns: 1fr; }
  .apply-checks { grid-template-columns: 1fr; }
  .apply-review-row { grid-template-columns: 1fr; gap: 4px; }
  .services { padding: 80px 0; }
  .why { padding: 80px 0; }
  .statement { padding: 100px 0; }
  .coverage { padding: 80px 0; }
  .careers { padding: 80px 0; }
  .contact { padding: 80px 0; }
  .motion { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .motion-grid { grid-template-columns: 1fr; }
  .motion-img--lg, .motion-img--sm { aspect-ratio: 4/3; }
  .motion-stats { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .motion-stat { min-height: 140px; }
}

@media (max-width: 520px) {
  .marquee-track { font-size: 22px; gap: 24px; }
  .strip-grid { grid-template-columns: 1fr 1fr; padding: 22px var(--gutter); }
  .strip-value { font-size: 18px; }
  .nav-inner { padding: 14px 20px; }
  .careers-callbox { padding: 18px 20px; }
  .ccb-num { font-size: 28px; }
}


/* =============================================
   PREMIUM UPGRADE - utility bar, process, map,
   field notes, rich footer, section rail
   ============================================= */

/* ===== Utility bar (top, above nav) ===== */
.utility-bar {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 9px clamp(28px, 4vw, 64px);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.utility-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--paper);
  font-weight: 500;
}
.utility-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--paper);
  position: relative;
}
.utility-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  animation: utility-pulse 2.4s ease-in-out infinite;
}
@keyframes utility-pulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
.utility-meta {
  display: flex;
  align-items: center;
  gap: 22px;
}
.utility-link {
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .25s var(--ease);
}
.utility-link:hover { color: var(--paper); }
.utility-link strong {
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.14em;
}
@media (max-width: 900px) {
  .utility-meta .utility-link:nth-child(2),
  .utility-meta .utility-link:nth-child(3) { display: none; }
  .utility-inner { font-size: 10px; }
}

/* ===== Process section ===== */
.process {
  padding: 140px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  position: relative;
}
.process-step {
  position: relative;
  padding: 36px 28px 36px 28px;
  border-right: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .35s var(--ease), color .35s var(--ease);
  isolation: isolate;
}
.process-step:last-child { border-right: 0; }
.process-step:hover { background: var(--ink); }
.process-step:hover .process-step-num,
.process-step:hover h3,
.process-step:hover p { color: var(--paper); }
.process-step:hover .process-tags li { border-color: var(--paper); color: var(--paper); }
.process-step:hover .process-step-rail { background: var(--paper); }

.process-step-rail {
  position: absolute;
  top: -1px;
  right: -8px;
  width: 16px;
  height: 1px;
  background: var(--ink);
  z-index: 1;
  transition: background .3s var(--ease);
}
.process-step-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
  margin-bottom: 36px;
  transition: color .3s var(--ease);
}
.process-step h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.process-step p {
  font-size: 14px;
  color: var(--mid);
  margin: 0 0 14px;
  line-height: 1.6;
  transition: color .3s var(--ease);
}
.process-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0; margin: auto 0 0;
}
.process-tags li {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  color: var(--mute);
  padding: 5px 9px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .process { padding: 80px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
}

/* ===== Coverage map (full-bleed dark globe panel) ===== */
.coverage-map-wrap {
  margin: 64px 0;
  padding: 0;
  position: relative;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.06) 0%, transparent 55%),
    var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.coverage-map-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(0,0,0,0.4);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.coverage-globe-host {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 760px;
  min-height: 420px;
  overflow: hidden;
}
.coverage-globe-host canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.coverage-map-legend {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  background: rgba(0,0,0,0.2);
}
.coverage-map-legend-inner {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.coverage-map-legend-inner strong {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--paper);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-right: 8px;
  text-transform: none;
}
@media (max-width: 820px) {
  .coverage-globe-host {
    aspect-ratio: 4 / 3;
    min-height: 320px;
  }
  .coverage-map-legend-inner { gap: 18px; font-size: 10px; }
  .coverage-map-legend-inner strong { font-size: 18px; }
}

/* ===== Field Notes / Insights ===== */
.insights {
  padding: 140px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.insight-card {
  position: relative;
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease);
  isolation: isolate;
  min-height: 320px;
}
.insight-card:hover { background: var(--ink); }
.insight-card:hover .insight-tag,
.insight-card:hover h3,
.insight-card:hover p,
.insight-card:hover .insight-cta { color: var(--paper); }
.insight-card:hover .insight-tag { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); }
.insight-card:hover .insight-cta svg { transform: translateX(4px); }

.insight-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--mute);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.insight-card h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(20px, 1.9vw, 26px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 8px 0 4px;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.insight-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
  transition: color .3s var(--ease);
}
.insight-cta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.insight-card:hover .insight-cta { border-top-color: rgba(255,255,255,0.18); }
.insight-cta svg { transition: transform .35s var(--ease); }
@media (max-width: 1100px) {
  .insight-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .insights { padding: 80px 0; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-card { min-height: auto; }
}

/* ===== Rich footer (multi-column + giant wordmark) ===== */
.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.foot-inner { display: block; }
.foot-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.foot-logo img {
  height: 45px;
  filter: invert(1);
}
.foot-tag {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--paper);
  margin: 0;
  max-width: 540px;
}
.foot-tag em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
}
.foot-top .btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.foot-top .btn-light:hover {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding: 56px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 8px;
}
.foot-col a,
.foot-col span {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  transition: color .25s var(--ease);
  text-decoration: none;
}
.foot-col a { display: inline-block; }
.foot-col a:hover { color: var(--paper); }

.foot-mega {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 12vw, 105px);
  letter-spacing: -0.045em;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.06);
  text-align: center;
  white-space: nowrap;
  padding: 56px 0 32px;
  user-select: none;
  pointer-events: none;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 1024px) {
  .foot-top { grid-template-columns: 1fr; gap: 24px; }
  .foot-top .btn-light { justify-self: flex-start; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .foot { padding: 48px 0 24px; }

  /* Top block: logo + tagline + CTA stack tightly */
  .foot-top {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 28px;
  }
  .foot-logo img { height: 36px; }
  .foot-tag {
    font-size: 16px;
    line-height: 1.4;
  }
  .foot-top .btn-light {
    align-self: stretch;
    justify-self: stretch;
    justify-content: center;
    padding: 16px 24px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  /* Link columns: 2x2 grid stays compact instead of 4 long stacks */
  .foot-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding: 28px 0 36px;
  }
  .foot-col h4 {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .foot-col a,
  .foot-col span {
    font-size: 13px;
    line-height: 1.45;
  }

  /* Mega wordmark scaled to fit phones cleanly */
  .foot-mega {
    font-size: clamp(40px, 13vw, 84px);
    padding: 28px 0 16px;
  }

  /* Copyright row centered + stacked, with bottom safe-area */
  .foot-bottom {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding-top: 18px;
    padding-bottom: env(safe-area-inset-bottom);
    font-size: 9px;
    letter-spacing: 0.12em;
  }
}

/* Below 380px: collapse link columns to a single stack */
@media (max-width: 380px) {
  .foot-cols { grid-template-columns: 1fr; gap: 22px; }
}

/* ===== Section progress rail (right-side fixed nav) ===== */
.section-rail {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.section-rail.is-visible { opacity: 1; }
.section-rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section-rail li {
  position: relative;
  pointer-events: auto;
}
.section-rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 10px 0;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  text-decoration: none;
  position: relative;
  transition: color .3s var(--ease);
}
.section-rail a::before {
  content: attr(data-num);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: inherit;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.section-rail a::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: width .3s var(--ease), opacity .3s var(--ease);
}
.section-rail a:hover { color: var(--ink); }
.section-rail a:hover::before { opacity: 1; transform: translateX(0); }
.section-rail a:hover::after { width: 36px; opacity: 0.85; }
.section-rail li.is-active a {
  color: var(--ink);
}
.section-rail li.is-active a::before { opacity: 1; transform: translateX(0); }
.section-rail li.is-active a::after { width: 44px; opacity: 1; }

/* When the rail sits over a dark section, flip its color */
.section-rail.is-over-dark a { color: rgba(255,255,255,0.6); }
.section-rail.is-over-dark a:hover { color: var(--paper); }
.section-rail.is-over-dark li.is-active a { color: var(--paper); }

@media (max-width: 1180px) {
  .section-rail { display: none; }
}


/* ===== Security notice (fixed bottom-right, expandable) ===== */
.security-notice {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 95;
  font-family: var(--f-body);
  max-width: calc(100vw - 24px);
}

.security-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
  position: relative;
  z-index: 2;
}
.security-toggle:hover {
  background: var(--paper);
  color: var(--ink);
}
.security-toggle:hover .security-icon { color: var(--ink); }

.security-toggle-text,
.security-chev { display: none; }

.security-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: transparent;
  color: var(--paper);
  flex-shrink: 0;
  transition: color .25s var(--ease);
}
@keyframes security-pulse {
  0%, 100% { transform: scale(1); opacity: 0; }
  50%      { transform: scale(1.45); opacity: 1; }
}
.security-notice.is-open .security-icon::after { animation: none; }

.security-toggle-text {
  white-space: nowrap;
}
.security-chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  transition: transform .35s var(--ease);
}
.security-notice.is-open .security-chev { transform: rotate(180deg); }

.security-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 44px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 22px 22px 20px;
  box-shadow:
    0 28px 60px -16px rgba(0, 0, 0, 0.32),
    0 6px 14px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}
.security-panel[hidden] {
  display: none;
}
.security-notice.is-open .security-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.security-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.security-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
.security-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
}
.security-pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  opacity: 0;
  animation: security-pulse 2.4s ease-in-out infinite;
}
.security-close {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.security-close:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.security-panel h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1;
}
.security-lede {
  font-size: 13px;
  line-height: 1.55;
  color: var(--mid);
  margin: 0 0 14px;
}
.security-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 10px;
}

.security-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.security-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
}
.security-num {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding-top: 1px;
}
.security-list strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 3px;
}
.security-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  transition: opacity .2s var(--ease);
}
.security-list a:hover { opacity: 0.6; }
.security-list code {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 1px 6px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  color: var(--ink);
}

.security-foot {
  font-size: 12px;
  line-height: 1.55;
  color: var(--mute);
  margin: 0;
}

@media (max-width: 640px) {
  .security-notice {
    bottom: 0;
    right: 0;
    left: auto;
  }
  .security-panel {
    width: calc(100vw - 24px);
    max-width: 360px;
    left: auto;
    right: 0;
    bottom: calc(100% + 8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .security-pulse::after { animation: none; }
}


/* ===== Coverage section header (text + truck image) ===== */
.coverage-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: end;
  max-width: none;
}
.coverage-head-text { min-width: 0; }
.coverage-head-text .section-sub { margin-top: 22px; }

.coverage-head-image {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-3);
  isolation: isolate;
}
.coverage-head-image .parallax-img {
  filter: contrast(1.02);
}

@media (max-width: 1024px) {
  .coverage-head { grid-template-columns: 1fr; gap: 32px; }
  .coverage-head-image { aspect-ratio: 16 / 9; }
}
