/* ==========================================================================
   Clean Haus Labs — Brand stylesheet
   Palette, type and spacing per the Clean Haus Labs brand board.
   Built by 4R Tech Solutions.
   ========================================================================== */

:root {
  /* Brand palette */
  --ivory:    #F7F4EE;
  --stone:    #E6DED4;
  --taupe:    #C5B7A6;
  --sage:     #8F9A82;
  --sage-dark: #566049;   /* AA-compliant sage for small text on ivory */
  --charcoal: #2B2723;

  /* Derived */
  --charcoal-90: rgba(43, 39, 35, .90);
  --charcoal-70: rgba(43, 39, 35, .70);
  /* .70 keeps muted small text above the 4.5:1 WCAG AA threshold on ivory */
  --charcoal-55: rgba(43, 39, 35, .70);
  --charcoal-12: rgba(43, 39, 35, .12);
  --charcoal-08: rgba(43, 39, 35, .08);
  --ivory-70:    rgba(247, 244, 238, .70);
  --ivory-55:    rgba(247, 244, 238, .55);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Surfaces derived from the palette — never hardcode these downstream */
  --charcoal-hover: #3B3630;
  --white: #fff;
  --scrim: 27, 24, 21;              /* hero / CTA overlay base */
  --ivory-rgb: 247, 244, 238;
  --sage-rgb: 143, 154, 130;
  --taupe-rgb: 197, 183, 166;

  /* Spacing scale — 4px base. Use these, not arbitrary rem values. */
  --space-1: .25rem;   /*  4px */
  --space-2: .5rem;    /*  8px */
  --space-3: .75rem;   /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.5rem;   /* 24px */
  --space-6: 2rem;     /* 32px */
  --space-7: 3rem;     /* 48px */
  --space-8: 4rem;     /* 64px */
  --space-9: 6rem;     /* 96px */

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --section-y-tight: clamp(2.75rem, 6vw, 5rem);
  --radius: 2px;

  --shadow-sm: 0 1px 2px rgba(43,39,35,.06), 0 4px 16px rgba(43,39,35,.05);
  --shadow-md: 0 2px 4px rgba(43,39,35,.06), 0 18px 48px rgba(43,39,35,.10);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------- Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 1.15rem; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------- Utilities */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--stone { background: var(--stone); }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--charcoal); color: var(--ivory); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--ivory); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--charcoal-55);
  margin: 0 0 1.1rem;
}
/* .cta is not .section--dark but sits on a dark scrim — without this the
   eyebrow renders charcoal-on-charcoal and disappears. */
.section--dark .eyebrow, .hero .eyebrow, .cta .eyebrow { color: var(--taupe); }

.lede { font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: var(--charcoal-70); max-width: 60ch; }
.section--dark .lede { color: var(--ivory-70); }

.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.rule { width: 56px; height: 1px; background: var(--taupe); border: 0; margin: 0 0 1.75rem; }
.center .rule { margin-inline: auto; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 1.05rem 1.9rem; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--primary { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.btn--primary:hover { background: var(--charcoal-hover); border-color: var(--charcoal-hover); }

.btn--light { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.btn--light:hover { background: var(--white); border-color: var(--white); }

.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal-12); }
.btn--ghost:hover { border-color: var(--charcoal); }

.btn--ghost-light { background: transparent; color: var(--ivory); border-color: var(--ivory-55); }
.btn--ghost-light:hover { border-color: var(--ivory); background: rgba(var(--ivory-rgb), .08); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.center .btn-row { justify-content: center; }

/* Text link with underline sweep */
.tlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--charcoal);
  padding-bottom: .35rem; border-bottom: 1px solid var(--charcoal-12);
  transition: border-color .35s var(--ease), gap .35s var(--ease);
}
.tlink:hover { border-color: var(--charcoal); gap: .8rem; }
.section--dark .tlink { color: var(--ivory); border-color: var(--ivory-55); }
.section--dark .tlink:hover { border-color: var(--ivory); }

/* ----------------------------------------------------------------- Header */
.skip-link {
  position: absolute; left: 50%; translate: -50% -140%; z-index: 999;
  background: var(--charcoal); color: var(--ivory); padding: .8rem 1.4rem;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: translate .25s var(--ease);
}
.skip-link:focus { translate: -50% 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(var(--ivory-rgb), .88);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--charcoal-12); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 86px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { width: auto; height: 50px; }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  position: relative; text-decoration: none; color: var(--charcoal);
  font-size: .8rem; font-weight: 400; letter-spacing: .06em; padding: .35rem 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--charcoal); scale: 0 1; transform-origin: left;
  transition: scale .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { scale: 1 1; }

/* Dropdown */
.nav__item { position: relative; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: .4rem;
  background: none; border: 0; padding: .35rem 0; cursor: pointer;
  font-family: var(--font-body); font-size: .8rem; letter-spacing: .06em; color: var(--charcoal);
}
.nav__toggle svg { transition: rotate .3s var(--ease); }
.nav__item.is-open .nav__toggle svg { rotate: 180deg; }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0;
  min-width: 268px; background: var(--ivory); border: 1px solid var(--charcoal-12);
  box-shadow: var(--shadow-md); padding: .6rem; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; translate: -50% 8px;
  transition: opacity .28s var(--ease), translate .28s var(--ease), visibility .28s;
}
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; translate: -50% 0; }
.nav__menu a { display: block; padding: .7rem .9rem; font-size: .84rem; letter-spacing: .02em; }
.nav__menu a::after { display: none; }
.nav__menu a:hover { background: var(--stone); }

.header__cta { display: inline-flex; }
.header__cta .btn { padding: .85rem 1.5rem; }

.burger {
  display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer;
  padding: 0; align-items: center; justify-content: center;
}
.burger span { display: block; width: 24px; height: 1px; background: var(--charcoal); position: relative; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 24px; height: 1px; background: var(--charcoal);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none; border-top: 1px solid var(--charcoal-12); background: var(--ivory);
  max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
}
.mobile-nav.is-open { max-height: 80vh; overflow-y: auto; }
.mobile-nav ul { list-style: none; margin: 0; padding: .75rem var(--gutter) 1.75rem; }
.mobile-nav li + li { border-top: 1px solid var(--charcoal-08); }
.mobile-nav a { display: block; padding: .95rem 0; text-decoration: none; font-size: .95rem; }
.mobile-nav .sub a { padding-left: 1.1rem; font-size: .86rem; color: var(--charcoal-70); }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 1.25rem; }

@media (max-width: 1040px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
  .mobile-nav { display: block; }
}

/* ------------------------------------------------------------------- Hero */
.hero { position: relative; isolation: isolate; background: var(--charcoal); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(var(--scrim),.94) 0%, rgba(var(--scrim),.86) 42%, rgba(var(--scrim),.46) 75%, rgba(var(--scrim),.28) 100%);
}
@media (max-width: 880px) {
  .hero::after { background: linear-gradient(180deg, rgba(var(--scrim),.86) 0%, rgba(var(--scrim),.80) 60%, rgba(var(--scrim),.74) 100%); }
  .hero .btn-row .btn { flex: 1 1 100%; justify-content: center; }
}
.hero__inner { padding-block: clamp(5.5rem, 13vw, 10.5rem); max-width: 720px; }
.hero h1 { color: var(--ivory); margin-bottom: .32em; }
.hero p { color: var(--ivory-70); font-size: clamp(1.02rem, 1.3vw, 1.18rem); max-width: 46ch; }
.hero .btn-row { margin-top: 2.4rem; }

.hero--page .hero__inner { padding-block: clamp(4rem, 9vw, 7rem); max-width: 780px; }
.hero--page h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }

/* Breadcrumb */
.crumbs { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory-55); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ivory); }
.crumbs span { margin-inline: .55rem; }

/* -------------------------------------------------------------- Trust bar */
.trustbar { background: var(--charcoal); color: var(--ivory); }
.trustbar ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.5rem;
}
.trustbar li {
  display: flex; align-items: center; justify-content: center; gap: .65rem;
  padding: 1.05rem .5rem; text-align: left;
  font-size: .76rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase;
  line-height: 1.35;
}
.trustbar li + li { box-shadow: -1px 0 0 rgba(var(--ivory-rgb), .16); }
.trustbar svg {
  flex: 0 0 19px; width: 19px; height: 19px;
  stroke: var(--taupe); stroke-width: 1.25; fill: none;
}
@media (max-width: 900px) {
  .trustbar ul { grid-template-columns: repeat(2, 1fr); }
  .trustbar li:nth-child(odd) { box-shadow: none; }
  .trustbar li { font-size: .75rem; padding: .9rem .4rem; }
}
@media (max-width: 480px) {
  .trustbar ul { grid-template-columns: 1fr; gap: 0; }
  .trustbar li { box-shadow: none; justify-content: flex-start; padding: .7rem .2rem; }
  .trustbar li + li { border-top: 1px solid rgba(var(--ivory-rgb), .14); }
}

/* A section directly after the trust bar needs less top air — the dark band
   already provides separation from the hero. */
.trustbar + .section { padding-top: var(--section-y-tight); }

/* Two same-coloured sections in a row stack bottom + top padding into a dead
   band of ~250px with no colour change to justify it. Collapse the boundary:
   the pair reads as one continuous surface with a single rhythm between them. */
.section--ivory + .section--ivory,
.section--stone + .section--stone,
.section--dark  + .section--dark {
  padding-top: 0;
}
.section--ivory + .section--ivory > .container::before,
.section--stone + .section--stone > .container::before {
  content: ''; display: block; height: 1px; background: var(--charcoal-08);
  margin-bottom: var(--space-7);
}
/* …and trim the bottom padding of the section that precedes it, so the pair
   lands at roughly one section's worth of air instead of two. */
.section--ivory:has(+ .section--ivory),
.section--stone:has(+ .section--stone) {
  padding-bottom: var(--section-y-tight);
}

/* ----------------------------------------------------------- Service strip */
.strip { background: var(--ivory); border-bottom: 1px solid var(--charcoal-08); }
.strip__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.strip__item {
  display: flex; flex-direction: column; align-items: center; gap: .85rem;
  padding: 2.4rem 1rem; text-align: center; text-decoration: none;
  border-left: 1px solid var(--charcoal-08);
  transition: background .35s var(--ease);
}
.strip__item:first-child { border-left: 0; }
.strip__item:hover { background: var(--stone); }
.strip__item svg { width: 30px; height: 30px; stroke: var(--charcoal); stroke-width: 1.2; fill: none; }
.strip__item span { font-size: .82rem; line-height: 1.45; letter-spacing: .02em; }
@media (max-width: 860px) {
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item { border-left: 1px solid var(--charcoal-08); border-top: 1px solid var(--charcoal-08); padding: 1.9rem .75rem; }
  .strip__item:nth-child(odd) { border-left: 0; }
  .strip__item:last-child { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- Split 2col */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split--flip .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__media--wide img { aspect-ratio: 3/2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--flip .split__media { order: 0; }
  .split__media img { aspect-ratio: 3/2; }
}

/* Check list */
.checks { list-style: none; margin: 1.9rem 0 0; padding: 0; display: grid; gap: .95rem; }
.checks li { display: flex; gap: .85rem; align-items: flex-start; font-size: .95rem; line-height: 1.6; }
.checks svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: .22rem; }
.checks circle { fill: var(--sage); }
.checks path { stroke: var(--ivory); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.6vw, 2.2rem); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards--2 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; background: var(--ivory);
  border: 1px solid var(--charcoal-08); text-decoration: none; height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__media { overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: scale .6s var(--ease); }
.card:hover .card__media img { scale: 1.045; }
.card__body { padding: 1.75rem 1.6rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .55rem; }
.card__body p { font-size: .92rem; color: var(--charcoal-70); margin-bottom: 1.4rem; }
.card__more {
  margin-top: auto; font-size: .72rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: .5rem;
}
.card:hover .card__more .arr { transform: translateX(4px); }
.card__more .arr { transition: transform .35s var(--ease); }

/* ---------------------------------------------------------------- Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.6rem, 3vw, 2.6rem); counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; border-top: 1px solid var(--charcoal-12); padding-top: 1.5rem; }
.section--dark .step { border-top-color: var(--ivory-55); }
.step::before {
  content: '0' counter(s); display: block; font-family: var(--font-display);
  font-size: 1.9rem; color: var(--taupe); line-height: 1; margin-bottom: .8rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.step p { font-size: .9rem; color: var(--charcoal-70); }
.section--dark .step p { color: var(--ivory-70); }

/* ------------------------------------------------------------------- Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr; gap: 2.4rem; } }
.stat__n { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--charcoal); }
.section--dark .stat__n { color: var(--ivory); }
.stat__l { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--charcoal-55); margin-top: .8rem; }
.section--dark .stat__l { color: var(--taupe); }

/* -------------------------------------------------------------- Area links */
/* Borders live on the tiles, not on a background showing through the gaps —
   otherwise a part-filled final row renders as grey empty cells. */
.areas {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 0;
  border-top: 1px solid var(--charcoal-12); border-left: 1px solid var(--charcoal-12);
}
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }
.area {
  background: var(--ivory); padding: var(--space-5) var(--space-5); text-decoration: none;
  display: flex; flex-direction: column; gap: var(--space-1);
  border-right: 1px solid var(--charcoal-12); border-bottom: 1px solid var(--charcoal-12);
  transition: background .35s var(--ease);
}
.area:hover { background: var(--stone); }
.area strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.area span { font-size: .8rem; color: var(--charcoal-55); }

/* ----------------------------------------------------------- Region cards */
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.4vw, 2rem); }
@media (max-width: 940px) { .regions { grid-template-columns: 1fr; } }

.region {
  display: flex; flex-direction: column;
  border: 1px solid var(--charcoal-12); background: var(--ivory);
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.region:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.region__head {
  display: block; padding: 1.75rem 1.6rem 1.1rem; text-decoration: none;
  border-bottom: 1px solid var(--charcoal-08);
}
.region__head strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.1vw, 1.85rem);
  font-weight: 400; line-height: 1.15; margin-bottom: .4rem;
}
.region__head span { font-size: .88rem; color: var(--charcoal-70); line-height: 1.5; }
.region__cities { margin: 0; padding: 1.1rem 1.6rem 1.6rem; font-size: .84rem; line-height: 1.9; }
.region__cities a {
  display: inline-block; padding: .2rem 0; min-height: 24px;
  text-decoration: none; color: var(--charcoal-70);
  border-bottom: 1px solid transparent; transition: color .25s var(--ease), border-color .25s var(--ease);
}
.region__cities a:hover { color: var(--charcoal); border-bottom-color: var(--charcoal); }

.inline-link { text-decoration: none; border-bottom: 1px solid var(--charcoal-12); }
.inline-link:hover { border-bottom-color: var(--charcoal); }

/* --------------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--charcoal-12); }
.faq details { border-bottom: 1px solid var(--charcoal-12); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.42rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: .35rem; top: 50%; width: 13px; height: 13px;
  margin-top: -6px; background: var(--charcoal);
  clip-path: polygon(46% 0, 54% 0, 54% 46%, 100% 46%, 100% 54%, 54% 54%, 54% 100%, 46% 100%, 46% 54%, 0 54%, 0 46%, 46% 46%);
  transition: rotate .35s var(--ease), clip-path .2s;
}
.faq details[open] summary::after { rotate: 135deg; }
.faq .faq__a { padding: 0 3rem 1.6rem 0; }
.faq .faq__a p { font-size: .95rem; color: var(--charcoal-70); }

/* -------------------------------------------------------------------- CTA */
.cta { position: relative; isolation: isolate; background: var(--charcoal); overflow: hidden; }
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(var(--scrim),.87); }
.cta .container { position: relative; }

/* ------------------------------------------------------------------- Form */
/* The contact details column is far shorter than the form beside it; pinning
   it keeps the pair visually balanced instead of stranding empty space. */
@media (min-width: 881px) {
  .contact-aside { position: sticky; top: calc(86px + var(--space-6)); }
}

.form-wrap { background: var(--ivory); border: 1px solid var(--charcoal-12); padding: clamp(1.75rem, 3.5vw, 2.75rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block; font-size: .72rem; font-weight: 500; letter-spacing: .13em;
  text-transform: uppercase; color: var(--charcoal-70); margin-bottom: .55rem;
}
.field .req { color: var(--sage-dark); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .95rem; color: var(--charcoal);
  background: var(--white); border: 1px solid var(--charcoal-12); border-radius: var(--radius);
  padding: .9rem 1rem; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232B2723' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px;
  padding-right: 2.6rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(var(--sage-rgb), .18);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(43,39,35,.38); }

.checkgroup { display: flex; flex-wrap: wrap; gap: .6rem; }
.checkgroup label {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0; cursor: pointer;
  border: 1px solid var(--charcoal-12); padding: .6rem 1rem; border-radius: var(--radius);
  font-size: .75rem; letter-spacing: .06em; text-transform: none; color: var(--charcoal);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.checkgroup input { width: auto; accent-color: var(--sage); }
.checkgroup label:has(input:checked) { border-color: var(--sage); background: rgba(var(--sage-rgb), .1); }

.form-note { font-size: .78rem; color: var(--charcoal-55); margin-top: 1.1rem; }
.hp { position: absolute !important; left: -9999px; opacity: 0; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.contact-list dt, .contact-list .lbl {
  font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--charcoal-55); margin-bottom: .3rem;
}
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--charcoal-12); }
.contact-list a:hover { border-color: var(--charcoal); }
.contact-list .big { font-family: var(--font-display); font-size: 1.6rem; }

/* Badge / note */
.badge {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--stone);
  color: var(--charcoal); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .5rem .95rem; border-radius: 100px;
}
.badge--dark {
  background: transparent; color: var(--taupe);
  border: 1px solid rgba(var(--taupe-rgb), .45); font-weight: 500;
}

/* ----------------------------------------------------------------- Footer */
.site-footer { background: var(--charcoal); color: var(--ivory-70); padding-block: clamp(3.5rem, 7vw, 5.5rem) 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 66px; width: auto; margin-bottom: 1.4rem; }
.footer__brand p { font-size: .9rem; max-width: 34ch; }
.site-footer h4, .footer__heading {
  font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--taupe); margin: 0 0 var(--space-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .72rem; }
.site-footer a {
  display: inline-block; min-height: 24px; line-height: 1.6;
  text-decoration: none; font-size: .9rem; transition: color .25s var(--ease);
}
.site-footer a:hover { color: var(--ivory); }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(var(--ivory-rgb), .14);
  padding-block: var(--space-5); display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; font-size: .78rem;
}
.footer__bottom a { font-size: .78rem; }
/* tlink defaults to charcoal — unreadable on the dark footer */
.site-footer .tlink { color: var(--ivory); border-color: var(--ivory-55); }
.site-footer .tlink:hover { color: var(--white); border-color: var(--ivory); }

/* --------------------------------------------------------- Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ----------------------------------------------------------- Simple pages */
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
