/* =========================================================================
   Fleet Counselling — "The door kept open"
   One stylesheet, custom properties. Mobile-first.
   Palette measured for WCAG 2.2 AA (see HANDOVER.md for ratios).
   ========================================================================= */

:root {
  /* --- colour ------------------------------------------------------------ */
  --paper:        #F2EDE3;   /* warm oat page background */
  --sand:         #E8E1D3;   /* warm band for alternate sections */
  --card:         #FBF9F4;   /* raised surfaces */
  --ink:          #26302A;   /* body + headings, warm near-black */
  --ink-soft:     #4A5650;   /* secondary text */
  --evergreen:    #1F4A3A;   /* primary buttons, dark bands */
  --evergreen-2:  #173A2D;   /* button hover / deeper dark */
  --slate:        #2E5E7E;   /* links + focus ring */
  --slate-2:      #244C67;   /* link hover */
  --line:         #D8D0C1;   /* hairlines on paper */
  --line-sand:    #CFC6B4;   /* hairlines on sand */
  --on-dark:      #F2EDE3;   /* text on evergreen bands */
  --on-dark-soft: #CBD8C9;   /* muted text on evergreen bands */
  --line-dark:    #35604F;   /* hairlines on evergreen */

  /* --- type -------------------------------------------------------------- */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* --- spacing scale ----------------------------------------------------- */
  --s-1: 0.25rem;  --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;   --s-9: 6rem;

  /* --- shape ------------------------------------------------------------- */
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(38,48,42,.05), 0 6px 20px -12px rgba(38,48,42,.22);
  --shadow-lift: 0 2px 4px rgba(38,48,42,.06), 0 16px 40px -18px rgba(38,48,42,.32);

  --wrap: 72rem;      /* ~1152px */
  --measure: 40rem;   /* reading measure */

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =========================================================================
   Reset / base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;         /* 18px floor */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 var(--s-4);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5.2vw, 3rem); font-weight: 500; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.05rem; font-family: var(--body); font-weight: 600;
     letter-spacing: 0.02em; margin-bottom: var(--s-2); }

p { margin: 0 0 var(--s-4); max-width: var(--measure); }
strong { font-weight: 600; }

a { color: var(--slate); text-decoration-thickness: 1px;
    text-underline-offset: 2px; }
a:hover { color: var(--slate-2); }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--slate);
  outline-offset: 2px;
  border-radius: 3px;
}

/* =========================================================================
   Layout helpers
   ========================================================================= */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto;
        padding-inline: var(--s-5); }
.wrap--narrow { max-width: 46rem; }

.band { padding-block: clamp(2.75rem, 7vw, 4.75rem); }
.band--tight { padding-block: clamp(2rem, 5vw, 3.25rem); }
.band--sand { background: var(--sand); }
.band--sand + .band--sand { padding-top: 0; }
.band--dark {
  background: var(--evergreen);
  color: var(--on-dark);
}
.band--dark h1, .band--dark h2, .band--dark h3 { color: var(--on-dark); }
.band--dark p { color: var(--on-dark); }
.band--dark a:not(.btn) { color: #BFE0C9; }
.band--dark a:not(.btn):hover { color: #fff; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 var(--s-3);
}
.band--dark .eyebrow { color: #9FC9AE; }

.lede { font-size: clamp(1.2rem, 2.2vw, 1.4rem); line-height: 1.5;
        color: var(--ink); max-width: 36rem; }
.band--dark .lede { color: var(--on-dark); }

.stack > * + * { margin-top: var(--s-4); }
.stack > h2 { margin-top: var(--s-5); }

/* Two-column split, mobile-first single column */
.split { display: grid; gap: var(--s-6); }
@media (min-width: 62rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
  .split--aside { grid-template-columns: 5fr 7fr; gap: var(--s-8); }
  .split--lean  { grid-template-columns: 7fr 5fr; gap: var(--s-8); }
}
.aside-head { position: relative; }
@media (min-width: 62rem) { .aside-head { position: sticky; top: 6rem; } }

/* =========================================================================
   Skip link
   ========================================================================= */
.skip {
  position: absolute; left: var(--s-4); top: -100px;
  background: var(--evergreen); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r); z-index: 200; font-weight: 600;
  text-decoration: none; transition: top .15s var(--ease);
}
.skip:focus { top: var(--s-3); color: #fff; }

/* =========================================================================
   Utility strip + masthead
   ========================================================================= */
.utility {
  background: var(--evergreen-2); color: var(--on-dark-soft);
  font-size: 0.86rem;
}
.utility__inner {
  display: flex; flex-wrap: wrap; gap: .25rem 1.25rem;
  justify-content: space-between; align-items: center;
  padding-block: .5rem;
}
.utility a { color: #CFE3D4; font-weight: 600; }
.utility a:hover { color: #fff; }
@media (max-width: 30rem) { .utility__where { display: none; } }

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); padding-block: var(--s-3);
}
.wordmark { text-decoration: none; color: var(--ink); display: block; line-height: 1.05; }
.wordmark__name { font-family: var(--display); font-size: 1.4rem; font-weight: 500;
                  display: block; letter-spacing: -0.01em; }
.wordmark__name em { font-style: italic; }
.wordmark__sub { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
                 color: var(--ink-soft); }

.nav { display: none; }
@media (min-width: 60rem) {
  .nav { display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.5rem); }
  .nav > a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 500;
             font-size: 0.98rem; padding-block: .3rem; position: relative; white-space: nowrap; }
  .nav .btn { padding: .58rem 1.05rem; min-height: 44px; margin-left: .4rem; }
  .nav > a:not(.btn):hover { color: var(--evergreen); }
  .nav > a[aria-current="page"]:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--evergreen); border-radius: 2px;
  }
}

/* Hamburger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line);
  background: var(--card); border-radius: var(--r); cursor: pointer;
}
.burger span { width: 100%; height: 2px; background: var(--ink); border-radius: 2px;
               transition: transform .2s var(--ease), opacity .2s var(--ease); }
@media (min-width: 60rem) { .burger { display: none; } }

/* Drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 22rem);
  background: var(--paper); z-index: 150;
  transform: translateX(100%); visibility: hidden;
  transition: transform .28s var(--ease), visibility 0s linear .28s;
  box-shadow: var(--shadow-lift); display: flex; flex-direction: column;
  padding: var(--s-4) var(--s-5) var(--s-6); overflow-y: auto;
}
.drawer[data-open="true"] { transform: translateX(0); visibility: visible;
  transition: transform .28s var(--ease), visibility 0s linear 0s; }
.drawer__top { display: flex; justify-content: flex-end; }
.drawer__close { width: 44px; height: 44px; border: 1px solid var(--line);
                 background: var(--card); border-radius: var(--r); font-size: 1.2rem;
                 cursor: pointer; color: var(--ink); }
.drawer nav { display: flex; flex-direction: column; margin-top: var(--s-3); }
.drawer nav a { text-decoration: none; color: var(--ink); font-size: 1.15rem;
                font-weight: 500; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.drawer nav a[aria-current="page"] { color: var(--evergreen); }
.drawer__foot { margin-top: var(--s-5); font-size: 0.95rem; color: var(--ink-soft); }
.drawer__foot a { font-weight: 600; }
.scrim {
  position: fixed; inset: 0; background: rgba(23,58,45,.4); z-index: 140;
  opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility .28s;
}
.scrim[data-open="true"] { opacity: 1; visibility: visible; }
@media (min-width: 60rem) { .drawer, .scrim { display: none; } }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 700; font-size: 1.02rem;
  padding: .8rem 1.4rem; border-radius: var(--r); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; min-height: 48px;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--evergreen); color: #fff; border-color: var(--evergreen); }
.btn--primary:hover { background: var(--evergreen-2); color: #fff; border-color: var(--evergreen-2); }
.btn--ghost { background: transparent; color: var(--evergreen); border-color: var(--evergreen); }
.btn--ghost:hover { background: color-mix(in srgb, var(--evergreen) 8%, transparent); color: var(--evergreen); }
.btn--light { background: var(--paper); color: var(--evergreen); border-color: var(--paper); }
.btn--light:hover { background: #fff; color: var(--evergreen-2); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
@media (max-width: 30rem) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

.inline-link { font-weight: 600; }

/* =========================================================================
   Hero + the arch (signature)
   ========================================================================= */
.hero { padding-block: clamp(2.25rem, 6vw, 4rem) clamp(2.75rem, 7vw, 4.75rem); }
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: 1.02fr 0.98fr; gap: var(--s-8); }
}
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em { font-style: italic; color: var(--evergreen); font-weight: 500; }
.hero__meta { font-size: 0.98rem; color: var(--ink-soft); margin-top: var(--s-5);
              max-width: 34rem; }

/* The arch — a soft doorway frame. Used only on hero, memorial, and step door. */
.arch {
  position: relative;
  border-radius: 48% 48% var(--r-lg) var(--r-lg) / 34% 34% var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line-sand);
}
.arch::after {  /* faint lamplight warmth, no hue-alarm */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 12%, rgba(251,247,238,.28), transparent 60%);
}
.hero__figure { margin: 0; }
.hero__figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.hero__note {
  display: flex; align-items: center; gap: .6rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: .7rem .95rem; box-shadow: var(--shadow);
  margin: -1.4rem auto 0; width: max-content; max-width: 92%;
  position: relative; z-index: 2; font-weight: 600; font-size: 0.98rem;
}
.hero__note svg { flex: none; color: var(--evergreen); }

/* =========================================================================
   Facts strip
   ========================================================================= */
.facts { border-block: 1px solid var(--line); }
.facts__grid { display: grid; gap: var(--s-5); }
@media (min-width: 48rem) { .facts__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.fact { }
.fact__num { font-family: var(--display); font-size: 1.7rem; font-weight: 500;
             color: var(--evergreen); display: block; margin-bottom: var(--s-1); }
.fact p { font-size: 1rem; color: var(--ink-soft); margin: 0; }

/* =========================================================================
   The four steps — "the path to the door"
   ========================================================================= */
.steps { list-style: none; margin: var(--s-7) 0 0; padding: 0;
         position: relative; max-width: 46rem; }
.steps::before {  /* the soft dotted thread */
  content: ""; position: absolute; left: 23px; top: 12px; bottom: 74px;
  border-left: 2px dotted var(--line-sand);
}
.step { position: relative; padding-left: 68px; padding-bottom: var(--s-6); }
.step:last-of-type { padding-bottom: var(--s-5); }
.step__num {
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); border: 1.5px solid var(--evergreen);
  color: var(--evergreen); font-family: var(--display); font-size: 1.3rem;
  font-weight: 600; z-index: 1;
}
.step h3 { margin-bottom: var(--s-2); }
.step p { margin: 0; }

/* the door at the end of the path */
.step-door { position: relative; padding-left: 68px; margin-top: var(--s-3); }
.step-door__mark {
  position: absolute; left: 0; top: -2px; width: 48px; height: 56px;
  border-radius: 24px 24px 6px 6px / 30px 30px 6px 6px;
  background: var(--evergreen); display: grid; place-items: center;
  color: #fff; z-index: 1;
}
.step-door__mark svg { color: #fff; }
.step-door p { margin: 0 0 var(--s-3); font-weight: 600; }

/* =========================================================================
   Checklists
   ========================================================================= */
.checklist { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: var(--s-3); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 13 13' fill='none'%3E%3Cpath d='M2.5 6.8 5 9.2 10.5 3.5' stroke='%231F4A3A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat,
    color-mix(in srgb, var(--evergreen) 14%, transparent);
}
.checklist--two { columns: 1; }
@media (min-width: 40rem) { .checklist--two { columns: 2; column-gap: var(--s-6); } }
.checklist--two li { break-inside: avoid; }
/* cross list (what a counsellor will NOT do) */
.checklist--cross li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 13 13' fill='none'%3E%3Cpath d='M3.5 3.5l6 6M9.5 3.5l-6 6' stroke='%234A5650' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat,
    color-mix(in srgb, var(--ink-soft) 12%, transparent);
}

/* =========================================================================
   Notes / call-out boxes
   ========================================================================= */
.note {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow);
}
.note + .note { margin-top: var(--s-4); }
.note h4 { color: var(--evergreen); }
.note p:last-child { margin-bottom: 0; }
.note--accent { border-left: 4px solid var(--evergreen); }
.note--care {  /* crisis / important — calm, not alarming */
  background: color-mix(in srgb, var(--slate) 7%, var(--card));
  border: 1px solid color-mix(in srgb, var(--slate) 28%, var(--line));
  border-left: 4px solid var(--slate);
}
.note--care h4 { color: var(--slate-2); }

/* =========================================================================
   Credentials + tables
   ========================================================================= */
.credentials { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.tag {
  font-size: 0.86rem; font-weight: 600; color: var(--evergreen);
  background: color-mix(in srgb, var(--evergreen) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--evergreen) 22%, transparent);
  border-radius: 999px; padding: .35rem .8rem;
}
.info-table { width: 100%; border-collapse: collapse; margin: var(--s-4) 0 0; }
.info-table th, .info-table td { text-align: left; vertical-align: top;
  padding: .7rem 0; border-bottom: 1px solid var(--line); }
.info-table th { width: 38%; font-weight: 600; color: var(--ink); padding-right: var(--s-4); }
.info-table td { color: var(--ink-soft); }
.note .info-table th, .note .info-table td { border-color: var(--line-sand); }

/* =========================================================================
   Cards
   ========================================================================= */
.cards { display: grid; gap: var(--s-5); }
@media (min-width: 52rem) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-5); text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift);
              border-color: var(--line-sand); color: var(--ink); }
.card h3 { margin-bottom: var(--s-3); }
.card p { font-size: 1rem; color: var(--ink-soft); flex: 1; }
.card__link { color: var(--evergreen); font-weight: 600; margin-top: var(--s-3); }

/* =========================================================================
   Pull quote
   ========================================================================= */
.quote { max-width: 46rem; margin-inline: auto; text-align: center; }
.quote p { font-family: var(--display); font-style: italic;
  font-size: clamp(1.35rem, 3.4vw, 1.95rem); line-height: 1.4;
  margin: 0 auto var(--s-4); max-width: none; }
.quote cite { font-family: var(--body); font-style: normal; font-size: 0.9rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-soft); }

/* =========================================================================
   Page head (interior pages)
   ========================================================================= */
.pagehead { padding-block: clamp(2rem, 5vw, 3.25rem) clamp(1rem, 3vw, 1.75rem);
            border-bottom: 1px solid var(--line); background: var(--sand); }
.crumbs { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: var(--s-3); }
.crumbs a { font-weight: 600; }
.pagehead h1 { margin-bottom: var(--s-4); }
.pagehead .lede { margin-bottom: 0; }

/* =========================================================================
   Memorial — deliberately quiet
   ========================================================================= */
.memorial { background: var(--paper); border-top: 1px solid var(--line); }
.memorial__grid { display: grid; gap: var(--s-6); max-width: 58rem; margin-inline: auto; }
@media (min-width: 52rem) { .memorial__grid { grid-template-columns: 260px 1fr; gap: var(--s-8); align-items: start; } }
.portrait { margin: 0 auto; max-width: 250px; width: 100%; }
@media (min-width: 52rem) { .portrait { max-width: none; } }
.portrait__arch {
  aspect-ratio: 4 / 5; width: 100%;
  border-radius: 48% 48% var(--r) var(--r) / 30% 30% var(--r) var(--r);
  background: var(--sand); border: 1px solid var(--line-sand);
  display: grid; place-items: center; text-align: center; color: var(--ink-soft);
}
.portrait__arch svg { color: var(--ink-soft); opacity: .6; margin-bottom: var(--s-2); }
.portrait__arch span { font-size: 0.9rem; letter-spacing: 0.02em; }
.portrait figcaption { font-size: 0.8rem; color: var(--ink-soft); margin-top: var(--s-2);
                       text-align: center; }
.memorial__name { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: var(--s-1); }
.memorial__dates { font-family: var(--body); color: var(--ink-soft); font-size: 1rem; }
.memorial__rule { border: 0; border-top: 1px solid var(--line); margin: var(--s-4) 0 var(--s-5); max-width: 4rem; margin-left: 0; }
.memorial__closing { font-family: var(--display); font-style: italic;
  font-size: 1.2rem; line-height: 1.5; color: var(--ink); margin-top: var(--s-5); }

/* =========================================================================
   FAQ accordion (details/summary)
   ========================================================================= */
.details-list { border-top: 1px solid var(--line); }
.details-list details { border-bottom: 1px solid var(--line); }
.details-list summary {
  cursor: pointer; list-style: none; padding: var(--s-5) 2.5rem var(--s-5) 0;
  position: relative; font-family: var(--display); font-size: 1.2rem; font-weight: 500;
  color: var(--ink);
}
.details-list summary::-webkit-details-marker { display: none; }
.details-list summary::after {
  content: ""; position: absolute; right: .2rem; top: 50%; width: 12px; height: 12px;
  margin-top: -8px; border-right: 2px solid var(--evergreen); border-bottom: 2px solid var(--evergreen);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.details-list details[open] summary::after { transform: rotate(-135deg); }
.details-list .answer { padding: 0 0 var(--s-5); }
.details-list .answer p { margin: 0; max-width: 44rem; }
.details-list summary:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }

/* =========================================================================
   Forms
   ========================================================================= */
.form { max-width: 34rem; }
.field { margin-bottom: var(--s-5); }
.field label { display: block; font-weight: 600; margin-bottom: var(--s-2); }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1.05rem; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r);
  padding: .75rem .85rem; min-height: 48px;
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--slate); outline-offset: 1px; border-color: var(--slate);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #8A3A3A; }
.hp { position: absolute; left: -9999px; }
.form__note { font-size: 0.92rem; color: var(--ink-soft); margin-top: var(--s-4); }

/* =========================================================================
   Map
   ========================================================================= */
.map-embed { width: 100%; height: 22rem; border: 1px solid var(--line);
             border-radius: var(--r-lg); background: var(--sand); }

/* =========================================================================
   Prose (privacy)
   ========================================================================= */
.prose h2 { font-size: 1.3rem; margin-top: var(--s-6); }
.prose h2:first-of-type { margin-top: var(--s-5); }
.prose p { max-width: 44rem; }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: var(--evergreen-2); color: var(--on-dark-soft);
          padding-block: var(--s-8) var(--s-6); font-size: 0.98rem; }
.footer__grid { display: grid; gap: var(--s-6); }
@media (min-width: 40rem) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60rem) { .footer__grid { grid-template-columns: 2fr 1fr 1.2fr 1.4fr; gap: var(--s-7); } }
.footer h4 { color: var(--on-dark); letter-spacing: 0.08em; text-transform: uppercase;
             font-size: 0.82rem; }
.footer p { color: var(--on-dark-soft); max-width: 30rem; }
.footer a { color: #CFE3D4; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: var(--s-2); }
.footer__mark { font-family: var(--display); font-size: 1.25rem; color: var(--on-dark);
                display: block; margin-bottom: var(--s-3); }
.footer__mark em { font-style: italic; }
.urgent { background: color-mix(in srgb, var(--slate) 22%, var(--evergreen-2));
          border: 1px solid var(--line-dark); border-radius: var(--r-lg);
          padding: var(--s-5); }
.urgent h4 { color: #fff; }
.urgent p { color: #E4EEF2; }
.urgent a { color: #fff; text-decoration-thickness: 2px; }
.footer__base {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  justify-content: space-between; align-items: center;
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--line-dark); font-size: 0.88rem;
}
.footer__base ul { display: flex; gap: var(--s-4); }
.footer__base li { margin: 0; }

/* =========================================================================
   Reveal-on-scroll motion (the ONLY motion). Disabled for reduced-motion.
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(10px);
            transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* =========================================================================
   Print
   ========================================================================= */
@media print {
  .masthead, .utility, .drawer, .scrim, .map-embed, .btn-row { display: none; }
  body { background: #fff; color: #000; }
}
