/* Forsyth's Homes — demo stylesheet
   Palette and type follow the client's reference boards: ivory ground, deep green panels,
   olive-gold accents, high-contrast serif display with small tracked sans labels. */

:root {
  --ivory: #F4F0E7;
  --paper: #FBF9F4;
  --sand: #E8E1D1;
  --ink: #1C2620;
  --green: #22352B;
  --green-deep: #172520;
  --olive: #8A7B46;
  --brand: #4B5131;
  --olive-soft: #C9BE97;
  --muted: #5E655B;
  --line: rgba(28, 38, 32, .16);
  --line-light: rgba(255, 255, 255, .22);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --script: 'Caveat', cursive;
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; line-height: 1.05; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--olive-soft); color: var(--ink); }

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

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type helpers ---------- */
.label {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
}
.label.light { color: var(--olive-soft); }
.h-display { font-size: clamp(44px, 5.6vw, 82px); line-height: 1; }
.h-xl { font-size: clamp(40px, 4.8vw, 68px); }
.h-lg { font-size: clamp(34px, 3.6vw, 52px); }
.h-md { font-size: clamp(28px, 2.6vw, 38px); }
.h-sm { font-size: clamp(24px, 2vw, 30px); }
.lead { font-size: clamp(20px, 1.5vw, 24px); line-height: 1.5; }
.muted { color: var(--muted); }
.script { font-family: var(--script); font-weight: 400; color: var(--ink); line-height: 1.1; }
.on-dark { color: #F4F0E7; }
.on-dark .muted { color: rgba(244, 240, 231, .72); }
.rule { width: 48px; height: 1px; background: var(--olive); border: 0; margin: 22px 0; }
.rule.light { background: var(--olive-soft); }
.rule.center { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  padding: 18px 28px; border: 1px solid var(--olive); color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  min-height: 56px;
}
.btn svg { width: 20px; height: 12px; transition: transform .35s var(--ease); }
.btn:hover { background: var(--olive); color: #fff; border-color: var(--olive); }
.btn:hover svg { transform: translateX(5px); }
.btn.solid { background: var(--green); color: #F4F0E7; border-color: var(--green); }
.btn.solid:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn.gold { background: var(--olive); color: #fff; border-color: var(--olive); }
.btn.gold:hover { background: #76693a; border-color: #76693a; }
.btn.light { color: #F4F0E7; border-color: rgba(244, 240, 231, .6); }
.btn.light:hover { background: #F4F0E7; color: var(--ink); border-color: #F4F0E7; }
.btn.ghost-light { color: #F4F0E7; border-color: var(--olive-soft); }
.btn.ghost-light:hover { background: var(--olive-soft); color: var(--ink); }
.textlink {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--olive);
}
.textlink svg { width: 20px; height: 12px; transition: transform .35s var(--ease); }
.textlink:hover svg { transform: translateX(5px); }
.textlink.light { color: #F4F0E7; border-color: var(--olive-soft); }

/* ---------- header ---------- */
.topbar {
  background: var(--green-deep); color: rgba(244, 240, 231, .85);
  font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 20px; }
.topbar nav { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar nav a:hover { color: #fff; }
.topbar .contact { display: flex; gap: 18px; white-space: nowrap; }
.topbar .contact a:hover { color: #fff; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 240, 231, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease);
}
.header.stuck { box-shadow: 0 10px 30px rgba(28, 38, 32, .08); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; line-height: 1; color: var(--brand); }
.brand .mark { width: 44px; height: 46px; flex: none; display: block; }
.brand .word { display: flex; flex-direction: column; gap: 6px; }
.brand .name { font-family: var(--serif); font-size: 27px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; display: block; }
.brand .sub { font-family: var(--serif); font-size: 12px; letter-spacing: .48em; text-transform: uppercase; display: block; padding-left: .1em; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a:not(.btn) {
  font-family: var(--sans); font-size: 13.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  padding: 10px 0; position: relative;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--olive); transition: right .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.active::after { right: 0; }
.nav .btn { padding: 15px 24px; min-height: 50px; }
.menu-btn { display: none; align-items: center; gap: 12px; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 10px 0; }
.menu-btn span.bars { width: 26px; height: 16px; position: relative; }
.menu-btn span.bars::before, .menu-btn span.bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); }
.menu-btn span.bars::before { top: 2px; }
.menu-btn span.bars::after { bottom: 2px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ivory);
  display: none; flex-direction: column; padding: 28px var(--gutter);
}
.mobile-menu.open { display: flex; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .close { font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 12px 0; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 40px; border-top: 1px solid var(--line); }
.mobile-menu nav a { font-size: 34px; padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav a svg { width: 26px; height: 16px; }
.mobile-menu .foot { margin-top: auto; font-family: var(--sans); font-size: 14px; letter-spacing: .1em; color: var(--muted); display: flex; flex-direction: column; gap: 10px; padding-top: 24px; }

/* floating enquire */
.float-enquire {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  box-shadow: 0 14px 34px rgba(23, 37, 32, .25);
}
.float-enquire.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- hero (home) ---------- */
.hero { position: relative; height: min(88vh, 900px); min-height: 600px; overflow: hidden; background: var(--green-deep); color: #F4F0E7; }
.hero .slides, .hero .slide { position: absolute; inset: 0; }
.hero .slide { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero .slide.active { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s linear; }
.hero .slide.active img { transform: scale(1); }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 30, 24, .72) 0%, rgba(20, 30, 24, .35) 45%, rgba(20, 30, 24, .05) 75%), linear-gradient(0deg, rgba(20, 30, 24, .5) 0%, rgba(20, 30, 24, 0) 40%); }
.hero .content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-block: 80px; }
.hero h1 { max-width: 15ch; color: #fff; }
.hero .lead { max-width: 46ch; margin-top: 26px; color: rgba(255, 255, 255, .9); }
.hero .actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero .meta { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; }
.hero .caption { text-align: right; font-style: italic; font-size: 22px; line-height: 1.25; color: rgba(255, 255, 255, .92); }
.hero .caption small { display: block; font-style: normal; font-family: var(--sans); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; margin-top: 6px; color: var(--olive-soft); }
.hero .controls { display: flex; align-items: center; gap: 20px; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; }
.hero .controls .bar { width: 46px; height: 1px; background: rgba(255, 255, 255, .5); position: relative; overflow: hidden; }
.hero .controls .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.arrow-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); display: inline-flex; align-items: center; justify-content: center; color: #fff;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.arrow-btn svg { width: 22px; height: 13px; }
.arrow-btn:hover { background: #F4F0E7; color: var(--ink); border-color: #F4F0E7; }
.arrow-btn.dark { border-color: var(--line); color: var(--ink); }
.arrow-btn.dark:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 9vw, 130px); }
.section.tight { padding-block: clamp(56px, 6vw, 90px); }
.section.dark { background: var(--green); color: #F4F0E7; }
.section.deep { background: var(--green-deep); color: #F4F0E7; }
.section.paper { background: var(--paper); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.two-col.text-right { direction: rtl; }
.two-col.text-right > * { direction: ltr; }
.two-col .copy { max-width: 48ch; }
.two-col h2 { margin-top: 16px; }
.two-col .lead { margin-top: 24px; }
.two-col .actions { margin-top: 34px; }
.frame { position: relative; overflow: hidden; background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.tall { aspect-ratio: 4 / 5; }
.frame.wide { aspect-ratio: 4 / 3; }
.frame .tag { position: absolute; right: 22px; bottom: 20px; color: #fff; font-family: var(--sans); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); text-align: right; }
.frame .tag b { display: block; font-weight: 500; font-size: 13px; margin-bottom: 3px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4vw, 60px); flex-wrap: wrap; }
.section-head h2 { margin-top: 14px; }
.section-head .right { display: flex; align-items: center; gap: 24px; }

/* ---------- filter chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: var(--sans); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; min-height: 46px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { border-color: var(--olive); }
.chip.active { background: var(--olive); border-color: var(--olive); color: #fff; }

/* ---------- home cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(28, 38, 32, .12); }
.card .pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .pic img { transform: scale(1.05); }
.card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .body .label { font-size: 11.5px; }
.card h3 { font-size: 30px; }
.card .blurb { color: var(--muted); font-size: 19px; }
.card .facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card .facts span { display: inline-flex; align-items: center; gap: 8px; }
.card .facts svg { width: 18px; height: 18px; stroke: var(--olive); fill: none; stroke-width: 1.4; }
.card .foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card .price { font-size: 17px; color: var(--muted); }
.card .price b { font-weight: 500; color: var(--ink); font-size: 20px; }
.card.hidden { display: none; }
.card .cover-link { position: absolute; inset: 0; }
.card .cover-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* home page horizontal collection */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 3 * 24px) / 4)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }

/* ---------- destinations band ---------- */
.dest-band { position: relative; min-height: 640px; overflow: hidden; background: var(--green-deep); color: #F4F0E7; display: flex; align-items: center; }
.dest-band .bg, .dest-band .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dest-band .bg img { opacity: 0; transition: opacity 1s var(--ease); }
.dest-band .bg img.active { opacity: 1; }
.dest-band .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 37, 32, .88) 0%, rgba(23, 37, 32, .5) 45%, rgba(23, 37, 32, .35) 100%); }
.dest-band .inner { position: relative; z-index: 2; padding-block: 80px; }
.dest-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.dest-tabs button {
  font-family: var(--sans); font-size: 14px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  padding: 14px 22px; border: 1px solid rgba(244, 240, 231, .35); border-radius: 999px; color: rgba(244, 240, 231, .85);
  transition: background .3s, color .3s, border-color .3s; min-height: 50px;
}
.dest-tabs button:hover { border-color: #F4F0E7; color: #fff; }
.dest-tabs button.active { background: #F4F0E7; color: var(--ink); border-color: #F4F0E7; }
.dest-panels { margin-top: 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.dest-panel { display: none; }
.dest-panel.active { display: contents; }
.dest-panel h3 { font-size: clamp(38px, 4.4vw, 64px); color: #fff; }
.dest-panel p { margin-top: 18px; max-width: 46ch; color: rgba(244, 240, 231, .85); font-size: 20px; }
.dest-homes { display: flex; flex-direction: column; border-top: 1px solid var(--line-light); }
.dest-homes a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-light); font-size: 24px; gap: 16px; }
.dest-homes a small { font-family: var(--sans); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-soft); }
.dest-homes a svg { width: 22px; height: 13px; flex: none; transition: transform .3s var(--ease); }
.dest-homes a:hover svg { transform: translateX(5px); }

/* ---------- the forsyth way ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 56px; }
.pillar .num { font-family: var(--sans); font-size: 13px; letter-spacing: .22em; color: var(--olive-soft); }
.pillar h3 { font-family: var(--sans); font-size: 13.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin: 16px 0 14px; color: #fff; }
.pillar p { color: rgba(244, 240, 231, .78); font-size: 20px; }

/* ---------- full bleed banner ---------- */
.banner { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; color: #F4F0E7; background: var(--green-deep); }
.banner .bg { position: absolute; inset: -12% 0; }
.banner .bg img { width: 100%; height: 100%; object-fit: cover; }
.banner .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 37, 32, .75), rgba(23, 37, 32, .25) 60%, rgba(23, 37, 32, .1)); }
.banner.center-text .shade { background: rgba(23, 37, 32, .55); }
.banner .inner { position: relative; z-index: 2; padding-block: 90px; }
.banner h2 { color: #fff; max-width: 14ch; }
.banner .actions { margin-top: 34px; }
.banner.center-text .inner { text-align: center; }
.banner.center-text h2 { margin-inline: auto; }

/* ---------- footer ---------- */
.footer { background: var(--green-deep); color: rgba(244, 240, 231, .8); padding: 64px 0 36px; }
.footer .row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer .brand { color: #F4F0E7; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--sans); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; }
.footer nav a:hover { color: #fff; }
.footer .social { display: flex; gap: 14px; align-items: center; border-left: 1px solid var(--line-light); padding-left: 28px; }
.footer .social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-light); border-radius: 50%; }
.footer .social a:hover { background: #F4F0E7; color: var(--ink); }
.footer .social svg { width: 18px; height: 18px; }
.footer .legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--sans); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(244, 240, 231, .55); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; background: var(--green-deep); color: #F4F0E7; }
.page-hero.tall { min-height: min(78vh, 820px); }
.page-hero .bg { position: absolute; inset: -10% 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 37, 32, .78) 0%, rgba(23, 37, 32, .35) 55%, rgba(23, 37, 32, .1) 100%), linear-gradient(0deg, rgba(23, 37, 32, .45), transparent 50%); }
.page-hero .inner { position: relative; z-index: 2; padding-block: 90px; }
.page-hero .label { display: block; }
.page-hero .back-link { margin-bottom: 34px; }
.page-hero h1 { color: #fff; max-width: 16ch; margin-top: 16px; }
.page-hero .lead { max-width: 44ch; margin-top: 22px; color: rgba(255, 255, 255, .9); }
.page-hero .actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero .script-note { position: absolute; right: var(--gutter); bottom: 48px; z-index: 2; font-family: var(--script); font-size: 34px; color: #F4F0E7; transform: rotate(-6deg); text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.page-hero .side-tags { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; gap: 10px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .25em; text-transform: uppercase; color: var(--olive-soft); text-align: right; }
.page-hero .counter { position: absolute; right: var(--gutter); bottom: 40px; z-index: 2; display: flex; align-items: center; gap: 16px; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; }
.page-hero .counter .arrow-btn { width: 46px; height: 46px; }

.back-link {
  display: inline-flex; width: max-content; align-items: center; gap: 12px; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  color: #F4F0E7; border: 1px solid rgba(244, 240, 231, .55); padding: 14px 20px; margin-bottom: 30px; min-height: 50px;
  transition: background .3s, color .3s;
}
.back-link svg { width: 20px; height: 12px; transform: rotate(180deg); }
.back-link:hover { background: #F4F0E7; color: var(--ink); }

/* ---------- property sub-nav ---------- */
.subnav { position: sticky; top: 92px; z-index: 30; background: var(--ivory); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { font-family: var(--sans); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding: 20px 18px; white-space: nowrap; position: relative; color: var(--muted); }
.subnav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--olive); transform: scaleX(0); transition: transform .3s var(--ease); transform-origin: left; }
.subnav a:hover, .subnav a.active { color: var(--ink); }
.subnav a:hover::after, .subnav a.active::after { transform: scaleX(1); }

/* ---------- property overview ---------- */
.overview { display: grid; grid-template-columns: 1.05fr 1fr .62fr; gap: clamp(32px, 4.5vw, 72px); align-items: start; }
.overview .copy h2 { margin-top: 14px; }
.overview .copy .lead { margin-top: 22px; }
.overview .copy .body { margin-top: 20px; color: var(--muted); }
.facts { border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
.facts div span:last-child { text-align: right; }
.facts .price { font-size: 21px; }
.facts .price b { font-weight: 500; font-size: 24px; }
.facts-note { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; color: var(--muted); margin-top: 12px; text-transform: uppercase; }

.feature-band { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 560px; }
.feature-band .text { background: var(--green); color: #F4F0E7; padding: clamp(48px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.feature-band .text h2 { margin-top: 16px; color: #fff; }
.feature-band .text p { margin-top: 24px; color: rgba(244, 240, 231, .82); max-width: 40ch; font-size: 21px; }
.feature-band .pic { overflow: hidden; background: var(--sand); }
.feature-band .pic img { width: 100%; height: 100%; object-fit: cover; }
.feature-band.flip .text { order: 2; }

.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.space { display: block; }
.space .pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.space .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.space:hover .pic img { transform: scale(1.05); }
.space h3 { font-size: 26px; margin-top: 16px; }
.space p { color: var(--muted); font-size: 18px; margin-top: 6px; }

.quote-band { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; background: var(--green-deep); color: #F4F0E7; }
.quote-band .bg { position: absolute; inset: -12% 0; }
.quote-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.quote-band .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 37, 32, .8), rgba(23, 37, 32, .2) 70%); }
.quote-band blockquote { position: relative; z-index: 2; margin: 0; padding-block: 80px; max-width: 22ch; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.12; color: #fff; }
.quote-band blockquote::before { content: "\201C"; }
.quote-band blockquote::after { content: "\201D"; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px 28px; margin-top: 40px; }
.service h3 { font-size: 24px; }
.service p { color: var(--muted); font-size: 17.5px; margin-top: 6px; }
.service svg { width: 30px; height: 30px; stroke: var(--olive); fill: none; stroke-width: 1.3; margin-bottom: 14px; }

.around { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.around .copy p { margin-top: 20px; color: var(--muted); max-width: 40ch; }
.around .frame { aspect-ratio: 4 / 3; }
.spots { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.spots div { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; align-items: baseline; }
.spots div::before { content: "—"; color: var(--olive); flex: none; }
.spots b { font-weight: 500; display: block; font-size: 21px; }
.spots span { color: var(--muted); font-size: 17.5px; }

.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 32px; margin-top: 36px; list-style: none; padding: 0; margin-bottom: 0; }
.amenities li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 18px; display: flex; gap: 12px; align-items: center; }
.amenities li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--olive); flex: none; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery button { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); padding: 0; display: block; width: 100%; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .5s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 20, 16, .96); display: none; flex-direction: column; color: #F4F0E7; }
.lightbox.open { display: flex; }
.lightbox .bar { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.lightbox .bar button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid rgba(244, 240, 231, .4); min-height: 50px; }
.lightbox .bar button:hover { background: #F4F0E7; color: var(--ink); }
.lightbox .stage { flex: 1; display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; min-height: 0; padding-bottom: 24px; }
.lightbox .stage img { max-width: 100%; max-height: calc(100vh - 140px); margin: auto; object-fit: contain; display: block; }
.lightbox .stage .arrow-btn { margin: auto; width: 60px; height: 60px; }
.lightbox .cap { text-align: center; font-size: 20px; font-style: italic; padding: 0 var(--gutter) 24px; }

/* ---------- destinations page ---------- */
.dest-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.dest-row:first-of-type { border-top: 0; }
.dest-row:nth-child(even) .frame { order: -1; }
.dest-row .frame { aspect-ratio: 5 / 4; }
.dest-row h2 { margin-top: 12px; }
.dest-row p { margin-top: 18px; color: var(--muted); max-width: 46ch; }
.dest-row .homes { margin-top: 24px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.dest-row .homes a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 22px; }
.dest-row .homes a small { font-family: var(--sans); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.dest-row .homes a svg { width: 20px; height: 12px; transition: transform .3s var(--ease); }
.dest-row .homes a:hover svg { transform: translateX(5px); }

/* ---------- experiences page ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.exp { background: var(--paper); border: 1px solid var(--line); }
.exp .pic { aspect-ratio: 4 / 3; overflow: hidden; }
.exp .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.exp:hover .pic img { transform: scale(1.05); }
.exp .body { padding: 24px; }
.exp h3 { font-size: 28px; margin-top: 8px; }
.exp p { color: var(--muted); font-size: 18px; margin-top: 10px; }
.exp .where { margin-top: 14px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); }

/* ---------- story page ---------- */
.story { max-width: 760px; margin-inline: auto; text-align: center; }
.story h2 { margin-top: 16px; }
.story .lead { margin-top: 36px; }
.story p { margin-top: 22px; font-size: 22px; }
.story .signature { margin-top: 48px; font-size: 44px; }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.strip .frame { aspect-ratio: 5 / 4; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values div { padding: 40px 28px; text-align: center; border-left: 1px solid var(--line); }
.values div:first-child { border-left: 0; }
.values svg { width: 40px; height: 40px; stroke: var(--olive); fill: none; stroke-width: 1.2; margin: 0 auto 18px; }
.values h3 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.values p { margin-top: 10px; color: var(--muted); font-size: 18px; }

/* ---------- enquire ---------- */
.enquire-layout { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 760px; }
.enquire-layout .pic { position: relative; overflow: hidden; background: var(--green-deep); color: #F4F0E7; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 80px); }
.enquire-layout .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.enquire-layout .pic .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 37, 32, .85), rgba(23, 37, 32, .35) 60%, rgba(23, 37, 32, .2)); }
.enquire-layout .pic > * { position: relative; z-index: 2; }
.enquire-layout .pic h1 { color: #fff; margin-top: 16px; }
.enquire-layout .pic .lead { margin-top: 24px; max-width: 36ch; color: rgba(255, 255, 255, .9); }
.enquire-layout .pic .foot { margin-top: auto; font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--olive-soft); line-height: 1.9; }
.enquire-layout .form { padding: clamp(40px, 5vw, 80px); background: var(--paper); }
.form h2 { margin-top: 12px; }
.form .rule { margin: 24px 0 32px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--serif); font-size: 19px; color: var(--ink);
  padding: 16px 18px; border: 1px solid var(--line); background: #fff; min-height: 58px; width: 100%;
  appearance: none; -webkit-appearance: none; border-radius: 0;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%231C2620' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: var(--olive); }
.field textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; color: var(--muted); margin: 6px 0 26px; }
.check input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--olive); flex: none; }
.form .btn { width: 100%; justify-content: center; }
.form .note { text-align: center; margin-top: 16px; color: var(--muted); font-size: 17px; }
.thanks { display: none; text-align: center; padding: 40px 0; }
.thanks.show { display: block; }
.thanks h2 { margin-top: 16px; }
.thanks p { margin-top: 18px; color: var(--muted); }

/* ---------- reveal (JS sets the initial hidden state so content never depends on animation) ---------- */
.rv { will-change: transform, opacity; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .card-grid, .card-grid.four, .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .spaces { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .overview { grid-template-columns: 1fr 1fr; }
  .overview .facts-col { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
  .around { grid-template-columns: 1fr 1fr; }
  .around .frame { grid-column: 1 / -1; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .values div:nth-child(3) { border-left: 0; }
  .values div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rail { grid-auto-columns: minmax(300px, calc((100% - 24px) / 2)); }
}
@media (max-width: 900px) {
  body { font-size: 18px; }
  .topbar nav { display: none; }
  .topbar .wrap { justify-content: center; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header .wrap { min-height: 78px; }
  .subnav { top: 78px; }
  .two-col, .two-col.text-right { grid-template-columns: 1fr; direction: ltr; }
  .two-col .frame { order: -1; }
  .dest-panels { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 36px; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-band .pic { min-height: 340px; order: -1; }
  .feature-band.flip .text { order: 0; }
  .enquire-layout { grid-template-columns: 1fr; }
  .enquire-layout .pic { min-height: 420px; }
  .dest-row { grid-template-columns: 1fr; }
  .dest-row:nth-child(even) .frame { order: 0; }
  .dest-row .frame { order: -1; }
  .hero { min-height: 640px; height: 86vh; }
  .hero .content { justify-content: flex-start; padding-top: 56px; padding-bottom: 190px; }
  .hero .meta { flex-direction: column; align-items: flex-start; gap: 14px; bottom: 28px; }
  .hero .caption { text-align: left; }
  .page-hero .side-tags, .page-hero .script-note { display: none; }
  .footer .social { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .card-grid, .card-grid.four, .exp-grid, .spaces, .strip { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery button:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .amenities { grid-template-columns: 1fr; }
  .overview { grid-template-columns: 1fr; }
  .overview .facts-col { grid-template-columns: 1fr; }
  .around { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values div { border-left: 0; }
  .values div:nth-child(n+2) { border-top: 1px solid var(--line); }
  .rail { grid-auto-columns: 86%; }
  .lightbox .stage { grid-template-columns: 1fr; }
  .lightbox .stage .arrow-btn { display: none; }
  .lightbox .bar { font-size: 12px; }
  .section-head .right { width: 100%; }
  .float-enquire { right: 14px; bottom: 14px; padding: 16px 20px; }
  .brand .name { font-size: 21px; }
  .brand .mark { width: 36px; height: 38px; }
  .brand .sub { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .slide img, .card .pic img, .space .pic img, .exp .pic img, .gallery button img { transition: none !important; }
}
