/* ==========================================================================
   Inland Respite — site.css
   Design system: "Hours Back"
   Author: Palm Desert Geeks / Thinglet Marketing
   Version: 1.0.0
   --------------------------------------------------------------------------
   Notes
   - Fonts are self-hosted (no third-party requests, no consent required).
   - Brand teal #07A2BF is retained for graphics only; #06697C is the
     accessible text/link tint (4.5:1+ on paper). See TOKENS below.
   ========================================================================== */

/* ---------- Fonts (self-hosted, subset: latin) ---------------------------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/public-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/public-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/public-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/public-sans-latin-700-normal.woff2') format('woff2');
}

/* ---------- TOKENS -------------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* Colour */
  --paper: #fbfaf7;
  --paper-raised: #ffffff;
  --field: #e4f1ef;          /* soft mint band */
  --ink: #0b3c42;            /* headings, dark surfaces */
  --body: #33474b;           /* body copy */
  --muted: #5d7176;
  --teal: #07a2bf;           /* brand teal — graphics only */
  --teal-deep: #06697c;      /* accessible teal for text and links */
  --teal-wash: #d9edf2;
  --apricot: #e88c3c;        /* warmth, careers, action */
  --apricot-wash: #fbebda;
  --line: #d8dfdd;
  --line-strong: #b6c4c2;
  --focus: #b3510a;
  --danger: #a32020;
  --danger-wash: #fbe9e9;

  /* Type */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.16vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.14rem + 0.3vw, 1.38rem);
  --step-2: clamp(1.45rem, 1.33rem + 0.6vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.53rem + 1.1vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.7rem + 2vw, 3.5rem);

  /* Space + shape */
  --gap: clamp(1rem, 0.8rem + 1vw, 1.6rem);
  --pad-section: clamp(3rem, 2rem + 5vw, 6rem);
  --wrap: 71rem;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 60, 66, 0.06), 0 12px 28px -18px rgba(11, 60, 66, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1618;
    --paper-raised: #122226;
    --field: #112529;
    --ink: #e9f3f2;
    --body: #c3d3d3;
    --muted: #93a9a9;
    --teal: #3cc3dd;
    --teal-deep: #7bd8ea;
    --teal-wash: #10333c;
    --apricot: #f0a463;
    --apricot-wash: #2e2015;
    --line: #24393e;
    --line-strong: #37545b;
    --focus: #ffb066;
    --danger: #ff9b9b;
    --danger-wash: #33191a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 30px -18px rgba(0, 0, 0, 0.8);
  }
}

/* ---------- RESET --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); font-family: var(--sans); font-weight: 700; }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--teal-deep); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }

ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.45em; }

strong { color: var(--ink); font-weight: 700; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* ---------- FOCUS + MOTION (quality floor) -------------------------------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- LAYOUT -------------------------------------------------------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section { padding-block: var(--pad-section); }
.section--tight { padding-block: clamp(2rem, 1.4rem + 3vw, 3.5rem); }
.section--field { background: var(--field); }
.section--ink { background: var(--ink); }
.section--ink h2,
.section--ink h3 { color: #fff; }
.section--ink p { color: #cfe2e2; }

.lede {
  font-size: var(--step-1);
  color: var(--body);
  max-width: 58ch;
}

.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 0.9rem;
  display: block;
}
.section--ink .eyebrow { color: var(--teal); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }

/* ---------- HEADER + NAV -------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  padding: 0.25rem 0;
}
.brand__mark { flex: 0 0 auto; }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-raised);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav {
  display: none;
  padding-bottom: 1rem;
}
.nav[data-open='true'] { display: block; }

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav__list a {
  display: block;
  min-height: 44px;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.nav__list a:hover { background: var(--teal-wash); }
.nav__list a[aria-current='page'] {
  background: var(--teal-wash);
  box-shadow: inset 3px 0 0 var(--teal-deep);
}

.nav__cta { margin-top: 0.6rem; }

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .nav { display: block !important; padding-bottom: 0; }
  .nav__list { flex-direction: row; align-items: center; gap: 0.15rem; }
  .nav__list a { padding: 0.5rem 0.7rem; font-size: 0.95rem; }
  .nav__list a[aria-current='page'] {
    box-shadow: inset 0 -3px 0 var(--teal-deep);
    background: transparent;
  }
  .nav__cta { margin: 0 0 0 0.6rem; }
  .masthead__bar { padding-block: 0.85rem; }
}

/* ---------- BUTTONS ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--teal-deep); color: #fff; }
.btn--primary:hover { background: #05576a; color: #fff; }

.btn--warm { background: var(--apricot); color: #23140a; }
.btn--warm:hover { background: #d97e2d; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--on-ink { background: #fff; color: var(--ink); }
.btn--on-ink:hover { background: #e6f2f2; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

/* ---------- HERO + SIGNATURE "HOURS BACK" BAND ---------------------------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem) var(--pad-section); }

.hero__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero h1 { margin-bottom: 0.35em; }
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  font-size: var(--step-1);
  text-decoration: none;
}
.hero__phone span { color: var(--muted); font-size: var(--step--1); font-weight: 600; }

/* The week card: respite hours marked inside a caregiver's week */
.week {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 0.8rem + 1.2vw, 1.8rem);
  box-shadow: var(--shadow);
}
.week__title {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.15rem;
  font-size: var(--step-0);
}
.week__sub {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: var(--step--1);
}
.week__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.week__day {
  display: grid;
  gap: 5px;
  grid-template-rows: auto repeat(12, 1fr);
}
.week__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding-bottom: 0.3rem;
}
.week__cell {
  height: 12px;
  border-radius: 3px;
  background: #e8eceb;
  background: color-mix(in srgb, var(--line) 55%, transparent);
}
.week__cell--respite {
  background: var(--teal);
  animation: fill-in 0.5s ease-out both;
}
.week__cell--respite:nth-child(2n) { animation-delay: 0.12s; }
.week__cell--respite:nth-child(3n) { animation-delay: 0.24s; }

@keyframes fill-in {
  from { opacity: 0; transform: scaleX(0.2); }
  to { opacity: 1; transform: scaleX(1); }
}

.week__key {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--muted);
}
.week__key span { display: inline-flex; align-items: center; gap: 0.45rem; }
.week__swatch {
  width: 14px; height: 10px; border-radius: 3px;
  background: #e8eceb;
  background: color-mix(in srgb, var(--line) 55%, transparent);
  flex: 0 0 auto;
}
.week__swatch--respite { background: var(--teal); }

/* ---------- CARDS + DOORS ------------------------------------------------- */
.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 1rem + 1vw, 1.8rem);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 0.4rem; }
.card p:last-of-type { margin-bottom: 1.1rem; }
.card > .btn,
.card > .card__link { margin-top: auto; align-self: flex-start; }

.card__link {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.card__link:hover { border-bottom-width: 3px; }

.door {
  border-top: 4px solid var(--teal-deep);
  border-radius: 4px var(--radius) var(--radius) var(--radius);
}
.door--family { border-top-color: var(--teal-deep); }
.door--partner { border-top-color: var(--ink); }
.door--careers { border-top-color: var(--apricot); }

.door__who {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* ---------- CALLOUTS ------------------------------------------------------ */
.callout {
  border-left: 4px solid var(--teal-deep);
  background: var(--teal-wash);
  padding: 1.1rem 1.3rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.8rem 0;
}
.callout--urgent {
  border-left-color: var(--danger);
  background: var(--danger-wash);
}
.callout--warm {
  border-left-color: var(--apricot);
  background: var(--apricot-wash);
}
.callout > :last-child { margin-bottom: 0; }
.callout h3 { font-size: var(--step-0); font-family: var(--sans); font-weight: 700; }

/* ---------- LISTS: cities, facts, steps ----------------------------------- */
.chips {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips li { margin: 0; }
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper-raised);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.chips a:hover { border-color: var(--teal-deep); background: var(--teal-wash); }

.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.facts li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.7rem;
  margin: 0;
}
.facts li::before {
  content: '';
  width: 14px; height: 14px;
  margin-top: 0.45rem;
  border-radius: 3px;
  background: var(--teal);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.2rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-family: var(--display);
}
.steps h3 { font-size: var(--step-0); font-family: var(--sans); margin-bottom: 0.2rem; }

/* ---------- TABLES -------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.97rem;
}
caption {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 0.6rem;
}
th, td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
th { color: var(--ink); font-weight: 700; }
tbody tr:nth-child(odd) td { background: var(--field); }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  tbody tr:nth-child(odd) td { background: color-mix(in srgb, var(--field) 45%, transparent); }
}

/* ---------- FORMS --------------------------------------------------------- */
.form { max-width: 40rem; }
.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.field .hint {
  display: block;
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.field .req { color: var(--danger); font-weight: 700; }

input[type='text'],
input[type='email'],
input[type='tel'],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-raised);
  color: var(--body);
  font: inherit;
}
textarea { min-height: 9rem; resize: vertical; }

input:focus-visible,
select:focus-visible,
textarea:focus-visible { border-color: var(--teal-deep); }

[aria-invalid='true'] { border-color: var(--danger) !important; }

.field__error {
  display: block;
  margin-top: 0.4rem;
  color: var(--danger);
  font-weight: 600;
  font-size: 0.95rem;
}

.choice {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
}
.choice input { margin-top: 0.35rem; width: 20px; height: 20px; flex: 0 0 auto; }
.choice label { font-weight: 500; color: var(--body); margin: 0; }

.error-summary {
  border: 2px solid var(--danger);
  background: var(--danger-wash);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.6rem;
}
.error-summary h2 { font-size: var(--step-1); color: var(--danger); margin-bottom: 0.4rem; }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--danger); font-weight: 700; }

.form-status {
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
  font-weight: 600;
}
.form-status[data-state='ok'] { background: var(--teal-wash); border: 2px solid var(--teal-deep); color: var(--ink); }
.form-status[data-state='error'] { background: var(--danger-wash); border: 2px solid var(--danger); color: var(--danger); }

.honey { position: absolute; left: -9999px; }

/* ---------- CONSENT-GATED EMBED ------------------------------------------ */
.embed-gate {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--field);
  padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  text-align: left;
}
.embed-gate h3 { font-size: var(--step-1); }
.embed-gate p { color: var(--muted); }
.embed-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- BREADCRUMB ---------------------------------------------------- */
.breadcrumb { padding-top: 1.4rem; font-size: var(--step--1); }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.4rem; color: var(--line-strong); }

/* ---------- PAGE HEAD ----------------------------------------------------- */
.pagehead {
  background: var(--field);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 1.4rem + 3vw, 3.5rem);
}
.pagehead h1 { margin-bottom: 0.3em; }
.pagehead p { margin-bottom: 0; }

/* ---------- CTA BAR ------------------------------------------------------- */
.ctabar {
  background: var(--ink);
  color: #d7e8e8;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  display: grid;
  gap: 1.2rem;
}
.ctabar h2 { color: #fff; margin-bottom: 0.3em; }
.ctabar p { color: #c3dada; margin-bottom: 0; }
@media (min-width: 52rem) {
  .ctabar { grid-template-columns: 1.4fr auto; align-items: center; }
}

/* ---------- FOOTER -------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: #c3dada;
  padding-block: var(--pad-section) 2rem;
  margin-top: var(--pad-section);
}
.footer a { color: #fff; }
.footer h2, .footer h3 { color: #fff; }
.footer__cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.footer h3 {
  font-family: var(--sans);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fb9bd;
  margin-bottom: 0.9rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer li a { text-decoration: none; }
.footer li a:hover { text-decoration: underline; }

.social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.4rem;
  padding: 0;
  list-style: none;
}
.social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid #3a6067;
  border-radius: 50%;
}
.social a:hover { background: #143c44; border-color: #6fb4bf; }
.social svg { width: 20px; height: 20px; fill: currentColor; }

.footer__legal {
  border-top: 1px solid #274c53;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: var(--step--1);
  display: grid;
  gap: 0.8rem;
}
.footer__legal p { color: #9dc0c4; max-width: 75ch; margin: 0; }
.footer__legal .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.byline { color: #8fb9bd; }
.byline a { font-weight: 600; }

/* ---------- COOKIE CONSENT ------------------------------------------------ */
.consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 80;
  background: var(--paper-raised);
  border-top: 3px solid var(--teal-deep);
  box-shadow: 0 -12px 30px -20px rgba(11, 60, 66, 0.6);
  padding: 1.2rem 0;
}
.consent[hidden] { display: none; }
.consent__inner {
  display: grid;
  gap: 1rem;
}
.consent h2 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.consent p { margin-bottom: 0; font-size: 0.97rem; }
@media (min-width: 56rem) {
  .consent__inner { grid-template-columns: 1fr auto; align-items: center; }
}
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

dialog.prefs {
  width: min(100% - 2rem, 34rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 1rem + 1.5vw, 2rem);
  background: var(--paper-raised);
  color: var(--body);
}
dialog.prefs::backdrop { background: rgba(11, 60, 66, 0.55); }
dialog.prefs h2 { margin-bottom: 0.4rem; }

.switchrow {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.9rem;
}
.switchrow p { margin: 0.3rem 0 0; font-size: 0.93rem; color: var(--muted); }

/* ---------- PROSE (policy pages) ----------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2rem; font-size: var(--step-2); }
.prose h3 { margin-top: 1.6rem; }
.prose ul { margin-bottom: 1.2em; }

/* ---------- UTIL ---------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.narrow { max-width: 46rem; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 1.1rem; }

@media print {
  .masthead, .consent, .footer__cols, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
