/* Accessibility + consent layer. Loaded last so it wins over page styles.
   Targets WCAG 2.1 AA (ADA Title III reference standard). */

/* ---- Skip link ---- */
.skip-link{position:absolute;left:16px;top:-100px;z-index:200;background:#11161B;color:#fff;font-family:'Archivo',system-ui,sans-serif;font-weight:700;font-size:14px;letter-spacing:.04em;text-transform:uppercase;padding:14px 20px;border-radius:2px;border:2px solid #fff;transition:top .15s}
.skip-link:focus{top:12px;color:#fff}

/* ---- Visible focus everywhere ---- */
:where(a,button,summary,input,select,textarea,label.hamburger,[tabindex]):focus-visible{outline:3px solid #2E4A5E;outline-offset:2px;border-radius:2px}
.contact :where(a,button):focus-visible,.policy :where(a,button):focus-visible,.callout a:focus-visible,footer :where(a,button):focus-visible,.ticker a:focus-visible{outline-color:#BFD6E6}
#main:focus{outline:none}
/* the off-screen nav checkbox: surface its focus on the visible hamburger */
#nav-toggle:focus-visible ~ nav .hamburger{outline:3px solid #2E4A5E;outline-offset:2px}
.hamburger{min-width:44px;min-height:44px}

/* ---- Contrast corrections (4.5:1 body text, 3:1 large/UI) ---- */
:root{--muted:#5C6470}
.foot-grid p,.foot-grid ul li,.foot-grid ul a,.foot-bottom,.foot-bottom a,footer{color:#B6BEC8}
.policy .lede,.contact .lede,.callout p,.policy-card .row .v,.info .val .sub{color:#D2D7DD}
.callout .fine{color:#A8B2BD}
.hours-grid .d{color:#B6BEC8}
.hours-grid .t.closed{color:#FF7A6E}
.eyebrow{color:#4E7791}
.crumbs a,.prose a,.consent .ct a{color:#4E7791}
.linkcard .go,.quote .stars,.rating-badge .stars{color:#C5241A}
.svc-mini p,.steps p,.aside-card .rows .k,.est-submit .fine,.est-card .sub,.quote .who .v,.rating-badge .cnt,.toc a,.foot-note{color:#5C6470}
.hero-media .tag .b,.callout .eyebrow,.policy-card .row .k,.info .lbl,.policy h2 .blue{color:#A9C7DB}
.fields2 input::placeholder,.fields2 textarea::placeholder{color:#767E88}

/* ---- Motion ---- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
  .ticker-track{animation:none !important;transform:none !important}
}

/* ---- Screen-reader-only text ---- */
.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}

/* ---- Forms: required + error affordances that are not color-only ---- */
.fields2 .req{color:#C5241A}
.fields2 input:invalid:not(:placeholder-shown),.fields2 textarea:invalid:not(:placeholder-shown){border-color:#C5241A;box-shadow:0 0 0 3px rgba(197,36,26,.15)}

/* ---- Field-level error messages: written text + icon, never color alone ---- */
.field-err{display:none;align-items:flex-start;gap:6px;margin-top:2px;font-size:12.5px;line-height:1.5;font-weight:700;color:#C5241A}
.field-err::before{content:"\26A0";flex:0 0 auto;line-height:1.4}
.field-err.show{display:flex}
.fields2 input.err,.fields2 textarea.err{border-color:#C5241A;box-shadow:0 0 0 3px rgba(197,36,26,.15)}

/* ---- Cookie banner ---- */
.ehc-cb{position:fixed;left:0;right:0;bottom:0;z-index:120;background:#11161B;color:#E8EBEE;border-top:3px solid #E63022;font-family:'Archivo',system-ui,sans-serif;box-shadow:0 -12px 40px rgba(0,0,0,.35)}
.ehc-cb-in{max-width:1320px;margin:0 auto;padding:22px 32px;display:grid;grid-template-columns:1fr auto;gap:24px 32px;align-items:center}
.ehc-cb h2{font-family:'Archivo Narrow','Archivo',sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:-.01em;font-size:22px;line-height:1;margin-bottom:8px;color:#fff}
.ehc-cb p{font-size:13.5px;line-height:1.6;max-width:760px;color:#C6CCD3;margin:0}
.ehc-cb p a{color:#A9C7DB;text-decoration:underline;text-underline-offset:2px}
.ehc-cb p a:hover{color:#fff}
.ehc-acts{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.ehc-btn{font:inherit;font-weight:700;font-size:13px;letter-spacing:.04em;text-transform:uppercase;padding:13px 18px;min-height:44px;border-radius:2px;border:1.5px solid transparent;cursor:pointer;background:#E63022;color:#fff}
.ehc-btn:hover{background:#C5241A}
.ehc-btn-ghost{background:transparent;color:#fff;border-color:#5A646F}
.ehc-btn-ghost:hover{background:#1E262E;color:#fff}
@media (max-width:860px){
  .ehc-cb-in{grid-template-columns:1fr;padding:18px 20px;gap:16px}
  .ehc-acts{justify-content:stretch}
  .ehc-acts .ehc-btn{flex:1 1 140px;justify-content:center;text-align:center}
  body.has-callbar .ehc-cb{bottom:76px}
}

/* ---- Preference dialog ---- */
.ehc-mask{position:fixed;inset:0;z-index:130;background:rgba(10,14,18,.62);display:flex;align-items:center;justify-content:center;padding:20px}
.ehc-dlg{background:#fff;color:#11161B;max-width:640px;width:100%;max-height:88vh;overflow-y:auto;border-radius:3px;border:2px solid #11161B}
.ehc-dlg-h{padding:22px 28px;border-bottom:1px solid #E4E0D6;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.ehc-dlg-h h2{font-family:'Archivo Narrow','Archivo',sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:-.01em;font-size:28px;line-height:1}
.ehc-x{background:transparent;border:1.5px solid #11161B;width:44px;height:44px;min-width:44px;border-radius:2px;cursor:pointer;font-size:20px;line-height:1;color:#11161B}
.ehc-x:hover{background:#11161B;color:#fff}
.ehc-dlg-b{padding:8px 28px 24px}
.ehc-dlg-b > p{font-size:14.5px;line-height:1.65;color:#3A434E;margin:18px 0}
.ehc-cat{border:1px solid #E4E0D6;border-radius:2px;padding:18px 20px;margin-bottom:12px;display:grid;grid-template-columns:1fr auto;gap:8px 20px;align-items:start}
.ehc-cat h3{font-size:15px;font-weight:800;letter-spacing:.01em}
.ehc-cat p{grid-column:1/-1;font-size:13.5px;line-height:1.6;color:#3A434E;margin:0}
.ehc-cat .locked{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#5C6470}
.ehc-sw{display:inline-flex;align-items:center;gap:10px;cursor:pointer;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#3A434E}
.ehc-sw input{width:20px;height:20px;min-width:20px;accent-color:#E63022;cursor:pointer;margin:0}
.ehc-dlg-f{padding:20px 28px;border-top:1px solid #E4E0D6;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;background:#F5F2EC}
.ehc-dlg-f .ehc-btn-ghost{color:#11161B;border-color:#11161B}
.ehc-dlg-f .ehc-btn-ghost:hover{background:#11161B;color:#fff}
.ehc-note{font-size:12.5px;line-height:1.6;color:#5C6470;margin-top:14px}
.ehc-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:140;background:#11161B;color:#fff;font-family:'Archivo',system-ui,sans-serif;font-size:14px;font-weight:600;padding:14px 20px;border-radius:2px;border:1px solid #2A323C;box-shadow:0 10px 30px rgba(0,0,0,.3)}
@media (max-width:600px){.ehc-dlg-h,.ehc-dlg-b,.ehc-dlg-f{padding-left:18px;padding-right:18px}.ehc-dlg-f .ehc-btn{flex:1 1 100%}}

/* ---- Print ---- */
@media print{.ehc-cb,.ehc-mask,.mobile-callbar,.nav{display:none !important}}
