/* Site styles. No external fonts or libraries. */
:root {
  --ink: #1c2526; --muted: #4a5759; --line: #d5dcdc; --bg: #ffffff; --tint: #eef4f4;
  --brand: #14322d; --brand-2: #3f5d6a; --accent: #99d7da; --link: #2f5562; --focus: #c25e00;
  --ok: #1d6b4f; --sold: #8b1a33; --stc: #6a4a00;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px; --r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--brand); margin: 1.6em 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: .4em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p, ul, ol, dl, address { margin: 0 0 1em; }
address { font-style: normal; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: #fff; color: var(--brand); padding: .6rem 1rem; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.narrow { max-width: 780px; }
.wrap.narrow { margin: 0 auto; }
.lead { font-size: 1.2rem; color: var(--muted); }
.small, .req-note { font-size: .9rem; color: var(--muted); }
.band-tint { background: var(--tint); }
.band-dark { background: var(--brand); color: #fff; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark a { color: #fff; }
.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; border: 2px solid var(--brand); border-radius: var(--r); padding: .7rem 1.3rem; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--brand); }
.btn-light { background: #fff; color: var(--brand) !important; border-color: #fff; }
.btn-light:hover { background: var(--accent); border-color: var(--accent); }
.btn-block { display: block; width: 100%; text-align: center; }

/* header */
.site-header { background: var(--brand); color: #fff; position: relative; z-index: 20; }
.header-in { display: flex; align-items: center; gap: 1rem; min-height: 76px; flex-wrap: wrap; }
.logo img { width: 160px; height: auto; }
.menu-toggle { margin-left: auto; background: transparent; color: #fff; border: 2px solid #fff; border-radius: var(--r); padding: .45rem .9rem; font: 600 1rem var(--sans); cursor: pointer; }
.main-nav { flex-basis: 100%; display: none; padding-bottom: 1rem; }
.main-nav.open { display: block; }
.menu, .sub { list-style: none; margin: 0; padding: 0; }
.menu a, .sub-toggle { display: block; color: #fff; text-decoration: none; padding: .6rem .2rem; font: 600 1rem var(--sans); background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.sub-toggle::after { content: " \25BE"; }
.sub { display: none; padding-left: 1rem; }
.sub-toggle[aria-expanded="true"] + .sub { display: block; }
.header-phone { color: #fff; font-weight: 700; text-decoration: none; display: none; }
@media (min-width: 1000px) {
  .menu-toggle { display: none; }
  .main-nav { display: block; flex-basis: auto; margin-left: auto; padding: 0; }
  .menu { display: flex; gap: 1.2rem; align-items: center; }
  .has-sub { position: relative; }
  .sub { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border-radius: var(--r); box-shadow: 0 8px 24px rgba(0,0,0,.18); padding: .4rem 0; }
  .sub a { color: var(--brand); padding: .55rem 1rem; }
  .sub a:hover { background: var(--tint); }
  .header-phone { display: inline-block; border-left: 1px solid rgba(255,255,255,.35); padding-left: 1.2rem; }
}

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 1rem 0 0; margin: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* hero */
.hero { background: var(--brand) linear-gradient(120deg, #14322d, #3f5d6a); color: #fff; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,30,27,.88), rgba(10,30,27,.55)); }
.hero-in { position: relative; padding-top: 5rem; padding-bottom: 5rem; max-width: var(--wrap); }
.hero h1 { color: #fff; max-width: 16ch; margin-top: 0; }
.hero .lead { color: #fff; max-width: 46ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }

/* search and forms */
.search { display: grid; gap: 1rem; padding: 1.5rem 0; align-items: end; }
@media (min-width: 760px) { .search { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.dept { border: 0; margin: 0; padding: 0; display: flex; gap: .4rem; }
.dept input { position: absolute; opacity: 0; }
.dept label { padding: .6rem 1rem; border: 2px solid var(--brand); border-radius: var(--r); cursor: pointer; font-weight: 600; }
.dept input:checked + label { background: var(--brand); color: #fff; }
.dept input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea {
  width: 100%; font: 1rem var(--sans); padding: .65rem .7rem; border: 1px solid #6b7779; border-radius: var(--r); background: #fff; color: var(--ink); }
.field textarea { resize: vertical; }
.field-check { display: flex; gap: .6rem; align-items: flex-start; }
.field-check input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; flex: none; }
.field-check label { font-weight: 400; }
.enquiry { background: var(--tint); border-radius: var(--r); padding: 1.5rem; }
.band-tint .enquiry { background: #fff; }
.enquiry h2 { margin-top: 0; }
.enquiry .fields { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 600px) { .enquiry .fields { grid-template-columns: 1fr 1fr; } }
.enquiry .field-wide, .enquiry > .field { margin-bottom: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.results-count { font-weight: 600; }
.empty { background: var(--tint); padding: 1rem 1.2rem; border-radius: var(--r); }
.notice { background: #fff6e0; border-left: 4px solid var(--stc); padding: .8rem 1rem; }

/* services, team */
.services, .team { list-style: none; padding: 0; display: grid; gap: 2rem; }
@media (min-width: 800px) { .services, .team { grid-template-columns: repeat(3, 1fr); } }
.services h3, .team h3 { margin-top: .8rem; }
.team img, .person img { border-radius: 50%; width: 160px; height: 160px; object-fit: cover; }

/* property cards */
.cards { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card[hidden] { display: none; }
.card-link { display: block; color: var(--ink); text-decoration: none; height: 100%; }
.card-link img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; background: var(--tint); }
.card-body { display: block; padding: 1rem; }
.card-title { margin: .4rem 0 .3rem; font-size: 1.15rem; }
.card-link:hover .card-title { text-decoration: underline; }
.card-price { display: block; font-weight: 700; color: var(--brand); }
.card-facts { display: block; color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.pill { display: inline-block; background: var(--ok); color: #fff; font: 700 .8rem/1 var(--sans); padding: .35rem .6rem; border-radius: 999px; letter-spacing: .02em; vertical-align: middle; }
.pill-sold, .pill-let { background: var(--sold); }
.pill-soldstc, .pill-letagreed, .pill-underoffer { background: var(--stc); }

/* property page */
.back { font-weight: 600; }
.gallery .main-photo { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--r); }
.all-photos { margin: .8rem 0 0; }
.all-photos summary { cursor: pointer; font-weight: 700; color: var(--link); padding: .4rem 0; }
.thumbs { list-style: none; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.thumbs img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 4px; }
.prop-layout { display: grid; gap: 2rem; }
@media (min-width: 960px) { .prop-layout { grid-template-columns: minmax(0, 1fr) 300px; } .prop-side { position: sticky; top: 1rem; align-self: start; } }
.prop-price { font: 700 1.5rem var(--serif); color: var(--brand); }
.facts { display: flex; flex-wrap: wrap; gap: .6rem 2rem; background: var(--tint); padding: 1rem 1.2rem; border-radius: var(--r); }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.features { columns: 2 260px; }
.plan { margin: 0 auto 1rem; background: #fff; }
.prop-side { background: var(--tint); padding: 1.2rem; border-radius: var(--r); }
.side-phone { text-align: center; font-weight: 600; }
.side-links, .share { list-style: none; padding: 0; }
.side-links li, .share li { margin-bottom: .5rem; }
.share { display: flex; gap: 1rem; flex-wrap: wrap; }
.small-h { font-size: 1rem; margin: 1rem 0 .4rem; }
.save { background: #fff; border: 2px solid var(--brand); color: var(--brand); border-radius: var(--r); padding: .55rem 1rem; font: 600 1rem var(--sans); cursor: pointer; width: 100%; }
.save[aria-pressed="true"] { background: var(--brand); color: #fff; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--r); }
.calc { background: var(--tint); padding: 1.2rem; border-radius: var(--r); margin-top: 2rem; }
.calc h2 { margin-top: 0; }
.calc-form { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.calc-out { font-size: 1.2rem; margin-top: 1rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.hours dt { font-weight: 600; } .hours dd { margin: 0; }
.legal ul { padding-left: 1.3rem; }

/* footer */
.site-footer { background: #0e2420; color: #e6eeee; margin-top: 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 1.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-h { color: #fff; font-size: 1.1rem; margin: 0 0 .6rem; }
.footer-h:not(:first-child) { margin-top: 1.4rem; }
.footer-links, .social, .badges { list-style: none; padding: 0; }
.footer-links li, .social li { margin-bottom: .35rem; }
.footer-links.big li { margin-bottom: .6rem; }
.footer-links.cols { columns: 2 260px; }
.badges { display: flex; gap: 1rem; margin-top: 1rem; }
.badges img { background: #fff; padding: 6px; border-radius: 4px; width: 120px; height: auto; }
.footer-base { border-top: 1px solid rgba(255,255,255,.2); padding-top: 1rem; padding-bottom: 1.5rem; font-size: .9rem; }
.section .footer-links a, main .footer-links a { color: var(--link); }
@media print { .site-header, .site-footer, .prop-side, .enquiry, .map, .calc { display: none; } }
/* cards inside dark bands keep dark text */
.band-dark .card-link { color: var(--ink); }
.band-dark .card-title { color: var(--brand); }
.hero .btn:not(.btn-ghost) { background: #fff; color: var(--brand); border-color: #fff; }
.hero .btn:not(.btn-ghost):hover { background: var(--accent); border-color: var(--accent); color: var(--brand); }

/* demo only */
.demo-strip { background: #fff6e0; color: #3b2c00; border-bottom: 1px solid #e6d29a; font-size: .92rem; }
.demo-strip p { margin: 0; padding-top: .55rem; padding-bottom: .55rem; }
.demo-strip a { color: #3b2c00; font-weight: 700; }
.logo img { width: 220px; height: auto; }
.gallery.placeholder { margin: 0; }
.gallery.placeholder img { max-height: 420px; }
.gallery.placeholder figcaption { font-size: .9rem; color: var(--muted); margin-top: .4rem; }
.demo-note { margin: .8rem 0 0; font-size: .9rem; color: var(--muted); }
.team li { background: var(--tint); padding: 1.2rem; border-radius: var(--r); }
.team h3 { margin-top: 0; }
