/* Harlow & Reed — concept agency website (SEVN Spaces showcase)
   Art direction: architectural, quietly luxurious. Limestone and charcoal, Instrument Serif display,
   Hanken Grotesk text, DM Mono for measurements. Spatial UI accent #8FA8FF. */

/* ---------- fonts: the self-hosted web fonts are declared in fonts.css (the home page loads it once the first paint is
   on screen, other pages link it). These metric-matched local fallbacks (size-adjust / ascent / descent overrides) hold
   the same layout until then, so the swap doesn't move anything. */
@font-face { font-family: "Instrument Serif Fallback"; font-style: normal; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"); size-adjust: 82.8%; ascent-override: 119.55%; descent-override: 37.44%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Serif Fallback"; font-style: italic; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Liberation Serif Italic"); size-adjust: 83.2%; ascent-override: 119%; descent-override: 37.26%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Grotesk Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 100.9%; ascent-override: 99.1%; descent-override: 30%; line-gap-override: 0%; }
@font-face { font-family: "DM Mono Fallback"; src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono"); size-adjust: 99.98%; ascent-override: 99.22%; descent-override: 31.01%; line-gap-override: 0%; }

:root {
  --paper: #F3F0EA;
  --paper-2: #ECE7DF;
  --stone: #E2DBD0;
  --stone-2: #D3CABC;
  --ink: #1E1D1B;
  --ink-2: #3A3834;
  --muted: #67625A;
  --line: rgba(30, 29, 27, .14);
  --line-2: rgba(30, 29, 27, .26);
  --charcoal: #1B1A19;
  --charcoal-2: #262523;
  --on-dark: #EEEAE3;
  --on-dark-muted: #A9A398;
  --spatial: #8FA8FF;
  --spatial-ink: #3B4FB0;
  --bronze: #8A6A48;
  --ok: #3E7A5A;
  --warn: #9A6B1E;
  --stage: linear-gradient(180deg, #E4E3E1 0%, #EAE6DF 52%, #E3DED4 100%);

  --serif: "Instrument Serif", "Instrument Serif Fallback", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Hanken Grotesk Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", "DM Mono Fallback", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1400px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;

  /* motion tokens: architectural and smooth (long, quiet deceleration; springs settle without wobble) */
  --dur-1: 140ms;   /* hover, press */
  --dur-2: 240ms;   /* state changes */
  --dur-3: 380ms;   /* entering content, pills travelling */
  --dur-4: 480ms;   /* image zoom inside frames, drawers; the ceiling */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.62 var(--sans); font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--spatial-ink); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--spatial); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.022em; line-height: .94; margin: 0; }
.d-xl { font-size: clamp(3.1rem, 8.4vw, 6rem); }
.d-l { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: .98; }
.d-m { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.02; }
.d-s { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.08; letter-spacing: -.012em; }
.display em, .d-em { font-style: italic; }
h1, h2, h3, h4 { text-wrap: balance; }
h3 { font: 600 1.05rem/1.3 var(--sans); letter-spacing: -.005em; margin: 0 0 .4em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.measure { max-width: 66ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; }
.label { font: 500 .74rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- buttons */
.btn {
  --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.35em; border-radius: 999px; border: 1px solid var(--b);
  background: var(--ink); color: var(--paper); font: 500 .96rem/1 var(--sans); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out), translate var(--dur-3) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { background: var(--ink-2); }
.btn:active:not([disabled]) { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(30, 29, 27, .05); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: #fff; }
.btn--spatial { background: var(--spatial); border-color: var(--spatial); color: var(--ink); }
.btn--spatial:hover { background: #a5b8ff; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: .5em; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-3) var(--ease-out); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- header */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 0%, transparent); transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 30px; height: 30px; }
.brand__name { font-family: var(--serif); font-size: 1.62rem; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.brand__name i { font-style: italic; color: var(--bronze); padding: 0 .04em; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.pill-concept {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 16px 0 12px; letter-spacing: .05em; border-radius: 999px;
  border: 1px solid var(--line-2); font: 500 .72rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.pill-concept::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spatial); box-shadow: 0 0 0 3px rgba(143, 168, 255, .28); }
.pill-concept:hover { border-color: var(--ink); }
.pill-concept { flex: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .35s var(--ease); }
.nav-toggle span::before { content: ""; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-header .pill-concept { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .25);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-family: var(--serif); font-size: 2rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .pill-concept { display: inline-flex; margin-top: 18px; align-self: flex-start; font-family: var(--mono); font-size: .72rem; border-bottom: 1px solid var(--line-2); padding: 0 12px; }
}

/* ---------- sections */
.section { padding: clamp(72px, 10vw, 148px) 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--stone { background: var(--paper-2); }
.section--dark { background: var(--charcoal); color: var(--on-dark); }
.section--dark .muted, .section--dark .label { color: var(--on-dark-muted); }
.rule { border: 0; height: 1px; background: var(--line); margin: 0; }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > :first-child { grid-column: 1 / span 7; }
.section-head > :last-child:not(:first-child) { grid-column: 9 / -1; color: var(--muted); }
@media (max-width: 880px) { .section-head > * { grid-column: 1 / -1 !important; } .section-head > :last-child:not(:first-child) { margin-top: 16px; } }

/* ---------- media frames */
.frame { position: relative; overflow: hidden; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--stage { background: var(--stage); }
.caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font: 400 .78rem/1.4 var(--mono); letter-spacing: .03em; color: var(--muted); }

/* ---------- home hero */
.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); }
.hero__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: end; }
.hero__title { grid-column: 1 / span 9; }
.hero__aside { grid-column: 10 / -1; padding-bottom: .6rem; }
.hero__aside p { color: var(--ink-2); }
.hero__media { margin-top: clamp(32px, 4.5vw, 60px); aspect-ratio: 21 / 9; }
.hero__media img { object-position: 50% 54%; }
.hero__tag {
  position: absolute; left: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 2;
  display: flex; align-items: center; gap: 18px; padding: 14px 16px 14px 20px; background: rgba(243, 240, 234, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 4px; text-decoration: none; max-width: calc(100% - 28px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .35); transition: transform .5s var(--ease);
}
.hero__tag:hover { transform: translateY(-2px); }
.hero__tag strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.05; }
.hero__tag span { font-size: .85rem; color: var(--muted); }
.hero__tag .arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex: none; }
.hero__tag .arrow svg { width: 16px; height: 16px; }
@media (max-width: 880px) {
  .hero__title, .hero__aside { grid-column: 1 / -1; }
  .hero__aside { margin-top: 22px; }
  .hero__media { aspect-ratio: 4 / 3.6; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
  .hero__media img { object-position: 46% 50%; }
}

/* headline line reveal */
.reveal-lines .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.reveal-lines .line > span { display: block; transform: translateY(105%); transition: transform 1.25s var(--ease); }
.is-loaded .reveal-lines .line > span { transform: none; }
.reveal-lines .line:nth-child(2) > span { transition-delay: .09s; }
.reveal-lines .line:nth-child(3) > span { transition-delay: .18s; }
.img-reveal img { transform: scale(1.06); filter: blur(6px) saturate(.9); opacity: .001; transition: transform 1.8s var(--ease), filter 1.4s var(--ease), opacity 1s var(--ease); }
.is-loaded .img-reveal img, .img-reveal.is-in img { transform: none; filter: none; opacity: 1; }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-lines .line > span, .img-reveal img, [data-reveal] { transform: none !important; opacity: 1 !important; filter: none !important; transition: none !important; }
}
.no-js [data-reveal], .no-js .reveal-lines .line > span, .no-js .img-reveal img { opacity: 1; transform: none; filter: none; }

/* ---------- statement */
.statement { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); }
.statement__big { grid-column: 1 / span 8; font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -.012em; margin: 0; }
.statement__body { grid-column: 9 / -1; padding-top: .5rem; color: var(--ink-2); }
@media (max-width: 880px) { .statement__big, .statement__body { grid-column: 1 / -1; } .statement__body { margin-top: 28px; } }

/* ---------- featured property */
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: center; }
.feature__media { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.feature__body { grid-column: 9 / -1; }
.feature__stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin: 28px 0 32px; }
.feature__stats div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.feature__stats div:nth-child(odd) { padding-right: 16px; }
.feature__stats dt { margin-bottom: 2px; }
.feature__stats dd { margin: 0; font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; }
@media (max-width: 880px) { .feature__media, .feature__body { grid-column: 1 / -1; } .feature__body { margin-top: 32px; } }

/* ---------- listings */
.listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.listing { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.listing__media { aspect-ratio: 5 / 4; position: relative; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.listing__media img, .listing__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
a.listing:hover .listing__media img, a.listing:hover .listing__media svg { transform: scale(1.03); }
.listing__badge { position: absolute; left: 12px; top: 12px; background: var(--paper); border-radius: 999px; padding: 6px 11px; font: 500 .7rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; display: inline-flex; gap: 7px; align-items: center; }
.listing__badge--spatial::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spatial); }
.listing__body { padding-top: 18px; display: grid; gap: 4px; }
.listing__title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; letter-spacing: -.01em; }
.listing__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font: 400 .8rem/1.4 var(--mono); letter-spacing: .03em; margin-top: 6px; }
.listing__cta { margin-top: 14px; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 980px) { .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .listings { grid-template-columns: 1fr; } }

/* ---------- steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 28px clamp(0px, 1.6vw, 24px) 8px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: clamp(16px, 1.6vw, 24px); }
.step:last-child { border-right: 0; }
.step__fig { height: 96px; margin-bottom: 22px; display: flex; align-items: flex-end; }
.step__fig svg { height: 96px; width: auto; }
.step p { color: var(--muted); font-size: .96rem; }
.section--dark .step { border-color: rgba(238, 234, 227, .14); }
.section--dark .steps { border-color: rgba(238, 234, 227, .14); }
.section--dark .step p { color: var(--on-dark-muted); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2) { border-right: 0; } .step:nth-child(3) { padding-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); } .step:first-child { border-top: 0; } }

/* ---------- agent block */
.agent { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: start; }
.agent__portrait { grid-column: 1 / span 4; aspect-ratio: 4 / 5; background: var(--stone); position: relative; overflow: hidden; }
.agent__portrait svg { width: 100%; height: 100%; }
.agent__body { grid-column: 6 / -1; }
.agent__note { margin-top: 10px; font-size: .8rem; color: var(--muted); }
@media (max-width: 880px) { .agent__portrait, .agent__body { grid-column: 1 / -1; } .agent__portrait { max-width: 420px; aspect-ratio: 5 / 4; } .agent__body { margin-top: 32px; } }

/* ---------- CTA band */
.cta-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: end; }
.cta-band h2 { grid-column: 1 / span 8; }
.cta-band .cta-band__act { grid-column: 9 / -1; display: grid; gap: 18px; justify-items: start; }
@media (max-width: 880px) { .cta-band h2, .cta-band .cta-band__act { grid-column: 1 / -1; } .cta-band .cta-band__act { margin-top: 28px; } }

/* ---------- footer */
.site-footer { background: var(--charcoal); color: var(--on-dark); padding: clamp(64px, 8vw, 110px) 0 28px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 40px; }
.footer-brand { grid-column: 1 / span 5; }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand .brand__name i { color: #C9A985; }
.footer-brand p { color: var(--on-dark-muted); margin-top: 22px; max-width: 34ch; }
.footer-col { grid-column: span 2; }
.footer-col:first-of-type { grid-column: 7 / span 2; }
.footer-col h2 { font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col li { color: var(--on-dark); font-size: .95rem; }
.footer-legal { margin-top: clamp(56px, 7vw, 96px); padding-top: 22px; border-top: 1px solid rgba(238, 234, 227, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; font-size: .84rem; color: var(--on-dark-muted); }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { color: var(--on-dark); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(238, 234, 227, .4); }
.footer-word { font-family: var(--serif); font-size: clamp(4rem, 17vw, 15rem); line-height: .8; letter-spacing: -.035em; color: rgba(238, 234, 227, .07); margin: clamp(48px, 6vw, 88px) 0 0; white-space: nowrap; overflow: hidden; user-select: none; }
.footer-word i { font-style: italic; }
/* The word is drawn from data-w (generated content): decorative and aria-hidden, so it stays out of the text contrast checks. */
.footer-word [data-w]::before { content: attr(data-w); }
@media (max-width: 880px) { .footer-brand { grid-column: 1 / -1; } .footer-col, .footer-col:first-of-type { grid-column: span 6; } }

/* ---------- page heads */
.page-head { padding: clamp(40px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.page-head .display { max-width: 15ch; }
.page-head .lede { margin-top: 26px; }
.crumbs { display: flex; gap: 8px; font: 400 .78rem/1 var(--mono); letter-spacing: .04em; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- filters */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: .9rem; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- forms */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.field .hint { font-size: .8rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  border-radius: 0; font-size: 1.02rem; transition: border-color .3s var(--ease); appearance: none; -webkit-appearance: none;
}
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231E1D1B' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 26px; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; }
.field.has-error .input, .field.has-error .textarea { border-color: #A3402E; }
.field .error { color: #A3402E; font-size: .82rem; display: none; }
.field.has-error .error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.radios legend { margin-bottom: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.radio-pill input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.radio-pill input:focus-visible + span { outline: 2px solid var(--spatial-ink); outline-offset: 2px; }
.sim-note { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 6px; }
.sim-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.confirm { border: 1px solid var(--line-2); border-radius: 6px; padding: clamp(22px, 3vw, 36px); background: var(--paper); }
.confirm h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin-bottom: 8px; }
.confirm dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 22px 0; font-size: .95rem; }
.confirm dt { color: var(--muted); }
.confirm dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.badge-sim { display: inline-flex; align-items: center; gap: 6px; font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 10px; color: var(--ink-2); }
.badge-sim::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }

/* ---------- two-col content */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 40px; }
.split__a { grid-column: 1 / span 5; }
.split__b { grid-column: 7 / -1; }
@media (max-width: 880px) { .split__a, .split__b { grid-column: 1 / -1; } }
.list-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list-rows li { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list-rows li strong { font-weight: 500; }
@media (max-width: 620px) { .list-rows li { grid-template-columns: 1fr; gap: 4px; } }
.section--dark .list-rows, .section--dark .list-rows li { border-color: rgba(238, 234, 227, .14); }

/* ---------- process page */
.phase { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.phase__n { grid-column: 1 / span 2; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: .9; color: var(--stone-2); }
.phase__h { grid-column: 3 / span 4; }
.phase__b { grid-column: 8 / -1; color: var(--ink-2); }
.phase__b ul { margin: 0; padding-left: 1.1em; }
.phase__b li { margin-bottom: .4em; }
@media (max-width: 880px) { .phase__n { grid-column: 1 / -1; margin-bottom: 10px; } .phase__h, .phase__b { grid-column: 1 / -1; } .phase__b { margin-top: 14px; } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.compare figure { margin: 0; }
.compare .frame { aspect-ratio: 4 / 3; border: 1px solid var(--line); background: #FAF8F4; }
.compare .frame svg { width: 100%; height: 100%; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.never { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(238, 234, 227, .14); }
.never li { list-style: none; padding: 24px 24px 24px 0; border-bottom: 1px solid rgba(238, 234, 227, .14); color: var(--on-dark-muted); }
.never li strong { display: block; color: var(--on-dark); font-weight: 500; margin-bottom: 4px; }
.never { padding: 0; margin: 0; }
@media (max-width: 880px) { .never { grid-template-columns: 1fr; } }

/* =================================================================== PROPERTY MICROSITE */
.ms-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.ms-header .wrap { height: 64px; display: flex; align-items: center; gap: 20px; }
.ms-header .brand__name { font-size: 1.3rem; }
.ms-header .brand svg { width: 26px; height: 26px; }
.ms-nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.ms-nav::-webkit-scrollbar { display: none; }
.ms-nav a { text-decoration: none; font-size: .88rem; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; white-space: nowrap; transition: background .3s; }
.ms-nav a:hover { background: rgba(30, 29, 27, .06); }
.ms-nav a.is-active { background: var(--ink); color: var(--paper); }
.ms-header .btn { min-height: 40px; padding: 0 16px; font-size: .88rem; }
@media (max-width: 880px) {
  .ms-header .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 8px; row-gap: 6px; }
  .ms-nav { order: 3; width: 100%; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); width: calc(100% + var(--gutter) * 2); }
  .ms-header .btn--enquire { margin-left: auto; }
}

.ms-banner { background: var(--ink); color: var(--paper); font-size: .86rem; }
.ms-banner .wrap { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.ms-banner a { color: var(--paper); }
.ms-banner--warn { background: #5C4320; }

.ms-hero { padding-top: clamp(32px, 5vw, 72px); }
.ms-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: end; }
.ms-hero__title { grid-column: 1 / span 8; }
.ms-hero__title .display { font-size: clamp(3rem, 8vw, 6rem); }
.ms-hero__suburb { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--muted); margin-top: 10px; }
.ms-hero__aside { grid-column: 9 / -1; display: grid; gap: 18px; justify-items: start; padding-bottom: 8px; }
.ms-stats { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(28px, 4vw, 48px); }
.ms-stats div { flex: 1 1 0; min-width: 120px; padding: 16px 18px 16px 0; }
.ms-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.ms-stats dd { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1; }
.ms-stats dt { margin-top: 6px; }
.ms-hero__media { margin-top: clamp(20px, 3vw, 36px); aspect-ratio: 2.25 / 1; }
@media (max-width: 880px) {
  .ms-hero__title, .ms-hero__aside { grid-column: 1 / -1; }
  .ms-hero__aside { margin-top: 22px; }
  .ms-stats div { flex: 1 1 40%; padding: 14px 0; }
  .ms-stats div + div { padding-left: 0; border-left: 0; }
  .ms-stats div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .ms-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ms-hero__media { aspect-ratio: 4 / 3.4; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
}

.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 2.4vw, 40px); border-top: 1px solid var(--line); margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; text-align: right; font-weight: 500; font-size: .96rem; }
@media (max-width: 620px) { .facts { grid-template-columns: 1fr; } }
.approved-tag { display: inline-flex; align-items: center; gap: 8px; font: 500 .72rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ok); }
.approved-tag svg { width: 14px; height: 14px; }

/* viewer */
.tour-band { background: var(--charcoal); color: var(--on-dark); padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 100px); }
.tour-band .section-head > :last-child { color: var(--on-dark-muted); }
.viewer { position: relative; border-radius: 6px; overflow: hidden; background: var(--stage); aspect-ratio: 16 / 9; min-height: 420px; isolation: isolate; }
.viewer__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease); z-index: 0; }
.viewer.is-ready .viewer__poster { opacity: 0; pointer-events: none; }
.viewer .hv-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; z-index: 1; touch-action: none; cursor: grab; }
.viewer .hv-canvas:active { cursor: grabbing; }
.viewer.is-walk .hv-canvas { cursor: crosshair; }
.hv-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .4s; }
.hv-labels.is-on { opacity: 1; }
.hv-label { position: absolute; left: 0; top: 0; white-space: nowrap; font: 500 .72rem/1 var(--sans); color: var(--ink); background: rgba(255, 255, 255, .86); padding: 6px 9px; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); transition: opacity .3s; letter-spacing: .01em; }
.viewer__ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: grid; grid-template-rows: auto 1fr auto; padding: 14px; gap: 10px; }
.viewer__ui > * { pointer-events: auto; }
.viewer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; pointer-events: none; }
.viewer__top > * { pointer-events: auto; }
.seg { display: inline-flex; padding: 4px; background: rgba(27, 26, 25, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--on-dark); min-height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer; font-size: .84rem; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; transition: background .3s, color .3s; white-space: nowrap; }
.seg button svg { width: 15px; height: 15px; }
.seg button[aria-pressed="true"] { background: var(--spatial); color: var(--ink); }
.seg button:hover:not([aria-pressed="true"]) { background: rgba(255, 255, 255, .1); }
.tools { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tool { min-height: 38px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: .8rem; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .4); transition: background .3s; }
.tool svg { width: 15px; height: 15px; }
.tool[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tool:hover { background: #fff; }
.tool[aria-pressed="true"]:hover { background: var(--ink-2); }
.viewer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.minimap { width: 168px; background: rgba(250, 248, 244, .92); border-radius: 6px; padding: 8px; box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .45); backdrop-filter: blur(8px); }
.minimap svg { width: 100%; height: auto; }
.minimap .fp-labels, .minimap .fp-furniture, .minimap .fp-dim, .minimap .fp-north, .minimap .fp-scale, .minimap g[stroke] line { display: none; }
.fp-marker .fp-dot { fill: var(--spatial-ink); stroke: #fff; stroke-width: .12; }
.fp-marker .fp-cone { fill: rgba(91, 115, 230, .25); stroke: none; }
.walkpad { display: none; grid-template-columns: repeat(3, 48px); grid-template-rows: repeat(2, 48px); gap: 6px; }
.viewer.is-walk .walkpad { display: grid; }
.walkpad button { width: 48px; height: 48px; border-radius: 12px; border: 0; background: rgba(27, 26, 25, .82); color: #fff; display: grid; place-items: center; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
.walkpad button:active, .walkpad button.is-down { background: var(--spatial); color: var(--ink); }
.walkpad button svg { width: 18px; height: 18px; }
.walkpad [data-walk="forward"] { grid-column: 2; grid-row: 1; }
.walkpad [data-walk="left"] { grid-column: 1; grid-row: 2; }
.walkpad [data-walk="back"] { grid-column: 2; grid-row: 2; }
.walkpad [data-walk="right"] { grid-column: 3; grid-row: 2; }
.walk-hint { font-size: .74rem; color: var(--on-dark); background: rgba(27, 26, 25, .7); padding: 6px 10px; border-radius: 999px; display: none; }
.viewer.is-walk .walk-hint { display: inline-block; }
.tourbar { display: none; position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 4; background: rgba(27, 26, 25, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 10px; padding: 14px 16px; color: var(--on-dark); gap: 14px; align-items: center; grid-template-columns: auto 1fr auto; }
.viewer.is-touring .tourbar { display: grid; }
.viewer.is-touring .viewer__bottom, .viewer.is-touring .tools { visibility: hidden; }
.tourbar__caption { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; min-width: 0; }
.tourbar__caption small { display: block; font: 400 .72rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 4px; }
.tourbar__track { grid-column: 1 / -1; height: 2px; background: rgba(255, 255, 255, .18); position: relative; border-radius: 2px; }
.tourbar__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--spatial); border-radius: 2px; transform: scaleX(0); transform-origin: left; }
.tourbar__tick { position: absolute; top: -3px; width: 1px; height: 8px; background: rgba(255, 255, 255, .45); }
.tourbar button { min-height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; padding: 0 14px; cursor: pointer; font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; }
.tourbar button svg { width: 14px; height: 14px; }
.tourbar__time { font: 400 .78rem/1 var(--mono); color: var(--on-dark-muted); }
.viewer__fallback { position: absolute; inset: auto 14px 14px 14px; z-index: 3; background: rgba(250, 248, 244, .95); border-radius: 8px; padding: 16px 18px; color: var(--ink); font-size: .92rem; display: none; }
.viewer.is-fallback .viewer__fallback { display: block; }
.viewer.is-fallback .viewer__ui { display: none; }
.viewer__loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; background: rgba(27, 26, 25, .78); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .84rem; display: flex; gap: 10px; align-items: center; }
.viewer.is-ready .viewer__loading, .viewer.is-fallback .viewer__loading { display: none; }
.viewer__loading::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: var(--spatial); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.staging-note { font: 400 .72rem/1.3 var(--mono); letter-spacing: .03em; color: var(--ink-2); background: rgba(255, 255, 255, .78); padding: 6px 10px; border-radius: 999px; }

.below-viewer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); margin-top: 22px; align-items: start; }
.room-chips { grid-column: 1 / span 9; display: flex; flex-wrap: wrap; gap: 6px; }
.room-chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(238, 234, 227, .2); background: transparent; color: var(--on-dark); cursor: pointer; font-size: .86rem; transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.room-chip:hover { border-color: rgba(238, 234, 227, .6); }
.room-chip[aria-pressed="true"] { background: var(--spatial); color: var(--ink); border-color: var(--spatial); }
.tour-cta { grid-column: 7 / -1; justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
@media (max-width: 880px) {
  .room-chips { grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .room-chip { flex: none; }
  .tour-cta { grid-column: 1 / -1; justify-self: stretch; margin-top: 16px; flex-direction: column; }
  .tour-cta .btn { width: 100%; }
}
@media (max-width: 720px) {
  .viewer { aspect-ratio: auto; height: min(78vh, 620px); min-height: 480px; border-radius: 0; margin: 0 calc(var(--gutter) * -1); }
  .viewer__top { flex-direction: column; align-items: stretch; }
  .seg { align-self: flex-start; }
  .tools { justify-content: flex-start; }
  .minimap { width: 118px; }
  .tourbar { grid-template-columns: 1fr auto; }
  .tourbar__time { display: none; }
  .tourbar__caption { font-size: 1.2rem; }
}

/* plan */
.plan-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 28px; align-items: start; }
.plan { grid-column: 1 / span 8; background: #FAF8F4; border: 1px solid var(--line); border-radius: 6px; padding: clamp(10px, 2vw, 24px); }
.plan svg { width: 100%; height: auto; }
.fp .fp-label { font-family: var(--serif); }
.fp .fp-sub, .fp .fp-dim, .fp .fp-label--minor { font-family: var(--mono); }
.fp-hit { cursor: pointer; transition: fill .3s; outline: none; }
.fp-hit:hover, .fp-hit:focus-visible { fill: rgba(143, 168, 255, .22) !important; }
.fp-hit.is-active { fill: rgba(143, 168, 255, .38) !important; stroke: var(--spatial-ink); stroke-width: .04; }
.plan-side { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + 16px); }
.room-card { border-top: 1px solid var(--ink); padding-top: 18px; }
.room-card h3 { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; letter-spacing: -.01em; margin-bottom: 4px; }
.room-card dl { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0 22px; border-top: 1px solid var(--line); }
.room-card dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.room-card dd { margin: 4px 0 0; font-family: var(--mono); font-size: .95rem; }
.room-list { list-style: none; padding: 0; margin: 26px 0 0; columns: 2; column-gap: 18px; font-size: .9rem; }
.room-list li { break-inside: avoid; display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.room-list button { all: unset; cursor: pointer; }
.room-list button:hover, .room-list button:focus-visible { text-decoration: underline; }
.room-list span { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
@media (max-width: 980px) { .plan, .plan-side { grid-column: 1 / -1; } .plan-side { position: static; } .plan { margin: 0 calc(var(--gutter) * -1); border-radius: 0; border-left: 0; border-right: 0; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.gallery figure { min-height: 0; }
.gallery button { all: unset; cursor: zoom-in; display: block; width: 100%; height: 100%; position: relative; overflow: hidden; background: var(--stone); border-radius: 3px; }
.gallery button:focus-visible { outline: 2px solid var(--spatial-ink); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
.gallery button:hover img { transform: scale(1.035); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(243, 240, 234, .9); padding: 5px 9px; border-radius: 999px; font: 400 .72rem/1 var(--mono); letter-spacing: .03em; }
.g1 { grid-column: span 8; aspect-ratio: 16 / 10; }
.g2 { grid-column: span 4; aspect-ratio: 4 / 5; }
.g3 { grid-column: span 4; aspect-ratio: 4 / 3.4; }
.g4 { grid-column: span 4; aspect-ratio: 4 / 3.4; }
.g5 { grid-column: span 4; aspect-ratio: 4 / 3.4; }
.g6 { grid-column: span 6; aspect-ratio: 16 / 10; }
.g7 { grid-column: span 6; aspect-ratio: 16 / 10; }
.g-more { grid-column: span 3; aspect-ratio: 3 / 2; }
@media (max-width: 960px) { .g-more { grid-column: span 4; } }
.walkvid { border-radius: 3px; }
.walkvid video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--stage); }
@media (max-width: 720px) { .gallery > * { grid-column: span 12 !important; aspect-ratio: 4 / 3 !important; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(20, 19, 18, .9); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 4px; background: var(--stone); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--on-dark); margin-top: 12px; font-size: .9rem; }
.lightbox__bar .btns { display: flex; gap: 8px; }
.lightbox__bar button { min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; cursor: pointer; padding: 0 14px; }

/* enquiry + agent */
.enquire { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 40px; }
.enquire__agent { grid-column: 1 / span 4; }
.enquire__form { grid-column: 6 / -1; }
.agent-card { display: grid; gap: 18px; }
.agent-card__mono { width: 96px; height: 96px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; font-family: var(--serif); font-size: 2.2rem; }
.agent-card dl { margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.agent-card dt { font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.agent-card dd { margin: 4px 0 0; }
@media (max-width: 880px) { .enquire__agent, .enquire__form { grid-column: 1 / -1; } }

/* share */
.share { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 32px; align-items: center; }
.share__body { grid-column: 1 / span 7; }
.share__qr { grid-column: 9 / -1; justify-self: end; display: grid; gap: 12px; justify-items: center; }
.share__qr canvas, .share__qr img { width: 200px; height: 200px; background: #fff; padding: 12px; border-radius: 6px; image-rendering: pixelated; }
.copy-field { display: flex; gap: 8px; margin-top: 22px; max-width: 560px; }
.copy-field input { flex: 1; min-width: 0; min-height: 48px; border-radius: 999px; border: 1px solid var(--line-2); padding: 0 18px; background: #fff; font: 400 .86rem var(--mono); }
@media (max-width: 880px) { .share__body, .share__qr { grid-column: 1 / -1; justify-self: start; } .copy-field { flex-direction: column; } }

.concept-strip { background: var(--paper-2); border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.concept-strip .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap; }
.section--dark .section-head > :last-child:not(:first-child), .tour-band .section-head > :last-child:not(:first-child) { color: var(--on-dark-muted); }
.frame picture { display: block; width: 100%; height: 100%; }
[hidden] { display: none !important; }

/* =================================================================== ROUND 2: scroll stories */
:root { --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.section--intro { padding-bottom: clamp(56px, 7vw, 104px); }
.hero__media img { object-position: 50% 64%; }
.hero__media picture { transform-origin: 50% 0; will-change: transform; }

/* ---------- breakdown ("anatomy of a listing") */
.bd { position: relative; background: var(--paper-2); --bd-fig-l: 36%; }
.bd__stage { position: relative; }
.bd.is-live .bd__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.bd__media { position: absolute; inset: 0; }
.bd__layer { position: absolute; }
.bd.is-live .bd__layer { will-change: opacity, transform; }
.bd__photo { inset: 0; background: var(--stone); transform-origin: 50% 30%; }
.bd__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.bd__fig { top: calc(var(--header-h) + 2vh); bottom: 4vh; left: var(--bd-fig-l); right: 2.5%; }
.bd__fig img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); }
.bd.is-live .bd__doll, .bd.is-live .bd__exploded, .bd.is-live .bd__model, .bd.is-live .bd__site { opacity: 0; }
.bd__model { overflow: visible; }
.bd__model-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .6s var(--ease); }
.bd__model.is-ready .bd__model-poster { opacity: 0; }
.bd__model .hv-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.bd__model .hv-label { font-size: .68rem; padding: 5px 8px; }
.bd__tags { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); z-index: 3; }
.bd__tags.is-on { opacity: 1; }
.bd__tag { position: absolute; left: 0; top: 0; margin-top: -.5em; padding-left: 30px; font: 500 .7rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink); white-space: nowrap; transition: opacity .35s var(--ease); }
.bd__tag::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 1px; background: currentColor; }
.bd__site { left: var(--bd-fig-l); right: 3%; top: calc(var(--header-h) + 3vh); bottom: 5vh; display: grid; place-items: center; }
.bd__shade { position: absolute; inset: 0; pointer-events: none; transition: opacity .6s var(--ease);
  background: linear-gradient(90deg, var(--paper-2) 0%, color-mix(in srgb, var(--paper-2) 86%, transparent) 24%, transparent 44%); }
.bd__shade::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease);
  background: linear-gradient(90deg, rgba(20, 19, 18, .78) 0%, rgba(20, 19, 18, .42) 32%, transparent 58%), linear-gradient(0deg, rgba(20, 19, 18, .35), transparent 30%); }
.bd[data-phase="photo"] .bd__shade { background: none; }
.bd[data-phase="photo"] .bd__shade::after { opacity: 1; }
.bd__copy { position: absolute; left: var(--edge); top: 0; bottom: 0; width: min(29%, 400px); display: flex; flex-direction: column; justify-content: center; color: var(--ink); transition: color .6s var(--ease); z-index: 4; }
.bd[data-phase="photo"] .bd__copy { color: #F6F2EC; }
.bd__title { position: absolute; top: calc(var(--header-h) + 26px); left: 0; margin: 0; font: italic 400 clamp(1.4rem, 1.9vw, 1.75rem)/1 var(--serif); letter-spacing: -.01em; }
.bd__steps { position: relative; list-style: none; margin: 0; padding: 0; min-height: 25rem; }
.bd__step { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .8s var(--ease); pointer-events: none; }
.bd__step.is-past { transform: translateY(-18px); }
.bd__step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.bd__step h3 { font: 400 clamp(2.1rem, 3.3vw, 3.15rem)/1 var(--serif); letter-spacing: -.02em; margin: 0 0 .45em; text-wrap: balance; }
.bd__step p { margin: 0 0 1.2em; max-width: 34ch; color: inherit; opacity: .82; }
.bd__legend { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.bd__legend li { display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); transition: color .4s var(--ease); }
.bd__legend li:not(.is-on) span { color: var(--muted); }
.bd__legend li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink); align-self: center; transition: background .4s var(--ease), border-color .4s; }
.bd__legend li.is-on::before { background: var(--spatial-ink); border-color: var(--spatial-ink); }
.bd__legend span { font-weight: 500; font-size: .95rem; }
.bd__legend em { grid-column: 2; font: normal 400 .78rem/1.3 var(--mono); letter-spacing: .02em; color: var(--ink-2); }
.bd__badge { position: absolute; right: var(--edge); top: calc(var(--header-h) + 18px); z-index: 4; margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(243, 240, 234, .9); font: 500 .75rem/1 var(--sans); letter-spacing: .01em; color: var(--ink); }
.bd__rail { position: absolute; right: 18px; top: 32%; bottom: 32%; width: 1px; background: rgba(30, 29, 27, .16); z-index: 4; }
.bd__rail span { display: block; height: 100%; background: var(--ink); transform-origin: 50% 0; transform: scaleY(0); }
.bd[data-phase="photo"] .bd__rail { background: rgba(255, 255, 255, .25); }
.bd[data-phase="photo"] .bd__rail span { background: #fff; }
.bd.no-webgl .bd__model-poster { opacity: 1; }

/* the property-website mock at the end of the breakdown */
.browser { display: block; width: min(100%, 760px, 96vh); background: #FCFBF8; border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 50px 90px -46px rgba(30, 29, 27, .5), 0 1px 3px rgba(30, 29, 27, .12); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #EDE8E0; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D1C8BA; }
.browser__url { margin-left: 10px; flex: 1; min-width: 0; height: 20px; border-radius: 999px; background: #fff; padding: 0 10px; font: 400 .66rem/20px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__body { display: block; padding-bottom: 18px; }
.browser__hero { position: relative; display: block; aspect-ratio: 16 / 6.6; overflow: hidden; background: var(--stone); }
.browser__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.browser__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 19, 18, .55), transparent 55%); }
.browser__title { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font: 400 clamp(1.5rem, 2.6vw, 2.4rem)/1 var(--serif); letter-spacing: -.015em; }
.browser__title small { display: block; margin-top: 6px; font: 400 .72rem/1 var(--sans); letter-spacing: .01em; opacity: .85; }
.browser__row { display: flex; margin: 0 20px; border-bottom: 1px solid var(--line); }
.browser__row span { flex: 1; padding: 11px 0 10px; font-size: .7rem; color: var(--muted); }
.browser__row b { display: block; font: 400 1.35rem/1 var(--serif); color: var(--ink); margin-bottom: 3px; }
.browser__cols { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 22px; margin: 16px 20px 0; align-items: center; }
.browser__plan { display: block; background: #FAF8F4; border: 1px solid var(--line); border-radius: 4px; padding: 6px; }
.browser__plan svg { width: 100%; height: auto; }
.browser__cta { display: grid; gap: 8px; justify-items: start; }
.browser__chip { display: inline-block; font-size: .74rem; font-weight: 500; padding: 8px 13px; border-radius: 999px; background: var(--spatial); color: var(--ink); }
.browser__chip--ghost { background: transparent; border: 1px solid var(--line-2); font-weight: 400; }

@media (max-width: 880px) {
  .bd { --bd-fig-l: 0%; }
  .bd__fig, .bd__site { top: calc(var(--header-h) + 34px); bottom: 39%; left: 0; right: 0; }
  .bd__site { padding: 0 var(--gutter); top: calc(var(--header-h) + 40px); }
  .bd__shade { background: linear-gradient(0deg, var(--paper-2) 0%, var(--paper-2) 36%, color-mix(in srgb, var(--paper-2) 70%, transparent) 46%, transparent 58%); }
  .bd__shade::after { background: linear-gradient(0deg, rgba(20, 19, 18, .86) 0%, rgba(20, 19, 18, .55) 40%, transparent 66%); }
  .bd__copy { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 22px; justify-content: flex-end; }
  .bd.is-live .bd__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bd__steps { min-height: 16rem; }
  .bd__step { top: auto; bottom: 0; translate: none; }
  .bd__step h3 { font-size: clamp(1.75rem, 7.4vw, 2.2rem); }
  .bd__step p { font-size: .95rem; margin-bottom: .9em; }
  .bd__legend { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; margin-top: 8px; }
  .bd__legend li { padding: 6px 0; grid-template-columns: 10px 1fr; column-gap: 8px; }
  .bd__legend span { font-size: .84rem; }
  .bd__legend em { font-size: .72rem; }
  .bd__badge { top: calc(var(--header-h) + 10px); right: var(--gutter); font-size: .72rem; }
  .bd__rail { display: none; }
  .browser__url { font-size: .6rem; }
  .browser__row b { font-size: 1.05rem; }
  .browser__cols { grid-template-columns: 110px 1fr; gap: 12px; margin: 10px 14px 0; }
  .browser__hero { aspect-ratio: 16 / 8; }
  .browser__row { margin: 0 14px; }
  .browser__chip { font-size: .64rem; padding: 6px 10px; }
  .browser__chip--ghost:last-child { display: none; }
  .browser__title { left: 14px; bottom: 12px; }
}

/* static: reduced motion, or before JS runs */
.bd:not(.is-live) { padding: clamp(64px, 8vw, 120px) 0; }
.bd:not(.is-live) .bd__stage { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 32px; }
.bd:not(.is-live) .bd__copy { position: static; width: auto; color: var(--ink); order: -1; }
.bd:not(.is-live) .bd__title { position: static; font: 400 clamp(2.5rem, 5.6vw, 4.6rem)/.98 var(--serif); font-style: normal; margin-bottom: 28px; }
.bd:not(.is-live) .bd__steps { min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(16px, 2vw, 28px); counter-reset: none; }
.bd:not(.is-live) .bd__step { position: static; translate: none; opacity: 1; transform: none; pointer-events: auto; border-top: 1px solid var(--line); padding-top: 18px; }
.bd:not(.is-live) .bd__step h3 { font-size: 1.7rem; }
.bd:not(.is-live) .bd__legend li { opacity: 1; }
.bd:not(.is-live) .bd__media { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.bd:not(.is-live) .bd__layer { position: relative; inset: auto; aspect-ratio: 3 / 2; background: #F1ECE4; overflow: hidden; }
.bd:not(.is-live) .bd__fig img { -webkit-mask-image: none; mask-image: none; }
.bd:not(.is-live) .bd__model-poster { opacity: 1 !important; object-fit: cover; }
.bd:not(.is-live) .bd__site { grid-column: 1 / -1; aspect-ratio: auto; padding: clamp(20px, 4vw, 56px); }
.bd:not(.is-live) .bd__shade, .bd:not(.is-live) .bd__rail, .bd:not(.is-live) .bd__badge, .bd:not(.is-live) .bd__tags { display: none; }
@media (max-width: 880px) { .bd:not(.is-live) .bd__steps, .bd:not(.is-live) .bd__media { grid-template-columns: 1fr; } }

/* ---------- fly-through sequences */
.ft { --ss-bg: #151413; --ss-accent: var(--spatial); }
.ft-intro { padding-bottom: clamp(32px, 4vw, 56px); }
.ft .ss__frame { object-position: 50% 55%; }
.ft__shade { position: absolute; inset: 0; z-index: 20; pointer-events: none; background: linear-gradient(0deg, rgba(14, 13, 12, .8) 0%, rgba(14, 13, 12, .58) 28%, rgba(14, 13, 12, .22) 50%, transparent 66%), linear-gradient(180deg, rgba(14, 13, 12, .3), transparent 20%); }
.ft .ss__caption { left: var(--edge); right: var(--edge); bottom: clamp(40px, 8vh, 84px); z-index: 30; color: #F6F2EC; max-width: 36rem; }
.ft__cap h3 { font: 400 clamp(2.3rem, 5.4vw, 4.6rem)/.96 var(--serif); letter-spacing: -.022em; margin: 0 0 .28em; }
.ft__cap p { margin: 0 0 20px; color: rgba(246, 242, 236, .84); max-width: 40ch; }
.ft__cap .meta { display: inline-flex; gap: 10px; align-items: center; margin: 0 0 14px; font: 500 .72rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: rgba(246, 242, 236, .8); }
.ft__label { position: absolute; right: var(--edge); bottom: clamp(40px, 8vh, 84px); z-index: 30; margin: 0; padding: 6px 11px; border-radius: 999px; background: rgba(20, 19, 18, .58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 500 .75rem/1.2 var(--sans); letter-spacing: .01em; color: #F6F2EC; }
.ft .ss__progress { z-index: 30; }
@media (max-width: 720px) {
  .ft__label { left: var(--gutter); right: auto; bottom: auto; top: calc(var(--header-h) + 10px); text-align: left; }
  .ft .ss__caption { bottom: 34px; }
  .ft__cap h3 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
}
/* stacked fly-through: reduced motion, no JS, or Motion unavailable (scroll-sequence.js adds .is-live otherwise) */
.ss:not(.is-live) .ss__stage { display: grid; gap: 0; background: var(--ss-bg, #151413); }
.ss:not(.is-live) .ss__frame { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ss:not(.is-live) .ss__caption { position: relative; left: auto; right: auto; bottom: auto; max-width: none; padding: 22px var(--edge) 40px; }
.ss:not(.is-live) .ft__shade, .ss:not(.is-live) .ft__plan, .ss:not(.is-live) .ss__progress, .ss:not(.is-live) .ss__video { display: none; }
.ss:not(.is-live) .ft__label { position: relative; inset: auto; order: 99; padding: 0 var(--edge) 24px; text-align: left; }
/* ---------- home listings: one lead, two stacked */
.listings--home { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 32px); row-gap: clamp(28px, 3vw, 40px); }
.listings--home .listing--lead { grid-column: 1 / span 7; grid-row: span 2; }
.listings--home .listing:not(.listing--lead) { grid-column: 8 / -1; }
.listings--home .listing--lead .listing__media { aspect-ratio: 4 / 3.15; }
.listings--home .listing:not(.listing--lead) .listing__media { aspect-ratio: 16 / 9.4; }
.listings--home .listing:not(.listing--lead) .listing__title { font-size: 1.45rem; }
.listing--lead .listing__title { font-size: clamp(1.9rem, 2.6vw, 2.4rem); }
@media (max-width: 880px) { .listings--home > .listing { grid-column: 1 / -1 !important; grid-row: auto !important; } }
.caption a { color: inherit; }

/* ---------- agent block with an environment image */
.agent__portrait--wide { grid-column: 1 / span 5; aspect-ratio: auto; background: none; overflow: visible; margin: 0; }
.agent__portrait--wide img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; background: var(--stone); }
.agent__portrait--wide + .agent__body { grid-column: 7 / -1; }
@media (max-width: 880px) { .agent__portrait--wide { max-width: none; aspect-ratio: auto; } .agent__portrait--wide + .agent__body { grid-column: 1 / -1; } }

/* microsite fly-through: the plan that follows you */
.ft-head { padding-top: clamp(56px, 7vw, 104px); }
.ft__plan { position: absolute; right: var(--edge); top: calc(64px + 22px); z-index: 30; margin: 0; width: clamp(150px, 15vw, 220px); padding: 10px 10px 8px; border-radius: 6px; background: rgba(250, 248, 244, .93); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55); }
.ft__plan svg { width: 100%; height: auto; display: block; }
.ft__plan .fp-marker .fp-dot { fill: var(--spatial-ink); stroke: #fff; stroke-width: .14; }
.ft__plan .fp-marker .fp-cone { fill: rgba(59, 79, 176, .28); }
.ft__plan .fp-marker { transition: transform .12s linear; }
.ft__plan figcaption { display: flex; justify-content: space-between; margin-top: 6px; font: 500 .66rem/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.ft-room { fill: rgba(143, 168, 255, .45); stroke: var(--spatial-ink); stroke-width: .08; transition: fill .4s; }
.ft-room.is-whole { fill: rgba(143, 168, 255, .16); stroke-dasharray: .3 .2; }
.ft--full .ss__caption { max-width: 34rem; }
@media (max-width: 880px) { .ft__plan { top: calc(112px + 12px); width: 128px; padding: 7px 7px 5px; } .ft__plan figcaption { font-size: .58rem; } }
@media (max-width: 720px) { .ft--full .ft__label { top: auto; bottom: 12px; } .ft--full .ss__caption { bottom: 52px; } }

/* ---------- listings page: editorial rows, exterior + interior */
.estate { display: grid; gap: clamp(56px, 7vw, 104px); }
.estate__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 18px; text-decoration: none; color: inherit; align-items: end; }
.estate__ext { grid-column: 1 / span 7; grid-row: 1 / span 2; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.estate__int { grid-column: 8 / span 3; grid-row: 1; align-self: start; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.estate__body { grid-column: 8 / -1; grid-row: 2; display: grid; gap: 4px; padding-bottom: 4px; }
.estate__row--flip .estate__ext { grid-column: 6 / -1; }
.estate__row--flip .estate__int { grid-column: 3 / span 3; }
.estate__row--flip .estate__body { grid-column: 1 / span 5; }
.estate img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
.estate__row:hover .estate__ext img, .estate__row:hover .estate__int img { transform: scale(1.03); }
.estate .listing__title { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.estate__desc { margin-top: 12px; color: var(--ink-2); max-width: 46ch; }
.estate__cta { position: relative; margin-top: 14px; display: inline-flex; align-items: center; gap: .5em; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; justify-self: start; }
.estate__cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-3) var(--ease-out); }
.estate__cta svg { width: 14px; height: 14px; }
.estate__row:hover .estate__cta::after, .estate__row:focus-visible .estate__cta::after { transform: scaleX(1); }
@media (max-width: 880px) {
  .estate__row, .estate__row--flip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .estate__ext, .estate__row--flip .estate__ext { grid-column: 1 / -1; grid-row: 1; margin: 0 calc(var(--gutter) * -1); }
  .estate__int, .estate__row--flip .estate__int { grid-column: 1 / span 2; grid-row: 2; aspect-ratio: 3 / 4; }
  .estate__body, .estate__row--flip .estate__body { grid-column: 3 / -1; grid-row: 2; align-self: start; }
  .estate .listing__title { font-size: 1.6rem; }
  .estate__desc { font-size: .92rem; margin-top: 8px; }
}
.contact-prop { margin: 36px 0 0; display: grid; grid-template-columns: 148px 1fr; gap: 18px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-prop img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
.contact-prop figcaption { display: grid; gap: 4px; }
.contact-prop strong { font: 400 1.5rem/1.05 var(--serif); }
.contact-prop span { color: var(--muted); font-size: .92rem; }
.contact-prop .label { margin-top: 6px; font-size: .64rem; }
.agent__portrait--photo { background: var(--stone); }
.agent__portrait--photo img { width: 100%; height: 100%; object-fit: cover; }
.agent__portrait--photo figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; font: 400 .7rem/1.3 var(--mono); letter-spacing: .03em; color: var(--ink); background: rgba(243, 240, 234, .9); padding: 6px 10px; border-radius: 999px; justify-self: start; width: max-content; max-width: calc(100% - 24px); }
.office-band { padding: clamp(48px, 6vw, 88px) 0 0; }
.office-band__fig { margin: 0; aspect-ratio: 21 / 8; overflow: hidden; background: var(--stone); }
.office-band__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
@media (max-width: 720px) { .office-band__fig { aspect-ratio: 4 / 3; } }
.compare--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compare--3 .frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .compare--3 { grid-template-columns: 1fr; } }

/* touch targets: 44px minimum on the controls people tap most */
.seg button, .tool, .room-chip, .chip, .ms-header .btn, .radio-pill span { min-height: 44px; }
.room-list button { display: block; padding: 10px 0; min-height: 44px; box-sizing: border-box; }
.room-list li { padding: 0; align-items: center; }

.nav .pill-concept { padding: 0 16px 0 12px; }
.nav .pill-concept::after { display: none; }

/* round 2 polish: mono only for measurements; readable fine print; focus; mobile wraps */
.crumbs { font: 500 .8rem/1 var(--sans); letter-spacing: .01em; }
.footer-col h2 { font: 600 .72rem/1 var(--sans); letter-spacing: .1em; }
.listing__badge { font: 600 .68rem/1 var(--sans); letter-spacing: .06em; }
.pill-concept { font: 600 .7rem/1 var(--sans); letter-spacing: .08em; }
.caption { font-size: .8rem; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { border-color: var(--spatial-ink); box-shadow: 0 2px 0 var(--spatial-ink); }
@media (max-width: 620px) { .caption { flex-direction: column; gap: 4px; } }
@media (max-width: 880px) {
  .ms-nav { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 40px), transparent); }
}

/* =================================================================== MOTION & MICRO-INTERACTIONS
   Architectural and smooth: lines draw like a plan, planes slide on clip-path, images move inside their
   frames, springs settle without wobble. Tokens live in :root (--dur-1…4, --ease-out/in/in-out, --spring).
   JS companions: assets/js/micro-core.js + assets/js/micro.js. Only transform, opacity, clip-path, filter
   and colour animate; nothing shifts layout. */
@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, .22 7%, .6 16%, .86 26%, 1.01 37%, 1.04 46%, 1.025 58%, 1.004 74%, 1); }
}
@keyframes mi-fade { from { opacity: 0; } }
@keyframes mi-rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes mi-dialog-in { from { opacity: 0; transform: scale(.98); } }
@keyframes mi-draw { to { stroke-dashoffset: 0; } }
@keyframes mi-nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-3px); } 65% { transform: translateX(2px); } }
@keyframes mi-flash { from { background-color: rgba(143, 168, 255, .38); } to { background-color: rgba(143, 168, 255, 0); } }

/* buttons: arrow nudges toward where it goes */
.btn > svg, .link-arrow svg, .estate__cta svg, .hero__tag .arrow svg { transition: transform var(--dur-2) var(--ease-out); }
.btn:is(:hover, :focus-visible) > svg:last-child:has(path[d^="M2 8h11"]),
.link-arrow:is(:hover, :focus-visible) svg,
.estate__row:is(:hover, :focus-visible) .estate__cta svg,
.hero__tag:is(:hover, :focus-visible) .arrow svg { transform: translateX(3px); }
.hero__tag { transition: transform var(--dur-3) var(--ease-out), translate var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
.hero__tag:is(:hover, :focus-visible) { box-shadow: 0 24px 46px -22px rgba(0, 0, 0, .42); }
.hero__tag:active { transform: scale(.985); }
.btn--light:focus-visible { outline-color: var(--spatial); }

/* small inline links: a hairline draws from the left */
.crumbs a, .footer-col a { position: relative; }
.crumbs a:hover, .footer-col a:hover, .site-footer .footer-col a:hover { text-decoration: none; }
.crumbs a::after, .footer-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-3) var(--ease-out); }
.crumbs a:is(:hover, :focus-visible)::after, .footer-col a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.nav a { transition: color var(--dur-2) var(--ease-out); }
.nav a:hover { color: var(--ink); }
.pill-concept { transition: border-color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out); }
.pill-concept:hover { background: rgba(30, 29, 27, .04); }

/* main nav: a single ink line slides between items (desktop); the mobile menu staggers in */
.nav { position: relative; }
.nav-ink { position: absolute; left: 0; top: 0; width: 1px; height: 1px; background: var(--ink); transform-origin: 0 0; opacity: 0; pointer-events: none;
  transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out); }
@media (min-width: 881px) { .nav.has-ink a::after { display: none; } }
@media (max-width: 880px) {
  .nav-ink { display: none; }
  .nav.is-open > * { animation: mi-rise var(--dur-3) var(--ease-out) backwards; }
  .nav.is-open > :nth-child(2) { animation-delay: 30ms; } .nav.is-open > :nth-child(3) { animation-delay: 60ms; }
  .nav.is-open > :nth-child(4) { animation-delay: 90ms; } .nav.is-open > :nth-child(5) { animation-delay: 120ms; }
  .nav { transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), visibility var(--dur-3); }
  .nav:not(.is-open) { transition-timing-function: var(--ease-in); transition-duration: var(--dur-2); }
}
.nav-toggle { transition: border-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.nav-toggle:hover { border-color: var(--ink); }
.nav-toggle:active { transform: scale(.95); }
.nav-toggle span, .nav-toggle span::before { transition: transform var(--dur-3) var(--spring); }

/* sliding selection pill (micro-core slidePill): clip-path keeps the radius true while it travels */
.mi-has-pill { position: relative; isolation: isolate; }
.mi-pill { position: absolute; left: 0; top: 0; z-index: -1; pointer-events: none; opacity: 0; clip-path: inset(50% 50% 50% 50% round 999px);
  transition: clip-path var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out); }
.mi-pill--ink { background: var(--ink); }
.mi-pill--spatial { background: var(--spatial); }
.ms-nav.mi-has-pill a.is-active, .chips.mi-has-pill .chip[aria-pressed="true"], .viewer .seg.mi-has-pill button[aria-pressed="true"] { background: transparent; }
.ms-nav a { transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.ms-nav.mi-has-pill a.is-active:hover { background: transparent; }
.chip { transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.chip:active, .room-chip:active, .radio-pill:active span, .tool:active, .seg button:active, .lightbox__bar button:active, .tourbar button:active { transform: scale(.97); }
.seg button { transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.tool { transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.tool[disabled] { opacity: .5; cursor: not-allowed; }
.lightbox__bar button, .tourbar button { transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.lightbox__bar button:hover, .tourbar button:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.walkpad button { transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out); }
.mi-flash { animation: mi-flash 900ms var(--ease-out); border-radius: 3px; }

/* cards and images: the frame stays put, the picture moves inside it */
.listing__media { transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
.listing__media img, .listing__media svg, .estate img, .gallery img { transition: transform var(--dur-4) var(--ease-out); }
a.listing:is(:hover, :focus-visible) .listing__media { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(30, 29, 27, .45); }
a.listing:is(:hover, :focus-visible) .listing__media img, a.listing:is(:hover, :focus-visible) .listing__media svg,
.estate__row:is(:hover, :focus-visible) .estate__ext img, .estate__row:is(:hover, :focus-visible) .estate__int img,
.gallery button:is(:hover, :focus-visible) img { transform: scale(1.04); }
.listing__title, .estate .listing__title { transition: color var(--dur-2) var(--ease-out); }
a.listing:is(:hover, :focus-visible) .listing__title, .estate__row:is(:hover, :focus-visible) .listing__title { color: var(--spatial-ink); }
.gallery figcaption { transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2) var(--ease-out); }
.gallery button:is(:hover, :focus-visible) figcaption { transform: translateY(-3px); background: #fff; }
.room-list button { transition: color var(--dur-1) var(--ease-out); }
.room-list button:hover, .room-list button:focus-visible { color: var(--spatial-ink); }

/* forms: focus eases in, the label picks up the accent, errors fade in beside the field */
.input, .select, .textarea { transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.field label, .field legend { transition: color var(--dur-2) var(--ease-out); }
.field:focus-within > label { color: var(--spatial-ink); }
.field.has-error .error { animation: mi-rise var(--dur-2) var(--ease-out); }
.field.has-error .input, .field.has-error .textarea { animation: mi-nudge 320ms var(--ease-out); }
.check input, .radio-pill input { transition: transform var(--dur-1) var(--ease-out); }
.mi-confirm-in { animation: mi-rise var(--dur-3) var(--ease-out); }
.mi-done { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(62, 122, 90, .12); color: var(--ok); margin-bottom: 16px; }
.mi-done .mi-tick { width: 24px; height: 24px; }
.mi-tick path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: mi-draw var(--dur-4) var(--ease-out) var(--dur-1) forwards; }
.btn .mi-tick { display: none; }
.btn.is-copied .copy-ic { display: none; }
.btn.is-copied .mi-tick { display: block; }
.btn.is-copied { background: var(--ok); border-color: var(--ok); color: #fff; }

/* lightbox: scales in from .98 while the backdrop fades */
.lightbox[open] { animation: mi-dialog-in var(--dur-3) var(--ease-out); }
.lightbox[open]::backdrop { animation: mi-fade var(--dur-3) var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .btn:active:not([disabled]), .chip:active, .room-chip:active, .radio-pill:active span, .tool:active, .seg button:active, .lightbox__bar button:active, .tourbar button:active, .hero__tag:active, .nav-toggle:active { transform: none; }
  .btn > svg, .link-arrow svg, .estate__cta svg, .hero__tag .arrow svg { transform: none !important; }
  .link-arrow::after, .estate__cta::after, .crumbs a::after, .footer-col a::after { transition: opacity var(--dur-2); transform: scaleX(1); opacity: 0; }
  .link-arrow:is(:hover, :focus-visible)::after, .estate__row:is(:hover, :focus-visible) .estate__cta::after, .crumbs a:is(:hover, :focus-visible)::after, .footer-col a:is(:hover, :focus-visible)::after { opacity: 1; }
  .nav-ink, .mi-pill { transition: opacity var(--dur-2); }
  a.listing:is(:hover, :focus-visible) .listing__media, .gallery button:is(:hover, :focus-visible) figcaption { transform: none; }
  a.listing .listing__media img, .estate img, .gallery img, .listing__media svg { transform: none !important; }
  .nav.is-open > *, .field.has-error .error, .field.has-error .input, .field.has-error .textarea, .mi-confirm-in, .lightbox[open] { animation: none; }
  .mi-tick path { animation: none; stroke-dashoffset: 0; }
}
