@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --camel: #b88f4f;
  --camel-light: #e9d6b6;
  --ebony: #434e3d;
  --ebony-dark: #263026;
  --ghost: #f7f7ff;
  --blue: #145c9e;
  --ocean: #118ab2;
  --ink: #20261f;
  --muted: #5f675e;
  --white: #fff;
  --line: #dce0d8;
  --radius-sm: .65rem;
  --radius: 1rem;
  --radius-lg: 1.6rem;
  --shadow-sm: 0 8px 24px rgba(32, 38, 31, .08);
  --shadow: 0 18px 50px rgba(32, 38, 31, .14);
  --measure: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ghost);
  font: 400 1.0625rem/1.65 Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--ebony); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 4px; }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 2000;
  transform: translateY(-180%); padding: .75rem 1rem; border-radius: .5rem;
  color: var(--white); background: var(--ebony-dark); font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2rem), var(--measure)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 52rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.surface { background: var(--white); }
.surface-dark { color: var(--white); background: var(--ebony-dark); }
.surface-stone { background: #efe9df; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .8rem;
  color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: var(--camel); }
.surface-dark .eyebrow { color: #cceaff; }
h1, h2, h3 { margin: 0 0 .75em; color: var(--ebony-dark); line-height: 1.08; text-wrap: balance; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 5.8vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.42rem); }
.surface-dark h1, .surface-dark h2, .surface-dark h3 { color: var(--white); }
.lead { max-width: 44rem; font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.55; }
.muted { color: var(--muted); }
.surface-dark .muted { color: #d6ddd3; }
.kicker { color: var(--camel); font-weight: 850; }

.site-header {
  position: sticky; top: 0; z-index: 900; border-bottom: 1px solid rgba(67, 78, 61, .12);
  background: var(--white); backdrop-filter: blur(14px);
}
.site-header .container.nav-shell { width: 100%; max-width: none; padding-inline: clamp(1rem, 3vw, 3rem); }
.nav-shell { min-height: 5.7rem; display: flex; align-items: center; gap: 1rem; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; width: 13.125rem; min-height: 4.375rem; }
.brand img { width: 100%; height: 4.375rem; object-fit: contain; }
.desktop-nav { margin-inline: auto; display: flex; align-items: center; gap: .15rem; }
.desktop-nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem .7rem; text-align: center;
  color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 700; border-radius: .6rem;
}
.desktop-nav > a:hover, .nav-drop > button:hover { background: #ebece6; }
.nav-drop { position: relative; }
.nav-drop::after { content: ""; position: absolute; z-index: 4; top: 100%; left: 0; right: 0; height: .6rem; }
.nav-drop > button { border: 0; background: transparent; cursor: pointer; }
.drop-panel {
  display: none;
  position: absolute; top: calc(100% + .45rem); left: 50%; width: 20rem; padding: .7rem;
  transform: translateX(-50%); border: 1px solid var(--line); border-radius: var(--radius);
  z-index: 5; background: var(--white); box-shadow: var(--shadow);
}
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { display: block; }
.drop-panel a { display: block; padding: .7rem .75rem; color: var(--ink); text-align: center; text-decoration: none; border-radius: .55rem; }
.drop-panel a:hover { background: #f0eee8; }
.header-actions { display: flex; align-items: center; gap: .55rem; }
.mobile-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: .7rem; background: var(--white); }
.mobile-toggle span, .mobile-toggle::before, .mobile-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ebony-dark); }
.mobile-panel { display: none; padding: .5rem 1rem 1.25rem; border-top: 1px solid var(--line); }
.mobile-panel[aria-hidden="false"] { display: grid; }
.mobile-panel a, .mobile-panel strong { min-height: 46px; display: flex; align-items: center; justify-content: center; padding: .6rem; color: var(--ink); text-align: center; text-decoration: none; font-weight: 750; }
.mobile-group a { margin-left: 0; font-weight: 600; }

.btn {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .72rem 1.12rem; border: 2px solid transparent; border-radius: .75rem;
  font-size: .94rem; font-weight: 850; line-height: 1.1; text-align: center; text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--ebony-dark); box-shadow: 0 7px 18px rgba(38, 48, 38, .2); }
.btn-primary:hover { color: var(--white); background: #111a12; }
.btn-accent { color: #17120b; background: #d7ad68; }
.btn-accent:hover { color: #17120b; background: #e2bb7d; }
.btn-outline { color: var(--ebony-dark); border-color: var(--ebony); background: transparent; }
.btn-outline:hover { color: var(--white); background: var(--ebony); }
.btn-light { color: var(--ebony-dark); background: var(--white); }
.btn-small { min-height: 42px; padding: .58rem .82rem; font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.hero { overflow: hidden; background: var(--ebony-dark); }
.hero-grid { min-height: min(650px, calc(100vh - 5.15rem)); display: grid; grid-template-columns: 1.05fr .95fr; }
.hero-copy { align-self: center; padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 5vw, 5rem) clamp(2.5rem, 5vw, 4rem) max(1rem, calc((100vw - 72rem) / 2)); }
.hero-copy h1 { max-width: 13ch; font-size: clamp(2.7rem, 5.6vw, 5.4rem); }
.hero-copy .lead { max-width: 36rem; color: #e4e9e2; }
.hero-media { position: relative; min-height: 29rem; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,48,38,.34), transparent 35%); }
.hero-note { position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem; max-width: 18rem; padding: 1rem 1.1rem; border-left: 4px solid var(--camel); border-radius: .35rem .8rem .8rem .35rem; color: var(--white); background: rgba(24,32,24,.88); backdrop-filter: blur(8px); }
.hero-note strong { display: block; font-size: 1.05rem; }
.trust-strip { position: relative; z-index: 3; margin-top: -1px; background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.3rem 1rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--ebony-dark); font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .88rem; }

.inner-hero { position: relative; min-height: 29rem; display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--ebony-dark); }
.inner-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.inner-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,33,25,.94) 0%, rgba(25,33,25,.7) 55%, rgba(25,33,25,.2)); }
.inner-hero-content { position: relative; z-index: 2; max-width: 50rem; padding-block: clamp(3rem, 7vw, 5rem); }
.inner-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4.7rem); }
.inner-hero .lead, .inner-hero .eyebrow { color: var(--white); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .3rem .55rem; margin: 0 0 1.2rem; padding: 0; list-style: none; font-size: .84rem; }
.breadcrumb a { color: inherit; min-height: 44px; display: inline-flex; align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 0; opacity: .55; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 781px) {
  .service-outcomes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .service-outcomes > .card { grid-column: span 2; }
  .service-outcomes > .card:nth-child(4) { grid-column: 2 / span 2; }
  .service-outcomes > .card:nth-child(5) { grid-column: 4 / span 2; }
  .service-page-outcomes > .card:last-child { grid-column: 1 / -1; width: calc((100% - 1.25rem) / 2); justify-self: center; }
}

.align-center { align-items: center; }
.section-head { max-width: 47rem; margin-bottom: 2rem; }
.section-head p { font-size: 1.08rem; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: #e5e6e0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.025); }
.card-body { padding: 1.3rem; }
.card-body p { color: var(--muted); }
.card-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 850; }
.proof-card { padding: clamp(1.3rem, 3vw, 2.2rem); border-radius: var(--radius); color: var(--white); background: var(--ebony); }
.proof-card h3 { color: var(--white); }
.proof-card p { color: #e2e7df; }
.quote-mark { color: var(--camel-light); font: 700 3.5rem/1 Georgia, serif; }
.stat { padding: 1.25rem; border-left: 3px solid var(--camel); background: #f1eee8; }
.stat strong { display: block; font: 700 1.45rem/1.2 Georgia, serif; color: var(--ebony-dark); }

.media-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; min-height: 25rem; object-fit: cover; }
.media-caption { position: absolute; right: .8rem; bottom: .8rem; max-width: 22rem; padding: .65rem .8rem; border-radius: .55rem; color: var(--white); background: rgba(25,33,25,.86); font-size: .84rem; }
.collage { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, 12rem); gap: .75rem; }
.collage figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.collage figure:first-child { grid-row: 1/3; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.completed-project-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 12rem); }
.completed-project-collage > figure:first-child { grid-row: auto; }

.process { counter-reset: step; display: grid; gap: .85rem; }
.process-step { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.process-step::before { content: counter(step); width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--ebony); font-weight: 900; }
.process-step h3 { margin-bottom: .35rem; }
.process-step p { margin: 0; color: var(--muted); }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; margin: .55rem 0; padding-left: 1.75rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.comparison { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.comparison th, .comparison td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison th { color: var(--white); background: var(--ebony); }
.comparison tbody tr:last-child td { border-bottom: 0; }

.faq-list { display: grid; gap: .75rem; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.faq summary { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; color: var(--ebony-dark); font-weight: 850; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; }
.faq[open] summary::after { content: "−"; }
.faq div { padding: 0 1.1rem 1.1rem; color: var(--muted); }
@media (min-width: 741px) { .town-faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; } .town-faq-list .faq { margin: 0; } }
@media (min-width: 741px) { .town-service-outcomes > .card:last-child { grid-column: 1 / -1; width: calc((100% - 1.25rem) / 2); justify-self: center; } }

.on-this-page { position: sticky; top: 6rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.on-this-page strong { display: block; margin-bottom: .4rem; }
.on-this-page a { min-height: 42px; display: flex; align-items: center; text-decoration: none; font-weight: 700; }
.content-with-aside { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.prose { max-width: 48rem; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #3f473e; }

.gallery-tools { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.2rem; }
.filter-btn { min-height: 44px; padding: .55rem .85rem; border: 1px solid var(--ebony); border-radius: 999px; color: var(--ebony-dark); background: var(--white); font-weight: 800; }
.filter-btn[aria-pressed="true"] { color: var(--white); background: var(--ebony); }
.gallery-grid { columns: 3 18rem; column-gap: .9rem; }
.gallery-item { break-inside: avoid; margin: 0 0 .9rem; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: auto; }
.gallery-item figcaption { padding: .7rem .85rem; color: var(--muted); font-size: .86rem; }
.gallery-item[hidden] { display: none; }

.map-panel { padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.map-shell { min-height: 22rem; display: grid; place-items: center; padding: 1.5rem; border-radius: .75rem; color: var(--white); text-align: center; background: linear-gradient(135deg, var(--ebony), var(--blue)); }
.map-shell iframe { width: 100%; min-height: 22rem; border: 0; border-radius: .65rem; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.75rem, 5vw, 4.5rem); align-items: start; }
.contact-list { display: grid; gap: .75rem; }
.contact-link { min-height: 62px; display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--ink); text-decoration: none; background: var(--white); }
.contact-link strong { display: block; }
.contact-link span { color: var(--muted); font-size: .88rem; }
.form-card { padding: clamp(1.25rem, 3vw, 2.2rem); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .35rem; color: var(--ebony-dark); font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: .75rem .8rem; border: 1px solid #a9b0a6; border-radius: .6rem; color: var(--ink); background: var(--white); }
.field textarea { min-height: 9rem; resize: vertical; }
.field small { display: block; margin-top: .3rem; color: var(--muted); }
.check-field { display: grid; grid-template-columns: 1.25rem 1fr; gap: .6rem; align-items: start; margin: 1rem 0; }
.check-field input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.cta-band { padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius-lg); color: var(--white); background: var(--ebony-dark); box-shadow: var(--shadow); }
.cta-band h2 { max-width: 16ch; color: var(--white); }
.cta-band p { max-width: 42rem; color: #dfe6dc; }

.site-footer { color: #e8eee5; background: #172018; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 2rem; padding: 4rem 0 2.5rem; }
.footer-brand img { width: 12rem; height: 5rem; object-fit: contain; padding: .35rem; border-radius: .5rem; background: var(--white); }
.site-footer h2, .site-footer h3 { color: var(--white); font-family: inherit; font-size: 1rem; }
.site-footer a { min-height: 44px; display: flex; align-items: center; color: #e8eee5; text-decoration: none; }
.site-footer a:hover { color: var(--camel-light); }
.footer-links { padding: 0; list-style: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.2rem 0 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .86rem; }
.footer-bottom p { margin: 0; }

.back-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 780; width: 48px; height: 48px; display: none; place-items: center; border: 0; border-radius: 50%; color: var(--white); background: var(--blue); box-shadow: var(--shadow); }
.back-top.visible { display: grid; }
.cookie-banner { position: fixed; left: 1rem; bottom: 1rem; z-index: 1000; width: min(31rem, calc(100% - 2rem)); padding: 1rem; border: 1px solid #677361; border-radius: var(--radius); color: var(--white); background: #202a20; box-shadow: var(--shadow); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 .8rem; font-size: .91rem; }
.cookie-banner a { color: #d9ecff; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions button { min-height: 44px; padding: .55rem .75rem; border: 1px solid #d9e1d6; border-radius: .55rem; color: var(--white); background: transparent; font-weight: 800; }
.cookie-actions .accept { color: #17120b; border-color: var(--camel-light); background: var(--camel-light); }
.cookie-dialog { width: min(34rem, calc(100% - 2rem)); border: 0; border-radius: var(--radius); padding: 0; box-shadow: var(--shadow); }
.cookie-dialog::backdrop { background: rgba(15,20,15,.65); }
.dialog-inner { padding: 1.3rem; }
.preference-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }


.case-media-block { margin-top: 1.5rem; }
.case-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.case-photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.case-photo img { width: 100%; height: clamp(20rem, 38vw, 34rem); object-fit: cover; }
.case-photo figcaption { display: grid; gap: .18rem; padding: .85rem 1rem; color: var(--muted); font-size: .9rem; }
.case-photo figcaption strong { color: var(--ebony-dark); }
.project-carousel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.carousel-viewport { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; padding: .85rem; background: var(--ghost); }
.carousel-slide { min-width: 0; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.project-carousel .carousel-slide[aria-hidden="true"] { display: none; }
.carousel-image { aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; background: #172018; }
.carousel-image img { width: 100%; height: 100%; object-fit: cover; }


.carousel-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem; align-items: center; padding: .85rem; border-top: 1px solid var(--line); background: var(--white); }
.carousel-arrow { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem .9rem; border: 1px solid var(--ebony); border-radius: .65rem; color: var(--ebony-dark); background: var(--white); font-weight: 850; }
.carousel-arrow:last-child { justify-self: end; }
.carousel-toggle { min-width: 7rem; min-height: 46px; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: .65rem; color: var(--ebony-dark); background: var(--ghost); font-weight: 850; }



.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 980px) {
  .desktop-nav, .header-actions .btn-outline { display: none; }
  .mobile-toggle { display: block; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 3rem 1rem 3rem max(1rem, calc((100vw - 72rem) / 2)); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-with-aside { grid-template-columns: 1fr; }
  .on-this-page { position: static; display: flex; flex-wrap: wrap; gap: .2rem .8rem; }
  .on-this-page strong { flex-basis: 100%; }
  .on-this-page a { display: inline-flex; }
}

@media (max-width: 740px) {
  html { scroll-padding-top: 5rem; }
  .container, .narrow { width: min(calc(100% - 1.25rem), var(--measure)); }
  .site-header .container.nav-shell { padding-inline: .625rem; }
  .nav-shell { min-height: 5rem; }
  .brand { width: 11rem; }
  .brand img { height: 3.65rem; }
  .header-actions .btn-small { width: 46px; padding: 0; font-size: 0; }
  .header-actions .btn-small::before { content: "☎"; font-size: 1.2rem; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { min-height: calc(56vh - 2rem); display: flex; flex-direction: column; justify-content: center; padding: 2.1rem .8rem 1.8rem; }
  .hero-copy h1 { font-size: clamp(2.45rem, 12vw, 3.75rem); }
  .hero-copy .lead { font-size: 1rem; }
  .hero-media { min-height: 15.5rem; }
  .hero-note { left: .65rem; right: .65rem; bottom: .65rem; max-width: none; }
  .inner-hero { min-height: 30rem; }
  .inner-hero-content { padding-block: 3rem; }
  .inner-hero h1 { font-size: clamp(2.35rem, 10vw, 3.5rem); }
  .grid-2, .grid-3, .contact-grid, .field-grid, .case-media-grid { grid-template-columns: 1fr; }
  .case-photo img { height: min(118vw, 34rem); }
  .carousel-viewport { gap: .5rem; padding: .5rem; }
  .carousel-toolbar { padding-inline: .65rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: 15rem 9rem; }
  .collage figure:first-child { grid-column: 1/3; grid-row: 1; }
  .media-frame img { min-height: 19rem; }
  .comparison { display: block; overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer-bottom { display: grid; }
  .back-top { right: .7rem; bottom: .7rem; }
  body.cookie-visible .back-top { bottom: 13rem; }
  .cookie-banner { left: .5rem; bottom: .5rem; width: calc(100% - 1rem); }
}

@media (max-height: 700px) and (min-width: 741px) {
  .hero-grid { min-height: 35rem; }
  .hero-copy { padding-block: 2rem; }
  .hero-copy h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
}

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

@media print {
  .site-header, .cookie-banner, .back-top, .mobile-panel, .cta-band { display: none !important; }
  body { background: white; color: black; }
  a { color: black; }
}

/* Keep footer legal links and cookie control together on one clean line. */
.footer-bottom a { display: inline-flex; min-height: auto; }
.footer-bottom p:nth-child(2) { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.footer-bottom p:nth-child(2) .btn { flex: 0 0 auto; margin-left: .1rem; }

/* Two-column FAQ layout for wider screens; returns to a single column on phones. */
.faq-list-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.faq-list-two-column .faq { margin: 0; }
@media (max-width: 740px) { .faq-list-two-column { grid-template-columns: 1fr; } }

/* Contact form label and helper alignment. */
.form-card .field-grid .field { display: flex; flex-direction: column; }
.form-card .field-hint { min-height: 1.5em; margin: 0 0 .4rem; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.form-card .field-optional { margin-left: .3rem; color: var(--muted); font-size: .78rem; font-weight: 600; }
.form-card .field-grid input { margin-top: auto; }

/* Editorial layouts for HSH homeowner guides. */
.guide-intro-grid, .guide-service-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.guide-image { margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--white); }
.guide-image img { width: 100%; height: clamp(20rem, 42vw, 34rem); object-fit: cover; }
.guide-image-secondary img { height: clamp(17rem, 28vw, 25rem); }
.guide-intro-copy { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-lg); background: var(--ghost); }
.guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.guide-step { min-height: 100%; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.guide-step span { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: 1rem; border-radius: 50%; color: var(--white); background: var(--ebony); font-size: .82rem; font-weight: 800; }
.guide-step h3 { margin: 0 0 .6rem; font-size: 1.25rem; }
.guide-step p { margin: 0; color: var(--muted); }
.guide-hub-card .card-media img { height: 15rem; object-fit: cover; }
@media (max-width: 980px) { .guide-intro-grid, .guide-service-panel { gap: 2rem; } .guide-steps { grid-template-columns: 1fr; } }
@media (max-width: 740px) { .guide-intro-grid, .guide-service-panel { grid-template-columns: 1fr; } .guide-service-panel .guide-image { order: -1; } .guide-image img { height: 20rem; } }

/* Keep guide-card CTAs aligned across each row. */
.guide-hub-card { display: flex; flex-direction: column; height: 100%; }
.guide-hub-card .card-body { display: flex; flex: 1; flex-direction: column; }
.guide-hub-card .card-link { margin-top: auto; padding-top: 1rem; }

/* Place the featured Guides card first, as a full-width editorial feature. */
.featured-guide-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; }
.featured-guide-card .card-media img { width: 100%; height: 100%; min-height: 24rem; object-fit: cover; }
.featured-guide-card .card-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
.featured-guide-card .btn { margin-top: .75rem; }
@media (max-width: 740px) { .featured-guide-card { grid-template-columns: 1fr; } .featured-guide-card .card-media img { min-height: 0; height: 19rem; } }

/* Guides introduction: copy first, featured card second. */
.guides-intro-grid .featured-guide-card { display: block; height: auto; margin: 0; }
.guides-intro-grid .featured-guide-card .card-media img { width: 100%; height: clamp(20rem, 36vw, 30rem); min-height: 0; object-fit: cover; }
.guides-intro-grid .featured-guide-card .card-body { display: block; padding: clamp(1.5rem, 3vw, 2.2rem); }
@media (max-width: 740px) { .guides-intro-grid .featured-guide-card { margin-top: .5rem; } }

/* Keep the featured Guides card at its natural height beside the longer copy column. */
.guides-intro-grid .featured-guide-card { align-self: start; }

/* Project-led gallery collections: completed cover first, then an ordered, touch-friendly image carousel. */
.project-gallery-feature { background: var(--white); }
.project-gallery-cover { margin: 0 0 1.15rem; overflow: hidden; border-radius: var(--radius-lg); background: var(--ebony-dark); box-shadow: var(--shadow); }
.project-gallery-cover img { width: 100%; max-height: 43rem; object-fit: cover; object-position: center; }
.project-gallery-cover figcaption { padding: .8rem 1rem; color: var(--muted); background: var(--white); font-size: .9rem; font-weight: 700; }
.project-gallery-carousel { position: relative; }
.project-gallery-viewport { overflow: hidden; border-radius: var(--radius-lg); touch-action: pan-y; }
.project-gallery-track { display: flex; gap: 1rem; transition: transform .45s ease; will-change: transform; }
.project-gallery-slide { flex: 0 0 calc((100% - 1rem) / 2); margin: 0; overflow: hidden; border-radius: var(--radius); background: #e5e6e0; aspect-ratio: 4 / 3; }
.project-gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.project-gallery-controls { display: flex; align-items: center; justify-content: center; gap: .85rem; padding-top: 1rem; }
.project-gallery-arrow { width: 46px; height: 46px; border: 1px solid var(--ebony); border-radius: 50%; color: var(--ebony-dark); background: var(--white); font-size: 1.35rem; font-weight: 800; }
.project-gallery-arrow:hover { color: var(--white); background: var(--ebony); }
.project-gallery-status { min-width: 9rem; margin: 0; color: var(--muted); text-align: center; font-size: .88rem; font-weight: 700; }
@media (max-width: 740px) {
  .project-gallery-cover img { min-height: 20rem; max-height: 28rem; }
  .project-gallery-track { gap: .75rem; }
  .project-gallery-slide { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .project-gallery-track { transition: none; } }


/* Gallery is intentionally video-first while Project 1 is the only published collection. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.video-only-gallery { min-height: calc(100vh - 16rem); display: grid; align-items: center; padding: clamp(2rem, 6vw, 5rem) 0; background: var(--ghost); }
.project-gallery-video { width: min(100%, 75rem); margin-inline: auto; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--ebony-dark); box-shadow: var(--shadow); }


/* Project video gallery: three videos per desktop row, scaling down cleanly for smaller screens. */
.gallery-video-only { min-height: calc(100vh - 16rem); padding: clamp(2rem, 6vw, 5rem) 0; background: var(--ghost); }
.gallery-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }
.gallery-video-item { overflow: hidden; border-radius: var(--radius-lg); background: var(--ebony-dark); box-shadow: var(--shadow); }
.gallery-video-item video { display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--ebony-dark); }
@media (max-width: 900px) { .gallery-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gallery-video-grid { grid-template-columns: 1fr; } }


/* Click-through project photo viewer, using only approved project images. */
.gallery-see-photos { width: 100%; border-radius: 0; }
.project-photo-dialog { width: min(68rem, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ebony-dark); box-shadow: var(--shadow); }
.project-photo-dialog::backdrop { background: rgba(23, 32, 24, .82); }
.project-photo-dialog-inner { position: relative; padding: clamp(1rem, 2vw, 1.5rem); }
.project-photo-frame { min-height: min(72vh, 46rem); display: grid; place-items: center; }
.project-photo-frame img { max-width: 100%; max-height: min(72vh, 46rem); border-radius: var(--radius); object-fit: contain; }
.project-photo-close { position: absolute; z-index: 2; top: .55rem; right: .55rem; width: 46px; height: 46px; border: 0; border-radius: 50%; color: var(--ebony-dark); background: var(--white); font-size: 1.7rem; line-height: 1; }
.project-photo-controls { display: flex; align-items: center; justify-content: center; gap: .8rem; padding-top: .85rem; color: var(--white); }
.project-photo-arrow { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: var(--white); background: transparent; font-size: 1.35rem; font-weight: 800; }
.project-photo-arrow:hover:not(:disabled) { color: var(--ebony-dark); background: var(--white); }
.project-photo-arrow:disabled { opacity: .42; cursor: not-allowed; }
.project-photo-status { min-width: 4.5rem; text-align: center; font-weight: 800; }

/* Project gallery viewer */
.project-photo-overlay{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:1rem}.project-photo-overlay[hidden]{display:none}.project-photo-overlay-backdrop{position:absolute;inset:0;background:rgba(9,17,12,.82)}.project-photo-overlay-panel{position:relative;z-index:1;width:min(100%,960px);max-height:calc(100vh - 2rem);padding:1rem;background:#fff;border-radius:1rem;box-shadow:0 1.5rem 4rem rgba(0,0,0,.35)}.project-photo-frame{display:grid;place-items:center;width:100%;height:min(70vh,680px);background:#17231a;border-radius:.75rem;overflow:hidden}.project-photo-frame img{width:100%;height:100%;object-fit:contain}.project-photo-frame img[hidden]{display:none}.project-photo-close{position:absolute;top:1.45rem;right:1.45rem;width:2.5rem;height:2.5rem;border:0;border-radius:50%;background:#fff;color:#17231a;font-size:2rem;line-height:1;cursor:pointer;box-shadow:0 .25rem 1rem rgba(0,0,0,.2)}.project-photo-controls{display:flex;align-items:center;justify-content:center;gap:1rem;padding-top:1rem}.project-photo-arrow{min-width:3rem;height:2.75rem;border:1px solid #17231a;border-radius:.45rem;background:#17231a;color:#fff;font-size:1.4rem;cursor:pointer}.project-photo-arrow:disabled{opacity:.35;cursor:not-allowed}.project-photo-status{min-width:4.5rem;text-align:center;font-weight:700}@media(max-width:600px){.project-photo-overlay{padding:.5rem}.project-photo-overlay-panel{max-height:calc(100vh - 1rem);padding:.65rem}.project-photo-frame{height:min(68vh,520px)}.project-photo-close{top:1rem;right:1rem;width:2.25rem;height:2.25rem}}

.project-photo-thumbnails{display:flex;gap:.5rem;overflow-x:auto;padding-top:1rem}.project-photo-thumb{flex:0 0 4.5rem;height:3.5rem;padding:0;border:2px solid transparent;border-radius:.35rem;background:transparent;overflow:hidden;cursor:pointer}.project-photo-thumb.is-active{border-color:#b67d2a}.project-photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}

.gallery-video-item h2{margin:0 0 .75rem;color:#17231a;font-size:1.2rem;line-height:1.3}

/* Gallery project heading */
.gallery-video-item h2{margin:0;padding:1.25rem 1.25rem .95rem;background:#17231a;color:#fff;font-size:1.2rem;line-height:1.3}


/* Focused project imagery and Pretty Potholes press coverage */
.support-finish-collage{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:clamp(13rem,25vw,20rem)}
.support-finish-collage>figure:first-child{grid-row:auto}
.support-finish-collage img{object-fit:cover}
.pretty-potholes-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.pretty-potholes-images figure{margin:0;overflow:hidden;border-radius:1rem;background:#fff;box-shadow:0 .8rem 1.8rem rgba(20,30,24,.12)}
.pretty-potholes-images img{display:block;width:100%;height:100%;aspect-ratio:3/4;object-fit:cover}
@media(max-width:740px){.support-finish-collage{grid-template-rows:repeat(2,14rem)}.support-finish-collage{grid-template-columns:1fr}.pretty-potholes-images{gap:.75rem}}


/* Full-width Pretty Potholes feature */
.pretty-potholes-section{padding-block:clamp(3.5rem,7vw,6rem)}
.pretty-potholes-feature{display:grid;gap:clamp(2rem,4vw,3.5rem)}
.pretty-potholes-copy{max-width:58rem}
.pretty-potholes-copy .btn{margin-top:.5rem}
.pretty-potholes-feature .pretty-potholes-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,2.5vw,2rem);width:100%}
.pretty-potholes-feature .pretty-potholes-images figure{margin:0;min-height:clamp(20rem,42vw,38rem);overflow:hidden;border-radius:1.25rem;background:#fff;box-shadow:0 1rem 2.5rem rgba(20,30,24,.14)}
.pretty-potholes-feature .pretty-potholes-images img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center}
@media(max-width:640px){.pretty-potholes-feature .pretty-potholes-images{grid-template-columns:1fr}.pretty-potholes-feature .pretty-potholes-images figure{min-height:0}.pretty-potholes-feature .pretty-potholes-images img{aspect-ratio:3/4}}

.support-finish-single{grid-template-columns:1fr;grid-template-rows:clamp(20rem,35vw,29rem)}
.support-finish-single>figure{grid-row:auto}
@media(max-width:740px){.support-finish-single{grid-template-rows:20rem}}


/* Official TikTok players for source-quality Pretty Potholes videos */
.tiktok-video-embed{display:block;width:100%;aspect-ratio:9/16;border:0;background:#111;border-radius:.9rem}


/* Autoplaying Project 1 photo slideshow: original photos are preloaded for sharp transitions. */
.gallery-photo-slideshow{position:relative;aspect-ratio:4/3;overflow:hidden;background:#17231a}.gallery-photo-slideshow-image{display:block;width:100%;height:100%;object-fit:cover;opacity:1;transition:opacity .18s ease}.gallery-photo-slideshow-image.is-changing{opacity:.92}.gallery-photo-slideshow-fullscreen{position:absolute;top:.75rem;right:.75rem;width:2.45rem;height:2.45rem;border:1px solid rgba(255,255,255,.9);border-radius:.4rem;background:rgba(23,35,26,.88);color:#fff;font-size:1.25rem;font-weight:800;cursor:pointer}.gallery-photo-slideshow-fullscreen:hover{background:#fff;color:#17231a}.gallery-photo-slideshow-fullscreen:focus-visible{outline:3px solid #e9bc70;outline-offset:2px}@media(prefers-reduced-motion:reduce){.gallery-photo-slideshow-image{transition:none}}



/* Project 1 true full-screen viewer with all nine photos visible as direct choices. */
.project-1-fullscreen{padding:0}.project-1-fullscreen .project-photo-overlay-panel{width:100%;max-width:none;height:100%;max-height:none;padding:clamp(.75rem,2vw,1.5rem);border-radius:0;display:flex;flex-direction:column}.project-1-fullscreen .project-photo-frame{height:calc(100vh - 10rem);max-height:none}.project-1-fullscreen .project-photo-thumbnails{flex-wrap:wrap;overflow:visible;justify-content:center;padding:.75rem 3rem 0}.project-1-fullscreen .project-photo-thumb{flex:0 0 clamp(3rem,6vw,5rem);height:clamp(2.5rem,5vw,3.75rem)}@media(max-width:600px){.project-1-fullscreen .project-photo-frame{height:calc(100vh - 9rem)}.project-1-fullscreen .project-photo-thumbnails{gap:.35rem;padding:.6rem 2.5rem 0}.project-1-fullscreen .project-photo-thumb{flex-basis:2.9rem;height:2.35rem}}


.project-1-fullscreen .project-1-viewer-status{margin:.6rem 0 0;text-align:center;font-weight:800}.project-1-fullscreen .project-photo-frame{height:calc(100vh - 11rem)}


/* Fast automatic full-screen galleries for every project. */
.project-photo-overlay:not(.project-1-fullscreen) .project-photo-controls{display:none}.project-auto-thumbnails{flex-wrap:wrap;justify-content:center;overflow:visible;padding:.75rem 3rem 0}.project-auto-thumbnails .project-photo-thumb{flex:0 0 clamp(3rem,6vw,4.5rem);height:clamp(2.4rem,5vw,3.4rem)}



/* Mobile navigation must remain reachable when its links exceed the viewport. */
@media (max-width: 980px) {
  .mobile-panel[aria-hidden="false"] {
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

