:root {
  color-scheme: light;
  --ivory: #f7f3ec;
  --paper: #fbf9f5;
  --ink: #54272b;
  --ink-deep: #3d1c20;
  --muted: #765d5b;
  --rose: #eadbd7;
  --rose-light: #f1e8e4;
  --clay: #a95743;
  --line: #d9cdc4;
  --white: #fffdfa;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --content: 1240px;
  --reading: 42rem;
  --heading-width: 56rem;
  --h1-size: clamp(3.1rem, 5.8vw, 5.6rem);
  --h2-size: clamp(2.4rem, 3.8vw, 3.8rem);
  --h3-size: clamp(2rem, 3vw, 2.8rem);
  --compact-title-size: 1.8rem;
  --gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(32px, 3.5vw, 48px);
  --layout-gap: clamp(32px, 5vw, 72px);
  --card-gap: 24px;
  --card-padding: clamp(28px, 3.4vw, 44px);
  --heading-space: 18px;
  --paragraph-space: 16px;
  --action-space: 16px;
  --group-space: 32px;
  --photo-ratio: 4 / 5;
  --ease: cubic-bezier(.2, .7, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--white); background: var(--clay); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
.sr-only { 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: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; background: var(--ink); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.eyebrow { margin: 0 0 var(--heading-space); color: var(--clay); font-size: .71rem; font-weight: 700; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 500; line-height: 1.1; text-wrap: balance; overflow-wrap: break-word; }
h1 { max-width: var(--heading-width); font-size: var(--h1-size); letter-spacing: -.04em; }
h2 { max-width: var(--heading-width); font-size: var(--h2-size); letter-spacing: -.03em; }
h3 { font-size: var(--h3-size); letter-spacing: -.02em; }
p { max-width: var(--reading); margin: 0 0 var(--paragraph-space); overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }

/* The original logo remains intact and is no longer constrained to 64px high. */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--ivory); }
.header-inner { min-height: 182px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 220px; height: auto; max-width: none; object-fit: contain; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 1.8vw, 28px); }
.site-nav > a, .nav-toggle { position: relative; padding: 10px 0; color: var(--ink); font-family: var(--sans); font-size: .8rem; font-weight: 500; white-space: nowrap; text-decoration: none; }
.site-nav > a::after, .nav-toggle::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: var(--clay); content: ''; transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after, .site-nav > a[aria-current="page"]::after,
.nav-toggle:hover::after, .nav-toggle:focus-visible::after, .nav-group.is-current > .nav-toggle::after { transform: scaleX(1); transform-origin: left; }
.site-nav .mobile-appointment, .menu-toggle { display: none; }

/* Native popover visibility keeps the submenu out of the navigation flow. */
.nav-group { position: relative; flex: none; min-width: 0; }
.nav-toggle { display: block; line-height: inherit; background: none; border: 0; appearance: none; cursor: pointer; text-align: left; }
.nav-submenu {
  position: fixed;
  z-index: 50;
  inset: auto;
  top: 200px;
  left: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 24px rgb(61 28 32 / 10%);
}
.site-nav .nav-submenu a { display: block; padding: 10px 12px; color: var(--ink); font-size: .84rem; font-weight: 500; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; text-decoration: none; }
.site-nav .nav-submenu a::after { content: none; }
.site-nav .nav-submenu a:hover, .site-nav .nav-submenu a:focus-visible { text-decoration: underline; }
.site-nav .nav-submenu a[aria-current="page"] { font-weight: 600; text-decoration: underline; }
.nav-submenu-links { margin: 0; padding: 0; list-style: none; }
.nav-submenu-links > li { margin: 0; padding: 0; }

/* Shared rectangular buttons: matching widths/heights, with room for wrapping. */
.button, .button-outline { display: inline-flex; width: 320px; max-width: 100%; min-height: 56px; align-items: center; justify-content: center; gap: 12px; padding: 15px 22px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--white); font-size: .8rem; font-weight: 600; letter-spacing: .025em; line-height: 1.45; text-align: center; text-decoration: none; transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease; }
.button:hover { transform: translateY(-2px); background: var(--ink-deep); }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.header-cta { width: 220px; flex: 0 0 auto; }
.text-link, .service-link { display: inline-flex; max-width: 100%; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); font-size: .85rem; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; text-decoration: none; }
.text-link span, .service-link span { flex-shrink: 0; color: var(--clay); font-size: 1.1rem; transition: transform .2s ease; }
.text-link:hover span, .service-link:hover span { transform: translate(3px, -2px); }

/* Shared outer axes; comparable columns always begin at the top. */
.hero, .section, .page-hero { padding-block: var(--section-space); }
.hero-inner, .page-hero-inner, .bridge-inner, .about-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--layout-gap); }
.hero-content, .bridge-content, .about-copy, .page-hero-inner > div { min-width: 0; }
/* Reserve two eyebrow lines without constraining longer labels or the H1. */
.hero-content > .eyebrow, .page-hero-inner > div > .eyebrow, .page-hero > .container > .eyebrow { min-block-size: 3em; }
.hero-content > p:not(.eyebrow), .page-lead, .page-hero-inner p:not(.eyebrow) { margin-top: var(--heading-space); color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 0; }
.page-hero { background: var(--rose-light); }
.page-hero .button, .page-hero .text-link { margin-top: 0; }

/* One text-to-action interval, never a paragraph margin plus a CTA margin. */
p:has(+ :is(.button, .button-outline, .text-link, .service-link, .hero-actions)) { margin-bottom: var(--action-space); }
p + :is(.button, .button-outline, .text-link, .service-link) { margin-top: 0; }

/* Photos use matching frames instead of conflicting intrinsic/minimum heights. */
.hero-image, .page-hero-visual, .bridge-visual, .about-image { position: relative; width: 100%; min-height: 0; aspect-ratio: var(--photo-ratio); background: var(--rose); }
.hero-image > img, .page-hero-visual > img, .bridge-visual > img, .about-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-image > img, .story-hero .page-hero-visual > img { object-position: center 40%; }
/* Supplied portrait photos keep their whole original composition. */
.page-hero-visual.client-photo { aspect-ratio: 3 / 4; }
.page-hero-visual.client-photo > img { object-fit: contain; object-position: center; }
/* Only the requested care-photo crop gets this natural landscape frame. */
.drainage-hero .page-hero-visual.client-photo { aspect-ratio: 1350 / 1080; }
.hero-tag { position: absolute; right: 20px; bottom: 20px; max-width: calc(100% - 40px); padding: 20px 24px; background: var(--ivory); color: var(--ink); font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
.hero-tag span { display: block; }
.hero-tag span:first-child { margin-bottom: 8px; font-family: var(--sans); font-size: .65rem; font-weight: 700; letter-spacing: .15em; }
.image-caption { position: absolute; top: calc(100% + 12px); left: 0; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .12em; }
.intro-strip { padding-block: 28px; border-block: 1px solid var(--line); background: var(--rose-light); text-align: center; }
.intro-strip > .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.intro-strip span:first-child, .intro-strip span:last-child { font-size: .64rem; font-weight: 700; letter-spacing: .14em; }
.intro-strip span:nth-child(2) { font-family: var(--serif); font-size: clamp(1.4rem, 2.1vw, 2rem); font-style: italic; line-height: 1.3; }
.section-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--layout-gap); margin-bottom: var(--group-space); }
.section-head > div { min-width: 0; }
.section-head > p { margin: 0; color: var(--muted); }
.services, .why-process { background: var(--paper); }

/* Local auto tracks keep every action next to its own text, not its neighbour's. */
.service-list, .need-grid, .tool-list, .topic-prompts, .contact-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: var(--card-gap); }
.service-card, .need-card, .tool-item, .info-card { min-width: 0; display: grid; grid-auto-rows: auto; align-content: start; align-items: start; padding: var(--card-padding); border: 1px solid var(--line); background: var(--paper); }
.service-card { background: var(--ivory); }
.service-card:nth-child(even), .need-card:nth-child(4n + 2), .need-card:nth-child(4n + 3) { background: var(--rose-light); }
.service-number, .need-number { grid-row: 1; display: block; margin-bottom: var(--heading-space); color: var(--clay); font-size: .7rem; font-weight: 700; letter-spacing: .12em; line-height: 1.6; }
.service-card h3, .need-card h3 { grid-row: 2; margin-bottom: var(--heading-space); }
.service-card p, .need-card p { margin-bottom: var(--paragraph-space); color: var(--muted); }
.service-link { width: 100%; align-self: start; margin-top: 0; }
.service-card > .service-link + .service-link { margin-top: 12px; }
.need-grid { margin-top: var(--group-space); }
.need-card .need-quote { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; font-style: italic; }
.tool-list { margin-block: 28px; }
.tool-item { grid-template-rows: auto auto; padding: 26px; }
.tool-item h3 { grid-row: 1; margin: 0 0 16px; font-size: var(--compact-title-size); }
.tool-item p { grid-row: 2; margin: 0; }
.bridge-content h2, .about-copy h2, .crosslink h2 { margin-bottom: var(--heading-space); }
.bridge-content p, .about-copy p, .crosslink p { color: var(--muted); }
.bridge-content .text-link, .about-copy .text-link, .crosslink .text-link { margin-top: 0; }
.about { border-top: 1px solid var(--line); }
/* The short signature quotation intentionally retains its centered composition. */
.quote-band { padding-block: var(--section-space); background: var(--ink); color: var(--ivory); text-align: center; }
.quote-band .eyebrow { display: block; max-width: none; color: #e2c9c2; }
.quote-band blockquote { max-width: var(--heading-width); margin: 0 auto; font-family: var(--serif); font-size: var(--h2-size); line-height: 1.15; }
.quote-band p { margin: var(--heading-space) auto 0; color: #e2c9c2; font-size: .8rem; letter-spacing: .08em; }
.crosslink { background: var(--rose-light); }

/* Reading blocks keep the container axis, not a separate narrow centered column. */
.body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: var(--layout-gap); }
.main-copy { min-width: 0; max-width: var(--reading); }
.main-copy h2 { margin: var(--group-space) 0 var(--heading-space); }
.main-copy > h2:first-child, .main-copy > .eyebrow + h2 { margin-top: 0; }
.main-copy > h3 { margin: 28px 0 16px; font-size: var(--compact-title-size); }
.main-copy p, .main-copy li { color: var(--muted); }
.main-copy > section + .text-link { margin-top: var(--action-space); }
.main-copy ul, .editorial-list { max-width: var(--reading); padding-left: 1.2em; }
.main-copy li, .editorial-list li { padding-left: .2em; margin: .5em 0; }
.side-card { position: sticky; top: 28px; min-width: 0; padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.side-card h3 { margin-bottom: var(--heading-space); font-size: var(--compact-title-size); }
.side-card p { color: var(--muted); font-size: .92rem; }
.side-card > nav { margin-bottom: var(--paragraph-space); }
.side-card .button { width: 100%; margin-block: 0 var(--action-space); }
.side-card .text-link { margin-top: 0; }
.step-list { display: grid; gap: 0; margin: 28px 0; padding: 0; list-style: none; }
.step { position: relative; padding: 24px 0 24px 54px; border-bottom: 1px solid var(--line); }
.step > span { position: absolute; top: 23px; left: 0; color: var(--clay); font-family: var(--serif); font-size: 1.7rem; }
.step h3 { margin: 0 0 16px; font-size: var(--compact-title-size); }
.step p { margin: 0; }
.drainage-copy section > h3 { margin: 24px 0 var(--heading-space); font-size: var(--compact-title-size); }
.drainage-signals { margin: var(--group-space) 0 var(--paragraph-space); padding: 0; list-style: none; }
.main-copy .drainage-signal { position: relative; margin: 0; padding: 24px 0 24px 54px; border-top: 1px solid var(--line); }
.drainage-signal:last-child { border-bottom: 1px solid var(--line); }
.signal-number { position: absolute; top: 22px; left: 0; color: var(--clay); font-family: var(--serif); font-size: 1.7rem; }
.drainage-signal h3 { margin: 0 0 var(--heading-space); font-size: var(--compact-title-size); }
.drainage-signal p { margin: 0; }
.price-list { margin: 26px 0; border-top: 1px solid var(--line); }
.price-list > p, .price-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list strong { color: var(--ink); text-align: right; }
.price-list dd { margin: 0; }
.notice { margin-top: var(--group-space); padding: 24px 28px; border: 1px solid var(--line); border-left: 2px solid var(--clay); background: var(--rose-light); }
.inline-link { color: var(--ink); font-weight: 600; }
.breadcrumbs { padding-block: 18px; color: var(--muted); font-size: .78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { margin-right: 8px; color: var(--clay); content: '›'; }
.breadcrumbs a { color: var(--ink); }
.why-intro h2 { margin-bottom: var(--heading-space); }
.why-intro p { color: var(--muted); }
.why-reasons { margin-top: var(--group-space); padding: var(--card-padding); border: 1px solid var(--line); background: var(--paper); }
.why-reasons h2 { margin-bottom: var(--heading-space); }
.why-reasons h3 { margin-bottom: 16px; font-size: var(--compact-title-size); }
.why-reasons p, .why-reasons li { color: var(--muted); }
.why-next { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: var(--layout-gap); }
.why-next h2 { margin-bottom: var(--heading-space); }
.why-next p { color: var(--muted); }
.why-next-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.topic-questions { margin-bottom: var(--group-space); padding: var(--card-padding); border: 1px solid var(--line); background: var(--rose-light); }
.topic-questions h2 { margin: 0 0 var(--heading-space); }
.topic-prompt { min-width: 0; margin: 0; padding: 24px; border: 1px solid var(--line); border-left: 2px solid var(--clay); background: var(--paper); font-family: var(--serif); font-size: 1.3rem; font-style: italic; line-height: 1.45; overflow-wrap: break-word; }
.topic-section + .topic-section { margin-top: var(--group-space); }
.topic-section h2 { margin-bottom: var(--heading-space); }
.topic-intro { margin-bottom: var(--group-space); }
.topic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 0; padding-top: var(--action-space); border-top: 1px solid var(--line); }
.topic-details > .topic-section:last-child > p:last-child { margin-bottom: 0; }

/* Only the paragraph measure changes; backgrounds, type and spacing stay intact. */
@media (min-width: 761px) {
  .topic-hero .page-lead,
  .topic-copy .topic-section > p,
  .why-intro p,
  .why-reasons p,
  .why-next p { width: 100%; max-width: none; }
}

/* Contact titles stay outside the padded form panel on the same column axes. */
.contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--layout-gap); }
.contact-layout > div { min-width: 0; }
.contact-layout > div > h2 { margin-bottom: var(--heading-space); }
.contact-info-grid { margin-top: 32px; }
.info-card { padding: 24px; background: var(--rose-light); }
/* A real or empty label precedes the title; body paragraphs never reserve ranks. */
.info-card::before { grid-row: 1; display: block; min-block-size: 1.065rem; margin-bottom: 12px; content: ''; }
.corporate-card::before { display: none; }
.info-card h3 { grid-row: 2; margin-bottom: 16px; font-size: var(--compact-title-size); }
.info-card p:not(.eyebrow) { margin-bottom: var(--paragraph-space); color: var(--muted); font-size: .92rem; }
.info-card p:not(.eyebrow):last-child { margin-bottom: 0; }
.info-card a { overflow-wrap: anywhere; }
.info-card .text-link { align-self: start; margin-top: 0; padding-top: 0; }
.info-card .eyebrow { grid-row: 1; margin-bottom: 12px; }
.corporate-card { background: var(--paper); }
.form-card { min-width: 0; }
.form-card > p:not(.eyebrow), .form-note { color: var(--muted); }
.form-card > form { margin-top: 32px; padding: var(--card-padding); border: 1px solid var(--line); background: var(--paper); }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: .83rem; font-weight: 600; }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; min-height: 54px; padding: 13px 14px; border: 1px solid #bba9a0; border-radius: 0; background: var(--white); color: var(--ink); }
.field textarea { min-height: 160px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #81716e; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; border-color: var(--clay); }
.form-card .button { cursor: pointer; }
.form-note { font-size: .8rem; }
#form-status { margin-top: 16px; color: var(--ink); font-weight: 600; }

/* A single optional .card-body wrapper enables exact shared header alignment.
   Only its starting track is shared: its paragraphs and actions flow locally.
   Unwrapped cards above deliberately retain natural height instead of false
   body/action alignment. No fixed line counts or paragraph heights are used. */
.card-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--paragraph-space); }
.card-body > p, .info-card > .card-body > p:not(.eyebrow) { margin: 0; }
.card-body > :is(.text-link, .service-link, .button, .button-outline) { margin: 0; }
.service-card > .card-body, .need-card > .card-body, .info-card > .card-body { grid-row: 3; }
@supports (grid-template-rows: subgrid) {
  .service-card:has(> .card-body), .need-card:has(> .card-body), .info-card:has(> .card-body) { grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }
  .tool-item { grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; }
}

.contact-band { padding-block: var(--section-space); background: var(--rose-light); }
.contact-band-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--layout-gap); }
.contact-band h2 { margin-bottom: 0; }
.contact-band-inner > div { min-width: 0; }
.contact-band p { color: var(--muted); }
.contact-band .button { margin-top: 0; }
.site-footer { padding-block: var(--section-space) 28px; background: var(--ink-deep); color: var(--ivory); }
.footer-inner { display: grid; grid-template-columns: .8fr 2.2fr; gap: var(--layout-gap); padding-bottom: var(--group-space); }
.footer-brand { display: inline-block; margin-bottom: 20px; color: var(--ivory); font-family: var(--serif); font-size: 3rem; line-height: 1.1; text-decoration: none; }
.footer-intro p { color: #e3d5cd; font-size: .87rem; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-columns h3 { margin-bottom: 20px; color: var(--ivory); font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .1em; line-height: 1.6; text-transform: uppercase; }
.footer-columns p, .footer-columns a { color: #e3d5cd; font-size: .85rem; }
.footer-columns a { display: block; margin-bottom: 10px; overflow-wrap: anywhere; text-decoration: none; }
.footer-columns a:hover { color: var(--white); text-decoration: underline; }
.footer-columns .footer-sub-link { margin-left: 10px; padding-left: 10px; border-left: 1px solid #755358; color: #d8c7c0; font-size: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid #755358; color: #d8c7c0; font-size: .76rem; }
.footer-bottom a { color: inherit; }

.faq { padding-block: var(--section-space); }
.faq h2 { margin-bottom: 32px; }
.faq details { max-width: var(--reading); border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 24px 44px 24px 0; cursor: pointer; font-family: var(--serif); font-size: var(--compact-title-size); line-height: 1.3; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 24px; right: 4px; color: var(--clay); content: '+'; font-family: var(--sans); font-size: 1.3rem; }
.faq details[open] summary::after { content: '−'; }
.faq details > p { padding: 0 36px 24px 0; color: var(--muted); }

/* Switch navigation before the enlarged logo competes with the links. */
@media (max-width: 1100px) {
  .header-inner { position: relative; min-height: 158px; }
  .brand img { width: 184px; }
  .header-cta { display: none; }
  .body-grid, .why-next { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .side-card { padding: 24px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* The hamburger menu keeps its layout; the submenu remains a fixed popover. */
@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; width: 48px; height: 48px; flex-shrink: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .22s ease; }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; z-index: 10; top: calc(100% + 1px); right: calc(-1 * var(--gutter)); left: calc(-1 * var(--gutter)); display: none; max-height: calc(100vh - 158px); max-height: calc(100dvh - 158px); overflow-y: auto; overscroll-behavior: contain; align-items: stretch; flex-direction: column; gap: 0; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); background: var(--ivory); box-shadow: 0 14px 22px rgb(61 28 32 / 8%); }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .nav-toggle { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; white-space: normal; }
  .site-nav > a::after { display: none; }
  .nav-group { width: 100%; }
  .nav-toggle { width: 100%; }
  .nav-toggle::after { right: auto; bottom: 8px; width: 3.5em; }
  .site-nav .mobile-appointment { display: block; }
}

@media (max-width: 1000px) {
  .hero-inner, .page-hero-inner, .bridge-inner, .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-image, .page-hero-visual, .bridge-visual, .about-image { aspect-ratio: 6 / 5; }
  .about-image > img, .story-hero .page-hero-visual > img { object-position: center 32%; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: var(--group-space); }
  .body-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .why-next { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .side-card { position: static; max-width: var(--reading); }
  .side-card .button { width: 320px; max-width: 100%; }
  .intro-strip span:first-child, .intro-strip span:last-child { display: none; }
  .intro-strip > .container { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-band-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* Stack cards before their reading areas become too narrow on small tablets. */
@media (max-width: 760px) {
  .service-list, .need-grid, .tool-list, .topic-prompts, .contact-info-grid { grid-template-columns: 1fr; }
  /* No cross-card tracks are needed once there is only one column. */
  .service-card, .need-card, .tool-item, .info-card,
  .service-card:has(> .card-body), .need-card:has(> .card-body), .info-card:has(> .card-body) { grid-row: auto; grid-template-rows: none; }
  .need-card:nth-child(odd) { background: var(--paper); }
  .need-card:nth-child(even) { background: var(--rose-light); }
}

@media (max-width: 600px) {
  :root { --gutter: 24px; --card-gap: 20px; --card-padding: 28px; --section-space: 36px; --group-space: 28px; --h1-size: clamp(2.85rem, 10.5vw, 4rem); --h2-size: clamp(2.4rem, 9vw, 3.2rem); --h3-size: clamp(2rem, 8vw, 2.6rem); }
  .header-inner { min-height: 148px; padding-block: 10px; }
  .brand img { width: 176px; }
  .hero-content > p:not(.eyebrow), .page-lead, .page-hero-inner p:not(.eyebrow) { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-tag { right: 16px; bottom: 16px; padding: 16px 20px; font-size: 1.25rem; }
  .topic-questions { padding: 24px; }
  .topic-prompt { padding: 22px; }
  .topic-actions { align-items: flex-start; flex-direction: column; }
  .notice { padding: 22px; }
  .form-card > form { padding: 28px 24px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .footer-columns { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { padding-bottom: var(--group-space); }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .faq summary { font-size: 1.4rem; }
}

@media (max-width: 380px) {
  :root { --gutter: 20px; --card-padding: 24px; }
  .button, .button-outline { width: 100%; padding-inline: 16px; }
  .form-card > form { padding-inline: 20px; }
  .price-list > p { flex-wrap: wrap; }
}

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