/* ==========================================================================
   Compassionate Care Management, LLC — styles.css
   Palette and typography are fixed by the brand hand-off. Backgrounds stay
   warm (cream/ivory); never pure white or pure black.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */

:root {
  /* Brand palette (from the client's business card) */
  --forest: #2F4023;
  --sage: #7A8A5F;
  --olive-deep: #4A5A35;
  --brass: #B8A44F;
  --cream: #F4F1E4;
  --ivory: #FAF8F0;
  --ink: #2C3324;

  /* Derived tints (brand colors at low alpha only) */
  --sage-15: rgba(122, 138, 95, 0.15);
  --sage-25: rgba(122, 138, 95, 0.25);
  --sage-45: rgba(122, 138, 95, 0.45);
  --forest-08: rgba(47, 64, 35, 0.08);
  --forest-14: rgba(47, 64, 35, 0.14);
  --brass-20: rgba(184, 164, 79, 0.2);
  --cream-80: rgba(244, 241, 228, 0.8);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-eyebrow: "Cinzel", Georgia, serif;

  --fs-h1: clamp(2.25rem, 4.5vw + 1rem, 3.75rem);
  --fs-h2: clamp(1.75rem, 2.4vw + 1rem, 2.5rem);
  --fs-h3: clamp(1.3rem, 1vw + 1rem, 1.5rem);
  --fs-lede: clamp(1.1rem, 0.5vw + 1rem, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8rem;

  /* Spacing (8px scale) */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --section-pad: clamp(4rem, 8vw, 7rem);

  /* Shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-pill: 999px;
  --shadow-soft: 0 2px 10px var(--forest-08);
  --shadow-lift: 0 10px 30px var(--forest-14);

  --container: 70rem; /* ~1120px */
  --header-h: 4.75rem;
}

/* ---- Base ---------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
  margin: 0 0 var(--sp-2);
  max-width: 70ch;
}

a {
  color: var(--olive-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--forest);
}

ul {
  margin: 0 0 var(--sp-2);
  padding-left: 1.25rem;
}

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

::selection {
  background: var(--sage-45);
  color: var(--ink);
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--forest);
  color: var(--cream);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
  color: var(--cream);
}

/* ---- Layout helpers ------------------------------------------------------ */

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
}

.section--ivory {
  background: var(--ivory);
  border-top: 1px solid var(--sage-15);
  border-bottom: 1px solid var(--sage-15);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center p {
  margin-inline: auto;
}

.eyebrow {
  display: block;
  font-family: var(--font-eyebrow);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: var(--sp-2);
}

.lede {
  font-size: var(--fs-lede);
  color: var(--ink);
}

/* Signature element: the leaf-sprig divider */
.leaf-divider {
  display: flex;
  justify-content: flex-start;
  margin: var(--sp-2) 0 var(--sp-3);
  color: var(--sage);
}

.section-head--center .leaf-divider {
  justify-content: center;
}

.leaf-divider svg {
  width: 150px;
  height: 22px;
}

/* ---- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.btn--primary {
  background: var(--forest);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--olive-deep);
  color: var(--ivory);
  box-shadow: var(--shadow-lift);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--sage);
}

.btn--ghost:hover {
  background: var(--sage-15);
  color: var(--forest);
}

.btn--light {
  background: var(--cream);
  color: var(--forest);
}

.btn--light:hover {
  background: var(--ivory);
  color: var(--forest);
  box-shadow: var(--shadow-lift);
  transform: translateY(-1px);
}

.btn--lg {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

/* ---- Header / nav -------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream-80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sage-25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  min-height: var(--header-h);
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--forest);
}

.brand:hover {
  color: var(--forest);
}

.brand-logo {
  flex: none;
  height: 3rem;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-eyebrow);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-top: 0.2rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--forest);
  border-bottom-color: var(--sage);
}

.site-nav a[aria-current="page"] {
  color: var(--forest);
  border-bottom-color: var(--brass);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.btn-call .btn-call-number {
  font-variant-numeric: tabular-nums;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  background: transparent;
  border: 1.5px solid var(--sage);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--forest);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 63.99em) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--sage-25);
    box-shadow: var(--shadow-lift);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--sage-15);
    font-size: 1.05rem;
  }

  .site-nav li:last-child a {
    border-bottom: none;
  }

  .site-nav a[aria-current="page"] {
    color: var(--forest);
    border-bottom-color: var(--sage-15);
    background: var(--sage-15);
    border-radius: var(--radius-sm);
  }

  .btn-call .btn-call-label-long {
    display: none;
  }
}

@media (min-width: 64em) {
  .btn-call .btn-call-label-short {
    display: none;
  }
}

/* Very small screens: compress the header so brand + call button + menu fit */
@media (max-width: 27.5em) {
  .header-inner {
    gap: 0.6rem;
  }

  .brand-logo {
    height: 2.6rem;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .btn-call {
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
  }

  .header-actions {
    gap: 0.5rem;
  }
}

/* ---- Hero ----------------------------------------------------------------- */

.hero {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 56em) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1.4vw + 1rem, 1.6rem);
  color: var(--olive-deep);
  margin-bottom: var(--sp-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--sage-25);
}

/* Fixed aspect boxes so replacement photos drop in without layout shift */
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--sage-25);
  background: var(--ivory);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--hero { aspect-ratio: 16 / 10; }
.media-frame--landscape { aspect-ratio: 4 / 3; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* ---- Cards & grids -------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}

.card {
  background: var(--ivory);
  border: 1px solid var(--sage-25);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-3);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.section--ivory .card {
  background: var(--cream);
}

a.card {
  display: block;
  text-decoration: none;
  color: var(--ink);
}

a.card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
  border-color: var(--sage-45);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  margin-bottom: 0;
  font-size: var(--fs-small);
}

.card-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-15);
  color: var(--olive-deep);
  margin-bottom: var(--sp-2);
}

.card-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.card-more {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--olive-deep);
}

a.card:hover .card-more {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Trust points (Why Choose Us / Values) */
.points {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.point {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
}

.point-icon {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
  color: var(--olive-deep);
  background: var(--ivory);
}

.point-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.point h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.point p {
  margin-bottom: 0;
  font-size: var(--fs-small);
}

/* ---- How It Works steps ---------------------------------------------------- */

.steps {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  counter-increment: step;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--sage-25);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brass);
  margin-bottom: 0.6rem;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.step p {
  margin-bottom: 0;
  font-size: var(--fs-small);
}

/* ---- Service detail blocks (Services page) -------------------------------- */

.service-list {
  display: grid;
  gap: var(--sp-3);
}

.service-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3);
  align-items: flex-start;
  background: var(--ivory);
  border: 1px solid var(--sage-25);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

.service-block .card-icon {
  margin-bottom: 0;
}

.service-block h2 {
  font-size: var(--fs-h3);
  margin-bottom: 0.5rem;
}

.service-block p {
  margin-bottom: 0;
}

@media (max-width: 40em) {
  .service-block {
    grid-template-columns: 1fr;
  }
}

/* ---- CTA band -------------------------------------------------------------- */

.cta-band {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.cta-band h2 {
  color: var(--cream);
  max-width: 38ch;
  margin-inline: auto;
}

.cta-band p {
  color: var(--cream);
  margin-inline: auto;
}

.cta-band .leaf-divider {
  justify-content: center;
  color: var(--brass);
}

.cta-band .btn {
  margin-top: var(--sp-2);
}

/* ---- Quote / mission ------------------------------------------------------- */

.pull-quote {
  border-left: 3px solid var(--brass);
  padding: var(--sp-1) var(--sp-3);
  margin: 0 0 var(--sp-3);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 1.6vw + 1rem, 1.75rem);
  color: var(--olive-deep);
  max-width: 34ch;
}

/* ---- Client-input placeholders ---------------------------------------------- */

.placeholder {
  border: 2px dashed var(--sage-45);
  border-radius: var(--radius);
  background: var(--ivory);
  padding: var(--sp-3);
}

.placeholder-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive-deep);
  background: var(--sage-15);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.85rem;
  margin-bottom: 0.75rem;
}

.placeholder-tag svg {
  width: 0.9em;
  height: 0.9em;
}

.placeholder p {
  margin-bottom: 0;
  font-size: var(--fs-small);
}

/* ---- Team ------------------------------------------------------------------- */

.team-list {
  display: grid;
  gap: var(--sp-3);
  max-width: 60rem;
  margin-inline: auto;
}

.person {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  background: var(--ivory);
  border: 1px solid var(--sage-25);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

.section--ivory .person {
  background: var(--cream);
}

.person-photo {
  width: 13rem;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sage-25);
  box-shadow: var(--shadow-soft);
  background: var(--ivory);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person h3 {
  margin-bottom: 0.1rem;
}

.person-role {
  display: block;
  font-family: var(--font-eyebrow);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: var(--sp-2);
}

.person-focus {
  font-size: var(--fs-small);
}

.person-focus strong {
  color: var(--forest);
}

.person-quote {
  border-left: 3px solid var(--brass);
  padding: 0.15rem 0 0.15rem var(--sp-2);
  margin: var(--sp-2) 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--olive-deep);
}

.person .placeholder-tag {
  margin-bottom: 0.35rem;
}

@media (max-width: 40em) {
  .person {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .person-quote {
    text-align: left;
  }
}

/* ---- Gallery ------------------------------------------------------------------ */

.gallery-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  max-width: 56rem;
  margin-inline: auto;
}

.gallery-item {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
}

.gallery-item .media-frame {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gallery-item:hover .media-frame {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.gallery-caption {
  display: block;
  font-size: var(--fs-small);
  color: var(--olive-deep);
  text-align: center;
  padding-top: 0.6rem;
}

.privacy-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: 46rem;
  margin: var(--sp-4) auto 0;
  background: var(--ivory);
  border: 1px solid var(--sage-25);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-small);
}

.privacy-note svg {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--olive-deep);
  margin-top: 0.2rem;
}

.privacy-note p {
  margin: 0;
}

/* Lightbox */
.lightbox {
  border: none;
  border-radius: var(--radius);
  padding: 0;
  background: var(--ivory);
  max-width: min(56rem, 92vw);
  box-shadow: var(--shadow-lift);
}

.lightbox::backdrop {
  background: rgba(44, 51, 36, 0.75);
}

.lightbox img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: var(--cream);
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.25rem;
}

.lightbox-caption {
  font-size: var(--fs-small);
  color: var(--ink);
}

.lightbox-close {
  flex: none;
  background: transparent;
  border: 1.5px solid var(--sage);
  border-radius: var(--radius-pill);
  color: var(--forest);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-small);
  padding: 0.35rem 1rem;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--sage-15);
}

/* ---- Contact ------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: flex-start;
}

@media (min-width: 56em) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-3);
  display: grid;
  gap: var(--sp-2);
}

.contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-list svg {
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--olive-deep);
  margin-top: 0.25rem;
}

.contact-list strong {
  display: block;
  font-family: var(--font-eyebrow);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: 0.1rem;
}

/* Form */
.form-card {
  background: var(--ivory);
  border: 1px solid var(--sage-25);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.form-field {
  margin-bottom: var(--sp-3);
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--forest);
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--sage-45);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--olive-deep);
  box-shadow: 0 0 0 3px var(--sage-25);
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #8A3B2E;
}

.field-error {
  display: none;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #8A3B2E;
  margin-top: 0.35rem;
}

.form-field.has-error .field-error {
  display: block;
}

.form-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--sage-15);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-2);
  font-size: var(--fs-small);
  margin-bottom: var(--sp-3);
}

.form-note svg {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--olive-deep);
  margin-top: 0.2rem;
}

.form-note p {
  margin: 0;
}

.form-status {
  margin-top: var(--sp-2);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.form-status.is-success {
  color: var(--forest);
  background: var(--sage-15);
  padding: var(--sp-2);
}

.form-status.is-error {
  color: #8A3B2E;
  background: var(--brass-20);
  padding: var(--sp-2);
}

/* ---- Footer ---------------------------------------------------------------------- */

.site-footer {
  background: var(--forest);
  color: var(--cream);
  padding-block: var(--sp-6) var(--sp-3);
}

.footer-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(244, 241, 228, 0.2);
}

.footer-brand {
  margin-bottom: var(--sp-2);
}

.footer-brand .brand-name,
.footer-brand .brand-sub {
  color: var(--cream);
}

.site-footer h2 {
  font-family: var(--font-eyebrow);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--sp-2);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer .contact-list svg {
  color: var(--brass);
}

.site-footer p {
  color: var(--cream);
}

.footer-placeholder {
  border: 1.5px dashed rgba(244, 241, 228, 0.45);
  border-radius: var(--radius-sm);
  padding: var(--sp-2);
  font-size: var(--fs-small);
}

.footer-placeholder .placeholder-tag {
  background: rgba(244, 241, 228, 0.14);
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  padding-top: var(--sp-3);
  font-size: var(--fs-small);
}

.footer-bottom p {
  margin: 0;
}

.footer-leaf {
  color: var(--brass);
}

/* ---- Prose (privacy page) ----------------------------------------------------------- */

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: var(--fs-h3);
  margin-top: var(--sp-4);
}

.policy-date {
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  color: var(--olive-deep);
  border-bottom: 1px solid var(--sage-25);
  padding-bottom: var(--sp-2);
  margin-bottom: var(--sp-3);
}

/* ---- Scroll reveal (progressive enhancement) ----------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---- Print ----------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .nav-toggle {
    display: none;
  }
}
