/* ==========================================================================
   Global Quality Estates — site stylesheet
   Mobile-first, responsive. Brand: deep green + terracotta on warm cream.
   ========================================================================== */

:root{
  --deep:#14342b;
  --deep-2:#1c4a3a;
  --deep-3:#0f261d;
  --terra:#e07a5f;
  --terra-d:#c9633f;
  --terra-l:#fbeee8;
  --cream:#f7f4ee;
  --sand:#efe9df;
  --white:#fff;
  --ink:#26302b;
  --muted:#6b7570;
  --line:#e4ded3;
  --ok:#2f6b4a;
  --radius:14px;
  --radius-sm:9px;
  --shadow:0 10px 30px rgba(20,52,43,.10);
  --shadow-lg:0 18px 44px rgba(20,52,43,.16);
  --wrap:1180px;
  --header-h:74px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'Inter',system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color:var(--ink);background:var(--cream);line-height:1.65;
  font-size:16px;overflow-x:hidden;-webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Fraunces',Georgia,serif;font-weight:500;line-height:1.15;letter-spacing:-.01em;color:var(--deep)}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button,input,select,textarea{font-family:inherit;font-size:inherit}
:focus-visible{outline:3px solid var(--terra);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:0;z-index:999;background:var(--deep);color:var(--cream);padding:12px 20px;border-radius:0 0 8px 0}
.skip:focus{left:0}

.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}
@media(min-width:768px){.wrap{padding:0 28px}}

/* ---------- buttons ---------- */
/* Buttons: solid shapes, clear labels, never underlined, obvious on hover.
   text-decoration:none is forced because .prose a underlines links, which
   was bleeding into buttons placed inside prose content.                   */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 26px;border-radius:10px;font-weight:600;font-size:.95rem;line-height:1.2;
  cursor:pointer;border:1.5px solid transparent;text-align:center;text-decoration:none!important;
  letter-spacing:.01em;
  transition:background .18s,color .18s,border-color .18s,box-shadow .18s,transform .12s}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn:focus-visible{outline:3px solid var(--deep);outline-offset:3px}

.btn-primary{background:var(--terra);color:#fff;border-color:var(--terra);
  box-shadow:0 2px 0 var(--terra-d)}
.btn-primary:hover{background:var(--terra-d);border-color:var(--terra-d);
  box-shadow:0 4px 12px rgba(224,122,95,.35)}

.btn-dark{background:var(--deep);color:var(--cream);border-color:var(--deep);
  box-shadow:0 2px 0 #0b2118}
.btn-dark:hover{background:var(--deep-2);box-shadow:0 4px 12px rgba(20,52,43,.3)}

.btn-outline{background:var(--white);border-color:var(--deep);color:var(--deep)}
.btn-outline:hover{background:var(--deep);color:var(--cream);border-color:var(--deep)}

.btn-ghost{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.7);color:#fff}
.btn-ghost:hover{background:#fff;color:var(--deep);border-color:#fff}

.btn-cream{background:var(--cream);color:var(--deep);border-color:var(--cream)}
.btn-cream:hover{background:#fff}

.btn-block{display:flex;width:100%}
.btn-sm{padding:10px 18px;font-size:.86rem}
/* A small chevron on link-style buttons. Drawn as a masked SVG rather than a
   text glyph, so it carries the icon set's weight instead of Inter's, and
   still inherits currentColor for hover states. */
.btn-primary::after,.btn-dark::after{content:"";width:.62em;height:.62em;flex:none;
  background:currentColor;opacity:.8;transform:rotate(-90deg);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 9.6 12 15l5.4-5.4' stroke-width='3.3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 9.6 12 15l5.4-5.4' stroke-width='3.3'/%3E%3C/svg%3E") center/contain no-repeat}
.btn-block::after{margin-left:2px}
/* a button carrying a leading icon does not also need a trailing chevron */
.btn-primary:has(> .ico)::after,.btn-dark:has(> .ico)::after{display:none}

/* ---------- logo ---------- */
.logo{display:block;flex:none;overflow:visible}
.logo text{font-family:'Baloo 2',system-ui,sans-serif;font-weight:800;font-size:96px;text-anchor:middle}
.logo .lg-g,.logo .lg-e{fill:var(--deep)}
.logo .lg-q{fill:var(--terra)}
.logo .lg-q,.logo .lg-e{stroke:var(--cream);stroke-width:10;paint-order:stroke fill}
.logo.on-white .lg-q,.logo.on-white .lg-e{stroke:#fff}
.logo.reversed .lg-g,.logo.reversed .lg-e{fill:var(--cream)}
.logo.reversed .lg-q,.logo.reversed .lg-e{stroke:var(--deep)}
.logo.on-dark-footer .lg-g,.logo.on-dark-footer .lg-e{fill:var(--cream)}
.logo.on-dark-footer .lg-q,.logo.on-dark-footer .lg-e{stroke:var(--deep-3)}
.logo.on-photo .lg-g,.logo.on-photo .lg-e{fill:#fff}
.logo.on-photo .lg-q{fill:var(--terra)}
.logo.on-photo .lg-q,.logo.on-photo .lg-e{stroke:none}

/* ---------- header (V3: deep green) ---------- */
.site-header{background:var(--deep);position:sticky;top:0;z-index:100}
.site-header .bar{display:flex;align-items:center;justify-content:space-between;gap:16px;
  min-height:var(--header-h);padding:12px 0}
.brand{display:flex;align-items:center;gap:13px}
.brand .name{font-weight:600;letter-spacing:.18em;text-transform:uppercase;font-size:.6rem;
  color:var(--cream);line-height:1.5;white-space:nowrap;display:none}
@media(min-width:480px){.brand .name{display:block}}
/* Logo scales up on wider screens. Widths raised about 16%; combined with
   the cropped viewBox the header height is unchanged, so the wordmark reads
   larger without the sticky bar eating more of the screen. */
.site-header .logo{width:106px}
@media(min-width:768px){.site-header .logo{width:126px}}
@media(min-width:1024px){.site-header .logo{width:136px}}

.nav-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;
  background:transparent;border:1.5px solid rgba(255,255,255,.28);border-radius:10px;cursor:pointer}
.nav-toggle span{display:block;width:20px;height:2px;background:var(--cream);position:relative}
.nav-toggle span::before,.nav-toggle span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--cream);transition:.25s}
.nav-toggle span::before{top:-6px}.nav-toggle span::after{top:6px}
.nav-toggle[aria-expanded="true"] span{background:transparent}
.nav-toggle[aria-expanded="true"] span::before{top:0;transform:rotate(45deg)}
.nav-toggle[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg)}

.main-nav{display:none}
.main-nav.open{display:block;position:absolute;left:0;right:0;top:100%;background:var(--deep);
  border-top:1px solid rgba(255,255,255,.12);padding:8px 0 18px;box-shadow:var(--shadow-lg)}
.main-nav ul{list-style:none;display:flex;flex-direction:column}
.main-nav a{display:block;padding:13px 20px;color:#d7e2dc;font-weight:500;font-size:1rem;border-bottom:1px solid rgba(255,255,255,.07)}
.main-nav a:hover,.main-nav a[aria-current="page"]{color:#fff;background:rgba(255,255,255,.06)}
.header-social{display:none}
.nav-mobile-cta{padding:18px 20px 4px}
.nav-mobile-cta .social{margin-top:0}

@media(min-width:1024px){
  .nav-toggle{display:none}
  .main-nav{display:block!important;position:static;background:none;border:none;padding:0;box-shadow:none}
  .main-nav ul{flex-direction:row;gap:6px;align-items:center}
  .main-nav a{padding:8px 10px;font-size:.9rem;border:none;border-radius:8px;color:#cfdcd5}
  .main-nav ul{gap:2px}
  /* The current-page marker was an inset box-shadow, which follows the link's
     8px border-radius and so curled up at both ends. A positioned bar has
     square ends by definition. */
  .main-nav a{position:relative}
  .main-nav a[aria-current="page"]{background:transparent;color:#fff}
  .main-nav a[aria-current="page"]::after{content:"";position:absolute;
    left:12px;right:12px;bottom:1px;height:2px;background:var(--terra)}
  /* Sits where the Free Valuation button used to. Smaller circles than the
     footer set, so the row does not out-weigh the navigation beside it. */
  /* .social is declared later in the sheet with margin-top:16px, and at equal
     specificity source order wins — which is why the icons sat below the line
     of the menu. Scoping to .site-header settles it. */
  .site-header .header-social{display:flex;margin-top:0;gap:7px;align-items:center}
  .site-header .header-social a{width:34px;height:34px}
  .nav-mobile-cta{display:none}
}

/* dropdown -------------------------------------------------------------
   NOTE: .main-nav .sub needs two classes so it out-ranks `.main-nav ul`,
   which sets display:flex. A single `.sub` selector loses on specificity
   and the submenu stays permanently open.                                */
.main-nav .has-sub{position:relative}
.main-nav .sub{display:flex;flex-direction:column;list-style:none;padding:0 0 0 14px;margin-bottom:4px}
.main-nav .sub a{font-size:.94rem;color:#b9c9c1;padding-left:20px}

@media(min-width:1200px){
  .main-nav a{padding:8px 13px;font-size:.93rem}
  .main-nav ul{gap:5px}
  .site-header .header-social{gap:8px}
}

@media(min-width:1024px){
  .main-nav .sub{display:none;position:absolute;top:calc(100% + 6px);left:0;
    background:var(--white);border:1px solid var(--line);border-radius:var(--radius-sm);
    box-shadow:var(--shadow-lg);min-width:246px;padding:8px;z-index:60;margin:0}
  .main-nav .has-sub:hover > .sub,
  .main-nav .has-sub:focus-within > .sub{display:flex}
  .main-nav .sub a{color:var(--ink);padding:10px 13px;border-radius:6px;font-size:.9rem;
    white-space:nowrap;box-shadow:none}
  .main-nav .sub a:hover,.main-nav .sub a:focus{background:var(--cream);color:var(--deep)}
  .main-nav .sub a[aria-current="page"]{background:var(--cream);color:var(--deep)}
  /* keeps the pointer inside the hover area while moving down to the menu */
  .main-nav .has-sub > a{position:relative}
  .main-nav .has-sub > a::after{content:"";position:absolute;left:0;right:0;top:100%;height:10px}
  .main-nav .has-sub > a[aria-haspopup]::before{content:"";display:inline-block;width:0;height:0;
    border-left:4px solid transparent;border-right:4px solid transparent;
    border-top:4px solid currentColor;vertical-align:middle;margin-right:6px;opacity:.7}
}

/* ---------- hero ---------- */
.hero{position:relative;text-align:center;color:#fff;padding:70px 0 110px;
  background:linear-gradient(rgba(15,30,24,.66),rgba(15,30,24,.76)),var(--hero-img,url('../img/hero.jpg')) center/cover no-repeat}
.hero h1{font-size:clamp(1.9rem,6vw,3.4rem);max-width:16ch;margin:12px auto 14px;color:#fff}
.hero p{max-width:52ch;margin:0 auto 24px;color:#e6ece8;font-size:1.02rem}
.hero .eyebrow{color:var(--terra)}
.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
@media(min-width:768px){.hero{padding:100px 0 150px}}

.page-hero{background:var(--deep);color:var(--cream);padding:44px 0 40px;text-align:center}
.page-hero h1{color:#fff;font-size:clamp(1.7rem,4.6vw,2.7rem);margin-bottom:8px}
.page-hero p{color:#cfdcd5;max-width:60ch;margin:0 auto;font-size:1rem}
.breadcrumb{font-size:.82rem;color:#a9bcb2;margin-top:10px}
.breadcrumb a{color:var(--terra)}

.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:.72rem;font-weight:600;color:var(--terra-d);display:block;margin-bottom:6px}

/* ---------- sections ---------- */
section{padding:56px 0}
@media(min-width:768px){section{padding:84px 0}}
.section-head{max-width:640px;margin-bottom:32px}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.section-head h2{font-size:clamp(1.55rem,4vw,2.4rem);margin-bottom:10px}
.section-head p{color:var(--muted);font-size:1.02rem}
.bg-white{background:var(--white)}
.bg-sand{background:var(--sand)}
.bg-deep{background:var(--deep);color:var(--cream)}
.bg-deep h2,.bg-deep h3{color:var(--cream)}
.bg-deep p{color:#d3ded8}

/* ---------- search bar ---------- */
.search-bar{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:16px;display:grid;gap:12px;max-width:960px;margin:0 auto}
.search-bar.floating{margin-top:-52px;position:relative;z-index:10}
.search-bar label{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.09em;
  color:var(--muted);margin-bottom:5px;font-weight:600}
.search-bar select{width:100%;padding:12px;border:1px solid var(--line);border-radius:var(--radius-sm);
  background:var(--cream);color:var(--ink);min-height:44px}
@media(min-width:640px){.search-bar{grid-template-columns:1fr 1fr;padding:18px}}
@media(min-width:1024px){.search-bar{grid-template-columns:1.2fr 1fr 1fr 1fr auto;align-items:end}
  .search-bar .btn{min-height:46px}}

/* ---------- property cards ---------- */
.grid{display:grid;gap:20px}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.grid-4{grid-template-columns:1fr}
@media(min-width:600px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}}

.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.card .thumb{position:relative;aspect-ratio:3/2;overflow:hidden;background:var(--sand)}
.card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card:hover .thumb img{transform:scale(1.05)}
.badge{position:absolute;top:12px;left:12px;background:var(--terra);color:#fff;font-size:.68rem;
  font-weight:700;padding:5px 12px;border-radius:999px;text-transform:uppercase;letter-spacing:.05em}
.badge.let{background:var(--deep);color:var(--cream)}
.card .body{padding:18px;display:flex;flex-direction:column;flex:1}
.card .price{font-family:'Fraunces',Georgia,serif;font-size:1.32rem;color:var(--deep);font-weight:600}
.card .price small{font-size:.78rem;color:var(--muted);font-weight:400;font-family:'Inter',sans-serif}
.card h3{font-size:1.08rem;margin:5px 0 3px}
.card .addr{color:var(--muted);font-size:.86rem;margin-bottom:12px}
.card .specs{display:flex;flex-wrap:wrap;gap:14px;border-top:1px solid var(--line);padding-top:12px;
  margin-top:auto;font-size:.83rem;color:var(--deep-2);font-weight:500}
.card .specs span{display:inline-flex;align-items:center;gap:5px}

/* ---------- service cards ---------- */
.svc{padding:26px 22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--cream);
  transition:transform .25s,border-color .25s;height:100%}
.svc:hover{border-color:var(--terra);transform:translateY(-4px)}
.svc .ic{color:var(--deep);margin-bottom:18px;transition:color .28s ease,transform .28s ease}
.svc:hover .ic{color:var(--terra-d);transform:translateY(-2px)}
.bg-sand .svc{background:var(--white)}
.svc h3{font-size:1.08rem;margin-bottom:8px}
.svc p{font-size:.91rem;line-height:1.66;color:var(--muted);margin-bottom:12px}
.svc .more{font-size:.82rem;font-weight:600;letter-spacing:.03em;color:var(--terra-d);
  display:inline-flex;align-items:center;gap:6px}
.svc .more svg{transition:transform .28s ease}
.svc:hover .more svg{transform:translateX(4px)}

/* ---------- icons -------------------------------------------------------
   Drawn on a 24x24 grid to match the logo. Colour follows currentColor;
   the single terracotta accent is set here so it never has to be inlined. */
.ico{display:block;fill:none;stroke:currentColor;stroke-width:2.9;
  stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.ico .ac{stroke:var(--terra)}
.ico .acf{fill:var(--terra);stroke:none}
.ico .fl{fill:currentColor;stroke:currentColor;stroke-width:1.4}
.ico .hv{stroke-width:3.3}
.ico .ac.fl{fill:var(--terra);stroke:var(--terra)}
/* on a dark ground the accent needs lifting, or terracotta on green goes muddy */
.on-deep .ico .ac,.site-footer .ico .ac,.portal-side .ico .ac,.bg-deep .ico .ac{stroke:var(--terra)}

/* ---------- icon lists (replaces the old ::before tick glyph) ---------- */
.icon-list{list-style:none;padding:0}
.icon-list li{display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:start;
  margin-bottom:11px;padding-left:0}
.icon-list li::before{content:none}
.icon-list li > .ico{color:var(--ok);margin-top:3px;flex:none}
.icon-list.light li > .ico{color:var(--terra)}

/* ---------- footer contact rows ---------- */
.ft-row{display:grid!important;grid-template-columns:auto 1fr;gap:11px;align-items:start}
.ft-row .ico{color:var(--terra);margin-top:3px;flex:none}


/* ---------- FAQ chevron ---------- */
.fq-ic{position:absolute;right:6px;top:14px;color:var(--terra-d);pointer-events:none;
  transition:transform .28s ease}
.faq details[open] .fq-ic{transform:rotate(180deg)}

/* ---------- search button and spec icons ---------- */
.search-bar .btn .ico,.btn .ico{flex:none}
/* No plate behind the icon: the drawing carries itself, and a tinted square
   competed with the heading for attention. Colour does the work of the old
   background instead — deep green at rest, terracotta on hover. */
.ico-tile{display:grid;place-items:center;flex:none;color:var(--deep);
  transition:color .28s ease,transform .28s ease}
a:hover > .ico-tile,a:hover .ico-tile{color:var(--terra-d);transform:translateY(-1px)}
.ico-tile.on-deep{color:var(--cream)}

/* ---------- info boxes -------------------------------------------------
   The old site put the icon left of the text. Kept, but each box is now a
   discrete card with room to breathe: one short sentence, and the link
   pinned to the bottom so every card in a row lines up. */
.infobox-grid{display:grid;gap:20px;grid-template-columns:1fr}
@media(min-width:660px){.infobox-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.infobox-grid{grid-template-columns:repeat(3,1fr)}}
.infobox{display:flex;flex-direction:column;gap:15px;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 26px 24px;transition:border-color .28s ease,box-shadow .28s ease,transform .28s ease}
.infobox:hover{border-color:var(--terra);box-shadow:var(--shadow);transform:translateY(-3px)}
.infobox .ib-h{display:flex;align-items:center;gap:15px}
.infobox h3{font-size:1.06rem;line-height:1.3;margin:0}
.infobox p{font-size:.93rem;line-height:1.68;color:var(--muted);margin:0;flex:1 1 auto}
.infobox .more{font-size:.82rem;font-weight:600;letter-spacing:.03em;color:var(--terra-d);
  display:inline-flex;align-items:center;gap:6px}
.infobox .more svg{transition:transform .28s ease}
.infobox:hover .more svg{transform:translateX(4px)}

/* the icon sits beside the heading, so shrink the tile a little */
/* the infobox icon sits directly beside the heading, no plate */

/* group label above a set of boxes */
.group-label{display:flex;align-items:baseline;gap:14px;margin:0 0 20px}
.group-label h3{font-family:'Fraunces',Georgia,serif;font-size:1.22rem;color:var(--deep);
  margin:0;white-space:nowrap}
.group-label .rule{flex:1 1 auto;height:1px;background:var(--line)}
.group-label + .infobox-grid{margin-bottom:46px}

/* ---------- team ---------- */
/* auto-fit + justify-content, not a fixed column count, so the grid still
   centres cleanly whether there is one member or several — needed since
   Support & Operations and Maintenance Manager were pulled 15 Aug 2026 and
   the team may go back and forth in size before real photos are ready. */
.team-grid{display:grid;gap:24px;grid-template-columns:1fr;justify-content:center}
@media(min-width:600px){.team-grid{grid-template-columns:repeat(auto-fit,minmax(240px,300px))}}
.member{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 22px;text-align:center;transition:transform .25s,border-color .25s}
.member:hover{transform:translateY(-4px);border-color:var(--terra)}
.member .portrait{width:132px;height:132px;border-radius:50%;overflow:hidden;margin:0 auto 16px;
  background:var(--sand);border:3px solid var(--sand)}
.member .portrait img{width:100%;height:100%;object-fit:cover;display:block}
.member .who{display:block;font-family:'Fraunces',Georgia,serif;font-size:1.1rem;
  color:var(--deep);margin-bottom:2px}
a.who:hover{color:var(--terra-d);text-decoration:underline}
.member .role{font-size:.8rem;text-transform:uppercase;letter-spacing:.11em;color:var(--terra-d);
  font-weight:600;margin-bottom:10px}
.member p{font-size:.88rem;color:var(--muted);margin-bottom:12px}
.member .contact{font-size:.84rem}
.member .contact a{color:var(--terra-d)}
.placeholder-note{background:var(--terra-l);border:1px dashed var(--terra);border-radius:var(--radius-sm);
  padding:14px 18px;font-size:.86rem;color:var(--ink);margin-top:22px}

/* ---------- prose ---------- */
/* The reading column is CENTRED on the page, but the text inside stays
   left-aligned. Centring long body copy makes it markedly harder to read,
   because the eye loses the start of each line. */
.prose{max-width:72ch;margin-left:auto;margin-right:auto}
.prose p{margin-bottom:16px;color:var(--ink)}
.prose h2{font-size:clamp(1.35rem,3.4vw,1.9rem);margin:32px 0 12px}
.prose h3{font-size:1.15rem;margin:26px 0 8px}
.prose ul,.prose ol{margin:0 0 18px 0;padding-left:0;list-style:none}
.prose ul li{padding-left:26px;position:relative;margin-bottom:9px}
.prose ul li::before{content:"";position:absolute;left:6px;top:11px;width:7px;height:7px;border-radius:50%;background:var(--terra)}
.prose ol{counter-reset:n}
.prose ol li{padding-left:34px;position:relative;margin-bottom:11px;counter-increment:n}
.prose ol li::before{content:counter(n);position:absolute;left:0;top:1px;width:23px;height:23px;
  border-radius:50%;background:var(--deep);color:var(--cream);font-size:.76rem;font-weight:700;
  display:grid;place-items:center;font-family:'Inter',sans-serif}
.prose a:not(.btn){color:var(--terra-d);text-decoration:underline;text-underline-offset:3px}
.prose a:not(.btn):hover{color:var(--deep)}
.prose .btn{margin:4px 6px 4px 0}
.prose strong{color:var(--deep);font-weight:600}
.lead{font-size:1.1rem;color:var(--muted);margin-bottom:22px}

.callout{background:var(--terra-l);padding:18px 20px;
  border-radius:var(--radius-sm);margin:22px 0}
.callout h3{font-size:1.02rem;margin-bottom:6px}
.callout p:last-child{margin-bottom:0}
.callout.green{background:#eef5f0}

/* ---------- FAQ / AEO ---------- */
.faq{border-top:1px solid var(--line);margin-top:8px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;padding:18px 40px 18px 0;position:relative;font-weight:600;
  color:var(--deep);font-size:1.02rem;list-style:none}
.faq summary::-webkit-details-marker{display:none}
/* the toggle is now a real chevron element, .fq-ic, injected into the summary */
.faq .answer{padding:0 0 18px;color:var(--muted)}
.faq .answer p{margin-bottom:10px}
.faq .answer p:last-child{margin-bottom:0}

/* ---------- stats ---------- */
.stats{display:flex;flex-wrap:wrap;gap:28px;margin-top:24px}
.stats b{font-family:'Fraunces',Georgia,serif;font-size:1.8rem;color:var(--terra);display:block;font-weight:600}
.stats span{font-size:.78rem;color:#b3c4bb;text-transform:uppercase;letter-spacing:.08em}

/* ---------- members ---------- */
.members{text-align:center}
.members .label{color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.15em;margin-bottom:20px}
.members .row{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.chip{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:11px 18px;
  font-family:'Fraunces',Georgia,serif;color:var(--deep);font-size:.9rem}

/* ---------- accreditation plates -----------------------------------------
   Typographic rather than logo-based. Two reasons:
   1. Accreditation bodies (ARLA, RICS, TPO) forbid recolouring their marks,
      so tinting them to match the palette would breach their guidelines.
   2. Nobody recognises the CMP or DPS logo anyway. A name plus a line of
      plain English says far more than a small unfamiliar badge.
   The official full-colour logos can be added later on white cards, which
   is the compliant way to show them.                                       */
.partner-row{display:grid;grid-template-columns:repeat(1,1fr);gap:12px}
@media(min-width:560px){.partner-row{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.partner-row{grid-template-columns:repeat(3,1fr)}}
.partner{display:flex;flex-direction:column;justify-content:center;gap:3px;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:15px 18px;text-align:left;transition:border-color .25s,transform .25s;min-height:74px}
.partner:hover,.partner:focus-visible{border-color:var(--terra);transform:translateY(-2px)}
.partner .pname{font-family:'Fraunces',Georgia,serif;font-size:1rem;color:var(--deep);line-height:1.2}
.partner .pwhat{font-size:.78rem;color:var(--muted);line-height:1.35}
.partner:hover .pname{color:var(--terra-d)}
/* compact single-line version for the homepage strip */
.partner-row.compact{grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:640px){.partner-row.compact{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1000px){.partner-row.compact{grid-template-columns:repeat(5,1fr)}}
.partner-row.compact .partner{min-height:0;padding:13px 14px;text-align:center;align-items:center}
.partner-row.compact .pname{font-size:.88rem}
.partner-row.compact .pwhat{display:none}

/* Ten memberships in a three-column grid leave one orphan on the last row.
   Centre it, so the block looks finished rather than truncated. Excluded at
   the compact five-column size, where ten items divide evenly. */
@media(min-width:900px){
  .partner-row:not(.compact) > .partner:last-child:nth-child(3n+1){grid-column:2}
}
@media(min-width:640px) and (max-width:999px){
  .partner-row.compact > .partner:last-child:nth-child(3n+1){grid-column:2}
}

/* ---------- video ---------- */
/* ---------- trust block ------------------------------------------------
   The film, the memberships and the certificates link were two separate
   sections, both on deep green, so they merged into one long dark field with
   a dead gap where the two sets of padding met. They are one topic, so they
   are now one section on sand, divided internally by a hairline rule. The
   deep green above it now reads as a deliberate single pause.            */
.trust-block{padding-bottom:52px}
@media(min-width:768px){.trust-block{padding-bottom:66px}}
.trust-block .members-inner,.trust-block .label{text-align:center}
.trust-rule{height:1px;background:var(--line);max-width:900px;margin:46px auto 40px}
@media(min-width:768px){.trust-rule{margin:56px auto 44px}}
.trust-block .label{color:var(--muted);font-size:.72rem;text-transform:uppercase;
  letter-spacing:.15em;margin-bottom:20px;text-align:center}
.trust-block .partner-row{margin-left:auto;margin-right:auto}
.trust-block > .wrap:last-child{text-align:center}

.video-block{max-width:900px;margin:0 auto}
.video-wrap{position:relative;border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow-lg);background:#0b1a14;aspect-ratio:16/9}
.video-wrap video,.video-wrap iframe{width:100%;height:100%;object-fit:cover;display:block;border:0}
.video-caption{margin-top:14px;font-size:.86rem;color:var(--muted);text-align:center}

/* ---------- property reference ---------- */
.prop-ref{margin-top:7px;font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;
  color:var(--muted)}
.prop-ref b{color:var(--deep);font-weight:600;letter-spacing:.06em}

/* ---------- virtual tour -------------------------------------------------
   The gallery is position:relative so the button can sit on the main image.
   A solid pill rather than a ghost button: it has to hold up over a bright
   kitchen photograph as well as a dark hallway one.                        */
.gallery{position:relative}
.tour-btn{position:absolute;left:14px;bottom:14px;z-index:3;
  display:inline-flex;align-items:center;gap:9px;
  background:var(--deep);color:var(--cream);border-radius:99px;
  padding:12px 20px;font-weight:600;font-size:.9rem;
  box-shadow:0 6px 20px rgba(20,52,43,.35);
  transition:background .22s,transform .22s,box-shadow .22s}
.tour-btn:hover{background:var(--terra);transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(224,122,95,.4)}
.tour-btn .ico{color:var(--terra);flex:none;transition:color .22s}
.tour-btn:hover .ico{color:#fff}
@media(min-width:768px){.tour-btn{left:18px;bottom:18px;padding:13px 24px;font-size:.94rem}}

.tour-side{display:grid;grid-template-columns:auto 1fr;gap:13px;align-items:center;
  background:var(--terra-l);border:1px solid var(--terra);border-radius:var(--radius-sm);
  padding:14px 16px;margin-bottom:18px;transition:background .22s}
.tour-side:hover{background:#f8e2d9}
.tour-side .ico-tile{color:var(--terra-d)}
.tour-side b{display:block;font-size:.94rem;color:var(--deep);margin-bottom:2px}
.tour-side span span{font-size:.79rem;color:var(--muted);line-height:1.4}

/* ---------- two-column checklist ---------------------------------------
   The old site framed this as a bordered box with two bulleted columns. Kept,
   because a checklist is exactly the right shape for "here is everything that
   happens" — but on a card rather than a hairline rectangle, and with the
   brand tick instead of a bullet. */
.checklist{display:grid;gap:4px 40px;grid-template-columns:1fr;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 26px;margin:0 0 30px}
@media(min-width:820px){.checklist{grid-template-columns:1fr 1fr;padding:32px 34px}}
.checklist ul{margin:0}
.checklist li{font-size:.94rem;line-height:1.62}
.checklist li span{color:var(--ink)}
.checklist em{font-style:normal;font-weight:600;color:var(--terra-d)}

/* ---------- affordability guide -----------------------------------------
   ONE income field, deliberately. Since 1 May 2026 imposing a stricter
   financial test on somebody because their income is benefits rather than
   salary is indirect discrimination, so the form cannot have a box marked
   "salary" and another marked "other". All income, one field, benefits named
   in the hint.                                                             */
.afford-intro{font-size:.92rem;color:var(--muted);line-height:1.6;margin:-4px 0 14px}
.afford{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px 22px;margin:0 0 26px}
.afford-grid{display:grid;gap:18px;grid-template-columns:1fr;margin-bottom:20px}
@media(min-width:560px){.afford-grid{grid-template-columns:1fr 1fr;gap:24px}}
.afford-fig b{display:block;font-family:'Fraunces',Georgia,serif;font-size:1.7rem;
  color:var(--deep);line-height:1.1;margin-bottom:5px}
.afford-fig span{font-size:.84rem;color:var(--muted);line-height:1.45;display:block}

.afford-calc{border-top:1px solid var(--line);padding-top:20px}
.afford-calc label{display:block;font-size:.86rem;font-weight:600;color:var(--deep);
  margin-bottom:8px}
.afford-input{display:flex;align-items:stretch;max-width:280px;
  border:1.5px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;
  transition:border-color .2s;background:var(--white)}
.afford-input:focus-within{border-color:var(--terra)}
.afford-pre{display:grid;place-items:center;padding:0 13px;background:var(--sand);
  color:var(--muted);font-weight:600;font-size:1rem}
.afford-income{flex:1 1 auto;border:0;padding:13px 14px;font-size:1.05rem;
  font-variant-numeric:tabular-nums;background:none;color:var(--ink);min-width:0}
.afford-income:focus{outline:none}
.afford-hint{font-size:.79rem;color:var(--muted);line-height:1.5;margin:9px 0 0}
.afford-out{margin:14px 0 0;font-size:.94rem;line-height:1.55;min-height:1.2em}
.afford-out.over{color:var(--ok);font-weight:600}
.afford-out.under{color:var(--terra-d)}
.afford-out small{display:block;font-weight:400;color:var(--muted);font-size:.84rem;
  margin-top:4px}

.afford-more{border-top:1px solid var(--line);margin-top:20px;padding-top:4px}
.afford-more summary{cursor:pointer;padding:12px 0;font-size:.88rem;font-weight:600;
  color:var(--terra-d);list-style:none}
.afford-more summary::-webkit-details-marker{display:none}
.afford-more summary::after{content:" +";font-weight:400}
.afford-more[open] summary::after{content:" \2013"}
.afford-more p{font-size:.89rem;line-height:1.65;color:var(--ink);margin-bottom:9px}
.afford-more a{color:var(--terra-d);text-decoration:underline}

/* ---------- property map ------------------------------------------------
   The placeholder is a real UI element, not a grey box: it states the area and
   postcode district so the section is useful even if the visitor never presses
   the button. .map-embed.on swaps in the iframe (see main.js).            */
.map-embed{margin:18px 0 26px}
.map-ph{display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  background:var(--sand);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px 22px}
.map-ph .ico-tile{color:var(--terra-d)}
.map-ph > div{flex:1 1 190px;min-width:0}
.map-ph b{display:block;font-family:'Fraunces',Georgia,serif;font-size:1.05rem;color:var(--deep)}
.map-ph span{font-size:.82rem;color:var(--muted)}
.map-ph .btn{flex:none}
.map-note{font-size:.78rem;color:var(--muted);margin-top:9px;line-height:1.5}
.map-note a{color:var(--terra-d);text-decoration:underline}
.map-frame{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  aspect-ratio:16/10;background:var(--sand)}
.map-frame iframe{width:100%;height:100%;border:0;display:block}
@media(min-width:640px){.map-frame{aspect-ratio:16/8}}

/* ---------- credentials / certificates ---------- */
.cert-grid{display:grid;gap:20px;grid-template-columns:1fr}
@media(min-width:700px){.cert-grid{grid-template-columns:repeat(2,1fr)}}
.cert{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px;display:flex;flex-direction:column}
.cert-thumb{position:relative}
.cert-thumb::after{content:"Open";position:absolute;right:10px;bottom:10px;
  background:rgba(20,52,43,.9);color:var(--cream);font-size:.7rem;font-weight:600;
  letter-spacing:.08em;text-transform:uppercase;padding:5px 11px;border-radius:99px;
  opacity:0;transition:opacity .2s}
.cert-thumb:hover::after{opacity:1}
.cert-thumb img{max-height:290px;object-fit:cover;object-position:top}
.cert h3{font-size:1.08rem;margin-bottom:6px}
.cert p{font-size:.9rem;color:var(--muted);margin-bottom:14px;flex:1}
.cert .actions{display:flex;gap:10px;flex-wrap:wrap}
.cert .actions .btn{padding:10px 18px;font-size:.86rem}
.cert-thumb{border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;
  margin-bottom:16px;background:var(--sand)}
.cert-thumb img{width:100%;display:block}
.doc-viewer{width:100%;height:78vh;min-height:460px;border:1px solid var(--line);
  border-radius:var(--radius);background:var(--sand)}
.doc-fallback{background:var(--terra-l);border:1px solid var(--terra);border-radius:var(--radius-sm);
  padding:16px 18px;margin-top:14px;font-size:.9rem}

/* ---------- fee table ---------- */
.fees{width:100%;border-collapse:collapse;margin:18px 0;font-size:.94rem}
.fees th,.fees td{text-align:left;padding:14px 14px;border-bottom:1px solid var(--line);vertical-align:top}
.fees th{background:var(--sand);font-family:'Inter',sans-serif;font-size:.74rem;text-transform:uppercase;
  letter-spacing:.1em;color:var(--deep);font-weight:700}
.fees td:first-child{font-weight:600;color:var(--deep);width:34%}
.fees .amount{font-family:'Fraunces',Georgia,serif;color:var(--deep);font-size:1.02rem;font-weight:600}
@media(max-width:640px){
  .fees,.fees tbody,.fees tr,.fees td{display:block;width:100%}
  .fees thead{display:none}
  .fees tr{border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:14px;padding:6px 0;background:var(--white)}
  .fees td{border:none;padding:8px 14px}
  .fees td:first-child{width:auto;padding-bottom:2px}
}

/* ---------- CTA ---------- */
.cta{background:linear-gradient(rgba(20,52,43,.88),rgba(20,52,43,.93)),var(--cta-img,url('../img/cta.jpg')) center/cover;
  color:#fff;text-align:center}
.cta h2{color:#fff;font-size:clamp(1.6rem,4vw,2.5rem);max-width:20ch;margin:0 auto 12px}
.cta p{color:#e6ece8;max-width:48ch;margin:0 auto 24px}

/* ---------- forms ---------- */
.form{display:grid;gap:16px;max-width:720px}
.form-row{display:grid;gap:16px}
@media(min-width:640px){.form-row{grid-template-columns:1fr 1fr}}
.field label{display:block;font-size:.8rem;font-weight:600;color:var(--deep);margin-bottom:6px}
.field input,.field select,.field textarea{width:100%;padding:13px 14px;border:1px solid var(--line);
  border-radius:var(--radius-sm);background:var(--white);color:var(--ink);min-height:46px}
.field textarea{min-height:130px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--terra);outline:none;
  box-shadow:0 0 0 3px rgba(224,122,95,.18)}
.field .hint{font-size:.78rem;color:var(--muted);margin-top:4px}
.consent{font-size:.82rem;color:var(--muted)}
.form-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.required{color:var(--terra-d)}

/* ---------- property detail ---------- */
.prop-head{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:flex-start;margin-bottom:20px}
.prop-head h1{font-size:clamp(1.5rem,4vw,2.2rem)}
.prop-head .addr{color:var(--muted);margin-top:5px}
.prop-price{font-family:'Fraunces',Georgia,serif;font-size:1.8rem;color:var(--deep);font-weight:600}
.prop-price small{display:block;font-family:'Inter',sans-serif;font-size:.78rem;color:var(--muted);font-weight:400}
/* ---------- gallery ------------------------------------------------------
   Five tiles; the fifth carries a count of the rest. Every tile is a button,
   because clicking a photograph opens the viewer, and a click target that
   does something should be a control, not an image. */
.gallery{display:grid;gap:8px;grid-template-columns:1fr;border-radius:var(--radius);
  overflow:hidden;margin-bottom:28px;position:relative}
.gal-t{display:block;padding:0;border:0;background:var(--sand);cursor:pointer;
  position:relative;overflow:hidden}
.gal-t img{width:100%;height:100%;object-fit:cover;aspect-ratio:3/2;
  transition:transform .5s cubic-bezier(.2,.7,.3,1)}
.gal-t:hover img{transform:scale(1.04)}
.gal-t:focus-visible{outline:3px solid var(--terra);outline-offset:-3px}
.gal-more{position:absolute;inset:0;display:grid;place-items:center;
  background:rgba(20,52,43,.62);color:#fff;font-family:'Fraunces',Georgia,serif;
  font-size:1.7rem;letter-spacing:.02em}
@media(min-width:768px){
  .gallery{grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr}
  .gal-t:first-child{grid-row:span 2}
  .gal-t:first-child img{aspect-ratio:auto;height:100%}
  .gal-more{font-size:1.5rem}
}
.gal-actions{position:absolute;right:14px;bottom:14px;z-index:3;display:flex;gap:9px;flex-wrap:wrap}
.gal-btn{display:inline-flex;align-items:center;gap:8px;cursor:pointer;
  background:rgba(255,255,255,.94);color:var(--deep);border:0;border-radius:99px;
  padding:11px 17px;font-weight:600;font-size:.85rem;font-family:inherit;
  box-shadow:0 4px 16px rgba(20,52,43,.28);transition:background .22s,transform .22s}
.gal-btn:hover{background:#fff;transform:translateY(-2px)}
.gal-btn .ico{color:var(--terra-d);flex:none}
@media(max-width:520px){.gal-btn span{display:none}.gal-btn{padding:11px}}

/* ---------- floor plan ---------------------------------------------------
   Its own section rather than a slot in the gallery: a plan is portrait,
   mostly white, and unreadable as a thumbnail beside photographs of rooms. */
.plan{display:block;width:100%;padding:14px;border:1px solid var(--line);
  border-radius:var(--radius);background:var(--white);cursor:pointer;position:relative;
  transition:border-color .22s,box-shadow .22s}
.plan:hover{border-color:var(--terra);box-shadow:var(--shadow)}
.plan img{width:100%;max-width:460px;margin:0 auto;height:auto}
.plan-hint{position:absolute;right:20px;top:20px;display:inline-flex;align-items:center;gap:7px;
  background:var(--deep);color:var(--cream);border-radius:99px;padding:7px 14px;
  font-size:.76rem;font-weight:600}
.plan-hint .ico{color:var(--terra)}
.plan-note{font-size:.78rem;color:var(--muted);margin:10px 0 24px;line-height:1.5}

/* ---------- photo viewer ---------- */
.lb{position:fixed;inset:0;z-index:2000;background:rgba(11,26,20,.96);
  display:none;flex-direction:column;opacity:0;transition:opacity .2s}
.lb.on{display:flex;opacity:1}
.lb-top{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 18px;color:var(--cream);flex:none}
.lb-count{font-size:.84rem;letter-spacing:.08em;color:#b9c9c1;font-variant-numeric:tabular-nums}
.lb-x{background:none;border:0;color:var(--cream);cursor:pointer;padding:8px;line-height:0;
  border-radius:8px}
.lb-x:hover{background:rgba(255,255,255,.12)}
.lb-stage{flex:1 1 auto;display:grid;place-items:center;padding:0 12px;min-height:0;position:relative}
.lb-stage img{max-width:100%;max-height:100%;width:auto;height:auto;
  border-radius:var(--radius-sm);box-shadow:0 20px 60px rgba(0,0,0,.5)}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;
  display:grid;place-items:center;border:0;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.92);color:var(--deep);box-shadow:0 4px 16px rgba(0,0,0,.35)}
.lb-nav:hover{background:#fff}
.lb-prev{left:10px}.lb-next{right:10px}
.lb-nav[hidden]{display:none}
.lb-prev .ico{transform:rotate(180deg)}
.lb-cap{flex:none;padding:14px 20px 22px;text-align:center;color:#cfdcd5;font-size:.88rem}
@media(min-width:768px){.lb-prev{left:26px}.lb-next{right:26px}.lb-stage{padding:0 84px}}
body.lb-open{overflow:hidden}
.prop-cols{display:grid;gap:32px;grid-template-columns:1fr}
@media(min-width:1000px){.prop-cols{grid-template-columns:1.7fr 1fr}}
.spec-strip{display:flex;flex-wrap:wrap;gap:22px;background:var(--white);border:1px solid var(--line);
  border-radius:var(--radius);padding:18px 22px;margin-bottom:26px}
.spec-strip b{display:block;font-family:'Fraunces',Georgia,serif;font-size:1.2rem;color:var(--deep)}
.spec-strip span{font-size:.74rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.feature-list{display:grid;grid-template-columns:1fr;gap:8px;list-style:none}
@media(min-width:520px){.feature-list{grid-template-columns:1fr 1fr}}
.feature-list li{padding-left:0;position:relative}
.sidebar-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:22px}
@media(min-width:1000px){.sidebar-card{position:sticky;top:calc(var(--header-h) + 20px)}}
.agent{display:flex;align-items:center;gap:13px;padding-bottom:18px;margin-bottom:18px;
  border-bottom:1px solid var(--line)}
.agent .av{display:grid;place-items:center;color:var(--terra)}
.agent .av .ico{color:var(--terra)}
.agent .av{width:52px;height:52px;border-radius:50%;background:var(--deep);color:var(--terra);
  display:grid;place-items:center;font-family:'Fraunces',serif;font-size:1.25rem;flex:none}
.agent b{color:var(--deep);display:block}
.agent span{font-size:.82rem;color:var(--muted)}

/* ---------- filters ---------- */
.filter-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.filter-btn{background:var(--white);border:1px solid var(--line);border-radius:999px;padding:9px 18px;
  font-size:.88rem;font-weight:500;cursor:pointer;color:var(--ink);min-height:40px}
.filter-btn:hover{border-color:var(--terra)}
.filter-btn.active{background:var(--deep);color:var(--cream);border-color:var(--deep)}
.results-bar{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;margin-bottom:22px}
.results-bar p{color:var(--muted);font-size:.92rem}

/* ---------- blog ---------- */
.post-card .body{padding:20px}
.post-meta{font-size:.78rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.post-card h3{font-size:1.1rem;margin-bottom:8px}
.post-card p{font-size:.9rem;color:var(--muted)}
.article-head{max-width:72ch;margin:0 auto}
.article-body{max-width:72ch;margin:0 auto}

/* ---------- login pages ---------- */
.portal-wrap{display:grid;gap:0;grid-template-columns:1fr;min-height:calc(100vh - var(--header-h))}
@media(min-width:900px){.portal-wrap{grid-template-columns:1fr 1fr}}
.portal-form{display:flex;align-items:center;justify-content:center;padding:48px 20px;background:var(--cream)}
.portal-form .inner{width:100%;max-width:400px}
.portal-form .logo{margin-left:auto;margin-right:auto}
.portal-side{background:linear-gradient(rgba(20,52,43,.86),rgba(20,52,43,.92)),var(--portal-img,url('../img/hero.jpg')) center/cover;
  color:#fff;padding:48px 32px;display:flex;flex-direction:column;justify-content:center}
.portal-side h2{color:#fff;font-size:1.6rem;margin-bottom:12px}
.portal-side ul{list-style:none}
.portal-side li{padding-left:0;position:relative;margin-bottom:11px;color:#e0e8e4}
.notice{background:var(--terra-l);border:1px solid var(--terra);border-radius:var(--radius-sm);
  padding:16px 18px;margin-bottom:22px}
.notice b{color:var(--terra-d)}

/* ---------- footer ---------- */
.site-footer{background:var(--deep-3);color:#bccec5;font-size:.92rem;padding:52px 0 24px}
.footer-grid{display:grid;gap:32px;grid-template-columns:1fr;margin-bottom:34px}
@media(min-width:640px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.footer-grid{grid-template-columns:1.6fr 1fr 1fr 1fr}}
.site-footer h4{font-family:'Inter',sans-serif;font-size:.74rem;text-transform:uppercase;
  letter-spacing:.14em;color:var(--terra);margin-bottom:14px}
.site-footer a{display:block;margin-bottom:9px;color:#bccec5}
.site-footer a:hover{color:#fff}
.site-footer .about{color:#8ba397;line-height:1.7;font-size:.86rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:20px;display:flex;
  flex-wrap:wrap;gap:14px;justify-content:space-between;color:#7e938a;font-size:.78rem}
/* Social links are the platforms' own logos, so they sit in a neutral circle
   rather than being restyled. Cream at rest, terracotta ground on hover. */
.social{display:flex;gap:10px;margin-top:16px}
.social a{margin:0;display:grid;place-items:center;width:38px;height:38px;
  border-radius:50%;background:rgba(255,255,255,.09);color:var(--cream);
  transition:background .22s,color .22s,transform .22s}
.social a:hover{background:var(--terra);color:#fff;transform:translateY(-2px)}
.social a:focus-visible{outline:3px solid var(--terra);outline-offset:2px}
.brand-ico{display:block}

/* ---------- WhatsApp ---------- */
.wa-float{position:fixed;right:16px;bottom:16px;z-index:120;display:flex;align-items:center;
  background:#25D366;color:#fff;border-radius:999px;padding:14px;box-shadow:0 8px 22px rgba(0,0,0,.24);
  font-weight:600;transition:padding .25s;overflow:hidden}
.wa-float svg{width:26px;height:26px;flex:none;fill:currentColor}
.wa-float .lab{max-width:0;opacity:0;white-space:nowrap;transition:.3s;font-size:.9rem}
@media(hover:hover){.wa-float:hover{padding-right:20px}.wa-float:hover .lab{max-width:160px;opacity:1;margin-left:10px}}
@media(min-width:768px){.wa-float{right:22px;bottom:22px}}

/* ---------- utilities ---------- */
.text-center{text-align:center}
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:36px}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
.hide{display:none!important}
.form-success{background:#eef5f0;border:1px solid var(--ok);color:var(--deep);padding:16px 18px;
  border-radius:var(--radius-sm);margin-top:8px}

@media print{
  .site-header,.wa-float,.site-footer,.search-bar{display:none}
  body{background:#fff}
}
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ---------- material information ---------- */
/* Rent, deposit, Council Tax band and EPC rating, together and near the top of
   the property page. Two columns on a wide screen, one on a phone. The label
   is small and quiet; the value is the thing being read. */
.mi-intro{color:var(--muted);font-size:.94rem;margin-bottom:14px}
.mi-grid{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;margin-bottom:26px}
@media(min-width:620px){.mi-grid{grid-template-columns:1fr 1fr}}
.mi-grid > div{background:var(--white);padding:14px 18px}
.mi-grid dt{font-size:.76rem;letter-spacing:.09em;text-transform:uppercase;
  color:var(--muted);font-weight:600;margin-bottom:3px}
.mi-grid dd{font-family:'Fraunces',Georgia,serif;font-size:1.12rem;color:var(--deep);
  line-height:1.3}
.mi-grid .mi-note{display:block;font-family:'Inter',sans-serif;font-size:.82rem;
  color:var(--muted);margin-top:3px;line-height:1.5}
.mi-grid .mi-note a{color:var(--terra-d);text-decoration:underline}
/* Unconfirmed data is coloured, not hidden. A visitor should be able to see
   that we know it is missing, and so should anyone spot-checking the listing. */
.mi-grid dd.tbc{color:var(--terra-d)}
.mi-grid dd.tbc::before{content:"";display:inline-block;width:8px;height:8px;
  border-radius:50%;background:var(--terra);margin-right:7px;vertical-align:middle}

/* the EPC chip on a listing card */
.card .specs .epc{background:var(--terra-l);color:var(--terra-d);border-radius:6px;
  padding:1px 7px;font-weight:600;font-size:.78rem}
