/* ============================================================================
   Noir — design system
   Structure measured from southernbotanical.com; palette + type from the Noir
   logo (black wordmark, warm cream ground, muted antique gold).
   See sites/_shared/references/DESIGN_SYSTEM.md
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand — the ink plays the role SoBo's green plays: headings, dark bands,
     footer, filled CTA. Gold plays the role of their bright green: eyebrows
     and arrow links only, never large areas. */
  --ink:        #15140f;
  --ink-soft:   #24211a;
  --body:       #4c463c;
  --body-light: #6b6458;
  --gold:       #a3833f;
  --gold-lift:  #c2a05a;   /* on dark backgrounds */
  --paper:      #ffffff;
  --cream:      #f4f1e9;
  --cream-deep: #ebe6da;
  --line:       #e2ddd0;
  --line-dark:  rgba(255,255,255,.16);

  --radius: 6px;
  --radius-lg: 8px;

  /* Fluid type — floor/ceiling matched to the measured SoBo scale */
  --t-display: clamp(2.6rem, 1.6rem + 3.1vw, 4rem);      /* hero  ~42→64 */
  --t-h1:      clamp(2.1rem, 1.5rem + 1.9vw, 2.9rem);    /* h1    ~34→46 */
  --t-h2:      clamp(1.65rem, 1.3rem + 1.1vw, 2.1rem);   /* h2    ~26→34 */
  --t-h3:      clamp(1.2rem, 1.06rem + .45vw, 1.45rem);  /* h3    ~19→23 */
  --t-body:    1rem;
  --t-lede:    clamp(1.02rem, .98rem + .22vw, 1.14rem);
  --t-small:   .875rem;
  --t-eyebrow: .78rem;

  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans:  "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Spacing rhythm — SoBo's sections breathe at ~120px desktop */
  --gap:      2rem;
  --section:  clamp(4rem, 2.4rem + 6.4vw, 7.5rem);
  --shell:    1152px;   /* measured content width at 1440 */
  --shell-pad: clamp(1.25rem, .55rem + 2.8vw, 3rem);
}

/* Fraunces is a variable Scotch modern. Turn OFF the soft/wonk axes so it
   reads as a serious display serif rather than a playful one. */
* { font-variation-settings: "SOFT" 0, "WONK" 0; }

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Headings carry the brand colour, the way SoBo tints everything green. */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.08; }
h2 { font-size: var(--t-h2); line-height: 1.14; }
h3 { font-size: var(--t-h3); line-height: 1.22; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--ink); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem;
}
.skip-link:focus { left: 0; }

/* ---------- 2. Layout primitives ---------------------------------------- */
.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--shell-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}
.shell--narrow { max-width: calc(760px + var(--shell-pad) * 2); }

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .62); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); }

/* Text on dark bands */
.section--ink,
.section--ink p,
.on-ink, .on-ink p { color: rgba(255,255,255,.78); }
.section--ink h1, .section--ink h2, .section--ink h3,
.on-ink h1, .on-ink h2, .on-ink h3 { color: #fff; }
.section--ink .eyebrow, .on-ink .eyebrow { color: var(--gold-lift); }

/* ---------- 3. Type components ------------------------------------------ */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9rem;
}
.lede {
  font-size: var(--t-lede);
  line-height: 1.62;
  color: var(--body);
  max-width: 60ch;
}
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 1rem + 2.4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head h2 + .lede { margin-top: 1.1rem; }

/* Long-form prose used on service pages */
.prose h2 { margin-top: 2.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; margin-bottom: .5em; font-size: 1.18rem; }
.prose > h2 + p { margin-top: 1rem; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.15rem; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a:not(.btn):not(.arrow) {
  color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--gold); text-underline-offset: 3px;
}
.prose a:not(.btn):not(.arrow):hover { color: var(--gold); }

/* ---------- 4. Buttons + links ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--gold); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold); color: #fff; }
.btn--wide { width: 100%; }

/* SoBo's signature secondary CTA: uppercase gold text + arrow */
.arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold);
}
.arrow::after {
  content: ""; width: 1.15rem; height: 1px; background: currentColor;
  transition: width .2s ease;
}
.arrow:hover::after { width: 1.9rem; }
.on-ink .arrow, .section--ink .arrow { color: var(--gold-lift); }

/* ---------- 5. Utility bar + header ------------------------------------- */
.utility {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  letter-spacing: .04em;
}
.utility .shell {
  display: flex; align-items: center; justify-content: flex-end;
  min-height: 40px;
}
.utility__nav { display: flex; align-items: center; gap: 1.75rem; }
.utility__nav a {
  font-size: .8rem; font-weight: 500; letter-spacing: .06em;
  color: rgba(255,255,255,.78);
}
.utility__nav a:hover, .utility__nav a[aria-current="page"] { color: var(--gold-lift); }

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.masthead .shell {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; flex: none; }
.brand__mark { width: 34px; height: 29px; color: var(--ink); flex: none; }
.brand__type { display: block; }
.brand__name {
  display: block;
  font-family: var(--sans);
  font-size: 1.28rem; font-weight: 700; letter-spacing: .2em;
  color: var(--ink); line-height: 1;
  padding-bottom: .28rem; border-bottom: 1.5px solid var(--gold);
}
.brand__sub {
  display: block; margin-top: .3rem; white-space: nowrap;
  font-size: .53rem; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: var(--body-light);
}

/* ---------- 6. Navigation + mega menu ----------------------------------- */
.nav { display: flex; align-items: center; gap: .1rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .62rem;
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  border-radius: var(--radius);
  white-space: nowrap;
}
@media (min-width: 881px) and (max-width: 1280px) {
  .nav__link { padding: .6rem .45rem; font-size: .85rem; }
  .masthead .btn { padding: .8rem 1rem; font-size: .72rem; }
  .masthead__actions { gap: .9rem; }
  .phone-cta { font-size: 1.14rem; }
  .phone-cta svg { width: 17px; height: 17px; }
  .brand__sub { display: none; }
}
.nav__link:hover, .nav__item[aria-expanded="true"] .nav__link { color: var(--gold); }
.nav__link[aria-current="page"] { color: var(--gold); }
.masthead__actions { display: flex; align-items: center; gap: 1.4rem; flex: none; }

/* The phone number is the highest-intent action on a contractor site, so it
   gets real display size rather than being tucked into a utility strip. */
.phone-cta {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans);
  font-size: 1.42rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--ink); white-space: nowrap; line-height: 1;
}
.phone-cta svg { width: 21px; height: 21px; color: var(--gold); flex: none; }
.phone-cta:hover { color: var(--gold); }

.nav__caret { width: 8px; height: 8px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); }

.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 560px; padding: 1.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 48px -20px rgba(21,20,15,.28);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease;
  z-index: 70;
}
.nav__item:hover > .mega,
.nav__item:focus-within > .mega { opacity: 1; visibility: visible; pointer-events: auto; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem 2rem; }
.mega__lead { grid-column: 1 / -1; padding-bottom: 1rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line); }
.mega__lead .eyebrow { margin-bottom: .5rem; }
.mega__lead p { font-size: var(--t-small); color: var(--body-light); margin: .35rem 0 0; }
.mega a.mega__link {
  display: block; padding: .5rem 0;
  font-size: .93rem; font-weight: 500; color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}
.mega a.mega__link:hover { color: var(--gold); }
.mega__all { grid-column: 1 / -1; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.nav__mobile-cta { display: none; }
.nav__secondary { display: none; }

.nav-close { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- 7. Hero ------------------------------------------------------ */
/* SoBo pattern: full-bleed photo, solid brand box anchored bottom-left that
   overhangs the bottom edge of the photo. */
.hero { position: relative; padding-bottom: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
.hero__media {
  position: relative;
  height: clamp(390px, 30vw + 220px, 660px);
  background: var(--cream-deep) center/cover no-repeat;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,20,15,.42) 0%, rgba(21,20,15,.08) 55%, transparent 100%);
}
.hero__panel {
  position: relative;
  margin-top: clamp(-5.5rem, -3rem - 4vw, -3rem);
  background: var(--ink);
  color: #fff;
  padding: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem);
  max-width: 44rem;
  border-radius: var(--radius);
  z-index: 2;
}
.hero__panel h1 { color: #fff; font-size: var(--t-display); line-height: 1.02; }
.hero__panel .eyebrow { color: var(--gold-lift); }
.hero__panel p { color: rgba(255,255,255,.8); margin-top: 1.1rem; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Compact hero for interior pages */
.pagehead { background: var(--cream); border-bottom: 1px solid var(--line); }
.pagehead .shell { padding-block: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); }
.pagehead h1 { max-width: 22ch; }
.pagehead .lede { margin-top: 1.1rem; }
.pagehead__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

.crumbs { font-size: .8rem; color: var(--body-light); margin-bottom: 1.1rem; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--line); margin: 0 .45rem; }

/* ---------- 8. Editorial split ------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 1rem + 4vw, 5.5rem);
  align-items: center;
}
.split + .split { margin-top: var(--section); }
/* Prose-heavy splits must align to the top — centring makes a long text
   column float against a short image and reads like a layout bug. */
.split--top { align-items: start; }
.split--flip .split__copy { order: 2; }
.split__media img,
.split__media .ph { border-radius: var(--radius); box-shadow: 0 18px 40px -22px rgba(21,20,15,.4); }
.split__copy .lede { margin-top: 1rem; }
.split__copy .arrow { margin-top: 1.4rem; }

/* Accordion list under split copy — SoBo's dense scannable sub-service list */
.rows { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.rows__item { border-bottom: 1px solid var(--line); }
.rows__item > a, .rows__item > .rows__label {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem 0;
  font-size: .96rem; font-weight: 700; color: var(--ink);
}
.rows__item > a:hover { color: var(--gold); }
.rows__item > a::after {
  content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.1rem;
  color: var(--gold); line-height: 1;
}
.on-ink .rows, .section--ink .rows { border-color: var(--line-dark); }
.on-ink .rows__item, .section--ink .rows__item { border-color: var(--line-dark); }
.on-ink .rows__item > a, .section--ink .rows__item > a { color: #fff; }

/* ---------- 9. Image tiles ---------------------------------------------- */
.tiles { display: grid; gap: 1.4rem; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 16px 34px -22px rgba(21,20,15,.45);
  background: var(--cream-deep);
}
.tile__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover .tile__img { transform: scale(1.04); }
.tile__body {
  position: absolute; inset: auto 0 0 0;
  padding: 1.5rem 1.35rem 1.25rem;
  background: linear-gradient(to top, rgba(21,20,15,.9) 0%, rgba(21,20,15,.55) 55%, transparent 100%);
}
.tile__title {
  font-family: var(--serif); font-size: 1.16rem; font-weight: 600; line-height: 1.2; color: #fff;
}
.tile__meta { display: block; margin-top: .3rem; font-size: .78rem; color: rgba(255,255,255,.72); }
.tile--cta {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--ink); aspect-ratio: 4 / 3; padding: 1.5rem;
}
.tile--cta .arrow { color: var(--gold-lift); }

/* ---------- 10. Cards (services / posts) -------------------------------- */
.cards { display: grid; gap: 1.4rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color .18s ease, transform .18s ease;
}
a.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; }
.card p { margin-top: .55rem; font-size: var(--t-small); color: var(--body-light); }
.card .arrow { margin-top: auto; padding-top: 1.1rem; }
.section--cream .card { background: var(--paper); }

/* ---------- 11. Areas + map panel --------------------------------------- */
.areas { position: relative; background: var(--cream); }
.areas__map {
  position: absolute; inset: 0; left: 30%;
  background: var(--cream-deep);
  overflow: hidden;
}
.areas__map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  /* Warm the Google tiles into the palette without washing them out — roads,
     labels and the water need to stay readable. */
  filter: saturate(.6) sepia(.22) contrast(1.04);
}
/* Feather only the left edge so the dark panel doesn't butt against the tiles. */
.areas__map::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(244,241,233,.72) 8%, transparent 26%);
}
/* Desaturating the tiles is a brand choice, but it shouldn't fight legibility
   once someone is actually using the map. Restore full colour on interaction. */
.areas__map:hover iframe, .areas__map:focus-within iframe { filter: none; }
.areas__map:hover::after, .areas__map:focus-within::after { opacity: .35; }
.areas__map::after { transition: opacity .25s ease; }
.areas__map iframe { transition: filter .25s ease; }

.areas__directions {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.1rem; font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lift);
}
.areas__directions svg { width: 15px; height: 15px; }
.areas__directions:hover { color: #fff; }
/* The shell is a transparent overlay column sitting on top of the map. It must
   not intercept pointer events or the map is dead to pan/zoom — only the panel
   itself should be clickable. */
.areas .shell {
  position: relative; z-index: 2; padding-block: var(--section);
  pointer-events: none;
}
.areas__panel { pointer-events: auto; }
.areas__map { z-index: 1; }
.areas__panel {
  background: var(--ink); color: rgba(255,255,255,.8);
  border-radius: var(--radius);
  padding: clamp(1.9rem, 1.2rem + 2.2vw, 3rem);
  max-width: 30rem;
}
.areas__panel h2 { color: #fff; }
.areas__panel .eyebrow { color: var(--gold-lift); }
.areas__list {
  list-style: none; margin: 1.7rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.2rem;
}
.areas__list li { display: flex; align-items: flex-start; gap: .55rem; font-size: .93rem; color: #fff; }
.areas__list li::before {
  content: ""; flex: none; width: 9px; height: 5px; margin-top: .52rem;
  border-left: 1.6px solid var(--gold-lift); border-bottom: 1.6px solid var(--gold-lift);
  transform: rotate(-45deg);
}
.areas__panel .btn { margin-top: 2rem; }

/* ---------- 12. Process -------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.step__img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--cream-deep); }
.step__n {
  display: block; margin: 1.1rem 0 .45rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--gold);
}
.step h3 { font-size: 1.06rem; }
.step p { margin-top: .45rem; font-size: var(--t-small); color: var(--body-light); }

/* ---------- 13. Stats ---------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat__n {
  font-family: var(--serif); font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem);
  font-weight: 600; line-height: 1; color: var(--ink);
}
.section--ink .stat__n { color: #fff; }
.stat__label { margin-top: .6rem; font-size: var(--t-small); color: var(--body-light); }
.section--ink .stat__label { color: rgba(255,255,255,.68); }

/* ---------- 14. Reviews -------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; display: flex; flex-direction: column;
}
.review__stars { color: var(--gold); letter-spacing: .16em; font-size: .95rem; }
.review__text { margin-top: .95rem; font-size: .95rem; }
.review__by { margin-top: auto; padding-top: 1.2rem; font-size: var(--t-small); color: var(--body-light); }
.review__by strong { display: block; color: var(--ink); font-weight: 700; }

.rating-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.3rem;
  padding: 1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
}
.rating-bar__score { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--ink); line-height: 1; }

/* ---------- 15. Trust strip --------------------------------------------- */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem 2rem;
  padding-block: 2.2rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust__item { display: flex; gap: .8rem; align-items: flex-start; }
.trust__mark { flex: none; width: 22px; height: 22px; color: var(--gold); }
.trust__item strong { display: block; color: var(--ink); font-size: .95rem; }
.trust__item span { font-size: var(--t-small); color: var(--body-light); }

/* ---------- 16. Cost table ---------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
table.data th, table.data td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th {
  background: var(--cream); color: var(--ink);
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td:first-child { color: var(--ink); font-weight: 500; }

/* ---------- 17. FAQ ------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink);
}
.faq__q:hover { color: var(--gold); }
.faq__sign { flex: none; position: relative; width: 14px; height: 14px; color: var(--gold); }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; background: currentColor; transition: transform .2s ease;
}
.faq__sign::before { top: 6px; left: 0; width: 14px; height: 1.6px; }
.faq__sign::after { left: 6px; top: 0; width: 1.6px; height: 14px; }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: scaleY(0); }
.faq__a { display: none; padding-bottom: 1.4rem; max-width: 68ch; }
.faq__q[aria-expanded="true"] + .faq__a { display: block; }

/* ---------- 18. Forms ---------------------------------------------------- */
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.2rem);
}
.section--ink .quote { border-color: transparent; }
.quote h2, .quote h3 { font-size: 1.4rem; }
.quote__note { font-size: .8rem; color: var(--body-light); margin-top: 1rem; }
.field { display: block; margin-bottom: 1rem; }
.field > span {
  display: block; margin-bottom: .4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

/* ---------- 19. Gallery -------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.filters button {
  padding: .55rem 1.1rem; background: none;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  font-size: .82rem; font-weight: 500; color: var(--body);
}
.filters button:hover { border-color: var(--gold); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.grid-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-gallery figure { margin: 0; }
.grid-gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
  position: relative;
}
.grid-gallery img {
  aspect-ratio: 4/3; width: 100%; object-fit: cover;
  border-radius: var(--radius); transition: transform .5s ease;
}
.grid-gallery button:hover img { transform: scale(1.04); }
.grid-gallery button::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: rgba(21,20,15,.18); opacity: 0; transition: opacity .2s ease;
}
.grid-gallery button:hover::after { opacity: 1; }

/* ---------- Lightbox ---------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: none; align-items: center; justify-content: center;
  background: rgba(12,11,8,.94);
  padding: clamp(1rem, .5rem + 2vw, 3rem);
}
.lightbox[data-open="true"] { display: flex; }
.lightbox__figure {
  margin: 0; max-width: min(1180px, 100%); max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.lightbox__img {
  max-width: 100%; max-height: calc(100vh - 11rem);
  width: auto; object-fit: contain; border-radius: var(--radius);
}
.lightbox__caption {
  color: rgba(255,255,255,.8); font-size: .9rem; text-align: center;
}
.lightbox__caption b { display: block; color: #fff; font-weight: 500; }
.lightbox__count { color: var(--gold-lift); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%; color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: var(--gold); border-color: var(--gold); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__prev { left: clamp(.5rem, .2rem + 1.4vw, 2rem); }
.lightbox__next { right: clamp(.5rem, .2rem + 1.4vw, 2rem); }
.lightbox__close {
  position: absolute; top: clamp(.75rem, .4rem + 1vw, 1.5rem); right: clamp(.75rem, .4rem + 1vw, 1.5rem);
  transform: none; width: 46px; height: 46px;
}
@media (max-width: 560px) {
  .lightbox__btn { width: 42px; height: 42px; }
  .lightbox__prev { left: .4rem; } .lightbox__next { right: .4rem; }
}
.is-hidden { display: none !important; }

/* Placeholder block for imagery the client will swap in later */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    repeating-linear-gradient(45deg, var(--cream) 0 12px, var(--cream-deep) 12px 24px);
  color: var(--body-light);
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  aspect-ratio: 4/3; padding: 1rem;
}

/* ---------- 20. CTA band + footer --------------------------------------- */
.cta-band { background: var(--ink); color: rgba(255,255,255,.8); }
.cta-band .shell { padding-block: var(--section); }
.cta-band__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,26rem); gap: clamp(2rem,1rem+3vw,4rem); align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: var(--gold-lift); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: .9rem; border-top: 1px solid var(--line-dark); }
.footer .shell { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer h3 {
  font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold-lift); margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55rem; }
.footer a:hover { color: #fff; }
.footer__brand .brand__name { color: #fff; border-bottom-color: var(--gold-lift); display: inline-block; }
.footer__brand .brand__sub { color: rgba(255,255,255,.55); }
.footer__nap { margin-top: 1.4rem; font-style: normal; line-height: 1.85; }
.footer__nap a { color: #fff; font-weight: 700; }
.footer__legal {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  font-size: .78rem; color: rgba(255,255,255,.5);
}
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- 21. Sticky mobile action bar -------------------------------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 1px;
  background: var(--line-dark);
  box-shadow: 0 -8px 24px -12px rgba(21,20,15,.5);
}
.actionbar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem .5rem; background: var(--ink); color: #fff;
  font-size: .82rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.actionbar a + a { background: var(--gold); }

/* ---------- 22. Responsive ---------------------------------------------- */
@media (max-width: 1024px) {
  .tiles--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .areas__map { left: 0; opacity: .35; }
  .cta-band__grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .masthead .shell { min-height: 68px; }
  .masthead .btn { display: none; }

  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 5.2rem 1.4rem 2rem;
    background: var(--paper); border-left: 1px solid var(--line);
    overflow-y: auto; transform: translateX(100%); transition: transform .26s ease;
    z-index: 90;
  }
  .nav[data-open="true"] { transform: none; }

  /* The drawer lives inside .masthead, so the masthead's own z-index caps it.
     Raise the whole header while the drawer is open, otherwise the scrim and
     the sticky action bar paint over the menu. */
  body.nav-open .masthead { z-index: 100; }

  .nav-close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 1rem; right: 1.2rem;
    width: 42px; height: 42px; padding: 0;
    background: none; border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--ink); cursor: pointer;
  }
  .nav-close svg { width: 20px; height: 20px; }
  .nav__link { padding: .85rem .2rem; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__item { width: 100%; }
  .mega {
    position: static; transform: none; min-width: 0; opacity: 1; visibility: visible;
    pointer-events: auto; box-shadow: none; border: 0; border-bottom: 1px solid var(--line);
    padding: .4rem 0 1rem; display: none;
  }
  .nav__item[data-open="true"] .mega { display: block; }
  .nav__item:hover > .mega, .nav__item:focus-within > .mega { display: none; }
  .nav__item[data-open="true"]:hover > .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__lead { display: none; }
  .nav__mobile-cta { display: flex; margin-top: 1.4rem; }
  .nav__secondary { display: block; }

  .nav-scrim {
    position: fixed; inset: 0; background: rgba(21,20,15,.45); z-index: 85;
    opacity: 0; visibility: hidden; transition: opacity .22s ease;
  }
  .nav-scrim[data-open="true"] { opacity: 1; visibility: visible; }

  .split { grid-template-columns: 1fr; }
  .split--flip .split__copy { order: 0; }
  .split__media { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-gallery { grid-template-columns: repeat(2, 1fr); }
  .actionbar { display: flex; }
  body { padding-bottom: 52px; }
  /* Secondary links move into the drawer; the phone lives in the sticky bar. */
  .utility { display: none; }
  .masthead__actions { display: none; }
  .nav__secondary {
    margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  }
  .nav__secondary .nav__link { font-size: .95rem; color: var(--body); }
}

@media (max-width: 560px) {
  .tiles--2, .tiles--3, .tiles--4, .cards--2, .cards--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats, .trust { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .grid-gallery { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .areas__list { grid-template-columns: 1fr; }
  .hero__panel { margin-top: -2.2rem; }
}

@media print {
  .utility, .masthead, .actionbar, .cta-band, .nav-scrim { display: none !important; }
  body { color: #000; }
}
