/* ==========================================================================
   Boise Water Damage Pros — site.css
   Atlas Intent Media publisher site
   Refined warm ivory / navy / teal / orange home-service system
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  src: url('/assets/manrope.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --warm-white: #f8f7f2;
  --ivory: #f3f0e8;
  --white: #ffffff;
  --ink: #122b36;
  --ink-deep: #0b1f28;
  --teal: #086b70;
  --teal-soft: #e3efee;
  --orange: #a83c1a;
  --orange-strong: #8d3215;
  --muted: #506570;
  --muted-light: #c5d0d5;
  --border: #d8dfdd;
  --focus: #d4532d;
  --section-pad: 76px;
  --section-pad-mobile: 48px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family:
    'Manrope',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Base typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 800;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: none;
}

h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem); /* 36–60 */
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.375rem); /* 27–38 */
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}

li {
  margin: 0 0 0.35em;
}

a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

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

img {
  display: block;
  height: auto;
  border: 0;
}

picture {
  display: block;
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
  color: #fff;
}

/* ---------- Layout shell ---------- */
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

main {
  display: block;
  min-width: 0;
}

section,
.band,
.section,
.split-band,
.split,
.steps,
.cards,
.local-band,
.faq-band,
.reference-band,
.closing-band,
.content-band,
.intro-band,
.note-band,
.reading-grid,
.scope-grid {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

/* ---------- Header brand integration ---------- */
.brand {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  gap: 12px;
}

.brand-wordmark,
.fleet-brand img {
  width: auto;
  max-width: 220px;
  height: auto;
}

.fleet-brand img {
  width: 220px;
  max-width: 220px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.fleet-header .fleet-brand img.brand-wordmark {
  width: 220px;
  max-width: 220px;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

/* ---------- Buttons / Call CTA ---------- */
.call,
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 26px;
  background: var(--orange);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
}

.call.call-cta,
.call[aria-disabled='true'],
.call[disabled] {
  cursor: default;
  color: #ffffff;
  opacity: 0.92;
  background: var(--orange);
}

.call.call-cta:hover,
.call[aria-disabled='true']:hover,
.call[disabled]:hover {
  text-decoration: none;
  color: #ffffff;
  background: var(--orange);
}

.call-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

/* ---------- Reusable section treatments ---------- */
.content-band {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.content-band.ivory,
.intro-band,
.note-band {
  padding: var(--section-pad) 0;
  background: var(--ivory);
}

.content-band.white {
  background: var(--white);
}

.content-band .shell > h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.375rem);
  margin: 0 0 0.4em;
}

.content-band .shell > p,
.intro-band .shell > p,
.note-band .shell > p,
.reference-band .shell > p,
.disclosure-band .shell > p {
  max-width: 72ch;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

/* .section-heading is a container, not a heading. Never inherit a display
   font-size; its h2 uses the global scale and its child p stays body-sized. */
.section-heading {
  display: block;
  margin: 0 0 32px;
}

.section-heading h2 {
  margin: 0 0 0.35em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

/* ---------- Opening / hero composition ---------- */
.opening {
  padding: 56px 0 40px;
  background: var(--warm-white);
}

.opening-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: end;
}

.opening-copy {
  min-width: 0;
}

.opening-copy h1 {
  margin: 0 0 18px;
}

.opening-copy .lede {
  margin: 0;
}

.opening-aside {
  min-width: 0;
}
.opening-aside p.eyebrow {
  display: block;
  font-size: 0.75rem;
  margin: 0 0 12px;
  color: var(--muted);
}

.opening-aside p {
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0 0 18px;
  color: var(--ink);
}

.opening-aside p.eyebrow {
  font-size: 0.72rem;
  margin-bottom: 12px;
}

.opening-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.opening-actions .call-note {
  width: 100%;
  flex-basis: 100%;
}

/* Panorama as primary local visual */
.panorama {
  width: 100%;
  margin: 24px 0 0;
}

.panorama picture,
.panorama img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

/* ---------- Photo element (picture.photo) ---------- */
.photo {
  display: block;
  max-width: 100%;
}

.photo {
  max-width: 100%;
  min-width: 0;
}
.photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* ---------- Decision cards ---------- */
.decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
  margin-top: 28px;
}

.decision-grid[data-cols='2'],
.decision-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.decision-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: 10px;
  padding: 24px;
  min-width: 0;
}

.decision-card .card-category {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.decision-card h2,
.decision-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.decision-card p {
  margin: 0 0 18px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--muted);
}

.decision-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.decision-card a {
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Cards grid (hubs & services) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  min-width: 0;
}

.card h2,
.card h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.card p {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card a {
  font-weight: 700;
  font-size: 0.95rem;
}

.card ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.96rem;
  color: var(--muted);
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  min-width: 0;
}

.step .step-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.step p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Vertical 3-step list when .steps-grid sits inside a .split-grid left column */
.split-grid > .split-copy .steps-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
}

/* ---------- Split band ---------- */
.split-band {
  padding: var(--section-pad) 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-width: 0;
}

.split-media,
.split-copy {
  min-width: 0;
}

.split-media .photo {
  display: flex;
  justify-content: center;
  background: var(--ivory);
  border-radius: 10px;
  overflow: hidden;
}

.split-media .photo img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.split-media .photo[data-photo='ceiling'] {
  overflow: hidden;
}

.split-media .photo[data-photo='ceiling'] img {
  object-fit: contain;
  max-height: 400px;
  max-width: 100%;
  width: auto;
  background: var(--ivory);
}

.split-media .photo[data-photo='drying'] img,
.split-media .photo[data-photo='extraction'] img {
  object-fit: cover;
  max-height: 400px;
}

/* Bound portrait meter image: natural width, max height, never stretched */
.split-media .photo[data-photo='ceiling'] {
  justify-content: center;
  align-items: center;
}

/* ---------- Incident links (compact group) ---------- */
.incident-links,
.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.incident-links li,
.related-links li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin: 0;
  min-width: 0;
}

.incident-links li a,
.related-links li a {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.incident-links li a:hover,
.related-links li a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.incident-links li span,
.related-links li span {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Local panel / decision panel ---------- */
.local-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
  margin-top: 28px;
  min-width: 0;
}

.local-panel h2,
.local-panel h3 {
  font-size: 1.4rem;
}

.local-panel .source {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 18px;
}

.local-panel ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.local-panel p {
  max-width: 72ch;
}

/* Floodplain band: treat as a meaningful padded section */
.floodplain-band {
  padding: var(--section-pad) 0;
  background: var(--ivory);
}

.floodplain-band .local-panel {
  margin-top: 0;
}

/* ---------- FAQ ---------- */
.faq-band {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.faq-list details,
.faq details,
.faq-band details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: visible;
}

.faq-list summary,
.faq details summary,
.faq-band details summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
  list-style: none;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

.faq-list summary:focus-visible,
.faq details summary:focus-visible,
.faq-band details summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

.faq-list .faq-body,
.faq details .faq-body,
.faq-band details p {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

/* ---------- Navy closing band ---------- */
.closing-band {
  background: var(--ink);
  color: #f7fafc;
  padding: var(--section-pad) 0;
}

.closing-band h2 {
  color: #f7fafc;
}

.closing-band p {
  color: var(--muted-light);
  max-width: 64ch;
}

.closing-band .call {
  background: var(--orange);
}

.closing-band a:not(.call) {
  color: #cfe9e8;
}

/* ---------- Page hero (non-home) ---------- */
.page-hero {
  padding: 48px 0 32px;
  background: var(--teal-soft);
}

.page-hero .opening {
  background: transparent;
  padding: 0 0 24px;
}

.page-hero .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  min-width: 0;
}

.page-hero .hero-copy p.lede {
  color: var(--ink);
  font-size: 1.15rem;
  max-width: 52ch;
}

.page-hero h1 {
  max-width: 16ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions .call-note {
  width: 100%;
  flex-basis: 100%;
}

.hero-media {
  min-width: 0;
}

.hero-media .photo {
  background: var(--ivory);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-media .photo img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-media .photo[data-photo='boise'] img {
  object-fit: contain;
  max-height: none;
  aspect-ratio: auto;
}

.hero-media .photo[data-photo='garden-city'] img {
  max-height: 380px;
}

.hero-media .photo[data-photo='ceiling'] img {
  object-fit: contain;
  height: 380px;
  max-height: 380px;
  max-width: 100%;
  width: 100%;
  background: var(--ivory);
}

/* ---------- Reading / scope grid for service & locality ---------- */
.reading-grid,
.scope-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.reading-grid .reading-col {
  max-width: 72ch;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.86rem;
  margin-bottom: 16px;
  color: var(--muted);
}

.breadcrumb [aria-hidden='true'] {
  margin: 0 0.35em;
}

.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span[aria-current='page'] {
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Reference / map ---------- */
.reference-band {
  padding: var(--section-pad) 0;
  background: var(--ivory);
}

.map-wrap {
  margin: 24px 0;
}

.map-wrap iframe,
main iframe[title*='orientation'] {
  display: block;
  width: 100%;
  height: 340px;
  min-height: 340px;
  border: 0;
  border-radius: 12px;
}

.reference-band a {
  font-weight: 700;
}

/* ---------- Disclosure / legal ---------- */
.disclosure-band,
.legal-band {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
  color: var(--muted);
  font-size: 0.95rem;
}

.disclosure-band p,
.disclosure-band .shell > p,
.legal-band p,
.legal-band .shell > p {
  max-width: 850px;
}

.legal-content,
.disclosure-band .prose {
  max-width: 850px;
  margin: 0;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: #d8e6e7;
  padding: 60px 0 40px;
}

footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  min-width: 0;
}

footer.site-footer .footer-grid > * {
  min-width: 0;
}

footer.site-footer h2 {
  color: #f7fafc;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 18px;
}

footer.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.site-footer li {
  margin: 0 0 12px;
}

footer.site-footer a {
  color: #c5d0d5;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.45;
}

footer.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer.site-footer .footer-base {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #ffffff26;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

footer.site-footer .footer-base p {
  color: #c5d0d5;
  font-size: 0.92rem;
  margin: 0;
  max-width: 60ch;
}

footer.site-footer .footer-base strong {
  color: #f7fafc;
}

/* ---------- Mobile call (sticky) ---------- */
.mobile-call {
  display: none;
}

/* ---------- Tables ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1em;
}

th,
td {
  border: 1px solid var(--border);
  padding: 10px;
  text-align: left;
}

caption {
  text-align: left;
  margin-bottom: 8px;
  font-weight: 700;
}

/* ---------- Utility safeguards ---------- */
.grid,
.split-grid,
.local-grid,
.hero-grid,
.footer-grid,
.steps-grid,
.decision-grid,
.cards-grid {
  min-width: 0;
}

.grid > *,
.split-grid > *,
.local-grid > *,
.hero-grid > *,
.footer-grid > *,
.steps-grid > *,
.decision-grid > *,
.cards-grid > * {
  min-width: 0;
}

iframe {
  max-width: 100%;
  width: 100%;
  border: 0;
}

/* ---------- Fleet / header alignment ---------- */
.fleet-row,
.fleet-panel-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 970px) {
  .fleet-brand img,
  .fleet-brand img.brand-wordmark {
    max-width: 175px;
    max-height: 46px;
  }
}

@media (max-width: 800px) {
  .opening-grid,
  .page-hero .hero-grid,
  .split-grid,
  .local-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-hero .hero-grid .hero-media,
  .split-grid .split-media {
    order: 2;
  }

  .decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decision-grid[data-cols='2'],
  .decision-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .split-grid > .split-copy .steps-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .incident-links,
  .related-links {
    grid-template-columns: 1fr;
  }

  footer.site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .fleet-header .fleet-brand img.brand-wordmark {
    width: 175px;
    max-width: 175px;
  }
  .fleet-row {
    gap: 12px;
  }
  :root {
    --section-pad: var(--section-pad-mobile);
  }

  .content-band,
  .intro-band,
  .note-band,
  .reference-band,
  .local-band,
  .faq-band,
  .floodplain-band,
  .closing-band,
  .page-hero,
  .split-band,
  .disclosure-band,
  .legal-band {
    padding: var(--section-pad-mobile) 0;
  }

  .opening {
    padding: 32px 0 20px;
  }

  .opening-grid {
    gap: 20px;
  }

  .opening-copy h1 {
    margin-bottom: 14px;
  }

  .opening-copy .lede {
    font-size: 1.06rem;
  }

  .opening-aside p {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .opening-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .opening-aside p {
    margin: 0;
  }

  .opening-aside .call-note {
    font-size: 0.8rem;
    margin: 2px 0 6px;
  }

  .opening-actions {
    gap: 14px;
  }

  .opening-actions .call,
  .hero-actions .call {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .panorama {
    margin-top: 20px;
  }

  .decision-grid,
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  footer.site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  footer.site-footer .footer-base {
    flex-direction: column;
    gap: 18px;
  }

  .mobile-call {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    z-index: 20;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  }

  .mobile-call .call {
    width: 100%;
  }

  body {
    padding-bottom: 90px;
  }

  .page-hero h1 {
    max-width: 100%;
  }

  .split-grid {
    gap: 24px;
  }

  .split-media .photo img,
  .split-media .photo[data-photo='extraction'] img,
  .split-media .photo[data-photo='drying'] img {
    max-height: 300px;
  }

  .split-media .photo[data-photo='ceiling'] img {
    max-height: 300px;
  }

  .hero-media .photo img {
    max-height: 280px;
  }

  .hero-media .photo[data-photo='garden-city'] img {
    max-height: 280px;
  }

  .local-panel {
    padding: 22px;
  }

  .page-hero {
    padding: 32px 0 32px;
  }
}

@media (max-width: 420px) {
  .opening-aside p {
    font-size: 0.95rem;
  }

  .opening-copy .lede {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  h1 {
    font-size: clamp(2.25rem, 8.5vw, 2.5rem);
  }

  .opening-actions .call {
    min-height: 48px;
  }

  .eyebrow {
    font-size: 0.7rem;
  }
}

@media (min-width: 768px) {
  .mobile-call {
    display: none;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}

.call-cta {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.call-cta span {
  font-size: 0.8em;
  white-space: nowrap;
}

.commercial-article {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 760px);
  gap: 48px;
  padding-top: 32px;
  padding-bottom: 64px;
}
.commercial-article aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.article-body {
  min-width: 0;
}
.article-body section {
  margin: 0 0 38px;
}
.article-body h2 {
  font-size: clamp(23px, 3vw, 32px);
}
.commercial-meta {
  font-size: 14px;
  color: #52645f;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.resource-grid > a {
  display: block;
  padding: 20px;
  border: 1px solid #cfdad5;
  border-radius: 12px;
  text-decoration: none;
}
.resource-grid p {
  color: #334740;
}
.resource-grid h2,
.resource-grid h3 {
  font-size: 23px;
}
.commercial-hub {
  padding-top: 32px;
  padding-bottom: 56px;
}
.editorial-card-photo {
  margin-bottom: 20px;
}
.editorial-card-photo img {
  aspect-ratio: 16/10;
  object-fit: cover;
}
.decision-visual {
  background: #edf2ee;
  border: 1px solid #c4d0c7;
  padding: 24px;
  border-radius: 12px;
}
.decision-visual li span {
  display: block;
  margin-top: 8px;
}
.decision-visual .process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-left: 24px;
}
.decision-tool,
.decision-aid {
  padding: 24px;
  border: 1px solid #b7c8bc;
  border-radius: 12px;
  background: #f7f8f2;
}
.decision-tool label {
  display: block;
  font-weight: 650;
  margin-top: 18px;
}
.decision-tool select {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  font: inherit;
  border: 1px solid #66776e;
  border-radius: 6px;
  padding: 9px;
  margin: 8px 0 18px;
  background: white;
}
.decision-tool button {
  min-height: 48px;
  padding: 10px 18px;
  font: inherit;
  background: #123e32;
  color: white;
  border: 0;
  border-radius: 7px;
  margin: 8px 8px 8px 0;
  cursor: pointer;
}
.tool-result:not(:empty) {
  margin-top: 18px;
  padding: 16px;
  background: white;
  border-left: 4px solid #123e32;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px;
  border: 1px solid #b7c8bc;
}
caption {
  text-align: left;
  padding-bottom: 12px;
}
.article-body :target {
  scroll-margin-top: 130px;
}
@media (max-width: 900px) {
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .commercial-article {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .commercial-article aside {
    border-bottom: 1px solid #cfdad5;
    padding-bottom: 20px;
  }
}
@media (max-width: 600px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .decision-visual .process-list {
    grid-template-columns: 1fr;
  }
  .decision-tool,
  .decision-aid,
  .decision-visual {
    padding: 18px;
  }
  .commercial-article {
    padding-bottom: 90px;
  }
}

.footer-logo {
  display: block;
  max-width: 100%;
  height: auto;
}
.footer-base > a {
  max-width: 100%;
  min-width: 0;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
