/* ============================================================
   DH Joinery & Carpentry — shared stylesheet
   Swap the values below to re-skin the whole site.
   ============================================================ */

:root {
  /* ---- Colours (monochrome, flat, no gradients) ---- */
  --ink:        #121212;   /* near-black — primary text, dark bands */
  --ink-soft:   #1e1e1e;   /* dark band alt */
  --paper:      #ffffff;   /* base background */
  --paper-2:    #f4f3f1;   /* warm off-white band */
  --paper-3:    #e9e7e3;   /* deeper stone band */
  --line:       #d7d4cf;   /* hairline dividers / borders */
  --line-dark:  #333333;   /* dividers on dark bands */
  --muted:      #6a6862;   /* secondary text on light */
  --muted-dark: #a7a49d;   /* secondary text on dark */
  --accent:     #7a5236;   /* wood brown, accent */
  --accent-2:   #9c6a44;   /* lighter wood */
  --accent-ink: #5c3d28;   /* deep walnut, text on light */
  --on-accent:  #ffffff;

  /* ---- Type ---- */
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ---- Spacing scale ---- */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* ---- Radius ---- */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  /* ---- Layout ---- */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  /* ---- Grain (SVG noise, not a gradient) ---- */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ============================================================ RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }

/* Visible, accessible focus everywhere */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================ GRAIN OVERLAY
   Applied to sections that opt in via class .grain — pure noise, no gradient */
.grain { position: relative; }
.grain::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  background-size: 140px 140px;
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.grain.on-dark::before { mix-blend-mode: screen; opacity: 0.09; }
.grain > * { position: relative; z-index: 1; }

/* ============================================================ LAYOUT HELPERS */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section-sm { padding-block: clamp(40px, 6vw, 72px); }
.band-2 { background: var(--paper-2); }
.band-3 { background: var(--paper-3); }
.band-dark { background: var(--ink); color: var(--paper); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--paper); }
.band-dark a { color: var(--paper); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-ink);
}
.band-dark .eyebrow { color: var(--accent-2); }

.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 60ch; }
.band-dark .lead { color: var(--muted-dark); }

.divider { height: 1px; background: var(--line); border: 0; }
.band-dark .divider { background: var(--line-dark); }

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  border: 1px solid var(--ink);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: var(--on-accent); }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-accent); }
.band-dark .btn-ghost { border-color: #fff; color: #fff; }
.band-dark .btn-ghost:hover { background: #fff; color: var(--ink); }
.band-dark .btn-primary { background: #fff; color: var(--ink); border-color:#fff; }
.btn svg { width: 15px; height: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================ HEADER / NAV */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: "Marcellus", Georgia, serif; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 58px; height: 58px; border-radius: 50%; background: #0d0d0d;
  color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800;
  overflow: hidden; flex: none;
}
.brand .mark img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > .navbtn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500;
  background: none; border: 0; color: var(--ink);
}
.nav-links > li > a:hover,
.nav-links > li > .navbtn:hover { background: var(--paper-2); text-decoration: none; }
.nav-links a[aria-current="page"] { font-weight: 700; }
.navbtn svg { width: 12px; height: 12px; transition: transform .18s ease; }
.nav-links > li:hover .navbtn svg,
.nav-links > li:focus-within .navbtn svg { transform: rotate(180deg); }

/* CSS-only dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 260px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 8px; box-shadow: 0 18px 40px -24px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-links > li:hover .dropdown,
.nav-links > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 15px; color: var(--ink);
}
.dropdown a small { display:block; color: var(--muted); font-size:12.5px; font-weight:400; }
.dropdown a:hover { background: var(--paper-2); text-decoration: none; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { min-height: 42px; padding: 0 20px; }

/* Mobile menu (checkbox hack, no JS) */
.menu-toggle, .menu-check { display: none; }
.menu-toggle {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1024px) {
  .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .28s ease, visibility .28s;
  }
  .menu-check:checked ~ .nav-links { max-height: 90vh; visibility: visible; overflow: auto; }
  .nav-links > li > a, .nav-links > li > .navbtn { width: 100%; padding: 14px 8px; font-size: 17px; border-radius: var(--r-sm); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 0 0 8px 8px; padding: 0 0 0 8px; min-width: 0;
  }
}

/* ============================================================ HERO */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: clamp(90px, 14vh, 200px);
  background: #14110d;
}
.hero-bg {
  position: absolute; inset: -40px;
  background: url("images/hero-sanding.jpg") center 60% / cover no-repeat;
  filter: blur(4px) brightness(.62) saturate(1.05);
  transform: scale(1.08);
  z-index: 0;
}
.hero.grain::before { opacity: .16; z-index: 1; }
.hero-inner { position: relative; z-index: 2; max-width: 1000px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { color: rgba(255,255,255,.82); }
.hero-word { font-family: "Marcellus", Georgia, serif; font-weight: 400; font-size: clamp(46px, 10vw, 138px); line-height: 0.92; letter-spacing: 0.02em; color: #fff; margin-top: 18px; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero-word span { color: #fff; }
.hero-word span { color: rgba(255,255,255,.62); }
.hero .lead { margin-top: var(--s-5); color: rgba(255,255,255,.92); max-width: 52ch; margin-inline: auto; }

/* Finder / search pill */
.finder {
  margin-top: clamp(28px, 4vw, 44px); width: min(760px, 100%);
  display: flex; align-items: stretch; gap: 4px;
  background: #fff; border-radius: 999px; padding: 6px;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.55);
}
.finder-search { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 18px; min-width: 0; }
.finder-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.finder-search input { flex: 1 1 auto; border: 0; outline: 0; font: inherit; font-size: 15px; color: var(--ink); background: none; min-width: 0; padding: 14px 0; }
.finder-div { width: 1px; background: var(--line); margin: 10px 2px; flex: none; }
.finder-select { position: relative; display: flex; align-items: center; flex: none; }
.finder-select select {
  appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: none;
  font: inherit; font-size: 15px; color: var(--ink); cursor: pointer;
  padding: 14px 34px 14px 14px; border-radius: 999px;
}
.finder-select svg { width: 14px; height: 14px; position: absolute; right: 14px; pointer-events: none; color: var(--muted); }
.finder-go {
  flex: none; border: 0; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: 15px; padding: 0 26px; transition: background .18s ease;
}
.finder-go:hover { background: #000; }

/* Quick links row */
.hero-quick { margin-top: clamp(26px, 4vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; }
.hero-quick a {
  color: rgba(255,255,255,.9); font-size: 14px; font-weight: 500;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.hero-quick a:hover { background: #fff; color: var(--ink); border-color: #fff; text-decoration: none; }

@media (max-width: 640px) {
  .finder { flex-wrap: wrap; border-radius: 22px; gap: 6px; }
  .finder-search { flex: 1 1 100%; padding: 4px 12px; }
  .finder-div { display: none; }
  .finder-select { flex: 1 1 auto; }
  .finder-select select { width: 100%; }
  .finder-go { flex: 1 1 auto; padding: 14px 26px; }
}
@media (max-width: 700px) {
  .hero-bg { filter: blur(3px) brightness(.6); }
}

/* Placeholder styling for un-supplied images */
.ph {
  width: 100%; height: 100%;
  background: var(--paper-3) var(--grain); background-size: 140px 140px;
  display: grid; place-items: center; color: var(--muted);
  font-size: 13px; letter-spacing: 0.04em; text-align: center; padding: 20px;
}
.ph::after { content: attr(data-label); max-width: 30ch; }
.band-dark .ph { background-color: #242424; color: var(--muted-dark); }

/* Branded fallback tile (used where there's no photo yet) */
.ph-brand {
  width: 100%; height: 100%; background: #0d0d0d;
  display: grid; place-items: center;
}
.ph-brand img { width: 46%; max-width: 120px; height: auto; opacity: .9; }

/* ============================================================ LOGO / TRUST BAND */
.trust { text-align: center; }
.trust p { color: var(--muted); font-size: 14px; letter-spacing: 0.02em; }
.trust-row {
  margin-top: var(--s-6); display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: clamp(28px, 6vw, 72px);
  font-weight: 700; letter-spacing: -0.01em; color: #4a4843; font-size: clamp(15px,2vw,19px);
}
.trust-row span { opacity: .8; }

/* ============================================================ FEATURE / SPLIT ROWS */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { aspect-ratio: 5/4; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); }
.split-media img { width:100%; height:100%; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: -1; } }

.section-head { max-width: 62ch; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 46px); margin-top: 14px; }
.section-head p { margin-top: var(--s-4); }

/* ============================================================ THREE-UP (Discover / Create / Automate) */
.threeup { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,4vw,56px); margin-top: var(--s-8); }
.threeup .item { padding-top: var(--s-5); border-top: 1px solid var(--line-dark); }
.threeup .icon { width: 40px; height: 40px; margin-bottom: var(--s-4); color: #fff; }
.threeup h3 { font-size: 20px; margin-bottom: 8px; }
.threeup p { color: var(--muted-dark); font-size: 15.5px; }
@media (max-width: 760px){ .threeup { grid-template-columns: 1fr; gap: 8px; } .threeup .item{ padding-block: 20px; } }

/* ============================================================ CARD ROW (used sparingly — models-style) */
.cardrow { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: var(--s-7); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px;
}
.card h3 { font-size: 22px; margin-bottom: 6px; }
.card .card-sub { color: var(--muted); font-size: 14.5px; min-height: 40px; }
.card ul { margin-top: 18px; display: grid; gap: 12px; }
.card li { display: flex; gap: 10px; font-size: 14.5px; color: #33322e; }
.card li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.card .btn { margin-top: 20px; }
@media (max-width: 820px){ .cardrow { grid-template-columns: 1fr; } }

/* ============================================================ PROCESS TIMELINE */
.timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: var(--s-8); }
.timeline .step { padding: 0 24px 0 0; border-top: 2px solid var(--ink); padding-top: 20px; position: relative; }
.timeline .step .num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.timeline .step h3 { font-size: 19px; margin: 10px 0 8px; }
.timeline .step p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 820px){ .timeline { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }
@media (max-width: 520px){ .timeline { grid-template-columns: 1fr; } }

/* ============================================================ STATS BAND */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(24px,4vw,48px); }
.stats .stat .n { font-size: clamp(38px,6vw,64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stats .stat .l { margin-top: 10px; color: var(--muted-dark); font-size: 14.5px; }
@media (max-width: 760px){ .stats { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }

/* ============================================================ COMPARISON TABLE */
.compare { width: 100%; border-collapse: collapse; margin-top: var(--s-7); font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.compare tbody th { font-weight: 600; }
.compare .yes svg { width: 18px; height: 18px; }
.compare .col-us { background: var(--paper-2); }
.compare thead .col-us { background: var(--ink); color: #fff; border-radius: 8px 8px 0 0; }
/* keep the 4-column comparison table on-screen on phones instead of overflowing */
@media (max-width: 620px){
  .compare { table-layout: fixed; font-size: 12.5px; }
  .compare th, .compare td { padding: 10px 8px; overflow-wrap: break-word; hyphens: auto; }
  .compare thead th { font-size: 10.5px; letter-spacing: .04em; }
  .compare .yes svg { width: 15px; height: 15px; }
}

/* ============================================================ FAQ (details/summary) */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-weight: 600; font-size: clamp(17px,2.2vw,20px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 22px; height: 22px; flex: none; position: relative; }
.faq summary .plus::before, .faq summary .plus::after {
  content:""; position:absolute; background: var(--ink); inset:0; margin:auto;
}
.faq summary .plus::before { width: 100%; height: 2px; }
.faq summary .plus::after  { width: 2px; height: 100%; transition: transform .2s ease; }
.faq details[open] summary .plus::after { transform: scaleY(0); }
.faq details > div { padding: 0 44px 24px 0; color: var(--muted); }

/* ============================================================ TESTIMONIALS */
.quotes { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.quote { padding: 28px 0; border-top: 2px solid var(--ink); }
.quote blockquote { font-size: clamp(19px,2.6vw,24px); line-height: 1.35; letter-spacing: -0.01em; }
.quote .who { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.quote .who strong { color: var(--ink); font-weight: 600; }
@media (max-width: 760px){ .quotes { grid-template-columns: 1fr; } }

/* ============================================================ GALLERY GRID */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gallery .tile { aspect-ratio: 1/1; border-radius: var(--r-md); overflow: hidden; background: var(--paper-3); }
.gallery .tile.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery .tile.tall { grid-row: span 2; aspect-ratio: 1/2; }
.gallery img { width:100%;height:100%;object-fit:cover; }
@media (max-width: 720px){ .gallery { grid-template-columns: 1fr 1fr; } .gallery .tile.tall{ grid-row: span 1; aspect-ratio:1/1;} }

/* ============================================================ POST LIST */
.posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.post .post-media { aspect-ratio: 3/2; border-radius: var(--r-md); overflow: hidden; background: var(--paper-3); margin-bottom: 18px; }
.post .meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post h3 { font-size: 20px; margin: 10px 0 8px; }
.post p { color: var(--muted); font-size: 15px; }
@media (max-width: 820px){ .posts { grid-template-columns: 1fr; max-width: 560px; } }

/* ============================================================ ARTICLE */
.article { max-width: 720px; margin-inline: auto; }
.article h1 { font-size: clamp(32px,5vw,52px); }
.article .article-body { font-size: 18px; }
.article .article-body h2 { font-size: clamp(24px,3.4vw,32px); margin: 44px 0 14px; }
.article .article-body h3 { font-size: 21px; margin: 32px 0 10px; }
.article .article-body p { margin-bottom: 20px; color: #2a2926; }
.article .article-body ul { list-style: disc; padding-left: 22px; margin-bottom: 20px; }
.article .article-body li { margin-bottom: 8px; }
.article .article-body blockquote {
  border-left: 3px solid var(--ink); padding-left: 22px; margin: 28px 0;
  font-size: 22px; letter-spacing: -0.01em;
}

/* ============================================================ CTA + FORM */
.form-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px,5vw,72px); align-items: start; }
@media (max-width: 860px){ .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field .req { color: #b00; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  color: var(--ink);
}
.band-dark .field input, .band-dark .field select, .band-dark .field textarea {
  background: #1c1c1c; border-color: #3a3a3a; color: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.band-dark .field input:focus, .band-dark .field select:focus, .band-dark .field textarea:focus { outline-color:#fff; border-color:#fff; }
.field textarea { min-height: 120px; resize: vertical; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px){ .two-col { grid-template-columns: 1fr; } }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; }
.band-dark .checkbox-row { color: var(--muted-dark); }

/* Contact detail list */
.contact-list { display: grid; gap: 22px; margin-top: var(--s-6); }
.contact-list .row { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.contact-list .row .k { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.band-dark .contact-list .row .k { color: var(--muted-dark); }
.contact-list .row a, .contact-list .row .v { font-size: 19px; font-weight: 600; }

/* WhatsApp helper */
.wa { background:#25D366; color:#fff; border-color:#25D366; }
.wa:hover { background:#1eb757; }
.band-dark .wa { background:#25D366; color:#fff; border-color:#25D366; }

/* ============================================================ AREAS COVERED */
.areas { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.areas li { background: var(--paper); padding: 22px 20px; font-weight: 600; font-size: 16px; }
.areas li small { display:block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 4px; }
@media (max-width: 760px){ .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .areas { grid-template-columns: 1fr; } }

/* ============================================================ FOOTER */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(56px,7vw,88px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.footer-top h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-dark); margin-bottom: 16px; font-weight: 700; }
.footer-top a { color: #d9d7d1; font-size: 15px; }
.footer-top a:hover { color: #fff; }
.footer-top ul { display: grid; gap: 10px; }
.footer-brand p { color: var(--muted-dark); font-size: 15px; margin-top: 14px; max-width: 34ch; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border: 1px solid #3a3a3a; border-radius: 50%;
  display: grid; place-items: center;
}
.footer-social a:hover { background: #fff; border-color:#fff; }
.footer-social a:hover svg { color: var(--ink); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #333;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  color: var(--muted-dark); font-size: 13.5px;
}
.footer-bottom a { color: var(--muted-dark); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px){ .footer-top { grid-template-columns: 1fr; } }

/* ============================================================ COOKIE BANNER (CSS-only, :target) */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  background: var(--ink); color: #fff; border-radius: var(--r-md);
  padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  max-width: 720px; margin-inline: auto; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}
.cookie p { font-size: 14px; color: #d9d7d1; flex: 1 1 320px; }
.cookie p a { color:#fff; text-decoration: underline; }
.cookie .cookie-actions { display: flex; gap: 10px; }
.cookie .btn { padding: 10px 18px; font-size: 14px; }
.cookie .btn-line { border-color:#fff; color:#fff; background: transparent; }
.cookie .btn-line:hover { background:#fff; color: var(--ink); }
/* Dismiss via :target — link to #_ hides it */
#cookie-dismissed:target { display: none; }
.cookie:target { display: none; }

/* ============================================================ MISC / PAGE HEADERS */
.page-head { padding-block: clamp(48px,7vw,96px) clamp(32px,4vw,56px); }
.page-head h1 { font-size: clamp(38px,6vw,68px); letter-spacing: -0.035em; }
.page-head p { margin-top: 18px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.maxw-head { max-width: 900px; }

/* Service sub-page hero: copy beside photo */
.svc-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.svc-hero-media { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); height: clamp(360px, 42vw, 520px); }
.svc-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .svc-hero { grid-template-columns: 1fr; }
  .svc-hero-media { height: clamp(300px, 70vw, 460px); }
}

/* ============================================================ BEFORE / AFTER SLIDER */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px){ .ba-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .ba-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.ba-fig { margin: 0; }
.ba-fig figcaption { margin-top: 14px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.ba-fig-full { grid-column: span 2; }
@media (max-width: 900px){ .ba-fig-full { grid-column: 1 / -1; } }
.ba {
  position: relative; width: 100%;
  aspect-ratio: 858 / 1508; border-radius: var(--r-lg); overflow: hidden;
  background: #0d0d0d; user-select: none; touch-action: none;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px;
  background: #fff; transform: translateX(-1px); pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #121212;
  display: grid; place-items: center; box-shadow: 0 3px 14px rgba(0,0,0,.45);
}
.ba-knob svg { width: 20px; height: 20px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-tag {
  position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(0,0,0,.6); color: #fff; pointer-events: none;
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink); color:#fff; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { left: 16px; }

/* ============================================================ WOOD-BROWN ACCENTS */
.link-arrow { color: var(--accent-ink); }
.band-dark .link-arrow { color: var(--accent-2); }
.timeline .step { border-top-color: var(--accent); }
.quote { border-top-color: var(--accent); }
.threeup .item { border-top-color: var(--accent-2); }
.ba-tag-after { background: var(--accent); }
.finder-go { background: var(--accent); }
.finder-go:hover { background: var(--accent-ink); }
.nav-links a[aria-current="page"] { color: var(--accent-ink); }
.stats .stat .n { color: #fff; }
.section-head h2 .accent, .accent-text { color: var(--accent-ink); }
.hero-word span { color: #fff; }
.card { border-top: 3px solid var(--accent); }
.areas li { border-left: 3px solid transparent; transition: border-color .16s ease, background .16s ease; }
.areas li:hover { border-left-color: var(--accent); background: var(--paper-2); }

/* ============================================================ WHATSAPP FLOAT */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.5);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.06); text-decoration: none; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .wa-label {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 12px; border-radius: 999px; opacity: 0; transform: translateX(6px);
  transition: opacity .18s ease, transform .18s ease; pointer-events: none;
}
.wa-float:hover .wa-label { opacity: 1; transform: translateX(0); }
@media (max-width: 600px){
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .wa-float .wa-label { display: none; }
}

/* ============================================================ GALLERY DROPDOWN */
.gallery-more { margin-top: 22px; }
.gallery-more[open] .gallery-more-btn .plus { transform: rotate(45deg); }
.gallery-more-btn {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--ink);
  font-weight: 600; font-size: 15px; background: var(--paper); color: var(--ink);
  transition: background .18s ease, color .18s ease;
}
.gallery-more-btn::-webkit-details-marker { display: none; }
.gallery-more-btn:hover { background: var(--ink); color: #fff; }
.gallery-more-btn .plus {
  width: 16px; height: 16px; position: relative; transition: transform .2s ease; flex: none;
}
.gallery-more-btn .plus::before,
.gallery-more-btn .plus::after { content:""; position:absolute; inset:0; margin:auto; background: currentColor; }
.gallery-more-btn .plus::before { width: 100%; height: 2px; }
.gallery-more-btn .plus::after { width: 2px; height: 100%; }
.gallery-more .gallery { margin-top: 22px; }
.gallery-more[open] .gallery-more-open { display: none; }
.gallery-more-closed { display: none; }
.gallery-more:not([open]) .gallery-more-closed { display: inline; }

/* ============================================================ MOBILE PERFORMANCE
   Kill expensive repaints (grain overlays, header blur) on small screens for speed */
@media (max-width: 700px) {
  .grain:not(.hero)::before { display: none; }
  .site-header { backdrop-filter: none; background: #fff; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
