/* ==========================================================================
   Chatty Sprouts Speech and Language Therapy
   Design system + stylesheet
   ========================================================================== */

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

:root {
  /* Palette */
  --ink:          #16281F;   /* body text — deep green-black */
  --ink-soft:     #45564C;   /* secondary text */
  --forest:       #1F4A38;   /* primary brand green */
  --pine:         #2E6B51;   /* mid green */
  --sprout:       #7FC08C;   /* fresh accent green */
  --sprout-pale:  #D6EDD8;   /* tint */
  --cream:        #FCF8F1;   /* page background */
  --sand:         #F3EADB;   /* alternate section background */
  --sand-deep:    #E7D9C3;   /* borders on sand */
  --coral:        #E0674A;   /* CTA / accent */
  --coral-dark:   #BE4E33;
  --coral-pale:   #FBE4DC;
  --white:        #FFFFFF;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Radii */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(22, 40, 31, 0.06);
  --shadow-md: 0 8px 28px rgba(22, 40, 31, 0.08);
  --shadow-lg: 0 20px 60px rgba(22, 40, 31, 0.12);

  --container: 1140px;
}

/* --- Reset -------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

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

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

/* --- Typography --------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--forest);
  margin: 0 0 var(--s-4);
  font-variation-settings: "SOFT" 30, "WONK" 1;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-dark); }

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

.lede {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 0 0 var(--s-3);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

.container--narrow { max-width: 780px; }

section { position: relative; }

.section       { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--sand  { background: var(--sand); }
.section--forest {
  background: var(--forest);
  color: var(--sand);
}
.section--forest h1,
.section--forest h2,
.section--forest h3 { color: var(--white); }
.section--forest .lede { color: rgba(255,255,255,0.82); }
.section--forest .eyebrow { color: var(--sprout); }

.stack > * + * { margin-top: var(--s-4); }

.grid { display: grid; gap: var(--s-6); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-center { max-width: 62ch; margin-inline: auto; }

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

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

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: var(--white); }

.btn--forest {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}
.btn--forest:hover { background: var(--pine); border-color: var(--pine); color: var(--white); }

.btn--outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn--outline:hover { background: var(--forest); color: var(--white); }

.btn--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--forest);
}
.btn--light:hover { background: var(--sprout-pale); border-color: var(--sprout-pale); color: var(--forest); }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 248, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 74, 56, 0.09);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  flex-shrink: 0;
}

.brand__mark { width: auto; height: 42px; flex-shrink: 0; }

@media (max-width: 420px) {
  .brand__mark { height: 34px; }
  .brand { font-size: 1.05rem; }
}

.footer__brand img { width: auto; height: 38px; }
.brand__text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--pine);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9688rem;
  padding-block: var(--s-2);
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--forest); border-bottom-color: var(--sprout); }
.nav__links a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--coral); }

.nav__cta { flex-shrink: 0; }

/* The CTA inside the nav list exists only for the mobile menu.
   On desktop the standalone .nav__cta is shown instead, so hide this one
   to avoid the button appearing twice. */
.nav__links > li:last-child { display: none; }

.nav__toggle {
  display: none;
  background: none;
  border: 2px solid var(--forest);
  border-radius: var(--r-pill);
  color: var(--forest);
  /* min 44px tall — the accessible minimum tap target on touch screens */
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

@media (max-width: 940px) {
  .nav__toggle { display: block; }
  .nav__links,
  .nav > .nav__cta { display: none; }

  .nav__links.is-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(31,74,56,0.12);
    padding: var(--s-3) var(--s-5) var(--s-5);
    box-shadow: var(--shadow-md);
  }
  .nav__links.is-open li { border-bottom: 1px solid rgba(31,74,56,0.08); }
  /* Restore the CTA inside the mobile menu */
  .nav__links.is-open > li:last-child { display: block; border-bottom: none; padding-top: var(--s-4); }
  .nav__links.is-open a { display: block; padding: var(--s-3) 0; border-bottom: none; }
  .nav__links.is-open .btn { width: 100%; }
}

/* --- Skip link ---------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: var(--s-3) var(--s-4);
  z-index: 100;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: var(--white); }

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em {
  font-style: normal;
  color: var(--coral);
}

.hero__blob {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}

/* Concern chips — the three "worry" entry points */
.concerns {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.concern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.concern:hover {
  transform: translateX(4px);
  border-color: var(--sprout);
  box-shadow: var(--shadow-md);
  color: var(--forest);
}
.concern__arrow { color: var(--coral); flex-shrink: 0; font-size: 1.25rem; line-height: 1; }

/* --- Cards -------------------------------------------------------------- */

.card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.card--flat { box-shadow: none; }
.card--sand { background: var(--sand); border-color: var(--sand-deep); }

.card h3 { margin-bottom: var(--s-3); }

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--sprout-pale);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-4);
  color: var(--forest);
}

.card ul { padding-left: 1.15rem; margin: var(--s-3) 0 0; }
.card li { margin-bottom: var(--s-2); }

/* --- Step / process cards ---------------------------------------------- */

.steps { counter-reset: step; }

.step {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

/* The number sits in the normal flow above the heading, so it can never
   collide with it however the text wraps or the font size scales. */
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--s-4);
  border-radius: var(--r-pill);
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1;
}

/* --- Pills / tag list --------------------------------------------------- */

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.pills li {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-pill);
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--forest);
}

.pills--subtle li {
  background: transparent;
  border-color: rgba(255,255,255,0.28);
  color: var(--sand);
}

.pills li small {
  display: block;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* --- Fees table --------------------------------------------------------- */

.fees {
  display: grid;
  gap: var(--s-3);
}

.fee {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--s-4);
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-md);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
}

.fee__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--forest); }
.fee__meta { display: block; font-family: var(--font-body); font-size: 0.9rem; font-weight: 400; color: var(--ink-soft); margin-top: 2px; }
.fee__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--coral); white-space: nowrap; }
.fee__price--free { color: var(--pine); }

@media (max-width: 640px) {
  .fee { grid-template-columns: 1fr; }
  .fee .btn { justify-self: start; }
}

/* --- Accordion ---------------------------------------------------------- */

.accordion { display: grid; gap: var(--s-3); }

.accordion details {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: var(--s-5);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
  color: var(--forest);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  line-height: 1.3;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--coral);
  transition: transform 0.2s ease;
}

.accordion details[open] summary::after { transform: rotate(45deg); }

.accordion__body {
  padding: 0 var(--s-5) var(--s-5);
  border-top: 1px solid var(--sand);
  padding-top: var(--s-4);
}

.accordion__body ul { padding-left: 1.15rem; }
.accordion__body li { margin-bottom: var(--s-2); }

/* --- Q&A blocks (Common Questions page) --------------------------------- */

.qa {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 7rem;
}

.qa + .qa { margin-top: var(--s-5); }
.qa h3 { color: var(--forest); }
.qa ul { padding-left: 1.15rem; }
.qa li { margin-bottom: var(--s-2); }

.qa__cta {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--sand);
}

.callout {
  background: var(--sprout-pale);
  border-left: 4px solid var(--pine);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: var(--s-4) var(--s-5);
  margin: var(--s-4) 0;
  font-weight: 600;
  color: var(--forest);
}

/* --- Quotes ------------------------------------------------------------- */

.quote {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 100%;
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--sprout);
  opacity: 0.5;
}

.quote p {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--forest);
  font-style: italic;
}

.quote footer {
  margin-top: var(--s-4);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-style: normal;
}

/* --- Photo slots -------------------------------------------------------- */

.photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-md);
}

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

.photo--portrait { aspect-ratio: 4 / 5; }
.photo--square   { aspect-ratio: 1 / 1; }
.photo--wide     { aspect-ratio: 16 / 10; }

/* Placeholder styling — visible only until real images are dropped in */
.photo--placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--s-6);
  border: 2px dashed var(--sand-deep);
  box-shadow: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- Trust bar ---------------------------------------------------------- */

.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-4) var(--s-7);
  padding-block: var(--s-5);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--forest);
}

.trust__item svg { color: var(--sprout); flex-shrink: 0; }

/* --- Form --------------------------------------------------------------- */

.form-panel {
  background: var(--forest);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.form-panel h2 { color: var(--white); }
.form-panel .lede { color: rgba(255,255,255,0.8); }

.field { margin-bottom: var(--s-5); }

.field label,
.fieldset__legend {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--s-2);
}

.field .req {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  margin-left: var(--s-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  padding: 0.9rem 1.35rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  border-radius: var(--r-md);
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2316281F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.35rem center;
  padding-right: 3.25rem;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sprout);
  box-shadow: 0 0 0 4px rgba(127, 192, 140, 0.3);
}

.field input::placeholder,
.field textarea::placeholder { color: #9AA69E; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

.fieldset { border: 0; padding: 0; margin: 0 0 var(--s-5); }

.form-note {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-top: var(--s-4);
}
.form-note a { color: var(--sprout); }

.field-hint {
  margin: var(--s-3) 0 0;
  padding-left: var(--s-2);
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
}

/* Honeypot — hidden from humans, catches bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

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

.contact-methods { display: grid; gap: var(--s-4); }

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.contact-method:hover { transform: translateY(-2px); border-color: var(--sprout); color: var(--ink); }

.contact-method__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  background: var(--sprout-pale);
  display: grid; place-items: center;
  color: var(--forest);
  flex-shrink: 0;
}

.contact-method strong { display: block; font-family: var(--font-display); font-size: 1.0625rem; }
.contact-method span { font-size: 0.9375rem; color: var(--ink-soft); }

/* --- Travel / directions grid ------------------------------------------- */

.travel { display: grid; gap: var(--s-4); }

.travel__item {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: var(--r-md);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
}

.travel__item h3 {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 1.125rem;
  margin-bottom: var(--s-2);
}

.travel__time {
  display: inline-block;
  background: var(--coral-pale);
  color: var(--coral-dark);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: 0.2rem 0.7rem;
}

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

.cta-band {
  background: var(--forest);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 { color: var(--white); max-width: 20ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.82); }
.cta-band .btn-row { justify-content: center; margin-top: var(--s-6); }

.cta-band__sprig {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  opacity: 0.14;
  pointer-events: none;
}

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

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding-block: var(--s-8) var(--s-6);
  font-size: 0.9375rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1fr;
  gap: var(--s-6) var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s-3); }
.site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.site-footer a:hover { color: var(--sprout); text-decoration: underline; }

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  line-height: 1.25;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: var(--s-4);
}

.footer__creds {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

.footer__creds span {
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-pill);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
}

.footer__bottom {
  padding-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

/* --- Page header (interior pages) --------------------------------------- */

.page-header {
  background: var(--sand);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--sand-deep);
}

.page-header h1 { margin-bottom: var(--s-4); }
.page-header .lede { max-width: 60ch; }

/* --- Utilities ---------------------------------------------------------- */

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mb-6 { margin-bottom: var(--s-6); }
.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;
}

/* --- Motion preferences ------------------------------------------------- */

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

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

@media print {
  .site-header, .site-footer, .btn, .cta-band { display: none; }
  body { background: #fff; }
}
