/* ============================================================
   Support On Wheels — design system
   Navy institution + warm action-orange, editorial serif display
   over a highly legible sans. Built accessibility-first.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,800&family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Brand */
  --navy:        #16365C;
  --navy-700:    #23507E;
  --navy-900:    #0E2745;
  --orange:      #E97A21;
  --orange-600:  #C85D14;
  --orange-100:  #FBE9D6;

  /* Status */
  --green:       #3E8E5A;
  --green-600:   #2E7049;
  --green-100:   #E4F1E9;
  --amber:       #B77914;
  --amber-100:   #FAEFD5;
  --red:         #C0453B;
  --red-100:     #FADFDC;
  --blue:        #1C6EA4;
  --blue-100:    #E1EDF6;

  /* Avatar hues */
  --teal:        #2E7D6A;
  --purple:      #7B3FA0;

  /* Neutrals */
  --cloud:       #EEF2F6;
  --surface:     #FFFFFF;
  --ink:         #1F2A37;
  --ink-2:       #45566A;
  --ink-3:       #6B7B8C;
  --line:        #D7E0E8;
  --line-2:      #E7ECF1;

  /* Type */
  --font-display: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --t-xs:   0.78rem;
  --t-sm:   0.9rem;
  --t-base: 1rem;
  --t-md:   1.15rem;
  --t-lg:   1.5rem;
  --t-xl:   2.15rem;

  /* Radius + shadow */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(16,39,69,.06);
  --shadow-2: 0 4px 14px rgba(16,39,69,.08);
  --shadow-3: 0 14px 40px rgba(16,39,69,.14);

  --wrap: 1200px;
}

/* Text-size accessibility scaling (rem-based cascade) */
html.text-large  { font-size: 112.5%; }
html.text-xlarge { font-size: 125%; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.15rem); font-weight: 800; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
h4 { font-size: var(--t-md); }

p  { margin: 0 0 1em; color: var(--ink-2); }
a  { color: var(--navy-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .1em;
  font-weight: 800; color: var(--orange-600); margin: 0 0 10px;
}
.muted { color: var(--ink-3); }
.link { color: var(--navy-700); font-weight: 700; font-size: var(--t-sm); }
.link:hover { color: var(--orange-600); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--cloud); }
.section-white { background: var(--surface); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: 34px; flex-wrap: wrap;
}
.section-head h2 { margin: 0; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: var(--t-base);
  line-height: 1; padding: 14px 22px; border-radius: var(--r-sm);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 15px; font-size: var(--t-sm); }
.btn-block { width: 100%; }

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-600); color: #fff; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); color: #fff; }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); background: #fff; }

.btn-ghost-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-600); color: #fff; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1);
}
.card-pad { padding: 24px; }

/* ---------- Badges / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: var(--t-xs); font-weight: 700; padding: 5px 11px;
  border-radius: var(--r-pill); border: 1px solid transparent; white-space: nowrap;
}
.pill-navy   { background: var(--blue-100);  color: var(--navy);   border-color: #C9DCEC; }
.pill-green  { background: var(--green-100); color: var(--green-600); border-color: #BFE0CC; }
.pill-amber  { background: var(--amber-100); color: var(--amber);  border-color: #ECD6A6; }
.pill-red    { background: var(--red-100);   color: var(--red);    border-color: #EDBCB6; }
.pill-plain  { background: #EEF2F6; color: var(--ink-2); border-color: var(--line); }
.pill-orange { background: var(--orange-100); color: var(--orange-600); border-color: #EFCDA9; }

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }
.dot-amber { background: var(--amber); }
.dot-navy { background: var(--navy); }

/* ---------- Avatars ---------- */
.worker-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  font-size: var(--t-sm); letter-spacing: .02em; background: var(--navy);
}

/* ---------- Search bar ---------- */
.searchbar {
  display: flex; background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow-2); padding: 8px; gap: 8px; align-items: stretch;
}
.search-field {
  display: flex; align-items: center; gap: 10px; flex: 1;
  padding: 6px 14px; border-radius: var(--r-sm); min-width: 0;
}
.search-field + .search-field { border-left: 1px solid var(--line); }
.search-field svg { color: var(--ink-3); flex: none; }
.search-field input {
  border: 0; outline: 0; font: inherit; width: 100%; color: var(--ink);
  background: transparent; padding: 6px 0;
}
.search-field input::placeholder { color: var(--ink-3); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 14px; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 12px; transition: border-color .15s, box-shadow .15s, transform .1s;
}
.service:hover { border-color: var(--navy-700); box-shadow: var(--shadow-2); transform: translateY(-2px); text-decoration: none; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px;
}
.service-name { font-weight: 700; color: var(--navy); font-size: var(--t-sm); }

/* ---------- Forms ---------- */
label { font-weight: 600; color: var(--navy); }
.field-label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: var(--t-sm); }
input[type="text"], input[type="search"], input[type="email"], input[type="tel"],
input[type="password"], select, textarea {
  font: inherit; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--navy-700); outline: 3px solid rgba(35,80,126,.18); outline-offset: 0; }
textarea { resize: vertical; }

.check {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
  font-weight: 700; color: var(--navy); cursor: pointer;
}
.check input { width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.check.is-on { border-color: var(--orange); background: var(--orange-100); }

/* ---------- Alerts ---------- */
.alert { border-radius: var(--r); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); }
.alert svg { flex: none; margin-top: 2px; }
.alert-amber { background: var(--amber-100); border: 1px solid #ECD6A6; color: #6C4E14; }
.alert-amber strong { color: #6C4E14; }
.alert-green { background: var(--green-100); border: 1px solid #BFE0CC; color: var(--green-600); }
.alert-blue  { background: var(--blue-100); border: 1px solid #C9DCEC; color: var(--navy); }

/* ============================================================
   Ease bar (accessibility control) + header + footer
   ============================================================ */
.ease { background: var(--navy-900); color: #C3D3E2; font-size: var(--t-sm); }
.ease .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.ease-phone strong { color: #fff; }
.ease-group { display: flex; align-items: center; gap: 8px; }
.ease-label { text-transform: uppercase; letter-spacing: .08em; font-size: var(--t-xs); font-weight: 700; color: #9FB3C6; }
.ease-btn {
  font-family: var(--font-body); font-weight: 700; background: rgba(255,255,255,.06);
  color: #fff; border: 1px solid rgba(255,255,255,.20); border-radius: 6px;
  padding: 5px 12px; cursor: pointer; line-height: 1.2;
}
.ease-btn[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.ease-btn:hover { border-color: rgba(255,255,255,.5); }

.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 100; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; padding-top: 16px; padding-bottom: 16px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: #fff; line-height: 1.05; display: block; }
.brand-sub { font-size: var(--t-xs); color: var(--orange); font-weight: 700; display: block; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: #D6E1EC; font-weight: 600; padding: 10px 14px; border-radius: var(--r-sm);
  font-size: var(--t-sm);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.nav a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; }
.header-right { display: flex; gap: 10px; align-items: center; }
.header-loc { display: flex; align-items: center; gap: 6px; color: #D6E1EC; font-weight: 600; font-size: var(--t-sm); }
.header-loc svg { color: var(--orange); }
.menu-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; padding: 8px; cursor: pointer; margin-left: auto; }

/* ---- Mega-menu dropdowns ---- */
.nav-item { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-link .chev { transition: transform .2s ease; opacity: .85; }
.nav-item.has-mega.is-open .nav-link .chev,
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  padding-top: 12px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 200;
}
.mega.is-open,
.nav-item.has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-card {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 22px 55px rgba(14,39,69,.24);
  padding: 26px 30px;
}
.mega-cols { display: grid; grid-template-columns: 1.15fr 1.15fr .9fr; gap: 30px; }
.mega-h { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .09em; font-weight: 800; color: var(--ink-3); margin: 0 0 8px; }
.mega-h.mt { margin-top: 18px; }
.mega a.mega-link { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; color: var(--navy); font-size: var(--t-sm); background: none; }
.mega a.mega-link:hover { background: var(--cloud); text-decoration: none; }
.mega-link-t { display: block; font-weight: 700; color: var(--navy); }
.mega a.mega-link:hover .mega-link-t { color: var(--orange-600); }
.mega-link-d { display: block; font-size: .82rem; color: var(--ink-2); margin-top: 2px; line-height: 1.35; }
.mega-feature { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.mega-feature-img { display: block; width: 100%; height: 132px; object-fit: cover; background: var(--cloud); }
.mega-feature-body { padding: 16px 18px 18px; }
.mega-feature h3 { color: var(--navy); font-size: 1.12rem; margin: 0 0 6px; line-height: 1.15; }
.mega-feature p { color: var(--ink-2); font-size: var(--t-sm); margin: 0 0 14px; }
.mega-feature .btn { align-self: flex-start; }
.mega .btn { padding: 10px 16px; }
.mega .btn-primary { color: #fff; background: var(--orange); }
.mega .btn-primary:hover { color: #fff; background: var(--orange-600); }

.site-footer { background: var(--navy-900); color: #B7C6D6; padding: 56px 0 28px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: var(--t-sm); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #B7C6D6; font-size: var(--t-sm); }
.site-footer a:hover { color: #fff; }
.ack { font-size: var(--t-xs); color: #8C9DB0; max-width: 40ch; line-height: 1.6; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: var(--t-xs); color: #8C9DB0;
}
.footer-bottom a { color: #8C9DB0; }

/* ============================================================
   Worker cards (find-a-worker + portals)
   ============================================================ */
.worker-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 22px; position: relative; }
.worker-card.is-top { border-color: var(--navy); box-shadow: var(--shadow-2); }
.wc-flag {
  position: absolute; top: -12px; left: 20px; background: #fff; border: 1.5px solid var(--orange);
  color: var(--orange-600); font-size: var(--t-xs); font-weight: 800; padding: 4px 12px; border-radius: var(--r-pill);
}
.wc-head { display: flex; gap: 14px; align-items: flex-start; }
.wc-name { font-family: var(--font-display); font-weight: 700; font-size: var(--t-md); color: var(--navy); margin: 0; }
.wc-role { font-size: var(--t-sm); color: var(--ink-2); margin: 2px 0 0; }
.wc-dist { font-size: var(--t-xs); color: var(--ink-3); display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.wc-status { margin-left: auto; text-align: right; font-size: var(--t-sm); font-weight: 700; color: var(--green-600); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.wc-status.later { color: var(--amber); }
.wc-bio { font-size: var(--t-sm); color: var(--ink-2); margin: 14px 0; }
.wc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.wc-foot { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.wc-rating { font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.wc-rating .star { color: var(--orange); }
.wc-shifts { color: var(--ink-3); font-size: var(--t-sm); font-weight: 500; }
.wc-rate { font-family: var(--font-display); font-weight: 800; font-size: var(--t-md); color: var(--navy); }
.wc-rate small { font-size: var(--t-xs); color: var(--ink-3); font-weight: 600; }
.wc-actions { margin-left: auto; display: flex; gap: 8px; }

/* ---------- Sub-navigation / search summary bar ---------- */
.subbar { background: var(--navy); padding: 22px 0; }
.subbar-search { display: flex; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-2); overflow: hidden; }
.subbar-field { display: flex; align-items: center; gap: 10px; padding: 14px 18px; flex: 1; border-right: 1px solid var(--line); }
.subbar-field svg { color: var(--ink-3); flex: none; }
.subbar-field input { border: 0; outline: 0; font: inherit; width: 100%; }
.subbar-search .btn { border-radius: 0; }

/* ---------- Filter chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  font-weight: 700; font-size: var(--t-sm); padding: 9px 16px; border-radius: var(--r-pill);
  cursor: pointer;
}
.chip:hover { border-color: var(--navy-700); }
.chip.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Filter sidebar ---------- */
.filter-group { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.filter-group:last-child { border-bottom: 0; }
.filter-title { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--ink-3); margin-bottom: 14px; }
.filter-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.filter-row input { width: 18px; height: 18px; accent-color: var(--orange); }
.filter-row label { font-weight: 500; color: var(--ink); flex: 1; cursor: pointer; }
.filter-row .count { color: var(--ink-3); font-size: var(--t-sm); }
input[type="range"] { accent-color: var(--orange); width: 100%; }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-3); font-weight: 800; padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.table td { padding: 16px 14px; border-bottom: 1px solid var(--line-2); font-size: var(--t-sm); color: var(--ink); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { font-weight: 800; color: var(--navy); }

/* ---------- Progress ---------- */
.progress { height: 9px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.progress.warn > span { background: var(--amber); }
.progress.danger > span { background: var(--red); }

/* ---------- Steps (booking) ---------- */
.steps { display: flex; align-items: center; margin: 30px 0 36px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; }
.step-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #fff; border: 2px solid var(--line); color: var(--ink-3); }
.step.done .step-dot { background: var(--green); border-color: var(--green); color: #fff; }
.step.active .step-dot { background: var(--orange); border-color: var(--orange); color: #fff; }
.step-label { font-size: var(--t-sm); font-weight: 700; color: var(--ink-3); }
.step.done .step-label, .step.active .step-label { color: var(--navy); }
.step-line { flex: 1; height: 2px; background: var(--line); margin: 0 8px 26px; }
.step-line.done { background: var(--green); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .services { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 860px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .nav, .header-right .header-loc { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav.open { display: flex; flex-direction: column; width: 100%; order: 3; gap: 2px; }
  .nav.open a { padding: 12px; }
  .nav.open .nav-item.has-mega { width: 100%; }
  .nav.open .nav-link { justify-content: space-between; }
  .nav.open .mega { position: static; padding-top: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav.open .mega.is-open { display: block; }
  .nav.open .mega-card { box-shadow: none; border: 0; background: transparent; padding: 2px 0 10px 14px; }
  .nav.open .mega-cols { grid-template-columns: 1fr; gap: 8px; }
  .nav.open .mega-feature { display: none; }
  .nav.open .mega-h { color: #9DB2C6; margin-bottom: 4px; }
  .nav.open .mega a.mega-link { color: #EAF1F8; padding: 10px; margin: 0; }
  .nav.open .mega a.mega-link:hover { background: rgba(255,255,255,.08); }
  .nav.open .mega-link-t { color: #fff; }
  .nav.open .mega-link-d { display: none; }
  .services { grid-template-columns: repeat(2,1fr); }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ease .wrap { justify-content: center; }
  .ease-phone { flex-basis: 100%; text-align: center; }
}
@media (max-width: 520px) {
  .searchbar { flex-direction: column; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HIGH CONTRAST MODE
   Heavier borders, pure-black text, no tinted fills that reduce legibility.
   ============================================================ */
html.contrast {
  --ink: #000000; --ink-2: #111111; --ink-3: #222222;
  --line: #000000; --line-2: #333333;
  --cloud: #FFFFFF; --surface: #FFFFFF;
  --navy: #062B54; --navy-900: #041A36; --navy-700: #0B3E70;
  --orange: #B54708; --orange-600: #8A3705; --orange-100: #FBE9D6;
  --green-600: #1C5233; --amber: #7A4E05;
}
html.contrast body { background: #fff; }
html.contrast .card,
html.contrast .worker-card,
html.contrast .service,
html.contrast .searchbar,
html.contrast input,
html.contrast select,
html.contrast textarea,
html.contrast .chip,
html.contrast .pill { border-width: 2px !important; border-color: #000 !important; }
html.contrast .btn { border-width: 2px; }
html.contrast .btn-primary { border-color: #000; }
html.contrast .btn-outline, html.contrast .chip { color: #000; }
html.contrast a { text-decoration: underline; }
html.contrast .nav a, html.contrast .brand-name, html.contrast .site-footer a { color: #fff; }
html.contrast .pill-green { color: #1C5233; }
html.contrast .eyebrow { color: #8A3705; }
