/* ==========================================================================
   Urban Nest Estates
   Editorial, ivory-led, pine + terracotta + brass. Grounded in the logo and
   the Shaldon Mansions brochure.
   Display: Cormorant Garamond   Body/UI: Hanken Grotesk
   ========================================================================== */

:root {
  /* grounds */
  --ivory: #FAF6F0;
  --paper: #F4EEE3;
  --sand: #EFE7D8;
  --sand-deep: #E7DCC8;

  /* pine (structure, dark bands, footer) */
  --pine-900: #1B2E27;
  --pine: #22392F;
  --pine-700: #2C4A40;

  /* teal (from the logo: links, small brand moments) */
  --teal: #2A6365;
  --teal-700: #22504F;

  /* terracotta (action only) */
  --clay: #A4413F;
  --clay-600: #8C3533;

  /* brass (editorial accent, hairlines, labels) */
  --brass: #B2996C;
  --brass-deep: #94794D;

  /* ink + neutrals */
  --ink: #232B27;
  --stone: #5B655F;
  --line: rgba(35, 43, 39, 0.14);
  --line-2: rgba(35, 43, 39, 0.08);
  --brass-line: rgba(178, 153, 108, 0.45);

  /* type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* rhythm */
  --maxw: 1220px;
  --gutter: clamp(20px, 5vw, 68px);
  --section-y: clamp(64px, 9vw, 132px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 3px;
  --shadow: 0 24px 60px -28px rgba(27, 46, 39, 0.42);
  --shadow-sm: 0 10px 30px -18px rgba(27, 46, 39, 0.35);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -0.005em; color: var(--ink); }
.display { font-size: clamp(2.7rem, 6.2vw, 5rem); font-weight: 400; line-height: 1.02; }
.h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 400; }
.h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.accent { font-style: italic; color: var(--brass-deep); font-weight: 500; }
p { color: var(--stone); }
.lede { font-size: clamp(1.08rem, 1.9vw, 1.28rem); line-height: 1.66; color: var(--stone); }
strong { font-weight: 700; color: var(--ink); }

/* eyebrow label with the brochure's short rule + tick */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-deep);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brass); }
.on-pine .eyebrow, .eyebrow.light { color: var(--brass); }

/* ---------- accessibility ---------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--pine); color: var(--ivory); padding: 12px 18px; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1440px; }
.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(48px, 6vw, 84px); }
.pine-band { background: var(--pine); color: var(--ivory); }
.pine-band h1, .pine-band h2, .pine-band h3 { color: var(--ivory); }
.pine-band p { color: rgba(250, 246, 240, 0.76); }
.paper-band { background: var(--paper); }
.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 + p, .section-head p { margin-top: 18px; }
.divider-line { height: 1px; background: var(--line); border: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  padding: 15px 28px; border-radius: var(--radius); border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn .arw { transition: transform 0.3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-600); transform: translateY(-2px); }
.btn-line { border-color: var(--pine); color: var(--pine); }
.btn-line:hover { background: var(--pine); color: var(--ivory); transform: translateY(-2px); }
.btn-line-light { border-color: rgba(250, 246, 240, 0.45); color: var(--ivory); }
.btn-line-light:hover { background: rgba(250, 246, 240, 0.1); border-color: var(--ivory); }
.btn-block { width: 100%; justify-content: center; }

/* text link with drawing underline */
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); position: relative; padding-bottom: 2px; }
.tlink::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.tlink:hover::after { transform: scaleX(1); }
.tlink .arw { transition: transform 0.3s var(--ease); }
.tlink:hover .arw { transform: translateX(4px); }
.on-pine .tlink { color: var(--brass); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; transition: background 0.35s var(--ease), border-color 0.35s var(--ease); border-bottom: 1px solid transparent; }
.site-header.solid { background: rgba(250, 246, 240, 0.9); backdrop-filter: saturate(140%) blur(12px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; height: 46px; border-radius: 0; }
.brand .logo-white { display: none; }
.site-header.hero-attached:not(.solid) .brand .logo-colour { display: none; }
.site-header.hero-attached:not(.solid) .brand .logo-white { display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--ink); position: relative; padding-block: 8px; }
.hero-attached .nav-links a, .hero-attached .brand-name { color: var(--ivory); }
.hero-attached.solid .nav-links a { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 1px; width: 0; background: var(--clay); transition: width 0.3s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 1.6px; background: var(--ink); position: relative; transition: transform 0.3s var(--ease), opacity 0.2s; }
.hero-attached:not(.solid) .nav-toggle span, .hero-attached:not(.solid) .nav-toggle span::before, .hero-attached:not(.solid) .nav-toggle span::after { background: var(--ivory); }
.hero-attached:not(.solid) .nav-toggle { border-color: rgba(250,246,240,0.4); }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
body.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

/* mobile menu */
.mobile-menu { position: fixed; inset: 84px 0 0 0; z-index: 95; background: var(--pine); color: var(--ivory); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); display: flex; flex-direction: column; padding: 34px var(--gutter); gap: 4px; }
body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; padding: 14px 0; border-bottom: 1px solid rgba(250,246,240,0.12); color: var(--ivory); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--ivory); overflow: hidden; margin-top: -84px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20,42,36,0.82) 0%, rgba(27,46,39,0.55) 52%, rgba(27,46,39,0.28) 100%); }
.hero-inner { padding-top: clamp(150px, 20vh, 240px); padding-bottom: clamp(72px, 12vw, 140px); max-width: 810px; }
.hero .eyebrow { color: var(--brass); }
.hero .display em { font-style: italic; color: #E4CDA3; }
.hero p { color: rgba(250,246,240,0.86); font-size: clamp(1.05rem, 1.9vw, 1.28rem); margin-top: 24px; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
/* threshold curtain reveal */
.hero-curtain { position: absolute; inset: 0; z-index: 4; display: flex; pointer-events: none; }
.hero-curtain span { flex: 1; background: var(--pine-900); }
.hero-curtain span:first-child { animation: curtainL 1.15s 0.15s var(--ease) forwards; }
.hero-curtain span:last-child { animation: curtainR 1.15s 0.15s var(--ease) forwards; box-shadow: -1px 0 0 var(--brass); }
@keyframes curtainL { to { transform: translateX(-101%); } }
@keyframes curtainR { to { transform: translateX(101%); } }
.hero-anim > * { opacity: 0; animation: heroUp 0.9s var(--ease) forwards; }
.hero-anim > *:nth-child(1) { animation-delay: 0.9s; }
.hero-anim > *:nth-child(2) { animation-delay: 1.0s; }
.hero-anim > *:nth-child(3) { animation-delay: 1.12s; }
.hero-anim > *:nth-child(4) { animation-delay: 1.24s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- rooflines divider ---------- */
.rooflines { color: var(--brass-line); line-height: 0; padding-block: clamp(24px, 4vw, 44px); }
.rooflines svg { width: 100%; height: 54px; }
.rooflines svg path { stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 1.8s var(--ease); }
.rooflines.in svg path { stroke-dashoffset: 0; }
.on-pine .rooflines { color: rgba(178,153,108,0.5); }

/* ---------- generic figure + unveil ---------- */
.figure { position: relative; overflow: hidden; background: var(--sand); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.r-16x9 { aspect-ratio: 16 / 9; }
.r-3x2 { aspect-ratio: 3 / 2; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-1x1 { aspect-ratio: 1 / 1; }
.unveil { clip-path: inset(6% 0 6% 0); opacity: 0; transform: translateY(20px); transition: clip-path 0.9s var(--ease), opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.unveil.in { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ---------- intro / positioning ---------- */
.measure { max-width: 760px; }
.room-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
.room-gallery .figure { margin: 0; }
/* room images show their full natural shape, no crop */
.figure-natural { aspect-ratio: auto !important; background: transparent; }
.figure-natural img { width: 100%; height: auto !important; object-fit: contain !important; display: block; }
@media (max-width: 620px) { .room-gallery { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
/* larger images on the property-management process & positioning sections */
.process-editorial { grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); }
.process-editorial .process-img { position: sticky; top: 100px; }
.position-two-col { grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 860px) {
  .process-editorial, .position-two-col { grid-template-columns: 1fr; }
  .process-editorial .process-img { position: static; }
}
.reviews-summary { display:flex; align-items:center; justify-content:center; gap:10px; color: var(--ink-soft); font-size:0.98rem; }
.reviews-summary .rs-stars { color:#F5B301; letter-spacing:2px; font-size:1.05rem; }
.reviews-carousel { position:relative; display:flex; align-items:center; gap:8px; max-width:1160px; margin:0 auto; }
.rc-track { display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:6px 4px 14px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.rc-track::-webkit-scrollbar { display:none; }
.review-card { scroll-snap-align:start; flex:0 0 clamp(280px, 33%, 360px); background:var(--ivory); border:1px solid var(--line); border-radius:6px; padding:24px 24px 22px; display:flex; flex-direction:column; gap:12px; box-shadow:0 1px 2px rgba(0,0,0,0.03); }
.rc-head { display:flex; align-items:center; gap:12px; }
.rc-avatar { flex:0 0 auto; width:40px; height:40px; border-radius:50%; color:#fff; font-weight:600; font-size:1.05rem; display:flex; align-items:center; justify-content:center; }
.rc-name { font-weight:600; color:var(--ink); line-height:1.2; }
.rc-meta { font-size:0.78rem; color:var(--stone); }
.rc-head .rc-g { margin-left:auto; font-family:Arial,sans-serif; font-weight:700; color:#4285F4; font-size:1.2rem; }
.rc-stars { color:#F5B301; letter-spacing:2px; font-size:1rem; }
.review-card blockquote { margin:0; color:var(--ink-soft); font-size:0.96rem; line-height:1.55; flex:1; }
.rc-date { font-size:0.8rem; color:var(--stone); }
.rc-nav { flex:0 0 auto; width:42px; height:42px; border-radius:50%; border:1px solid var(--line); background:var(--ivory); color:var(--pine); font-size:1.4rem; line-height:1; cursor:pointer; transition:background .3s var(--ease), color .3s var(--ease); display:flex; align-items:center; justify-content:center; }
.rc-nav:hover { background:var(--pine); color:var(--ivory); border-color:var(--pine); }
@media (max-width:640px){ .rc-nav{ display:none; } .review-card{ flex-basis:82%; } }
.two-col.top { align-items: start; }

/* ---------- guest / owner split ---------- */
.split { display: flex; min-height: clamp(380px, 58vh, 580px); }
.split-panel { position: relative; flex: 1; overflow: hidden; display: flex; align-items: flex-end; color: var(--ivory); transition: flex 0.55s var(--ease); isolation: isolate; }
.split-panel:hover, .split-panel:focus-within { flex: 1.35; }
.split-panel .split-bg { position: absolute; inset: 0; z-index: -2; }
.split-panel .split-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.split-panel:hover .split-bg img { transform: scale(1.05); }
.split-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,42,36,0.15) 0%, rgba(20,42,36,0.78) 100%); }
.split-inner { padding: clamp(28px, 4vw, 52px); max-width: 460px; }
.split-inner .eyebrow { color: var(--brass); }
.split-inner h3 { color: var(--ivory); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.split-inner p { color: rgba(250,246,240,0.85); margin-top: 10px; }
.split-inner .tlink { color: var(--ivory); margin-top: 18px; }

/* ---------- covers (brochure-cover cards) ---------- */
.cover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.cover { position: relative; display: block; overflow: hidden; background: var(--pine); color: var(--ivory); }
.cover .figure { aspect-ratio: 3 / 2; }
.cover img { transition: transform 0.8s var(--ease); }
.cover:hover img { transform: scale(1.05); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,42,36,0) 40%, rgba(20,42,36,0.72) 100%); pointer-events: none; }
.cover-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 2vw, 26px); }
.cover-meta .cover-loc { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.cover-meta .cover-name { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--ivory); margin-top: 4px; }
.cover-rule { height: 1px; width: 34px; background: var(--brass); margin-top: 14px; transform: scaleX(0.4); transform-origin: left; transition: transform 0.5s var(--ease); }
.cover:hover .cover-rule { transform: scaleX(1); }

/* ---------- fact row (stats) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 30px 20px; text-align: center; border-left: 1px solid var(--line); }
.fact:first-child { border-left: none; }
.fact .num { font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 3.4rem); color: var(--pine); line-height: 1; font-weight: 500; font-variant-numeric: lining-nums; letter-spacing: 0.01em; }
.fact .num .unit { font-size: 0.4em; color: var(--brass-deep); }
.fact .lab { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-top: 12px; }
.on-pine .facts { border-color: rgba(250,246,240,0.16); }
.on-pine .fact { border-color: rgba(250,246,240,0.16); }
.on-pine .fact .num { color: var(--ivory); }
.on-pine .fact .lab { color: rgba(250,246,240,0.7); }

/* ---------- feature list ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.feature { }
.feature .fnum { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--brass-deep); }
.feature h3 { font-size: 1.3rem; margin-top: 10px; }
.feature p { margin-top: 10px; font-size: 0.98rem; }
.feature .fmark { width: 40px; height: 22px; color: var(--brass); margin-bottom: 16px; }

/* editorial media + text block */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
/* About story: full-height entrance image left, text centered beside it */
.story-feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.story-feature-media { position: relative; min-height: 0; }
.story-feature-media .figure { height: 100%; min-height: clamp(420px, 62vh, 720px); overflow: hidden; }
.story-feature-media .figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.story-feature-text { display: flex; flex-direction: column; justify-content: center; }
.story-feature-text .h2 { margin-top: 6px; }
.story-feature-text p { margin-top: 18px; }
@media (max-width: 860px) {
  .story-feature { grid-template-columns: 1fr; gap: clamp(24px, 5vw, 36px); }
  .story-feature-media .figure { min-height: clamp(360px, 70vw, 520px); }
}
.editorial.flip .editorial-text { order: -1; }
.editorial-text .h2 { margin-top: 6px; }
.editorial-text p { margin-top: 18px; }
.editorial-text .btn, .editorial-text .tlink { margin-top: 26px; }
.about-banner { max-width: 960px; margin-left: auto; margin-right: auto; }
/* labelled empty placeholder for images pending replacement */
.img-placeholder { position: relative; background: repeating-linear-gradient(45deg, var(--sand), var(--sand) 14px, rgba(35,43,39,0.045) 14px, rgba(35,43,39,0.045) 28px); border: 1px dashed rgba(35,43,39,0.28); display: flex; align-items: center; justify-content: center; text-align: center; min-height: 100%; }
.img-placeholder span { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); padding: 12px 18px; }
.page-hero-bg .img-placeholder { position: absolute; inset: 0; }
.about-cols { columns: 2; column-gap: clamp(28px, 4vw, 56px); }
.about-cols p:first-child { margin-top: 0; }
@media (max-width: 720px) { .about-cols { columns: 1; } }
.side-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); align-items: start; }

/* ---------- room walkthrough (individual home) ---------- */
.home-layout { display: grid; grid-template-columns: 210px 1fr; gap: clamp(32px, 5vw, 76px); align-items: start; }
.home-layout > * { min-width: 0; }
.room-index { position: sticky; top: 108px; align-self: start; }
.room-index .ri-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 18px; }
.room-index ul { list-style: none; display: grid; gap: 2px; }
.room-index a { display: block; padding: 9px 0 9px 18px; font-size: 0.95rem; color: var(--stone); border-left: 1px solid var(--line); transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.room-index a:hover { color: var(--ink); }
.room-index a.active { color: var(--pine); border-left-color: var(--clay); font-weight: 600; }
.room-index .ri-cta { margin-top: 22px; }
.room-section { scroll-margin-top: 108px; padding-block: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line); }
.room-section:first-of-type { border-top: none; padding-top: 0; }
.room-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.room-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.room-head .side-label { white-space: nowrap; }

/* horizontal gallery */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78%, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.gallery > * { scroll-snap-align: start; }
@media (min-width: 700px) { .gallery { grid-auto-columns: minmax(46%, 1fr); } }

/* amenities columns */
.amenity-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); }
.amenity-group h3 { font-family: var(--sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.amenity-group ul { list-style: none; display: grid; gap: 10px; }
.amenity-group li { position: relative; padding-left: 20px; font-size: 0.98rem; color: var(--ink); }
.amenity-group li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }

/* leader-line table (transport / neighbourhood) */
.leader-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
.leader-group h3 { font-size: 1.35rem; margin-bottom: 16px; }
.leader { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; }
.leader .lname { color: var(--ink); }
.leader .ldots { flex: 1; border-bottom: 1px dotted var(--brass-line); transform: translateY(-4px); }
.leader .ltime { color: var(--brass-deep); font-size: 0.92rem; font-style: italic; white-space: nowrap; }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 44px); }
.step { display: flex; gap: 20px; }
.step .snum { font-family: var(--serif); font-size: 1.8rem; font-style: italic; color: var(--brass-deep); flex: none; line-height: 1; }
.step h3 { font-size: 1.25rem; }
.step p { margin-top: 8px; font-size: 0.96rem; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.member .figure { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.member h3 { font-size: 1.4rem; }
.member .role { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep); margin-top: 6px; }

/* logos / platforms strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; padding-block: 26px; }
.strip .strip-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep); margin-right: auto; }
.strip span.pf { font-family: var(--serif); font-size: 1.25rem; color: var(--stone); }

/* ---------- CTA band ---------- */
.cta { background: var(--pine); color: var(--ivory); text-align: center; }
.cta .wrap { padding-block: clamp(48px, 6vw, 84px); max-width: 860px; margin-inline: auto; }
.cta .dots { color: var(--brass); letter-spacing: 0.5em; margin-bottom: 22px; }
.cta .eyebrow { justify-content: center; color: var(--brass); }
.cta h2 { color: var(--ivory); font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 620px; margin-inline: auto; }
.cta h2 em { font-style: italic; color: #E4CDA3; }
.cta p { color: rgba(250,246,240,0.8); margin-top: 18px; max-width: 560px; margin-inline: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--pine-900); color: rgba(250,246,240,0.72); padding-top: clamp(56px, 7vw, 92px); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: auto; height: 54px; border-radius: 0; }
.footer-brand p { margin-top: 20px; font-size: 0.95rem; color: rgba(250,246,240,0.62); max-width: 300px; }
.footer-col h4, .footer-col h3 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { color: rgba(250,246,240,0.75); font-size: 0.95rem; }
.footer-col a:hover { color: var(--ivory); }
.footer-contact .leader { padding: 8px 0; }
.footer-contact .lname { color: rgba(250,246,240,0.75); font-size: 0.9rem; }
.footer-contact .ldots { border-bottom-color: rgba(178,153,108,0.4); }
.footer-contact .ltime { color: var(--brass); }
.footer-bottom { margin-top: clamp(44px, 5vw, 68px); border-top: 1px solid rgba(250,246,240,0.14); padding-block: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; color: rgba(250,246,240,0.5); }
.footer-accreditation { margin-top: clamp(40px, 5vw, 60px); padding-top: 30px; border-top: 1px solid rgba(250,246,240,0.14); display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; }
.footer-accreditation .fa-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(250,246,240,0.5); }
.footer-accreditation .fa-badges { display: flex; align-items: center; gap: clamp(24px, 4vw, 44px); flex-wrap: wrap; }
.footer-accreditation .fa-badges img { display: block; width: auto !important; opacity: 0.85; transition: opacity 0.3s var(--ease); }
.footer-accreditation .fa-badges img[src*="property-ombudsman"] { height: 36px !important; max-height: 36px !important; max-width: 150px !important; }
.footer-accreditation .fa-badges img[src*="prs-white"] { height: 30px !important; max-height: 30px !important; max-width: 150px !important; }
.footer-accreditation .fa-badges img:hover { opacity: 1; }

/* ---------- page hero (interior) ---------- */
.page-hero { position: relative; color: var(--ivory); overflow: hidden; margin-top: -84px; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,42,36,0.62) 0%, rgba(20,42,36,0.72) 100%); }
.page-hero .wrap { padding-top: clamp(150px, 20vh, 220px); padding-bottom: clamp(52px, 8vw, 96px); }
.page-hero .eyebrow { color: var(--brass); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 400; max-width: 820px; }
.page-hero h1 em { font-style: italic; color: #E4CDA3; }
.page-hero p { color: rgba(250,246,240,0.85); margin-top: 20px; max-width: 620px; font-size: clamp(1.05rem, 1.8vw, 1.2rem); }
.breadcrumb { display: flex; gap: 10px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250,246,240,0.66); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--ivory); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { padding: 9px 20px; border-radius: 100px; border: 1px solid var(--line); background: transparent; font-weight: 600; font-size: 0.88rem; color: var(--stone); transition: all 0.25s var(--ease); }
.filter:hover { border-color: var(--teal); color: var(--teal); }
.filter[aria-pressed="true"] { background: var(--pine); color: var(--ivory); border-color: var(--pine); }
.cover.is-hidden { display: none; }

/* ---------- forms ---------- */
.form-card { background: var(--ivory); border: 1px solid var(--line); padding: clamp(26px, 4vw, 44px); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.tab { padding: 12px 4px; margin-bottom: -1px; font-weight: 600; font-size: 0.95rem; color: var(--stone); border-bottom: 2px solid transparent; }
.tab[aria-selected="true"] { color: var(--pine); border-bottom-color: var(--clay); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--ink); }
.field .req { color: var(--clay); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font-size: 1rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,99,101,0.14); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { display: none; color: var(--clay-600); font-size: 0.82rem; margin-top: 6px; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--clay); }
.form-note { font-size: 0.82rem; color: var(--stone); margin-top: 10px; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.95rem; }
.form-status.show { display: block; }
.form-status.info { background: rgba(42,99,101,0.08); border: 1px solid var(--teal); color: var(--teal-700); }

/* contact info */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 4px; }
.contact-row { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row .clabel { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep); width: 120px; flex: none; }
.contact-row .cval { color: var(--ink); }
.contact-row .cdots { flex: 1; border-bottom: 1px dotted var(--brass-line); transform: translateY(-3px); }
.contact-note { font-size: 0.85rem; color: var(--stone); font-style: italic; }

/* map */
.map-frame { position: relative; aspect-ratio: 16 / 7; overflow: hidden; border: 1px solid var(--line); }
.map-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- enquiry drawer + sticky bar ---------- */
.stay-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; background: rgba(250,246,240,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.stay-bar .sb-name { font-family: var(--serif); font-size: 1.1rem; }
.stay-bar .btn { padding: 12px 20px; }
.enquiry-drawer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; transform: translateY(101%); transition: transform 0.45s var(--ease); background: var(--ivory); border-top: 1px solid var(--line); box-shadow: var(--shadow); max-height: 92vh; overflow-y: auto; }
.enquiry-drawer.open { transform: none; }
.enquiry-backdrop { position: fixed; inset: 0; z-index: 125; background: rgba(20,42,36,0.5); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.enquiry-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer-inner { max-width: 720px; margin-inline: auto; padding: clamp(24px, 4vw, 40px); }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.3rem; color: var(--ink); display: grid; place-items: center; flex: none; }
.drawer-close:hover { background: var(--pine); color: var(--ivory); border-color: var(--pine); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .two-col, .editorial, .contact-grid, .leader-cols, .amenity-cols, .steps { grid-template-columns: 1fr; }
  .editorial.flip .editorial-text { order: 0; }
  .cover-grid, .feature-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .home-layout { grid-template-columns: 1fr; }
  .room-index { position: sticky; top: 84px; z-index: 40; background: rgba(250,246,240,0.96); backdrop-filter: blur(8px); margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
  .room-index .ri-title, .room-index .ri-cta { display: none; }
  .room-index ul { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 6px; }
  .room-index a { border-left: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; white-space: nowrap; font-size: 0.85rem; }
  .room-index a.active { border-color: var(--clay); }
  .stay-bar { display: flex; }
  body.has-stay-bar { padding-bottom: 72px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cover-grid, .feature-grid, .team-grid, .facts, .pair, .field-row, .amenity-cols { grid-template-columns: 1fr; }
  .facts { border: 1px solid var(--line); }
  .fact { border-left: none; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: none; }
  .split { flex-direction: column; }
  .split-panel { min-height: 300px; }
  .split-panel:hover, .split-panel:focus-within { flex: 1; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .contact-row { flex-wrap: wrap; }
  .contact-row .clabel { width: auto; }
  .contact-row .cdots { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
  .hero-curtain { display: none; }
  .reveal, .unveil, .hero-anim > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .rooflines svg path { stroke-dashoffset: 0 !important; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .mobile-menu, .stay-bar, .enquiry-drawer, .enquiry-backdrop, .cta { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ==========================================================================
   Additions: portfolio specs, recognition badges, accreditations, platforms
   ========================================================================== */

/* spec line on collection cover cards */
.cover-spec { display: block; font-size: 0.82rem; color: rgba(250,246,240,0.82); margin-top: 6px; letter-spacing: 0.02em; }

/* recognition badges (Superhost, Guest Favourite and so on) */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border: 1px solid var(--brass-line); border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; color: var(--pine); background: rgba(178,153,108,0.07);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }
.on-pine .badge { color: var(--ivory); border-color: rgba(178,153,108,0.5); background: rgba(250,246,240,0.06); }
.badge-logo {
  display: inline-flex; align-items: center; justify-content: center;
  height: 84px; padding: 12px 22px; border: 1px solid var(--brass-line); border-radius: var(--radius);
  background: rgba(178,153,108,0.07); transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.badge-logo img { height: 58px; width: auto; display: block; }
.badge-logo:hover { border-color: var(--brass); transform: translateY(-2px); }
.on-pine .badge-logo { background: rgba(250,246,240,0.06); border-color: rgba(178,153,108,0.5); }
@media (max-width: 640px) { .badge-logo { height: 68px; padding: 10px 16px; } .badge-logo img { height: 44px; } }

/* accreditations */
.accred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.accred { border: 1px solid var(--line); padding: 22px 20px; background: var(--ivory); }
.accred .a-name { font-family: var(--serif); font-size: 1.18rem; color: var(--pine); line-height: 1.2; }
.accred .a-note { font-size: 0.84rem; color: var(--stone); margin-top: 8px; }

/* platform / powered-by strip */
.platforms { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.platform {
  padding: 10px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--serif); font-size: 1.1rem; color: var(--pine); background: var(--ivory);
}
.on-pine .platform { color: var(--ivory); border-color: rgba(250,246,240,0.22); background: rgba(250,246,240,0.05); }

/* social links */
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px;
  border: 1px solid rgba(250,246,240,0.3); border-radius: 100px; font-size: 0.88rem; font-weight: 600; color: var(--ivory);
  transition: all 0.25s var(--ease);
}
.social-links a:hover { background: var(--ivory); color: var(--pine); border-color: var(--ivory); }

/* contact rows with real values */
.contact-row a.cval { color: var(--teal); font-weight: 600; }
.contact-row a.cval:hover { text-decoration: underline; }

/* services list (three offers) */
.offer { border-top: 1px solid var(--line); padding-top: 22px; }
.offer h3 { font-size: 1.35rem; }
.offer p { margin-top: 10px; font-size: 0.98rem; }

/* included checklist */
.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; }
.included li { position: relative; padding-left: 26px; list-style: none; font-size: 0.98rem; color: var(--ink); }
.included li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 8px;
  border-left: 1.8px solid var(--clay); border-bottom: 1.8px solid var(--clay); transform: rotate(-45deg);
}
.on-pine .included li { color: rgba(250,246,240,0.9); }
.on-pine .included li::before { border-color: var(--brass); }

@media (max-width: 980px) {
  .accred-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .accred-grid, .included { grid-template-columns: 1fr; }
}

/* footer: allow long addresses to wrap instead of stretching the grid */
.footer-top > * { min-width: 0; }
.footer-col a, .footer-col li, .footer-brand p, .footer-bottom span { overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* four-person leadership grid */
.team-grid.team-4up { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .team-grid.team-4up { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .team-grid.team-4up { grid-template-columns: 1fr; } }

/* five-person leadership grid: three across, two centred beneath */
.team-grid.team-5up { grid-template-columns: repeat(6, 1fr); }
.team-grid.team-5up > .member { grid-column: span 2; }
.team-grid.team-5up > .member:nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 980px) {
  .team-grid.team-5up { grid-template-columns: repeat(4, 1fr); }
  .team-grid.team-5up > .member:nth-child(4) { grid-column: span 2; }
  .team-grid.team-5up > .member:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 620px) {
  .team-grid.team-5up { grid-template-columns: 1fr; }
  .team-grid.team-5up > .member,
  .team-grid.team-5up > .member:nth-child(4),
  .team-grid.team-5up > .member:nth-child(5) { grid-column: 1 / -1; }
}


/* real logo sizing on smaller screens */
@media (max-width: 620px) {
  .brand img { height: 38px; }
  .footer-brand img { height: 46px; }
}

/* photographs are darker than the placeholders, so lift hero legibility slightly */
.hero::after { background: linear-gradient(100deg, rgba(20,42,36,0.86) 0%, rgba(27,46,39,0.62) 52%, rgba(27,46,39,0.34) 100%); }
.page-hero::after { background: linear-gradient(180deg, rgba(20,42,36,0.68) 0%, rgba(20,42,36,0.78) 100%); }

/* stronger scrim now that heroes carry real photography */
.hero::after {
  background:
    linear-gradient(100deg, rgba(16,34,29,0.94) 0%, rgba(18,38,32,0.80) 38%, rgba(20,42,36,0.46) 70%, rgba(20,42,36,0.30) 100%),
    linear-gradient(180deg, rgba(16,34,29,0.55) 0%, rgba(16,34,29,0.10) 38%, rgba(16,34,29,0.35) 100%);
}
.page-hero::after {
  background:
    linear-gradient(180deg, rgba(16,34,29,0.72) 0%, rgba(16,34,29,0.62) 42%, rgba(16,34,29,0.84) 100%);
}
.hero .display, .page-hero h1 { text-shadow: 0 2px 26px rgba(12,26,22,0.45); }
.hero p, .page-hero p, .hero .eyebrow, .page-hero .eyebrow, .breadcrumb { text-shadow: 0 1px 12px rgba(12,26,22,0.5); }

/* heading colour on photographic heroes (h1 defaults to ink, which is unreadable there) */
.hero h1, .hero .display, .hero h2, .page-hero h1, .split-inner h3, .cover-meta .cover-name { color: var(--ivory); }
.hero .display em, .page-hero h1 em { color: #E9D3AC; }

/* cover cards: deeper scrim so names stay legible over bright photography */
.cover::after {
  background: linear-gradient(180deg, rgba(16,34,29,0) 22%, rgba(16,34,29,0.55) 62%, rgba(14,30,25,0.92) 100%);
}
.cover-meta .cover-name { text-shadow: 0 1px 14px rgba(12,26,22,0.6); }
.cover-meta .cover-loc, .cover-spec { text-shadow: 0 1px 10px rgba(12,26,22,0.7); }

/* cover meta must stack (the spans default to inline and were overlapping) */
.cover-meta .cover-loc, .cover-meta .cover-name, .cover-meta .cover-spec, .cover-rule { display: block; }
.cover-meta .cover-name { line-height: 1.12; margin-top: 6px; }

/* ---------- floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px);
  z-index: 95; display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0 17px; border-radius: 100px;
  background: var(--pine); color: var(--ivory);
  box-shadow: 0 14px 34px -12px rgba(16,34,29,0.55), 0 0 0 1px rgba(178,153,108,0.35);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), gap 0.35s var(--ease);
  overflow: hidden;
}
.wa-float svg { width: 25px; height: 25px; flex: none; }
.wa-float .wa-label {
  font-family: var(--sans); font-weight: 600; font-size: 0.93rem; white-space: nowrap;
  max-width: 0; opacity: 0; transition: max-width 0.4s var(--ease), opacity 0.28s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible {
  background: var(--pine-900); transform: translateY(-2px); gap: 11px;
  box-shadow: 0 18px 40px -12px rgba(16,34,29,0.6), 0 0 0 1px var(--brass);
}
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 220px; opacity: 1; }

/* sits above the mobile enquiry bar where one is present */
body.has-stay-bar .wa-float { bottom: calc(clamp(16px, 2.4vw, 28px) + 4px); }
@media (max-width: 980px) {
  body.has-stay-bar .wa-float { bottom: 84px; }
  .wa-float { height: 54px; padding: 0 15px; }
  .wa-float .wa-label { display: none; }
}
/* stay clear of the enquiry drawer when it is open */
.enquiry-drawer.open ~ .wa-float, body.menu-open .wa-float { opacity: 0; pointer-events: none; }
.wa-float { transition-property: transform, background, box-shadow, gap, opacity; }
@media print { .wa-float { display: none !important; } }

/* WhatsApp glyph: the handset is knocked out in the button colour */
.wa-float .wa-handset { fill: var(--pine); transition: fill 0.3s var(--ease); }
.wa-float:hover .wa-handset, .wa-float:focus-visible .wa-handset { fill: var(--pine-900); }

/* rating line on collection cards */
.cover-rating { display: block; font-size: 0.78rem; color: var(--brass); margin-top: 6px; letter-spacing: 0.04em; text-shadow: 0 1px 10px rgba(12,26,22,0.7); }

/* split panel headings are h2 for document outline; keep the visual scale */
.split-inner h2 { color: var(--ivory); font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.06; }

/* ==========================================================================
   MOTION LAYER
   Signature interactions built around the three-house mark.
   Everything here is disabled under prefers-reduced-motion.
   ========================================================================== */

/* ---------- 1. page transition curtain ---------- */
.transition {
  position: fixed; inset: 0; z-index: 300; display: grid;
  grid-template-columns: repeat(5, 1fr); pointer-events: none;
}
.transition span { background: var(--pine-900); transform: scaleY(0); transform-origin: bottom; }
.transition .t-mark {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; color: var(--brass); pointer-events: none;
}
.transition .t-mark svg { width: 96px; height: 52px; }
.transition .t-mark svg path { stroke-dasharray: 460; stroke-dashoffset: 460; }
/* entering the page: curtain lifts */
body.t-enter .transition span { transform: scaleY(1); transform-origin: top; animation: tOut 0.72s var(--ease) forwards; }
body.t-enter .transition span:nth-child(1) { animation-delay: 0.00s; }
body.t-enter .transition span:nth-child(2) { animation-delay: 0.05s; }
body.t-enter .transition span:nth-child(3) { animation-delay: 0.10s; }
body.t-enter .transition span:nth-child(4) { animation-delay: 0.15s; }
body.t-enter .transition span:nth-child(5) { animation-delay: 0.20s; }
@keyframes tOut { to { transform: scaleY(0); } }
/* leaving the page: curtain drops with the mark drawing */
body.t-leave .transition span { animation: tIn 0.52s var(--ease) forwards; transform-origin: bottom; }
body.t-leave .transition span:nth-child(1) { animation-delay: 0.00s; }
body.t-leave .transition span:nth-child(2) { animation-delay: 0.04s; }
body.t-leave .transition span:nth-child(3) { animation-delay: 0.08s; }
body.t-leave .transition span:nth-child(4) { animation-delay: 0.12s; }
body.t-leave .transition span:nth-child(5) { animation-delay: 0.16s; }
@keyframes tIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
body.t-leave .transition .t-mark { opacity: 1; transition: opacity 0.3s 0.25s var(--ease); }
body.t-leave .transition .t-mark svg path { animation: tDraw 0.7s 0.28s var(--ease) forwards; }
@keyframes tDraw { to { stroke-dashoffset: 0; } }
/* the old hero curtain is replaced by the transition */
.hero-curtain { display: none; }

/* ---------- 2. custom cursor ---------- */
/* Gold-outlined arrow pointer (replaces the old floating circle) */
:root {
  --cursor-arrow: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%3E%3Cpath%20d%3D%22M5%203%20L5%2021%20L10%2016.5%20L13%2023%20L16%2021.5%20L13%2015%20L20%2015%20Z%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%23B2996C%22%20stroke-width%3D%221.5%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E') 5 3, auto;
  --cursor-arrow-gold: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%3E%3Cpath%20d%3D%22M5%203%20L5%2021%20L10%2016.5%20L13%2023%20L16%2021.5%20L13%2015%20L20%2015%20Z%22%20fill%3D%22%23B2996C%22%20stroke%3D%22%237a663f%22%20stroke-width%3D%221.5%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E') 5 3, pointer;
}
@media (hover: hover) and (pointer: fine) {
  html { cursor: var(--cursor-arrow); }
  a, button, .filter, .tab, .cover, [role="button"], label[for], summary { cursor: var(--cursor-arrow-gold); }
  input, textarea, select { cursor: text; }
}
@media (hover: none), (pointer: coarse), (max-width: 980px) { .cursor-ring { display: none; } }

/* ---------- 3. scroll progress with the roofline mark ---------- */
.scroll-rail { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101; background: transparent; pointer-events: none; }
.scroll-rail .rail-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--brass-deep), var(--brass)); }
.scroll-rail .rail-mark { position: absolute; top: -9px; left: 0; width: 26px; height: 16px; color: var(--brass); transform: translateX(-50%); }
.scroll-rail .rail-mark svg { width: 100%; height: 100%; }

/* ---------- 4. split text reveal ---------- */
.split-line {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  min-width: max-content; white-space: nowrap;
  padding-bottom: 0.16em; margin-bottom: -0.16em;
}
.split-line > i { display: inline-block; font-style: inherit; transform: translateY(115%); opacity: 0; }
.text-split { white-space: normal; }
.text-split.in .split-line > i { animation: wordUp 0.85s var(--ease) forwards; }
@keyframes wordUp { to { transform: translateY(0); opacity: 1; } }

/* ---------- 5. parallax inside figures ---------- */
.figure.px { overflow: hidden; }
.figure.px img { will-change: transform; transform: scale(1.14) translate3d(0,0,0); }

/* ---------- 6. cover cards: frame draw + duotone ---------- */
.cover .cover-frame { position: absolute; inset: 14px; z-index: 3; pointer-events: none; }
.cover .cover-frame span { position: absolute; background: var(--brass); transition: transform .55s var(--ease); }
.cover .cover-frame .t, .cover .cover-frame .b { height: 1px; left: 0; right: 0; transform: scaleX(0); }
.cover .cover-frame .l, .cover .cover-frame .r { width: 1px; top: 0; bottom: 0; transform: scaleY(0); }
.cover .cover-frame .t { top: 0; transform-origin: left; }
.cover .cover-frame .b { bottom: 0; transform-origin: right; }
.cover .cover-frame .l { left: 0; transform-origin: bottom; }
.cover .cover-frame .r { right: 0; transform-origin: top; }
.cover:hover .cover-frame span, .cover:focus-visible .cover-frame span { transform: scale(1); }
.cover img { filter: saturate(0.72) contrast(1.03); transition: transform .9s var(--ease), filter .7s var(--ease); }
.cover:hover img, .cover:focus-visible img { filter: saturate(1.06) contrast(1); }
.cover-meta { transition: transform .5s var(--ease); }
.cover:hover .cover-meta { transform: translateY(-4px); }

/* ---------- 7. odometer counters ---------- */
.odo { display: inline-flex; overflow: hidden; vertical-align: bottom; line-height: 1; }
.odo .odo-col { display: block; overflow: hidden; height: 1em; }
.odo .odo-strip { display: block; transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1); }
.odo .odo-strip span { display: block; height: 1em; }

/* ---------- 8. marquee ---------- */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--ivory); padding-inline: 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; }
.marquee-track > span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. magnetic buttons + radial fill ---------- */
.btn { position: relative; overflow: hidden; will-change: transform; }
.btn > *, .btn .btn-t { position: relative; z-index: 2; }
.btn-primary::before, .btn-line::before, .btn-line-light::before {
  content: ""; position: absolute; z-index: 1; top: var(--my, 50%); left: var(--mx, 50%);
  width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%);
  transition: width .5s var(--ease), height .5s var(--ease);
}
.btn-primary::before { background: var(--clay-600); }
.btn-line::before { background: var(--pine); }
.btn-line-light::before { background: rgba(250,246,240,0.16); }
.btn-primary:hover::before, .btn-line:hover::before, .btn-line-light:hover::before { width: 260%; height: 620%; }
.btn-primary:hover { background: var(--clay); }
.btn-line:hover { background: transparent; }

/* ---------- 10. printed grain on the dark bands ---------- */
.pine-band, .cta, .site-footer, .page-hero, .hero { position: relative; }
.pine-band::before, .cta::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.pine-band > *, .cta > *, .site-footer > * { position: relative; z-index: 1; }

/* ---------- 11. reduced motion: strip it all back ---------- */
@media (prefers-reduced-motion: reduce) {
  .transition, .cursor-ring, .scroll-rail { display: none !important; }
  .split-line > i { transform: none !important; opacity: 1 !important; animation: none !important; }
  .figure.px img { transform: none !important; }
  .marquee-track { animation: none !important; }
  .cover img { filter: none !important; }
  .btn { transform: none !important; }
}
@media print { .transition, .cursor-ring, .scroll-rail { display: none !important; } }

/* grid and flex children must be allowed to shrink, otherwise max-content
   children (like the marquee track) stretch the whole page */
.two-col > *, .editorial > *, .leader-cols > *, .amenity-cols > *, .split > * { min-width: 0; }
/* text-split words must never shrink below their content, or they clip */
.text-split > .split-line, .text-split .split-line { min-width: max-content; }
.marquee { width: 100%; max-width: 100%; min-width: 0; }

/* cards still awaiting photography: the placeholder is already dark, so the
   usual saturation shift and heavy scrim would only muddy it */
.cover.awaiting img { filter: none; }
.cover.awaiting::after { background: linear-gradient(180deg, rgba(16,34,29,0) 30%, rgba(16,34,29,0.35) 65%, rgba(14,30,25,0.85) 100%); }

/* three-column stat row (inline grid styles would override the breakpoints) */
.facts.facts-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .facts.facts-3 { grid-template-columns: 1fr; } }

/* platform logos in the distribution strip */
.platforms { align-items: center; gap: 14px 16px; }
.platform-logo {
  display: inline-flex; align-items: center; justify-content: center;
  height: 72px; padding: 0 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ivory); transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.platform-logo img { height: 34px; width: auto; display: block; }
.platform-logo:hover { border-color: var(--brass-line); transform: translateY(-2px); }
.platform-logo.on-dark { background: rgba(250,246,240,0.96); border-color: rgba(250,246,240,0.2); }
/* text pills for platforms without a logo yet: match the taller logo tiles */
.platforms .platform {
  display: inline-flex; align-items: center; height: 72px; padding: 0 26px;
  font-family: var(--sans); font-size: 0.95rem; color: var(--pine-700); background: var(--ivory);
}
@media (max-width: 620px) {
  .platform-logo { height: 60px; padding: 0 20px; }
  .platform-logo img { height: 28px; }
  .platforms .platform { height: 60px; padding: 0 20px; font-size: 0.9rem; }
}

/* ---------- Our Portfolio dropdown ---------- */
.nav-drop { position: relative; }
.nav-drop-head { display: inline-flex; align-items: center; gap: 7px; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; padding: 0; border: 0; background: none;
  color: var(--ink); cursor: var(--cursor-arrow-gold);
}
.nav-drop-toggle svg { width: 11px; height: 7px; transition: transform 0.28s var(--ease); }
.nav-drop.open .nav-drop-toggle svg { transform: rotate(180deg); }
.hero-attached:not(.solid) .nav-drop-toggle { color: var(--ivory); }
.hero-attached.solid .nav-drop-toggle { color: var(--ink); }
.nav-drop-toggle:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.nav-drop-panel {
  position: absolute; top: 100%; left: -16px; z-index: 130;
  padding-top: 16px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s linear;
}
.nav-drop.open .nav-drop-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-drop-inner {
  min-width: 296px; padding: 10px;
  background: var(--ivory);
  border: 1px solid var(--brass-line);
  border-radius: var(--radius);
  box-shadow: 0 22px 48px -20px rgba(27, 46, 39, 0.34);
}
.nav-drop-inner ul { list-style: none; margin: 0; padding: 0; }
.nav-links .nav-drop-inner a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 10px 14px; border-radius: 2px;
  color: var(--pine); font-size: 0.95rem; font-weight: 600;
  transition: background 0.2s var(--ease);
}
.nav-links .nav-drop-inner a::after { display: none; }
.nav-links .nav-drop-inner a:hover, .nav-links .nav-drop-inner a:focus-visible { background: var(--paper); }
.nav-links .nav-drop-inner a:focus-visible { outline: 2px solid var(--brass); outline-offset: -2px; }
.nav-drop-inner .nd-area {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-deep); white-space: nowrap;
}
.nav-links .nav-drop-all {
  display: block; margin-top: 8px; padding: 12px 14px 6px;
  border-top: 1px solid var(--line-2);
  color: var(--brass-deep); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.nav-links .nav-drop-all:hover { color: var(--clay); }

/* mobile disclosure */
.m-drop-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 14px 0; border: 0; background: none; text-align: left;
  border-bottom: 1px solid rgba(250, 246, 240, 0.12);
  font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--ivory);
}
.m-drop-toggle svg { width: 14px; height: 9px; flex: none; transition: transform 0.28s var(--ease); }
.m-drop.open .m-drop-toggle svg { transform: rotate(180deg); }
.m-drop-toggle:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.m-drop-panel { display: none; padding: 4px 0 12px; }
.m-drop.open .m-drop-panel { display: block; }
.mobile-menu .m-drop-panel a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  font-family: var(--sans); font-size: 1.02rem; font-weight: 600;
  padding: 11px 0 11px 14px; border-bottom: 1px solid rgba(250, 246, 240, 0.08);
  border-left: 1px solid rgba(178, 153, 108, 0.4);
}
.mobile-menu .m-drop-panel .m-area {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(250, 246, 240, 0.55); white-space: nowrap;
}
.mobile-menu .m-drop-all { color: var(--brass); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; }
.mobile-menu { overflow-y: auto; }

@media (max-width: 980px) {
  .nav-drop-panel { display: none; }
}
.hero-attached .nav-links .nav-drop-inner a,
.hero-attached.solid .nav-links .nav-drop-inner a { color: var(--pine); }
.hero-attached .nav-links .nav-drop-all,
.hero-attached.solid .nav-links .nav-drop-all { color: var(--brass-deep); }

/* a single-image room gallery should not sit in a half-width column */
.room-gallery:has(> .figure:only-child) { grid-template-columns: 1fr; }

/* successful enquiry submission */
.form-status.ok { background: rgba(34,57,47,0.07); border: 1px solid var(--pine); color: var(--pine); }
