/* ============================================================
   HYKOR landing — recreated from design handoff README
   ============================================================ */

:root {
  /* Brand */
  --orange: #F26A21;
  --orange-hover: #ff7d33;
  --on-orange: #15110c;
  --amber-eyebrow: #d55212; /* eyebrows on the light half */
  --amber-hero: #ffb277;    /* eyebrows over dark/photo (journey) */
  --amber-board: #ffb452;

  /* Surfaces — light content half; the journey + accent panels stay dark */
  --bg-page: #f4f6fa;
  --bg-scene: #05060a;
  --bg-band: #e9edf4;
  --bg-footer: #0e1626;
  --panel: #101114;
  --cell: #191b20;
  --earth-ocean: #0a3b63;

  /* Ink + hairlines for the light half */
  --ink: #0f1e33;
  --ink-muted: rgba(15, 30, 51, .74);
  --ink-soft: rgba(15, 30, 51, .66);
  --ink-faint: rgba(15, 30, 51, .52);
  --hairline: rgba(12, 28, 56, .13);
  --hairline-strong: rgba(12, 28, 56, .16);

  /* Layout */
  --content-max: 1180px;
  --side-pad: max(28px, 5vw);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg-scene); overflow-x: hidden; scroll-behavior: auto; }
/* No overflow-x on body — it would make body the scroll container and
   break position:sticky on the journey stage. html clips instead. */
body {
  font-family: 'Archivo', system-ui, sans-serif;
  background: var(--bg-scene);
  color: #fff;
}

h1, h2, h3, p { margin: 0; }

@keyframes bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(5px, 5px); }
}
@keyframes earthSpin { to { transform: rotate(-360deg); } }
@keyframes flap {
  0%, 91% { transform: rotateX(0); }
  93% { transform: rotateX(-85deg); }
  95%, 100% { transform: rotateX(0); }
}

/* ============================ Fixed header ============================ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(28px, 3vw);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-nav.is-solid {
  background: rgba(246, 248, 251, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
}
.site-nav.is-solid .nav-wordmark { color: #0e2040; text-shadow: none; }
.site-nav.is-solid .nav-link { color: rgba(14, 32, 64, .78); text-shadow: none; }
.site-nav.is-solid .nav-link:hover { color: #c14e0e; }
.site-nav.is-solid .nav-link.is-current { color: #0e2040; }
.site-nav.is-solid .nav-burger span { background: #0e2040; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { height: 28px; width: auto; display: block; }
.nav-wordmark {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: .5px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  transition: color .2s ease;
}
.nav-link:hover { color: var(--amber-hero); }
.nav-link.is-current { color: #fff; }

/* Hamburger (shown when text links are hidden) */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 70;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: rgba(6, 7, 11, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--amber-hero); }
.mobile-menu .btn { margin-top: 10px; }

@media (max-width: 1020px) {
  .nav-link { display: none; } /* text links move into the mobile menu */
  .nav-burger { display: flex; }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--on-orange);
  background: var(--orange);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease;
}
.btn:hover { background: var(--orange-hover); }
.btn-nav { font-size: 13.5px; padding: 11px 22px; }
.btn-journey { font-size: 15px; padding: 16px 32px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.btn-cta { font-size: 15px; padding: 16px 34px; }
.btn-ghost {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(12, 28, 56, .3);
  border-radius: 999px;
  padding: 15px 26px;
  transition: border-color .2s ease;
}
.btn-ghost:hover { border-color: rgba(12, 28, 56, .6); }

/* ============================ Scroll journey ============================ */

.journey {
  position: relative;
  width: 100%;
  height: 440vh;
  background: var(--bg-scene);
}
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--bg-scene);
}
.layer { position: absolute; inset: 0; }

.layer-space {
  background: #010206 url('assets/space-bg.jpg') center center / cover no-repeat;
  will-change: opacity;
}
.stars {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  border-radius: 50%;
  background: transparent;
}
.layer-aerial {
  opacity: 0;
  background: url('assets/aerial-rural.jpg') center 68% / cover no-repeat;
  will-change: transform, opacity;
  transform-origin: 50% 52%;
}
.layer-ground {
  opacity: 0;
  background: url('assets/conduit-trench.jpg') center center / cover no-repeat;
  will-change: transform, opacity;
  transform-origin: 50% 45%;
}
.layer-glow {
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%,
    rgba(150, 195, 255, .9) 0%,
    rgba(110, 165, 245, .45) 28%,
    rgba(90, 150, 255, 0) 62%);
  mix-blend-mode: screen;
  will-change: opacity;
}

.earth-wrap {
  position: absolute;
  left: 66%;
  top: 50%;
  width: 66vh;
  height: 66vh;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: 62% 33%; /* aims the dive at the Great Lakes */
  will-change: transform, opacity;
}
.earth-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--earth-ocean);
}
.earth-tilt {
  position: absolute;
  inset: 0;
  transform: rotate(-23.4deg); /* Earth's axial tilt */
}
.earth-spin {
  position: absolute;
  inset: -3%;
  background: url('assets/hero-earth.jpg') center 50% / 122% no-repeat;
  transform-origin: center;
  animation: earthSpin 480s linear infinite;
}
.earth-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Crop + zoom the 16:9 footage so the Great Lakes network glow sits center-disc */
  object-position: 70% 50%;
  transform: scale(1.28);
  transform-origin: 54% 42%;
}
.earth-rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset -16px -10px 55px rgba(0, 0, 0, .45);
}

.vignette {
  pointer-events: none;
  background: radial-gradient(ellipse 82% 82% at 50% 48%, transparent 54%, rgba(0, 0, 0, .42) 100%);
}

/* Stage 1 headline — space */
.headline-space {
  position: absolute;
  left: max(28px, 6vw);
  top: 50%;
  transform: translateY(-50%);
  width: min(44vw, 520px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  pointer-events: none;
  will-change: transform, opacity;
}
.eyebrow-hero {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--amber-hero);
  margin-bottom: 22px;
}
.headline-space h1 {
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.03;
  letter-spacing: -1.4px;
  max-width: 13ch;
  text-wrap: balance;
  text-shadow: 0 8px 44px rgba(0, 0, 0, .7);
}
.headline-space p {
  margin-top: 24px;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.5;
  color: rgba(228, 235, 248, .82);
  max-width: 36ch;
}

/* Stage 2 headline — aerial */
.headline-aerial {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8vw;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.aerial-scrim {
  position: absolute;
  inset: -14vh -12vw;
  background: radial-gradient(ellipse 58% 60% at 50% 50%, rgba(8, 12, 18, .5), transparent 72%);
  z-index: -1;
}
.eyebrow-aerial {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 5px;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .8);
}
.headline-aerial h2 {
  font-weight: 800;
  font-size: clamp(30px, 5vw, 74px);
  line-height: 1.04;
  letter-spacing: -1px;
  max-width: 16ch;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .85);
}

/* Stage 3 headline — ground; bottom scrim hands off to the page bg */
/* Eyebrow + h2 carry strong shadows: the conduit photo is bright where they sit */
.headline-ground {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 14vh max(28px, 6vw) 9vh;
  opacity: 0;
  will-change: opacity;
  /* Lands on the soil tone of the Who We Are strata photo below */
  background: linear-gradient(180deg,
    rgba(24, 19, 14, 0) 0%,
    rgba(24, 19, 14, .08) 18%,
    rgba(24, 19, 14, .26) 40%,
    rgba(24, 19, 14, .5) 60%,
    rgba(24, 19, 14, .78) 80%,
    rgba(24, 19, 14, .94) 92%,
    #18130e 100%);
}
.eyebrow-ground {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--amber-hero);
  margin-bottom: 16px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .95), 0 4px 22px rgba(0, 0, 0, .85);
}
.headline-ground h2 {
  margin-bottom: 22px;
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.03;
  letter-spacing: -1px;
  max-width: 18ch;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .85);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  will-change: opacity;
}
.hint-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, .7);
}
.hint-chevron {
  display: block;
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(255, 255, 255, .7);
  border-bottom: 2px solid rgba(255, 255, 255, .7);
  animation: bob 1.6s ease-in-out infinite;
}

/* ============================ Content ============================ */

.content {
  position: relative;
  z-index: 2;
  background: var(--bg-page);
  color: var(--ink);
}

/* Route line — an orange fiber run drawn down the page by scroll.
   Sits above section content (2px, non-interactive), below the fixed header. */
.routeline {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.routeline .ghost {
  fill: none;
  stroke: rgba(12, 28, 56, .1);
  stroke-width: 4;
}
.routeline .lit {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  filter: drop-shadow(0 0 5px rgba(242, 106, 33, .5));
}
.routeline .pulse {
  fill: #ffd9b0;
  filter: drop-shadow(0 0 6px rgba(242, 106, 33, .9));
}
.routeline .vault {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  opacity: 0;
  transition: opacity .4s ease;
}
.routeline .vault.on { opacity: 1; }

/* Content eyebrows double as section-start markers: the text runs into a
   hairline "fiber" with a slow pulse of light traveling down it */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--amber-eyebrow);
  margin-bottom: 22px;
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 3px;
  background:
    linear-gradient(90deg,
      rgba(242, 106, 33, 0) 0%,
      rgba(242, 106, 33, .75) 30%,
      #ffd9b0 50%,
      rgba(242, 106, 33, .75) 70%,
      rgba(242, 106, 33, 0) 100%) no-repeat,
    linear-gradient(var(--hairline), var(--hairline)) no-repeat;
  background-size: 110px 3px, 100% 1px;
  background-position: -110px center, left center;
  filter: drop-shadow(0 0 6px rgba(242, 106, 33, .45));
  animation: fiberPulse 6.5s linear infinite;
}
@keyframes fiberPulse {
  0%   { background-position: -110px center, left center; }
  100% { background-position: calc(100% + 110px) center, left center; }
}

/* Section anchors clear the fixed header on native jumps */
section[id] { scroll-margin-top: 90px; }

/* Scroll reveal — sections rise in as they enter the viewport */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .12s; }

/* Intro */
.intro {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 130px var(--side-pad) 90px;
}

/* One continuous soil background spanning Who We Are + Services.
   The image sits on the band; both sections inside are transparent so it
   flows without a seam. */
.soil-band {
  position: relative;
  background:
    linear-gradient(180deg, rgba(18, 14, 10, .6), rgba(18, 14, 10, .72)),
    url('assets/soil-strata.jpg') center / cover no-repeat;
}
/* Soil variant: transparent section over the band, light-on-dark text */
.intro-soil {
  max-width: none;
  margin: 0;
  padding: 0;
  color: #fff;
  background: transparent;
}
.intro-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 130px var(--side-pad) 90px;
}
.intro-soil .eyebrow {
  color: var(--amber-hero);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}
.intro-soil .eyebrow::after {
  background:
    linear-gradient(90deg,
      rgba(242, 106, 33, 0) 0%,
      rgba(242, 106, 33, .75) 30%,
      #ffd9b0 50%,
      rgba(242, 106, 33, .75) 70%,
      rgba(242, 106, 33, 0) 100%) no-repeat,
    linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)) no-repeat;
  background-size: 110px 3px, 100% 1px;
  background-position: -110px center, left center;
}
.intro-soil .intro-body {
  color: rgba(228, 235, 248, .88);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}
/* Stats become frosted glass over the strata photo */
.intro-soil .stats-grid {
  background: rgba(255, 255, 255, .24);
  border-color: rgba(255, 255, 255, .28);
}
.intro-soil .stat {
  background: rgba(16, 12, 9, .34);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.intro-soil .stat-num { color: #fff; }
.intro-soil .stat-label { color: rgba(228, 235, 248, .62); }

/* Services header flips to light over the shared soil band
   (the bento tiles are self-contained and need no change) */
.soil-band .eyebrow { color: var(--amber-hero); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.soil-band .eyebrow::after {
  background:
    linear-gradient(90deg,
      rgba(242, 106, 33, 0) 0%,
      rgba(242, 106, 33, .75) 30%,
      #ffd9b0 50%,
      rgba(242, 106, 33, .75) 70%,
      rgba(242, 106, 33, 0) 100%) no-repeat,
    linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)) no-repeat;
  background-size: 110px 3px, 100% 1px;
  background-position: -110px center, left center;
}
.soil-band .services-heading { color: #fff; }
.soil-band .services-intro { color: rgba(228, 235, 248, .8); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: end;
}
.intro-heading {
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -1px;
  max-width: 18ch;
}
.intro-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* Stats — 1px gaps show the hairline through */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 72px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}
.stat { padding: 34px 28px; background: #ffffff; }
.stat-num {
  font-weight: 800;
  font-size: clamp(34px, 3.4vw, 46px);
  letter-spacing: -1px;
  color: var(--ink);
}
.stat-accent { color: var(--orange); }
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ink-faint);
  margin-top: 8px;
}

/* Services */
.services { position: relative; }
.services-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 30px var(--side-pad) 110px;
}
/* Long Haul — full-bleed data-center photo, section flips to light-on-dark */
.longhaul-photo {
  position: relative;
  padding-top: 96px;
  color: #fff;
}
.longhaul-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  /* darker top/bottom for text, clearer middle so the data center reads */
  background:
    linear-gradient(180deg,
      rgba(10, 14, 20, .82) 0%,
      rgba(10, 14, 20, .5) 28%,
      rgba(10, 14, 20, .42) 52%,
      rgba(10, 14, 20, .66) 82%,
      rgba(10, 14, 20, .8) 100%),
    url('assets/datacenter.jpg') center / cover no-repeat;
}
.longhaul-photo > .reveal,
.longhaul-photo > .steps-grid { position: relative; z-index: 1; }
.longhaul-photo .section-heading { color: #fff; }
.longhaul-photo .section-lede { color: rgba(228, 235, 248, .85); }
.longhaul-photo .eyebrow { color: var(--amber-hero); }
.longhaul-photo .eyebrow::after {
  background:
    linear-gradient(90deg,
      rgba(242, 106, 33, 0) 0%,
      rgba(242, 106, 33, .75) 30%,
      #ffd9b0 50%,
      rgba(242, 106, 33, .75) 70%,
      rgba(242, 106, 33, 0) 100%) no-repeat,
    linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)) no-repeat;
  background-size: 110px 3px, 100% 1px;
  background-position: -110px center, left center;
}
/* Step cards become frosted glass so the photo shows through */
.longhaul-photo .step-card {
  background: rgba(14, 18, 26, .5);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}
.longhaul-photo .step-card:hover { border-color: rgba(242, 106, 33, .55); }
.longhaul-photo .step-card h3 { color: #fff; }
.longhaul-photo .step-card p { color: rgba(228, 235, 248, .8); }
.longhaul-photo .step-tag { color: rgba(228, 235, 248, .55); }

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
/* Let the heading column grow so the eyebrow rule runs toward the intro line */
.services-header > div:first-child { flex: 1; }
.eyebrow-services { margin-bottom: 18px; }
.services-heading {
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -1px;
  line-height: 1.05;
}
.services-intro {
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
/* Bento: one tall Directional Boring tile + two stacked tiles.
   Photos show by default; a subtle image zoom is the only hover. */
.bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: repeat(2, 300px);
  gap: 16px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  box-shadow: 0 26px 54px -34px rgba(12, 28, 56, .5);
  color: #fff;
}
.tile--lg { grid-row: 1 / 3; }
.tile-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.tile-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(8, 10, 15, .9) 0%,
    rgba(8, 10, 15, .55) 26%,
    rgba(8, 10, 15, .12) 52%,
    transparent 72%);
}
.tile:hover .tile-img { transform: scale(1.06); }
.tile-body {
  position: relative;
  z-index: 2;
  padding: 26px 28px 28px;
}
.tile--lg .tile-body { padding: 34px 36px 38px; }
.tile-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .78);
}
.tile-idx { color: var(--orange); }
.tile-title {
  margin: 12px 0 0;
  font-weight: 800;
  font-size: clamp(21px, 2.1vw, 28px);
  letter-spacing: -.4px;
  line-height: 1.05;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .45);
}
.tile--lg .tile-title { font-size: clamp(30px, 3.4vw, 44px); }
.tile-desc {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(233, 238, 247, .82);
  max-width: 42ch;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
}
.tile--lg .tile-desc { font-size: 15.5px; max-width: 48ch; }
.tile-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tile-list li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(233, 238, 247, .8);
  padding-left: 20px;
  position: relative;
}
.tile-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: 10px;
  height: 1px;
  background: var(--orange);
}

/* Service area / status board */
.coverage {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-band);
}
.coverage-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 96px var(--side-pad);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.eyebrow-coverage { margin-bottom: 20px; }
.coverage-heading {
  margin-bottom: 20px;
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.06;
  letter-spacing: -1px;
  max-width: 14ch;
}
.coverage-body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 44ch;
}
.board {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  padding: 34px;
  color: #e8edf8;
  box-shadow: 0 24px 48px -24px rgba(12, 28, 56, .35);
}
.board-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
}
.board-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--amber-board);
}
.board-caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .35);
}
.board-rows { display: flex; flex-direction: column; gap: 10px; }
.board-row { display: flex; gap: 18px; justify-content: space-between; }
.board-name, .board-status { display: flex; gap: 3px; }
.flap-cell {
  position: relative;
  width: 24px;
  height: 34px;
  background: var(--cell);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 19px;
  color: var(--amber-board);
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .5);
  transform-style: preserve-3d;
  animation: flap 7s linear infinite;
}
.flap-cell::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1.5px;
  background: rgba(0, 0, 0, .65);
}
.flap-cell--status {
  width: 19px;
  height: 28px;
  font-size: 14px;
  color: #e8edf8;
  animation-duration: 9s;
}

/* Contact CTA */
.contact {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 120px var(--side-pad);
}
.contact-panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff3e8 0%, #ffffff 55%);
  border: 1px solid rgba(242, 106, 33, .4);
  padding: clamp(40px, 6vw, 80px);
}
.contact-glow {
  position: absolute;
  right: -25%;
  top: -55%;
  width: 90%;
  height: 200%;
  /* closest-side: gradient reaches transparent inside the box — no hard edge */
  background: radial-gradient(circle closest-side, rgba(242, 106, 33, .13), transparent);
  pointer-events: none;
}
.contact-inner { position: relative; max-width: 30ch; }
.contact-inner h2 {
  margin-bottom: 18px;
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.03;
  letter-spacing: -1.2px;
}
.contact-inner p {
  margin-bottom: 34px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(220, 226, 238, .78);
}
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--hairline);
  background: var(--bg-footer);
  color: #fff;
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 54px var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-wordmark { font-weight: 900; font-size: 24px; letter-spacing: .5px; }
.footer-line {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(220, 226, 238, .4);
}
.footer-wordmark + .footer-line { margin-top: 8px; }
.footer-line + .footer-line { margin-top: 6px; }
.footer-line a { color: inherit; text-decoration: none; }
.footer-line a:hover { color: var(--amber-hero); }

/* ============================ Responsive pass ============================
   Not part of the handoff design — grids stack, type relies on the spec'd
   clamp() sizes, the journey stays scroll-driven (touch scrubs it natively). */

@media (max-width: 980px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .tile { min-height: 260px; }
  .tile--lg { grid-row: auto; min-height: 340px; }
  .coverage-grid { grid-template-columns: 1fr; gap: 44px; }
  .coverage-heading { max-width: none; }
}

@media (max-width: 700px) {
  .site-nav { padding: 16px 20px; }
  .nav-logo { height: 24px; }
  .nav-wordmark { font-size: 22px; }
  .btn-nav { font-size: 12.5px; padding: 9px 18px; }

  /* Phone hero: planet centered, headline above it, sub-line below */
  .earth-wrap {
    left: 50%;
    top: 55%;
    width: min(48vh, 90vw);
    height: min(48vh, 90vw);
  }
  .headline-space {
    left: 24px;
    right: 24px;
    top: 96px;
    bottom: 110px;
    width: auto;
    transform: none;
    align-items: center;
    text-align: center;
  }
  .headline-space h1 { max-width: 15ch; }
  .headline-space p { margin-top: auto; }
  .headline-ground { padding-bottom: 12vh; }

  .intro-inner { padding-top: 100px; }
  .stat { padding: 26px 22px; }

  /* Board: smaller tiles; status wraps under the name, right-aligned */
  .board { padding: 22px 16px; }
  .board-row { flex-wrap: wrap; gap: 6px 10px; }
  .board-status { margin-left: auto; }
  .flap-cell { width: 20px; height: 28px; font-size: 15px; }
  .flap-cell--status { width: 15px; height: 21px; font-size: 11px; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 30px; }
}

/* Respect reduced-motion: stop ambient animation (scroll journey itself
   remains scrub-driven; wheel snapping is disabled in main.js) */
@media (prefers-reduced-motion: reduce) {
  .earth-spin, .flap-cell, .hint-chevron { animation: none; }
  .eyebrow::after { animation: none; background-position: -110px center, left center; }
  .tile:hover .tile-img { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .routeline .pulse { display: none; }
}

/* ============================ BEAD ============================ */

.bead {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-pad) 110px;
}
.bead-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.bead-heading {
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -1px;
  max-width: 16ch;
  margin-bottom: 22px;
}
.bead-copy p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 54ch;
}
.bead-copy p + p { margin-top: 16px; }
.bead-panel {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(242, 106, 33, .28);
  border-radius: 16px;
  padding: 40px 38px;
  color: #e8edf8;
  box-shadow: 0 24px 48px -24px rgba(12, 28, 56, .35);
}
.bead-panel::before {
  content: '';
  position: absolute;
  right: -30%;
  top: -60%;
  width: 100%;
  height: 190%;
  background: radial-gradient(circle closest-side, rgba(242, 106, 33, .16), transparent);
  pointer-events: none;
}
.bead-kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(220, 226, 238, .55);
}
.bead-big {
  font-weight: 800;
  font-size: clamp(56px, 6vw, 84px);
  letter-spacing: -2px;
  line-height: 1;
  color: var(--orange);
  margin: 10px 0;
}
.bead-panel h3 {
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.3px;
  margin: 28px 0 14px;
}
.bead-list { list-style: none; margin: 0; padding: 0; }
.bead-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .5px;
  color: rgba(232, 237, 248, .9);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.bead-list li:last-child { border-bottom: none; }
.bead-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(242, 106, 33, .8);
  flex-shrink: 0;
}

/* ============================ FAQ ============================ */

.faq {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-pad) 110px;
}
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  color: var(--ink);
}
.faq-q {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.2px;
  line-height: 1.3;
  flex: 1;
  transition: color .2s ease;
}
.faq-btn:hover .faq-q { color: #c14e0e; }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(12, 28, 56, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s ease, border-color .3s ease;
  color: var(--orange);
}
.faq-icon svg { width: 12px; height: 12px; transition: transform .3s ease; }
.faq-item.open .faq-icon {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--on-orange);
}
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1);
}
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.72;
  max-width: 72ch;
}
.faq-answer-inner a { color: var(--amber-eyebrow); text-decoration: none; }
.faq-answer-inner a:hover { text-decoration: underline; }

/* ============================ Forms ============================ */

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-heading {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 0 16px;
}
.contact-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}
.contact-info { margin: 26px 0 0; }
.info-row {
  display: flex;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
}
.info-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--amber-eyebrow);
  min-width: 74px;
}
.info-value { font-size: 15px; color: rgba(15, 30, 51, .85); }
.info-value a { color: inherit; text-decoration: none; }
.info-value a:hover { color: var(--amber-hero); }

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(12, 28, 56, .03);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 30px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 2px;
  color: rgba(15, 30, 51, .55);
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: #ffffff;
  border: 1px solid rgba(12, 28, 56, .2);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  border-radius: 10px;
  outline: none;
  transition: border-color .2s ease;
  appearance: none;
}
.field select { cursor: pointer; }
.field select option { background: #ffffff; color: var(--ink); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--orange); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(15, 30, 51, .35); }
.field textarea { resize: vertical; min-height: 110px; }
.form-divider { height: 1px; background: var(--hairline); margin: 6px 0; }
.form-section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--amber-eyebrow);
}
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.checkbox-item:hover { color: var(--ink); }
.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}
.form .btn { border: none; width: 100%; text-align: center; margin-top: 6px; font-size: 15px; padding: 16px 32px; }
.form-legal {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.6;
}
.form-note {
  background: rgba(242, 106, 33, .07);
  border: 1px solid rgba(242, 106, 33, .25);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-top: 22px;
}
.form-note strong { color: var(--amber-eyebrow); }
.form-success {
  display: none;
  text-align: center;
  padding: 56px 28px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
}
.form-success .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(242, 106, 33, .15);
  border: 1px solid rgba(242, 106, 33, .5);
  color: var(--amber-eyebrow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 24px;
}
.form-success h3 { font-weight: 800; font-size: 22px; margin: 0 0 10px; }
.form-success p { color: var(--ink-soft); font-size: 15px; max-width: 40ch; margin: 0 auto; }

/* ============================ Subcontractors page ============================ */

.page-hero {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 190px var(--side-pad) 80px;
}
.page-hero h1 {
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.03;
  letter-spacing: -1.6px;
  max-width: 14ch;
  margin: 0 0 22px;
}
.page-hero .accent { color: var(--orange); }
.page-hero p {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 62ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-pad) 100px;
}
.section-heading {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -1px;
  margin: 0 0 16px;
}
.section-lede {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 66ch;
  margin: 0 0 44px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step-card {
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 34px -22px rgba(12, 28, 56, .22);
  padding: 28px 26px 32px;
  transition: transform .35s ease, border-color .35s ease;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(242, 106, 33, .5); }
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--amber-eyebrow);
}
.step-card h3 { font-weight: 800; font-size: 19px; letter-spacing: -.3px; margin: 14px 0 10px; }
.step-card > h3:first-child { margin-top: 0; }
.step-card p { font-size: 14px; line-height: 1.62; color: var(--ink-muted); margin: 0; }
.step-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-faint);
  margin-top: 14px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.scope-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px -18px rgba(12, 28, 56, .2);
  padding: 18px 20px;
  transition: border-color .25s ease;
}
.scope-pill:hover { border-color: rgba(242, 106, 33, .45); }
.scope-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(242, 106, 33, .8);
  flex-shrink: 0;
}
.scope-text { font-weight: 700; font-size: 15px; }
.scope-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--ink-faint);
  margin-top: 3px;
  text-transform: uppercase;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.req-card {
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 34px -22px rgba(12, 28, 56, .22);
  padding: 26px 26px 30px;
  transition: border-color .3s ease;
}
.req-card:hover { border-color: rgba(242, 106, 33, .45); }
.req-title {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.2px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.req-title::before {
  content: '';
  width: 22px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}
.req-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.req-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.req-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 7px;
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.apply-intro h3 { font-weight: 800; font-size: 24px; letter-spacing: -.4px; margin: 0 0 12px; }
.apply-intro p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0 0 16px;
}
.apply-intro a { color: var(--amber-eyebrow); text-decoration: none; }
.apply-intro a:hover { text-decoration: underline; }

/* ============================ Footer links ============================ */

.footer-links {
  display: flex;
  gap: 26px;
  margin-bottom: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(220, 226, 238, .6);
  text-decoration: none;
}
.footer-links a:hover { color: var(--amber-hero); }
.footer-right { text-align: right; }

/* ============================ Responsive: new components ============================ */

@media (max-width: 980px) {
  .bead-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { justify-content: flex-start; }
  .footer-right { text-align: left; }
}
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding-top: 150px; }
  .form { padding: 22px; }
}
