*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* Initial Theme: Warm Imperial Ochre (matching Screenshot 1 & 2) */
  --bg-current: #BA8E37;
  --text-primary: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.75);
  --text-faint: rgba(255, 255, 255, 0.45);
  --accent-gold: #E8CA7C;
  --border-light: rgba(255, 255, 255, 0.22);
}

html,
body {
  width: 100%;
  background-color: #0A0A0A;
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  height: 100%;
  overflow-x: clip;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  overflow-x: clip;
}

strong,
b {
  color: #000000;
  font-weight: 800;
}

/* ─── MAIN HERO VIEWPORT ────────────────────────────────────────── */
.hero-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-current);
  transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ─── HEADER NAVIGATION (GLASSY WAVY NAVBAR IN LEFT 60%) ──────── */
.hero-header.glassy-nav {
  position: fixed;
  top: 20px;
  left: 48px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(60vw - 80px);
  max-width: 780px;
  margin: 0;
  padding: 12px 26px;
  border-radius: 24px 24px 34px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.312) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22), inset 0 1px 1.5px rgba(255, 255, 255, 0.45);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-header.glassy-nav:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28), inset 0 1px 2px rgba(255, 255, 255, 0.55);
}

/* Wavy SVG backdrop accent inside glassy navbar */
.nav-glass-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.nav-wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 18px;
  pointer-events: none;
}

.nav-wave-fill {
  fill: rgba(255, 255, 255, 0.04);
}

.nav-wave-line {
  fill: none;
  stroke: url(#navWaveGlow);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 5px rgba(245, 220, 150, 0.45));
}

.brand-logo,
.nav-menu,
.header-action {
  position: relative;
  z-index: 2;
}

.brand-logo {
  display: grid;
  align-items: center;
  cursor: pointer;
  user-select: none;
  width: 150px;
}

.brand-logo img {
  grid-area: 1 / 1;
  width: 100%;
  transition: opacity 0.45s ease;
}

.brand-logo .logo-scroll {
  opacity: 0;
}

.brand-logo.is-scrolled .logo-default {
  opacity: 0;
}

.brand-logo.is-scrolled .logo-scroll {
  opacity: 1;
}


.logo-mark {
  color: var(--accent-gold);
  font-size: 15px;
  transform: translateY(-1px);
  filter: drop-shadow(0 0 6px rgba(232, 202, 124, 0.6));
}

.logo-text {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: #FFFFFF;
}

.logo-tag {
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  padding-left: 6px;
  border-left: 1px solid var(--border-light);
  transform: translateY(1px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 2px 7px rgb(0 0 0 / 0.62);
  text-decoration: none;
  position: relative;
  padding: 6px 2px 4px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: color 0.45s ease, text-shadow 0.45s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
}

.hero-header.glassy-nav.is-below-hero .nav-link,
.hero-header.glassy-nav.is-below-hero .nav-link:hover,
.hero-header.glassy-nav.is-below-hero .nav-link.active {
  color: #000000;
  text-shadow: none;
}

.link-wave {
  width: 26px;
  height: 4px;
  color: var(--accent-gold);
  opacity: 0;
  transform: scaleX(0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link.active .link-wave,
.nav-link:hover .link-wave {
  opacity: 1;
  transform: scaleX(1);
}

.btn-enquire {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-header.glassy-nav.is-below-hero .btn-enquire {
  color: #000000;
}

.btn-enquire:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hero-header.glassy-nav.is-below-hero .mobile-menu-toggle {
  color: #000000;
}

.mobile-menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease, width 0.25s ease;
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

.mobile-menu-toggle:hover span:nth-child(2) {
  width: 11px;
}

.mobile-menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  width: 16px;
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── EDITORIAL CONTENT (LEFT 60% OF SCREEN) ──────────────────── */
.hero-editorial {
  position: absolute;
  top: clamp(150px, 20vh, 190px);
  bottom: clamp(86px, 11vh, 112px);
  left: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  width: 60vw;
  max-width: 60vw;
  padding: 0 48px;
  margin: 0;
}

.editorial-wrapper {
  width: 100%;
  will-change: transform, opacity;
}

.editorial-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.counter-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  color: #FFFFFF;
}

.editorial-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.2vw, 84px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.title-italic {
  font-style: italic;
  font-weight: 300;
  color: #FFFDF9;
}

.editorial-desc {
  font-size: 13.5px;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 34px;
}

.editorial-specs {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 36px;
  max-width: 520px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.spec-value {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

.spec-separator {
  width: 1px;
  height: 28px;
  background: var(--border-light);
}

.editorial-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.btn-primary {
  background: #FFFFFF;
  color: #0A0A0A;
  border: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 16px 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: var(--accent-gold);
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.btn-film {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  transition: opacity 0.3s ease;
}

.btn-film:hover {
  opacity: 0.75;
}

.film-icon {
  font-size: 9px;
  color: var(--accent-gold);
}

/* ─── THE SPLIT REVEAL CONTAINER (CLIPPED BY SVG) ───────────────── */
.split-reveal-container {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  clip-path: url(#splitClip);
  -webkit-clip-path: url(#splitClip);
  pointer-events: none;
  background-color: #0E0E0E;
  will-change: clip-path;
}

.split-image-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  will-change: transform, opacity;
}

.split-image-layer.current {
  z-index: 2;
  opacity: 1;
}

.split-image-layer.incoming {
  z-index: 1;
  opacity: 0;
}

/* Subtle inner shadow on the edge of the split for depth */
.split-inner-shadow {
  position: absolute;
  inset: 0;
  z-index: 5;
  box-shadow: inset 18px 0 35px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* ─── SVG SPLIT LAYER (TRACING THE WAVY SEAM ACCENT) ───────────── */
.split-svg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 12;
  pointer-events: none;
}

.rift-rim-outer,
.rift-rim-main {
  display: none;
}

/* Outer soft decorative organic line */
.rift-rim-outer {
  fill: none;
  stroke: rgba(255, 235, 175, 0.28);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#riftGlow);
}

/* Main sharp golden organic rim */
.rift-rim-main {
  fill: none;
  stroke: url(#seamGoldGrad);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255, 215, 120, 0.6));
}

/* ─── FOOTER & INTERACTIVE CONTROLS (IN LEFT 60%) ─────────────── */
.hero-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 60vw;
  max-width: 60vw;
  padding: 0 48px 36px 48px;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #6CE58C;
  box-shadow: 0 0 8px #6CE58C;
  animation: pulseStatus 2.2s infinite ease-in-out;
}

@keyframes pulseStatus {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

.status-text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-space {
  justify-content: space-between;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.06);
}

.slide-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-pill {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.slide-pill.active {
  width: 54px;
  background: #FFFFFF;
}

.slide-pill:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* ─── RESPONSIVE BREAKPOINTS ───────────────────────────────────── */
@media (max-width: 1200px) {
  .hero-header.glassy-nav {
    width: calc(60vw - 48px);
    left: 28px;
    padding: 10px 18px;
  }

  .nav-menu {
    gap: 14px;
  }

  .nav-link {
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .hero-editorial {
    padding: 0 28px;
  }

  .editorial-title {
    font-size: 52px;
  }

  .hero-footer {
    padding: 0 28px 24px 28px;
  }
}

@media (max-width: 1100px) {
  .hero-header.glassy-nav {
    width: calc(100% - 48px);
    top: 16px;
    left: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 9px 12px 9px 16px;
    border-radius: 22px;
    overflow: hidden;
    transition: width 0.35s ease, left 0.35s ease, padding 0.35s ease, border-radius 0.35s ease, background 0.35s ease;
  }

  .hero-header.glassy-nav.is-menu-open {
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(19, 31, 46, 0.94), rgba(12, 22, 35, 0.92));
  }

  .brand-logo {
    width: clamp(100px, 31vw, 138px);
    min-width: 0;
  }

  .btn-enquire {
    padding: 9px 12px;
    font-size: 8px;
  }

  .mobile-menu-toggle {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    z-index: 3;
  }

  .hero-header.glassy-nav .nav-menu {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: max-height 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), padding 0.3s ease, opacity 0.22s ease, transform 0.3s ease, visibility 0s linear 0.38s;
  }

  .hero-header.glassy-nav.is-menu-open .nav-menu {
    max-height: 280px;
    padding: 8px 2px 2px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .hero-header.glassy-nav .nav-link {
    min-height: 46px;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 9px;
    letter-spacing: 0.13em;
  }

  .hero-header.glassy-nav.is-below-hero.is-menu-open .nav-link,
  .hero-header.glassy-nav.is-below-hero.is-menu-open .nav-link:hover,
  .hero-header.glassy-nav.is-below-hero.is-menu-open .nav-link.active {
    color: #FFFFFF;
    text-shadow: 0 2px 7px rgb(0 0 0 / 0.62);
  }

  .hero-header.glassy-nav .nav-link .link-wave {
    width: 30px;
  }

  .hero-header.glassy-nav .header-action {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: max-height 0.32s ease, opacity 0.22s ease, transform 0.3s ease, visibility 0s linear 0.32s;
  }

  .hero-header.glassy-nav .header-action .btn-enquire {
    width: 100%;
    justify-content: space-between;
  }

  .hero-header.glassy-nav.is-menu-open .header-action {
    max-height: 60px;
    padding-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .hero-header.glassy-nav .nav-glass-backdrop {
    opacity: 0.7;
  }

}

@media (max-width: 900px) {
  .hero-editorial {
    top: 98px;
    bottom: auto;
    height: 51%;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    padding: 0 clamp(20px, 5vw, 34px);
  }

  .editorial-title {
    font-size: clamp(38px, 8.5vw, 62px);
    margin-bottom: 14px;
  }

  .editorial-desc {
    max-width: 44ch;
    margin-bottom: 20px;
    font-size: clamp(11px, 2.8vw, 13px);
  }

  .editorial-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
    padding: 11px 0;
  }

  .spec-separator {
    display: none;
  }

  .spec-label {
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .spec-value {
    font-size: clamp(10px, 2.8vw, 12px);
    letter-spacing: 0;
  }

  .editorial-counter {
    margin-bottom: 12px;
  }

  .counter-badge {
    padding: 4px 10px;
    font-size: 7px;
  }

  .editorial-actions {
    gap: 10px;
  }

  .btn-primary {
    gap: 8px;
    padding: 12px 15px;
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .btn-primary svg {
    width: 13px;
    height: 13px;
  }

  .btn-film {
    gap: 7px;
    padding: 10px 4px;
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .film-icon {
    font-size: 8px;
  }

  .hero-viewport {
    width: 100%;
    height: 100svh;
    min-height: 740px;
    max-height: 1000px;
  }

  .split-reveal-container {
    width: 100%;
    height: 100%;
  }

  .split-image-layer {
    background-position: center 58%;
  }

  .split-inner-shadow {
    box-shadow: inset 0 18px 35px rgba(0, 0, 0, 0.4);
  }

  .hero-footer {
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(16px, 5vw, 28px) 18px;
  }

  .footer-status {
    display: none;
  }

  .footer-controls {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-arrow {
    width: 38px;
    height: 38px;
  }

  .slide-pills {
    flex: 1;
    justify-content: center;
  }

  .slide-pill {
    width: 22px;
  }

  .slide-pill.active {
    width: 38px;
  }
}

@media (max-width: 520px) {
  .hero-header.glassy-nav {
    width: calc(100% - 28px);
    left: 14px;
    gap:0px;
  }
  .brand-logo img{
    width: 90%;
  }

  .hero-editorial {
    top: 90px;
    height: 54%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .editorial-title {
    font-size: clamp(36px, 9vw, 48px);
  }

  .editorial-desc {
    line-height: 1.5;
  }

  .editorial-actions {
    flex-wrap: wrap;
  }

  .btn-film {
    font-size: 7px;
  }

  .hero-footer {
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
}