/* DM Sans (variable: opsz 9–40, wght 400–500) and Poppins 500, the Google Fonts files the design was made with,
   embedded so the page makes no outside requests. Same subsets and unicode ranges as Google serves. OFL 1.1: see
   /assets/fonts/OFL-*.txt. */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/concepts/halse/assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/concepts/halse/assets/fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/concepts/halse/assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/concepts/halse/assets/fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/concepts/halse/assets/fonts/poppins-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/concepts/halse/assets/fonts/poppins-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* The Arden — design tokens. 1rem = 10 design px at the 1444px artboard width (html font-size, see global.css). */

:root {
  --c-wine: #0e2a6b;
  --c-rose: #1f4fd8;
  --c-blush: #8fa4d6;
  --c-coral: #e2a33a;
  --c-ivory: #fbfaf6;
  --c-sand: #eef1f6;
  --c-linen: #f2efe7;
  --c-line: #ccd6ea;
  --c-panel-line: rgba(255, 255, 255, 0.14);

  --c-card-materials: #fbf9f6;
  --c-row-materials: #eef1f6;
  --c-card-silence: #f9f8f5;
  --c-row-silence: #f2efe7;
  --c-card-amenities: #1543c7;
  --c-card-concierge: #faf9f6;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --hero-pin: 18rem;          /* hero hold while the stats panel rises (storyboard 01 → 02) */
  --header-h: 9.9rem;
}
/* ==========================================================================
   The Arden — Homepage, Concept 3 (desktop)
   1rem = 10 design px at the 1444px artboard width; the whole layout scales
   proportionally with the viewport (see --vw, set from JS).
   ========================================================================== */


/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font: inherit; }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

html {
  font-size: calc(var(--vw, 100vw) / 144.4);
  background: var(--c-ivory);
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 400;
  font-variation-settings: "opsz" 14;
  color: var(--c-wine);
  background: var(--c-ivory);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--c-wine); color: var(--c-ivory); }

:focus-visible {
  outline: 1px solid var(--c-coral);
  outline-offset: 0.4rem;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ==========================================================================
   Shared atoms
   ========================================================================== */

.muted { color: var(--c-blush); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-family: "Poppins", "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 2.6rem;
  color: var(--c-rose);
  text-transform: lowercase;
  white-space: nowrap;
}
.label i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 0.4rem;
  background: currentColor;
  flex: none;
}
.label--plain { display: block; }

/* Button: colour wipes up from the bottom on hover */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  padding: 1rem 1.6rem;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.8rem;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: color 0.6s var(--ease-expo); /* same object as the fill: same duration and curve */
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  transform: translate3d(0, 101%, 0);
  transition: transform 0.6s var(--ease-expo);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--btn-fg-hover); }
.btn span { position: relative; }

.btn--light { --btn-bg: var(--c-ivory); --btn-fg: var(--c-wine); --btn-fill: var(--c-wine); --btn-fg-hover: var(--c-ivory); }
.btn--rose  { --btn-bg: var(--c-rose);  --btn-fg: var(--c-linen); --btn-fill: var(--c-wine); --btn-fg-hover: var(--c-ivory); }

/* Underline that draws in from the left and leaves to the right */
.nav-link, .link-arrow__text { position: relative; }
.nav-link::after, .link-arrow__text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.6s var(--ease-expo);
}
.nav-link:hover::after, .nav-link:focus-visible::after,
.link-arrow:hover .link-arrow__text::after, .link-arrow:focus-visible .link-arrow__text::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.6rem;
  height: 4rem;
  padding: 1rem 0;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.8rem;
  color: var(--c-coral);
  white-space: nowrap;
}
.link-arrow__icon { display: inline-block; transition: transform 0.6s var(--ease-expo); }
.link-arrow:hover .link-arrow__icon, .link-arrow:focus-visible .link-arrow__icon { transform: translateX(0.4rem); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  display: flex;
  align-items: center;
  gap: 7.2rem;
  padding: 4rem;
  border-bottom: 1px solid transparent;
}
.site-header__logo img { width: 7.87188rem; height: 1.6rem; }
.site-header__wordmark { display: block; font-size: 2.2rem; line-height: 1.6rem; font-weight: 500; letter-spacing: -0.02em; color: currentColor; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 6.4rem;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.8rem;
  white-space: nowrap;
}

/* Hero header — decoration in the entrance: one object, one fade, no travel */
.site-header--hero {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  border-bottom-color: var(--c-wine);
  transition: opacity 0.7s var(--ease-out);
}
.js .site-header--hero { opacity: 0; }
.is-loaded .site-header--hero { opacity: 1; }

/* Content header — arrives on top of Residences, then sticks; tucks away
   while reading downward and returns on the way back up. */
.site-header--content {
  position: sticky;
  top: 0;
  z-index: 10;
  margin-bottom: calc(var(--header-h) * -1);
  background: var(--c-ivory);
  border-bottom-color: var(--c-line);
  transition: transform var(--header-dur) var(--ease-expo);
}
.site-header--content.is-hidden { transform: translate3d(0, -101%, 0); }

/* Things pinned under the header move with it: same moment, same curve */
:root { --header-offset: var(--header-h); --header-dur: 0.6s; }
:root.header-hidden { --header-offset: 0px; }

/* ==========================================================================
   Hero scene
   ========================================================================== */

.hero-scene { position: relative; }

.hero-pin {
  position: relative;
  z-index: 1;
  height: calc(100vh + var(--hero-pin));
}

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--c-sand);
}

.hero__media {
  position: absolute;
  left: -36.2rem;
  top: -0.1rem;
  width: 186.8rem;
  height: 124.1rem;
  min-height: calc(100% + 0.1rem);
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transition: opacity 0.9s var(--ease-out);
}
/* Backdrop fades in on its own as soon as it decodes — it never holds the headline back */
.js .hero__media img { opacity: 0; }
.js .hero__media img.is-ready { opacity: 1; }

.hero__content {
  position: absolute;
  left: 4rem;
  top: 13rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.4rem;
  will-change: transform;
}
.hero__title {
  font-weight: 500;
  font-size: 9.6rem;
  line-height: 1.1;
  white-space: nowrap;
}
/* Lead: the two lines rise out of their masks, 110ms apart (reading order) */
.hero__title .line__inner { transition-duration: 1.1s; }
.hero__title .line + .line .line__inner { --line-delay: 110ms; }

/* Support: CTA follows with a shorter move (8px vs a full line) */
.hero__cta {
  transition: opacity 0.8s var(--ease-out) 0.22s, transform 1s var(--ease-expo) 0.22s, color 0.6s var(--ease-expo);
}
.js .hero__cta { opacity: 0; transform: translate3d(0, 0.8rem, 0); }
.is-loaded .hero__cta { opacity: 1; transform: none; }

/* Property details — full-width, two columns; it is what pushes the hero up */
.details {
  position: relative;
  z-index: 2;
  display: flex;
  height: 45.8rem;
  background: var(--c-linen);
}
.details__panel {
  position: relative;
  flex: none;
  width: 50%;
  border-bottom: 1px solid var(--c-panel-line);
}
.details__panel--info {
  display: flex;
  align-items: flex-start;
  gap: 12.8rem;
  padding: 4rem 4rem 0;
  overflow: hidden;
}
.details__address {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.details__street {
  font-size: 4.8rem;
  line-height: 1.2;
  letter-spacing: -0.096rem;
}
.details__lede {
  font-size: 2.4rem;
  line-height: 1.1;
  letter-spacing: -0.048rem;
  color: var(--c-rose);
}
.details__counts {
  flex: none;
  width: 8.4rem;
  display: flex;
  flex-direction: column;
  gap: 3.6rem;
}

/* Building statistics — the independent top layer of the hero scene.
   Its resting place is the bottom of the right column; JS lifts it above
   that spot and lets the content catch up with it. */
.stats-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px; /* covers the column's 1px rule: rests flush with the block's bottom edge */
  z-index: 3;
  height: 36rem;
  padding: 4rem;
  background: var(--c-wine);
  border-bottom: 1px solid var(--c-panel-line);
  overflow: hidden;
  will-change: transform;
}
.stats-panel__row {
  display: flex;
  align-items: flex-start;
  gap: 4.8rem;
  height: 8.4rem;
}
.stats-panel__pair {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.stats-panel__pair .stat { flex: 1 1 0; min-width: 0; }
.stat--area { flex: 1 1 0; min-width: 0; }
.stat--area .label { margin-bottom: -0.6rem; }

.stat__value {
  line-height: 1.2;
  white-space: nowrap;
}
.stat__value--md { font-size: 4.8rem; letter-spacing: -0.096rem; }
.stat__value--xl { font-size: 7.2rem; letter-spacing: -0.144rem; }
.stats-panel .stat__value { color: var(--c-blush); }

/* ==========================================================================
   Content
   ========================================================================== */

.content {
  position: relative;
  z-index: 4;
}

/* ---------- Residences ---------- */
.residences {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding: 14rem 4rem 12rem;
  background: var(--c-ivory);
}
.residences__intro {
  width: 90rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.residences__lead {
  font-size: 4.8rem;
  line-height: 1.2;
  letter-spacing: -0.096rem;
}

.residence-cards { display: flex; }

.residence-card {
  position: relative;
  flex: none;
  width: 45.33333rem;
  height: 70rem;
  padding: 0 3.2rem;
  display: flex;
  flex-direction: column;
}
/* Divider — drawn top-down when the row arrives (see the reveal section) */
.residence-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--c-line);
  transform-origin: 50% 0;
}
.residence-card__area {
  position: absolute;
  top: 0;
  right: 2rem;
  font-size: 4.8rem;
  line-height: 1.2;
  letter-spacing: -0.096rem;
  color: var(--c-blush);
  white-space: nowrap;
  transition: color 0.6s var(--ease-expo);
}
.residence-card:hover .residence-card__area { color: var(--c-rose); }

/* Hover: area tint and plan lift are one response — same 0.6s, same curve */
.residence-card__plan { position: absolute; }
.residence-card__plan img { transition: transform 0.6s var(--ease-expo); }
.residence-card:hover .residence-card__plan img { transform: translate3d(0, -0.6rem, 0); }

.residence-card__plan--suite {
  left: 12.385rem;
  top: 12.7rem;
  width: 20.3256rem;
  height: 27.8896rem;
}
.residence-card__plan--suite img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 27.8896rem;
  height: 20.3256rem;
  transform: translate(-50%, -50%) rotate(90deg);
}
.residence-card:hover .residence-card__plan--suite img { transform: translate(-50%, calc(-50% - 0.6rem)) rotate(90deg); }

.residence-card__plan--residence { left: 8.437rem; top: 15.386rem; }
.residence-card__plan--residence img { width: 28.4086rem; height: 25.0056rem; }

.residence-card__plan--penthouse { left: 5.506rem; top: 10.2rem; }
.residence-card__plan--penthouse img { width: 34.0899rem; height: 32.0689rem; }

.residence-card__details {
  position: relative;
  margin-top: auto;
  height: 19.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.residence-card__desc {
  font-size: 2.4rem;
  line-height: 1.1;
  letter-spacing: -0.048rem;
}

/* ---------- The Building ---------- */
.building {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding-top: 14rem;
  background: var(--c-sand);
  overflow: clip;
}
.building__intro {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 0 4rem;
}
.building__title {
  width: 80rem;
  font-size: 4.8rem;
  line-height: 1.1;
}

/* Each layer starts at its card's column and runs to the right edge, so a
   lifted layer never leaves a gap — the "steps" read as solid stairs. */
.feature-row {
  position: relative;
  height: 59.7rem;
  background: var(--c-row-materials);
}
.feature-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--i) * 25%);
  right: 0;
  z-index: var(--i);
}
.feature-layer[data-feature-layer] { will-change: transform; }
.feature-layer--materials  { background: var(--c-row-materials); }
.feature-layer--silence    { background: var(--c-row-silence); }
.feature-layer--amenities  { background: var(--c-card-amenities); }
.feature-layer--concierge  { background: var(--c-card-concierge); }

.feature-card {
  position: relative;
  width: calc(100% / (4 - var(--i)));
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.4rem 3.2rem;
  overflow: hidden;
}
.feature-layer--materials .feature-card { background: var(--c-card-materials); }
.feature-layer--silence   .feature-card { background: var(--c-card-silence); }
.feature-layer--amenities .feature-card { background: var(--c-card-amenities); }
.feature-layer--concierge .feature-card { background: var(--c-card-concierge); }

.feature-card__img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1744 / 2336;
  object-fit: cover;
  transform-origin: 50% 100%;
  transition: transform 1.6s var(--ease-expo);
}
.feature-card:hover .feature-card__img { transform: scale(1.035); }
.feature-card .label,
.feature-card__title { position: relative; }
.feature-card__title {
  font-size: 2.8rem;
  line-height: 1.3;
}
.feature-card--dark .label { color: var(--c-blush); }
.feature-card--dark .feature-card__title { color: var(--c-linen); }

/* ---------- FAQ ---------- */
.faq {
  position: relative;
  display: flex;
  align-items: flex-start;
  background: var(--c-ivory);
}
.faq__aside {
  flex: none;
  align-self: stretch;
  width: 48rem;
  padding: 14rem 4rem 2.4rem;
  border-right: 1px solid var(--c-line);
}
/* Sticky column: rides 4rem under the content header and moves with it when
   the header tucks away or returns (same moment, same duration and curve). */
.faq__aside-inner {
  position: sticky;
  top: calc(var(--header-offset) + 4rem);
  display: flex;
  flex-direction: column;
  gap: 5.6rem;
  transition: top var(--header-dur) var(--ease-expo);
}
.faq__heading {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.faq__title {
  font-size: 4.8rem;
  line-height: 1.1;
}
.faq__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.4rem;
  padding-top: 3.6rem;
  border-top: 1px solid var(--c-line);
}
.faq__cta-text {
  font-size: 1.6rem;
  line-height: 1.5;
}

.faq__list {
  flex: 1 1 0;
  min-width: 0;
  padding-bottom: 14rem;
}
.faq__category {
  display: flex;
  padding: 2.4rem;
  border-bottom: 1px solid var(--c-line);
}
.faq__category--first { padding-top: 14rem; }

.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item:last-child { border-bottom: 0; }

/* Accordion — height, indent, icon and answer are one component:
   one duration (--acc-dur), one curve. The indent belongs to the open state
   only, so question and answer always share the same left edge. */
.faq-item {
  --acc-dur: 0.5s;
  --indent: 2.4rem;
}
.faq-item.is-open { --indent: 4rem; }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 2.4rem 2.4rem 2.4rem var(--indent);
  font-size: 2rem;
  line-height: 1.4;
  text-align: left;
  color: var(--c-wine);
  transition: padding-left var(--acc-dur) var(--ease-expo);
}
.faq-item__icon {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  transition: transform var(--acc-dur) var(--ease-expo);
}
.faq-item__q:hover .faq-item__icon { transform: rotate(90deg); }
.faq-item.is-open .faq-item__icon { transform: rotate(135deg); }

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--acc-dur) var(--ease-expo);
}
.faq-item__a > div { overflow: hidden; min-height: 0; }
.faq-item__a p {
  max-width: 64rem;
  padding: 0 2.4rem 2.8rem var(--indent);
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--c-rose);
  opacity: 0;
  transform: translate3d(0, -0.6rem, 0);
  /* closing: everything leaves together, the copy a little faster */
  transition: opacity 0.25s var(--ease-out), transform var(--acc-dur) var(--ease-expo),
              padding-left var(--acc-dur) var(--ease-expo);
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-item__a p {
  opacity: 1;
  transform: none;
  /* opening: copy follows the height by a beat so the reveal is visible */
  transition: opacity 0.4s var(--ease-out) 0.06s, transform var(--acc-dur) var(--ease-expo) 0.06s,
              padding-left var(--acc-dur) var(--ease-expo);
}

/* ==========================================================================
   Choreography — timed reveals (IntersectionObserver adds .is-in)
   Roles: lead rises the furthest, support moves less, decoration only fades.
   Line delays shrink as a block goes on (set from JS) so text reads as a wave.
   ========================================================================== */

/* Lead — masked lines. Hero title is marked up by hand, [data-split] by JS. */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.line__inner {
  display: block;
  transition: transform 1.2s var(--ease-expo);
  transition-delay: calc(var(--d, 0ms) + var(--line-delay, 0ms));
}
.js .line__inner { transform: translate3d(0, 112%, 0); }
.js [data-split].is-in .line__inner,
.js.is-loaded .hero__title .line__inner { transform: none; }
.js [data-split]:not(.is-split) { visibility: hidden; }

/* Scrubbed lines (property details): JS drives them from scroll — no transition */
.line__scrub { display: block; will-change: transform; }

/* Support — short rise. Decoration — [data-reveal="fade"], no travel. */
[data-reveal] {
  transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-expo);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal] { opacity: 0; transform: translate3d(0, 1rem, 0); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Masked values */
.mask {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.mask > span { display: inline-block; }

/* Residence cards — two beats per card, each fired when that part is in view.
   --c offsets the cards left → right with shrinking gaps (0 / 120 / 200ms).
   Top beat: plan (lead) draws, area (support) follows 80ms later, label fades. */
.residence-card::before { transition: transform 1.4s var(--ease-expo) var(--c, 0ms); }
.residence-card .label { transition: opacity 0.6s var(--ease-out) calc(var(--c, 0ms) + 160ms); }
.residence-card [data-plan] { transition: clip-path 1.5s var(--ease-expo) calc(var(--c, 0ms) + 160ms); }
.residence-card__area .mask > span { transition: transform 1.1s var(--ease-expo) calc(var(--c, 0ms) + 240ms); }
.js .residence-card::before { transform: scaleY(0); }
.js .residence-card .label { opacity: 0; }
.js .residence-card [data-plan] { clip-path: inset(0 0 100% 0); }
.js .residence-card__area .mask > span { transform: translate3d(0, 110%, 0); }
.js .residence-card.is-in::before { transform: none; }
.js .residence-card.is-in .label { opacity: 1; }
.js .residence-card.is-in [data-plan] { clip-path: inset(-2rem -2rem -2rem -2rem); }
.js .residence-card.is-in .residence-card__area .mask > span { transform: none; }

/* Bottom beat: description (support) rises 8px, link (decoration) fades with it */
.residence-card__desc {
  transition: opacity 0.8s var(--ease-out) var(--c, 0ms), transform 1s var(--ease-expo) var(--c, 0ms);
}
.residence-card__details .link-arrow { transition: opacity 0.6s var(--ease-out) var(--c, 0ms); }
.js .residence-card__desc { opacity: 0; transform: translate3d(0, 0.8rem, 0); }
.js .residence-card__details .link-arrow { opacity: 0; }
.js .residence-card__details.is-in .residence-card__desc,
.js .residence-card__details.is-in .link-arrow { opacity: 1; transform: none; }

/* ==========================================================================
   Reduced motion: collapse the choreography — no travel, no delays,
   opacity only, each group appears together. Scroll scenes are off (JS).
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  :root { --hero-pin: 0px; --header-dur: 0.01ms; }
  *, *::before, *::after { transition-delay: 0ms !important; }

  .js .line__inner,
  .js [data-reveal],
  .js .hero__cta,
  .js .residence-card__desc,
  .js .residence-card__area .mask > span { transform: none !important; }
  .js .residence-card [data-plan] { clip-path: none !important; }
  .js .residence-card::before { transform: none !important; }

  .js .hero__title { opacity: 0; transition: opacity 0.4s var(--ease-out); }
  .js.is-loaded .hero__title { opacity: 1; }
  .js [data-split] { opacity: 0; transition: opacity 0.4s var(--ease-out); }
  .js [data-split].is-in { opacity: 1; }
  .js .residence-card [data-plan],
  .js .residence-card__area { opacity: 0; transition: opacity 0.4s var(--ease-out); }
  .js .residence-card.is-in [data-plan],
  .js .residence-card.is-in .residence-card__area { opacity: 1; }

  .faq-item__q, .faq-item__a p, .faq__aside-inner, .site-header--content { transition-duration: 0.01ms !important; }
  .residence-card:hover .residence-card__plan img,
  .feature-card:hover .feature-card__img { transform: none; }
  .hero__media, .hero__content, .stats-panel, .feature-layer, .line__scrub { will-change: auto; }
}

/* Riviera theme */
:root .stats-panel { background: #1543c7; }
:root .stats-panel .stat__value { color: #d6e0ff; }
:root .site-header--hero { border-bottom-color: rgba(255, 255, 255, 0.5); }
:root .site-header--hero, :root .site-header--hero a { color: #ffffff; }
:root .site-header--hero .site-header__logo img { filter: brightness(0) invert(1); }
:root .hero__title { color: #ffffff; }

/* Halse House: the whitewashed wall sits behind the white headline, so a navy scrim keeps it legible */
.hero__media::after {
  content: "";
  position: absolute;
  left: 36.2rem;
  top: 0.1rem;
  width: var(--vw, 100vw);
  height: 100vh;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 42, 107, 0.45) 0%, rgba(14, 42, 107, 0) 22%),
    linear-gradient(90deg, rgba(14, 42, 107, 0.62) 0%, rgba(14, 42, 107, 0.28) 38%, rgba(14, 42, 107, 0) 62%);
}
