/* ============================================================
   FRC TOWING — DESIGN SYSTEM
   Black / white / sky-blue. One recurring signature: the tow
   dispatch ticket, reused as manifest, roster, coverage log,
   and the request form itself.
   ============================================================ */

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

:root {
  --ink: #16181D;         /* calm charcoal, primary background */
  --panel: #1D2026;       /* ticket / card panel on dark bg */
  --paper: #FFFFFF;       /* content sections */
  --cream: #F4F4F2;       /* alternating band */
  --sky: #38BDF8;         /* the one accent — used for FILLS in both themes */
  --deep: #0C4A6E;        /* text on sky-blue fills — same fill both themes, so this never needs to change */
  --sky-text: #38BDF8;    /* accent used as TEXT (links, badges) — gets a deeper shade in light mode for contrast */
  --text-primary: #ffffff;
  --line: #E5E5E3;        /* hairline on light bg */
  --line-dark: rgba(255,255,255,0.15);
  --line-dark-soft: rgba(255,255,255,0.10);
  --muted: #6B6B6B;       /* secondary text on light bg */
  --white-60: rgba(255,255,255,0.6);
  --white-40: rgba(255,255,255,0.52); /* was 0.4 — bumped for contrast on small mono labels/tags */
  --white-30: rgba(255,255,255,0.42); /* was 0.3 — same reason */

  --font-display: 'Libre Franklin', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 10px;
  --radius-sm: 6px;
}

/* ============================================================
   LIGHT THEME — toggled site-wide from the admin dashboard's
   Settings tab (Appearance). Applied via data-theme="light" on
   <html>, set by the small inline script in every page's <head>
   (before first paint, so there's no flash) and kept in sync
   across pages via the shared "frc-theme" localStorage key. Only
   surfaces/borders/secondary-text flip — accent fills (--sky,
   --deep) stay identical so buttons/chart-fills/dots don't need
   their own light variant.
   ============================================================ */
html[data-theme="light"] {
  --ink: #F4F4F2;
  --panel: #FFFFFF;
  --sky-text: #0369A1;
  --text-primary: #16181D;
  --line-dark: rgba(22,24,29,0.14);
  --line-dark-soft: rgba(22,24,29,0.09);
  --white-60: rgba(22,24,29,0.64);
  --white-40: rgba(22,24,29,0.54);
  --white-30: rgba(22,24,29,0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s ease, color 0.2s ease;
}
@media (prefers-reduced-motion: reduce) { body { transition: none; } }

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

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

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

.mono { font-family: var(--font-mono); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

/* ── Eyebrow / kicker label ─────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--white-40);
  margin-bottom: 8px;
}
.eyebrow.on-dark { color: var(--white-40); }
.eyebrow.accent { color: var(--sky-text); }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sky);
  color: var(--deep);
}
.btn-primary:hover { filter: brightness(0.95); }
.btn-outline-dark {
  border: 1px solid var(--white-30);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline-dark:hover { border-color: var(--white-60); }
.btn-outline-light {
  border: 1px solid var(--white-30);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline-light:hover { border-color: var(--white-60); }
.btn-block { width: 100%; }

/* ── Nav ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
}
.nav.on-light {
  background: var(--paper);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark-soft);
}
.nav.on-light .nav-inner { border-bottom: 1px solid var(--line); }

.nav-logo img { height: 30px; width: auto; }

/* ── Theme-aware logo swap ──────────────────────────────
   Each logo slot (nav, mobile menu, footer) ships both a
   dark-bg logo (white wordmark, default) and a light-bg logo
   (navy wordmark). html[data-theme] — set before first paint,
   see head script — decides which one is visible. */
.logo-dark { display: inline-block; }
.logo-light { display: none; }
html[data-theme="light"] .logo-dark { display: none; }
html[data-theme="light"] .logo-light { display: inline-block; }

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  color: var(--white-60);
  transition: color 0.15s ease;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1.5px; background: var(--sky);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav.on-light .nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text-primary); }
.nav.on-light .nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--sky-text); }

.nav-call {
  background: var(--sky);
  color: var(--deep);
  font-weight: 500;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-call:hover { filter: brightness(0.95); }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
}
.nav.on-light .hamburger span { background: var(--ink); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

/* ── Mobile menu ────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark-soft);
  margin-bottom: 24px;
}
.mobile-menu-header img { height: 26px; }
.mobile-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
}
.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-links a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--line-dark-soft);
}
.mobile-menu-cta { margin-top: 24px; }
.mobile-menu-cta p {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--white-40);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

/* ============================================================
   THE TICKET — signature element, reused with different
   content everywhere: hero (live job), roster (dark card),
   coverage log, request form, dispatch confirmation.
   ============================================================ */
.ticket {
  background: var(--panel);
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--white-60);
}
.ticket-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.ticket-top {
  border-bottom: 1px dashed var(--line-dark-soft);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.ticket-bottom { color: var(--white-40); }
.ticket .accent { color: var(--sky-text); }

.ticket-dashed {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ── Page hero band (dark) ─────────────────────────── */
.page-hero {
  background: var(--ink);
  color: var(--text-primary);
  padding: 44px 0 36px;
}
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  max-width: 640px;
}
.page-hero p.lede {
  color: var(--white-60);
  max-width: 480px;
  margin-top: 12px;
  line-height: 1.6;
  font-size: 15px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(56,189,248,0.5);
  color: var(--sky-text);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sky); display: inline-block;
}

/* ── Section rhythm ─────────────────────────────────── */
.section { padding: 64px 0; }
.section-sm { padding: 44px 0; }
.section.on-dark { background: var(--ink); color: var(--text-primary); }
.section.on-panel { background: var(--panel); color: var(--text-primary); }
.section.on-cream { background: var(--cream); }
.section.on-panel .section-head p,
.section.on-panel .eyebrow.on-dark { color: var(--white-60); }

.section-head { margin-bottom: 36px; max-width: 620px; }
.section-head h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  margin-top: 6px;
}
.section-head p {
  color: var(--white-60);
  margin-top: 10px;
  line-height: 1.6;
  font-size: 15px;
}

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Photo slots — duotone-to-colour reveal, corner-bracket
   frame and an expand hint, click/keyboard-openable into the
   page lightbox (see .lightbox below and js/main.js) ─── */
.photo-slot {
  background: var(--panel);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}
.photo-slot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(14px) grayscale(1) contrast(1.1);
  opacity: 0;
}
.photo-slot img.is-loaded {
  filter: grayscale(1) contrast(1.1);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .photo-slot img { filter: grayscale(1) contrast(1.1); opacity: 1; }
}
.photo-slot .photo-tint {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(56,189,248,0.12), rgba(0,0,0,0.3));
  pointer-events: none;
}
.photo-slot .photo-label {
  position: relative;
  text-align: center;
  color: var(--white-40);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 0 16px;
}
.photo-slot .photo-label .sub { font-size: 9px; margin-top: 4px; }

/* Corner-bracket frame — a targeting-reticle accent that draws in on
   hover/focus, reinforcing the "dispatch" visual language elsewhere
   (icon-crosshair, radar-style marks) without any extra markup. */
.photo-slot.is-lightboxable { cursor: pointer; }
.photo-slot.is-lightboxable::before,
.photo-slot.is-lightboxable::after,
.photo-slot.is-lightboxable .photo-tint::before,
.photo-slot.is-lightboxable .photo-tint::after {
  content: ''; position: absolute; width: 16px; height: 16px;
  border: 1.5px solid var(--sky); opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none; z-index: 2;
}
.photo-slot.is-lightboxable::before { top: 8px; left: 8px; border-right: none; border-bottom: none; transform: translate(4px, 4px); }
.photo-slot.is-lightboxable::after { top: 8px; right: 8px; border-left: none; border-bottom: none; transform: translate(-4px, 4px); }
.photo-slot.is-lightboxable .photo-tint::before { bottom: 8px; left: 8px; border-right: none; border-top: none; transform: translate(4px, -4px); }
.photo-slot.is-lightboxable .photo-tint::after { bottom: 8px; right: 8px; border-left: none; border-top: none; transform: translate(-4px, -4px); }
.photo-slot.is-lightboxable:hover::before,
.photo-slot.is-lightboxable:hover::after,
.photo-slot.is-lightboxable:hover .photo-tint::before,
.photo-slot.is-lightboxable:hover .photo-tint::after,
.photo-slot.is-lightboxable:focus-visible::before,
.photo-slot.is-lightboxable:focus-visible::after,
.photo-slot.is-lightboxable:focus-visible .photo-tint::before,
.photo-slot.is-lightboxable:focus-visible .photo-tint::after {
  opacity: 1; transform: translate(0, 0);
}
.photo-slot.is-lightboxable:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }

/* Auto-generated caption bar (from the image's alt text) that slides
   up on hover/focus; skipped where a page already shows its own
   caption (.photo-label or a figure with .thumb-caption). */
.photo-slot-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 8px 12px 9px;
  background: linear-gradient(0deg, rgba(0,0,0,0.82), transparent);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.photo-slot.is-lightboxable:hover .photo-slot-caption,
.photo-slot.is-lightboxable:focus-visible .photo-slot-caption {
  transform: translateY(0);
}

/* ── Dual audience cards (home) ─────────────────────── */
.audience-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
.audience-card {
  background: var(--panel);
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.audience-card.is-accent { border-color: rgba(56,189,248,0.4); }
.audience-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--sky-text);
  border: 1px solid rgba(56,189,248,0.4);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 14px;
}
.audience-card h3 { font-size: 20px; margin-bottom: 8px; }
.audience-card p { color: var(--white-60); font-size: 14px; line-height: 1.6; }
.audience-link {
  font-size: 13px;
  color: var(--sky-text);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Manifest (services list) ───────────────────────── */
.manifest { border-top: 1px solid var(--line-dark-soft); }
.manifest-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark-soft);
}
.manifest-thumb {
  width: 76px; height: 56px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.manifest-title { font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.manifest-desc { font-size: 13.5px; color: var(--white-60); margin-top: 3px; max-width: 480px; line-height: 1.55; }
.manifest-line {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sky-text);
  border: 1px solid var(--sky);
  border-radius: 4px;
  padding: 4px 9px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Service detail blocks (services.html) ─────────── */
.svc-detail { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 800px) { .svc-detail { grid-template-columns: 1fr 1fr; gap: 48px; } }
.svc-detail.reverse .svc-detail-media { order: -1; }
@media (min-width: 800px) { .svc-detail.reverse .svc-detail-media { order: 2; } }
.svc-detail-media .photo-slot { min-height: 220px; }
.svc-detail-body .eyebrow { margin-bottom: 6px; }
.svc-detail-body h2 { font-size: 26px; margin-bottom: 12px; }
.svc-detail-body p.desc { color: var(--white-60); line-height: 1.65; font-size: 15px; margin-bottom: 16px; }

.check-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--white-60); line-height: 1.5;
}
.check-list .chk {
  color: var(--sky-text); font-family: var(--font-mono); font-size: 12px;
  flex-shrink: 0; margin-top: 2px;
}

.capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.capability-card {
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.capability-card .name { font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.capability-card .use { font-size: 12px; color: var(--white-60); margin-top: 3px; }
.capability-card .num { font-family: var(--font-mono); font-size: 10px; color: var(--sky-text); }

/* ── Roster (dark card — about page, fleet) ─────────── */
.roster {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text-primary);
}
.roster-title { font-family: var(--font-mono); font-size: 11px; color: var(--white-40); letter-spacing: 0.04em; margin-bottom: 12px; }
.roster-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-dark-soft);
  color: var(--white-60);
}
.roster-row:last-child { border-bottom: none; }
.roster-row .status { color: var(--sky-text); }
.roster-row .spec { color: var(--white-40); }

/* ── Values / capability cards ──────────────────────── */
.value-card {
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.value-card .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sky-text);
  margin-bottom: 10px;
}
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { color: var(--white-60); font-size: 14px; line-height: 1.6; }

/* ── Compliance ledger (about) ──────────────────────── */
.ledger { border-top: 1px solid var(--line-dark-soft); }
.ledger-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line-dark-soft);
  gap: 16px; flex-wrap: wrap;
}
.ledger-val { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.ledger-label { font-size: 13px; color: var(--white-40); font-family: var(--font-mono); }

/* ── Fleet cards (about) ─────────────────────────────── */
.fleet-card {
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.fleet-card .photo-slot { border-radius: 0; min-height: 140px; }
.fleet-card-body { padding: 16px; }
.fleet-card-body .name { font-family: var(--font-display); font-weight: 500; font-size: 17px; }
.fleet-card-body .spec { font-family: var(--font-mono); font-size: 11px; color: var(--sky-text); display: block; margin: 4px 0 8px; }
.fleet-card-body .use { font-size: 13px; color: var(--white-60); line-height: 1.5; }

/* ── Coverage log (coverage.html) ───────────────────── */
.area-card {
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius);
  padding: 18px;
}
.area-card .area-name {
  font-family: var(--font-display); font-weight: 500; font-size: 16px; color: var(--text-primary);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.area-card .area-name .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); flex-shrink: 0; }
.area-suburbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.area-suburbs li {
  font-family: var(--font-mono); font-size: 11px; color: var(--white-60);
}
.area-suburbs li::before { content: '·'; margin-right: 6px; color: var(--white-30); }
.area-suburbs li:first-child::before { content: ''; margin-right: 0; }

.highway-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius); padding: 16px;
}
.highway-note .mono-tag {
  font-family: var(--font-mono); font-size: 10px; color: var(--sky-text);
  border: 1px solid var(--sky); border-radius: 4px; padding: 3px 7px; flex-shrink: 0; white-space: nowrap;
}
.highway-note p { font-size: 13.5px; color: var(--white-60); line-height: 1.55; }
.highway-note .title { color: var(--text-primary); font-weight: 500; margin-bottom: 3px; font-size: 14px; }

/* ── Partner type cards ─────────────────────────────── */
.partner-card {
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.partner-card .tag { font-family: var(--font-mono); font-size: 10.5px; color: var(--sky-text); margin-bottom: 10px; display: block; }
.partner-card h3 { font-size: 17px; margin-bottom: 8px; }
.partner-card p { font-size: 13.5px; color: var(--white-60); line-height: 1.6; }

/* ── Forms — styled as tickets you fill in ──────────── */
.form-ticket {
  border: 1px dashed var(--line-dark-soft);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
}
.form-ticket-head {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: var(--white-40);
  border-bottom: 1px dashed var(--line-dark-soft);
  padding-bottom: 12px; margin-bottom: 18px;
  flex-wrap: wrap; gap: 8px;
}

.field-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
@media (min-width: 560px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block; font-size: 12.5px; color: var(--white-60); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 16px; /* 16px+ stops iOS Safari from auto-zooming the page on focus */
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-primary);
}
.field textarea { resize: vertical; min-height: 80px; }
.field-error {
  font-size: 11.5px; color: #e0525a; margin-top: 4px; display: none;
}
.field-error.is-visible { display: block; }
.field-error.is-success { color: var(--sky-text); }
.field input.field-invalid, .field select.field-invalid, .field textarea.field-invalid {
  border-color: #e0525a;
}
.field-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.gps-btn {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--sky-text);
  background: none; border: none; cursor: pointer;
  padding: 12px 10px; margin: -12px -10px; /* invisible tap-target padding, offset so it doesn't shift layout */
}

.address-suggestions {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  margin-top: 4px;
  background: var(--panel);
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius-sm);
  max-height: 240px;
  overflow-y: auto;
  z-index: 30;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.address-suggestions.is-visible { display: block; }
.address-suggestion {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-dark-soft);
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font-body);
  padding: 10px 13px;
  cursor: pointer;
}
.address-suggestion:last-child { border-bottom: none; }
.address-suggestion:hover,
.address-suggestion:focus,
.address-suggestion.is-active {
  background: rgba(56,189,248,0.10);
  color: var(--sky-text);
}
.address-suggestion-note {
  padding: 10px 13px;
  font-size: 12px;
  color: var(--white-40);
}

.form-success { text-align: center; padding: 12px 0 4px; display: none; }
.form-success.is-visible { display: block; }
.form-success .ticket-num {
  display: inline-block; font-family: var(--font-mono); font-size: 15px;
  color: var(--sky-text); border: 1px solid var(--sky); border-radius: var(--radius-sm);
  padding: 8px 16px; margin: 12px 0 20px;
}
.form-success h3 { font-size: 20px; margin-bottom: 6px; }
.form-success p { color: var(--white-60); font-size: 14px; }
.form-success .safety-note {
  background: rgba(56,189,248,0.06);
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: var(--radius-sm);
  padding: 13px 15px; margin: 18px 0; text-align: left;
  font-size: 12.5px; color: var(--white-60); line-height: 1.55;
}
.reset-link {
  background: none; border: none; color: var(--white-40);
  font-size: 12px; cursor: pointer; margin-top: 10px;
}

/* ── Interactive advisor (services.html) ────────────── */
.advisor-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.adv-btn {
  font-family: var(--font-mono); font-size: 12px;
  border: 1px solid var(--line-dark-soft); background: var(--panel); color: var(--white-60);
  border-radius: var(--radius-sm); padding: 8px 14px; cursor: pointer;
  transition: all 0.15s ease;
}
.adv-btn.is-active, .adv-btn:hover {
  border-color: var(--sky-text); color: var(--sky-text); background: rgba(56,189,248,0.1);
}
.advisor-box {
  background: var(--ink); color: var(--text-primary);
  border-radius: var(--radius); padding: 24px;
}
.advisor-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.advisor-head .title { font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.eta-tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--sky-text);
  border: 1px solid var(--sky); border-radius: 4px; padding: 4px 9px;
}
.advisor-rec { color: var(--white-60); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.advisor-note {
  font-family: var(--font-mono); font-size: 12px; color: var(--white-40);
  border-top: 1px dashed var(--line-dark-soft); padding-top: 14px; margin-bottom: 18px; line-height: 1.6;
}
.advisor-note strong { color: var(--white-60); }
.advisor-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.advisor-actions .sub { font-size: 12.5px; color: var(--white-40); }

/* ── Pricing (rate structure) ───────────────────────── */
.rate-row {
  display: flex; gap: 20px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line-dark-soft);
}
.rate-row:last-of-type { border-bottom: none; }
.rate-num { font-family: var(--font-mono); font-size: 13px; color: var(--sky-text); flex-shrink: 0; width: 28px; }
.rate-title { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--text-primary); }
.rate-desc { font-size: 13.5px; color: var(--white-60); margin-top: 3px; line-height: 1.55; }
.pricing-note { font-size: 12px; color: var(--white-40); margin-top: 20px; line-height: 1.6; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--line-dark-soft); padding: 16px 0; }
.faq-q { font-family: var(--font-display); font-weight: 500; font-size: 15.5px; margin-bottom: 6px; }
.faq-a { font-size: 13.5px; color: var(--white-60); line-height: 1.6; }

/* ── Contact cards ───────────────────────────────────── */
.contact-card {
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
}
.contact-card.is-primary { border-color: rgba(56,189,248,0.4); background: rgba(56,189,248,0.05); }
.contact-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.contact-card-head .title { font-family: var(--font-display); font-weight: 500; font-size: 15.5px; }
.contact-card-head .active-tag {
  font-family: var(--font-mono); font-size: 10px; color: var(--sky-text);
  border: 1px solid var(--sky); border-radius: 4px; padding: 3px 8px;
}
.contact-card p.desc { font-size: 13px; color: var(--white-60); margin-bottom: 14px; line-height: 1.55; }
.contact-card-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.contact-val { font-family: var(--font-mono); font-size: 14px; color: var(--text-primary); }

.office-info {
  border: 1px solid var(--line-dark-soft); border-radius: var(--radius);
  padding: 18px; margin: 24px 0;
}
.office-info h4 { font-size: 15px; margin-bottom: 12px; }
.office-row { display: flex; gap: 10px; font-size: 13.5px; color: var(--white-60); padding: 5px 0; }
.office-row strong { color: var(--text-primary); font-weight: 500; }
.office-note { font-size: 11.5px; color: var(--white-40); font-style: italic; margin-top: 10px; line-height: 1.55; }

/* ── Map ─────────────────────────────────────────────── */
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark-soft); }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }
.map-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: var(--text-primary);
  font-family: var(--font-mono); font-size: 11px;
  padding: 7px 12px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 8px;
}
.map-address { font-family: var(--font-mono); font-size: 13px; color: var(--white-60); margin-bottom: 16px; }

/* ── Footer ──────────────────────────────────────────── */
footer {
  background: var(--ink); color: var(--white-60);
  padding: 48px 0 24px; border-top: 1px solid var(--line-dark-soft);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 24px; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: var(--white-40); max-width: 280px; line-height: 1.6; }
.footer-emergency { margin-top: 14px; font-family: var(--font-mono); font-size: 12.5px; color: var(--sky-text); }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--white-40); font-weight: 400; margin-bottom: 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13.5px; color: var(--white-60); }
.footer-col a:hover { color: var(--text-primary); }
.footer-contact-item { font-size: 13px; color: var(--white-60); margin-bottom: 8px; display: flex; gap: 8px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark-soft); padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--white-30);
}

/* ── Sticky mobile call bar ──────────────────────────── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: var(--sky); color: var(--deep);
  text-align: center; padding: 14px; font-weight: 500; font-size: 14px;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
@media (min-width: 900px) { .sticky-cta { display: none; } }
body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* utility */
.mt-8 { margin-top: 32px; }
.mt-6 { margin-top: 24px; }
.text-center { text-align: center; }
.max-w-prose { max-width: 620px; }

/* ============================================================
   ICONS — custom line-icon system, feather-style, no emoji,
   no cartoon/animated packs. Sized and colored via CSS only.
   ============================================================ */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -4px;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 36px; height: 36px; }
.icon-sky { color: var(--sky-text); }
.icon-white { color: var(--text-primary); }
.icon-white-60 { color: var(--white-60); }
.icon-muted { color: var(--muted); }
.icon-ink { color: var(--ink); }
.icon-deep { color: var(--deep); }

.icon-badge {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-badge.on-dark { background: rgba(56,189,248,0.08); border: 1px solid rgba(56,189,248,0.25); }
.icon-badge.on-light { background: rgba(11,11,12,0.04); border: 1px solid var(--line); }
.icon-badge.on-sky { background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.3); }

/* ============================================================
   HERO LOAD-IN — the hero is already in view on first paint, so it
   gets its own one-time, staggered fade+rise on load rather than a
   scroll trigger. Same easing/restraint as .reveal below.
   ============================================================ */
@keyframes frc-hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-in { opacity: 0; animation: frc-hero-in 0.7s cubic-bezier(.21,.9,.32,1) forwards; }
.hero-in-1 { animation-delay: 0.05s; }
.hero-in-2 { animation-delay: 0.15s; }
.hero-in-3 { animation-delay: 0.25s; }
.hero-in-4 { animation-delay: 0.35s; }
.hero-in-5 { animation-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) { .hero-in { opacity: 1; animation: none; } }

/* Same treatment, applied automatically to every inner-page hero
   (eyebrow → h1 → lede) with no markup changes needed. Excludes
   elements already carrying an explicit .hero-in class (Home's
   hero, which has extra elements and its own stagger above). */
.page-hero .eyebrow:not(.hero-in),
.page-hero h1:not(.hero-in),
.page-hero p.lede:not(.hero-in) {
  opacity: 0;
  animation: frc-hero-in 0.7s cubic-bezier(.21,.9,.32,1) forwards;
}
.page-hero .eyebrow:not(.hero-in) { animation-delay: 0.05s; }
.page-hero h1:not(.hero-in) { animation-delay: 0.15s; }
.page-hero p.lede:not(.hero-in) { animation-delay: 0.25s; }
@media (prefers-reduced-motion: reduce) {
  .page-hero .eyebrow, .page-hero h1, .page-hero p.lede { opacity: 1; animation: none; }
}

/* ============================================================
   SCROLL REVEAL — orchestrated, restrained. One fade+rise per
   element the first time it enters view.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(.21,.9,.32,1), transform 0.7s cubic-bezier(.21,.9,.32,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.08s; }
.reveal-delay-2.is-visible { transition-delay: 0.16s; }
.reveal-delay-3.is-visible { transition-delay: 0.24s; }
.reveal-delay-4.is-visible { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Pulse (status dot, live ticket) ─────────────────── */
@keyframes frc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(56,189,248,0.55); }
  70% { box-shadow: 0 0 0 7px rgba(56,189,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); }
}
.status-dot { animation: frc-pulse 2.2s infinite; }
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

/* ── Card hover lift ──────────────────────────────────── */
.value-card, .partner-card, .fleet-card, .audience-card,
.area-card, .contact-card, .manifest-row, .capability-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover, .partner-card:hover, .capability-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56,189,248,0.4);
}
.fleet-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.audience-card:hover { transform: translateY(-3px); border-color: rgba(56,189,248,0.45); }
.area-card:hover { transform: translateY(-2px); border-color: rgba(56,189,248,0.35); }
.contact-card:hover { transform: translateY(-2px); border-color: rgba(56,189,248,0.35); }
.manifest-row:hover { background: rgba(56,189,248,0.03); }
.manifest-row:hover .manifest-line { background: var(--sky); color: var(--deep); }

/* A card's icon-badge nudges up a touch on hover — small enough to read
   as a response, not a gimmick. */
.value-card .icon-badge, .partner-card .icon-badge, .capability-card .icon-badge,
.audience-card .icon-badge, .contact-card .icon-badge {
  transition: transform 0.25s ease, background 0.25s ease;
}
.value-card:hover .icon-badge, .partner-card:hover .icon-badge, .capability-card:hover .icon-badge,
.audience-card:hover .icon-badge, .contact-card:hover .icon-badge {
  transform: translateY(-2px);
}

.btn { transition: filter 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.btn:active { transform: scale(0.98); }

/* ============================================================
   PHOTO SYSTEM — every image slot gets the same hover
   treatment so real photography drops straight in.
   ============================================================ */
.photo-slot {
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.photo-slot img { transition: transform 0.6s cubic-bezier(.21,.9,.32,1), filter 0.5s ease, opacity 0.5s ease; }
.photo-slot:hover img,
.photo-slot:focus-visible img { transform: scale(1.06); filter: grayscale(0.15) contrast(1.05); }
.photo-slot .photo-tint { transition: background 0.4s ease; }
.photo-slot:hover .photo-tint,
.photo-slot:focus-visible .photo-tint { background: linear-gradient(160deg, rgba(56,189,248,0.15), rgba(0,0,0,0.1)); }
@media (prefers-reduced-motion: reduce) {
  .photo-slot img { transition: filter 0.3s ease; }
  .photo-slot:hover img, .photo-slot:focus-visible img { transform: none; }
}

/* ── Photo gallery / mosaic grids ───────────────────────── */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 720px) { .gallery-strip { grid-template-columns: repeat(4, 1fr); } }
.gallery-strip .photo-slot { aspect-ratio: 4/5; border-radius: var(--radius); }
.gallery-strip figcaption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--white-40);
  letter-spacing: 0.02em;
}
.gallery-strip figure { margin: 0; }

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, 140px);
  gap: 10px;
}
@media (min-width: 720px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-template-rows: 110px 110px; }
  .mosaic .m-big { grid-column: span 2; grid-row: span 2; }
}
.mosaic .photo-slot { height: 100%; border-radius: var(--radius); }

.thumb-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 560px) { .thumb-row { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 980px) { .thumb-row { grid-template-columns: repeat(6, 1fr); } }
.thumb-row .photo-slot { aspect-ratio: 4/3; border-radius: 10px; min-height: 0; }
.thumb-row .photo-slot .icon { width: 26px; height: 26px; }
.thumb-row .photo-slot .photo-label { font-size: 8px; }
.thumb-caption {
  text-align: center; font-family: var(--font-mono); font-size: 11px;
  color: var(--white-40); margin-top: 6px;
}

/* ============================================================
   PHOTO LIGHTBOX — click/keyboard-openable full-size viewer for
   every .photo-slot on the page (built + injected by js/main.js).
   The Services page photo reel is untouched and separate.
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
.lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(9,10,13,0.92);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
body.lightbox-lock { overflow: hidden; }
.lightbox-stage {
  position: relative; z-index: 1;
  width: min(92vw, 1100px); max-height: 88vh;
  display: flex; flex-direction: column; align-items: center;
  transform: scale(0.97); transition: transform 0.25s ease;
}
.lightbox.is-open .lightbox-stage { transform: scale(1); }
.lightbox-img {
  max-width: 100%; max-height: 74vh; object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: #1D2026;
}
.lightbox-caption {
  margin-top: 14px; color: rgba(255,255,255,0.6);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em;
  text-align: center; max-width: 640px;
}
.lightbox-count {
  position: absolute; top: -34px; left: 0;
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.52); letter-spacing: 0.05em;
}
.lightbox-close {
  position: absolute; top: -34px; right: 0;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(255,255,255,0.10); border-radius: 6px;
  color: #fff; font-size: 13px; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lightbox-close:hover, .lightbox-close:focus-visible { border-color: var(--sky); background: rgba(56,189,248,0.1); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(15,17,22,0.6); border: 1px solid rgba(255,255,255,0.10);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lightbox-nav:hover, .lightbox-nav:focus-visible { border-color: var(--sky); background: rgba(56,189,248,0.15); }
.lightbox-nav.prev { left: -8px; }
.lightbox-nav.next { right: -8px; }
@media (min-width: 720px) {
  .lightbox-nav.prev { left: -56px; }
  .lightbox-nav.next { right: -56px; }
}
@media (max-width: 719px) {
  .lightbox-nav { width: 38px; height: 38px; font-size: 19px; }
}

/* ── Checklist icons ─────────────────────────────────── */
.check-list li .chk-icon {
  width: 16px; height: 16px; color: var(--sky-text); flex-shrink: 0; margin-top: 2px;
}

/* ── Reading progress bar — blog article pages only ─────────── */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--sky); z-index: 1000;
  transition: width 0.15s ease-out;
}
@media (prefers-reduced-motion: reduce) { .reading-progress { transition: none; } }

/* ── Hero trust checks row ───────────────────────────── */
.hero-checks {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line-dark-soft);
}
.hero-check {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--white-60);
}
.hero-check .icon { color: var(--sky-text); }

/* ── Testimonials ─────────────────────────────────────── */
.testimonial-card {
  border: 1px solid var(--line-dark-soft);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.testimonial-rating {
  font-family: var(--font-mono); font-size: 11px; color: var(--sky-text);
  border: 1px solid rgba(56,189,248,0.4); border-radius: 4px;
  padding: 3px 8px; display: inline-flex; align-items: center; gap: 5px; width: fit-content;
}
.testimonial-quote { font-size: 14px; color: var(--white-60); line-height: 1.65; }
.testimonial-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.testimonial-name { font-family: var(--font-display); font-weight: 500; font-size: 14.5px; color: var(--text-primary); }
.testimonial-role { font-size: 12px; color: var(--white-40); }
.testimonial-location {
  font-family: var(--font-mono); font-size: 10px; color: var(--white-40);
  border: 1px solid var(--line-dark-soft); border-radius: 4px; padding: 3px 8px; white-space: nowrap;
}

/* ── Sticky CTA pulse ring ────────────────────────────── */
.sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; }
.sticky-cta .pulse-ring { position: relative; width: 8px; height: 8px; flex-shrink: 0; }
.sticky-cta .pulse-ring::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--deep);
  animation: frc-ping-ring 1.5s ease-in-out infinite;
}
.sticky-cta .pulse-ring::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--deep);
}
@keyframes frc-ping-ring { 0%,100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta .pulse-ring::before { animation: none; } }

/* ── Nav scrolled state ───────────────────────────────── */
.nav { transition: background 0.3s ease, box-shadow 0.3s ease; }
.nav.is-scrolled { background: rgba(11,11,12,0.85); backdrop-filter: blur(8px); box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
html[data-theme="light"] .nav.is-scrolled { background: rgba(244,244,242,0.9); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.nav.on-light.is-scrolled { background: rgba(255,255,255,0.9); }

/* ── Footer system status line ───────────────────────── */
.footer-status {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; color: var(--white-30);
}
.footer-status .status-dot { width: 6px; height: 6px; }

/* ── Photo placeholder file hint ──────────────────────── */
.photo-label .filehint {
  font-size: 8.5px; color: var(--white-30); margin-top: 6px; letter-spacing: 0;
}

/* ── Night-mode status pill ──────────────────────────── */
.status-pill.is-night { border-color: rgba(56,189,248,0.7); background: rgba(56,189,248,0.06); }

/* ── Print stylesheet — clean leave-behind for partners ─ */
@media print {
  .nav, .sticky-cta, .mobile-menu, .form-ticket, #partnerForm,
  .partner-card:hover, .hamburger, .lightbox { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .section, .page-hero, section { background: #fff !important; color: #000 !important; break-inside: avoid; }
  .section-head p, p, .rate-desc, .ledger-label, li { color: #333 !important; }
  h1, h2, h3, .rate-title, .ledger-val { color: #000 !important; }
  a { color: #000 !important; text-decoration: underline; }
  .ticket, .roster, .partner-card, .value-card,
  .area-card, .highway-note, .rate-row { border: 1px solid #999 !important; background: #fafafa !important; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

/* ============================================================
   SERVICES PAGE LAYOUT — main content + sticky photo reel
   ============================================================ */
.services-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 1000px) {
  .services-layout { grid-template-columns: 1fr 300px; align-items: start; }
  .photo-reel-aside { position: sticky; top: 96px; }
}

/* ── Photo reel — slow crossfade, not a continuous scroll ── */
.photo-reel {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-dark-soft);
}
.photo-reel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.photo-reel-slide.is-active { opacity: 1; }
.photo-reel-slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}
.photo-reel-slide .photo-tint {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(56,189,248,0.16), rgba(0,0,0,0.32));
}
.photo-reel-slide .reel-fallback-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--white-30);
}
.photo-reel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent);
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-primary);
  letter-spacing: 0.03em;
  z-index: 2;
}
.photo-reel-dots {
  position: absolute; top: 12px; right: 12px;
  display: flex; gap: 5px; z-index: 2;
}
.photo-reel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}
.photo-reel-dot.is-active { background: var(--sky); transform: scale(1.2); }
.photo-reel-note {
  font-family: var(--font-mono); font-size: 9.5px; color: var(--white-30);
  margin-top: 10px; text-align: center;
}
