/* ==========================================================================
   Pages: everything added in Phases 2 and 3
     1. Navigation: current section
     2. Inner-page banner + breadcrumbs
     3. Reusable page sections (split, steps, service cards, CTA band…)
     4. Search results (filters, toolbar, grid, pagination)
     5. Property detail page (gallery, details, viewing form, lightbox)
     6. Not found / 404
     7. Style guide (internal page)
   ========================================================================== */

/* ==========================================================================
   1. NAVIGATION: highlight the section you're in (set by main.js)
   ========================================================================== */
@media (min-width: 75em) {
  .site-nav__item.is-current > .site-nav__link { font-weight: var(--fw-semibold); }
  .site-nav__item.is-current > .site-nav__link::after { transform: scaleX(1); }
}
@media (max-width: 74.99em) {
  .site-nav__item.is-current > .site-nav__link { color: var(--cg-red); font-weight: var(--fw-regular); }
}
.dropdown__list a[aria-current="page"] { color: var(--cg-red); font-weight: var(--fw-medium); }

/* ==========================================================================
   2. INNER-PAGE BANNER
   Plain (warm background) or with an image (.page-banner--image)
   ========================================================================== */
.page-banner {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem);
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.page-banner__inner { position: relative; }
/* Page titles on every inner page (plain and photo banners alike): light,
   finely spaced capitals, in proportion with the rest of the page.
   About 28px on phones, 40px on tablets, 56px on large screens. */
.page-banner__title {
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.5rem);
  font-weight: var(--fw-light);
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 18ch;
}
.page-banner__intro {
  max-width: 40rem;
  margin: clamp(1rem, 0.85rem + 0.5vw, 1.25rem) 0 0;
  font-size: var(--fs-lead);
  color: var(--ink-soft);
}
.page-banner__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
/* Plain banners are a little shorter than photo banners, to suit the smaller title */
.page-banner:not(.page-banner--image) { padding-block: clamp(2.25rem, 1.25rem + 3.5vw, 4rem) clamp(2.25rem, 1.25rem + 3vw, 3.5rem); }

/* Image banner: photo behind, dark overlay, white text */
.page-banner--image {
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 52vh, 560px);
  color: #fff;
  background: #2a2522;
  border-bottom: 0;
}
.page-banner__media { position: absolute; inset: 0; z-index: -1; }
.page-banner__media picture { display: contents; }   /* the <img> inside sizes itself to the banner */
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(var(--overlay) / 0.25) 0%, rgb(var(--overlay) / 0.72) 100%);
}
.page-banner--image .page-banner__intro { color: rgb(255 255 255 / 0.9); }
.page-banner--image .page-banner__inner { width: 100%; }

/* Breadcrumbs: Home › Section › Page */
.breadcrumbs { margin-bottom: var(--space-5); font-size: var(--fs-small); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-1) 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--ink-muted); }
.breadcrumbs li + li::before {
  content: "";
  width: 6px; height: 6px;
  margin: 0 var(--space-3);
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--cg-red); text-decoration: underline; }
/* A long current page name (e.g. an article title) ends in "…" rather than being cut off */
.breadcrumbs [aria-current="page"] { display: block; min-width: 0; color: var(--ink); max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumbs [aria-current="page"]::before { display: inline-block; vertical-align: 0.12em; }
.page-banner--image .breadcrumbs li,
.page-banner--image .breadcrumbs a,
.page-banner--image .breadcrumbs [aria-current="page"] { color: rgb(255 255 255 / 0.85); }
.page-banner--image .breadcrumbs a:hover { color: #fff; }

/* ==========================================================================
   3. REUSABLE PAGE SECTIONS
   ========================================================================== */

/* Split: image beside text (swap sides with .split--reverse) */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.split__media { overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__content h2 { margin-bottom: var(--space-5); text-wrap: balance; }
.split__content .lead { margin-bottom: var(--space-5); }
@media (min-width: 62em) {
  .split { grid-template-columns: 6fr 5fr; gap: clamp(3rem, 6vw, 6rem); }
  .split__media img { aspect-ratio: 5 / 6; }
  .split--reverse { grid-template-columns: 5fr 6fr; }
  .split--reverse .split__media { order: 2; }
}

/* Numbered steps */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
@media (min-width: 48em) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75em) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps__item { padding: var(--space-6) var(--space-5); background: #fff; border-top: 2px solid var(--cg-red); }
.steps__num {
  display: block;
  margin-bottom: var(--space-4);
  font-family: var(--font-brand);
  font-size: 2.25rem;
  font-weight: var(--fw-light);
  line-height: 1;
  color: var(--cg-red);
}
.steps__title { margin-bottom: var(--space-2); font-size: 1.125rem; font-weight: var(--fw-medium); }
.steps__item p { margin: 0; color: var(--ink-soft); }

/* Service cards (landlord service levels) */
.service-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
@media (min-width: 62em) { .service-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card { padding: var(--space-6); background: #fff; border: 1px solid var(--line); }
.service-card--featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.service-card h3 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: var(--tracking-heading); font-weight: var(--fw-light); }
.service-card__fee { margin: var(--space-2) 0 var(--space-5); color: var(--cg-red); font-weight: var(--fw-medium); }
.service-cards__legal { display: table; margin: var(--space-6) auto 0; }

/* Tick list */
.tick-list { margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.tick-list li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.tick-list .icon { color: var(--cg-red); }

/* Valuation form section */
.valuation-section h2 { margin-bottom: var(--space-4); }

/* Call-to-action band (red) */
.cta-band {
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
  color: #fff;
  background: var(--cg-red);
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.cta-band h2 { text-wrap: balance; }
.cta-band__text { margin: var(--space-3) 0 0; font-size: var(--fs-lead); color: rgb(255 255 255 / 0.92); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-5); }
.cta-band .valuation__phone { color: #fff; }
.cta-band .valuation__phone:hover { color: #fff; text-decoration-thickness: 2px; }

/* Checkbox (custom box, real input underneath for accessibility) */
.checkbox { position: relative; display: flex; align-items: center; gap: var(--space-3); min-height: 44px; cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.checkbox__box {
  flex: none;
  width: 22px; height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff center / 14px no-repeat;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.checkbox input:checked + .checkbox__box {
  background-color: var(--ink);
  border-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.checkbox input:focus-visible + .checkbox__box { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ==========================================================================
   4. SEARCH RESULTS
   Desktop: filter sidebar + results grid.
   Phones/tablets: "Filters" button opens a slide-up panel.
   ========================================================================== */
.results { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--section-y); }
.results__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (min-width: 62em) { .results__layout { grid-template-columns: 280px minmax(0, 1fr); gap: clamp(2rem, 3vw, 3.5rem); } }

/* ---- Filters ---- */
.filters__form { display: flex; flex-direction: column; gap: var(--space-5); }
.filters__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-5); }
.filters__title {
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.filters__close { display: none; }
.filters__actions { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.filters__reset { background: none; border: 0; border-bottom: 1px solid currentColor; padding-inline: 0; cursor: pointer; }
.filters__reset::after { content: none; }
.filters__open { display: none; }
.filters__badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px; height: 20px;
  padding-inline: 5px;
  font-size: 0.6875rem;
  color: #fff;
  background: var(--cg-red);
  border-radius: 10px;
}
.filters__badge[hidden] { display: none; }
.filters__backdrop { display: none; }

@media (min-width: 62em) {
  .filters {
    position: sticky;
    top: calc(var(--header-h) + var(--space-5));
    padding: var(--space-6) var(--space-5);
    background: var(--paper-warm);
  }
  .filters__submit { display: none; }        /* desktop updates instantly */
}

@media (max-width: 61.99em) {
  .filters__open { display: inline-flex; }
  .filters {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    max-height: 88dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--space-5) var(--gutter) calc(var(--space-5) + env(safe-area-inset-bottom));
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -20px 50px -20px rgb(34 30 28 / 0.4);
    transform: translateY(105%);
    visibility: hidden;
    transition: transform 400ms var(--ease-smooth, ease), visibility 0s linear 400ms;
  }
  .filters.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .filters__close {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    margin-right: -10px;
    font-size: 1.25rem;
    color: var(--ink);
    background: none;
    border: 0;
    cursor: pointer;
  }
  .filters__actions { position: sticky; bottom: calc(-1 * var(--space-5)); margin-inline: calc(-1 * var(--gutter)); padding: var(--space-4) var(--gutter); background: #fff; }
  .filters__submit { flex: 1; }
  .filters__backdrop {
    position: fixed;
    inset: 0;
    z-index: 199;
    display: block;
    background: rgb(var(--overlay) / 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 0s linear 300ms;
  }
  body.filters-open { overflow: hidden; }
  body.filters-open .filters__backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
  body.filters-open .quick-actions { transform: translateY(110%); }
}

/* ---- Toolbar: count, filters button, sort ---- */
.results__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}
.results__count {
  margin: 0 auto 0 0;
  font-family: var(--font-brand);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}
.results__count:focus { outline: none; }
.results__sort { display: flex; align-items: center; gap: var(--space-3); }
.results__sort .field__control { width: auto; min-height: 44px; padding-block: 0.5rem; }
@media (max-width: 35.99em) {
  .results__count { flex-basis: 100%; }
  .results__sort { margin-left: auto; }
  .results__sort .field__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.results__dev { display: table; margin-bottom: var(--space-5); }

/* ---- Grid ---- */
.results__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 36em) { .results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75em) { .results__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 62em) { .results__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Keep room for the first row of cards while js/listings.js draws them, so the
   section below doesn't jump down the screen when they appear */
.js #results-list:empty { min-height: 34rem; }
.results__item { display: flex; }
.results__item > .property-card { flex: 1; }

/* Photo count badge on cards */
.property-card__photos {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
  color: #fff;
  background: rgb(var(--overlay) / 0.6);
  border-radius: var(--radius);
}

/* ---- Empty state ---- */
.results__empty { padding: var(--space-8) var(--space-5); text-align: center; background: var(--paper-warm); }
.results__empty h3 { margin-bottom: var(--space-3); font-size: 1.375rem; font-weight: var(--fw-light); text-transform: uppercase; letter-spacing: var(--tracking-heading); }
.results__empty p { max-width: 32rem; margin: 0 auto var(--space-6); color: var(--ink-soft); }
.results__empty-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4) var(--space-6); }
.results__noscript { padding: var(--space-5); background: var(--paper-warm); }

/* ---- Pagination ---- */
.pagination { display: flex; margin-top: var(--space-8); padding-left: 0; list-style: none; }
.pagination__list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.pagination__btn {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding-inline: var(--space-3);
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.pagination__btn:hover:not(:disabled) { border-color: var(--ink); }
.pagination__btn[aria-current="page"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.pagination__btn:disabled { opacity: 0.35; cursor: default; }

/* ==========================================================================
   5. PROPERTY DETAIL PAGE
   ========================================================================== */
.property-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  padding-block: var(--space-5);
}
.property-top .breadcrumbs { margin: 0; }
.property-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  text-decoration: none;
}
.property-back:hover { color: var(--cg-red); }
@media (max-width: 47.99em) { .property-top .breadcrumbs { display: none; } }

/* ---- Gallery: big photo + 2×2 on desktop; one photo on phones ---- */
.gallery { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.gallery__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.gallery__main,
.gallery__thumbs li { overflow: hidden; background: var(--stone); }
.gallery__main-btn,
.gallery__thumb {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery__main-btn img,
.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-smooth, ease);
}
.gallery__main { aspect-ratio: 4 / 3; }
.gallery__thumbs { display: none; margin: 0; padding: 0; list-style: none; }
@media (hover: hover) {
  .gallery__main-btn:hover img,
  .gallery__thumb:hover img { transform: scale(1.03); }
}
.gallery__main-btn:focus-visible,
.gallery__thumb:focus-visible { outline-offset: -4px; }
.gallery__count {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px -10px rgb(34 30 28 / 0.5);
  cursor: pointer;
}
.gallery__count:hover { color: var(--cg-red); }
@media (min-width: 48em) {
  .gallery__grid { grid-template-columns: 2fr 1fr; }
  .gallery__main { aspect-ratio: auto; height: clamp(360px, 48vw, 560px); }
  .gallery__thumbs { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
  .gallery__thumbs li:nth-child(n+3) { display: none; }
}
@media (min-width: 75em) {
  .gallery__thumbs { grid-template-columns: 1fr 1fr; }
  .gallery__thumbs li:nth-child(n+3) { display: block; }
  .gallery__grid { grid-template-columns: 1.6fr 1fr; }
}

/* ---- Two-column layout: details + sticky viewing form ---- */
.property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7);
  padding-bottom: var(--section-y);
}
@media (min-width: 62em) {
  .property-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .property-aside { position: sticky; top: calc(var(--header-h) + var(--space-5)); }
}

/* ---- Header ---- */
.property-header { padding-bottom: var(--space-6); border-bottom: 1px solid var(--line); }
.property-header__labels { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); }
.property-header .status { border: 1px solid var(--line-strong); }
.property-header .status--highlight { border-color: var(--cg-red); }
.property-header__price {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  font-weight: var(--fw-regular);
  letter-spacing: 0.01em;
}
.property-header__price small { font-size: 0.45em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); vertical-align: middle; }
.property-header__note { margin: var(--space-1) 0 0; font-size: var(--fs-small); color: var(--ink-muted); }
.property-header__title {
  margin-top: var(--space-4);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: var(--fw-light);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-heading);
  text-transform: uppercase;
}
.property-header__location { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-3) 0 0; color: var(--ink-soft); }
.property-header__location .icon { color: var(--cg-red); }

.property-facts { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.property-facts li { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 1rem; }
.property-facts .icon { width: 1.35em; height: 1.35em; color: var(--ink-muted); }

/* Without JavaScript the server-written parts still show (photo, price, title,
   features, description and the viewing form); hide the parts the script fills in. */
.no-js .gallery__count,
.no-js .property-tabs,
.no-js #section-details,
.no-js #section-floorplan,
.no-js #section-video,
.no-js #section-location,
.no-js .property-actions,
.no-js .property-aside__share,
.no-js .similar { display: none; }

/* ---- In-page section links ---- */
.property-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  margin: 0 calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  background: rgb(255 255 255 / 0.97);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.property-tabs::-webkit-scrollbar { display: none; }
.property-tabs ul { display: flex; gap: var(--space-5); margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.property-tabs a {
  display: block;
  padding: var(--space-4) 0;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}
.property-tabs a:hover { color: var(--ink); border-bottom-color: var(--cg-red); }
@media (min-width: 62em) { .property-tabs { margin: 0; padding-inline: 0; } }

/* ---- Sections ---- */
.property-section { padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); scroll-margin-top: calc(var(--header-h) + 60px); }
.property-section h2 {
  margin-bottom: var(--space-5);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  letter-spacing: var(--tracking-heading);
}
.property-section__sub { margin-top: var(--space-7); }
.property-section__intro { margin-top: calc(-1 * var(--space-3)); color: var(--ink-muted); }

.property-features { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3) var(--space-6); margin: 0; padding: 0; list-style: none; }
@media (min-width: 36em) { .property-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.property-features li { display: flex; align-items: flex-start; gap: var(--space-3); }
.property-features .icon { margin-top: 0.2em; color: var(--cg-red); }
.property-description { max-width: 46rem; color: var(--ink-soft); }

.property-material { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 var(--space-5); border-top: 1px solid var(--line); }
@media (min-width: 36em) { .property-material { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); } }
.property-material > div { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.property-material dt { font-weight: var(--fw-regular); color: var(--ink-muted); }
.property-material dd { margin: 0; text-align: right; font-weight: var(--fw-medium); }

.floorplan { position: relative; display: block; background: var(--paper-warm); border: 1px solid var(--line); }
.floorplan img { width: 100%; height: auto; }
.floorplan__hint {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
}

.video-frame { position: relative; aspect-ratio: 16 / 9; background: #1f1b19; overflow: hidden; }
.video-frame video,
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-frame__btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  font-family: var(--font-brand);
  font-size: 0.8125rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #fff;
  background: radial-gradient(circle at center, #3a3431 0%, #1f1b19 70%);
  border: 0;
  cursor: pointer;
}
.video-frame__btn .icon { width: 64px; height: 64px; transition: transform var(--motion-base, 400ms) var(--ease-smooth, ease); }
@media (hover: hover) { .video-frame__btn:hover .icon { transform: scale(1.08); } }

.property-map { position: relative; aspect-ratio: 16 / 10; background: var(--stone); border: 1px solid var(--line); overflow: hidden; }
.property-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.4) sepia(0.08); }
.property-map__note { margin-top: var(--space-3); font-size: var(--fs-small); color: var(--ink-muted); }
.property-map__note .icon { margin-right: var(--space-1); color: var(--cg-red); }

/* ---- Viewing request card ---- */
.enquiry-card { padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); background: var(--paper-warm); border-top: 3px solid var(--cg-red); }
.enquiry-card__title { font-size: 1.375rem; letter-spacing: var(--tracking-heading); }
.enquiry-card__property { margin: var(--space-2) 0 var(--space-5); font-size: var(--fs-small); color: var(--ink-muted); }
.enquiry-card__submit { width: 100%; margin-top: var(--space-2); }
.enquiry-card__or { margin: var(--space-5) 0 0; padding-top: var(--space-4); text-align: center; border-top: 1px solid var(--line); }
.property-aside__share { display: flex; align-items: center; justify-content: center; gap: var(--space-3); margin-top: var(--space-4); }
.property-share { background: none; border: 0; border-bottom: 1px solid currentColor; padding-inline: 0; cursor: pointer; }
.property-share::after { content: none; }
.property-share__status { font-size: var(--fs-small); color: var(--success); }

/* ---- Lightbox (photo viewer) ---- */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  color: #fff;
  background: rgb(20 17 15 / 0.96);
  border: 0;
}
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.lightbox::backdrop { background: rgb(20 17 15 / 0.9); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); margin: 0; padding: var(--space-8) 0 var(--space-5); height: 100%; justify-content: center; }
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; }
.lightbox__caption { font-size: var(--fs-small); letter-spacing: 0.1em; color: rgb(255 255 255 / 0.75); }
.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  color: #fff;
  font-size: 1.5rem;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 50%;
  cursor: pointer;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgb(255 255 255 / 0.18); }
.lightbox__close { position: absolute; top: var(--space-4); right: var(--space-4); z-index: 2; }
.lightbox__nav { margin-inline: var(--space-4); }
.lightbox :focus-visible { outline-color: #fff; }
@media (max-width: 47.99em) {
  .lightbox[open] { grid-template-columns: minmax(0, 1fr); }
  .lightbox__nav { position: absolute; bottom: var(--space-5); margin: 0; }
  .lightbox__nav--prev { left: var(--space-5); }
  .lightbox__nav--next { right: var(--space-5); }
  .lightbox__figure { padding-bottom: 90px; }
}

/* ---- Similar properties ---- */
.similar .section-head--split { align-items: flex-end; }

/* ==========================================================================
   6. NOT FOUND / 404
   ========================================================================== */
.not-found__inner { text-align: center; }
.not-found h1 { font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: var(--tracking-heading); font-weight: var(--fw-light); }
.not-found .lead { margin-top: var(--space-4); }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
.not-found__help { margin-top: var(--space-6); color: var(--ink-muted); }
.not-found--page { min-height: 60vh; display: grid; align-items: center; }
.not-found__code {
  margin: 0 0 var(--space-2);
  font-family: var(--font-brand);
  font-size: clamp(5rem, 3rem + 10vw, 10rem);
  font-weight: var(--fw-light);
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--cg-red);
}

/* ==========================================================================
   7. STYLE GUIDE (internal reference page)
   ========================================================================== */
.sg-section { padding-block: var(--space-8); border-bottom: 1px solid var(--line); }
.sg-section > h2 { margin-bottom: var(--space-6); font-size: 1.25rem; }
.sg-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.sg-swatch { border: 1px solid var(--line); }
.sg-swatch__chip { height: 90px; }
.sg-swatch__info { padding: var(--space-3); font-size: 0.8125rem; }
.sg-swatch__info code { display: block; color: var(--ink-muted); }
.sg-type > * + * { margin-top: var(--space-4); }
.sg-dark { padding: var(--space-5); background: #2a2522; }

/* ==========================================================================
   Property card refinements (used on every page)
   ========================================================================== */
/* Price qualifier on its own line above the price */
.price__qualifier {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.6875rem !important;
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.property-header__price .price__qualifier { margin-bottom: var(--space-1); vertical-align: baseline; }

/* Beds / baths with icons instead of dot separators: shorter, never wraps awkwardly */
.property-card__meta { gap: var(--space-2) var(--space-5); }
.property-card__meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.property-card__meta li + li::before { content: none; }
.property-card__meta .icon { width: 1.25em; height: 1.25em; color: var(--ink-muted); }

/* Desktop filter sidebar: stack min/max so long prices never get cut off */
@media (min-width: 62em) {
  .filters .filters__pair { grid-template-columns: minmax(0, 1fr); }
}

/* Very long words in large uppercase headings (e.g. "STRAIGHTFORWARD") can be
   wider than a 320px phone: allow them to hyphenate/break instead of overflowing */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }

/* ==========================================================================
   8. TEAM PAGE
   ========================================================================== */
.team-lead h2 { margin-bottom: var(--space-2); }
.team-lead__role { margin: 0 0 var(--space-5); }

/* The team: Charlotte, Ashleigh and Alina together, straight under the banner.
   Borderless and editorial: a 4:5 image (photo, or initials until a photo
   arrives), then name, role, a short intro and "Read more".
   - Desktop (62em+): three equal columns. Profiles side by side share their
     rows, so names, roles, intros and "Read more" line up even when intros
     differ in length; opening a bio only lengthens that profile.
   - Tablet (40em-62em): two columns, the third centred underneath.
   - Phones: one column; a smaller image beside the name and role, with the
     intro and "Read more" underneath, so the page stays short. */
.team.section { padding-block: clamp(2rem, 1.25rem + 3vw, 4.5rem) clamp(1rem, 0.5rem + 2vw, 2.5rem); }

.team-grid {
  --team-gap: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 var(--team-gap);   /* space between rows of profiles: each profile's bottom margin */
  max-width: 30rem;
  padding: 0;
  list-style: none;
}
.team ul.team-grid { margin: 0 auto; }   /* beats the base list reset, so the grid centres */
@media (min-width: 40em) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 46rem; }
  .team-grid > .team-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - var(--team-gap)) / 2);
  }
}
@media (min-width: 62em) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 68rem; }
  .team-grid > .team-card:last-child:nth-child(odd) { grid-column: auto; width: auto; }
}

.team-card { display: flex; flex-direction: column; min-width: 0; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
@supports (grid-template-rows: subgrid) {
  /* rows: image, name, role, intro, "Read more", bio */
  .team-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
}
.team-card__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 0 0 var(--space-5);
  background: var(--paper-warm);
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1.2s var(--ease-smooth, ease);
}
/* Until a photo arrives: the person's initials on the off-white tile */
.team-card__photo .initials-tile {
  height: 100%;
  aspect-ratio: auto;
  font-size: clamp(3rem, 2.2rem + 2.4vw, 4.5rem);
  border: 0;
  transition: background-color var(--motion-base, 500ms) var(--ease);
}
.team-card__dev { position: absolute; top: var(--space-3); left: var(--space-3); margin: 0; }

.team-card__name {
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: var(--fw-light);
  line-height: 1.25;
  letter-spacing: 0.08em;
  hyphens: manual;   /* never split a name */
}
.team-card__role {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: var(--space-2) 0 var(--space-4);
  font-family: var(--font-brand);
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cg-red);
}
.team-card__role::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  transition: width var(--motion-base, 500ms) var(--ease-smooth, ease);
}
.team-card__intro { margin: 0 0 var(--space-4); line-height: 1.75; color: var(--ink-soft); }
.team-card__more {
  justify-self: start;
  align-self: start;
  padding: var(--space-2) 0;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  transition: color var(--dur-fast, 200ms) var(--ease);
}
.team-card__more:hover,
.team-card__more[aria-expanded="true"] { color: var(--cg-red); }
.team-card__bio { padding-top: var(--space-4); color: var(--ink-soft); }
.team-card__bio p { margin: 0 0 var(--space-3); line-height: 1.75; }
.team-card__quote {
  margin: var(--space-4) 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.team-card__quote p { margin: 0; }
.team-card__quote p::before { content: "\201C"; color: var(--cg-red); }
.team-card__quote p::after { content: "\201D"; color: var(--cg-red); }
.team-card__email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-medium);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.team-card__email .icon { color: var(--cg-red); }
.team-card__email:hover { border-bottom-color: currentColor; }

/* Subtle hover on desktop: the photo eases in, the tile warms, the red line lengthens */
@media (hover: hover) {
  .team-card:hover .team-card__photo img { transform: scale(1.03); }
  .team-card:hover .initials-tile { background-color: var(--stone); }
  .team-card:hover .team-card__role::before { width: 2.5rem; }
}

/* Phones: a compact profile. The image (still 4:5) sits beside the name and
   role; the intro, "Read more" and bio run full width underneath. */
@media (max-width: 39.99em) {
  .team-card {
    display: grid;
    grid-row: auto;
    grid-template-columns: clamp(6.5rem, 33vw, 9.5rem) minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "photo name"
      "photo role"
      "intro intro"
      "more  more"
      "bio   bio";
    column-gap: var(--space-4);
    row-gap: 0;
    margin-bottom: clamp(2.25rem, 1.75rem + 2vw, 2.75rem);
  }
  .team-card__photo { grid-area: photo; margin: 0; }
  /* Charlotte's photo is a full-length portrait: at this size, frame her a little closer */
  .team-card__photo img { scale: 1.25; transform-origin: 50% 22%; }
  .team-card__photo .initials-tile { font-size: clamp(1.75rem, 1.25rem + 2.5vw, 2.25rem); }
  .team-card__name { grid-area: name; align-self: end; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.25rem); letter-spacing: 0.06em; }
  .team-card__role { grid-area: role; align-self: start; margin: var(--space-2) 0 0; letter-spacing: 0.14em; }
  .team-card__role::before { width: 1rem; }
  .team-card__intro { grid-area: intro; margin: var(--space-4) 0 var(--space-2); font-size: 0.9375rem; line-height: 1.65; }
  .team-card__more { grid-area: more; }
  .team-card__bio { grid-area: bio; padding-top: var(--space-3); font-size: 0.9375rem; }
  .team-card__bio p { line-height: 1.65; }
  .team-card__quote { font-size: 1rem; }
}

/* About page: small "Meet the team" strip */
.team-teaser__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5) var(--space-7); }
.team-teaser__inner > div { flex: 1; min-width: 220px; }
.team-teaser__title { margin-bottom: var(--space-2); font-size: 1.5rem; }
.team-teaser__inner p { margin: 0; color: var(--ink-soft); }
.team-teaser__faces { display: flex; margin: 0; padding: 0; list-style: none; }
.team-teaser__faces li { width: 72px; height: 72px; overflow: hidden; border: 3px solid var(--paper-warm); border-radius: 50%; background: var(--stone); }
.team-teaser__faces li + li { margin-left: -16px; }
.team-teaser__faces img { width: 100%; height: 100%; object-fit: cover; }
.team-teaser { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }

/* ==========================================================================
   9. FINISHING TOUCHES
   ========================================================================== */
/* Plain page banners: soft light from the top-right and a fine red rule */
.page-banner:not(.page-banner--image) {
  background:
    radial-gradient(ellipse 60% 90% at 88% 0%, rgb(255 255 255 / 0.9) 0%, rgb(255 255 255 / 0) 70%),
    var(--paper-warm);
}
.page-banner:not(.page-banner--image)::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  bottom: -1px;
  width: 72px;
  height: 2px;
  background: var(--cg-red);
}
@media (min-width: 75em) {
  .page-banner:not(.page-banner--image)::after { left: calc((100% - var(--container)) / 2); }
}

/* Images: a whisper of warmth while they load */
.property-card__media,
.photo-card__media,
.gallery__main,
.gallery__thumbs li { background: linear-gradient(135deg, var(--stone), var(--paper-warm)); }

/* ==========================================================================
   10. Extra features
       Saved properties, badges, WhatsApp, newsletter, Google reviews,
       news & articles, recently sold/let, print brochure
   ========================================================================== */

/* ---- 10.1 Saved (favourites) link in the header ---- */
.header-saved {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  border-radius: 50%;
  transition: color var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease);
}
.header-saved .icon { width: 1.3rem; height: 1.3rem; }
.header-saved:hover { color: var(--cg-red); background: var(--cg-red-tint); }
.header-saved__count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  line-height: 1.15rem;
  text-align: center;
  color: #fff;
  background: var(--cg-red);
  border-radius: 999px;
}
.header-saved__count[hidden] { display: none; }
body[data-page="saved"] .header-saved { color: var(--cg-red); }

/* ---- 10.2 Heart (save) button ---- */
.fav-btn {
  --heart-fill: none;
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  z-index: 2;                      /* above the card's stretched link */
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: rgb(255 255 255 / 0.94);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 18px -10px rgb(34 30 28 / 0.6);
  cursor: pointer;
  transition: color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.fav-btn .icon { width: 1.2rem; height: 1.2rem; }
.fav-btn[aria-pressed="true"] { --heart-fill: var(--cg-red); color: var(--cg-red); }
.fav-btn.is-popping .icon { animation: fav-pop 380ms var(--ease); }
@media (hover: hover) { .fav-btn:hover { color: var(--cg-red); transform: scale(1.06); } }
@keyframes fav-pop { 0% { transform: scale(1); } 45% { transform: scale(1.3); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .fav-btn.is-popping .icon { animation: none; } }

/* Labelled version (property page) */
.fav-btn--label {
  position: static;
  width: auto;
  height: auto;
  min-height: 46px;
  gap: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: none;
}
@media (hover: hover) { .fav-btn--label:hover { transform: none; border-color: var(--cg-red); } }
.fav-btn--label[aria-pressed="true"] { border-color: var(--cg-red); background: var(--cg-red-tint); }

/* ---- 10.3 New / Reduced badges ---- */
.property-card__badges,
.property-header__badges { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; }
.property-header__badges:empty { display: none; }
.badge {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  font-family: var(--font-brand);
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius);
}
.badge--new { color: #fff; background: var(--ink); }
.badge--reduced { color: var(--cg-red); background: #fff; box-shadow: inset 0 0 0 1px var(--cg-red); }

.property-header__reduced {
  margin: calc(var(--space-2) * -1) 0 var(--space-4);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--cg-red);
}
.property-header__added { margin: var(--space-4) 0 0; font-size: var(--fs-small); color: var(--ink-muted); }
.property-header__added:empty { display: none; }

/* ---- 10.4 Property page actions (save / print) and completed card ---- */
.property-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.property-actions .fav-btn--label[hidden] { display: none; }
.property-actions:has(.fav-btn--label[hidden]) { grid-template-columns: minmax(0, 1fr); }
.property-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);
}
.property-actions__btn .icon { width: 1.1rem; height: 1.1rem; }
.property-actions__btn:hover { color: var(--cg-red); border-color: var(--cg-red); }
.enquiry-card--completed { margin-bottom: var(--space-5); background: var(--ink); color: #fff; border-top-color: var(--cg-red); }
.enquiry-card--completed .enquiry-card__title { color: #fff; }
.enquiry-card--completed p { color: rgb(255 255 255 / 0.82); }

/* ---- 10.5 Saved page ---- */
.saved__clear { margin-left: auto; }
.saved__clear[hidden] { display: none; }
.saved__empty-icon { width: 2.5rem; height: 2.5rem; margin-bottom: var(--space-4); color: var(--cg-red); }
.saved__note { margin: var(--space-6) 0 0; font-size: var(--fs-small); color: var(--ink-muted); text-align: center; }

/* ---- 10.6 Recently sold / let ---- */
.recent .property-card__media img { filter: saturate(0.85); }
.recent .property-card__title a { color: var(--ink); }

/* ---- 10.7 WhatsApp button (bottom left; back-to-top is bottom right) ----
   A round icon button so it never covers much content; the accessible name
   comes from the visually hidden label. */
.whatsapp-btn {
  position: fixed;
  left: clamp(1rem, 0.6rem + 1vw, 1.75rem);
  bottom: clamp(1rem, 0.6rem + 1vw, 1.75rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: #1f7a4c;            /* deep green: recognisable for WhatsApp, 5.6:1 with white */
  border-radius: 50%;
  box-shadow: 0 12px 30px -14px rgb(34 30 28 / 0.65);
  transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease), bottom var(--motion-base) var(--ease-smooth);
}
.whatsapp-btn[hidden] { display: none; }
.whatsapp-btn .icon { width: 1.5rem; height: 1.5rem; }
.whatsapp-btn__label {           /* visually hidden, still read out */
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.whatsapp-btn:hover { color: #fff; background: #17633d; }
@media (hover: hover) { .whatsapp-btn:hover { transform: translateY(-2px); } }
@media (max-width: 61.99em) {
  body.has-quick-actions .whatsapp-btn { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
body.nav-open .whatsapp-btn { opacity: 0; visibility: hidden; }

/* ---- 10.8 Newsletter (image left, sign-up right) ---- */
.newsletter {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
}
.newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6) clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
@media (min-width: 48em) { .newsletter__inner { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); } }
@media (min-width: 75em) { .newsletter__inner { grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); } }
.newsletter__media { position: relative; }
.newsletter__media::after {               /* thin offset frame, echoing the Meet Charlotte portrait */
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: 0;
  border: 1px solid var(--cg-red);
  pointer-events: none;
}
.newsletter__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
@media (max-width: 47.99em) {
  .newsletter__media { max-width: 15rem; }
  .newsletter__media img { aspect-ratio: 1; }
}
.newsletter__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: var(--fw-light);
  line-height: 1.15;
  letter-spacing: var(--tracking-heading);
  text-transform: uppercase;
  text-wrap: balance;
}
.newsletter__text { max-width: 36rem; margin: 0 0 var(--space-6); color: var(--ink-soft); }
.newsletter__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3) var(--space-4); align-items: start; }
@media (min-width: 36em) { .newsletter__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .newsletter__submit { grid-column: 1 / -1; justify-self: start; } }
@media (min-width: 75em) {
  .newsletter__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; }
  .newsletter__submit { grid-column: auto; margin-top: 1.9rem; }   /* lines up with the inputs under their labels */
}
.newsletter__row .field { margin: 0; }
.newsletter__submit { min-height: 50px; }
.newsletter__consent { margin: var(--space-5) 0 0; font-size: var(--fs-small); color: var(--ink-soft); }
.newsletter .form-status:empty { display: none; }

/* ---- 10.9 Google reviews summary ---- */
.google-summary {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin: 0 0 var(--space-6);
  padding: 0.6rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.google-summary[hidden] { display: none; }
.stars { display: inline-flex; gap: 2px; color: #b8860b; }   /* gold, never the only signal: text gives the score */
.stars .icon { width: 1rem; height: 1rem; fill: currentColor; }
.stars .stars__off { color: var(--line-strong); }

/* ---- 10.9 (continued) Review cards ("Kind words", partials/reviews-grid) ----
   Same family as the property and news cards: white, a hairline border and
   the same corners. A red quote mark (and the stars, if given) along the top,
   the client's words, then who they are beside an initials badge. */
.feedback__grid .testimonial {
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.testimonial__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.testimonial__icon { flex: none; width: 1.75rem; height: 1.3125rem; fill: var(--cg-red); }
.testimonial .stars { margin: 0; }
.feedback__grid .testimonial__quote {
  flex: 1;
  margin: 0 0 var(--space-6);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}
.feedback__grid .testimonial__quote p { margin: 0; }
.testimonial__cite:has(.testimonial__who) {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-4);
  padding-top: var(--space-5);
}
.testimonial__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  font-family: var(--font-brand);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  color: var(--cg-red);
  background: var(--cg-red-tint);
  border-radius: 50%;
}
.testimonial__who { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.testimonial__who .testimonial__name { font-size: 0.9375rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.testimonial__who .testimonial__meta { font-size: 0.8125rem; }
.testimonial__source {
  margin-top: 0.2rem;
  font-family: var(--font-brand);
  font-size: 0.6875rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Cards in the same row share three rows (quote mark, words, name), so the
   dividing lines line up even when one card has an extra "Google review" line */
@supports (grid-template-rows: subgrid) {
  .feedback__grid .testimonial:has(> .testimonial__top) {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}

/* Tablets: two side by side; an odd one out (3 or 5 reviews) sits centred underneath */
@media (min-width: 48em) and (max-width: 61.99em) {
  :is(.feedback__grid--3, .feedback__grid--5) .testimonial:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - var(--space-5)) / 2);
  }
}
/* ---- Review swipe row (phones) ----
   Two or more reviews become a row you swipe sideways, like the "Selling" and
   "Letting" cards elsewhere. The next card peeks in so it's clear there's more,
   and arrows with position dots sit underneath (js/main.js initReviewSwipe),
   so it never relies on swiping alone. Nothing moves on its own. One review,
   tablets and desktop are unchanged. */
.feedback__controls { display: none; }
@media (max-width: 47.99em) {
  .feedback__grid--multi {
    position: relative;                 /* card positions are measured from here */
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 0 var(--space-4);
    margin-inline: calc(var(--gutter) * -1);   /* runs to the screen edges */
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .feedback__grid--multi::-webkit-scrollbar { display: none; }
  .feedback__grid--multi > .testimonial { scroll-snap-align: start; }
  .feedback__grid--multi:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

  .feedback__controls:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-top: var(--space-5);
  }
}
.feedback__dots { display: flex; align-items: center; gap: 6px; }
.feedback__dot {
  width: 8px;
  height: 8px;
  background: var(--line-strong);
  border-radius: 999px;
  transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.feedback__dot.is-current { width: 24px; background: var(--cg-red); }
.feedback__arrows { display: flex; gap: var(--space-2); }

/* One or two reviews: centred instead of leaving an empty column */
.feedback__grid.feedback__grid--1 { grid-template-columns: minmax(0, 1fr); max-width: 40rem; margin-inline: auto; }
@media (min-width: 48em) {
  .feedback__grid.feedback__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 58rem; margin-inline: auto; }
  /* Four reviews: two by two, rather than three and one left over */
  .feedback__grid.feedback__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 58rem; margin-inline: auto; }
}
/* Five reviews on desktop: three, then two centred underneath */
@media (min-width: 62em) {
  .feedback__grid.feedback__grid--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .feedback__grid--5 > .testimonial { grid-column: span 2; }
  .feedback__grid--5 > .testimonial:nth-child(4) { grid-column: 2 / span 2; }
}

/* ---- 10.10 News cards and grid (homepage, News page, "More articles") ---- */
.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 0.9rem + 1.2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 40em) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid__item--featured { grid-column: 1 / -1; }   /* the newest article, News page only */
}
@media (min-width: 62em) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Homepage on phones and tablets: just the two newest articles (one tidy row
   of two on a tablet); "All articles" leads to the rest */
@media (max-width: 61.99em) {
  .latest-news .news-grid__item:nth-child(n + 3) { display: none; }
}

/* The card: photo with its topic on top, then date, title, summary and a
   "Read article" link pinned to the bottom so the links line up in a row. */
.article-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--motion-base, 500ms) var(--ease-smooth, ease);
}
/* Soft shadow, faded in on hover (as on the property cards) */
.article-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: 0 24px 40px -30px rgb(34 30 28 / 0.45);
  opacity: 0;
  transition: opacity var(--motion-base, 500ms) var(--ease-smooth, ease);
  pointer-events: none;
}
.article-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.article-card__demo { position: absolute; top: var(--space-3); left: var(--space-3); }

/* Topic label: on the photo in cards, beside the date on the article page */
.article-card__category {
  display: inline-block;
  padding: 0.35rem 0.6rem 0.3rem;
  font-family: var(--font-brand);
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cg-red);
  background: #fff;
  border-radius: var(--radius);
}
.article-card__media .article-card__category {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  box-shadow: 0 4px 14px -6px rgb(34 30 28 / 0.4);
}

.article-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-5); }
.article-card__meta { margin: 0 0 var(--space-2); font-size: 0.8125rem; color: var(--ink-muted); }
.article-card__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  font-weight: var(--fw-regular);
  line-height: 1.35;
}
.article-card__title a { color: var(--ink); text-decoration: none; }
/* Makes the whole card clickable while keeping one link for screen readers */
.article-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.article-card__title a:focus-visible { outline: none; }
.article-card:has(a:focus-visible) { outline: 3px solid var(--cg-red); outline-offset: 4px; }
.article-card__excerpt { margin: 0 0 var(--space-5); font-size: 0.9375rem; line-height: 1.65; color: var(--ink-soft); }
.article-card__more { align-self: flex-start; margin: auto 0 0; }

@media (hover: hover) {
  .article-card:hover .article-card__media img { transform: scale(1.04); }
  .article-card:hover::after { opacity: 1; }
  .article-card:hover .article-card__more { color: var(--cg-red); }
  .article-card:hover .article-card__more::after { transform: translateX(4px); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .article-card:hover { transform: translateY(-6px); }
}

/* The newest article on the News page: photo beside the text */
@media (min-width: 48em) {
  .article-card--featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .article-card--featured .article-card__media { aspect-ratio: auto; min-height: clamp(18rem, 10rem + 16vw, 28rem); }
  .article-card--featured .article-card__media img { position: absolute; inset: 0; }
  .article-card--featured .article-card__body { justify-content: center; padding: clamp(1.75rem, 0.75rem + 2.8vw, 3.5rem); }
  .article-card--featured .article-card__title {
    margin-bottom: var(--space-4);
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
    font-weight: var(--fw-light);
    line-height: 1.2;
  }
  .article-card--featured .article-card__excerpt { max-width: 34rem; margin-bottom: var(--space-6); font-size: 1rem; }
  .article-card--featured .article-card__more { margin-top: 0; }
}

/* News page: filters close under the banner */
.news.section { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.faq-filter.news__filters { margin: 0 0 clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
/* Phones and tablets: compact topic buttons that wrap (all seven fit on one
   row on a tablet), instead of a tall 2-column stack on phones */
@media (max-width: 61.99em) {
  .faq-filter.news__filters { display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .news__filters .faq-filter__button {
    width: auto;
    min-height: 40px;
    padding: 0.45rem 0.85rem;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
  }
}

/* ---- 10.11 Article page ---- */
.article__header { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  margin: var(--space-5) 0 var(--space-4);
  font-size: var(--fs-small);
  color: var(--ink-muted);
}
.article__meta .article-card__category { background: var(--cg-red-tint); }
/* Article titles are often long, so a little smaller and tighter than other
   headings (most fit on two lines), and balanced so no word sits alone */
.article__title {
  margin: 0 0 var(--space-6);
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
  font-weight: var(--fw-light);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
/* The photo lines up with the title and text column, so the article starts
   on the first screen */
.article__image.container-cg { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.article__image { margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.article__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--stone); }
@media (max-width: 35.99em) { .article__image img { aspect-ratio: 3 / 2; } }   /* taller on phones */
.article__body { font-size: 1.0625rem; line-height: 1.75; }
.article__body p { margin: 0 0 var(--space-5); }
.article__body h2 {
  margin: var(--space-7, 2.5rem) 0 var(--space-4);
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  font-weight: var(--fw-light);
  letter-spacing: var(--tracking-heading);
}
/* The rest of what the admin editor (Articles) can add */
.article__body h3 { margin: var(--space-6) 0 var(--space-3); font-size: 1.1875rem; font-weight: var(--fw-semibold); }
.article__body ul,
.article__body ol { margin: 0 0 var(--space-5); padding-left: 1.4em; }
.article__body li { margin-bottom: var(--space-2); }
.article__body li::marker { color: var(--cg-red); }
.article__body blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-2) 0 var(--space-2) var(--space-5);
  border-left: 2px solid var(--cg-red);
  font-size: 1.1875rem;
  font-weight: var(--fw-light);
  color: var(--ink);
}
.article__body blockquote p:last-child { margin-bottom: 0; }
.article__body a { color: var(--cg-red); text-underline-offset: 0.2em; }
.article__body a:hover { color: var(--ink); }
/* Author and share: the dividing line lines up with the text column */
.article__footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-7);
  margin-bottom: clamp(3rem, 2rem + 3vw, 5rem);
  padding-top: var(--space-6);
}
.article__footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--line);
}
.article__author { display: flex; align-items: center; gap: var(--space-4); }
.article__author img { width: 56px; height: 56px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--stone); }
.article__author p { margin: 0; }
.article__author-name { font-weight: var(--fw-semibold); }
.article__author-role { font-size: var(--fs-small); color: var(--ink-muted); }
.article__share { display: flex; align-items: center; gap: var(--space-3); }

/* ---- 10.12 Print-only blocks are hidden on screen ---- */
.print-only { display: none !important; }

/* ==========================================================================
   11. Print: property brochure (and tidy printing for every page)
   ========================================================================== */
@media print {
  @page { size: A4; margin: 14mm; }
  *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; }
  html, body { background: #fff !important; color: #000; font-size: 10.5pt; }
  [data-reveal], [data-stagger] > *, [data-zoom] img, .eyebrow { opacity: 1 !important; transform: none !important; }

  /* Hide site furniture */
  .site-header, .site-nav, .skip-link, .site-footer, .newsletter, .whatsapp-btn, .back-to-top,
  .quick-actions, .scroll-progress, .dev-toast, .cta-band, .property-tabs, .property-aside,
  .property-actions, #section-video, .property-map iframe, .property-map button, .similar,
  .lightbox, .gallery__count, .breadcrumbs, .fav-btn, .dev-note, .dev-banner, form, .text-link,
  .property-map, .floorplan__hint, #property-map-link, .property-top, .cookie-banner { display: none !important; }

  .print-only { display: block !important; }
  a { color: #000; text-decoration: none; }

  /* Brochure header and footer */
  .print-brochure-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 6mm;
    padding-bottom: 4mm;
    border-bottom: 2px solid #cc0000;
  }
  .print-brochure-head img { width: 42mm; height: auto; }
  .print-brochure-head p { margin: 0; text-align: right; font-size: 9pt; line-height: 1.5; }
  .print-brochure-foot { margin-top: 8mm; padding-top: 3mm; border-top: 1px solid #999; font-size: 8pt; color: #333; }
  .print-brochure-foot p { margin: 0 0 1mm; }

  /* Single column, photos in a neat grid */
  .container-cg { max-width: none !important; padding: 0 !important; }
  .gallery { margin: 0 0 5mm !important; }
  .gallery__grid { display: grid !important; grid-template-columns: 2fr 1fr !important; gap: 2mm !important; height: auto !important; }
  .gallery__main, .gallery__main img { height: 78mm !important; }
  .gallery__thumbs { display: grid !important; grid-template-columns: 1fr !important; gap: 2mm !important; }
  .gallery__thumbs li:nth-child(n+3) { display: none !important; }
  .gallery__thumbs img { height: 38mm !important; }
  .gallery img { width: 100%; object-fit: cover; }
  .property-layout { display: block !important; }
  .property-header__price { font-size: 20pt !important; }
  .property-header__title { font-size: 15pt !important; }
  .property-section { padding: 0 !important; margin: 0 0 5mm !important; border: 0 !important; }
  .property-section li, .property-section tr, .property-section dl > div { break-inside: avoid; }
  .property-section h2 { font-size: 12pt !important; margin-bottom: 2mm !important; }
  #section-floorplan { break-before: page; }
  #section-floorplan img { max-height: 150mm; width: auto; margin: 0 auto; }
  .status, .badge { border: 1px solid #000; background: #fff !important; color: #000 !important; }
  img { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
}

/* Small phones: make room for the saved-properties heart in the header */
@media (max-width: 35.99em) {
  .site-header__inner { gap: var(--space-3); }
  .site-header__actions { gap: 0.25rem; }
  .header-saved { width: 40px; height: 40px; }
  .site-header__cta.button--small { padding-inline: 0.75rem; letter-spacing: 0.08em; }
  .site-header .nav-toggle { width: 44px; }
}
@media (max-width: 22.49em) {
  .site-header__logo img { height: 40px; }
  .site-header__cta.button--small { padding-inline: 0.6rem; font-size: 0.6875rem; }
}

/* ---- 10.13 Instagram: two reels as our own tiles ----
   Each reel is a tall cover photo with a play button that opens the reel on
   Instagram. Nothing is loaded from Instagram itself, so the tiles are fast
   and need no cookie note.
   Tablets and desktop: the intro on the left, the two reels side by side on
   the right, standing on a soft red-tint band that runs to the screen edge.
   Phones: intro, then both reels side by side on a full-width band, then
   the button. */
.instagram {
  overflow: hidden;                      /* the tinted band runs off the screen edge */
  background: #fff;
}

.instagram__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "intro" "reels" "actions";
  gap: clamp(2rem, 1.4rem + 2.5vw, 3rem);
}
.instagram__intro { grid-area: intro; }
.instagram__reels { grid-area: reels; }
.instagram__actions { grid-area: actions; }

.instagram__intro h2 { margin-bottom: var(--space-3); }
.instagram__intro .lead { max-width: 28rem; margin: 0 0 var(--space-6); }

/* Account name with a round Instagram icon */
.instagram__handle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
}
.instagram__handle-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  color: var(--cg-red);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.instagram__handle-icon .icon { width: 1.25rem; height: 1.25rem; }
.instagram__handle-name {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.0625rem;
  font-weight: var(--fw-medium);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.instagram__handle-meta { display: block; margin-top: 0.125rem; font-size: var(--fs-small); color: var(--ink-muted); }

/* The two reels */
.instagram__reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.875rem, 0.4rem + 2vw, 2rem);
  align-items: start;
  width: 100%;
  max-width: 36rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.instagram__reels::before {               /* soft red-tint band behind the lower part of the reels */
  content: "";
  position: absolute;
  z-index: 0;
  inset: 30% -100vw calc(var(--space-6) * -1) calc(var(--gutter) * -1);
  background: var(--cg-red-tint);
}
.instagram__reel { position: relative; z-index: 1; min-width: 0; }

.instagram__reel-link { display: block; color: var(--ink); text-decoration: none; }
.instagram__reel-link:focus-visible { outline: none; }
.instagram__reel-link:focus-visible .instagram__reel-media { outline: 3px solid var(--cg-red); outline-offset: 4px; }

.instagram__reel-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--stone);
  box-shadow: 0 28px 50px -34px rgb(34 30 28 / 0.5);
}
.instagram__reel-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-smooth);
}
.instagram__reel-media::after {           /* hairline edge so light photos don't melt into the page */
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgb(34 30 28 / 0.06);
  pointer-events: none;
}

/* Small "Reel" label, top left */
.instagram__reel-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.6rem;
  font-family: var(--font-brand);
  font-size: 0.625rem;
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.instagram__reel-badge .icon { width: 0.75rem; height: 0.75rem; color: var(--cg-red); }

/* Round play button in the middle */
.instagram__reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--cg-red);
  background: rgb(255 255 255 / 0.92);
  border-radius: 50%;
  box-shadow: 0 12px 30px -14px rgb(34 30 28 / 0.55);
  transform: translate(-50%, -50%);
  transition: transform var(--motion-base) var(--ease-smooth), color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.instagram__reel-play svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }

/* Title and "Watch" link under each reel */
.instagram__reel-title {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-brand);
  font-size: 1.0625rem;
  font-weight: var(--fw-regular);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.instagram__reel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: var(--space-2);
  font-family: var(--font-brand);
  font-size: 0.6875rem;
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--cg-red);
}
.instagram__reel-cta::after { content: "→"; transition: transform var(--dur-fast) var(--ease); }

@media (hover: hover) {
  .instagram__reel-link:hover .instagram__reel-media img { transform: scale(1.04); }
  .instagram__reel-link:hover .instagram__reel-play { color: #fff; background: var(--cg-red); transform: translate(-50%, -50%) scale(1.06); }
  .instagram__reel-link:hover .instagram__reel-cta::after { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .instagram__reel-media img,
  .instagram__reel-play { transition: none; }
  .instagram__reel-link:hover .instagram__reel-media img { transform: none; }
  .instagram__reel-link:hover .instagram__reel-play { transform: translate(-50%, -50%); }
}

/* Tablets and desktop: intro and button on the left, reels on the right */
@media (min-width: 48em) {
  .instagram__layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      ".       reels"
      "intro   reels"
      "actions reels"
      ".       reels";
    column-gap: clamp(2.5rem, 0.5rem + 5vw, 6rem);
    row-gap: var(--space-7);
  }
  .instagram__reels { justify-self: end; max-width: 40rem; }
  .instagram__reels::before { inset: 30% -100vw calc(var(--space-6) * -1) calc(clamp(1.5rem, 0.5rem + 3vw, 3.5rem) * -1); }
}

/* Phones: smaller labels and play button so the two reels fit side by side */
@media (max-width: 47.99em) {
  .instagram__reels::before { inset: 34% calc(var(--gutter) * -1) calc(var(--space-5) * -1); }
  .instagram__actions { margin-top: var(--space-4); }       /* clear of the tinted band */
  .instagram__reel-badge { top: 0.5rem; left: 0.5rem; padding: 0.3rem 0.45rem; font-size: 0.5625rem; letter-spacing: 0.12em; }
  .instagram__reel-play { width: 48px; height: 48px; }
  .instagram__reel-play svg { width: 18px; height: 18px; margin-left: 2px; }
  .instagram__reel-title { margin-top: var(--space-3); font-size: 0.9375rem; }
  .instagram__reel-cta { font-size: 0.625rem; letter-spacing: 0.14em; }
  .instagram__actions .button { width: 100%; }
}

/* ---- 10.14 Charlotte's introduction (real content) ---- */
.meet__person {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.85rem;
  margin: calc(var(--space-2) * -1) 0 var(--space-5);
  padding-left: var(--space-4);
  border-left: 2px solid var(--cg-red);
}
.meet__name { font-family: var(--font-brand); font-size: 1.125rem; font-weight: var(--fw-medium); color: var(--ink); }
.meet__role {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.meet__bio p {
  max-width: 34rem;
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--ink-soft);
}
.meet__portrait img { object-position: center 30%; }
.article__author img { object-position: center; }

/* ==========================================================================
   12. Client copy sections (from the client's website script)
   ========================================================================== */

/* Longer text inside split layouts */
.prose > p:not(.eyebrow):not(.lead) { margin: 0 0 var(--space-4); color: var(--ink-soft); line-height: 1.75; }
.prose p a { color: var(--cg-red); }
.split--top { align-items: start; }
@media (min-width: 62em) { .split--top .split__media { position: sticky; top: 7rem; } }
.split__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-6); }

/* Sell: "What you can expect" */
.expect__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 var(--space-7);
  max-width: 58rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
@media (min-width: 48em) { .expect__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.expect__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
}
.expect__list .icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; color: var(--cg-red); }
.expect__closing { max-width: 46rem; margin: var(--space-7) auto 0; text-align: center; font-size: var(--fs-lead); line-height: 1.7; color: var(--ink-soft); }
.expect__actions { margin-top: var(--space-6); text-align: center; }

/* Let: trust points under the intro */
.trust-points {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 36em) { .trust-points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trust-points li { padding: var(--space-4); background: var(--paper-warm); border-top: 2px solid var(--cg-red); }
.trust-points strong { display: block; font-family: var(--font-brand); font-size: 1.0625rem; font-weight: var(--fw-medium); color: var(--ink); }
.trust-points span { font-size: var(--fs-small); color: var(--ink-muted); }

/* Let: packages */
.lettings-services .section-head p:not(.eyebrow):not(.lead) { max-width: 44rem; margin-inline: auto; color: var(--ink-soft); }
.packages {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  max-width: 64rem;
  margin: var(--space-7) auto 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 62em) { .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); } }
.package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
}
.package--featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 24px 50px -36px rgb(34 30 28 / 0.6); }
.package__flag {
  position: absolute;
  top: 0;
  right: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem);
  margin: 0;
  padding: 0.4rem 0.75rem;
  font-family: var(--font-brand);
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--cg-red);
  transform: translateY(-50%);
}
.package__name { margin: 0 0 var(--space-3); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: var(--fw-light); letter-spacing: var(--tracking-heading); text-transform: uppercase; }
.package__summary { margin: 0 0 var(--space-3); font-size: 1.0625rem; color: var(--ink); }
.package__ideal { margin: 0 0 var(--space-5); padding-bottom: var(--space-5); color: var(--ink-muted); font-size: var(--fs-small); border-bottom: 1px solid var(--line); }
.package__lead { margin: 0 0 var(--space-3); font-family: var(--font-brand); font-size: 0.75rem; font-weight: var(--fw-semibold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.package__list { flex: 1; margin: 0 0 var(--space-5); padding: 0; list-style: none; }
.package__list li { display: flex; align-items: flex-start; gap: var(--space-3); padding: 0.45rem 0; color: var(--ink-soft); }
.package__list .icon { flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; color: var(--cg-red); }
.package__fee { align-self: flex-start; margin-bottom: var(--space-4); }
.package__cta { align-self: stretch; text-align: center; }

/* Let: comparison table (scrolls sideways on very small screens) */
.compare-wrap { max-width: 64rem; margin: clamp(3rem, 2rem + 3vw, 5rem) auto 0; }
.compare__title { margin-bottom: var(--space-5); text-align: center; font-size: 1.375rem; font-weight: var(--fw-light); letter-spacing: var(--tracking-heading); text-transform: uppercase; }
.compare { position: relative; overflow-x: auto; background: #fff; border: 1px solid var(--line); }
.compare:focus-visible { outline: 3px solid var(--cg-red); outline-offset: 2px; }
.compare__table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: 0.9375rem; }
.compare__table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.compare__table th, .compare__table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.compare__table thead th {
  position: sticky;
  top: 0;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: var(--ink);
}
.compare__table thead th:first-child { text-align: left; }
.compare__table tbody th { font-weight: var(--fw-regular); text-align: left; color: var(--ink); }
.compare__table td { width: 9rem; text-align: center; }
.compare__table tbody tr:nth-child(even) { background: var(--paper-warm); }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__yes { width: 1.2rem; height: 1.2rem; color: var(--cg-red); vertical-align: middle; }
.compare__no { color: var(--ink-muted); }

.lettings-services__help { max-width: 40rem; margin: clamp(3rem, 2rem + 3vw, 4.5rem) auto 0; text-align: center; }
.lettings-services__help h3 { margin-bottom: var(--space-3); font-size: 1.375rem; font-weight: var(--fw-light); letter-spacing: var(--tracking-heading); text-transform: uppercase; }
.lettings-services__help p { color: var(--ink-soft); }
.lettings-services__legal { margin: var(--space-7) 0 0; text-align: center; font-size: var(--fs-small); color: var(--ink-muted); }
.lettings-services__dev { display: table; margin: var(--space-3) auto 0; }

/* About: "Hello, I'm Charlotte" */
.hello__inner { text-align: center; }
.hello__photo { width: 96px; height: 96px; margin: 0 auto var(--space-5); object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.hello__title { max-width: 42rem; margin: 0 auto var(--space-6); font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem); font-weight: var(--fw-light); line-height: 1.25; text-transform: none; letter-spacing: 0.01em; text-wrap: balance; }
.hello__text p { max-width: 40rem; margin: 0 auto var(--space-4); font-size: var(--fs-lead); line-height: 1.75; color: var(--ink-soft); }
.hello__sign { margin: var(--space-6) 0 0; font-family: var(--font-brand); font-size: 1.125rem; color: var(--ink); }
.hello__sign span { display: block; margin-top: 0.25rem; font-size: 0.75rem; font-weight: var(--fw-semibold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cg-red); }

/* Contact: office */
.office__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); align-items: start; }
@media (min-width: 62em) { .office__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.office__address { margin: var(--space-6) 0; font-style: normal; font-size: 1.0625rem; line-height: 1.7; }
.office__hours-title { margin: 0 0 var(--space-3); font-family: var(--font-brand); font-size: 0.75rem; font-weight: var(--fw-semibold); letter-spacing: 0.14em; text-transform: uppercase; }
.office__hours { max-width: 22rem; margin: 0 0 var(--space-6); }
.office__hours div { display: flex; justify-content: space-between; gap: var(--space-4); padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.office__hours dt { font-weight: var(--fw-regular); color: var(--ink-soft); }
.office__hours dd { margin: 0; color: var(--ink); }
.office__media { display: grid; gap: var(--space-4); }
.office__photo { position: relative; }
.office__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.office__dev { position: absolute; left: var(--space-3); top: var(--space-3); }
.office__map { position: relative; aspect-ratio: 16 / 9; background: var(--stone); border: 1px solid var(--line); }
.office__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* "Show map" panel before Google Maps loads (partials/google-map.blade.php):
   used in the office map here and the area map on Home and About */
.map-load {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  font-family: var(--font-brand);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: repeating-linear-gradient(45deg, var(--stone) 0 12px, #efe9e3 12px 24px);
  border: 0;
  cursor: pointer;
}
.map-load .icon { width: 1.75rem; height: 1.75rem; color: var(--cg-red); }
.map-load small { font-family: var(--font-system, sans-serif); font-size: 0.75rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-muted); }
.map-load:hover span { color: var(--cg-red); }

/* Footer opening hours, FAQ intro line, team photo note */
.site-footer__hours { margin: var(--space-3) 0 0; font-size: var(--fs-small); color: var(--ink-muted); }
.site-footer__legal-info p:not(.dev-note) { margin: 0 0 var(--space-2); font-size: var(--fs-small); color: var(--ink-muted); }
.faq-layout__lead { color: var(--ink-soft); }
.faq-layout__help a:not(.text-link) { color: var(--ink); }

/* Centre these lists (the base ul[role="list"] reset sets margin: 0) */
.expect ul.expect__list,
.lettings-services ul.packages { margin-inline: auto; }
.lettings-services ul.packages { margin-top: var(--space-7); }
#looking-to-let .lead { font-size: 1.125rem; line-height: 1.75; }
.office h2 { margin-bottom: var(--space-4); }

/* Rent: "Looking to rent" */
.looking-to-rent__inner { text-align: center; }
.looking-to-rent .lead { max-width: 40rem; margin: 0 auto var(--space-6); }
.looking-to-rent__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
/* Homepage news sits just above the newsletter */
.latest-news { border-top: 1px solid var(--line); }
.newsletter__dev { position: absolute; left: var(--space-3); top: var(--space-3); z-index: 2; margin: 0; }
.newsletter__media img { object-position: center; }

/* ==========================================================================
   13. Policy pages (privacy, cookies, terms, accessibility)
   ========================================================================== */
.policy__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6) clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (min-width: 62em) { .policy__layout { grid-template-columns: minmax(0, 17rem) minmax(0, 46rem); } }
.policy__toc { font-size: var(--fs-small); }
@media (min-width: 62em) { .policy__toc { position: sticky; top: 7rem; } }
.policy__toc-box { padding: var(--space-4) var(--space-5); background: var(--paper-warm); border-top: 2px solid var(--cg-red); }
.policy__toc-box summary {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.policy__toc-box ol { margin: var(--space-3) 0 0; counter-reset: toc; }
.policy__toc-box li { counter-increment: toc; }
.policy__toc-box a { display: flex; gap: 0.5rem; padding: 0.3rem 0; color: var(--ink-soft); text-decoration: none; line-height: 1.4; }
.policy__toc-box a::before { content: counter(toc) "."; min-width: 1.4rem; color: var(--ink-muted); }
.policy__toc-box a:hover { color: var(--cg-red); }
.policy__others { margin: var(--space-5) 0 0; padding-top: var(--space-4); border-top: 1px solid var(--line); }
.policy__others a { display: block; padding: 0.3rem 0; color: var(--ink); }
.policy__body { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.policy__body h2 {
  scroll-margin-top: 7rem;
  margin: var(--space-7) 0 var(--space-3);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: var(--fw-regular);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
}
.policy__body h2:first-child { margin-top: 0; }
.policy__num { color: var(--cg-red); }
.policy__body h3 { margin: var(--space-5) 0 var(--space-2); font-size: 1.0625rem; font-weight: var(--fw-semibold); color: var(--ink); }
.policy__body p { margin: 0 0 var(--space-4); }
.policy__body strong { color: var(--ink); }
.policy__body a { color: var(--cg-red); overflow-wrap: anywhere; }
.policy__list { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
.policy__list li { margin-bottom: 0.4rem; padding-left: 0.25rem; }
.policy__list li::marker { color: var(--cg-red); }

/* ==========================================================================
   14. Footer: social links, accreditations, policy line
   ========================================================================== */
.site-footer__heading--social { margin-top: var(--space-6); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease);
}
.site-footer__social a:hover { color: #fff; background: var(--cg-red); border-color: var(--cg-red); }
.contact__social a { white-space: nowrap; }

/* Accreditations: all shown in one muted colour for a tidy row */
.site-footer__accreditations { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--line-strong); }
.accreditations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-5) clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
}
@media (min-width: 62em) { .accreditations { justify-content: space-between; } }
.accreditation a { display: flex; align-items: center; height: 44px; color: #6e6560; text-decoration: none; opacity: 0.85; transition: opacity var(--motion-fast) var(--ease); }
.accreditation a:hover { opacity: 1; }
.accreditation img { width: auto; height: 34px; }
.accreditation__text { font-family: var(--font-brand); font-size: 1.375rem; font-weight: var(--fw-semibold); letter-spacing: 0.02em; }
.site-footer__accreditations .dev-note { display: table; margin: var(--space-4) auto 0; }

/* "Privacy Policy | Cookie Policy | …" */
.site-footer__policies { gap: var(--space-2) 0; }
.site-footer__policies li + li::before { content: "|"; margin: 0 0.75rem; color: var(--line-strong); }
.site-footer__social li { margin: 0 !important; }
@media (max-width: 47.99em) {
  .site-footer__policies { gap: var(--space-2) var(--space-5); }
  .site-footer__policies li + li::before { content: none; }
}
.hero__image { object-position: center 55%; }
@media (max-width: 47.99em) { .hero__image { object-position: 38% center; } }
.page-banner__media img[src*="sold-sign"] { object-position: center 28%; }
.page-banner__media img[src*="sold-and-let-signs"] { object-position: center 40%; }

/* ==========================================================================
   15. Redesign v2 (October 2026): dark footer, full-width Meet Charlotte,
       portrait team cards
   ========================================================================== */

/* ---- 15.1 Footer: light and warm, matching the rest of the site ---- */
.cg-footer {
  --footer-line: var(--line);
  padding: 0;
  color: var(--ink-soft);
  background: #fff;
  border-top: 1px solid var(--line);
}
.cg-footer .container-cg { padding-top: clamp(3rem, 2.25rem + 3vw, 5rem); }
.cg-footer a { color: inherit; text-decoration: none; transition: color var(--motion-fast) var(--ease); }
.cg-footer a:hover { color: var(--cg-red); }

.cg-footer__main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-7) var(--space-5);
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.cg-footer__brand, .cg-footer__visit { grid-column: 1 / -1; }
@media (min-width: 62em) {
  .cg-footer__main { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-6); }
  .cg-footer__brand, .cg-footer__visit { grid-column: auto; }
}
.cg-footer__logo { display: inline-block; }
.cg-footer__logo img { display: block; width: 190px; height: auto; }
.cg-footer__statement { max-width: 22rem; margin: var(--space-4) 0 var(--space-5); line-height: 1.7; }

/* Social icons: round outlined buttons, red on hover */
.cg-footer__social { display: flex; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.cg-footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: color var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}
.cg-footer__social .icon { width: 18px; height: 18px; }
.cg-footer__social a:hover { color: #fff; background: var(--cg-red); border-color: var(--cg-red); }
@media (hover: hover) { .cg-footer__social a:hover { transform: translateY(-2px); } }

.cg-footer__heading {
  margin: 0 0 var(--space-5);
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.cg-footer__heading::after { content: ""; display: block; width: 1.75rem; height: 2px; margin-top: 0.75rem; background: var(--cg-red); }
.cg-footer__col ul { margin: 0; padding: 0; list-style: none; }
.cg-footer__col li + li { margin-top: 0.7rem; }
.cg-footer__visit address { margin: 0 0 var(--space-4); font-style: normal; line-height: 1.7; color: var(--ink); }
.cg-footer__hours { margin: 0 0 var(--space-4); max-width: 19rem; font-size: var(--fs-small); }
.cg-footer__hours div { display: flex; justify-content: space-between; gap: var(--space-4); padding: 0.45rem 0; border-bottom: 1px solid var(--footer-line); }
.cg-footer__hours dt { font-weight: var(--fw-regular); }
.cg-footer__hours dd { margin: 0; color: var(--ink); }
.cg-footer__contact { display: grid; gap: 0.35rem; margin: 0; font-size: var(--fs-small); }
.cg-footer__contact a { color: var(--ink); overflow-wrap: anywhere; }

/* Accreditations: one grey colour, in a soft cream band */
.cg-footer__accreditations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-7);
  padding: var(--space-5) clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  background: var(--paper-warm);
  border-radius: 12px;
}
.cg-footer__heading--muted { margin: 0; color: var(--ink-muted); }
.cg-footer__heading--muted::after { content: none; }
.cg-acc { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-6); margin: 0; padding: 0; list-style: none; }
.cg-acc a { display: flex; align-items: center; height: 40px; opacity: 0.85; transition: opacity var(--motion-fast) var(--ease); }
.cg-acc a:hover { opacity: 1; }
.cg-acc img { width: auto; height: 28px; }
/* --ink-soft keeps the text readable (WCAG AA) even at the links' 0.85 opacity */
.cg-acc__text { font-family: var(--font-brand); font-size: 1.1875rem; font-weight: var(--fw-semibold); letter-spacing: 0.02em; color: var(--ink-soft); }
.cg-footer__dev { display: table; margin: var(--space-4) 0 0; }

.cg-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-6);
  padding-block: var(--space-5) var(--space-6);
  font-size: 0.8125rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--footer-line);
}
.cg-footer__bottom p { margin: 0; }
.cg-footer__policies { display: flex; flex-wrap: wrap; gap: var(--space-2) 0; margin: 0; padding: 0; list-style: none; }
.cg-footer__policies li + li::before { content: "|"; margin: 0 0.75rem; color: var(--line-strong); }
.cg-footer__policies a { color: var(--ink-soft); }

/* Phones: centred, comfortable spacing */
@media (max-width: 47.99em) {
  .cg-footer__brand { text-align: center; }
  .cg-footer__statement { margin-inline: auto; }
  .cg-footer__social { justify-content: center; }
  .cg-footer__visit { padding-top: var(--space-6); border-top: 1px solid var(--footer-line); }
  .cg-footer__hours { max-width: none; }
  .cg-footer__accreditations { flex-direction: column; text-align: center; }
  .cg-acc { justify-content: center; gap: var(--space-4) var(--space-6); }
  .cg-acc img { height: 24px; }
  .cg-footer__dev { margin-inline: auto; }
  .cg-footer__bottom { flex-direction: column; text-align: center; }
  .cg-footer__policies { justify-content: center; gap: var(--space-2) var(--space-5); }
  .cg-footer__policies li + li::before { content: none; }
}
body.has-quick-actions .site-footer.cg-footer { padding-bottom: 72px; }

/* ---- 15.2 Meet Charlotte: compact, balanced two-column section ---- */
.person { background: var(--paper-warm); }
.person__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 62em) { .person__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.person__media { position: relative; width: 100%; max-width: 26rem; margin: 0 auto; }
@media (min-width: 62em) { .person__media { max-width: 27rem; margin: 0; justify-self: end; } }
.person__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 34rem;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 4px;
  box-shadow: 0 30px 60px -45px rgb(34 30 28 / 0.6);
}
.person__media::after {                 /* thin offset red frame, a nod to the brand */
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: -1;
  border: 1px solid var(--cg-red);
  border-radius: 4px;
}
.person__media { isolation: isolate; }

.person__body { max-width: 38rem; }
.person__name {
  margin: var(--space-2) 0 var(--space-2);
  font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.625rem);
  font-weight: var(--fw-light);
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.person__role { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-5); font-family: var(--font-brand); font-size: 0.75rem; font-weight: var(--fw-semibold); letter-spacing: 0.18em; text-transform: uppercase; color: var(--cg-red); }
.person__role::after { content: ""; flex: 0 0 2.5rem; height: 1px; background: currentColor; }
.person__quote { margin: 0 0 var(--space-4); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-style: italic; line-height: 1.45; color: var(--ink); }
.person__quote p { margin: 0; }
.person__quote p::before { content: "\201C"; color: var(--cg-red); }
.person__quote p::after { content: "\201D"; color: var(--cg-red); }
.person__lead { margin: 0 0 var(--space-4); font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); }
.person__bio { margin: 0 0 var(--space-4); font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.person__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-5) 0 var(--space-6); border-block: 1px solid var(--line-strong); }
.person__facts div { padding: var(--space-3) var(--space-3) var(--space-3) 0; }
.person__facts div + div { padding-left: var(--space-4); border-left: 1px solid var(--line); }
.person__facts dt { font-family: var(--font-brand); font-size: 0.75rem; font-weight: var(--fw-semibold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.person__facts dd { margin: 0.3rem 0 0; font-size: 1rem; color: var(--ink); }
@media (max-width: 29.99em) {
  .person__facts { grid-template-columns: minmax(0, 1fr); }
  .person__facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
.person__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
.person__link { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--fw-medium); color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.person__link .icon { color: var(--cg-red); }
.person__link:hover { border-bottom-color: currentColor; }

/* About: team strip joined to Charlotte's section */
.team-teaser { padding: 0 0 var(--section-y); background: var(--paper-warm); }
.team-teaser__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5) var(--space-7);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  background: #fff;
  border-top: 2px solid var(--cg-red);
  box-shadow: 0 24px 50px -44px rgb(34 30 28 / 0.6);
}
.team-teaser__text { flex: 1; min-width: 16rem; }
.team-teaser__title { margin: 0 0 var(--space-2); font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); }
.team-teaser__text p { margin: 0; font-size: 1.0625rem; color: var(--ink-soft); }
.team-teaser .team-teaser__faces { display: flex; margin: 0; padding: 0; list-style: none; }
.team-teaser .team-teaser__faces li { width: 88px; height: 88px; overflow: hidden; border: 4px solid #fff; border-radius: 50%; background: var(--stone); box-shadow: 0 6px 16px -10px rgb(34 30 28 / 0.6); }
.team-teaser .team-teaser__faces li + li { margin-left: -20px; }
.team-teaser .team-teaser__faces img { width: 100%; height: 100%; object-fit: cover; }
#meet + .team-teaser, .person + .team-teaser { margin-top: 0; }
.person:has(+ .team-teaser) { padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* About: services row */
.about-services__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
@media (min-width: 40em) { .about-services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75em) { .about-services__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.about-services__list a {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  height: 100%;
  padding: var(--space-5);
  color: var(--ink-soft);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cg-red);
  transition: transform var(--motion-base) var(--ease-smooth), box-shadow var(--motion-base) var(--ease-smooth);
}
.about-services__list a:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -32px rgb(34 30 28 / 0.6); }
.about-services__num { font-family: var(--font-brand); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--cg-red); }
.about-services__list strong { font-family: var(--font-brand); font-size: 1.125rem; font-weight: var(--fw-regular); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }

/* Readability: slightly larger body text and navigation on desktop */
@media (min-width: 62em) {
  body { font-size: 1.0625rem; }
  .eyebrow { font-size: 0.8125rem; }
}
@media (min-width: 75em) {
  .site-nav__link { font-size: 0.875rem; }
  .site-header__logo img { height: 82px; }
  .site-header.is-scrolled .site-header__logo img { height: 62px; }
  .site-header__cta.button--small { padding: 0.75rem 1.35rem; font-size: 0.75rem; }
}

.person + .section--warm { background: #fff; }
.about-services { padding-bottom: calc(var(--section-y) * 0.5); }
@media (max-width: 61.99em) {
  .person__media { max-width: 22rem; }
  .person__media::after { inset: 10px -10px -10px 10px; }
  .person__media img { aspect-ratio: 5 / 6; }
  }
@media (max-width: 35.99em) { .person__media { max-width: calc(100% - 12px); margin-inline: 0 auto; } }


/* ==========================================================================
   16. Charlotte section, round 2 (review feedback)
   Mobile: one controlled layout, content decides the height (no fixed
   heights, nothing hidden). Desktop: larger photo, roomier text, calmer
   bottom row. Floating buttons live inside the mobile bottom bar so they
   never sit on top of text.
   ========================================================================== */

/* One shared offset for the red frame, so every edge is spaced the same */
.person__media { --frame: 14px; }
.person__media::after { inset: var(--frame) calc(var(--frame) * -1) calc(var(--frame) * -1) var(--frame); }

/* ---- Desktop (62em+) ---- */
@media (min-width: 62em) {
  .person__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 2rem + 4vw, 6rem); align-items: center; }
  .person__media { max-width: 31rem; margin: 0 calc(var(--frame) * -1) 0 0; justify-self: end; --frame: 16px; }
  .person__media img { aspect-ratio: 4 / 5; max-height: 38rem; }
  .person__body { max-width: 40rem; padding-block: var(--space-4); }
  .person__lead { font-size: 1.25rem; line-height: 1.6; }
  .person__bio { font-size: 1.125rem; line-height: 1.75; margin-bottom: var(--space-4); }
  .person__facts { margin: var(--space-6) 0 var(--space-7); }
  .person__facts div { padding-block: var(--space-4); }
  .person__facts dt { font-size: 0.8125rem; }
  .person__facts dd { font-size: 1.0625rem; }
  .person__actions { gap: var(--space-4) var(--space-7); padding-top: var(--space-1); }
}

/* ---- Tablet and phone (below 62em) ---- */
@media (max-width: 61.99em) {
  .person { padding-block: clamp(2.5rem, 2rem + 3vw, 3.5rem); }
  .person__grid { gap: var(--space-6); }
  .person__media { --frame: 12px; max-width: none; width: calc(100% - var(--frame)); margin: 0; }
  /* Landscape crop keeps the face and shoulders but stops the photo filling the screen */
  .person__media img { aspect-ratio: 4 / 3; max-height: 22rem; object-position: center 24%; }
  .person__body { max-width: 40rem; }
  .person__body > * + * { margin-top: 0; }
  .person__name { margin: var(--space-2) 0 var(--space-2); font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem); }
  .person__role { margin-bottom: var(--space-4); }
  .person__lead, .person__bio, .person__quote { margin-bottom: var(--space-3); }
  .person__lead { font-size: 1.125rem; line-height: 1.55; }
  .person__bio { font-size: 1rem; line-height: 1.7; }
  /* Details: always one compact row of three, never a tall stack */
  .person__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-5) 0; }
  .person__facts div { padding: var(--space-3) var(--space-2) var(--space-3) 0; }
  .person__facts div + div { padding-left: var(--space-3); border-left: 1px solid var(--line); border-top: 0; }
  .person__facts dt { font-size: 0.6875rem; letter-spacing: 0.1em; }
  .person__facts dd { margin-top: 0.2rem; font-size: 0.9375rem; line-height: 1.35; }
  /* Buttons: full-width primary, phone link beneath, same order everywhere */
  .person__actions { flex-direction: column; align-items: stretch; gap: var(--space-4); }
  .person__actions .button { width: 100%; text-align: center; justify-content: center; }
  .person__link { align-self: center; padding-block: var(--space-2); }
}
@media (max-width: 29.99em) {
  .person__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .person__facts div + div { padding-left: var(--space-2); border-top: 0; }
  .person__facts div { padding-right: var(--space-1); }
}

/* ---- Mobile bottom bar: Call | (WhatsApp) | Book a Free Valuation ----
   The WhatsApp and back-to-top circles used to float over the page text.
   On small screens WhatsApp now sits inside the bar and back-to-top is
   dropped (phones scroll to top with a tap on the status bar). */
@media (max-width: 61.99em) {
  body .back-to-top { display: none; }
  .quick-actions .button:last-child { grid-column: -2 / -1; }   /* always the last column, whatever else is in the bar */
  body .quick-actions { grid-template-columns: 52px minmax(0, 1fr); align-items: center; }
  body .quick-actions .button--outline { padding-inline: 0; gap: 0; }       /* icon-only Call; the word stays for screen readers */
  .quick-actions__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .quick-actions .button--outline .icon { width: 1.25rem; height: 1.25rem; }
  .quick-actions .button:last-child { font-size: 0.75rem; white-space: nowrap; }
  body.has-quick-actions:has(.whatsapp-btn:not([hidden])) .quick-actions { grid-template-columns: 52px 46px minmax(0, 1fr); }
  body.has-quick-actions .whatsapp-btn {
    left: calc(var(--gutter) + 52px + var(--space-2));
    bottom: calc(var(--space-2) + env(safe-area-inset-bottom));
    z-index: 96;
    width: 46px; height: 46px;
    border-radius: 4px;
    box-shadow: none;
  }
  .whatsapp-btn { transition-property: transform, background-color, bottom, left, opacity; }
  body:not(.has-quick-actions) .whatsapp-btn { opacity: 0; visibility: hidden; }   /* appears together with the bar */
}

/* The bottom bar steps aside while the page's own valuation buttons are on screen,
   so the same call to action never appears twice at once */
@media (max-width: 61.99em) {
  body.quick-actions-paused .quick-actions { transform: translateY(110%); }
  body.quick-actions-paused .whatsapp-btn { opacity: 0; visibility: hidden; }
}


/* ==========================================================================
   17. Cookie banner and consent notes
   A card at the bottom of the screen (full-width sheet on phones). It does not
   block the page. "Accept all" and "Reject non-essential" are identical in
   size and style on purpose, so neither choice is pushed.
   ========================================================================== */
.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  z-index: 130;
  left: 0; right: 0; bottom: 0;
  max-height: 90dvh;
  overflow-y: auto;
  padding: var(--space-5) var(--gutter) calc(var(--space-5) + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 2px solid var(--cg-red);
  box-shadow: 0 -18px 50px -24px rgb(34 30 28 / 0.55);
  animation: cookie-in var(--motion-base, 300ms) var(--ease-smooth, ease) both;
}
@keyframes cookie-in { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 62em) {            /* desktop: a slim bar along the bottom, so it never covers page buttons */
  .cookie-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--space-8);
    align-items: center;
    padding: var(--space-4) max(var(--gutter), calc((100vw - 1240px) / 2));
  }
  .cookie-banner__title { grid-column: 1; margin-bottom: var(--space-1); font-size: 1.0625rem; }
  .cookie-banner__text { grid-column: 1; margin: 0; }
  .cookie-banner__prefs { grid-column: 1; margin: var(--space-3) 0 0; }
  .cookie-banner__actions { grid-column: 2; grid-row: 1 / span 3; }
}
.cookie-banner__title { margin: 0 0 var(--space-2); font-size: 1.25rem; font-weight: var(--fw-regular); letter-spacing: 0.04em; text-transform: uppercase; }
.cookie-banner__title:focus { outline: none; }
.cookie-banner__text { margin: 0 0 var(--space-4); font-size: 0.9375rem; line-height: 1.6; color: var(--ink-soft); }
.cookie-banner__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); align-items: stretch; }
.cookie-banner__actions .button { min-height: 48px; letter-spacing: 0.08em; }
.cookie-banner__actions .button { width: 100%; justify-content: center; text-align: center; padding-inline: var(--space-3); }
.cookie-banner__actions [data-cookie-save] { grid-column: 1 / -1; }
.cookie-banner__manage { grid-column: 1 / -1; justify-self: center; padding: var(--space-2) var(--space-3); font: inherit; font-size: 0.9375rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; }
.cookie-banner__manage:hover { color: var(--cg-red); }
@media (min-width: 48em) {
  .cookie-banner__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .cookie-banner__actions .button { width: auto; }
  .cookie-banner__manage { padding-inline: var(--space-2); }
}

.cookie-banner__prefs { margin: 0 0 var(--space-4); border-top: 1px solid var(--line); }
.cookie-banner__prefs[hidden] { display: none; }
.cookie-pref { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); cursor: default; }
label.cookie-pref { cursor: pointer; }
.cookie-pref__text { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.875rem; color: var(--ink-soft); }
.cookie-pref__text strong { font-size: 0.9375rem; font-weight: var(--fw-medium); color: var(--ink); }
.cookie-pref__fixed { flex: none; font-size: 0.8125rem; color: var(--ink-muted); }
.cookie-switch {                           /* on/off switch drawn with CSS */
  appearance: none;
  flex: none;
  position: relative;
  width: 3rem; height: 1.75rem;
  margin: 0;
  background: #8d8780;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color var(--motion-fast, 150ms) var(--ease, ease);
}
.cookie-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.75rem - 6px); height: calc(1.75rem - 6px); background: #fff; border-radius: 50%; transition: transform var(--motion-fast, 150ms) var(--ease, ease); }
.cookie-switch:checked { background: #1f7a4c; }
.cookie-switch:checked::after { transform: translateX(1.25rem); }
.cookie-switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* While the banner is open the floating buttons and bottom bar stay out of its way */
body.cookie-banner-open .whatsapp-btn,
body.cookie-banner-open .back-to-top { opacity: 0; visibility: hidden; }
body.cookie-banner-open .quick-actions { transform: translateY(110%); visibility: hidden; }

/* Footer link that looks like the other policy links but is a button */
.cg-footer__linkbtn { padding: 0; font: inherit; color: var(--ink-soft); background: none; border: 0; cursor: pointer; text-decoration: none; }
.cg-footer__linkbtn:hover { color: var(--cg-red); text-decoration: underline; }
.policy__settings { margin-top: var(--space-6); }

@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } .cookie-switch, .cookie-switch::after { transition: none; } }

/* ==========================================================================
   18. Polish pass
   ========================================================================== */

/* ---- 18.1 "Book a Free Valuation" call to action ----
   Every valuation button (header, hero, bottom bar, sections) gets the same
   finish: a soft red gradient with a fine top highlight, a thin arrow that
   slides on hover and a slow light sweep. It is picked out by its link
   (any .button pointing at a valuation), so no HTML changes are needed. */
.button:is([href*="valuation"], [data-enquiry$="valuation"]) {
  --cta-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M0 6h18.5M13.5 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E");
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 0.85rem;
  padding-inline: 1.5rem 1.3rem;
  letter-spacing: 0.15em;
  color: #fff;
  background: linear-gradient(180deg, #d8161c 0%, var(--cg-red) 55%, #b70000 100%);
  border-color: #b30000;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 14px 28px -18px rgb(130 0 0 / 0.85);
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur-fast) var(--ease);
}
.button:is([href*="valuation"], [data-enquiry$="valuation"])::after {
  content: "";
  flex: none;
  width: 1.15rem;
  height: 0.7rem;
  background: currentColor;
  -webkit-mask: var(--cta-arrow) center / contain no-repeat;
  mask: var(--cta-arrow) center / contain no-repeat;
  transition: transform var(--dur) var(--ease);
}
.button:is([href*="valuation"], [data-enquiry$="valuation"])::before {    /* light sweep on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 900ms var(--ease-smooth, ease);
}
.button:is([href*="valuation"], [data-enquiry$="valuation"]):hover {
  color: #fff;
  background: linear-gradient(180deg, #c8101a 0%, #b10000 100%);
  border-color: #a00000;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 18px 32px -18px rgb(130 0 0 / 0.95);
}
.button:is([href*="valuation"], [data-enquiry$="valuation"]):hover::after { transform: translateX(4px); }
.button:is([href*="valuation"], [data-enquiry$="valuation"]):hover::before { transform: translateX(120%); }
.button:is([href*="valuation"], [data-enquiry$="valuation"]):active { transform: none; }

/* White version on red backgrounds */
.button--light:is([href*="valuation"], [data-enquiry$="valuation"]) {
  color: var(--cg-red);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 14px 28px -18px rgb(60 0 0 / 0.6);
}
.button--light:is([href*="valuation"], [data-enquiry$="valuation"])::before { background: linear-gradient(110deg, transparent 30%, rgb(204 0 0 / 0.08) 50%, transparent 70%); }
.button--light:is([href*="valuation"], [data-enquiry$="valuation"]):hover { color: var(--cg-red-hover); background: var(--paper-warm); border-color: var(--paper-warm); }

/* Header: slimmer on desktop; on phones a light outlined version, because
   the solid button already sits in the bottom bar */
.site-header__cta.button { min-height: 44px; padding-block: 0.65rem; font-size: 0.75rem; }
@media (min-width: 75em) { .site-header__cta.button { padding-inline: 1.4rem 1.2rem; } }
@media (max-width: 74.99em) {
  .site-header__cta.button {
    min-height: 40px;
    padding: 0.5rem 0.85rem;
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    color: var(--cg-red);
    background: #fff;
    border-color: rgb(204 0 0 / 0.55);
    box-shadow: none;
  }
  .site-header__cta.button::after { display: none; }
  .site-header__cta.button:hover { color: #fff; background: var(--cg-red); border-color: var(--cg-red); transform: none; }
}
.quick-actions .button:last-child { gap: 0; letter-spacing: 0.12em; }
@media (prefers-reduced-motion: reduce) {
  .button:is([href*="valuation"], [data-enquiry$="valuation"]),
  .button:is([href*="valuation"], [data-enquiry$="valuation"])::after,
  .button:is([href*="valuation"], [data-enquiry$="valuation"])::before { transition: none; }
  .button:is([href*="valuation"], [data-enquiry$="valuation"]):hover { transform: none; }
}

/* ---- 18.2 Homepage service cards (Sell / Buy / Let / Rent) ----
   Portrait photo with a fine inner frame, and a white caption panel that
   overlaps the bottom of the photo (text never sits on the photo itself,
   since some photos contain printed words). Four in a row on desktop,
   2 x 2 on tablets, a swipeable row on phones. */
.editorial-grid { gap: var(--space-6); }
.editorial-grid > .photo-card { grid-column: auto; margin-top: 0; }
.editorial-grid .photo-card__link { position: relative; display: flex; flex-direction: column; height: 100%; transition: transform var(--motion-base, 400ms) var(--ease-smooth, ease); }

.editorial-grid .photo-card__media { aspect-ratio: 4 / 5; border-radius: 2px; }
.editorial-grid .photo-card__media::after {            /* fine inner frame */
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgb(255 255 255 / 0.55);
  pointer-events: none;
  transition: inset var(--motion-base, 400ms) var(--ease-smooth, ease), border-color var(--motion-base, 400ms) var(--ease-smooth, ease);
}

.editorial-grid .photo-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  max-width: none;
  margin: -3.25rem var(--space-4) 0;
  padding: var(--space-5) var(--space-5) var(--space-4);
  background: #fff;
  box-shadow: 0 22px 44px -30px rgb(34 30 28 / 0.45), 0 0 0 1px rgb(34 30 28 / 0.04);
  transition: box-shadow var(--motion-base, 400ms) var(--ease-smooth, ease);
}
.editorial-grid .photo-card__body::before {           /* red rule that grows on hover */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2.75rem;
  height: 2px;
  background: var(--cg-red);
  transition: width var(--motion-base, 400ms) var(--ease-smooth, ease);
}
.editorial-grid .photo-card__kicker { margin-bottom: var(--space-3); font-size: 0.75rem; }
.editorial-grid .photo-card__title {
  margin-bottom: var(--space-2);
  font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem);
  line-height: 1.2;
  text-wrap: balance;
}
.editorial-grid .photo-card__text { margin-bottom: var(--space-4); font-size: 0.9375rem; line-height: 1.6; }

/* "Explore selling  (→)" row along the bottom of the panel */
.editorial-grid .photo-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding: var(--space-3) 0 0;
  font-size: 0.75rem;
  border-bottom: 0;
  border-top: 1px solid var(--line);
}
.editorial-grid .photo-card__cta::after {
  content: "→";
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur) var(--ease);
}

/* Hover / keyboard focus */
.editorial-grid .photo-card__link:is(:hover, :focus-visible) { transform: translateY(-4px); }
.editorial-grid .photo-card__link:is(:hover, :focus-visible) .photo-card__media::after { border-color: rgb(255 255 255 / 0.9); }
.editorial-grid .photo-card__link:is(:hover, :focus-visible) .photo-card__body { box-shadow: 0 30px 56px -30px rgb(34 30 28 / 0.55), 0 0 0 1px rgb(34 30 28 / 0.04); }
.editorial-grid .photo-card__link:is(:hover, :focus-visible) .photo-card__body::before { width: 100%; }
.editorial-grid .photo-card__link:is(:hover, :focus-visible) .photo-card__cta { color: var(--cg-red); }
.editorial-grid .photo-card__link:is(:hover, :focus-visible) .photo-card__cta::after { color: #fff; background: var(--cg-red); border-color: var(--cg-red); transform: translateX(0); }
.editorial-grid .photo-card__link:is(:hover, :focus-visible) .photo-card__media img { transform: scale(1.05); }

/* Tablets and small laptops: 2 x 2 with landscape photos */
@media (min-width: 48em) {
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); }
  .editorial-grid .photo-card__media { aspect-ratio: 3 / 2; }
}
/* Desktop: one row of four portrait cards */
@media (min-width: 75em) {
  .editorial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
  .editorial-grid .photo-card__media { aspect-ratio: 4 / 5; }
  .editorial-grid .photo-card__body { margin-inline: var(--space-3); padding-inline: var(--space-5) var(--space-4); }
}
.editorial-grid .photo-card__title { overflow-wrap: normal; hyphens: manual; }
.editorial-grid .photo-card__cta { letter-spacing: 0.14em; white-space: nowrap; }

/* Phones: a swipeable row; the next card peeks in so it's clear there's more */
@media (max-width: 47.99em) {
  .editorial-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: var(--space-4);
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) var(--space-5);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .editorial-grid::-webkit-scrollbar { display: none; }
  .editorial-grid > .photo-card { scroll-snap-align: start; }
  .editorial-grid .photo-card__media { aspect-ratio: 4 / 4.6; }
  .editorial-grid .photo-card__body { margin: -2.75rem var(--space-3) 0; padding: var(--space-4) var(--space-4) var(--space-3); }
  .editorial-grid .photo-card__link:is(:hover, :focus-visible) { transform: none; }
}
.editorial-swipe-hint { display: none; }
@media (max-width: 47.99em) {
  .editorial-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin: var(--space-2) 0 0;
    font-family: var(--font-brand);
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
  .editorial-swipe-hint::before,
  .editorial-swipe-hint::after { content: ""; width: 1.5rem; height: 1px; background: currentColor; opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-grid .photo-card__link,
  .editorial-grid .photo-card__media::after,
  .editorial-grid .photo-card__body::before { transition: none; }
  .editorial-grid .photo-card__link:is(:hover, :focus-visible) { transform: none; }
}

/* ---- 18.3 Spacing: two warm sections in a row read as one block ---- */
.featured + .person { padding-top: calc(var(--section-y) * 0.35); }

/* ---- 18.4 (Instagram rules now all live in 10.13) ---- */

/* ---- 18.5 Contact: social icons ---- */
.contact__social { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.contact__social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.contact__social a:hover { color: #fff; background: var(--cg-red); border-color: var(--cg-red); }
.contact__social .icon { width: 1.1rem; height: 1.1rem; }

/* ---- 18.6 FAQ / News filters: tidy 2 x 2 grid on phones ---- */
@media (max-width: 35.99em) {
  .faq-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-filter__button { width: 100%; text-align: center; justify-content: center; }
}

/* ---- 18.7 Newsletter: name and email side by side, consent, then button ---- */
.newsletter__row { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 36em) { .newsletter__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
.newsletter__consent { margin: var(--space-4) 0 var(--space-5); }
.newsletter__form > .newsletter__submit { margin-top: 0; min-width: 12rem; }
@media (max-width: 35.99em) { .newsletter__form > .newsletter__submit { width: 100%; } }
.site-header__cta.button { display: inline-flex; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), 0 8px 18px -14px rgb(130 0 0 / 0.8); }
/* "Book a " sits in its own span (hidden on tiny phones), so flex gaps would
   split the words: no gap, the arrow carries its own spacing instead */
.button:is([href*="valuation"], [data-enquiry$="valuation"]) { gap: 0; }
.button:is([href*="valuation"], [data-enquiry$="valuation"])::after { margin-left: 0.85rem; }
.button:is([href*="valuation"], [data-enquiry$="valuation"]) .u-hide-xs { white-space: pre; }

/* ---- 18.8 Solid buttons share the valuation button's finish (no arrow) ---- */
.button:not(.button--outline):not(.button--outline-light):not(.button--light):not([aria-disabled="true"]):not([href*="valuation"]):not([data-enquiry$="valuation"]) {
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.07) 0%, rgb(0 0 0 / 0.06) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 12px 24px -18px rgb(130 0 0 / 0.75);
}


/* ---- 18.9 (Instagram rules now all live in 10.13) ---- */

/* ==========================================================================
   19. Let page redesign (also used by Sell and About banners)
   ========================================================================== */

/* ---- 19.1 Image banners: text on a dark panel, photo beside it ----
   The client photos contain printed signs and lettering, so the heading never
   sits on top of the photo. Desktop: text left, photo right. Smaller screens:
   photo on top, text panel below. */
@media (min-width: 62em) {
  .page-banner--image {
    align-items: center;
    min-height: clamp(26rem, 32vw, 32rem);
    padding-block: clamp(3rem, 2rem + 2.5vw, 4.5rem);
  }
  .page-banner--image .page-banner__media { left: 50%; }
  .page-banner--image .page-banner__media::after { background: linear-gradient(90deg, rgb(var(--overlay) / 0.28) 0%, rgb(var(--overlay) / 0) 22%); }
  .page-banner--image::before {                       /* fine red rule along the seam */
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    z-index: 1;
    width: 3px;
    background: var(--cg-red);
  }
  .page-banner--image .page-banner__inner { padding-right: 53%; }
  .page-banner--image .page-banner__intro { font-size: 1.125rem; line-height: 1.65; }
}
@media (max-width: 61.99em) {
  .page-banner--image { display: block; min-height: 0; padding-top: 0; }
  .page-banner--image .page-banner__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 9; max-height: 22rem; margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); border-bottom: 3px solid var(--cg-red); }
  .page-banner--image .page-banner__media::after { display: none; }
}

/* Outlined valuation buttons keep the outline look (with the arrow) */
.button--outline:is([href*="valuation"], [data-enquiry$="valuation"]) {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
  box-shadow: none;
}
.button--outline:is([href*="valuation"], [data-enquiry$="valuation"])::before { display: none; }
.button--outline:is([href*="valuation"], [data-enquiry$="valuation"]):hover { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: 0 14px 28px -18px rgb(34 30 28 / 0.6); }

/* ---- 19.2 Package cards ---- */
.lettings-services ul.packages { max-width: 68rem; gap: var(--space-6); align-items: stretch; }
.package {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 26px 50px -40px rgb(34 30 28 / 0.55);
}
.package--featured { border-color: var(--ink); box-shadow: 0 30px 60px -38px rgb(34 30 28 / 0.75); }
.package__head {
  position: relative;
  padding: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem) clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem) clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}
.package--featured .package__head { color: #fff; background: #2a2522; border-bottom: 3px solid var(--cg-red); }
.package__flag {
  top: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  right: clamp(1.25rem, 1rem + 1vw, 2rem);
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
  transform: none;
}
.package__num { margin: 0 0 var(--space-3); font-family: var(--font-brand); font-size: 0.75rem; font-weight: var(--fw-medium); letter-spacing: 0.18em; text-transform: uppercase; color: var(--cg-red); }
.package--featured .package__num { color: rgb(255 255 255 / 0.7); }
.package__name { margin: 0 0 var(--space-3); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.package--featured .package__name { color: #fff; }
.package__summary { margin: 0; max-width: 30rem; font-size: 1.0625rem; line-height: 1.6; }
.package--featured .package__summary { color: rgb(255 255 255 / 0.88); }

.package__body { display: flex; flex: 1; flex-direction: column; padding: clamp(1.5rem, 1.2rem + 1vw, 2rem) clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem) clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.package__ideal { margin: 0 0 var(--space-5); padding: 0 0 var(--space-5); font-size: 0.9375rem; line-height: 1.65; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.package__lead { margin: 0 0 var(--space-2); }
.package__list { flex: 1; margin: 0 0 var(--space-6); }
.package__list li { align-items: center; gap: var(--space-3); padding: 0.55rem 0; font-size: 0.9375rem; line-height: 1.45; color: var(--ink); border-bottom: 1px dashed var(--line); }
.package__list li:last-child { border-bottom: 0; }
.package__list .icon,
.compare__yes {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  padding: 0.28rem;
  color: var(--cg-red);
  background: rgb(204 0 0 / 0.08);
  border-radius: 50%;
}
.package--featured .package__list .icon { color: #fff; background: var(--cg-red); }
.package__foot { margin-top: auto; padding-top: var(--space-5); border-top: 1px solid var(--line); }
.package__fee { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin: 0 0 var(--space-4); }
.package__fee .dev-note { margin: 0; }
.package__fee-label { font-family: var(--font-brand); font-size: 0.75rem; font-weight: var(--fw-semibold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.package__cta { width: 100%; }

/* ---- 19.3 Comparison table ---- */
.compare-wrap { max-width: 56rem; }
.compare__title { margin-bottom: var(--space-6); }
.compare {
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 26px 50px -42px rgb(34 30 28 / 0.55);
}
.compare__table { min-width: 0; font-size: 0.9375rem; }
.compare__table th, .compare__table td { padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--line); }
.compare__table thead th {
  position: static;
  padding-block: 1.25rem;
  color: var(--ink);
  background: #fff;
  border-bottom: 2px solid var(--ink);
  vertical-align: bottom;
}
.compare__th-label { font-family: var(--font-brand); font-size: 0.75rem; letter-spacing: 0.16em; color: var(--ink-muted); }
.compare__pkg { display: block; font-family: var(--font-brand); font-size: 0.8125rem; font-weight: var(--fw-semibold); letter-spacing: 0.12em; line-height: 1.3; }
.compare__table thead th.compare__fm { color: #fff; background: var(--cg-red); border-bottom-color: var(--cg-red); }
.compare__table td { width: 10rem; }
.compare__table td.compare__fm { background: rgb(204 0 0 / 0.035); }
.compare__table tbody tr:nth-child(even) { background: transparent; }
.compare__table tbody tr:not(.compare__group):hover { background: #fcfaf8; }
.compare__table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.compare__table tbody:last-child tr:last-child > * { border-bottom: 0; }
.compare__group th {
  padding-block: 0.8rem;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cg-red);
  background: var(--paper-warm);
}
.compare__yes { display: inline-block; vertical-align: middle; }
.compare__no { display: inline-block; width: 0.875rem; height: 1px; vertical-align: middle; background: var(--line-strong); }
@media (max-width: 47.99em) {
  .compare__table { font-size: 0.875rem; }
  .compare__table th, .compare__table td { padding: 0.75rem 0.75rem; }
  .compare__table td { width: 4.75rem; }
  .compare__pkg { font-size: 0.6875rem; letter-spacing: 0.08em; }
  .compare__th-label { font-size: 0.6875rem; letter-spacing: 0.1em; }
}
@media (max-width: 29.99em) {
  .compare__table td { width: 4rem; }
  .compare__table th, .compare__table td { padding-inline: 0.6rem; }
}

/* 19.4 Clearer ticks: solid circles, dark for Let Only, red for Fully Managed */
.package__list .icon,
.compare__yes { width: 1.375rem; height: 1.375rem; padding: 0.3rem; color: #fff; background: var(--ink); }
.package--featured .package__list .icon,
.compare__table .compare__fm .compare__yes { color: #fff; background: var(--cg-red); }
.compare__table .compare__group th { color: var(--cg-red); font-weight: var(--fw-semibold); }
/* Banner buttons sit side by side on desktop */
@media (min-width: 62em) {
  .page-banner--image .page-banner__actions .button { min-height: 46px; padding-inline: 1.2rem; font-size: 0.75rem; letter-spacing: 0.12em; }
  .page-banner--image .page-banner__actions .button::after { margin-left: 0.7rem; }
}
/* Banner text column: exactly the left half of the centred container, so it
   always stops short of the photo whatever the screen width */
@media (min-width: 62em) {
  .page-banner--image .page-banner__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 5rem;
    padding-right: var(--gutter);
  }
  .page-banner--image .page-banner__inner > * { grid-column: 1; }
}

/* ---- 19.5 Let: "Looking to let" editorial intro + stats band ---- */
.let-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1.5rem + 3vw, 5rem); align-items: start; }
@media (min-width: 62em) { .let-intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.let-intro__media { position: relative; overflow: hidden; border-radius: 4px; }
.let-intro__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 62em) {
  .let-intro__media { position: sticky; top: calc(var(--header-h) + 2rem); }
  .let-intro__media img { aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 4rem); }
}
.let-intro__media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgb(255 255 255 / 0.6); pointer-events: none; }
.let-intro__content h2 { margin-bottom: var(--space-5); }
.let-intro__lead {
  margin: 0 0 var(--space-6);
  padding-left: var(--space-5);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.6;
  color: var(--ink);
  border-left: 2px solid var(--cg-red);
}
.let-intro__body p { margin: 0 0 var(--space-4); line-height: 1.75; color: var(--ink-soft); }
.let-intro__body p:last-child { margin-bottom: 0; }

.let-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: clamp(3rem, 2rem + 3vw, 5rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
@media (min-width: 48em) { .let-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.let-stats li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-4); align-items: center; padding: var(--space-6) var(--space-5); }
.let-stats li + li { border-top: 1px solid var(--line); }
@media (min-width: 48em) { .let-stats li + li { border-top: 0; border-left: 1px solid var(--line); } }
.let-stats .icon { grid-row: span 2; width: 2.75rem; height: 2.75rem; padding: 0.7rem; color: var(--cg-red); background: rgb(204 0 0 / 0.07); border-radius: 50%; }
.let-stats strong { font-family: var(--font-brand); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: var(--fw-regular); letter-spacing: 0.04em; line-height: 1.25; color: var(--ink); }
.let-stats span { font-size: 0.9375rem; color: var(--ink-muted); }

/* ---- 19.6 Let: "Not sure which service?" card ---- */
.let-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5) var(--space-8);
  align-items: center;
  max-width: 68rem;
  margin: clamp(3rem, 2rem + 3vw, 5rem) auto 0;
  padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  color: #fff;
  background: #2a2522;
  border-left: 3px solid var(--cg-red);
  border-radius: 6px;
}
@media (min-width: 62em) { .let-help { grid-template-columns: minmax(0, 1fr) auto; } }
.let-help__title { margin: 0 0 var(--space-3); font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); font-weight: var(--fw-light); letter-spacing: var(--tracking-heading); text-transform: uppercase; color: #fff; }
.let-help__text p { margin: 0; max-width: 36rem; line-height: 1.65; color: rgb(255 255 255 / 0.85); }
.let-help__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
.let-help__call { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--fw-medium); color: #fff; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / 0.4); }
.let-help__call:hover { color: #fff; border-bottom-color: #fff; }
.let-help__call .icon { color: #fff; }
.lettings-services__legal { margin-top: var(--space-6); }

/* ---- 19.7 Recently sold / let: a short row of results sits centred ---- */
.recent .results__grid { justify-content: center; }
@media (min-width: 36em) { .recent .results__grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 24rem)); } }
/* 19.8 tidy-ups */
.let-intro__lead { font-size: 1.0625rem; line-height: 1.75; }
.recent .section-head--center .dev-note { display: table; margin-inline: auto; }
@media (min-width: 62em) {
  .let-help { grid-template-columns: minmax(0, 1fr) auto; }
  .let-help__actions { flex-direction: column; align-items: stretch; gap: var(--space-4); }
  .let-help__call { align-self: center; }
  .let-help__title { max-width: 32rem; }
}
@media (max-width: 61.99em) {
  .let-help__actions .button { width: 100%; }
  .let-help__call { margin-inline: auto; }
}
@media (max-width: 47.99em) {
  .let-help .button { padding-inline: 1rem; font-size: 0.75rem; letter-spacing: 0.1em; }
  .let-help__title { font-size: 1.25rem; }
  .let-help__text p { font-size: 0.9375rem; }
}

/* ==========================================================================
   20. Light, red-and-white finish (no black panels or black accents)
   Text stays dark grey for readability; every block, button and accent is
   white, warm cream or Charlotte Grace red.
   ========================================================================== */

/* ---- 20.1 Outline buttons: red outline, fill red on hover ---- */
.button--outline { --btn-sweep: var(--cg-red); color: var(--cg-red); background: #fff; border-color: var(--cg-red); }
.button--outline:hover { color: #fff; border-color: var(--cg-red); }
@media (hover: hover) { .button--outline:hover { color: #fff; background: #fff; border-color: var(--cg-red); } }
@media (hover: none) { .button--outline:active { color: #fff; background: var(--cg-red); } }
.button--outline:is([href*="valuation"], [data-enquiry$="valuation"]) { color: var(--cg-red); background: #fff; border-color: var(--cg-red); }
.button--outline:is([href*="valuation"], [data-enquiry$="valuation"]):hover { color: #fff; background: var(--cg-red); border-color: var(--cg-red); box-shadow: 0 14px 28px -18px rgb(130 0 0 / 0.7); }

/* ---- 20.2 Image banners (Sell, Let, About): cream panel beside the photo ---- */
.page-banner--image { color: var(--ink); background: var(--paper-warm); border-bottom: 1px solid var(--line); }
.page-banner--image .page-banner__title { color: var(--ink); }
.page-banner--image .page-banner__intro { color: var(--ink-soft); }
.page-banner--image .breadcrumbs li,
.page-banner--image .breadcrumbs [aria-current="page"] { color: var(--ink-muted); }
.page-banner--image .breadcrumbs a { color: var(--ink-soft); }
.page-banner--image .breadcrumbs a:hover { color: var(--cg-red); }
.page-banner--image .page-banner__media::after { display: none; }
@media (min-width: 62em) {
  .page-banner--image::before { width: 3px; background: var(--cg-red); }
  .page-banner--image .page-banner__title { font-weight: var(--fw-light); }
}
@media (max-width: 61.99em) { .page-banner--image .page-banner__media { border-bottom-width: 3px; } }

/* ---- 20.3 Package cards: both light; Fully Managed marked in red ---- */
.package { background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -40px rgb(90 60 40 / 0.45); }
.package__head { background: var(--paper-warm); border-bottom: 1px solid var(--line); }
.package--featured { border: 1px solid rgb(204 0 0 / 0.45); border-top: 4px solid var(--cg-red); box-shadow: 0 30px 60px -42px rgb(150 0 0 / 0.45); }
.package--featured .package__head { color: var(--ink); background: #fdf4f3; border-bottom: 1px solid rgb(204 0 0 / 0.18); }
.package--featured .package__num { color: var(--cg-red); }
.package--featured .package__name { color: var(--ink); }
.package--featured .package__summary { color: var(--ink-soft); }
.package__summary { color: var(--ink-soft); }
.package__lead { color: var(--cg-red); }

/* Ticks: soft red circle for Let Only, solid red for Fully Managed */
.package__list .icon,
.compare__yes { color: var(--cg-red); background: rgb(204 0 0 / 0.1); }
.package--featured .package__list .icon,
.compare__table .compare__fm .compare__yes { color: #fff; background: var(--cg-red); }

/* ---- 20.4 Comparison table ---- */
.compare__table thead th { border-bottom: 2px solid var(--cg-red); }
.compare__table thead th.compare__fm { color: #fff; background: var(--cg-red); }
.compare__table td.compare__fm { background: #fdf6f5; }

/* ---- 20.5 "Not sure which service?" card: white with a red edge ---- */
.let-help { color: var(--ink); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cg-red); box-shadow: 0 24px 48px -40px rgb(90 60 40 / 0.45); }
.let-help__title { color: var(--ink); }
.let-help__text p { color: var(--ink-soft); }
.let-help__call { color: var(--ink); border-bottom-color: var(--line-strong); }
.let-help__call:hover { color: var(--cg-red); border-bottom-color: var(--cg-red); }
.let-help__call .icon { color: var(--cg-red); }

/* ---- 20.6 Remaining black accents across the site ---- */
.testimonial--featured { color: var(--ink); background: #fff; box-shadow: inset 0 3px 0 var(--cg-red); }
.testimonial--featured .testimonial__cite { border-top-color: var(--line); }
.testimonial--featured .testimonial__meta { color: var(--ink-muted); }
.testimonial--featured :is(.testimonial__quote, .testimonial__quote p, .testimonial__name) { color: var(--ink); }
.badge--new { color: #fff; background: var(--cg-red); }
.faq-filter__button:hover { border-color: var(--cg-red); color: var(--cg-red); }
.faq-filter__button[aria-pressed="true"] { color: #fff; background: var(--cg-red); border-color: var(--cg-red); }
.pagination__btn:hover:not(:disabled) { border-color: var(--cg-red); color: var(--cg-red); }
.pagination__btn[aria-current="page"] { color: #fff; background: var(--cg-red); border-color: var(--cg-red); }
.checkbox input:checked + .checkbox__box { background-color: var(--cg-red); border-color: var(--cg-red); }
.service-card--featured { border-color: var(--cg-red); box-shadow: 0 0 0 1px var(--cg-red); }
.enquiry-card--completed { color: var(--ink); background: var(--paper-warm); border-top-color: var(--cg-red); }
.enquiry-card--completed .enquiry-card__title { color: var(--ink); }
.enquiry-card--completed p { color: var(--ink-soft); }
.skip-link { background: var(--cg-red); }
.featured__arrow:hover { border-color: var(--cg-red); color: var(--cg-red); }
/* stronger soft ticks so they read clearly at small sizes */
.package__list .icon,
.compare__yes { padding: 0.24rem; background: rgb(204 0 0 / 0.13); }
.package--featured .package__list .icon,
.compare__table .compare__fm .compare__yes { background: var(--cg-red); }

/* Footer: company details under the copyright line */
.cg-footer__legal p { margin: 0; }
.cg-footer__legal .cg-footer__company { margin-top: 0.3rem; font-size: 0.8125rem; color: var(--ink-muted); }

/* Footer: website credit ("Designed & Developed by Safwan").
   Small, quiet type in the footer's own colours; only the name is a link.
   Phones: centred as the last line. Tablets: on the right, level with the
   copyright line. Wide screens: on the right under the policy links, level
   with the company details. */
.cg-footer__credit {
  font-size: 0.75rem;                      /* 12px */
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}
.cg-footer__credit a {
  font-weight: var(--fw-medium);
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: transparent;      /* the underline fades in on hover */
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease), text-decoration-color var(--dur-fast) var(--ease);
}
.cg-footer__credit a:hover { color: var(--cg-red); text-decoration-color: currentColor; }
.cg-footer__credit a:focus-visible { outline: 2px solid var(--cg-red); outline-offset: 3px; border-radius: 2px; }

@media (max-width: 47.99em) {
  .cg-footer__credit { margin-top: var(--space-1); }
}

/* Tablets and up: a tidy grid, so the credit sits level with the legal lines */
@media (min-width: 48em) {
  .cg-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "copyright credit"
      "company   company"
      "policies  policies";
    align-items: baseline;
    gap: 0.3rem var(--space-6);
  }
  .cg-footer__legal { display: contents; }   /* its two lines join the grid */
  .cg-footer__legal > p:first-child { grid-area: copyright; }
  .cg-footer__legal .cg-footer__company { grid-area: company; margin-top: 0; }
  .cg-footer__policies { grid-area: policies; margin-top: var(--space-3); }
  .cg-footer__credit { grid-area: credit; justify-self: end; }
}

/* Wide screens: policy links on the right of the copyright line, the credit
   under them on the right of the company details */
@media (min-width: 75em) {
  .cg-footer__bottom {
    grid-template-areas:
      "copyright policies"
      "company   credit";
  }
  .cg-footer__policies { margin-top: 0; justify-self: end; }
}

/* ==========================================================================
   21. Message page (shown by the server after a form is sent without
   JavaScript, and for newsletter unsubscribe links)
   ========================================================================== */
.message-page { display: grid; place-items: center; min-height: 100vh; margin: 0; padding: var(--space-5); background: var(--paper-warm); }
.message-page__card { width: 100%; max-width: 36rem; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); text-align: center; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--cg-red); border-radius: 6px; }
.message-page__logo { width: 160px; height: auto; margin: 0 auto var(--space-6); }
.message-page__title { margin: 0 0 var(--space-4); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: var(--fw-light); letter-spacing: 0.06em; text-transform: uppercase; }
.message-page__text { margin: 0 0 var(--space-5); line-height: 1.7; color: var(--ink-soft); }
.message-page__errors { margin: 0 0 var(--space-5); padding: var(--space-4) var(--space-5); text-align: left; color: var(--error); background: #fdf4f3; border-left: 3px solid var(--error); list-style: none; }
.message-page__actions { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); margin: 0; }
.message-page__phone { color: var(--ink); }
.message-page form { margin: 0 0 var(--space-5); }

/* ---- 21.1 Form replies from the server ---- */
.form-status.is-success { padding: var(--space-3) var(--space-4); color: #165c38; background: #eef7f1; border-left: 3px solid #1f7a4c; }
.form-status.is-error { color: var(--error); }
.form-status.is-dev { padding: var(--space-3) var(--space-4); color: var(--dev-ink); background: var(--dev-bg); }
button[aria-busy="true"] { cursor: progress; opacity: 0.8; }

