/* ==========================================================================
   Innovative Site Solutions (ISS) — homepage styles
   Tokens locked/proposed per iss-design skill. Do not introduce colors,
   fonts, or radii outside this palette without flagging it first.
   ========================================================================== */

:root {
  /* LOCKED — pulled directly from the logo file */
  --terracotta: #b06a4e;
  --charcoal: #2b2a28;

  /* Proposed extensions — confirm against real brand assets before final sign-off */
  --ink: #201f1d;
  --warm-stone: #f5f1ea;
  --muted-clay: #8a7768;
  --white: #ffffff;

  --terracotta-hover: #954f38;
  --line: rgba(43, 42, 40, 0.14);
  --line-on-dark: rgba(245, 241, 234, 0.16);

  --display: "Petrona", Georgia, serif;
  --sans: "Jost", ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;

  --section-pad: clamp(64px, 8vw, 112px);
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--charcoal);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section-light {
  background: var(--warm-stone);
  color: var(--ink);
}

.section-dark {
  background: var(--charcoal);
  color: var(--warm-stone);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

section {
  padding: var(--section-pad) 0;
}

section[id] {
  /* offsets anchor-scroll targets so the sticky header doesn't cover the heading */
  scroll-margin-top: 112px;
}

/* ---- buttons ---- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--terracotta-hover);
}

.btn-ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: inherit;
}

/* ---- roofline / doorway motif ---- */

.mark {
  width: 24px;
  height: 16px;
  flex-shrink: 0;
}

/* ---- diagonal seam treatment (replaces every icon/badge divider idea) ----
   No icon, no card, no straight line: the section itself is pulled up to
   overlap the one above it, with a clip-path cutting its top edge on a
   gentle diagonal. The angled boundary is the entire treatment -- it leans
   the same general direction as the logo's roofline, without placing
   anything on top of it.

   --seam-tilt (vw-based, not px) sets the overlap: using a viewport-width
   unit keeps the actual visual ANGLE constant across screen sizes, since
   the diagonal's "run" is always the full section width. A fixed px value
   would look steeper on narrow screens and flatter on wide ones; vw avoids
   that entirely, which is what keeps this responsive rather than breaking
   on mobile.

   The clip-path uses var(--seam-tilt) directly as its y-coordinate rather
   than a percentage. A percentage-based cut (e.g. 18%) would be 18% of
   EACH section's own height, so a tall section (a 3-column grid) would get
   a visibly deeper physical cut than a short one even at the "same" 18% --
   using the fixed --seam-tilt value instead means every section gets the
   identical physical depth of cut, regardless of how much content it holds.

   --rise: the seam is lower on the left, higher on the right (climbs
   left-to-right). --fall: the mirror, higher on the left, lower on the
   right. The two seams on the page alternate between these so the page
   reads as a gentle zigzag rather than one repeated diagonal. */

.seam-diagonal-rise,
.seam-diagonal-fall {
  --seam-tilt: 9vw;
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--seam-tilt));
  padding-top: calc(var(--section-pad) + var(--seam-tilt));
}

.seam-diagonal-rise {
  clip-path: polygon(0% var(--seam-tilt), 100% 0%, 100% 100%, 0% 100%);
}

.seam-diagonal-fall {
  clip-path: polygon(0% 0%, 100% var(--seam-tilt), 100% 100%, 0% 100%);
}

@media (max-width: 640px) {
  .seam-diagonal-rise,
  .seam-diagonal-fall {
    --seam-tilt: 7vw;
  }
}

/* ---- header / nav ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal);
  box-shadow: 0 4px 16px rgba(43, 42, 40, 0.25);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-mark {
  display: block;
  flex-shrink: 0;
  /* aspect ratio locked to the logo's cropped viewBox (687:209) so it never stretches */
  height: 76px;
  width: 250px;
}

@media (max-width: 480px) {
  .logo-mark {
    height: 54px;
    width: 177px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a:not(.btn) {
  color: var(--warm-stone);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.site-nav a:not(.btn):hover {
  color: var(--white);
}

.site-nav .btn-primary {
  padding: 11px 22px;
  font-size: 0.88rem;
}

.nav-links {
  display: flex;
  gap: 32px;
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .site-nav .btn-primary {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   1. Hero — full-bleed photo, directional charcoal scrim, offset text block
   ========================================================================== */

.hero {
  /* --hero-image is set per-page via an inline style on the .hero element
     (e.g. style="--hero-image: url('gallery-images/decks-hero.jpg')") so
     this same block works unchanged across the homepage and every service
     page -- only the photo changes, never the treatment. */
  --hero-image: url('hero-kitchen.jpg');
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 82vh, 760px);
  background:
    linear-gradient(
      90deg,
      rgba(43, 42, 40, 0.88) 0%,
      rgba(43, 42, 40, 0.75) 30%,
      rgba(43, 42, 40, 0) 70%
    ),
    var(--hero-image) center / cover no-repeat;
}

.hero .shell {
  width: 100%;
}

.hero-copy {
  max-width: 480px;
  padding: 48px 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  color: var(--warm-stone);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-cta {
  margin-top: 36px;
}

@media (max-width: 860px) {
  .hero {
    min-height: clamp(460px, 74vh, 640px);
    background:
      linear-gradient(
        90deg,
        rgba(43, 42, 40, 0.9) 0%,
        rgba(43, 42, 40, 0.82) 45%,
        rgba(43, 42, 40, 0.62) 100%
      ),
      var(--hero-image) center / cover no-repeat;
  }
  .hero-copy {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 420px;
    background:
      linear-gradient(
        90deg,
        rgba(43, 42, 40, 0.94) 0%,
        rgba(43, 42, 40, 0.88) 60%,
        rgba(43, 42, 40, 0.78) 100%
      ),
      var(--hero-image) center / cover no-repeat;
  }
}

/* ==========================================================================
   2. Intro
   ========================================================================== */

.intro-body {
  max-width: 640px;
  margin-left: auto;
}

.intro-body p {
  font-size: 1.08rem;
  color: var(--ink);
}

.intro-body strong {
  color: var(--charcoal);
  font-weight: 600;
}

@media (max-width: 760px) {
  .intro-body {
    margin-left: 0;
    max-width: none;
  }
}

/* ==========================================================================
   3. Services
   ========================================================================== */

.services-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.services-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 18px;
}

.services-head .answer {
  color: rgba(245, 241, 234, 0.78);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}

.service-card {
  background: var(--charcoal);
  padding: 32px 28px;
}

.service-card .mark {
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  color: rgba(245, 241, 234, 0.72);
  font-size: 0.96rem;
  margin-bottom: 0;
}

.service-card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--terracotta);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   4. Gallery — asymmetric grid, varied tile sizes
   ========================================================================== */

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px 14px;
}

.gallery-tile {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.gallery-tile.span-2c { grid-column: span 2; }
.gallery-tile.span-2r { grid-row: span 2; }

.gallery-tile .tile-photo {
  position: relative;
  flex: 1;
  min-height: 0;
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  border-top: 3px solid var(--terracotta);
}

.tile-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  /* Solid, not the ~15%-opacity terracotta tint this started as -- that read fine
     over the old flat charcoal placeholder, but washes out unreadable over the
     real (often light) project photos now behind it. Solid warm-stone keeps the
     tag legible regardless of what's in the photo. */
  background: var(--warm-stone);
  border: 1px solid var(--terracotta);
  transition: transform 0.15s ease;
}

.tile-tag:hover {
  transform: scale(1.1);
}

.gallery-tile.span-2r .tile-tag {
  font-size: 11px;
}

.gallery-tile .tile-caption {
  margin-top: 10px;
}

.tile-name {
  margin: 0 0 2px;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 600;
}

.tile-meta {
  margin: 0;
  color: var(--muted-clay);
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-tile.span-2c { grid-column: span 2; }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-tile.span-2c, .gallery-tile.span-2r { grid-column: span 1; grid-row: span 1; }
}

/* ==========================================================================
   5. Service area — dark, sparse, NAP
   ========================================================================== */

.area-section .shell {
  max-width: 720px;
  text-align: left;
}

.area-section h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin-bottom: 32px;
  max-width: 560px;
}

.nap {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line-on-dark);
}

.nap dt {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.nap dd {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
}

@media (max-width: 640px) {
  .nap { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   6. Contact / quote form
   ========================================================================== */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 72px);
}

.contact-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 18px;
}

.contact-copy p {
  color: var(--muted-clay);
  max-width: 380px;
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--warm-stone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 1px;
}

.quote-form .btn-primary {
  width: 100%;
  text-align: center;
  border: none;
}

@media (max-width: 760px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--charcoal);
  color: rgba(245, 241, 234, 0.65);
  padding: 40px 0;
  font-size: 0.86rem;
}

.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer .logo-mark {
  height: 58px;
  width: 191px;
}

.footer-nap {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Service detail pages (decks-patios.html etc.) — shared patterns reused
   across every individual service page, not just one. Homepage sections
   above this point are unaffected.
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  color: rgba(245, 241, 234, 0.6);
}

.breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  color: var(--warm-stone);
}

.breadcrumb .sep {
  opacity: 0.5;
}

/* Answer-first service intro — same question/answer pattern as the homepage
   services section, reused here as this page's primary on-page SEO content. */
.service-intro-head {
  max-width: 760px;
  margin-bottom: 8px;
}

.service-intro-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 18px;
}

.service-intro-head .answer {
  font-size: 1.08rem;
  color: var(--ink);
}


/* Decks & Patios: full-width, typography-led intro. Not a second two-column
   content section; the VA artwork is a small signature next to the answer. */
.service-intro-editorial {
  padding-top: calc(var(--seam-tilt) + clamp(36px, 4vw, 64px));
  padding-bottom: clamp(64px, 6vw, 96px);
}
.service-intro-editorial .service-intro-head {
  max-width: none;
  margin-bottom: 0;
}
.service-intro-editorial .service-intro-head h2 {
  max-width: 1060px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.018em;
}
.service-intro-editorial .service-intro-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 70px);
  margin-top: clamp(28px, 3.5vw, 45px);
  padding-left: clamp(22px, 3vw, 42px);
  border-left: 2px solid var(--terracotta);
}
.service-intro-editorial .service-intro-bottom .answer {
  max-width: 810px;
  margin: 0;
  font-size: clamp(1.04rem, 1.25vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink);
}
.service-intro-editorial .service-intro-brand {
  display: block;
  flex: none;
  width: clamp(100.8px, 10.8vw, 133.2px);
  height: auto;
  aspect-ratio: 196.51 / 132;
  margin-right: clamp(0px, 2.5vw, 28px);
}
@media (max-width: 760px) {
  .service-intro-editorial {
    padding-top: calc(var(--seam-tilt) + 32px);
    padding-bottom: 66px;
  }
  .service-intro-editorial .service-intro-head h2 {
    font-size: clamp(1.85rem, 5vw, 2.35rem);
    line-height: 1.2;
  }
  .service-intro-editorial .service-intro-bottom {
    display: block;
    padding-left: 22px;
    margin-top: 26px;
  }
  .service-intro-editorial .service-intro-brand {
    width: 82.8px;
    margin: 26px 0 0 auto;
  }
}
@media (max-width: 420px) {
  .service-intro-editorial .service-intro-brand {
    width: 66.6px;
    margin-top: 20px;
  }
}

/* Materials / process detail — two-column on a dark section, varying the
   composition from the light answer-first section above it. */
.service-detail .shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.service-detail-head {
  grid-column: 1 / -1;
  max-width: 720px;
}

.service-detail-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 18px;
}

.service-detail-head .answer {
  color: rgba(245, 241, 234, 0.78);
  font-size: 1.05rem;
}

/* Materials and process — two-column layout. Scoped to .materials-layout
   (not .service-detail .shell, which stays a plain 1fr 1fr grid shared with
   the FAQ section further down this page) so none of this touches that
   other section. */
.materials-layout {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  column-gap: clamp(32px, 5vw, 64px);
  row-gap: 18px;
  align-items: start;
}

.materials-intro { grid-column: 1; grid-row: 1; }
.materials-choices-intro { grid-column: 2; grid-row: 1; align-self: start; }
.materials-photo { grid-column: 1; grid-row: 2; margin: 0; }
.materials-choices-content { grid-column: 2; grid-row: 2; }
.materials-intro .services-head { margin-bottom: 0; }
.materials-intro .answer { margin-bottom: 0; }

/* Match the introductory text rhythm across columns so neither side looks
   like a disconnected heading floating above the photograph/material list. */
.materials-choices-intro .materials-subhead {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  margin: 0 0 18px;
}
.materials-choices-summary {
  max-width: 58ch;
  margin: 0;
  color: rgba(245, 241, 234, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .materials-layout {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .materials-intro { grid-column: 1; grid-row: 1; }
  .materials-choices-intro { grid-column: 1; grid-row: 2; }
  .materials-photo { grid-column: 1; grid-row: 3; max-width: 540px; }
  .materials-choices-content { grid-column: 1; grid-row: 4; }
}

.materials-photo-block {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(245, 241, 234, 0.06);
  border-top: 3px solid var(--terracotta);
}

.materials-photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.materials-photo-image.is-visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .materials-photo-image { transition: none; }
}

.materials-photo-caption {
  margin-top: 10px;
}

.materials-subhead {
  grid-column: 1 / -1;
  font-size: 1.4rem;
  margin: 0 0 18px;
}
.material-row {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line-on-dark);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--sans);
  text-align: left;
  padding: 24px 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.material-row:hover,
.material-row:focus-within { background: rgba(245, 241, 234, 0.055); }
.material-row.is-active { background: rgba(245, 241, 234, 0.035); border-top-color: var(--terracotta); }
.material-row:focus-within { outline: 2px solid var(--terracotta); outline-offset: -2px; }
.material-select { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; z-index: 1; }
.material-select:focus-visible { outline: none; }

.material-row h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.material-select-arrow {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--terracotta);
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.material-row:hover .material-select-arrow,
.material-row:focus-within .material-select-arrow,
.material-row.is-active .material-select-arrow { opacity: 1; transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) {
  .material-row, .material-select-arrow { transition: none; }
}

.materials-next-step {
  display: inline-block;
  margin-top: 25px;
  color: var(--warm-stone);
  font-size: 0.95rem;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 5px;
}
.materials-next-step:hover { color: var(--white); }

.material-row:last-child {
  border-bottom: 1px solid var(--line-on-dark);
}

.material-row h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 10px;
}

.material-row p {
  font-size: 0.95rem;
  color: rgba(245, 241, 234, 0.72);
  max-width: 56ch;
  margin: 0 0 14px;
}

.row-best-for {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
}

.row-best-for span {
  margin-right: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
}

/* Deck/patio project process: a compact editorial group. The parent
   service-detail grid has generous row gaps; the wrapper deliberately keeps
   the process heading and three points visually connected. */
.process-overview {
  grid-column: 1 / -1;
  display: grid;
  gap: 28px;
}

.process-intro {
  max-width: 760px;
}

.process-intro h3 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 14px;
}

.process-intro p {
  max-width: 70ch;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.78);
}

/* Leave the steps as open columns rather than introducing card treatment. */
.process-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-col {
  border-top: 2px solid var(--terracotta);
  padding-top: 18px;
}

.process-col h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.13rem;
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 9px;
}

.process-col p {
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.72);
  margin: 0;
}

@media (max-width: 860px) {
  .process-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .process-overview { gap: 24px; }
  .process-columns { grid-template-columns: 1fr; gap: 24px; }
}

.service-detail-note {
  max-width: 56ch;
  margin-top: 24px;
  margin-bottom: 44px;
  color: rgba(245, 241, 234, 0.78);
  font-size: 1rem;
}

.service-detail-note strong {
  color: var(--white);
  font-weight: 600;
}

@media (max-width: 760px) {
  .service-detail .shell {
    grid-template-columns: 1fr;
  }
}

/* Deck & patio FAQ: editorial question list, no cards or icon libraries.
   Native <details> preserves crawlable HTML and works without JS. */
.faq-section .shell {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.55fr);
  column-gap: clamp(36px, 6vw, 86px);
  align-items: start;
}
.faq-section .faq-heading {
  grid-column: 1;
  min-width: 0;
  max-width: 350px;
}
.faq-section .faq-heading h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.16;
  margin: 0 0 22px;
  font-weight: 600;
}
.faq-section .faq-heading p {
  max-width: 34ch;
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.65;
  color: rgba(245, 241, 234, .72);
}
.faq-section .faq-list {
  grid-column: 2;
  max-width: none;
  width: 100%;
}
.faq-section .faq-item {
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line-on-dark);
  background: transparent;
}
.faq-section .faq-item:first-child {
  border-top: 2px solid var(--terracotta);
}
.faq-section .faq-item:last-child {
  border-bottom: 1px solid var(--line-on-dark);
}
.faq-section .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 36px);
  min-height: 100px;
  padding: 25px 4px 25px 0;
  list-style: none;
  cursor: pointer;
}
.faq-section .faq-item summary::-webkit-details-marker { display: none; }
.faq-section .faq-item summary::marker { content: ""; }
.faq-section .faq-item h3 {
  flex: 1;
  min-width: 0;
  font-size: clamp(1.13rem, 1.45vw, 1.33rem);
  line-height: 1.45;
  font-weight: 600;
  color: var(--warm-stone);
  margin: 0;
}
.faq-section .faq-indicator {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 241, 234, .26);
  transition: border-color .2s ease;
}
.faq-section .faq-indicator::before,
.faq-section .faq-indicator::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 15px;
  width: 14px;
  height: 2px;
  background: var(--terracotta);
  transition: transform .22s ease;
}
.faq-section .faq-indicator::after { transform: rotate(90deg); }
.faq-section .faq-item[open] .faq-indicator::after { transform: rotate(0deg); }
.faq-section .faq-item[open] .faq-indicator,
.faq-section .faq-item summary:hover .faq-indicator {
  border-color: var(--terracotta);
}
.faq-section .faq-item summary:hover h3 { color: var(--white); }
.faq-section .faq-item summary:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
}
.faq-section .faq-answer {
  padding: 0 clamp(42px, 6vw, 70px) 34px 0;
}
.faq-section .faq-answer p {
  max-width: 62ch;
  margin: 0;
  color: rgba(245, 241, 234, .77);
  font-size: 1.01rem;
  line-height: 1.7;
}

/* Quiet invitation at the end of the answers; visually distinct from a
   fourth FAQ and clearly leads to the existing contact form. */
.faq-section .faq-contact {
  margin-top: 29px;
  padding: 3px 0 0;
}
.faq-section .faq-contact p {
  max-width: 57ch;
  margin: 0 0 12px;
  color: rgba(245, 241, 234, .78);
  font-size: 1rem;
  line-height: 1.65;
}
.faq-section .faq-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--warm-stone);
  font-size: .96rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 5px;
}
.faq-section .faq-contact a:hover { color: var(--white); }
.faq-section .faq-contact a:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 5px;
}
@media (max-width: 860px) {
  .faq-section .shell {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  .faq-section .faq-heading,
  .faq-section .faq-list {
    grid-column: 1;
    max-width: none;
  }
  .faq-section .faq-heading p { max-width: 56ch; }
}
@media (max-width: 520px) {
  .faq-section .faq-item summary { min-height: 88px; padding: 22px 0; }
  .faq-section .faq-item h3 { font-size: 1.1rem; line-height: 1.4; }
  .faq-section .faq-answer { padding: 0 26px 27px 0; }
  .faq-section .faq-indicator { flex-basis: 32px; width: 32px; height: 32px; }
  .faq-section .faq-indicator::before,
  .faq-section .faq-indicator::after { left: 8px; top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-section .faq-indicator,
  .faq-section .faq-indicator::after { transition: none; }
}

.service-area-note {
  margin-top: 18px;
}

.service-area-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Align the two materials-column headings using one type scale and rhythm. */
.materials-intro .services-head h2,
.materials-choices-intro .materials-subhead {
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  font-weight: 600;
  line-height: 1.16;
  margin: 0 0 22px;
}
/* Enhanced mobile controls keep the example beside the selected topic. */
@media (max-width: 860px) {
  .material-row { scroll-margin-top: 112px; }
  .material-rows > .materials-photo { display: block; margin: 0 0 24px; max-width: none; }
  .material-rows > .materials-photo .materials-photo-block { aspect-ratio: 4 / 3; max-height: 400px; }
}
@media (max-width:860px) {
  .materials-layout:has(.material-rows > .materials-photo) .materials-choices-content { grid-row:3; }
}

/* Mobile swaps commit in one paint; a desktop crossfade would expose the old
   photograph while the figure moves between rows. */
@media (max-width:860px) {
  .material-rows > .materials-photo .materials-photo-image { transition:none; }
}

/* Mobile-only separation between exploring options and planning the work. */
@media (max-width:860px) {
  .service-detail:has(> .shell > .materials-layout) { padding-bottom:0; }
  .materials-layout + .process-overview {
    background:var(--warm-stone); color:var(--ink);
    margin:20px calc(-1 * clamp(20px, 4vw, 48px)) 0;
    padding:36px clamp(20px, 4vw, 48px) 40px; gap:22px;
  }
  .materials-layout + .process-overview .process-intro h3 { color:var(--charcoal); font-size:1.8rem; margin-bottom:12px; }
  .materials-layout + .process-overview .process-intro p,
  .materials-layout + .process-overview .process-col p { color:var(--charcoal); }
  .materials-layout + .process-overview .process-columns { grid-template-columns:1fr; gap:0; counter-reset:planning-step; }
  .materials-layout + .process-overview .process-col { display:grid; grid-template-columns:28px 1fr; gap:6px 12px; padding:18px 0; border-top:1px solid var(--line); counter-increment:planning-step; }
  .materials-layout + .process-overview .process-col::before { content:counter(planning-step, decimal-leading-zero); grid-row:1 / span 2; color:var(--terracotta-hover); font:500 .9rem/1.7 var(--sans); }
  .materials-layout + .process-overview .process-col h4 { grid-column:2; color:var(--charcoal); margin:0; font-size:1.1rem; }
  .materials-layout + .process-overview .process-col p { grid-column:2; font-size:.96rem; }
  .process-overview > .materials-next-step { margin:0; color:var(--ink); }
}


/* Shared navigation: native disclosures keep every destination crawlable. */
.site-header .shell { position: relative; }
.site-nav .nav-links { align-items: center; }
.services-dropdown { position: relative; }
.site-nav summary { list-style: none; cursor: pointer; color: var(--warm-stone); font: 400 .92rem var(--sans); letter-spacing: .02em; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav summary::marker { content: ''; }
.services-dropdown > summary { padding: 12px 0; text-underline-offset: 6px; }
.services-dropdown[open] > summary { text-decoration: underline; text-decoration-color: var(--terracotta); }
.services-dropdown-panel { position: absolute; top: 100%; left: -24px; width: 340px; padding: 12px 24px 20px; background: var(--charcoal); border-top: 2px solid var(--terracotta); box-shadow: 0 16px 24px rgba(32,31,29,.22); }
.site-nav .services-dropdown-panel a { display: block; padding: 12px 0; line-height: 1.45; border-bottom: 1px solid var(--line-on-dark); }
.site-nav .services-dropdown-panel a:last-child { border-bottom: 0; }
.site-nav .services-dropdown-panel .all-services-link { color: var(--warm-stone); font-weight: 600; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 5px; }
.site-nav a:focus-visible, .site-nav summary:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 5px; }
.mobile-navigation { display: none; }
@media (max-width: 1000px) {
  .site-header .site-nav .nav-links { display: none; }
  .site-header .site-nav { gap: 20px; }
  .mobile-navigation { display: block; }
  .mobile-navigation > summary { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; }
  .menu-symbol { display: block; position: relative; width: 19px; height: 12px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .menu-symbol::after { content: ''; position: absolute; left: 0; right: 0; top: 4.5px; border-top: 1px solid currentColor; }
  .mobile-navigation[open] .menu-symbol { height: 0; border-bottom: 0; transform: rotate(45deg); }
  .mobile-navigation[open] .menu-symbol::after { top: -1px; transform: rotate(90deg); }
  .mobile-navigation-panel { position: absolute; top: 100%; left: 0; right: 0; padding: 10px clamp(20px, 4vw, 32px) 26px; background: var(--charcoal); border-top: 1px solid var(--line-on-dark); box-shadow: 0 16px 24px rgba(32,31,29,.22); max-height: calc(100svh - 100px); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav .mobile-navigation-panel > a:not(.btn), .site-nav .mobile-services a { display: block; padding: 12px 0; line-height: 1.45; }
  .mobile-services { margin: 0 0 6px; padding: 0 0 10px; border-bottom: 1px solid var(--line-on-dark); }
  .site-nav .mobile-services a:not(.all-services-link) { padding-left: 18px; font-size: .92rem; }
  .site-nav .mobile-services .all-services-link { font-weight: 600; }
  .site-nav .mobile-navigation-panel .mobile-quote { display: inline-flex; margin-top: 14px; }
}
@media (max-width: 480px) {
  .site-header .header-quote { display: none; }
  .site-header .site-nav { gap: 0; }
}


/* Shared homepage-standard contact section across all service pages. */
/* A distinct closing enquiry section after the warm-stone service area. */
.shared-contact { background: var(--charcoal); color: var(--warm-stone); }
.shared-contact .contact-copy h2,
.shared-contact .field label { color: var(--warm-stone); }
.shared-contact .contact-copy p { color: var(--warm-stone); line-height: 1.7; }
.shared-contact .quote-form { background: transparent; border-color: var(--line-on-dark); }
.shared-contact .btn-primary { background: var(--terracotta-hover); color: var(--warm-stone); }
.shared-contact .btn-primary:hover { background: var(--warm-stone); color: var(--ink); }

/* Useful next steps balance the form while leaving space around each element. */
.shared-contact .contact-copy { display: flex; flex-direction: column; }
.shared-contact .contact-next { margin-top: 38px; max-width: 410px; }
.shared-contact .contact-next h3 { margin: 0 0 22px; color: var(--warm-stone); font-size: 1.45rem; font-weight: 600; }
.shared-contact .contact-next ol { margin: 0; padding-left: 22px; display: grid; gap: 22px; }
.shared-contact .contact-next li { padding-left: 8px; }
.shared-contact .contact-next li::marker { color: var(--terracotta); font-size: .9rem; }
.shared-contact .contact-next h4 { margin: 0 0 5px; font: 500 1rem/1.4 var(--sans); }
.shared-contact .contact-next p { margin: 0; font-size: .95rem; line-height: 1.65; }
.shared-contact .contact-call { margin-top: auto; padding-top: 30px; }
.shared-contact .contact-call p { margin: 0 0 7px; font-size: .95rem; }
.shared-contact .contact-call a { font: 600 clamp(1.5rem, 2.2vw, 1.9rem)/1.2 var(--display); text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 7px; text-decoration-thickness: 1px; }
.shared-contact .contact-call a:hover { text-decoration-thickness: 2px; }
@media (max-width: 760px) {
  .shared-contact .contact-next { margin-top: 28px; }
  .shared-contact .contact-next ol { gap: 16px; }
  .shared-contact .contact-call { margin-top: 0; padding-top: 26px; }
}

.shared-contact > .shell { max-width: 1390px; }


/* Quote submission feedback, shared by all seven Netlify forms. */
.form-honeypot[hidden], .quote-form-status[hidden] { display: none; }
.shared-contact .quote-form-status { margin: 18px 0 0; font-size: .95rem; line-height: 1.6; color: var(--warm-stone); }
.shared-contact .quote-form-status[role="alert"] { border-left: 2px solid var(--terracotta); padding-left: 14px; }
.shared-contact .quote-form-status:focus { outline: 2px solid var(--terracotta); outline-offset: 5px; }
.shared-contact .quote-form button:disabled { cursor: wait; opacity: .75; }
.quote-thanks { min-height: 60svh; padding: clamp(64px, 8vw, 112px) 0; }
.quote-thanks h1 { max-width: 800px; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.12; margin-bottom: 24px; }
.quote-thanks p { max-width: 58ch; line-height: 1.7; margin-bottom: 18px; }
.quote-thanks .btn { display: inline-block; margin-top: 16px; }

.quote-thanks .btn-primary { background: var(--terracotta-hover); }

/* Keep short confirmation pages filled to the viewport without fixing the footer. */
body.quote-thanks-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--charcoal);
}
.quote-thanks-page > .site-header,
.quote-thanks-page > .site-footer { flex-shrink: 0; }
.quote-thanks-page > main { flex: 1 0 auto; display: flex; background: var(--warm-stone); }
.quote-thanks-page .quote-thanks { width: 100%; }


/* Shared masthead: keep the homepage identity on every page. */
.site-header {
  box-shadow: none;
  border-bottom: 1px solid var(--line-on-dark);
}
.site-header > .shell { max-width: 1390px; }
.site-header .shell .logo-mark { width: 220px; height: 67px; }
@media (max-width: 1000px) {
  .site-header .site-nav .nav-links { gap: 20px; }
  .site-header .site-nav { gap: 24px; }
}
@media (max-width: 760px) {
  .site-header .shell .logo-mark { width: 185px; height: 56px; }
  .site-header .site-nav { gap: 20px; }
  .site-header .site-nav .btn { white-space: nowrap; }
}
@media (max-width: 480px) {
  .site-header .shell .logo-mark { width: 166px; height: 51px; }
  .site-header .site-nav { gap: 0; }
}
@media (max-width: 360px) {
  .site-header .shell .logo-mark { width: 145px; height: 45px; }
}
