/* =========================================================
   Skidmore Transportation Services — Site Stylesheet
   See styleguide.html for the type system
   ========================================================= */

:root {
  /* ===== BRAND COLORS ===== */
  --navy: #0b1624;          /* dark backgrounds */
  --navy-2: #12233a;        /* dark backgrounds, lighter */
  --navy-3: #1b3150;        /* dark borders */
  --accent: #f26b1d;        /* Safety Orange */
  --accent-dark: #d4560d;   /* Safety Orange, hover */
  --amber: #ffb627;         /* Highway Amber */
  --light: #f3f5f8;         /* light gray backgrounds */
  --white: #ffffff;
  --border: #e1e6ed;

  /* ===== TEXT COLORS (only these six) ===== */
  --ink: #0b1624;           /* headings & strong text on light */
  --slate: #556274;         /* paragraphs on light */
  --mist: #c3cedb;          /* paragraphs on dark */
  /* White = headings on dark; Orange = labels on light; Amber = labels on dark */

  /* ===== FONTS ===== */
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  /* ===== TYPE SCALE ===== */
  --fs-display: clamp(2rem, 8vw, 5rem);         /* 32-80px  Home hero only */
  --fs-h1:      clamp(2.25rem, 5vw, 4rem);      /* 36-64px  page titles */
  --fs-h2:      clamp(1.875rem, 3.6vw, 3rem);   /* 30-48px  section titles */
  --fs-h3:      clamp(1.375rem, 2vw, 1.75rem);  /* 22-28px  card & item titles */
  --fs-h4:      1.25rem;                        /* 20px     small titles */
  --fs-stat:    clamp(2.5rem, 4vw, 3.25rem);    /* 40-52px  big numbers */
  --fs-lead:    1.125rem;                       /* 18px     intro paragraphs */
  --fs-body:    1rem;                           /* 16px     paragraphs */
  --fs-small:   .875rem;                        /* 14px     fine print */
  --fs-label:   .875rem;                        /* 14px     labels */
  --fs-ui:      1.0625rem;                      /* 17px     buttons & menus */
  --fs-ui-sm:   .875rem;                        /* 14px     small buttons (mobile top bar) */

  /* ===== LAYOUT ===== */
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(11, 22, 36, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 22, 36, 0.22);
  --container: 1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.accent { color: var(--accent); }

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: currentColor;
}
.center .eyebrow::after {
  content: "";
  width: 32px;
  height: 3px;
  background: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 8px 22px rgba(242, 107, 29, .35); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--accent); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-hiring { background: var(--amber); color: var(--navy); }
.btn-hiring:hover { background: var(--white); }
.btn-hiring-lg { background: var(--navy); color: var(--amber); padding: 18px 34px; box-shadow: 0 10px 26px rgba(11,22,36,.35); }
.btn-hiring-lg:hover { background: var(--navy-3); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.link-arrow {
  color: var(--accent);
}
.link-arrow:hover { color: var(--navy); }

/* ---------- Top Bar ---------- */
.topbar { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 26px; }
.topbar-info li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar-info svg { width: 15px; height: 15px; fill: var(--amber); }
.topbar-info svg.stroke { fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; }
.topbar-info a:hover { color: var(--amber); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(11,22,36,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { max-height: 60px; width: auto; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
  border-radius: 8px;
  border-bottom: 4px solid var(--accent);
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: .95;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 1px;
}
.logo-text small {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: var(--accent);
  margin-top: 4px;
}

.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 10px 11px;
  color: var(--navy);
  white-space: nowrap;
}
.main-nav > ul > li > a:not(.btn):hover, .main-nav a.active { color: var(--accent); }
.main-nav .nav-cta { margin-left: 8px; }
.main-nav .nav-cta .btn { color: var(--white); padding: 12px 22px; }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " \25BE"; font-size: .8em; color: var(--accent); }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown a { padding: 10px 22px; }
.dropdown a:hover { background: var(--light); color: var(--accent); }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--navy);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(11,22,36,.55) 0%, rgba(11,22,36,.85) 75%),
    linear-gradient(180deg, rgba(11,22,36,.35) 0%, rgba(11,22,36,.6) 100%);
}

/* Background photos placed in the HTML (paths resolve from the page) */
.section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-inner {
  padding: 130px 24px 150px;
  max-width: var(--container);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-inner .hero-tags, .hero-inner .btn-row { justify-content: center; }
.hero h1 {
  max-width: 1200px;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-lead { max-width: 880px; margin-bottom: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.hero-tags li {
  padding: 7px 16px;
  border: 1px solid rgba(255,182,39,.45);
  background: rgba(255,182,39,.08);
  border-radius: 100px;
}

.hero-stats { position: relative; z-index: 2; margin-bottom: -60px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0;
  overflow: hidden;
}
.stat { padding: 30px 26px; border-right: 1px solid var(--border); border-top: 4px solid transparent; }
.stat:first-child { border-top-color: var(--accent); }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
}

.hazard-stripe {
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 18px, var(--navy) 18px 36px);
}
.hero .hazard-stripe { position: absolute; left: 0; right: 0; bottom: 0; }
.hazard-stripe.thin { height: 6px; }

/* ---------- Intro / Split ---------- */
.intro { padding-top: 160px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split > * { min-width: 0; }
.split-media { position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split-media::before {
  content: "";
  position: absolute;
  inset: -18px auto auto -18px;
  width: 55%;
  height: 55%;
  border: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.media-badge {
  position: absolute;
  right: -20px;
  bottom: 34px;
  background: var(--navy);
  padding: 22px 26px;
  border-radius: var(--radius);
  border-left: 5px solid var(--amber);
  box-shadow: var(--shadow-lg);
}
.media-badge strong { display: block; }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 26px 0 34px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
}

/* ---------- Section Headers ---------- */
.section-head { margin-bottom: 56px; }
.section-head p { margin-bottom: 0; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.split-head h2 { margin-bottom: 0; }

/* ---------- Transportation Services (dark) ---------- */
.services-dark {
  background:
    radial-gradient(circle at 85% 10%, rgba(242,107,29,.16), transparent 45%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.card-grid { display: grid; gap: 24px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.service-card {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--amber));
}
.service-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,182,39,.4); }
.service-card .icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(242,107,29,.14);
  color: var(--amber);
  margin-bottom: 24px;
}
.service-card .icon svg { width: 40px; height: 40px; }
.service-card p { margin: 0; }

/* ---------- Truck Wash Feature Banner ---------- */
.feature-banner {
  position: relative;
  padding: 130px 0;
  background-color: var(--navy-3);
  isolation: isolate;
}
.feature-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11,22,36,.15) 0%, rgba(11,22,36,.8) 55%, rgba(11,22,36,.96) 100%);
}
.feature-inner { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.feature-inner > * { max-width: 560px; }
.feature-inner .btn-row { justify-content: flex-end; }
.feature-banner p { margin-bottom: 30px; }
.tag {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 18px;
  background: var(--accent);
  color: var(--white);
  border-radius: 4px;
}

/* ---------- Offerings (alternating rows) ---------- */
.offerings { background: var(--light); }
.offer-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 36px;
}
.offer-row.reverse .offer-media { order: 2; }
.offer-media { position: relative; height: 100%; min-height: 360px; }
.offer-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-num {
  position: absolute;
  left: 22px;
  bottom: 18px;
  color: var(--white);
  text-shadow: 0 4px 18px rgba(0,0,0,.45);
}
.offer-row.reverse .offer-num { left: auto; right: 22px; }
.offer-body { padding: 54px 56px; }
.offer-body .btn { margin-top: 8px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.pill-list li {
  padding: 6px 14px;
  background: var(--light);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

/* ---------- Now Hiring ---------- */
.hiring {
  position: relative;
  background:
    repeating-linear-gradient(-45deg, rgba(11,22,36,.06) 0 2px, transparent 2px 14px),
    linear-gradient(100deg, var(--amber) 0%, #ff9a1f 100%);
  padding: 80px 0;
}
.hiring-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.hiring-inner > div:first-child { max-width: 620px; min-width: 0; }
.hiring p:not(.eyebrow) { margin: 0; }
.hiring p a { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: stretch; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 30px 0; }
.contact-list li { border-left: 3px solid var(--accent); padding-left: 16px; }
.contact-list li:nth-child(4), .contact-list li:nth-child(5) { grid-column: span 2; }
.ci-label {
  display: block;
  margin-bottom: 2px;
}
.contact-list a, .contact-list span:not(.ci-label) { word-break: break-word; }
.contact-list a:hover { color: var(--amber); }

.hours {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: 30px;
}
.hours table { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.closed td { color: var(--mist); }
.hours tr.closed td:last-child { color: var(--accent); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  border: 4px solid var(--navy-3);
  box-shadow: var(--shadow-lg);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #070f19; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 44px; padding-top: 70px; padding-bottom: 50px; }
.footer-brand p { margin-top: 20px; max-width: 340px; }
.logo-footer .logo-text { color: var(--white); }
.site-footer h4 {
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--amber); }
.footer-contact a { color: var(--white); word-break: break-word; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom ul li { margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  /* Mobile nav (CSS-only toggle) */
  .nav-toggle-label {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    border-radius: 6px;
    background: var(--navy);
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    position: relative;
  }
  .nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-label span::before { top: -7px; }
  .nav-toggle-label span::after { top: 7px; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 3px solid var(--accent);
    box-shadow: var(--shadow-lg);
    padding: 12px 24px 24px;
  }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .main-nav a { padding: 14px 4px; }
  .dropdown { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 8px 16px; min-width: 0; }
  .dropdown a { padding: 8px 4px; color: var(--slate); }
  .main-nav .nav-cta { margin: 16px 0 0; border: 0; }
  .main-nav .nav-cta .btn { display: flex; width: 100%; }

}

@media (max-width: 1100px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hide-md { display: none !important; }
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 60px; }
  .split-media { max-width: 560px; }
  .media-badge { right: 16px; }
  .offer-row, .offer-row.reverse { grid-template-columns: 1fr; }
  .offer-row.reverse .offer-media { order: 0; }
  .offer-media { min-height: 280px; }
  .offer-body { padding: 40px 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-banner::before { background: linear-gradient(0deg, rgba(11,22,36,.94) 0%, rgba(11,22,36,.8) 100%); }
  .feature-inner { align-items: flex-start; text-align: left; }
  .feature-inner .btn-row { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hide-sm { display: none !important; }
  .topbar-inner { justify-content: space-between; }
  .header-inner { min-height: 72px; }
  .logo-mark { width: 46px; height: 46px; font-size: 1.15rem; }
  .logo-text { font-size: 1.4rem; }
  .logo-text small { font-size: .62rem; letter-spacing: 1.6px; }

  .hero-inner { padding: 80px 24px 110px; }
  .br-lg { display: none; }
  .hero h1 { overflow-wrap: break-word; }
  .hero-inner .eyebrow::before, .hero-inner .eyebrow::after { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--border); padding: 22px 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .intro { padding-top: 130px; }

  .card-grid.four { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-list li:nth-child(4), .contact-list li:nth-child(5) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .btn { padding: 14px 24px; }
  .hiring .btn-row { width: 100%; }
  .hiring .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .topbar .btn-sm { padding: 8px 12px; }
  .topbar-info { gap: 12px; }
  .btn { white-space: normal; text-align: center; }
  .btn-hiring-lg { padding: 16px 20px; }
}

/* =========================================================
   INNER PAGE TEMPLATE
   Shared by About and all other inner pages.
   ========================================================= */

/* ---------- Page Header ---------- */
.page-header {
  position: relative;
  background-color: var(--navy);
  isolation: isolate;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(11,22,36,.95) 0%, rgba(11,22,36,.8) 50%, rgba(11,22,36,.55) 100%);
}
.page-header-inner { padding: 96px 24px 108px; }
.page-header h1 {
  margin-bottom: 18px;
}
.page-lead { margin: 0; }
.page-header .hazard-stripe { position: absolute; left: 0; right: 0; bottom: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span[aria-current] { color: var(--amber); }

/* ---------- Intro (inner) ---------- */

/* ---------- Stat Band ---------- */
.stat-band {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.stat-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-band-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.22);
}
.stat-band-item:last-child { border-right: 0; }
.stat-band-item strong {
  display: block;
  margin-bottom: 6px;
}
.stat-band-item span { opacity: .92; }

/* ---------- Content + Sidebar ---------- */
.content-area { background: var(--light); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.content-main .content-lead { margin-bottom: 40px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--amber));
  border-radius: 3px;
}
.timeline li {
  position: relative;
  padding: 0 0 0 48px;
  margin-bottom: 22px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--accent);
  box-sizing: border-box;
}
.timeline li > * { position: relative; }
.timeline li h3, .timeline li p, .timeline-date { margin-left: 0; }
.timeline li { background: none; }
.timeline li > .timeline-date, .timeline li > h3, .timeline li > p { display: block; }
.timeline li { --card-pad: 24px 28px; }
.timeline li::after {
  content: "";
  position: absolute;
  left: 48px;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 0;
}
.timeline li > * { z-index: 1; padding-left: 28px; padding-right: 28px; }
.timeline li > .timeline-date { padding-top: 22px; }
.timeline li > p { padding-bottom: 22px; margin: 0; }
.timeline-date {
  margin-bottom: 4px;
}
.timeline li h3 { margin-bottom: 6px; }
.timeline li.timeline-now::before { background: var(--accent); border-color: var(--amber); }
.timeline li.timeline-now::after { background: var(--navy); }

/* Sidebar */
.sidebar { display: grid; gap: 24px; position: sticky; top: 108px; }
.side-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  border-top: 4px solid var(--accent);
}
.side-card h4 { margin-bottom: 16px; }
.side-links li { border-bottom: 1px solid var(--border); }
.side-links li:last-child { border-bottom: 0; }
.side-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: var(--navy);
}
.side-links a::after { content: "\2192"; color: var(--accent); }
.side-links a:hover, .side-links a.current { color: var(--accent); }

.side-card-dark { background: var(--navy); border-top-color: var(--amber); }
.side-contact { margin-bottom: 22px; }
.side-contact li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); word-break: break-word; }
.side-contact li span {
  display: block;
}
.side-contact a:hover { color: var(--amber); }

.side-card-amber { background: var(--amber); border-top-color: var(--navy); }
.btn-block { display: flex; width: 100%; white-space: normal; text-align: center; }

/* ---------- Feature Cards (light) ---------- */
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--accent);
}
.feature-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--amber);
  margin-bottom: 22px;
}
.feature-icon svg { width: 36px; height: 36px; }
.feature-card p { margin: 0; }

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative;
  background-color: var(--navy);
  isolation: isolate;
  padding: 90px 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11,22,36,.96) 0%, rgba(11,22,36,.85) 60%, rgba(242,107,29,.55) 100%);
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 640px; min-width: 0; }
.cta-band p:not(.eyebrow) { margin: 0; }

/* ---------- Inner Template: Responsive ---------- */
@media (max-width: 1100px) {
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .card-grid.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .page-header-inner { padding: 64px 24px 80px; }
  .stat-band-grid { grid-template-columns: 1fr 1fr; }
  .stat-band-item { padding: 28px 12px; }
  .stat-band-item:nth-child(2) { border-right: 0; }
  .stat-band-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .card-grid.three { grid-template-columns: 1fr; }
  .timeline li > * { padding-left: 20px; padding-right: 20px; }
  .cta-band { padding: 70px 0; }
  .cta-band .btn-row { width: 100%; }
  .cta-band .btn { flex: 1 1 100%; }
}

/* ---------- Content Figure (inner pages) ---------- */
.content-figure { margin: 0 0 44px; }
.content-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.content-figure figcaption {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}

/* Photo positioning on the About page */
.page-header .section-bg { object-position: center; }
.intro-inner .split-media img { object-position: 50% 60%; }

/* =========================================================
   TYPOGRAPHY SYSTEM
   Every piece of text on the site uses ONE of these styles.
   To add new text: pick a style, add the selector to its list.
   ========================================================= */

/* ----- Headings (Barlow Condensed, uppercase) ----- */
h1, h2, h3, h4, .display {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ink);
  margin: 0 0 .5em;
}
.display, .hero h1 { font-size: var(--fs-display); font-weight: 800; line-height: .95; }
h1                  { font-size: var(--fs-h1);      font-weight: 800; line-height: .95; }
h2                  { font-size: var(--fs-h2);      font-weight: 700; line-height: 1.05; }
h3                  { font-size: var(--fs-h3);      font-weight: 700; line-height: 1.1; }
h4                  { font-size: var(--fs-h4);      font-weight: 700; line-height: 1.2; letter-spacing: 1px; }

/* ----- Lead (intro paragraph under a heading) ----- */
.lead, .hero-lead, .page-lead, .section-head p, .content-lead,
.feature-banner p, .hiring p, .cta-band p {
  font-size: var(--fs-lead);
  line-height: 1.6;
}

/* ----- Body Strong (emphasized body text, contact details) ----- */
.text-strong, .check-list li, .topbar-info a, .contact-list a,
.contact-list span:not(.ci-label), .side-contact li, .hiring p a, .cta-band p a {
  font-weight: 600;
  color: var(--ink);
}
.hiring p a, .cta-band p a { text-decoration: underline; text-underline-offset: 3px; }

/* ----- Small (fine print) ----- */
.small, .form-note, .topbar, .footer-bottom, .content-figure figcaption, .side-contact a[href^="mailto"], .footer-contact a[href^="mailto"] {
  font-size: var(--fs-small);
  line-height: 1.55;
}

/* ----- Label (Barlow Condensed, uppercase, spaced) ----- */
.label, .eyebrow, .timeline-date, .ci-label, .side-contact li span, .tag, .breadcrumb, .field label,
.hero-tags li, .pill-list li, .stat span, .stat-band-item span, .media-badge span {
  font-family: var(--font-head);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.3;
}
.label, .eyebrow, .timeline-date, .ci-label, .side-contact li span, .breadcrumb, .field label,
.hero-tags li, .pill-list li, .stat span, .stat-band-item span, .media-badge span {
  color: var(--accent);
}
.tag { color: var(--white); }

/* ----- UI (buttons, menus, text links) ----- */
.ui, .btn, .main-nav a, .side-links a, .link-arrow, .link-card {
  font-family: var(--font-head);
  font-size: var(--fs-ui);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.2;
}
.btn { line-height: 1; }

/* ----- Stat (big numbers) ----- */
.stat-num, .stat strong, .stat-band-item strong, .media-badge strong, .offer-num {
  font-family: var(--font-head);
  font-size: var(--fs-stat);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.offer-num { color: var(--white); }

/* =========================================================
   SURFACES — set text colors by background.
   Add ONE surface class to any section or card:
     (none)          light background: Ink headings, Slate text, Orange labels
     .surface-dark   navy/photo background: White headings, Mist text, Amber labels
     .surface-amber  amber background: everything Ink
     .surface-accent orange background: everything White
     .surface-light  resets to light inside a dark section
   ========================================================= */
.surface-dark { color: var(--mist); }
.surface-dark :is(h1, h2, h3, h4, .display, .stat-num, .text-strong, .check-list li, .topbar-info a,
  .contact-list a, .contact-list span:not(.ci-label), .side-contact li, .hiring p a, .cta-band p a) { color: var(--white); }
.surface-dark :is(.label, .eyebrow, .timeline-date, .ci-label, .side-contact li span, .breadcrumb,
  .hero-tags li, .pill-list li, .stat span, .stat-band-item span, .media-badge span, .media-badge strong) { color: var(--amber); }
.surface-dark .breadcrumb a { color: var(--white); }

.surface-amber, .surface-amber :is(h1, h2, h3, h4, p, .label, .eyebrow, .text-strong) { color: var(--ink); }

.surface-accent, .surface-accent :is(h1, h2, h3, h4, p, .label, .eyebrow, .stat-band-item strong, .stat-band-item span) { color: var(--white); }

.surface-light { color: var(--slate); }
.surface-light :is(h1, h2, h3, h4, .stat-num, .stat strong, .text-strong) { color: var(--ink); }
.surface-light :is(.label, .eyebrow, .stat span) { color: var(--accent); }

/* Accent word inside a heading */
.accent { color: var(--accent); }

/* Links in body copy keep their surface color; hover goes to the accent */
.surface-dark a:not(.btn):hover { color: var(--amber); }

/* =========================================================
   INNER PAGE COMPONENTS (forms, steps, links, long text)
   All text uses the Typography System above.
   ========================================================= */

/* Stacked content blocks inside the main column */
.content-block + .content-block { margin-top: 64px; }
.content-block > p:not(.eyebrow):not(.label) { color: var(--slate); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.content-main .card-grid { margin-top: 8px; }
.content-main .feature-card { padding: 30px 26px; }
.content-main .pill-list { margin-bottom: 0; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li {
  position: relative;
  counter-increment: step;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px 24px 92px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 26px;
  top: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-head);
  font-size: var(--fs-ui);
  font-weight: 700;
  letter-spacing: 1px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; }
.steps .btn { margin-top: 16px; }

/* Link cards (external links, downloads) */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.link-card::after { content: "\2197"; color: var(--accent); }
.link-card:hover { border-left-color: var(--amber); background: var(--light); }

/* Media cards (videos & articles) */
.media-card { display: flex; flex-direction: column; }
.media-card h3 { margin-bottom: 18px; }
.media-card .link-arrow { margin-top: auto; }

/* Info row (hours, quick facts on light background) */
.info-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.info-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; border-top: 4px solid var(--accent); }
.info-item .label { display: block; margin-bottom: 6px; }
.info-item p { margin: 0; }

/* Forms */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--ink);
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 13px 16px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f26b1d' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(242,107,29,.15);
}
.field ::placeholder { color: #8a96a6; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.form-note { margin: 0; }

/* Long-form text (legal pages) */
.prose { max-width: 860px; }
.prose ul, .prose ol { list-style: disc; padding-left: 22px; margin: 0 0 1.1em; }
.prose h3 { margin-top: 1.6em; }
.paste-area {
  border: 2px dashed var(--accent);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 48px 36px;
  text-align: center;
}
.paste-area p { margin: 0; }

@media (max-width: 720px) {
  .card-grid.two { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .steps li { padding: 84px 20px 22px; }
  .steps li::before { left: 20px; top: 22px; }
  .form-actions .btn { width: 100%; }
}

/* Form header */
.form-card > h3 { margin-bottom: 4px; }
.form-intro { margin-bottom: 26px; }
.form-intro .req { color: var(--accent); }

/* Hours list inside a sidebar card */
.side-hours li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.side-hours li span { color: var(--slate); }

/* Full-width map band */
.map-band { line-height: 0; border-top: 6px solid var(--accent); }
.map-band iframe { width: 100%; height: 440px; border: 0; }

/* Small-screen safety for inner page grids */
.info-row { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.link-grid { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.stat-band-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .content-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .stat-band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .stat-band-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-band-item { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.22); }
  .stat-band-item:last-child { border-bottom: 0; }
}
.steps li, .content-block { min-width: 0; }
.content-main a[href^="mailto"] { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .steps .btn, .content-block .btn { white-space: normal; text-align: center; }
}
.form-card + .content-block { margin-top: 64px; }

/* Logo image */
.logo img { display: block; height: auto; max-height: 60px; width: auto; max-width: 280px; }
@media (max-width: 720px) {
  .logo img { max-height: 48px; max-width: 200px; }
}

/* =========================================================
   FULL-WIDTH CONTENT (no sidebar)
   ========================================================= */
.content-full .content-figure img { aspect-ratio: 21 / 9; }
.content-full .content-lead { max-width: none; }

/* Alternating timeline: cards left and right of a center line (desktop) */
@media (min-width: 961px) {
  .timeline-alt::before { left: calc(50% - 1.5px); }
  .timeline-alt li { width: calc(50% - 40px); padding: 0; }
  .timeline-alt li::after { left: 0; }
  .timeline-alt li:nth-child(odd) { margin-right: auto; }
  .timeline-alt li:nth-child(even) { margin-left: auto; }
  .timeline-alt li + li { margin-top: -36px; }
  .timeline-alt li:nth-child(odd)::before { left: calc(100% + 29.5px); }
  .timeline-alt li:nth-child(even)::before { left: -50.5px; }
}
@media (max-width: 720px) {
  .content-full .content-figure img { aspect-ratio: 16 / 9; }
}

/* Steps side by side on full-width pages */
.content-full .steps { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.content-full .steps li { display: flex; flex-direction: column; align-items: flex-start; padding: 88px 28px 28px; }
.content-full .steps li::before { left: 28px; top: 26px; }
.content-full .steps .btn { margin-top: auto; }
.content-full .steps p + .btn { margin-top: 20px; }

/* =========================================================
   BLOG (News & Links + article pages)
   ========================================================= */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-bottom: 4px solid var(--accent);
  transition: box-shadow .2s;
}
.post-card:hover { box-shadow: var(--shadow-lg); }
.post-card:hover h3 { color: var(--accent); }
.post-card-link { display: flex; flex-direction: column; width: 100%; color: inherit; }
.post-card-media { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-media .tag { position: absolute; left: 16px; top: 16px; margin: 0; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.post-card-body .label { display: block; margin-bottom: 10px; }
.post-card-body h3 { margin-bottom: 10px; transition: color .2s; }
.post-card-body p { margin: 0 0 22px; }
.post-card-body .link-arrow { margin-top: auto; }

/* Article page */
.article { max-width: 880px; margin: 0 auto; }
.video-embed {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin: 16px 0 44px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.article-meta a { color: var(--accent); font-weight: 600; }
.article h3 { margin-top: 1.4em; }
.article .info-row { margin: 26px 0 8px; }
.article .content-figure { margin: 40px 0; }
.article-cta { margin: 44px 0 0; }
.article-back {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.link-arrow.back span { display: inline-block; }

@media (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .content-full .steps li { padding: 84px 22px 24px; }
  .content-full .steps li::before { left: 22px; }
}

/* Latest From STS (Home page) */
.latest-news .split-head { align-items: flex-end; }
.latest-news .split-head p { margin-bottom: 0; }

/* =========================================================
   SPLIT, REVERSED (photo on the right)
   ========================================================= */
.split-reverse .split-media { order: 2; }
.split-reverse .split-media::before { inset: -18px -18px auto auto; }
.split-reverse .media-badge { right: auto; left: -20px; border-left: 0; border-right: 5px solid var(--amber); }

/* Now Hiring (Home) */
.hiring-section .split-content > p { margin-bottom: 26px; }
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 4px; }
.role-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
}
.role-icon {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--amber);
}
.role-icon svg { width: 28px; height: 28px; }
.role-card h4 { margin-bottom: 4px; }
.role-card p { margin: 0; font-size: var(--fs-small); line-height: 1.55; }

@media (max-width: 960px) {
  .split-reverse .split-media { order: 0; }
  .split-reverse .media-badge { left: 16px; }
}
@media (max-width: 720px) {
  .role-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Now Hiring (Home) background */
.hiring-section { background: #f2f3f4; }
.hiring-section .role-card { background: var(--white); box-shadow: var(--shadow); }

/* Article pages: content lines up with the page, sidebar on the right */
.article-section .content-main.article { max-width: none; margin: 0; }
.article-section .video-embed { margin-top: 0; }

/* Footer social icons */
.social-links { display: flex; gap: 12px; }
.social-links li { margin: 0; }
.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  transition: background-color .2s, border-color .2s, color .2s;
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.surface-dark .social-links a:hover { color: var(--white); }
.social-links svg { width: 18px; height: 18px; }

/* Rotating photos (3 photos, 3 seconds each, repeating) */
.slideshow {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}
.split-media .slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  animation: slideshow-fade 9s infinite both;
}
.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 3s; }
.slideshow img:nth-child(3) { animation-delay: 6s; }
@keyframes slideshow-fade {
  0%   { opacity: 0; }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  39%  { opacity: 0; }
  100% { opacity: 0; }
}
.slideshow img:nth-child(1) { animation-name: slideshow-fade-first; }
@keyframes slideshow-fade-first {
  0%   { opacity: 1; }
  33%  { opacity: 1; }
  39%  { opacity: 0; }
  94%  { opacity: 0; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .slideshow img { animation: none; }
  .slideshow img:nth-child(1) { opacity: 1; }
}

/* Orange stat band: 2 columns on tablets so longer words fit */
@media (max-width: 1100px) and (min-width: 421px) {
  .stat-band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band-item:nth-child(2n) { border-right: 0; }
  .stat-band-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
}
.footer-brand .social-links { margin-top: 22px; }

/* Text + photo sections: 4:3 photos, photo side slightly wider (desktop) */
@media (min-width: 961px) {
  .split { grid-template-columns: 1.12fr 1fr; gap: 64px; }
  .split-reverse { grid-template-columns: 1fr 1.12fr; }
}
.split-media { isolation: isolate; }
@media (min-width: 961px) {
  .hiring-section .split-reverse { grid-template-columns: 1.15fr 1fr; }
}

/* Checklist row under an intro (inner pages) */
.check-list.check-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 64px 0 0;
}
.check-row li {
  display: flex;
  align-items: center;
  min-height: 72px;
  background: var(--light);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--accent);
  padding: 16px 20px 16px 56px;
}
.check-row li::before { left: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 960px) {
  .check-list.check-row { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
}
@media (max-width: 480px) {
  .check-list.check-row { grid-template-columns: minmax(0, 1fr); }
  .check-row li { min-height: 0; }
}

/* Intro closes with a navy checklist band (inner pages) */
.intro-inner { padding-bottom: 0; }
.intro-band {
  margin-top: 88px;
  background: var(--navy);
  border-top: 4px solid var(--accent);
}
.intro-band .check-list.check-row { margin: 0; gap: 0; }
.intro-band .check-row li {
  background: transparent;
  border-radius: 0;
  border-bottom: 0;
  border-right: 1px solid rgba(255,255,255,.12);
  min-height: 100px;
  padding: 26px 24px 26px 64px;
}
.intro-band .check-row li:last-child { border-right: 0; }
.intro-band .check-row li::before { left: 24px; background: var(--amber); color: var(--navy); }

@media (max-width: 960px) {
  .intro-band { margin-top: 64px; }
  .intro-band .check-row li:nth-child(2n) { border-right: 0; }
  .intro-band .check-row li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .intro-band .check-row li { min-height: 84px; }
}
@media (max-width: 480px) {
  .intro-band .check-row li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); min-height: 0; padding: 20px 20px 20px 60px; }
  .intro-band .check-row li:last-child { border-bottom: 0; }
  .intro-band .check-row li::before { left: 20px; }
}

/* Top bar on phones: smaller hiring button with breathing room */
@media (max-width: 720px) {
  .topbar-inner { min-height: 0; padding-top: 8px; padding-bottom: 8px; }
  .topbar .btn-sm { font-size: var(--fs-ui-sm); padding: 7px 12px; letter-spacing: 1px; }
}
@media (max-width: 720px) {
  .topbar .btn-sm { white-space: nowrap; }
  .topbar-inner { gap: 10px; }
}
@media (max-width: 400px) {
  .topbar .btn-sm { padding: 7px 10px; letter-spacing: .5px; }
  .topbar-info svg { display: none; }
}
@media (max-width: 430px) {
  .topbar-label { display: none; }
  .topbar .btn-sm { letter-spacing: .3px; padding: 7px 9px; }
}
@media (max-width: 350px) {
  .topbar-inner { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
}

/* =========================================================
   CURRENT PAGE IN THE MENU (shared header via SSI)
   Each page sets <body data-page="...">; the matching menu link turns orange.
   ========================================================= */
body[data-page="home"] .main-nav a[href="/index.html"],
body[data-page="about"] .main-nav a[href="/about.html"],
body[data-page="services"] .main-nav a[href="/index.html#services"],
body[data-page="employment"] .main-nav a[href="/employment.html"],
body[data-page="news"] .main-nav a[href="/news-links.html"] { color: var(--accent); }

/* Form spam trap: invisible to people and screen readers */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
