/* ==== amenities (from live bundle) ==== */

        /* ══════════════════════════════════
           HUD AMENITIES — SITE THEME
           ══════════════════════════════════ */
        #amenities.hud-wrap {
          position: relative;
          width: 100%;
          background: var(--cream) !important;
          color: var(--charcoal);
          overflow: hidden;
          padding: 0 !important;
          display: flex;
          flex-direction: column;
        }

        /* ── SECTION HEADER ── */
        .hud-section-header {
          text-align: left;
          padding: 64px;
          position: relative;
          z-index: 10;
        }

        /* ── HUD BODY ── */
        .hud-body {
          flex: 1;
          display: flex;
          position: relative;
          min-height: 0;
        }

        /* ── BG GRID ── */
        .hud-bg {
          position: absolute; inset: 0;
          opacity: 0.06; pointer-events: none; z-index: 0;
        }
        .hud-dots {
          position: absolute; inset: 0;
          background-image: radial-gradient(circle, var(--warm-lt) 1px, transparent 1px);
          background-size: 40px 40px;
        }
        .hud-vl { position: absolute; top: 0; width: 1px; height: 100%; background: var(--warm-lt); }
        .hud-hl { position: absolute; left: 0; height: 1px; width: 100%; background: var(--warm-lt); }

        /* ── RULER NAV ── */
        .hud-ruler {
          position: relative;
          width: 80px;
          flex-shrink: 0;
          border-right: 1px solid var(--cream3);
          display: flex;
          flex-direction: column;
          align-items: center;
          padding: 48px 0;
          z-index: 50;
          background: var(--cream);
        }
        .hud-brand {
          color: var(--gold);
          font-family: 'Cormorant Garamond', serif;
          font-weight: 700;
          font-size: 1.25rem;
          margin-bottom: 96px;
        }
        .hud-zone-list {
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: center;
          gap: 64px;
        }
        .hud-zone-btn {
          position: relative;
          background: none; border: none;
          cursor: pointer; padding: 16px 0;
        }
        .hud-zone-text {
          writing-mode: vertical-rl;
          transform: rotate(180deg);
          font-size: 10px;
          letter-spacing: 0.2em;
          text-transform: uppercase;
          font-weight: 600;
          font-family: 'Josefin Sans', sans-serif;
          color: var(--cream3);
          transition: color 0.5s;
        }

        .hud-zone-btn.on .hud-zone-text { color: var(--gold); }
        .hud-zone-tick {
          position: absolute;
          left: 100%; margin-left: 12px; top: 50%;
          transform: translateY(-50%) scaleX(0);
          width: 32px; height: 1px;
          background: var(--gold);
          transition: transform 0.5s;
          transform-origin: left;
        }
        .hud-zone-tick.on { transform: translateY(-50%) scaleX(1); }
        /* ── STAGE ── */
        .hud-stage {
          flex: 1;
          display: flex;
          height: 100%;
          position: relative;
          z-index: 5;
        }

        /* ── DATA PANE ── */
        .hud-data {
          width: 33.333%;
          padding: 64px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          position: relative;
          z-index: 20;
        }
        .hud-data-in {
          transition: all 0.7s;
          opacity: 1;
          transform: translateX(0);
        }
        .hud-data-in.fading {
          opacity: 0;
          transform: translateX(-40px);
        }

        /* Node */
        .hud-node {
          display: flex; align-items: center;
          gap: 16px; margin-bottom: 16px;
        }
        .hud-node-label {
          font-size: 11px;
          font-family: 'Josefin Sans', sans-serif;
          font-weight: 600;
          letter-spacing: 0.08em;
          color: var(--gold);
        }
        .hud-node-line {
          display: block; width: 48px; height: 1px;
          background: var(--cream3);
        }

        /* Title */
        .hud-h1 {
          font-family: 'Cormorant Garamond', serif;
          font-size: clamp(2.2rem, 4vw, 4.5rem);
          font-style: italic;
          font-weight: 300;
          color: var(--charcoal);
          line-height: 1;
          margin: 0 0 32px 0;
          overflow: visible;
          text-shadow: none;
        }

        /* Meta stats */
        .hud-meta {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 32px;
          padding: 32px 0;
          border-top: 1px solid var(--cream3);
          border-bottom: 1px solid var(--cream3);
          margin-bottom: 48px;
        }
        .hud-meta-label {
          font-size: 10px;
          text-transform: uppercase;
          letter-spacing: 0.3em;
          color: var(--warm-lt);
          font-weight: 600;
          font-family: 'Josefin Sans', sans-serif;
          margin: 0 0 8px 0;
        }
        .hud-meta-val {
          font-size: 14px;
          font-family: 'Cormorant Garamond', serif;
          font-weight: 300;
          color: var(--charcoal);
          margin: 0;
        }

        /* Desc */
        .hud-p {
          font-size: 1rem;
          line-height: 1.8;
          color: var(--warm-mid);
          font-weight: 300;
          font-family: 'Josefin Sans', sans-serif;
          max-width: 360px;
          margin: 0 0 48px 0;
        }

        /* Controls */
        .hud-controls {
          display: flex;
          align-items: center;
          gap: 24px;
          margin-top: auto;
          padding-top: 32px;
        }
        .hud-arrow {
          width: 44px; height: 44px;
          border: 1px solid rgba(212,175,55,0.3);
          background: transparent;
          color: var(--gold);
          font-size: 1.2rem;
          cursor: pointer;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: all 0.3s ease;
        }
        .hud-arrow:hover {
          background: rgba(212,175,55,0.1);
          border-color: var(--gold);
          transform: scale(1.05);
        }
        .hud-explore-text {
          font-size: 0.65rem;
          text-transform: uppercase;
          letter-spacing: 0.25em;
          color: var(--warm-lt);
          font-weight: 500;
        }

        /* CTA */
        .hud-cta {
          display: inline-flex;
          align-items: center;
          gap: 16px;
          text-decoration: none;
          color: var(--charcoal);
        }
        .hud-cta-sq {
          width: 48px; height: 48px;
          background: var(--gold);
          display: flex;
          align-items: center; justify-content: center;
          color: var(--white);
        }
        .hud-cta-label {
          font-size: 10px;
          font-weight: 600;
          letter-spacing: 0.3em;
          text-transform: uppercase;
          font-family: 'Josefin Sans', sans-serif;
          color: var(--charcoal);
        }

        /* ── VISUAL PANE ── */
        .hud-vis {
          flex: 1;
          position: relative;
          overflow: hidden;
          background: var(--cream2);
        }

        /* Ghost */
        .hud-ghost {
          position: absolute;
          top: 50%; left: 50%;
          transform: translate(-50%, -50%);
          font-size: 40rem;
          font-weight: 700;
          font-family: 'Cormorant Garamond', serif;
          color: var(--cream3);
          opacity: 0.3;
          pointer-events: none;
          user-select: none;
          line-height: 1;
        }

        /* Main image */
        .hud-img-main {
          position: absolute;
          top: 50%; left: 50%;
          transform: translate(-50%, -50%);
          width: 90%; height: 70%;
          transition: opacity 1s ease-out;
          z-index: 10;
        }
        .hud-img-main.fading { opacity: 0; }
        .hud-img-main img {
          width: 100%; height: 100%;
          object-fit: cover; display: block;
        }
        .hud-img-tint {
          position: absolute; inset: 0;
          background: rgba(212,175,55,0.06);
          mix-blend-mode: overlay;
        }

        /* Float image */
        .hud-img-float {
          position: absolute;
          top: 20%; right: 10%;
          width: 256px; height: 320px;
          transition: opacity 1s ease-out;
          z-index: 20;
        }
        .hud-img-float.fading { opacity: 0; }
        .hud-img-float-in {
          width: 100%; height: 100%;
          border: 1px solid var(--cream3);
          padding: 8px;
          background: var(--cream);
          box-shadow: 0 12px 40px rgba(0,0,0,0.1);
        }
        .hud-img-float-in img {
          width: 100%; height: 100%;
          object-fit: cover; display: block;
        }

        /* Scan */
        .hud-scan {
          position: absolute; inset: 0;
          pointer-events: none; z-index: 30;
          overflow: hidden;
        }
        .hud-scan-bar {
          width: 100%; height: 1px;
          background: var(--gold);
          opacity: 0.15;
          position: absolute; top: -10%;
          animation: hudScan 4s linear infinite;
        }

        /* Annotations */
        .hud-annot {
          position: absolute;
          top: 48px; right: 48px;
          text-align: right;
          font-family: 'Josefin Sans', sans-serif;
          font-size: 9px;
          font-weight: 500;
          letter-spacing: 0.08em;
          color: var(--warm-lt);
          z-index: 40;
          line-height: 2;
        }
        .hud-annot p { margin: 0; }

        @keyframes hudScan {
          0% { top: -10%; }
          100% { top: 110%; }
        }



        /* ═══ TABLET ═══ */
        @media (max-width: 1200px) {
          .hud-section-header { padding: 48px 40px; }
          .hud-h1 { font-size: 3.5rem; }
          .hud-data { padding: 40px 36px; }
          .hud-ghost { font-size: 28rem; }
          .hud-img-float { width: 180px; height: 220px; }
          .hud-meta { margin-bottom: 32px; }
          .hud-p { margin-bottom: 32px; }
        }

        @media (max-width: 1024px) {
          .hud-section-header { padding: 40px 32px; }
          .hud-ruler { width: 60px; padding: 32px 0; }
          .hud-brand { margin-bottom: 48px; font-size: 1rem; }
          .hud-zone-list { gap: 40px; }
          .hud-h1 { font-size: 2.8rem; }
          .hud-data { width: 40%; padding: 32px 24px; }
          .hud-img-float { display: none; }
          .hud-ghost { font-size: 18rem; }
        }

        /* ═══ MOBILE ═══ */
        @media (max-width: 768px) {
          #amenities.hud-wrap {
            height: auto;
            min-height: auto;
          }
          .hud-section-header {
            padding: 60px 20px 24px;
            text-align: center;
          }
          .hud-section-header .stag {
            justify-content: center;
          }
          .hud-section-header h2 {
            font-size: 2.4rem;
          }
          .hud-body {
            flex-direction: column;
          }
          .hud-ruler {
            width: 100%;
            flex-direction: row;
            border-right: none;
            border-bottom: 1px solid var(--cream3);
            padding: 14px 16px;
            justify-content: center;
          }
          .hud-brand { margin-bottom: 0; }
          .hud-zone-list {
            flex-direction: row; gap: 0;
            flex: 1; justify-content: space-around;
          }
          .hud-zone-text {
            writing-mode: horizontal-tb;
            transform: none; font-size: 9px;
          }
          .hud-zone-tick { display: none; }

          .hud-stage {
            flex-direction: column;
            height: auto;
          }
          .hud-data {
            width: 100%;
            padding: 28px 20px;
            order: 2;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
          }
          .hud-controls {
            margin-top: 16px;
            padding-top: 16px;
            justify-content: center;
          }
          .hud-vis {
            min-height: 280px;
            order: 1;
          }
          .hud-h1 { font-size: 2rem; }
          .hud-p { font-size: 0.9rem; margin-bottom: 24px; max-width: 100%; }
          .hud-meta { margin-bottom: 20px; padding: 16px 0; grid-template-columns: 1fr; gap: 16px; }
          .hud-ghost { font-size: 8rem; }
          .hud-img-main {
            width: 95%; height: 85%;
            clip-path: none !important;
          }
          .hud-img-float { display: none; }
          .hud-data-in.fading {
            transform: translateY(12px);
          }
        }

        /* ═══ SMALL MOBILE ═══ */
        @media (max-width: 480px) {
          .hud-section-header { padding: 48px 16px 20px; }
          .hud-section-header h2 { font-size: 1.9rem; }
          .hud-section-header .lead { font-size: 0.85rem; }
          .hud-h1 { font-size: 1.7rem; margin-bottom: 20px; }
          .hud-p { font-size: 0.82rem; line-height: 1.7; }
          .hud-data { padding: 20px 16px; }
          .hud-ghost { font-size: 6rem; }
          .hud-annot { top: 16px; right: 16px; }
          .hud-vis { min-height: 240px; }
          .hud-ruler { padding: 10px 12px; }
          .hud-zone-text { font-size: 8px; letter-spacing: 0.15em; }
          .hud-zone-btn { padding: 12px 6px; }
          .hud-meta-label { font-size: 9px; }
          .hud-meta-val { font-size: 12px; }
        }
      
/* ==== gallery (from live bundle) ==== */


        /* ══════════════════════════════════
           GALLERY — EDITORIAL LAYOUT
           ══════════════════════════════════ */

        #gallery.gal-editorial {
          background: var(--cream2);
          padding: var(--section-pad) 0;
          overflow: hidden;
        }

        /* ── HEADER ── */
        .gal-header {
          padding: 0 64px;
          margin-bottom: 48px;
        }
        .gal-highlight {
          color: var(--charcoal);
          font-weight: 500;
          font-style: italic;
        }

        /* ── NAV TABS ── */
        .gal-nav {
          padding: 0 64px;
          margin-bottom: 64px;
          border-bottom: 1px solid var(--cream3);
        }
        .gal-nav-inner {
          display: flex;
          gap: 0;
        }
        .gal-tab {
          padding: 12px 24px;
          border: none;
          background: none;
          cursor: pointer;
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.62rem;
          font-weight: 600;
          letter-spacing: 0.2em;
          text-transform: uppercase;
          color: var(--warm-lt);
          position: relative;
          transition: color 0.3s;
        }
        .gal-tab::after {
          content: '';
          position: absolute;
          bottom: -1px;
          left: 0;
          right: 0;
          height: 2px;
          background: var(--gold);
          transform: scaleX(0);
          transition: transform 0.4s;
          transform-origin: left;
        }
        .gal-tab.active { color: var(--gold); }
        .gal-tab.active::after { transform: scaleX(1); }
        .gal-tab:hover { color: var(--gold); }

        /* ── STAGGERED ROWS ── */
        .gal-items {
          display: flex;
          flex-direction: column;
          gap: 96px;
          padding: 0 64px;
        }
        .gal-row {
          display: flex;
          align-items: center;
          gap: 64px;
        }
        .gal-row.reverse {
          flex-direction: row-reverse;
        }

        /* ── IMAGE ── */
        .gal-img-wrap {
          width: 60%;
          flex-shrink: 0;
          position: relative;
          overflow: hidden;
          cursor: pointer;
          aspect-ratio: 16 / 10;
          background: var(--cream3);
        }
        .gal-img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          display: block;
          transform: scale(1.03);
          transition: transform 1.5s ease-out;
        }
        .gal-img.hovered {
          transform: scale(1.08);
        }
        .gal-img-overlay {
          position: absolute;
          inset: 0;
          background: rgba(14,13,11,0.08);
          transition: background 0.6s;
          pointer-events: none;
        }
        .gal-img-wrap:hover .gal-img-overlay {
          background: transparent;
        }

        /* ── PINS ── */
        .gal-pin {
          position: absolute;
          z-index: 10;
          display: flex;
          align-items: center;
          gap: 0;
        }
        .gal-pin-dot {
          width: 24px;
          height: 24px;
          border-radius: 50%;
          border: 1px solid rgba(255,255,255,0.5);
          background: rgba(0,0,0,0.15);
          backdrop-filter: blur(6px);
          -webkit-backdrop-filter: blur(6px);
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 0.75rem;
          color: #fff;
          cursor: help;
          transition: background 0.3s;
        }
        .gal-pin:hover .gal-pin-dot {
          background: var(--gold);
          border-color: var(--gold);
        }
        .gal-pin-label {
          position: absolute;
          left: 32px;
          white-space: nowrap;
          background: var(--charcoal);
          color: #fff;
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.5rem;
          font-weight: 700;
          letter-spacing: 0.2em;
          text-transform: uppercase;
          padding: 5px 12px;
          opacity: 0;
          transform: translateX(-6px);
          transition: all 0.3s;
          pointer-events: none;
        }
        .gal-pin:hover .gal-pin-label {
          opacity: 1;
          transform: translateX(0);
        }

        /* ── TEXT ── */
        .gal-text {
          flex: 1;
          min-width: 0;
        }
        .gal-cat {
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.6rem;
          font-weight: 700;
          letter-spacing: 0.25em;
          text-transform: uppercase;
          color: var(--gold);
          display: block;
          margin-bottom: 12px;
        }
        .gal-item-title {
          font-family: 'Cormorant Garamond', serif;
          font-size: 2.4rem;
          font-weight: 300;
          color: var(--charcoal);
          margin: 0 0 16px 0;
          line-height: 1.15;
        }
        .gal-item-desc {
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.9rem;
          font-weight: 300;
          line-height: 1.8;
          color: var(--warm-mid);
          margin: 0 0 28px 0;
        }

        /* Designer */
        .gal-designer {
          padding-top: 24px;
          border-top: 1px solid var(--cream3);
          margin-bottom: 28px;
        }
        .gal-designer-label {
          display: block;
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.5rem;
          font-weight: 700;
          letter-spacing: 0.2em;
          text-transform: uppercase;
          color: var(--warm-lt);
          margin-bottom: 6px;
        }
        .gal-designer-name {
          font-family: 'Cormorant Garamond', serif;
          font-size: 1.15rem;
          font-style: italic;
          color: var(--charcoal);
        }

        /* Explore Button */
        .gal-explore {
          display: inline-flex;
          align-items: center;
          gap: 14px;
          background: none;
          border: none;
          cursor: pointer;
          padding: 0;
        }
        .gal-explore-circle {
          width: 44px;
          height: 44px;
          border-radius: 50%;
          border: 1px solid var(--cream3);
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 1rem;
          color: var(--charcoal);
          transition: all 0.4s;
        }
        .gal-explore:hover .gal-explore-circle {
          background: var(--gold);
          border-color: var(--gold);
          color: #fff;
        }
        .gal-explore span:last-child {
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.55rem;
          font-weight: 700;
          letter-spacing: 0.25em;
          text-transform: uppercase;
          color: var(--charcoal);
        }

        /* ═══ TABLET ═══ */
        @media (max-width: 1200px) {
          .gal-header { padding: 0 40px; }
          .gal-nav { padding: 0 40px; }
          .gal-items { padding: 0 40px; gap: 72px; }
          .gal-item-title { font-size: 2rem; }
          .gal-row { gap: 40px; }
        }

        @media (max-width: 1024px) {
          .gal-img-wrap { width: 55%; }
          .gal-item-title { font-size: 1.8rem; }
          .gal-item-desc { font-size: 0.85rem; }
          .gal-items { gap: 56px; }
          .gal-row { gap: 32px; }
        }

        /* ═══ MOBILE ═══ */
        @media (max-width: 768px) {
          #gallery.gal-editorial {
            padding: 60px 0;
          }
          .gal-header {
            padding: 0 20px;
            margin-bottom: 32px;
          }
          .gal-nav {
            padding: 0 20px;
            margin-bottom: 40px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
          }
          .gal-nav-inner {
            flex-wrap: nowrap;
          }
          .gal-tab {
            white-space: nowrap;
            flex-shrink: 0;
            padding: 10px 16px;
            font-size: 0.55rem;
          }

          .gal-items {
            padding: 0 20px;
            gap: 48px;
          }
          .gal-row,
          .gal-row.reverse {
            flex-direction: column;
            gap: 24px;
          }
          .gal-img-wrap {
            width: 100%;
            aspect-ratio: 4 / 3;
          }
          .gal-item-title { font-size: 1.8rem; }
          .gal-item-desc { font-size: 0.88rem; margin-bottom: 20px; }
          .gal-designer { margin-bottom: 20px; padding-top: 20px; }
        }

        /* ═══ SMALL MOBILE ═══ */
        @media (max-width: 480px) {
          .gal-header { padding: 0 16px; }
          .gal-header h2 { font-size: 1.9rem; }
          .gal-header .lead { font-size: 0.85rem; }
          .gal-nav { padding: 0 16px; margin-bottom: 32px; }
          .gal-tab { padding: 8px 12px; font-size: 0.5rem; }
          .gal-items { padding: 0 16px; gap: 36px; }
          .gal-img-wrap { aspect-ratio: 3 / 2; }
          .gal-item-title { font-size: 1.5rem; }
          .gal-item-desc { font-size: 0.8rem; line-height: 1.7; margin-bottom: 16px; }
          .gal-cat { font-size: 0.52rem; margin-bottom: 8px; }
          .gal-explore-circle { width: 36px; height: 36px; font-size: 0.9rem; }
          .gal-explore span:last-child { font-size: 0.5rem; }
          .gal-designer { margin-bottom: 16px; padding-top: 16px; }
          .gal-designer-label { font-size: 0.45rem; }
          .gal-designer-name { font-size: 1rem; }
        }

      
/* ==== residences (from live bundle) ==== */


        /* ══════════════════════════════════
           RESIDENCES — IMMERSIVE
           ══════════════════════════════════ */

        #residences.res-immersive {
          position: relative;
          width: 100%;
          height: 100vh;
          overflow: hidden;
          background: var(--charcoal);
          padding: 0 !important;
        }

        /* ── BACKGROUND ── */
        .res-bg {
          position: absolute;
          inset: 0;
          z-index: 0;
        }
        .res-bg-overlay {
          position: absolute;
          inset: 0;
          background: rgba(14,13,11,0.5);
          z-index: 1;
        }
        .res-bg-img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          transform: scale(1.05);
          transition: opacity 1s ease, transform 1.2s ease, filter 0.8s ease;
        }
        .res-bg-img.fading {
          opacity: 0;
          transform: scale(1.12);
          filter: blur(12px);
        }

        /* ── LAYOUT ── */
        .res-layout {
          position: relative;
          z-index: 10;
          height: 100%;
          display: flex;
        }

        /* ── RAIL NAV ── */
        .res-rail {
          width: 64px;
          flex-shrink: 0;
          border-right: 1px solid rgba(255,255,255,0.08);
          display: flex;
          flex-direction: column;
          align-items: center;
          padding: 40px 0;
          background: rgba(0,0,0,0.3);
          backdrop-filter: blur(40px);
          -webkit-backdrop-filter: blur(40px);
          z-index: 50;
        }
        .res-rail-logo {
          font-family: 'Cormorant Garamond', serif;
          font-size: 1.6rem;
          font-style: italic;
          color: var(--gold);
          margin-bottom: 64px;
          letter-spacing: -0.03em;
        }
        .res-rail-nav {
          flex: 1;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 56px;
          position: relative;
        }
        .res-rail-line {
          position: absolute;
          top: 0;
          bottom: 0;
          left: 50%;
          width: 1px;
          background: rgba(255,255,255,0.08);
          transform: translateX(-50%);
        }
        .res-rail-dot {
          position: relative;
          background: none;
          border: none;
          cursor: pointer;
          padding: 12px 0;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 100%;
          transition: transform 0.5s;
        }
        .res-rail-dot.active {
          transform: scale(1.15);
        }
        .res-rail-dot:not(.active) {
          opacity: 0.3;
        }
        .res-rail-dot:not(.active):hover {
          opacity: 1;
        }
        .res-dot-circle {
          width: 10px;
          height: 10px;
          border-radius: 50%;
          border: 2px solid rgba(255,255,255,0.6);
          background: transparent;
          transition: all 0.5s;
          z-index: 2;
        }
        .res-rail-dot.active .res-dot-circle {
          background: var(--gold);
          border-color: var(--gold);
          box-shadow: 0 0 14px rgba(212,175,55,0.7);
        }
        .res-dot-label {
          position: absolute;
          left: 52px;
          white-space: nowrap;
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.55rem;
          font-weight: 700;
          letter-spacing: 0.25em;
          text-transform: uppercase;
          background: rgba(0,0,0,0.6);
          backdrop-filter: blur(12px);
          -webkit-backdrop-filter: blur(12px);
          padding: 4px 10px;
          border-radius: 2px;
          color: rgba(255,255,255,0.5);
          opacity: 0;
          transform: translateX(-8px);
          transition: all 0.4s;
          pointer-events: none;
        }
        .res-rail-dot:hover .res-dot-label {
          opacity: 1;
          transform: translateX(0);
          color: var(--gold);
        }

        /* ── CONTENT ── */
        .res-content {
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          min-width: 0;
        }

        /* ── HEADER ── */
        .res-header {
          padding: 64px;
          display: flex;
          flex-direction: column;
        }
        .res-header-in {
          transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
          opacity: 1;
          transform: translateY(0);
        }
        .res-header-in.fading {
          opacity: 0;
          transform: translateY(-24px);
        }

        .res-controls {
          display: flex;
          align-items: center;
          gap: 24px;
          margin-top: 40px;
        }
        .res-arrow {
          width: 44px; height: 44px;
          border: 1px solid rgba(212,175,55,0.3);
          background: transparent;
          color: var(--gold);
          font-size: 1.2rem;
          cursor: pointer;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: all 0.3s ease;
        }
        .res-arrow:hover {
          background: rgba(212,175,55,0.1);
          border-color: var(--gold);
          transform: scale(1.05);
        }
        .res-explore-text {
          font-size: 0.65rem;
          text-transform: uppercase;
          letter-spacing: 0.25em;
          color: rgba(255,255,255,0.5);
          font-weight: 500;
        }

        /* Light variants for dark bg */
        .stag-light::before {
          background: var(--gold-lt) !important;
        }
        .stag-light span {
          color: var(--gold-lt) !important;
        }
        .gline-light {
          background: var(--gold-lt) !important;
        }
        .lead-light {
          color: rgba(255,255,255,0.5) !important;
        }

        #residences .res-title {
          color: var(--white);
          margin: 0;
        }

        .res-active-tag {
          display: inline-flex;
          align-items: center;
          gap: 10px;
          margin-top: 20px;
          padding: 8px 18px;
          border: 1px solid rgba(212,175,55,0.25);
          border-radius: 2px;
          background: rgba(212,175,55,0.08);
        }
        .res-active-dot {
          width: 6px;
          height: 6px;
          border-radius: 50%;
          background: var(--gold);
          box-shadow: 0 0 8px rgba(212,175,55,0.6);
        }
        .res-active-tag span:last-child {
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.62rem;
          font-weight: 600;
          letter-spacing: 0.25em;
          text-transform: uppercase;
          color: var(--gold);
        }

        /* ── SPECS BAR ── */
        .res-specs-bar {
          background: rgba(0,0,0,0.45);
          backdrop-filter: blur(40px);
          -webkit-backdrop-filter: blur(40px);
          border-top: 1px solid rgba(255,255,255,0.08);
          padding: 32px 64px;
        }
        .res-specs-inner {
          display: flex;
          align-items: center;
          gap: 48px;
          transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
          opacity: 1;
          transform: translateY(0);
        }
        .res-specs-inner.fading {
          opacity: 0;
          transform: translateY(24px);
        }

        .res-specs-head {
          flex-shrink: 0;
          min-width: 180px;
        }
        .res-specs-title {
          font-family: 'Cormorant Garamond', serif;
          font-size: 1.3rem;
          font-weight: 400;
          color: #fff;
          margin: 0 0 6px 0;
        }
        .res-specs-level {
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.6rem;
          font-weight: 700;
          letter-spacing: 0.2em;
          color: var(--gold);
          text-transform: uppercase;
          display: block;
          margin-bottom: 6px;
        }
        .res-specs-price {
          font-family: 'Cormorant Garamond', serif;
          font-size: 1rem;
          color: var(--gold);
          font-weight: 400;
        }

        /* Specs Grid */
        .res-specs-grid {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          gap: 32px;
          flex: 1;
        }
        .res-spec {
          display: flex;
          flex-direction: column;
          gap: 4px;
        }
        .res-spec-label {
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.5rem;
          font-weight: 700;
          letter-spacing: 0.2em;
          text-transform: uppercase;
          color: rgba(255,255,255,0.25);
        }
        .res-spec-value {
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.72rem;
          font-weight: 400;
          color: rgba(255,255,255,0.85);
        }

        /* Description */
        .res-specs-desc {
          flex-shrink: 0;
          max-width: 280px;
          border-left: 1px solid rgba(255,255,255,0.06);
          padding-left: 32px;
        }
        .res-specs-desc p {
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.75rem;
          font-weight: 300;
          font-style: italic;
          line-height: 1.8;
          color: rgba(255,255,255,0.45);
          margin: 0 0 16px 0;
        }

        /* CTA */
        .res-specs-cta {
          display: inline-flex;
          align-items: center;
          gap: 8px;
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.55rem;
          font-weight: 700;
          letter-spacing: 0.25em;
          text-transform: uppercase;
          color: rgba(255,255,255,0.6);
          text-decoration: none;
          transition: color 0.3s;
          background: none;
          border: none;
          cursor: pointer;
        }
        .res-specs-cta:hover {
          color: var(--gold);
        }
        .res-specs-cta svg {
          transition: transform 0.3s;
        }
        .res-specs-cta:hover svg {
          transform: translateY(2px);
        }
        .res-specs-cta.mobile {
          margin-top: 20px;
        }

        /* ── 4/5 BHK Buttons ── */
        .res-cta-row {
          display: flex;
          gap: 10px;
          flex-wrap: wrap;
        }
        .res-cta-row.mobile {
          margin-top: 18px;
        }
        .res-bhk-btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 11px 22px;
          border: 1px solid rgba(212,175,55,0.5);
          color: var(--gold-lt);
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.58rem;
          font-weight: 700;
          letter-spacing: 0.22em;
          text-transform: uppercase;
          text-decoration: none;
          background: rgba(212,175,55,0.04);
          transition: all 0.35s ease;
          position: relative;
          overflow: hidden;
        }
        .res-bhk-btn:hover {
          background: var(--gold);
          color: var(--white);
          border-color: var(--gold);
        }
        .res-bhk-btn:first-child {
          background: var(--gold);
          color: var(--white);
          border-color: var(--gold);
        }
        .res-bhk-btn:first-child:hover {
          background: transparent;
          color: var(--gold-lt);
        }

        /* Node indicator */
        .res-node-ind {
          position: absolute;
          top: 40px;
          right: 48px;
          z-index: 20;
        }
        .res-node-ind span {
          font-family: 'Josefin Sans', sans-serif;
          font-size: 0.6rem;
          font-weight: 700;
          letter-spacing: 0.2em;
          text-transform: uppercase;
          color: rgba(255,255,255,0.5);
        }

        /* ═══ TABLET ═══ */
        @media (max-width: 1200px) {
          .res-title { font-size: 3.5rem; }
          .res-header { padding: 48px 40px; }
          .res-specs-bar { padding: 28px 40px; }
          .res-specs-desc { max-width: 220px; }
        }

        @media (max-width: 1024px) {
          .res-title { font-size: 2.8rem; }
          .res-rail { width: 52px; padding: 32px 0; }
          .res-rail-logo { margin-bottom: 40px; font-size: 1.3rem; }
          .res-rail-nav { gap: 40px; }
          .res-dot-label { display: none; }
          .res-specs-desc { display: none; }
          .res-specs-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
          .res-specs-inner { flex-direction: column; gap: 20px; }
        }

        /* ═══ MOBILE ═══ */
        @media (max-width: 768px) {
          #residences.res-immersive {
            height: auto;
            min-height: 100vh;
          }
          .res-layout {
            flex-direction: column;
            height: auto;
            min-height: 100vh;
          }

          /* Rail becomes horizontal */
          .res-rail {
            width: 100%;
            flex-direction: row;
            border-right: none;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            padding: 14px 16px;
            gap: 0;
          }
          .res-rail-nav {
            flex-direction: row;
            gap: 28px;
            flex: 1;
            justify-content: center;
          }
          .res-rail-line { display: none; }
          .res-dot-label { display: none; }
          .res-rail-dot { padding: 8px; }
          .res-dot-circle { width: 8px; height: 8px; }

          .res-content {
            flex: 1;
            justify-content: space-between;
          }

          .res-header {
            padding: 32px 20px;
            flex: 1;
            display: flex;
            align-items: flex-start;
            flex-direction: column;
          }
          .res-controls {
            margin-top: 24px;
          }
          .res-header-in {
            width: 100%;
          }
          #residences .res-title {
            font-size: 2.4rem;
          }
          .res-active-tag {
            margin-top: 14px;
            padding: 6px 14px;
          }

          .res-specs-bar {
            padding: 20px;
          }
          .res-specs-grid {
            grid-template-columns: 1fr 1fr;
            gap: 14px;
          }
          .res-specs-inner {
            flex-direction: column;
            gap: 16px;
          }
          .res-specs-head {
            min-width: auto;
            display: flex;
            align-items: baseline;
            gap: 12px;
            flex-wrap: wrap;
          }

          .res-node-ind { display: none; }
        }

        /* ═══ SMALL MOBILE ═══ */
        @media (max-width: 480px) {
          #residences .res-title { font-size: 1.9rem; }
          .res-header { padding: 24px 16px; }
          .res-specs-bar { padding: 14px 16px; }
          .res-specs-title { font-size: 1.05rem; }
          .res-specs-price { font-size: 0.88rem; }
          .res-specs-level { font-size: 0.52rem; }
          .res-spec-label { font-size: 0.45rem; }
          .res-spec-value { font-size: 0.62rem; }
          .res-specs-grid { gap: 10px; }
          .res-active-tag span:last-child { font-size: 0.5rem; }
          .res-active-tag { padding: 5px 12px; margin-top: 10px; }
          .res-rail { padding: 10px 12px; }
          .res-rail-nav { gap: 20px; }
          .res-dot-circle { width: 10px; height: 10px; }
          .res-rail-dot { padding: 10px; }
          .res-specs-cta.mobile { margin-top: 14px; font-size: 0.5rem; }
          .stag-light span { font-size: 0.52rem !important; }
        }

      