/* =========================================================================
   LIOS | sections.css
   Home page sections, in scroll order
   ========================================================================= */

/* ---------- Hero: premium night sky that warms to dusk ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--navy-deep); color: var(--sand-pale); }
.hero__sky, .hero__media, .sky, .sky__stars, .sky__haze, .hero__glow, .hero__shade { position: absolute; inset: 0; }
.sky--night { background: linear-gradient(to bottom, #0b1829 0%, #12263f 30%, #1e3954 58%, #34506d 82%, #4d6985 100%); }
.sky--dusk {
  opacity: 0;
  background:
    radial-gradient(70% 38% at 50% 74%, rgba(236, 196, 160, .55) 0%, rgba(236, 196, 160, 0) 70%),
    linear-gradient(to bottom, #1c3550 0%, #34506d 26%, #5a7792 52%, #8f9fb0 70%, #c9b3a3 86%, #dcc0a4 100%);
}
.sky__stars { width: 100%; height: 100%; }
.sky__haze {
  background:
    radial-gradient(60% 40% at 50% 34%, rgba(159, 182, 204, .16) 0%, rgba(159, 182, 204, 0) 70%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(200, 214, 228, .05) 48%, rgba(255, 255, 255, 0) 66%);
}
.hero__img { position: absolute; left: 0; top: 0; width: 100%; height: var(--hero-h, 100%); will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 56%, #000 78%);
          mask-image: linear-gradient(to bottom, transparent 0%, transparent 56%, #000 78%); }
.hero__img picture, .hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.js:not(.reduced) .hero__img img { object-position: 50% 0; }
.hero__glow { opacity: 0; mix-blend-mode: screen; background: radial-gradient(65% 26% at 50% var(--glow-y, 60%), rgba(236, 168, 120, .5) 0%, rgba(236, 168, 120, .16) 45%, rgba(236, 168, 120, 0) 72%); pointer-events: none; }
.hero__shade {
  background:
    radial-gradient(42% 30% at 50% 47%, rgba(8, 18, 32, .38) 0%, rgba(8, 18, 32, 0) 72%),
    linear-gradient(to bottom, rgba(8, 18, 32, .5) 0%, rgba(8, 18, 32, 0) 18%),
    linear-gradient(to top, rgba(8, 18, 32, .78) 0%, rgba(8, 18, 32, .3) 24%, rgba(8, 18, 32, 0) 44%);
}
.hero .petals { z-index: 4; }

.hero__stage { position: absolute; z-index: 5; }
.hero__stage--one { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--header-h) var(--gutter) 5rem; }
.hero__eyebrow { font-size: var(--fs-label); font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: clamp(1.1rem, 2.5vh, 1.8rem); }
.hero__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.8rem, 1.2rem + 5.4vw, 7rem); line-height: 1; letter-spacing: -.012em; color: var(--sand-pale); text-shadow: 0 2px 40px rgba(8, 18, 32, .35); }
.hero__sub { margin-top: clamp(1.1rem, 2.6vh, 1.8rem); font-family: var(--f-display); font-size: clamp(1.1rem, .95rem + .6vw, 1.6rem); color: var(--blush); letter-spacing: .02em; }
.hero__hint { position: absolute; left: 50%; bottom: clamp(1.4rem, 4vh, 2.5rem); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .8rem; font-size: .625rem; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-soft); }
.hero__hint-line { position: relative; width: 1px; height: 44px; background: rgba(245, 241, 233, .2); overflow: hidden; }
.hero__hint-line::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--sand-pale); animation: hint 2.2s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

.hero__stage--mid { inset: 0; display: grid; place-items: center; padding-inline: var(--gutter); text-align: center; pointer-events: none; }
.hero__mid { font-family: var(--f-display); font-size: clamp(1.6rem, 1rem + 2.2vw, 3.1rem); line-height: 1.2; color: var(--sand-pale); text-shadow: 0 2px 30px rgba(8, 18, 32, .4); }
.hero__stage--two { left: 0; right: 0; bottom: clamp(1.8rem, 6vh, 4rem); display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; }
.js:not(.reduced) .hero__stage--two, .js:not(.reduced) .hero__stage--mid, .js:not(.reduced) [data-hero-in] { opacity: 0; visibility: hidden; }
.js:not(.reduced) [data-hero-title] { visibility: hidden; }
.reduced .hero__stage--mid, .no-js .hero__stage--mid, .reduced .hero__hint, .no-js .hero__hint { display: none; }
.reduced .hero__stage--one, .no-js .hero__stage--one { justify-content: flex-start; padding-top: calc(var(--header-h) + 10vh); }
.reduced .sky--dusk { opacity: .6; }
.hero__stat { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-pale); margin-bottom: 1rem; }
.hero__stat i { width: 1.4rem; height: 1px; background: rgba(245, 241, 233, .5); }
.hero__copy { max-width: 46ch; color: var(--on-dark-soft); }
.hero__ctas { display: flex; gap: .6rem; flex: none; }
.hero .btn--outline { --fg: var(--sand-pale); --bd: rgba(245, 241, 233, .55); }

@media (max-width: 1100px) {
  .hero__stage--two { flex-direction: column; align-items: stretch; gap: 1.4rem; }
}
@media (max-width: 900px) {
  .hero__shade {
    background:
      radial-gradient(60% 26% at 50% 45%, rgba(8, 18, 32, .35) 0%, rgba(8, 18, 32, 0) 72%),
      linear-gradient(to bottom, rgba(8, 18, 32, .5) 0%, rgba(8, 18, 32, 0) 16%),
      linear-gradient(to top, var(--navy-deep) 0%, var(--navy-deep) 38%, rgba(12, 26, 44, .55) 46%, rgba(12, 26, 44, 0) 55%);
  }
  .hero__glow { --glow-y: 44%; }
  .hero__stage--two { bottom: calc(1.4rem + env(safe-area-inset-bottom)); gap: 1.1rem; }
  .hero__stat { gap: .3rem .8rem; font-size: .6rem; margin-bottom: .7rem; }
  .hero__copy { font-size: .88rem; line-height: 1.6; }
  .hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .hero__ctas .btn { min-height: 46px; padding: .8rem .6rem; letter-spacing: .14em; gap: .45rem; }
  .hero__ctas .btn--cta { grid-column: 1 / -1; }
}
@media (max-width: 900px) and (max-height: 760px) { .hero__copy { display: none; } }

/* ---------- Introducing LIOS ---------- */
.intro { position: relative; overflow: hidden; }
.intro__top { padding-bottom: var(--gap-lg); }
.intro__head { margin-bottom: 0; max-width: 44rem; }
.statement { text-align: center; }
.statement__line { margin-inline: auto; max-width: 20ch; font-family: var(--f-display); font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.5rem); line-height: 1.15; color: var(--navy); }
.statement__line .word { opacity: .16; }
.reduced .statement__line .word, .no-js .statement__line .word { opacity: 1; }
.statement__small { margin-top: 1.2rem; font-size: var(--fs-label); font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); }
@media (max-width: 900px) {
}

/* ---------- Philosophy triptych ---------- */
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2rem); }
.tri__k { display: flex; align-items: center; gap: .7rem; margin-block: 1.3rem .5rem; font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); }
.tri__k span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid currentColor; letter-spacing: 0; font-size: .625rem; }
.tri .h3 { margin-bottom: .5rem; }

/* ---------- Mansions intro + concept ---------- */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; }
.split__body .lead { color: var(--on-dark); }
.split__body .text { margin-top: 1rem; }
.mansions__intro { padding-bottom: var(--gap-lg); }
.mansions__facade { width: 100%; }
.concept { position: relative; overflow-x: clip; }
.concept__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); align-items: center; max-width: 64rem; margin-inline: auto; }
.concept__card { position: relative; }
.concept__card .media { margin-bottom: 1.3rem; }
.concept__k { font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: .4rem; }
.concept__card .h3 { margin-bottom: .45rem; }
.concept__plus { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-dark); position: relative; }
.concept__plus::before, .concept__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1px; background: var(--blush); transform: translate(-50%, -50%); }
.concept__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.blossom--concept { top: -16%; right: -22%; width: clamp(240px, 26vw, 420px); transform: scaleX(-1) rotate(4deg); z-index: 3; }
.concept__card--jp .petals { z-index: 2; }
@media (max-width: 800px) {
  .split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .concept__grid { grid-template-columns: minmax(0, 1fr); }
  .concept__plus { margin-inline: auto; }
  .blossom--concept { right: -10%; top: -8%; width: 220px; }
}

/* ---------- Collection (plot tabs) ---------- */
.collection__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem clamp(2rem, 6vw, 7rem); align-items: end; }
.collection__head .lead { max-width: 30rem; }
.bg-navy .collection__head .lead, .bg-deep .collection__head .lead { color: var(--on-dark-soft); }
.collection .tabs { margin-bottom: var(--gap-md); }
.plot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.plot__size { font-family: var(--f-display); font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4.4rem); line-height: 1; color: var(--blue); }
.plot__size small { font-family: var(--f-body); font-size: .26em; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin-left: .3rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin-block: 1.6rem 1.8rem; border-top: 1px solid var(--line); }
.specs > div { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); }
.specs > div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
.specs dt { font-size: .625rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .3rem; }
.specs dd { font-family: var(--f-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.4rem); color: var(--navy); }
@media (max-width: 900px) {
  .collection__head { grid-template-columns: minmax(0, 1fr); }
  .plot { grid-template-columns: minmax(0, 1fr); }
  .plot .btn-row .btn { flex: 1; }
}

/* ---------- Drawn to Nine (brand blue) ---------- */
.nine { position: relative; overflow: hidden; }
.nine .head { margin-bottom: var(--gap-md); }
.nine__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.5rem); position: relative; z-index: 2; }
.nine__card { position: relative; padding: clamp(1.4rem, 2.5vw, 2.2rem); border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); text-align: center; }
.nine__area { font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.nine__area b { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 1.5rem + 1.4vw, 2.9rem); letter-spacing: 0; text-transform: none; color: #fff; margin-bottom: .3rem; font-variant-numeric: lining-nums; }
.nine__step { margin-top: 1rem; font-size: .9rem; letter-spacing: .08em; color: rgba(255, 255, 255, .9); }
.nine__step i { font-style: normal; opacity: .7; margin-inline: .2rem; }
.nine__eq { display: flex; align-items: baseline; justify-content: center; gap: .6rem; margin-top: .6rem; }
.nine__eq span { font-size: 1.2rem; color: rgba(255, 255, 255, .7); }
.nine__eq b { font-family: var(--f-display); font-weight: 300; font-size: clamp(3.6rem, 2.8rem + 2.4vw, 5.4rem); line-height: 1; color: var(--blush); }
.nine__foot { margin-top: var(--gap-md); text-align: center; color: rgba(255, 255, 255, .9); }
@media (max-width: 760px) { .nine__cards { grid-template-columns: minmax(0, 1fr); } .nine__eq b { font-size: 3.4rem; } }

/* ---------- Signature features (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 15vw, 240px); gap: clamp(.6rem, 1.2vw, 1rem); }
.feat { position: relative; overflow: hidden; color: #fff; }
.feat--a { grid-column: span 2; grid-row: span 2; }
.feat--b, .feat--e { grid-column: span 2; }
.feat .media { position: absolute; inset: 0; aspect-ratio: auto; }
.feat .media__inner { transition: transform 1.4s var(--ease-out); }
.feat:hover .media__inner { transform: scale(1.05); }
.feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 26, 44, .82) 0%, rgba(12, 26, 44, .25) 45%, rgba(12, 26, 44, 0) 70%); pointer-events: none; }
.feat__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1rem, 1.8vw, 1.5rem); }
.feat__t { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); line-height: 1.2; }
.feat__body p { font-size: .82rem; line-height: 1.55; color: rgba(255, 255, 255, .85); max-width: 34ch; margin-top: .3rem; }
.feat:not(.feat--a):not(.feat--b):not(.feat--e) .feat__body p { display: none; }
@media (max-width: 900px) {
  .bento { grid-auto-rows: auto; }
  .feat { aspect-ratio: 4 / 5; }
  .feat .feat__body p { display: block !important; }
}

/* ---------- Inside a mansion (exploded villa) ---------- */
.inside { position: relative; overflow: hidden; }
.inside__pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 2rem) 2rem; }
.inside__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.inside__text .display { margin-bottom: var(--gap-md); }
.levels { border-top: 1px solid var(--line-dark); margin-bottom: var(--gap-md); }
.level { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-display); font-size: 1.25rem; color: var(--on-dark-mute); cursor: pointer; transition: color .5s var(--ease); }
.level span { grid-row: span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-family: var(--f-body); font-size: .72rem; font-weight: 500; transition: background .5s, color .5s, border-color .5s; }
.level small { font-family: var(--f-body); font-size: .8rem; line-height: 1.5; color: var(--on-dark-mute); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease-out), opacity .5s; }
.level.is-active { color: var(--sand-pale); }
.level.is-active span { background: var(--blue); border-color: var(--blue); color: #fff; }
.level.is-active small { max-height: 3rem; opacity: 1; margin-top: .2rem; }
.level .ico { width: 14px; height: 14px; color: var(--blush); }
.villa { position: relative; height: min(76vh, 640px); display: grid; place-items: center; }
.villa__scene { width: 100%; height: 100%; display: grid; place-items: center; perspective: 2200px; }
.villa__stack { position: relative; width: min(470px, 86%); aspect-ratio: 4 / 3; transform-style: preserve-3d; transform: rotateX(57deg) rotateZ(-38deg); }
.villa__floor { position: absolute; inset: 0; transform: translateZ(calc(var(--z, 0) * 1px)); transition: opacity .6s var(--ease); }
.villa__floor svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); }
.villa__floor:not(.is-active) { opacity: .62; }
.vp-garden { fill: rgba(122, 156, 118, .55); }
.vp-slab { fill: var(--sand-pale); stroke: rgba(19, 39, 63, .25); stroke-width: 1; }
.villa__floor.is-active .vp-slab { fill: #fff; }
.vp-wall { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; }
.vp-void { fill: rgba(90, 119, 146, .18); stroke: var(--blue); stroke-width: 1; stroke-dasharray: 4 4; }
.vp-balc { fill: var(--blue-mist); stroke: var(--blue); stroke-width: 1; }
.vp-deck { fill: #cfae86; }
.villa__floor.is-active .vp-deck { fill: #ddbe96; }
.vp-boards { stroke: rgba(80, 55, 30, .25); stroke-width: 1; fill: none; }
.vp-pergola { stroke: #6b4f33; stroke-width: 4; fill: none; opacity: .7; }
.villa__floor text { font-family: var(--f-body); font-size: 12px; fill: var(--ink-mute); text-anchor: middle; }
.villa__floor.is-active text { fill: var(--navy); }
.villa__floor text.vp-g { fill: #2f4a2c; }
.walkthrough { position: relative; overflow: hidden; margin-block: var(--gap-lg) var(--section); aspect-ratio: 16 / 9; background: #000; }
.walkthrough__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.walkthrough__cover { position: absolute; inset: 0; z-index: 2; width: 100%; text-align: left; color: var(--sand-pale); cursor: pointer;
  background: url('../assets/video/lios-walkthrough.jpg') center / cover no-repeat; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.walkthrough__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 26, 44, .82) 0%, rgba(12, 26, 44, .4) 55%, rgba(12, 26, 44, .1) 100%); transition: background .6s; }
.walkthrough__cover:hover::after { background: linear-gradient(90deg, rgba(12, 26, 44, .74) 0%, rgba(12, 26, 44, .3) 55%, rgba(12, 26, 44, .05) 100%); }
.walkthrough.is-playing .walkthrough__cover { opacity: 0; visibility: hidden; }
.walkthrough__body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .6rem; padding: clamp(1.4rem, 4vw, 3.5rem); max-width: 34rem; }
.walkthrough__text { color: var(--on-dark-soft); }
.walkthrough__play { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; margin-bottom: .6rem; box-shadow: 0 0 0 0 rgba(90, 119, 146, .6); animation: wt-pulse 2.6s var(--ease) infinite; transition: transform .5s var(--ease-out); }
.walkthrough__cover:hover .walkthrough__play { transform: scale(1.08); }
.walkthrough__play .ico { width: 24px; height: 24px; margin-left: 4px; color: #fff; }
@keyframes wt-pulse { 0% { box-shadow: 0 0 0 0 rgba(159, 182, 204, .55); } 100% { box-shadow: 0 0 0 22px rgba(159, 182, 204, 0); } }
.walkthrough__badge { margin-top: .4rem; padding: .45rem .8rem; border: 1px solid rgba(245, 241, 233, .45); font-size: .625rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 900px) {
  .inside__pin { min-height: 0; padding-block: var(--section) 0; }
  .inside__grid { grid-template-columns: minmax(0, 1fr); }
  .villa { height: 380px; order: -1; }
  .villa__stack { width: min(300px, 74%); }
  .walkthrough { aspect-ratio: 4 / 5; }
  .walkthrough.is-playing { aspect-ratio: 16 / 9; }
  .walkthrough__cover::after { background: linear-gradient(to top, rgba(12, 26, 44, .9) 0%, rgba(12, 26, 44, .3) 70%); }
  .walkthrough__body { justify-content: flex-end; }
}

/* ---------- Private living ---------- */
.pgal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 19vw, 300px); gap: clamp(.6rem, 1.2vw, 1rem); }
.pgal .media { aspect-ratio: auto; }
.pgal__a { grid-column: span 2; grid-row: span 2; }
.pgal__d { grid-column: span 2; }
.gen { margin-top: var(--gap-lg); padding-top: var(--gap-lg); border-top: 1px solid var(--line); }
.gen__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem clamp(2rem, 6vw, 7rem); align-items: end; margin-bottom: var(--gap-md); }
.gen__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.gen__who { margin-block: 1rem .3rem; font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); }
.gen__cta { margin-top: var(--gap-md); }
@media (max-width: 900px) {
  .pgal .media { aspect-ratio: 4 / 5; }
  .gen__head { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Green Spine ---------- */
.spine__aerial .media { aspect-ratio: 16 / 8; }
.spine__explore { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); margin-top: var(--gap-lg); align-items: start; }
.spine__visual { position: sticky; top: calc(var(--header-h) + 3vh); aspect-ratio: 4 / 5; max-height: 74vh; }
.spine__visual .media { position: absolute; inset: 0; aspect-ratio: auto; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 1.6s var(--ease-out); }
.spine__visual .media.is-active { opacity: 1; transform: none; }
.blossom--spine { top: -9%; right: -14%; transform: scaleX(-1) rotate(6deg); z-index: 3; }
.spine__list ol { border-top: 1px solid var(--line); }
.spine__item { display: flex; align-items: baseline; gap: clamp(1rem, 2vw, 2rem); padding: clamp(1.2rem, 3vh, 1.9rem) 0; border-bottom: 1px solid var(--line); cursor: pointer; color: rgba(19, 39, 63, .38); transition: color .6s var(--ease); }
.spine__item:hover, .spine__item.is-active { color: var(--navy); }
.spine__num { font-size: var(--fs-label); letter-spacing: .2em; flex: none; width: 2rem; }
.spine__item.is-active .spine__num { color: var(--blue); }
.spine__name { display: block; font-family: var(--f-display); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); line-height: 1.1; transition: transform .8s var(--ease-out); }
.spine__desc { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: .9rem; color: var(--ink-soft); transition: max-height .7s var(--ease-out), opacity .5s, margin .5s; }
.spine__item.is-active .spine__name { transform: translateX(.4rem); }
.spine__item.is-active .spine__desc { max-height: 4rem; opacity: 1; margin-top: .4rem; margin-left: .4rem; }
.spine__cta { margin-top: var(--gap-md); }
@media (max-width: 900px) {
  .spine__aerial .media { aspect-ratio: 4 / 3; }
  .spine__explore { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .spine__visual { position: sticky; top: calc(var(--header-h) + .6rem); z-index: 2; aspect-ratio: 4 / 3; max-height: none; box-shadow: 0 -1.5rem 0 1.5rem var(--blue-mist); }
  .spine__list { padding-bottom: 22vh; }
  .blossom--spine { width: 150px; right: -4%; top: -14%; }
}

/* ---------- Club LIOS ---------- */
.club { position: relative; overflow: hidden; }
.club__reveal { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.club__stage { position: absolute; inset: 0; perspective: 1400px; display: grid; place-items: center; }
.club__ghost { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: clamp(5rem, 16vw, 15rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(159, 182, 204, .45); white-space: nowrap; user-select: none; }
.club__frame { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 60%; will-change: transform; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.club__frame img, .club__frame video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.club__frame-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 26, 44, .8) 0%, rgba(12, 26, 44, .15) 50%, rgba(12, 26, 44, .25) 100%); opacity: 0; }
.club__over { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 9vh, 5.5rem); z-index: 2; text-align: center; padding-inline: var(--gutter); }
.club__big { font-family: var(--f-display); font-size: clamp(2.2rem, 1.4rem + 3vw, 4.6rem); line-height: 1.05; color: #fff; }
.club__small { margin-top: .6rem; color: var(--on-dark-soft); }
.js:not(.reduced) .club__over { opacity: 0; }
.reduced .club__frame-shade { opacity: 1; }
.reduced .club__frame img { transform: none; }

.club__pin { position: relative; height: 100vh; height: 100svh; min-height: 620px; display: flex; align-items: center; }
.club__track { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.4rem); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.club__intro { flex: none; width: min(30rem, 36vw); padding-right: clamp(1.5rem, 4vw, 5rem); }
.club__intro .display { margin-bottom: 1.2rem; }
.club__hint { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2rem; font-size: var(--fs-label); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-soft); }
.amenity { flex: none; width: clamp(240px, 21vw, 340px); }
.amenity:nth-of-type(even) { margin-top: clamp(2.5rem, 10vh, 6rem); }
.amenity:nth-of-type(odd) { margin-bottom: clamp(2.5rem, 10vh, 6rem); }
.amenity__num { margin-top: 1.1rem; font-size: var(--fs-label); letter-spacing: .2em; color: var(--blue-soft); }
.amenity__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.75rem); line-height: 1.15; margin-block: .3rem .4rem; }
.amenity__text { font-size: .85rem; line-height: 1.6; color: var(--on-dark-soft); max-width: 30ch; }
.club__end { flex: none; padding-inline: clamp(2rem, 5vw, 6rem); }
.club__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(1.5rem, 4vh, 2.5rem); height: 1px; background: var(--line-dark); }
.club__progress span { display: block; height: 100%; background: var(--blue-soft); transform: scaleX(0); transform-origin: left; }
.club__nav { display: none; }
@media (max-width: 900px) {
  .club__reveal { height: 80svh; min-height: 480px; }
  .club__pin { height: auto; min-height: 0; display: block; padding-top: var(--section); }
  .club__track { width: auto; display: grid; grid-template-columns: repeat(8, 78vw) auto; grid-template-rows: auto auto; align-items: start; gap: 2rem .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .club__track::-webkit-scrollbar { display: none; }
  .club__intro { grid-column: 1 / -1; position: sticky; left: 0; width: calc(100vw - var(--gutter) * 2); padding-right: 0; }
  .amenity { width: auto; scroll-snap-align: start; margin: 0 !important; }
  .club__end { align-self: center; padding-inline: 1rem var(--gutter); }
  .club__progress { display: none; }
  .club__nav { display: block; padding-bottom: var(--section); }
}
@media (min-width: 601px) and (max-width: 900px) { .club__track { grid-template-columns: repeat(8, 42vw) auto; } }
.reduced .club__pin { height: auto; display: block; padding-block: var(--section); }
.reduced .club__track { width: auto; flex-wrap: wrap; }

/* ---------- Location ---------- */
.location__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.location__addr { font-family: var(--f-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); color: var(--blue); margin-block: 1rem .8rem; }
.location__sub { margin-block: var(--gap-md) .9rem; font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--navy); }
.tabs--sm .tab { padding: .6rem 1rem; font-size: .66rem; }
.loc-panels { margin-top: 1rem; }
.times { border-top: 1px solid var(--line); }
.times li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); transition: color .3s; }
.times li:hover { color: var(--navy); }
.times b { flex: none; font-weight: 500; color: var(--blue); }
.why { margin-block: var(--gap-md); padding-left: 1.2rem; border-left: 2px solid var(--blue); }
.why__q { font-family: var(--f-display); font-size: 1.3rem; color: var(--navy); margin-bottom: .3rem; }
.location__map { position: sticky; top: calc(var(--header-h) + 2rem); background: var(--sand-pale); border: 1px solid var(--line); padding: clamp(.8rem, 2.4vw, 2rem); }
.map { width: 100%; height: auto; overflow: visible; }
.map text { font-family: var(--f-body); font-size: 12px; fill: var(--navy); letter-spacing: .03em; }
.map .map__small { font-size: 9px; letter-spacing: .2em; fill: var(--ink-mute); }
.map .map__city { font-family: var(--f-display); font-size: 18px; letter-spacing: .32em; fill: var(--blue); }
.map .map__road, .map .map__note { font-size: 9px; letter-spacing: .24em; fill: var(--ink-mute); text-transform: uppercase; }
.map__orr { fill: none; stroke: var(--navy); stroke-width: 1.4; }
.map__road-line { fill: none; stroke: var(--blue); stroke-width: 1.2; opacity: .6; }
.map__pt { transition: opacity .5s var(--ease); }
.map__pt.is-dim { opacity: .14; }
.map__pt circle, .map__pt polygon { fill: var(--blue); transition: transform .4s var(--ease-out); transform-box: fill-box; transform-origin: center; }
.map__pt.is-hot circle, .map__pt.is-hot polygon { transform: scale(1.8); fill: var(--navy); }
.map .map__lios-label { font-family: var(--f-display); font-size: 22px; letter-spacing: .08em; fill: var(--navy); }
.map__dot { fill: var(--blue); }
.map__pulse { fill: none; stroke: var(--blue); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--ease) infinite; }
.map__pulse--2 { animation-delay: 1.4s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.6); opacity: 0; } }
@media (max-width: 900px) {
  .location__grid { grid-template-columns: minmax(0, 1fr); }
  .location__map { position: relative; top: 0; }
  .location .btn-row .btn { flex: 1; }
}
@media (max-width: 600px) {
  .map text { font-size: 17px; }
  .map .map__small, .map .map__road, .map .map__note { font-size: 13px; letter-spacing: .1em; }
  .map .map__lios-label { font-size: 28px; }
}

/* ---------- Gallery preview ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--gap-md); }
.chips a, .chip { padding: .55rem 1rem; border: 1px solid var(--line-dark); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); transition: background .4s, color .4s, border-color .4s; }
.chips a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 16vw, 250px); gap: clamp(.5rem, 1vw, .9rem); }
.mosaic .media { aspect-ratio: auto; display: block; }
.mosaic__a { grid-column: span 2; grid-row: span 2; }
.mosaic .media__inner { transition: transform 1.4s var(--ease-out); }
.mosaic .media:hover .media__inner { transform: scale(1.05); }
.mosaic__cap { position: absolute; left: .8rem; bottom: .8rem; z-index: 2; padding: .4rem .7rem; background: rgba(245, 241, 233, .92); color: var(--navy); font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.updates { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: var(--gap-md); padding-top: var(--gap-md); border-top: 1px solid var(--line-dark); }
.updates__k { font-family: var(--f-display); font-size: 1.4rem; color: var(--sand-pale); margin-bottom: .2rem; }
@media (max-width: 900px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chips a, .chip { flex: none; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .mosaic__a { grid-column: 1 / -1; grid-row: span 2; }
}

/* ---------- About Grupe Nayan ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.about__mark { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .3); max-width: 340px; }
.about__mark svg { width: 46%; height: auto; color: #fff; }
.about__sub { margin-block: .8rem 1.2rem; font-family: var(--f-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); color: var(--blush); }
.about__line { margin-block: 1.3rem 1.8rem; font-family: var(--f-display); font-size: 1.2rem; color: #fff; }
@media (max-width: 900px) { .about__grid { grid-template-columns: minmax(0, 1fr); } .about__mark { max-width: 160px; } }

/* ---------- Stories ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.card__link { display: block; }
.card .media { margin-bottom: 1.1rem; }
.card .media__inner { transition: transform 1.4s var(--ease-out); }
.card__link:hover .media__inner { transform: scale(1.05); }
.card__tag { font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: .4rem; }
.card__t { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.2; color: var(--navy); margin-bottom: .5rem; }
.card__x { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1rem; }
.stories__cta { margin-top: var(--gap-md); }

/* ---------- Enquiry (brand blue) ---------- */
.enquire { position: relative; overflow: hidden; }
.enquire__grid { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.enquire__text .display { color: #fff; margin-bottom: 1.2rem; }
.enquire__contacts { display: flex; flex-direction: column; gap: .8rem; margin-block: var(--gap-md) 1.4rem; font-size: .95rem; color: #fff; }
.enquire__contacts a { display: inline-flex; align-items: center; gap: .8rem; transition: opacity .3s; }
.enquire__contacts a:hover { opacity: .75; }
.enquire .social { color: #fff; }
.enquire .social a:hover { background: #fff; border-color: #fff; color: var(--blue); }
.form-card { position: relative; padding: clamp(1.6rem, 3.5vw, 2.8rem); background: var(--navy); color: var(--on-dark); box-shadow: 0 30px 60px rgba(12, 26, 44, .25); }
.enquire .blossom { z-index: 3; }
@media (max-width: 900px) { .enquire__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__head .display { margin-bottom: 1rem; }
.faq__head a { color: var(--blue); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } .faq__head { position: static; } }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(3.5rem, 6vw, 5.5rem) 2.2rem; font-size: .875rem; color: var(--on-dark-soft); }
.footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: clamp(2.5rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line-dark); }
.footer__cta-text { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.2; color: var(--sand-pale); max-width: 22ch; }
.footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 7rem); padding-block: clamp(2.5rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line-dark); }
.footer__logo { width: clamp(190px, 18vw, 250px); height: auto; color: var(--sand-pale); margin-bottom: 1.3rem; }
.footer__dev { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; }
.footer__grupe { width: 38px; height: auto; color: var(--sand-pale); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer__cols a, .footer__cols p { display: block; line-height: 1.9; }
.footer__cols a:hover { color: #fff; }
.footer__h { font-size: .625rem !important; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: .7rem; }
.footer__h--gap { margin-top: 1.4rem; }
.footer .social { color: var(--sand-pale); }
.footer .social a { display: grid; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: .75rem; color: var(--on-dark-mute); }
.footer__legal { display: flex; gap: .8rem; }
.footer__legal a:hover { color: #fff; }
.footer__disclaimer { margin-top: 1.2rem; font-size: .6875rem; line-height: 1.7; color: rgba(245, 241, 233, .4); max-width: 110ch; }
@media (max-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1fr); } .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer { padding-bottom: calc(2.2rem + 56px + env(safe-area-inset-bottom)); } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: minmax(0, 1fr); } .footer__cta .btn-row { width: 100%; } .footer__cta .btn { flex: 1; padding-inline: .8rem; } }

/* Mobile swipe overrides */
@media (max-width: 900px) {
  .pgal.swipe { grid-auto-rows: auto; }
}

.philosophy__note { margin-top: .5rem; font-size: .9rem; }
.spine__intro { margin-bottom: 1.2rem; }
.club__intro .text { margin-top: 1rem; font-size: .9rem; }
.collection__head > div > .text { margin-top: .8rem; }
.spine .head .sub + .lead { margin-top: .8rem; }
.gallery-prev__k { margin-bottom: .8rem; }

/* ---------- Project highlights: one calm row ---------- */
.highlights { position: relative; z-index: 2; padding-block: clamp(2.8rem, 4.5vw, 4rem); }
.hl-title { display: flex; align-items: center; gap: 1.4rem; margin-bottom: clamp(2rem, 3.5vw, 2.8rem); font-size: .625rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hl-title::before, .hl-title::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .25); }
.hl-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hl { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: 1rem; }
.hl + .hl::before { content: ''; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: rgba(255, 255, 255, .2); }
.hl__v { font-family: var(--f-display); font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.2rem); line-height: 1; color: #fff; white-space: nowrap; }
.hl__rule { display: block; width: 22px; height: 1px; margin-block: 1rem .9rem; background: var(--blush); transition: width .6s var(--ease-out); }
.hl:hover .hl__rule { width: 44px; }
.hl__t { font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.hl__s { margin-top: .35rem; font-size: .8rem; color: rgba(255, 255, 255, .75); }
@media (max-width: 900px) {
  .hl-row { grid-template-columns: 1fr 1fr; row-gap: 2.2rem; }
  .hl + .hl::before { display: none; }
  .hl:nth-child(even)::after { content: ''; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: rgba(255, 255, 255, .2); }
  .hl:last-child { grid-column: 1 / -1; }
}

/* ---------- v3 additions ---------- */
.hero__rera { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; font-size: .625rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); }
.hero__rera b { font-weight: 500; color: var(--sand-pale); }
.rera-qr { width: 56px; height: 56px; background: #fff; padding: 3px; }
.footer__rera { display: flex !important; flex-wrap: wrap; align-items: center; gap: .6rem; }
.footer__rera .rera-qr { width: 72px; height: 72px; }
.intro__line { margin-top: 1rem; font-family: var(--f-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); color: var(--blue); }
.split__cta { margin-top: 1.6rem; }
.media--video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.club__vid { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; display: block; }
.reduced .club__vid { transform: none; }
@media (max-width: 900px) { .hero__rera { margin-top: .6rem; } }

/* ---------- Inside a mansion: real renders ---------- */
.rooms { position: relative; aspect-ratio: 4 / 3; max-height: 72vh; width: 100%; overflow: hidden; background: var(--navy-soft); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.room { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ease), transform 2.4s var(--ease-out); }
.room.is-active { opacity: 1; transform: none; }
.room img { width: 100%; height: 100%; object-fit: cover; }
.rooms::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 26, 44, .55) 0%, rgba(12, 26, 44, 0) 30%); pointer-events: none; }
.rooms__count { position: absolute; right: 1.1rem; bottom: .9rem; z-index: 2; font-size: .7rem; letter-spacing: .2em; color: rgba(245, 241, 233, .8); }
.rooms__count b { font-weight: 500; color: #fff; }
.rooms__note { position: absolute; left: 1.1rem; bottom: .9rem; z-index: 2; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 241, 233, .7); }
.level span { font-size: .62rem !important; letter-spacing: .06em; }
@media (max-width: 900px) { .rooms { order: -1; aspect-ratio: 4 / 3; } }

/* ---------- Directions ---------- */
.location__map { position: sticky; }
.dir-card {
  position: absolute; z-index: 3; left: clamp(.8rem, 2vw, 1.4rem); top: clamp(.8rem, 2vw, 1.4rem);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .8rem; row-gap: .55rem; align-items: center;
  padding: .85rem 1rem .85rem .85rem; background: #fff; color: var(--navy);
  box-shadow: 0 18px 40px rgba(19, 39, 63, .14); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
}
.dir-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(19, 39, 63, .2); }
.dir-card__ico { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.dir-card__ico .ico { width: 20px; height: 20px; }
.dir-card__txt b { display: block; font-family: var(--f-display); font-weight: 300; font-size: 1.1rem; line-height: 1.1; }
.dir-card__txt small { font-size: .72rem; color: var(--ink-mute); }
.dir-card__go { display: inline-flex; align-items: center; gap: .45rem; font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.dir-card__go .ico { transition: transform .5s var(--ease-out); }
.dir-card:hover .dir-card__go .ico { transform: translateX(4px); }
.map__lios-link { cursor: pointer; }
.map__lios-link:hover .map__dot { fill: var(--navy); }
.location .btn-row { flex-wrap: wrap; }
@media (max-width: 900px) {
  .location .btn-row { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .location .btn-row .btn { width: 100%; white-space: nowrap; }
  .dir-card { position: relative; left: auto; top: auto; margin-bottom: .8rem; }
}

/* ---------------------------------------------------------------- Floor plans (v4) */
.plot__switches { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.seg { display: inline-flex; border: 1px solid var(--line); background: var(--sand-pale); padding: 3px; }
.seg button { padding: .62rem 1rem; font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); transition: background .4s var(--ease), color .4s var(--ease); }
.seg button:hover { color: var(--blue); }
.seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.plot .specs { margin-top: 1.2rem; }

.fp { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.2rem, 3vw, 3rem); margin-top: clamp(1.5rem, 3vw, 2.8rem); padding-top: clamp(1.5rem, 3vw, 2.8rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.fp__side { display: flex; flex-direction: column; }
.fp__title { font-family: var(--f-display); font-size: var(--fs-h3); color: var(--navy); line-height: 1.2; margin: .5rem 0 1.4rem; }
.fp__floors { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.fp__floor { width: 100%; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .8rem; text-align: left; padding: 1rem .9rem 1rem 1.1rem; border-bottom: 1px solid var(--line); position: relative; transition: background .4s var(--ease), color .4s var(--ease); }
.fp__floor::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); transform: scaleY(0); transition: transform .45s var(--ease-out); }
.fp__floor:hover { background: rgba(90, 119, 146, .06); }
.fp__floor.is-active { background: var(--sand-pale); }
.fp__floor.is-active::before { transform: none; }
.fp__fname { font-family: var(--f-display); font-size: 1.15rem; color: var(--navy); }
.fp__farea { font-size: .78rem; color: var(--ink-mute); white-space: nowrap; }
.fp__farea b { font-weight: 500; color: var(--blue); font-size: .95rem; }
.fp__lockico { width: 14px; height: 14px; color: var(--ink-mute); opacity: 0; transition: opacity .3s; }
.fp__floor.is-locked .fp__lockico { opacity: .8; }
.fp__total { margin-top: 1.2rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.fp__total b { display: block; margin-top: .25rem; font-family: var(--f-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--blue); }
.fp__note { margin-top: auto; padding-top: 1.2rem; font-size: .72rem; color: var(--ink-mute); }

.fp__stage { position: relative; background: #fff; border: 1px solid var(--line); min-height: clamp(360px, 62vh, 700px); overflow: hidden; }
.fp__plan { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(.8rem, 2vw, 1.6rem); cursor: zoom-in; }
.fp__plan img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: 0; transition: filter .5s var(--ease); }
.fp__zoom { position: absolute; right: .8rem; bottom: .8rem; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; background: rgba(19, 39, 63, .82); color: #fff; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(6px); transition: background .3s; }
.fp__zoom .ico { width: 14px; height: 14px; }
.fp__plan:hover .fp__zoom { background: var(--blue); }
.fp__stage.is-locked .fp__plan { cursor: default; pointer-events: none; }
.fp__stage.is-locked .fp__plan img { filter: blur(14px) grayscale(.3); }
.fp__stage.is-locked .fp__zoom { display: none; }
.fp__lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: .6rem; padding: 1.5rem; background: rgba(245, 241, 233, .55); }
.fp__lock[hidden] { display: none; }
.fp__lockbig { width: 34px; height: 34px; color: var(--blue); }
.fp__lockt { font-family: var(--f-display); font-size: var(--fs-h3); color: var(--navy); }
.fp__lockp { max-width: 30ch; font-size: .88rem; color: var(--ink-soft); margin-bottom: .6rem; }
.inside__lead { color: var(--on-dark-soft); margin: -.6rem 0 1rem; max-width: 40ch; font-size: .95rem; }

@media (max-width: 900px) {
  .fp { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .fp__side { display: contents; }
  .fp > .fp__side > .label { order: 1; }
  .fp__title { order: 2; }
  .fp__floors { order: 3; margin-bottom: 1rem; }
  .fp__stage { order: 4; }
  .fp__total { order: 5; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
  .fp__total b { display: inline; }
  .fp__note { order: 6; }
  .fp__stage { min-height: 0; aspect-ratio: 4 / 4.6; }
  .fp__floors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; gap: 4px; }
  .fp__floor { grid-template-columns: 1fr; gap: .2rem; padding: .8rem .7rem; border: 1px solid var(--line); text-align: center; justify-items: center; }
  .fp__floor::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; transform: scaleX(0); }
  .fp__floor.is-active::before { transform: none; }
  .fp__fname { font-size: 1rem; }
  .fp__farea { font-size: .7rem; }
  .fp__lockico { position: absolute; top: .45rem; right: .45rem; }
  .fp__note { padding-top: .8rem; }
  .fp__title { margin-bottom: 1rem; }
}
@media (max-width: 480px) {
  .seg { width: 100%; }
  .seg button { flex: 1; padding-inline: .5rem; }
}
.nine__plot { font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .78); margin-bottom: .8rem; }
.nine__alt { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .22); font-size: .78rem; line-height: 1.7; letter-spacing: .04em; color: rgba(255, 255, 255, .82); }
.nine__alt b { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; color: #fff; }
.club__end { width: min(40rem, 46vw); display: flex; flex-direction: column; justify-content: center; }
.club__list { list-style: none; padding: 0; margin: 1rem 0 1.6rem; columns: 2; column-gap: 2rem; }
.club__list li { break-inside: avoid; padding: .42rem 0; border-bottom: 1px solid var(--line-dark); font-size: .82rem; color: var(--on-dark-soft); }
@media (max-width: 900px) {
  .club__end { width: calc(100vw - var(--gutter) * 2); }
  .club__list { columns: 2; column-gap: 1rem; }
  .club__list li { font-size: .74rem; }
}
.footer__k { display: block; font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-bottom: .2rem; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 1.6rem 0 1.8rem; border-top: 1px solid var(--line-dark); }
.team > div { padding: .8rem 0; border-bottom: 1px solid var(--line-dark); }
.team dt { font-size: .6rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; opacity: .65; margin-bottom: .25rem; }
.team dd { font-family: var(--f-display); font-size: 1.15rem; }
@media (max-width: 480px) { .team { grid-template-columns: minmax(0, 1fr); } }
/* Specifications (v4) */
.specs-sec .faq__head .btn { margin-top: 1.4rem; }
.spec__n { font-size: .7rem; font-weight: 500; letter-spacing: .12em; color: var(--blue); margin-right: 1rem; }
.spec__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2.2rem; padding: .2rem 0 1.8rem; }
.spec__h { font-family: var(--f-display); font-size: 1.1rem; color: var(--navy); margin-bottom: .45rem; }
.spec ul { list-style: none; padding: 0; margin: 0; }
.spec li { position: relative; padding-left: 1rem; font-size: .86rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: .35rem; }
.spec li::before { content: ''; position: absolute; left: 0; top: .66em; width: 5px; height: 1px; background: var(--blue); }
@media (max-width: 700px) { .spec__grid { grid-template-columns: minmax(0, 1fr); } }
/* 360 tour invite (v4) */
.walkthrough { margin-bottom: var(--gap-md); }
.tourcta { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; align-items: center; gap: clamp(1.2rem, 3vw, 3rem); margin-bottom: var(--section); padding: clamp(.8rem, 1.4vw, 1.1rem); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); color: var(--on-dark); transition: background .5s var(--ease), border-color .5s var(--ease); }
.tourcta:hover { background: rgba(255, 255, 255, .07); border-color: rgba(245, 241, 233, .4); }
.tourcta__img { position: relative; display: block; aspect-ratio: 2000 / 520; overflow: hidden; }
.tourcta__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s linear; }
.tourcta:hover .tourcta__img img { transform: scale(1.08) translateX(-3%); }
.tourcta__deg { position: absolute; left: .7rem; top: .7rem; display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .6rem; background: rgba(12, 26, 44, .7); font-size: .62rem; font-weight: 500; letter-spacing: .16em; }
.tourcta__deg .ico { width: 16px; height: 16px; }
.tourcta__body { display: grid; gap: .45rem; }
.tourcta__label { font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-soft); }
.tourcta__text { font-size: .86rem; color: var(--on-dark-soft); }
@media (max-width: 1000px) {
  .tourcta { grid-template-columns: minmax(0, 1fr); }
  .tourcta__img { aspect-ratio: 16 / 7; }
  .tourcta__btn { justify-self: start; }
}
.spine__cta.btn-row { gap: .7rem; }
.spec__q { display: inline-flex; align-items: baseline; text-align: left; }
/* Footer newsletter (v4) */
.footer__news { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.5rem 3rem; align-items: end; padding: 2rem 0; border-bottom: 1px solid var(--line-dark); margin-bottom: 2.4rem; }
.footer__newstext p:last-child { color: var(--on-dark-soft); font-size: .9rem; max-width: 36ch; }
.news { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: end; }
.news .field { margin: 0; }
.news .btn { min-height: 48px; }
.form-done--news { text-align: left; padding: 0; }
.form-done--news .form-done__t { font-size: 1.3rem; color: var(--on-dark); margin-bottom: .2rem; }
.form-done--news .form-done__p { color: var(--on-dark-soft); margin: 0; }
@media (max-width: 800px) { .footer__news { grid-template-columns: minmax(0, 1fr); } }
.news { padding-bottom: 1.3rem; } /* room for the error line under the email field */
.news .form__error { grid-column: 1 / -1; margin: 0; }
@media (max-width: 480px) { .news { grid-template-columns: minmax(0, 1fr); row-gap: 1.9rem; padding-bottom: 0; } .news .btn { width: 100%; } }

/* ================================================================ Mobile polish (v4 final) */
@media (max-width: 700px) {
  /* tabs and filters wrap neatly instead of running off the screen */
  .tabs, .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; gap: .4rem; }
  .tabs .tab, .chips .chip, .chips a { flex: 1 1 auto; text-align: center; padding: .7rem .8rem; font-size: .64rem; letter-spacing: .12em; }
  .collection .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collection .tabs .tab { padding-inline: .3rem; letter-spacing: .08em; white-space: nowrap; }
  /* button pairs stack full width, text on one line */
  .cta-strip .btn-row, .plot .btn-row, .form__secondary { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: .6rem; }
  .cta-strip .btn, .plot .btn-row .btn, .form__secondary .btn { width: 100%; white-space: nowrap; }
  .plot .specs dd { font-size: 1.05rem; }
  .fp__total { display: block; }
  .fp__total b { display: inline; margin-left: .5rem; }
}
@media (max-width: 380px) {
  .tabs .tab, .chips .chip, .chips a { font-size: .6rem; letter-spacing: .08em; padding-inline: .55rem; }
  .plot .specs dd { font-size: .98rem; }
}
/* address links to Google Maps */
.location__addr a { display: inline-flex; align-items: center; gap: .4rem; border-bottom: 1px solid transparent; transition: border-color .3s; }
.location__addr a:hover { border-color: currentColor; }
.location__addr .ico { width: 16px; height: 16px; }
.footer__addr { transition: opacity .3s; }
.footer__addr:hover { opacity: .75; text-decoration: underline; text-underline-offset: 3px; }
