/* ============================================
   H&M Cargo Inc — Site Styles (v3: blueprint dark)
   Black / purple / orange — FedEx-adjacent, not FedEx brand colors.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  color-scheme: dark;
  --ink: #0b0a12;          /* page background */
  --ink-900: #0e0c17;
  --ink-800: #141126;      /* panels */
  --ink-700: #1c1833;
  --ink-600: #2a2447;
  --purple: #7c4dff;
  --purple-light: #a78bff;
  --purple-dark: #5b2fd6;
  --orange: #ff7a1c;
  --orange-light: #ffa14f;
  --orange-dark: #e06000;
  --text: #ece9f8;
  --muted: #a9a3c4;
  --muted-2: #7d77a0;
  --grid-line: rgba(151, 125, 255, 0.05);
  --border: rgba(167, 139, 255, 0.16);
  --glass: rgba(22, 19, 40, 0.55);
  --glass-border: rgba(167, 139, 255, 0.18);
  --glass-dark: rgba(16, 13, 30, 0.72);
  --glass-dark-border: rgba(167, 139, 255, 0.2);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 22px 44px rgba(0, 0, 0, 0.5);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 76px; }

body {
  font-family: var(--font);
  color: var(--text);
  /* blueprint drafting grid over near-black */
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(1100px 520px at 82% -120px, rgba(124, 77, 255, 0.09), transparent 70%),
    var(--ink);
  background-size: 44px 44px, 44px 44px, auto, auto;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 18, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(167, 139, 255, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange-dark));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.5px;
  box-shadow: 0 4px 14px rgba(255, 122, 28, 0.35);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }

.brand-name {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.brand-name span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #b9b3d6;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: #fff; }

.nav-cta {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: var(--ink) !important;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(255, 122, 28, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 122, 28, 0.45);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 128px 0 112px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  animation: heroZoom 22s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(11, 10, 18, 0.96) 0%, rgba(19, 14, 38, 0.86) 45%, rgba(38, 20, 78, 0.5) 100%);
}

/* floating aurora blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}

.blob-orange {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255, 122, 28, 0.5), transparent 65%);
  top: -140px; right: -100px;
  animation: drift1 16s ease-in-out infinite alternate;
}

.blob-purple {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.45), transparent 65%);
  bottom: -200px; left: -140px;
  animation: drift2 20s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-70px, 50px) scale(1.15); }
}

@keyframes drift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(80px, -40px) scale(1.1); }
}

.hero-inner { position: relative; max-width: 720px; }

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero .eyebrow {
  background: rgba(255, 122, 28, 0.1);
  border: 1px solid rgba(255, 122, 28, 0.35);
  backdrop-filter: blur(8px);
  padding: 7px 16px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--orange-light), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.15rem;
  color: #cdc7e6;
  margin-bottom: 36px;
  max-width: 560px;
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  position: relative;
  display: inline-block;
  padding: 14px 28px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

/* shine sweep */
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn:hover::before { left: 130%; }
.btn:hover { transform: translateY(-2px); }

.btn[disabled] { opacity: 0.6; pointer-events: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #1d1206;
  box-shadow: 0 6px 20px rgba(255, 122, 28, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(255, 122, 28, 0.5); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.16); }

.btn-dark {
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(124, 77, 255, 0.3);
}
.btn-dark:hover { box-shadow: 0 10px 26px rgba(124, 77, 255, 0.45); }

/* ---------- Blueprint vehicle line-art ---------- */
.bp-art {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  color: var(--purple-light);
  opacity: 0.16;
}

.bp-art .dims {
  stroke-dasharray: 4 6;
  stroke-width: 1;
  opacity: 0.8;
}

.bp-art text {
  fill: currentColor;
  stroke: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
}

.hero .bp-art {
  right: -70px;
  bottom: -20px;
  width: min(640px, 56vw);
}

.cta-band .bp-art {
  left: -60px;
  bottom: -12px;
  width: min(560px, 48vw);
  opacity: 0.13;
}

.apply-bp {
  right: -80px;
  top: 40px;
  width: min(540px, 46vw);
  opacity: 0.1;
}

/* ---------- Stats bar (glass, overlapping hero) ---------- */
.stats {
  position: relative;
  z-index: 5;
  margin-top: -56px;
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: var(--glass-dark);
  border: 1px solid var(--glass-dark-border);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.stat { transition: transform 0.25s ease; }
.stat:hover { transform: translateY(-4px); }

.stat-num {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 4px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }

.section.soft {
  background:
    radial-gradient(700px 340px at 12% 0%, rgba(255, 122, 28, 0.05), transparent 70%),
    radial-gradient(700px 340px at 88% 100%, rgba(124, 77, 255, 0.09), transparent 70%),
    var(--ink-900);
  border-top: 1px solid rgba(167, 139, 255, 0.08);
  border-bottom: 1px solid rgba(167, 139, 255, 0.08);
}

.section.has-bp { overflow: hidden; }

.section-head { max-width: 640px; margin-bottom: 52px; }

.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 10px 0 14px;
  color: #fff;
}

.section-head p { color: var(--muted); font-size: 1.05rem; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* section head with an action on the right */
.head-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 52px;
}

.head-row .section-head { margin-bottom: 0; }

/* right quadrant: center the action within the remaining space */
.head-action {
  flex: 1;
  display: grid;
  place-items: center;
}


/* ---------- Glass cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

/* mouse-follow glow (JS sets --mx/--my) */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 122, 28, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::before { opacity: 1; }

.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 122, 28, 0.45);
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 122, 28, 0.16), rgba(124, 77, 255, 0.1));
  border: 1px solid rgba(255, 122, 28, 0.3);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--orange);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.card:hover .icon {
  transform: scale(1.1) rotate(-4deg);
  background: linear-gradient(135deg, rgba(255, 122, 28, 0.28), rgba(124, 77, 255, 0.16));
}

.card .icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 10px 0 16px;
  color: #fff;
}

.split p { color: var(--muted); margin-bottom: 14px; }
.split strong { color: var(--text); }

.check-list { list-style: none; margin-top: 18px; }

.check-list li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 13px;
  color: var(--text);
  font-weight: 500;
  transition: transform 0.2s ease;
}

.check-list li:hover { transform: translateX(4px); }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  box-shadow: 0 3px 8px rgba(255, 122, 28, 0.35);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

/* ---------- Photo frames (real images) ---------- */
.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-frame:hover img { transform: scale(1.06); }

.photo-frame .caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(11, 10, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

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

.value {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-left: 3px solid var(--orange);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.value:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

.value h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.value p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; padding-left: 36px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), rgba(167, 139, 255, 0.2));
}

.timeline li { position: relative; padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 2px var(--orange);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline li:hover::before {
  transform: scale(1.35);
  box-shadow: 0 0 0 2px var(--orange), 0 0 18px rgba(255, 122, 28, 0.6);
}

.timeline .year {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--orange);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.timeline h3 { font-size: 1.1rem; margin: 4px 0 6px; color: #fff; }
.timeline p { color: var(--muted); font-size: 0.95rem; max-width: 560px; }

/* about: timeline + photo side by side */
.story-split { align-items: start; }
.story-split .photo-frame { position: sticky; top: 96px; }

/* ---------- Careers ---------- */
.job-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.job-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 122, 28, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.job-card:hover::before { opacity: 1; }

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 122, 28, 0.45);
}

.job-card h3 { font-size: 1.2rem; margin-bottom: 6px; color: #fff; }
.job-card .meta { color: var(--muted); font-size: 0.9rem; }

.tag {
  display: inline-block;
  background: rgba(255, 122, 28, 0.12);
  border: 1px solid rgba(255, 122, 28, 0.3);
  color: var(--orange-light);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.perk {
  text-align: center;
  padding: 30px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.perk:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 122, 28, 0.45);
}

.perk .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 122, 28, 0.16), rgba(124, 77, 255, 0.1));
  border: 1px solid rgba(255, 122, 28, 0.3);
  display: grid;
  place-items: center;
  color: var(--orange);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.perk:hover .icon { transform: scale(1.12) rotate(-5deg); }
.perk .icon svg { width: 26px; height: 26px; }

.perk h4 { font-size: 0.98rem; margin-bottom: 4px; color: #fff; }
.perk p { color: var(--muted); font-size: 0.85rem; }

/* careers: larger requirements + emphasized hard requirements */
.check-list.big li {
  font-size: 1.14rem;
  margin-bottom: 17px;
  padding-left: 38px;
}

.check-list.big li::before { top: 4px; width: 22px; height: 22px; }
.check-list.big li::after { left: 7px; top: 10px; }

.split .check-list .req-key { color: var(--orange-light); font-weight: 800; }

/* careers: larger how-it-works steps */
.steps-big .step { margin-bottom: 24px; }
.steps-big .step h4 { font-size: 1.18rem; }
.steps-big .step p { font-size: 1.05rem; }

/* steps */
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.step-num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: #1d1206;
  font-family: var(--mono);
  font-weight: 600;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(255, 122, 28, 0.3);
  transition: transform 0.25s ease;
}

.step:hover .step-num { transform: scale(1.12) rotate(-5deg); }

.step h4 { font-size: 1rem; margin-bottom: 2px; color: #fff; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 96px 0;
  overflow: hidden;
  isolation: isolate;
}

.cta-band .hero-bg { animation: heroZoom 26s ease-in-out infinite alternate; }

.cta-band .hero-overlay {
  background: linear-gradient(160deg, rgba(11, 10, 18, 0.94) 0%, rgba(38, 24, 74, 0.88) 100%);
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.cta-band p { color: #cdc7e6; max-width: 520px; margin: 0 auto 32px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.05rem;
  margin: 24px 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.contact-info h3:first-child { margin-top: 0; }

.contact-info h3 .mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(255, 122, 28, 0.16), rgba(124, 77, 255, 0.1));
  border: 1px solid rgba(255, 122, 28, 0.3);
  display: grid;
  place-items: center;
  color: var(--orange);
  flex: 0 0 auto;
}

.contact-info h3 .mini-icon svg { width: 17px; height: 17px; }

.contact-info p { color: var(--muted); }
.contact-info strong { color: var(--text); }
.contact-info a { color: var(--orange-light); font-weight: 600; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

.contact-form {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
  position: relative;
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(167, 139, 255, 0.25);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--muted-2); }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 122, 28, 0.15);
}

.form-row textarea { min-height: 120px; resize: vertical; }

.form-note { font-size: 0.8rem; color: var(--muted-2); margin-top: 12px; }

button.btn { border: none; cursor: pointer; font-family: var(--font); }

/* ---------- Multi-step application (careers) ---------- */
.apply-shell { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }

.apply-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.ap-step { display: flex; align-items: center; gap: 9px; }

.ap-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px dashed rgba(167, 139, 255, 0.4);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.ap-step.is-active .ap-dot {
  border: 1.5px solid var(--orange);
  color: #1d1206;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  box-shadow: 0 4px 14px rgba(255, 122, 28, 0.35);
}

.ap-step.is-done .ap-dot {
  border: 1.5px solid var(--purple);
  color: #fff;
  background: var(--purple-dark);
}

.ap-name {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted-2);
}

.ap-step.is-active .ap-name { color: #fff; }

.ap-line { flex: 1; border-top: 1.5px dashed rgba(167, 139, 255, 0.3); }
.ap-line.is-done { border-color: var(--purple); }

.apply-step { display: none; border: none; padding: 0; margin: 0; min-inline-size: auto; }

.apply-step.is-active { display: block; animation: stepIn 0.45s cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(26px); }
  to   { opacity: 1; transform: none; }
}

.apply-step legend {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }

.pill { position: relative; }

.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill span {
  display: block;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pill span:hover { border-color: rgba(255, 161, 79, 0.7); color: #fff; }

.pill input:checked + span {
  background: rgba(255, 122, 28, 0.14);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 122, 28, 0.12);
}

.pill input:focus-visible + span {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.ap-nav { display: flex; gap: 12px; margin-top: 24px; }
.ap-nav .btn { flex: 1; text-align: center; }

.btn-back {
  flex: 0 0 auto !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(167, 139, 255, 0.35);
  color: var(--text);
}
.btn-back:hover { border-color: #fff; }

.form-row.error input,
.form-row.error select,
.form-row.error textarea,
.form-row.error .pill span {
  border-color: #ff5b76;
}

.form-row.error input,
.form-row.error select {
  box-shadow: 0 0 0 4px rgba(255, 91, 118, 0.12);
}

.field-err {
  display: none;
  color: #ff8296;
  font-size: 0.8rem;
  margin-top: 6px;
}

.form-row.error .field-err { display: block; }

.apply-success { text-align: center; padding: 20px 6px; }

.apply-success .ok-ring {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  box-shadow: 0 14px 34px rgba(255, 122, 28, 0.4);
}

.apply-success .ok-ring svg { width: 38px; height: 38px; }

.apply-success h3 { font-size: 1.4rem; color: #fff; margin-bottom: 8px; }
.apply-success p { color: var(--muted); max-width: 420px; margin: 0 auto; }

.apply-error {
  display: none;
  color: #ff8296;
  font-size: 0.88rem;
  margin-top: 14px;
  text-align: center;
}
.apply-error a { color: var(--orange-light); }

/* ---------- Compliance page: TxDOT map + FMCSA feed ---------- */
.map-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.map-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.map-pill:hover { border-color: rgba(255, 161, 79, 0.7); color: #fff; }

.map-pill.active {
  background: rgba(255, 122, 28, 0.14);
  border-color: var(--orange);
  color: #fff;
}

.dot-map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  background: var(--ink-800);
}

.dot-map-frame iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}

.source-note {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted-2);
  margin-top: 14px;
  letter-spacing: 0.4px;
}

.source-note a { color: var(--orange-light); text-decoration: none; }
.source-note a:hover { text-decoration: underline; }

.reg-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.reg-loading, .reg-error { color: var(--muted); font-size: 0.95rem; grid-column: 1 / -1; }
.reg-error a { color: var(--orange-light); }

.reg-item {
  display: block;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--purple);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.reg-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 28, 0.45);
  border-left-color: var(--orange);
  box-shadow: var(--shadow-hover);
}

.reg-item .reg-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.reg-item .reg-type {
  color: var(--orange-light);
  background: rgba(255, 122, 28, 0.12);
  border: 1px solid rgba(255, 122, 28, 0.3);
  padding: 2px 10px;
  border-radius: 999px;
}

.reg-item .reg-title {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 860px) {
  .reg-feed { grid-template-columns: 1fr; }
  .dot-map-frame iframe { height: 420px; }
  .map-pill { font-size: 0.68rem; padding: 9px 14px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0d0b16;
  color: var(--muted);
  padding: 60px 0 32px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(167, 139, 255, 0.1);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.12), transparent 65%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; transition: color 0.15s, padding-left 0.2s; }
.site-footer a:hover { color: var(--orange); padding-left: 3px; }

.footer-brand p { max-width: 320px; margin-top: 12px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted-2);
  position: relative;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  padding: 96px 0 76px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero .hero-overlay {
  background: linear-gradient(105deg, rgba(11, 10, 18, 0.96) 0%, rgba(19, 14, 38, 0.84) 55%, rgba(38, 20, 78, 0.55) 100%);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-top: 8px;
}

.page-hero p {
  color: #cdc7e6;
  max-width: 620px;
  margin-top: 12px;
  font-size: 1.05rem;
}

.page-hero .eyebrow {
  background: rgba(255, 122, 28, 0.1);
  border: 1px solid rgba(255, 122, 28, 0.35);
  backdrop-filter: blur(8px);
  padding: 7px 16px;
  border-radius: 999px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f0d1c;
    flex-direction: column;
    padding: 22px 6% 26px;
    gap: 6px;
    align-items: stretch;
    border-bottom: 1px solid rgba(167, 139, 255, 0.14);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.55);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    font-size: 1.05rem;
    padding: 12px 4px;
    border-radius: 8px;
  }
  .nav-links a.nav-cta { text-align: center; margin-top: 10px; padding: 13px 18px; }
  .nav-toggle { display: block; padding: 8px 12px; margin-right: -12px; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links a:not(.nav-cta).active { background: rgba(255, 122, 28, 0.12); color: var(--orange); padding-left: 12px; }

  .stats { margin-top: -40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 26px 18px; }
  .stat-num { font-size: 1.9rem; }
  .card-grid, .card-grid.two, .values-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 76px 0 84px; }
  .hero p.lead { font-size: 1.05rem; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .head-row { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 36px; }

  /* lighter effects for phone GPUs */
  .blob { filter: blur(40px); opacity: 0.4; }
  .hero-bg, .cta-band .hero-bg { animation: none; }

  /* blueprint vehicle art crowds small screens — hide it */
  .bp-art { display: none; }

  /* photos shorter on small screens */
  .photo-frame, .photo-frame img { min-height: 240px; }

  /* prevent iOS zoom-on-focus: inputs must be >= 16px */
  .form-row input,
  .form-row select,
  .form-row textarea { font-size: 16px; }
  .contact-form { padding: 26px 20px; }

  /* application steps: labels tighten up */
  .ap-name { display: none; }
  .ap-step.is-active .ap-name { display: inline; }
  .pill span { font-size: 16px; padding: 12px 18px; }
  .ap-nav { flex-wrap: wrap; }

  /* job cards: full-width action */
  .job-card { padding: 24px 20px; }
  .job-card .btn { width: 100%; text-align: center; }

  /* growth map: SVG scales down ~2x, so labels need bigger type to stay legible */
  .cities text { font-size: 22px; }
  .pin text { font-size: 25px; }
  .pin text.sub { font-size: 19px; }
  .cities circle { r: 6; }
  .pin .dot { r: 11; }
  .pin .ring { r: 15; }
  .pin .coverage { r: 60; }
  .pin.metro .coverage { r: 48; }
  .growth-grid { gap: 28px; }
  .phase-item { padding: 15px 18px; }
  .phase-item p { font-size: 0.85rem; }
}

@media (max-width: 420px) {
  .perks-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; text-align: center; }
  .growth-stats { gap: 8px; }
  .gstat .num { font-size: 1.25rem; }
  .gstat .lbl { font-size: 0.6rem; letter-spacing: 0.6px; }
}

/* ---------- Growth map (Texas coverage) ---------- */
.growth {
  position: relative;
  color: #fff;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(800px 400px at 85% 10%, rgba(255, 122, 28, 0.06), transparent 65%),
    radial-gradient(700px 400px at 10% 90%, rgba(124, 77, 255, 0.12), transparent 65%),
    linear-gradient(160deg, #100e1d 0%, var(--ink-800) 100%);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  border-top: 1px solid rgba(167, 139, 255, 0.1);
  border-bottom: 1px solid rgba(167, 139, 255, 0.1);
  overflow: hidden;
  isolation: isolate;
}

.growth .section-head h2 { color: #fff; }
.growth .section-head p { color: var(--muted); }

.growth-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 52px;
  align-items: center;
}

.tx-map svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5));
}

.tx-outline {
  fill: url(#txFill);
  stroke: rgba(196, 181, 255, 0.4);
  stroke-width: 2;
  stroke-linejoin: round;
}

/* drafting grid clipped inside the state */
.tx-grid line {
  stroke: rgba(167, 139, 255, 0.1);
  stroke-width: 1;
}

.cities circle { fill: #6b6494; }
.cities text {
  fill: #8d86b5;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--mono);
}

.pin .dot,
.pin .coverage,
.pin .ring {
  transform-box: fill-box;
  transform-origin: center;
}

.pin .dot {
  fill: var(--orange);
  stroke: #fff;
  stroke-width: 2.5;
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pin.on .dot { transform: scale(1); }

.pin .coverage {
  fill: rgba(255, 122, 28, 0.08);
  stroke: rgba(255, 122, 28, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 7 7;
  transform: scale(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.pin.on .coverage { transform: scale(1); }

.pin .ring {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  opacity: 0;
}

.pin.on .ring { animation: radar 2.8s ease-out infinite; }
.pin.on .ring.r2 { animation-delay: 1.4s; }

@keyframes radar {
  0%   { transform: scale(0.5); opacity: 0.85; }
  100% { transform: scale(3.4); opacity: 0; }
}

.pin text {
  fill: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  opacity: 0;
  transition: opacity 0.4s ease 0.25s;
}

.pin text.sub { fill: var(--muted); font-size: 12px; font-weight: 500; }
.pin.on text { opacity: 1; }

/* phase timeline */
.phase-item {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 255, 0.15);
  border-left: 3px solid rgba(167, 139, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.62;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.phase-item:hover { opacity: 0.9; transform: translateX(4px); }

.phase-item.active {
  opacity: 1;
  background: rgba(255, 122, 28, 0.07);
  border-color: rgba(255, 122, 28, 0.4);
  border-left-color: var(--orange);
}

.phase-item .year {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.phase-item h3 { font-size: 1.05rem; margin: 2px 0 4px; color: #fff; }
.phase-item p { color: var(--muted); font-size: 0.88rem; margin: 0; }

.phase-item .bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--orange-light), var(--orange));
}

/* duration must match PHASE_MS in main.js */
.phase-item.active .bar { animation: phasebar 2.8s linear forwards; }

@keyframes phasebar { to { width: 100%; } }

.growth-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.gstat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}

.gstat .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

.gstat .lbl {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-2);
  margin-top: 1px;
}

.growth-note { font-size: 0.78rem; color: var(--muted-2); margin-top: 16px; font-family: var(--mono); }

@media (max-width: 860px) {
  .growth-grid { grid-template-columns: 1fr; gap: 36px; }
  .growth-stats { grid-template-columns: repeat(2, 1fr); }
}
