/* ==========================================================================
   Parkville — Home
   Premium architectural luxury · cinematic storytelling · trust first.

   1  Tokens            8  Overview           15 FAQ & contact
   2  Base              9  Residences         16 Footer
   3  Type              10 Amenities          17 Action bar
   4  Controls          11 Location           18 Dialogs
   5  Header & menu     12 Homeowner stories  19 Motion
   6  Hero              13 Gallery            20 Responsive
   7  Chapter shell     14 Builder & enquire
   ========================================================================== */

/* 1 · Tokens --------------------------------------------------------------- */
:root {
  /* Brand — grown from the logo: teal script, olive leaf */
  --teal: #19A2A8;          /* rules, icons, large type on dark */
  --teal-deep: #0B6065;     /* text-teal and button fill on white (7.3:1) */
  --teal-ink: #0A4F53;      /* hover */
  --teal-light: #7FD3D7;    /* teal text on navy (9.3:1) */
  --leaf: #8CA472;          /* the "ready" status mark */

  /* Surfaces — the logo is only ever placed on white */
  --white: #FFFFFF;
  --paper: #F5F1EA;         /* section background (replaces white) */
  --stone: #EDE6DA;         /* alternate warm band, one step deeper than paper */
  --mint: #EAF6F6;
  --night: #12232E;
  --night-deep: #0C1820;

  /* Text & lines */
  --ink: #12232E;
  --muted: #56676E;         /* 5.9:1 on white, 5.4:1 on stone */
  --line: #DCE4E6;
  --line-strong: #BFCBCE;
  --on-night: #F2F6F7;
  --on-night-muted: rgba(242, 246, 247, .7);
  --night-line: rgba(242, 246, 247, .14);
  --error: #B3261E;

  /* Type */
  --f-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fw-display: 500;         /* sans headings need a touch more weight than the old serif */
  --f-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.125rem, 1rem + 3.5vw, 4.625rem);
  --fs-h2: clamp(1.875rem, 1.2rem + 1.9vw, 3rem);
  --fs-h3: clamp(1.375rem, 1.15rem + .7vw, 1.75rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);

  /* Space & shape */
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1360px;
  --header-h: 84px;
  --header-h-compact: 68px;
  --topbar-h: 40px;
  --sec-pad: clamp(80px, 9vw, 136px);
  --r: 2px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
}

/* 2 · Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h-compact); }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.has-modal { overflow: hidden; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--teal); color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  padding: 12px 16px; background: var(--ink); color: #fff; text-decoration: none;
}
.skip:focus { top: 16px; }

/* 3 · Type ----------------------------------------------------------------- */
.h2 {
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.h3 { font-family: var(--f-display); font-weight: var(--fw-display); font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
.h2 em, .h3 em { font-style: normal; color: var(--teal-deep); }
.lead { font-size: var(--fs-lead); font-weight: 400; line-height: 1.55; color: var(--muted); max-width: 56ch; text-wrap: pretty; }

.label {
  font-family: var(--f-text);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-text);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow__n { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow__n::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow--night { color: var(--teal-light); }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color .2s, color .2s;
}
.link:hover { text-decoration-color: currentColor; }
.link i { font-size: 1rem; }
.link--night { color: #fff; }
.fineprint { margin-top: 20px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.muted { color: var(--muted); }

/* 4 · Controls ------------------------------------------------------------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: var(--f-text);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn i { font-size: 1.125rem; }
.btn .ph-arrow-right { transition: transform .3s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .875rem; }
.btn--lg { --h: 56px; padding: 0 30px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal-deep); color: #fff; }
.btn--primary:hover { background: var(--teal-ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mint); }
.btn--glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, .18); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.iconbtn {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.25rem;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.iconbtn:hover { border-color: var(--ink); }
.iconbtn--night { border-color: rgba(255, 255, 255, .32); color: #fff; }
.iconbtn--night:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.iconbtn:disabled { opacity: .35; cursor: default; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: .8125rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.tab i { font-size: 1rem; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab__n { font-size: .75rem; font-weight: 600; color: var(--muted); }

/* Crop-marked frame, like a drawing pinned to a board */
.marks {
  --m: var(--ink);
  position: relative;
  display: block;
  width: 100%;
  padding: clamp(10px, 1.4vw, 18px);
  background: #fff;
  border: 1px solid var(--line);
}
.marks::before {
  content: "";
  position: absolute;
  inset: -9px;
  pointer-events: none;
  background:
    linear-gradient(var(--m), var(--m)) top left / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) top left / 1px 18px no-repeat,
    linear-gradient(var(--m), var(--m)) top right / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) top right / 1px 18px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / 1px 18px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / 1px 18px no-repeat;
}
.marks img { width: 100%; }
.hint {
  position: absolute; right: 28px; bottom: 28px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: var(--r);
  background: rgba(18, 35, 46, .88);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s var(--ease);
  pointer-events: none;
}
.hint i { font-size: .9375rem; }
button.marks:hover .hint, button.marks:focus-visible .hint { opacity: 1; transform: none; }
@media (hover: none) { .hint { opacity: 1; transform: none; } }

.cap { display: flex; gap: 14px; margin-top: 22px; font-size: .875rem; color: var(--muted); }

.tag {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 9px;
  border-radius: var(--r);
  background: rgba(12, 24, 32, .62);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  pointer-events: none;
}

/* 5 · Header & menu -------------------------------------------------------- */
/* Masthead: transparent over the hero and scrolls away with it. Past the middle of
   the hero it becomes a compact navy bar that slides down and stays (main.js). */
.masthead { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: #fff; }
.masthead.is-fixed {
  position: fixed;
  background: var(--night);
  box-shadow: 0 12px 32px rgba(9, 18, 24, .28);
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.25, .74, .22, .99);
}
.masthead.is-fixed.is-shown { transform: none; }
.masthead.is-fixed .topbar { display: none; }

/* Top strip: RERA, phone, social */
.topbar { font-size: .8125rem; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--topbar-h); }
.topbar__rera { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__rera > i { font-size: 1.0625rem; color: var(--teal-light); }
.topbar__rera strong { font-weight: 600; letter-spacing: .02em; }
.topbar__rera a { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; color: var(--teal-light); font-weight: 600; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.topbar__rera a:hover { text-decoration-color: currentColor; }
.topbar__end { display: flex; align-items: center; gap: 22px; }
.topbar__phones { display: flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; }
.topbar__phones i { font-size: 1.0625rem; color: var(--teal-light); }
.topbar__phones span { color: rgba(255, 255, 255, .4); }
.topbar__phone { color: #fff; font-weight: 600; text-decoration: none; }
.topbar__phone:hover { color: var(--teal-light); }
.topbar__social { display: flex; align-items: center; gap: 2px; padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .2); }
.topbar__follow { margin-right: 8px; color: rgba(255, 255, 255, .75); }
.topbar__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: 1.0625rem; text-decoration: none; transition: background-color .2s, color .2s; }
.topbar__social a { position: relative; }
.topbar__social a::after { content: ""; position: absolute; inset: -8px -1px; }
.topbar__social a:hover { background: rgba(255, 255, 255, .12); color: var(--teal-light); }

/* Navigation row */
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.masthead.is-fixed .header__inner { height: var(--header-h-compact); }
.brand { display: block; flex: none; }
.brand__logo { width: auto; height: 58px; }
.brand__logo--light { filter: drop-shadow(0 1px 8px rgba(9, 18, 24, .35)); }
.brand__logo--color, .masthead.is-fixed .brand__logo--light { display: none; }
.masthead.is-fixed .brand__logo--color { display: block; height: 46px; }
.nav { margin-inline: auto; }
.nav__list { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav__link { position: relative; display: block; padding: 8px 0; font-size: .9375rem; font-weight: 500; text-decoration: none; text-shadow: 0 1px 12px rgba(9, 18, 24, .45); transition: color .2s; }
.masthead.is-fixed .nav__link { text-shadow: none; }
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--teal-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--teal-light); }
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header__phone i { font-size: 1.125rem; color: var(--teal-light); }
.header__phone:hover { color: var(--teal-light); }
/* Pill CTA, lit in the brand teal */
.header__cta {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--night);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s;
}
.header__cta i { font-size: 1.0625rem; transition: transform .3s var(--ease); }
.header__cta:hover { background: var(--teal-light); }
.header__cta:hover i { transform: translateX(3px); }
.header__call, .header__burger { display: none; }
.header__wa { font-size: 1.375rem; }
.header__wa:hover { color: var(--teal-light); }
/* The number lives in the top strip; in the compact bar it moves into the header row */
@media (min-width: 1181px) {
  .header__phone { display: none; }
  .masthead.is-fixed .header__phone { display: inline-flex; }
}
/* 1181–1279 px: in the fixed bar the number shrinks to a call button so WhatsApp and Enquire still fit */
@media (min-width: 1181px) and (max-width: 1279px) {
  .masthead.is-fixed .header__phone { justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 50%; }
  .masthead.is-fixed .header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .masthead.is-fixed .header__phone i { font-size: 1.25rem; color: #fff; }
}

.menu {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0;
  padding: 0 var(--gutter) calc(20px + env(safe-area-inset-bottom));
  border: 0;
  background: #fff;
  color: var(--ink);
  display: none;
  flex-direction: column;
}
.menu[open] { display: flex; animation: sheet-in .35s var(--ease-out-expo); }
.menu::backdrop { background: rgba(12, 24, 32, .4); }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 68px; border-bottom: 1px solid var(--line); }
.menu__top img { width: auto; height: 46px; }
.menu__list { flex: 1; display: flex; flex-direction: column; padding: 12px 0; overflow: auto; }
.menu__list a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-weight: var(--fw-display);
  font-size: 1.625rem;
  line-height: 1.2;
  text-decoration: none;
}
.menu__list span { flex: none; min-width: 2.2em; font-family: var(--f-text); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--teal-deep); }
.menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 12px; }
.menu__actions .btn--block { grid-column: 1 / -1; }

/* 6 · Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column;
  min-height: max(700px, 100svh);
  overflow: hidden;
  background: var(--night-deep);
  color: #fff;
}
.hero__stage { position: absolute; inset: 0; z-index: -2; }
/* Scroll response (main.js sets --p from 0 at the top to 1 once the hero has scrolled away):
   the image zooms in towards the towers and drifts down a little, so it moves slower than the page */
.hero__zoom { position: absolute; inset: 0; transform-origin: 50% 70%; transform: translate3d(0, calc(var(--p, 0) * 11%), 0) scale(calc(1 + var(--p, 0) * .2)); will-change: transform; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 52% 55%;
  backface-visibility: hidden;
}
/* Landing: the frame starts close and pulls back once to reveal both towers.
   main.js adds .is-ready when the image has loaded, so the move is never missed. */
.js .hero:not(.is-ready) .hero__img { opacity: 0; transform: scale(1.32); }
.hero.is-ready .hero__img { animation: land 5.5s cubic-bezier(.3, .2, .2, 1) both; }
@keyframes land {
  from { opacity: 0; transform: scale(1.32); }
  10% { opacity: 1; }
  to { opacity: 1; transform: scale(1); }
}

.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 48% 44% at 50% 54%, rgba(12, 24, 32, .72) 0%, rgba(12, 24, 32, .48) 50%, rgba(12, 24, 32, 0) 100%),
    linear-gradient(180deg, rgba(12, 24, 32, .72) 0%, rgba(12, 24, 32, .3) 16%, rgba(12, 24, 32, 0) 30%),
    linear-gradient(0deg, rgba(12, 24, 32, .85) 0%, rgba(12, 24, 32, .25) 16%, rgba(12, 24, 32, 0) 30%);
}

/* Deepens towards navy as the hero leaves, so it hands over to the next section */
.hero__fade { position: absolute; inset: 0; z-index: -1; background: var(--night-deep); opacity: calc(var(--p, 0) * .6); pointer-events: none; }
.hero__inner { flex: 1; display: flex; flex-direction: column; padding-top: calc(var(--topbar-h) + var(--header-h)); }
/* The title block sits in the middle of the frame, over the lawn between the towers */
.hero__content {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  margin: auto;
  max-width: 1160px;
  opacity: calc(1 - var(--q, 0));
  transform: translate3d(0, calc(var(--q, 0) * -64px), 0);
  padding: clamp(28px, 4.5vh, 52px) clamp(24px, 4vw, 64px);
  text-align: center;
}
/* Crop marks at the four corners, drawn in after the title */
.hero__content::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --m: rgba(255, 255, 255, .6);
  background:
    linear-gradient(var(--m), var(--m)) top left / 26px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) top left / 1px 26px no-repeat,
    linear-gradient(var(--m), var(--m)) top right / 26px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) top right / 1px 26px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / 26px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / 1px 26px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / 26px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / 1px 26px no-repeat;
  animation: frame-in 1.2s var(--ease-out-expo) 1s both;
}
@keyframes frame-in { from { opacity: 0; inset: 18px; } to { opacity: 1; inset: 0; } }
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-light);
  text-shadow: 0 1px 12px rgba(9, 18, 24, .5);
  animation: fadeup 1s var(--ease-out-expo) .2s both;
}
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero__title {
  margin-top: 20px;
  font-family: var(--f-display);
  font-weight: var(--fw-display);
  font-size: var(--fs-hero);
  line-height: 1.08;
  letter-spacing: -.03em;
}
/* Each line rises out of its own mask */
.hero__title .line { display: block; overflow: hidden; padding: 0 .08em .14em; margin-bottom: -.14em; }
.hero__title .line > span { display: inline-block; text-wrap: balance; animation: rise 1.4s var(--ease-out-expo) both; }
.hero__title .line:nth-child(1) > span { animation-delay: .35s; }
.hero__title .line:nth-child(2) > span { animation-delay: .5s; }
.hero__title { text-shadow: 0 2px 28px rgba(9, 18, 24, .45); }
.hero__title em { font-style: normal; color: var(--teal-light); }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__lead {
  margin-top: 22px;
  max-width: 58ch;
  text-wrap: balance;
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 18px rgba(9, 18, 24, .55);
  animation: fadeup 1.2s var(--ease-out-expo) .75s both;
}
.hero__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
  padding: 12px 0 18px;
  animation: fadeup 1.2s var(--ease-out-expo) 1.3s both;
}
.hero__place { grid-column: 3; min-width: 0; font-family: var(--f-text); color: rgba(255, 255, 255, .78); text-align: right; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; font-weight: 600; }
/* Scroll cue: a label over a line that a light travels down */
.hero__scroll { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.hero__scroll-line { position: relative; width: 1px; height: 44px; overflow: hidden; background: rgba(255, 255, 255, .25); }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--teal-light); animation: scroll-cue 2.2s cubic-bezier(.6, 0, .4, 1) 2s infinite; }
@keyframes scroll-cue { to { top: 100%; } }
.hero__scroll:hover { color: var(--teal-light); }
.hero__bar:focus-within { animation: none; }
.hero__bar > * { opacity: calc(1 - var(--q, 0) * 2.5); }
/* Tabbing back up from the fixed header can reach the hero while it is scrolled away: show what has focus */
.hero__bar > :focus-within, .hero__content:focus-within { opacity: 1; transform: none; }

/* 7 · Chapter shell -------------------------------------------------------- */
.chapter { padding-block: var(--sec-pad); }
.chapter--stone { background: var(--stone); }
.chapter--night { background: var(--night); color: var(--on-night); }
.chapter--flush { padding-top: 0; }
.chapter--bottom-flush { padding-bottom: 0; }
.chapter-head { display: grid; gap: 20px; max-width: 780px; }
.chapter-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 24px 64px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.chapter-head--split > div { display: grid; gap: 20px; }
.chapter--night .h2 em, .chapter--night .h3 em { color: var(--teal-light); }
.chapter--night .lead { color: var(--on-night-muted); }
.chapter--night .eyebrow { color: var(--teal-light); }
.chapter--night .label { color: var(--on-night-muted); }

/* 8 · Overview ------------------------------------------------------------- */
/* Desktop: the whole overview fits one screen below the fixed bar; spacing follows the viewport height */
.overview { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4.5vw, 80px); align-items: center; }
.overview__text { display: grid; gap: clamp(32px, 3vw, 44px); }
.status__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.status__step { position: relative; padding: 24px 12px 0 0; font-size: .875rem; line-height: 1.35; color: var(--muted); }
.status__step::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.status__step.is-done::before { background: var(--teal); }
.status__step.is-current::before { right: auto; width: 12px; background: var(--leaf); }
.status__mark { position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); }
.is-done .status__mark { background: var(--teal); border-color: var(--teal); }
.is-current .status__mark { background: var(--leaf); border-color: var(--leaf); box-shadow: 0 0 0 5px rgba(140, 164, 114, .22); }
.status__step.is-current { color: var(--ink); font-weight: 600; }
.status__note { margin-top: 14px; font-size: .875rem; color: var(--muted); }
.byline { padding-top: clamp(16px, 2.4vh, 24px); border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.byline strong { font-weight: 600; color: var(--ink); }

/* Walkthrough: a poster that swaps for the YouTube player on click (main.js) */
.film-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.film-embed__poster, .film-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-embed__poster { display: block; text-align: left; }
.film-embed__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out-expo); }
.film-embed__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 24, 32, .9) 0%, rgba(12, 24, 32, .55) 28%, rgba(12, 24, 32, 0) 52%); }
.film-embed__poster:hover img, .film-embed__poster:focus-visible img { transform: scale(1.03); }
.film-embed__poster:focus-visible { outline-offset: -4px; }
.film-embed__cta { position: absolute; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 26px); z-index: 1; display: flex; align-items: center; gap: 14px; color: #fff; }
.film-embed__btn { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: var(--night); font-size: 1.5rem; box-shadow: 0 0 0 8px rgba(25, 162, 168, .28); transition: transform .3s var(--ease), background-color .25s; }
.film-embed__poster:hover .film-embed__btn { transform: scale(1.06); background: var(--teal-light); }
.film-embed__kind { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-light); text-shadow: 0 1px 8px rgba(9, 18, 24, .8); }
.film-embed__title { text-shadow: 0 1px 8px rgba(9, 18, 24, .8); }
.film-embed__title { display: block; margin-top: 2px; font-size: 1.0625rem; font-weight: 600; }
.overview__film .cap { margin-top: 16px; }

/* Key figures: one row on desktop. Hairlines come from the 1px grid gap, so any column count draws cleanly. */
.spec {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.75fr) repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1px;
  margin-top: clamp(56px, 6vw, 88px);
  background: var(--line);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.spec__cell { padding: 22px 16px; background: var(--paper); }
.spec__cell:first-child { padding-left: 0; }
.spec dt { font-family: var(--f-text); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 10px; }
.spec .num { font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.75rem, 1.1rem + 1.1vw, 2.375rem); line-height: 1; letter-spacing: -.03em; }
.spec .unit { font-size: .875rem; font-weight: 500; }
.spec small { flex-basis: 100%; margin-top: 6px; font-size: .8125rem; line-height: 1.4; color: var(--muted); }


/* 9 · Residences ----------------------------------------------------------- */
.configs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line-strong); }
.config {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 24px 24px 22px;
  border-left: 1px solid var(--line);
  text-align: left;
  transition: background-color .3s, color .3s;
}
.config:first-child { border-left: 0; }
.config::after {
  content: "";
  position: absolute; left: -1px; right: -1px; top: -1px;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.config:hover:not([aria-selected="true"]) { background: var(--mint); }
.config[aria-selected="true"] { background: var(--night); color: #fff; }
.config[aria-selected="true"]::after { transform: scaleX(1); }
.config__name { font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.5rem, 1.25rem + .6vw, 1.875rem); line-height: 1.1; }
.config__meta { margin-bottom: 10px; font-size: .8125rem; color: var(--muted); }
.config__row {
  display: flex; justify-content: space-between; gap: 12px;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.config__row > span { padding-top: 1px; font-family: var(--f-text); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.config[aria-selected="true"] .config__meta,
.config[aria-selected="true"] .config__row > span { color: rgba(255, 255, 255, .66); }
.config[aria-selected="true"] .config__row { border-color: rgba(255, 255, 255, .14); }

.explorer { padding: clamp(24px, 3.4vw, 52px); background: #fff; border: 1px solid var(--line-strong); border-top: 0; }
.explorer:focus-visible { outline-offset: -2px; }
.explorer__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: start; transition: opacity .28s; }
.explorer.is-swapping > * { opacity: 0; }
.sizes { display: grid; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.sizes__head { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; color: var(--muted); }
.sizes__row { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-size: .875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.explorer__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.seg__btn { min-height: 34px; padding: 0 16px; border-radius: 999px; font-size: .8125rem; font-weight: 500; transition: background-color .2s, color .2s; }
.seg__btn[aria-pressed="true"] { background: var(--teal-deep); color: #fff; }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; border-top: 1px solid var(--ink); }
.areas__cell { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.areas__cell + .areas__cell { padding-left: 16px; border-left: 1px solid var(--line); }
.areas dd { margin-top: 8px; font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1; }
.areas small { margin-left: 4px; font-family: var(--f-text); font-size: .75rem; color: var(--muted); }
.rows__item { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.rows__item dt { padding-top: 3px; font-family: var(--f-text); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.note { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border-left: 2px solid var(--teal); background: var(--mint); font-size: .875rem; line-height: 1.5; }
.note i { flex: none; margin-top: 2px; font-size: 1.125rem; color: var(--teal-deep); }
.explorer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.plan__cap { margin-top: 18px; font-size: .8125rem; color: var(--muted); }
.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px); }
.plans-grid h3 { margin-top: 20px; font-family: var(--f-display); font-weight: var(--fw-display); font-size: 1.375rem; line-height: 1.2; }
.plans-grid p { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.plans-grid .marks img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }

.defs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 48px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.defs dt { font-family: var(--f-text); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }
.defs dd { margin-top: 8px; font-size: .9375rem; line-height: 1.55; color: var(--muted); }

/* 10 · Amenities ----------------------------------------------------------- */
/* Curated experiences: a horizontal scroll of site photographs, aligned to the page
   grid on the left and running off the right edge so the next card peeks in. */
/* Header row: intro left, counter + buttons right */
.xp__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(40px, 5vw, 64px); }
.xp__head { max-width: 860px; }
.xp__head .lead { max-width: none; }
.xp {
  --xp-edge: max(var(--gutter), (100% - var(--maxw)) / 2);
  --xp-gap: clamp(16px, 2vw, 28px);
  --xp-per: 4;
}
.xp__track {
  display: flex;
  gap: var(--xp-gap);
  padding-inline: var(--xp-edge);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  /* no snapping: the track flows continuously (main.js) */
  scrollbar-width: none;
  cursor: grab;
}
.xp__track::-webkit-scrollbar { display: none; }
/* After looping, the previous card would show in the left margin: fade it out there */
.xp__track { -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--xp-edge) - 14px), #000 var(--xp-edge)); mask-image: linear-gradient(90deg, transparent calc(var(--xp-edge) - 14px), #000 var(--xp-edge)); }
.xp__track:focus-visible { outline-offset: -2px; }
.xp__track.is-dragging { cursor: grabbing; }
.xp__track.is-dragging .xp__media { pointer-events: none; }
.xp__card { flex: 0 0 calc((100% - (var(--xp-per) - 1) * var(--xp-gap)) / var(--xp-per)); scroll-snap-align: start; }
.xp__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-deep); }
.xp__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out-expo); user-select: none; -webkit-user-drag: none; }
.xp__media:hover img, .xp__media:focus-visible img { transform: scale(1.04); }
.xp__media:focus-visible { outline-offset: -4px; }
.xp__kind { margin-top: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-light); }
.xp__title { margin-top: 4px; font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.0625rem, .9rem + .45vw, 1.375rem); line-height: 1.2; letter-spacing: -.015em; color: #fff; }

.xp__bar { display: flex; align-items: center; gap: 24px; }
.xp__count { font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--teal-light); }
.xp__nav { display: flex; gap: 12px; }
.xp__btn { min-height: 46px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, .3); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; transition: border-color .2s, background-color .2s, opacity .2s; }
.xp__btn:hover:not(:disabled) { border-color: #fff; background: rgba(255, 255, 255, .06); }
.xp__btn:disabled { opacity: .35; cursor: default; }
.xp__btn--icon { display: grid; place-items: center; width: 46px; padding: 0; font-size: 1.125rem; }

/* 11 · Location ------------------------------------------------------------ */
/* Homes & location (home page): three configuration cards, then the neighbourhood */
.homes__head { margin-bottom: clamp(36px, 4.5vw, 56px); }
.homes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.home__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.home__plan { display: block; }
.home__img { display: block; overflow: hidden; }
.home__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; transition: transform 1.2s var(--ease-out-expo); }
.home__link:hover .home__img img, .home__link:focus-visible .home__img img { transform: scale(1.04); }
.home__kind { margin-top: 22px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); }
.home__title { margin-top: 6px; font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.375rem, 1.1rem + .7vw, 1.875rem); line-height: 1.15; letter-spacing: -.02em; }
.home__rows { display: block; margin-top: 16px; border-top: 1px solid var(--ink); }
.home__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.home__row > span { padding-top: 2px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.home__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--teal-deep); }
.home__more i { transition: transform .3s var(--ease); }
.home__link:hover .home__more i { transform: translateX(4px); }
.home__link:hover .home__more { text-decoration: underline; text-underline-offset: 4px; }
.homes__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: clamp(36px, 4vw, 52px); padding-top: 24px; border-top: 1px solid var(--line); }
.homes__bar p { font-size: .9375rem; color: var(--muted); }
.homes__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.homes-section .loc { margin-top: clamp(72px, 8vw, 120px); padding-top: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line); }
.loc__head { display: grid; gap: 16px; }
.loc__head .h3 { font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.5rem); line-height: 1.12; letter-spacing: -.025em; }

.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.commute { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--ink); }
.commute li { padding: 18px 14px 18px 0; border-bottom: 1px solid var(--line-strong); }
.commute li:not(:nth-child(3n + 1)) { padding-left: 16px; border-left: 1px solid var(--line-strong); }
.commute__v { display: block; font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.875rem, 1.4rem + 1vw, 2.375rem); line-height: 1; letter-spacing: -.025em; }
.commute__v small { margin-left: 4px; font-family: var(--f-text); font-size: .875rem; color: var(--muted); }
/* "Exit No - 2" stays on one line; in a narrow card it moves under "ORR" as a whole */
.commute__nb { white-space: nowrap; }
.commute__k { display: block; margin-top: 8px; font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.loc__tabs { margin-top: 40px; }
.tabpanel { margin-top: 14px; }
.tabpanel:focus-visible { outline-offset: 4px; }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-strong); font-size: .9375rem; }
.dist li span:last-child { flex: none; font-size: .875rem; font-weight: 600; color: var(--teal-deep); }
.loc__map { position: sticky; top: calc(var(--header-h-compact) + 32px); }
.map { aspect-ratio: 4 / 5; }
.map__ph { position: absolute; inset: clamp(10px, 1.4vw, 18px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--stone); color: var(--muted); font-size: .875rem; }
.map__ph i { font-size: 2rem; color: var(--teal-deep); }
.map iframe { position: absolute; inset: clamp(10px, 1.4vw, 18px); width: calc(100% - 2 * clamp(10px, 1.4vw, 18px)); height: calc(100% - 2 * clamp(10px, 1.4vw, 18px)); border: 0; background: transparent; }
.map__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 22px; }
.map__bar p { display: flex; gap: 8px; font-size: .875rem; color: var(--muted); }
.map__bar p i { flex: none; margin-top: 2px; font-size: 1.125rem; color: var(--teal-deep); }
.map__bar strong { color: var(--ink); }
.map__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* Plans page: header band, jump links, area-statement tables, closing band */
.page-hero { padding: calc(var(--topbar-h) + var(--header-h) + clamp(40px, 7vh, 80px)) 0 clamp(52px, 7vh, 88px); }
.crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: clamp(28px, 4vh, 40px); font-size: .875rem; color: var(--on-night-muted); }
.crumbs a { color: #fff; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.crumbs i { font-size: .875rem; }
.page-hero__title { margin-top: 18px; max-width: 18ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vh, 40px); }
.page-hero__back { margin-top: clamp(28px, 4vh, 40px); }
.page-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vh, 40px); }
.page-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: #fff; font-size: .875rem; font-weight: 500; text-decoration: none; transition: border-color .2s, background-color .2s; }
.page-jump a:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.statement + .statement { margin-top: clamp(48px, 5vw, 72px); }
.statement__scroll { position: relative; margin-top: 20px; overflow-x: auto; background: #fff; border: 1px solid var(--line-strong); }
.statement__scroll:focus-visible { outline-offset: 2px; }
.statement__table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .9375rem; }
.statement__table th, .statement__table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; white-space: nowrap; }
.statement__table thead th { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.statement__table thead small { display: block; margin-top: 2px; font-size: .6875rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.statement__table tbody th { font-weight: 600; }
.statement__table .num { text-align: right; font-variant-numeric: tabular-nums; }
.statement__table tbody tr:hover { background: var(--mint); }
.statement__table tfoot th, .statement__table tfoot td { border-bottom: 0; font-weight: 700; }
.statement__table sup { margin-left: 2px; color: var(--teal-deep); }
.statement__note { margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.statement__note + .statement__note { margin-top: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cta-band { margin-top: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* 12 · Homeowner stories ---------------------------------------------------- */
/* One featured video story, then the other video stories in a looping strip */
.story__kind { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-light); }
.story__kind i { font-size: 1rem; }
.story__who { margin-top: 4px; font-size: .875rem; color: var(--on-night-muted); }

.story-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.story-feature__media .film-embed { box-shadow: 0 30px 60px rgba(0, 0, 0, .28); }
.story-feature__name { margin-top: 14px; font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.375rem); line-height: 1.15; letter-spacing: -.02em; }
.story-feature__text { margin: 18px 0 24px; font-size: var(--fs-lead); line-height: 1.6; color: rgba(242, 246, 247, .85); }

.xp--stories { --xp-per: 3; margin-top: clamp(48px, 5vw, 72px); }
.story { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--night-line); background: rgba(255, 255, 255, .03); }
.story__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.story__media img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: transform 1s var(--ease-out-expo), opacity .3s; }
.story__media:hover img, .story__media:focus-visible img { transform: scale(1.04); opacity: 1; }
.story__media:focus-visible { outline-offset: -3px; }
.story__play { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--night); font-size: 1.125rem; box-shadow: 0 0 0 6px rgba(25, 162, 168, .28); transition: transform .3s var(--ease); }
.story__media:hover .story__play { transform: scale(1.08); }
.story__dur { position: absolute; right: 66px; bottom: 22px; padding: 3px 8px; border-radius: var(--r); background: rgba(9, 18, 24, .78); color: #fff; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.story__body { display: flex; flex-direction: column; padding: 20px 22px 24px; }
.story__name { margin-top: 10px; font-family: var(--f-display); font-weight: var(--fw-display); font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; }
.story__text { margin-top: 12px; font-size: .9375rem; line-height: 1.6; color: rgba(242, 246, 247, .8); }

.stories__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--night-line); }
.stories__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.stories__note p { font-size: .875rem; color: var(--on-night-muted); }

.film { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.film__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.film__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: transform 1s var(--ease-out-expo), opacity .3s; }
.film:hover .film__thumb img, .film:focus-visible .film__thumb img { transform: scale(1.04); opacity: 1; }
.film__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 1.375rem; transition: transform .3s var(--ease); }
.film:hover .film__play { transform: scale(1.08); }
.film__kind { display: block; margin-top: 8px; font-family: var(--f-text); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }
.film__title { display: block; font-family: var(--f-display); font-weight: var(--fw-display); font-size: 1.25rem; line-height: 1.25; }

/* 13 · Gallery ------------------------------------------------------------- */
.tabs--line { flex-wrap: nowrap; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line-strong); scrollbar-width: none; }
.tabs--line::-webkit-scrollbar { display: none; }
.tabs--line .tab { position: relative; min-height: 52px; margin-right: 30px; padding: 0 2px; border: 0; border-radius: 0; background: none; font-size: .9375rem; color: var(--muted); }
.tabs--line .tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tabs--line .tab:hover { color: var(--ink); }
.tabs--line .tab[aria-selected="true"] { background: none; color: var(--ink); }
.tabs--line .tab[aria-selected="true"]::after { transform: scaleX(1); }

.gal__head { margin-bottom: clamp(40px, 5vw, 64px); }
.gal { margin-top: 28px; }
.gal__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 14vw, 212px); gap: 10px; transition: opacity .28s; }
.gal.is-swapping .gal__grid, .gal.is-swapping .tour { opacity: 0; }
.gal__item.is-lead { grid-column: span 2; grid-row: span 2; }
.gal__item button { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--stone); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out-expo); }
.gal__item button:hover img, .gal__item button:focus-visible img { transform: scale(1.045); }
.gal__item button:focus-visible { outline-offset: -3px; }
.gal__item button::after {
  content: attr(data-cap);
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 12px 10px;
  overflow: hidden;
  background: linear-gradient(0deg, rgba(12, 24, 32, .78), rgba(12, 24, 32, 0));
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tour { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; transition: opacity .28s; }
.tour__main { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; color: #fff; }
.tour__main img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1.2s var(--ease-out-expo); }
.tour__main:hover img { transform: scale(1.03); }
.tour__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 2rem; transition: transform .3s var(--ease); }
.tour__main:hover .tour__play { transform: scale(1.06); }
.tour__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 28px 24px; background: linear-gradient(0deg, rgba(12, 24, 32, .88), rgba(12, 24, 32, 0)); }
.tour__label .label { color: var(--teal-light); }
.tour__title { display: block; margin-top: 6px; font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); line-height: 1.2; }
.tour__side { display: grid; align-content: start; gap: 20px; }
.film--row { flex-direction: row; align-items: center; gap: 16px; }
.film--row .film__thumb { flex: none; width: 46%; }
.film--row .film__play { width: 40px; height: 40px; margin: -20px 0 0 -20px; font-size: 1rem; }
.film--row .film__kind { margin-top: 0; }
.film--row .film__title { font-size: 1.125rem; }

/* Feature lists — one pattern for "Why Parkville" and "All amenities":
   a strong rule and a small label, then marker → title → short description. */
.features { margin-top: clamp(80px, 8vw, 120px); padding-top: 26px; border-top: 1px solid var(--ink); }
.features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 56px; margin-top: 34px; }
.features--4 .features__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features__mark { display: block; font-size: .8125rem; font-weight: 700; color: var(--teal-deep); }
.features__icon { font-size: 1.75rem; line-height: 1; }
.features__title { margin-top: 10px; font-family: var(--f-display); font-weight: var(--fw-display); font-size: 1.5rem; line-height: 1.2; }
.features__text { margin-top: 8px; font-size: .9375rem; color: var(--muted); }
.chapter--night .features { border-top-color: rgba(242, 246, 247, .45); }
.chapter--night .features__mark { color: var(--teal-light); }
.chapter--night .features__text { color: var(--on-night-muted); }

.brochure { position: relative; isolation: isolate; margin-top: var(--sec-pad); overflow: hidden; background: var(--night); color: #fff; }
.brochure__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.brochure__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 35, 46, .94) 0%, rgba(18, 35, 46, .74) 50%, rgba(18, 35, 46, .5) 100%); }
.brochure__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(64px, 7vw, 104px); }
.brochure__title { margin-top: 14px; font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem); line-height: 1.1; letter-spacing: -.025em; }
.brochure__title em { font-style: normal; color: var(--teal-light); }
.brochure__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.brochure--inset { margin-top: clamp(64px, 7vw, 104px); }
.brochure--inset .brochure__inner { padding: clamp(40px, 5vw, 72px) clamp(24px, 4.5vw, 72px); }

/* 14 · Builder & enquire ------------------------------------------------------------- */
/* Built on integrity (left) + the enquiry form (right, sticky on tall desktop screens) */
.builder__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.builder__trust { display: grid; gap: clamp(36px, 4vw, 52px); min-width: 0; }
.ledger { border-top: 1px solid rgba(242, 246, 247, .45); }
.ledger__row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--night-line); }
.ledger dt { padding-top: 3px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-muted); }
.ledger dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-weight: 500; color: #fff; }
.ledger .link { font-size: .875rem; }
.spec-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.spec-card { position: relative; padding: 26px 24px 24px; border: 1px solid var(--night-line); background: rgba(255, 255, 255, .03); }
.spec-card__icon { font-size: 1.75rem; color: var(--teal-light); }
.spec-card__title { margin-top: 16px; font-family: var(--f-display); font-weight: var(--fw-display); font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
.spec-card__text { margin-top: 8px; font-size: .9375rem; line-height: 1.55; color: var(--on-night-muted); }
.spec-card--wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; }
.spec-card--wide .spec-card__title { margin-top: 0; }

.builder .form-card { margin-top: 0; padding: clamp(24px, 2.6vw, 40px); border: 0; color: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.builder .form-card .eyebrow { color: var(--teal-deep); }
.builder .form-card .label { color: var(--muted); }
.form-card__title { margin-top: 12px; font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); line-height: 1.15; letter-spacing: -.02em; }
.form-card__title em { font-style: normal; color: var(--teal-deep); }
.form-card__lead { margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.builder .form-card { padding: clamp(24px, 2.4vw, 34px); }
@media (min-width: 1001px) and (max-height: 860px) {
  .builder .form-card { padding: 22px 26px; }
  .builder .form-card__title { margin-top: 6px; font-size: 1.5rem; }
  .builder .form-card__lead { display: none; }
}
@media (min-width: 1001px) and (min-height: 700px) {
  .builder__form { position: sticky; top: calc(var(--header-h-compact) + 24px); }
}

.form-card { position: relative; margin-top: 36px; padding: clamp(22px, 3vw, 40px); background: #fff; border: 1px solid var(--line); }
/* HubSpot form: the form itself is styled inside HubSpot's iframe (main.js, HS_CSS).
   Until it is ready, the shell holds its space with a quiet loading line. */
.hs-form-shell { position: relative; margin-top: 22px; }
.hs-form-shell iframe { display: block; border: 0; }
.hs-form-shell[aria-busy="true"] { min-height: var(--hs-h, 320px); }
.hs-form-shell[aria-busy="true"]::before { content: "Loading the form…"; position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; border: 1px dashed var(--line-strong); background: #fff; font-size: .875rem; color: var(--muted); }
.form-fallback { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--paper); font-size: .9375rem; line-height: 1.55; }
.form-fallback a { color: var(--teal-deep); font-weight: 600; }
.form-fallback:not([hidden]) ~ .form-card__fine, .form-fallback:not([hidden]) ~ .sheet__fine { display: none; }
.form-card__fine { margin-top: 12px; font-size: .75rem; color: var(--muted); }
.sheet .hs-form-shell { --hs-h: 230px; margin-top: 18px; }
.form__success { display: none; }
.form__success:focus { outline: none; } /* focused by script so screen readers hear it; not a Tab stop */
.is-success .hs-form-shell, .is-success .form-fallback, .is-success .form-card__fine { display: none; }
.is-success .form__success { display: grid; justify-items: start; gap: 14px; animation: fadeup .6s var(--ease-out-expo) both; }
.form__success > i { font-size: 2.75rem; color: var(--leaf); }
.form__success p:not(.h3) { color: var(--muted); max-width: 52ch; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* 15 · FAQ & contact ------------------------------------------------------- */
.faqc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.faqc__side { position: sticky; top: calc(var(--header-h-compact) + 32px); }
.contacts { margin-top: 36px; border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact > i { margin-top: 1px; font-size: 1.375rem; color: var(--teal-deep); }
.contact__v { margin-top: 3px; font-size: .9375rem; line-height: 1.5; }
.contact__v > a:not(.link) { font-weight: 500; text-decoration: none; }
.contact__v > a:not(.link):hover { color: var(--teal-deep); }
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover h3 { color: var(--teal-deep); }
.faq__item h3 { font-family: var(--f-display); font-weight: var(--fw-display); font-size: clamp(1.25rem, 1.05rem + .5vw, 1.5rem); line-height: 1.3; transition: color .2s; }
.faq__item summary i { flex: none; margin-top: 6px; font-size: 1.25rem; color: var(--teal-deep); transition: transform .35s var(--ease); }
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__item p { max-width: 62ch; padding: 0 48px 26px 0; color: var(--muted); }
.faq__item[open] p { animation: fadeup .45s var(--ease-out-expo) both; }

/* 16 · Footer -------------------------------------------------------------- */
/* A navy "drawing sheet": a faint blueprint grid, the link columns,
   and an architect's title block. */
.footer { background: var(--night-deep); color: var(--on-night); }
.footer__sheet {
  position: relative;
  padding: clamp(56px, 6vw, 80px) 0 36px;
  border-top: 1px solid var(--night-line);
}
/* Blueprint grid: fine lines every 32 px, stronger every 160 px, fading out towards the bottom */
.footer__sheet::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(127, 211, 215, .07) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(90deg, rgba(127, 211, 215, .07) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(rgba(127, 211, 215, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(127, 211, 215, .035) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.footer__sheet > .wrap { position: relative; }

.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3.4fr) minmax(0, 2.6fr) minmax(0, 2.6fr); gap: 40px; }
.footer__brand img { width: auto; height: 68px; }
.footer__brand p { max-width: 32ch; margin-top: 18px; font-size: .9375rem; color: var(--on-night-muted); }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; color: #fff; font-size: 1.125rem; text-decoration: none; transition: border-color .2s, color .2s, background-color .2s; }
.social a:hover { border-color: var(--teal-light); color: var(--teal-light); background: rgba(127, 211, 215, .08); }
.footer .label { color: var(--teal-light); }
.footer__col ul { display: grid; gap: 12px; margin-top: 18px; font-size: .9375rem; color: var(--on-night-muted); }
.footer__col--wide ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer__col a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; transition: color .2s; }
.footer__col a i { font-size: 1.0625rem; color: var(--teal-light); }
.footer__col a:hover { color: var(--teal-light); }
.footer__link { text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .35) !important; }
.footer__note { font-size: .8125rem; line-height: 1.5; }

/* Title block — bordered cells with crop marks at the corners */
.titleblock { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: clamp(48px, 5vw, 72px); border: 1px solid rgba(242, 246, 247, .28); }
.titleblock::before, .titleblock::after { content: ""; position: absolute; inset: -9px; pointer-events: none;
  background:
    linear-gradient(var(--teal-light), var(--teal-light)) top left / 16px 1px no-repeat,
    linear-gradient(var(--teal-light), var(--teal-light)) top left / 1px 16px no-repeat,
    linear-gradient(var(--teal-light), var(--teal-light)) top right / 16px 1px no-repeat,
    linear-gradient(var(--teal-light), var(--teal-light)) top right / 1px 16px no-repeat; }
.titleblock::after { transform: scaleY(-1); }
.titleblock__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.titleblock__cell { padding: 16px 20px 18px; border-right: 1px solid rgba(242, 246, 247, .16); }
.titleblock__cell dt { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-muted); }
.titleblock__cell dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 6px; font-size: .9375rem; font-weight: 600; color: #fff; }
.titleblock__cell dd a { display: inline-flex; align-items: center; gap: 3px; color: var(--teal-light); font-size: .8125rem; text-underline-offset: 3px; }
.titleblock__top { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 112px; padding: 12px 18px; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, color .2s; }
.titleblock__top i { font-size: 1.375rem; color: var(--teal-light); transition: transform .3s var(--ease); }
.titleblock__top:hover { background: rgba(127, 211, 215, .08); }
.titleblock__top:hover i { transform: translateY(-3px); }

.footer__bottom { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; margin-top: 28px; font-size: .75rem; line-height: 1.6; color: rgba(242, 246, 247, .55); }
.footer__bottom a { color: rgba(242, 246, 247, .8); text-underline-offset: 3px; }
.footer__bottom a:hover { color: #fff; }

/* 17 · Action bar ------------------------------------------------ */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none;
  grid-template-columns: 1fr 1fr 1.3fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform .35s var(--ease);
}
.actionbar.is-visible { transform: none; }
.actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.actionbar a + a { border-left: 1px solid var(--line); }
.actionbar a i { font-size: 1.25rem; color: var(--teal-deep); }
.actionbar a.is-primary { background: var(--teal-deep); color: #fff; }
.actionbar a.is-primary i { color: #fff; }

/* 18 · Dialogs ------------------------------------------------------------- */
.viewer {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(9, 18, 24, .97);
  color: #fff;
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.viewer[open] { display: grid; animation: fade-in .3s var(--ease); }
.viewer::backdrop { background: rgba(9, 18, 24, .6); }
.viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.viewer__count { font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .7); }
.viewer__tools { display: flex; gap: 8px; margin-left: auto; }
.viewer__body { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(12px, 6vw, 104px); overflow: hidden; }
.viewer__body img { max-width: 100%; max-height: 100%; width: auto; height: auto; user-select: none; -webkit-user-drag: none; }
.viewer.can-zoom .viewer__body img { cursor: zoom-in; }
.viewer.is-zoomed .viewer__body { align-items: flex-start; justify-content: flex-start; padding: 0; overflow: auto; cursor: grab; }
.viewer.is-zoomed .viewer__body img { max-width: none; max-height: none; cursor: zoom-out; }
.viewer__nav { position: absolute; top: 50%; margin-top: -22px; background: rgba(9, 18, 24, .5); }
.viewer__nav--prev { left: 16px; }
.viewer__nav--next { right: 16px; }
.viewer.is-zoomed .viewer__nav { display: none; }
.viewer__cap { padding: 14px 20px 22px; font-size: .875rem; font-weight: 500; text-align: center; color: rgba(255, 255, 255, .78); }
.viewer--video { grid-template-rows: 1fr; place-items: center; }
.viewer__close { position: absolute; top: 16px; right: 16px; }
.video-frame { width: min(92vw, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-frame--short { width: min(92vw, calc((100vh - 140px) * 9 / 16)); aspect-ratio: 9 / 16; }
/* Shown instead of the player when the page is opened as a file (YouTube refuses those) */
.video-note { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: var(--night); color: var(--on-night-muted); font-size: .9375rem; line-height: 1.5; text-align: center; }
.video-note i { font-size: 2.5rem; color: var(--teal-light); }
.video-note p { max-width: 46ch; }
.video-note strong { display: block; margin-bottom: 4px; color: #fff; }
.video-note code { padding: 1px 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); color: #fff; font-size: .875em; }
.video-frame { position: relative; }

.sheet {
  width: min(900px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100svh - 32px); /* iOS 26 Safari misreads 100% while its toolbar animates */
  /* Centred from the top and sized by its content. Left to the default (pinned top and bottom), Safari
     stretches a modal dialog to the screen, and iOS 26 can misjudge that height, e.g. as the keyboard closes. */
  top: 50%;
  bottom: auto;
  margin-block: 0;
  translate: 0 -50%;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  display: none;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-content: start; /* Safari otherwise stretches the row to the max-height, leaving the popup screen-tall */
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(12, 24, 32, .35);
}
.sheet[open] { display: grid; animation: sheet-in .4s var(--ease-out-expo); }
.sheet::backdrop { background: rgba(12, 24, 32, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.sheet__body { position: relative; padding: clamp(28px, 4vw, 44px); overflow: auto; overscroll-behavior: contain; }
.sheet__close { position: absolute; top: 14px; right: 14px; }
.sheet .h3 { margin-top: 14px; }
.sheet__lead { margin-top: 10px; font-size: .9375rem; color: var(--muted); }
/* Lead popup */
.sheet--lead { width: min(960px, calc(100% - 32px)); }
.sheet--lead h2:focus { outline: none; } /* focus starts on the heading when the popup opens by itself */
.sheet--lead .sheet__media img { object-position: 35% 50%; }
.sheet__points { display: grid; gap: 8px; margin-top: 18px; padding: 14px 0; border-block: 1px solid var(--line); font-size: .875rem; font-weight: 500; }
.sheet__points li { display: flex; align-items: center; gap: 10px; }
.sheet__points i { font-size: 1.125rem; color: var(--teal-deep); }
.sheet__fine { margin-top: 12px; font-size: .75rem; color: var(--muted); }
.sheet__body.is-success .sheet__lead, .sheet__body.is-success .sheet__points, .sheet__body.is-success .sheet__fine { display: none; }
.sheet__body .form__success, .form-card .form__success { margin-top: 22px; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* 19 · Motion -------------------------------------------------------------- */
/* Section headings: each word rises out of its own mask; words on a line share --d */
.rise-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .02em .14em; margin: -.02em -.02em -.14em; }
.rise-w > span { display: inline-block; }
.rise-ready .rise-w > span { transform: translateY(112%); transition: transform 1.1s var(--ease-out-expo) var(--d, 0ms); }
.rise-ready.is-up .rise-w > span { transform: none; }
/* Feature lists, item by item: from the left (Why Parkville) or down, row by row (amenities) */
.stagger-ready > * { opacity: 0; transition: opacity .9s var(--ease-out-expo), transform 1.1s var(--ease-out-expo); transition-delay: var(--d, 0ms); }
.stagger-left > * { transform: translate3d(-56px, 0, 0); }
.stagger-rows > * { transform: translate3d(0, -28px, 0); }
.stagger-ready > .is-in { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out-expo), transform 1.1s var(--ease-out-expo); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:focus-within, .reveal.is-now { opacity: 1; transform: none; transition: none; }

@supports (animation-timeline: view()) {
  .brochure__img {
    animation: drift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes drift { from { transform: scale(1.14) translateY(-4%); } to { transform: scale(1.14) translateY(4%); } }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero:not(.is-ready) .hero__img, .hero.is-ready .hero__img { opacity: 1; transform: none; animation: none; }
  .hero__title .line > span, .hero__lead, .hero__eyebrow, .hero__content::before, .hero__bar { animation: none; }
  .hero__scroll-line::after { animation: none; top: 30%; }
  .hero__zoom, .hero__content { transform: none; }
  .hero__content, .hero__bar > * { opacity: 1; }
  .hero__fade { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .brochure__img { animation: none; }
  .menu[open], .sheet[open], .viewer[open], .is-success .form__success, .faq__item[open] p { animation: none; }
  .masthead.is-fixed { transition: none; }
}

/* 20 · Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --header-h: 68px; --header-h-compact: 60px; }
  .brand__logo { height: 46px; }
  .masthead.is-fixed .brand__logo--color { height: 40px; }
  .nav, .header__phone, .header__cta, .header__wa { display: none; }
  .header__call, .header__burger { display: inline-grid; }
  .header__actions { margin-left: auto; gap: 10px; }
  .actionbar { display: grid; }
  .footer__sheet { padding-bottom: calc(36px + 56px + env(safe-area-inset-bottom)); }
  .titleblock__grid { grid-template-columns: 1fr 1fr; }
  .titleblock__cell:nth-child(-n + 2) { border-bottom: 1px solid rgba(242, 246, 247, .16); }
  .features--4 .features__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features--prose .features__grid { grid-template-columns: 1fr 1fr; }
  .topbar__follow { display: none; }
  .spec { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spec__cell, .spec__cell:first-child { padding-inline: 16px; }
  .spec__cell--wide { grid-column: span 2; }
  .topbar__social { padding-left: 14px; }
}

@media (max-width: 1000px) {
  .overview, .loc, .faqc, .explorer__body, .story-feature { grid-template-columns: minmax(0, 1fr); }
  /* One column: heading first, then the drawing or map, then the detail */
  .overview__text, .loc__text { display: contents; }
  .overview .chapter-head, .loc__head { order: 1; }
  .overview__film, .commute { order: 2; }
  .status, .loc__map { order: 3; }
  .byline, .loc__tabs { order: 4; }
  .loc__text > .fineprint { order: 5; margin-top: -24px; }
  .commute, .loc__tabs { margin-top: 0; }
  .loc__map, .faqc__side { position: static; }
  .map { aspect-ratio: 4 / 3; }
  .builder__grid { grid-template-columns: minmax(0, 1fr); }
  .builder__trust { display: contents; }
  .builder .chapter-head { order: 1; }
  .ledger { order: 2; }
  .builder__form { order: 3; }
  .spec-cards { order: 4; }
  .tour { grid-template-columns: minmax(0, 1fr); }
  .xp { --xp-per: 2.3; }
  .xp--stories { --xp-per: 2; }
  .tour__side { grid-template-columns: 1fr 1fr; }
  .tour__side .fineprint { grid-column: 1 / -1; margin-top: 0; }
}

@media (max-width: 900px) {
  .chapter-head--split { grid-template-columns: minmax(0, 1fr); }
  .config__row { display: none; }
  .config__meta { margin-bottom: 0; }
  .homes { display: flex; gap: 16px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-block: 10px; margin-block: -10px; }
  .homes::-webkit-scrollbar { display: none; }
  .home { flex: 0 0 min(78%, 360px); scroll-snap-align: start; }
  .plans-grid { grid-template-columns: minmax(0, 1fr); }
  .defs { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .features__grid, .features--4 .features__grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand, .footer__col--wide { grid-column: 1 / -1; }
  .footer__col--wide ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__bottom { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

@media (max-width: 640px) {
  :root { --sec-pad: 72px; --topbar-h: 36px; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec__cell, .spec__cell:first-child { padding-inline: 12px; }
  .xp { --xp-per: 1.18; }
  .xp--stories { --xp-per: 1.12; }
  .xp__bar { width: 100%; justify-content: space-between; gap: 16px; }
  .xp__btn { min-height: 46px; padding: 0 16px; }
  .film-embed__btn { width: 48px; height: 48px; font-size: 1.125rem; box-shadow: 0 0 0 6px rgba(25, 162, 168, .28); }
  .film-embed__kind { display: none; }
  .film-embed__title { font-size: .9375rem; }
  .topbar { font-size: .75rem; }
  .topbar__ts, .topbar__phones, .topbar__rera a { display: none; }
  .topbar__social { padding-left: 0; border-left: 0; }
  .topbar__social a { width: 28px; height: 28px; font-size: 1rem; }
  .hero { min-height: 100svh; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(12, 24, 32, .75) 0%, rgba(12, 24, 32, .35) 16%, rgba(12, 24, 32, 0) 28%),
      linear-gradient(0deg, rgba(12, 24, 32, .96) 0%, rgba(12, 24, 32, .82) 46%, rgba(12, 24, 32, .2) 78%);
  }
  .hero__eyebrow { font-size: .75rem; letter-spacing: .14em; }
  .hero__lead { margin-top: 16px; font-size: 1rem; }
  /* The strip only holds the scroll cue and the place name, both dropped on phones */
  .hero__bar { display: none; }
  .hero__inner { padding-bottom: 28px; }
  .hero__content { padding: 22px 18px; }
  .hero__eyebrow::before, .hero__eyebrow::after { width: 20px; }
  .status__step { font-size: .8125rem; }
  .config { padding: 16px 12px; }
  .config__name { font-size: 1.25rem; }
  .config__meta { font-size: .75rem; }
  .homes__actions, .homes__actions .btn { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .sizes__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .areas dd { font-size: 1.375rem; }
  .rows__item { grid-template-columns: 80px 1fr; gap: 12px; }
  .explorer__actions .btn { flex: 1 1 100%; }
  .tag { top: 8px; left: 8px; font-size: .6875rem; padding: 4px 7px; }
  .gal__item button::after { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; padding: 22px 8px 6px; font-size: .6875rem; line-height: 1.3; white-space: normal; }
  .tab { min-height: 44px; }
  #loc-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  #loc-tabs::-webkit-scrollbar { display: none; }
  .chip { min-height: 44px; }
  .seg__btn { min-height: 44px; }
  /* Area statements become one card per unit type */
  .statement__scroll { overflow: visible; background: none; border: 0; }
  .statement__table { min-width: 0; }
  .statement__table thead { display: none; }
  .statement__table, .statement__table tbody, .statement__table tr, .statement__table tfoot { display: block; }
  .statement__table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-bottom: 12px; padding: 16px; background: #fff; border: 1px solid var(--line-strong); }
  .statement__table tbody tr:hover { background: #fff; }
  .statement__table tbody th { grid-column: 1 / -1; padding: 0 0 8px; border: 0; font-size: 1.0625rem; white-space: normal; }
  .statement__table td { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); white-space: normal; text-align: left; font-variant-numeric: tabular-nums; }
  .statement__table td.num { text-align: left; }
  .statement__table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .statement__table td[data-label="Unit nos."] { grid-column: 1 / -1; }
  .statement__table td.statement__plan { grid-column: 1 / -1; padding: 12px 0 0; border: 0; }
  .statement__table td.statement__plan .link { justify-content: center; width: 100%; min-height: 44px; border: 1px solid var(--line-strong); text-decoration: none; }
  .statement__table tfoot tr { display: flex; justify-content: space-between; padding: 4px 2px; }
  .statement__table tfoot td:last-child { display: none; }
  .statement__table tfoot th, .statement__table tfoot td { padding: 0; border: 0; }
  .commute { grid-template-columns: 1fr 1fr; }
  .commute li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .commute li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line-strong); }
  .gal__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 128px; gap: 6px; }
  .tour__side { grid-template-columns: minmax(0, 1fr); }
  .features__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .features--4 .features__grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .features--prose .features__grid { grid-template-columns: minmax(0, 1fr); }
  .features__title { font-size: 1.25rem; }
  .brochure__actions, .brochure__actions .btn { width: 100%; }
  .ledger__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .spec-cards { grid-template-columns: minmax(0, 1fr); }
  .spec-card--wide { flex-wrap: wrap; }
  .faq__item p { padding-right: 0; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__col--wide ul { grid-template-columns: 1fr 1fr; }
  .titleblock { grid-template-columns: minmax(0, 1fr); }
  .titleblock__grid { grid-template-columns: 1fr 1fr; }
  .titleblock__cell { padding: 12px 14px 14px; border-bottom: 1px solid rgba(242, 246, 247, .16); }
  .titleblock__cell:nth-child(2n) { border-right: 0; }
  .titleblock__cell dd { font-size: .875rem; }
  .titleblock__top { flex-direction: row; min-height: 52px; }
  .footer__brand p { display: none; }
  .footer__grid { gap: 32px; }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .sheet__media { display: none; }
  .sheet__points { font-size: .8125rem; }
  .viewer__nav { top: auto; bottom: 64px; }
}

/* Portrait screens: a full-height crop of the 2:1 render loses a tower, so the
   image becomes a wide band under the masthead and the text sits below on navy. */
@media (max-aspect-ratio: 1/1) {
  .hero { min-height: 0; padding-top: calc(var(--topbar-h) + var(--header-h)); }
  .hero__stage { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; overflow: hidden; }
  .hero__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 35%; background: linear-gradient(0deg, var(--night-deep), rgba(12, 24, 32, 0)); }
  .hero__img { object-position: 50% 55%; }
  .hero__scrim { display: none; }
  .hero__inner { padding-top: 8px; }
  .hero__zoom { transform: translate3d(0, calc(var(--p, 0) * 6%), 0) scale(calc(1 + var(--p, 0) * .16)); }
  .hero__content { opacity: 1; transform: none; }
  .hero__bar > * { opacity: 1; }
  .hero__fade { display: none; }
}

/* Smallest phones (≤ 360 px): keep the strip and the action bar inside the screen */
@media (max-width: 360px) {
  .topbar__social a[href*="linkedin"], .topbar__social a[href*="x.com"] { display: none; }
  .actionbar a { gap: 6px; font-size: .8125rem; }
  .actionbar a i { font-size: 1.125rem; }
}
