/* ==========================================================================
   Care Collaborative — design tokens + styles
   Retheme the whole site by editing :root below.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (self-hosted: no third-party requests, works under the strict CSP)
   Fraunces is the free stand-in for the brand display face, Gelica.
   Karla is the body/UI face.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/karla-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/karla-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Karla";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/karla-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karla";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/karla-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand palette — CareCollaborative Quick Guide (2026) */
  --green:      #638269;   /* brand green: wordmark, large headings, decorative */
  --green-deep: #4C6654;   /* darker green for buttons, links, labels, small headings (WCAG AA on cream + white) */
  --forest:     #3E5345;   /* footer, reversed sections, hover states (derived dark green) */
  --sage:       #B1C0B4;   /* soft green accent, tints */
  --sage-light: #C9D5CC;   /* lighter sage for small text on forest */
  --sage-mid:   #75947C;   /* mid sage from the logo mark */
  --blush:      #E7D1C8;   /* soft warm tint */
  --clay:       #CEA391;   /* warm accent from the logo mark */
  --cream:      #FBEEE5;   /* page background */
  --ink:        #3B463E;   /* body text (derived green-gray) */

  /* Derived surfaces */
  --surface:   #FFFFFF;
  --tint:      #F7E9E0;
  --line:      rgba(99, 130, 105, .18);
  --line-strong: #6F8E77;                 /* form-field borders: >= 3:1 on cream (WCAG 1.4.11) */
  --ink-soft:  rgba(59, 70, 62, .84);     /* >= 4.5:1 on cream and white */
  --on-forest: rgba(251, 238, 229, .84);  /* text on forest */
  --error:     #9B4A3C;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --container: 1140px;
  --gutter:    1.5rem;
  --section-y: 5.5rem;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(62, 83, 69, .06), 0 4px 14px rgba(62, 83, 69, .05);
  --shadow-md: 0 2px 6px rgba(62, 83, 69, .07), 0 18px 40px rgba(62, 83, 69, .09);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { flex: 1 0 auto; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 3.9rem); font-weight: 500; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.4rem; color: var(--green-deep); }
h4 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; color: var(--green-deep); }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--forest); }

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

blockquote, figure { margin: 0; }

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

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .75rem 1.15rem;
  background: var(--green-deep);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; color: #fff; }

/* Visually hidden (honeypot etc.) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: calc(56ch + 2 * var(--gutter)); }
.container.reading { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section.tint {
  background: var(--tint);
  border-block: 1px solid var(--line);
}

.center { text-align: center; margin-inline: auto; }
.muted { color: var(--ink-soft); }

.mt-sm { margin-top: .6rem; }
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 1.5rem; }
.mt-3  { margin-top: 2rem; }

.stack > * + * { margin-top: 1.2rem; }

.eyebrow {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1rem;
}
.eyebrow.center { text-align: center; }

.lead {
  font-size: clamp(1.125rem, 1.9vw, 1.3125rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.lead.center { margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
/* Vertically center one column of a split (e.g., a photo beside taller text) */
.split > .self-center { align-self: center; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.list {
  margin: .5rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .55rem;
}

/* Checklist with petal-colored markers */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.checklist li {
  position: relative;
  padding-left: 1.9rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: .95rem; height: .95rem;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--sage), var(--clay));
}

/* --------------------------------------------------------------------------
   Header + navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 238, 229, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 46px; height: 46px; }
.brand .name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: .01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
  padding-block: .35rem;
  border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav-links a:hover { color: var(--green-deep); border-bottom-color: var(--sage); }
.nav-links a[aria-current="page"] {
  color: var(--green-deep);
  font-weight: 600;
  border-bottom-color: var(--sage-mid);
}
/* The CTA is a button inside the nav list; keep button styling ahead of the link rules above. */
.nav-links .nav-cta a,
.nav-links .nav-cta a:hover,
.nav-links .nav-cta a[aria-current="page"] {
  color: #fff;
  font-weight: 600;
  border-bottom: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .9688rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }

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

.btn-ghost {
  background: transparent;
  border-color: rgba(99, 130, 105, .4);
  color: var(--green-deep);
}
.btn-ghost:hover { background: rgba(177, 192, 180, .22); border-color: var(--green-deep); color: var(--forest); }

.btn-light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--green-deep);
}
.btn-light:hover { background: #fff; border-color: #fff; color: var(--forest); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

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

.hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(60rem 32rem at 78% -12%, rgba(177, 192, 180, .38), transparent 62%),
    radial-gradient(44rem 28rem at 4% 108%, rgba(206, 163, 145, .28), transparent 60%);
}

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

.hero h1 { margin-bottom: 1.1rem; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}
.hero-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(62, 83, 69, .14));
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: drift 18s ease-in-out infinite alternate;
}
.blob.b1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle at 32% 30%, rgba(177, 192, 180, .78), rgba(117, 148, 124, .35));
  top: 2%; left: 4%;
}
.blob.b2 {
  width: 220px; height: 220px;
  background: radial-gradient(circle at 62% 62%, rgba(206, 163, 145, .68), rgba(206, 163, 145, .22));
  bottom: 2%; right: 6%;
  animation-delay: -7s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(14px, -20px, 0) scale(1.07); }
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 130, 105, .26);
  box-shadow: var(--shadow-md);
}
.card.static:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }
.card h3 { margin-bottom: .55rem; }
.card p:last-child { margin-bottom: 0; }

.card .icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(177, 192, 180, .5), rgba(206, 163, 145, .38));
  color: var(--green-deep);
}
.card .icon svg { width: 26px; height: 26px; }

/* Team */
.team .role {
  margin: -.35rem 0 .9rem;
  font-size: .9375rem;
  color: var(--ink-soft);
}

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

.quote {
  position: relative;
  padding: 2.2rem 2.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage-mid);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--green);
  box-shadow: var(--shadow-sm);
  text-wrap: balance;
}
.quote-caption { margin-top: 1rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Photography
   -------------------------------------------------------------------------- */

.photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.photo-caption {
  margin-top: .9rem;
  color: var(--ink-soft);
  font-size: .9375rem;
}
.photo-caption .source { display: block; margin-top: .25rem; font-weight: 600; color: var(--green-deep); }

.team .headshot {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
}

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

.cta-band {
  padding: clamp(2.75rem, 6vw, 4.25rem) clamp(1.75rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(38rem 20rem at 88% -30%, rgba(177, 192, 180, .3), transparent 60%),
    var(--forest);
  color: rgba(251, 238, 229, .9);
  text-align: center;
}
.cta-band h2 { color: var(--cream); margin-bottom: .5rem; }
.cta-band p { max-width: 58ch; margin-inline: auto; }
.cta-band .actions { margin-top: 1.4rem; }

/* --------------------------------------------------------------------------
   Steps (Our Approach)
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 1.1rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.7rem 1.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.step h3 { margin-bottom: .35rem; }
.step p:last-child { margin-bottom: 0; }

.step .n {
  counter-increment: step;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--sage-light), var(--sage));
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.step .n::before { content: counter(step); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form {
  display: grid;
  gap: 1.15rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.field { display: grid; gap: .4rem; }

.field label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: .01em;
}
.field .optional { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .9rem;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234C6654' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  cursor: pointer;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--green-deep); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(76, 102, 84, .18);
}

.form .btn { justify-self: start; }

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--green-deep);
}
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: var(--error); }

.form-note {
  margin: 0;
  font-size: .875rem;
  color: var(--ink-soft);
}

.notice {
  padding: .85rem 1rem;
  border-radius: 10px;
  background: var(--tint);
  border: 1px solid var(--line);
  font-size: .9rem;
  color: var(--ink-soft);
}

/* Contact info list */
.info { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.info li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.info li:last-child { padding-bottom: 0; border-bottom: 0; }
.info .k {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.info a { overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   Long-form pages (privacy) + utility pages (404, thanks)
   -------------------------------------------------------------------------- */

.prose h2 { font-size: 1.55rem; margin-top: 2.4rem; color: var(--green-deep); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose .meta { font-size: .9375rem; color: var(--ink-soft); }

.utility {
  padding-block: clamp(4rem, 10vw, 7rem);
  text-align: center;
}
.utility .mark { width: 96px; height: 96px; margin: 0 auto 1.6rem; }
.utility .lead { margin-inline: auto; }
.utility .cta-row { justify-content: center; }

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

.site-footer {
  margin-top: var(--section-y);
  padding-top: clamp(3rem, 6vw, 4.25rem);
  background: var(--forest);
  color: var(--on-forest);
  font-size: .9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 3rem;
}

.footer-brand img { width: 54px; height: 54px; }
.footer-brand .name {
  margin-top: .8rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
}
.footer-brand p { margin-top: .6rem; max-width: 34ch; }

.site-footer .footer-heading {
  margin-bottom: 1rem;
  color: var(--sage-light);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: rgba(251, 238, 229, .9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(251, 238, 229, .16);
  font-size: .8125rem;
  color: rgba(251, 238, 229, .78);
}
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  :root { --section-y: 4.25rem; }

  .hero-grid { grid-template-columns: 1fr; }
  /* When the hero stacks, the outline mark lands on top of same-hue blobs and
     goes muddy — and the header already carries the logo. Headline leads. */
  .hero-art { display: none; }

  .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .nav-links {
    position: absolute;
    inset: 78px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none; /* collapsed by default on small screens */
  }
  .nav-links.is-open { display: flex; }

  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links li:not(.nav-cta) a {
    display: block;
    padding: .95rem .25rem;
    border-bottom: 0;
  }
  .nav-cta { padding-top: 1rem; }
  .nav-cta .btn { width: 100%; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .brand .name { font-size: 1.15rem; }
  .brand img { width: 40px; height: 40px; }

  .card, .step, .form { padding: 1.4rem; }
  .step { grid-template-columns: 1fr; gap: 1rem; }

  .quote { padding: 1.6rem 1.5rem; }

  .cta-row .btn { width: 100%; }
  .form .btn { justify-self: stretch; width: 100%; }

  .info li { grid-template-columns: 1fr; gap: .15rem; }
  .footer-bottom { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Motion + print
   -------------------------------------------------------------------------- */

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

@media print {
  .site-header, .nav-toggle, .cta-band, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .step, .form { box-shadow: none; border-color: #ccc; }
}
