/* Rosemont Collective — site styles */
:root {
  color-scheme: light;
  --ink: #050a17;          /* logo navy */
  --ink-2: #0b1222;
  --bone: #f4f1eb;
  --paper: #faf8f4;
  --text: #121520;
  --muted: #5b5850;
  --line: #dcd6cb;
  --on-dark: #f1ebe0;      /* logo cream */
  --muted-dark: #a9a49b;
  --line-dark: #1e2535;
  --gold: #c9a27a;         /* logo gold */
  --gold-deep: #7a5b39;
  --pad: clamp(20px, 4.4vw, 72px);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bone); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, figure, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--bone); color: var(--ink); padding: 12px 18px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type and shared pieces ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.dark .eyebrow, .band .eyebrow { color: var(--gold); }
.display { font-weight: 200; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
.display em { font-style: italic; font-weight: 200; }
.h2 { font-size: clamp(34px, 4.2vw, 64px); }
.dark { background: var(--ink); color: var(--on-dark); }
.section { padding: clamp(80px, 11vw, 168px) var(--pad); }
.head { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lead { font-size: 21px; font-weight: 300; line-height: 1.55; }
.soft { color: var(--muted); }
.dark .soft { color: var(--muted-dark); }
.index { font-size: 11px; font-weight: 500; letter-spacing: 0.3em; color: var(--gold-deep); }
.dark .index { color: var(--gold); }

.arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.25; transition: transform 0.4s var(--ease); }
.link {
  display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
}
.link:hover .arrow { transform: translateX(6px); }
.link-row { display: flex; flex-wrap: wrap; gap: 20px 48px; }

.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 34px;
  border: 1px solid currentColor; background: transparent; color: inherit; text-align: center;
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: translateY(101%); transition: transform 0.55s var(--ease); }
.btn:hover::before { transform: none; }
.btn--light { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--light::before { background: var(--gold); }
.btn--light:hover { border-color: var(--gold); }
.btn--ghost:hover { color: var(--ink); border-color: var(--bone); }
.btn--dark { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--dark::before { background: var(--gold-deep); }
.btn--dark:hover { border-color: var(--gold-deep); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold::before { background: var(--bone); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.list li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dark .list li { border-color: var(--line-dark); }
.list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 22px var(--pad); color: #fff; border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.site-header.scrolled, .site-header.solid {
  background: rgba(5, 10, 23, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px; border-bottom-color: rgba(255, 255, 255, 0.08);
}
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
.nav a { position: relative; display: flex; align-items: center; min-height: 44px; transition: color 0.3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.wordmark { display: flex; align-items: center; gap: 14px; min-height: 44px; text-transform: uppercase; line-height: 1; }
.wordmark img { height: 38px; width: auto; }
.wordmark .words { display: flex; flex-direction: column; gap: 6px; }
.wordmark b { font-weight: 400; font-size: 17px; letter-spacing: 0.42em; margin-right: -0.42em; color: var(--on-dark); }
.wordmark small { font-size: 9px; font-weight: 500; letter-spacing: 0.56em; margin-right: -0.56em; color: var(--gold); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.header-btn { min-height: 44px; padding: 0 22px; font-size: 11px; }
.menu-btn { display: none; min-height: 44px; padding: 0; background: none; border: 0; color: inherit; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto 1fr; }
  .nav, .header-btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
}
@media (max-width: 420px) { .wordmark b { font-size: 14px; letter-spacing: 0.32em; } .wordmark img { height: 32px; } }
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--on-dark);
  display: none; flex-direction: column; justify-content: center; gap: 4px; padding: 96px var(--pad) 40px;
}
.menu.open { display: flex; }
.menu a:not(.btn) { font-size: 34px; font-weight: 200; letter-spacing: -0.02em; min-height: 56px; display: flex; align-items: center; }
.menu a[aria-current="page"] { color: var(--gold); }
.menu .menu-close { position: absolute; top: 22px; right: var(--pad); display: inline-flex; }
.menu .btn { align-self: flex-start; margin-top: 24px; }
.menu small { margin-top: 28px; font-size: 14px; color: var(--muted-dark); letter-spacing: 0.06em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: #fff;
}
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero > .cover { z-index: -2; animation: drift 26s ease-in-out infinite alternate; }
.shade { position: absolute; inset: 0; z-index: -1; }
.hero .shade { background: linear-gradient(to right, rgba(5,10,23,0.62) 0%, rgba(5,10,23,0.2) 55%, rgba(5,10,23,0) 80%), linear-gradient(to bottom, rgba(5,10,23,0.66) 0%, rgba(5,10,23,0.12) 26%, rgba(5,10,23,0.45) 58%, rgba(5,10,23,0.94) 100%); }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; padding: 140px var(--pad) clamp(40px, 7vh, 88px); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero .eyebrow { color: var(--gold); }
h1 { font-size: clamp(38px, 7.4vw, 124px); font-weight: 200; letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }
h1 em { font-style: italic; font-weight: 200; }
.hero-sub { max-width: 540px; font-size: 18px; font-weight: 300; color: rgba(255, 255, 255, 0.9); }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 16px; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 1px; height: 72px; background: linear-gradient(var(--gold), var(--gold)) no-repeat top / 100% 40%, rgba(255,255,255,0.25); animation: cue 2.6s ease-in-out infinite; }
@keyframes cue { 0% { background-position: 0 -40px, 0 0; } 100% { background-position: 0 80px, 0 0; } }
@media (max-width: 760px) { .scroll-cue { display: none; } .hero-inner { grid-template-columns: 1fr; } }

/* Page hero */
.band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink); }
.band > .cover { z-index: -2; }
.page-hero { min-height: clamp(440px, 66vh, 680px); display: flex; align-items: flex-end; padding: 168px var(--pad) clamp(48px, 6vw, 88px); }
.page-hero .shade { background: linear-gradient(to bottom, rgba(5,10,23,0.72) 0%, rgba(5,10,23,0.32) 40%, rgba(5,10,23,0.88) 100%); }
.page-hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 980px; }
.page-title { font-size: clamp(38px, 6.6vw, 108px); letter-spacing: -0.04em; line-height: 0.98; }
.page-hero p { font-size: 19px; font-weight: 300; max-width: 620px; color: rgba(255, 255, 255, 0.9); }
.page-hero.plain { min-height: 0; padding-top: 180px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--on-dark); overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: clamp(22px, 2.6vw, 38px) 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span { font-size: clamp(26px, 3.6vw, 56px); font-weight: 200; letter-spacing: -0.025em; white-space: nowrap; padding: 0 clamp(20px, 2.4vw, 40px); }
.marquee-group span:nth-child(4n + 3) { font-style: italic; color: var(--gold); }
.marquee-group b { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); gap: 40px clamp(32px, 6vw, 120px); align-items: start; }
.statement .eyebrow { padding-top: 14px; }
.statement-copy { display: flex; flex-direction: column; gap: 48px; max-width: 1040px; }
.statement-copy > p { font-size: clamp(26px, 3vw, 46px); font-weight: 200; line-height: 1.26; letter-spacing: -0.025em; text-wrap: pretty; }
.sw { transition: opacity 0.5s ease; }
.js .scrub .sw { opacity: 0.16; }
.js .scrub .sw.on { opacity: 1; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } .statement .eyebrow { padding-top: 0; } }

/* ---------- Numbered rows (why partner) ---------- */
.stack { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 80px); }
.rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); border-top: 1px solid var(--line); }
.rows > div { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 44px) clamp(0px, 2vw, 32px) clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 22px; font-weight: 300; letter-spacing: -0.015em; line-height: 1.25; }
.rows p { color: var(--muted); font-size: 16px; }
.dark .rows, .dark .rows > div { border-color: var(--line-dark); }
.dark .rows p { color: var(--muted-dark); }
.services { padding-top: 0; }
.services .head-row { border-top: 1px solid var(--line); padding-top: clamp(56px, 6vw, 96px); }

/* ---------- Gallery carousel (home) ---------- */
.carousel { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 64px); }
.controls { display: flex; align-items: center; gap: 28px; }
.counter { font-size: 12px; letter-spacing: 0.3em; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.counter b { font-weight: 400; color: var(--gold); }
.round { display: flex; gap: 12px; }
.round button {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(241, 235, 224, 0.45); background: transparent; color: var(--on-dark);
  display: flex; align-items: center; justify-content: center; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.round button:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.stage { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; min-height: 300px; overflow: hidden; background: #0e1424; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.stage .cover { opacity: 0; transition: opacity 1.1s ease, transform 6s ease-out; transform: scale(1.04); }
.stage .cover.active { opacity: 1; transform: scale(1); }
.bar { height: 1px; background: var(--line-dark); margin-top: 18px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.bar i.run { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.listing { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 32px; }
.address { font-size: clamp(26px, 2.8vw, 42px); font-weight: 200; letter-spacing: -0.025em; line-height: 1.15; }
.suburb { margin-top: 10px; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-dark); }
.specs { display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; font-size: 14px; letter-spacing: 0.08em; }
.tag { padding: 9px 16px; border: 1px solid var(--gold); color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: clamp(40px, 7vw, 128px); align-items: center; }
.frame { overflow: hidden; background: var(--line); }
.dark .frame { background: #0e1424; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.6s var(--ease); }
.split .frame { aspect-ratio: 4 / 5; max-height: 780px; width: 100%; }
.split:hover .frame img, .card:hover .frame img { scale: 1.05; }
.copy { display: flex; flex-direction: column; gap: 32px; max-width: 560px; }
.copy .link { align-self: flex-start; }

/* ---------- Difference band ---------- */
.difference { min-height: min(88vh, 860px); display: flex; align-items: center; justify-content: center; text-align: center; padding: clamp(96px, 12vw, 180px) var(--pad); }
.difference .shade { background: rgba(5, 10, 23, 0.72); }
.difference-copy { display: flex; flex-direction: column; align-items: center; gap: 36px; max-width: 1020px; }
.difference .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.difference h2 { font-size: clamp(36px, 5.4vw, 84px); }
.difference p { max-width: 640px; font-weight: 300; color: rgba(255, 255, 255, 0.88); }

/* ---------- Areas ---------- */
.areas { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 80px); }
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: clamp(20px, 2.2vw, 36px); }
.area {
  position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff;
  height: clamp(380px, 44vw, 660px); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  padding: clamp(24px, 3vw, 44px);
}
.area .cover { z-index: -2; transition: scale 1.6s var(--ease); }
.area:hover .cover { scale: 1.06; }
.area .shade { background: linear-gradient(to bottom, rgba(5,10,23,0) 30%, rgba(5,10,23,0.55) 68%, rgba(5,10,23,0.9) 100%); }
.area.soon { background: radial-gradient(120% 90% at 80% 10%, #1b2540 0%, var(--ink) 70%); }
.area.soon::before { content: ""; position: absolute; inset: clamp(16px, 2vw, 28px); border: 1px solid rgba(201, 162, 122, 0.35); z-index: -1; }
.area-name { font-size: clamp(36px, 4.2vw, 64px); font-weight: 200; letter-spacing: -0.03em; line-height: 1; }
.area .link { border-bottom-color: rgba(255, 255, 255, 0.6); }
.area .note-soon { font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 960px) {
  .area-grid { display: flex; }
  .area-grid .area { flex: 1 1 0; min-width: 0; transition: flex-grow 0.9s var(--ease), opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .area-grid:hover .area { flex-grow: 0.8; }
  .area-grid .area:hover { flex-grow: 1.4; }
}

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(20px, 2.2vw, 36px); }
.review { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line-dark); }
.review .stars { color: var(--gold); letter-spacing: 0.3em; font-size: 13px; }
.review blockquote { margin: 0; font-size: 19px; font-weight: 300; line-height: 1.5; letter-spacing: -0.005em; }
.review cite { font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-dark); }
.rating { display: flex; align-items: baseline; gap: 16px; }
.rating b { font-size: clamp(56px, 6vw, 96px); font-weight: 200; letter-spacing: -0.04em; line-height: 1; color: var(--gold); }
.rating span { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-dark); }

/* ---------- Approval path / steps ---------- */
.path { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: clamp(28px, 3vw, 48px); }
.path > div { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.path h3 { font-size: 26px; font-weight: 200; letter-spacing: -0.02em; }
.path p { color: var(--muted); font-size: 16px; }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr) minmax(0, 1.4fr); gap: 24px clamp(24px, 4vw, 72px); align-items: start; padding: clamp(36px, 4.5vw, 64px) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num { font-size: clamp(48px, 6vw, 96px); font-weight: 200; letter-spacing: -0.04em; line-height: 0.9; color: var(--gold-deep); }
.step .body { display: flex; flex-direction: column; gap: 16px; }
.step h2 { font-size: clamp(30px, 3.4vw, 52px); }
.step .led { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; }
.step .led span { font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.step .led b { font-weight: 400; font-size: 16px; }
@media (max-width: 820px) { .step { grid-template-columns: auto 1fr; } .step .led { grid-column: 2; padding-top: 0; } }

/* ---------- Ledger (approach) ---------- */
.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: clamp(40px, 6vw, 112px); }
.form-heading { font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ledger .list li { font-size: 19px; font-weight: 300; padding: 20px 0; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); border-top: 1px solid var(--line-dark); }
.pillar { display: flex; flex-direction: column; gap: 24px; padding: clamp(32px, 4vw, 64px) clamp(0px, 2vw, 32px) clamp(32px, 4vw, 64px) 0; border-bottom: 1px solid var(--line-dark); }
.pillar b { font-size: clamp(32px, 3.6vw, 56px); font-weight: 200; letter-spacing: -0.03em; line-height: 1.05; }
.pillar p { color: var(--muted-dark); }

/* ---------- Stay cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: clamp(36px, 4vw, 64px) clamp(20px, 2.2vw, 36px); }
.card { display: flex; flex-direction: column; gap: 22px; }
.card .frame { position: relative; aspect-ratio: 4 / 3; }
.card .frame .tag { position: absolute; top: 16px; left: 16px; background: rgba(5, 10, 23, 0.82); border: 0; }
.card-body { display: flex; flex-direction: column; gap: 8px; }
.card-title { font-size: 26px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.2; }
.card-suburb { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.card-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; letter-spacing: 0.04em; }
.card-meta span:last-child { color: var(--gold-deep); font-weight: 500; }
.card.placeholder { justify-content: center; align-items: flex-start; padding: clamp(28px, 3vw, 44px); border: 1px dashed #b4ab9b; min-height: 320px; }
.card.placeholder h3 { font-size: 26px; font-weight: 200; letter-spacing: -0.02em; }
.card.placeholder p { color: var(--muted); }

.criteria { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: clamp(32px, 5vw, 96px); }
.criteria > div { display: flex; flex-direction: column; gap: 20px; }
.criteria h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 200; letter-spacing: -0.025em; line-height: 1.1; }

/* ---------- Stay detail ---------- */
.detail-top { padding: 112px var(--pad) clamp(40px, 5vw, 72px); display: flex; flex-direction: column; gap: 24px; }
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.back:hover { color: var(--gold); }
.back:hover .arrow { transform: translateX(-6px); }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: clamp(6px, 0.8vw, 12px); height: clamp(320px, 56vw, 680px); }
.mosaic button { position: relative; padding: 0; border: 0; background: #0e1424; overflow: hidden; cursor: zoom-in; }
.mosaic button:first-child { grid-row: span 2; }
.mosaic button img { transition: scale 1.4s var(--ease), opacity 0.4s; }
.mosaic button:hover img { scale: 1.05; }
.mosaic .all { position: absolute; right: 14px; bottom: 14px; padding: 12px 18px; background: rgba(5,10,23,0.85); color: var(--on-dark); font-size: 10px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; }
@media (max-width: 720px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: clamp(340px, 110vw, 560px); }
  .mosaic button:first-child { grid-column: span 2; grid-row: auto; }
  .mosaic button:nth-child(n+4) { display: none; }
}
.detail-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 44px; }
.detail-title { font-size: clamp(36px, 4.6vw, 72px); }
.spec-row { display: flex; flex-wrap: wrap; gap: 18px 44px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec { display: flex; flex-direction: column; gap: 4px; }
.spec b { font-size: 30px; font-weight: 200; letter-spacing: -0.02em; line-height: 1.1; }
.spec span { font-size: 10px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 680px; }
.amenities { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 40px; }
.amenities li { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.amenities li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.amenities { padding: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 40px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }
.sub-h { font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); }
.detail-aside { position: sticky; top: 96px; scroll-margin-top: 88px; }
.book-bar { display: none; }
@media (max-width: 980px) {
  .book-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 60px; padding: 0 22px; background: var(--ink); color: var(--on-dark); box-shadow: 0 10px 30px rgba(5,10,23,0.3);
    transition: translate 0.4s var(--ease), opacity 0.4s;
  }
  .book-bar span { font-size: 13px; color: var(--muted-dark); }
  .book-bar b { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
  .book-bar.away { translate: 0 120%; opacity: 0; pointer-events: none; }
  body:has(.book-bar) .to-top { bottom: 84px; }
}
@media (max-width: 980px) { .detail-body { grid-template-columns: 1fr; } .detail-aside { position: static; } }

/* Booking panel + calendar */
.panel { border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; background: var(--paper); }
.panel h2 { font-size: 30px; font-weight: 200; letter-spacing: -0.02em; line-height: 1.15; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal-head button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); display: flex; align-items: center; justify-content: center; }
.cal-head button:hover:not([disabled]) { border-color: var(--ink); }
.cal-head button[disabled] { opacity: 0.3; cursor: default; }
.cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.cal-month h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; margin-bottom: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid .dow { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 6px 0; }
.cal-grid button {
  aspect-ratio: 1; min-height: 34px; border: 0; background: transparent; color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums;
  border-radius: 50%; transition: background 0.2s, color 0.2s;
}
.cal-grid button:hover:not([disabled]) { background: var(--line); }
.cal-grid button[disabled] { color: #b3ada2; cursor: default; }
.cal-grid button.booked { text-decoration: line-through; }
.cal-grid button.in-range { background: rgba(201, 162, 122, 0.22); border-radius: 0; }
.cal-grid button.sel { background: var(--ink); color: var(--bone); border-radius: 50%; }
.cal-grid button.today { box-shadow: inset 0 0 0 1px var(--gold); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cal-legend .l-free { border: 1px solid var(--text); }
.cal-legend .l-booked { background: #cfc9be; }
.cal-legend .l-sel { background: var(--ink); }
.cal-status { font-size: 13px; color: var(--muted); }
.booking-summary { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.booking-summary > div { padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.booking-summary > div + div { border-left: 1px solid var(--line); }
.booking-summary span { font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.booking-summary b { font-weight: 400; font-size: 16px; }
.guests { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); }
.guests span { font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 18px; line-height: 1; color: var(--text); }
.stepper button:hover:not([disabled]) { border-color: var(--ink); }
.stepper button[disabled] { opacity: 0.3; cursor: default; }
.stepper output { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.panel .btn { width: 100%; }
.panel .fine { font-size: 13px; color: var(--muted); }
.panel .fine a { border-bottom: 1px solid currentColor; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 28px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid #8a8376; border-radius: 0; padding: 12px 0; min-height: 48px;
  appearance: none; -webkit-appearance: none; transition: border-color 0.3s;
}
.field select { padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121520' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 18px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field.invalid input, .field.invalid textarea { border-bottom-color: #9b2c2c; }
.err { font-size: 13px; color: #9b2c2c; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form .btn { align-self: flex-start; }
.form-done { display: none; flex-direction: column; gap: 20px; align-items: flex-start; }
.form-done h3 { font-size: 30px; font-weight: 200; letter-spacing: -0.02em; line-height: 1.15; }
.form-done p { color: var(--muted); }
.sent .form { display: none; }
.sent .form-done { display: flex; }
.form-fail { font-size: 14px; color: #9b2c2c; }
.form-fail:empty { display: none; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 128px); align-items: start; }
.details { display: flex; flex-direction: column; gap: 36px; }
.detail-item { display: flex; flex-direction: column; gap: 8px; }
.detail-item h3 { font-size: 11px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); }
.detail-item a, .detail-item p { font-size: clamp(20px, 2vw, 28px); font-weight: 200; letter-spacing: -0.015em; line-height: 1.35; overflow-wrap: anywhere; }
.detail-item a { align-self: flex-start; border-bottom: 1px solid transparent; }
.detail-item a:hover { border-bottom-color: currentColor; }
.detail-item small { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Privacy prose ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(32px, 6vw, 120px); }
.legal-body { display: flex; flex-direction: column; gap: 40px; max-width: 760px; }
.legal-body h2 { font-size: 26px; font-weight: 300; letter-spacing: -0.015em; margin-bottom: 12px; }
.legal-body p + p { margin-top: 12px; }
.legal-body a { border-bottom: 1px solid currentColor; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } }

/* ---------- Call to action band ---------- */
.contact { min-height: min(92vh, 820px); display: flex; align-items: flex-end; padding: clamp(96px, 12vw, 160px) var(--pad) clamp(64px, 8vw, 112px); }
.contact .shade { background: linear-gradient(to right, rgba(5,10,23,0.88) 0%, rgba(5,10,23,0.56) 55%, rgba(5,10,23,0.3) 100%); }
.contact-copy { display: flex; flex-direction: column; gap: 28px; max-width: 820px; }
.contact h2 { font-size: clamp(46px, 7.4vw, 120px); letter-spacing: -0.04em; line-height: 0.98; }
.contact p { font-size: 19px; font-weight: 300; max-width: 560px; color: rgba(255, 255, 255, 0.9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: clamp(72px, 8vw, 120px) var(--pad) 36px; display: flex; flex-direction: column; gap: clamp(56px, 6vw, 96px); }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.footer-brand img { width: 200px; height: auto; }
.footer-brand p { color: var(--muted-dark); max-width: 300px; font-size: 15px; }
.col { display: flex; flex-direction: column; font-size: 15px; }
.col h3 { font-size: 11px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.col a { display: flex; align-items: center; min-height: 44px; transition: color 0.3s; overflow-wrap: anywhere; }
.col a:hover, .col a[aria-current="page"] { color: var(--gold); }
.col p { color: var(--muted-dark); }
.footer-base { padding-right: 76px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 28px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(5, 10, 23, 0.97); color: var(--on-dark);
  display: flex; align-items: center; justify-content: center; padding: 72px clamp(16px, 6vw, 96px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s 0.4s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease), visibility 0s; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(241,235,224,0.4); color: inherit; min-height: 48px; min-width: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { border-color: var(--gold); color: var(--gold); }
.lightbox .lb-close { top: 16px; right: 16px; border-radius: 0; padding: 0 18px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }
.lightbox .lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.lightbox .lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: 0.3em; color: var(--muted-dark); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(241,235,224,0.3); background: rgba(5,10,23,0.85); color: var(--on-dark); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top .arrow { transform: rotate(-90deg); }
.to-top:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Image reveal ---------- */
.js .reveal .frame img, .js .frame.reveal img { clip-path: inset(0 0 100% 0); scale: 1.18; transition: clip-path 1.3s var(--ease), scale 1.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in .frame img, .js .frame.reveal.in img { clip-path: inset(0 0 0 0); scale: 1; }
.js .frame.reveal { opacity: 1; transform: none; }
.js .reveal.in:hover .frame img, .js .split:hover .frame.reveal.in img { scale: 1.05; }

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

/* ---------- Loading screen and page transitions ---------- */
#curtain {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0; pointer-events: none;
}
.motion.loading #curtain { visibility: visible; opacity: 1; pointer-events: auto; animation: curtainSafety 0s linear 5s forwards; }
@keyframes curtainSafety { to { visibility: hidden; opacity: 0; } }
#curtain.leave { visibility: visible; opacity: 0; transition: opacity 0.7s var(--ease), visibility 0s 0.7s; }
#curtain.cover { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity 0.45s var(--ease); }
.curtain-mark { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.curtain-mark img { width: clamp(150px, 22vw, 220px); height: auto; }
.curtain-mark i { display: block; width: 140px; height: 1px; background: rgba(241, 235, 224, 0.18); position: relative; overflow: hidden; }
.curtain-mark i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); }
.loading #curtain .curtain-mark i::after { animation: loadbar 0.45s var(--ease) forwards; }
.loading.first #curtain .curtain-mark i::after { animation-duration: 1.3s; }
#curtain.cover .curtain-mark i::after { animation: loadbar 0.5s var(--ease) 0.1s forwards; }
#curtain.leave .curtain-mark i::after { transform: none; }
.loading.first #curtain .curtain-mark img { animation: markIn 1s var(--ease) both; }
#curtain.cover .curtain-mark img { animation: markIn 0.6s var(--ease) both; }
@keyframes loadbar { to { transform: none; } }
@keyframes markIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Hero copy rises in once the loading screen lifts */
.motion .hero-copy > *, .motion .page-hero-copy > *, .motion .detail-top > * { opacity: 0; translate: 0 26px; }
.motion.entered .hero-copy > *, .motion.entered .page-hero-copy > *, .motion.entered .detail-top > * {
  opacity: 1; translate: 0 0; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--n, 0) * 0.1s + 0.1s);
}
.motion .hero > .cover, .motion .page-hero > .cover { scale: 1.12; transition: scale 2.2s var(--ease); }
.motion.entered .hero > .cover, .motion.entered .page-hero > .cover { scale: 1; }
