/* ==========================================================================
   Nancy Sevilla, LCSW — sevillatherapy.com

   Palette: the logo's sage (#828E75) is the one brand hue. It deepens into
   forest for dark surfaces; the logo's brown is demoted to a near-black text
   color so it reads as a warm neutral instead of a competing color.
   ========================================================================== */

:root {
  /* Surfaces */
  --cream: #FBF9F5;
  --cream-deep: #F3F0E8;
  --white: #FFFFFF;

  /* Brand green */
  --sage: #828E75;
  --sage-deep: #64715A;
  --sage-tint: #E8EDE1;
  --forest: #2C3A2E;
  --forest-deep: #222D24;

  /* Neutrals (warm, derived from the logo brown) */
  --ink: #2B2823;
  --muted: #6B6459;
  --line: #E4DFD4;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(43, 40, 35, 0.04);
  --shadow: 0 2px 4px rgba(43, 40, 35, 0.04), 0 12px 32px -14px rgba(43, 40, 35, 0.16);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Mulish", -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  /* Cormorant defaults to oldstyle figures; force lining figures so any
     numerals in headings sit on a consistent baseline. */
  font-variant-numeric: lining-nums;
}

h1 { font-size: clamp(2.6rem, 5.2vw, 4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.4rem; }

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

a { color: var(--sage-deep); text-decoration-color: rgba(130, 142, 117, 0.45); text-underline-offset: 3px; }
a:hover { color: var(--forest); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 760px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}

.lead { font-size: 1.18rem; line-height: 1.65; color: var(--muted); }

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

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.15s var(--ease);
}

.btn:active { transform: translateY(1px); }

/* The `.site-nav a:hover` rule below is more specific than a bare
   `.btn-primary:hover`, so button hover states are scoped tightly enough to
   win everywhere they appear. */
.btn-primary,
.site-nav a.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover,
.site-nav a.btn-primary:hover { background: var(--sage-deep); color: #fff; }

.btn-outline,
.site-nav a.btn-outline { border-color: rgba(43, 40, 35, 0.28); color: var(--ink); background: transparent; }
.btn-outline:hover,
.site-nav a.btn-outline:hover { border-color: var(--forest); background: var(--forest); color: #fff; }

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

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }

.brand img { width: 58px; height: 58px; flex-shrink: 0; }

.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.62rem;
  color: var(--forest);
  line-height: 1.05;
  white-space: nowrap;
}

.brand-cred {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--sage-deep);
  text-transform: uppercase;
  margin-top: 0.22rem;
}

.site-nav { display: flex; align-items: center; gap: 1.35rem; }

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.site-nav a:hover { color: var(--sage-deep); }

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

.site-nav .btn { padding: 0.62rem 1.35rem; font-size: 0.92rem; border-bottom: 1.5px solid transparent; }
.site-nav .btn[aria-current="page"] { border-bottom-color: transparent; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  color: var(--forest);
}

.nav-toggle svg { display: block; }

/* --------------------------------------------------------------------------
   Photo panels

   Decorative photography is layered over a gradient so the design still reads
   as intentional before real photos are dropped in — and if a file is ever
   missing, the gradient shows instead of a broken image.
   -------------------------------------------------------------------------- */

.photo-panel {
  border-radius: var(--radius-lg);
  background-color: var(--sage-tint);
  background-image: linear-gradient(155deg, #DCE3D3 0%, #B9C4AA 55%, #93A183 100%);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.photo-panel--trail {
  background-image: url("/assets/photos/trail.jpg"),
                    linear-gradient(155deg, #DCE3D3 0%, #B9C4AA 55%, #93A183 100%);
  aspect-ratio: 4 / 5;
}

.photo-panel--office {
  background-image: url("/assets/photos/office.jpg"),
                    linear-gradient(155deg, #E4E0D5 0%, #C9C2B2 100%);
  aspect-ratio: 3 / 2;
}

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

.hero { padding: 5.5rem 0 5rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { margin-bottom: 2.25rem; max-width: 34em; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.4rem;
}

.hero-meta::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 90px;
}

.portrait { position: relative; max-width: 420px; justify-self: center; }

.portrait img { border-radius: var(--radius-lg); box-shadow: var(--shadow); position: relative; z-index: 1; }

/* Offset sage outline behind the portrait — a quiet nod to the logo mark. */
.portrait::before {
  content: "";
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 1.5px solid var(--sage);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.portrait-caption {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.portrait-caption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.1rem;
}

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

.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream-deep); }

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 3.25rem;
  padding: 1.15rem 1.5rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--forest);
}

.trust-inner span { display: flex; align-items: center; gap: 0.55rem; }
.trust-inner svg { color: var(--sage); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 5.5rem 0; }
.section-alt { background: var(--cream-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 660px; margin: 0 auto 3.25rem; text-align: center; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--muted); }

/* Cards */

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(130, 142, 117, 0.4); }

.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.98rem; color: var(--muted); margin-bottom: 0; }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sage-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.card-icon img { width: 25px; height: 25px; }

/* Split rows */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }

.split h2 { margin-bottom: 1.25rem; }

.check-list { list-style: none; margin-top: 1.6rem; }

.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: 0.8rem; }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44em;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: var(--sage) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 58% no-repeat;
}

/* --------------------------------------------------------------------------
   Quote band — full-bleed photo with a forest scrim
   -------------------------------------------------------------------------- */

.quote-band {
  position: relative;
  text-align: center;
  padding: 7rem 1.5rem;
  color: #fff;
  background-color: var(--forest);
  background-image: linear-gradient(rgba(34, 45, 36, 0.74), rgba(34, 45, 36, 0.74)),
                    url("/assets/photos/trail-wide.jpg"),
                    linear-gradient(135deg, #3E5040 0%, #222D24 100%);
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.quote-band .lotus-mark { width: 54px; margin: 0 auto 1.75rem; opacity: 0.95; filter: brightness(0) invert(1); }

blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: #fff;
  max-width: 740px;
  margin: 0 auto;
}

blockquote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: step; }

.step { counter-increment: step; text-align: center; padding: 0 0.5rem; }

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: var(--sage-tint);
  border: 1px solid rgba(130, 142, 117, 0.45);
  color: var(--sage-deep);
  /* Sans-serif here: Cormorant's oldstyle numerals read as lowercase letters
     at this size, which makes the step sequence hard to scan. */
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.97rem; color: var(--muted); }

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

/* Light sage rather than another dark block — the CTA sat directly above the
   footer, and two near-identical greens merged into one ambiguous mass. This
   keeps the footer as the page's single dark anchor. */
.cta-band {
  background: var(--sage-tint);
  border-top: 1px solid rgba(130, 142, 117, 0.35);
  text-align: center;
  padding: 5.5rem 1.5rem;
}

.cta-band h2 { color: var(--forest); margin-bottom: 1rem; }
.cta-band p { color: var(--muted); max-width: 600px; margin: 0 auto 2.25rem; }
.cta-band .btn-row { justify-content: center; }

.cta-band .btn-light { background: var(--forest); color: #fff; }
.cta-band .btn-light:hover { background: var(--sage-deep); color: #fff; }
.cta-band .btn-outline { border-color: rgba(43, 40, 35, 0.3); color: var(--ink); background: transparent; }
.cta-band .btn-outline:hover { background: var(--forest); border-color: var(--forest); color: #fff; }

/* --------------------------------------------------------------------------
   Interior page hero
   -------------------------------------------------------------------------- */

.page-hero { padding: 4.5rem 0 4rem; text-align: center; background: var(--cream-deep); border-bottom: 1px solid var(--line); }

.page-hero h1 { margin-bottom: 1.1rem; }
.page-hero .lead { max-width: 680px; margin: 0 auto; }

/* Prose */

.prose h2 { margin: 2.75rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 0.6rem; }
.prose ul { margin: 0 0 1.1rem 1.4rem; }
.prose li { margin-bottom: 0.4rem; }

/* Service rows */

.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child { border-bottom: none; }
.service-row .card-icon { margin-bottom: 0; }
.service-row h2 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.service-row p { color: var(--muted); }
.service-row ul { margin: 0.5rem 0 0 1.3rem; color: var(--muted); }
.service-row li { margin-bottom: 0.3rem; }

/* --------------------------------------------------------------------------
   Rate cards
   -------------------------------------------------------------------------- */

.rate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 2.5rem 0; }

.rate-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.rate-card h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  /* Reserve two lines so a label that wraps ("Phone Consultation") doesn't
     push its price out of alignment with the neighbouring cards. */
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scoped to beat the generic `.rate-card p` rule below. Sans-serif with
   lining figures — Cormorant's oldstyle numerals misread as letters in a price. */
.rate-card .rate-amount {
  font-family: var(--font-sans);
  font-size: 2.9rem;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.02em;
  color: var(--forest);
  line-height: 1;
  margin: 0;
}

.rate-card .rate-unit { font-size: 0.88rem; font-weight: 700; color: var(--sage-deep); letter-spacing: 0.06em; text-transform: uppercase; margin: 0.6rem 0 0; }

.rate-card p { font-size: 0.93rem; color: var(--muted); margin: 0.85rem 0 0; }

/* Notice panel */

.notice {
  background: var(--sage-tint);
  border: 1px solid rgba(130, 142, 117, 0.3);
  border-radius: var(--radius);
  padding: 1.6rem 1.9rem;
  margin: 2rem 0;
  font-size: 0.97rem;
}

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

/* Low-key legal/compliance note (e.g. Good Faith Estimate) */
.fineprint {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 2rem;
}
.fineprint strong { color: var(--ink); }

/* FAQ */

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 3.25rem 1.25rem 1.6rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest);
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--sage);
}

.faq details[open] summary::after { content: "–"; }

.faq details > div { padding: 0 1.6rem 1.4rem; color: var(--muted); font-size: 0.99rem; }

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

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 { font-size: 1.55rem; margin-bottom: 1.1rem; }
.contact-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1.25rem; }
.contact-card dt { font-weight: 700; color: var(--forest); font-size: 0.93rem; }
.contact-card dd { color: var(--muted); font-size: 0.97rem; }

.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* --------------------------------------------------------------------------
   Footer — forest green, so the palette closes on the brand hue
   -------------------------------------------------------------------------- */

.site-footer { background: var(--forest-deep); color: rgba(251, 249, 245, 0.72); padding: 4rem 0 2rem; font-size: 0.94rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(251, 249, 245, 0.13);
}

.footer-brand img { width: 52px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand .name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--cream); line-height: 1.1; }
.footer-brand .cred { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sage); margin: 0.3rem 0 1rem; }

.site-footer h4 {
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(251, 249, 245, 0.72); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-note {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.83rem;
  color: rgba(251, 249, 245, 0.5);
}

.crisis-note {
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(251, 249, 245, 0.2);
  border-radius: 10px;
  font-size: 0.87rem;
  color: rgba(251, 249, 245, 0.68);
}

.crisis-note strong { color: var(--cream); }

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

/* --------------------------------------------------------------------------
   Community & Crisis Resources page
   -------------------------------------------------------------------------- */

.emergency {
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 2.1rem;
  margin-bottom: 3rem;
}

.emergency h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.75rem; }
.emergency p { color: rgba(255, 255, 255, 0.9); margin-bottom: 0.75rem; }
.emergency p:last-child { margin-bottom: 0; }
.emergency a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.6); font-weight: 700; }
.emergency a:hover { color: #fff; text-decoration-color: #fff; }

.resource-group { margin-bottom: 3rem; }
.resource-group > h2 {
  font-size: 1.65rem;
  padding-bottom: 0.6rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.resource-list { list-style: none; display: grid; gap: 1.1rem; }

.resource {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.resource h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.3rem;
}

.resource-contact { font-size: 1.02rem; font-weight: 700; color: var(--sage-deep); margin-bottom: 0.4rem; }
.resource-contact a { color: var(--sage-deep); }
.resource-contact a:hover { color: var(--forest); }

.resource p:last-child { font-size: 0.97rem; color: var(--muted); margin-bottom: 0; }

.resource-disclaimer { font-size: 0.9rem; color: var(--muted); font-style: italic; margin-top: 2rem; }

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

/* Collapse to the mobile menu before the header can overflow: the five nav
   links plus the Book button need roughly 840px of room, so this hands off to
   the hamburger at narrower (half-screen) widths instead of clipping. */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1.5rem;
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .site-nav .btn { margin-top: 1rem; text-align: center; border-bottom: none; }
}

@media (max-width: 980px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .portrait { max-width: 360px; }
  .card-grid, .rate-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.75rem; }
  .steps { grid-template-columns: 1fr; gap: 2rem; max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-band { padding: 5rem 1.5rem; }
}

@media (max-width: 780px) {
  .brand img { width: 50px; height: 50px; }
  .brand-name { font-size: 1.45rem; }

  .card-grid, .rate-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .section { padding: 3.75rem 0; }
}
