/* ===================================================================
   Youngs Renovations & Maintenance — style.css  [V2]
   -------------------------------------------------------------------
   PALETTE IS TAKEN DIRECTLY FROM THE LOGO.
   Sampled from the supplied artwork (v3 of the logo):
       #E9E0D7  cream       (logo background)
       #B3A08F  taupe       (the Y stroke, "RENOVATIONS", the rule)
       #75716E  logo dark   (the house/roof, "YOUNGS")
   Everything else is a tint or shade of those three.

   Two notes on why the literal logo colours are not used everywhere:
     · #75716E only reaches 3.7:1 on cream, so it is NOT safe as body text.
       --slate (#5C5854) is the same hue taken deeper and is used instead;
       #75716E appears only inside the artwork itself.
     · #75716E is also too light to carry a full-page background, so --ink
       (#363432) is the deeper shade used as the page ground.

   Measured contrast (WCAG 2.1, verified in-browser):
     cream       on ink         9.5:1   body text on dark
     cream-dim   on ink         5.8:1   secondary text on dark
     taupe       on ink         4.9:1   accents, links
     taupe-light on ink         7.3:1   eyebrows, index numerals
     taupe       on ink-raise   4.6:1   (ink-raise tuned to clear AA here)
     ink         on cream       9.5:1   body text on light bands
     slate       on cream       5.4:1   secondary text on light
     taupe-deep  on cream       4.8:1   links on light
     ink         on taupe       4.9:1   button text (white would be 2.5:1)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  /* ---- Straight from the logo ---- */
  --cream: #E9E0D7;
  --taupe: #B3A08F;
  --slate: #5C5854;
  --white: #FFFFFF;

  /* ---- Shades and tints of the above ---- */
  --ink:         #363432;   /* slate taken deeper — the page ground */
  --ink-raise:   #3C3936;   /* lifted panel on the dark ground */
  --line-dark:   #57534F;   /* hairline on dark */
  --line:        #D9CFC3;   /* hairline on light */
  --taupe-light: #D2C4B4;   /* tint — eyebrows and numerals on dark */
  --taupe-deep:  #6E5D4B;   /* shade — link/label text on light */
  --cream-dim:   #B8B0A6;   /* secondary body text on dark */

  /* ---- Type ---- */
  --font-serif: 'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* ---- Rhythm ---- */
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --wrap: 1240px;
  --wrap-narrow: 780px;
  --gutter: 1.25rem;
  --rail: 0px;

  --header-h: 76px;
  --actionbar-h: 60px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================================
   1. RESET & BASE
   =================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: var(--actionbar-h);
}

img, picture, video, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 6.5vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.625rem); }
h4 { font-size: 1.0625rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 var(--space-md); max-width: 66ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--taupe); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 var(--space-md); padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--taupe); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--taupe); color: var(--ink);
  padding: 0.75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ===================================================================
   2. LAYOUT — the numbered index rail is v2's signature
   =================================================================== */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.band { padding-block: var(--space-xl); }
.band--light { background: var(--cream); color: var(--ink); }
.band--light a { color: var(--taupe-deep); }
.band--light h1, .band--light h2, .band--light h3 { color: var(--ink); }
.band--raise { background: var(--ink-raise); }
.band--line { border-top: 1px solid var(--line-dark); }
.band--light.band--line { border-top-color: var(--line); }

.index { display: grid; grid-template-columns: 1fr; gap: var(--space-sm) var(--space-lg); margin-bottom: var(--space-lg); }
.index__num {
  font-family: var(--font-sans);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.18em;
  color: var(--taupe-light);
  padding-top: 0.5rem; border-top: 1px solid var(--line-dark);
}
.band--light .index__num { color: var(--taupe-deep); border-top-color: var(--line); }
.index__body { max-width: 60ch; }
.index__body h2 { margin-bottom: var(--space-sm); }
.index__body p { color: var(--cream-dim); margin: 0; }
.band--light .index__body p { color: var(--slate); }

.eyebrow {
  display: block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--taupe-light); margin-bottom: var(--space-sm);
}
.band--light .eyebrow { color: var(--taupe-deep); }

.lead { font-size: 1.125rem; color: var(--cream-dim); }
.band--light .lead { color: var(--slate); }
.muted { color: var(--cream-dim); }
.band--light .muted { color: var(--slate); }

/* ===================================================================
   3. BUTTONS
   =================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 50px; padding: 0.75rem 1.625rem;
  font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 600;
  border: 1px solid transparent; border-radius: 0; cursor: pointer; text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--taupe); color: var(--ink); }
.btn--primary:hover { background: var(--taupe-light); color: var(--ink); }
.btn--outline { background: transparent; color: var(--cream); border-color: var(--line-dark); }
.btn--outline:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.band--light .btn--outline { color: var(--ink); border-color: var(--ink); }
.band--light .btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px; font-weight: 600; font-size: 0.9375rem; color: var(--taupe);
}
.band--light .text-link { color: var(--taupe-deep); }
.text-link::after { content: '→'; transition: transform var(--transition); }
.text-link:hover::after { transform: translateX(3px); }

/* Two-path chooser — splits homeowners from property managers */
.paths { display: grid; gap: 0.75rem; grid-template-columns: 1fr; margin-top: var(--space-lg); }
.path {
  display: flex; flex-direction: column; justify-content: center; gap: 0.25rem;
  min-height: 84px; padding: 1rem 1.25rem;
  background: rgba(233, 224, 215, 0.06);
  border: 1px solid var(--line-dark); color: var(--cream);
  transition: background var(--transition), border-color var(--transition);
}
.path:hover { background: rgba(233, 224, 215, 0.12); border-color: var(--taupe); text-decoration: none; }
.path__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe-light); }
.path__title { font-size: 1.0625rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.path__title::after { content: '→'; color: var(--taupe); transition: transform var(--transition); }
.path:hover .path__title::after { transform: translateX(4px); }
.path__note { font-size: 0.8125rem; color: var(--cream-dim); }

/* ===================================================================
   4. ANNOUNCEMENT BAR + HEADER
   =================================================================== */

.announce { background: var(--taupe); color: var(--ink); font-size: 0.8125rem; padding-inline: var(--gutter); }
.announce__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0 0.25rem; min-height: 44px; padding-block: 0.25rem; text-align: center;
  max-width: var(--wrap); margin-inline: auto;
}
.announce a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding-inline: 0.25rem; color: var(--ink); font-weight: 600; text-decoration: underline;
}
.announce__sep { opacity: 0.5; margin-inline: 0.35rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink); border-bottom: 1px solid var(--line-dark);
  transition: border-color var(--transition);
}
.site-header.is-scrolled { border-bottom-color: var(--taupe); }
.header-inner {
  display: flex; align-items: center; gap: var(--space-md);
  min-height: var(--header-h); max-width: var(--wrap);
  margin-inline: auto; padding-inline: var(--gutter);
}

/* ---- Logo lockup: real mark + typographic wordmark ---- */
.logo { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; min-height: 44px; }
.logo:hover { text-decoration: none; }
.logo__mark { width: auto; height: 40px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.12; }
.logo__name {
  font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream);
}
.logo__tag {
  font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--taupe);
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.125rem; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  display: flex; align-items: center; min-height: 44px; padding: 0 0.875rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cream);
}
.nav__link:hover { color: var(--taupe); text-decoration: none; }
.nav__link.is-active { color: var(--taupe-light); box-shadow: inset 0 -2px 0 var(--taupe-light); }

.header-actions { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 44px; padding: 0 0.5rem;
  font-size: 0.9375rem; font-weight: 600; color: var(--cream); white-space: nowrap;
}
.header-phone:hover { color: var(--taupe); text-decoration: none; }
.header-phone svg { width: 16px; height: 16px; }
.header-cta { padding-inline: 1.125rem; white-space: nowrap; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-dark); cursor: pointer; padding: 0;
}
.nav-toggle__bars { display: block; width: 20px; height: 12px; position: relative; }
.nav-toggle__bars span {
  position: absolute; left: 0; display: block; width: 100%; height: 1.5px;
  background: var(--cream); transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) 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(-5px) rotate(-45deg); }

/* ===================================================================
   5. DRAWER
   =================================================================== */

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(24, 22, 21, 0.62);
  opacity: 0; visibility: hidden; z-index: 110;
  transition: opacity var(--transition), visibility var(--transition);
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(90vw, 400px);
  background: var(--ink); border-left: 1px solid var(--line-dark);
  z-index: 120; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--transition); overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); padding: var(--space-sm) var(--gutter);
  border-bottom: 1px solid var(--line-dark);
}
.drawer__title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); }
.drawer__close {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-dark);
  color: var(--cream); font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.drawer__list { list-style: none; margin: 0; padding: 0; flex: 1; }
.drawer__list li { margin: 0; border-bottom: 1px solid var(--line-dark); }
.drawer__link {
  display: flex; align-items: baseline; gap: 0.875rem;
  min-height: 60px; padding: 1rem var(--gutter);
  font-family: var(--font-serif); font-size: 1.375rem; font-weight: 500; color: var(--cream);
}
.drawer__link:hover { background: var(--ink-raise); text-decoration: none; }
.drawer__link.is-active { color: var(--taupe-light); }
.drawer__link .n { font-family: var(--font-sans); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; color: var(--taupe); }
.drawer__foot { padding: var(--space-md) var(--gutter) var(--space-lg); border-top: 1px solid var(--line-dark); display: grid; gap: 0.625rem; }
.drawer__meta { font-size: 0.8125rem; color: var(--cream-dim); margin: 0; }

body.nav-open { overflow: hidden; }

/* ===================================================================
   6. HERO
   =================================================================== */

.hero { border-bottom: 1px solid var(--line-dark); }
.hero__grid { display: grid; grid-template-columns: 1fr; }
.hero__body { padding: var(--space-xl) var(--gutter) var(--space-lg); max-width: var(--wrap); margin-inline: auto; width: 100%; }
.hero h1 { margin-bottom: var(--space-md); }
.hero h1 em { font-style: normal; color: var(--taupe); }
.hero__sub { font-size: 1.125rem; color: var(--cream-dim); max-width: 46ch; margin-bottom: 0; }
.hero__media { position: relative; min-height: 300px; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.shot-note {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink); color: var(--cream);
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-top: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark);
}

/* ===================================================================
   7. TRUST STRIP
   =================================================================== */

.strip { border-bottom: 1px solid var(--line-dark); }
.strip__grid { display: grid; grid-template-columns: 1fr; }
.strip__item { display: flex; align-items: baseline; gap: 0.75rem; padding: 1.125rem 0; border-bottom: 1px solid var(--line-dark); }
.strip__item:last-child { border-bottom: 0; }
.strip__n { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; color: var(--taupe); flex-shrink: 0; }
.strip__t { font-size: 0.9375rem; font-weight: 600; margin: 0 0 0.1rem; }
.strip__d { font-size: 0.8125rem; color: var(--cream-dim); margin: 0; }

/* ===================================================================
   8. SPLIT
   =================================================================== */

.split { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__body > :last-child { margin-bottom: 0; }

.pull {
  font-family: var(--font-serif); font-size: 1.3125rem; font-weight: 500; line-height: 1.4;
  color: var(--taupe); border-left: 2px solid var(--taupe-light);
  padding-left: 1.125rem; margin: var(--space-md) 0; max-width: 42ch;
}
.band--light .pull { color: var(--taupe-deep); border-left-color: var(--taupe); }

/* ===================================================================
   9. SERVICE ROWS
   =================================================================== */

.rows { border-top: 1px solid var(--line-dark); }
.band--light .rows { border-top-color: var(--line); }
.row-item {
  display: grid; grid-template-columns: 1fr; gap: 0.5rem var(--space-lg);
  padding: var(--space-md) 0; border-bottom: 1px solid var(--line-dark);
  transition: background var(--transition), padding var(--transition);
}
.band--light .row-item { border-bottom-color: var(--line); }
.row-item:hover { background: var(--ink-raise); }
.band--light .row-item:hover { background: var(--white); }
.row-item__n { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; color: var(--taupe-light); padding-top: 0.35rem; }
.band--light .row-item__n { color: var(--taupe-deep); }
.row-item__t { font-size: clamp(1.25rem, 2.6vw, 1.625rem); margin: 0 0 0.375rem; }
.row-item__d { font-size: 0.9375rem; color: var(--cream-dim); margin: 0 0 0.5rem; max-width: 62ch; }
.band--light .row-item__d { color: var(--slate); }
.row-item__go { align-self: center; }

/* ===================================================================
   10. PROCESS STEPS
   =================================================================== */

.steps { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
.step { padding-top: var(--space-md); border-top: 1px solid var(--line-dark); }
.band--light .step { border-top-color: var(--line); }
.step__n {
  font-family: var(--font-serif); font-size: 2.25rem; font-weight: 500; line-height: 1;
  color: var(--taupe-light); display: block; margin-bottom: 0.625rem;
}
.band--light .step__n { color: var(--taupe-deep); }
.step h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-bottom: 0.4rem; }
.step p { font-size: 0.9375rem; color: var(--cream-dim); margin: 0; }
.band--light .step p { color: var(--slate); }

/* ===================================================================
   11. WHY US
   =================================================================== */

.reasons { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
.reason { padding-top: var(--space-md); border-top: 2px solid var(--taupe); }
.reason h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-bottom: 0.5rem; }
.reason p { font-size: 0.9375rem; color: var(--cream-dim); margin: 0; }
.band--light .reason p { color: var(--slate); }

/* ===================================================================
   12. REVIEWS
   =================================================================== */

.reviews { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--line-dark); border: 1px solid var(--line-dark); }
.band--light .reviews { background: var(--line); border-color: var(--line); }
.review { background: var(--ink); padding: var(--space-md); display: flex; flex-direction: column; }
.band--light .review { background: var(--cream); }
.review__quote { font-family: var(--font-serif); font-size: 1.0625rem; font-weight: 500; line-height: 1.5; margin-bottom: var(--space-md); flex: 1; }
.review__author { font-size: 0.8125rem; font-weight: 600; color: var(--cream-dim); margin: 0; }
.band--light .review__author { color: var(--slate); }
.review__author span { display: block; font-weight: 400; }

.todo-note {
  border: 1px dashed var(--taupe); padding: 0.875rem 1rem;
  font-size: 0.8125rem; color: var(--cream-dim); margin-top: var(--space-md);
}
.band--light .todo-note { color: var(--slate); }
.todo-note strong { color: var(--taupe-light); }
.band--light .todo-note strong { color: var(--taupe-deep); }

/* ===================================================================
   13. GALLERY
   =================================================================== */

.thumb-grid { display: grid; gap: 1px; background: var(--line-dark); grid-template-columns: repeat(2, 1fr); }
.thumb { position: relative; display: block; overflow: hidden; background: var(--ink-raise); border: 0; padding: 0; cursor: pointer; width: 100%; }
.thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 400ms cubic-bezier(0.4,0,0.2,1); }
.thumb:hover img, .thumb:focus-visible img { transform: scale(1.05); }
.thumb__cap {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(28,26,25,0.92), rgba(28,26,25,0));
  color: var(--cream); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; text-align: left;
  padding: 1.5rem 0.625rem 0.5rem;
}

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-lg); }
.filter {
  min-height: 44px; padding: 0 1.125rem;
  background: transparent; border: 1px solid var(--line-dark); border-radius: 0;
  font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.filter:hover { border-color: var(--taupe); color: var(--taupe); }
.filter[aria-pressed="true"] { background: var(--taupe); border-color: var(--taupe); color: var(--ink); }

.gallery-grid { display: grid; gap: 1px; background: var(--line-dark); grid-template-columns: repeat(2, 1fr); }
.gallery-item.is-hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(24, 22, 21, 0.97);
  display: none; align-items: center; justify-content: center; padding: var(--gutter);
}
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox__figure img { max-width: 100%; max-height: 78vh; width: auto; object-fit: contain; margin-inline: auto; }
.lightbox__cap { color: var(--cream-dim); font-size: 0.875rem; text-align: center; padding-top: 0.875rem; }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-dark); color: var(--cream);
  font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.lightbox__btn:hover { background: var(--taupe); color: var(--ink); border-color: var(--taupe); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.75rem; top: 50%; transform: translateY(-50%); }

/* ===================================================================
   14. AREAS COVERED
   =================================================================== */

.areas { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 var(--space-md); padding: 0; list-style: none; }
.areas li { margin: 0; }
.areas span, .areas a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border: 1px solid var(--line-dark); font-size: 0.875rem; font-weight: 500; color: var(--cream);
}
.band--light .areas span, .band--light .areas a { border-color: var(--line); color: var(--ink); }
.areas .is-base { background: var(--taupe); border-color: var(--taupe); color: var(--ink); font-weight: 600; }

/* ===================================================================
   15. FAQ — <details>/<summary>, works with JS disabled
   =================================================================== */

.faq { border-top: 1px solid var(--line-dark); }
.band--light .faq { border-top-color: var(--line); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.band--light .faq details { border-bottom-color: var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  min-height: 64px; padding: 1rem 0;
  font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 600;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--taupe); }
.band--light .faq summary:hover { color: var(--taupe-deep); }
.faq summary .sign {
  flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); font-size: 1rem; line-height: 1;
  transition: transform var(--transition), background var(--transition);
}
.band--light .faq summary .sign { border-color: var(--line); }
.faq details[open] summary .sign { transform: rotate(45deg); background: var(--taupe); color: var(--ink); border-color: var(--taupe); }
.faq__answer { padding: 0 0 var(--space-md); }
.faq__answer p { color: var(--cream-dim); font-size: 0.9375rem; }
.band--light .faq__answer p { color: var(--slate); }

/* ===================================================================
   16. KEY FACTS  — a compact, quotable summary block.
   Machine-readable <dl>, which is what answer engines lift cleanly.
   =================================================================== */

.keyfacts { border-top: 1px solid var(--line-dark); margin: 0; padding: 0; }
.band--light .keyfacts { border-top-color: var(--line); }
.keyfacts > div {
  display: grid; grid-template-columns: 1fr; gap: 0.15rem 1.5rem;
  padding-block: 0.75rem; border-bottom: 1px solid var(--line-dark);
}
.band--light .keyfacts > div { border-bottom-color: var(--line); }
.keyfacts dt {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--taupe-light); padding-top: 0.2rem;
}
.band--light .keyfacts dt { color: var(--taupe-deep); }
.keyfacts dd { margin: 0; font-size: 0.9375rem; }
/* Inline links inside a <dd> default to the line-box height (18px), which is
   well under the 44px touch target. inline-flex lets them keep their place in
   the sentence while growing the hit area. */
.keyfacts a { display: inline-flex; align-items: center; min-height: 44px; }

/* ===================================================================
   17. CLOSING CTA
   =================================================================== */

.cta { background: var(--taupe); color: var(--ink); padding-block: var(--space-xl); }
.cta h2 { color: var(--ink); margin-bottom: var(--space-sm); }
.cta p { color: var(--ink); opacity: 0.88; margin-bottom: var(--space-lg); max-width: 52ch; }
.cta .eyebrow { color: var(--ink); opacity: 0.72; }
.cta .btn--primary { background: var(--ink); color: var(--cream); }
.cta .btn--primary:hover { background: var(--white); color: var(--ink); }
.cta .btn--outline { color: var(--ink); border-color: var(--ink); }
.cta .btn--outline:hover { background: var(--ink); color: var(--cream); }

/* ===================================================================
   18. PAGE HERO / BREADCRUMBS
   =================================================================== */

.page-hero { padding-block: var(--space-xl) var(--space-lg); border-bottom: 1px solid var(--line-dark); }
.page-hero h1 { margin-bottom: var(--space-md); }
.page-hero p { font-size: 1.0625rem; color: var(--cream-dim); max-width: 58ch; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: var(--space-xs); padding: 0; list-style: none; }
.breadcrumb li { margin: 0; display: flex; align-items: center; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream-dim); }
.breadcrumb li + li::before { content: '/'; margin-inline: 0.5rem; color: var(--taupe); }

/* ===================================================================
   19. SERVICE DETAIL
   =================================================================== */

.group-head { border-top: 2px solid var(--taupe); padding-top: var(--space-md); margin-bottom: var(--space-lg); }
.group-head h2 { margin-bottom: 0.5rem; }
.group-head p { color: var(--cream-dim); margin: 0; }
.band--light .group-head p { color: var(--slate); }

.detail { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; padding-block: var(--space-lg); border-bottom: 1px solid var(--line-dark); }
.band--light .detail { border-bottom-color: var(--line); }
.detail:last-of-type { border-bottom: 0; }
.detail__media { position: relative; }
.detail__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.detail h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3.4vw, 2.125rem); font-weight: 500; }
.detail p:not(.shot-note) { color: var(--cream-dim); }
.band--light .detail p:not(.shot-note) { color: var(--slate); }
.detail .btn-row { margin-top: var(--space-md); }

.ticks { list-style: none; padding: 0; margin: 0 0 var(--space-md); }
.ticks li { position: relative; padding-left: 1.5rem; font-size: 0.9375rem; color: var(--cream-dim); margin-bottom: 0.5rem; }
.band--light .ticks li { color: var(--slate); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--taupe); }

.prose h2 { margin-top: var(--space-lg); }
.prose h2:first-child { margin-top: 0; }
.prose p:not(.shot-note) { color: var(--cream-dim); }
.band--light .prose p:not(.shot-note) { color: var(--slate); }

/* ===================================================================
   20. CONTACT
   =================================================================== */

.contact-layout { display: grid; gap: var(--space-xl); grid-template-columns: 1fr; }
/* Grid items default to min-width:auto, so they refuse to shrink below their
   content's intrinsic width — the long <select> option ("Maintenance contract
   — care home or commercial") pushed the column past the viewport at 320px.
   min-width:0 lets the column shrink; the select then wraps its own text. */
.contact-layout > * { min-width: 0; }
.field select { max-width: 100%; }
.form-card { border: 1px solid var(--line-dark); padding: var(--space-md); background: var(--ink-raise); }
.field { margin-bottom: var(--space-md); }
.field label { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.45rem; }
.field .req { color: var(--taupe-light); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.875rem;
  font-family: var(--font-sans); font-size: 1rem; color: var(--cream);
  background: var(--ink); border: 1px solid var(--line-dark); border-radius: 0;
  transition: border-color var(--transition);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--taupe); outline: 2px solid var(--taupe); outline-offset: 0; }
.field input::placeholder, .field textarea::placeholder { color: var(--cream-dim); opacity: 1; }
.field__hint { font-size: 0.8125rem; color: var(--cream-dim); margin: 0.4rem 0 0; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E9E0D7' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.875rem center; padding-right: 2.25rem;
}
.honeypot { position: absolute; left: -9999px; }
.form-status { margin-top: var(--space-md); padding: 0.875rem 1rem; border: 1px solid var(--line-dark); font-size: 0.875rem; }
.form-status[hidden] { display: none; }

/* An implicit `auto` track sizes to its widest child's max-content, and the
   map <iframe> carries width="600", so the whole aside inflated past a 320px
   viewport. minmax(0,1fr) + min-width:0 caps the track at the available space. */
.contact-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
  align-content: start;
}
.contact-aside > * { min-width: 0; max-width: 100%; }
.info-block { border: 1px solid var(--line-dark); padding: var(--space-md); }
.info-block h2, .info-block h3 { font-size: 1.125rem; margin-bottom: 0.875rem; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 0.75rem; padding-block: 0.5rem; border-bottom: 1px solid var(--line-dark); font-size: 0.9375rem; margin: 0; }
.info-list li:last-child { border-bottom: 0; }
.info-list svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--taupe); margin-top: 0.85rem; }
.info-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); font-weight: 500; }
.info-list a:hover { color: var(--taupe); }
.info-list__label { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-dim); }
.info-list address { font-style: normal; }

.map-frame { border: 1px solid var(--line-dark); overflow: hidden; line-height: 0; max-width: 100%; }
.map-frame iframe { width: 100%; max-width: 100%; height: 320px; border: 0; display: block; }

.social-link { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 44px; font-weight: 600; font-size: 0.9375rem; color: var(--cream); }
.social-link svg { width: 20px; height: 20px; color: var(--taupe); }
.social-link:hover { color: var(--taupe); }

/* ===================================================================
   21. FOOTER
   =================================================================== */

.site-footer { border-top: 1px solid var(--line-dark); padding-top: var(--space-xl); font-size: 0.9375rem; }
.footer-grid { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; padding-bottom: var(--space-lg); }
.footer-logo { width: 180px; height: auto; margin-bottom: var(--space-md); }
.footer-brand__tag { color: var(--cream-dim); margin: 0 0 var(--space-md); max-width: 38ch; }
.site-footer address { font-style: normal; color: var(--cream); line-height: 1.7; }
.footer-contact { display: flex; flex-direction: column; margin-top: 0.5rem; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: var(--cream); }
.footer-contact a:hover { color: var(--taupe); }
.footer-col h2 { font-family: var(--font-sans); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0; }
.footer-col a, .footer-col span { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); }
.footer-col a:hover { color: var(--taupe); }
.footer-bar {
  border-top: 1px solid var(--line-dark); padding-block: var(--space-md);
  display: flex; flex-wrap: wrap; gap: 0.75rem var(--space-md);
  align-items: center; justify-content: space-between;
  font-size: 0.75rem; letter-spacing: 0.04em; color: var(--cream-dim);
}
.footer-bar p { margin: 0; }

/* ===================================================================
   22. STICKY MOBILE ACTION BAR
   =================================================================== */

.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: 1fr 1fr;
  height: var(--actionbar-h);
  border-top: 1px solid var(--line-dark); background: var(--ink);
}
.actionbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--cream); }
.actionbar a:hover { text-decoration: none; }
.actionbar a svg { width: 18px; height: 18px; }
.actionbar a + a { background: var(--taupe); color: var(--ink); }

/* ===================================================================
   23. 404
   =================================================================== */

.notfound { padding-block: var(--space-2xl); text-align: center; }
.notfound .logo { justify-content: center; margin-bottom: var(--space-lg); }
.notfound p { margin-inline: auto; }
.notfound .btn-row { justify-content: center; }

/* ===================================================================
   24. RESPONSIVE
   =================================================================== */

@media (min-width: 560px) {
  .strip__grid { grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); }
  .strip__item { background: var(--ink); border-bottom: 0; padding: 1.125rem 1.25rem; }
  .thumb-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .keyfacts > div { grid-template-columns: 11rem 1fr; }
}

@media (min-width: 720px) {
  :root { --gutter: 2rem; }
  .band { padding-block: var(--space-2xl); }
  .reasons { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1.15fr; gap: var(--space-xl); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-xl); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .thumb-grid { grid-template-columns: repeat(6, 1fr); }
  .contact-layout { grid-template-columns: 1.2fr 1fr; }
  .form-card { padding: var(--space-lg); }
}

@media (min-width: 900px) {
  :root { --rail: 200px; }
  .index { grid-template-columns: var(--rail) 1fr; }
  .row-item { grid-template-columns: var(--rail) 1fr auto; align-items: start; }
  .row-item:hover { padding-inline: 1rem; }
  .row-item__go { justify-self: end; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .reasons { grid-template-columns: repeat(4, 1fr); }
  .detail { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .detail:nth-of-type(even) .detail__media { order: -1; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .hero__body {
    display: flex; flex-direction: column; justify-content: center;
    padding: var(--space-2xl) var(--space-xl) var(--space-2xl) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    margin-inline: 0; max-width: none;
  }
  .hero__media { min-height: 620px; }
}

/* The full desktop header (logo + 5 links + phone + CTA) needs ~1070px.
   Switching at 1024px overflowed by ~43px in the 1024-1080 band, so the
   drawer is held until 1100px. */
@media (max-width: 1099px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .header-actions { margin-left: auto; }
}
@media (min-width: 1100px) {
  .nav-toggle, .drawer, .nav-backdrop { display: none !important; }
  .actionbar { display: none; }
  body { padding-bottom: 0; }
}

@media (max-width: 479px) {
  :root { --gutter: 1rem; }
  .header-inner { gap: 0.625rem; }
  .logo__tag { display: none; }
  .logo__mark { height: 34px; }
  .header-actions { gap: 0.5rem; }
  .header-cta { padding-inline: 0.875rem; font-size: 0.875rem; }
  .announce { font-size: 0.75rem; }
  h1 { font-size: 2.0625rem; }
}

/* Smallest phones still in use (iPhone SE 1st gen is 320px): logo + CTA +
   hamburger overflowed by ~18px. Trimming the CTA and the wordmark clears it. */
@media (max-width: 359px) {
  .header-inner { gap: 0.5rem; }
  .header-actions { gap: 0.4rem; }
  .header-cta { padding-inline: 0.625rem; font-size: 0.8125rem; }
  .logo__mark { height: 30px; }
  .logo__name { font-size: 0.875rem; letter-spacing: 0.1em; }
  .logo { gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .thumb:hover img { transform: none; }
  .row-item:hover { padding-inline: 0; }
}

@media print {
  .site-header, .announce, .drawer, .nav-backdrop, .actionbar, .cta, .lightbox { display: none !important; }
  body { background: var(--white); color: var(--ink); padding-bottom: 0; }
}
