/* =========================================================
   MATTSSON ROOFING — "Elevation"
   Charcoal · architectural bone · copper. Fraunces / Hanken / Plex Mono.
   ========================================================= */

:root {
  --ink:      #15191F;
  --ink-2:    #1B2027;
  --slate:    #283037;
  --paper:    #F3F2EE;
  --paper-2:  #FBFAF8;
  --mist:     #E7E5DF;
  --copper:   #AD5F33;
  --copper-d: #8F4C28;
  --copper-l: #C98A5E;
  --line:     #D6D3CC;
  --line-dk:  rgba(255,255,255,.14);
  --text:     #20242B;
  --text-mut: #5B5F66;
  --text-lt:  rgba(255,255,255,.74);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --shell: 1220px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --sect: clamp(4.5rem, 9vw, 8rem);
  --r: 3px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 2px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--pad); }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .65rem 1rem; border-radius: var(--r);
}
.skip-link:focus { top: 1rem; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--copper); display: inline-block; }
.eyebrow-light { color: var(--copper-l); }
.eyebrow-light::before { background: var(--copper-l); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--copper); }
.section-lead {
  margin-top: 1.4rem;
  max-width: 52ch;
  font-size: 1.12rem;
  color: var(--text-mut);
}
.section-lead-light { color: var(--text-lt); }

.section { padding-block: var(--sect); }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--copper); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: .85rem 1.5rem; border-radius: var(--r);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-copper { --bg: var(--copper); --fg: #fff; }
.btn-copper:hover { background: var(--copper-d); }
.btn-dark { --bg: var(--ink); --fg: var(--paper); }
.btn-dark:hover { background: var(--slate); }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.45); }
.btn-ghost-light:hover { --bd: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; gap: .5rem; align-items: center;
  padding-bottom: 3px; border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow:hover { color: var(--copper); border-color: var(--copper); gap: .85rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 38px; width: auto; transition: filter .35s var(--ease); }

.nav { display: flex; gap: 1.9rem; margin-left: auto; }
.nav a {
  font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  position: relative; padding: .25rem 0; transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--copper); transition: width .25s var(--ease);
}
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1.4rem; }
.phone-link {
  font-family: var(--mono); font-size: .85rem; letter-spacing: .03em;
  display: inline-flex; align-items: center; gap: .55rem; transition: color .2s var(--ease);
}
.phone-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 0 var(--copper); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(173,95,51,.5); } 70%,100% { box-shadow: 0 0 0 7px rgba(173,95,51,0); } }

/* header at top of dark hero */
.site-header[data-state="top"] { color: #fff; }
.site-header[data-state="top"] .brand-logo { filter: brightness(0) invert(1); opacity: .95; }
.site-header[data-state="top"] .nav a,
.site-header[data-state="top"] .phone-link { color: rgba(255,255,255,.9); }

/* header scrolled */
.site-header[data-state="scrolled"] {
  background: rgba(243,242,238,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,.3);
  color: var(--ink);
}
.site-header[data-state="scrolled"] .nav a,
.site-header[data-state="scrolled"] .phone-link { color: var(--ink); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.site-header[data-state="top"] .menu-toggle { color: #fff; }
.site-header[data-state="scrolled"] .menu-toggle { color: var(--ink); }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.mobile-nav a { color: var(--paper); font-family: var(--serif); font-size: 1.8rem; }
.mobile-nav .btn { font-family: var(--sans); font-size: 1rem; margin-top: 1rem; }
.mobile-phone { font-family: var(--mono) !important; font-size: 1.05rem !important; color: var(--copper-l) !important; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,16,20,.62) 0%, rgba(13,16,20,.36) 34%, rgba(13,16,20,.56) 70%, rgba(13,16,20,.94) 100%),
    linear-gradient(90deg, rgba(13,16,20,.7) 0%, rgba(13,16,20,.12) 56%, rgba(13,16,20,0) 84%);
}
.hero-content { padding-bottom: clamp(3rem, 8vh, 6.5rem); padding-top: 120px; }
.hero-title {
  font-family: var(--serif); font-weight: 300; font-optical-sizing: auto;
  font-size: clamp(2.7rem, 7vw, 6rem); line-height: .99; letter-spacing: -.02em;
  max-width: 16ch; margin-bottom: 1.6rem; text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--copper-l); }
.hero-sub { max-width: 50ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.86); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.titleblock {
  display: grid; grid-template-columns: repeat(4, auto); gap: 0 2.6rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.22);
  width: fit-content; max-width: 100%;
}
.titleblock div { min-width: 0; }
.titleblock dt {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: .35rem;
}
.titleblock dd { font-family: var(--mono); font-size: .82rem; color: #fff; letter-spacing: .02em; }

.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: #fff; animation: drop 1.8s infinite; }
@keyframes drop { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust { background: var(--ink); color: #fff; border-top: 1px solid var(--copper); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 2rem; padding-block: 2.2rem; }
.trust-item { display: flex; flex-direction: column; gap: .15rem; }
.trust-item strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.trust-item span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -30px rgba(0,0,0,.4); border-color: var(--copper-l); }
.service-feature { grid-column: span 2; }
.service-img { overflow: hidden; aspect-ratio: 16/10; }
.service-feature .service-img { aspect-ratio: 16/9; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.card-index { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; color: var(--copper); }
.service-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.service-feature .service-body h3 { font-size: 1.9rem; }
.service-body p { color: var(--text-mut); font-size: .98rem; }
.service-body .link-arrow { margin-top: auto; align-self: flex-start; }

/* =========================================================
   APPROACH  (dark)
   ========================================================= */
.approach { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.approach::before {
  content: ""; position: absolute; top: -10%; right: -5%; width: 60%; height: 120%;
  background: linear-gradient(120deg, transparent 48%, rgba(173,95,51,.14) 49.4%, rgba(173,95,51,.14) 50.6%, transparent 52%);
  pointer-events: none;
}
.approach-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.approach .section-title { color: #fff; }
.approach-list { list-style: none; margin-top: 2.6rem; display: flex; flex-direction: column; }
.approach-list li { display: flex; gap: 1.4rem; padding: 1.5rem 0; border-top: 1px solid var(--line-dk); }
.approach-list li:last-child { border-bottom: 1px solid var(--line-dk); }
.approach-no { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--copper-l); padding-top: .35rem; white-space: nowrap; }
.approach-list h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: #fff; margin-bottom: .35rem; }
.approach-list p { color: var(--text-lt); font-size: 1rem; }
.approach-media { position: relative; border-radius: var(--r); overflow: hidden; }
.approach-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.approach-media figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 1.5rem 1.4rem .9rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: #fff;
  background: linear-gradient(transparent, rgba(13,16,20,.85));
}

/* =========================================================
   GALLERY  (masonry + lightbox)
   ========================================================= */
.work { background: var(--mist); }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; flex-wrap: wrap; max-width: none; }
.gallery-head > div { max-width: 60ch; }
.gallery-count { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); white-space: nowrap; padding-bottom: .4rem; }

.gallery-masonry { columns: 4 250px; column-gap: 1rem; }
.g-cell { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; background: none; cursor: pointer; position: relative; overflow: hidden; border-radius: var(--r); break-inside: avoid; -webkit-column-break-inside: avoid; line-height: 0; }
.g-cell img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease); }
.g-cell:hover img, .g-cell:focus-visible img { transform: scale(1.05); }
.g-cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(13,16,20,.72)); opacity: 0; transition: opacity .3s var(--ease); }
.g-cell:hover::after, .g-cell:focus-visible::after { opacity: 1; }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1rem .95rem .8rem; font-family: var(--mono); font-size: .68rem; line-height: 1.3; letter-spacing: .04em; color: #fff; text-align: left; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.g-cell:hover .g-cap, .g-cell:focus-visible .g-cap { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(8,10,13,.94); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage { margin: 0; max-width: min(1100px, 92vw); display: flex; flex-direction: column; gap: .9rem; }
.lb-stage img { max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: var(--r); margin: 0 auto; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.lb-stage figcaption { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: rgba(255,255,255,.7); text-align: center; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .2s var(--ease), transform .2s var(--ease); }
.lb-close { top: 1.2rem; right: 1.4rem; width: 46px; height: 46px; font-size: 1.7rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; }
.lb-prev { left: 1.4rem; }
.lb-next { right: 1.4rem; }
.lb-close:hover, .lb-nav:hover { background: var(--copper); border-color: var(--copper); }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }

/* =========================================================
   COMPANY
   ========================================================= */
.company { background: var(--paper); }
.company-grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.company-media { border-radius: var(--r); overflow: hidden; position: relative; }
.company-media::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: var(--r); pointer-events: none; }
.company-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.company-copy p { color: var(--text-mut); margin-top: 1.1rem; max-width: 56ch; }
.company-copy .section-title { margin-bottom: .4rem; }
.credentials { list-style: none; margin: 2rem 0 1.5rem; display: grid; gap: .1rem; border-top: 1px solid var(--line); }
.credentials li { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; color: var(--text); align-items: baseline; }
.credentials span { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.company-process { font-size: 1.05rem; color: var(--text) !important; }

/* =========================================================
   REVIEWS  (dark)
   ========================================================= */
.reviews { background: var(--slate); color: #fff; }
.reviews .section-title { color: #fff; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dk); border-radius: var(--r);
  padding: 2rem 1.9rem; display: flex; flex-direction: column; gap: 1.4rem;
}
.review-lead { grid-column: span 3; }
.review p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 1.1rem; line-height: 1.5; color: #fff; }
.review-lead p { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.42; }
.review footer { margin-top: auto; display: flex; flex-direction: column; gap: .2rem; }
.review cite { font-style: normal; font-weight: 600; font-size: 1rem; }
.review footer span { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-l); }

/* =========================================================
   SERVICE AREAS
   ========================================================= */
.areas { background: var(--paper); }
.areas-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.areas-head .btn { margin-top: 2rem; }
.town-list { list-style: none; columns: 3; column-gap: 1.5rem; }
.town-list li {
  font-family: var(--mono); font-size: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--line);
  break-inside: avoid; color: var(--text); position: relative; padding-left: 1.4rem;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.town-list li::before { content: "↗"; position: absolute; left: 0; color: var(--copper); font-size: .8rem; }
.town-list li:hover { color: var(--copper); padding-left: 1.7rem; }

/* =========================================================
   MATERIALS + SHINGLE COLORS
   ========================================================= */
.materials { background: var(--ink); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); }
.materials-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line-dk); }
.materials-label { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-l); margin-bottom: .6rem; }
.materials-copy { color: var(--text-lt); max-width: 62ch; }
.swatches { padding-top: 2.2rem; }
.swatches-label { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-l); margin-bottom: 1.2rem; }
.swatch-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.swatch { position: relative; border-radius: var(--r); overflow: hidden; }
.swatch img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.swatch:hover img { transform: scale(1.05); }
.swatch figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem .9rem .7rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: #fff; background: linear-gradient(transparent, rgba(13,16,20,.85)); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-head { position: sticky; top: 104px; }
.faq-head .btn { margin-top: 2rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; position: relative; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--ink); line-height: 1.25; transition: color .2s var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 1.25rem; font-family: var(--sans); font-weight: 300; font-size: 1.7rem; line-height: 1; color: var(--copper); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--copper); }
.faq-body { padding: 0 2.5rem 1.6rem 0; }
.faq-body p { color: var(--text-mut); max-width: 66ch; }

/* =========================================================
   ROOFING TIPS
   ========================================================= */
.tips { background: var(--mist); }
.tips-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; flex-wrap: wrap; max-width: none; }
.tips-head > div { max-width: 56ch; }
.tips-head .link-arrow { margin-bottom: .5rem; }
.tips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.tip-card { display: flex; flex-direction: column; gap: 1.4rem; justify-content: space-between; min-height: 210px; padding: 1.6rem 1.5rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.tip-card:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -28px rgba(0,0,0,.35); border-color: var(--copper-l); }
.tip-tag { font-family: var(--mono); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.tip-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.2; color: var(--ink); }
.tips-page-sec { background: var(--paper); }
.tips-articles { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 2.6rem; }
.tip-article { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.tip-article .tip-tag { color: var(--copper); }
.tip-article h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.2; color: var(--ink); margin: .6rem 0 .7rem; }
.tip-article p { color: var(--text-mut); font-size: .98rem; }
@media (max-width: 760px) { .tips-articles { grid-template-columns: 1fr; } }

/* =========================================================
   ESTIMATE / CONTACT  (dark)
   ========================================================= */
.estimate { background: var(--ink-2); color: #fff; }
.estimate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.estimate .section-title { color: #fff; }
.contact-block { margin-top: 2.4rem; border-top: 1px solid var(--line-dk); }
.contact-row { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-dk); align-items: baseline; }
.contact-key { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-l); }
.contact-row a:hover { color: var(--copper-l); text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.8rem; }
.socials a { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s; }
.socials a:hover { color: #fff; border-color: var(--copper); }

/* form */
.estimate-form-wrap { background: var(--paper-2); border-radius: var(--r); padding: clamp(1.6rem, 3vw, 2.4rem); color: var(--text); box-shadow: 0 40px 80px -50px rgba(0,0,0,.6); }
.form-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.05rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); }
.field .optional { text-transform: none; letter-spacing: 0; color: var(--line); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); /* 16px: prevents iOS zoom-on-focus */
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: .8rem .9rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(173,95,51,.14); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b4452f; }
.error { font-family: var(--mono); font-size: .68rem; color: #b4452f; min-height: 0; }
.error:not(:empty) { margin-top: -.35rem; margin-bottom: .4rem; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .82rem; color: var(--text-mut); margin: .6rem 0 1rem; line-height: 1.45; }
.consent input { margin-top: .25rem; accent-color: var(--copper); width: 16px; height: 16px; flex-shrink: 0; }
.form-success { font-family: var(--sans); font-size: .98rem; color: #2c6e49; background: rgba(44,110,73,.1); border: 1px solid rgba(44,110,73,.3); padding: .9rem 1rem; border-radius: var(--r); margin-top: 1rem; }
.form-note { font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; color: var(--text-mut); margin-top: 1rem; text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dk); }
.footer-logo { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 1.2rem; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #fff; margin-bottom: 1rem; }
.footer-meta { font-family: var(--mono); font-size: .74rem; line-height: 1.8; color: rgba(255,255,255,.55); }
.footer-col h3 { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-l); margin-bottom: 1.2rem; font-weight: 500; }
.footer-col a { display: block; font-size: .94rem; padding: .35rem 0; color: rgba(255,255,255,.75); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-cta .btn { margin-bottom: 1rem; }
.footer-phone { font-family: var(--mono) !important; font-size: 1.05rem !important; color: #fff !important; display: block; }
.footer-hours { font-family: var(--mono); font-size: .72rem; color: rgba(255,255,255,.5); margin-top: .5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-block: 1.8rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; color: rgba(255,255,255,.45); }

/* =========================================================
   SERVICE PAGES
   ========================================================= */
.subhero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: #fff; }
.subhero-media { position: absolute; inset: 0; z-index: -1; }
.subhero-media img { width: 100%; height: 100%; object-fit: cover; }
.subhero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,16,20,.62) 0%, rgba(13,16,20,.25) 42%, rgba(13,16,20,.88) 100%); }
.subhero-content { padding-top: 130px; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.breadcrumb { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 1.4rem; }
.breadcrumb a { color: rgba(255,255,255,.62); }
.breadcrumb a:hover { color: #fff; }
.subhero h1 { font-family: var(--serif); font-weight: 300; font-optical-sizing: auto; font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.02; letter-spacing: -.02em; max-width: 18ch; margin-bottom: 1.2rem; text-wrap: balance; }
.subhero-sub { max-width: 54ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.86); margin-bottom: 1.9rem; }

.svc-body { background: var(--paper); }
.svc-body-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-copy .section-title { margin-bottom: 1.2rem; }
.svc-copy p { color: var(--text-mut); margin-top: 1.1rem; max-width: 58ch; }
.svc-aside { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; position: sticky; top: 100px; }
.svc-aside h3 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-bottom: 1.1rem; }
.svc-list { list-style: none; }
.svc-list li { position: relative; padding: .72rem 0 .72rem 1.7rem; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--text); }
.svc-list li:last-child { border-bottom: 0; }
.svc-list li::before { content: "✓"; position: absolute; left: 0; color: var(--copper); font-weight: 700; }

.svc-gallery-sec { background: var(--mist); }
.svc-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.svc-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }

.svc-cta { background: var(--ink); color: #fff; text-align: center; }
.svc-cta .section-title { color: #fff; margin-bottom: 1.4rem; }
.svc-cta-inner { max-width: 660px; margin: 0 auto; }
.svc-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.9rem; }

/* =========================================================
   BEFORE & AFTER
   ========================================================= */
.beforeafter { background: var(--ink); color: #fff; }
.beforeafter .section-title { color: #fff; }
.beforeafter .section-head { max-width: 60ch; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.ba-item { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line-dk); }
.ba-item img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.ba-item:hover img { transform: scale(1.03); }
.ba-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem .9rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: #fff; background: linear-gradient(transparent, rgba(13,16,20,.9)); }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }

/* =========================================================
   AREAS HUB + TOWN PAGES
   ========================================================= */
.subhero-short { min-height: 50vh; }
.areas-hub-sec { background: var(--paper); }
.county-label { font-family: var(--mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin-bottom: 1.3rem; }
.areas-town-list { margin-bottom: 1.8rem; }
.areas-note { color: var(--text-mut); font-size: .98rem; max-width: 62ch; }
.areas-note a { color: var(--copper); border-bottom: 1px solid var(--line); }
.areas-note a:hover { border-color: var(--copper); }
/* town-list items become links (home + hub) */
.town-list li a { color: inherit; text-decoration: none; display: block; }

.nearby-sec { background: var(--mist); }
.nearby-links { display: flex; flex-wrap: wrap; gap: .8rem .9rem; margin-top: 1.6rem; align-items: center; }
.nearby-links a { font-family: var(--mono); font-size: .82rem; letter-spacing: .03em; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: .62rem 1rem; transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.nearby-links a:hover { border-color: var(--copper); color: var(--copper); transform: translateY(-2px); }
.nearby-links .nearby-all { background: none; border: 0; color: var(--copper); font-weight: 600; padding-left: .4rem; }
.nearby-links .nearby-all:hover { transform: none; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav { display: none; }
  .header-actions { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .approach-grid, .company-grid, .areas-grid, .estimate-grid, .faq-grid { grid-template-columns: 1fr; }
  .approach-media { order: -1; max-width: 420px; }
  .company-media { max-width: 460px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-feature { grid-column: span 2; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .review-lead { grid-column: span 2; }
  .faq-head { position: static; }
  .faq-head .btn { margin-top: 1.4rem; }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-body-grid { grid-template-columns: 1fr; }
  .svc-aside { position: static; max-width: 520px; }
}
@media (max-width: 600px) {
  :root { --sect: clamp(3.5rem, 12vw, 5rem); }
  .titleblock { grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-feature { grid-column: span 1; }
  .review-grid { grid-template-columns: 1fr; }
  .review-lead { grid-column: span 1; }
  .tips-grid { grid-template-columns: 1fr; }
  .swatch-row { grid-template-columns: repeat(2, 1fr); }
  .town-list { columns: 2; }
  .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .hero-scrim { background: linear-gradient(180deg, rgba(13,16,20,.52) 0%, rgba(13,16,20,.42) 42%, rgba(13,16,20,.84) 100%); }
  .trust-inner { gap: 1.2rem 1.5rem; }
  .trust-item { flex: 1 1 40%; }
  .lb-close { width: 40px; height: 40px; top: .8rem; right: .8rem; }
  .lb-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lb-prev { left: .6rem; }
  .lb-next { right: .6rem; }
  .faq-item summary { font-size: 1.12rem; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service-card:hover { transform: none; }
}
