/* HMR Transportation editorial design system */
:root {
  --navy-950: #061a3e;
  --navy-900: #072b63;
  --navy-800: #0a3c86;
  --royal-700: #0d4ba0;
  --royal-600: #1559b1;
  --blue-200: #a9bce8;
  --blue-100: #dbe5fb;
  --gold-500: #d9ad27;
  --gold-400: #e6bf43;
  --cream-100: #f6f3eb;
  --cream-50: #fbfaf6;
  --white: #ffffff;
  --ink: #14233b;
  --muted: #5f6c80;
  --line: #dfe4ec;
  --success: #276745;
  --max: 1240px;
  --header: 84px;
  --display: "Aptos Display", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  --condensed: "Arial Narrow", "Aptos Narrow", "Roboto Condensed", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream-50);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
main { overflow: clip; }

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 3px;
  background: var(--white);
  color: var(--navy-950);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(6, 26, 62, .25);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.utility-bar {
  position: relative;
  z-index: 51;
  background: var(--navy-950);
  color: #dbe7ff;
  font-family: var(--condensed);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.utility-inner strong { color: var(--gold-400); }
.utility-inner a { margin-left: auto; text-decoration: none; color: var(--white); }
.utility-separator { width: 1px; height: 14px; background: rgba(255,255,255,.28); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(7,43,99,.09);
  background: rgba(251,250,246,.96);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 38px rgba(6,26,62,.09); background: rgba(255,255,255,.97); }
.nav-wrap {
  min-height: var(--header);
  display: grid;
  grid-template-columns: 194px 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  position: relative;
  width: 188px;
  height: 82px;
  display: block;
  overflow: hidden;
  text-decoration: none;
}
.brand img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.header-request { display: none; }
.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-nav > a:not(.button) {
  position: relative;
  padding: 12px 0;
  color: var(--navy-950);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .015em;
}
.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--gold-500);
  transition: right .22s ease;
}
.site-nav > a:not(.button):hover::after,
.site-nav > a[aria-current="page"]::after { right: 0; }
.site-nav > a[href="/appointment-requests"]:not(.button) {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--gold-500);
  border-radius: 2px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
}
.site-nav > a[href="/appointment-requests"]:not(.button)::after { display: none; }
.site-nav > .button-gold {
  border-color: var(--navy-900);
  background: transparent;
  color: var(--navy-900);
}
.site-nav > .button-gold:hover { background: var(--navy-900); color: var(--white); }
.menu-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-950);
}
.menu-toggle span:not(.sr-only) { display: block; width: 19px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--condensed);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .075em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 11px 16px; font-size: 13px; }
.button-gold { background: var(--gold-500); color: var(--navy-950); }
.button-gold:hover { background: var(--gold-400); }
.button-navy { background: var(--navy-900); color: var(--white); }
.button-navy:hover { background: var(--royal-700); }
.button-light { border-color: rgba(255,255,255,.7); background: transparent; color: var(--white); }
.button-light:hover { background: var(--white); color: var(--navy-950); }
.button-outline { border-color: var(--navy-900); background: transparent; color: var(--navy-900); }
.button-outline:hover { background: var(--navy-900); color: var(--white); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-900);
  font-weight: 850;
  text-decoration: none;
}
.text-link::after { content: "→"; color: var(--gold-500); transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(5px); }

.eyebrow {
  margin: 0 0 16px;
  color: var(--royal-700);
  font-family: var(--condensed);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--gold-400); }
h1, h2, h3, h4 { margin: 0; color: var(--navy-950); font-family: var(--display); line-height: 1.04; letter-spacing: -.035em; }
h1 { font-size: clamp(3.5rem, 7vw, 7.4rem); font-weight: 780; }
h2 { font-size: clamp(2.3rem, 4.7vw, 5.2rem); font-weight: 760; }
h3 { font-size: clamp(1.28rem, 2vw, 1.75rem); font-weight: 780; }
p { margin: 0 0 1.1em; }
.lede { max-width: 720px; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.7; }
.kicker-line { width: 72px; height: 3px; margin: 20px 0; background: var(--gold-500); }

.section { position: relative; padding: 112px 0; }
.section-compact { padding: 78px 0; }
.section-dark { background: var(--navy-950); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-cream { background: var(--cream-100); }
.section-white { background: var(--white); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}
.section-head > p { max-width: 640px; margin: 0; color: var(--muted); }

.route-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  font-family: var(--condensed);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.route-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(217,173,39,.12);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: #cfdbef;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 5%;
  width: 46%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.footer-main { padding: 76px 0 52px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .8fr .8fr 1fr;
  gap: 48px;
}
.footer-brand img {
  width: 220px;
  height: auto;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 3px;
  background: var(--white);
}
.footer-brand .footer-tagline { margin: 0 0 26px; color: var(--white); font-family: var(--serif); font-size: 1.45rem; font-style: italic; }
.footer-status { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--condensed); font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.footer-status span::before { content: "•"; margin-right: 8px; color: var(--gold-400); }
.footer-col h2 { margin-bottom: 18px; color: var(--gold-400); font-family: var(--condensed); font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.footer-col a, .footer-col address, .footer-col p { display: block; margin: 0 0 10px; color: #cfdbef; text-decoration: none; font-size: 14px; line-height: 1.55; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #99a9c2;
  font-size: 12px;
}
.footer-bottom p { margin: 0; }
.footer-credit a { color: var(--gold-400); text-decoration: none; }

.mobile-actions {
  display: none;
  position: fixed;
  z-index: 45;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 12px;
  grid-template-columns: minmax(0, 1.45fr) minmax(92px, .55fr);
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(6,26,62,.97);
  box-shadow: 0 14px 36px rgba(6,26,62,.28);
  backdrop-filter: blur(12px);
}
.mobile-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 3px;
  font-family: var(--condensed);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}
.mobile-request { background: var(--gold-500); color: var(--navy-950); }
.mobile-phone { border: 1px solid rgba(255,255,255,.65); color: var(--white); }
.mobile-phone svg { width: 17px; height: 17px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.notice-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.notice-line strong { color: var(--navy-950); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
