/* ==========================================================================
   Sierra Hospice — Design System
   Structure & type scale adapted from the "Grove AI" reference style.
   Palette derived from the Sierra Hospice Patient Services brochure.
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------ */
:root {
  /* Brand — from brochure */
  --forest:        #1b4a2e;  /* primary brand green: banners, headings, CTAs */
  --forest-deep:   #12341f;  /* darkest green: footer, hover states          */
  --forest-tint:   #e8efe9;  /* pale green wash for soft surfaces            */
  --navy:          #1c2e5e;  /* secondary brand navy: subheads, icon circles */
  --navy-light:    #2c4a8c;

  /* Neutrals */
  --ink:           #1c1c1e;
  --graphite:      #303033;
  --slate:         #676768;
  --hairline:      #e2e0d9;
  --mist:          #eff1f6;
  --cream:         #f8f6f0;
  --white:         #ffffff;

  /* Semantic */
  --bg:            var(--white);
  --bg-alt:        var(--cream);
  --text:          var(--ink);
  --text-muted:    var(--slate);
  --accent:        var(--forest);

  /* Type */
  --font-display: "Libre Caslon Text", "Source Serif 4", Lora, "PT Serif", Georgia, serif;
  --font-sans: Geist, Inter, "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Petit Formal Script", "Libre Caslon Text", cursive;

  /* Layout */
  --maxw: 1200px;
  --measure: 68ch;
  --gutter: 24px;
  --section-gap: 96px;

  /* Radius — commit to 8/12, 20/24, or pill */
  --r-input: 8px;
  --r-icon: 12px;
  --r-card: 20px;
  --r-card-lg: 24px;
  --r-pill: 9999px;

  /* Elevation — hairline halos only */
  --shadow-card: 0 0 1px 0 rgba(0, 0, 0, 0.35), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-btn: 0 0 1px 0 rgba(0, 0, 0, 0.35), inset 0 1px 2px 0 rgba(255, 255, 255, 0.18);
  --shadow-lift: 0 0 1px 0 rgba(0, 0, 0, 0.35), 0 6px 20px -8px rgba(18, 52, 31, 0.28);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.32px;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
iframe { max-width: 100%; display: block; }

img { height: auto; }

a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; }

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

hr { border: 0; border-top: 1px solid var(--hairline); margin: 48px 0; }

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

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

.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--forest); color: #fff;
  padding: 10px 18px; border-radius: var(--r-pill);
  z-index: 200; font-size: 14px; font-weight: 500;
  transition: top 0.16s ease;
}
.skip-link:focus { top: 8px; color: #fff; }

/* ---------- Typography -------------------------------------------------- */
.display,
h1.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.2vw, 5.75rem);
  line-height: 1.12;
  letter-spacing: -0.011em;
  margin: 0 0 20px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.125rem, 4.6vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -0.011em;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.011em;
}

h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.3125rem;
  line-height: 1.3;
  letter-spacing: -0.4px;
  color: var(--navy);
}

h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: var(--navy);
}

/* Small-caps section label — the "— Serving Our Community Since 1981 —" line */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 14px;
}
.eyebrow::before { content: "— "; }
.eyebrow::after  { content: " —"; }
.eyebrow--plain::before,
.eyebrow--plain::after { content: none; }

.lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  letter-spacing: -0.38px;
  color: var(--graphite);
}

.prose { max-width: var(--measure); }
.prose p { margin-bottom: 1.15em; }
.prose > :last-child { margin-bottom: 0; }

.text-accent { color: var(--forest); }
.serif { font-family: var(--font-display); font-weight: 400; }

/* ---------- Layout ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-gap); }
.section--tight { padding-block: 64px; }
.section--alt { background: var(--bg-alt); }
.section--forest {
  background: var(--forest);
  color: #fff;
}
.section--forest h1,
.section--forest h2,
.section--forest h3,
.section--forest h4 { color: #fff; }
.section--forest .eyebrow { color: #a9d8bd; }
.section--forest p { color: rgba(255, 255, 255, 0.88); }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head .lead { margin-bottom: 0; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.split--media-right { direction: ltr; }

@media (max-width: 900px) {
  :root { --section-gap: 64px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.1px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--forest);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover { background: var(--forest-deep); color: #fff; }

.btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--dark:hover { background: #000; color: #fff; }

.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn--ghost-light:hover { background: #fff; color: var(--forest); }

.btn--lg { font-size: 15px; padding: 16px 32px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Inline text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform 0.16s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header / Nav ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest);
  margin-right: auto;
  flex-shrink: 0;
}
.brand img { height: 52px; width: 52px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--forest);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-tag {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .brand img { height: 44px; width: 44px; }
  .brand-name { font-size: 1.1rem; }
  .brand-tag { font-size: 8.5px; letter-spacing: 0.1em; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.1px;
  color: var(--graphite);
  text-decoration: none;
  border-radius: var(--r-pill);
}
.nav-links a:hover { color: var(--forest); background: var(--forest-tint); }
.nav-links a[aria-current="page"] { color: var(--forest); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink); position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--hairline);
    padding: 12px var(--gutter) 20px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 8px; font-size: 16px; border-radius: var(--r-input); }
  .nav-cta { display: none; }
  .nav-links .nav-cta-mobile { display: block; margin-top: 10px; }
}
@media (min-width: 1041px) {
  .nav-links .nav-cta-mobile { display: none; }
}

/* ---------- Hero -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(460px, 68vh, 660px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--forest-deep);
}
.hero__media {
  position: absolute; inset: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 26, 18, 0.10) 0%, rgba(10, 26, 18, 0.26) 60%, rgba(10, 26, 18, 0.46) 100%),
    linear-gradient(100deg, rgba(10, 26, 18, 0.74) 0%, rgba(10, 26, 18, 0.46) 42%, rgba(10, 26, 18, 0.06) 78%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 88px;
}
.hero__content { max-width: 720px; }
.hero .eyebrow { color: #b7ddc6; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
  margin-bottom: 0;
}

/* Compact page hero for interior pages */
.page-hero {
  position: relative;
  color: #fff;
  background: var(--forest-deep);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 26, 18, 0.08) 0%, rgba(10, 26, 18, 0.34) 100%),
    linear-gradient(100deg, rgba(10, 26, 18, 0.80) 0%, rgba(10, 26, 18, 0.50) 46%, rgba(10, 26, 18, 0.12) 82%);
}
.page-hero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(64px, 9vw, 108px);
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero .eyebrow { color: #b7ddc6; }
.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
  max-width: 60ch;
  margin-bottom: 0;
}

/* ---------- Cards ------------------------------------------------------- */
.card {
  background: var(--mist);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--graphite); font-size: 15px; margin-bottom: 18px; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }

.card--white {
  background: #fff;
  box-shadow: var(--shadow-card);
}
.card--bordered {
  background: #fff;
  border: 1px solid var(--hairline);
}
.card--media { padding: 0; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.card--media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card--media .card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }

.card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.6; }
.card-icon--forest { background: var(--forest); }

/* Feature list — brochure's "Services We Provide" pattern */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list > li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.feature-list > li:first-child { padding-top: 0; }
.feature-list > li:last-child { border-bottom: 0; }
.feature-list h4 { margin-bottom: 4px; }
.feature-list p { margin: 0; color: var(--graphite); font-size: 15px; }

/* Highlight panel — brochure's "Always Free" moment */
.highlight {
  background: var(--forest);
  color: #fff;
  border-radius: var(--r-card-lg);
  padding: 36px 34px;
}
.highlight .eyebrow { color: #a9d8bd; }
.highlight h3 { color: #fff; font-size: 1.75rem; font-family: var(--font-display); font-weight: 400; }
.highlight p { color: rgba(255, 255, 255, 0.9); }
.highlight > :last-child { margin-bottom: 0; }

.callout {
  background: var(--forest-tint);
  border-left: 3px solid var(--forest);
  border-radius: 0 var(--r-input) var(--r-input) 0;
  padding: 22px 26px;
  margin: 32px 0;
}
.callout > :last-child { margin-bottom: 0; }
.callout--warn {
  background: #fdf6e8;
  border-left-color: #b4791a;
}

/* Stat / info tiles */
.tile {
  background: var(--mist);
  border-radius: var(--r-card);
  padding: 24px;
}
.tile__num {
  font-size: 2.5rem; font-weight: 600; line-height: 1.1;
  letter-spacing: -1.44px; color: var(--forest);
  display: block; margin-bottom: 4px;
}
.tile__label { font-size: 14px; color: var(--graphite); }

/* ---------- Chips / tag lists ------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.1px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--hairline);
  color: var(--graphite);
}
.chips--forest li { background: var(--forest-tint); border-color: transparent; color: var(--forest-deep); }

/* Two-tone accepted / not-accepted item lists */
.itemlist {
  list-style: none; padding: 0; margin: 0;
  columns: 3; column-gap: 32px;
}
.itemlist li {
  break-inside: avoid;
  padding: 7px 0 7px 26px;
  font-size: 14.5px;
  color: var(--graphite);
  position: relative;
}
.itemlist li::before {
  position: absolute; left: 0; top: 6px;
  font-size: 13px; font-weight: 600;
}
.itemlist--yes li::before { content: "✓"; color: var(--forest); }
.itemlist--no li::before { content: "✕"; color: #a33a2a; }
@media (max-width: 900px) { .itemlist { columns: 2; } }
@media (max-width: 560px) { .itemlist { columns: 1; } }

/* ---------- FAQ (details/summary) --------------------------------------- */
.faq { border-top: 1px solid var(--hairline); }
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.3px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--forest);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 44px 26px 0; }
.faq details p { color: var(--graphite); margin-bottom: 0; max-width: var(--measure); }

/* ---------- Contact blocks ---------------------------------------------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 30px;
}
.contact-card h3 { margin-bottom: 14px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 9px 0;
  font-size: 15px;
  color: var(--graphite);
}
.contact-list svg { width: 18px; height: 18px; stroke: var(--forest); fill: none; stroke-width: 1.6; margin-top: 3px; }
.contact-list a { color: var(--graphite); text-decoration: none; }
.contact-list a:hover { color: var(--forest); text-decoration: underline; }

.map-embed {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--mist);
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Hours table */
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td {
  text-align: left;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--graphite);
}
.hours th { font-weight: 500; color: var(--ink); }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* ---------- CTA band ---------------------------------------------------- */
.cta-band {
  background: var(--forest);
  color: #fff;
  border-radius: var(--r-card-lg);
  padding: clamp(36px, 5vw, 60px);
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: 0;
}
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ------------------------------------------------------ */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 72px 0;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 52px;
}
.site-footer h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}
.site-footer p { color: rgba(255, 255, 255, 0.72); line-height: 1.65; }
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { padding: 5px 0; }

.footer-brand__lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  text-decoration: none;
}
.footer-brand__lockup img { height: 58px; width: 58px; }
.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: #fff;
  letter-spacing: 0.02em;
  display: block;
  line-height: 1.1;
}
.footer-brand__tag {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  display: block;
  margin-top: 4px;
}
.footer-mission { max-width: 46ch; margin-bottom: 18px; }
.footer-legal {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: inline-flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: #fff; border-color: #fff; }
.social-row svg { width: 18px; height: 18px; fill: currentColor; color: rgba(255, 255, 255, 0.9); }
.social-row a:hover svg { color: var(--forest-deep); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Utilities --------------------------------------------------- */
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }
.rounded-media {
  border-radius: var(--r-card-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.rounded-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.figure-note {
  font-size: 13px;
  color: var(--slate);
  margin-top: 10px;
}

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

@media print {
  .site-header, .site-footer, .btn-row, .nav-toggle { display: none !important; }
  body { font-size: 12pt; }
}
