/* =========================================================
   DUNE — Association loi 1901
   Mediterranean / Morocco–France charity stylesheet
   Mobile-first, accessible, lightweight, no framework
   ========================================================= */

/* ---------- 1. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover, a:focus-visible {
  color: var(--brand-dark);
  text-decoration: underline;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--heading);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; margin: 0 0 1em; }
li + li { margin-top: 0.35em; }
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ---------- 2. Design tokens — sand + Mediterranean blue ---------- */
:root {
  --brand: #c46a1d;            /* warm sand / Morocco terracotta */
  --brand-dark: #9a4f10;
  --brand-light: #fcecd9;
  --accent: #1c5a99;           /* deep Mediterranean blue */
  --accent-dark: #11406f;
  --accent-light: #e1edf8;
  --heading: #1a2433;
  --text: #2c3848;
  --muted: #5b6677;
  --bg: #ffffff;
  --bg-alt: #fbf6ee;           /* soft sandy background */
  --bg-soft: #fdfaf4;
  --bg-blue: #f1f6fc;
  --border: #ece3d3;
  --border-cool: #d8e3f1;
  --shadow-sm: 0 1px 2px rgba(20, 33, 51, 0.06);
  --shadow-md: 0 6px 20px rgba(20, 33, 51, 0.08);
  --shadow-lg: 0 14px 40px rgba(20, 33, 51, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
  --container: 1180px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 2.5vw, 1.75rem);
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--alt { background: var(--bg-alt); }
.section--blue { background: var(--bg-blue); }
.section--brand { background: var(--brand-light); }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.text-center { text-align: center; }

/* ---------- 4. Skip link & a11y ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--heading);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; outline: 3px solid var(--accent); }

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

/* ---------- 5. Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--heading);
  letter-spacing: 0.04em;
}
.brand:hover, .brand:focus-visible {
  color: var(--brand);
  text-decoration: none;
}
.brand img {
  width: 38px; height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}
.brand-text small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
  align-items: center;
}

.nav-list a {
  display: inline-block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--heading);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
  background: var(--brand-light);
  color: var(--brand-dark);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  appearance: none;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.lang-switch button.is-active {
  background: var(--accent);
  color: #fff;
}

.menu-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--heading);
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1060px) {
  .nav-list { display: flex; }
  .menu-toggle { display: none; }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul {
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
}
.mobile-nav li + li { margin: 0; }
.mobile-nav a {
  display: block;
  padding: 0.85rem 1.25rem;
  color: var(--heading);
  font-weight: 500;
  border-bottom: 1px solid var(--bg-alt);
}
.mobile-nav a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--brand-light);
}

@media (min-width: 1060px) {
  .mobile-nav { display: none !important; }
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--brand-dark);
  color: #fff;
}

.btn--secondary {
  background: var(--accent);
  color: #fff;
}
.btn--secondary:hover, .btn--secondary:focus-visible {
  background: var(--accent-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--border);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: var(--bg-alt);
  color: var(--brand-dark);
  border-color: var(--brand);
}

.btn--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-row--center { justify-content: center; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.55), rgba(17, 64, 111, 0.7)),
    url("https://images.unsplash.com/photo-1489493585363-d69421e0edd3?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
  color: #fff;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.hero h1 { color: #fff; max-width: 820px; margin-bottom: 1rem; }
.hero p {
  font-size: clamp(1.05rem, 1vw + 0.85rem, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 700px;
  margin-bottom: 2rem;
}
.hero .eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero--page { padding-block: clamp(3rem, 6vw, 5rem); }
.hero--about {
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.55), rgba(17, 64, 111, 0.75)),
    url("https://images.unsplash.com/photo-1539020140153-e479b8c22e70?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
}
.hero--artists {
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.5), rgba(17, 64, 111, 0.72)),
    url("https://images.unsplash.com/photo-1499415479124-43c32433a620?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
}
.hero--housing {
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.55), rgba(17, 64, 111, 0.7)),
    url("https://images.unsplash.com/photo-1518780664697-55e3ad937233?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
}
.hero--students {
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.55), rgba(17, 64, 111, 0.7)),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
}
.hero--women {
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.55), rgba(17, 64, 111, 0.72)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
}
.hero--urssaf {
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.6), rgba(17, 64, 111, 0.78)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
}
.hero--guide {
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.55), rgba(17, 64, 111, 0.78)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
}
.hero--blog {
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.5), rgba(17, 64, 111, 0.72)),
    url("https://images.unsplash.com/photo-1457369804613-52c61a468e7d?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
}
.hero--donate {
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.55), rgba(17, 64, 111, 0.72)),
    url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
}
.hero--contact {
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.55), rgba(17, 64, 111, 0.7)),
    url("https://images.unsplash.com/photo-1560525821-d5f6c1de2487?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
}
.hero--mission {
  background:
    linear-gradient(180deg, rgba(17, 64, 111, 0.55), rgba(17, 64, 111, 0.72)),
    url("https://images.unsplash.com/photo-1473625247510-8ceb1760943f?auto=format&fit=crop&w=1600&q=70")
      center/cover no-repeat;
}
.hero--legal {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

/* ---------- 8. Cards & grids ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 0.25rem; margin-bottom: 0.5rem; }

.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand-dark);
  display: grid; place-items: center;
  margin-bottom: 0.85rem;
  font-size: 1.4rem;
}
.card .icon--blue { background: var(--accent-light); color: var(--accent-dark); }

.card-link {
  margin-top: auto;
  padding-top: 0.75rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.card-link::after { content: " →"; }

.media-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.media-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.media-card .body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex; flex-direction: column; flex: 1;
}
.media-card h3 { margin-bottom: 0.4rem; }
.media-card .body p { color: var(--muted); margin-bottom: 1rem; }
.media-card .card-link { margin-top: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
  .split--reverse > :first-child { order: 2; }
}
.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 9. Stats ---------- */
.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-block: 1rem 0;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  text-align: center;
}
.stat .num {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1;
}
.stat .label {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- 10. CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 760px) {
  .cta-banner { grid-template-columns: 1.4fr 1fr; gap: 2rem; }
}
.cta-banner h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.92); margin: 0; }
.cta-banner .btn-row { justify-content: flex-start; }
@media (min-width: 760px) {
  .cta-banner .btn-row { justify-content: flex-end; }
}
.cta-banner .btn--primary {
  background: #fff;
  color: var(--accent-dark);
}
.cta-banner .btn--primary:hover {
  background: var(--brand-light);
  color: var(--accent-dark);
}
.cta-banner .btn--ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.cta-banner .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* ---------- 11. Forms ---------- */
form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(28, 90, 153, 0.18);
  outline: none;
}
.field textarea { resize: vertical; min-height: 140px; }

.field--inline {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}
.field--inline input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px; height: 18px;
  accent-color: var(--accent);
}

.form-note { font-size: 0.9rem; color: var(--muted); }
.form-status {
  display: none;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  color: var(--accent-dark);
  font-weight: 500;
}

/* ---------- 12. Donation amounts ---------- */
.amounts {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}
.amounts label { position: relative; cursor: pointer; }
.amounts input[type="radio"] {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.amounts span {
  display: block;
  text-align: center;
  padding: 0.85rem 0.5rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-weight: 700;
  background: #fff;
  color: var(--heading);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.amounts input[type="radio"]:checked + span,
.amounts label:hover span {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: var(--brand-light);
}
.amounts input[type="radio"]:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 13. Lists with icons ---------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.6rem;
}
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin: 0;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--brand-light)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c46a1d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>")
    center / 0.85rem 0.85rem no-repeat;
}

/* ---------- 14. FAQ / details ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem 1.1rem;
}
.faq summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-weight: 600;
  color: var(--heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p, .faq details > ul {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* ---------- 15. Footer ---------- */
.site-footer {
  background: var(--heading);
  color: #cdd2da;
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: #e2e6ec; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; }

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}
.footer-grid li { margin: 0; }

.footer-brand p {
  color: #a2adba;
  font-size: 0.95rem;
  max-width: 360px;
}
.footer-brand .brand { color: #fff; }

.footer-disclaimer {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--brand);
  border-radius: 0 6px 6px 0;
  color: #c9d0d9;
  font-size: 0.86rem;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #98a1ad;
}

/* ---------- 16. Misc ---------- */
.breadcrumbs {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand-dark); }

.tag {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag--blue { background: var(--accent-light); color: var(--accent-dark); }

.callout {
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.callout--blue {
  background: var(--accent-light);
  border-left-color: var(--accent);
}
.callout--warn {
  background: #fff6e6;
  border-left-color: #e0a73a;
}
.callout p:last-child { margin-bottom: 0; }

.disclaimer-banner {
  background: #fff7ea;
  border-top: 1px solid #f1d9a8;
  border-bottom: 1px solid #f1d9a8;
  color: #6b4a18;
  padding: 0.65rem 0;
  font-size: 0.88rem;
  text-align: center;
}
.disclaimer-banner strong { color: #4d3309; }

address {
  font-style: normal;
  line-height: 1.7;
  color: var(--text);
}

/* prose body */
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.6rem; }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.85rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.prose ul li, .prose ol li { color: var(--text); }

/* download card */
.download-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 700px) {
  .download-card {
    grid-template-columns: 1fr auto;
    text-align: left;
    align-items: center;
  }
}
.download-card .pdf-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--brand-light);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .download-card .pdf-icon { margin: 0; }
}
.download-card .info {
  display: grid;
  gap: 0.4rem;
}
.download-card .info strong { font-size: 1.1rem; color: var(--heading); }

/* Reveal helper — kept as a no-op class so content is always visible.
   (No more fade-in animation; the previous scroll-reveal occasionally left
   content blank in certain rendering contexts.) */
.reveal { opacity: 1 !important; transform: none !important; }

/* table of contents */
.toc {
  background: var(--bg-blue);
  border: 1px solid var(--border-cool);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  margin: 1rem 0 2rem;
}
.toc h4 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}
.toc ul { margin: 0; padding-left: 1.1rem; }
.toc li { margin-top: 0.2rem; }

/* print friendliness */
@media print {
  .site-header, .site-footer, .hero, .btn, .cta-banner, .disclaimer-banner {
    display: none !important;
  }
  body { color: #000; background: #fff; }
}

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