/* JD Green Construction — M3 round 2, revised against Anthropic's frontend-design skill.
   Palette from the subject: redwood (the logo's brown) and Central Coast oak green on a limestone base.
   No all-caps labels, no appended arrows, no dot-separated meta strings, no hover zooms. */
:root {
  --brand: #753c29;
  --brand-dk: #5a2e1f;
  --oak: #25302a;
  --oak-2: #2f3b33;
  --moss: #7d8c6a;
  --sage: #56654a;
  --cream: #f3efe6;
  --paper: #fbf8f2;
  --sand: #e4dccd;
  --line: #d9ccb6;
  --ink: #231e1a;
  --ink-2: #2f2823;
  --muted: #5f564e;
  --on-dark: #ece6da;
  --on-dark-muted: #b9bfae;
  --max: 78rem;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; color: var(--ink); background: var(--cream); line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-dk); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 1rem; color: inherit; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 60; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Small notes: sentence case, used only where a heading needs context */
.note-light { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--on-dark-muted); margin: 0 0 .5rem; }

/* Buttons: one call action, one estimate action, used everywhere */
.btn { display: inline-flex; align-items: baseline; gap: .6rem; text-decoration: none; font-weight: 600; padding: .9rem 1.4rem; border-radius: .35rem; line-height: 1.2; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; }
.btn-sub { font-weight: 500; opacity: .85; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dk); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-line-light { border-color: var(--on-dark); color: var(--on-dark); }
.btn-line-light:hover { background: var(--on-dark); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.link-arrow { font-weight: 600; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.link-arrow:hover { text-decoration-thickness: 2px; }

/* "To confirm" placeholders: visible on purpose until Ryan supplies the facts */
.tbc { display: inline-block; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: #7a4b00; background: #fff1c9; border: 1px dashed #c99a2e; border-radius: .25rem; padding: .1rem .45rem; }
.tbc-light { color: #ffe7a8; background: transparent; border-color: #d9b45a; }
.tbc-block { border: 1px dashed #d9b45a; color: #ffe7a8; padding: .8rem 1rem; border-radius: .3rem; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 241, 232, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2rem; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav-phone a { display: inline-flex; gap: .5rem; align-items: baseline; background: var(--brand); color: #fff; padding: .7rem 1.1rem; border-radius: .35rem; font-weight: 600; }
.nav-phone a:hover { background: var(--brand-dk); color: #fff; }
.nav-phone-label { font-weight: 500; opacity: .9; }
.nav-services { position: relative; }
.nav-services summary { cursor: pointer; list-style: none; }
.nav-services summary::-webkit-details-marker { display: none; }
.nav-services summary::after { content: " ▾"; font-size: .75em; }
.nav-services ul { list-style: none; margin: .75rem 0 0; padding: .6rem 0; background: var(--paper); border: 1px solid var(--line); border-radius: .4rem; box-shadow: 0 18px 40px rgba(35, 30, 26, .14); min-width: 19rem; }
.nav-services li a { display: block; padding: .45rem 1.2rem; }
.nav-services li:first-child a { font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: .7rem; margin-bottom: .3rem; }
.nav-services li a:hover { background: var(--cream); }
.menu-toggle { display: none; font: inherit; font-weight: 600; background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: .35rem; padding: .55rem 1rem; cursor: pointer; }
@media (min-width: 60.01rem) { .nav-services ul { position: absolute; left: -1.2rem; z-index: 45; } }
@media (max-width: 60rem) {
  .menu-toggle { display: inline-block; }
  .header-inner { flex-wrap: wrap; }
  #site-nav { display: none; width: 100%; }
  .menu-open #site-nav { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; padding: .25rem 0 1.25rem; }
  .nav > li { border-top: 1px solid var(--line); }
  .nav > li > a, .nav-services summary { display: block; padding: .85rem 0; }
  .nav-phone { border-top: 0 !important; padding-top: 1rem; }
  .nav-phone a { display: flex; justify-content: center; padding: .9rem 1rem; }
  .nav-services ul { background: transparent; border: 0; box-shadow: none; margin: 0; padding: 0 0 .75rem 1rem; }
}

/* Mobile call bar: calling is the primary action, always within thumb reach */
.callbar { display: none; }
@media (max-width: 48rem) {
  .callbar { display: grid; grid-template-columns: 2fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -6px 20px rgba(35, 30, 26, .18); }
  .callbar a { text-align: center; padding: 1rem .5rem calc(1rem + env(safe-area-inset-bottom)); font-weight: 600; text-decoration: none; }
  .callbar-call { background: var(--brand); color: #fff; }
  .callbar-est { background: var(--ink); color: var(--on-dark); }
  body { padding-bottom: 3.6rem; }
}

/* ---------- Homepage ---------- */

/* Hero: asymmetric, text left on cream, large photo bleeding to the right edge */
.h-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(86vh, 48rem); }
.h-hero-text { padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem) max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - var(--max)) / 2 + 2.5rem)); display: flex; flex-direction: column; justify-content: center; }
.h-hero h1 { max-width: 11ch; }
.h-hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 32rem; }
.h-hero-media { position: relative; min-height: 22rem; }
.h-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 60rem) {
  .h-hero { grid-template-columns: 1fr; }
  .h-hero-media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .h-hero-text { padding-left: clamp(1.25rem, 4vw, 2.5rem); padding-top: 2.25rem; }
}

/* Credibility line: a restrained strip, not a stats block */
.cred { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.cred-list { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.15rem; padding-bottom: 1.15rem; font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
.cred-list { justify-content: flex-start; gap: .5rem 0; }
.cred-list li { padding: 0 1.5rem; border-left: 1px solid var(--line); }
.cred-list li:first-child { padding-left: 0; border-left: 0; }
.cred-list li:last-child { color: var(--brand); }

/* Section heading block */
.sec-head { max-width: 46rem; margin-bottom: 3rem; }
.sec-head h2 { margin: 0; }

/* Services: two large image modules + ruled rows; the full directory lives on /services/ */
.h-services { padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3.5rem, 6vw, 5rem); background: var(--paper); }
.svc-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.25rem; }
.svc-big { position: relative; display: block; overflow: hidden; border-radius: .35rem; color: #fff; text-decoration: none; min-height: 28rem; }
.svc-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 13, 0) 35%, rgba(20, 16, 13, .82) 100%); }
.svc-big-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.75rem; display: grid; gap: .35rem; }
.svc-big-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; text-decoration-color: rgba(255,255,255,.35); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.05; }
.svc-big-desc { color: #eadfd2; max-width: 30rem; font-size: .98rem; }
.svc-big:hover { color: #fff; }
.svc-big:hover .svc-big-name { text-decoration-color: #fff; }
.svc-rows { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.svc-rows li { border-top: 1px solid var(--line); }
.svc-rows li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.svc-rows a { display: grid; gap: .3rem; padding: 1.5rem 0; color: var(--ink); text-decoration: none; }
.svc-row-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.svc-row-desc { color: var(--muted); font-size: .96rem; max-width: 30rem; }
.svc-rows a:hover .svc-row-name { color: var(--brand); }
.svc-more { margin: 2rem 0 0; color: var(--muted); font-size: .95rem; }
.svc-more a { margin-left: .35rem; font-weight: 600; }
@media (max-width: 56rem) {
  .svc-feature { grid-template-columns: 1fr; }
  .svc-big { min-height: 20rem; }
  .svc-rows { grid-template-columns: 1fr; }
  .svc-rows li:nth-last-child(2) { border-bottom: 0; }
}

/* Featured project: immersive, full-bleed photo with a solid panel */
.h-project { position: relative; background: var(--oak); color: var(--on-dark); min-height: 40rem; display: flex; align-items: flex-end; }
.h-project-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-project .wrap { position: relative; width: 100%; padding-top: 12rem; padding-bottom: 3.5rem; }
.h-project-panel { background: rgba(37, 48, 42, .95); max-width: 32rem; padding: 2.25rem 2.25rem 2rem; border-left: 4px solid var(--moss); }
.h-project-panel h2 { color: #fff; font-size: clamp(2rem, 3.5vw, 2.8rem); }
.facts { margin: 0 0 1.25rem; display: grid; gap: .5rem; }
.facts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; border-top: 1px solid rgba(239, 230, 218, .18); padding-top: .5rem; }
.facts dt { color: var(--on-dark-muted); font-size: .92rem; }
.facts dd { margin: 0; }
.link-light { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }
.link-light:hover { text-decoration-thickness: 2px; }
@media (max-width: 48rem) {
  .h-project { display: block; min-height: 0; }
  .h-project-img { position: static; aspect-ratio: 4 / 3; }
  .h-project .wrap { padding: 0; }
  .h-project-panel { max-width: none; border-left: 0; border-top: 4px solid var(--moss); padding: 2rem clamp(1.25rem, 4vw, 2.5rem); }
}

/* Story: sand background, overlapping photos, editorial text */
.h-story { background: var(--sand); padding: clamp(4.5rem, 9vw, 8rem) 0; overflow: hidden; }
.h-story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.h-story-media { position: relative; margin: 0 0 3rem; }
.h-story-media .main { width: 88%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: .35rem; }
.h-story-media .inset { position: absolute; right: 0; bottom: -3rem; width: 48%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .35rem; border: .5rem solid var(--sand); }
.h-story-text h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.h-story-text p { color: #4c433b; font-size: 1.08rem; max-width: 32rem; }
@media (max-width: 56rem) { .h-story-grid { grid-template-columns: 1fr; } }

/* Process: interactive workflow (see src/_includes/process.njk) */
.h-process { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.h-process-head { margin-bottom: 2.5rem; }
.h-process-head h2 { margin: 0; max-width: 18ch; }
.flow { --step: 1; position: relative; }
.flow-track { display: none; }
.flow-step { position: relative; border-left: 2px solid var(--line); padding: 0 0 1.5rem 1.75rem; margin-left: .5rem; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step.is-done, .flow-step.is-active { border-left-color: var(--brand); }
.flow-btn { display: flex; align-items: baseline; gap: 1rem; width: 100%; text-align: left; background: none; border: 0; padding: .25rem 0; font: inherit; color: var(--ink); cursor: pointer; }
.flow-dot { position: absolute; left: -.6rem; top: .55rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--cream); border: 2px solid var(--line); transition: background .25s, border-color .25s; }
.flow-step.is-done .flow-dot { background: var(--brand); border-color: var(--brand); }
.flow-step.is-active .flow-dot { background: var(--cream); border: 4px solid var(--brand); }
.step-n { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--muted); min-width: 1.5ch; }
.step-t { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.2; }
.flow-step.is-active .step-n { color: var(--brand); }
.flow-btn:hover .step-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.flow-panel { padding: .75rem 0 .5rem 2.6rem; max-width: 40rem; }
.flow-panel p { font-size: 1.08rem; color: #4c433b; margin: 0; }
.flow-panel .actions { margin-top: 1.25rem; }
.flow-next { display: block; text-align: left; margin-top: 1.25rem; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: .25em; }
.flow-next:hover { text-decoration-thickness: 2px; }
.flow-next[hidden] { display: none; }
.flow-panel[hidden] { display: none; }

/* Wide screens, once the script has enhanced it: steps across, one panel below, line fills to the current step */
@media (min-width: 48.01rem) {
  .flow.is-enhanced { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.5rem; }
  .flow.is-enhanced .flow-track { display: block; position: absolute; top: .9rem; left: 0; right: 25%; height: 2px; background: var(--line); }
  .flow.is-enhanced .flow-fill { display: block; height: 100%; width: calc((var(--step) - 1) / 3 * 100%); background: var(--brand); transition: width .35s ease; }
  .flow.is-enhanced .flow-step { display: contents; }
  .flow.is-enhanced .flow-btn { grid-row: 1; flex-direction: column; gap: .6rem; padding: 2.25rem 0 1.5rem; position: relative; }
  .flow.is-enhanced .flow-step:nth-child(2) .flow-btn { grid-column: 1; }
  .flow.is-enhanced .flow-step:nth-child(3) .flow-btn { grid-column: 2; }
  .flow.is-enhanced .flow-step:nth-child(4) .flow-btn { grid-column: 3; }
  .flow.is-enhanced .flow-step:nth-child(5) .flow-btn { grid-column: 4; }
  .flow.is-enhanced .flow-dot { left: 0; top: .35rem; }
  .flow.is-enhanced .step-n { font-size: 2.6rem; }
  .flow.is-enhanced .flow-panel { grid-row: 2; grid-column: 1 / -1; padding: 1.5rem 0 0; border-top: 1px solid var(--line); max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: start; }
  .flow.is-enhanced .flow-panel[hidden] { display: none; }
  .flow.is-enhanced .flow-panel p { font-size: 1.2rem; grid-column: 1; }
  .flow.is-enhanced .flow-panel .actions, .flow.is-enhanced .flow-next { grid-column: 2; margin-top: 0; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .flow-fill, .flow-dot { transition: none !important; } }

/* Recent work: asymmetric photo grid, captions as quiet labels */
.h-work { padding: 0 0 clamp(4.5rem, 9vw, 7rem); }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 13rem; gap: 1rem; }
.work-grid figure { margin: 0; position: relative; height: 100%; overflow: hidden; border-radius: .35rem; }
.work-grid img { width: 100%; height: 100%; object-fit: cover; }
.work-grid figcaption { position: absolute; left: .75rem; bottom: .75rem; background: rgba(35, 30, 26, .85); color: #fff; font-size: .82rem; font-weight: 600; padding: .3rem .65rem; border-radius: .2rem; }
.work-grid .w1 { grid-column: span 3; grid-row: span 2; }
.work-grid .w2 { grid-column: span 3; }
.work-grid .w3 { grid-column: span 3; }
.work-grid .w4 { grid-column: span 2; }
.work-grid .w5 { grid-column: span 4; }
@media (max-width: 48rem) {
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 10rem; }
  .work-grid .w1 { grid-column: span 2; grid-row: span 2; }
  .work-grid .w2, .work-grid .w3 { grid-column: span 1; }
  .work-grid .w4 { grid-column: span 1; }
  .work-grid .w5 { grid-column: span 1; }
}

/* Customer proof: one big quote, a few short ones */
.h-proof { background: var(--brand-dk); color: var(--on-dark); padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.big-quote { margin: 0 0 3.5rem; max-width: 60rem; }
.big-quote p { font-family: var(--serif); font-size: clamp(1.6rem, 3.3vw, 2.6rem); line-height: 1.3; letter-spacing: -.01em; color: #fff; margin: 0 0 1.5rem; }
.big-quote p::before { content: "“"; margin-left: -.45em; }
.big-quote p::after { content: "”"; }
.big-quote footer { font-weight: 600; color: var(--on-dark-muted); }
.sep { margin: 0 .35rem; }
.proof-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15rem; color: var(--on-dark-muted); margin: 0 0 1.5rem; }
.small-quotes { list-style: none; margin: 0; padding: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; border-top: 1px solid rgba(239, 230, 218, .25); }
.small-quotes blockquote { margin: 0; }
.small-quotes p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; color: #fff; }
.small-quotes footer { font-size: .88rem; color: var(--on-dark-muted); font-weight: 600; }
@media (max-width: 48rem) { .small-quotes { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Areas: short and functional */
.h-areas { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.h-areas-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 3rem; align-items: center; }
.areas-title { font-size: 1.15rem; font-style: italic; font-weight: 400; color: var(--muted); margin: 0; }
.towns { list-style: none; margin: 0; padding: 0; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 600; display: flex; flex-wrap: wrap; gap: .25rem 0; }
.towns li { padding: 0 1.25rem; border-left: 1px solid var(--line); line-height: 1.2; }
.towns li:first-child { padding-left: 0; border-left: 0; }
.towns-tail { margin: 0; color: var(--muted); }
@media (max-width: 56rem) { .h-areas-grid { grid-template-columns: 1fr; } }

/* Final CTA: dark, big phone number */
.h-final { background: var(--oak); color: var(--on-dark); padding: clamp(4.5rem, 9vw, 7rem) 0; }
.h-final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.h-final h2 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); color: #fff; margin: 0; max-width: 12ch; }
.big-phone { display: inline-block; font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; color: #fff; text-decoration: none; line-height: 1.05; letter-spacing: -.01em; }
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.h-final-meta { color: var(--on-dark-muted); margin: 1rem 0 0; }
.h-final .actions { margin-top: 1.5rem; }
@media (max-width: 56rem) { .h-final-grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages (services, about, contact) ---------- */
.lead { font-size: 1.15rem; color: var(--muted); }
.kicker { color: var(--sage); font-weight: 600; letter-spacing: .04em; margin: 0 0 1rem; }
.hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-grid.no-media { grid-template-columns: 1fr; max-width: 50rem; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .35rem; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
@media (max-width: 56rem) { .hero-grid { grid-template-columns: 1fr; } }
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-tight { padding-top: 1rem; }
.band { background: var(--sand); }
.center { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.center p { color: var(--muted); }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); column-gap: 3rem; }
.features li { border-top: 1px solid var(--line); padding: 1.5rem 0 1.75rem; }
.features h3 { margin-bottom: .5rem; }
.features p { margin: 0; color: var(--muted); font-size: .98rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .35rem; }
.split ul { padding-left: 1.2rem; }
.split li { margin-bottom: .5rem; }
@media (max-width: 56rem) { .split { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2.5rem; }
.values > div { border-top: 2px solid var(--brand); padding-top: 1.25rem; }
.values h3 { font-size: 1.6rem; color: var(--brand); }
.values p { color: #4c433b; }
.quotes { list-style: none; margin: 0; padding: 0; columns: 2 22rem; column-gap: 3rem; }
.quotes li { break-inside: avoid; margin-bottom: 2rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.quotes blockquote { margin: 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.55; }
.quotes blockquote p { margin: 0; }
.cta { background: var(--oak); color: var(--on-dark); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.cta-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0; max-width: 16ch; }
.cta .actions { margin: 0; }
.contact-cards { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); column-gap: 2rem; }
.contact-cards li { border-top: 1px solid var(--line); padding: 1rem 0 1.25rem; }
.contact-cards .label-sm { display: block; color: var(--muted); font-size: .92rem; margin-bottom: .25rem; }
.contact-cards a, .contact-cards strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-cards a:hover { color: var(--brand); }
.estimate { background: var(--paper); border-top: 1px solid var(--line); }
.estimate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 56rem) { .estimate-grid { grid-template-columns: 1fr; } }
.svc-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.svc-index li { border-top: 1px solid var(--line); }
.svc-index a { display: grid; gap: .3rem; padding: 1.5rem 0; color: var(--ink); text-decoration: none; }
.svc-index a:hover .svc-row-name { color: var(--brand); }
@media (max-width: 56rem) { .svc-index { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #1e2621; color: var(--on-dark-muted); padding: 3.5rem 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { filter: brightness(0) invert(1); opacity: .9; margin-bottom: 1rem; }
.footer-cred { color: var(--on-dark); font-weight: 600; }
.site-footer h2 { font-family: var(--serif); font-size: 1.05rem; color: var(--on-dark); margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: var(--on-dark); }
@media (max-width: 48rem) { .footer-grid { grid-template-columns: 1fr; } }

/* Round-2 fixes: readable labels on dark backgrounds; buttons never force sideways scroll */
.h-hero-text, .h-hero-media { min-width: 0; }
.btn { flex-wrap: wrap; }
@media (max-width: 30rem) {
  .actions .btn { width: 100%; justify-content: center; }
}
.h-hero h1 { max-width: 14ch; font-size: clamp(2.5rem, 5.2vw, 4.6rem); }
.h-hero { min-height: min(80vh, 44rem); }
.h-areas-grid { grid-template-columns: auto 1fr; }
.towns-tail { grid-column: 2; margin-top: -.5rem; }
@media (max-width: 56rem) { .towns-tail { grid-column: 1; margin-top: 0; } }

/* ---------- Service pages (round 2) ---------- */
.s-crumb { margin: 0 0 1.25rem; font-weight: 600; }
.s-crumb a { color: var(--sage); text-decoration: none; }
.s-crumb a:hover { text-decoration: underline; }
.s-hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 4.6vw, 4rem); }
.s-hero { min-height: min(72vh, 40rem); }

/* Text-only hero for services without their own photograph */
.s-hero-type { background: var(--oak); color: var(--on-dark); padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.s-hero-type h1 { color: #fff; max-width: 18ch; font-size: clamp(2.5rem, 5.6vw, 4.8rem); }
.s-hero-type .s-crumb a { color: var(--on-dark-muted); }
.s-hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--on-dark-muted); max-width: 38rem; }

/* What's included: heading column + ruled list */
.s-included { padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--paper); }
.s-included-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.s-included-head { position: sticky; top: 6.5rem; }
.s-included-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.s-features { list-style: none; margin: 0; padding: 0; }
.s-features li { border-top: 1px solid var(--line); padding: 1.6rem 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: .5rem 2rem; }
.s-features li:last-child { border-bottom: 1px solid var(--line); }
.s-features h3 { margin: 0; font-size: 1.3rem; }
.s-features p { margin: 0; color: var(--muted); }
@media (max-width: 56rem) {
  .s-included-grid { grid-template-columns: 1fr; }
  .s-included-head { position: static; }
  .s-features li { grid-template-columns: 1fr; }
}

/* Why JD Green: sand band, benefits as three ruled columns */
.s-why { background: var(--sand); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.s-why-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.s-why.has-media .s-why-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; }
.s-why-text h2 { max-width: 20ch; }
.s-why-intro { font-size: 1.12rem; color: #4c433b; max-width: 44rem; }
.s-benefits { list-style: none; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 2.5rem; }
.s-benefits li { border-top: 2px solid var(--brand); padding-top: 1rem; color: #4c433b; }
.s-benefits strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: .25rem; }
.s-why-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .35rem; }
@media (max-width: 56rem) { .s-why.has-media .s-why-grid { grid-template-columns: 1fr; } .s-why-img { aspect-ratio: 4 / 3; } }

/* Related services */
.s-related { padding: clamp(3.5rem, 7vw, 5rem) 0; }
.s-related h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.s-related-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.s-related-list li { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-related-list a { display: block; padding: 1.25rem 0; color: var(--ink); text-decoration: none; }
.s-related-list a:hover .svc-row-name { color: var(--brand); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 48rem) { .s-related-list { grid-template-columns: 1fr; } .s-related-list li + li { border-top: 0; } }

/* Services index */
.idx-h { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 2rem; }
.idx-core { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
.idx-core a { display: grid; gap: .5rem; color: var(--ink); text-decoration: none; }
.idx-core img, .idx-noimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .35rem; margin-bottom: .5rem; }
.idx-noimg { display: block; background: var(--oak); }
.idx-core a:hover .svc-row-name { color: var(--brand); text-decoration: underline; text-underline-offset: .2em; }
.idx-note { margin: 2.5rem 0 0; color: var(--muted); }
@media (max-width: 48rem) { .idx-core { grid-template-columns: 1fr; } }
/* AI-generated illustration disclosure (docs/content/image-prompts.md) */
.illus-note { position: absolute; right: .75rem; bottom: .75rem; z-index: 1; background: rgba(35, 30, 26, .78); color: #fff; font-size: .75rem; padding: .2rem .55rem; border-radius: .2rem; }
.idx-media { position: relative; display: block; }
@media (max-width: 48rem) {
  .cred-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
  .cred-list li, .cred-list li:first-child { padding: 0; border-left: 0; }
}
/* Areas on phones and tablets: stacked, one town per line (must come after the wide-screen rule above) */
@media (max-width: 56rem) {
  .h-areas-grid { grid-template-columns: 1fr; gap: .75rem; }
  .towns { flex-direction: column; font-size: 2rem; }
  .towns li, .towns li:first-child { padding: .35rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .towns li:first-child { border-top: 0; }
  .towns-tail { grid-column: 1; margin-top: 0; }
}
/* Mobile call bar with the new labels ("Call: 805-631-5387" / "Get Free Quote") */
@media (max-width: 48rem) {
  .callbar { grid-template-columns: 1.15fr 1fr; }
  .callbar a { font-size: .98rem; white-space: nowrap; padding-left: .4rem; padding-right: .4rem; }
}
/* Stronger shading so text on the large service photos stays readable */
.svc-big::after { background: linear-gradient(180deg, rgba(20, 16, 13, .08) 0%, rgba(20, 16, 13, .72) 38%, rgba(20, 16, 13, .9) 100%); }
@media (max-width: 22rem) { .callbar a { font-size: .88rem; padding-left: .25rem; padding-right: .25rem; } }

/* ---------- Mobile header: hamburger + menu panel ---------- */
@media (max-width: 60rem) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; padding: 0; border: 1px solid var(--line); border-radius: .4rem; background: var(--paper); }
  .burger { position: relative; display: block; width: 1.35rem; height: 1rem; }
  .burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease, top .2s ease; }
  .burger span:nth-child(1) { top: 0; }
  .burger span:nth-child(2) { top: calc(50% - 1px); }
  .burger span:nth-child(3) { top: calc(100% - 2px); }
  .menu-open .burger span:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }

  .menu-open { box-shadow: 0 18px 40px rgba(35, 30, 26, .18); }
  .nav { padding: .25rem 0 1.25rem; }
  .nav > li { border-top: 1px solid var(--line); }
  .nav > li > a, .nav-services summary { display: flex; align-items: center; min-height: 3.25rem; padding: .5rem 0; font-size: 1.15rem; }
  .nav-services summary { justify-content: space-between; }
  .nav-services summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--muted); }
  .nav-services details[open] summary::after { content: "–"; }
  .nav-services ul { padding: 0 0 .75rem; margin: 0; border-left: 2px solid var(--line); }
  .nav-services li a { padding: .55rem 0 .55rem 1rem; font-size: 1rem; }
  .nav-services li:first-child a { border-bottom: 0; margin-bottom: 0; padding-bottom: .55rem; }

  /* Call button inside the menu: full width, centred, proper padding */
  .nav > li.nav-phone { border-top: 0; padding-top: 1rem; }
  .nav > li.nav-phone > a { display: flex; justify-content: center; align-items: baseline; gap: .5rem; min-height: 3.25rem; padding: .9rem 1rem; border-radius: .4rem; background: var(--brand); color: #fff; font-size: 1.05rem; font-weight: 600; text-align: center; }
  .nav > li.nav-phone > a:hover { background: var(--brand-dk); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .burger span { transition: none; } }
@media (max-width: 60rem) {
  .header-inner { min-height: 0; padding-top: .7rem; padding-bottom: .7rem; row-gap: 0; }
  .menu-open #site-nav { max-height: calc(100vh - 5rem); max-height: calc(100dvh - 5rem); overflow-y: auto; overscroll-behavior: contain; }
  .site-header.menu-open ~ .callbar { display: none; }
}

/* ---------- Services menu: grouped (Build / Remodel & repair / Outdoor) ---------- */
.nav-services .mega ul { position: static; list-style: none; margin: 0; padding: 0; min-width: 0; background: none; border: 0; box-shadow: none; }
.nav-services .mega li a, .nav-services .mega li:first-child a { display: block; padding: .35rem 0; margin: 0; border: 0; font-weight: 400; font-size: 1rem; }
.nav-services .mega li a:hover { background: none; color: var(--brand); text-decoration: underline; text-underline-offset: .2em; }
.mega-h { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--muted); margin: 0 0 .35rem; }
.mega-all { display: inline-block; font-weight: 600; color: var(--brand) !important; text-decoration: underline; text-underline-offset: .25em; }
@media (min-width: 60.01rem) {
  .nav-services .mega { position: absolute; left: -1.5rem; top: calc(100% + .9rem); z-index: 45; width: 40rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 2rem; padding: 1.5rem 1.75rem; background: var(--paper); border: 1px solid var(--line); border-radius: .45rem; box-shadow: 0 18px 40px rgba(35, 30, 26, .14); }
  .mega-all { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--line); }
}
@media (max-width: 60rem) {
  .nav-services .mega { padding: 0 0 1rem; display: grid; gap: 1rem; }
  .nav-services .mega ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .nav-services .mega li a, .nav-services .mega li:first-child a { padding: .5rem 0; font-size: 1rem; min-height: 2.75rem; display: flex; align-items: center; }
  .mega-h { margin: 0; }
  .mega-all { padding: .5rem 0; }
}
