/* Premium cinematic layer — visual only, on top of portal-skin */

:root {
  --lux-ink: #0a0c0b;
  --lux-ink-soft: #1a1f1c;
  --lux-paper: #f4f5f3;
  --lux-muted: rgba(255, 255, 255, 0.68);
  --lux-muted-dark: #5c6560;
  --lux-line: rgba(255, 255, 255, 0.15);
  --lux-accent: #1a4d35;
  --lux-accent-soft: #8eb558;
  --lux-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lux-display: "Playfair Display", "Syne", Georgia, serif;
  --lux-sans: "Manrope", "Segoe UI", sans-serif;
  --portal-font: var(--lux-sans);
  --portal-display: var(--lux-display);
  --portal-bg: #eceeea;
  --portal-surface: #f7f8f6;
  --portal-text: var(--lux-ink);
  --portal-muted: var(--lux-muted-dark);
  --portal-accent: var(--lux-accent);
  --portal-accent-hover: #123828;
  --portal-lime: var(--lux-accent-soft);
}

body.portal {
  background: linear-gradient(180deg, #f2f3f1 0%, var(--portal-bg) 45%, #e6e8e4 100%);
  color: var(--lux-ink);
  font-family: var(--lux-sans);
}

body.portal--home {
  --header-h: 72px;
}

/* boot fade removed — was hiding page if JS lagged */

/* Unified cinematic grade on photos.
   Live <video> is deliberately excluded: re-running a pixel filter on every
   decoded video frame (on top of scroll-driven transforms) is what was
   costing frames and reading as jitter. The dark veil gradient already
   carries the mood for video; filter stays on static images only, where
   it's computed once and cached instead of every frame. */
.portal-home-hero__media,
.portal-premium__media,
.portal-views__media,
.portal-project-card__visual,
.portal-amenities-banner,
.portal-news-card__visual img,
.portal-feature-card__visual,
.portal-feature-hero {
  filter: brightness(0.9) saturate(0.9) contrast(1.02);
}

/* ─── Overlay nav (home) ─── */
.portal-header {
  transition:
    background 0.3s var(--lux-ease),
    border-color 0.3s var(--lux-ease),
    box-shadow 0.3s var(--lux-ease),
    color 0.3s var(--lux-ease),
    backdrop-filter 0.3s var(--lux-ease);
}

.portal-header--overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
}

.portal-header--overlay .portal-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.portal-header--overlay .portal-nav a:hover,
.portal-header--overlay .portal-nav a.is-active {
  color: #fff;
  background: transparent;
}

.portal-header--overlay .portal-logo__img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.portal-header--overlay .portal-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.portal-header--overlay .portal-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.portal-header--overlay .portal-btn--primary {
  background: #fff;
  color: var(--lux-ink);
  box-shadow: none;
}

.portal-header--overlay .portal-btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--lux-ink);
}

.portal-header--overlay .portal-btn--fixation {
  background: #22c55e;
  border-color: #16a34a;
  color: #052e16 !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.portal-header--overlay .portal-btn--fixation:hover {
  background: #4ade80;
  color: #052e16 !important;
}

.portal-home-hero__btn--fixation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 2px;
  background: #22c55e !important;
  color: #052e16 !important;
  border: 1px solid #16a34a !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35);
}

.portal-home-hero__btn--fixation:hover {
  background: #4ade80 !important;
  color: #052e16 !important;
}

.portal-header--overlay .portal-header__user-name {
  color: rgba(255, 255, 255, 0.88);
}

.portal-header--overlay.is-scrolled {
  background: rgba(10, 12, 11, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.portal--home .portal-header:not(.portal-header--overlay) {
  /* fallback */
}

/* Non-home: quiet solid header */
body.portal:not(.portal--home) .portal-header {
  background: rgba(247, 248, 246, 0.92);
  border-bottom-color: rgba(15, 23, 19, 0.06);
  box-shadow: none;
}

body.portal:not(.portal--home) .portal-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(10, 20, 16, 0.08);
}

.portal-nav a {
  border-radius: 0;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.portal-btn {
  border-radius: 2px;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition:
    background 0.25s var(--lux-ease),
    border-color 0.25s var(--lux-ease),
    color 0.25s var(--lux-ease),
    box-shadow 0.25s var(--lux-ease),
    transform 0.25s var(--lux-ease);
}

.portal-btn--primary {
  background: var(--lux-accent);
  box-shadow: none;
}

.portal-btn--primary:hover {
  background: var(--portal-accent-hover);
}

.portal-btn--ghost,
.portal-btn--outline {
  border-radius: 2px;
}

/* ─── Hero cinematic ─── */
.portal-home-hero,
.portal-home-hero--cinema {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #050706;
  color: #fff;
}

.portal-home-hero__parallax {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.portal-home-hero__media {
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.06);
  z-index: 0;
}

.portal-home-hero--video .portal-home-hero__media {
  background-position: center center;
}

.portal-home-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* No idle loop here on purpose: this element also carries the cinematic
   color-grade `filter` (below), and animating `transform` + `filter` on the
   same layer every frame is what was reading as a constant tremor. Motion on
   the hero now comes only from the deliberate scroll-linked parallax on the
   parent (`.portal-home-hero__parallax`, JS-driven) — one clear movement
   instead of a filtered layer fighting an idle zoom. */

.portal-home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* First stop guarantees header legibility regardless of how bright the
     synced photo's sky is; it fades out again before the mid-frame so the
     rest of the artwork keeps its light/shadow range. */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.18) 15%,
    rgba(0, 0, 0, 0.28) 42%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.portal-home-hero--cinema .portal-home-hero__layout {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 0 80px;
  align-items: flex-end;
  justify-content: flex-start;
}

.portal-home-hero__copy {
  max-width: 680px;
  width: 100%;
}

.portal-home-hero__brand-mark {
  margin: 0 0 14px;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.42em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

.portal-home-hero__stats {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em 0.65em;
  margin-top: 28px;
  padding: 14px 18px !important;
  max-width: 100%;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-radius: 2px;
}

.portal-home-hero__btn--primary {
  background: #fff !important;
  color: #0a0c0b !important;
  border: 1px solid #fff !important;
  border-radius: 2px !important;
  min-height: 52px !important;
  padding: 0 26px !important;
}

.portal-home-hero__btn--ghost,
.portal-home-hero__btn--secondary {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 2px !important;
  min-height: 52px !important;
  padding: 0 26px !important;
}

.portal-header--overlay {
  position: fixed !important;
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
}

.portal-home-hero__title {
  margin: 0;
}

.portal-home-hero__title-main {
  display: block;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
  font-size: clamp(52px, 9vw, 104px) !important;
  font-weight: 600 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.025em !important;
  max-width: 12ch;
  color: #fff !important;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.portal-home-hero__lead {
  margin-top: 20px;
  max-width: 30em;
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.portal-home-hero__cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  max-width: 720px;
}

.portal-home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 2px;
  font-family: var(--lux-sans);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 0.25s var(--lux-ease),
    border-color 0.25s var(--lux-ease),
    color 0.25s var(--lux-ease),
    transform 0.25s var(--lux-ease);
}

.portal-home-hero__btn:active {
  transform: scale(0.97);
}

.portal-home-hero__btn--primary {
  background: #fff;
  color: var(--lux-ink);
  border-color: #fff;
  border-bottom: 1px solid #fff;
  padding-bottom: 0;
}

.portal-home-hero__btn--primary:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: none;
  transform: none;
}

.portal-home-hero__btn--primary i {
  font-style: normal;
  transition: transform 0.25s var(--lux-ease);
}

.portal-home-hero__btn--primary:hover i {
  transform: translateX(3px);
}

.portal-home-hero__btn--ghost,
.portal-home-hero__btn--secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0;
  backdrop-filter: none;
}

.portal-home-hero__btn--ghost:hover,
.portal-home-hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: none;
}

.portal-home-hero__btn--text {
  min-height: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
}

.portal-home-hero__btn--text:hover {
  color: #fff;
  border-bottom-color: #fff;
  background: transparent;
}

.portal-home-hero__stats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em 0.65em;
  margin-top: 28px;
  padding: 12px 16px;
  max-width: 100%;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.portal-home-hero__stats > span {
  display: inline-block;
}

.portal-home-hero__stat-sep {
  opacity: 0.45;
  font-weight: 400;
}

.portal-home-hero__stat-line {
  display: none;
}

.portal-home-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  width: 26px;
  height: 40px;
  margin-left: -13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  text-decoration: none;
}

.portal-home-hero__scroll span {
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: no-preference) {
  .portal-home-hero__scroll span {
    animation: luxScrollCue 1.6s var(--lux-ease) infinite;
  }
}

@keyframes luxScrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0.15; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ─── Premium walk polish ─── */
.portal-premium__title {
  font-family: var(--lux-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.portal-premium__kicker {
  letter-spacing: 0.3em;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.portal-premium__veil {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 38%, rgba(0, 0, 0, 0.78) 100%);
}

.portal-premium__cta {
  border-radius: 0;
  border-bottom-width: 1px;
}

/* ─── Section rhythm / air ─── */
.portal-section,
.portal-features-show,
.portal-home-pick {
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(48px, 6vw, 88px);
}

.portal-section-head {
  margin-bottom: clamp(28px, 4vw, 44px);
  gap: 18px;
}

.portal-section-title {
  font-family: var(--lux-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--lux-ink);
}

.portal-section-kicker,
.portal-section-head .portal-section-kicker {
  display: block;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lux-muted-dark);
}

.portal-section-link {
  color: var(--lux-accent);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}

.portal-section-link:hover {
  color: var(--portal-accent-hover);
  border-bottom-color: currentColor;
}

/* Cards — quiet premium */
.portal-project-card,
.portal-news-card,
.portal-feature-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 19, 0.08);
  box-shadow: none;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--lux-ease);
}

.portal-project-card:hover,
.portal-news-card:hover,
.portal-feature-card:hover {
  border-color: rgba(15, 23, 19, 0.16);
  box-shadow: 0 18px 40px rgba(10, 20, 16, 0.08);
  transform: translateY(-2px);
}

.portal-project-card__name,
.portal-news-card__title,
.portal-feature-card__body h3 {
  font-family: var(--lux-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.portal-tag {
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.portal-tag--accent,
.portal-tag--green {
  background: rgba(26, 77, 53, 0.08);
  color: var(--lux-accent);
}

/* Filters / pick — quieter surface */
.portal-home-pick {
  background: transparent;
}

.portal-home-pick .portal-container > * {
  border-radius: 4px;
}

/* Reveal */
.portal-section--reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .portal-section--reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s var(--lux-ease), transform 0.65s var(--lux-ease);
  }

  .portal-section--reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Mobile: kill breath/parallax cost */
@media (max-width: 760px) {
  .portal-home-hero,
  .portal-home-hero--cinema {
    min-height: min(92svh, 860px);
  }

  .portal-home-hero--cinema .portal-home-hero__layout {
    padding: 110px 0 72px;
  }

  .portal-home-hero__title-main {
    font-size: clamp(40px, 12vw, 64px);
  }

  .portal-home-hero__btn {
    min-height: 46px;
    width: auto;
    flex: 1 1 auto;
  }

  .portal-header--overlay .portal-nav {
    display: none;
  }

  @media (prefers-reduced-motion: no-preference) {
    .portal-home-hero--cinema .portal-home-hero__media,
    .portal-home-hero--cinema .portal-home-hero__video {
      animation: none;
      transform: scale(1.04);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-home-hero--cinema .portal-home-hero__media,
  .portal-home-hero--cinema .portal-home-hero__video {
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   Site-wide premium polish (v2)
   Apple restraint + cinematic real-estate
   ═══════════════════════════════════════════ */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body.portal {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.portal main {
  opacity: 1;
}

/* Page heroes (catalog, guide, news, promo…) */
.portal-hero {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(800px 320px at 10% 0%, rgba(26, 77, 53, 0.08), transparent 60%),
    linear-gradient(180deg, #f7f8f6 0%, #eceeea 100%);
  overflow: hidden;
}

.portal-hero h1,
.portal-hero .portal-hero__title {
  font-family: var(--lux-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  color: var(--lux-ink);
}

.portal-hero p,
.portal-hero__lead {
  max-width: 36em;
  color: var(--lux-muted-dark);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
}

.portal-hero--news,
.portal-hero--promo,
.portal-hero--guide,
.portal-hero--fixation {
  border-bottom: 1px solid rgba(15, 23, 19, 0.06);
}

/* Filters — glass quiet panel */
.portal-filters,
.portal-filters--advanced,
.portal-filters--flat {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 19, 0.08);
  border-radius: 6px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 36px rgba(10, 20, 16, 0.04);
}

.portal-chips .portal-chip,
.portal-room-tabs button {
  border-radius: 2px;
  transition: background 0.25s var(--lux-ease), color 0.25s, border-color 0.25s, transform 0.25s;
}

.portal-chips .portal-chip.is-active,
.portal-room-tabs button.is-active {
  background: var(--lux-accent);
  color: #fff;
  border-color: var(--lux-accent);
}

/* Apartment cards */
.portal-apt-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 19, 0.08);
  border-radius: 6px;
  box-shadow: none;
  overflow: hidden;
  transition:
    border-color 0.3s var(--lux-ease),
    box-shadow 0.35s var(--lux-ease),
    transform 0.35s var(--lux-ease);
}

.portal-apt-card:hover {
  border-color: rgba(15, 23, 19, 0.14);
  box-shadow: 0 22px 48px rgba(10, 20, 16, 0.1);
  transform: translateY(-3px);
}

.portal-apt-card__visual,
.portal-apt-card__plan {
  overflow: hidden;
}

.portal-apt-card__visual img,
.portal-apt-card__plan img {
  transition: transform 0.8s var(--lux-ease), filter 0.5s;
  filter: brightness(0.94) saturate(0.92);
}

.portal-apt-card:hover .portal-apt-card__visual img,
.portal-apt-card:hover .portal-apt-card__plan img {
  transform: scale(1.04);
}

.portal-apt-card__price {
  /* Prices are numbers people scan fast — a decorative display serif here
     reads as thinner/less legible than the plain sans weight it replaced. */
  font-family: var(--lux-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.portal-catalog-grid {
  gap: clamp(16px, 2vw, 24px);
}

/* Guide hub */
.portal-guide-stage {
  border-radius: 8px;
  overflow: hidden;
  min-height: clamp(320px, 48vw, 520px);
}

.portal-guide-stage__media {
  filter: brightness(0.88) saturate(0.9);
  transform: scale(1.04);
  transition: transform 1.2s var(--lux-ease);
}

.portal-guide-stage:hover .portal-guide-stage__media {
  transform: scale(1.08);
}

.portal-guide-stage__veil {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.portal-guide-stage__copy h1,
.portal-guide-stage__copy .portal-guide-stage__title {
  font-family: var(--lux-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.portal-guide-tile {
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 19, 0.08);
  overflow: hidden;
  background: #fff;
  transition: transform 0.35s var(--lux-ease), box-shadow 0.35s var(--lux-ease);
}

.portal-guide-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(10, 20, 16, 0.1);
}

.portal-guide-tile__media {
  overflow: hidden;
}

.portal-guide-tile__media img,
.portal-guide-tile__media {
  transition: transform 0.9s var(--lux-ease);
  filter: brightness(0.92) saturate(0.9);
}

.portal-guide-tile:hover .portal-guide-tile__media,
.portal-guide-tile:hover .portal-guide-tile__media img {
  transform: scale(1.06);
}

.portal-guide-tile__body h2 {
  font-family: var(--lux-display);
  font-weight: 600;
}

/* News / promo cards */
.portal-news-card__visual,
.portal-promo-card__visual,
.portal-campaign__visual {
  overflow: hidden;
}

.portal-news-card__visual img,
.portal-promo-card img,
.portal-campaign__visual img {
  transition: transform 0.9s var(--lux-ease);
  filter: brightness(0.92) saturate(0.9);
}

.portal-news-card:hover .portal-news-card__visual img,
.portal-promo-card:hover img,
.portal-campaign__card:hover .portal-campaign__visual img {
  transform: scale(1.05);
}

.portal-news-article__hero {
  border-radius: 8px;
  overflow: hidden;
}

.portal-news-article__hero img {
  filter: brightness(0.92) saturate(0.9);
  width: 100%;
  object-fit: cover;
}

/* Amenities */
.portal-amenities-banner {
  border-radius: 8px;
  overflow: hidden;
  min-height: clamp(280px, 40vw, 420px);
}

.portal-amenities-banner__copy h2,
.portal-amenities-banner__copy .portal-amenities-banner__title {
  font-family: var(--lux-display);
  font-weight: 600;
}

.portal-amenity-card,
.portal-amenities article {
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 19, 0.08);
  background: #fff;
  overflow: hidden;
  transition: transform 0.35s var(--lux-ease), box-shadow 0.35s;
}

.portal-amenity-card:hover,
.portal-amenities article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(10, 20, 16, 0.08);
}

/* Construction phones / media */
.portal-construction-clip,
.portal-construction__phone,
[data-construction-section] video {
  border-radius: 10px;
  overflow: hidden;
}

/* Views carousel */
.portal-views__slide {
  border-radius: 8px;
  overflow: hidden;
}

.portal-views__media {
  transition: transform 1s var(--lux-ease);
}

.portal-views__slide:hover .portal-views__media {
  transform: scale(1.03);
}

/* Premium walk — richer transitions */
.portal-premium__panel {
  transition: opacity 0.01s;
}

.portal-premium__media {
  transition: transform 1.4s var(--lux-ease), filter 0.6s;
  filter: brightness(0.88) saturate(0.88);
}

.portal-premium__panel.is-active .portal-premium__media {
  filter: brightness(0.92) saturate(0.9);
}

.portal-premium__copy {
  transition:
    opacity 0.7s var(--lux-ease),
    transform 0.7s var(--lux-ease);
}

/* Staggered reveal children */
.portal-section--reveal.is-visible .portal-apt-card,
.portal-section--reveal.is-visible .portal-project-card,
.portal-section--reveal.is-visible .portal-news-card,
.portal-section--reveal.is-visible .portal-guide-tile,
.portal-section--reveal.is-visible .portal-amenity-card,
.portal-section--reveal.is-visible .portal-amenities > * {
  animation: luxRise 0.7s var(--lux-ease) both;
}

.portal-section--reveal.is-visible .portal-apt-card:nth-child(1),
.portal-section--reveal.is-visible .portal-project-card:nth-child(1),
.portal-section--reveal.is-visible .portal-news-card:nth-child(1),
.portal-section--reveal.is-visible .portal-guide-tile:nth-child(1) { animation-delay: 0.04s; }
.portal-section--reveal.is-visible .portal-apt-card:nth-child(2),
.portal-section--reveal.is-visible .portal-project-card:nth-child(2),
.portal-section--reveal.is-visible .portal-news-card:nth-child(2),
.portal-section--reveal.is-visible .portal-guide-tile:nth-child(2) { animation-delay: 0.1s; }
.portal-section--reveal.is-visible .portal-apt-card:nth-child(3),
.portal-section--reveal.is-visible .portal-project-card:nth-child(3),
.portal-section--reveal.is-visible .portal-news-card:nth-child(3),
.portal-section--reveal.is-visible .portal-guide-tile:nth-child(3) { animation-delay: 0.16s; }
.portal-section--reveal.is-visible .portal-apt-card:nth-child(4),
.portal-section--reveal.is-visible .portal-project-card:nth-child(4),
.portal-section--reveal.is-visible .portal-news-card:nth-child(4),
.portal-section--reveal.is-visible .portal-guide-tile:nth-child(4) { animation-delay: 0.22s; }
.portal-section--reveal.is-visible .portal-apt-card:nth-child(5),
.portal-section--reveal.is-visible .portal-news-card:nth-child(5),
.portal-section--reveal.is-visible .portal-guide-tile:nth-child(5) { animation-delay: 0.28s; }
.portal-section--reveal.is-visible .portal-apt-card:nth-child(6),
.portal-section--reveal.is-visible .portal-news-card:nth-child(6),
.portal-section--reveal.is-visible .portal-guide-tile:nth-child(6) { animation-delay: 0.34s; }

@keyframes luxRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-section--reveal.is-visible .portal-apt-card,
  .portal-section--reveal.is-visible .portal-project-card,
  .portal-section--reveal.is-visible .portal-news-card,
  .portal-section--reveal.is-visible .portal-guide-tile,
  .portal-section--reveal.is-visible .portal-amenity-card,
  .portal-section--reveal.is-visible .portal-amenities > * {
    animation: none;
  }
}

/* Footer quieter */
.portal-footer {
  border-top: 1px solid rgba(15, 23, 19, 0.06);
  background: #f2f3f1;
}

/* Image crispness on retina */
.portal-home-hero__media,
.portal-premium__media,
.portal-views__media,
.portal-guide-stage__media,
.portal-apt-card__visual img {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Genplan frame */
.portal-genplan-wrap,
.agent-genplan {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 19, 0.08);
  background: #fff;
}

/* Banks marquee soften */
.portal-section--banks {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

/* Liquid-glass curator FAB — keep brand green, quieter */
.portal-curator-fab,
button.portal-curator,
[data-curator-open] {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
