:root {
  --cream: #f7f3ec;
  --ink: #32322b;
  --gold: #a8853c;
  --gold-light: #d4b46e;
  --leaf: #4a6a1c;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --rule: #d8c9a8;          /* beige-gold hairline */
  --muted: #8b8577;
  --btn-bg: var(--gold);
  --btn-hover: #94742f;
  --panel: #fff;            /* raised surfaces (contact form) */
  --track: #dcd8cf;         /* empty part of the stat rings */
}

/* Dark theme: palette from the previous Evolve site, warm near-black with cream text,
   lightened gold/sage so links and accents stay readable, olive buttons */
[data-theme='dark'] {
  color-scheme: dark;
  --cream: #151613;
  --ink: #f4eee4;
  --muted: #b5ae9f;
  --rule: rgba(244, 238, 228, 0.2);
  --gold: #c9a862;
  --gold-light: #dcbf7c;
  --leaf: #a9c27c;
  --btn-bg: #6f7036;
  --btn-hover: #7e7f3e;
  --panel: #1e1f1a;
  --track: #3a3b33;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); }
img { display: block; }
button { font: inherit; color: inherit; }

/* ---------- Header ----------
   Logo left; a centred nav bar framed by hairlines above and below,
   lowercase serif links spread evenly (muted until hovered / current). */
.site-header {
  display: grid; grid-template-columns: 1fr minmax(0, 780px) 1fr; align-items: center; gap: 32px;
  padding: 24px clamp(16px, 4vw, 56px);
  background: var(--cream);
}
.site-header__logo { justify-self: start; }
.site-header__logo img { height: 64px; width: auto; }
.site-header__nav {
  display: flex; justify-content: space-around; align-items: center;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 13px 8px;
  font-family: var(--serif); font-size: 21px; font-weight: 500; text-transform: lowercase;
}
.site-header__nav a { color: var(--muted); text-decoration: none; padding: 2px 6px; transition: color 0.2s; }
.site-header__nav a:hover, .site-header__nav a[aria-current='page'] { color: var(--ink); }
.site-header__nav a:hover { color: var(--gold); }
.site-header__nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* Right side: social icons, then "Call us" as the solid primary button */
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.site-header__social { display: flex; gap: 4px; }
.site-header__social a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  color: var(--gold); transition: color 0.2s, background 0.2s;
}
.site-header__social a:hover { color: var(--btn-hover); background: rgba(176, 138, 58, 0.12); }
.site-header__social svg { width: 20px; height: 20px; fill: currentColor; }
.site-header__social a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn.site-header__call { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: 0 2px 10px rgba(120, 90, 30, 0.18); }
.site-header__call svg { flex: none; width: 17px; height: 17px; fill: currentColor; }
.site-header__call:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; }
  .site-header__nav { font-size: 19px; padding: 10px 4px; }
}
@media (max-width: 899px) {
  .site-header { gap: 14px; }
  .site-header__nav { font-size: 17px; padding: 8px 0; }
  .site-header__nav a { padding: 2px 3px; }
}
/* Hamburger: hidden until the phone breakpoint */
.site-header__menu {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.site-header__menu span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s, opacity 0.2s; }
.site-header__menu:hover { color: var(--gold); }
.site-header__menu:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.site-header.is-open .site-header__menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .site-header__menu span:nth-child(2) { opacity: 0; }
.site-header.is-open .site-header__menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Phones: hamburger top-left, logo centred, Call us right; social icons hidden.
   The nav drops down as a panel under the header when the menu is open. */
@media (max-width: 700px) {
  .site-header { position: relative; z-index: 50; grid-template-columns: 1fr auto 1fr; gap: 10px; padding: 14px 16px; }
  .site-header__menu { display: flex; grid-column: 1; grid-row: 1; justify-self: start; margin-left: -6px; }
  .site-header__logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .site-header__logo img { height: 48px; }
  .site-header__actions { grid-column: 3; grid-row: 1; gap: 8px; }
  .site-header__social { display: none; }
  .site-header__call { padding: 10px 16px; }

  .site-header__nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 6px 0 14px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
    background: var(--cream); box-shadow: 0 14px 24px rgba(50, 50, 43, 0.12);
    font-size: 24px;
  }
  .site-header.is-open .site-header__nav { display: flex; }
  .site-header__nav a { padding: 10px 24px; }
}
@media (max-width: 380px) {
  .site-header__call { padding: 10px 12px; }
}

/* ---------- Hero / before-after ---------- */
/* Desktop: heading column on the left, carousel fills the rest */
.hero {
  display: grid;
  grid-template-columns: clamp(340px, 34vw, 520px) 1fr;
  grid-template-rows: auto auto;           /* row 1: copy beside the carousel; row 2: property thumbs under the carousel */
  position: relative;
}
/* Faded Denver skyline behind the left column: mountains sit behind the subhead/CTA,
   the trees fade out under the property thumbnails. Slightly wider than the column;
   the overflow tucks behind the carousel. */
/* SKYLINE OFF for now: delete `display: none` below to bring it back */
.hero::before {
  display: none;
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  left: 0; top: -4.5vw; width: 37vw; aspect-ratio: 1448 / 1086;   /* raised with the headline; trees fade out above the service icons */
  background: url(images/home-skyline.webp) left top / 100% auto no-repeat;
  opacity: 0.85;
  /* fade every edge so the photo's warmer cream melts into the page */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 58%, transparent 78%),
                      linear-gradient(to right, transparent 0%, #000 12%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 58%, transparent 78%),
              linear-gradient(to right, transparent 0%, #000 12%, #000 100%);
  mask-composite: intersect;
}
.hero > * { position: relative; z-index: 1; }
.hero__carousel { grid-column: 2; grid-row: 1; align-self: start; }

.ba {
  --pos: 50;                               /* divider position, % from left */
  position: relative;
  aspect-ratio: 3 / 2;                    /* matches the photos, so nothing is cropped */
  overflow: hidden;
  background: #222;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;                     /* vertical swipe scrolls; horizontal drags the slider */
  cursor: ew-resize;
}

.ba__slides, .ba__slide, .ba__img { position: absolute; inset: 0; }
.ba__slide { opacity: 0; transition: opacity 0.9s ease; }
.ba__slide.is-active { opacity: 1; }
.ba__img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* Before sits on top, clipped to the right of the divider (after shows on the left) */
.ba__img--before { clip-path: inset(0 0 0 calc(var(--pos) * 1%)); }

/* Divider + handle */
.ba__divider {
  position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%);
  width: 2px; margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.ba__handle {
  position: absolute; top: 50%; left: calc(var(--pos) * 1%);
  width: 56px; height: 56px; margin: -28px 0 0 -28px; padding: 0;
  border-radius: 50%; border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  display: grid; place-items: center;
  cursor: ew-resize;
  transition: transform 0.2s ease, background 0.2s ease;
}
.ba__handle svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba:hover .ba__handle, .ba.is-dragging .ba__handle { transform: scale(1.08); background: rgba(255, 255, 255, 0.35); }
.ba__handle:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

.ba__hint {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; color: #fff;
  font-family: var(--serif); font-style: italic; font-weight: 500;   /* same face as "beautifully." in the headline */
  font-size: 18px; line-height: 1.2; letter-spacing: 0.01em;
  background: rgba(0, 0, 0, 0.45); padding: 4px 14px 5px; border-radius: 999px;
  transition: opacity 0.4s ease;
}
.ba.has-engaged .ba__hint { opacity: 0; }

/* Photo-only slides (no before photo yet): plain image, no comparison UI */
.ba.is-plain { cursor: default; }
.ba.is-plain .ba__divider, .ba.is-plain .ba__handle, .ba.is-plain .ba__tag { opacity: 0 !important; visibility: hidden; }

/* Before / After tags fade as their side shrinks */
.ba__tag {
  position: absolute; top: 24px; z-index: 2;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: rgba(0, 0, 0, 0.42);
  padding: 7px 14px; border-radius: 999px;
  pointer-events: none; transition: opacity 0.2s linear;
}
.ba__tag--after  { left: clamp(16px, 4vw, 56px); opacity: clamp(0, calc((var(--pos) - 8) / 12), 1); }
.ba__tag--before { right: clamp(16px, 4vw, 56px); opacity: clamp(0, calc((92 - var(--pos)) / 12), 1); }

/* Copy panel */
.hero__copy {
  grid-column: 1; grid-row: 1;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;   /* top-aligned to leave room for the services */
  padding: clamp(24px, 4vh, 48px) clamp(28px, 3.5vw, 56px) 8px clamp(16px, 4vw, 56px);
}
.hero__copy h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 4.4vw, 68px); line-height: 1.02; margin: 0 0 16px; }
.hero__copy h1 em { display: block; }
.hero__copy h1 em { color: var(--leaf); }
/* Headline: a quiet set-up line, then the punchline at full size with "that sells" as the hero word */
.hero__copy h1 { font-size: clamp(44px, 4.3vw, 64px); line-height: 0.98; letter-spacing: -0.01em; }
.hero__copy h1 .hero__punch { line-height: 0.86; }
.hero__copy h1 .hero__lead {
  display: block; margin-bottom: 0.14em; font-size: 0.52em; line-height: 1.2; letter-spacing: 0;
  font-style: normal; color: var(--muted); color: color-mix(in srgb, var(--ink) 82%, var(--cream));
}
.hero__copy h1 .hero__punch { display: block; color: var(--ink); font-style: italic; }
.hero__copy h1 .hero__punch em { display: inline; color: var(--leaf); white-space: nowrap; }
/* Marker-highlighter swipe behind "that sells": the 60-day promise box's tint, sitting behind
   the full height of the letters, with rough marker edges and a slight tilt */
.hero__copy h1 .hero__punch em { position: relative; z-index: 0; padding: 0 0.06em; }
.hero__copy h1 .hero__punch em::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: -0.1em; right: -0.06em; top: 0.44em; bottom: 0.06em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 50' preserveAspectRatio='none'%3E%3Cpath fill='%23c9a45f' fill-opacity='.15' d='M5 9C42 3 118 6 195 2c3 1 4 4 3 8-1 10 1 21-1 30-2 3-5 4-9 4C128 47 66 43 6 47c-3 0-5-3-4-6 2-10-1-19 1-28 0-2 1-4 2-4Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: rotate(-1.2deg);
}
[data-theme='dark'] .hero__copy h1 .hero__punch em::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 50' preserveAspectRatio='none'%3E%3Cpath fill='%23c9a45f' fill-opacity='.11' d='M5 9C42 3 118 6 195 2c3 1 4 4 3 8-1 10 1 21-1 30-2 3-5 4-9 4C128 47 66 43 6 47c-3 0-5-3-4-6 2-10-1-19 1-28 0-2 1-4 2-4Z'/%3E%3C/svg%3E"); }
.hero__copy p { margin: 0 0 20px; font-size: 16px; }

/* 60-day staging term, called out for agents between the CTA and the stats */
.hero__copy .term-callout {
  margin: 22px 0 0; max-width: 400px; padding: 14px 18px 15px; border-radius: 10px;
  background: rgba(168, 133, 60, 0.09); border: 1px solid rgba(168, 133, 60, 0.35);
}
.term-callout__title {
  display: flex; align-items: center; gap: 10px; margin: 0 0 6px;
  font-family: var(--serif); font-size: clamp(26px, 2.2vw, 30px); font-weight: 600; line-height: 1.05; color: var(--gold);
}
.term-callout__title svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.term-callout__title .check { stroke-width: 2.2; }   /* checkmark in the calendar's body */
.hero__copy .term-callout p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }

/* "Why agents stage": three NAR figures under the CTA, with the source linked */
.hero__proof { margin-top: clamp(24px, 3.5vh, 36px); width: 100%; }
.hero__copy .hero__proof-title {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.hero__proof-title::after { content: ''; flex: 1; max-width: 80px; height: 1px; background: var(--rule); }
.proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof li { display: flex; }
.proof li > a { flex: 1; text-decoration: none; color: inherit; border-radius: 10px; padding: 6px 2px; transition: background 0.2s; }
.proof li > a:hover { background: rgba(168, 133, 60, 0.08); }
.proof li > a:hover span:not(.proof__ring) { color: var(--gold); }
.proof li > a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.proof li > a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
/* Progress ring per stat: sage arc filled to the percentage (from 12 o'clock, clockwise),
   warm grey for the rest, monstera from the logo in the middle */
.proof__ring { position: relative; width: clamp(64px, 5.6vw, 84px); aspect-ratio: 1; margin-bottom: 6px; }
.proof__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.proof__ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.proof__track { stroke: var(--track); }
.proof__fill { stroke: #6f8050; }
.proof__ring img { position: absolute; inset: 24%; width: 52%; height: 52%; }
.proof strong { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 3.4vw, 50px); line-height: 1; color: var(--leaf); white-space: nowrap; }
.proof span { font-size: 13px; line-height: 1.35; color: var(--ink); }
.hero__copy .proof__source { margin: 10px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.proof__source a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.proof__source a:hover { color: var(--gold); }
.proof__source a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hero__copy { min-width: 0; }   /* lets the phone's swipeable icon row scroll instead of widening the column */
@media (max-width: 1180px) and (min-width: 900px) {
  .proof { gap: 10px; }
  .proof strong { font-size: 36px; }
}

/* Desktop: the copy column may run down beside the thumbnail row too, so it never
   stretches the carousel row (which would open a gap above the thumbnails). */
@media (min-width: 900px) {
  .hero__copy { grid-row: 1 / span 2; }
  /* When the copy column is taller than carousel + thumbnails, the extra height goes to
     the flexible second row and the thumbnails stay tucked under the carousel. */
  .hero { grid-template-rows: auto 1fr; }
  .hero__props { align-self: start; }
}

/* ---------- Our services band (single row, above Meet the team) ----------
   Transparent artwork trimmed to the drawing, shown at one height so the sofas line up. */
.services-band { max-width: 1200px; margin: 0 auto; padding: 80px clamp(16px, 4vw, 56px) 0; }
.services-band__title {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 28px;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.services-band__title::before, .services-band__title::after { content: ''; width: 80px; height: 1px; background: var(--rule); }
.services-mini {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin-inline: auto;
}
.services-mini li { display: flex; }
.services-mini a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  text-decoration: none; padding: 10px 4px; border-radius: 8px; transition: background 0.2s;
}
.services-mini a:hover { background: rgba(168, 133, 60, 0.08); }
.services-mini a:hover span { color: var(--gold); }
.services-mini a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.services-mini img { height: 96px; width: auto; max-width: 100%; object-fit: contain; }
.services-mini span { font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.15; color: var(--ink); transition: color 0.2s; }
/* Sixth cell: "All services" uses the same text-link style as "View our work" */
.services-mini__all { align-items: center; justify-content: center; }
.services-mini .services-mini__all a.view-work {
  flex: none; flex-direction: row; gap: 8px; margin: 0; padding: 0 0 2px; border-radius: 0;
  white-space: nowrap; color: var(--gold);
}
.services-mini .services-mini__all a.view-work:hover { background: none; }
.services-mini .services-mini__all span { font-family: inherit; font-size: inherit; color: inherit; transition: transform 0.2s; }
.services-mini .services-mini__all a:hover span { transform: translateX(4px); }
@media (max-width: 1100px) {
  .services-mini { gap: 8px; }
  .services-mini img { height: 72px; }
  .services-mini span { font-size: 16px; }
}
/* Tablets and phones: the single row scrolls sideways instead of squeezing */
@media (max-width: 860px) {
  .services-band { padding-top: 56px; }
  .services-mini {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 128px; gap: 10px;
    overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * clamp(16px, 4vw, 56px)); padding: 0 clamp(16px, 4vw, 56px) 4px; scrollbar-width: none;
  }
  .services-mini li { scroll-snap-align: start; }
  .services-mini img { height: 60px; }
  .services-mini span { font-size: 15px; }
}
.btn {
  display: inline-block; background: var(--btn-bg); color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 999px; font-weight: 500; font-size: 15px;
}
.btn:hover { background: var(--btn-hover); }
/* Outlined variant: gold outline and text, fills on hover */
.btn--outline { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1.5px var(--gold); transition: background 0.2s, color 0.2s; }
.btn--outline:hover { background: var(--gold); color: #fff; }
[data-theme='dark'] .btn--outline:hover { color: #151613; }

/* Carousel controls */
/* Bottom bar: room name in the lower left, compact prev/next in the lower right,
   both sitting on the same line close to the photo's bottom edge. The bar itself
   lets clicks through so dragging still works across its full width. */
.ba__controls {
  position: absolute; left: clamp(14px, 2vw, 24px); right: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 22px); z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  pointer-events: none;
}
.ba__room, .ba__nav { pointer-events: auto; cursor: auto; }
.ba__room {
  margin: 0; font-family: var(--serif); font-size: 24px; font-style: italic; line-height: 1.1; color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.35);
}
.ba__nav {
  display: flex; align-items: center; gap: 2px;
  background: rgba(0, 0, 0, 0.38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 3px; border-radius: 999px;
}
.ba__arrow {
  width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.ba__arrow:hover { background: rgba(255, 255, 255, 0.18); }
.ba__arrow svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba__dots { display: flex; gap: 2px; }
.ba__dot {
  width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.ba__dot::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s, transform 0.2s;
}
.ba__dot[aria-current='true']::before { background: #fff; transform: scale(1.35); }
.ba__arrow:focus-visible, .ba__dot:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; border-radius: 50%; }

/* Phones: copy panel goes under the image so it doesn't cover the comparison */
/* Narrower screens: heading stacks above the carousel */
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; }
  .hero { grid-template-rows: auto; }
  .hero::before { width: 100%; top: -14vw; opacity: 0.6; }
  .hero__carousel { grid-column: 1; grid-row: 2; }
  .hero__copy { padding: 28px 20px 24px; }
  .hero__copy h1 em { display: inline; }
}
@media (max-width: 700px) {
  .ba__room { font-size: 20px; }
  .ba__dots { display: none; }
  .ba__tag { top: 14px; }
  .ba__handle { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .ba__hint { top: auto; bottom: calc(100% + 8px); left: 0; transform: none; font-size: 16px; }   /* opens rightward so it isn't cut off at the left edge */
  .ba__arrow { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .ba__slide { transition: none; }
}

/* ---------- Property thumbnails (hero + Our Work) ---------- */
/* Desktop: one row of four thumbnails directly under the carousel, "View our work" to
   their right. The thumbnails join this grid (subgrid) so the link can be centred on the
   photo row alone, ignoring the names underneath. */
@media (min-width: 900px) {
  .hero__props {
    grid-column: 2; grid-row: 2;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) max-content; grid-template-rows: auto auto;
    column-gap: 14px; row-gap: 12px;
    padding: 20px clamp(16px, 4vw, 56px) 0 0;
  }
  .hero__props .props { display: contents; }
  .hero__props .prop { grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; gap: 12px 0; }   /* 12px clears the 3px-offset selection outline */
  .hero__props .view-work { grid-column: 5; grid-row: 1; align-self: center; margin: 0 0 0 18px; position: relative; top: 4px; }
}
/* Mid widths: no room for the link beside four thumbnails, so it drops below them */
@media (min-width: 900px) and (max-width: 1180px) {
  .hero__props { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto auto; }
  .hero__props .view-work { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin: 6px 0 0; top: 0; font-size: 20px; }
  .hero__props .prop__name { font-size: 16px; }
}
@media (max-width: 899px) {
  .hero__props { grid-row: 3; padding: 20px 20px 8px; }
}
.props { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.prop {
  display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer;
}
/* Frame crops a 25% zoom of the photo; the zoom is anchored low (85%) so most of the
   trim comes off the ceiling (~17% top, ~3% bottom) rather than the floor/furniture. */
.prop__frame {
  display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px;
  outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 0.25s;
}
.prop__img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(var(--z, 1.25)); transform-origin: var(--ox, 50%) var(--oy, 85%);   /* per-property via properties.json "thumb" */
  opacity: 0.72; transition: opacity 0.25s;
}
.prop__name {
  font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.15; color: var(--muted);
  transition: color 0.2s;
}
.prop:hover .prop__img { opacity: 1; }
.prop:hover .prop__name { color: var(--gold); }
.prop[aria-pressed='true'] .prop__img { opacity: 1; }
.prop[aria-pressed='true'] .prop__frame { outline-color: var(--gold); }
.prop[aria-pressed='true'] .prop__name { color: var(--ink); }
.prop:focus-visible { outline: none; }
.prop:focus-visible .prop__frame { outline: 2px dashed var(--gold); }

.view-work {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--rule); padding-bottom: 2px;
}
.view-work span { transition: transform 0.2s; }
.view-work:hover span { transform: translateX(4px); }
.view-work:hover { border-color: var(--gold); }

@media (max-width: 700px) {
  .props { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px 4px 8px; margin: 0 -4px; }
  .prop { flex: 0 0 42%; scroll-snap-align: start; }
  .prop__name { font-size: 16px; }
}

/* ---------- Our Work page ---------- */
.work { max-width: 1200px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 56px) 80px; }
.work__intro h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 4.4vw, 64px); line-height: 1; margin: 0 0 10px; }
.work__intro h1 em { color: var(--leaf); }
.work__intro p { margin: 0 0 32px; }
.props--work { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.work__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 42px);
  margin: 56px 0 18px; padding-top: 28px; border-top: 1px solid var(--rule); scroll-margin-top: 16px;
}
.work__subhead { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 48px 0 16px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 899px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.gallery__item { display: block; width: 100%; padding: 0; border: 0; background: #ddd; cursor: zoom-in; overflow: hidden; border-radius: 3px; }
.gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.4s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Lightbox ---------- */
body.no-scroll { overflow: hidden; }
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(24, 23, 20, 0.94); color: #fff;
}
.lightbox::backdrop { background: rgba(24, 23, 20, 0.6); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in 0.25s ease; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; height: 100%; justify-content: center; }
.lightbox__img { max-width: min(92vw, 1800px); max-height: 84vh; object-fit: contain; }
.lightbox__caption { font-family: var(--serif); font-size: 20px; font-style: italic; }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.12); display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -24px; }
@media (max-width: 700px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; margin: 0; }
  .lightbox__img { max-width: 100vw; }
}

/* ---------- Team teaser (home) ---------- */
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.team-teaser {
  max-width: 1120px; margin: 0 auto; padding: 96px clamp(16px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 48px; align-items: center;
}
.team-teaser__photo { width: 100%; height: auto; border-radius: 4px; }
.team-teaser h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 3.6vw, 50px); line-height: 1.05; }
.team-teaser h2 em { color: var(--leaf); }
.team-teaser__caption { margin: 0; color: var(--muted); }
@media (max-width: 700px) {
  .team-teaser { grid-template-columns: 1fr; gap: 24px; padding: 64px 20px; }
}

/* ---------- Our team page ---------- */
.team-page { max-width: 1100px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 56px) 96px; }
.people { display: flex; flex-direction: column; gap: 56px; }
.person { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; padding-top: 40px; border-top: 1px solid var(--rule); }
.person__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.person h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); }
.person__role { margin: 6px 0 12px; font-size: 13px; line-height: 1.5; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.person__contact { margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.person__contact a { color: var(--ink); text-decoration: none; }
.person__contact a:hover { color: var(--gold); }
.person__bio { max-width: 62ch; line-height: 1.65; font-size: 16px; }
.person__bio p { margin: 0 0 14px; }
.todo { color: #9a6b1f; background: rgba(168, 133, 60, 0.08); border: 1px dashed var(--gold); padding: 12px 16px; border-radius: 4px; }
@media (max-width: 700px) {
  .person { grid-template-columns: 1fr; gap: 20px; }
  .person__photo { max-width: 280px; }
}

/* Team page intro */
.team-intro { max-width: 680px; margin-bottom: 48px; }
.team-intro h1 { margin-bottom: 18px; }
.team-intro__lede { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; line-height: 1.25; margin: 0 0 16px !important; }
.team-intro p { line-height: 1.65; margin: 0 0 14px; }
.team-intro__close { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--leaf); margin-top: 20px !important; }

/* ---------- Services page ---------- */
.services-page { max-width: 1100px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 56px) 96px; }
.services-intro { max-width: 760px; margin-bottom: 24px; }
.services-intro p { font-size: 17px; line-height: 1.6; }
.services-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.services-jump a {
  padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px;
  font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.services-jump a:hover { border-color: var(--gold); color: var(--gold); }
.services-jump a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.service {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start;
  padding: 44px 0; border-top: 1px solid var(--rule);
  scroll-margin-top: 24px;
}
.service:first-of-type { margin-top: 32px; }
.service__icon { width: 100%; height: auto; max-height: 150px; object-fit: contain; object-position: left center; }
.service h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; }
.service__summary { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.3; color: var(--leaf); margin: 0 0 14px; }
.service__text > p { max-width: 640px; line-height: 1.65; margin: 0 0 14px; }
.service__list { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 640px; }
.service__list li { position: relative; padding-left: 22px; line-height: 1.5; }
.service__list li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sage, #9db48a); }
/* Briefly highlight the service you jumped to from the homepage */
.service:target .service__summary { animation: service-flash 1.6s ease; }
@keyframes service-flash { 0%, 40% { color: var(--gold); } 100% { color: var(--leaf); } }
.services-cta { text-align: center; padding: 56px 0 0; border-top: 1px solid var(--rule); }
.services-cta h2 { margin: 0 0 18px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); }
@media (max-width: 700px) {
  .service { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .service__icon { width: 180px; }
}

/* ---------- Contact page ---------- */
.contact-page { max-width: 1100px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 56px) 96px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-intro h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 4.4vw, 60px); line-height: 1.02; margin: 0 0 16px; }
.contact-intro h1 em { display: block; color: var(--leaf); }
.contact-lede { font-size: 17px; line-height: 1.6; margin: 0 0 28px; }
.contact-ways { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--rule); }
.contact-ways li { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact-ways__label { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact-ways a, .contact-ways li > span:last-child { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); text-decoration: none; }
.contact-ways a:hover { color: var(--gold); }
.contact-people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.contact-people div { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.contact-people__name { margin: 0 0 2px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.contact-people a, .contact-social a { color: var(--ink); text-underline-offset: 2px; }
.contact-people a:hover, .contact-social a:hover { color: var(--gold); }
.contact-social { margin: 0; font-size: 14px; color: var(--muted); }
.social-inline { display: inline-flex; align-items: center; gap: 5px; vertical-align: bottom; }
.social-inline svg { width: 17px; height: 17px; fill: currentColor; flex: none; }

.contact-form {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 14px;
  padding: clamp(22px, 3vw, 36px); box-shadow: 0 10px 30px rgba(60, 50, 30, 0.06);
}
.contact-form h2 { margin: 0 0 20px; font-family: var(--serif); font-weight: 500; font-size: 30px; }
.contact-form .field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label, .contact-form legend { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--ink); padding: 0; }
.contact-form .optional { font-weight: 400; color: var(--muted); }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form select, .contact-form textarea {
  width: 100%; box-sizing: border-box; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1px solid var(--rule); border-radius: 8px; transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form textarea { resize: vertical; }
/* Custom chevron so the arrow sits 16px in from the right edge */
.contact-form select {
  -webkit-appearance: none; appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b665c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
[data-theme='dark'] .contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5ae9f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168, 133, 60, 0.18); }
.contact-form [aria-invalid=true] { border-color: #b4472f; }
.contact-form .choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.contact-form .choices label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; cursor: pointer; }
.contact-form input[type=radio] { accent-color: var(--leaf); width: 17px; height: 17px; }
.contact-form .copy-me { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-weight: 400; cursor: pointer; }
.contact-form input[type=checkbox] { accent-color: var(--leaf); width: 17px; height: 17px; margin: 0; }
.contact-form__error { margin: 0 0 12px; color: #b4472f; font-size: 14px; }
.contact-form__submit { border: 0; cursor: pointer; font-weight: 600; font-size: 16px; padding: 13px 28px; }
.contact-form__submit:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.contact-form__note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .contact-form .field-row, .contact-people { grid-template-columns: 1fr; }
}

/* ---------- Light/dark toggle: icon in a circle, fixed bottom-right ---------- */
.theme-toggle {
  position: fixed; right: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 24px); z-index: 50;
  width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  border: 1px solid var(--rule); background: color-mix(in srgb, var(--cream) 85%, transparent); color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); transition: border-color 0.2s, color 0.2s;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun, [data-theme='dark'] .theme-toggle .i-moon { display: none; }
[data-theme='dark'] .theme-toggle .i-sun { display: block; }

/* Dark-theme adjustments for pieces that aren't colour variables */
[data-theme='dark'] .site-header__logo img { content: url(images/logo-dark.svg); }
[data-theme='dark'] .hero::before { display: none; }   /* the pale photo shows a hard-edged patch on the dark background */
[data-theme='dark'] .services-mini a:hover { background: rgba(244, 238, 228, 0.06); }
[data-theme='dark'] .site-header__call { box-shadow: none; }

/* Women Owned / Family Owned seals beside the "Meet the team" heading (from the previous
   Evolve site's team section: flat, no shadow or frosted centre) */
.team-teaser__head { display: flex; align-items: center; gap: 14px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.team-teaser__head h2 { margin: 0; white-space: nowrap; }
.team-teaser__badges { display: flex; gap: 10px; flex: none; margin-left: auto; }   /* pushed to the right edge of the text column */
.team-teaser__badges .badge { width: clamp(78px, 7vw, 96px); height: auto; display: block; }
.badge__txt { font: 700 15.5px var(--sans); letter-spacing: 0.13em; }
[data-theme='dark'] .team-teaser__badges [fill="#9a7a36"] { fill: #d4b46e; }
[data-theme='dark'] .team-teaser__badges [stroke="#9a7a36"] { stroke: #d4b46e; }
@media (max-width: 700px) { .team-teaser__badges .badge { width: 80px; } }

/* Service-area map (contact page): stylized, drawn from real coordinates */
.service-map { margin: -8px 0 28px; }
.service-map img {
  display: block; width: 100%; max-width: 440px; height: auto;
  /* feather every edge into the page so the map sits on the background, not in a box */
  -webkit-mask-image: radial-gradient(ellipse 64% 58% at 50% 48%, #000 66%, transparent 100%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(ellipse 64% 58% at 50% 48%, #000 66%, transparent 100%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}
.service-map img[data-map='dark'], [data-theme='dark'] .service-map img[data-map='light'] { display: none; }
[data-theme='dark'] .service-map img[data-map='dark'] { display: block; }
/* Labels get a background-coloured outline so roads and borders pass cleanly behind them */

/* Hero CTAs under the 60-day promise: outlined "Book a consultation" + solid "Call us" */
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.btn--icon { display: inline-flex; align-items: center; gap: 8px; }
.btn--icon svg { flex: none; width: 16px; height: 16px; fill: currentColor; }

/* HERO-CROP (trial): homepage slider 75px shorter on desktop; photos crop evenly top and
   bottom. To roll back, delete this block. */
@media (min-width: 900px) {
  .hero { container-type: inline-size; }
  /* carousel width = hero width minus the copy column (same clamp as the grid) */
  .hero__carousel.ba { aspect-ratio: auto; height: calc((100cqw - clamp(340px, 34vw, 520px)) * 2 / 3 - 75px); }
  /* frame sits lower: ~70% of the trimmed 75px comes off the ceiling, ~30% off the floor */
  .hero__carousel .ba__img { object-position: 50% 70%; }
}
/* /HERO-CROP */

/* ---------- Why stage page ---------- */
.hero__copy .proof__more { margin-top: 14px; font-size: 20px; }
.why-page { max-width: 1100px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 56px) 96px; }
.why-intro { max-width: 760px; margin-bottom: 24px; }
.why-intro p:not(.eyebrow) { font-size: 17px; line-height: 1.6; }
.why-stat {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center;
  padding: 44px 0; border-top: 1px solid var(--rule); scroll-margin-top: 24px;
}
.why-stat:first-of-type { margin-top: 32px; }
.why-stat__figure { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.why-stat__figure .proof__ring { width: 120px; margin: 0; }
.why-stat__figure strong { font-family: var(--serif); font-weight: 500; font-size: 64px; line-height: 1; color: var(--leaf); }
.why-stat h2, .why-more h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; }
.why-stat__lead { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.3; color: var(--leaf); margin: 0 0 14px; max-width: 640px; }
.why-stat__text > p, .why-more > p { max-width: 680px; line-height: 1.65; margin: 0 0 14px; }
.why-page .why-stat__src { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.why-stat__src a { color: var(--muted); text-underline-offset: 2px; }
.why-stat__src a:hover { color: var(--gold); }
.why-stat:target .why-stat__lead { animation: service-flash 1.6s ease; }
.why-more { padding: 44px 0; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.why-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 22px 0; max-width: 820px; }
.why-facts div { padding: 20px 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
.why-facts strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1; color: var(--leaf); margin-bottom: 8px; }
.why-facts p { margin: 0; line-height: 1.5; }
.why-example { max-width: 820px; padding: 20px 22px; border-left: 3px solid var(--gold); background: rgba(168, 133, 60, 0.07); border-radius: 0 12px 12px 0; margin: 0 0 6px; }
.why-example p:not(.eyebrow) { margin: 0; line-height: 1.6; }
.why-promise .term-callout__title { display: flex; align-items: center; gap: 12px; color: var(--gold); }
.why-promise .term-callout__title svg { width: 34px; height: 34px; }
.why-ctas { justify-content: center; }
@media (max-width: 700px) {
  .why-stat { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .why-stat__figure { flex-direction: row; justify-content: flex-start; gap: 18px; }
  .why-stat__figure .proof__ring { width: 84px; }
  .why-facts { grid-template-columns: 1fr; }
}

/* ---------- Pricing page ---------- */
.pricing-page { max-width: 1100px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 56px) 96px; }
.pricing-intro { max-width: 760px; margin-bottom: 28px; }
.pricing-intro p { font-size: 17px; line-height: 1.6; }
.pricing-page .pricing-promise { max-width: 760px; margin: 0 0 8px; padding: 18px 22px; border: 1px solid rgba(168, 133, 60, 0.45); border-radius: 12px; background: rgba(168, 133, 60, 0.07); }
.pricing-promise .term-callout__title { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--gold); }
.pricing-promise .term-callout__title svg { width: 30px; height: 30px; }
.pricing-promise p { margin: 0; line-height: 1.55; }
.pricing-block { padding: 44px 0; border-top: 1px solid var(--rule); margin-top: 36px; }
.pricing-block + .pricing-block { margin-top: 0; }
.pricing-block h2 { margin: 0 0 18px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; }
.consult { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.consult h2 { margin-bottom: 10px; }
.consult p:not(.eyebrow) { margin: 0; max-width: 620px; line-height: 1.6; }
.consult__price { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 220px; gap: 6px; }
.consult__price strong, .price-card__price { font-family: var(--serif); font-weight: 500; color: var(--leaf); }
.consult__price strong { font-size: 56px; line-height: 1; }
.consult__price span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-card { padding: 24px 24px 26px; border: 1px solid var(--rule); border-radius: 14px; background: var(--panel); }
/* Package cards are selectable: the chosen one gets the gold frame and drives the floor plan below */
.price-card[data-plan] { cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.price-card[data-plan]:hover { border-color: var(--gold); }
.price-card[aria-pressed='true'] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.price-card[data-plan]:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.price-card h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; }
.price-card__price { margin: 0 0 4px; font-size: 44px; line-height: 1.1; }
.price-card__price span { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.price-card__note { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.price-card__list { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 9px; }
.price-card__list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; line-height: 1.4; font-size: 15px; }
.price-card__list svg { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--leaf); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pricing-small { margin: 18px 0 0; font-size: 14px; color: var(--muted); max-width: 760px; line-height: 1.55; }
.pricing-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.fees { margin: 0; border-top: 1px solid var(--rule); }
.fees div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.fees dt { font-weight: 500; }
.fees dd { margin: 0; text-align: right; color: var(--muted); font-size: 15px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 6px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 20px; }
.steps strong { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.1; }
.steps span { font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) {
  .price-cards { grid-template-columns: 1fr; max-width: 520px; }
  .pricing-two { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .consult { grid-template-columns: 1fr; }
  .consult__price { align-items: flex-start; text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .fees div { grid-template-columns: 1fr; gap: 2px; }
  .fees dd { text-align: left; }
}

/* Team page mission */
.mission { max-width: 820px; margin: 0 0 56px; padding: 26px 0 26px 28px; border-left: 3px solid var(--gold); }
.mission__text { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; color: var(--leaf); }

/* Service icons: dark-mode artwork swaps in with the theme */
img[data-icon='dark'], [data-theme='dark'] img[data-icon='light'] { display: none; }
[data-theme='dark'] img[data-icon='dark'] { display: block; }

/* Homepage team: individual headshots in place of the group photo */
.team-teaser__faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.team-teaser__faces img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; display: block; }
/* Old #supplemental links land on owner-occupied */
.service { position: relative; }
.service__alias { position: absolute; top: 0; }
.services-addon { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0 0 44px; max-width: 820px; line-height: 1.6; }
.services-addon img { width: 150px; height: auto; flex: none; }
.services-addon p { margin: 0; }
@media (max-width: 600px) { .services-addon { flex-direction: column; align-items: flex-start; gap: 12px; } .services-addon img { width: 120px; } }
.services-addon a { color: var(--gold); }
.price-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price-cards .price-card { padding: 22px 20px 24px; }
.price-cards .price-card h3 { font-size: 27px; }
@media (max-width: 1100px) { .price-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 640px) { .price-cards { grid-template-columns: 1fr; } }

/* Clickable callout, headshots and badges on the homepage */
a.term-callout--link { display: block; color: inherit; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
a.term-callout--link:hover { border-color: var(--gold); background: rgba(168, 133, 60, 0.14); }
a.term-callout--link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.team-teaser__faces a { display: block; border-radius: 4px; overflow: hidden; }
.team-teaser__faces a img { transition: transform 0.35s ease; }
.team-teaser__faces a:hover img { transform: scale(1.03); }
.team-teaser__faces a:focus-visible, .badge-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.badge-link { display: block; border-radius: 50%; transition: transform 0.2s ease; }
.badge-link:hover { transform: scale(1.05); }

/* Team page: ownership badges beside the "Our team." heading */
.team-intro__head { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.team-intro__head h1 { margin: 0; }
@media (max-width: 700px) { .team-intro__badges { margin-left: 0; } }

/* Reviews band (homepage, between services and team). Testimonials will join it later. */
.reviews-band { max-width: 1200px; margin: 0 auto; padding: 72px clamp(16px, 4vw, 56px) 0; text-align: center; }
.reviews-band__text { margin: 0 0 20px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); color: var(--ink); }
.reviews-band__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.reviews-band .view-work { margin-top: 0; }
.reviews-band .btn--icon svg { fill: currentColor; }

/* Google-branded review button: white pill, multicolour G, Google-style type */
.google-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px 11px 16px;
  background: #fff; color: #3c4043; border: 1px solid #dadce0; border-radius: 999px;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15), 0 1px 3px 1px rgba(60, 64, 67, 0.08);
  transition: box-shadow 0.2s, background 0.2s;
}
.google-btn:hover { background: #f8f9fa; box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15); }
.google-btn:focus-visible { outline: 2px solid #4285f4; outline-offset: 3px; }
.google-btn__g { width: 22px; height: 22px; flex: none; }

/* Floor plan for the selected package: one example render per package, cross-faded.
   Furniture colour in the renders: sage green = our items, gold = the seller's. */
.plan-floor { margin: 32px 0 0; text-align: center; }
.plan-floor__frame { position: relative; max-width: 780px; margin: 0 auto; }
.plan-floor__stage { position: relative; aspect-ratio: 1100 / 991; }
.plan-floor__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.4s ease; }
.plan-floor__stage img.is-active { opacity: 1; }
/* Full Home only: top-right switch that swaps in the add-on rooms example */
.plan-floor__addons {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 18px 0 0;
  padding: 8px 12px 8px 16px; border: 1px solid rgba(168, 133, 60, 0.35); border-radius: 14px;
  background: var(--panel); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.plan-floor__addons[hidden] { display: none; }
.plan-floor__addons-text { display: flex; flex-direction: column; line-height: 1.25; }
.plan-floor__addons-text strong { font-size: 13px; font-weight: 600; }
.plan-floor__addons-text span { font-size: 11.5px; color: var(--muted); }
.plan-floor__switch { position: relative; width: 38px; height: 22px; flex: none; border-radius: 999px; background: rgba(120, 110, 95, 0.3); transition: background 0.2s; }
.plan-floor__switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.2); transition: transform 0.2s; }
.plan-floor__addons[aria-checked='true'] .plan-floor__switch { background: var(--leaf); }
.plan-floor__addons[aria-checked='true'] .plan-floor__switch::after { transform: translateX(16px); }
.plan-floor__addons:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.plan-legend { list-style: none; display: flex; justify-content: center; gap: 28px; margin: 16px 0 0; padding: 0;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.plan-legend li { display: inline-flex; align-items: center; gap: 9px; }
.plan-legend__swatch { width: 16px; height: 16px; border-radius: 50%; }
.plan-legend__swatch--ours { background: #8a9e6c; }
.plan-legend__swatch--seller { background: #d6b36a; }
.plan-floor figcaption { margin: 12px auto 0; max-width: 600px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.plan-floor figcaption strong { color: var(--ink); font-weight: 600; }
[data-theme='dark'] .plan-floor__stage img { filter: brightness(0.9); }
@media (prefers-reduced-motion: reduce) { .plan-floor__stage img { transition: none; } }

/* Pricing packages: selector tabs, then one panel with the package details beside its floor plan */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pkg-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 8px 0 18px; }
.pkg-tab {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 10px 42px 10px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel);
  color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.pkg-tab:hover { border-color: var(--gold); }
.pkg-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.pkg-tab__name { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); white-space: nowrap; font-weight: 500; line-height: 1.1; }
.pkg-tab__price { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--leaf); }
.pkg-tab__check { position: absolute; top: 50%; right: 14px; width: 22px; height: 22px; margin-top: -11px; opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.2s; }
.pkg-tab__check circle { fill: var(--leaf); }
.pkg-tab__check path { fill: none; stroke: var(--panel); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pkg-tab[aria-selected='true'] { border: 1.5px solid var(--leaf); background: color-mix(in srgb, var(--leaf) 12%, var(--panel)); box-shadow: 0 4px 16px rgba(60, 80, 30, 0.1); }
.pkg-tab[aria-selected='true'] .pkg-tab__check { opacity: 1; transform: none; }

.pkg-panel { border: 1px solid var(--rule); border-radius: 18px; background: var(--panel); padding: 20px 22px 12px; }
.pkg-panel__body { display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.6fr); gap: 24px; align-items: center; }
.pkg-panel__info { padding: 4px 24px 4px 4px; border-right: 1px solid var(--rule); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.pkg-info h3 { margin: 6px 0 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3vw, 44px); line-height: 1.02; }
.pkg-info__tag { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; }
.pkg-info__note { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.pkg-info__from { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.1; color: var(--muted); }
.pkg-info__price { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 3.6vw, 52px); line-height: 1; color: var(--leaf); }
.pkg-info .price-card__list { margin-top: 18px; padding-top: 18px; gap: 11px; }
.pkg-info .price-card__list li { font-size: 16px; }
.pkg-info .btn { margin-top: 20px; display: flex; justify-content: center; gap: 10px; }
.btn--leaf { background: var(--leaf); color: #fff; }
.btn--leaf:hover { background: color-mix(in srgb, var(--leaf) 85%, #000); }
[data-theme='dark'] .btn--leaf { background: #5d7a32; }
.pkg-panel .plan-floor { margin: 0; align-self: start; }
.pkg-panel .plan-legend { margin-top: 8px; }
.pkg-panel .plan-floor__frame { max-width: 92%; margin: 0 auto; }
.pkg-panel__foot { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); text-align: center; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted); }

@media (max-width: 1000px) {
  .pkg-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkg-panel__body { grid-template-columns: 1fr; gap: 28px; }
  .pkg-panel__info { padding-right: 0; border-right: 0; }
}
@media (max-width: 640px) {
  .pkg-tabs { gap: 10px; }
  .pkg-tab__name { white-space: normal; }
  .pkg-tab { padding: 8px 34px 8px 12px; }
  .pkg-tab__name { font-size: 19px; }
  .pkg-tab__price { font-size: 18px; }
  .pkg-tab__check { right: 12px; width: 22px; height: 22px; margin-top: -11px; }
  .pkg-panel { padding: 16px 12px 10px; }
  .pkg-panel .plan-floor__frame { max-width: none; }
}

/* Agents page: link card to the research brief */
.research-teaser > p:not(.eyebrow) { max-width: 680px; }

/* Research brief page: compact, data-first editorial layout */
.research-page { max-width: 1100px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 56px) 80px; }
.research__head { max-width: 860px; }
.research__head .eyebrow a { color: inherit; text-decoration: none; }
.research__head .eyebrow a:hover { text-decoration: underline; }
.research__head h1 { margin: 2px 0 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; }
.research__lead { margin: 0; font-size: 16px; line-height: 1.5; max-width: 860px; }
.research__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 4px; }
.research__metric { display: flex; align-items: center; gap: 14px; margin: 0; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
.research__ring { position: relative; flex: none; width: 72px; aspect-ratio: 1; }
.research__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.research__ring circle { fill: none; stroke-width: 8; stroke-linecap: round; }
.research__ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--leaf); }
.research__metric figcaption { font-size: 14px; line-height: 1.4; }
.research__small { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin: 6px 0 0; }
.research__ref { font-size: 10px; line-height: 0; }
.research__ref a { color: var(--gold); text-decoration: none; }
.research__ref a:hover { text-decoration: underline; }
.research__overview { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; margin-top: 14px; }
.research__panel { padding-top: 10px; border-top: 1px solid var(--rule); }
.research__panel h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.research__bars { display: grid; grid-template-columns: 118px 1fr 40px; gap: 7px 10px; align-items: center; font-size: 13px; }
.research__bars b { font-family: var(--serif); font-size: 20px; font-weight: 500; text-align: right; }
.research__track { height: 10px; border-radius: 6px; background: var(--track); overflow: hidden; }
.research__fill { display: block; height: 100%; min-width: 4px; border-radius: 6px; background: #6f8050; }
.research__fill--before { background: var(--muted); opacity: 0.55; }
[data-theme='dark'] .research__fill { background: var(--leaf); }
.research__findings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.research__findings p { margin: 0; font-size: 13px; line-height: 1.4; }
.research__findings strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; color: var(--leaf); }
.research__bottom { margin: 16px 0 0; padding: 10px 14px; border-left: 3px solid var(--gold); background: rgba(168, 133, 60, 0.07); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.5; }
.research__section { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.research__section h3 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; }
.research__section > p { max-width: 760px; line-height: 1.65; margin: 0 0 14px; }
.research__cases { display: grid; grid-template-columns: 1fr; gap: 16px; }
.research__case > p { max-width: 820px; }
.research__case { padding: 20px 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
.research__case h4 { margin: 4px 0 0; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; }
.research__case > p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.55; }
.research__tag { font-size: 11px !important; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 !important; }
.research__stat { font-family: var(--serif); font-weight: 500; font-size: 30px !important; line-height: 1.1 !important; color: var(--leaf); margin: 6px 0 8px !important; }
.research__photo { display: inline-block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--gold); text-underline-offset: 3px; }
.research__table-wrap { overflow-x: auto; margin-top: 6px; }
.research__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.research__table th, .research__table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.research__table th { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.research__grade { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.research__grade--4 { background: rgba(111, 128, 80, 0.2); color: var(--leaf); }
.research__grade--3 { background: rgba(111, 128, 80, 0.12); color: var(--leaf); }
.research__grade--2 { background: rgba(168, 133, 60, 0.14); color: var(--gold); }
.research__grade--1 { background: var(--track); color: var(--muted); }
.research__sources ol { padding-left: 22px; margin: 0 0 12px; max-width: 860px; }
.research__sources li { margin-bottom: 8px; font-size: 14px; line-height: 1.5; scroll-margin-top: 24px; }
.research__sources li:target { background: rgba(168, 133, 60, 0.12); }
.research__sources a { color: var(--ink); text-underline-offset: 3px; }
.research-cta { margin-top: 40px; padding: 22px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.research-cta p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; }
@media (max-width: 860px) {
  .research__metrics, .research__overview, .research__cases { grid-template-columns: 1fr; }
  .research__metrics { gap: 8px; }
  .research__metric { padding: 8px 12px; }
  .research__ring { width: 56px; }
  .research__ring b { font-size: 18px; }
  .research__overview { gap: 18px; }
  .research__section { margin-top: 30px; padding-top: 18px; }
  .research__case { padding: 16px; }
  .research__table { font-size: 13px; }
}
[data-theme='dark'] .research__fill--before { background: rgba(244, 238, 228, 0.38); opacity: 1; }

/* Research case photos: before/after side by side (no sliders), with source credit */
.research__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin: 14px 0 6px; }
.research__pair { margin: 0; }
.research__pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.research__pair-imgs div, .research__strip figure { position: relative; margin: 0; }
.research__pair-imgs img, .research__strip img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--track); }
.research__pair-imgs span { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(20, 20, 16, 0.62); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.research__pair figcaption, .research__strip figcaption { margin-top: 5px; font-size: 13px; color: var(--muted); }
.research__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0 6px; }
.research__credit { margin: 4px 0 10px !important; font-size: 12.5px !important; color: var(--muted); }
.research__credit a { color: var(--gold); text-underline-offset: 2px; }
@media (max-width: 860px) {
  .research__gallery { grid-template-columns: 1fr; gap: 12px; }
  .research__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
.pkg-tab__line { display: flex; align-items: baseline; gap: 6px; }
.pkg-tab__from { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted); }

/* Service detail pages and the service-area page */
.services-jump a[aria-current='page'] { border-color: var(--leaf); background: var(--leaf); color: var(--cream); }
.services-intro .eyebrow a { color: inherit; text-decoration: none; }
.services-intro .eyebrow a:hover { color: var(--gold); }
.services-intro p a { color: var(--gold); }
.service__more { margin: 18px 0 0; }
.service__more a { font-family: var(--serif); font-size: 19px; color: var(--gold); text-decoration: none; }
.service__more a:hover { text-decoration: underline; }
.areas { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; padding: 24px 0 48px; }
.areas .service-map { margin: 0; position: sticky; top: 24px; }
.areas .service-map figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); text-align: center; }
.areas__heading { grid-column: 1 / -1; margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); }
.areas__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 32px; }
.areas__group { scroll-margin-top: 24px; }
.areas__group h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; }
.areas__towns { margin: 0; padding: 0; list-style: none; line-height: 1.6; font-size: 15px; }
.areas__towns li { display: inline; }
.areas__towns li:not(:last-child)::after { content: ' · '; color: var(--muted); }
.areas__towns a, .areas-block a:not(.btn), .areas-cta__call a { color: var(--gold); }
.areas__towns a { font-weight: 600; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } .areas .service-map { position: static; } .areas .service-map img { margin: 0 auto; max-width: 320px; } }
/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs a[aria-current] { color: var(--ink); }
/* Hub and city page sections */
.areas-page .services-intro .btn { margin-top: 8px; }
.areas-block { padding: 36px 0; border-top: 1px solid var(--rule); }
.areas-block h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.1; }
.areas-block > p { max-width: 720px; line-height: 1.65; margin: 0 0 12px; }
.areas-services { margin: 0 0 12px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.areas-services li { padding: 16px 18px; border: 1px solid var(--rule); border-radius: 12px; }
.areas-services a { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink) !important; text-decoration: none; }
.areas-services a:hover { color: var(--gold) !important; }
.areas-services p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.areas-project { margin: 18px 0 0; font-family: var(--serif); font-weight: 500; font-size: 22px; }
.areas-project a { color: var(--ink) !important; text-decoration: none; }
.areas-project a:hover { color: var(--gold) !important; }
.areas-nearby { font-size: 15px; }
.areas-cta__call { margin: 12px 0 0; }
