/* =========================================================================
   Disability Dating — shared stylesheet ("Pine & Cherry" theme)
   Deep pine teal and crimson from the wordmark, on cool mint-whites with
   soft rose panels. Display: DM Serif Display. Body/UI: Atkinson
   Hyperlegible (designed by the Braille Institute for low-vision reading).
   Accessibility-first: underlined links, large focus rings, 48px targets,
   on-page text-size / contrast / motion controls.
   ========================================================================= */

:root {
  --night:       #06201e;   /* near-black indigo: hero, footer, dark bands */
  --grape:       #045f5b;   /* primary deep violet (links, brand) */
  --grape-2:     #0a736e;
  --iris:        #7fd6cf;   /* light violet accent on dark */
  --apricot:     #c80020;   /* warm primary accent / buttons */
  --apricot-deep:#a1001a;   /* button hover, accent text on light */
  --apricot-soft:#fbe4e8;   /* soft warm tint */
  --blush:       #f7d7dd;   /* soft secondary tint */
  --paper:       #f7fbfa;   /* faint-lilac off-white background */
  --paper-2:     #eaf4f2;   /* panel tint */
  --lilac-tint:  #e6f2f0;
  --ink:         #101d1b;   /* body text — very dark indigo */
  --ink-soft:    #46605c;   /* secondary text (AA on paper) */
  --white:       #ffffff;
  --line:        #d8e6e3;
  --line-dark:   rgba(255,255,255,.18);
  --focus:       #0a736e;
  --radius:      8px;
  --radius-soft: 12px;
  --shadow-sm:   0 2px 12px rgba(4, 24, 22, .07);
  --shadow:      0 24px 54px rgba(4, 24, 22, .16);
  --maxw:        1180px;
  --font:        "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-serif:  "DM Serif Display", Georgia, "Times New Roman", serif;
}

/* Text-size controls (set on <html> by the accessibility toolbar). */
html { font-size: 112.5%; }                 /* ~18px base */
html[data-text="small"]  { font-size: 100%; }
html[data-text="large"]  { font-size: 125%; }
html[data-text="xlarge"] { font-size: 137.5%; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.12; color: var(--ink); font-weight: 500; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 500; margin: 0 0 .3em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 500; margin: 0 0 .35em; }
h3 { font-size: 1.45rem; margin: 0 0 .35em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--grape); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--apricot-deep); }
img { max-width: 100%; display: block; }

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

/* ---- Accessibility ---- */
.skip {
  position: absolute; left: 12px; top: 8px; z-index: 1200;
  background: var(--night); color: var(--apricot); padding: 14px 20px;
  transform: translateY(-150%);                /* hides by its own height, whatever the text size */
  transition: transform .2s ease; font-weight: 700; text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible { outline-color: var(--apricot); }

/* ---- Eyebrow (small label — sentence case, no uppercase) ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: .95rem;
  color: var(--apricot-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--apricot); display: inline-block; }
.eyebrow svg { color: var(--apricot-deep); }

/* ---- Buttons (sentence case, generous tap targets) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font); font-weight: 700; cursor: pointer;
  font-size: 1rem; min-height: 52px;
  padding: 14px 30px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--apricot); color: var(--ink); border-color: var(--apricot); }
.btn-primary:hover { background: var(--apricot-deep); border-color: var(--apricot-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--grape); border-color: var(--grape); }
.btn-ghost:hover { background: var(--grape); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 17px 38px; font-size: 1.06rem; min-height: 58px; }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.on-dark .btn-ghost:hover { background: #fff; color: var(--night); }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,251,250,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); }
.brand .mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand b { color: var(--grape); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1rem; padding: 12px 14px; border-radius: var(--radius); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--grape); background: var(--lilac-tint); }
.nav-cta { margin-left: 8px; }
.nav-cta a { color: var(--ink); }
.nav-toggle { display: none; background: transparent; border: 2px solid var(--ink); width: 52px; height: 52px; cursor: pointer; align-items: center; justify-content: center; border-radius: var(--radius); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 15px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta a { justify-content: center; background: var(--apricot); border-color: var(--apricot); }
}

/* ---- Full-bleed photo hero (homepage) ---- */
.hero-photo { position: relative; min-height: 90vh; display: flex; align-items: flex-end; padding: 100px 0 64px; overflow: hidden; background: var(--night); color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(0deg, rgba(3,17,16,.97) 0%, rgba(3,17,16,.86) 24%, rgba(6,32,30,.36) 50%, rgba(6,32,30,0) 72%),
    linear-gradient(90deg, rgba(3,17,16,.66) 0%, rgba(6,32,30,.18) 48%, rgba(6,32,30,0) 74%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 700px; }
.hero-photo h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.3rem); }
.hero-photo .eyebrow { color: #9fd8d2; }
.hero-photo .eyebrow::before { background: var(--apricot); }
.hero-photo .lead { color: rgba(255,255,255,.94); max-width: 46ch; font-size: 1.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.trust-row .t { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; font-size: 1rem; }
.trust-row .t svg { color: var(--apricot); flex: 0 0 auto; }

@media (max-width: 700px) {
  .hero-photo { min-height: 0; display: block; padding: 0; background: var(--night); }
  .hero-media { position: static; }
  .hero-media img { width: 100%; height: 28vh; min-height: 168px; max-height: 224px; object-position: center 34%; }
  .hero-scrim { display: none; }
  .hero-inner { background: var(--night); padding: 16px 0 22px; }
  .hero-copy { max-width: 100%; }
  .hero-photo .eyebrow { margin-bottom: 12px; }
  .hero-photo h1 { font-size: clamp(1.7rem, 6.6vw, 2.2rem); margin-bottom: 10px; }
  .hero-photo .lead { font-size: 1rem; line-height: 1.5; margin-bottom: 0; }
  .hero-cta { margin-top: 16px; gap: 10px; }
  .hero-cta .btn { flex: 1; font-size: .98rem; padding: 14px 12px; white-space: nowrap; }
  .trust-row { margin-top: 16px; gap: 14px; row-gap: 8px; }
  .trust-row .t { font-size: .92rem; }
  /* keep the accessibility launcher compact on phones so it never sits over content */
  .a11y-launch { left: 12px; bottom: 12px; padding: 10px 15px; min-height: 46px; font-size: .95rem; }
}

/* ---- Sections ---- */
.section { padding: 90px 0; }
.section.tint { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--night); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255,255,255,.82); }
.section.dark .eyebrow { color: #9fd8d2; }
.section-head { max-width: 52ch; margin: 0 auto 54px; text-align: center; }
.section-head .eyebrow { display: inline-flex; }
.lede { font-size: 1.3rem; color: var(--ink-soft); font-weight: 400; font-family: var(--font-serif); line-height: 1.45; }

/* ---- Feature cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); padding: 38px 34px; border: 1px solid var(--line);
  border-radius: var(--radius-soft); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: var(--lilac-tint); color: var(--grape); }
.card .ico.apricot { background: var(--apricot-soft); color: var(--apricot-deep); }
.card .ico.violet { background: var(--night); color: var(--apricot); }
.card h3 { margin-bottom: 12px; }
.card p { margin: 0; }
@media (max-width: 900px){ .cards { grid-template-columns: 1fr; } }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 24px; border-top: 3px solid var(--apricot); }
.step .num { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; color: var(--grape); line-height: 1; margin-bottom: 12px; display: block; }
.step h3 { font-size: 1.3rem; }
.step p { margin: 0; }
@media (max-width: 980px){ .steps { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 540px){ .steps { grid-template-columns: 1fr; } }

/* ---- Stats ---- */
.section.statband { background: var(--grape); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; }
.stat { padding: 18px; border-left: 1px solid rgba(255,255,255,.22); }
.stat:first-child { border-left: none; }
.stat .big { font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; color: #fff; line-height: 1; }
.stat .lbl { font-weight: 700; color: #bfe8e4; font-size: .98rem; margin-top: 10px; }
@media (max-width: 720px){ .stats { grid-template-columns: 1fr 1fr; gap: 30px 0; } .stat:nth-child(3){ border-left:none; } }

/* ---- Testimonials ---- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote { background: var(--white); border: 1px solid var(--line); padding: 36px 32px; border-radius: var(--radius-soft); }
.quote .stars { color: var(--apricot-deep); margin-bottom: 16px; letter-spacing: 3px; font-size: 1.1rem; }
.quote blockquote { margin: 0 0 24px; font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.4; color: var(--ink); font-weight: 500; }
.quote .who { display: flex; align-items: center; gap: 13px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; color: var(--night); font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; }
.quote .who b { display: block; font-weight: 700; }
.quote .who span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 900px){ .quotes { grid-template-columns: 1fr; } }

/* ---- Country grid ---- */
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.country {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink);
  background: var(--white); padding: 20px 22px; font-weight: 700; font-size: 1.08rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.country:hover { background: var(--night); color: #fff; transform: translateY(-3px); }
.country:hover .flag { transform: scale(1.12); }
.country .flag { font-size: 1.7rem; line-height: 1; transition: transform .2s ease; }
@media (max-width: 940px){ .country-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .country-grid { grid-template-columns: 1fr; } }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--grape) 0%, var(--night) 100%); color: #fff; padding: 74px 48px; text-align: center; position: relative; overflow: hidden; border-radius: var(--radius-soft); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 120% at 82% 0%, rgba(200,0,32,.28), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 0 auto 30px; font-size: 1.14rem; }
.cta-band .btn-primary { background: var(--apricot); color: var(--ink); border-color: var(--apricot); }
.cta-band .btn-primary:hover { background: #fff; border-color: #fff; color: var(--night); }

/* ---- Checklist / two-col / prose (inner pages) ---- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.checklist li svg { flex: 0 0 auto; color: var(--apricot-deep); margin-top: 4px; }
.checklist li b { display: block; color: var(--ink); font-weight: 700; font-size: 1.08rem; margin-bottom: 2px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
@media (max-width: 860px){ .two-col { grid-template-columns: 1fr; gap: 32px; } }
.prose { max-width: 70ch; }
.prose p { font-size: 1.1rem; }

/* ---- Story / FAQ / page-hero (inner pages, recoloured) ---- */
.story { display: grid; grid-template-columns: 240px 1fr; gap: 36px; background: var(--white); border: 1px solid var(--line); padding: 32px; margin-bottom: 24px; align-items: center; border-radius: var(--radius-soft); }
.story .pic { aspect-ratio: 1; display: grid; place-items: center; color: var(--apricot-deep); font-family: var(--font-serif); font-weight: 600; font-size: 2.8rem; background: var(--apricot-soft); border-radius: var(--radius); }
.story h3 { margin-bottom: 6px; font-size: 1.7rem; }
.story .meta { color: var(--apricot-deep); font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
@media (max-width: 720px){ .story { grid-template-columns: 1fr; text-align: center; } .story .pic { max-width: 200px; margin: 0 auto; } }

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; padding: 24px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.8rem; color: var(--apricot-deep); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 24px; margin: 0; max-width: 70ch; }

.page-hero { padding: 86px 0 70px; text-align: center; position: relative; overflow: hidden; background: var(--night); color: #fff; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 100% at 50% 0%, rgba(0,80,80,.55), transparent 62%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 56ch; margin: 0 auto; font-size: 1.2rem; color: rgba(255,255,255,.86); }
.breadcrumbs { font-size: .92rem; color: rgba(255,255,255,.72); margin-bottom: 18px; }
.breadcrumbs a { color: var(--apricot); text-decoration: underline; }
.page-hero .hero-cta { justify-content: center; margin-top: 28px; }

/* keep older photo-hero variants working on inner/country pages */
.hero-photo.center { text-align: center; align-items: center; }
.hero-photo.center .hero-copy { margin: 0 auto; max-width: 760px; }
.hero-photo.center .hero-cta { justify-content: center; }
.hero-photo.compact { min-height: 60vh; padding: 88px 0; }

/* ---- Footer ---- */
.site-footer { background: var(--night); color: rgba(255,255,255,.74); padding: 74px 0 32px; }
.site-footer a { color: rgba(255,255,255,.74); text-decoration: none; }
.site-footer a:hover { color: var(--apricot); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--font); color: #fff; font-size: 1rem; margin-bottom: 16px; font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 1rem; }
.footer-brand .brand { color: #fff; margin-bottom: 8px; }
.footer-brand .brand b { color: var(--apricot); }
.footer-brand p { color: rgba(255,255,255,.66); max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 46px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: rgba(255,255,255,.6); font-size: .92rem; }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Accessibility toolbar
   ========================================================================= */
.a11y-launch {
  position: fixed; left: 18px; bottom: 18px; z-index: 1000;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--night); color: #fff; border: 2px solid var(--apricot);
  padding: 12px 18px; min-height: 52px; border-radius: 999px; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 1rem; box-shadow: var(--shadow);
}
.a11y-launch svg { color: var(--apricot); flex: 0 0 auto; }
.a11y-launch:hover { background: var(--grape); }

.a11y-panel {
  position: fixed; left: 18px; bottom: 84px; z-index: 1001; width: min(330px, calc(100vw - 36px));
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius-soft); box-shadow: var(--shadow); padding: 22px;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-family: var(--font-serif); font-size: 1.4rem; margin: 0 0 4px; }
.a11y-panel .sub { font-size: .95rem; color: var(--ink-soft); margin: 0 0 18px; }
.a11y-row { margin-bottom: 18px; }
.a11y-row > .label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.a11y-seg { display: flex; gap: 8px; }
.a11y-seg button {
  flex: 1; min-height: 48px; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: 1rem;
  background: var(--paper-2); color: var(--ink); border: 2px solid var(--line); border-radius: var(--radius);
}
.a11y-seg button[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.a11y-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: 1rem;
  background: var(--paper-2); color: var(--ink); border: 2px solid var(--line); border-radius: var(--radius); padding: 0 16px;
}
.a11y-toggle .pill { width: 52px; height: 30px; border-radius: 999px; background: #9fb5b1; position: relative; flex: 0 0 auto; transition: background .2s ease; }
.a11y-toggle .pill::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left .2s ease; }
.a11y-toggle[aria-pressed="true"] { border-color: var(--grape); }
.a11y-toggle[aria-pressed="true"] .pill { background: var(--grape); }
.a11y-toggle[aria-pressed="true"] .pill::after { left: 25px; }
.a11y-reset { background: none; border: none; color: var(--grape); font-family: var(--font); font-weight: 700; font-size: 1rem; cursor: pointer; padding: 6px 4px; text-decoration: underline; }
.a11y-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--ink); }

/* =========================================================================
   High-contrast mode  (toggled by toolbar: <html class="hc">)
   ========================================================================= */
html.hc {
  --paper: #ffffff; --paper-2: #ffffff; --white: #ffffff; --lilac-tint: #f0f0f0;
  --ink: #000000; --ink-soft: #000000; --line: #000000; --grape: #00201e;
  --apricot: #7fd6cf; --apricot-deep: #7c0016; --night: #000000;
}
html.hc body { background: #fff; }
html.hc a { text-decoration: underline; font-weight: 700; }
html.hc .btn { border-width: 3px; }
html.hc .btn-primary { background: #7fd6cf; color: #000; border-color: #000; }
html.hc .card, html.hc .quote, html.hc .country, html.hc .story { border-width: 2px; border-color: #000; }
html.hc .section.dark, html.hc .hero-photo, html.hc .site-footer, html.hc .cta-band, html.hc .page-hero, html.hc .section.statband { background: #000 !important; }
html.hc .cta-band::before, html.hc .page-hero::before { display: none; }
html.hc .section.dark p, html.hc .hero-photo .lead, html.hc .stat .lbl, html.hc .site-footer a, html.hc .footer-brand p { color: #fff !important; }
html.hc .hero-scrim { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.92) 30%, rgba(0,0,0,.5) 60%, rgba(0,0,0,.2) 100%) !important; }
html.hc .site-header { background: #fff; border-bottom: 2px solid #000; }

/* ---- Reduced motion (OS preference OR toolbar toggle) ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
html.reduce-motion * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* =========================================================================
   Backward-compat aliases (inner & country pages use older class names)
   ========================================================================= */
.section.coral { background: var(--paper-2); }
.card .ico.coral { background: var(--apricot-soft); color: var(--apricot-deep); }
.card .ico.gold  { background: var(--night); color: var(--apricot); }
.card .ico.teal  { background: var(--lilac-tint); color: var(--grape); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { background: var(--lilac-tint); color: var(--grape); font-weight: 700; font-size: .92rem; padding: 7px 14px; border-radius: 999px; }
.tag.teal { background: var(--apricot-soft); color: var(--apricot-deep); }
html.hc .card .ico.coral, html.hc .card .ico.gold, html.hc .card .ico.teal { background: #000; color: #fff; }
html.hc .tag, html.hc .tag.teal { border: 2px solid #000; background: #fff; color: #000; }

/* Header lockup logo (raster) */
.brand-logo { height: 38px; width: auto; display: block; }
@media (max-width: 700px){ .brand-logo { height: 32px; } }


/* Locations hub cards */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.loc-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-soft); padding: 26px 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.loc-card:hover, .loc-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--apricot); }
.loc-card .flag { font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 12px; }
.loc-card h2 { font-family: var(--font-serif); font-size: 1.4rem; margin: 0 0 8px; }
.loc-card p { margin: 0 0 14px; color: var(--ink-soft); }
.loc-card .loc-go { color: var(--apricot-deep); font-weight: 700; }


/* ===== Cookie consent banner ===== */
.cookie-banner { position: fixed; z-index: 1200; right: 16px; bottom: 16px; max-width: 380px; background: var(--night); color: #fff; border-radius: var(--radius-soft); box-shadow: 0 18px 50px rgba(0,0,0,.4); padding: 18px 20px; }
.cookie-banner__text { margin: 0 0 14px; font-size: .95rem; line-height: 1.5; color: #e9f3f1; }
.cookie-banner__text a { color: var(--apricot); font-weight: 700; }
.cookie-banner__actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-banner__actions .btn { padding: 8px 16px; }
.cookie-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.cookie-banner .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 700px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  body.cookie-open .a11y-launch { display: none; }
}

/* Header "Log in" ghost button stays ghost (desktop + mobile) */
.nav-login a.btn-ghost { color: var(--grape); }
@media (max-width: 700px) {
  .nav-cta.nav-login a { background: transparent; border-color: var(--grape); color: var(--grape); }
}

/* Mobile-visible Log in button (hidden on desktop where the full nav shows it) */
.nav-mobile-login { display: none; }
@media (max-width: 900px) {
  .nav-mobile-login {
    display: inline-flex; align-items: center;
    margin-left: auto; margin-right: 10px;
    padding: 10px 16px; font-size: 0.95rem; font-weight: 700;
    color: var(--grape); border: 2px solid var(--grape); border-radius: var(--radius);
    text-decoration: none; white-space: nowrap;
  }
  .nav-mobile-login:hover { background: var(--lilac-tint); }
  .nav .nav-toggle { margin-left: 0; }
}
@media (max-width: 360px) { .nav-mobile-login { padding: 9px 12px; font-size: 0.9rem; } }

/* county directory pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 980px; margin: 0 auto; }
.pill-grid .pill { display: inline-block; padding: 10px 16px; border: 2px solid #d8e6e3; border-radius: 999px;
  background: #fff; color: #045f5b; text-decoration: none; font-weight: 700; font-size: .95rem; }
.pill-grid .pill:hover, .pill-grid .pill:focus { border-color: #045f5b; background: #eaf4f2; text-decoration: underline; }
