/* Wyntree Bookkeeping site styles
   Colors and fonts live in the :root block below. Change them there and the whole site follows. */

@font-face { font-family: "Baskervville"; src: url("/assets/fonts/baskervville-v19-latin-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-v19-latin-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-v19-latin-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --green: #295e4f;          /* buttons, toppers, accents */
  --green-light: #54ab92;
  --sage: #609384;
  --sage-light: #88c1b0;
  --ink: #07100e;            /* headings, dark nav, footer */
  --text: #3e403f;           /* body copy */
  --muted-line: #dfe5e3;
  --bg: #ffffff;
  --tint: #f4f7f6;           /* light gray-green section background */
  --card: #ffffff;
  --icon-box: #dfe8e5;
  --footer-text: #e7e7e8;
  --serif: "Baskervville", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --title-size: clamp(1.9375rem, 3.9vw, 3.0625rem);
  --section-pad: clamp(3.75rem, 8.2vw, 8.75rem);
  --header-h: 188px;
}
html.dark {
  --ink: #f4f6f5;
  --text: #d5d9d7;
  --bg: #121212;
  --tint: #1c1f1e;
  --card: #262928;
  --icon-box: #2f3a37;
  --muted-line: #3a3f3d;
  --green-text: #88c1b0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
html.dark main p a, html.dark .prose a { color: var(--sage-light); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); line-height: 1.15; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
.container { width: 100%; max-width: 82rem; margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 44rem; }
.center { text-align: center; }
.center .btn, .section > .center { margin-top: 2.5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--green); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; }
.icon { flex: none; }

.section { padding: var(--section-pad) 0; }
.tint { background: var(--tint); }
.topper { margin: 0 0 .25rem; font-family: var(--sans); font-weight: 800; font-size: clamp(.8125rem, 1.6vw, 1rem); letter-spacing: .2em; text-transform: uppercase; line-height: 1.2; color: var(--green); }
html.dark .topper { color: var(--green-light); }
.title { font-size: var(--title-size); line-height: 1.1; max-width: 43.75rem; }
.lead { font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.5; }
.lead.dark { color: var(--ink); }

/* Buttons */
.btn { font-weight: 400; position: relative; z-index: 1; display: inline-block; padding: 1rem 2.5rem; font-family: var(--serif); font-size: 1rem; line-height: 1.5; color: #fff !important; background: var(--green); text-decoration: none; border: 0; cursor: pointer; text-align: center; overflow: hidden; }
.btn::before { content: ""; position: absolute; inset: 0; width: 0; background: var(--ink); z-index: -1; transition: width .3s; }
html.dark .btn::before { background: #000; }
.btn:hover::before, .btn:focus-visible::before { width: 100%; }

/* ---------------- Header ---------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.header-top { background: var(--bg); }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; padding-left: 1rem; }
.brand img { width: clamp(13rem, 26vw, 23.375rem); height: auto; }
.logo-for-dark { display: none !important; }
html.dark .logo-for-dark { display: block !important; }
html.dark .logo-for-light { display: none !important; }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.contact-chip, .call-chip { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.chip-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; flex: none; }
.contact-chip .chip-icon { background: var(--icon-box); color: var(--ink); }
.chip-text { display: flex; flex-direction: column; line-height: 1.35; }
.chip-text small { font-size: .8125rem; }
.chip-text strong { font-weight: 800; font-size: 1rem; }
.contact-chip .chip-text { color: var(--text); }
.contact-chip strong { color: var(--ink); }
.theme-toggle, .menu-toggle { background: none; border: 0; color: var(--ink); cursor: pointer; padding: .5rem; display: grid; place-items: center; }
.icon-sun { display: none; } html.dark .icon-sun { display: block; } html.dark .icon-moon { display: none; }
.menu-toggle { display: none; }
.mobile-call { display: none; place-items: center; width: 44px; height: 44px; color: var(--green); }
html.dark .mobile-call { color: var(--green-light); }
.mobile-cta-bar { display: none; }

.header-bar { background: var(--ink); }
html.dark .header-bar { background: #0b0f0e; border-top: 1px solid #222; }
.header-bar-inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.site-nav > ul { display: flex; gap: 2.25rem; list-style: none; }
.site-nav a, .drop-toggle { color: #e7e7e8; text-decoration: none; font: 400 1rem/1.5 var(--sans); background: none; border: 0; cursor: pointer; padding: .25rem 0; display: inline-flex; align-items: center; gap: .3rem; position: relative; }
.site-nav > ul > li > a::after, .drop-toggle::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--sage-light); transition: width .3s; }
.site-nav > ul > li > a:hover::after, .site-nav a[aria-current]::after, .is-current > .drop-toggle::after { width: 100%; }
.site-nav a[aria-current], .is-current > .drop-toggle { color: var(--sage-light); }
.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% + .9rem); left: -1rem; min-width: 16rem; list-style: none; background: var(--card); box-shadow: 0 14px 30px rgba(0,0,0,.15); padding: .5rem 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; }
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; color: var(--text); padding: .6rem 1.25rem; }
.drop a:hover { background: var(--tint); color: var(--green); }
.nav-cta { display: none !important; }
.call-chip { color: #fff; }
.call-chip .chip-icon { border: 1px solid #3a4441; color: var(--sage-light); }
.call-chip small { color: #fff; }
.call-chip strong { font-size: 1.25rem; }

main { padding-top: var(--header-h); }
main:has(> .hero:first-child) { padding-top: 0; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(3rem, 10vw, 9rem)) 0 clamp(4rem, 14vw, 12.5rem); background: var(--bg); }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 25%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 80%); }
html.dark .hero::after { background: linear-gradient(90deg, var(--bg) 30%, rgba(18,18,18,.8) 55%, rgba(18,18,18,.2) 85%); }
.hero-inner { position: relative; z-index: 1; }
.hero-inner > * { max-width: 41rem; }
.hero-title { font-size: clamp(2.4375rem, 5vw, 3.8125rem); }
.hero .lead { margin-bottom: 2rem; }

/* ---------------- Quick service row ---------------- */
.quick-services { background: var(--tint); padding: clamp(3rem, 7vw, 6.25rem) 0; }
.qs-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 3.5rem; }
.qs-grid a { text-decoration: none; color: var(--text); display: block; }
.qs-grid h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; margin-bottom: .5rem; }
.qs-grid h2 .icon { color: var(--green); }
html.dark .qs-grid h2 .icon { color: var(--green-light); }
.qs-grid p { margin-bottom: .5rem; }
.more { display: inline-flex; align-items: center; gap: .25rem; font-family: var(--serif); color: var(--ink); }
.qs-grid a:hover .more { color: var(--green); }

/* ---------------- Split (Nick) ---------------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 630 / 680; object-fit: cover; }
.split-text .btn { margin-top: .75rem; }
.rating-card { background: var(--tint); padding: 2rem; margin-top: clamp(2rem, 4vw, 4rem); }
.rating-card h3 { font-size: 1.25rem; margin: .75rem 0 .25rem; }
.rating-card p { margin: 0; }
.stars { display: flex; gap: .2rem; color: var(--sage); }
.star { fill: currentColor; stroke: none; }

/* ---------------- Advantage ---------------- */
.advantage-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.advantage-top p { max-width: 37rem; }
.advantage-top img { width: 100%; aspect-ratio: 608 / 400; object-fit: cover; }
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 3.5rem; margin-top: 4rem; }
.feature-grid h3 { display: flex; align-items: center; gap: .9rem; font-size: 1.5rem; margin-bottom: 1rem; }
.icon-box { display: grid; place-items: center; width: 3rem; height: 3rem; background: var(--icon-box); border: 1px solid #c9d6d2; color: var(--green); flex: none; }
html.dark .icon-box { border-color: #3d4a46; color: var(--green-light); }

/* ---------------- Photo cards ---------------- */
.center-head { text-align: center; }
.center-head .title, .center-head p { max-width: none; }
.pc-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; max-width: 90rem; margin: 2.5rem auto 0; padding: 0 1rem; }
.pc-grid a { position: relative; display: block; aspect-ratio: 337 / 480; overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 30px 60px rgba(0,0,0,.08); }
.pc-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pc-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%); }
.pc-grid a:hover img { transform: scale(1.06); }
.pc-num { position: absolute; top: 1.25rem; left: 1.25rem; z-index: 1; font: 800 .875rem var(--sans); letter-spacing: .15em; opacity: 0; transition: opacity .3s; }
.pc-grid a:hover .pc-num { opacity: .9; }
.pc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.25rem; }
.pc-body h3 { color: #fff; font-size: 1.5rem; margin-bottom: .25rem; }
.pc-body p { margin: 0; font-size: .95rem; }

/* ---------------- Dark image bands ---------------- */
.band, .page-banner { position: relative; overflow: hidden; background: #2b302f; text-align: center; color: #fff; }
.band { padding: clamp(4rem, 9vw, 7.4rem) 0; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after, .page-banner::after { content: ""; position: absolute; inset: 0; background: rgba(15, 22, 20, .82); }
.band-final::after { background: rgba(26, 28, 27, .8); }
.band-inner { position: relative; z-index: 1; max-width: 46rem; }
.band .title { color: #fff; margin: 0 auto 1rem; max-width: 25ch; }
.band-final .band-inner { max-width: 60rem; }
.band-final .title { max-width: none; }
.band p { color: #fff; margin-bottom: 2rem; }

.page-banner { padding: clamp(5rem, 9vw, 7.25rem) 0 clamp(3.5rem, 6vw, 4.5rem); margin-top: 0; }
.page-banner::after { background: rgba(0, 0, 0, .55); }
.page-banner .container { position: relative; z-index: 1; }
.banner-title { font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 3.8rem); color: #fff; line-height: 1.1; margin: 0 0 .75rem; }
.breadcrumbs { font-size: 1rem; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs span[aria-hidden] { margin: 0 1rem; color: #fff; }
.breadcrumbs [aria-current] { color: var(--sage-light); }

/* ---------------- Feature with striped frame ---------------- */
.feature-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6.5rem); align-items: center; }
.feature-grid-2.reverse > :first-child { order: 2; }
.framed { position: relative; padding: 2.5rem 0 0 2.75rem; }
.framed::before { content: ""; position: absolute; top: 0; left: 0; width: 75%; height: 75%; z-index: 0;
  background: repeating-linear-gradient(135deg, #e3ebe8 0 14px, transparent 14px 34px); }
html.dark .framed::before { background: repeating-linear-gradient(135deg, #2c3533 0 14px, transparent 14px 34px); }
.frame-right { padding: 2.5rem 2.75rem 0 0; }
.frame-right::before { left: auto; right: 0; }
.framed img { position: relative; z-index: 1; width: 100%; aspect-ratio: 566 / 608; object-fit: cover; }
.check-list { list-style: none; margin: 1.5rem 0 2rem; }
.check-list li { position: relative; padding-left: 1.25rem; margin-bottom: .75rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; background: var(--sage); transform: rotate(45deg); }
.check-list strong { color: var(--ink); }

/* ---------------- Steps ---------------- */
.steps-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; align-items: center; margin-bottom: 2.5rem; }
.steps-head .title { margin: 0; }
.steps-head > p { margin: 0; }
.step-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step { position: relative; overflow: hidden; background: var(--tint); padding: clamp(2rem, 4vw, 3.75rem) clamp(1.5rem, 3vw, 3rem); }
.section.tint .step { background: var(--card); }
.step::after { content: ""; position: absolute; top: 1.5rem; right: -60px; width: 120px; height: 107px; background: url("/assets/brand/tree-mark.svg") no-repeat center / contain; opacity: .28; z-index: 0; } /* tree mark: fully visible at top, right half tucked past the card edge */
.step { padding-right: calc(60px + 1.25rem); } /* room for the half tree mark */
.step > * { position: relative; z-index: 1; } /* keep step text above the tree mark */
.step-num { display: block; font: 800 1rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
html.dark .step-num { color: var(--green-light); }
.step h3 { font-size: 1.5625rem; margin-bottom: .5rem; }
.step p { margin: 0; }

/* ---------------- FAQ ---------------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.faq-list { margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--muted-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--green); padding-bottom: 1rem; }
html.dark .faq-item[open] summary { color: var(--green-light); }
.faq-item[open] { border-bottom-color: var(--sage); }
.faq-indicator { position: relative; width: 12px; height: 12px; flex: none; margin-top: .45rem; }
.faq-indicator::before, .faq-indicator::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; background: currentColor; transition: transform .3s; }
.faq-indicator::after { transform: rotate(90deg); }
.faq-item[open] .faq-indicator::after { transform: rotate(0); }
.faq-item p { padding-right: 3rem; margin: 0 0 1.5rem; }
.start-card { position: relative; overflow: hidden; background: var(--card); text-align: center; padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem) 0; }
.start-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.start-mark { width: 45%; margin: 2.5rem auto 0; padding-bottom: 2.5rem; opacity: .9; }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.badge-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.75rem 0 2rem; }
.badge-grid li { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--icon-box); border: 1px solid #b9cbc5; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
html.dark .badge-grid li { border-color: #3d4a46; }
.badge-grid .icon { color: var(--green); }
html.dark .badge-grid .icon { color: var(--green-light); }
.about-photo { position: relative; padding-right: 1rem; }
.about-photo::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 1rem; background: #dfe5e3; }
html.dark .about-photo::after { background: #2a302e; }
.about-photo img { width: 100%; aspect-ratio: 542 / 855; object-fit: cover; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-form { background: var(--tint); padding: clamp(1.5rem, 5vw, 3.75rem); display: flex; flex-direction: column; }
.contact-form label { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; font-size: .9rem; color: var(--ink); }
.contact-form input, .contact-form textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--card); border: 1px solid transparent; padding: .9rem 1.25rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--sage); }
.contact-form .btn { align-self: flex-start; margin-top: .75rem; }

/* ---------------- Content pages ---------------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.content-media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.prose h1 { font-size: var(--title-size); line-height: 1.1; }
.prose h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-top: 3rem; }
.prose h3 { font-size: 1.5rem; color: var(--green); margin: 1.5rem 0 .75rem; }
html.dark .prose h3 { color: var(--sage-light); }
.prose ul, .prose ol { margin: 1.5rem 0 2rem; padding-left: 1.4rem; }
.prose ul { list-style: none; }
.prose ul li { position: relative; margin-bottom: 1.25rem; }
.prose ul li::before { content: ""; position: absolute; left: -1.25rem; top: .5em; width: .5rem; height: .5rem; background: var(--sage); transform: rotate(45deg); }
.prose ol li { margin-bottom: 1rem; padding-left: .25rem; }
.prose strong { color: var(--ink); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: var(--footer-text); padding: var(--section-pad) 0 3rem; }
html.dark .site-footer { background: #0b0f0e; }
.footer-grid { display: grid; grid-template-columns: 2.2fr .9fr 1.1fr 1.1fr 2fr; gap: 2.5rem; }
.footer-about .brand img { width: 23rem; max-width: 100%; margin-bottom: 1.5rem; }
.site-footer p { color: var(--footer-text); }
.bbb img { width: 200px; margin: 1.5rem 0; }
.social { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #b4b4b4; border-radius: 50%; color: #fff !important; }
.footer-col h2 { font-size: 1.25rem; color: var(--footer-text); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: grid; gap: .75rem; }
.footer-col a, .footer-col span { color: var(--footer-text) !important; text-decoration: none; display: inline-flex; align-items: flex-start; gap: .75rem; }
.footer-col a:hover { color: var(--sage-light) !important; }
.footer-locations { padding-top: 0; }
.footer-contact .icon { margin-top: .1rem; }
.footer-bottom { border-top: 1px solid #343a39; margin-top: 3rem; padding-top: 1.75rem; text-align: center; }
.footer-bottom p { margin: 0; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .contact-chip { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .pc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .header-top-inner { height: 84px; }
  .header-actions > .btn { display: none; }
  .menu-toggle { display: grid; }
  .header-bar { position: absolute; top: 100%; left: 0; right: 0; max-height: 0; overflow: hidden; transition: max-height .35s; }
  .header-bar.open { max-height: 80vh; overflow-y: auto; }
  .header-bar-inner { flex-direction: column; align-items: flex-start; height: auto; padding: 1.5rem 1rem 2rem; gap: 1.5rem; }
  .site-nav { width: 100%; }
  .site-nav > ul { flex-direction: column; gap: 1rem; }
  .site-nav a, .drop-toggle { font-size: 1.25rem; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; display: none; padding: .5rem 0 0 1rem; }
  .has-drop.open .drop { display: block; }
  .drop a { color: #e7e7e8; padding: .4rem 0; font-size: 1.05rem; }
  .drop a:hover { background: none; }
  .nav-cta { display: inline-block !important; margin-top: 1.5rem; }
  .qs-grid, .feature-grid, .step-grid { grid-template-columns: 1fr; }
  .split-grid, .advantage-top, .feature-grid-2, .steps-head, .faq-grid, .about-grid, .contact-grid, .content-grid { grid-template-columns: 1fr; }
  .feature-grid-2.reverse > :first-child { order: 0; }
  .content-media { position: static; max-width: 34rem; }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.85) 100%); }
  html.dark .hero::after { background: rgba(18,18,18,.85); }
  .about-photo { max-width: 30rem; }
}
@media (max-width: 600px) {
  .pc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .badge-grid { grid-template-columns: 1fr; }
  .call-chip strong { font-size: 1.1rem; }
  .btn { padding: 1rem 1.75rem; }
}

/* ---------------- Phone and tablet tuning ---------------- */
@media (max-width: 900px) {
  .theme-toggle, .menu-toggle { width: 44px; height: 44px; padding: 0; }
  .mobile-call { display: grid; }
  .header-actions { gap: .25rem; }
  body.menu-open { overflow: hidden; }
  .site-nav > ul > li > a, .drop-toggle { min-height: 44px; }
  .drop a { min-height: 40px; display: flex; align-items: center; }

  /* sticky call / consult bar */
  .mobile-cta-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -6px 20px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); background: var(--ink); }
  html.dark .mobile-cta-bar { background: #0b0f0e; }
  .mobile-cta-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; text-decoration: none; font-family: var(--serif); font-size: 1.05rem; }
  .mcb-call { color: #fff; }
  .mcb-book { background: var(--green); color: #fff; }
  .site-footer { padding-bottom: calc(3rem + 56px); }

  /* service and location pages: keep the photo frame inside its own box */
  .content-media { position: relative; top: auto; max-width: none; padding: 1.5rem 0 0 1.75rem; }
  .content-media img { aspect-ratio: 4 / 3; }
  .content-grid { gap: 2rem; }

  .split-media img { aspect-ratio: 1 / 1; object-position: center 25%; }
  .about-photo img { aspect-ratio: 4 / 5; object-position: center 20%; }
  .framed:not(.content-media) { padding: 1.5rem 0 0 1.75rem; }
  .frame-right:not(.content-media) { padding: 1.5rem 1.75rem 0 0; }

  /* bigger tap areas in the footer */
  .footer-col ul { gap: 0; }
  .footer-col a, .footer-col span { padding: .55rem 0; }
  .social { width: 44px; height: 44px; }
  .faq-item summary { padding: 1.25rem 0; }
  .start-card { padding-bottom: 0; }
}
@media (max-width: 600px) {
  .hero { padding: calc(var(--header-h) + 2.5rem) 0 3.5rem; }
  .hero .btn, .band .btn, .start-card .btn { width: 100%; }
  .pc-grid a { aspect-ratio: 4 / 3; }
  .pc-num { opacity: .9; }
  .footer-locations { grid-column: 1 / -1; }
  .footer-locations ul { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .breadcrumbs span[aria-hidden] { margin: 0 .5rem; }
  .page-banner { padding: 3.5rem 0 2.75rem; }
  .contact-form { margin: 0 -1rem; }
  .rating-card { padding: 1.5rem; }
}
@media (max-width: 380px) {
  .brand img { width: 11.5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
