/* ==========================================================================
   LDF Fascia & Guttering — InveraWebDesigns
   Aesthetic: "Roofline Editorial" — charcoal / bone / copper.
   Motif: the triple-gable silhouette taken straight from the client logo.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand palette — charcoal & white from the brief, copper as the accent */
  --ink:            #17181A;
  --charcoal:       #2E2E2E;
  --graphite:       #3B3E42;
  --steel:          #5F6368;
  --hairline:       #DCD7CE;
  --hairline-dark:  #33363A;
  --bone:           #F2EFE9;
  --bone-deep:      #E7E2D8;
  --paper:          #FFFFFF;
  --copper:         #A9542A;
  --copper-deep:    #8C4321;
  --copper-light:   #D98A55;
  --copper-wash:    rgba(169, 84, 42, 0.08);

  --brand-primary:  #A9542A;
  --wa-green:       #1FA855;

  /* Fixed utility colours — constant across every Invera build */
  --review-google:   #4285F4;
  --review-facebook: #1877F2;
  --review-yell:     #FFDD00;

  /* Semantic */
  --text:        #26282B;
  --text-muted:  #5F6368;
  --text-invert: #FBF9F5;
  --text-invert-muted: #A9ADB2;
  --text-on-photo:     #C9CCD0;
  --scrim-panel:       rgba(23, 24, 26, 0.62);

  /* Type */
  --font-display: "Helvetica Neue", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body:    "Helvetica Neue", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-serif:   "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-mono:    ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;

  --step--2: clamp(0.72rem,  0.70rem + 0.10vw, 0.78rem);
  --step--1: clamp(0.833rem, 0.80rem + 0.16vw, 0.938rem);
  --step-0:  clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.2rem,   1.11rem + 0.45vw, 1.5rem);
  --step-2:  clamp(1.44rem,  1.29rem + 0.75vw, 2rem);
  --step-3:  clamp(1.728rem, 1.49rem + 1.19vw, 2.663rem);
  --step-4:  clamp(2.074rem, 1.71rem + 1.82vw, 3.553rem);
  --step-5:  clamp(2.488rem, 1.90rem + 2.94vw, 4.7rem);

  /* Space & measure */
  --gutter:      clamp(1rem, 4vw, 2rem);
  --space-xs:    clamp(0.5rem, 0.45rem + 0.25vw, 0.7rem);
  --space-s:     clamp(0.75rem, 0.6rem + 0.6vw, 1rem);
  --space-m:     clamp(1.25rem, 1rem + 1.2vw, 2rem);
  --space-l:     clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --space-xl:    clamp(3rem, 2rem + 4vw, 5.5rem);
  --content-max: 1200px;
  --prose-max:   68ch;

  --nav-h: 64px;
  --radius: 3px;
  --radius-lg: 6px;

  --shadow-s: 0 1px 2px rgba(23, 24, 26, 0.05), 0 2px 8px rgba(23, 24, 26, 0.04);
  --shadow-m: 0 2px 4px rgba(23, 24, 26, 0.06), 0 12px 28px rgba(23, 24, 26, 0.09);
  --shadow-l: 0 24px 60px rgba(23, 24, 26, 0.22);

  /* Motif: fine gable zig-zag rule, drawn from the logo silhouette */
  --rule-gable: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12' viewBox='0 0 40 12'%3E%3Cpath d='M0 11 L10 2 L20 11 L30 2 L40 11' fill='none' stroke='%23A9542A' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E");

  /* Fine paper grain for dark bands */
  --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.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

@media (min-width: 900px) {
  :root { --nav-h: 76px; }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
figure, blockquote, dl, dd { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 var(--space-s);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); line-height: 1.02; }
h2 { font-size: var(--step-3); line-height: 1.1; }
h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.018em; }
h4 { font-size: var(--step-1); line-height: 1.3; letter-spacing: -0.012em; }

p, li { max-width: var(--prose-max); }
p { margin: 0 0 var(--space-s); }

a { color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper-deep); }

ul, ol { padding-left: 1.15rem; }

button {
  font: inherit;
  color: inherit;
  touch-action: manipulation;
  cursor: pointer;
  border: 0;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

section[id] { scroll-margin-top: calc(var(--nav-h) + 0.5rem); }

.container {
  width: min(100% - (var(--gutter) * 2), var(--content-max));
  margin-inline: auto;
}

.container--narrow { --content-max: 880px; }

section { padding-block: clamp(3.5rem, 9vw, 7rem); }
section.section--tight { padding-block: clamp(2.25rem, 5vw, 3.75rem); }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 999;
  background: var(--ink);
  color: var(--text-invert);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 0.5rem; color: var(--text-invert); }

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

/* The signature: an italic serif ampersand wherever the brand name appears */
.amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
  letter-spacing: 0;
  padding-inline: 0.04em;
}
.on-dark .amp, .band--dark .amp, .hero .amp { color: var(--copper-light); }

/* --------------------------------------------------------------------------
   3. Shared bits — eyebrow, rules, buttons
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 var(--space-s);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  max-width: none;
}
.eyebrow::after {
  content: "";
  flex: 1 1 auto;
  height: 12px;
  background-image: var(--rule-gable);
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0.55;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { display: none; }
.on-dark .eyebrow { color: var(--copper-light); }
.on-dark .eyebrow::after { opacity: 0.4; }

.section-head { margin-bottom: var(--space-l); }
.section-head p { color: var(--text-muted); font-size: var(--step-1); line-height: 1.45; }
.on-dark .section-head p { color: var(--text-invert-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary { background: var(--copper); color: var(--paper); border-color: var(--copper); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--text-invert); border-color: rgba(251, 249, 245, 0.35); }
.on-dark .btn--secondary { color: var(--text-invert); border-color: rgba(251, 249, 245, 0.4); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  margin-top: var(--space-m);
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--copper-deep); border-color: var(--copper-deep); color: var(--paper); transform: translateY(-2px); box-shadow: var(--shadow-m); }
  .btn--secondary:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
  .btn--ghost:hover { background: rgba(251, 249, 245, 0.1); border-color: var(--text-invert); color: var(--text-invert); }
  .on-dark .btn--secondary:hover { background: var(--text-invert); color: var(--ink); }
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  text-decoration: none;
  border-bottom: 2px solid var(--copper-wash);
  padding-bottom: 3px;
  min-height: 44px;
  transition: border-color 0.2s ease, gap 0.2s ease, color 0.2s ease;
}
.link-more::after { content: "\2192"; font-family: var(--font-body); }
.on-dark .link-more { color: var(--copper-light); border-bottom-color: rgba(217, 138, 85, 0.25); }

@media (hover: hover) and (pointer: fine) {
  .link-more:hover { border-bottom-color: currentColor; gap: 0.85rem; }
}

/* Bands */
.band--bone { background: var(--bone); }
.band--dark {
  position: relative;
  background: var(--ink);
  color: var(--text-invert);
  isolation: isolate;
}
.band--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.045;
  pointer-events: none;
  z-index: -1;
}
.band--dark h1, .band--dark h2, .band--dark h3, .band--dark h4 { color: var(--text-invert); }
.band--dark p { color: var(--text-invert-muted); }

/* The gable divider — the logo silhouette used as a section edge.
   background = colour of the section above, fill = colour of the section below. */
.gable-edge {
  display: block;
  width: 100%;
  height: clamp(26px, 3.6vw, 56px);
  background: var(--ink);
  fill: var(--paper);
  /* The svg height is fluid, so it can land on a fractional pixel and leave a
     hairline of the white body background at either edge. Overlap the sections
     above and below by 1px — both rows are solid colour, so nothing is lost. */
  margin-block: -1px;
}
.gable-edge--charcoal-paper { background: var(--charcoal); fill: var(--paper); }
.gable-edge--charcoal-bone  { background: var(--charcoal); fill: var(--bone); }
.gable-edge--ink-paper      { background: var(--ink); fill: var(--paper); }
.gable-edge--ink-bone       { background: var(--ink); fill: var(--bone); }
.gable-edge--ink-charcoal   { background: var(--ink); fill: var(--charcoal); }
.gable-edge--paper-ink      { background: var(--paper); fill: var(--ink); }
.gable-edge--bone-ink       { background: var(--bone); fill: var(--ink); }

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--hairline);
  padding-top: max(0px, env(safe-area-inset-top));
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  padding-block: 4px;
}
.brand-mark {
  width: auto;
  height: clamp(22px, 4.4vw, 30px);
  mix-blend-mode: multiply;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.95rem, 2.6vw, 1.12rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.52rem, 1.7vw, 0.6rem);
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-right: -8px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
}
.nav-toggle-bars { display: block; width: 20px; }
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.24s ease, opacity 0.18s ease;
}
.nav-toggle-bars span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-menu {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-m);
  padding: var(--space-s) var(--gutter) var(--space-m);
  display: grid;
  gap: var(--space-s);
  max-height: calc(100svh - var(--nav-h));
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.nav-menu.is-open { visibility: visible; opacity: 1; transform: translateY(0); }

.nav-list { list-style: none; margin: 0; padding: 0; display: grid; }
.nav-list li { max-width: none; }
.nav-list a {
  display: block;
  padding: 0.85rem 0.25rem;
  min-height: 44px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.nav-list a[aria-current="page"] { color: var(--copper); }
.nav-cta { width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: var(--space-m);
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    max-height: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .nav-list { grid-auto-flow: column; gap: clamp(0.9rem, 1.8vw, 1.75rem); }
  .nav-list a {
    border: 0;
    padding: 0.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
  }
  .nav-list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
  }
  .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta { width: auto; min-height: 44px; padding: 0.6rem 1.15rem; }
}

@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .nav-list a:hover::after { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   5. WhatsApp float
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: max(16px, calc(16px + env(safe-area-inset-right)));
  bottom: max(20px, calc(20px + env(safe-area-inset-bottom)));
  z-index: 95;
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wa-green);
  color: var(--paper);
  box-shadow: var(--shadow-m);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.whatsapp-float svg { width: 28px; height: 28px; }

@media (hover: hover) and (pointer: fine) {
  .whatsapp-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-l); color: var(--paper); }
}

/* --------------------------------------------------------------------------
   6. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: var(--nav-h);
  /* .hero is a <section>, so it would otherwise inherit the global section
     padding on top of .hero-body's own — that double padding was the dead
     space above and below the hero copy. The hero owns its own spacing. */
  padding-block: 0;
  background: var(--ink);
  color: var(--text-invert);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.05;
  pointer-events: none;
  z-index: 2;
}

/* 100vh on iOS Safari is measured with the URL bar hidden; svh avoids the jump.
   Landscape phones get the cap removed so the hero does not fill the screen. */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; }
  .hero-body { padding-block: 2rem; }
  .hero-media img { object-position: 50% 30%; }
}

.hero-grid {
  display: grid;
  gap: 0;
  /* The nav is fixed and the hero is pushed below it, so subtracting --nav-h
     makes hero + nav land as exactly one screen instead of overrunning it. */
  /* Capped so a portrait tablet does not stretch the hero into a void;
     phones are under the cap, so they still get an exact one-screen hero. */
  min-height: min(calc(100svh - var(--nav-h)), 48rem);
  align-items: stretch;
}

.hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(1.5rem, 6vw, 3.5rem);
}

.hero h1 { color: var(--text-invert); font-size: var(--step-5); letter-spacing: -0.035em; }
.hero h1 .hero-line { display: block; }
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--copper-light);
  letter-spacing: -0.01em;
}
.hero-lede {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--text-invert-muted);
  margin-top: var(--space-s);
}
/* Sits over the open part of the photo, so it carries its own tint panel
   rather than relying on the scrim alone for contrast. */
.hero-near {
  margin-top: var(--space-m);
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--copper);
  background: var(--scrim-panel);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--step--1);
  color: var(--text-on-photo);
}

/* Below 900px the photo is the whole hero, with the copy sitting on top of it.
   From 900px up it becomes the right-hand panel of a two-column split. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Heavy where the copy sits, opening up over the lower third so the house
     is actually readable, then closing again for a clean join to the strip. */
  background: linear-gradient(180deg, rgba(23,24,26,0.84) 0%, rgba(23,24,26,0.80) 52%, rgba(23,24,26,0.50) 82%, rgba(23,24,26,0.88) 100%);
}

.hero-body { position: relative; z-index: 3; }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    min-height: min(calc(100svh - var(--nav-h)), 46rem);
  }
  .hero-body { padding-right: clamp(1.5rem, 4vw, 3.5rem); }
  .hero-media {
    position: absolute;
    inset: 0 0 0 50%;
  }
  .hero-media::after { background: linear-gradient(90deg, rgba(23,24,26,0.96) 0%, rgba(23,24,26,0.45) 30%, rgba(23,24,26,0.2) 60%, rgba(23,24,26,0.35) 100%); }
}

/* Trust strip beneath the hero */
.trust-strip {
  padding-block: 0;
  background: var(--charcoal);
  border-top: 1px solid var(--hairline-dark);
  color: var(--text-invert);
  position: relative;
  z-index: 3;
}
.trust-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
.trust-list li {
  max-width: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 0.25rem;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-invert);
  border-bottom: 1px solid var(--hairline-dark);
}
.trust-list li:last-child { border-bottom: 0; }
.trust-list svg { width: 20px; height: 20px; flex: none; stroke: var(--copper-light); }

@media (min-width: 700px) {
  .trust-list li { border-bottom: 0; border-right: 1px solid var(--hairline-dark); padding-inline: clamp(0.5rem, 2vw, 1.25rem); }
  .trust-list li:first-child { padding-left: 0; }
  .trust-list li:last-child { border-right: 0; }
}

/* --------------------------------------------------------------------------
   7. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  margin-top: var(--nav-h);
  background: var(--ink);
  color: var(--text-invert);
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}
.page-hero h1 { color: var(--text-invert); max-width: 20ch; }
.page-hero p { color: var(--text-invert-muted); font-size: var(--step-1); line-height: 1.45; }

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 var(--space-s);
  padding: 0;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.breadcrumb li { max-width: none; color: var(--text-invert-muted); }
.breadcrumb li + li::before { content: "/ "; color: var(--copper-light); }
.breadcrumb a { color: var(--text-invert-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--copper-light); }

/* --------------------------------------------------------------------------
   8. Grids & cards
   -------------------------------------------------------------------------- */
.grid-auto {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--card-min, 17.5rem)), 1fr));
}
.services-grid { --card-min: 19rem; }
.reviews-grid  { --card-min: 18rem; }
.areas-grid    { --card-min: 15rem; }
.value-grid    { --card-min: 16rem; }

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--space-m);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.band--bone .card { background: var(--paper); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card-index {
  position: absolute;
  top: var(--space-m);
  right: var(--space-m);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hairline);
}
.card-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-s);
  border-radius: var(--radius);
  background: var(--copper-wash);
  color: var(--copper);
}
.card-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-price {
  align-self: flex-start;
  margin-top: auto;
  padding-top: var(--space-s);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-top-color: var(--copper); }
}

/* Detailed service blocks (services.html) */
.service-block {
  display: grid;
  gap: var(--space-m);
  padding-block: var(--space-l);
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.service-block:last-child { border-bottom: 1px solid var(--hairline); }

/* Gable mark centred on the section boundary. The wrapper is zero-height so the
   surrounding section padding is untouched — the logo overflows it both ways. */
.roofline-mark {
  height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.roofline-mark img {
  width: auto;
  height: clamp(30px, 6vw, 46px);
  opacity: 0.38;
  mix-blend-mode: multiply;
}
.service-block-index {
  font-family: var(--font-mono);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.04em;
}
.service-block h3 { margin-bottom: 0.35rem; }
.service-block ul { color: var(--text-muted); margin: var(--space-s) 0 0; padding-left: 0; list-style: none; }
.service-block ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
}
.service-block ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 12px; height: 8px;
  background-image: var(--rule-gable);
  background-size: 24px 8px;
  background-repeat: no-repeat;
}

@media (min-width: 800px) {
  .service-block { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 0.85fr); gap: var(--space-l); }
}

/* Steps / process */
.step-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  counter-reset: step;
}
.step-list li {
  max-width: none;
  counter-increment: step;
  padding-top: var(--space-s);
  border-top: 2px solid var(--copper);
}
.step-list li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--copper);
  margin-bottom: 0.35rem;
}
.step-list h3 { font-size: var(--step-1); }
.step-list p { color: var(--text-muted); margin-bottom: 0; }
.on-dark .step-list p { color: var(--text-invert-muted); }

/* Stats */
.stat-row {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
}
.stat { border-top: 2px solid var(--copper); padding-top: var(--space-s); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
.on-dark .stat-num, .band--dark .stat-num { color: var(--text-invert); }
.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.on-dark .stat-label, .band--dark .stat-label { color: var(--text-invert-muted); }

/* Checklist */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.check-list li {
  max-width: var(--prose-max);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-muted);
}
.on-dark .check-list li { color: var(--text-invert-muted); }
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: 0.25em; stroke: var(--copper); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.on-dark .check-list svg { stroke: var(--copper-light); }

/* --------------------------------------------------------------------------
   9. Reviews
   -------------------------------------------------------------------------- */
.review-card {
  position: relative;
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  padding: var(--space-m);
  padding-right: calc(var(--space-m) + 1.5rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.review-card[data-source="google"]   { border-top-color: var(--review-google); background: linear-gradient(180deg, rgba(66,133,244,0.06), transparent 45%), var(--paper); }
.review-card[data-source="facebook"] { border-top-color: var(--review-facebook); background: linear-gradient(180deg, rgba(24,119,242,0.06), transparent 45%), var(--paper); }
.review-card[data-source="yell"]     { border-top-color: var(--review-yell); background: linear-gradient(180deg, rgba(255,221,0,0.08), transparent 45%), var(--paper); }

.review-badge { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; }
.review-card[data-source="facebook"] .review-badge svg { fill: var(--review-facebook); }
.review-card[data-source="google"] .review-badge svg { fill: var(--review-google); }
.review-badge--yell {
  position: absolute; top: 16px; right: 16px;
  background: var(--review-yell);
  color: #0a0a0a;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: -0.01em;
  padding: 2px 8px;
  border-radius: 4px;
  width: auto; height: auto;
}
.review-stars { color: var(--copper); letter-spacing: 0.15em; font-size: var(--step-0); margin-bottom: 0.6rem; }
.review-text { color: var(--text); margin-bottom: var(--space-s); max-width: none; }
.review-author { margin-top: auto; padding-top: var(--space-s); border-top: 1px solid var(--hairline); }
.review-name { display: block; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
.review-source-label { color: var(--text-muted); font-size: 0.8rem; }

@media (hover: hover) and (pointer: fine) {
  .review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
}

.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-m);
  padding: var(--space-m);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--review-facebook);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: var(--space-l);
}
.rating-score {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.rating-meta { display: grid; gap: 0.2rem; }
.rating-meta .review-stars { margin: 0; }

/* --------------------------------------------------------------------------
   9b. Review carousel — side-by-side, auto-advancing, snap-scrolled
   -------------------------------------------------------------------------- */
.carousel { position: relative; }

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  /* Exactly one full-width card below 760px. A max-width here (26rem) leaves the
     next card peeking in on any viewport wider than the cap. */
  grid-auto-columns: 100%;
  gap: var(--space-m);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* room for the cards' hover lift so it is not clipped by the scroll box */
  padding-block: 6px 10px;
}
.carousel-track::-webkit-scrollbar { width: 0; height: 0; }
.carousel-track > * { scroll-snap-align: start; }

@media (min-width: 760px) {
  .carousel-track { grid-auto-columns: calc((100% - var(--space-m)) / 2); }
}
@media (min-width: 1100px) {
  .carousel-track { grid-auto-columns: calc((100% - (var(--space-m) * 2)) / 3); }
}

.carousel-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  margin-top: var(--space-s);
}
.carousel-dots { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.carousel-dots li { max-width: none; }
.carousel-dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 44px;
  padding: 0;
}
.carousel-dot::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--hairline);
  transition: background-color 0.2s ease;
}
.carousel-dot[aria-current="true"]::before { background: var(--copper); }
.on-dark .carousel-dot::before, .band--dark .carousel-dot::before { background: var(--hairline-dark); }

.carousel-nav { display: flex; gap: 0.5rem; }
.carousel-btn {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.carousel-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (hover: hover) and (pointer: fine) {
  .carousel-btn:hover { border-color: var(--copper); color: var(--copper); }
  .carousel-dot:hover::before { background: var(--steel); }
}

/* --------------------------------------------------------------------------
   10. Gallery + lightbox
   -------------------------------------------------------------------------- */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-m);
  padding: 0;
  list-style: none;
}
.gallery-tabs li { max-width: none; }
.tab-btn {
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tab-btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

@media (hover: hover) and (pointer: fine) {
  .tab-btn:hover { border-color: var(--copper); color: var(--copper); }
  .tab-btn[aria-selected="true"]:hover { color: var(--paper); border-color: var(--ink); }
}

/* column-width does not accept percentages, so a bare length is used here;
   multicol never overflows its container, it just drops to a single column. */
.masonry { columns: 20rem; column-gap: var(--space-m); }
.masonry > * { break-inside: avoid; margin-bottom: var(--space-m); }

.shot {
  display: block;
  width: 100%;
  padding: 0;
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bone);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.shot[hidden] { display: none; }
.shot img { width: 100%; height: auto; transition: transform 0.5s ease; }
.shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 0.9rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(23,24,26,0.88));
  color: var(--text-invert);
  font-size: var(--step--1);
  line-height: 1.35;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.shot:focus-visible figcaption { opacity: 1; transform: translateY(0); }

@media (hover: hover) and (pointer: fine) {
  .shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
  .shot:hover img { transform: scale(1.04); }
  .shot:hover figcaption { opacity: 1; transform: translateY(0); }
}
@media (hover: none) {
  .shot figcaption { opacity: 1; transform: none; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(12, 13, 14, 0.94);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: grid; }
.lightbox-figure { margin: 0; max-width: min(100%, 60rem); display: grid; justify-items: center; gap: var(--space-s); }
.lightbox-figure img {
  max-height: 78svh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-l);
}
.lightbox-caption { color: var(--text-invert-muted); text-align: center; font-size: var(--step--1); max-width: 60ch; }
.lightbox-btn {
  position: absolute;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(251, 249, 245, 0.1);
  border: 1px solid rgba(251, 249, 245, 0.25);
  color: var(--text-invert);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.lightbox-btn svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { top: clamp(0.75rem, 3vw, 1.5rem); right: clamp(0.75rem, 3vw, 1.5rem); }
.lightbox-prev { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute;
  bottom: clamp(0.75rem, 3vw, 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  color: var(--text-invert-muted);
}

@media (hover: hover) and (pointer: fine) {
  .lightbox-btn:hover { background: rgba(251, 249, 245, 0.2); color: var(--text-invert); }
}

/* --------------------------------------------------------------------------
   11. Split feature (about / area)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  position: relative;
}
.split-media img { width: 100%; height: auto; }

@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4.5rem); }
  .split--reverse .split-media { order: 2; }
}

.pull-quote {
  margin: var(--space-l) 0 0;
  padding-left: var(--space-m);
  border-left: 3px solid var(--copper);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--ink);
}
.on-dark .pull-quote, .band--dark .pull-quote { color: var(--text-invert); }
.pull-quote cite {
  display: block;
  margin-top: var(--space-s);
  font-family: var(--font-mono);
  font-style: normal;
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.on-dark .pull-quote cite { color: var(--text-invert-muted); }

/* --------------------------------------------------------------------------
   12. Map & coverage
   -------------------------------------------------------------------------- */
#map {
  height: clamp(20rem, 50vh, 35rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline-dark);
  overflow: hidden;
  /* Leaflet gives its panes and controls z-index 400-1000. Without a stacking
     context here those compete with the fixed nav (z-index 100) and win, so the
     tiles scroll over the top of it. position + z-index traps them inside #map. */
  position: relative;
  z-index: 0;
}
.leaflet-container { background: #1d2733; font-family: var(--font-body); }
.leaflet-popup-content-wrapper {
  background: var(--charcoal);
  color: var(--text-invert);
  border: 1px solid var(--hairline-dark);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.leaflet-popup-content { margin: 12px 16px; line-height: 1.45; }
.leaflet-popup-tip { background: var(--charcoal); }
.leaflet-popup-close-button { color: var(--text-invert-muted); }
.leaflet-control-attribution { background: rgba(23,24,26,0.75); color: var(--text-invert-muted); }
.leaflet-control-attribution a { color: var(--copper-light); }

.area-card {
  display: block;
  padding: var(--space-m);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}
.area-card h3 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.area-card p { color: var(--text-muted); font-size: var(--step--1); margin-bottom: 0.6rem; }
.area-card span {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}

@media (hover: hover) and (pointer: fine) {
  .area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); color: var(--ink); }
}

.town-pills { list-style: none; margin: var(--space-m) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.town-pills li {
  max-width: none;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--paper);
}
.on-dark .town-pills li, .band--dark .town-pills li {
  border-color: var(--hairline-dark);
  color: var(--text-invert-muted);
  background: rgba(251, 249, 245, 0.04);
}

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: var(--space-m); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: var(--space-m);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.contact-card .card-icon { margin-bottom: 0.25rem; }
.contact-card strong { font-family: var(--font-display); font-size: var(--step-1); letter-spacing: -0.02em; }
.contact-card span { color: var(--text-muted); font-size: var(--step--1); }

@media (hover: hover) and (pointer: fine) {
  .contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); color: var(--ink); }
}

.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--space-s); }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: var(--step--1);
}
.hours-table th { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.hours-table td { text-align: right; font-weight: 700; color: var(--ink); }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.faq {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-s);
  padding: var(--space-m) 0;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1;
  color: var(--copper);
  transition: transform 0.24s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding-bottom: var(--space-m); color: var(--text-muted); }
.faq-answer p:last-child { margin-bottom: 0; }

@media (hover: hover) and (pointer: fine) {
  .faq summary:hover { color: var(--copper); }
}

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { max-width: 18ch; }
.cta-inner { display: grid; gap: var(--space-m); align-items: center; }

@media (min-width: 900px) {
  .cta-inner { grid-template-columns: 1.2fr 0.8fr; gap: var(--space-l); }
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--charcoal);
  color: var(--text-invert-muted);
  padding-block: clamp(2.5rem, 6vw, 4rem) 0;
  position: relative;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}
.footer-grid {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.footer-brand .brand-mark { height: 34px; filter: invert(1) brightness(1.6); mix-blend-mode: screen; }
.footer-title {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin: 0 0 var(--space-s);
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-list li { max-width: none; }
.footer-list a { color: var(--text-invert-muted); text-decoration: none; font-size: var(--step--1); }
.footer-list a:hover { color: var(--text-invert); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p { color: var(--text-invert-muted); font-size: var(--step--1); margin-top: var(--space-s); }

.social-row { display: flex; gap: 0.6rem; margin-top: var(--space-s); }
.social-row a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  color: var(--text-invert-muted);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-row svg { width: 20px; height: 20px; }

@media (hover: hover) and (pointer: fine) {
  .social-row a:hover { background: var(--copper); border-color: var(--copper); color: var(--paper); }
}

.footer-bottom {
  margin-top: var(--space-l);
  border-top: 1px solid var(--hairline-dark);
  padding-block: var(--space-m);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: space-between;
  align-items: center;
  font-size: var(--step--2);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.footer-bottom p { margin: 0; max-width: none; color: var(--text-invert-muted); }
.footer-bottom a { color: var(--copper-light); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   17. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
    transition-duration: 0.001ms;
    scroll-behavior: auto;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   18. Hidden crawl links
   -------------------------------------------------------------------------- */
.seo-links { display: none; }
