/* =========================================================================
   ASCEND RESIDENCY
   Premium Manchester short-stay accommodation — cinematic, interactive.
   Base styles are fully usable with no JavaScript. JS layers on the motion.
   ========================================================================= */

/* ----------------------------------------------------------------------- */
/*  1. RESET / BASE                                                        */
/* ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: no-preference) {
  html.lenis, html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto; }
  .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
  .lenis.lenis-stopped { overflow: hidden; }
}
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; }
:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ----------------------------------------------------------------------- */
/*  2. DESIGN TOKENS                                                       */
/* ----------------------------------------------------------------------- */
:root {
  /* Brand — taken from the Ascend Residency logo */
  --brand-pink:       #E7477E;
  --brand-pink-deep:  #D22E63;
  --brand-orange:     #F5892B;
  --brand-gradient:   linear-gradient(115deg, var(--brand-pink) 0%, var(--brand-orange) 100%);

  /* Canvas — warm charcoal so the pink/orange reads as premium, not loud */
  --ink:        #14100F;
  --ink-600:    #1B1614;
  --ink-500:    #241D1A;
  --ink-400:    #322824;
  --bone:       #F6F0EB;
  --bone-dim:   #C9BEB6;
  --bone-faint: rgba(246, 240, 235, 0.55);
  --hairline:   rgba(246, 240, 235, 0.14);
  --hairline-strong: rgba(246, 240, 235, 0.28);

  /* Light surfaces (booking card, detail sheet) */
  --paper:        #FBF7F3;
  --paper-ink:    #211A16;
  --paper-dim:    #6B5F57;
  --paper-hair:   rgba(33, 26, 22, 0.12);

  --font-display: "Cormorant", "Times New Roman", serif;
  --font-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale */
  --fs-hero:   clamp(3rem, 9vw, 8.5rem);
  --fs-h2:     clamp(2.1rem, 5vw, 4.25rem);
  --fs-h3:     clamp(1.5rem, 2.6vw, 2.25rem);
  --fs-lead:   clamp(1.05rem, 1.5vw, 1.35rem);
  --fs-body:   clamp(0.95rem, 1.05vw, 1.05rem);
  --fs-label:  0.72rem;

  /* Spacing */
  --space-section: clamp(5.5rem, 12vw, 11rem);
  --gutter:        clamp(1.25rem, 5vw, 5rem);
  --maxw:          1440px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --dur:       0.5s;

  --z-map: 1;
  --z-nav: 100;
  --z-overlay: 400;
  --z-cursor: 900;
}

/* ----------------------------------------------------------------------- */
/*  3. LAYOUT HELPERS                                                      */
/* ----------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3.5rem, 8vw, 6rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-pink);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--brand-gradient);
}
.section-index {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--bone-faint);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.lead {
  font-size: var(--fs-lead);
  color: var(--bone-dim);
  max-width: 46ch;
  line-height: 1.7;
}

/* Mask reveal for headings / labels (progressive — visible if JS fails) */
.reveal-line { overflow: hidden; }
.reveal-line > * { display: block; }

/* ----------------------------------------------------------------------- */
/*  4. CUSTOM CURSOR                                                       */
/* ----------------------------------------------------------------------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.cursor-ready { cursor: none; }
  body.cursor-ready a,
  body.cursor-ready button,
  body.cursor-ready [data-cursor] { cursor: none; }

  .cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: var(--z-cursor);
    pointer-events: none;
    display: block;
    mix-blend-mode: difference;
  }
  .cursor__ring {
    position: fixed;
    top: 0; left: 0;
    width: 44px; height: 44px;
    margin: -22px 0 0 -22px;
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out),
                background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  }
  .cursor__dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    background: #fff;
    border-radius: 50%;
    transition: opacity 0.3s var(--ease-out);
  }
  .cursor__label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  }
  /* States */
  body.cursor-view     .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: rgba(255,255,255,0.06); }
  body.cursor-drag     .cursor__ring { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: rgba(255,255,255,0.06); }
  body.cursor-grabbing .cursor__ring { width: 100px; height: 100px; margin: -50px 0 0 -50px; background: rgba(255,255,255,0.12); }
  body.cursor-explore  .cursor__ring { width: 108px; height: 108px; margin: -54px 0 0 -54px; background: rgba(255,255,255,0.06); }
  body.cursor-link     .cursor__ring { width: 66px; height: 66px; margin: -33px 0 0 -33px; }
  body.cursor-cta      .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(255,255,255,0.08); }
  body.cursor-view .cursor__label,
  body.cursor-drag .cursor__label,
  body.cursor-grabbing .cursor__label,
  body.cursor-explore .cursor__label { opacity: 1; transform: scale(1); }
  body.cursor-view .cursor__dot,
  body.cursor-drag .cursor__dot,
  body.cursor-grabbing .cursor__dot,
  body.cursor-explore .cursor__dot { opacity: 0; }
  body.cursor-hidden .cursor { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.cursor-ready { cursor: auto; }
  .cursor { display: none !important; }
}

/* ----------------------------------------------------------------------- */
/*  5. NAV                                                                 */
/* ----------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding: clamp(1rem, 2.4vw, 1.9rem) var(--gutter);
  transition: background-color 0.5s var(--ease-out), padding 0.5s var(--ease-out),
              border-color 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  /* Solid backing — the menu must never let page content read through it */
  background: var(--ink-600);
  border-bottom-color: var(--hairline);
  padding-block: clamp(0.7rem, 1.6vw, 1rem);
  box-shadow: 0 12px 34px -20px rgba(0, 0, 0, 0.8);
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex: 0 0 auto; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__mark path { fill: url(#brandGrad); }
.brand__text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--bone);
  white-space: nowrap;
}
.brand__text i { font-style: normal; color: var(--brand-orange); }

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;      /* fills the space between brand and CTA — can't drift into the brand */
  min-width: 0;
  gap: clamp(1.15rem, 2.1vw, 2.25rem);
}
.nav__link {
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bone-dim);
  padding-block: 0.35rem;
  transition: color 0.35s var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover { color: var(--bone); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;      /* always fully visible, never clipped */
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--brand-gradient);
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  will-change: transform;
}
.nav__cta svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.nav__cta:hover svg { transform: translateX(4px); }

.nav__burger { display: none; width: 30px; height: 18px; position: relative; }
.nav__burger span {
  position: absolute; left: 0; width: 100%; height: 1.5px;
  background: var(--bone); transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__burger span:nth-child(3) { bottom: 0; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ----------------------------------------------------------------------- */
/*  Nav responsive — the brand always keeps protected space; the row       */
/*  collapses to the hamburger well before anything can overlap.           */
/* ----------------------------------------------------------------------- */
@media (max-width: 1200px) {
  /* Row is getting tight: drop the CTA pill (the "Booking" link covers it)
     and pull the link spacing in a touch. Full nav still fits comfortably
     at 1280 / 1366 / 1440 / 1920. */
  .nav__cta { display: none; }
  .nav__links { gap: clamp(0.95rem, 1.7vw, 1.5rem); }
}
@media (max-width: 900px) {
  /* Switch to the hamburger before the brand and links can collide. */
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__links.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: var(--ink);
  }
  .nav__links.is-open .nav__link { font-size: 1rem; letter-spacing: 0.16em; }
}

/* ----------------------------------------------------------------------- */
/*  6. HERO — SCROLL-CONTROLLED CINEMATIC SEQUENCE                         */
/* ----------------------------------------------------------------------- */
.hero {
  position: relative;
  /* Scroll distance that drives the pinned sequence (desktop). */
  height: 320vh;
}
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #0c0a09;
}
.hero__layer {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}

/* Sky / atmosphere */
.hero__sky {
  background:
    radial-gradient(120% 80% at 50% 8%, #3a2440 0%, #241827 32%, #150f18 60%, #0c0a09 100%);
}
.hero__sky::after { /* dusk warmth that GSAP fades up */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(90% 60% at 70% 30%, rgba(245,137,43,0.32), transparent 60%);
  opacity: 0;
}
.hero__stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 75% 18%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 45% 12%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 62% 42%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 88% 35%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 12% 48%, rgba(255,255,255,0.45), transparent);
  opacity: 0.55;
}

/* Skyline SVG layers */
.hero__skyline { display: flex; align-items: flex-end; }
.hero__skyline svg { width: 100%; height: auto; }
.hero__skyline--far   { opacity: 0.5; }
.hero__skyline--far   path { fill: #241a2b; }
.hero__skyline--mid   path { fill: #191320; }
.hero__skyline--near  path { fill: #0f0b13; }
.hero__skyline--far   { transform: translateY(6%); }
.hero__skyline--mid   { transform: translateY(2%); }

/* Focal tower that we push toward */
.hero__tower {
  display: grid;
  place-items: end center;
}
.hero__tower svg { width: min(46vw, 520px); height: auto; }
.hero__tower .tower-body { fill: #120d16; stroke: rgba(231,71,126,0.25); stroke-width: 1.5; }
.hero__tower .tower-win  { fill: rgba(245,201,150,0.0); }
.hero__tower .tower-win.lit { fill: rgba(245,201,150,0.85); }

/* Window frame we fly into — a mask that opens onto the interior */
.hero__window {
  display: grid;
  place-items: center;
  opacity: 0;
}
.hero__window-frame {
  position: relative;
  width: 42vw;
  aspect-ratio: 3 / 4;
  max-width: 460px;
  border: 10px solid #0b0810;
  box-shadow: 0 0 0 2px rgba(231,71,126,0.25), inset 0 0 60px rgba(0,0,0,0.6);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Interior — the payoff shot (uses the real Apartment 1 living room) */
.hero__interior {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.18);
}
.hero__interior::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,10,9,0.35) 0%, rgba(12,10,9,0.15) 40%, rgba(12,10,9,0.82) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hero copy */
.hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-inline: var(--gutter);
  max-width: var(--maxw);
  margin-inline: auto;
}
.hero__kicker {
  font-size: var(--fs-label);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bone);
  margin-bottom: 1.5rem;
  opacity: 0;
}
.hero__title {
  font-size: var(--fs-hero);
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.hero__title .reveal-line span { will-change: transform; }
.hero__title em {
  font-style: italic;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 1.75rem;
  font-size: var(--fs-lead);
  color: var(--bone-dim);
  max-width: 40ch;
  opacity: 0;
}

/* Scroll hint */
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vh, 3rem);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.hero__hint-track {
  width: 1px; height: 46px;
  background: var(--hairline-strong);
  position: relative;
  overflow: hidden;
}
.hero__hint-track::after {
  content: "";
  position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--brand-gradient);
  animation: hintDrop 2.4s var(--ease-soft) infinite;
}
@keyframes hintDrop {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(300%); }
}

/* Stage 6 — final frame: wordmark + scroll cue over the interior */
.hero__reveal {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  text-align: center;
  padding-inline: var(--gutter);
  pointer-events: none;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
}
.hero__reveal::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: min(760px, 90vw); height: min(520px, 60vh);
  transform: translate(-50%, -50%);
  background: radial-gradient(60% 60% at 50% 50%, rgba(12, 10, 9, 0.62), transparent 72%);
  z-index: -1;
}
.js .hero.is-cinematic .hero__reveal { display: flex; }
.hero__reveal-kicker {
  font-size: var(--fs-label);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bone);
}
.hero__reveal-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.04;
  color: #fff;
}
.hero__reveal-title em {
  font-style: italic;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__reveal-cue {
  pointer-events: auto;
  margin-top: 0.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.3s var(--ease-out);
}
.hero__reveal-cue:hover { color: #fff; }
.hero__reveal-cue svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .hero__reveal-cue svg { animation: cueBob 2s var(--ease-soft) infinite; }
}
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ----------------------------------------------------------------------- */
/*  7. BOOKING BAR / AVAILABILITY CARD                                     */
/* ----------------------------------------------------------------------- */
.booking-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 0.5rem;
  padding: 0.75rem 0.75rem 0.75rem 1.5rem;
  background: var(--paper);
  border-radius: 4px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.55);
  color: var(--paper-ink);
  align-items: center;
}
.booking-bar--standalone {
  max-width: 920px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.booking-field { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.4rem 0.9rem 0.4rem 0; border-right: 1px solid var(--paper-hair); }
.booking-field:nth-child(3) { border-right: 0; }
.booking-field label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--paper-dim);
}
.booking-field input,
.booking-field select {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--paper-ink);
  padding: 0.15rem 0;
  width: 100%;
}
.booking-field input::-webkit-calendar-picker-indicator { opacity: 0.4; }
.booking-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: 3px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  will-change: transform;
}
.booking-submit svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.booking-submit:hover svg { transform: translateX(4px); }

/* ----------------------------------------------------------------------- */
/*  8. INTRO / MANIFESTO                                                   */
/* ----------------------------------------------------------------------- */
.intro { background: var(--ink); }
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.intro__statement {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.intro__statement .word { display: inline-block; will-change: transform, opacity; }
.intro__statement em {
  font-style: italic;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro__body { display: grid; gap: 1.75rem; padding-top: 0.6rem; }
.intro__body p { color: var(--bone-dim); font-size: var(--fs-body); max-width: 52ch; }

.pillars {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-block: 1px solid var(--hairline);
}
.pillar { background: var(--ink); padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); }
.pillar__n { font-family: var(--font-display); font-size: 1rem; color: var(--brand-pink); letter-spacing: 0.1em; }
.pillar h3 { font-size: 1.25rem; margin: 0.9rem 0 0.5rem; color: var(--bone); }
.pillar p { font-size: 0.86rem; color: var(--bone-faint); line-height: 1.6; }

/* Book-direct strip */
.direct {
  border-block: 1px solid var(--hairline);
  background: var(--ink-600);
}
.direct__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-block: clamp(2rem, 4vw, 3rem);
}
.direct__text { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--bone); max-width: 24ch; }
.direct__text em { font-style: italic; color: var(--brand-orange); }
.direct__list { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; }
.direct__list li { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--bone-dim); display: flex; align-items: center; gap: 0.6rem; }
.direct__list svg { width: 16px; height: 16px; color: var(--brand-pink); flex: none; }

/* ----------------------------------------------------------------------- */
/*  9. MANCHESTER — CIRCULAR INTERACTIVE DISC                              */
/* ----------------------------------------------------------------------- */
.map-sec {
  position: relative;
  background: radial-gradient(120% 90% at 50% 0%, #1d1622 0%, var(--ink) 55%);
  overflow: hidden;
}
.map-sec__head { text-align: center; max-width: 44ch; margin-inline: auto; display: grid; gap: 1.15rem; margin-bottom: clamp(3rem, 7vw, 5rem); }
.map-sec__head h2 {
  font-size: var(--fs-h2);
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--bone);
}
.map-sec__head h2 span { display: block; font-family: var(--font-display); font-style: italic; text-transform: none; letter-spacing: -0.01em; color: var(--brand-orange); }
.map-sec__head .lead { margin-inline: auto; }

/* Perspective stage */
.disc-stage {
  position: relative;
  width: min(720px, 86vw);
  aspect-ratio: 1;
  margin-inline: auto;
  perspective: 1500px;
  perspective-origin: 50% 42%;
  touch-action: pan-y;
}

/* The tilting 3D object (JS drives transform; this is the pre-JS pose) */
.disc {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(15deg);
}

/* Slowly-rotating edge typography — independent of the tilt */
.disc__orbit {
  position: absolute;
  inset: -7%;
  pointer-events: none;
  opacity: 0.5;
  animation: discOrbit 64s linear infinite;
}
.disc__orbit svg { width: 100%; height: 100%; overflow: visible; }
.disc__orbit text { fill: var(--bone-dim); font-family: var(--font-body); font-size: 13px; letter-spacing: 2px; font-weight: 600; }
@keyframes discOrbit { to { transform: rotate(360deg); } }

/* Dimensional outer ring */
.disc__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 28%, rgba(246,240,235,0.14), transparent 60%);
  box-shadow:
    0 0 0 1px rgba(246,240,235,0.16),
    0 0 0 9px rgba(20,16,15,0.65),
    0 0 0 10px rgba(246,240,235,0.07),
    0 70px 130px -35px rgba(0,0,0,0.85),
    inset 0 2px 34px rgba(0,0,0,0.65);
  transform: translateZ(-1px);
}

/* Clipped map surface */
.disc__surface {
  position: absolute;
  inset: 3.4%;
  border-radius: 50%;
  overflow: hidden;
  background: #12101a;
  box-shadow: inset 0 0 70px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(246,240,235,0.08);
}
.disc__surface svg { position: absolute; inset: -12%; width: 124%; height: 124%; }

/* Glass sheen + coloured floor glow for depth */
.disc__sheen {
  position: absolute;
  inset: 3.4%;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 68%, rgba(231,71,126,0.12) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translateZ(3px);
}
.disc__glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(44% 44% at 50% 62%, rgba(231,71,126,0.24), transparent 70%);
  filter: blur(26px);
  transform: translateZ(-46px);
  pointer-events: none;
}

/* Marker layer — floats just above the surface */
.disc__pins { position: absolute; inset: 0; transform: translateZ(8px); }

/* Hotspots */
.hotspot {
  position: absolute;
  width: 16px; height: 16px;
  transform: translate(-50%, -50%);
  z-index: 6;
  transition: opacity 0.4s var(--ease-out);
}
.disc-stage.has-active .hotspot:not(.is-active) { opacity: 0.3; }
.hotspot__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 0 0 rgba(231,71,126,0.5);
}
@media (prefers-reduced-motion: no-preference) {
  .hotspot__pulse { animation: hotspotPulse 3.4s var(--ease-soft) infinite; }
}
@keyframes hotspotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(231,71,126,0.45); }
  70%  { box-shadow: 0 0 0 13px rgba(231,71,126,0); }
  100% { box-shadow: 0 0 0 0 rgba(231,71,126,0); }
}
.hotspot__dot {
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: #fff;
  transition: inset 0.4s var(--ease-out);
}
.hotspot__num {
  position: absolute;
  left: 50%; top: -7px;
  transform: translate(-50%, -100%);
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--bone-faint);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease-out);
}
.hotspot__card {
  position: absolute;
  left: 50%; bottom: calc(100% + 12px);
  transform: translate(-50%, 8px);
  width: max-content;
  max-width: 230px;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 6px;
  padding: 0.85rem 1.05rem;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  z-index: 3;
}
.hotspot__card::after {
  content: "";
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--paper);
}
.hotspot__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: block;
}
.hotspot__meta { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-dim); margin-top: 0.15rem; }
.hotspot__place { font-size: 0.7rem; font-weight: 600; color: var(--brand-pink-deep); margin-top: 0.4rem; display: block; }

.hotspot:hover, .hotspot:focus-visible { outline: none; z-index: 20; }
.hotspot:hover .hotspot__dot,
.hotspot:focus-visible .hotspot__dot { inset: 1px; }
.hotspot:hover .hotspot__num,
.hotspot:focus-visible .hotspot__num { color: var(--brand-pink); }
.hotspot:hover .hotspot__card,
.hotspot:focus-visible .hotspot__card { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  .disc__orbit { animation: none; }
  .disc { transform: rotateX(12deg); }
}

.map-legend {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.map-legend svg { width: 15px; height: 15px; }

/* ----------------------------------------------------------------------- */
/* 10. CITY -> APARTMENTS CIRCULAR-MASK TRANSITION                         */
/* ----------------------------------------------------------------------- */
.portal {
  position: relative;
  height: 220vh;
  background: var(--ink);
}
.portal__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.portal__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* GSAP animates --r from small circle to full-bleed */
  -webkit-clip-path: circle(var(--r, 8%) at 50% 50%);
  clip-path: circle(var(--r, 8%) at 50% 50%);
  will-change: clip-path, transform;
  transform: scale(1.15);
}
.portal__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,10,9,0.2), rgba(12,10,9,0.75));
}
.portal__ring {
  position: absolute;
  width: 18vmin; height: 18vmin;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  display: grid; place-items: center;
  will-change: transform, opacity;
}
.portal__ring span {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone-dim);
}
.portal__label {
  position: relative;
  text-align: center;
  opacity: 0;
  will-change: transform, opacity;
}
.portal__label .eyebrow { color: #fff; }
.portal__label .eyebrow::before { background: #fff; }
.portal__label h2 {
  font-size: var(--fs-hero);
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 1rem;
}

/* ----------------------------------------------------------------------- */
/* 11. APARTMENTS                                                          */
/* ----------------------------------------------------------------------- */
.apts { background: var(--ink); }
.apts__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.apts__head h2 { font-size: var(--fs-h2); color: var(--bone); letter-spacing: -0.01em; max-width: 16ch; }
.apts__head h2 em { font-style: italic; color: var(--brand-orange); }

.apt {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--hairline);
}
.apt:nth-child(even) .apt__media { order: 2; }
.apt__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink-500);
}
.apt__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.9s var(--ease-out);
  will-change: transform;
}
.apt__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,10,9,0.55));
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.apt:hover .apt__media img { transform: scale(1.045); }
.apt:hover .apt__media::after { opacity: 1; }

.apt__index {
  position: absolute;
  top: clamp(1rem, 2vw, 1.75rem); left: clamp(1rem, 2vw, 1.75rem);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  color: rgba(255,255,255,0.9);
  mix-blend-mode: overlay;
  z-index: 2;
}
.apt__body { display: grid; gap: 1.1rem; align-content: center; }
.apt__eyebrow { font-size: var(--fs-label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--brand-pink); font-weight: 600; }
.apt__name { font-size: var(--fs-h3); color: var(--bone); }
.apt__desc { color: var(--bone-dim); font-size: var(--fs-body); max-width: 44ch; }
.apt__specs { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.4rem; }
.apt__specs li { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--bone-faint); display: flex; align-items: center; gap: 0.5rem; }
.apt__specs svg { width: 15px; height: 15px; color: var(--brand-orange); }
.apt__view {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bone);
  width: max-content;
}
.apt__view svg { width: 26px; height: 12px; transition: transform 0.4s var(--ease-out); }
.apt:hover .apt__view svg { transform: translateX(6px); }
.apt__link { position: absolute; inset: 0; z-index: 3; }

/* ----------------------------------------------------------------------- */
/* 12. RESIDENCE DETAIL OVERLAY (image-expansion transition)              */
/* ----------------------------------------------------------------------- */
/* Underlying homepage is locked while the residence modal is open */
html.detail-open { overflow: hidden; }

.detail {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--ink);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
  overflow-y: auto;
  max-height: 100dvh;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.detail.is-open { visibility: visible; opacity: 1; transition: opacity 0.4s var(--ease-out); }
.detail__flyer {
  position: fixed;
  z-index: calc(var(--z-overlay) + 1);
  background-size: cover;
  background-position: center;
  will-change: transform, width, height, top, left;
  pointer-events: none;
}
.detail__inner { max-width: 1100px; margin-inline: auto; padding: clamp(4.5rem, 9vw, 7rem) var(--gutter) 5rem; }
.detail__close {
  position: fixed;
  top: clamp(1rem, 2.5vw, 2rem); right: clamp(1rem, 2.5vw, 2rem);
  z-index: calc(var(--z-overlay) + 3);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  display: grid; place-items: center;
  background: rgba(20,16,15,0.6);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}
.detail__close:hover { transform: rotate(90deg); border-color: var(--brand-pink); }
.detail__close svg { width: 16px; height: 16px; }
.detail__eyebrow { font-size: var(--fs-label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--brand-pink); font-weight: 600; }
.detail__title { font-size: var(--fs-h2); color: var(--bone); margin: 0.8rem 0 1.25rem; }
.detail__lead { color: var(--bone-dim); font-size: var(--fs-lead); max-width: 54ch; }
.detail__specs {
  display: flex; flex-wrap: wrap; gap: 1.75rem;
  margin: 2rem 0 2.75rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--hairline);
}
.detail__specs li { font-size: 0.82rem; color: var(--bone-dim); display: flex; align-items: center; gap: 0.6rem; }
.detail__specs svg { width: 16px; height: 16px; color: var(--brand-orange); }
.detail__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.5rem, 1.5vw, 1rem); }
.detail__gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--ink-500); }
.detail__gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.detail__cta {
  margin-top: 2.75rem;
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1.1rem 2rem;
  border-radius: 3px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  will-change: transform;
}
.btn-primary svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1.1rem 1.75rem;
  border-radius: 3px;
  border: 1px solid var(--hairline-strong);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  color: var(--bone);
  transition: border-color 0.3s, background-color 0.3s;
}
.btn-ghost:hover { border-color: var(--brand-pink); background: rgba(231,71,126,0.08); }

/* ----------------------------------------------------------------------- */
/* 13. CORPORATE & CONTRACTOR STAYS                                        */
/* ----------------------------------------------------------------------- */
.corp { background: var(--ink-600); border-top: 1px solid var(--hairline); }
.corp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.corp__media { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 5 / 6; background: var(--ink-500); }
.corp__media img { width: 100%; height: 100%; object-fit: cover; }
.corp__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(231,71,126,0.12), transparent 60%); }
.corp__body { display: grid; gap: 1.5rem; }
.corp__body h2 { font-size: var(--fs-h2); color: var(--bone); letter-spacing: -0.01em; max-width: 18ch; }
.corp__body h2 em { font-style: italic; color: var(--brand-orange); }
.corp__body > p { color: var(--bone-dim); font-size: var(--fs-body); max-width: 50ch; }
.corp__points { display: grid; gap: 1.1rem; margin-top: 0.5rem; }
.corp__points li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.corp__points svg { width: 20px; height: 20px; color: var(--brand-pink); margin-top: 2px; }
.corp__points strong { color: var(--bone); font-weight: 600; display: block; font-size: 0.95rem; }
.corp__points span { color: var(--bone-faint); font-size: 0.85rem; }
.corp__stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; margin-top: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--hairline); }
.corp__stat b { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--brand-pink); display: block; line-height: 1; }
.corp__stat span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-faint); }

/* ----------------------------------------------------------------------- */
/* 14. LIST / PARTNER YOUR PROPERTY                                        */
/* ----------------------------------------------------------------------- */
.partner {
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(245,137,43,0.10), transparent 55%),
    var(--ink);
  border-top: 1px solid var(--hairline);
}
.partner__head { max-width: 44ch; display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.partner__head h2 { font-size: var(--fs-h2); color: var(--bone); letter-spacing: -0.01em; }
.partner__head h2 em { font-style: italic; color: var(--brand-orange); }
.partner__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 8px; overflow: hidden; }
.partner__step { background: var(--ink); padding: clamp(1.75rem, 3.5vw, 2.75rem); display: grid; gap: 0.9rem; align-content: start; }
.partner__step .n { font-family: var(--font-display); font-size: 1.1rem; color: var(--brand-pink); letter-spacing: 0.1em; }
.partner__step h3 { font-size: 1.3rem; color: var(--bone); }
.partner__step p { font-size: 0.86rem; color: var(--bone-faint); line-height: 1.6; }
.partner__cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex; gap: 2rem; align-items: center; flex-wrap: wrap;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--ink-600);
}
.partner__cta p { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--bone); max-width: 22ch; }
.partner__cta p em { font-style: italic; color: var(--brand-orange); }

/* ----------------------------------------------------------------------- */
/* 15. AVAILABILITY / BOOKING ENGINE EMBED                                 */
/* ----------------------------------------------------------------------- */
.availability { background: var(--ink-600); border-top: 1px solid var(--hairline); }
.availability__head { text-align: center; max-width: 40ch; margin-inline: auto; display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.availability__head h2 { font-size: var(--fs-h2); color: var(--bone); letter-spacing: -0.01em; }
.availability__head h2 em { font-style: italic; color: var(--brand-orange); }
.availability__head .lead { margin-inline: auto; }
.embed-frame {
  max-width: 1000px;
  margin-inline: auto;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--paper);
  color: var(--paper-ink);
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.embed-frame__inner { display: grid; gap: 1rem; max-width: 42ch; }
.embed-frame h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--paper-ink); }
.embed-frame p { font-size: 0.9rem; color: var(--paper-dim); }
.embed-frame code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; background: rgba(33,26,22,0.06); padding: 0.15rem 0.4rem; border-radius: 3px; }
/* When the real embed is dropped in, add class .has-embed to remove placeholder chrome */
.embed-frame.has-embed { padding: 0; background: transparent; border: 0; display: block; min-height: 0; }
.embed-frame.has-embed .embed-frame__inner { display: none; }

/* ----------------------------------------------------------------------- */
/* 16. REVIEWS                                                             */
/* ----------------------------------------------------------------------- */
.reviews { background: var(--ink); border-top: 1px solid var(--hairline); overflow: hidden; }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.reviews__head h2 { font-size: var(--fs-h2); color: var(--bone); letter-spacing: -0.01em; }
.reviews__head h2 em { font-style: italic; color: var(--brand-orange); }
.reviews__rating { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-dim); }
.reviews__rating .stars { display: flex; gap: 3px; }
.reviews__rating svg { width: 15px; height: 15px; color: var(--brand-orange); }
.reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 380px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start;
  background: var(--ink-500);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.review__quote { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; color: var(--bone); }
.review__by { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-faint); }
.review__by b { color: var(--brand-pink); font-weight: 600; }

/* ----------------------------------------------------------------------- */
/* 17. FAQ                                                                 */
/* ----------------------------------------------------------------------- */
.faq { background: var(--ink-600); border-top: 1px solid var(--hairline); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__grid h2 { font-size: var(--fs-h2); color: var(--bone); letter-spacing: -0.01em; }
.faq__grid h2 em { font-style: italic; color: var(--brand-orange); }
.faq__list { display: grid; }
.faq__item { border-top: 1px solid var(--hairline); }
.faq__item:last-child { border-bottom: 1px solid var(--hairline); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--bone);
}
.faq__q .icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__q .icon::before, .faq__q .icon::after {
  content: ""; position: absolute; background: var(--brand-pink); transition: transform 0.4s var(--ease-out);
}
.faq__q .icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__q .icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq__item[open] .faq__q .icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { overflow: hidden; }
.faq__a p { padding-bottom: 1.75rem; color: var(--bone-dim); font-size: var(--fs-body); max-width: 60ch; }
details.faq__item summary { list-style: none; cursor: pointer; }
details.faq__item summary::-webkit-details-marker { display: none; }

/* ----------------------------------------------------------------------- */
/* 18. CONTACT / FOOTER                                                    */
/* ----------------------------------------------------------------------- */
.foot { background: var(--ink); border-top: 1px solid var(--hairline); padding-top: clamp(4rem, 9vw, 7rem); }
.foot__cta { text-align: center; display: grid; gap: 1.5rem; max-width: 30ch; margin: 0 auto clamp(3.5rem, 8vw, 6rem); }
.foot__cta h2 { font-size: var(--fs-hero); color: var(--bone); letter-spacing: -0.02em; }
.foot__cta h2 em { font-style: italic; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
.foot__brand .brand__text { font-size: 1.6rem; }
.foot__tagline { margin-top: 1rem; font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--brand-pink); }
.foot__blurb { margin-top: 1.25rem; font-size: 0.85rem; color: var(--bone-faint); max-width: 34ch; }
.foot__col h4 { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-faint); margin-bottom: 1.25rem; font-family: var(--font-body); font-weight: 700; }
.foot__col a, .foot__col p { display: block; font-size: 0.85rem; color: var(--bone-dim); padding-block: 0.4rem; transition: color 0.3s; }
.foot__col a:hover { color: var(--brand-pink); }
.foot__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 2rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.72rem;
  color: var(--bone-faint);
  letter-spacing: 0.06em;
}
.foot__bar .areas { color: var(--bone-dim); }

/* ----------------------------------------------------------------------- */
/* 19. SCROLL REVEAL (JS adds .is-in; base state visible if JS absent)     */
/* ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .fx-up { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
  .js .fx-up.is-in { opacity: 1; transform: none; }
  .js .fx-mask > * { transform: translateY(110%); transition: transform 0.9s var(--ease-out); display: block; }
  .js .fx-mask.is-in > * { transform: none; }
  .js .fx-fade { opacity: 0; transition: opacity 1s var(--ease-out); }
  .js .fx-fade.is-in { opacity: 1; }
  .js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
  .js [data-stagger].is-in > * { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------------- */
/* 20. RESPONSIVE                                                          */
/* ----------------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* (Nav CTA + hamburger switch are handled in the dedicated nav media
     queries above, at 1200px / 900px.) */
  .intro__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .corp__grid { grid-template-columns: 1fr; }
  .corp__media { aspect-ratio: 16 / 10; }
  .faq__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .booking-bar { grid-template-columns: 1fr 1fr; }
  .booking-field:nth-child(3) { border-right: 1px solid var(--paper-hair); }
  .booking-submit { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 768px) {
  /* (Nav collapses to the hamburger at 900px — see the nav media queries above.) */

  /* Mobile keeps the pinned cinematic sequence, just a shorter scroll span */
  .hero { height: 240vh; }
  .hero__copy { align-items: center; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__tower svg { width: min(72vw, 420px); }
  .disc-stage { width: min(440px, 92vw); }

  .partner__steps { grid-template-columns: 1fr; }
  .apt { grid-template-columns: 1fr; }
  .apt:nth-child(even) .apt__media { order: 0; }
  .detail__gallery { grid-template-columns: 1fr; }
  .detail__gallery img:first-child { aspect-ratio: 4 / 3; }
  .portal { height: 160vh; }
  .foot__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pillars { grid-template-columns: 1fr; }
  .direct__inner { flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------------------- */
/* 21. REDUCED MOTION — collapse the cinematic scroll rigs to static       */
/* ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero__stage { position: relative; height: 100vh; height: 100dvh; }
  .hero__interior { opacity: 1; transform: none; }
  .hero__interior::after { background: linear-gradient(180deg, rgba(12,10,9,0.4), rgba(12,10,9,0.85)); }
  .hero__sky, .hero__stars, .hero__skyline, .hero__tower, .hero__window { display: none; }
  .hero__kicker, .hero__sub { opacity: 1; transform: none; }
  .hero__hint { display: none; }

  .portal { height: auto; }
  .portal__stage { position: relative; height: auto; padding-block: var(--space-section); }
  .portal__img { -webkit-clip-path: none; clip-path: none; transform: none; position: relative; height: 60vh; }
  .portal__ring { display: none; }
  .portal__label { opacity: 1; transform: none; position: absolute; }

  .disc { transform: rotateX(12deg) !important; opacity: 1 !important; }
  .disc__orbit { animation: none; }
  .hotspot__pulse { animation: none; }
  .hero__reveal { display: none !important; }

  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
