/* ==========================================================================
   Alin Koen Prime Property Services — shared stylesheet
   ========================================================================== */

:root {
  --white: #ffffff;
  --stone: #f5f4f1;
  --stone-dark: #ebe9e4;
  --ink: #1c2433;
  --ink-soft: #5b6475;
  --line: #e4e2dd;
  --brass: #a8865a;
  --brass-dark: #8c6e47;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* closest free match to the brochure's handwritten font (Eyesome Script, commercial) */
  --font-script: "Mrs Saint Delafield", "Snell Roundhand", cursive;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Brochure handwritten font (commercial). Add the licensed web-font file as
   fonts/EyesomeScript.woff2 to activate it; until then the fallback is used. */
@font-face {
  font-family: "Eyesome Script";
  src: local("Eyesome Script"), url("../fonts/EyesomeScript.woff2") format("woff2");
  font-display: swap;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
body.nav-open { overflow: hidden; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

/* Typography ------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.005em;
  color: var(--ink);
}
h1 { font-size: clamp(2.75rem, 6.2vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
h1 em, h2 em { font-style: italic; color: var(--brass); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  margin-bottom: 1.5rem;
  font-size: .75rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before { content: ""; width: 2.5rem; height: 0; border-top: 1px solid var(--brass); }
.eyebrow--long::before { width: 8rem; }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

/* Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--stone { background: var(--stone); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--top { align-items: start; }
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .9rem 2rem;
  border: 1px solid var(--ink);
  font-family: var(--font-sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: var(--brass); border-color: var(--brass); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn--light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink);
}
.link-arrow::after { content: "→"; color: var(--brass); transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Photo placeholder ------------------------------------------------------ */
/* Replace <div class="placeholder"> with <img src="images/…"> when photos are ready. */
.placeholder {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(168,134,90,.10), rgba(168,134,90,0) 55%),
    var(--stone-dark);
  overflow: hidden;
}
.placeholder::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(168,134,90,.35);
  pointer-events: none;
}
.placeholder::after {
  content: attr(data-label);
  font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass-dark);
}
.placeholder--wide { aspect-ratio: 16 / 10; }
.section--stone .placeholder { background-color: var(--white); }

.photo-frame { position: relative; }
.photo-frame::before {
  content: ""; position: absolute; z-index: -1;
  top: -1.25rem; right: -1.25rem; width: 55%; height: 55%;
  border-top: 1px solid var(--brass); border-right: 1px solid var(--brass);
}
@media (max-width: 899px) {
  .photo-frame::before { display: none; }
  .photo-frame .placeholder { aspect-ratio: 4 / 3; }
}

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand img { width: 92px; height: auto; }

.nav-list { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.75rem); }
.nav-list a {
  position: relative; padding: .4rem 0;
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  position: relative; z-index: 60;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand img { width: 70px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 55;
    display: flex; align-items: center; justify-content: center;
    background: var(--white);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 1.75rem; text-align: center; }
  .nav-list a {
    font-family: var(--font-serif); font-size: 2rem; font-weight: 400;
    letter-spacing: 0; text-transform: none;
  }
}

/* Hero ------------------------------------------------------------------- */
.hero { padding: clamp(1.5rem, 3.5vw, 3rem) 0 var(--section); }
.hero .split { align-items: center; }
.hero h1 { margin-bottom: 2rem; }
.hero .lead { max-width: 30rem; margin-bottom: 2.75rem; }
@media (min-width: 900px) {
  .hero .split { grid-template-columns: 7fr 5fr; }
}

/* Intro / statement ------------------------------------------------------ */
.statement h2 { max-width: 14ch; }
.statement .body { max-width: 38rem; color: var(--ink-soft); }
.statement .body p:first-child { color: var(--ink); font-size: 1.12rem; }
.statement .body--plain p:first-child { color: inherit; font-size: inherit; }

/* Service cards ---------------------------------------------------------- */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 40rem; }

.cards { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column;
  padding: clamp(2rem, 3vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover {
  border-color: var(--brass);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(28,36,51,.25);
}
.card-num {
  font-family: var(--font-serif); font-size: 1.1rem; font-style: italic;
  color: var(--brass); margin-bottom: 2.5rem;
}
.card h3 { margin-bottom: 1rem; }
.card p { color: var(--ink-soft); font-size: .95rem; flex-grow: 1; margin-bottom: 2rem; }

/* CTA band --------------------------------------------------------------- */
.cta { background: var(--ink); color: var(--white); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.cta h2 { color: var(--white); margin-bottom: 1rem; }
.cta .container {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 2.5rem;
}
.cta-contacts { display: grid; gap: .35rem; font-size: 1.05rem; color: rgba(255,255,255,.75); }
.cta-contacts a:hover { color: var(--white); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; font-size: .92rem; }
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.14);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; max-width: 34rem; }
}
@media (min-width: 760px) and (max-width: 1179px) {
  /* medium screens: four columns, Newsletter in its own row underneath */
  .footer-grid {
    grid-template-columns: minmax(0,1fr) minmax(0,1.25fr) minmax(0,1.15fr) minmax(0,.9fr);
    grid-template-areas: "logo office services menu" "logo contact services menu" "news news news news";
    column-gap: 2rem; row-gap: 2rem;
  }
  .footer-logo { grid-area: logo; } .footer-office { grid-area: office; } .footer-contact { grid-area: contact; }
  .footer-services { grid-area: services; } .footer-menu { grid-area: menu; }
  .footer-news { grid-area: news; max-width: 36rem; }
}
@media (min-width: 1180px) {
  /* Office and Contact share a column so the Newsletter fits on the right without making the footer taller */
  .footer-grid {
    grid-template-columns: minmax(0,1.05fr) minmax(0,1.15fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,1.7fr);
    grid-template-areas: "logo office services menu news" "logo contact services menu news";
    column-gap: 2.5rem; row-gap: 2rem;
  }
  .footer-logo { grid-area: logo; } .footer-office { grid-area: office; } .footer-contact { grid-area: contact; }
  .footer-services { grid-area: services; } .footer-menu { grid-area: menu; }
  .footer-news { grid-area: news; max-width: none; }
}
.footer-grid a[href^="tel:"] { white-space: nowrap; }
.footer-grid img { width: 170px; }
.footer-title {
  margin-bottom: 1.1rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass);
}
.footer-grid address { font-style: normal; color: rgba(255,255,255,.75); }
.footer-grid li + li { margin-top: .45rem; }
.footer-grid a { color: rgba(255,255,255,.75); transition: color .2s; }
.footer-grid a:hover { color: var(--white); }
.footer-legal { padding-top: 2rem; font-size: .8rem; line-height: 1.7; color: rgba(255,255,255,.6); }

/* Reveal on scroll ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* Page header ------------------------------------------------------------ */
.page-hero { padding: clamp(1.5rem, 3.5vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { margin-bottom: 1.5rem; max-width: 16ch; }
.page-hero .lead { max-width: 40rem; margin-bottom: 2.5rem; }
.page-hero .lead:last-child { margin-bottom: 0; }

.banner { padding-bottom: var(--section); }
.banner .placeholder { aspect-ratio: 21 / 8; }
@media (max-width: 640px) { .banner .placeholder { aspect-ratio: 4 / 3; } }

/* Prose & lists ---------------------------------------------------------- */
.prose { max-width: 42rem; color: var(--ink-soft); }
.prose p:first-child { color: var(--ink); font-size: 1.12rem; }
.prose--plain p:first-child { color: inherit; font-size: inherit; }
.prose h2, .prose h3 { margin-top: 2.5rem; }

.list-title {
  margin: 0 0 1.75rem;
  font-family: var(--font-serif); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 500;
  color: var(--ink); line-height: 1.25;
}
.check-list li {
  position: relative;
  padding: 1.1rem 0 1.1rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2.05rem;
  width: 1.4rem; height: 1px; background: var(--brass);
}

/* About ------------------------------------------------------------------ */
.profile-photo { max-width: 360px; }
.profile-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
/* Offset gold frame behind a photo (About portrait, Services cards) */
.offset-frame { position: relative; isolation: isolate; }
.offset-frame::before {
  content: ""; position: absolute; z-index: -1;
  top: 1.25rem; left: 1.25rem; right: -1.25rem; bottom: -1.25rem;
  border: 1px solid var(--brass);
}
@media (max-width: 899px) { .profile-photo { max-width: 300px; margin: 0 1.25rem 1.5rem 0; } }
.profile-meta { margin-top: 2.5rem; }

/* Service cards with image ----------------------------------------------- */
.card--media { padding: 0; }
.card--media .placeholder { aspect-ratio: 4 / 3; }
.card--media .card-body { display: flex; flex-direction: column; flex-grow: 1; padding: clamp(1.75rem, 3vw, 2.5rem); }
.card--media .card-num { margin-bottom: 1rem; }
.cards--two { grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards--two { grid-template-columns: 1fr 1fr; } }

/* Features --------------------------------------------------------------- */
.features { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, 1fr); border-top: 0; } }
.feature { padding: 2.75rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .feature { padding: 0 clamp(1.5rem, 3vw, 3rem); border-bottom: 0; border-left: 1px solid var(--line); }
  .feature:first-child { padding-left: 0; border-left: 0; }
  .feature:last-child { padding-right: 0; }
}
.feature-icon { width: 44px; height: 44px; margin-bottom: 2rem; color: var(--brass); }
.feature h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.feature p { color: var(--ink-soft); }

/* Contact ---------------------------------------------------------------- */
.contact-list { display: grid; gap: 2rem; }
.contact-list dt {
  margin-bottom: .4rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass);
}
.contact-list dd { margin: 0; font-size: 1.05rem; }
.contact-list address { font-style: normal; }
.contact-list a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-list a:hover { border-bottom-color: var(--brass); }

.form-card { background: var(--white); padding: clamp(2rem, 4vw, 3.25rem); border: 1px solid var(--line); }
.form-card h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: .35rem; }
.form-card .muted { margin-bottom: 2rem; }
.field { margin-bottom: 1.5rem; }
.field label {
  display: block; margin-bottom: .5rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink);
}
.field input, .field textarea {
  width: 100%; padding: .85rem 0;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.form-card .btn { width: 100%; margin-top: .5rem; }
@media (min-width: 640px) { .form-card .btn { width: auto; } }
.form-note { margin-top: 1rem; font-size: .85rem; color: var(--ink-soft); }

.map { display: block; width: 100%; height: clamp(320px, 45vw, 480px); border: 0; filter: grayscale(1) contrast(.95); }
.section--stone .card--media .placeholder { background-color: var(--stone-dark); }

/* Floating buttons: offer + WhatsApp chat ---------------------------- */
.float-actions { transition: opacity .3s var(--ease), visibility .3s; }
.float-actions .float-btn { position: fixed; z-index: 45; bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
.float-actions [data-offer-open] { left: calc(1.5rem + env(safe-area-inset-left)); }
.float-actions a.float-btn { right: calc(1.5rem + env(safe-area-inset-right)); }
.float-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  border: 0; border-radius: 999px;
  background: var(--brass); color: var(--white);
  font-family: var(--font-sans); font-size: .74rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(28,36,51,.55);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.float-btn svg { width: 20px; height: 20px; flex: none; }
.float-btn:hover { background: var(--ink); transform: translateY(-2px); }
.nav-open .float-actions { opacity: 0; visibility: hidden; }
@media (max-width: 640px) {
  .float-actions .float-btn { bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .float-actions [data-offer-open] { left: calc(1rem + env(safe-area-inset-left)); }
  .float-actions a.float-btn { right: calc(1rem + env(safe-area-inset-right)); }
  .float-btn { min-height: 42px; padding: .6rem 1.05rem; font-size: .66rem; letter-spacing: .12em; }
  .float-btn svg { width: 18px; height: 18px; }
}

/* Offer dialog ----------------------------------------------------------- */
.offer-dialog {
  width: min(92vw, 440px); max-height: 92vh;
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(28,36,51,.5);
}
.offer-dialog::backdrop { background: rgba(28,36,51,.45); }
.offer-dialog h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: .75rem; padding-right: 1.5rem; }
.offer-intro { margin-bottom: 1.75rem; color: var(--ink-soft); font-size: .95rem; }
.offer-close {
  position: absolute; top: .75rem; right: .9rem;
  width: 40px; height: 40px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-size: 1.75rem; line-height: 1; color: var(--ink-soft);
}
.offer-close:hover { color: var(--ink); }
.offer-form .btn { width: 100%; margin-top: .5rem; }
.offer-error { margin-top: 1rem; font-size: .85rem; color: #9b2c2c; }
.offer-thanks h2 { margin: 1rem 0; text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Case studies ----------------------------------------------------------- */
.card--static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.case-meta {
  display: flex; flex-direction: column; gap: .3rem;
  margin-bottom: 1rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass);
}
.case-meta span + span { color: var(--ink-soft); }
.card--static p { margin-bottom: 0; }

/* About: second text block under the biography */
.about-more { padding-top: 0; }
.about-more-text { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2.5rem; border-top: 1px solid var(--line); }
@media (max-width: 899px) { .split-spacer { display: none; } }

/* Service pages ---------------------------------------------------------- */
.check-list strong { font-weight: 500; color: var(--ink); }
.check-list a { border-bottom: 1px solid var(--brass); }
.pull-quote {
  margin: 2.5rem 0 0; padding-left: 1.5rem; border-left: 1px solid var(--brass);
  font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-style: italic; line-height: 1.35;
  color: var(--ink);
}
.notice {
  padding: 1.5rem 1.75rem;
  border: 1px dashed var(--brass); background: var(--stone);
  font-size: .9rem; color: var(--ink);
}

/* About: Features under the text ----------------------------------------- */
.about-features { padding-top: 0; }
.about-features-inner { padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.about-features .eyebrow { margin-bottom: clamp(2rem, 4vw, 3rem); font-size: 1rem; }

/* Properties: coming soon ------------------------------------------------ */
.page-hero--soon { min-height: 45vh; }

/* Handwritten slogan ------------------------------------------------------ */
.script {
  font-family: var(--font-script); font-weight: 400; font-style: normal;
  letter-spacing: 0; text-transform: none; line-height: 1.2;
}

.slogan { padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; overflow: hidden; }
.slogan blockquote { margin: 0; }
.slogan .script {
  display: inline-block; margin: 0;
  font-family: "Eyesome Script", var(--font-script);
  font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1.25;
  color: var(--ink-soft);
}
.slogan .rule { display: block; width: 3rem; height: 0; margin: 0 auto 2rem; border-top: 1px solid var(--brass); }

/* Our Stories: horizontal story cards ------------------------------------ */
.cards.cards--stories { grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px) {
  .cards--stories .card--media { flex-direction: row; }
  .cards--stories .card--media .placeholder { flex: 0 0 42%; width: 42%; aspect-ratio: auto; min-height: 280px; }
  .cards--stories .card--media .card-body { justify-content: center; padding: clamp(2rem, 4vw, 3.5rem); }
}

/* About: page title + name heading -------------------------------------- */
.about-hero-title { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.about-hero-title h1 { margin-bottom: 0; }
.about-name { font-size: clamp(2.75rem, 6.2vw, 5rem); font-weight: 400; }

/* Service pages (Word copy): intro + headed steps + closing line ---------- */
.lead--italic { font-style: italic; }
@media (min-width: 900px) {
  .prose--sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.steps .step { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.steps .step:last-child { border-bottom: 1px solid var(--line); }
.steps h2 { margin-bottom: .5rem; font-size: clamp(1.35rem, 2vw, 1.6rem); }
.steps h2 a { border-bottom: 1px solid var(--brass); }
.steps p { margin: 0; color: var(--ink-soft); }
.closing { padding: clamp(3.5rem, 7vw, 5.5rem) 0; text-align: center; }
.closing-line {
  max-width: 46rem; margin: 0 auto;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.35; color: var(--ink);
}
.closing-line::before { content: ""; display: block; width: 3rem; margin: 0 auto 1.75rem; border-top: 1px solid var(--brass); }

/* Mobile menu (phones/tablets only — desktop unchanged) ----------------- */
@media (max-width: 860px) {
  /* no blur on the header: it would trap the fixed menu inside the header bar */
  .site-header { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* logo and close button stay visible above the open menu */
  .brand { position: relative; z-index: 60; }
  /* full-screen, opaque panel; items start below the logo and the panel itself scrolls */
  .site-nav {
    top: 0; right: 0; bottom: 0; left: 0;
    height: 100vh; height: 100dvh;
    display: block;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    background: var(--white);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .site-nav::before {
    content: ""; position: absolute; top: var(--header-h); left: 0; right: 0;
    border-top: 1px solid var(--line);
  }
  .nav-list { gap: 1.5rem; }
  /* the page behind the menu does not scroll */
  html.nav-lock, html.nav-lock body { overflow: hidden; }
}

/* Footer newsletter ------------------------------------------------------ */
.footer-news-text { margin-bottom: 1.25rem; color: rgba(255,255,255,.75); line-height: 1.7; }
.newsletter-row { display: flex; gap: .6rem; }
.newsletter-row input {
  flex: 1 1 auto; min-width: 0;
  padding: .8rem .9rem;
  font: inherit; font-size: .92rem; color: var(--white);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.28); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.newsletter-row input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-row input:focus { outline: none; border-color: var(--brass); }
.newsletter-row button {
  flex: none; padding: .8rem 1.1rem;
  border: 0; background: var(--brass); color: var(--white); cursor: pointer;
  font-family: var(--font-sans); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  transition: background .25s;
}
.newsletter-row button:hover { background: #8c6e47; }
.newsletter-row button:disabled { opacity: .6; cursor: default; }
.newsletter-thanks { margin: 0; font-family: var(--font-serif); font-size: 1.5rem; color: var(--white); }
.newsletter-error { margin: .75rem 0 0; font-size: .85rem; color: #f3b4b4; }
@media (max-width: 380px) { .newsletter-row { flex-direction: column; } }
.newsletter-row[hidden] { display: none; }
/* phones: Services and Menu side by side to keep the footer short */
@media (max-width: 639px) {
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; row-gap: 2.25rem; }
  .footer-logo, .footer-office, .footer-contact, .footer-news { grid-column: 1 / -1; }
}

/* Home hero portrait: keep the face in frame on every screen */
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 899px) { .hero-photo { aspect-ratio: 4 / 5; max-height: 78vh; } }

/* Service photos: same size in every card, cropped neatly */
.card-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.banner-photo { display: block; width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: center; }
@media (max-width: 640px) { .banner-photo { aspect-ratio: 4 / 3; } }
/* portrait-shaped photo: keep the building facades in view */
.banner-photo--buying { object-position: 50% 40%; }

/* Home: second photo (Bespoke services section) */
.statement-photo { display: block; width: 100%; max-width: 460px; aspect-ratio: 538 / 602; object-fit: cover; }
@media (max-width: 899px) { .statement-photo { max-width: none; aspect-ratio: 4 / 3; object-position: 50% 55%; } }

/* Home: three overview cards before the slogan */
.cards--overview .card-body p { margin-bottom: 1.75rem; }
.cards--overview .btn { align-self: flex-start; }

/* White content area right under the page title (Services, Our Stories) */
.section--flush { padding-top: 0; }

/* Home: Browse Our Services slider ------------------------------------- */
.browse { }
.browse-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.browse-head h2 { margin: 0; }
.slider-arrows { display: flex; gap: .6rem; flex: none; }
.slider-btn {
  width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--ink); background: var(--white); color: var(--ink);
  font-size: 1.15rem; line-height: 1; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.slider-btn:hover { background: var(--ink); color: var(--white); }
.slider-track {
  display: flex; gap: 1.5rem; margin: 0; padding: 0 0 .25rem; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc((100% - 3rem) / 3); scroll-snap-align: start; }
.slide a { display: block; color: var(--ink); }
.slide img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.slide a:hover img { transform: scale(1.03); }
.slide a { overflow: hidden; }
.slide-name {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0 .2rem; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: clamp(1.35rem, 2vw, 1.6rem);
}
.slide-name::after {
  content: ""; flex: none; width: 30px; height: 14px;
  background: var(--brass);
  /* long, thin arrow drawn as a mask so it takes the brand gold */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h27M22 1l6 6-6 6'/%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 30 14' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h27M22 1l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s var(--ease), background .25s;
}
.slide a:hover .slide-name::after, .slide a:focus-visible .slide-name::after { transform: translateX(8px); background: var(--brass-dark); }
@media (max-width: 899px) { .slide { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (max-width: 599px) {
  .slide { flex-basis: 82%; }
  .slider-btn { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .slider-track { scroll-behavior: auto; } }

/* Home slogan as an image (colour and shape untouched; only scaled) */
.slogan-img { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; }

/* Footer: logo centred in its column; company line centred on its own row,
   with room below so the floating Offer / Chat buttons never cover it */
.footer-logo { display: flex; align-items: center; justify-content: flex-start; }  /* left-aligned with the footer text */
.footer-legal { text-align: center; max-width: 52rem; margin: 0 auto; }
.site-footer { padding-bottom: 6.5rem; }
@media (max-width: 640px) {
  .footer-grid img { width: 150px; }
  .site-footer { padding-bottom: 5.75rem; }
}

/* Services: room for the offset frames between cards */
.cards--framed { column-gap: 3rem; row-gap: 3.25rem; }
/* the frame sits behind the whole card; cards keep equal heights */
.cards--framed > .offset-frame > .card { height: 100%; }
@media (max-width: 759px) { .cards--framed > .offset-frame { margin-right: 1.25rem; } }

/* About: photo stays in view while the text scrolls (desktop only) */
@media (min-width: 900px) {
  .profile-photo { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ==========================================================================
   Service pages — new layout (title → intro + framed photo → steps → CTA)
   ========================================================================== */
.svc-hero { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.svc-hero .lead { max-width: 36rem; margin-bottom: 0; }

.svc-intro { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.svc-intro-grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (min-width: 900px) { .svc-intro-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.svc-intro-text { max-width: 36rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.85; }
.svc-intro-text p:first-child { color: var(--ink); font-family: var(--font-serif); font-size: clamp(1.45rem, 2.2vw, 1.75rem); line-height: 1.4; }
.svc-photo { max-width: 420px; width: calc(100% - 1.25rem); justify-self: start; }
@media (min-width: 900px) { .svc-photo { justify-self: end; } }
.svc-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.svc-steps-section { padding-top: 0; }
.svc-steps { display: grid; gap: 0 clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--line); }
@media (min-width: 760px) { .svc-steps { grid-template-columns: 1fr 1fr; } }
.svc-step { padding: clamp(1.75rem, 3vw, 2.25rem) 0; border-bottom: 1px solid var(--line); }
.svc-num { display: block; margin-bottom: .75rem; font-family: var(--font-serif); font-style: italic; color: var(--brass); }
.svc-step h2 { margin-bottom: .6rem; font-size: clamp(1.4rem, 2.1vw, 1.7rem); }
.svc-step p { margin: 0; max-width: 32rem; color: var(--ink-soft); }

.svc-end { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.svc-end-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.svc-others { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; }
.svc-others-title { margin: 0; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.svc-others ul { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.svc-others a { font-size: .95rem; color: var(--ink-soft); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.svc-others a:hover { color: var(--ink); border-bottom-color: var(--brass); }
.svc-intro-text .notice { margin-top: 1.75rem; }

/* Footer logo: centred in the visible space up to the next column (column + gap) */

/* Slider arrows: larger, round, brand colour */
.slider-arrows { gap: .75rem; }
.slider-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: var(--brass); color: var(--white);
  box-shadow: 0 10px 24px -14px rgba(28,36,51,.6);
  transition: background .25s, transform .25s;
}
.slider-btn:hover, .slider-btn:focus-visible { background: var(--brass-dark); color: var(--white); }
.slider-btn:active { transform: scale(.96); }
.slider-btn svg { width: 24px; height: 24px; }
@media (max-width: 599px) { .slider-btn { width: 50px; height: 50px; } .slider-btn svg { width: 22px; height: 22px; } }

/* About: "Why Choose Us" inside the right-hand column, stacked */
.about-why { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2.5rem; border-top: 1px solid var(--line); }
.about-why .features { grid-template-columns: 1fr; border-top: 0; }
.about-why .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 1.75rem; padding: 2rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
.about-why .feature:first-child { padding-top: 0; }
.about-why .feature:last-child { border-bottom: 0; padding-bottom: 0; }
.about-why .feature-icon { grid-row: 1 / span 2; margin: .25rem 0 0; }
.about-why .feature h2 { margin-bottom: .5rem; font-size: clamp(1.5rem, 2.2vw, 1.8rem); }
.about-why .feature p { margin: 0; }
@media (max-width: 599px) { .about-why .feature { grid-template-columns: 1fr; } .about-why .feature-icon { grid-row: auto; margin-bottom: 1rem; } }
.slide-name { padding-right: 10px; }  /* room for the arrow to slide right on hover */

/* Home slogan: same closing-line style, a little larger */
.closing-line--lg { font-size: clamp(2rem, 4vw, 3rem); }
/* footer logo nudged a little further left (not on phones, to keep the edge margin) */
@media (min-width: 760px) { .footer-logo img { margin-left: max(-1.5rem, calc(1rem - var(--gutter))); } }  /* never closer than 16px to the screen edge */

/* ==========================================================================
   Service pages v3 — built from Home's components
   (page-hero + gold line, .statement split, .offset-frame photo, .closing-line,
   .btn, .link-arrow). Only layout helpers below.
   ========================================================================== */
.svc-first { padding-top: 0; }
.svc-photo { max-width: 440px; width: calc(100% - 1.25rem); }
@media (min-width: 900px) { .svc-photo { justify-self: end; } }
.svc-details { padding-top: 0; }
.prose--center { max-width: 38rem; margin: 0 auto; }
.prose--center h3:first-child { margin-top: 0; }
.prose--center h3 { margin: 2.75rem 0 .6rem; }
.svc-contact { text-align: center; }
.svc-contact h2 { margin-bottom: 1.75rem; }
.svc-more { padding: 0 0 var(--section); text-align: center; }
.svc-more .container { padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.svc-more .eyebrow::before { display: none; }
.svc-more-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem 2.5rem; }

/* Service pages v4: one text column + sticky framed photo (About Us style) */
@media (min-width: 900px) { .svc-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.svc-text { max-width: 40rem; }
.svc-steps--single { grid-template-columns: 1fr !important; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.svc-layout .svc-photo { max-width: 400px; width: calc(100% - 1.25rem); }
.svc-layout .svc-photo img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .svc-layout .svc-photo { justify-self: end; } }
@media (max-width: 899px) { .svc-layout .svc-photo { order: -1; margin: 0 1.25rem 1.25rem 0; } }
.svc-layout .svc-step h2 { max-width: none; }  /* undo the narrow .statement h2 width for step titles */
/* title sits in the left column so the photo starts level with it */
.svc-title { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.svc-title .lead { margin-bottom: 0; }
.page-hero.svc-first { padding-top: clamp(1.5rem, 3.5vw, 3rem); padding-bottom: var(--section); }
/* phones: title, then photo, then text */
@media (max-width: 899px) {
  .svc-layout .svc-text { display: contents; }
  .svc-layout .svc-title { order: 1; margin-bottom: 0; }
  .svc-layout .svc-photo { order: 2; margin: 0 1.25rem 0 0; }
  .svc-layout .svc-text > .body { order: 3; }
  .svc-layout .svc-steps { order: 4; margin-top: 0; }
}
/* desktop: photo top level with the service title (skip the gold-line row above it) */
@media (min-width: 900px) { .svc-layout .svc-photo { margin-top: calc(.75rem * 1.75 + 1.5rem); } }

/* Service steps: small gold line icon instead of the number */
.svc-icon { display: block; width: 28px; height: 28px; margin-bottom: .9rem; color: var(--brass); }

/* Get in touch: compact */
.svc-contact { padding: clamp(2.5rem, 5vw, 3.75rem) 0; }
.svc-contact h2 { margin-bottom: .5rem; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.svc-contact p { margin: 0 0 1.4rem; color: var(--ink-soft); font-size: .95rem; }
.svc-contact .btn { min-height: 46px; padding: .75rem 1.6rem; }
.svc-title .lead, .lead--gold { color: var(--brass-dark); font-style: italic; font-family: var(--font-serif); font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.45; }  /* service intro line in gold (darker shade for readability) */
/* service title block: tighter spacing between title, intro line and text */
.svc-title h1 { margin-bottom: .6rem; }
.svc-title .lead { line-height: 1.35; }
.svc-title { margin-bottom: clamp(1.75rem, 3vw, 2.25rem); }
.svc-text .body .notice + p { margin-top: 1.5rem; }

/* About: gold subtitle under the title, section headings in the text column */
.about-hero-title .lead--gold { margin: .6rem 0 0; line-height: 1.35; }
.about-more-text .about-section-title { margin: 0 0 1.5rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; }
.about-more-text .eyebrow { margin-bottom: 1.25rem; font-size: 1rem; }

/* About: "Our Mission" / "What Sets Us Apart" in the title serif; mission heading italic */
.about-more-text .eyebrow, .about-why .eyebrow {
  font-family: var(--font-serif); font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 400;
  letter-spacing: 0; text-transform: none; line-height: 1.15; color: var(--ink);
}
.about-more-text .eyebrow { margin-bottom: .75rem; }
.about-more-text .about-section-title { font-style: italic; color: var(--brass-dark); }

/* New service photos: keep the 4:5 framed crop, focus on the subject */
.svc-photo img[src*="selling-new"] { object-position: 40% 50%; }
.svc-photo img[src*="relocation-new"] { object-position: 62% 50%; }
.svc-photo img[src*="property-management-new"] { object-position: 70% 50%; }
/* Mortgage: two stacked photos shown whole (no 4:5 crop) */
.svc-layout .svc-photo--tall img { aspect-ratio: auto; height: auto; }

/* ==========================================================================
   Properties: listing cards + detail page
   ========================================================================== */
.prop-ph { position: relative; aspect-ratio: 4 / 3; }
.prop-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.prop-card-photo { display: block; overflow: hidden; }
.prop-card-photo img { transition: transform .6s var(--ease); }
.prop-card:hover .prop-card-photo img { transform: scale(1.03); }
.prop-area { margin-bottom: .6rem; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.prop-card h3 { margin-bottom: .75rem; }
.prop-card .prop-price { margin: 0 0 .25rem; flex-grow: 0; color: var(--ink); font-family: var(--font-serif); font-size: 1.3rem; }
.prop-card .prop-rooms { margin-bottom: 1.75rem; }
.prop-card .btn { align-self: flex-start; }
.svc-photo .prop-ph { aspect-ratio: 4 / 5; }
.prop-gallery-section { padding-top: 0; }
.prop-gallery-section .eyebrow { margin-bottom: 2rem; }
.prop-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .prop-gallery { grid-template-columns: repeat(3, 1fr); } }
.prop-gallery .prop-gal-item:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.prop-cta { justify-content: center; }
.prop-note { margin: 1.75rem auto 0; max-width: 34rem; font-size: .8rem; }
.prop-source { margin-top: 2.25rem; }

/* Our Stories: story card + story page */
.story-card-photo { display: block; overflow: hidden; }
.story-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story-card:hover .story-card-photo img { transform: scale(1.03); }
@media (min-width: 760px) { .cards--stories .story-card-photo { flex: 0 0 42%; width: 42%; min-height: 320px; } }
@media (max-width: 759px) { .story-card-photo { aspect-ratio: 4 / 3; } }
.story-card h3 a:hover { color: var(--brass-dark); }
.story-card p { margin-bottom: 1.75rem !important; }
.story-card .btn { align-self: flex-start; }
.story .svc-title h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.1; }
.story-part { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid var(--line); }
.story-h { margin: 0 0 1.25rem; max-width: none; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; }
.story .svc-steps--single { margin-top: 1.5rem; }
.story-contact p { max-width: 36rem; margin-left: auto; margin-right: auto; }
.story-contact p + p { margin-top: -.75rem; }
.story .svc-title h1, .statement .story-h { max-width: none; }  /* full-width headings on story pages */
/* About: smaller mission subheading; no line before "Our Mission" / "What Sets Us Apart" */
.about-more-text .about-section-title { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.3; }
.about-more-text .eyebrow::before, .about-why .eyebrow::before { display: none; }
/* About: no divider lines above "Our Mission" / "What Sets Us Apart" */
.about-more-text, .about-why { border-top: 0; padding-top: 0; }
/* Story page: photo gallery */
.story-gallery-section { padding-top: 0; }
.story-gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .story-gallery { grid-template-columns: repeat(3, 1fr); } }
.story-gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* phones, story pages: keep the text blocks in their written order after the photo */
@media (max-width: 899px) { .story .svc-layout .svc-steps { order: 3; } }

/* Story page as an article: one text column, framed photos stacked on the right */
.story-grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
@media (min-width: 900px) { .story-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; } }
.story-text { max-width: 40rem; }
.story-article .svc-title h1 { max-width: none; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.1; }
.story-body { color: var(--ink-soft); line-height: 1.85; }
.story-body h2 { margin: clamp(2.5rem, 5vw, 3.25rem) 0 1rem; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.25; color: var(--ink); }
.story-list { margin: 0 0 1.25em; }
.story-list li { position: relative; padding-left: 1.6rem; margin-bottom: .85rem; }
.story-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: .8rem; border-top: 1px solid var(--brass); }
.story-list strong { color: var(--ink); }
.story-cta { margin: 1.75rem 0 0; }
.story-photos { display: grid; gap: clamp(2.5rem, 4vw, 3.25rem); padding-right: 1.25rem; padding-bottom: 1.25rem; }
@media (min-width: 900px) { .story-photos { padding-top: calc(.75rem * 1.75 + 1.5rem); } }
.story-fig { margin: 0; }
.story-fig img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 899px) { .story-fig img { aspect-ratio: 4 / 3; } }

/* Our Stories: cards in a grid (2 columns on desktop, stacked on phones) */
.cards.cards--story-grid { grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px) {
  .cards.cards--story-grid { grid-template-columns: repeat(2, 1fr); }
  .cards--story-grid .card--media { flex-direction: column; }
  .cards--story-grid .story-card-photo { flex: none; width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
  .cards--story-grid .card--media .card-body { justify-content: flex-start; padding: clamp(1.75rem, 3vw, 2.5rem); }
}
.cards--story-grid .story-card h3 { font-size: clamp(1.4rem, 2vw, 1.65rem); }
.cards--story-grid .story-card .btn { margin-top: auto; }
/* story photo shown uncropped (e.g. small or panoramic images) */
.story-fig--natural img { aspect-ratio: auto !important; }
@media (min-width: 1100px) { .cards.cards--story-grid { grid-template-columns: repeat(3, 1fr); } }
/* story pages with a single photo: keep it in view while reading (desktop) */
@media (min-width: 900px) { .story-photos--sticky { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* Home slogan: no line above; large decorative quote marks top-left and bottom-right */
.closing-line--lg { position: relative; display: inline-block; padding: .35em .9em; }
.closing-line--lg::before {
  content: "\201C"; position: absolute; left: 0; top: -.15em;
  width: auto; margin: 0; border: 0;
  font-size: 2.2em; line-height: 1; color: var(--brass);
}
.closing-line--lg::after {
  content: "\201D"; position: absolute; right: 0; bottom: -.75em;
  font-size: 2.2em; line-height: 1; color: var(--brass);
}

/* Bow Green detail: wide header photo shown whole; compact listing-style features; photo slider */
.prop-hero-photo img { aspect-ratio: 4 / 5 !important; object-fit: cover; object-position: 50% 50%; }
.svc-layout .prop-hero-photo { max-width: 420px; }
@media (min-width: 900px) { .prop-detail .svc-layout { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.prop-detail .svc-steps--single { margin-top: 1.75rem; }
.prop-detail .svc-step { display: grid; grid-template-columns: 24px 1fr; column-gap: 1rem; align-items: start; padding: .9rem 0; }
.prop-detail .svc-step .svc-icon { grid-row: 1 / span 2; width: 22px; height: 22px; margin: .15rem 0 0; }
.prop-detail .svc-step h2 { margin: 0 0 .15rem; font-size: 1.15rem; }
.prop-detail .svc-step p { font-size: .9rem; line-height: 1.6; }
.prop-gallery-section { padding-top: 0; }
.prop-gallery-section .browse-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prop-gallery-section .slide img { aspect-ratio: 3 / 2; }
@media (max-width: 899px) { .svc-layout .prop-source { order: 5; } }

/* Properties (phones only): tighter text spacing */
@media (max-width: 640px) {
  .prop-detail.page-hero { padding-top: 1.25rem; padding-bottom: 2.5rem; }
  .prop-detail .svc-title { margin-bottom: 1.25rem; }
  .prop-detail .svc-title h1 { margin-bottom: .35rem; }
  .prop-detail .svc-title .lead { font-size: 1.2rem; line-height: 1.3; }
  .prop-detail .svc-layout { gap: 1.5rem; }
  .prop-detail .body p { margin-bottom: .75em; font-size: .95rem; line-height: 1.6; }
  .prop-detail .svc-steps--single { margin-top: .75rem; }
  .prop-detail .svc-step { padding: .65rem 0; }
  .prop-detail .svc-step h2 { font-size: 1.05rem; }
  .prop-detail .svc-step p { font-size: .85rem; line-height: 1.5; }
  .prop-gallery-section .browse-head { margin-bottom: 1.25rem; }
  .prop-detail ~ .svc-contact { padding: 2.5rem 0; }
  .prop-card .card-body { padding: 1.4rem; }
  .prop-card .prop-area { margin-bottom: .35rem; }
  .prop-card h3 { margin-bottom: .35rem; }
  .prop-card .prop-rooms { margin-bottom: 1.1rem; }
}
@media (max-width: 640px) {
  .prop-detail .svc-layout .svc-photo { margin-bottom: 1.25rem; }
  .prop-detail .svc-layout .svc-steps { margin-top: -.5rem; }
}

/* Property pages: embedded film */
.prop-video-section { padding-top: 0; }
.prop-video-section h2 { margin-bottom: clamp(1.25rem, 3vw, 1.75rem); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prop-video { position: relative; aspect-ratio: 16 / 9; background: var(--stone-dark); }
.prop-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prop-gallery-section + .prop-video-section { margin-top: calc(var(--section) * -.4); }

/* legal note under the enquiry buttons: centred, with room above */
.svc-contact .prop-note { max-width: 34rem; margin: 1.75rem auto 0; font-size: .8rem; }

/* Properties: filter bar ------------------------------------------------- */
.prop-filter {
  display: grid; gap: 1rem 1.5rem; grid-template-columns: 1fr;
  margin-bottom: clamp(2rem, 4vw, 2.75rem); padding: 1.25rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .prop-filter { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; }
}
.prop-filter[hidden], .prop-filter-empty[hidden], .prop-card[hidden] { display: none; }
.prop-filter-field { min-width: 0; }
.prop-filter-search { grid-column: 1 / -1; }
.prop-filter input[type="search"] {
  width: 100%; min-height: 46px; padding: .65rem .9rem .65rem 2.6rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8865a' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5l5 5'/%3E%3C/svg%3E") no-repeat left .85rem center / 17px 17px;
  border: 1px solid var(--line); border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color .2s;
}
.prop-filter input[type="search"]::placeholder { color: var(--ink-soft); opacity: .75; }
.prop-filter input[type="search"]:hover, .prop-filter input[type="search"]:focus { border-color: var(--brass); outline: none; }
.prop-filter input[type="search"]:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.prop-filter label {
  display: block; margin-bottom: .45rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brass);
}
.prop-filter select {
  width: 100%; min-height: 46px; padding: .65rem 2.4rem .65rem .9rem;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23a8865a' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .9rem center / 12px 8px;
  border: 1px solid var(--line); border-radius: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; transition: border-color .2s;
}
.prop-filter select:hover, .prop-filter select:focus { border-color: var(--brass); outline: none; }
.prop-filter select:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.prop-filter-meta { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 46px; }
@media (min-width: 760px) { .prop-filter-meta { justify-content: flex-end; } }
.prop-filter-count { margin: 0; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.prop-filter-reset {
  padding: .3rem 0; border: 0; border-bottom: 1px solid var(--brass); background: none; cursor: pointer;
  font: inherit; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.prop-filter-reset:hover { color: var(--brass-dark); }
.prop-filter-empty { margin: 0 0 2rem; padding: 2rem; text-align: center; background: var(--stone); color: var(--ink-soft); }
.prop-filter-empty a { color: var(--ink); border-bottom: 1px solid var(--brass); }

/* Properties: page bar (js/properties-filter.js) -------------------------- */
.prop-pager {
  display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: .375rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.prop-pager[hidden] { display: none; }
.prop-pager a, .prop-pager span[aria-disabled] {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  min-width: 2.75rem; height: 2.75rem; padding: 0 .5rem;
  font-size: .85rem; color: var(--ink); border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.prop-pager .prop-pager-num:hover { border-color: var(--brass); color: var(--brass-dark); }
.prop-pager .prop-pager-num.is-current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.prop-pager .prop-pager-step { padding: 0 .9rem; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.prop-pager .prop-pager-step span[aria-hidden] { font-size: 1.15rem; letter-spacing: 0; line-height: 1; }
.prop-pager a.prop-pager-step:hover { color: var(--brass-dark); }
.prop-pager .prop-pager-step.is-disabled { color: var(--ink-soft); opacity: .4; cursor: default; }
.prop-pager span.prop-pager-gap { min-width: 1.5rem; padding: 0; color: var(--ink-soft); }
.prop-pager-word { white-space: pre; }
@media (max-width: 479px) {
  .prop-pager { gap: .25rem; }
  .prop-pager-word { display: none; }
  .prop-pager .prop-pager-step { min-width: 2.75rem; padding: 0; }
}
@media (max-width: 359px) {
  .prop-pager { gap: 2px; }
  .prop-pager a, .prop-pager span[aria-disabled] { min-width: 2.4rem; height: 2.6rem; }
  .prop-pager .prop-pager-step { min-width: 2.4rem; }
  .prop-pager span.prop-pager-gap { min-width: 1.1rem; }
}

/* "Contact us" band above the footer (properties + property detail pages) --- */
.property-contact {
  background: var(--stone); border-top: 1px solid var(--line); text-align: center;
  /* extra space at the bottom so the floating buttons never sit on the text or button */
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(6rem, 9vw, 7rem);
}
.property-contact-title {
  margin: 0 0 1.1rem; font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.3rem); line-height: 1.15; color: var(--ink);
}
.property-contact-text {
  max-width: 650px; margin: 0 auto 2.25rem; font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; color: var(--ink);
}
.property-contact-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: .9rem 2.1rem; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-family: var(--font-sans); font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  transition: background .3s var(--ease);
}
.property-contact-btn svg { flex: 0 0 auto; }
.property-contact-btn:hover, .property-contact-btn:focus-visible { background: var(--brass); }
@media (max-width: 479px) {
  .property-contact-btn { display: flex; width: 100%; padding: .9rem 1.25rem; }
}
