/* ==========================================================
   Cavendish Residential — shared stylesheet
   Colours are taken from the arrows in the Cavendish logo.
   Edit the variables below to change the look of the whole site.
   ========================================================== */
:root {
  --navy: #1e1a4d;        /* logo lettering */
  --navy-deep: #002040;   /* logo circle background */
  --green: #3baa36;
  --orange: #ec6708;
  --blue: #164194;
  --sky: #009fe4;
  --pink: #e6007d;        /* main call-to-action colour */
  --pink-dark: #c40069;
  --ink: #000000;         /* body text colour (measured from reference: pure black) */
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-size: 16px;      /* base text size */
  --muted: #5b5b70;
  --line: #e3e4ec;
  --tint: #f3f6fb;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(30, 26, 77, .10);
  --header-h: 84px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--font-size);
  color: var(--ink);
  line-height: 1.5;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 2.4vw + .6rem, 2.3rem); font-weight: 600; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section--tint { background: var(--tint); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none; text-align: center;
  font: inherit; font-weight: 700; padding: 12px 24px; border-radius: var(--radius);
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--pink); color: var(--white); }
.btn--primary:hover { background: var(--pink-dark); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--tint); }
.btn--small { padding: 9px 18px; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { max-width: 1480px; }
.site-header__inner {
  height: var(--header-h); display: flex; align-items: center; gap: 28px;
}
.brand img { height: 52px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 11px; color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: .88rem; border-radius: var(--radius); position: relative; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--pink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px;
  background: var(--pink); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav { margin-left: 8px; }
.header-phone { font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--pink); }
.nav-toggle, .nav-toggle-label { display: none; }

/* arrow-colour accent stripe under header */
.stripe { height: 4px; background: linear-gradient(90deg, var(--green) 0 20%, var(--orange) 20% 40%, var(--blue) 40% 60%, var(--sky) 60% 80%, var(--pink) 80% 100%); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  min-height: calc(100vh - var(--header-h) - 4px); min-height: calc(100svh - var(--header-h) - 4px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 48px 20px 72px; text-align: center;
  background: var(--navy-deep) url("assets/hero-cavendish-residential.jpg") center 40% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,23,56,.30) 0%, rgba(0,23,56,.10) 45%, rgba(0,23,56,.45) 100%);
}
.hero > * { position: relative; }
.hero h1 {
  color: var(--white); font-size: clamp(2.2rem, 5vw + .5rem, 4.2rem); font-weight: 400;
  margin-bottom: .2em; text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.hero__sub {
  font-size: clamp(1.1rem, 1.4vw + .6rem, 1.6rem); font-weight: 600; margin-bottom: 36px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

/* search box (CSS-only Buy / Rent tabs) */
.search { width: 100%; max-width: 700px; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,.35); border-radius: var(--radius); overflow: hidden; }
.search input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.search__tabs { display: flex; }
.search__tabs label {
  flex: 1; text-align: center; padding: 13px; font-weight: 700; cursor: pointer;
  background: rgba(255,255,255,.88); color: var(--navy);
}
.search__tabs label:hover { background: var(--white); }
#tab-buy:checked ~ .search__tabs label[for="tab-buy"],
#tab-rent:checked ~ .search__tabs label[for="tab-rent"] { background: var(--navy); color: var(--white); }
#tab-buy:focus-visible ~ .search__tabs label[for="tab-buy"],
#tab-rent:focus-visible ~ .search__tabs label[for="tab-rent"] { outline: 3px solid var(--sky); outline-offset: -3px; }
.search__panel { display: none; background: var(--white); padding: 14px; }
#tab-none:checked ~ #panel-none, #tab-buy:checked ~ #panel-buy, #tab-rent:checked ~ #panel-rent { display: block; }
.search__row { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.search__msg { flex: 1; margin: 0; padding: 15px 16px; color: var(--muted); display: flex; align-items: center; }
.search__row.is-ready { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(230,0,125,.18); }
.search__row.is-ready .search__msg { color: var(--navy); font-weight: 600; }
.search__go { border-radius: 0; padding: 0 30px; display: flex; align-items: center; justify-content: center; }
.search__go.is-disabled { background: #c9cbd6; color: #fff; cursor: not-allowed; }
.search__row.is-ready .search__go { animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 0%,100% { box-shadow: 0 0 0 0 rgba(230,0,125,.55); } 50% { box-shadow: 0 0 0 8px rgba(230,0,125,0); } }
.valuation-strip {
  background: var(--navy); color: var(--white); padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.valuation-strip span { font-weight: 600; }

/* ---------- Audience cards ---------- */
.section-title { margin-bottom: 28px; }
.cards { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--tint); border-radius: var(--radius); padding: 32px 24px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; border-top: 5px solid var(--accent, var(--navy));
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card svg { width: 52px; height: 52px; stroke: var(--accent, var(--navy)); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); flex: 1; }
.card--landlords { --accent: var(--green); }
.card--tenants   { --accent: var(--orange); }
.card--buyers    { --accent: var(--blue); }
.card--sellers   { --accent: var(--pink); }

/* ---------- Valuation options ---------- */
.valuation { scroll-margin-top: calc(var(--header-h) + 8px); }
#valuation { scroll-margin-top: calc(var(--header-h) + 8px); }
.valuation__intro { color: var(--muted); margin-bottom: 28px; }
.val-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.val-card { position: relative; background: var(--white); border-radius: 10px; box-shadow: var(--shadow); padding: 32px 28px 28px; border-top: 5px solid var(--pink); display: flex; flex-direction: column; }
.val-card--alt { border-top-color: var(--navy); }
.val-card__tag { align-self: flex-start; background: var(--tint); color: var(--navy); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; margin-bottom: 14px; }
.val-card h3 { font-size: 1.4rem; }
.val-card p { color: var(--muted); }
.val-facts { display: flex; gap: 32px; margin: 6px 0 12px; }
.val-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.val-facts dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.accuracy { position: relative; height: 8px; border-radius: 99px; background: var(--line); margin-bottom: 26px; overflow: hidden; }
.accuracy span { position: absolute; top: 0; bottom: 0; left: calc(var(--from) * 1%); width: calc((var(--to) - var(--from)) * 1%); background: var(--pink); border-radius: 99px; }
.val-card--alt .accuracy span { background: var(--navy); }
.val-card .btn { margin-top: auto; }

/* ---------- Feature banner ---------- */
.banner {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--blue));
  color: var(--white); text-align: center; padding: 80px 0;
}
.banner h2 { color: var(--white); font-size: clamp(1.9rem, 3.6vw + .5rem, 3.4rem); text-transform: uppercase; font-weight: 800; letter-spacing: .01em; margin-bottom: .3em; }
.banner h2 em { font-style: normal; color: var(--sky); display: block; }
.banner p { font-size: 1.2rem; max-width: 640px; margin: 0 auto 28px; opacity: .92; }

/* ---------- Why Cavendish ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.why__list { list-style: none; padding: 14px 10px 4px; margin: 24px 0 28px; }
.why__list li { position: relative; padding: 0 0 14px 40px; font-size: 1.08rem; }
.why__list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.why__list strong { color: var(--navy); }
.why__visual { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.why__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Advice tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: block; }
.tile__img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--c1), var(--c2)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.tile__body { padding: 20px 22px 24px; }
.tile__body h3 { font-size: 1.25rem; font-weight: 500; }
.tile__body span { display: inline-block; border-left: 3px solid var(--pink); padding-left: 10px; font-weight: 700; color: var(--navy); }
.tile:hover h3 { color: var(--pink); }

/* ---------- Featured properties ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head p { margin: .4em 0 0; color: var(--muted); }
.scroller { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; }
.prop { flex: 0 0 min(300px, 78%); scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prop__img { position: relative; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #cfd8e8, #aebbd3); display: flex; align-items: center; justify-content: center; color: #50607e; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.prop__badge { position: absolute; top: 10px; right: 10px; background: var(--pink); color: var(--white); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; letter-spacing: 0; text-transform: none; }
.prop__body { padding: 14px 16px 16px; }
.prop__body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.prop__meta { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.prop__price { color: var(--blue); font-size: 1.4rem; font-weight: 600; }

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: center; gap: 10px; margin: -12px 0 24px; color: var(--muted); }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.2rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review__who { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.review__who strong { display: block; line-height: 1.2; }
.review__who small { color: var(--muted); }
.review p { margin: 8px 0 0; color: var(--ink); }

/* ---------- Contact / opening hours ---------- */
.contact { background: var(--navy); color: var(--white); }
.contact h2 { color: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact a { color: var(--white); }
.contact address { font-style: normal; margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours th, .hours td { text-align: left; padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,.2); font-weight: 400; }
.hours td:last-child { text-align: right; }
.map-ph { min-height: 320px; height: 100%; border-radius: var(--radius); background: repeating-linear-gradient(45deg, #26226a, #26226a 14px, #2c2878 14px, #2c2878 28px); display: grid; place-items: center; text-align: center; padding: 20px; color: rgba(255,255,255,.8); }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.footer-grid img.footer-logo { height: 56px; width: auto; margin-bottom: 14px; }
.footer-grid h3 { font-size: 1.05rem; margin-bottom: .8em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--pink); text-decoration: underline; }
.footer-grid address { font-style: normal; color: var(--muted); }
.memberships { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.memberships h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.memberships ul { list-style: none; display: flex; gap: 16px; flex-wrap: wrap; padding: 0; margin: 12px 0 0; }
.member-logo { display: grid; place-items: center; text-align: center; width: 190px; height: 84px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy); font-weight: 700; font-size: .95rem; line-height: 1.2; }
.member-logo small { display: block; font-weight: 400; color: var(--muted); font-size: .72rem; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--muted); }
.legal a { color: var(--muted); text-decoration: none; }
.legal a:hover { color: var(--pink); }

/* ---------- Placeholder marking ----------
   Anything with class "ph" is stand-in content that needs replacing.
   Delete the class (or this rule) once the real content is in. */
.ph { outline: 2px dashed #f2a30f; outline-offset: 3px; position: relative; }
.ph::after {
  content: "PLACEHOLDER"; position: absolute; top: -9px; left: 8px; z-index: 5;
  background: #f2a30f; color: #1d1d2b; font: 700 .62rem/1 var(--font);
  letter-spacing: .06em; padding: 3px 6px; border-radius: 3px; pointer-events: none;
}
.hide-placeholders .ph { outline: 0; }
.hide-placeholders .ph::after { display: none; }

/* ---------- Property pages (Buy / Rent / details) ---------- */
.filters { background: var(--tint); border-radius: 10px; padding: 20px 20px 14px; margin-bottom: 24px; }
.filters__grid { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.f input, .f select { font: inherit; font-size: .95rem; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink); padding: 11px 12px; border: 1px solid #c9ccd8; border-radius: var(--radius); background: var(--white); min-width: 0; }
.f input:focus, .f select:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(0,159,228,.25); }
.filters__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.check { font-size: .9rem; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.linkbtn { background: none; border: 0; color: var(--blue); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 6px; }
.count { font-weight: 700; color: var(--navy); margin: 0 0 16px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard:hover h3 { color: var(--pink); }
.pcard__media { position: relative; aspect-ratio: 3 / 2; background: #dfe5f0; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__badges, .badges-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pcard__badges { position: absolute; top: 10px; left: 10px; }
.badge { background: var(--navy); color: var(--white); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; letter-spacing: .03em; }
.badge--status { background: var(--pink); }
.badge--sample { background: #f2a30f; color: #1d1d2b; }
.pcard__body { padding: 16px 18px 20px; }
.pcard__price, .detail__price { color: var(--blue); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.price__qual { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.price__suffix { font-size: .9rem; font-weight: 500; color: var(--muted); }
.pcard__body h3 { font-size: 1.05rem; font-weight: 600; margin: 8px 0 4px; overflow-wrap: anywhere; }
.pcard__meta { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.pcard__sum { font-size: .9rem; color: var(--ink); margin: 0; }
.photo-ph { width: 100%; height: 100%; min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(135deg, #e3e8f2, #cdd6e6); color: #50607e; font-size: .8rem; font-weight: 600; }
.photo-ph svg { width: 44px; height: 44px; fill: none; stroke: #50607e; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.empty { grid-column: 1 / -1; padding: 40px 20px; text-align: center; background: var(--tint); border-radius: 10px; }
.center { text-align: center; margin: 28px 0 0; }
.sample-note { margin-top: 36px; padding: 14px 16px; font-size: .9rem; color: var(--muted); }
.crumbs { margin: 0 0 18px; }
.crumbs a { font-weight: 600; text-decoration: none; }
.detail { padding-top: 28px; padding-bottom: 64px; }
.detail__top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }
.gallery__main { aspect-ratio: 3 / 2; background: #dfe5f0; border-radius: 10px; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 10px 0; }
.gallery__nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.gallery__nav button:hover { background: var(--navy); color: var(--white); }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.gallery__thumbs button { flex: 0 0 84px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: #dfe5f0; }
.gallery__thumbs button.is-on { border-color: var(--pink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs .photo-ph { min-height: 0; } .gallery__thumbs .photo-ph span, .gallery__thumbs .photo-ph svg { display: none; }
.detail__side h1 { font-size: clamp(1.4rem, 2vw + .6rem, 2rem); margin: 10px 0 8px; overflow-wrap: anywhere; }
.detail__price { font-size: 1.9rem; margin: 0 0 4px; }
.detail__meta { color: var(--muted); margin: 0 0 20px; }
.btn--block { display: block; width: 100%; margin-bottom: 10px; }
.detail__call { margin: 14px 0 4px; } .detail__ref { color: var(--muted); font-size: .85rem; }
.detail__cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; margin-top: 40px; }
.detail h2 { font-size: 1.35rem; margin: 28px 0 12px; } .detail h2:first-child { margin-top: 0; }
.featlist { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.featlist li { position: relative; padding-left: 28px; }
.featlist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.desc p, .desc div { margin: 0 0 1em; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; text-align: right; }
.linklist { padding-left: 18px; margin: 0; } .linklist li { margin-bottom: 6px; }

/* ---------- Placeholder (inner) pages ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: var(--white); padding: 72px 0; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .3em; }
.page-hero p { max-width: 640px; opacity: .9; margin: 0; }
.coming-soon { padding: 64px 0 96px; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .nav-toggle-label { display: grid; gap: 5px; margin-left: auto; padding: 12px; cursor: pointer; order: 3; }
  .nav-toggle-label span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); margin: 0; display: none; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0,0,0,.08); }
  .nav ul { flex-direction: column; padding: 10px 24px 18px; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-toggle:checked ~ .nav { display: block; }
  .header-actions { margin-left: auto; }
  .nav-toggle-label { margin-left: 0; }
}
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; gap: 32px; }
  .tiles, .reviews, .val-cards { grid-template-columns: 1fr; }
  .filters__grid { grid-template-columns: repeat(3, 1fr); } .f--wide { grid-column: 1 / -1; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .detail__top, .detail__cols { grid-template-columns: 1fr; gap: 28px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .section { padding: 44px 0; }
  .brand img { height: 40px; }
  .header-phone { display: none; }
  .header-actions .btn { padding: 9px 14px; font-size: .88rem; white-space: nowrap; }
  .cards { grid-template-columns: 1fr; }
  .filters__grid { grid-template-columns: 1fr 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 56px; }
  .search__row { flex-direction: column; }
  .search__go { padding: 14px; }
  .valuation-strip { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .member-logo { width: calc(50% - 8px); }
}
@media (prefers-reduced-motion: reduce) { .search__row.is-ready .search__go { animation: none; } * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Mobile fixes for property pages ---------- */
.detail__top > *, .detail__cols > *, .filters__grid > * { min-width: 0; }
.gallery__thumbs { max-width: 100%; }
@media (max-width: 640px) {
  .filters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f--wide { grid-column: 1 / -1; }
  .filters { padding: 16px 14px 10px; }
}

/* ---- contact details, hero call line, social icons, new footer ---- */
.ico { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.hero__call { margin: 18px 0 0; color: #fff; font-size: .98rem; text-shadow: 0 1px 6px rgba(0,0,0,.55); max-width: 700px; }
.hero__call a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hero__call a:hover { text-decoration: underline; }
.hero__call .ico { margin-right: .3em; }
.strong { font-weight: 700; }
.hours-note { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }
.footer-bar { display: grid; grid-template-columns: repeat(4, 1fr); height: 10px; margin-top: -56px; margin-bottom: 46px; }
.footer-bar span:nth-child(1) { background: var(--blue); } .footer-bar span:nth-child(2) { background: var(--green); }
.footer-bar span:nth-child(3) { background: var(--orange); } .footer-bar span:nth-child(4) { background: var(--pink); }
.footer-tag { margin: 0 0 12px; font-weight: 600; color: var(--navy); font-size: .92rem; }
.social { list-style: none; display: flex; gap: 14px; padding: 0; margin: 16px 0 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--navy); border-radius: 50%; transition: color .15s, transform .15s; }
.social a:hover { color: var(--pink); transform: translateY(-2px); }
.social .ico { width: 28px; height: 28px; vertical-align: 0; }
.memberships ul { align-items: center; gap: 22px 28px; }
.memberships li { display: flex; align-items: center; }
.memberships img { height: 52px; width: auto; max-width: 100%; }
.memberships li:last-child img { height: 46px; }
@media (max-width: 640px) { .memberships img { height: 44px; } .memberships li:last-child img { height: 38px; } .hero__call { font-size: .92rem; } }

/* ---------- Contact page ---------- */
.contact .hours-note { color: rgba(255,255,255,.8); }
.crumbs { background: var(--navy-deep); color: #fff; font-size: .92rem; }
.crumbs .wrap { display: flex; gap: 10px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.crumbs a { color: #fff; text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs a[aria-current] { font-weight: 600; }
.ct-hero { padding: 56px 0; background: var(--navy-deep) url("assets/hero-cavendish-residential.jpg") center 40% / cover no-repeat; }
.ct-hero__box { max-width: 700px; background: rgba(0,32,64,.88); color: #fff; padding: 40px; border-radius: var(--radius); }
.ct-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; margin-bottom: .4em; }
.ct-hero p { font-size: 1.1rem; margin-bottom: 1.4em; }
.ct-enquiry { background: var(--tint); border-bottom: 1px solid var(--line); padding: 28px 0; }
.ct-enquiry[hidden] { display: none; }
.ct-enquiry .wrap { display: flex; gap: 20px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ct-enquiry h2 { font-size: 1.4rem; margin-bottom: .2em; } .ct-enquiry p { margin: 0; color: var(--muted); }
.ct-find { background: var(--navy); color: #fff; padding: 64px 0; }
.ct-find h2 { color: #fff; }
.ct-find a { color: #fff; }
.ct-find__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.ct-find__grid > * { min-width: 0; }
.ct-details { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.ct-details li { display: flex; gap: 14px; align-items: center; }
.ct-details address { font-style: normal; }
.ct-details .ct-ico { width: 26px; height: 26px; color: var(--pink); flex: none; }
.ct-details__big { font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.ct-hours { width: 100%; border-collapse: collapse; margin-top: 8px; }
.ct-hours th, .ct-hours td { text-align: left; padding: 13px 6px; border-bottom: 1px solid rgba(255,255,255,.25); font-weight: 400; vertical-align: top; }
.ct-hours thead th { color: var(--orange); font-weight: 700; border-bottom-color: rgba(255,255,255,.5); }
.ct-complaint { margin: 18px 0 0; color: rgba(255,255,255,.85); font-size: .95rem; }
.ct-map { position: relative; border-radius: var(--radius); overflow: hidden; background: #26226a; min-height: 380px; }
.ct-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.ct-map__link { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--navy) !important; font-weight: 600; font-size: .85rem; padding: 6px 12px; border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); }
.ct-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ct-tile { background: var(--tint); padding: 32px 28px; display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); }
.ct-tile__ico { width: 46px; height: 46px; color: var(--pink); margin-bottom: 18px; }
.ct-tile h3 { font-size: 1.6rem; font-weight: 600; }
.ct-tile p { color: var(--muted); flex: 1; }
.ct-tile__link { margin-top: 16px; font-weight: 700; color: var(--navy); text-decoration: none; border-left: 2px solid var(--pink); padding-left: 12px; }
.ct-tile__link:hover { color: var(--pink); }
.ct-office { display: grid; grid-template-columns: minmax(0, 420px) 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 860px; }
.ct-office img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.ct-office__body { padding: 28px; }
.ct-office__body h3 { font-size: 1.5rem; }
.ct-office__lines { display: grid; gap: 6px; }
.ct-office__lines a { color: var(--blue); text-decoration: none; display: flex; gap: 10px; align-items: center; overflow-wrap: anywhere; }
.ct-office__lines .ct-ico { width: 18px; height: 18px; flex: none; color: var(--pink); }
.ct-cta { background: var(--navy); color: #fff; text-align: center; padding: 64px 0; }
.ct-cta h2 { color: #fff; }
.ct-cta p { font-size: 1.05rem; margin-bottom: 1.4em; }
.ct-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ct-panel { background: var(--tint); padding: 36px; border-radius: var(--radius); min-width: 0; }
.ct-panel h2 { font-size: 1.7rem; font-weight: 500; }
.ct-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ct-links a { color: var(--blue); text-decoration: none; } .ct-links a:hover { text-decoration: underline; color: var(--pink); }
@media (max-width: 1100px) { .ct-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .ct-find__grid, .ct-panels { grid-template-columns: 1fr; gap: 32px; }
  .ct-office { grid-template-columns: 1fr; } .ct-office img { min-height: 200px; max-height: 260px; }
}
@media (max-width: 560px) {
  .ct-tiles { grid-template-columns: 1fr; }
  .ct-hero { padding: 28px 0; } .ct-hero__box { padding: 26px 22px; }
  .ct-find { padding: 44px 0; } .ct-panel { padding: 26px 22px; }
}

/* contact hero: team photo (faces sit on the right, message box on the left) */
.ct-hero { position: relative; overflow: hidden; background: var(--navy-deep); min-height: 480px; display: flex; align-items: center; }
.ct-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 40%; }
.ct-hero > .wrap { position: relative; width: 100%; }
@media (max-width: 860px) { .ct-hero__box { max-width: 560px; } .ct-hero { min-height: 420px; } }
@media (max-width: 560px) {
  .ct-hero { display: block; min-height: 0; padding: 0; background: var(--navy-deep); }
  .ct-hero__img { position: static; height: 250px; object-position: 82% 35%; }
  .ct-hero > .wrap { padding: 0; }
  .ct-hero__box { max-width: none; border-radius: 0; padding: 28px 24px 32px; }
}
/* tablet: stack photo above the message box so nobody's face is covered */
@media (max-width: 860px) {
  .ct-hero { display: block; min-height: 0; padding: 0; background: var(--navy-deep); }
  .ct-hero__img { position: static; height: 320px; object-position: 80% 35%; }
  .ct-hero > .wrap { padding: 0; }
  .ct-hero__box { max-width: none; border-radius: 0; padding: 32px 24px 36px; }
}
@media (max-width: 560px) { .ct-hero__img { height: 250px; } }

/* photo re-cropped to two team members: keep both faces in view */
.ct-hero__img { object-position: 50% 33%; }
@media (max-width: 860px) { .ct-hero__img { object-position: 50% 35%; } }
@media (max-width: 560px) { .ct-hero__img { object-position: 50% 66%; } }
.ct-hero__img { object-position: 50% 27%; }
@media (max-width: 860px) { .ct-hero__img { object-position: 50% 35%; } }
@media (max-width: 560px) { .ct-hero__img { object-position: 50% 66%; } }

/* final photo: full-width, taller hero on big screens so both faces show comfortably */
.ct-hero { min-height: clamp(480px, 34vw, 620px); }
.ct-hero__img { object-position: 50% 15%; }
@media (max-width: 860px) { .ct-hero { min-height: 0; } .ct-hero__img { object-position: 60% 20%; } }
@media (max-width: 560px) { .ct-hero__img { object-position: 92% 30%; } }
/* less zoom: taller hero on desktop so both people are fully in view */
.ct-hero { min-height: clamp(500px, 42vw, 760px); }
.ct-hero__img { object-position: 50% 22%; }
@media (max-width: 860px) { .ct-hero { min-height: 0; } .ct-hero__img { object-position: 60% 20%; } }
@media (max-width: 560px) { .ct-hero__img { object-position: 92% 30%; } }

/* ---------- Interactive office map ---------- */
.ct-map { position: relative; border-radius: 14px; overflow: hidden; background: #16143f; min-height: 420px; height: 100%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 14px 40px rgba(0,0,0,.35); isolation: isolate; }
.ct-map iframe { display: none; }
.ct-map .ct-map__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }  /* wins over the map library's own "position: relative" */
.ct-map__fallback { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 24px;
  background: radial-gradient(circle at 50% 42%, #26226a 0, #16143f 70%), #16143f; transition: opacity .6s ease, visibility .6s; }
.ct-map__fallback::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(189,185,215,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(189,185,215,.12) 1px, transparent 1px); background-size: 46px 46px; }
.ct-map__fallback > * { position: relative; }
.ct-map__pin { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; background: #002040; margin-bottom: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.5); }
.ct-map__name { margin: 0; font-weight: 700; font-size: 1.25rem; color: #fff; }
.ct-map__addr { margin: 0 0 14px; color: #bdb9d7; }
.ct-map[data-state="ready"] .ct-map__fallback { opacity: 0; visibility: hidden; }
.ct-map[data-state="ready"] .ct-map__dir { display: inline-block; }
.ct-map__dir { display: none; position: absolute; z-index: 3; left: 12px; top: 12px; background: #e6007d; color: #fff !important; font-weight: 700; font-size: .9rem; text-decoration: none; padding: 9px 16px; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.ct-map__dir:hover { background: #c40069; }
.ct-map__mt { position: absolute; z-index: 3; left: 10px; bottom: 8px; line-height: 0; }
.ct-map__mt img { height: 19px; width: auto; }
.ct-map__debug { position: absolute; z-index: 4; left: 12px; right: 12px; bottom: 36px; background: #fff; color: #1e1a4d; padding: 8px 12px; border-radius: 6px; font: 600 .85rem/1.3 var(--font); }
.ct-map .maplibregl-canvas:focus-visible, .ct-map .maplibregl-canvas-container:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }

/* controls in Midnight Navy */
.ct-map .maplibregl-ctrl-group { background: #1e1a4d; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 4px 14px rgba(0,0,0,.35); border-radius: 8px; }
.ct-map .maplibregl-ctrl-group button { background-color: transparent; color: #fff; width: 34px; height: 34px; }
.ct-map .maplibregl-ctrl-group button + button { border-top: 1px solid rgba(255,255,255,.2); }
.ct-map .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1); }
.ct-map .maplibregl-ctrl-group button:hover { background-color: #e6007d; }
.ct-map .cav-recentre { display: grid; place-items: center; cursor: pointer; border: 0; }
.ct-map .maplibregl-ctrl-attrib { background: rgba(22,20,63,.82); color: #bdb9d7; }
.ct-map .maplibregl-ctrl-attrib a { color: #d9d6ee; }
.ct-map .maplibregl-ctrl-attrib-button { filter: invert(1); }
.ct-map .maplibregl-cooperative-gesture-screen { background: rgba(22,20,63,.78); font-family: var(--font); }

/* marker: Cavendish emblem */
.cav-pin { position: relative; display: block; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.cav-pin__img { position: relative; display: block; width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; background: #002040; box-shadow: 0 6px 16px rgba(0,0,0,.5); transition: transform .15s ease; }
.cav-pin:hover .cav-pin__img { transform: scale(1.08); }
.cav-pin:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
.cav-pin__halo { position: absolute; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%; background: rgba(230,0,125,.55); transform: scale(1); opacity: 0; animation: cav-pulse 2.2s ease-out 3; pointer-events: none; }
@keyframes cav-pulse { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(2.8); opacity: 0; } }

/* popup */
.cav-popup .maplibregl-popup-content { background: #fff; color: #1e1a4d; border-radius: 12px; padding: 18px 20px 18px; min-width: 210px; box-shadow: 0 12px 34px rgba(0,0,0,.4); font-family: var(--font); }
.cav-popup .maplibregl-popup-close-button { font-size: 22px; color: #5b5b70; padding: 2px 8px; border-radius: 0 12px 0 0; }
.cav-popup .maplibregl-popup-close-button:hover { background: #f3f6fb; color: #e6007d; }
.cav-popup__inner h3 { margin: 0 0 6px; font-size: 1.1rem; color: #1e1a4d; }
.cav-popup__inner p { margin: 0 0 14px; color: #3a3a55; line-height: 1.45; }
.cav-popup__btn { display: inline-block; background: #e6007d; color: #fff !important; font-weight: 700; font-size: .92rem; text-decoration: none; padding: 9px 16px; border-radius: 6px; }
.cav-popup__btn:hover { background: #c40069; }
.cav-popup.maplibregl-popup-anchor-bottom .maplibregl-popup-tip, .cav-popup.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip, .cav-popup.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { border-top-color: #fff; }
.cav-popup.maplibregl-popup-anchor-top .maplibregl-popup-tip, .cav-popup.maplibregl-popup-anchor-top-left .maplibregl-popup-tip, .cav-popup.maplibregl-popup-anchor-top-right .maplibregl-popup-tip { border-bottom-color: #fff; }
.cav-popup.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: #fff; }
.cav-popup.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: #fff; }

@media (max-width: 860px) { .ct-map { min-height: 380px; height: 380px; } }
@media (prefers-reduced-motion: reduce) { .cav-pin__halo { animation: none; opacity: 0; } .cav-pin__img, .ct-map__fallback { transition: none; } }

/* discreet credit line (required by OpenStreetMap / OpenFreeMap – kept, but styled to blend in) */
.ct-map .maplibregl-ctrl.maplibregl-ctrl-attrib, .ct-map .maplibregl-ctrl-attrib.maplibregl-compact, .ct-map .maplibregl-ctrl-attrib.maplibregl-compact-show { background: rgba(22,20,63,.55); color: rgba(189,185,215,.9); font: 10px/1.5 var(--font); padding: 0 6px; margin: 0; border-radius: 6px 0 0 0; box-shadow: none; }
.ct-map .maplibregl-ctrl-attrib a, .ct-map .maplibregl-ctrl-attrib a:visited { color: rgba(217,214,238,.95); text-decoration: none; }
.ct-map .maplibregl-ctrl-attrib a:hover { text-decoration: underline; }
.ct-map .maplibregl-ctrl-attrib-inner { color: inherit; }

/* extra map buttons */
.ct-map .cav-streetview { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; text-decoration: none; }
.ct-map .cav-streetview:hover { background: #e6007d; border-radius: 8px; }
.ct-map .maplibregl-ctrl-bottom-right .maplibregl-ctrl { margin: 0 10px 10px 0; }
.ct-map .maplibregl-ctrl-bottom-right .maplibregl-ctrl.maplibregl-ctrl-attrib { margin: 0; }
.ct-map .maplibregl-user-location-dot, .ct-map .maplibregl-user-location-dot::before { background-color: #009fe4; }

/* ---------- staff area ---------- */
.staff .st-note { text-align: center; color: var(--muted); }
.staff .st-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; }
.staff .st-card--narrow { max-width: 440px; margin-left: auto; margin-right: auto; }
.staff .st-card h2, .staff .st-card h3 { margin-top: 0; }
.staff .st-card .f { display: block; margin-bottom: 14px; }
.staff .st-card .f input, .staff .st-card .f select { width: 100%; }
.staff .st-err { color: var(--pink-dark); font-weight: 600; }
.staff .st-small { color: var(--muted); font-size: .9rem; }
.staff .st-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.staff .st-bar h2 { margin: 0; }
.staff .st-pick { max-width: 320px; }
.staff .st-tablewrap { overflow-x: auto; }
.staff .st-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.staff .st-table th, .staff .st-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.staff .st-table th { color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.staff .st-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.staff .st-chip { background: var(--tint); border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.staff .st-chip:hover, .staff .st-chip:focus-visible { background: var(--navy); color: var(--white); border-color: var(--navy); }
.staff .st-ask { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.staff .st-ask .f { flex: 1 1 360px; margin-bottom: 0; }
.staff .st-how { background: var(--tint); border-left: 4px solid var(--navy); border-radius: 6px; padding: 12px 14px; margin: 0 0 14px; font-size: .93rem; }
.staff .st-miss { color: var(--pink-dark); font-weight: 600; }

/* ---- Property Intelligence Hub ---- */
.hub .hub-tag { display: inline-block; background: var(--tint); color: var(--navy); border-radius: 999px; font-size: .75rem; font-weight: 700; padding: 3px 10px; margin-bottom: 10px; }
.hub .hub-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 24px; }
.hub .hub-card { display: flex; gap: 12px; align-items: flex-start; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px; font: inherit; color: var(--navy); cursor: pointer; }
.hub .hub-card:hover, .hub .hub-card:focus-visible { border-color: var(--pink); }
.hub .hub-card.is-on { border-color: var(--navy); box-shadow: var(--shadow); background: var(--tint); }
.hub .hub-ico { width: 24px; height: 24px; flex: none; color: var(--pink); vertical-align: -5px; }
.hub .hub-card__t { display: flex; flex-direction: column; gap: 2px; }
.hub .hub-card__t span { color: var(--muted); font-size: .88rem; }
.hub .hub-card__t em { font-style: normal; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.hub .hub-row { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; text-align: left; background: var(--tint); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-bottom: 8px; font: inherit; color: var(--ink); cursor: pointer; }
.hub button.hub-row:hover, .hub button.hub-row:focus-visible { border-color: var(--navy); }
.hub .hub-row.is-locked { cursor: default; color: var(--muted); background: transparent; border-style: dashed; flex-direction: column; align-items: flex-start; gap: 2px; }
.hub .hub-tools { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.hub .hub-warn { border-left-color: var(--pink); color: var(--pink-dark); font-weight: 600; }
.hub .hub-prop { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.hub .hub-prop img, .hub .hub-noimg { width: 160px; height: 120px; object-fit: cover; border-radius: 8px; flex: none; background: var(--tint); }
.hub .hub-noimg { display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.hub .hub-prop h4 { margin: 0 0 4px; }
.hub .hub-prop p { margin: 4px 0; }
.hub .hub-price { font-weight: 700; color: var(--navy); }
.hub .hub-badge { display: inline-block; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; padding: 2px 9px; margin-left: 6px; font-weight: 600; }
.hub .hub-why { font-size: .93rem; }
.hub .hub-gaps { font-size: .88rem; color: var(--muted); margin: 6px 0; }
.hub .hub-gaps ul { margin: 6px 0 0; padding-left: 20px; }
.hub .hub-links { font-size: .9rem; }
@media (max-width: 560px) { .hub .hub-prop { flex-direction: column; } .hub .hub-prop img, .hub .hub-noimg { width: 100%; height: 180px; } }

/* ---- Property Intelligence (intelligence.html) ---- */
.intel .in-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; border-bottom: 2px solid var(--line); }
.intel .in-nav a { padding: 10px 16px; font-weight: 600; color: var(--navy); border-bottom: 3px solid transparent; margin-bottom: -2px; text-decoration: none; }
.intel .in-nav a.is-on, .intel .in-nav a:hover { border-bottom-color: var(--pink); }
.intel .in-banner { background: var(--tint); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; font-size: .9rem; }
.intel .in-status { min-height: 1.2em; color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.intel #in-view:focus { outline: none; }
.intel .in-h2 { margin: 26px 0 10px; color: var(--navy); }
.intel .in-small { font-size: .88rem; color: var(--muted); }
.intel .in-search { display: flex; gap: 10px; margin: 6px 0 8px; }
.intel .in-search input { flex: 1; min-width: 0; padding: 14px 16px; font: inherit; border: 2px solid var(--navy); border-radius: 8px; }
.intel .in-search input:focus { outline: 3px solid var(--pink); outline-offset: 1px; }
.intel .in-examples { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.intel .in-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-bottom: 16px; }
.intel .in-tool { display: flex; flex-direction: column; gap: 4px; background: var(--navy); color: #fff; border-radius: 10px; padding: 18px 20px; text-decoration: none; }
.intel .in-tool span { opacity: .85; font-size: .92rem; }
.intel .in-tool:hover, .intel .in-tool:focus-visible { background: var(--navy-deep); outline: 3px solid var(--pink); }
.intel .in-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 16px; }
.intel .in-tile { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--navy); text-decoration: none; }
.intel .in-tile span { font-size: .8rem; color: var(--muted); }
.intel .in-tile strong { font-size: 1.35rem; }
.intel a.in-tile:hover { border-color: var(--pink); }
.intel .in-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.intel .in-cat { display: flex; flex-direction: column; gap: 3px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font: inherit; color: var(--navy); cursor: pointer; }
.intel .in-cat span { color: var(--muted); font-size: .86rem; }
.intel .in-cat:hover, .intel .in-cat:focus-visible { border-color: var(--pink); }
.intel .in-cat.is-on { border-color: var(--navy); background: var(--tint); box-shadow: var(--shadow); }
.intel .in-sugg { margin-top: 14px; }
.intel .in-sugglist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.intel .in-sugglist li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.intel .in-sugglist li.is-locked { border-style: dashed; color: var(--muted); display: flex; flex-direction: column; }
.intel .in-sugg__a { font-weight: 600; text-decoration: none; color: var(--navy); }
.intel .in-sugg__a:hover { color: var(--pink-dark); }
.intel .in-prio { padding-left: 20px; } .intel .in-prio li { margin: 6px 0; }
.intel .in-read { background: var(--tint); border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.intel .in-read h3 { margin: 0 0 6px; font-size: 1rem; } .intel .in-read ul { margin: 0; padding-left: 20px; }
.intel .in-note { border-left: 4px solid var(--sky); padding: 6px 12px; background: #fff; margin: 8px 0; font-size: .92rem; }
.intel .in-warn { border-left: 4px solid var(--orange); padding: 8px 12px; background: #fff7ef; margin: 8px 0; }
.intel .in-unsupported { border: 2px solid var(--pink); background: #fff; border-radius: 8px; padding: 12px 16px; margin: 10px 0; }
.intel .in-answer { font-size: 1.15rem; margin: 14px 0; } .intel .in-answer strong { font-size: 1.7rem; color: var(--navy); }
.intel .in-empty { padding: 18px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); }
.intel .in-refine { min-width: 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: end; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px 12px; margin: 12px 0; }
.intel .in-refine legend { font-weight: 700; font-size: .85rem; padding: 0 6px; }
.intel .in-refine label { display: flex; flex-direction: column; font-size: .82rem; gap: 3px; }
.intel .in-refine select, .intel .in-refine input { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.intel .in-toolbar { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin: 12px 0; font-size: .92rem; }
.intel .in-viewtoggle button { font: inherit; padding: 5px 12px; border: 1px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.intel .in-viewtoggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.intel .in-cards { display: grid; gap: 14px; }
.intel .in-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.intel .in-card__img { width: 190px; height: 140px; object-fit: cover; border-radius: 8px; flex: none; background: var(--tint); }
.intel .in-noimg { display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.intel .in-card h3 { margin: 0 0 4px; font-size: 1.05rem; } .intel .in-card h3 a { color: var(--navy); text-decoration: none; }
.intel .in-price { font-weight: 700; color: var(--navy); margin: 2px 0; } .intel .in-kind { font-weight: 500; color: var(--muted); font-size: .85rem; margin-left: 6px; }
.intel .in-facts { color: var(--muted); font-size: .9rem; margin: 2px 0 6px; }
.intel .in-whybox summary { cursor: pointer; font-weight: 600; font-size: .88rem; } .intel .in-why { margin: 6px 0; padding-left: 20px; font-size: .88rem; }
.intel .in-textonly { display: inline-block; background: #fff1c2; border: 1px solid #e3c35a; border-radius: 4px; font-size: .72rem; font-weight: 700; padding: 0 6px; }
.intel .in-links { font-size: .9rem; margin: 6px 0 0; }
.intel .in-badge { display: inline-block; border-radius: 999px; font-size: .72rem; font-weight: 700; padding: 2px 9px; margin-right: 6px; background: var(--tint); border: 1px solid var(--line); vertical-align: middle; }
.intel .in-badge--ok { background: #e6f5e5; border-color: #9ad297; } .intel .in-badge--status { background: #fff1c2; border-color: #e3c35a; }
.intel .in-badge--critical { background: #7a0030; color: #fff; border-color: #7a0030; } .intel .in-badge--high { background: #ffe0ef; border-color: var(--pink); color: var(--pink-dark); }
.intel .in-badge--medium { background: #fff1de; border-color: var(--orange); } .intel .in-badge--low { background: #e6f2fb; border-color: var(--sky); }
.intel .in-kind--confirmed { background: var(--navy); color: #fff; border-color: var(--navy); } .intel .in-kind--review { background: #fff; border-color: var(--navy); color: var(--navy); }
.intel .in-tablewrap { overflow-x: auto; } .intel .in-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.intel .in-table th, .intel .in-table td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.intel .in-table thead th { background: var(--tint); font-size: .8rem; }
.intel .in-pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 18px 0; }
.intel .in-pager button, .intel .in-actions button, .intel .in-chip { font: inherit; font-size: .85rem; padding: 6px 12px; border: 1px solid var(--navy); background: #fff; color: var(--navy); border-radius: 6px; cursor: pointer; }
.intel .in-pager button:disabled { opacity: .4; cursor: default; }
.intel .in-pager button:hover:not(:disabled), .intel .in-actions button:hover, .intel .in-chip:hover { background: var(--tint); }
.intel .in-bysev { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.intel .in-chip.is-on { background: var(--navy); color: #fff; }
.intel .in-excluded { margin: 14px 0; font-size: .9rem; } .intel .in-excluded summary { cursor: pointer; font-weight: 600; }
.intel .in-finding { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.intel .in-sev--critical { border-left-color: #7a0030; } .intel .in-sev--high { border-left-color: var(--pink); } .intel .in-sev--medium { border-left-color: var(--orange); } .intel .in-sev--low { border-left-color: var(--sky); }
.intel .in-finding h4 { display: inline; margin: 0 0 0 4px; font-size: 1rem; }
.intel .in-evtable { width: 100%; font-size: .88rem; border-collapse: collapse; margin: 8px 0; background: var(--tint); }
.intel .in-evtable th, .intel .in-evtable td { padding: 5px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid #fff; }
.intel .in-srcline { font-size: .8rem; color: var(--muted); } .intel .in-src--to-verify { color: var(--orange); font-weight: 600; }
.intel .in-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.intel .in-notes { font-size: .88rem; background: var(--tint); padding: 8px 12px 8px 28px; border-radius: 6px; }
.intel .in-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--line); margin: 14px 0; }
.intel .in-tabs a { padding: 9px 14px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.intel .in-tabs a.is-on, .intel .in-tabs a:hover { border-bottom-color: var(--pink); }
.intel .in-overview { display: flex; gap: 20px; flex-wrap: wrap; } .intel .in-hero { width: 320px; max-width: 100%; height: 220px; object-fit: cover; border-radius: 10px; background: var(--tint); }
.intel .in-dl { display: grid; gap: 4px; margin: 0 0 12px; } .intel .in-dl > div { display: flex; gap: 12px; border-bottom: 1px solid var(--line); padding: 5px 0; } .intel .in-dl dt { width: 180px; flex: none; color: var(--muted); font-size: .88rem; } .intel .in-dl dd { margin: 0; }
.intel .in-missing { color: var(--muted); font-style: italic; }
.intel .in-thumbs { display: flex; flex-wrap: wrap; gap: 8px; } .intel .in-thumbs img { width: 140px; height: 100px; object-fit: cover; border-radius: 6px; }
.intel .in-text--long { max-height: 420px; overflow: auto; background: var(--tint); padding: 12px; border-radius: 8px; }
.intel .in-score { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 14px 0; }
.intel .in-score__n strong { font-size: 2.2rem; color: var(--navy); } .intel .in-score__areas { list-style: none; padding: 0; display: grid; gap: 4px; }
.intel .in-score__areas li { display: grid; grid-template-columns: 220px 1fr 70px; gap: 10px; align-items: center; font-size: .88rem; } .intel .in-score meter { width: 100%; }
.intel .in-raw pre { max-height: 360px; overflow: auto; background: var(--tint); padding: 12px; font-size: .78rem; border-radius: 6px; white-space: pre-wrap; }
.intel .in-dialog { border: 0; border-radius: 10px; padding: 20px; box-shadow: 0 10px 40px rgba(0,0,0,.3); width: min(440px, 92vw); } .intel .in-dialog::backdrop { background: rgba(30,26,77,.5); }
@media (max-width: 720px) {
  .intel .in-refine { min-width: 0; } .intel .in-refine label { flex: 1 1 140px; min-width: 0; } .intel .in-refine select, .intel .in-refine input { max-width: 100%; min-width: 0; width: 100%; }
  .intel .in-card { flex-direction: column; } .intel .in-card__img { width: 100%; height: 190px; }
  .intel .in-search { flex-direction: column; } .intel .in-score__areas li { grid-template-columns: 1fr; }
  .intel .in-dl > div { flex-direction: column; gap: 0; } .intel .in-dl dt { width: auto; }
}
.intel .in-sec { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 14px 0; }
.intel .in-sec h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.05rem; }
.intel .in-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.intel .in-grid2 > .in-sec { margin: 0; }
.intel .in-bars { width: 100%; border-collapse: collapse; font-size: .9rem; }
.intel .in-bars th { text-align: left; font-weight: 600; width: 38%; padding: 3px 8px 3px 0; } .intel .in-bars td { padding: 3px 0; }
.intel .in-bars td:last-child { width: 36px; text-align: right; font-weight: 700; }
.intel .in-bar { display: block; height: 12px; background: var(--navy); border-radius: 3px; }
.intel .in-count { display: inline-block; background: var(--navy); color: #fff; border-radius: 999px; font-size: .75rem; padding: 1px 9px; vertical-align: middle; }
.intel .in-actlist { padding-left: 20px; } .intel .in-actlist li { margin: 6px 0; }
.intel .in-map { margin: 0 0 14px; } .intel .in-map svg { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.intel .in-map__bg { fill: var(--tint); } .intel .in-map__n { font-size: 14px; fill: var(--muted); font-weight: 700; }
.intel .in-dot { fill: var(--pink); stroke: #fff; stroke-width: 2; } .intel circle.in-dot--let { fill: var(--sky); } .intel circle.in-dot--sale { fill: var(--pink); }
.intel span.in-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin: 0 4px 0 10px; } .intel span.in-dot--sale { background: var(--pink); } .intel span.in-dot--let { background: var(--sky); }
.intel .in-map a:focus-visible circle { stroke: var(--navy); stroke-width: 4; }

/* Public preview cards (Stage 7) */
.pv-count{margin:0 0 12px}
.pv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.pv-card{border:1px solid #d9dde3;border-radius:8px;background:#fff;overflow:hidden;min-width:0}
.pv-link{display:block;color:inherit;text-decoration:none}
.pv-link:hover,.pv-link:focus-visible{box-shadow:0 2px 10px rgba(0,0,0,.18)}
.pv-card img,.pv-noimg{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;background:#e9ecf0}
.pv-body{padding:12px}.pv-body h3{margin:4px 0;font-size:1rem;overflow-wrap:anywhere}
.pv-kind{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:#555}
.pv-price{margin:0;font-weight:700}.pv-facts{margin:4px 0 8px;color:#444;font-size:.9rem}
.pv-cta{font-weight:600;text-decoration:underline}

/* Public search page (Stage 7) */
.find{padding-top:32px;padding-bottom:48px}
.find-lead{max-width:60ch}
.find-form{display:flex;gap:8px;margin:16px 0 8px;flex-wrap:wrap}
.find-form input{flex:1 1 280px;min-width:0;padding:12px 14px;font:inherit;border:1px solid #9aa3ad;border-radius:6px}
.find-chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}
.find-chip{font:inherit;font-size:.85rem;padding:6px 12px;border:1px solid #c5cbd3;border-radius:999px;background:#fff;cursor:pointer}
.find-chip:hover,.find-chip:focus-visible{border-color:#555}
.find-readline{margin:4px 0;color:#444}.find-msg,.find-status,.find-more,.find-note{margin:16px 0}
.find-note{color:#555;font-size:.9rem}
.pv-status{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:#eee;font-size:.75rem;font-weight:600}

/* ---------- Homepage search finder and results preview ---------- */
.search__finder { display: none; background: var(--white); padding: 14px; }
html.hs-ready #tab-buy:checked ~ .search__finder, html.hs-ready #tab-rent:checked ~ .search__finder { display: block; }
html.hs-ready #tab-buy:checked ~ #panel-buy, html.hs-ready #tab-rent:checked ~ #panel-rent { display: none; }
.hs-row { position: relative; }
.hs-row:focus-within { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(230,0,125,.18); }
.hs-input { flex: 1; min-width: 0; border: 0; padding: 15px 8px 15px 16px; font: inherit; color: var(--navy); background: transparent; -webkit-appearance: none; appearance: none; }
.hs-input:focus { outline: none; }
.hs-input::-webkit-search-cancel-button { display: none; }
.hs-clear { flex: 0 0 auto; align-self: center; width: 36px; height: 36px; margin-right: 6px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.hs-clear:hover, .hs-clear:focus-visible { background: var(--tint); color: var(--navy); }
.search__finder .search__go { min-width: 138px; border: 0; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.search__finder .search__go:disabled { background: #c9cbd6; color: #fff; cursor: not-allowed; }
.search__finder .search__go.is-ready { animation: none; }
.hs-form-busy, .search__finder.is-busy .search__go { cursor: progress; }
.hs-live { min-height: 1.4em; margin: 10px 2px 0; font-size: .95rem; color: var(--muted); }
.hs-live.is-ok { color: var(--navy); font-weight: 600; }
.hs-live.is-warn { color: #8a3b00; }
.hs-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--pink-dark); text-decoration: underline; cursor: pointer; }
.hs-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--navy); border-radius: var(--radius); color: var(--navy); font-weight: 700; text-decoration: none; background: var(--white); }
.hs-all:hover, .hs-all:focus-visible { background: var(--navy); color: var(--white); }
.search__finder :focus-visible, .hs-results :focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.hs-results { width: 100%; max-width: 1100px; margin: 24px auto 0; background: var(--white); color: var(--navy); text-align: left; border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.35); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 12px); }
.hs-results[hidden] { display: none; }
.hs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 22px 14px; border-bottom: 1px solid var(--line); background: var(--white); }
.hs-head h2 { margin: 0; font-size: clamp(1.15rem, 1vw + .9rem, 1.55rem); }
.hs-head h2:focus { outline: none; }
.hs-sub { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.hs-warn { margin: 4px 0 0; color: var(--muted); font-size: .85rem; }
.hs-warn:empty { display: none; }
.hs-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hs-tools select { font: inherit; font-size: .9rem; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy); min-height: 44px; }
.hs-tools .btn { min-height: 44px; }
.hs-x { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.hs-x:hover { background: var(--tint); }
.hs-scroll { max-height: min(70vh, 760px); max-height: min(70svh, 760px); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 18px 22px 22px; background: var(--tint); }
.hs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hs-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-width: 0; }
.hs-card img, .hs-card .pv-noimg { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #e9ecf0; display: block; }
.hs-card .pv-noimg { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; }
.hs-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.hs-card .pv-price { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.hs-card h3 { margin: 0; font-size: .98rem; font-weight: 700; overflow-wrap: anywhere; }
.hs-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .9rem; }
.hs-sum { margin: 0; color: #333; font-size: .9rem; flex: 1; }
.hs-more-btn { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--navy); border-radius: var(--radius); color: var(--navy); font-weight: 700; text-decoration: none; background: var(--white); }
.hs-more-btn:hover, .hs-more-btn:focus-visible { background: var(--navy); color: var(--white); }
.hs-more { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }
.hs-more:empty { display: none; }
@media (max-width: 980px) { .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .hs-results { max-width: 1240px; } .hs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .hs-grid { grid-template-columns: minmax(0, 1fr); }
  .hs-head { flex-direction: column; padding: 14px 16px 12px; }
  .hs-tools { width: 100%; flex-wrap: nowrap; justify-content: space-between; }
  .hs-tools select { flex: 1 1 0; min-width: 0; }
  .hs-tools .btn { padding-left: 14px; padding-right: 14px; white-space: nowrap; }
  .hs-scroll { padding: 14px 16px 18px; max-height: 75svh; }
  .search__finder .search__go { min-width: 112px; padding: 0 16px; }
}

.hs-clear[hidden] { display: none; }

/* Health Check: sales / lettings switch and tile sub-lines */
.intel .in-seg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.intel .in-seg__label { font-weight: 700; color: var(--navy); margin-right: 4px; }
.intel .in-tile small { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.intel .in-txtag { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--tint); color: var(--navy); }
.intel .in-txtag--sale { background: #fde3f1; }
.intel .in-txtag--let { background: #e1effa; }

/* Health Check: resolved label, advert status tags, check buttons, recheck */
.intel .in-state--resolved { background: #dff3e4; color: #14663a; border-color: #9fd3b0; font-weight: 700; }
.intel .in-stag { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; border: 1px solid transparent; }
.intel .in-stag--live { background: #dff3e4; color: #14663a; border-color: #9fd3b0; }
.intel .in-stag--agreed { background: #fff0cf; color: #7a4a00; border-color: #efce85; }
.intel .in-stag--other { background: #eceef2; color: #4a5160; border-color: #d3d7de; }
.intel .in-seg__gap { flex: 1 1 auto; }
.intel .in-chip--resolved { border-color: #14663a; color: #14663a; }
.intel .in-chip--resolved.is-on { background: #14663a; color: #fff; }
.intel .in-checks { margin: 8px 0 14px; display: grid; gap: 6px; }
.intel .in-checks__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.intel .in-checks__topic { flex: 0 0 190px; font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.intel .in-bysev .in-seg__label { flex: 0 0 190px; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.intel .in-recheckbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0; }
.intel .in-recheck { background: #f2f8f4; border: 1px solid #9fd3b0; border-radius: 8px; padding: 10px 14px; margin: 8px 0 14px; }
.intel .in-recheck ul { margin: 6px 0 8px 18px; }
@media (max-width: 640px) { .intel .in-checks__topic, .intel .in-bysev .in-seg__label { flex-basis: 100%; } }

/* Marketing score: a click-to-open box on each property */
.intel details.in-score { padding: 0; }
.intel .in-score summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 14px 16px; cursor: pointer; list-style: none; border-radius: 10px; }
.intel .in-score summary::-webkit-details-marker { display: none; }
.intel .in-score summary:hover { background: var(--tint); }
.intel .in-score summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.intel .in-score__n { display: inline-flex; align-items: baseline; gap: 8px; }
.intel .in-score__prompt { color: var(--navy); font-size: .9rem; }
.intel .in-score__prompt::after { content: '  ▾'; }
.intel details[open].in-score .in-score__prompt::after { content: '  ▴'; }
.intel .in-score__body { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.intel .in-score__areas > li { align-items: start; row-gap: 4px; }
.intel .in-score__parts { grid-column: 1 / -1; list-style: none; margin: 0 0 6px 4px; padding: 0; font-size: .84rem; display: grid; gap: 2px; }
.intel .in-score__parts li { display: block; }
.intel .in-score__parts .is-ok { color: #14663a; } .intel .in-score__parts .is-no { color: #9a2a1b; }
.intel .in-score__h { margin: 14px 0 6px; font-size: 1rem; }
.intel .in-score__tips { margin: 0 0 6px 18px; padding: 0; } .intel .in-score__tips li { margin: 3px 0; }
.intel .in-score__tips b { color: #14663a; }
.intel .in-score__done { color: #14663a; font-weight: 600; }

/* ===== Cavendish Intelligence Hub: staff portal shell (top bar, left sidebar, tile menu) ===== */
.pt-body { background: #f6f7fb; margin: 0; }
.pt-top { display: flex; align-items: center; gap: 16px; background: #fff; padding: 10px 24px; position: sticky; top: 0; z-index: 30; }
.pt-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-weight: 800; letter-spacing: .01em; }
.pt-brand img { height: 44px; width: auto; display: block; }
.pt-brand span { font-size: 1.05rem; padding-left: 12px; border-left: 2px solid var(--line); }
.pt-top__right { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; }
.pt-hello { font-weight: 600; color: var(--navy); }
.pt-menubtn { display: none; font: inherit; font-weight: 700; padding: 8px 14px; border: 1px solid var(--navy); background: #fff; color: var(--navy); border-radius: var(--radius); cursor: pointer; }
.pt-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 70px); }
.pt-shell:has(> .pt-side[hidden]) { grid-template-columns: minmax(0, 1fr); }
.pt-side { background: var(--navy); color: #fff; padding: 18px 12px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 70px; align-self: start; min-height: calc(100vh - 70px); }
.pt-nav { display: grid; gap: 4px; }
.pt-nav a { color: #e6e8f7; text-decoration: none; padding: 11px 14px; border-radius: 8px; font-weight: 600; border-left: 4px solid transparent; }
.pt-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.pt-nav a.is-on { background: #fff; color: var(--navy); border-left-color: var(--pink); }
.pt-nav a:focus-visible, .pt-side__foot a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pt-side__foot { margin: auto 0 0; padding: 0 14px; font-size: .85rem; } .pt-side__foot a { color: #cfd3f0; }
.pt-main { padding: 28px clamp(16px, 3vw, 40px) 56px; min-width: 0; }
.pt-main .st-card { margin-inline: auto; }
.pt-h1 { font-size: 1.5rem; margin: 0 0 4px; color: var(--navy); }
.pt-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 14px; max-width: 1000px; }
.pt-tile { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 18px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--navy); border-radius: 12px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.pt-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(30, 26, 77, .16); }
.pt-tile:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.pt-tile strong { font-size: 1.2rem; color: var(--navy); } .pt-tile span { color: var(--muted); font-size: .95rem; line-height: 1.45; } .pt-tile em { font-style: normal; margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .85rem; color: var(--navy); }
.pt-tile--green { border-top-color: var(--green); } .pt-tile--pink { border-top-color: var(--pink); } .pt-tile--orange { border-top-color: var(--orange); } .pt-tile--sky { border-top-color: var(--sky); } .pt-tile--blue { border-top-color: var(--blue); }
@media (max-width: 860px) {
  .pt-top { padding: 8px 14px; } .pt-brand span { display: none; } .pt-hello { display: none; }
  .pt-menubtn:not([hidden]) { display: inline-block; }
  .pt-shell { grid-template-columns: minmax(0, 1fr); }
  .pt-side { display: none; position: static; min-height: 0; }
  body.pt-open .pt-side:not([hidden]) { display: flex; }
}
.pt-side[hidden], .pt-menubtn[hidden], .pt-top .btn[hidden] { display: none !important; }

/* Action Centre: jump bar, filters, grouped buttons, collapsible blocks */
.intel .in-ajump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; }
.intel .in-afilters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.intel .in-asec { margin: 26px 0; scroll-margin-top: 90px; }
.intel .in-asec > h3 { font-size: 1.3rem; border-bottom: 3px solid var(--navy); padding-bottom: 6px; }
.intel .in-atiles { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.intel .in-atile { font: inherit; display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 10px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-weight: 600; cursor: pointer; text-align: left; }
.intel .in-atile b { display: inline-block; min-width: 28px; text-align: center; padding: 2px 8px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .9rem; }
.intel .in-atile:hover { background: var(--tint); } .intel .in-atile.is-on { background: var(--navy); color: #fff; } .intel .in-atile.is-on b { background: #fff; color: var(--navy); }
.intel .in-atile--high { border-color: var(--pink); color: #8a0049; } .intel .in-atile--high b { background: var(--pink); }
.intel .in-atile--high.is-on { background: var(--pink); color: #fff; } .intel .in-atile--high.is-on b { background: #fff; color: var(--pink); }
.intel .in-atile--medium { border-color: var(--orange); color: #8a3c00; } .intel .in-atile--medium b { background: var(--orange); }
.intel .in-atile--medium.is-on { background: var(--orange); color: #fff; } .intel .in-atile--medium.is-on b { background: #fff; color: var(--orange); }
.intel .in-apanel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 10px 0 0; }
.intel .in-apanel h4 { margin: 0 0 6px; }
.intel .in-actlist { list-style: none; margin: 0; padding: 0; } .intel .in-actlist li { padding: 9px 0; border-top: 1px solid var(--line); line-height: 1.6; } .intel .in-actlist li:first-child { border-top: 0; }
.intel .in-act__t { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }
.intel .in-act__chg { margin: 4px 0 2px 18px; padding: 0; font-size: .9rem; } .intel .in-act__chg--none { display: block; margin-left: 0; color: var(--muted); font-style: italic; }
.intel .in-ablock { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px 16px 12px; margin: 12px 0; }
.intel .in-ablock h4 { margin: 0; } .intel .in-ablock__h { font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--navy); background: none; border: 0; padding: 12px 0; cursor: pointer; width: 100%; text-align: left; }
.intel .in-ablock__chev { display: inline-block; width: 1.2em; }
.intel .in-acustom { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0; } .intel .in-acustom label { display: grid; gap: 2px; font-size: .85rem; font-weight: 600; }
.in-scope{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 8px}.in-scope select{margin-left:6px}

.pt-sync{margin:12px 14px;padding:8px 10px;border-radius:8px;background:#f3f1ec;color:#555;font-size:.8rem}.pt-sync.is-shared{background:#e6f4ea;color:#1b5e20}.pt-sync:empty{display:none}

.in-rv{margin:4px 0;font-size:.85rem;color:#1f3a6b;font-weight:600}.in-rv--done{color:#1b5e20}.in-working{margin-top:16px}.in-working ul{margin:6px 0 0 18px;padding:0}

.pt-tile--purple{border-top-color:#7b3fa0}.in-day{margin:18px 0 6px;font-size:1rem}.in-feed{list-style:none;margin:0;padding:0}.in-feed li{padding:8px 0;border-bottom:1px solid #eee}.in-feed__t{color:#666;font-size:.85rem;margin-right:6px}.in-feed blockquote{margin:4px 0 0 12px;padding-left:10px;border-left:3px solid #ddd;color:#444}.in-pnotes{margin-top:20px}.in-pnotes textarea{width:100%}.in-pnotes__list{list-style:none;margin:10px 0 0;padding:0}.in-pnotes__list li{padding:8px 0;border-bottom:1px solid #eee}.in-pnotes__list p{margin:0 0 2px;white-space:pre-wrap}
.intel .in-epcthumb { width: 180px; height: auto; border-radius: 6px; border: 1px solid #ddd; display: block; }
.intel .in-stats { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 12px 0; }

/* ===================== Home search: filters that appear when the visitor engages ===================== */
/* the drop-downs open over the valuation strip, so the box no longer clips them; its corners are rounded piece by piece instead */
html.hs-ready .search { overflow: visible; }
html.hs-ready .search__tabs label:first-of-type { border-top-left-radius: var(--radius); }
html.hs-ready .search__tabs label:last-of-type { border-top-right-radius: var(--radius); }
html.hs-ready .search .valuation-strip { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }
html.hs-ready .search__finder { position: relative; z-index: 3; }
/* rotating example question (a light-grey suggestion; it is not text in the box) */
.hs-ph { position: absolute; left: 16px; right: 190px; top: 50%; transform: translateY(-50%); color: #8c8ea3; font: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; transition: opacity .38s ease; }
.hs-ph.is-out { opacity: 0; } .hs-ph[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .hs-ph { transition: none; } }
/* the search button is grey until there is something to search for, but it always works (it then shows every property) */
.search__finder .search__go.btn--navy { background: #c9cbd6; color: #fff; }
.search__finder .search__go.btn--primary { background: var(--pink); color: #fff; }
/* things searched for that have no drop-down: towns, postcodes, status, a price that does not match a band */
.hs-chipwrap:empty { display: none; }
.hs-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.hs-chips li { display: inline-flex; align-items: center; gap: 2px; background: #fff0f8; border: 1px solid var(--pink); border-radius: 999px; padding: 2px 4px 2px 12px; font-size: .84rem; font-weight: 600; color: var(--navy); }
.hs-chips button { border: 0; background: transparent; width: 26px; height: 26px; border-radius: 50%; font-size: 1.1rem; line-height: 1; color: var(--navy); cursor: pointer; }
.hs-chips button:hover, .hs-chips button:focus-visible { background: var(--pink); color: #fff; }
/* the filter area */
.hs-filters { margin-top: 12px; animation: hsReveal .28s ease both; }
.hs-filters[hidden] { display: none; }
@keyframes hsReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hs-filters { animation: none; } }
.hs-fgrid { display: grid; gap: 8px; }
.hs-frow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.hs-filters .hub-ms { position: relative; min-width: 0; }
.hs-filters .hub-ms > summary { list-style: none; } .hs-filters .hub-ms > summary::-webkit-details-marker { display: none; }
.hs-filters .hub-ms__s, .hs-frow > label { display: flex; align-items: center; gap: 6px; width: 100%; box-sizing: border-box; min-height: 40px; padding: 8px 9px; background: #fff; border: 1px solid #d8d9e6; border-radius: 10px; font: 600 .82rem var(--font); color: var(--navy); cursor: pointer; }
.hs-filters .hub-i { width: 17px; height: 17px; flex: none; color: #6a6d88; }
.hs-filters .hub-ms__l { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.hs-filters .hub-ms__s::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 2px solid #6a6d88; border-bottom: 2px solid #6a6d88; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.hs-filters .hub-ms[open] > .hub-ms__s, .hs-filters .hub-ms__s:hover, .hs-frow > label:hover { border-color: var(--pink); }
.hs-filters .hub-ms.has-sel > .hub-ms__s { background: #fff0f8; border-color: var(--pink); }
.hs-filters .hub-ms__n { flex: none; background: var(--pink); color: #fff; border-radius: 999px; padding: 0 6px; font-size: .7rem; }
.hs-filters .hub-ms__s:focus-visible, .hs-frow > label:focus-within { outline: 3px solid var(--sky); outline-offset: 2px; }
.hs-filters .hub-ms__p { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 230px; max-width: min(320px, 88vw); max-height: 320px; overflow: auto; background: #fff; border: 1.5px solid #d8d9e6; border-radius: 12px; box-shadow: 0 14px 36px rgba(30,26,77,.28); padding: 8px; display: grid; gap: 2px; text-align: left; }
.hs-filters details.hub-ms:not([open]) > .hub-ms__p { display: none; }
.hs-frow > :nth-child(n+5) .hub-ms__p { left: auto; right: 0; }
.hs-filters .hub-ms__o { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.hs-filters .hub-ms__o:hover { background: #f4f5fa; }
.hs-filters .hub-ms__o input { width: 18px; height: 18px; accent-color: var(--pink); flex: none; }
.hs-filters .hub-ms__p .in-small { margin: 6px 10px; font-size: .78rem; color: var(--muted); white-space: normal; }
.hs-filters .hub-ms__d { display: grid; gap: 8px; padding: 6px 10px 8px; } .hs-filters .hub-ms__d label { display: grid; gap: 3px; font-size: .78rem; font-weight: 700; color: var(--muted); } .hs-filters .hub-ms__d input { font: 600 .9rem var(--font); padding: 8px; border: 1px solid #d8d9e6; border-radius: 8px; }
.hs-filters .hub-linkbtn { border: 0; background: transparent; color: var(--pink-dark); font: 700 .84rem var(--font); cursor: pointer; padding: 6px 10px; justify-self: start; }
/* Near / Within */
.hs-frow > label { padding: 0 6px 0 9px; cursor: default; }
.hs-frow > label select { flex: 1 1 auto; min-width: 0; width: 100%; border: 0; background: transparent; font: 600 .82rem var(--font); color: var(--navy); padding: 9px 0; text-overflow: ellipsis; cursor: pointer; outline: none; }
.hs-frow > label select:disabled { opacity: .55; cursor: not-allowed; }
/* EPC */
.hs-filters .hub-epcs { display: flex; align-items: center; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.hs-filters .hub-epcs__l { font: 700 .78rem var(--font); color: var(--muted); margin-right: 4px; }
.hs-filters .hub-epcs__b { width: 30px; height: 32px; border-radius: 8px; border: 2px solid transparent; font: 800 .86rem var(--font); cursor: pointer; opacity: .5; }
.hs-filters .hub-epcs__b.is-on { opacity: 1; border-color: var(--navy); box-shadow: inset 0 0 0 2px #fff; }
.hs-filters .hub-epcs__b:focus-visible, .hs-filters .hub-epcs__all:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.hs-filters .hub-epcs__all { margin-left: 4px; width: 50px; height: 32px; padding: 0; border: 1.5px solid var(--navy); border-radius: 8px; background: #fff; font: 700 .78rem var(--font); color: var(--navy); cursor: pointer; }
.hs-filters .hub-epcs__all:hover { background: var(--navy); color: #fff; }
.hs-factions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.hs-hide, .hs-showf { border: 0; background: transparent; color: var(--navy); font: 700 .86rem var(--font); cursor: pointer; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.hs-showf { margin-top: 8px; } .hs-showf[hidden] { display: none; }
.hs-hide:focus-visible, .hs-showf:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
/* narrower screens: two or three controls per row, nothing squeezed */
@media (max-width: 760px) { .hs-frow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hs-frow > :nth-child(n+5) .hub-ms__p { left: 0; right: auto; } .hs-frow > :nth-child(3n) .hub-ms__p { left: auto; right: 0; } }
@media (max-width: 520px) { .hs-frow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hs-frow > :nth-child(3n) .hub-ms__p { left: 0; right: auto; } .hs-frow > :nth-child(2n) .hub-ms__p { left: auto; right: 0; } .hs-ph { right: 130px; font-size: .92rem; } }
/* a little wider while the filters are showing, so every drop-down label reads in full */
html.hs-ready .search { transition: max-width .25s ease; }
@media (min-width: 900px) { html.hs-ready .search.is-open { max-width: 860px; } }
.hs-filters .hub-ms__s, .hs-frow > label { font-size: .78rem; gap: 5px; padding-left: 8px; padding-right: 6px; }
.hs-filters .hub-i { width: 15px; height: 15px; }
.hs-frow > label select { font-size: .78rem; }
.hs-frow { gap: 6px; } .hs-fgrid { gap: 6px; }
@media (prefers-reduced-motion: reduce) { html.hs-ready .search { transition: none; } }

/* Town / area and Postcode lead row 1 (8 across on a wide box). Row 2 has six, so its last two columns are shared by Near and Within distance */
@media (min-width: 1100px) {
  html.hs-ready .search.is-open { max-width: 1060px; }
  .hs-frow { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .hs-frow:nth-child(2) > :nth-child(5) { grid-column: span 2; }
  .hs-frow:nth-child(2) > :nth-child(6) { grid-column: span 2; }
  .hs-frow:first-child > :nth-child(-n+5) .hub-ms__p { left: 0; right: auto; }
  .hs-frow:first-child > :nth-child(n+6) .hub-ms__p { left: auto; right: 0; }
}
@media (min-width: 761px) and (max-width: 1099px) { .hs-frow { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hs-frow > :nth-child(n+5) .hub-ms__p { left: auto; right: 0; } .hs-frow > :nth-child(-n+4) .hub-ms__p { left: 0; right: auto; } }
.hs-filters .hub-area .hub-ms__p { min-width: 260px; }
/* the Town / area picker on the home page (same pieces as the Staff Hub, restyled for the white search box) */
.hs-filters .hub-area__q { width: 100%; box-sizing: border-box; min-height: 40px; padding: 8px 12px; border: 1px solid #d8d9e6; border-radius: 10px; font: 600 .86rem var(--font); color: var(--navy); background: #fff; }
.hs-filters .hub-area__list, .hs-filters .hub-area__sel { list-style: none; margin: 8px 0 0; padding: 0; color: var(--navy); }
.hs-filters .hub-area__s, .hs-filters .hub-area__sel li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 2px; font: 600 .86rem var(--font); color: var(--navy); }
.hs-filters .hub-area__s small { color: #6b6d86; font-weight: 500; }
.hs-filters .hub-area__hint, .hs-filters .hub-area__none { color: #6b6d86; font: 500 .84rem var(--font); padding: 6px 2px; }
.hs-filters .hub-area__add, .hs-filters .hub-area__rm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font: 800 1.1rem/1 var(--font); cursor: pointer; }
.hs-filters .hub-area__add:hover, .hs-filters .hub-area__rm:hover { background: var(--navy); color: #fff; }
.hs-filters .hub-area__lab { margin: 12px 0 0; font: 700 .78rem var(--font); color: #6b6d86; text-transform: uppercase; letter-spacing: .04em; }
/* drop-down option text must be dark: the page's search box inherits white text from the hero */
.hs-filters .hub-ms__p, .hs-filters .hub-ms__o, .hs-filters .hub-ms__o span, .hs-filters .hub-ms__o small { color: var(--navy); }
.hs-filters .hub-ms__o small { color: #6b6d86; font-weight: 500; }
.hs-filters .hub-ms__p .hub-linkbtn { color: var(--pink); }
.hs-live .hs-viewall { font-weight: 700; font-size: inherit; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.hs-live .hs-viewall:hover { color: var(--pink); }
/* listing state on the photograph, and the EPC strip on each preview card */
.hs-photo { position: relative; }
.hs-state { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 6px 13px; border-radius: 8px; border: 2px solid #fff; font: 800 .78rem/1 var(--font); letter-spacing: .05em; text-transform: uppercase; color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.hs-state.is-avail { background: #0a8f4e; }
.hs-state.is-offer { background: #e8890c; }
.hs-state.is-let, .hs-state.is-sold { background: #1e1a4d; }
.hs-state.is-sold { background: #c0262d; }
.hs-epc { display: flex; align-items: center; gap: 4px; margin: 2px 0 0; }
.hs-epc__l { font: 700 .72rem var(--font); letter-spacing: .05em; color: var(--muted); margin-right: 4px; }
.hs-epc__c { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; font: 800 .74rem var(--font); border: 2px solid transparent; opacity: .55; box-sizing: border-box; }
.hs-epc__c.is-this { opacity: 1; border-color: var(--navy); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--navy); transform: scale(1.12); position: relative; z-index: 1; margin: 0 2px; }
.hs-filters .hub-area__name { flex: 1; text-align: left; border: 0; background: transparent; padding: 8px 6px; border-radius: 8px; color: var(--navy); font: 600 .86rem var(--font); cursor: pointer; }
.hs-filters .hub-area__name:hover, .hs-filters .hub-area__name:focus-visible { background: #eef0fb; }
.hs-filters .hub-area__name small { color: #6b6d86; font-weight: 500; }
/* Clear / Reset / Save search row */
.hs-factions { flex-wrap: wrap; }
.hs-fbtns { display: flex; align-items: center; gap: 10px; }
.hs-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 10px; font: 800 .9rem var(--font); cursor: pointer; }
.hs-btn svg { width: 17px; height: 17px; }
.hs-btn--reset { background: #22c55e; color: #10351f; } .hs-btn--reset:hover { background: #1fb454; }
.hs-btn--save { background: var(--navy); color: #fff; } .hs-btn--save:hover { background: #2d2870; }
.hs-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.hs-saved { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 .84rem var(--font); color: var(--navy); }
.hs-saved[hidden] { display: none; }
.hs-saved__i { display: inline-flex; align-items: center; border: 1.5px solid var(--navy); border-radius: 999px; overflow: hidden; background: #fff; }
.hs-saved__i button { border: 0; background: transparent; color: var(--navy); font: 700 .82rem var(--font); cursor: pointer; padding: 6px 10px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-saved__i button:hover { background: #eef0fb; } .hs-saved__i .hs-saved__x { padding: 6px 9px; border-left: 1px solid #d8d9e6; }
.hs-toast { color: #0a8f4e; font-weight: 700; }
/* search field: no magenta ring when typing, and no blue focus line beside the clear (x) button */
.hs-row:focus-within { border-color: #d8d9e6; box-shadow: none; }
.search__finder .hs-input:focus, .search__finder .hs-input:focus-visible, .search__finder .hs-clear:focus, .search__finder .hs-clear:focus-visible { outline: none; box-shadow: none; }

/* =====================================================================
   GO-LIVE TIDY-UP (13 Nov 2026)
   Anything marked data-parked="..." is switched off for the public but is still in the page.
   To bring an item back, delete the data-parked attribute (see HIDDEN-ITEMS.md).
   ===================================================================== */
[data-parked] { display: none !important; }

/* ---------- Header: Home, WhatsApp, phone, Book a Valuation, Property Alerts, Contact Us ---------- */
.site-header__inner { gap: 20px; }
.header-actions { gap: 14px; margin-left: auto; flex-wrap: nowrap; }
.hdr-home { font-weight: 700; color: var(--navy); text-decoration: none; padding: 8px 6px; position: relative; }
.hdr-home:hover, .hdr-home[aria-current="page"] { color: var(--pink); }
.hdr-home[aria-current="page"]::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 3px; background: var(--pink); border-radius: 2px; }
.hdr-wa { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #25d366; color: #fff; flex: 0 0 auto; }
.hdr-wa .ico { width: 22px; height: 22px; }
.hdr-wa:hover { background: #1ebe5b; }
.btn--green { background: #8fd486; color: var(--navy); }
.btn--green:hover { background: #7bc771; }
.btn--green[aria-current="page"] { box-shadow: 0 0 0 3px rgba(143,212,134,.45); }
.btn--alert { background: var(--white); color: var(--pink); border-color: var(--pink); }
.btn--alert:hover { background: var(--pink); color: var(--white); }
.header-actions .btn { white-space: nowrap; }
@media (max-width: 1100px) {
  .site-header__inner { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .header-actions { width: 100%; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .header-phone { display: inline; font-size: .92rem; }
  .header-actions { justify-content: center; gap: 8px 10px; }
  .header-actions .btn { padding: 8px 12px; font-size: .84rem; }
  .brand img { height: 38px; }
  .site-header__inner { justify-content: center; }
}

/* ---------- Contact page: hero buttons ---------- */
.ct-hero__box .btn-row { gap: 10px; }
.ct-hero__box .btn .ico { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; }
.ct-hero__box .btn--navy { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }
#ct-map-anchor { scroll-margin-top: 110px; }

/* ---------- Home: latest-listings reel (replaces the office photo) ---------- */
.reel { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: var(--navy-deep); aspect-ratio: 4 / 3; color: #fff; }
.reel__slides { position: absolute; inset: 0; }
.reel__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; display: block; color: #fff; text-decoration: none; }
.reel__slide.is-on { opacity: 1; visibility: visible; }
.reel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel__noimg { width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,32,64,.55) 0, rgba(0,32,64,0) 30%, rgba(0,32,64,0) 45%, rgba(0,32,64,.92) 100%); }
.reel__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 54px; }
.reel__price { margin: 0 0 2px; font-size: 1.6rem; font-weight: 700; }
.reel__addr { margin: 0 0 4px; font-size: 1.02rem; font-weight: 600; color: #fff; line-height: 1.25; }
.reel__facts { margin: 0 0 12px; font-size: .9rem; opacity: .9; }
.reel__go { display: inline-block; background: var(--pink); color: #fff; font-weight: 700; font-size: .92rem; padding: 9px 18px; border-radius: var(--radius); }
.reel__slide:hover .reel__go { background: var(--pink-dark); }
.reel__badge { position: absolute; top: 14px; right: 14px; background: var(--pink); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 11px; border-radius: 99px; }
.reel__tabs { position: absolute; z-index: 3; top: 12px; left: 12px; display: flex; gap: 6px; background: rgba(0,32,64,.6); padding: 4px; border-radius: 99px; backdrop-filter: blur(4px); }
.reel__tab { border: 0; background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 99px; cursor: pointer; }
.reel__tab[aria-pressed="true"] { background: #fff; color: var(--navy); }
.reel__nav { position: absolute; z-index: 3; right: 12px; bottom: 12px; display: flex; gap: 8px; align-items: center; }
.reel__nav button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.reel__nav button:hover { background: #fff; }
.reel__dots { position: absolute; z-index: 3; left: 20px; bottom: 22px; display: flex; gap: 6px; }
.reel__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45); display: block; }
.reel__dots i.is-on { background: #fff; width: 18px; border-radius: 99px; }
.reel__msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #fff; font-weight: 600; }
.why__visual.has-reel { box-shadow: none; border-radius: 0; overflow: visible; }

/* ---------- Home: single "Expert insight" tile ---------- */
.insight { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.insight__art { min-height: 220px; background: linear-gradient(135deg, var(--blue), var(--sky)); display: grid; place-items: center; }
.insight__art svg { width: 84px; height: 84px; stroke: #fff; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.insight__body { padding: 32px 34px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.insight__body h3 { font-size: 1.5rem; margin: 0; }
.insight__body p { margin: 0 0 8px; color: var(--muted); }
.insight__body .btn { align-self: flex-start; }
.insight:hover h3 { color: var(--pink); }
@media (max-width: 760px) { .insight { grid-template-columns: 1fr; } .insight__art { min-height: 140px; } .insight__body { padding: 24px 22px; } }

/* ---------- Home: featured listings with real photos ---------- */
.prop--live { text-decoration: none; color: inherit; display: block; }
.prop--live .prop__img { background: #cfd8e8; padding: 0; }
.prop--live .prop__img img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.prop--live .prop__meta { margin-bottom: 6px; }
.prop--live .prop__go { display: inline-block; margin-top: 10px; border-left: 3px solid var(--pink); padding-left: 10px; font-weight: 700; color: var(--navy); font-size: .92rem; }
.prop--live:hover h3 { color: var(--pink); }
.scroller-msg { padding: 28px 8px; color: var(--muted); }

/* ---------- Home: office map in the contact section ---------- */
.contact__grid .ct-map { min-height: 380px; height: 100%; }
html { scroll-padding-top: 100px; }
.prop--live h3, .reel__addr { overflow-wrap: anywhere; }
#home-featured { min-width: 0; }
.prop--live .prop__meta { overflow-wrap: anywhere; }
.prop--live { position: relative; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ---------- Home: Google reviews (scrolling row, long reviews fold up with "Read more") ---------- */
.reviews--scroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; align-items: stretch; }
.review--live { flex: 0 0 min(360px, 84%); scroll-snap-align: start; }
.review--live .stars { color: #f5a300; }
.review__text { margin: 10px 0 0; padding: 0; }
.review__text p { margin: 0; }
.review__text.is-long:not(.is-open) p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { margin-top: 8px; background: none; border: 0; padding: 4px 0; color: var(--pink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.rating a { font-weight: 600; }
.legal__co { margin: 22px 0 10px; font-size: .85rem; color: var(--muted); }

/* ---------- Privacy and Cookies Policy page (text is word-for-word from the approved policy) ---------- */
.pp { padding: 48px 0 72px; }
.pp-wrap { max-width: 860px; }
.pp h1 { margin-bottom: 8px; }
.pp-jump { margin: 0 0 32px; color: var(--muted); }
.pp-doc { counter-reset: sec; margin-bottom: 56px; padding-top: 8px; scroll-margin-top: 100px; }
.pp-title { font-size: 1.5rem; margin: 0 0 4px; }
.pp-upd { color: var(--muted); margin: 0 0 24px; }
.pp-h { font-size: 1.3rem; margin: 34px 0 12px; counter-increment: sec; }
.pp-h::before { content: counter(sec) ". "; }
.pp h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.pp p { margin: 0 0 14px; line-height: 1.6; }
.pp-label { margin-bottom: 6px !important; }
.pp ul { margin: 0 0 16px; padding-left: 22px; line-height: 1.6; }
.pp li { margin-bottom: 6px; }
.pp li ul { margin: 6px 0 4px; }
.pp a { overflow-wrap: anywhere; }
.reel .reel__dots { max-width: 60%; flex-wrap: wrap; }

/* ---------- Home: latest articles from the blog ---------- */
.tiles--blog .tile__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); padding: 0; }
.tiles--blog .tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tiles--blog .tile__body h3 { font-size: 1.1rem; line-height: 1.3; }
.tiles-more { margin: 26px 0 0; text-align: center; }

/* ---------- Cookie choices bar ---------- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--navy); color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.25); }
.cookie-bar__in { max-width: 1180px; margin: 0 auto; padding: 16px 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-bar p { margin: 0; flex: 1 1 420px; font-size: .95rem; line-height: 1.45; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .cookie-bar__in { padding: 14px 16px; } .cookie-bar__btns { width: 100%; } .cookie-bar__btns .btn { flex: 1; } }
