/* ==========================================================================
   Purple Lily — Base Stylesheet
   Implements the brand design principles on top of tokens.css.
   Load order in every page: tokens.css  ->  base.css

   Principles: quiet over loud, generous whitespace, cream page, plum text,
   green structure, scripture set apart, 8pt radii, fine olive rules.
   ========================================================================== */

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

* { margin: 0; }

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

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: var(--leading-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

img { border-radius: var(--radius); }
img.is-flush { border-radius: 0; } /* hero / full-bleed images */

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--link-hover); }

:where(button, a):focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 3px;
}

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

/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: var(--leading-tight);
  font-weight: 400;
  text-wrap: balance;
}

h1 { font-size: var(--step-h1); }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); font-weight: 500; }

/* The big, airy display setting — Fraunces Light */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-hero);
  line-height: 1.05;
  color: var(--heading);
  letter-spacing: -0.01em;
}

p { max-width: var(--measure); }
p + p { margin-top: var(--space-sm); }

.lead {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.55;
}

/* Eyebrow / small-caps label above headings */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-small);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  /* letter-spacing adds a trailing gap after the last letter, which pushes
     centered text slightly left. This indent balances it so caps truly centre. */
  text-indent: var(--tracking-caps);
  color: var(--olive);
  margin-bottom: var(--space-xs);
}
.eyebrow--gold { color: var(--gold); }

strong, b { font-weight: 700; }
em { font-style: italic; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.container--narrow { max-width: var(--container-narrow); }

main { flex: 1 0 auto; }

/* Full-width bands. Alternate cream and forest for rhythm. */
.section {
  padding-block: var(--section-y);
}
.section--sage   { background: color-mix(in srgb, var(--sage) 45%, var(--forest)); color: var(--cream); }
.section--forest { background: var(--forest); color: var(--text-on-dark); }

/* Sage sections read as a deeper green with cream text (legible + on-brand). */
.section--sage h1,
.section--sage h2,
.section--sage h3,
.section--sage .step h3,
.section--sage .prose h3 { color: var(--cream); }
.section--sage .eyebrow { color: var(--cream); opacity: 0.82; }
.section--sage a { color: var(--cream); }
.section--sage a:hover { color: var(--amethyst); }
.section--sage .link-more { color: var(--cream); }
.section--sage .scripture__ref { color: var(--cream); opacity: 0.85; }
.section--sage .rule { border-color: var(--sage); opacity: 0.4; }

.section--forest h1,
.section--forest h2,
.section--forest h3 { color: var(--heading-on-dark); }
.section--forest a  { color: var(--cream); }
.section--forest a:hover { color: var(--amethyst); }
.section--forest .eyebrow { color: var(--amethyst); }

.center      { text-align: center; }
.center p    { margin-inline: auto; }
.stack > * + * { margin-top: var(--space-md); }

/* --------------------------------------------------------------------------
   4. Fine olive rules (dividers)  —  the 0.75pt hairline signature
   -------------------------------------------------------------------------- */
.rule {
  border: 0;
  border-top: var(--rule-width) solid var(--rule);
  opacity: 0.5;
  width: 100%;
  margin-block: var(--space-lg);
}
.rule--short {
  width: 64px;
  margin-inline: auto;
  opacity: 0.75;
}
.rule--gold {
  border-color: var(--gold);
  opacity: 0.9;
}
.section--forest .rule { border-color: var(--sage); opacity: 0.4; }

/* --------------------------------------------------------------------------
   5. Scripture treatment — the signature element. Designed once, reused.
      Fraunces italic, gold, generous space, flanked by fine gold rules.
   -------------------------------------------------------------------------- */
.scripture {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--step-scripture);
  line-height: 1.5;
  color: var(--gold);
  text-align: center;
  max-width: 34ch;
  margin-inline: auto;
  padding-block: var(--space-xs);
  text-wrap: balance;
}
.scripture::before,
.scripture::after {
  content: "";
  display: block;
  width: 40px;
  height: 0;
  border-top: 1px solid var(--gold);
  opacity: 0.65;
  margin-inline: auto;
}
.scripture::before { margin-bottom: var(--space-md); }
.scripture::after  { margin-top: var(--space-md); }

/* The reference line — quiet, small, in body font, never gold at body size */
.scripture__ref {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--step-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: var(--space-sm);
}
.section--forest .scripture__ref { color: var(--sage); }

/* Inline pull-quote variant sitting inside prose (left gold hairline) */
.scripture--inline {
  text-align: left;
  margin-inline: 0;
  max-width: var(--measure);
  border-left: 2px solid var(--gold);
  padding-left: var(--space-md);
}
.scripture--inline::before,
.scripture--inline::after { content: none; }
.scripture--inline .scripture__ref { letter-spacing: 0.06em; }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: var(--step-body);
  font-weight: 600;
  line-height: 1;
  padding: 0.9em 1.6em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-text);
}
.btn--primary:hover { background: var(--btn-bg-hover); color: var(--btn-text); }

.btn--ghost {
  background: transparent;
  color: var(--olive);
  border-color: var(--olive);
}
.btn--ghost:hover { background: var(--olive); color: var(--cream); }

/* On dark backgrounds (forest sections and the photo hero) ghost buttons
   invert to cream so they stay legible. */
.section--forest .btn--ghost,
.section--sage .btn--ghost,
.hero .btn--ghost {
  color: var(--cream);
  border-color: rgba(245, 240, 232, 0.7);
}
.section--forest .btn--ghost:hover,
.section--sage .btn--ghost:hover,
.hero .btn--ghost:hover { background: var(--cream); color: var(--forest); }

/* Quiet text link with arrow, used for "Read the full story →" teasers */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  text-decoration: none;
  color: var(--violet);
}
.link-more:hover { gap: 0.65em; color: var(--btn-bg-hover); }
.section--forest .link-more { color: var(--amethyst); }

/* --------------------------------------------------------------------------
   7. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-md); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface);
  color: var(--plum);   /* cards keep plum text regardless of the section colour */
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 400ms var(--ease);
}
.card:hover .card__media img { transform: scale(1.03); }
.card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}
.card__body h3 { color: var(--olive); }
.card__body .link-more { margin-top: auto; padding-top: var(--space-xs); color: var(--violet); }
.card__body .link-more:hover { color: var(--btn-bg-hover); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(520px, 82vh, 820px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  z-index: -2;
}
/* Warm forest-to-transparent scrim so cream text stays legible on any photo */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom,
      rgba(36, 64, 46, 0.30) 0%,
      rgba(36, 64, 46, 0.20) 40%,
      rgba(36, 64, 46, 0.55) 100%);
}
.hero__inner {
  padding: var(--space-xl) var(--space-md);
  max-width: 46rem;
}
.hero .display { color: var(--cream); }
.hero p { margin-inline: auto; color: var(--cream); }
.hero .scripture { color: var(--cream); }
.hero .scripture::before,
.hero .scripture::after { border-color: var(--gold); opacity: 0.9; }
.hero .scripture__ref { color: var(--cream); }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
}

/* --------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: var(--space-2xs); }
.field label {
  font-weight: 600;
  font-size: var(--step-small);
  color: var(--plum);
}
.field .req { color: var(--violet); }

.input,
.textarea,
.select {
  font-family: var(--font-body);
  font-size: var(--step-body);
  color: var(--plum);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 0.75em 0.9em;
  width: 100%;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(107, 79, 160, 0.18);
}
.textarea { min-height: 8rem; resize: vertical; }

.form {
  display: grid;
  gap: var(--space-md);
  max-width: 34rem;
}
@media (min-width: 560px) {
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}
.form__note { font-size: var(--step-small); color: var(--olive); }

/* --------------------------------------------------------------------------
   10. Site header
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--cream);
  padding: 0.6em 1em;
  border-radius: 0 0 var(--radius) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; color: var(--cream); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: var(--hairline) solid var(--surface-border);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 72px;
}

/* Logo lockup — lily mark on the left, "Purple Lily" wordmark to the right.
   Mark = approved artwork (assets/brand/logo/); wordmark = live Parisienne. */
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--plum);
}
.logo-lockup__mark { height: 46px; width: auto; flex: none; }
.logo-lockup__word {
  font-family: var(--font-script);
  font-size: 2rem;
  line-height: 1;
  color: var(--plum);
  padding-top: 0.06em;   /* optical nudge so the script centres on the mark */
  white-space: nowrap;
}
@media (max-width: 400px) {
  .logo-lockup__mark { height: 38px; }
  .logo-lockup__word { font-size: 1.65rem; }
}

/* Primary navigation */
.nav { display: flex; align-items: center; gap: var(--space-md); }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  padding: 0;
}
.nav__link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--plum);
  text-decoration: none;
  padding: 0.3em 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--olive); }
.nav__link[aria-current="page"] {
  color: var(--olive);
  border-bottom-color: var(--gold);
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 0.5em 0.7em;
  cursor: pointer;
  color: var(--plum);
}

/* Mobile navigation */
@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__list {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: var(--hairline) solid var(--surface-border);
    padding: var(--space-xs) var(--space-md) var(--space-md);
    box-shadow: var(--shadow-soft);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  .nav[data-open="true"] .nav__list {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list li { border-bottom: var(--hairline) solid var(--surface-border); }
  .nav__list li:last-child { border-bottom: 0; }
  .nav__link {
    display: block;
    padding: 0.85em 0;
    border-bottom: 0;
  }
  .nav__link[aria-current="page"] { border-bottom: 0; }
  .nav__cta { margin-top: var(--space-sm); }
}

/* --------------------------------------------------------------------------
   11. Site footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--forest);
  color: var(--cream);
  padding-block: var(--space-xl) var(--space-lg);
  flex-shrink: 0;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--amethyst); }

.site-footer__top {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}
@media (min-width: 760px) {
  .site-footer__top { grid-template-columns: 1.3fr 1fr; }
}
/* Footer lockup: cream mark + cream wordmark on the forest background */
.logo-lockup--footer { color: var(--cream); }
.logo-lockup--footer .logo-lockup__mark { height: 52px; }
.logo-lockup--footer .logo-lockup__word { color: var(--cream); font-size: 2.2rem; }

.footer-scripture {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--sage);
  max-width: 40ch;
  margin-top: var(--space-md);
}
.footer-scripture .scripture__ref { color: var(--sage); opacity: 0.85; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
}
.footer-social {
  display: flex;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}
.footer-social a {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(245, 240, 232, 0.28);
  border-radius: var(--radius-pill);
}
.footer-social a:hover { background: rgba(245, 240, 232, 0.1); }
.footer-social svg { width: 18px; height: 18px; }

.site-footer__meta {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(245, 240, 232, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  justify-content: space-between;
  font-size: var(--step-small);
  color: var(--sage);
}
.site-footer__meta a { color: var(--sage); }

/* --------------------------------------------------------------------------
   12. Page content components
   -------------------------------------------------------------------------- */

/* Centered section heading block (eyebrow + title + lead).
   Paragraphs inherit a 65ch max-width, so they must be auto-centered as
   blocks or their centered text lands left of the section centre. */
.section-head { max-width: 46rem; margin-inline: auto; text-align: center; }
.section-head > p,
.section-head > .eyebrow { margin-inline: auto; }
.section-head .lead { margin-top: var(--space-sm); }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--left > p,
.section-head--left > .eyebrow { margin-inline: 0; }

/* Long-form reading column */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--space-md); }
.prose h2 { margin-top: var(--space-lg); }
.prose h3 { margin-top: var(--space-md); color: var(--olive); }
.prose .scripture,
.prose .scripture--inline { margin-block: var(--space-lg); }

/* Page hero — shorter than the home hero, for interior pages */
.page-hero {
  position: relative;
  min-height: clamp(360px, 52vh, 520px);
  display: grid; place-items: center; text-align: center;
  color: var(--cream); overflow: hidden; isolation: isolate;
}
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 0; z-index: -2; }
.page-hero__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(36,64,46,.42), rgba(36,64,46,.58)); }
.page-hero__inner { padding: var(--space-xl) var(--space-md); max-width: 46rem; }
.page-hero .display, .page-hero h1 { color: var(--cream); }
.page-hero p { margin-inline: auto; color: var(--cream); }
.page-hero .eyebrow { color: var(--cream); opacity: 0.9; }
/* Scripture stays legible on the photo: cream text, gold hairlines, cream ref */
.page-hero .scripture { color: var(--cream); }
.page-hero .scripture::before,
.page-hero .scripture::after { border-color: var(--gold); opacity: 0.9; }
.page-hero .scripture__ref { color: var(--cream); }

/* "Is this you?" checklist — gold lily-dot markers */
.checklist { list-style: none; padding: 0; max-width: var(--measure); }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-top: var(--space-sm);
  line-height: 1.55;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 10px;
  border-radius: 50% 0 50% 0; /* soft petal shape */
  background: var(--gold);
  transform: rotate(45deg);
}
.section--forest .checklist li::before { background: var(--sage); }

/* Alternating image + text feature rows */
.feature { display: grid; gap: var(--space-lg); align-items: center; }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .feature--reverse .feature__media { order: 2; }
}
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Numbered steps (What to expect / How it works) */
.steps { display: grid; gap: var(--space-lg); counter-reset: step; }
@media (min-width: 720px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { }
.step__n {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-xs);
}
.step h3 { color: var(--olive); }
.section--forest .step h3 { color: var(--cream); }
.section--forest .step__n { color: var(--sage); }

/* Guide bio (Meet Your Guide) */
.guide { display: grid; gap: var(--space-lg); align-items: start; }
@media (min-width: 760px) { .guide { grid-template-columns: 300px 1fr; gap: var(--space-xl); } }
.guide__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.guide__placeholder {
  width: 100%; aspect-ratio: 3 / 4;
  border: 1px dashed var(--surface-border);
  border-radius: var(--radius);
  display: grid; place-items: center; text-align: center;
  padding: var(--space-md);
  background: var(--surface);
  color: var(--olive);
  font-size: var(--step-small);
}

/* Two-column "for you / not for you" */
.columns-2 { display: grid; gap: var(--space-lg); }
@media (min-width: 760px) { .columns-2 { grid-template-columns: 1fr 1fr; } }

/* Draft / editorial marker (for content pending client approval) */
.draft-note {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(107, 79, 160, 0.1);
  border: 1px solid rgba(107, 79, 160, 0.3);
  border-radius: var(--radius-pill);
  padding: 0.25em 0.8em;
  margin-bottom: var(--space-sm);
}

/* FAQ (native details/summary) */
.faq details {
  border-top: var(--rule-width) solid var(--rule);
  border-color: color-mix(in srgb, var(--olive) 45%, transparent);
}
.faq details:last-child { border-bottom: var(--rule-width) solid color-mix(in srgb, var(--olive) 45%, transparent); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-md) 2rem var(--space-md) 0;
  position: relative;
  font-family: var(--font-display);
  font-size: var(--step-h3);
  color: var(--olive);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { content: "\2013"; } /* en dash when open */
.faq details p { padding-bottom: var(--space-md); max-width: var(--measure); }

/* --------------------------------------------------------------------------
   13. Carousel (Retreats photo gallery)
   -------------------------------------------------------------------------- */
.carousel { position: relative; }
.carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.carousel__track {
  display: flex;
  transition: transform 500ms var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .carousel__track { transition: none; }
}
.carousel__slide {
  flex: 0 0 100%;
  position: relative;
}
.carousel__slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.carousel__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: linear-gradient(to top, rgba(36,64,46,.72), transparent);
  color: var(--cream);
  font-size: var(--step-small);
}
.carousel__btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  color: var(--plum);
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}
.carousel__btn:hover { background: var(--cream); }
.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }
.carousel__dots {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: var(--space-md);
  padding: 0; list-style: none;
}
.carousel__dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: var(--surface-border);
}
.carousel__dot[aria-current="true"] { background: var(--olive); }

/* --------------------------------------------------------------------------
   14. Utilities
   -------------------------------------------------------------------------- */
.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;
}
.mt-0  { margin-top: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.maxw-narrow { max-width: var(--container-narrow); margin-inline: auto; }
