/* ==========================================================================
   WSHIP v2 — "Quiet luxury" design system (mockup)
   Light "Linen" is default; dark "Noche" via [data-theme="dark"]
   ========================================================================== */

:root {
  --bg: #f4f0e8;
  --bg-alt: #ebe5da;
  --surface: #faf8f3;
  --ink: #22201b;
  --ink-soft: #4d4940;
  --muted: #847c6e;
  --line: rgba(34, 32, 27, .12);
  --line-strong: rgba(34, 32, 27, .22);
  --accent: #8e7337;          /* champagne, darkened for contrast on linen */
  --accent-soft: #c9b48f;
  --btn-bg: #22201b;
  --btn-ink: #f4f0e8;
  --band-bg: #22201b;         /* the one dark band on light pages */
  --band-ink: #efe9df;
  --band-muted: #a89f91;
  --logo: url("../img/logo-ink.svg");

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-theme="dark"] {
  --bg: #121213;
  --bg-alt: #19191b;
  --surface: #1e1e21;
  --ink: #efe9df;
  --ink-soft: #cfc7b9;
  --muted: #9c9385;
  --line: rgba(239, 233, 223, .12);
  --line-strong: rgba(239, 233, 223, .24);
  --accent: #c9b48f;
  --accent-soft: #c9b48f;
  --btn-bg: #efe9df;
  --btn-ink: #121213;
  --band-bg: #0c0c0d;
  --band-ink: #efe9df;
  --band-muted: #9c9385;
  --logo: url("../img/logo-gold.svg");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Type ---------- */
.eyebrow { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -.012em; font-variation-settings: "opsz" 144; }
.serif em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }
.h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; }
.h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.h3 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.2; }
.lede { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--ink-soft); max-width: 34em; }
.small { font-size: 13px; color: var(--muted); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; height: 48px; padding: 0 26px;
  border-radius: 99px; background: var(--btn-bg); color: var(--btn-ink);
  font-size: 14.5px; font-weight: 500; border: 1px solid var(--btn-bg); cursor: pointer; white-space: nowrap;
  transition: opacity .25s var(--ease);
}
.btn:hover { opacity: .86; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--ink); opacity: 1; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 13.5px; }
.tlink { font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s; white-space: nowrap; }
.tlink:hover { border-color: var(--ink); }
.ico { width: 16px; height: 16px; flex: none; }

/* ---------- Utility bar ---------- */
.util { border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.util .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 20px; }
.util__l, .util__r { display: flex; gap: 22px; align-items: center; white-space: nowrap; }
.util a:hover { color: var(--ink); }
.util b { color: var(--ink); font-weight: 500; }
.util .sep { opacity: .4; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 28px; }
.logo { display: block; width: 112px; aspect-ratio: 205 / 110.65; background: var(--logo) center / contain no-repeat; }
.nav { display: flex; gap: clamp(16px, 2.1vw, 32px); font-size: 14.5px; }
.nav a { position: relative; padding: 4px 0; color: var(--ink-soft); }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); }
.hdr__r { display: flex; align-items: center; gap: 18px; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.iconbtn .dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--accent); color: var(--bg); font-size: 10px; font-weight: 600; display: grid; place-items: center; }
.burger { display: none; }
@media (max-width: 1100px) { .nav { display: none; } .burger { display: inline-grid; } .util__l .hide-m { display: none; } }
@media (max-width: 640px) { .util__l { display: none; } .util .wrap { justify-content: flex-end; } .hdr__r .btn { display: none; } }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec--tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec--alt { background: var(--bg-alt); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec__head .eyebrow { display: block; margin-bottom: 16px; }
.sec__head p.lede { margin-top: 14px; }
@media (max-width: 720px) { .sec__head { flex-direction: column; align-items: flex-start; } }

.band { background: var(--band-bg); color: var(--band-ink); }
.band .eyebrow, .band .small { color: var(--band-muted); }
.band .lede { color: color-mix(in srgb, var(--band-ink) 80%, transparent); }
.band .btn { background: var(--band-ink); color: var(--band-bg); border-color: var(--band-ink); }
.band .btn--line { background: transparent; color: var(--band-ink); border-color: rgba(239,233,223,.3); }
.band .tlink { border-color: rgba(239,233,223,.35); }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(28px, 3vw, 40px) 0 0; }
.hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero__copy { padding-bottom: 8px; }
.hero__copy .eyebrow { display: block; margin-bottom: 26px; }
.hero__copy .lede { margin-top: 26px; }
.hero__media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; border-radius: 2px; background: var(--bg-alt); }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__cap {
  position: absolute; left: 18px; bottom: 16px; right: 18px; display: flex; justify-content: space-between; align-items: center;
  color: #fff; font-size: 12.5px; text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.hero__cap a { display: inline-flex; gap: 8px; align-items: center; background: rgba(20,18,15,.42); backdrop-filter: blur(8px); padding: 8px 14px 8px 10px; border-radius: 99px; text-shadow: none; }
.playdot { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.playdot::before { content: ""; border-left: 7px solid #1a1814; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; margin-left: 2px; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__media { order: -1; aspect-ratio: 4 / 3; } }

/* Search */
.search { margin-top: clamp(28px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; align-items: stretch; }
.search__f { padding: 10px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.search__f:nth-last-child(2) { border-right: 0; }
.search__f label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.search__f input, .search__f select { border: 0; background: none; padding: 2px 0; font-size: 15px; outline: none; width: 100%; appearance: none; }
.search__f input::placeholder { color: var(--ink-soft); }
.search .btn { height: auto; border-radius: 10px; padding: 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 13px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); white-space: nowrap; }
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
@media (max-width: 1100px) { .search { grid-template-columns: 1fr 1fr; } .search__f { border-right: 0; border-bottom: 1px solid var(--line); } .search__f:first-child { grid-column: 1 / -1; } .search .btn { grid-column: 1 / -1; height: 48px; margin-top: 8px; justify-content: center; } }

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); }
.proof > div { padding: 26px 24px; border-left: 1px solid var(--line); }
.proof > div:first-child { border-left: 0; padding-left: 0; }
.proof b { display: block; font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.1; letter-spacing: -.01em; }
.proof span { font-size: 13px; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 1px; font-size: 12px; }
@media (max-width: 800px) { .proof { grid-template-columns: 1fr 1fr; } .proof > div:nth-child(3) { border-left: 0; padding-left: 0; } .proof > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Walk & Talk ---------- */
.wt { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.wt__player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; }
.wt__player img { width: 100%; height: 100%; object-fit: cover; }
.wt__play { position: absolute; inset: 0; display: grid; place-items: center; }
.wt__play span { width: 78px; height: 78px; border-radius: 50%; background: rgba(250,248,243,.92); display: grid; place-items: center; transition: transform .3s var(--ease); }
.wt__play span::before { content: ""; border-left: 18px solid #1a1814; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.wt__player:hover .wt__play span { transform: scale(1.06); }
.wt__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; justify-content: space-between; color: #fff; font-size: 12.5px; background: linear-gradient(transparent, rgba(0,0,0,.45)); }
.wt__copy .eyebrow { display: block; margin-bottom: 18px; }
.wt__copy .lede { margin: 20px 0 28px; }
.chapters { border-top: 1px solid var(--line); margin: 0 0 30px; }
.chapters li { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.chapters time { font-variant-numeric: tabular-nums; color: var(--muted); width: 44px; flex: none; }
.band .chapters, .band .chapters li { border-color: rgba(239,233,223,.14); }
.episodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.ep { display: block; }
.ep__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: #2a2620; }
.ep__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ep:hover .ep__img img { transform: scale(1.04); }
.ep__badge { position: absolute; top: 12px; left: 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: rgba(250,248,243,.92); color: #1a1814; padding: 5px 9px; border-radius: 3px; }
.ep__badge--soon { background: rgba(20,18,15,.55); color: #fff; backdrop-filter: blur(6px); }
.ep h3 { margin-top: 14px; font-family: var(--serif); font-weight: 300; font-size: 21px; }
.ep p { font-size: 13px; color: var(--band-muted); margin-top: 2px; }
@media (max-width: 960px) { .wt { grid-template-columns: 1fr; } .episodes { grid-template-columns: 1fr 1fr; } }

/* ---------- Property cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.card { position: relative; display: block; }
.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--bg-alt); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__img img { transform: scale(1.03); }
.card__tag { position: absolute; top: 12px; left: 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: rgba(250,248,243,.94); color: #1a1814; padding: 5px 9px; border-radius: 3px; }
.card__save { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(250,248,243,.94); color: #1a1814; display: grid; place-items: center; }
.card__body { padding-top: 16px; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.card__loc { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__ref { font-size: 12px; color: var(--muted); }
.card h3 { font-family: var(--serif); font-weight: 300; font-size: 22px; line-height: 1.25; margin: 8px 0 10px; }
.card__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ink-soft); }
.card__price { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.card__price b { font-family: var(--serif); font-weight: 300; font-size: 22px; }
.epc { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.epc i { font-style: normal; font-size: 11px; font-weight: 600; color: #fff; padding: 1px 6px; border-radius: 2px; }
.epc .A { background: #2f7d4a; } .epc .B { background: #4d9a3c; } .epc .C { background: #9cb43a; } .epc .D { background: #d9b43a; } .epc .E { background: #e08e2b; } .epc .P { background: #8a8378; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Places ---------- */
.places { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.place { position: relative; overflow: hidden; border-radius: 2px; color: #fff; min-height: 260px; display: flex; align-items: flex-end; }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55)); }
.place:hover img { transform: scale(1.04); }
.place__t { position: relative; z-index: 1; padding: 20px 22px; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.place__t h3 { font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.1; }
.place__t span { font-size: 12.5px; opacity: .9; }
.place__ep { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; background: rgba(250,248,243,.92); color: #1a1814; padding: 5px 9px; border-radius: 3px; white-space: nowrap; }
.p-a { grid-column: span 7; min-height: 440px; } .p-b { grid-column: span 5; min-height: 440px; }
.p-c, .p-d, .p-e { grid-column: span 4; }
@media (max-width: 860px) { .p-a, .p-b, .p-c, .p-d, .p-e { grid-column: span 12; min-height: 280px; } }

/* ---------- Steps / how we work ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.step { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.step b { font-family: var(--serif); font-weight: 300; font-size: 15px; color: var(--accent); }
.step h3 { margin: 10px 0 10px; }
.step p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.team__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; position: relative; }
.team__img img { width: 100%; height: 100%; object-fit: cover; }
.ph-note { position: absolute; bottom: 12px; left: 12px; font-size: 11px; background: rgba(250,248,243,.92); color: #1a1814; padding: 4px 8px; border-radius: 3px; }
.people { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.person { display: flex; gap: 12px; align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; color: var(--muted); }
.person b { display: block; font-weight: 500; font-size: 14.5px; }
.person span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

/* ---------- Costs calculator ---------- */
.calc { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.calc__box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 36px); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; margin-bottom: 22px; }
.seg button { border: 0; background: none; padding: 7px 16px; border-radius: 99px; font-size: 13.5px; cursor: pointer; color: var(--ink-soft); }
.seg button.on { background: var(--btn-bg); color: var(--btn-ink); }
.calc__price label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.calc__price input[type=range] { width: 100%; accent-color: var(--accent); margin: 14px 0 6px; }
.calc__price output { font-family: var(--serif); font-weight: 300; font-size: 34px; display: block; }
.calc__rows { margin-top: 22px; border-top: 1px solid var(--line); }
.calc__rows div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.calc__rows div span:first-child { color: var(--ink-soft); }
.calc__rows .tot { border-bottom: 0; padding-top: 16px; font-weight: 500; }
.calc__rows .tot span:last-child { font-family: var(--serif); font-weight: 300; font-size: 26px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.review p { font-family: var(--serif); font-weight: 300; font-size: 20px; line-height: 1.45; }
.review footer { margin-top: 16px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Split CTA ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.split > div { border: 1px solid var(--line); border-radius: 2px; padding: clamp(28px, 4vw, 52px); background: var(--surface); }
.split .h3 { margin: 14px 0 12px; }
.split p { color: var(--ink-soft); max-width: 30em; }
.split .btn { margin-top: 26px; }
.field { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.field input { flex: 1 1 220px; height: 48px; border: 1px solid var(--line-strong); border-radius: 99px; padding: 0 20px; background: transparent; outline: none; }
.field .btn { margin-top: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Journal ---------- */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.post__img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post .eyebrow { display: block; margin: 16px 0 8px; }
.post h3 { font-family: var(--serif); font-weight: 300; font-size: 21px; line-height: 1.3; }
@media (max-width: 860px) { .journal { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: 14px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.ftr h4 { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ftr li + li { margin-top: 7px; }
.ftr li a { color: var(--ink-soft); }
.ftr li a:hover { color: var(--ink); }
.ftr__brand p { margin-top: 16px; color: var(--muted); font-size: 13.5px; max-width: 26em; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.ftr__legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 960px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }

/* ---------- Floating contact ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; gap: 8px; }
.fab a { height: 48px; padding: 0 18px 0 14px; border-radius: 99px; background: var(--btn-bg); color: var(--btn-ink); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.fab a.alt { background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 0 14px; }

/* ---------- Property page ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 22px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(360px, 46vw, 620px); }
.gallery > * { position: relative; overflow: hidden; border-radius: 2px; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g1 { grid-row: span 2; }
.gallery__btns { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.gallery__btns span { background: rgba(250,248,243,.94); color: #1a1814; font-size: 13px; padding: 8px 14px; border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 460px; } .gallery .g1 { grid-column: span 2; grid-row: auto; } .gallery .g4, .gallery .g5 { display: none; } }

.prop { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 80px); padding: clamp(36px, 4vw, 56px) 0 0; align-items: start; }
.prop__head .eyebrow { display: block; margin-bottom: 14px; }
.prop__price { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.prop__price b { font-family: var(--serif); font-weight: 300; font-size: 34px; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 32px 0; }
.facts div { padding: 18px 0 18px 18px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--serif); font-weight: 300; font-size: 24px; }
.facts span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } .facts div:nth-child(4) { border-left: 0; padding-left: 0; } .facts div:nth-child(n+4) { border-top: 1px solid var(--line); } }
.prose p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 1em; max-width: 38em; }
.block { padding: 40px 0; border-top: 1px solid var(--line); }
.block > .eyebrow { display: block; margin-bottom: 20px; }
.feats { columns: 2; column-gap: 40px; }
.feats li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; display: flex; gap: 10px; }
.feats li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex: none; }
.media2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media2 > div { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--bg-alt); }
.media2 img { width: 100%; height: 100%; object-fit: cover; }
.media2 .lbl { position: absolute; left: 12px; bottom: 12px; font-size: 12px; background: rgba(250,248,243,.94); color: #1a1814; padding: 5px 10px; border-radius: 99px; }
.plan { display: grid; place-items: center; background: var(--surface) !important; border: 1px solid var(--line); }
.plan svg { width: 78%; height: auto; color: var(--ink-soft); }
.map { height: 320px; border-radius: 2px; overflow: hidden; position: relative; background: var(--bg-alt); border: 1px solid var(--line); }
.map svg { width: 100%; height: 100%; }
.near { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.near div { font-size: 13.5px; color: var(--ink-soft); }
.near b { display: block; font-weight: 500; color: var(--ink); }
@media (max-width: 700px) { .near { grid-template-columns: 1fr 1fr; } .media2 { grid-template-columns: 1fr; } .feats { columns: 1; } }

.agent { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.agent__who { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.agent__who .avatar { width: 56px; height: 56px; }
.agent__who b { display: block; font-weight: 500; }
.agent__who span { font-size: 13px; color: var(--muted); }
.agent .btn { width: 100%; justify-content: center; margin-top: 12px; }
.agent__ctas { padding-top: 8px; }
.agent__note { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }
.agent__langs { display: flex; gap: 6px; margin-top: 8px; }
.agent__langs i { font-style: normal; font-size: 11px; border: 1px solid var(--line); padding: 2px 6px; border-radius: 3px; color: var(--ink-soft); }
@media (max-width: 1000px) { .prop { grid-template-columns: 1fr; } .agent { position: static; } }

/* Episode link card on property page */
.eplink { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; background: var(--band-bg); color: var(--band-ink); border-radius: 2px; overflow: hidden; }
.eplink__img { position: relative; height: 100%; min-height: 150px; }
.eplink__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eplink__t { padding: 22px 22px 22px 0; }
.eplink .eyebrow { color: var(--band-muted); }
.eplink h3 { font-family: var(--serif); font-weight: 300; font-size: 23px; margin: 8px 0 6px; }
.eplink p { font-size: 14px; color: var(--band-muted); }
@media (max-width: 600px) { .eplink { grid-template-columns: 1fr; } .eplink__img { min-height: 180px; } .eplink__t { padding: 0 20px 22px; } }

/* ---------- Area page ---------- */
.ahero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.ahero video, .ahero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ahero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,.05) 55%, rgba(0,0,0,.6)); }
.ahero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(36px, 5vw, 64px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.ahero .eyebrow { color: rgba(255,255,255,.85); display: block; margin-bottom: 16px; }
.ahero .h1 { color: #fff; }
.ahero p { max-width: 30em; margin-top: 16px; color: rgba(255,255,255,.9); }
.ahero .btn { background: #faf8f3; color: #1a1814; border-color: #faf8f3; }
.anav { position: sticky; top: 76px; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.anav .wrap { display: flex; gap: 28px; height: 54px; align-items: center; font-size: 14px; overflow-x: auto; white-space: nowrap; }
.anav a { color: var(--ink-soft); }
.anav a.on { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 3px; }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keyfacts div { padding: 24px; border-left: 1px solid var(--line); }
.keyfacts div:first-child { border-left: 0; padding-left: 0; }
.keyfacts b { display: block; font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.1; }
.keyfacts span { font-size: 13px; color: var(--muted); }
@media (max-width: 800px) { .keyfacts { grid-template-columns: 1fr 1fr; } .keyfacts div:nth-child(3) { border-left: 0; padding-left: 0; } .keyfacts div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.two .prose p { font-size: 17px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.liketable { border-top: 1px solid var(--line); }
.liketable div { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.liketable span { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.mosaic > div { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; }
.mosaic > div:first-child { aspect-ratio: auto; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* Theme switch (mockup only) */
.themeswitch { position: fixed; left: 20px; bottom: 20px; z-index: 50; display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 3px; box-shadow: 0 8px 28px rgba(0,0,0,.12); font-size: 12.5px; }
.themeswitch button { border: 0; background: none; padding: 7px 14px; border-radius: 99px; cursor: pointer; color: var(--ink-soft); }
.themeswitch button.on { background: var(--btn-bg); color: var(--btn-ink); }
body.capture .themeswitch { display: none; }
body.capture .fab { display: none; }
.mosaic > figure { overflow: hidden; border-radius: 2px; min-height: 100%; } .mosaic > figure img { height: 100%; }
.gallery__btns span { white-space: nowrap; }

/* ---------- v3 additions ---------- */
/* Area finder: coastline map + region list */
.finder { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.coast { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 18px; }
.coast svg { width: 100%; height: auto; display: block; }
.coast .town { cursor: pointer; }
.coast .town circle { fill: var(--accent); }
.coast .town .halo { fill: var(--accent); opacity: .16; }
.coast .town text { fill: var(--ink-soft); font: 500 12.5px var(--sans); }
.coast .town.big text { fill: var(--ink); font-size: 13.5px; }
.coast .sea { fill: color-mix(in srgb, #6f93a8 22%, var(--surface)); }
.coast .land { fill: var(--surface); }
.coast .road { stroke: var(--line-strong); }
.coast__legend { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.regions { border-top: 1px solid var(--line); }
.region { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.region h3 { font-family: var(--serif); font-weight: 300; font-size: 23px; line-height: 1.2; }
.region .count { font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.region .count small { display: block; text-align: right; color: var(--muted); font-size: 12px; }
.region .towns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.region .towns a { font-size: 12.5px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); }
.region .towns a:hover { border-color: var(--line-strong); color: var(--ink); }
.region .towns .epchip { border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--accent); }
.finder__note { margin-top: 18px; font-size: 13.5px; color: var(--muted); max-width: 36em; }
@media (max-width: 960px) { .finder { grid-template-columns: 1fr; } }

.handpicked { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.handpicked .avatar { width: 28px; height: 28px; font-size: 13px; }

/* Viewing day */
.vday { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.vday__img { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: 2px; }
.vday__img img { width: 100%; height: 100%; object-fit: cover; }
.timeline { margin: 30px 0; border-left: 1px solid var(--line-strong); padding-left: 24px; display: grid; gap: 22px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline time { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.timeline b { display: block; font-family: var(--serif); font-weight: 300; font-size: 21px; margin: 2px 0 2px; }
.timeline p { font-size: 14.5px; color: var(--ink-soft); }
.quote { border-top: 1px solid var(--line); padding-top: 18px; font-family: var(--serif); font-weight: 300; font-size: 19px; line-height: 1.45; }
.quote footer { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (max-width: 900px) { .vday { grid-template-columns: 1fr; } .vday__img { aspect-ratio: 4 / 3; } }

/* Expertise / network */
.expert { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.bignum { font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 8vw, 104px); line-height: .95; letter-spacing: -.02em; }
.network { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 28px; }
.network div { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.network div:nth-child(odd) { padding-right: 16px; }
.network b { display: block; font-weight: 500; }
.network span { color: var(--muted); font-size: 13px; }
.ourhome { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.ourhome img { width: 100%; height: 100%; object-fit: cover; }
.ourhome figcaption { position: absolute; left: 14px; bottom: 12px; right: 14px; color: #fff; font-size: 13px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
@media (max-width: 900px) { .expert { grid-template-columns: 1fr; } }

/* Compact Walk & Talk */
.wtc { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
.wtc .wt__player { aspect-ratio: 16 / 9; }
.wtc__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.wtc__list div { border-top: 1px solid rgba(239,233,223,.16); padding-top: 10px; font-size: 13.5px; color: var(--band-muted); }
.wtc__list b { display: block; color: var(--band-ink); font-family: var(--serif); font-weight: 300; font-size: 18px; }
@media (max-width: 900px) { .wtc { grid-template-columns: 1fr; } .wtc__list { grid-template-columns: 1fr 1fr 1fr; } }

/* Filter bar on area page */
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 26px; }
.filterbar .chip { background: var(--surface); }
.filterbar .chip.on { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.filterbar .sp { flex: 1; }
.notice { font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line-strong); padding: 8px 12px; border-radius: 4px; margin-top: 14px; display: inline-block; }
.collab { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.hero .h1 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.06; }
.hero__media .poster, .ahero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video, .ahero video { position: relative; z-index: 0; }
.ahero video { position: absolute; }
body.capture video { visibility: hidden; }
.ahero .btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }

/* ---------- v4: area explorer, valuation ---------- */
.explorer .coastbig { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: clamp(10px, 1.6vw, 22px); }
.coastbig svg { width: 100%; height: auto; display: block; }
.coastbig .sea { fill: color-mix(in srgb, #6f93a8 20%, var(--surface)); }
.coastbig .land { fill: var(--bg-alt); }
.coastbig .road { stroke: var(--line-strong); fill: none; stroke-width: 2; }
.coastbig .dot { fill: var(--muted); }
.coastbig .tname { fill: var(--muted); font: 500 12px var(--sans); }
.coastbig .rg { cursor: pointer; }
.coastbig .rg rect { fill: var(--surface); stroke: var(--line-strong); transition: fill .25s, stroke .25s; }
.coastbig .rg text { fill: var(--ink); font: 500 13px var(--sans); }
.coastbig .rg.on rect { fill: var(--accent); stroke: var(--accent); }
.coastbig .rg.on text { fill: var(--bg); }
.coastbig .zone { fill: var(--accent); opacity: 0; transition: opacity .3s; }
.coastbig .zone.on { opacity: .16; }
.rtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.rtabs button { border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 8px 14px; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; }
.rtabs button span { color: var(--muted); margin-left: 6px; font-size: 12.5px; }
.rtabs button.on { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.rtabs button.on span { color: inherit; opacity: .7; }
.rpanel { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 3vw, 44px); margin-top: 32px; align-items: start; }
.rpanel__intro h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; }
.rpanel__intro p { color: var(--ink-soft); margin: 14px 0 18px; }
.rpanel__stats { display: flex; gap: 28px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.rpanel__stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: 26px; }
.rpanel__stats span { font-size: 12.5px; color: var(--muted); }
.rpanel .towns { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.rpanel .towns a { font-size: 12.5px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); }
.rpanel .towns a.epchip { border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent); }
.rpanel .cards { grid-template-columns: repeat(3, 1fr); }
.rpanel .card h3 { font-size: 19px; }
@media (max-width: 1000px) { .rpanel { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .rpanel .cards { grid-template-columns: 1fr 1fr; } .rpanel .cards .card:nth-child(3) { display: none; } }

.wtbig .episodes { grid-template-columns: repeat(4, 1fr); }
.wtbig .ep__img { aspect-ratio: 16 / 10; }

.tourvid { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: 2px; }
.tourvid img { width: 100%; height: 100%; object-fit: cover; }
.tourvid .wt__play span { width: 70px; height: 70px; }

/* Valuation */
.val { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.valform { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 34px); }
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.vgrid label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.vgrid select, .vgrid input { width: 100%; height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 12px; background: transparent; }
.vgrid select option { background: var(--surface); }
.vcheck { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.vcheck input { accent-color: var(--accent); margin-right: 6px; }
.vresult { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.vresult .range { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.vresult p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.vvisit { margin-top: 22px; padding: 18px 20px; border: 1px dashed var(--line-strong); border-radius: 10px; }
.vvisit b { font-weight: 500; }
.vvisit p { font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 12px; }
@media (max-width: 900px) { .val { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .vgrid { grid-template-columns: 1fr; } }
.coastbig .sea { fill: color-mix(in srgb, #4f7f99 30%, var(--bg)); }
.coastbig .land { fill: color-mix(in srgb, var(--ink) 7%, var(--surface)); }
[data-theme="light"] .coastbig .sea { fill: color-mix(in srgb, #7fa9c0 35%, var(--surface)); }
[data-theme="light"] .coastbig .land { fill: var(--surface); }
.val ul { border-top: 1px solid var(--line); margin-top: 26px; }
.val ul li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.val ul li b { color: var(--ink); font-weight: 500; }
@media (max-width: 700px) {
  .coastbig { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .coastbig svg { min-width: 760px; }
  .rtabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .rtabs button { flex: none; }
  .rpanel .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 6px; }
  .rpanel .cards .card { flex: 0 0 80%; scroll-snap-align: start; }
  .rpanel .cards .card:nth-child(3) { display: block; }
}

/* ---------- live site additions ---------- */
.input { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; background: transparent; color: var(--ink); font: inherit; }
textarea.input { resize: vertical; }
.card__save.on { background: var(--accent); color: #1a1814; }
.rpanel[hidden] { display: none; }
.coastbig a.rg { cursor: pointer; }
.chip.on { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }

/* =====================================================================
   v6 "Calm" — fewer elements, more space, one hero, one card style
   ===================================================================== */
.calm .util, .calm .fab .alt { display: none; }
.hdr2 { position: absolute; top: 0; left: 0; right: 0; z-index: 30; color: #f3ede2; }
.hdr2 .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 96px; }
.hdr2 nav { display: flex; gap: clamp(18px, 2.4vw, 36px); font-size: 13.5px; letter-spacing: .04em; }
.hdr2 nav a { opacity: .88; } .hdr2 nav a:hover { opacity: 1; }
.hdr2 .r { justify-self: end; align-items: center; }
.hdr2 .logo { width: 128px; background-image: url("../img/logo-gold.svg"); }
.hdr2 .lang a { opacity: .6; } .hdr2 .lang a.on { opacity: 1; }
.hdr2 .menu { display: none; }
@media (max-width: 900px) { .hdr2 .wrap { grid-template-columns: auto 1fr; } .hdr2 nav.l, .hdr2 nav.r .hide-s { display: none; } .hdr2 .logo { width: 104px; } .hdr2 .menu { display: inline; } .hdr2 nav.r { gap: 16px; } }

.hero2 { position: relative; height: min(92vh, 900px); min-height: 560px; color: #f3ede2; overflow: hidden; }
.hero2 video, .hero2 .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,.45) 0%, rgba(10,9,8,0) 25%, rgba(10,9,8,0) 50%, rgba(10,9,8,.7) 100%); }
.hero2 .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(40px, 7vh, 80px); }
.hero2 h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5.4vw, 74px); line-height: 1.04; letter-spacing: -.015em; max-width: 12em; }
.hero2 h1 em { font-style: italic; }
.q { display: flex; align-items: center; max-width: 560px; margin-top: 34px; border-bottom: 1px solid rgba(243,237,226,.55); }
.q input { flex: 1; background: none; border: 0; color: #f3ede2; font-size: 16px; padding: 14px 0; outline: none; }
.q input::placeholder { color: rgba(243,237,226,.75); }
.q button { background: none; border: 0; color: #f3ede2; cursor: pointer; padding: 10px 0 10px 16px; font-size: 14px; letter-spacing: .04em; display: inline-flex; gap: 8px; align-items: center; }

.sec2 { padding: clamp(80px, 11vw, 150px) 0; }
.sec2 + .sec2 { padding-top: 0; }
.head2 { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.head2 h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -.01em; line-height: 1.15; }
.more { font-size: 13.5px; letter-spacing: .03em; color: var(--ink-soft); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; white-space: nowrap; }
.more:hover { color: var(--ink); border-color: var(--ink); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } }
.h { display: block; }
.h__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); }
.h__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.h:hover .h__img img { transform: scale(1.03); }
.h__t { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14.5px; }
.h__t b { font-weight: 400; }
.h__m { font-size: 13px; color: var(--muted); margin-top: 3px; }

.index { border-top: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: clamp(18px, 2.2vw, 26px) 0; border-bottom: 1px solid var(--line); }
.index a span:first-child { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -.01em; transition: color .3s; }
.index a span:last-child { font-size: 13.5px; color: var(--muted); }
.index a:hover span:first-child { color: var(--accent); }

.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split2 .img { aspect-ratio: 4 / 5; overflow: hidden; }
.split2 .img img { width: 100%; height: 100%; object-fit: cover; }
.split2 h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.01em; }
.split2 p { color: var(--ink-soft); margin-top: 20px; max-width: 30em; }
.split2 .more { display: inline-block; margin-top: 28px; }
.split2 > * { min-width: 0; }
@media (max-width: 860px) { .split2 { grid-template-columns: minmax(0, 1fr); } .split2 .img { aspect-ratio: 4 / 3; } }

.facts2 { display: grid; gap: 22px; margin-top: 30px; }
.facts2 div { border-top: 1px solid var(--line); padding-top: 14px; }
.facts2 b { display: block; font-weight: 400; font-size: 15.5px; }
.facts2 span { font-size: 14px; color: var(--muted); }

.quote2 { text-align: center; max-width: 820px; margin: 0 auto; }
.quote2 p { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; }
.quote2 footer { margin-top: 22px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }

.foot2 { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 13.5px; color: var(--ink-soft); }
.foot2 .wrap > div:first-child { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.foot2 h4 { font-weight: 400; color: var(--muted); font-size: 12.5px; margin-bottom: 12px; }
.foot2 li + li { margin-top: 6px; }
.foot2 a:hover { color: var(--ink); }
.foot2 .q { margin-top: 0; border-color: var(--line-strong); }
.foot2 .q input { color: var(--ink); font-size: 14px; } .foot2 .q input::placeholder { color: var(--muted); } .foot2 .q button { color: var(--ink); }
.foot2 .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 56px; color: var(--muted); font-size: 12.5px; }
.foot2 .legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 860px) { .foot2 .wrap > div:first-child { grid-template-columns: 1fr 1fr; } }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(23,22,19,.85); border: 1px solid var(--line-strong); color: var(--ink); backdrop-filter: blur(8px); }
.wa svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .calm .grid4 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); scrollbar-width: none; }
  .calm .grid4 .h { flex: 0 0 76%; scroll-snap-align: start; }
}

/* v6 calm: inner pages */
.hdr2--solid { position: relative; color: var(--ink); border-bottom: 1px solid var(--line); }
.page2 { padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 140px); }
.page2 h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -.015em; }
.page2 .sub { color: var(--muted); font-size: 14px; margin-top: 10px; }
.filters2 { display: flex; flex-wrap: wrap; gap: 0 28px; align-items: center; margin: 34px 0 40px; border-bottom: 1px solid var(--line); }
.filters2 .q { flex: 1 1 260px; margin: 0; border: 0; }
.filters2 .q input { color: var(--ink); } .filters2 .q input::placeholder { color: var(--muted); }
.filters2 select { background: transparent; border: 0; color: var(--ink-soft); font-size: 14px; padding: 14px 18px 14px 0; cursor: pointer; appearance: none; -webkit-appearance: none; }
.filters2 select option { background: var(--surface); color: var(--ink); }
.filters2 button { background: none; border: 0; color: var(--ink); font-size: 14px; cursor: pointer; padding: 14px 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 2.6vw, 40px) clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: center; gap: 28px; margin-top: 56px; font-size: 14px; color: var(--muted); }
.note2 { font-size: 13px; color: var(--muted); margin-top: 48px; max-width: 40em; }

.ahero2 { position: relative; height: min(70vh, 720px); min-height: 440px; color: #f3ede2; overflow: hidden; }
.ahero2 img, .ahero2 video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ahero2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,.45), rgba(10,9,8,0) 30%, rgba(10,9,8,.65)); }
.ahero2 .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(36px, 6vh, 64px); }
.ahero2 h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.02em; }
.ahero2 p { max-width: 32em; margin-top: 14px; opacity: .9; }

.gal2 { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; height: clamp(320px, 52vw, 680px); }
.gal2 > div { overflow: hidden; background: var(--bg-alt); }
.gal2 img { width: 100%; height: 100%; object-fit: cover; }
.gal2 .side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; background: none; }
.gal2 .side > div { overflow: hidden; position: relative; }
.gal2 .count { position: absolute; right: 14px; bottom: 12px; font-size: 13px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (max-width: 760px) { .gal2 { grid-template-columns: 1fr; height: auto; } .gal2 > div:first-child { aspect-ratio: 4 / 3; } .gal2 .side { display: none; } }
.prop2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 96px); margin-top: clamp(36px, 4vw, 56px); align-items: start; }
@media (max-width: 1000px) { .prop2 { grid-template-columns: 1fr; } }
.prop2 .price { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.4vw, 32px); margin-top: 18px; }
.prop2 .line { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }
.prop2 .txt { margin-top: 36px; color: var(--ink-soft); max-width: 38em; }
.prop2 .txt p { margin-bottom: 1em; }
.dl2 { margin-top: 44px; border-top: 1px solid var(--line); }
.dl2 div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.dl2 dt, .dl2 span { color: var(--muted); }
.contact2 { position: sticky; top: 32px; }
.contact2 h3 { font-family: var(--serif); font-weight: 300; font-size: 22px; }
.contact2 p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.contact2 form { display: grid; gap: 4px; margin-top: 18px; }
.contact2 input, .contact2 textarea { background: none; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); padding: 12px 0; font: inherit; font-size: 14.5px; outline: none; resize: vertical; }
.contact2 .send { margin-top: 18px; background: var(--btn-bg); color: var(--btn-ink); border: 0; padding: 14px 18px; font-size: 14px; letter-spacing: .03em; cursor: pointer; }
.contact2 .alt { display: block; margin-top: 14px; font-size: 13.5px; color: var(--ink-soft); }
.contact2 label.small { font-size: 12px; color: var(--muted); margin-top: 10px; }
.list2 { border-top: 1px solid var(--line); margin-top: 26px; }
.list2 li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); display: grid; grid-template-columns: 40px 1fr; }
.list2 li b { font-weight: 400; color: var(--ink); display: block; }
.list2 li i { font-style: normal; color: var(--muted); font-size: 13px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .cols2 { grid-template-columns: 1fr; } }
.valform2 { border-top: 1px solid var(--line); }
.valform2 .vgrid { margin-top: 22px; }
.valform2 .vgrid select, .valform2 .vgrid input { border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 0; height: 44px; }
.valform2 .vvisit { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 0; }
.valform2 .field input { border-radius: 0; border: 0; border-bottom: 1px solid var(--line-strong); padding: 0; }
.valform2 .btn { border-radius: 0; }
.calc2 summary { cursor: pointer; font-size: 14.5px; padding: 14px 0; border-bottom: 1px solid var(--line); list-style: none; }
.calc2 summary::after { content: " +"; color: var(--muted); }
.calc2[open] summary::after { content: " –"; }
.calc2 .calc__box { background: none; border: 0; padding: 18px 0 0; }
@media (max-width: 900px) {
  .hdr2.open { position: fixed; inset: 0; background: var(--bg); color: var(--ink); z-index: 60; }
  .hdr2.open .wrap { height: auto; padding-top: 28px; grid-template-columns: 1fr auto; align-items: start; }
  .hdr2.open nav.l { display: flex; flex-direction: column; gap: 18px; grid-column: 1 / -1; grid-row: 2; margin-top: 48px; font-family: var(--serif); font-size: 30px; letter-spacing: 0; }
  .hdr2.open nav.r { flex-direction: column; align-items: flex-end; }
  .hdr2.open nav.r .hide-s { display: inline; }
}

/* =====================================================================
   Theme "vogue" (Vogue Clinic design language): linen, warm white, anthracite
   ===================================================================== */
[data-theme="vogue"] {
  --bg: #efe9df; --bg-alt: #e6dfd3; --surface: #faf7f1;
  --ink: #2b2822; --ink-soft: #4e4a41; --muted: #8a8174;
  --line: rgba(43, 40, 34, .13); --line-strong: rgba(43, 40, 34, .26);
  --accent: #8e7337; --accent-soft: #c9b48f;
  --btn-bg: #2b2822; --btn-ink: #faf7f1;
  --band-bg: #26241f; --band-ink: #efe9df; --band-muted: #a89f91;
  --logo: url("../img/logo-ink.svg");
  color-scheme: light;
}
[data-theme="vogue"] .hdr2--solid { background: rgba(239, 233, 223, .94); backdrop-filter: blur(10px); }
[data-theme="vogue"] .hdr2--solid .logo { background-image: url("../img/logo-ink.svg"); }
[data-theme="vogue"] .foot2 { background: #191713; color: #cfc7b9; border-top: 0; --ink: #efe9df; --ink-soft: #cfc7b9; --muted: #a89f91; --line: rgba(239,233,223,.12); --line-strong: rgba(239,233,223,.24); }
[data-theme="vogue"] .foot2 .logo { background-image: url("../img/logo-gold.svg"); }
[data-theme="vogue"] .wa { background: rgba(250, 247, 241, .92); color: #2b2822; border-color: rgba(43,40,34,.15); }
[data-theme="vogue"] .h__img, [data-theme="vogue"] .split2 .img { background: #e6dfd3; }
[data-theme="vogue"] .eyebrow { color: #8a8174; }

/* Dark band inside any theme (Walk & Talk) */
.band2 { background: var(--band-bg); color: var(--band-ink); --ink: var(--band-ink); --ink-soft: color-mix(in srgb, var(--band-ink) 82%, transparent); --muted: var(--band-muted); --line: rgba(239,233,223,.13); --line-strong: rgba(239,233,223,.28); }
.band2 .more { color: var(--band-ink); }

/* Version B: Walk & Talk path */
.wtline { margin-top: 18px; font-size: 13.5px; letter-spacing: .02em; color: rgba(243,237,226,.88); }
.wtline a { border-bottom: 1px solid rgba(243,237,226,.45); padding-bottom: 2px; }
.wtline a:hover { border-color: #f3ede2; }
.offers { margin-top: 30px; border-top: 1px solid var(--line); }
.offers > div, .offers > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.offers > a span:last-child { color: var(--muted); }
.offers > a:hover span:first-child { color: var(--accent-soft); }
.offers form { display: flex; gap: 0; align-items: center; border-bottom: 1px solid var(--line-strong); min-width: 0; }
.offers form input { background: none; border: 0; color: var(--ink); padding: 8px 0; font: inherit; font-size: 14px; outline: none; min-width: 0; width: 200px; }
.offers form input::placeholder { color: var(--muted); }
.offers form button { background: none; border: 0; color: var(--ink); cursor: pointer; font-size: 14px; padding: 8px 0 8px 12px; white-space: nowrap; }
.offers .consent { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .offers > div { grid-template-columns: 1fr; } .offers form input { width: 100%; } }
.nextwalks { margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.index .film { font-size: 12.5px; color: var(--accent-soft); margin-left: 10px; font-family: var(--sans); letter-spacing: .02em; }
.sec2.band2, .band2 + .sec2 { padding-top: clamp(80px, 11vw, 150px); }
.band2 .chapters li { border-color: rgba(239,233,223,.13); }
.contact2 .sel2 { background: none; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); padding: 12px 0; font: inherit; font-size: 14.5px; appearance: none; -webkit-appearance: none; border-radius: 0; }
.contact2 .sel2 option { background: var(--surface); color: var(--ink); }
.ytwelcome { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 2vw, 26px); color: var(--ink-soft); margin-bottom: 28px; max-width: 34em; }

/* =====================================================================
   Version C "mix": old structure, calm finish, professional components
   Scope: body.mix
   ===================================================================== */
.mix { --r-sm: 4px; --r-md: 10px; --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 28px rgba(0,0,0,.08); }
[data-theme="dark"] .mix, .mix[data-theme="dark"] { --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); }

/* Rhythm: more air between sections, fewer visual breaks */
.mix .sec { padding: clamp(80px, 10vw, 136px) 0; }
.mix .sec--tight { padding: clamp(56px, 7vw, 96px) 0; }
.mix .sec__head { margin-bottom: clamp(28px, 3.4vw, 44px); }
.mix .eyebrow { font-size: 11px; letter-spacing: .22em; }
.mix .h2 { font-size: clamp(30px, 3.2vw, 44px); }
.mix .lede { font-size: 16.5px; line-height: 1.7; }

/* Utility bar + header: slimmer and quieter */
.mix .util { font-size: 12px; }
.mix .util .wrap { height: 34px; }
.mix .hdr .wrap { height: 72px; }
.mix .nav { gap: clamp(18px, 2vw, 30px); font-size: 14px; letter-spacing: .01em; }
.mix .hero__copy .lede { font-size: 16px; max-width: 32em; }

/* ---------- Pills (one system for chips, tabs, tags, segmented controls) ---------- */
.mix .chip, .mix .rtabs button, .mix .seg button, .mix .filterbar .chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 15px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent;
  font-size: 13px; font-weight: 500; letter-spacing: .015em; color: var(--ink-soft);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.mix .chip:hover, .mix .rtabs button:hover { border-color: var(--ink); color: var(--ink); }
.mix .chip.on, .mix .rtabs button.on, .mix .seg button.on { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }
.mix .rtabs button span { font-weight: 400; opacity: .6; font-variant-numeric: tabular-nums; }
.mix .chips { gap: 8px; margin-top: 18px; }
.mix .chips .chip:nth-child(n+4) { display: none; }              /* hero: three curated pills only; areas live in the map */
.mix .seg { border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.mix .seg button { height: 30px; border: 0; }
/* Small tags on images */
.mix .card__tag, .mix .ep__badge {
  top: 12px; left: 12px; height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(250, 248, 243, .9); color: #1a1814; backdrop-filter: blur(6px);
}
/* Energy label as a refined mini pill */
.mix .epc { gap: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.mix .epc i { min-width: 22px; height: 18px; display: inline-grid; place-items: center; padding: 0 5px; border-radius: 4px; font-size: 10.5px; letter-spacing: 0; }

/* ---------- Cards ---------- */
.mix .cards { gap: clamp(20px, 2.2vw, 32px); }
.mix .card { border-radius: var(--r-md); }
.mix .card__img { border-radius: var(--r-md); aspect-ratio: 4 / 3.1; }
.mix .card__save { width: 34px; height: 34px; top: 12px; right: 12px; background: rgba(250,248,243,.9); backdrop-filter: blur(6px); transition: transform .2s var(--ease); }
.mix .card__save:hover { transform: scale(1.06); }
.mix .card__body { padding-top: 16px; }
.mix .card__loc { font-size: 11px; letter-spacing: .16em; }
.mix .card__ref { font-size: 11px; font-variant-numeric: tabular-nums; opacity: .7; }
.mix .card h3 { font-size: 20px; line-height: 1.3; margin: 8px 0 10px; transition: color .2s; }
.mix .card:hover h3 { color: var(--accent); }
.mix .card__facts { gap: 0; font-size: 13px; color: var(--muted); }
.mix .card__facts span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; background: var(--line-strong); margin: 0 10px; vertical-align: -1px; }
.mix .card__price { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); align-items: center; }
.mix .card__price b { font-size: 21px; font-variant-numeric: tabular-nums; }

/* ---------- Tables (costs, network, area facts, property data) ---------- */
.mix .calc__box, .mix .valform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
.mix .calc__rows { border-top: 1px solid var(--line); margin-top: 20px; }
.mix .calc__rows div { padding: 12px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.mix .calc__rows div span:last-child { font-weight: 500; }
.mix .calc__rows .tot { border-top: 1px solid var(--line-strong); margin-top: 4px; }
.mix .network { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-top: 28px; }
.mix .network div { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.mix .network div:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 18px; }
.mix .network div:nth-last-child(-n+2) { border-bottom: 0; }
.mix .network b { font-size: 14.5px; }
.mix .liketable, .mix .facts { font-variant-numeric: tabular-nums; }
.mix .facts { border: 1px solid var(--line); border-radius: var(--r-md); }
.mix .facts div { padding: 18px 20px; }
.mix .facts div:first-child { padding-left: 20px; }

/* Proof strip as a quiet 4-column table */
.mix .proof { border: 1px solid var(--line); border-radius: var(--r-md); margin-top: clamp(48px, 6vw, 80px); }
.mix .proof > div { padding: 22px 24px; }
.mix .proof > div:first-child { padding-left: 24px; }
.mix .proof b { font-size: 26px; }

/* Search panel */
.mix .search { border-radius: var(--r-md); box-shadow: var(--shadow); padding: 6px; }
.mix .search .btn { border-radius: 8px; }

/* Map explorer */
.mix .coastbig { border-radius: var(--r-md); }
.mix .rtabs { gap: 8px; margin-top: 20px; }
.mix .rpanel { margin-top: 36px; }
.mix .rpanel__stats { font-variant-numeric: tabular-nums; }
.mix .region .towns a, .mix .rpanel .towns a { border-radius: 999px; height: 28px; display: inline-flex; align-items: center; padding: 0 12px; }

/* Timeline (property tours) */
.mix .timeline { border-left-color: var(--line-strong); }
.mix .timeline li::before { width: 7px; height: 7px; left: -28px; top: 8px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }

/* Buttons: one primary, one quiet */
.mix .btn { height: 44px; padding: 0 22px; font-size: 14px; letter-spacing: .01em; }
.mix .btn--line { border-color: var(--line-strong); }

/* Footer */
.mix .ftr { padding-top: clamp(64px, 8vw, 104px); }

/* Team grid (all versions) */
.team2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 22px 18px; margin-top: 16px; }
.team2 figure { margin: 0; }
.team2 img { width: 100%; max-width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--bg-alt); filter: saturate(.92); }
.team2 b { display: block; font-weight: 500; font-size: 14.5px; margin-top: 10px; color: var(--ink); }
.team2 span { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.team2 img { border-radius: 50%; max-width: 132px; }

/* Team section: cards with photo, pills and short bio (all versions, both themes) */
.teamsec { padding: 88px 0; border-top: 1px solid var(--line); }
.teamsec__head { max-width: 640px; margin-bottom: 40px; }
.teamsec__head h2 { margin-top: 14px; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 400; }
.teamcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .teamcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .teamcards { grid-template-columns: 1fr; } }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px 26px; display: flex; flex-direction: column; align-items: flex-start; }
.tcard img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--bg-alt); filter: saturate(.92); }
.tcard h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 18px 0 10px; color: var(--ink); }
.tcard__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tpill { font-size: 11.5px; letter-spacing: .02em; line-height: 1; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tpill--solid { background: var(--btn-bg); border-color: transparent; color: var(--btn-ink); }
.tcard p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
@media (max-width: 600px) { .teamsec { padding: 60px 0; } }

/* Loading bar shown after a click while the next page (e.g. a Resales search) loads */
.loadbar { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 9999; opacity: 0; pointer-events: none; }
body.is-loading .loadbar { opacity: 1; animation: loadbar 6s cubic-bezier(.1,.7,.2,1) forwards; }
body.is-loading { cursor: progress; }
@keyframes loadbar { from { width: 0; } to { width: 92%; } }

/* Network: soft cards with a pill, instead of a table */
.netcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.ncard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ncard b { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.25; color: var(--ink); }
.ncard p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 560px) { .netcards { grid-template-columns: 1fr; } }

/* Sunken lounge hero: keep fire and pool in view on every screen */
.hero2 .poster, .hero__media .poster { object-position: 62% 70%; }

/* Theme "mix": starts dark (hero, homes), fades into champagne/linen from "About us" down; footer stays dark */
.tone-fade { display: none; }
[data-tone="mix"] .tone-fade { display: block; height: clamp(140px, 18vw, 260px); background: linear-gradient(180deg, #121213 0%, #36312a 35%, #b9a888 75%, #efe9df 100%); }
[data-tone="mix"] .tone-light {
  --bg: #efe9df; --bg-alt: #e6dfd3; --surface: #faf7f1;
  --ink: #2b2822; --ink-soft: #4e4a41; --muted: #8a8174;
  --line: rgba(43, 40, 34, .13); --line-strong: rgba(43, 40, 34, .26);
  --accent: #8e7337; --accent-soft: #c9b48f;
  --btn-bg: #2b2822; --btn-ink: #faf7f1;
  background: var(--bg); color: var(--ink); color-scheme: light;
}

/* "Free for buyers" note under the tour timeline */
.tourfree { margin: 6px 0 22px; padding: 14px 18px; border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); max-width: 560px; }

/* Why list with us */
.whysec__head { max-width: 640px; margin-bottom: 40px; }
.whysec__head h2 { margin-top: 14px; }
.whysec__head .lede { margin-top: 14px; }
.whygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.whyitem { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; }
.whyitem__n { display: block; font-family: var(--serif); color: var(--accent); font-size: 15px; letter-spacing: .08em; margin-bottom: 14px; }
.whyitem b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--ink); margin-bottom: 8px; }
.whyitem p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.whysec__cta { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
@media (max-width: 900px) { .whygrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .whygrid { grid-template-columns: 1fr; } }

/* Version C hero: text centred next to the photo, not sitting at the bottom */
.mix .hero__grid { align-items: center; }
.mix .hero__copy { padding-bottom: 0; }

/* Headline accent font options (?font=): 1 = Fraunces italic, crisper (default)
   2 = Cormorant Garamond italic, classic   3 = no italic, accent only in champagne */
[data-font="1"] .serif em, [data-font="1"] h1 em { font-variation-settings: "opsz" 144, "SOFT" 0; font-weight: 300; }
[data-font="2"] .serif em, [data-font="2"] h1 em { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 1.08em; letter-spacing: 0; font-variation-settings: normal; }
[data-font="3"] .serif em, [data-font="3"] h1 em { font-style: normal; color: var(--accent-soft); font-variation-settings: "opsz" 144, "SOFT" 0; }
/* Map sea: a calm, slightly deeper Mediterranean tone instead of grey */
.coastbig .sea { fill: color-mix(in srgb, #4f7f99 30%, var(--surface)); }

/* Slider for "Homes we would show a friend": smaller cards, arrows */
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; min-width: 0; }
.slider__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.slider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.slider__btn:hover { border-color: var(--accent); color: var(--accent); }
.slider__btn[disabled] { opacity: .3; cursor: default; }
@media (max-width: 1100px) { .slider__track { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 760px) { .slider__track { grid-auto-columns: 78%; } }
.review .stars { display: block; color: var(--accent); letter-spacing: 2px; font-size: 13px; margin-bottom: 12px; }
.review p { font-size: 18px; }

/* Logo gold (from the logo SVG) and the logo-style lettering (option 4, default) */
:root { --gold-1: #D6B25C; --gold-2: #B8954A; --gold: linear-gradient(180deg, var(--gold-1), var(--gold-2)); --logo-sans: "Montserrat", var(--sans); }
[data-font="4"] .serif em, [data-font="4"] h1 em {
  display: inline-block; font-family: var(--logo-sans); font-style: normal; font-weight: 300; text-transform: uppercase;
  font-size: .56em; letter-spacing: .16em; line-height: 1.3; margin-top: .25em;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variation-settings: normal;
}
[data-theme="vogue"][data-font="4"] .serif em, [data-tone="mix"] .tone-light .serif em { background: linear-gradient(180deg, #b8954a, #8e7337); -webkit-background-clip: text; background-clip: text; }

/* Hero caption and Walk & Talk button in logo gold */
.hero__cap { left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(180deg, rgba(10,10,11,0), rgba(10,10,11,.62)); text-shadow: none; }
.hero__cap > span { font-family: var(--logo-sans); font-weight: 400; text-transform: uppercase; letter-spacing: .18em; font-size: 11.5px; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-flex; align-items: center; gap: 12px; }
.hero__cap > span::before { content: ""; width: 28px; height: 1px; background: var(--gold-1); display: inline-block; }
.hero__cap a { background: rgba(10,10,11,.35); border: 1px solid rgba(214,178,92,.7); color: var(--gold-1); font-family: var(--logo-sans); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; padding: 9px 16px 9px 12px; }
.hero__cap a:hover { background: rgba(214,178,92,.14); }
.hero__cap .playdot { background: var(--gold-1); }

/* Property tours: four steps with small photos */
.tours__head { max-width: 680px; margin-bottom: 36px; }
.tours__head .h2 { margin-top: 14px; }
.tours__head .lede { margin-top: 14px; }
.tsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tstep time { display: block; font-family: var(--logo-sans); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--gold-1); margin: 16px 0 6px; }
.tstep b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.25; color: var(--ink); }
.tstep p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.tstep__img { position: relative; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.tstep__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.tsum { position: absolute; right: 8px; bottom: 8px; width: 62%; background: rgba(250,247,241,.96); color: #2b2822; border-radius: 6px; padding: 8px 9px; box-shadow: 0 6px 20px rgba(0,0,0,.35); font-size: 8.5px; line-height: 1.35; }
.tsum__brand { display: block; font-family: var(--logo-sans); text-transform: uppercase; letter-spacing: .12em; font-size: 6.5px; color: #8e7337; }
.tsum b { display: block; font-family: var(--serif); font-weight: 400; font-size: 10.5px; margin: 2px 0 5px; }
.tsum__row { display: flex; align-items: center; gap: 5px; border-top: 1px solid rgba(43,40,34,.12); padding: 3px 0; }
.tsum__row i { font-style: normal; width: 12px; height: 12px; border-radius: 50%; background: #2b2822; color: #faf7f1; display: grid; place-items: center; font-size: 7px; }
.tsum__row em { margin-left: auto; font-style: normal; color: #b8954a; letter-spacing: 1px; }
.tours__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.tours__foot .tourfree { margin: 0; }
@media (max-width: 1000px) { .tsteps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tsteps { grid-template-columns: 1fr; } .tsum { width: 58%; } }

/* Walk & Talk: a row of town films */
.wtrow__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.wtrow__head > div { max-width: 640px; }
.wtrow__head .h2 { margin-top: 14px; }
.wtrow__head .lede { margin-top: 14px; }
.films { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.film { display: block; color: inherit; text-decoration: none; }
.film__img { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #1b1b1d; }
.film__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.film:hover .film__img img { transform: scale(1.04); }
.film--soon .film__img img { filter: grayscale(.35) brightness(.7); }
.film__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; border: 1px solid rgba(214,178,92,.85); background: rgba(10,10,11,.45); backdrop-filter: blur(6px); }
.film__play::before { content: ""; position: absolute; left: 21px; top: 17px; border-left: 14px solid var(--gold-1); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.film b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; margin-top: 12px; }
.film span { display: block; font-family: var(--logo-sans); text-transform: uppercase; letter-spacing: .16em; font-size: 10.5px; color: var(--gold-1); margin-top: 4px; }
.film--soon span { color: var(--band-muted, #9c9385); }
@media (max-width: 900px) { .films { grid-template-columns: 1fr 1fr; } }

/* Google reviews: original text, teaser with read more */
.greviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.grev { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; display: flex; flex-direction: column; }
.grev header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.grev__stars { color: var(--gold-1); letter-spacing: 2px; font-size: 14px; }
.grev__src { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.grev__text { margin: 0; white-space: pre-line; font-family: var(--serif); font-weight: 300; font-size: 16.5px; line-height: 1.55; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.grev.is-open .grev__text { -webkit-line-clamp: unset; display: block; }
.grev__more { align-self: flex-start; margin-top: 10px; background: none; border: 0; padding: 0; color: var(--accent); font: 500 13px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.grev footer { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.grev footer b { font-weight: 500; color: var(--ink); }
.grev footer span { color: var(--muted); }
@media (max-width: 1000px) { .greviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .greviews { grid-template-columns: 1fr; } }

/* =====================================================================
   Theme "noir" (Claude's recommendation): deep black, ivory type, logo gold
   only as fine accents. Fewer surfaces, more air: cards are outlined, not filled.
   ===================================================================== */
[data-tone="noir"] {
  --bg: #0b0b0c; --bg-alt: #0f0f11; --surface: #121214;
  --ink: #f3eee5; --ink-soft: #d2ccc1; --muted: #8e897f;
  --line: rgba(214, 178, 92, .14); --line-strong: rgba(214, 178, 92, .34);
  --accent: #d6b25c; --accent-soft: #d6b25c;
  --btn-bg: transparent; --btn-ink: #d6b25c;
  --band-bg: #070708; --band-ink: #f3eee5; --band-muted: #8e897f;
}
[data-tone="noir"] body { background: var(--bg); }
[data-tone="noir"] .eyebrow { color: var(--gold-1); letter-spacing: .24em; }
[data-tone="noir"] .btn { background: transparent; color: var(--gold-1); border: 1px solid rgba(214,178,92,.75); }
[data-tone="noir"] .btn:hover { background: var(--gold-1); color: #0b0b0c; opacity: 1; }
[data-tone="noir"] .band .btn { background: transparent; color: var(--gold-1); border-color: rgba(214,178,92,.75); }
[data-tone="noir"] .sec--alt { background: var(--bg); }
[data-tone="noir"] .sec + .sec, [data-tone="noir"] .sec + section, [data-tone="noir"] .teamsec { border-top: 1px solid var(--line); }
[data-tone="noir"] .tcard, [data-tone="noir"] .whyitem, [data-tone="noir"] .grev, [data-tone="noir"] .ncard, [data-tone="noir"] .search, [data-tone="noir"] .tourfree { background: transparent; }
[data-tone="noir"] .serif, [data-tone="noir"] .h2, [data-tone="noir"] h2 { font-weight: 300; }
[data-tone="noir"] .tpill--solid { background: transparent; color: var(--gold-1); border-color: rgba(214,178,92,.6); }
[data-tone="noir"] .whyitem__n { color: var(--gold-1); }
[data-tone="noir"] .coastbig .sea { fill: #101820; }
[data-tone="noir"] .coastbig .land { fill: #141416; }
[data-tone="noir"] .coastbig .road { stroke: rgba(214,178,92,.55); }
[data-tone="noir"] .card .price, [data-tone="noir"] .card b { color: var(--ink); }

/* =====================================================================
   Theme "sand" (fifth option): Mediterranean editorial. Warm sand and stone,
   espresso type, bronze gold; header and footer espresso for a firm frame.
   ===================================================================== */
[data-tone="sand"] {
  --bg: #ece5d9; --bg-alt: #e4dbcc; --surface: #f5f0e7;
  --ink: #2a2520; --ink-soft: #4a4239; --muted: #7b7165;
  --line: rgba(42, 37, 32, .12); --line-strong: rgba(42, 37, 32, .26);
  --accent: #9a7b3c; --accent-soft: #c2a265;
  --btn-bg: #2a2520; --btn-ink: #f5f0e7;
  --band-bg: #2a2520; --band-ink: #f1eadf; --band-muted: #b4a998;
}
[data-tone="sand"] body { background: var(--bg); }
[data-tone="sand"] .eyebrow { color: var(--accent); }
[data-tone="sand"] .hdr { background: rgba(42, 37, 32, .96); border-bottom-color: rgba(214,178,92,.2); --ink: #f1eadf; --ink-soft: #d9d0c2; --muted: #b4a998; --line: rgba(241,234,223,.14); --line-strong: rgba(241,234,223,.3); --btn-bg: #f1eadf; --btn-ink: #2a2520; color: #f1eadf; }
[data-tone="sand"] .hdr, [data-tone="sand"] .util, [data-tone="sand"] .ftr { --logo: url("../img/logo-gold.svg"); }
[data-tone="sand"] .util { background: #211d19; border-bottom-color: rgba(214,178,92,.16); --ink: #f1eadf; --muted: #b4a998; --line: rgba(241,234,223,.12); color: #b4a998; }
[data-tone="sand"] .ftr { background: #2a2520; color: #d9d0c2; border-top: 0; --ink: #f1eadf; --ink-soft: #d9d0c2; --muted: #b4a998; --line: rgba(241,234,223,.12); --line-strong: rgba(241,234,223,.28); }
[data-tone="sand"] .coastbig .sea { fill: #c9d3d3; }
[data-tone="sand"] .coastbig .land { fill: #e4dbcc; }

/* Hero photo (all themes): softer corners and a slow, gentle zoom */
.hero__media { border-radius: 18px; }
.hero__media .poster { animation: heroZoom 24s ease-in-out infinite alternate; transform-origin: 62% 70%; will-change: transform; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .hero__media .poster { animation: none; } }

/* Sand: colour rhythm. Black frame (header, hero, Walk & Talk, footer); between them
   bright champagne and dark champagne alternate, section by section. */
[data-tone="sand"] :is(.util, .hdr, .hero, #walk, .ftr) {
  --bg: #121213; --bg-alt: #19191b; --surface: #1e1e21;
  --ink: #f1ebe1; --ink-soft: #d6cfc4; --muted: #9a9389;
  --line: rgba(241, 235, 225, .12); --line-strong: rgba(241, 235, 225, .26);
  --accent: #d6b25c; --accent-soft: #d6b25c;
  --btn-bg: #f1ebe1; --btn-ink: #121213;
  --band-bg: #121213; --band-ink: #f1ebe1; --band-muted: #9a9389;
  --logo: url("../img/logo-gold.svg");
  background: #121213; color: var(--ink); color-scheme: dark;
}
[data-tone="sand"] .hdr { background: rgba(18, 18, 19, .96); border-bottom-color: rgba(214, 178, 92, .16); }
[data-tone="sand"] .util { background: #0e0e0f; }
[data-tone="sand"] .hero { padding-bottom: clamp(40px, 5vw, 64px); }
[data-tone="sand"] .hero .eyebrow { color: var(--muted); }
[data-tone="sand"] .hero .serif em { background: var(--gold); -webkit-background-clip: text; background-clip: text; }
[data-tone="sand"] .ftr { border-top: 0; }
/* bright champagne */
[data-tone="sand"] :is(#areas, #tours, #team, #reviews, #valuation) { background: #ece5d9; }
/* dark champagne */
[data-tone="sand"] :is(#friends, #about, #costs, #why, #alerts) { background: #e1d6c3; --surface: #f3ede3; }

/* Map relief: hidden by default, used by the light "sand" theme for a more natural map */
.coastbig .relief, .coastbig .beach { display: none; }
[data-tone="sand"] .coastbig { background: #f3ede3; border-radius: 14px; border-color: rgba(42,37,32,.1); }
[data-tone="sand"] .coastbig .sea { fill: url(#mapSea); }
[data-tone="sand"] .coastbig .land { fill: url(#mapLand); }
[data-tone="sand"] .coastbig .relief { display: inline; fill: #8f8a66; opacity: .55; }
[data-tone="sand"] .coastbig .beach { display: inline; fill: none; stroke: #f4ecd8; stroke-width: 7; stroke-linejoin: round; opacity: .9; }
[data-tone="sand"] .coastbig .road { stroke: rgba(255,255,255,.55); stroke-width: 1.2; }
[data-tone="sand"] .coastbig .dot { fill: #2a2520; }
[data-tone="sand"] .coastbig .tname { fill: #2a2520; font-weight: 500; paint-order: stroke; stroke: rgba(243,237,227,.75); stroke-width: 3px; }

/* Seller steps with small photos; new-build banner */
.step__img { aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; margin-bottom: 14px; background: var(--bg-alt); }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.ndhero { position: relative; height: clamp(260px, 38vw, 460px); overflow: hidden; color: #f5efe5; }
.ndhero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ndhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.05) 30%, rgba(10,10,11,.6)); }
.ndhero .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 30px; }
.ndhero .eyebrow { color: var(--gold-1); }
.ndhero p { max-width: 560px; margin: 10px 0 0; font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); line-height: 1.35; }
.ourhome img { border-radius: 14px; }
.ndhero::after { background: linear-gradient(180deg, rgba(10,10,11,0) 25%, rgba(10,10,11,.45) 60%, rgba(10,10,11,.82)); }
.ndhero p { text-shadow: 0 1px 14px rgba(0,0,0,.5); }

/* Why list with us: text and the "on the phone in the sea" photo side by side */
.whysec__top.has-photo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: 40px; }
.whysec__top.has-photo .whysec__head { margin-bottom: 0; }
.whyphoto { margin: 0; position: relative; border-radius: 14px; overflow: hidden; }
.whyphoto img { width: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.whyphoto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; background: linear-gradient(180deg, rgba(10,10,11,0), rgba(10,10,11,.55)); font-family: var(--logo-sans); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; color: var(--gold-1); }
@media (max-width: 900px) { .whysec__top.has-photo { grid-template-columns: 1fr; } }
.whyphoto { aspect-ratio: 3 / 2; }
.whyphoto img { height: 100%; aspect-ratio: auto; }

/* Round 7 */
/* Hero photo: clear zoom when the mouse is over it (replaces the barely visible slow zoom) */
.hero__media .poster { animation: none; transition: transform 1.4s var(--ease); }
.hero__media:hover .poster { transform: scale(1.06); }
/* caption without the line in front */
.hero__cap > span::before { display: none; }
/* search: button vertically centred, same height as the fields */
.search { align-items: center; }
.search .btn, .mix .search .btn { align-self: center; height: 48px; }
.searchlabel { display: block; margin: clamp(28px, 3vw, 40px) 0 -18px; }
.searchlabel + .search { margin-top: 28px; }
/* area buttons: 4 + 4 */
.rtabs, .mix .rtabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rtabs button { display: flex; justify-content: center; align-items: center; }
@media (max-width: 700px) { .rtabs, .mix .rtabs { grid-template-columns: 1fr 1fr; } }
/* reviews: all cards in a row end on one line */
.greviews { align-items: stretch; }
.grev footer { margin-top: auto; }
.grev__more { margin-bottom: 4px; }
.grev__text { min-height: calc(1.55em * 7); }
/* who pays */
.tourfree b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }

/* Costa del Golf */
.golfsec__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.golfsec__img { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.golfsec__img img { width: 100%; height: 100%; object-fit: cover; }
.golfsec__img figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; background: linear-gradient(180deg, rgba(10,10,11,0), rgba(10,10,11,.55)); font-family: var(--logo-sans); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; color: var(--gold-1); }
.golfsec .h2 { margin-top: 14px; }
.golfsec .lede { margin-top: 16px; }
.golfsec__list { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.golfsec__list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 190px 1fr; gap: 16px; align-items: baseline; }
.golfsec__list b { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--ink); }
.golfsec__list span { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) { .golfsec__grid { grid-template-columns: 1fr; } .golfsec__list li { grid-template-columns: 1fr; gap: 4px; } }
/* sand rhythm with the golf section: golf bright, tours dark */
[data-tone="sand"] #golf { background: #ece5d9; }
[data-tone="sand"] #tours { background: #e1d6c3; --surface: #f3ede3; }
.golfintro { padding-top: clamp(36px, 5vw, 64px); max-width: 860px; }
.golfintro .lede { margin-top: 12px; font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--ink); }
/* golf now sits after the costs section */
[data-tone="sand"] #golf { background: #ece5d9; }
/* Sand rhythm (final order): areas B, friends D, tours B, walk black, about D, team B, costs D, golf B, reviews D, why B, valuation D, alerts B */
[data-tone="sand"] :is(#areas, #tours, #team, #golf, #why, #alerts) { background: #ece5d9; --surface: #f5f0e7; }
[data-tone="sand"] :is(#friends, #about, #costs, #reviews, #valuation) { background: #e1d6c3; --surface: #f3ede3; }
.golfsec__grid--text { grid-template-columns: 1fr; max-width: 820px; }
.golfsec__img { aspect-ratio: 4 / 5; max-height: 640px; justify-self: center; width: 100%; max-width: 520px; }
.golfintro--photo { max-width: none; display: grid; grid-template-columns: 1fr 200px; gap: clamp(24px, 4vw, 56px); align-items: center; }
.golfintro--photo figure { margin: 0; }
.golfintro--photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; display: block; }
.golfintro--photo figcaption { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: 8px; }
@media (max-width: 700px) { .golfintro--photo { grid-template-columns: 1fr 120px; } }
.golfintro--photo img { height: auto; }
.golfintro--photo figure { width: 100%; max-width: 200px; justify-self: end; }
.talkphoto { margin: 32px 0 0; max-width: 460px; }
.talkphoto img { width: 100%; height: auto; border-radius: 12px; display: block; }
.talkphoto figcaption { margin-top: 8px; font-family: var(--logo-sans); text-transform: uppercase; letter-spacing: .16em; font-size: 10.5px; color: var(--accent); }
/* golf villa photo: landscape again */
.golfsec__img { aspect-ratio: 4 / 3; max-height: none; max-width: none; }
/* lunch step: clients at the table, the meal as a small inset */
.tstep__img .tstep__inset { position: absolute; right: 10px; bottom: 10px; width: 32%; height: auto; aspect-ratio: 1; border-radius: 8px; border: 3px solid #f5f0e7; box-shadow: 0 6px 18px rgba(0,0,0,.3); object-fit: cover; }
.tstep__img .tstep__inset { right: auto; bottom: auto; left: 10px; top: 10px; width: 28%; }

/* Stay during the tour (Loft & Sky Lounge) */
.staycard { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; margin-top: 30px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.staycard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; height: auto; }
.staycard b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); margin: 8px 0 6px; }
.staycard p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 640px; }
@media (max-width: 640px) { .staycard { grid-template-columns: 1fr; } }

/* Phone fix: no sideways scrolling (email field and footer columns were wider than the screen) */
.field input { min-width: 0; }
.ftr__grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ftr__grid a, .ftr__grid li { overflow-wrap: anywhere; }
@media (max-width: 560px) { .field > * { flex: 1 1 100%; min-width: 0; } .field .btn { justify-content: center; white-space: normal; text-align: center; padding-left: 16px; padding-right: 16px; } }

/* Buyer profile (/buyer-profile): long qualification form, calm two-column layout */
.bp__head { max-width: 40em; margin-top: 18px; }
.bp__head .sub { font-size: 16px; color: var(--ink-soft); margin-top: 22px; line-height: 1.6; }
.bp__time { color: var(--muted); margin-top: 14px; }
.bp .contact2.bp__form { position: static; max-width: 860px; margin-top: clamp(32px, 5vw, 56px); }
.bp__form form { display: block; margin-top: 0; }
.bp__sec { border: 0; border-top: 1px solid var(--line-strong); margin: 0; padding: 28px 0 36px; min-width: 0; }
.bp__sec > legend { font-family: var(--serif); font-weight: 300; font-size: 24px; color: var(--ink); padding: 28px 0 0; float: left; width: 100%; }
.bp__sec > legend + * { clear: both; }
.bp__n { display: inline-block; min-width: 1.6em; color: var(--muted); font-size: .7em; }
.bp__intro { font-size: 14.5px; color: var(--muted); margin-top: 8px; max-width: 36em; }
.bp__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; margin-top: 18px; clear: both; }
.bp__f { display: flex; flex-direction: column; min-width: 0; }
.bp__f--wide { grid-column: 1 / -1; }
.bp__f > label, .bp__checks > legend { font-size: 13px; color: var(--ink-soft); letter-spacing: .01em; }
.bp__req { color: var(--muted); }
.bp__f input, .bp__f textarea, .bp__f .sel2 { width: 100%; }
.bp__f .sel2 { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 22px; }
.bp__checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.bp__checks > legend { width: 100%; margin-bottom: 12px; padding: 0; }
.bp__checks label { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.contact2 .bp__checks input { width: auto; padding: 0; border: 0; accent-color: var(--ink); }
.bp__help { font-size: 12.5px; margin-top: 8px; align-self: flex-start; }
.bp__end { border-top: 1px solid var(--line-strong); padding-top: 28px; display: grid; gap: 12px; max-width: 36em; }
.bp__end .send { justify-self: start; padding: 15px 28px; }
.bp__private { color: var(--muted); }
.bp__thanks { border-top: 1px solid var(--line-strong); padding-top: 28px; }
.bp__thanks .h3 { font-size: 26px; font-weight: 300; }
@media (max-width: 680px) { .bp__fields { grid-template-columns: 1fr; } .bp__sec > legend { font-size: 21px; } }
.bp__note { font-size: 12.5px; color: var(--muted); margin-top: 10px; max-width: 40em; line-height: 1.5; }

/* Phones: long text links may wrap; top bar fits */
.tlink--wrap { white-space: normal; }
@media (max-width: 640px) { .util__r { gap: 12px; } }
@media (max-width: 800px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof > div { padding-inline: 14px; } .proof b { overflow-wrap: anywhere; } .proof span { hyphens: auto; -webkit-hyphens: auto; } }
@media (max-width: 900px) { .val { grid-template-columns: minmax(0, 1fr); } .val > * { min-width: 0; } }
@media (max-width: 359px) { .mix .util .util__r > a[href^="tel:"], .mix .util .util__r > a[href^="tel:"] + .sep { display: none; } }

/* Confirmation after any form (?sent=1), fixed so it is seen wherever the page lands */
.sentbar { position: fixed; z-index: 90; left: 50%; top: 96px; transform: translateX(-50%); width: min(560px, calc(100% - 32px));
  display: flex; align-items: center; gap: 16px; padding: 16px 18px 16px 22px; border-radius: 10px;
  background: #1f3b2c; color: #f1eadf; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 15px; line-height: 1.4; }
.sentbar span { flex: 1; }
.sentbar span::before { content: "✓"; margin-right: 10px; font-weight: 600; }
.sentbar button { background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 6px; }
#contact { scroll-margin-top: 110px; }
.bp__thanks .serif, .mix .contact2 .bp__thanks p.serif { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; color: var(--ink); margin-bottom: 10px; }
