/* The Queenswoodz landing page. Mobile first; desktop layout from 1024px. */
:root {
  --paper: #F3F1EE; --stone: #E7E2DC; --sheet: #DABEB0; --clay: #9C6152; --clay-d: #84503F;
  --ink: #1F1B1A; --text: #3F3936; --muted: #5E5652; --soft: #8C827D; --rule: #D3CBC5; --rule-2: #CFC6BF; --err: #A3372A;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gut: 20px; --max: 1440px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
p, h1, h2, h3, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
a:hover { color: var(--clay); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
[hidden] { display: none !important; }

/* type */
.dsp { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 72; letter-spacing: -0.022em; }
.h2 { font-size: 36px; line-height: 1.02; }
.h3 { font-size: 26px; line-height: 1.12; }
.lab { font-family: var(--sans); font-stretch: 80%; font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
:lang(zh) .lab { text-transform: none; letter-spacing: 0; font-size: 13px; }
.muted { color: var(--muted); }
.clay { color: var(--clay); }
.small { font-size: 13px; line-height: 1.5; }
.lead { font-size: 16px; line-height: 1.55; color: var(--text); }
.body { font-size: 16px; line-height: 1.6; color: var(--text); }
.strong { font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.num { font-family: var(--sans); font-stretch: 66%; font-weight: 250; letter-spacing: -0.03em; line-height: .84; font-size: 96px; font-variant-numeric: lining-nums; }
.unit { font-size: 22px; font-weight: 400; letter-spacing: 0; font-stretch: 80%; margin-left: 8px; }
.unit-pre { margin: 0 6px 0 0; }

/* visibility helpers */
.d-only, .d-grid { display: none !important; }
.m-block { display: block; } .m-flex { display: flex; }

/* actions */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 0 28px; background: var(--clay); color: #fff; font: 600 15px/1.2 var(--sans); text-decoration: none; border: 0; border-radius: 2px; cursor: pointer; transition: background-color .2s; }
.btn:hover { background: var(--clay-d); color: #fff; }
.btn[disabled] { background: var(--clay-d); cursor: progress; }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: #000; }
.lnk { font-weight: 500; font-size: 15px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid currentColor; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; }
.pill svg { width: 16px; height: 16px; }
.ai { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: #fff; opacity: .9; text-shadow: 0 0 8px rgba(0,0,0,.45); }

/* header (mobile: static row above the hero) */
.head { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 8px 0 var(--gut); }
.wordmark { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.wordmark .dsp { font-size: 21px; letter-spacing: -0.01em; }
.wordmark .lab { display: none; font-size: 10px; color: var(--muted); }
.head-nav, .head-visit { display: none; }
.head-act { display: flex; align-items: center; gap: 2px; }
.head-act .pill { border: 0; width: 44px; height: 44px; padding: 0; justify-content: center; }
.head-act .pill span { display: none; }
.head-act .pill svg { width: 20px; height: 20px; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; }
.menu { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; padding: 72px 24px 32px; background: var(--paper); color: var(--ink); }
.menu[open] { display: flex; flex-direction: column; gap: 22px; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--serif); font-weight: 300; font-size: 34px; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.menu .lnk { align-self: center; }
.menu-close { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; font-size: 28px; font-weight: 300; background: none; border: 0; cursor: pointer; }

/* hero */
.hero { display: flex; flex-direction: column-reverse; min-height: calc(100svh - 60px); }
.hero-fig { position: relative; flex: 1 1 auto; min-height: 170px; }
.hero-fig picture, .hero-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-block { display: none; }
.hero-text { display: flex; flex-direction: column; gap: 14px; padding: 22px var(--gut) 24px; }
.hero h1 { font-size: 44px; line-height: .98; }
.hero-support { font-size: 16px; line-height: 1.5; color: var(--text); }
.hero-cta { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.hero-cta .btn { width: 100%; }
.hero-cta .lnk { align-self: center; }
.hero-price { text-align: center; margin-top: -4px; }
@media (max-width: 359px) { .hero h1 { font-size: 36px; } .hero-price { display: none; } }

/* key facts */
.facts { background: var(--stone); padding: 44px var(--gut) 40px; display: flex; flex-direction: column; gap: 26px; }
.facts-row { display: flex; flex-direction: column; gap: 22px; }
.fact { display: flex; flex-direction: column; gap: 10px; }
.fact + .fact { border-top: 1px solid var(--rule-2); padding-top: 22px; }
.fact-t { font-size: 16px; line-height: 1.5; color: var(--text); }
.num-price { font-size: 68px; }
@media (max-width: 359px) { .num-price { font-size: 58px; } }
.facts-foot { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* location */
.band { position: relative; }
.band-img { position: relative; height: 250px; }
.band-img picture, .band-img img { width: 100%; height: 100%; object-fit: cover; }
.band-text { display: flex; flex-direction: column; gap: 14px; padding: 28px var(--gut) 0; }
.band-text .lab { color: var(--muted); }
.band-text h2 { font-size: 36px; line-height: 1.02; }
.loc-intro { padding: 14px var(--gut) 0; }
.scale { position: relative; height: 146px; margin: 26px var(--gut) 0; }
.scale-label { position: absolute; left: 0; top: 0; font-size: 10px; }
.scale-nums { position: absolute; left: 0; right: 0; top: 64px; height: 16px; font-size: 12px; font-stretch: 72%; color: var(--muted); }
.scale-nums > span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.scale-nums > span:first-child { transform: none; }
.scale-nums > span:last-child { transform: translateX(-100%); }
.scale-bar { position: absolute; left: 0; right: 0; top: 50px; height: 10px; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); border: 1.5px solid var(--ink); }
.scale-bar i.on { background: var(--ink); }
.scale-site { position: absolute; left: -6px; top: 47px; width: 15px; height: 15px; background: var(--clay); }
.scale-stn { position: absolute; right: -8px; top: 45px; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--paper); }
.scale-bus { position: absolute; left: 25.56%; top: 56px; height: 30px; border-left: 1px solid var(--soft); }
.scale-bus-t { position: absolute; left: 25.56%; top: 90px; }
.scale-a { position: absolute; left: 0; top: 90px; font-size: 14px; }
.scale-b { position: absolute; right: 0; top: 90px; font-size: 14px; text-align: right; }
.nearby { padding: 12px var(--gut) 104px; }
.nearby-head { display: none; }
.dist { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 8px; padding: 14px 0 12px; border-bottom: 1px solid var(--rule); font-size: 16px; }
.dist.plain { padding: 11px 0; }
.dist .d { font-stretch: 72%; font-size: 17px; font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; height: 2px; background: #E4DDD7; }
.bar i { display: block; height: 2px; background: var(--soft); }
.more-cat { padding: 20px 0 2px; }
.disclose { width: 100%; min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--rule); font: 500 16px var(--sans); text-align: left; cursor: pointer; }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--ink); transition: transform .2s; }
.plus::after { transform: rotate(90deg); }
.disclose[aria-expanded="true"] .plus::after { transform: rotate(0deg); }
.nearby-foot { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.nearby-foot .lab { font-size: 10px; margin-right: 6px; }

/* layouts */
.layouts { background: var(--stone); padding: 48px 0 0; }
.lay-head { display: flex; flex-direction: column; gap: 10px; padding: 0 var(--gut) 20px; }
.lay-head .h2 { font-size: 38px; }
.lay-grid { display: flex; flex-direction: column; }
.picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 var(--gut); }
.pick { display: flex; flex-direction: column; gap: 2px; min-height: 56px; padding: 10px 12px; text-align: left; background: var(--paper); border: 1px solid var(--rule-2); border-radius: 0; cursor: pointer; }
.pick:last-child { grid-column: 1 / -1; }
.pick-n { font-size: 15px; font-weight: 600; }
.pick-m { font-size: 13px; color: var(--muted); }
.pick[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pick[aria-selected="true"] .pick-m { color: #CFC5C1; }
.plan-col { padding: 16px var(--gut) 0; }
.sheet { position: relative; background: var(--sheet); min-height: 320px; display: grid; place-items: center; padding: 44px 12px 16px; }
.sheet-label { position: absolute; left: 12px; top: 14px; color: #5A3F35; font-size: 10.5px; }
.enlarge { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: #5A3F35; cursor: zoom-in; }
.plan-wrap { position: relative; width: 100%; max-height: 300px; max-width: calc(300px * var(--ar, 1.5)); }
.plan-wrap picture, .plan-wrap img { width: 100%; height: 100%; object-fit: contain; }
[data-plan] { transition: opacity .2s; }
.plan-wrap.is-swapping [data-plan] { opacity: .15; }
.studio-mark { position: absolute; left: 78%; top: 22%; width: 21.5%; height: 46%; background: rgba(156,97,82,.22); border: 1.5px solid var(--clay); display: flex; align-items: flex-end; padding: 5px; }
.studio-mark .lab { font-size: 9.5px; color: #6E3D31; background: var(--paper); padding: 2px 5px; }
.plan-ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; min-height: 56px; }
.seg { display: inline-flex; border: 1px solid #BDB2AB; border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 40px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.stepper { justify-content: space-between; align-items: center; gap: 8px; padding-top: 12px; }
.step { min-height: 44px; padding: 0 14px; background: var(--paper); border: 1px solid #BDB2AB; font-size: 14px; font-weight: 500; cursor: pointer; }
.plan-caption { padding-top: 10px; }
.spec-col { padding: 8px var(--gut) 24px; display: flex; flex-direction: column; gap: 14px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.spec { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--rule-2); }
.spec dt { font-stretch: 80%; font-weight: 600; font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.spec b { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.25; }
.spec small { display: block; font-size: 12px; color: var(--muted); }
.spec, .spec dd { min-width: 0; overflow-wrap: anywhere; }
.spec-line { font-size: 16px; line-height: 1.5; color: var(--text); }
.dual { background: var(--paper); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.dual .lab { color: var(--clay); }
.dual p:last-child { font-size: 16px; line-height: 1.5; }

/* enquiry strip (belongs to the selector) */
.strip { background: var(--clay); color: #fff; padding: 26px var(--gut) 30px; display: flex; flex-direction: column; gap: 14px; }
.strip .lab { opacity: .85; }
.strip-layout { font-size: 26px; line-height: 1.1; margin-top: 6px; }
.strip .lnk { color: #fff; text-align: center; }
.strip .consent { color: rgba(255,255,255,.85); }
.strip-act { display: flex; flex-direction: column; gap: 14px; }
.strip .btn { width: 100%; }

/* fields */
.field { display: flex; flex-direction: column; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span:first-child, .field legend { font-size: 13px; font-weight: 600; padding: 0; }
.field input, .field select, .phone { height: 54px; width: 100%; border: 1px solid #BDB2AB; border-radius: 2px; background: #fff; font: 16px var(--sans); color: var(--ink); }
.field input, .field select { padding: 0 14px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 24px, calc(100% - 17px) 24px; background-size: 5px 5px; background-repeat: no-repeat; }
.phone { display: flex; align-items: stretch; padding: 0; }
.phone .cc { display: grid; place-items: center; padding: 0 12px 0 14px; color: var(--muted); border-right: 1px solid #E0D8D2; }
.phone input { border: 0; height: auto; flex: 1; min-width: 0; background: transparent; }
.field input:focus, .field select:focus, .phone:focus-within { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field.invalid input, .field.invalid .phone { border-color: var(--err); }
.err { font-size: 13px; line-height: 1.4; color: var(--err); min-height: 0; }
.err:empty { display: none; }
.strip .field input, .strip .phone { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); color: #fff; }
.strip .field input::placeholder { color: rgba(255,255,255,.72); }
.strip .phone .cc { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.35); }
.strip .field input:focus, .strip .phone:focus-within { border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.strip .err { color: #fff; font-weight: 600; }
.strip .field.invalid input, .strip .field.invalid .phone { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.8); }
.consent { font-size: 12px; line-height: 1.5; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.sent > *:not(.form-msg):not(.strip-title) { display: none !important; }
form.sent.strip { display: flex; flex-direction: column; gap: 14px; }
.form-msg { font-size: 16px; line-height: 1.5; padding: 14px 16px; background: var(--paper); color: var(--ink); }
.form-msg a { font-weight: 600; }
.strip .form-msg { background: rgba(255,255,255,.14); color: #fff; }

/* lifestyle */
.life-band { position: relative; height: 560px; }
.life-band picture, .life-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.life-band::before { content: ""; position: absolute; inset: 0 0 auto; height: 260px; z-index: 1; background: linear-gradient(rgba(20,16,14,.6), rgba(20,16,14,0)); }
.life-text { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); top: 40px; color: #fff; display: flex; flex-direction: column; gap: 16px; }
.life-text h2 { font-size: 42px; line-height: 1; }
.life-band .ai { z-index: 2; }
.life-m-sup { padding: 26px var(--gut) 12px; }
.groups { padding: 0 var(--gut); }
.grp { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.grp:first-child { border-top: 1px solid var(--rule); }
.grp-short { font-size: 16px; line-height: 1.45; }
.life-more { padding: 0 var(--gut); }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.45; }
.life-disc { padding: 16px var(--gut) 96px; }

/* details */
.details { padding: 52px var(--gut) 104px; }
.details > .h2 { font-size: 38px; }
.det-grid { display: flex; flex-direction: column; gap: 22px; padding-top: 22px; }
.dev { display: flex; flex-direction: column; gap: 14px; }
.dev .h3 { font-size: 24px; }
.dev-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dev-photos img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.dev-photos figure:nth-child(n+3) { display: none; }
.rows { border-top: 1px solid var(--ink); }
.rows-soft { border-top-color: var(--rule); }
.rows > div { display: grid; grid-template-columns: 112px 1fr; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.rows dt { color: var(--muted); font-size: 13px; line-height: 1.5; }
.rows dd { font-size: 16px; line-height: 1.4; }
.approvals { padding: 26px 0 6px; }
.facts-list .disclose { margin-top: 8px; }
#more-info { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
#more-info[hidden] { display: none !important; }
.team { grid-template-columns: auto 1fr; column-gap: 24px; row-gap: 8px; font-size: 14px; padding-top: 10px; }
.team dt { color: var(--muted); }

/* final enquiry */
.enquire { display: flex; flex-direction: column; }
.enq-fig { position: relative; height: 150px; }
.enq-fig picture, .enq-fig img { width: 100%; height: 100%; object-fit: cover; }
.enq-fig .ai { display: none; }
.enq-body { display: flex; flex-direction: column; gap: 16px; padding: 30px var(--gut) 40px; }
.enq-body .h2 { font-size: 38px; }
.enq-form { display: flex; flex-direction: column; gap: 16px; }
.intent { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #BDB2AB; border-radius: 2px; padding: 0; margin: 0; }
.intent label { position: relative; }
.intent input, .day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.intent span { display: flex; align-items: center; justify-content: center; min-height: 48px; font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; padding: 0 8px; }
.intent input:checked + span { background: var(--ink); color: var(--paper); }
.intent input:focus-visible + span, .day input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.enq-fields { display: flex; flex-direction: column; gap: 16px; }
.day legend { margin-bottom: 7px; }
.day-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.day-opts label { position: relative; }
.day span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid #BDB2AB; border-radius: 2px; background: #fff; cursor: pointer; font-size: 15px; }
.day input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.enq-act { display: flex; flex-direction: column; gap: 14px; }
.enq-act .lnk { text-align: center; }
.enq-meta { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--rule); padding-top: 18px; font-size: 14px; line-height: 1.55; }

/* footer */
.foot { background: var(--ink); color: #A79D99; padding: 40px var(--gut) calc(44px + var(--safe-b)); display: flex; flex-direction: column; gap: 22px; }
.foot-name { font-size: 30px; color: var(--paper); line-height: 1; }
.foot-place { padding-top: 10px; color: #A79D99; }
.foot-a, .foot-b { display: flex; flex-direction: column; gap: 14px; }
.foot .small { font-size: 12px; line-height: 1.65; }
.foot-end { display: flex; justify-content: space-between; border-top: 1px solid #3A3432; padding-top: 14px; color: #CFC5C1; }
.foot a { color: #CFC5C1; }

/* mobile bottom bar: the only sticky element on phones */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 56px; gap: 8px; padding: 10px 12px calc(12px + var(--safe-b)); background: rgba(243,241,238,.97); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .25s ease; }
.mbar.show { transform: none; }
.mbar .btn { min-height: 52px; padding: 0 8px; font-size: 14px; }
.mbar-wa { display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 2px; height: 52px; }

/* plan dialog */
.plan-dialog { width: min(1200px, 100vw); max-width: 100vw; max-height: 100dvh; border: 0; padding: 56px 16px 20px; background: var(--sheet); color: var(--ink); }
.plan-dialog::backdrop { background: rgba(31,27,26,.6); }
.plan-dialog[open] { display: flex; flex-direction: column; gap: 12px; }
.plan-zoom { overflow: auto; touch-action: pinch-zoom pan-x pan-y; max-height: calc(100dvh - 140px); }
.plan-zoom img { width: 100%; min-width: 720px; height: auto; }
.plan-dialog .lab { color: #5A3F35; }

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  :root { --gut: 40px; }
  .hero h1 { font-size: 60px; }
  .facts-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .fact + .fact { border-top: 0; padding-top: 0; }
  .fact-wide { grid-column: 1 / -1; border-top: 1px solid var(--rule-2) !important; padding-top: 22px !important; }
  .picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick:last-child { grid-column: auto; }
  .dev-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dev-photos figure:nth-child(n+3) { display: block; }
}

/* ---------- desktop ---------- */
@media (min-width: 1024px) {
  :root { --gut: 80px; }
  .d-only { display: inline !important; }
  .d-grid { display: grid !important; }
  .m-only, .m-block, .m-flex, .m-grid { display: none !important; }
  p.d-only, div.d-only, h3.d-only, ul.d-only, figure.d-only, a.d-only { display: block !important; }
  .h2 { font-size: 64px; line-height: 1; }
  .h3 { font-size: 34px; }
  .lead { font-size: 19px; }
  .body { font-size: 17px; }
  .lab { font-size: 12px; }

  /* header over the hero */
  .head { position: absolute; z-index: 10; left: 0; right: 0; top: 0; height: 100px; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); align-items: center; }
  .wordmark .lab { display: inline; }
  .wordmark .dsp { font-size: 25px; }
  .head-nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; color: #fff; padding-left: 40px; grid-column: 2; grid-row: 1; }
  .head-nav a, .head-act a { color: #fff; text-decoration: none; }
  .head-nav a:hover, .head-visit:hover { text-decoration: underline; text-underline-offset: 6px; color: #fff; }
  .head-act { grid-column: 2; grid-row: 1; justify-self: end; gap: 22px; }
  .head-visit { display: inline; font-size: 14px; font-weight: 500; }
  .head-act .pill { border: 1px solid rgba(255,255,255,.7); width: auto; height: 40px; padding: 0 16px; }
  .head-act .pill span { display: inline; }
  .head-act .pill svg { width: 16px; height: 16px; }
  .menu-btn { display: none; }
  .head.is-sticky { position: fixed; top: 0; height: 64px; grid-template-columns: auto 1fr auto; column-gap: 40px; background: rgba(243,241,238,.96); border-bottom: 1px solid var(--rule); animation: drop .25s ease; }
  .head.is-sticky .head-nav { grid-column: 2; padding-left: 0; justify-content: center; color: var(--ink); }
  .head.is-sticky .head-nav a, .head.is-sticky .head-act a { color: var(--ink); }
  .head.is-sticky .head-act { grid-column: 3; }
  .head.is-sticky .head-act .pill { border-color: var(--ink); }
  .head.is-sticky .wordmark .dsp { font-size: 22px; }
  @keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }

  .hero { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); min-height: clamp(720px, 100svh, 960px); }
  .hero-fig { grid-column: 2; grid-row: 1; }
  .hero-fig::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 150px; background: linear-gradient(rgba(20,16,14,.42), rgba(20,16,14,0)); }
  .hero-fig::after { content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 190px; background: linear-gradient(rgba(20,16,14,0), rgba(20,16,14,.55)); }
  .hero-block { display: grid; grid-template-columns: auto auto; column-gap: 40px; row-gap: 6px; position: absolute; z-index: 2; left: 56px; bottom: 34px; color: #fff; border-top: 1px solid rgba(255,255,255,.55); padding-top: 14px; }
  .hero-block > div { display: contents; }
  .hero-block .lab { font-size: 11px; opacity: .8; grid-row: 1; }
  .hero-block span:not(.lab) { font-size: 15px; grid-row: 2; }
  .hero-fig .ai { z-index: 2; right: 64px; bottom: 34px; font-size: 12px; }
  .hero-text { grid-column: 1; grid-row: 1; justify-content: flex-end; gap: 30px; padding: 120px 60px 76px var(--gut); }
  .hero h1 { font-size: clamp(72px, 6.4vw, 100px); line-height: .95; max-width: 6.2em; }
  .hero-support { font-size: 19px; line-height: 1.55; max-width: 25em; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 30px; row-gap: 16px; }
  .hero-cta .btn { width: auto; min-height: 58px; white-space: nowrap; }
  .hero-cta .lnk { white-space: nowrap; }
  .hero-price { text-align: left; margin-top: -8px; }

  .facts { padding: 96px var(--gut) 80px; gap: 56px; }
  .facts-row { display: grid; grid-template-columns: 3fr 3fr 5fr; column-gap: 48px; }
  .fact { gap: 22px; }
  .fact + .fact, .fact-wide { border-top: 0 !important; padding-top: 0 !important; border-left: 1px solid #C9C0B9; padding-left: 40px; }
  .fact-wide { grid-column: auto; }
  .num { font-size: clamp(120px, 11vw, 164px); }
  .num-price { font-size: clamp(120px, 11vw, 164px); }
  .unit { font-size: 30px; margin-left: 10px; }
  .unit-pre { margin: 0 10px 0 0; }
  .fact-t { font-size: 17px; line-height: 1.55; max-width: 18em; }
  .ruler { display: block !important; position: relative; height: 64px; border-bottom: 1px solid var(--ink); }
  .tick { position: absolute; top: 0; height: 100%; padding-left: 10px; text-decoration: none; display: flex; flex-direction: column; }
  .tick::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 12px; border-left: 1.5px solid var(--ink); }
  .tick:first-child { padding-left: 0; }
  .tick:last-child { transform: translateX(-100%); padding: 0 10px 0 0; text-align: right; }
  .tick:last-child::after { left: auto; right: 0; }
  .tick-s { font-size: 20px; font-stretch: 70%; }
  .tick-n { font-size: 13px; color: var(--muted); white-space: nowrap; }
  .tick:hover .tick-n { color: var(--clay); }
  .facts-foot { flex-direction: row; justify-content: space-between; align-items: baseline; margin-top: -30px; }

  .band-img { height: 580px; }
  .band-img .ai { right: var(--gut); bottom: 30px; font-size: 12px; }
  .band-text { position: absolute; left: var(--gut); bottom: 64px; padding: 0; color: #fff; z-index: 2; }
  .band-img::after { content: ""; position: absolute; inset: auto 0 0; height: 330px; background: linear-gradient(rgba(20,16,14,0), rgba(20,16,14,.62)); }
  .band-img .ai { z-index: 2; }
  .band-text .lab { color: #fff; opacity: .85; }
  .band-text h2 { font-size: 76px; line-height: .98; max-width: 10.5em; }
  .location { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; }
  .band { grid-column: 1 / -1; }
  .loc-intro { grid-column: 1; padding: 88px 0 0 var(--gut); }
  .scale { grid-column: 2; margin: 88px var(--gut) 0 0; height: 206px; }
  .scale-label { font-size: 12px; }
  .scale-nums { top: 80px; }
  .scale-bar { top: 62px; }
  .scale-site { left: -7px; top: 59px; width: 16px; height: 16px; }
  .scale-stn { right: -9px; top: 57px; width: 20px; height: 20px; box-shadow: 0 0 0 4px var(--paper); }
  .scale-bus { top: 74px; height: 36px; }
  .scale-bus-t { top: 114px; }
  .scale-a, .scale-b { top: 112px; font-size: 16px; }
  .walk-track { top: 16px; height: 45px; }
  .walker svg { width: 27px; height: 45px; }
  .nearby { grid-column: 1 / -1; padding: 72px var(--gut) 112px; display: flex; flex-direction: column; gap: 26px; }
  .nearby-head { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 28px; }
  .nearby-head .h3 { font-size: 38px; }
  .nearby-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 40px; }
  .nearby-grid .lab { padding-bottom: 6px; }
  .nearby-grid .dist { font-size: 15px; }
  .nearby-grid .dist .d { font-size: 16px; }
  .nearby-foot { flex-direction: row; justify-content: space-between; gap: 40px; padding-top: 6px; }

  .layouts { padding: 96px 0 0; }
  .lay-head { flex-direction: row; justify-content: space-between; align-items: flex-end; padding: 0 var(--gut) 48px; }
  .lay-head > div { display: flex; flex-direction: column; gap: 16px; }
  .lay-head .h2 { font-size: 64px; }
  .lay-head .lead { font-size: 17px; padding-bottom: 8px; }
  .lay-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr) 290px; column-gap: 48px; padding: 0 var(--gut) 72px; align-items: start; }
  .picker { display: flex; flex-direction: column; gap: 0; padding: 0; border-top: 1px solid var(--rule-2); }
  .pick { border: 0; border-bottom: 1px solid var(--rule-2); background: transparent; padding: 16px 18px; gap: 4px; }
  .pick-n { font-family: var(--serif); font-weight: 300; font-size: 25px; line-height: 1.1; letter-spacing: -0.02em; color: #6F6560; }
  .pick:hover .pick-n { color: var(--ink); }
  .pick[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: inset 2px 0 0 var(--ink); }
  .pick[aria-selected="true"] .pick-n { color: var(--ink); }
  .pick[aria-selected="true"] .pick-m { color: var(--muted); }
  .plan-col { padding: 0; }
  .sheet { min-height: 540px; padding: 56px 24px 40px; }
  .sheet-label { left: 22px; top: 20px; font-size: 11px; }
  .enlarge { right: 14px; top: 12px; }
  .plan-wrap { max-height: 440px; max-width: min(100%, calc(440px * var(--ar, 1.5))); }
  .plan-caption { position: relative; }
  .spec-col { padding: 0; gap: 22px; }
  .specs { display: block; border-top: 1px solid var(--rule-2); }
  .spec { padding: 13px 0; gap: 4px; }
  .spec dt { font-size: 11px; }
  .spec b { font-size: 20px; }
  .strip { display: grid; grid-template-columns: 330px minmax(0, 1fr) minmax(0, 1fr) auto; column-gap: 20px; row-gap: 12px; align-items: end; padding: 34px var(--gut) 30px; }
  .strip-title { padding-bottom: 4px; }
  .strip-layout { font-size: 28px; margin-top: 8px; }
  .strip-sup { margin-top: 8px; opacity: .85; }
  .strip-act { flex-direction: row; align-items: center; gap: 22px; height: 54px; }
  .strip .btn { width: auto; min-height: 54px; }
  .strip .lnk { white-space: nowrap; }
  .strip .consent { grid-column: 2 / -1; }
  .strip .form-msg { grid-column: 1 / -1; }
  .strip .field { align-self: end; }
  .strip { row-gap: 30px; }
  .strip .field { position: relative; }
  .strip .err { position: absolute; left: 0; top: 100%; margin-top: 4px; font-size: 12px; }

  .life-band { height: 820px; }
  .life-band::before { height: 380px; background: linear-gradient(rgba(20,16,14,.58), rgba(20,16,14,0)); }
  .life-text { left: var(--gut); right: auto; top: 88px; max-width: 900px; gap: 20px; }
  .life-text p { max-width: 32em; }
  .life-text h2 { font-size: 84px; line-height: .96; }
  .life-text p { font-size: 19px; line-height: 1.55; opacity: .94; max-width: 29em; }
  .life-band .ai { right: var(--gut); bottom: 26px; font-size: 12px; }
  .groups { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); column-gap: 48px; padding: 104px var(--gut) 0; align-items: start; }
  .grp { gap: 18px; padding: 0; border: 0 !important; }
  .grp-1 { margin-top: 72px; }
  .grp-2 { margin-top: 24px; }
  .grp figure { display: flex !important; flex-direction: column; gap: 14px; }
  .grp figure img { width: 100%; object-fit: cover; }
  .grp-0 figure img { height: 300px; }
  .grp-1 figure img { height: 380px; }
  .grp-2 figure img { height: 420px; object-position: 78% 50%; }
  .grp .lab { padding-top: 10px; }
  .grp ul { border-top: 1px solid var(--rule); }
  .grp li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.45; color: #2E2926; }
  .grp li b { color: var(--ink); font-weight: 600; }
  .life-disc { padding: 56px var(--gut) 112px; }

  .details { padding: 112px var(--gut); }
  .details > .h2 { font-size: 64px; }
  .det-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; padding-top: 64px; align-items: start; }
  .dev { gap: 22px; }
  .dev .h3 { font-size: 32px; }
  .team { padding-top: 18px; }
  .rows > div { grid-template-columns: 210px 1fr; column-gap: 24px; padding: 15px 0; }
  .rows dt { font-size: 14px; }
  .approvals { padding: 34px 0 6px; }
  .m-grid { display: none !important; }

  .enquire { display: grid; grid-template-columns: 560px minmax(0, 1fr); min-height: 920px; }
  .enq-fig { height: auto; }
  .enq-fig picture, .enq-fig img { position: absolute; inset: 0; }
  .enq-fig .ai { display: block; right: 16px; bottom: 12px; font-size: 12px; }
  .enq-body { padding: 96px 120px 96px 96px; gap: 26px; }
  .enq-body .h2 { font-size: 64px; }
  .intent { display: flex; gap: 36px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; margin-top: 6px; }
  .intent span { min-height: 0; padding: 0 0 12px; font-size: 16px; color: var(--soft); justify-content: flex-start; }
  .intent input:checked + span { background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
  .enq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 20px; }
  .day span { min-height: 54px; }
  .enq-act { flex-direction: row; align-items: center; gap: 28px; }
  .enq-act .btn { min-height: 58px; }
  .enq-meta { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 12px; }

  .foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; padding: 64px var(--gut) 40px; }
  .foot-a { justify-content: space-between; }
  .foot-name { font-size: 40px; }
  .foot .small { font-size: 13px; line-height: 1.7; }

  .mbar { display: none; }
  .plan-dialog { padding: 60px 40px 28px; }
  .plan-zoom img { min-width: 0; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .head-nav { display: none; }
  .hero-text { padding-right: 40px; }
}

@media (min-width: 1600px) {
  .hero, .facts, .location, .layouts, .life, .details, .enquire, .foot { max-width: none; }
}

/* thank-you and privacy pages */
.page { max-width: 720px; margin: 0 auto; padding: 72px var(--gut) 96px; display: flex; flex-direction: column; gap: 16px; }
.page .h3 { padding-top: 12px; }

.enq-meta:not(:has(div)) { display: none; }

/* developer's location map */
.loc-map { margin: 28px var(--gut) 0; display: flex; flex-direction: column; gap: 10px; }
.loc-map img { width: 100%; height: auto; }
@media (min-width: 1024px) {
  .loc-map { grid-column: 1 / -1; margin: 72px auto 0; width: min(1100px, calc(100% - 2 * var(--gut))); }
}

/* walking figure on the 900m scale: site to station, then fades and repeats */
.walk-track { position: absolute; left: 0; right: 0; top: 12px; height: 37px; pointer-events: none; }
.walker { position: absolute; left: 0; bottom: 0; transform: translateX(-50%); opacity: 0; }
.walker svg { display: block; width: 22px; height: 37px; overflow: visible; }
.walker circle { fill: var(--ink); }
.walker line { stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.walker .w-back line { stroke: var(--soft); }
.w-arm, .w-leg { transform-box: view-box; }
.w-arm { transform-origin: 12px 11px; }
.w-leg { transform-origin: 12px 22px; }
.w-body { transform-box: view-box; transform-origin: 12px 37px; }
.scale.walking .walker { animation: walk-x 12s linear infinite; }
.scale.walking .w-body { animation: w-bob .44s ease-in-out infinite alternate; }
.scale.walking .w-front.w-leg, .scale.walking .w-back.w-arm { animation: w-swing .44s ease-in-out infinite alternate; }
.scale.walking .w-back.w-leg, .scale.walking .w-front.w-arm { animation: w-swing .44s ease-in-out infinite alternate-reverse; }
@keyframes walk-x { 0% { left: 0; opacity: 0; } 4% { left: 0; opacity: 1; } 84% { left: 100%; opacity: 1; } 92% { left: 100%; opacity: 0; } 100% { left: 100%; opacity: 0; } }
@keyframes w-swing { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@keyframes w-bob { from { transform: translateY(0) rotate(4deg); } to { transform: translateY(-1.5px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .walker { opacity: 1; left: 12px; } .scale.walking .walker, .scale.walking .w-body, .scale.walking .w-arm, .scale.walking .w-leg { animation: none; } }

/* 360° virtual tour: a poster until tapped, then the tour loads in place */
.tour { padding: 64px 0 72px; }
.tour-head { display: flex; flex-direction: column; gap: 12px; padding: 0 var(--gut) 24px; }
.tour-head > div { display: flex; flex-direction: column; gap: 10px; }
.tour-head .h2 { font-size: 38px; }
.tour-frame { position: relative; aspect-ratio: 4 / 5; background: var(--ink); overflow: hidden; }
.tour-frame picture, .tour-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; border: 0; cursor: pointer; color: #fff; font: 500 15px/1.2 var(--sans); background: rgba(20,16,14,.46); transition: background .2s; }
.tour-play:hover { background: rgba(20,16,14,.34); }
.tour-play:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.tour-ring { display: grid; place-items: center; width: 84px; height: 84px; border: 1.5px solid #fff; border-radius: 50%; font: 300 22px/1 var(--serif); letter-spacing: .02em; }
.tour-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; padding: 14px var(--gut) 0; }
.tour-foot a { color: var(--ink); }
@media (min-width: 1024px) {
  .tour { padding: 120px 0 128px; }
  .tour-head { flex-direction: row; justify-content: space-between; align-items: flex-end; padding: 0 var(--gut) 48px; gap: 40px; }
  .tour-head > div { gap: 16px; }
  .tour-head .h2 { font-size: 64px; }
  .tour-head .lead { font-size: 17px; max-width: 30em; padding-bottom: 8px; }
  .tour-frame { aspect-ratio: 16 / 9; margin: 0 var(--gut); }
  .tour-ring { width: 108px; height: 108px; font-size: 28px; }
  .tour-play { font-size: 16px; }
  .tour-foot { padding: 16px var(--gut) 0; }
}

/* The hero h1 carries the project name (eyebrow) and the headline, laid out as before */
.hero-h1 { display: flex; flex-direction: column; gap: inherit; font-weight: 300; }
.hero-h1 .hero-eyebrow { line-height: 1.4; }

/* FAQ: plain HTML answers, readable by search engines and AI assistants */
.faq { padding: 64px var(--gut) 72px; background: var(--stone); }
.faq-head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.faq-head .h2 { font-size: 38px; }
.faq-item { border-bottom: 1px solid var(--rule-2); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 58px; padding: 14px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font: 500 16px/1.4 var(--sans); }
.faq-item[open] .plus::after { transform: rotate(0deg); }
.faq-item p { padding: 0 32px 20px 0; color: var(--text); max-width: 44em; }
@media (min-width: 1024px) {
  .faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 60px; padding: 120px var(--gut) 128px; }
  .faq-head { gap: 16px; }
  .faq-head .h2 { font-size: 64px; }
  .faq-item summary h3 { font-size: 18px; }
  .faq-item p { font-size: 17px; }
}

/* Six header links: on narrower desktops the WhatsApp button shrinks to its icon */
@media (min-width: 1280px) and (max-width: 1679px) {
  .head-nav { gap: 20px; padding-left: 32px; }
  .head-act .pill { width: 40px; padding: 0; justify-content: center; }
  .head-act .pill span { display: none; }
}
