/* ==========================================================================
   Piramal Vaikunth — Landing Page
   Figma: Piramal_14th July (1920 canvas)
   ========================================================================== */

:root {
  --c-light: #eeece8; /* light section bg */
  --c-navy: #0f2238; /* dark section bg */
  --c-gold-deep: #78612c; /* deep gold / brown */
  --c-gold: #e8b86e; /* light gold */
  --c-cream: #f4ecdf; /* cream text on navy */
  --c-ink: #3c3c3a; /* body text */
  --c-btn-cream: #fffbf5;
  --grad-gold: linear-gradient(90deg, #c99f64 0%, #a37f48 184.76%);
  --grad-cta: linear-gradient(90deg, #78612c 20.405%, #e8b86e 107.63%);

  --ff-sans: "Manrope", sans-serif;
  --ff-serif: "Fraunces", serif;

  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: auto;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--ff-sans);
  font-size: 16px;
  color: var(--c-ink);
  background: var(--c-light);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* ---------- shared type ---------- */

.section-title {
  font-size: clamp(34px, 3.125vw, 60px); /* 60 @1920 */
  line-height: normal;
  color: var(--c-gold-deep);
  margin: 0;
}
.section-title .ff-sans {
  font-family: var(--ff-sans);
  font-weight: 400;
}
.section-title .ff-serif-italic {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-style: italic;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
}
.section-title .cream {
  color: var(--c-cream);
}
.section-title .gold {
  color: var(--c-gold);
}
.section-title .white {
  color: #fff;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad-gold);
  flex: 0 0 auto;
}
.eyebrow-dot.gold {
  background: var(--c-gold);
}
.eyebrow-dot.navy {
  background: var(--grad-gold);
}
.eyebrow-text {
  font-size: 18px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #0f2238;
  line-height: normal;
}
.eyebrow-text.gold {
  color: var(--c-gold);
}
.eyebrow-text.navy {
  color: #0f2238;
}

/* decorative floral cut-outs */
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: translateY(0);
  /* solid navy header by default (same blue as the scrolled state) */
  background: var(--c-navy);
  box-shadow: 0 10px 40px rgba(6, 16, 28, 0.45);
  transition:
    transform 0.55s var(--ease-luxe),
    background 0.45s var(--ease-luxe),
    box-shadow 0.45s var(--ease-luxe);
}
.site-header.is-hidden {
  transform: translateY(-110%);
}
.site-header.is-scrolled {
  background: rgba(15, 34, 56, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(6, 16, 28, 0.45);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 100px;
  position: relative;
  transition: padding 0.45s var(--ease-luxe);
}
.site-header.is-scrolled .header-inner {
  padding: 14px 100px 14px;
}
.site-header.is-scrolled .brand-logo {
  width: 120px;
}
.site-header.is-scrolled .main-nav {
  top: 50%;
  transform: translate(-50%, -50%);
}
.brand-logo {
  transition: width 0.45s var(--ease-luxe);
}
.brand-logo {
  width: 160px;
  height: auto;
  display: block;
}

.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav-link-item {
  font-family: var(--ff-sans);
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.3s var(--ease-luxe);
}
.nav-link-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease-luxe);
}
.nav-link-item:hover {
  color: var(--c-gold);
}
.nav-link-item:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color:var(--c-light);
  font-family: var(--ff-serif);
  font-weight: 300;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 29px;
  transition:
    background 0.35s var(--ease-luxe),
    color 0.35s var(--ease-luxe);
    border: 1px solid var(--c-light);
}
.btn-contact:hover {
  background: var(--c-gold);
  color: #0f2238;
}

/* ---------- premium hamburger ---------- */

.hamburger {
  --hb-color: #fff;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 251, 245, 0.08);
  border: 1px solid rgba(255, 251, 245, 0.35);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition:
    border-color 0.4s var(--ease-luxe),
    background 0.4s var(--ease-luxe);
}
.hamburger:hover {
  border-color: var(--c-gold);
  background: rgba(232, 184, 110, 0.12);
}
.hamburger-box {
  width: 22px;
  height: 14px;
  position: relative;
  display: block;
}
.hamburger-line {
  position: absolute;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--hb-color);
  transition:
    width 0.45s var(--ease-luxe),
    transform 0.45s var(--ease-luxe),
    opacity 0.3s;
}
.hamburger .line-1 {
  top: 0;
  width: 22px;
}
.hamburger .line-2 {
  top: 6px;
  width: 15px;
}
.hamburger .line-3 {
  top: 12px;
  width: 22px;
}
.hamburger:hover .line-2 {
  width: 22px;
}

/* ---------- offcanvas mobile menu ---------- */

.mobile-menu {
  --bs-offcanvas-width: 100vw; /* full-width premium menu */
  background: var(--c-navy);
  color: var(--c-cream);
  border-left: 0;
  transition: transform 0.6s var(--ease-luxe);
}
.mobile-menu .offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(232, 184, 110, 0.18);
}
.mobile-menu .menu-close {
  margin-left: auto;
  flex: 0 0 auto;
}
.mobile-menu-logo {
  width: 120px;
  height: auto;
}
.menu-close {
  width: 46px;
  height: 46px;
  position: relative;
  background: transparent;
  border: 1px solid rgba(244, 236, 223, 0.35);
  border-radius: 50%;
  cursor: pointer;
  transition:
    border-color 0.35s var(--ease-luxe),
    transform 0.35s var(--ease-luxe);
}
.menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--c-cream);
  transition: background 0.3s;
}
.menu-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.menu-close:hover {
  border-color: var(--c-gold);
  transform: rotate(90deg);
}
.menu-close:hover span {
  background: var(--c-gold);
}

.mobile-menu .offcanvas-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 32px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--ff-serif);
  font-weight: 300;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
  font-size: 28px;
  color: var(--c-cream);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244, 236, 223, 0.12);
  opacity: 0;
  transform: translateY(24px);
  transition:
    color 0.35s var(--ease-luxe),
    padding-left 0.35s var(--ease-luxe);
}
.mobile-nav-link em {
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--c-gold);
}
.mobile-nav-link::after {
  content: "";
  width: 22px;
  height: 22px;
  margin-left: auto;
  flex: 0 0 auto;
  background: url("../assets/icons/arrow-lg.svg") center / contain no-repeat;
  transform: rotate(90deg);
  transition: transform 0.35s var(--ease-luxe);
}
.mobile-nav-link:hover {
  color: var(--c-gold);
  padding-left: 8px;
}
.mobile-nav-link:hover::after {
  transform: rotate(90deg) translateY(-6px);
}
.mobile-menu.show .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s var(--ease-luxe),
    transform 0.7s var(--ease-luxe),
    color 0.35s var(--ease-luxe),
    padding-left 0.35s var(--ease-luxe);
}
.mobile-menu.show .mobile-nav-link:nth-child(1) {
  transition-delay: 0.15s;
}
.mobile-menu.show .mobile-nav-link:nth-child(2) {
  transition-delay: 0.23s;
}
.mobile-menu.show .mobile-nav-link:nth-child(3) {
  transition-delay: 0.31s;
}
.mobile-menu.show .mobile-nav-link:nth-child(4) {
  transition-delay: 0.39s;
}
.mobile-menu.show .mobile-nav-link:nth-child(5) {
  transition-delay: 0.47s;
}
.mobile-menu-footer {
  margin-top: 40px;
}
.mobile-menu-note {
  margin: 18px 0 0;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(244, 236, 223, 0.5);
  text-align: center;
}
.offcanvas-backdrop.show {
  opacity: 0.65;
  backdrop-filter: blur(2px);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1080;
  overflow: hidden;
  background: #274a68;
  /* clear the fixed header so the banner sits fully below it
     (a hair under header height so the solid header always overlaps — no white seam) */
  margin-top: 100px;
}
.hero picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   REGISTER YOUR INTEREST
   ========================================================================== */

.register-section {
  position: relative;
  background: var(--c-light);
  padding: 46px 0 67px;
  overflow: hidden;
  /* the form lives in a centred 1311px column; --reg-free is the empty gutter
     left over beside it (minus a breathing gap). the floral bleeds are pinned
     inside that gutter so they can never sit over a field or the submit button
     — as the viewport narrows they slide off the edge instead of inwards. */
  --reg-max: 1311px;
  --reg-pad: 20px;
  --reg-deco-gap: 16px;
  --reg-free: calc(
    max(0px, (100% - var(--reg-max)) / 2) + var(--reg-pad) - var(--reg-deco-gap)
  );
}
.deco-register-left {
  left: min(0px, calc(var(--reg-free) - 100px));
  top: 163px;
  width: 100px;
  transform: scaleY(-1);
}
.deco-register-right {
  right: min(3.4%, calc(var(--reg-free) - 154px));
  top: 31%;
  width: 154px;
  transform: rotate(-11.06deg);
}
.register-inner {
  position: relative;
  z-index: 2;
  max-width: var(--reg-max);
  margin: 0 auto;
  padding: 0 var(--reg-pad);
}
/* desktop: fields + submit share a row (Figma), consent sits below;
   stacked layouts put the consent ABOVE the submit button */
.register-form {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 201px;
  grid-template-areas: "fields submit" "consent consent";
  column-gap: 90px;
  align-items: start;
}
.form-fields {
  grid-area: fields;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.register-form .btn-submit {
  grid-area: submit;
}
.consent {
  grid-area: consent;
}
.input-underline {
  width: 280px;
  height: 60px;
  border-bottom: 1px solid var(--c-ink);
  position: relative;
  transition: border-color 0.3s;
}
.input-underline.is-invalid {
  border-bottom-color: #c0392b;
}
.field-error {
  position: absolute;
  left: 0;
  top: 100%;
  padding: 4px 0 0 11px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.3px;
  color: #c0392b;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.3s var(--ease-luxe),
    transform 0.3s var(--ease-luxe);
  pointer-events: none;
  white-space: nowrap;
}
.input-underline.is-invalid .field-error {
  opacity: 1;
  transform: translateY(0);
}
.input-underline input {
  width: 100%;
  height: 40px;
  margin-top: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--ff-sans);
  font-size: 16px;
  color: var(--c-ink);
  padding: 20px 0 0 11px;
}
.input-underline input::placeholder {
  color: var(--c-ink);
  opacity: 1;
  white-space: pre;
}
.btn-submit {
  width: 201px;
  height: 60px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--c-ink);
  font-family: var(--ff-sans);
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c-ink);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease-luxe);
  z-index: 1;
}
.btn-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-navy);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease-luxe);
}
.btn-submit:hover {
  color: var(--c-cream);
}
.btn-submit:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}
.btn-submit.is-loading {
  pointer-events: none;
  color: transparent;
}
.btn-submit.is-loading .submit-arrow {
  opacity: 0;
}
.btn-submit.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid rgba(15, 34, 56, 0.25);
  border-top-color: var(--c-ink);
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  z-index: 2;
}
@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-submit:hover .submit-arrow {
  filter: invert(92%) sepia(11%) saturate(348%) hue-rotate(357deg)
    brightness(103%);
  transform: translateX(4px);
}
.submit-arrow {
  width: 18.4px;
  height: 18.4px;
  transform: rotate(90deg);
  transition:
    transform 0.4s var(--ease-luxe),
    filter 0.4s;
}
.btn-submit:hover .submit-arrow {
  transform: rotate(90deg) translateY(-4px);
}

.consent {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 40px 0 0;
  cursor: pointer;
}
.consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.consent-box {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  border: 1px solid rgba(51, 51, 51, 0.4);
  position: relative;
  transition:
    background 0.3s var(--ease-luxe),
    border-color 0.3s;
}
.consent input:checked + .consent-box {
  background: var(--c-gold-deep);
  border-color: var(--c-gold-deep);
}
.consent input:checked + .consent-box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fffbf5;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.consent-text {
  font-size: 14px;
  line-height: 30px;
  letter-spacing: 1px;
  color: #333;
  white-space: nowrap;
}
.consent-link {
  color: var(--c-gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-link:hover {
  color: var(--c-gold-deep);
}

/* ==========================================================================
   THE STORY
   ========================================================================== */

.story-section {
  position: relative;
  background: var(--c-light);
  padding: 75px 0 78px;
  overflow: hidden;
}
.deco-story-left {
  left: 0;
  top: 421px;
  width: 65px;
  transform: scaleX(-1);
}
.story-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 100px;
  position: relative;
  z-index: 2;
}
.story-content {
  width: 772px;
  max-width: 100%;
}
.story-title {
  font-size: clamp(32px, 2.865vw, 55px);
}
.story-tagline {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
  font-size: 22px;
  color: var(--c-gold-deep);
  margin: 20px 0 0 0px;
}
.story-para {
  font-size: 16px;
  line-height: normal;
  color: var(--c-ink);
  width: 558px;
  max-width: 100%;
  margin: 36px 0 0 0px;
}
.story-media {
  position: relative;
  width: 772px;
  max-width: 100%;
  flex: 0 0 auto;
}
.story-swiper {
  width: 100%;
}
.story-img {
  width: 100%;
  aspect-ratio: 772 / 624;
  object-fit: cover;
  object-position: 50% 74%;
  display: block;
}
.remove-left-b{
  border-left: none !important;
}
.story-media .story-dots {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  transform: none;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.story-dots .swiper-pagination-bullet {
  width: 9.66px;
  height: 9.66px;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0.85;
  display: block;
  cursor: pointer;
  transition:
    width 0.35s var(--ease-luxe),
    height 0.35s var(--ease-luxe),
    opacity 0.35s var(--ease-luxe);
}
.story-dots .swiper-pagination-bullet-active {
  width: 16px;
  height: 16px;
  opacity: 1;
}
/* story slider arrows overlay the image edges */
.story-prev {
  left: 20px;
}
.story-next {
  right: 20px;
}
.story-prev,
.story-next {
  background: rgba(15, 34, 56, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.story-prev img,
.story-next img {
  filter: brightness(0) invert(1);
}
.story-prev:hover img,
.story-next:hover img {
  filter: brightness(0);
}
/* keep story arrows overlaid on the image at every breakpoint */
.story-media .story-prev,
.story-media .story-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* five stats on one line, content-sized tracks spread edge to edge so the
   first column stays flush with the copy above it */
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: space-between;
  align-items: stretch;
  column-gap: 24px;
  row-gap: 40px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
  padding: 0 12px;
}
.stat {
  border-left: 1px solid rgba(60, 60, 58, 0.25);
  padding: 12px 0 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-width: 0;
}
/* first item of a row: no divider, flush to the grid edge */
.stat:first-child,
.stat.remove-left-b {
  border-left: none;
  padding-left: 0;
}
.stat-value {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: normal;
  white-space: nowrap;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: 16px;
  line-height: 23px;
  color: var(--c-ink);
}

/* ==========================================================================
   PHASE II
   ========================================================================== */

.phase2-section {
  position: relative;
  background: var(--c-navy);
  min-height: 655px;
  overflow: hidden;
}
.deco-phase2-top {
  right: 0;
  top: 0;
  width: 220px;
  /* flower's hard-cut edge sits at the section's right/top border; fade the inner (bottom) edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
}
.deco-phase2-mid {
  left: 39.84%;
  top: 62.7%;
  width: 97px;
  opacity: 0.5;
  transform: rotate(-26.89deg);
}
.deco-phase2-bottom {
  left: 0;
  top: auto;
  bottom: 0;
  width: 195px;
  /* flower's hard-cut edge sits at the section's left/bottom border; fade the inner (top) edge */
  -webkit-mask-image: linear-gradient(to top, #000 52%, transparent 100%);
  mask-image: linear-gradient(to top, #000 52%, transparent 100%);
}

.phase2-inner {
  position: relative;
  z-index: 2;
  min-height: 655px;
}
.phase2-left {
  padding: 100px 0 0 100px;
  width: 727px;
  max-width: 100%;
}
.phase2-left .section-title {
  max-width: 627px;
}
.phase2-para {
  font-size: 16px;
  line-height: 34px;
  color: var(--c-cream);
  width: 468px;
  max-width: 100%;
  margin: 50px 0 0 100px;
}
.phase2-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    height: 55px;
    margin: 70px 0 0 100px;
    padding: 0 34px;
    background: transparent;
    border: 1.5px solid var(--c-gold);
    border-radius: 999px;
    text-align: center;
    cursor: pointer;
    font-family: var(--ff-sans);
    font-weight: 500;
    font-size: 20px;
    line-height: normal;
    letter-spacing: 0.4px;
    color: var(--c-gold);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition:
      color 0.4s var(--ease-luxe),
      background 0.4s var(--ease-luxe),
      border-color 0.4s var(--ease-luxe),
      box-shadow 0.4s var(--ease-luxe);
}
.phase2-cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-luxe);
}
.phase2-cta:hover::after {
  left: 130%;
}
.phase2-cta:hover {
  background: var(--grad-cta);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 30px rgba(232, 184, 110, 0.25);
}

.phase2-features {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.feature {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
}
.feature-icon {
  height: 45px;
  width: auto;
}
.feature-label {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
  font-size: 30px;
  line-height: normal;
  color: var(--c-gold);
  margin: 45px 0 0; /* 70 offset - 45 icon = 25 gap handled by flex gap; keep 0 */
  margin-top: 0;
}
.feature-1 {
  left: 46.2%;
  top: 126px;
  width: 271px;
}
.feature-2 {
  left: 57.3%;
  top: 412px;
  width: 250px;
}
.feature-3 {
  left: 69.15%;
  top: 160px;
  width: 250px;
}
.feature-4 {
  left: 80.7%;
  top: 412px;
  width: 222px;
}

/* ==========================================================================
   TABS (Gallery + Amenity)
   ========================================================================== */

.tabs {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tabs-list {
  display: flex;
  align-items: center;
}
.tab-link {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--ff-sans);
  font-size: 18px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.35s var(--ease-luxe),
    opacity 0.35s;
}
.tabs-track {
  position: relative;
  height: 1px;
  margin-top: 30px;
}
.tabs-indicator {
  position: absolute;
  top: -1.5px;
  height: 3px;
  transition:
    left 0.5s var(--ease-luxe),
    width 0.5s var(--ease-luxe);
}

.gallery-tabs .tabs-list {
  gap: 100px;
}
.gallery-tabs .tab-link {
  color: var(--c-gold-deep);
  opacity: 0.75;
}
.gallery-tabs .tab-link.active {
  opacity: 1;
}
.gallery-tabs .tabs-track {
  width: 552px;
  max-width: 86vw;
  background: rgba(120, 97, 44, 0.35);
}
.gallery-tabs .tabs-indicator {
  background: var(--c-gold-deep);
}

.amenity-tabs {
  margin-top: 71px;
}
.amenity-tabs .tabs-list {
  gap: 60px;
}
.amenity-tabs .tab-link {
  color: var(--c-cream);
}
.amenity-tabs .tab-link.active {
  color: var(--c-gold);
}
.amenity-tabs .tabs-track {
  width: 804px;
  max-width: 88vw;
  background: rgba(244, 236, 223, 0.35);
}
.amenity-tabs .tabs-indicator {
  background: var(--c-gold);
}

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery-section {
  position: relative;
  background: var(--c-light);
  padding: 4rem 0;
  overflow: hidden;
}
.gallery-title {
  margin-bottom: 60px;
}
.gallery-section .tabs {
  margin-bottom: 0;
}

.gallery-stage {
  position: relative;
  width: 1398px;
  max-width: calc(100% - 160px);
  margin: 60px auto 0;
}
.gallery-swiper {
  position: relative;
  z-index: 3;
  border-radius: 12px;
  aspect-ratio: 1398 / 632;
}
.gallery-swiper .swiper-slide {
  border-radius: 12px;
  overflow: hidden;
}
.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* "Artistic Impression" disclaimer badge overlaid on the gallery visual */
.artistic-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;
  padding: 7px 16px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}

/* circular arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--c-gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition:
    background 0.4s var(--ease-luxe),
    transform 0.4s var(--ease-luxe);
}
.slider-arrow img {
  width: 16px;
  height: 16px;
  transition: filter 0.35s;
}
.arrow-prev img {
  transform: rotate(-90deg);
}
.arrow-next img {
  transform: rotate(90deg);
}
.slider-arrow:hover {
  background: var(--c-gold-deep);
}
.gallery-stage .slider-arrow {
  top: 50%;
}
/* circles overlay the image near its edges, clear of the screen edge */
.gallery-prev {
  left: 24px;
}
.gallery-next {
  right: 24px;
}
.gallery-prev,
.gallery-next {
  background: rgba(15, 34, 56, 0.28);
  border-color: rgba(244, 236, 223, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.gallery-prev img,
.gallery-next img {
  filter: brightness(0) invert(1);
}
/* on hover the circle fills gold, glyph goes dark */
.gallery-prev:hover,
.gallery-next:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
}
.gallery-prev:hover img,
.gallery-next:hover img {
  filter: brightness(0);
}

.slider-arrow.dark {
  border-color: rgba(244, 236, 223, 0.9);
}
.slider-arrow.dark:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
}
.slider-arrow.dark:hover img {
  filter: brightness(0);
} /* cream glyph reads dark on gold */

/* ==========================================================================
   AMENITIES
   ========================================================================== */

.amenity-section {
  position: relative;
  background: var(--c-navy);
  padding: 70px 0 90px;
  overflow: hidden;
}
.amenity-texture {
  position: absolute;
  inset: 0;
  background: url("../assets/images/decor/texture.webp") center / cover no-repeat;
  opacity: 0.03;
  pointer-events: none;
}
.deco-amenity-right {
  right: 0;
  top: 126px;
  width: 140px;
}
.deco-amenity-left {
  left: 0;
  top: 76.2%;
  width: 70px;
  transform: scaleX(-1);
}

.amenity-inner {
  position: relative;
  z-index: 2;
  max-width: 1346px;
  margin: 0 auto;
  padding: 0 24px;
}
.amenity-inner .eyebrow {
  justify-content: center;
}
.amenity-inner .section-title {
  margin-top: 0;
}
.amenity-para {
  font-size: 16px;
  line-height: 34px;
  color: var(--c-cream);
  text-align: center;
  margin: 30px 0 0;
  /* keep text clear of the right-edge flower decoration (140px wide) */
  padding: 0 150px;
}

.amenity-stage {
  position: relative;
  z-index: 2;
  width: 1420px;
  max-width: calc(100vw - 120px);
  margin: 90px auto 0;
}
.amenity-swiper {
  width: 100%;
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 65px;
  row-gap: 78px;
  justify-items: center;
  width: 1320px;
  max-width: 100%;
  margin: 0 auto;
}
/* Cluster Specific tab: 5 items on a single row (5×212 + 4×65 = 1320px) */
.amenity-grid--cluster {
  grid-template-columns: repeat(5, 1fr);
}
.amenity-item {
  width: 212px;
  text-align: center;
}
.amenity-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.amenity-icon img {
  max-height: 80px;
  width: auto;
  max-width: 93px;
}
.amenity-item p {
  margin: 38px 0 0;
  font-size: 16px;
  line-height: 34px;
  color: var(--c-cream);
  white-space: nowrap;
}
.amenity-prev {
  left: -51px;
}
.amenity-next {
  right: -51px;
}

/* ==========================================================================
   LOCATION
   ========================================================================== */

.location-section {
  position: relative;
  background: var(--c-light);
  padding: 65px 100px 65px;
  overflow: hidden;
}
.location-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}
.location-head-left {
  width: 830px;
  max-width: 100%;
}
.location-para {
    /* width: 648px; */
    max-width: 100%;
    font-size: 16px;
    line-height: 26px;
    color: var(--c-ink);
    margin: 50px 0 0;
}
.location-body {
  display: flex;
  gap: 70px;
  margin-top: 100px;
  align-items: stretch;
}
.location-accordion {
  width: 721px;
  flex: 0 0 auto;
  border: 1px solid var(--c-gold-deep);
  padding: 40px;
}
.location-accordion .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
}
.loc-item {
  background: transparent;
  border: 0;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(120, 97, 44, 0.35);
}
.loc-item:last-child {
  border-bottom: 0;
}
.loc-header {
  margin: 0;
}
.loc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  background: transparent;
  border: 0;
  padding: 26px 20px;
  cursor: pointer;
  text-align: left;
}
.loc-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
}
.loc-title {
  font-family: var(--ff-sans);
  font-size: 26px;
  color: var(--c-gold-deep);
  text-transform: capitalize;
  line-height: normal;
  flex: 1 1 auto;
}
.loc-chevron {
  color: var(--c-gold-deep);
  flex: 0 0 auto;
  transition: transform 0.45s var(--ease-luxe);
}
.loc-toggle[aria-expanded="true"] .loc-chevron {
  transform: rotate(180deg);
}
.loc-list {
  list-style: disc;
  margin: 0;
  padding: 0 20px 30px 104px;
}
.loc-list li {
  color: var(--c-gold-deep);
  font-size: 16px;
  line-height: 32px;
  display: list-item;
}
.loc-place {
  font-family: var(--ff-sans);
}
.loc-sep {
  margin: 0 12px;
}
.loc-time {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
  margin-left: 0;
}
.location-map {
  flex: 1 1 auto;
  min-width: 0;
}
.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   LEGACY BAND
   ========================================================================== */

.legacy-section {
  position: relative;
  background: var(--c-navy);
  padding: 85px 0 85px;
  overflow: hidden;
}
/* custom band rebuilt in HTML/CSS (border box + 2 dividers + stats text + ribbon + logo) */
.legacy-band {
  width: 1258px;
  max-width: calc(100vw - 120px);
  margin: 0px auto 0;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.legacy-part {
  display: flex;
  align-items: center;
  justify-content: center;
}
.legacy-sep {
  flex: 0 0 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.5);
}
.legacy-stats {
  flex: 0 0 38.06%; /* matches the SVG's first divider at x=479.6/1260 */
  justify-content: flex-start;
  padding: 0 clamp(16px, 2.2vw, 42px);
}
.legacy-stats-text {
    width: 100%;
    flex-direction: column;
    display: flex;
    /* width: max-content; */
    justify-content: center;
    text-align: center;
    /* max-width: 100%; */
    align-items: center;
}
.legacy-stats p {
  font-family: "Graphik Wide Trial", "Graphik Wide", var(--ff-sans);
  margin: 0;
  color: #fff;
  font-weight: 500;
  font-size: clamp(10px, 1.15vw, 17px);
  letter-spacing: 0.04em;
  /* text-align: center */
  /* line-height: 2.3; */
  /* both lines start and end on the same edges */
  /* text-align: justify;
  text-align-last: justify; */
}
.for-equal-line{
  font-size: 20px !important;
}
.legacy-ribbon {
  flex: 1 1 auto; /* middle section */
  padding: clamp(20px, 2.5vw, 34px) clamp(16px, 2.3vw, 32px);
}
.legacy-ribbon img {
  width: 100%;
  max-width: 522px;
  height: auto;
  display: block;
}
.legacy-logo {
  flex: 0 0 15.25%; /* matches the SVG's second divider at x=1067/1260 */
  padding: clamp(16px, 2.3vw, 30px) 16px;
}
.legacy-logo img {
  width: 100%;
  max-width: 139px;
  height: auto;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--c-light);
  padding: 110px 0 0;
  overflow: hidden;
}
.footer-texture {
  position: absolute;
  left: 0;
  right: 0;
  top: -387px;
  height: 1028px;
  background: url("../assets/images/decor/texture.webp") center / cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
}
.deco-footer-right {
  right: 3.6%;
  top: 88px;
  width: 120px;
  transform: rotate(56.74deg);
}
.deco-footer-left {
  left: 7.5%;
  top: 144px;
  width: 86px;
}

.footer-inner {
  position: relative;
  z-index: 2;
}
.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-qr img {
  width: 120px;
  height: 120px;
}
.footer-qr-caption {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: #242424;
  text-align: center;
}
.footer-disclaimer {
  width: 1720px;
  max-width: calc(100vw - 60px);
  margin: 73px auto 0;
  font-size: 14px;
  line-height: 26px;
  color: #242424;
  text-align: center;
}
.footer-bottom {
  position: relative;
  z-index: 2;
  margin-top: 43px;
}
.footer-bottom-line {
  height: 1px;
  background: rgba(120, 97, 44, 0.35);
  opacity: 0.8;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 100px 30px;
}
.footer-copy {
  /* Figma: Myriad Pro — not web-licensed; falls back to Manrope */
  font-family: "Myriad Pro", var(--ff-sans);
  margin: 0;
  font-size: 18px;
  color: var(--c-gold-deep);
  text-transform: capitalize;
}
.footer-credit::before {
  font-family: "Myriad Pro", var(--ff-sans);
}
.footer-credit {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-credit::before {
  content: "Created BY";
  font-size: 16px;
  line-height: 24px;
  color: var(--c-gold-deep);
}
.footer-credit img {
  width: 62px;
  height: auto;
}

/* ==========================================================================
   ENQUIRY MODAL (premium)
   ========================================================================== */

.enquiry-modal .modal-dialog {
  max-width: 560px;
}
.enquiry-modal .modal-content {
  background: var(--c-btn-cream);
  border: 1px solid rgba(120, 97, 44, 0.4);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(15, 34, 56, 0.35);
}
.modal.fade .modal-dialog {
  transform: translateY(30px) scale(0.97);
  transition: transform 0.5s var(--ease-luxe);
}
.modal.show .modal-dialog {
  transform: none;
}
.modal-backdrop.show {
  opacity: 0.6;
}

.enquiry-deco {
  position: absolute;
  top: -22px;
  right: -18px;
  width: 110px;
  transform: rotate(160deg);
  opacity: 0.8;
  pointer-events: none;
}
.enquiry-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  border-color: rgba(120, 97, 44, 0.5);
  background: var(--c-btn-cream);
}
.enquiry-close span {
  background: var(--c-gold-deep);
}
.enquiry-close:hover {
  border-color: var(--c-gold-deep);
}
.enquiry-close:hover span {
  background: var(--c-gold-deep);
}

.enquiry-body {
  padding: 48px 52px 52px;
  position: relative;
  z-index: 2;
}
.enquiry-body .eyebrow {
  margin-bottom: 14px;
}
.enquiry-body .eyebrow-text {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--c-navy);
}
.enquiry-title {
  font-size: 38px;
}
.enquiry-form {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.enquiry-form .input-underline {
  width: 100%;
  height: 56px;
}
.enquiry-form .btn-submit {
  margin-top: 14px;
}

@media (max-width: 575.98px) {
  .enquiry-body {
    padding: 40px 26px;
  }
  .enquiry-title {
    font-size: 30px;
  }
  .enquiry-modal .modal-dialog {
    margin: 16px;
  }
}

/* ==========================================================================
   FANCYBOX
   ========================================================================== */

[data-fancybox] {
  cursor: zoom-in;
  display: block;
}
.gallery-swiper [data-fancybox],
.gallery-swiper [data-fancybox] img {
  width: 100%;
  height: 100%;
}
.fancybox__backdrop {
  background: rgba(15, 34, 56, 0.94);
}
.fancybox__caption {
  font-family: var(--ff-sans);
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--c-cream);
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */

.thankyou-page {
  background: var(--c-navy);
}
.thankyou-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--c-navy);
  overflow: hidden;
  padding: 60px 24px 90px;
}
.thankyou-texture {
  position: absolute;
  inset: 0;
  background: url("../assets/images/decor/texture.webp") center / cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
}
.deco-thankyou-right {
  right: 0;
  top: 8%;
  width: 150px;
}
.deco-thankyou-left {
  left: 4%;
  bottom: 10%;
  width: 110px;
  transform: scaleX(-1) rotate(15deg);
}

.thankyou-card {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}
.thankyou-brand {
  display: inline-block;
  margin-bottom: 56px;
}
.thankyou-brand img {
  width: 170px;
  height: auto;
}

.thankyou-check {
  width: 86px;
  height: 86px;
  margin: 0 auto 38px;
  border: 1px solid var(--c-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  animation: checkPop 0.8s var(--ease-luxe) both 0.2s;
}
@keyframes checkPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.thankyou-title {
  font-size: clamp(48px, 4.7vw, 90px);
  color: var(--c-cream);
  margin: 0;
  line-height: normal;
}
.thankyou-title .ff-sans {
  font-family: var(--ff-sans);
  font-weight: 400;
}
.thankyou-title .ff-serif-italic {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-style: italic;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
  color: var(--c-gold);
}
.thankyou-lead {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 1;
  font-size: 25px;
  color: var(--c-gold);
  margin: 26px 0 0;
}
.thankyou-copy {
  font-size: 18px !important;
  line-height: 34px;
  color: var(--c-cream);
  margin: 18px 0 0;
}

.thankyou-back {
  width: auto;
  display: inline-flex;
  margin-top: 48px;
  padding: 0 36px;
  text-decoration: none;
  border-color: var(--c-gold);
  color: var(--c-cream);
}
.thankyou-back:hover {
  color: var(--c-navy);
}
.thankyou-back::before {
  background: var(--c-gold);
}
.thankyou-back .back-arrow {
  transform: rotate(-90deg);
  filter: invert(97%) sepia(6%) saturate(631%) hue-rotate(324deg)
    brightness(102%);
}
.thankyou-back:hover .back-arrow {
  transform: rotate(-90deg) translateY(-4px);
  filter: brightness(0);
}

.thankyou-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  border-top: 1px solid rgba(244, 236, 223, 0.18);
  padding: 20px 24px;
  text-align: center;
}
.thankyou-footer p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: rgba(244, 236, 223, 0.75);
  text-transform: capitalize;
}
.custom-container{
  width: 85vw;
  max-width: 100%;
  margin: auto;
}
/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1749.98px) {
  /* narrower screens: smaller circles, still fully clear of the slider */
  .slider-arrow {
    width: 56px;
    height: 56px;
  }
  .gallery-stage,
  .amenity-stage {
    max-width: calc(100% - 200px);
  }
  .gallery-prev {
    left: 16px;
  }
  .gallery-next {
    right: 16px;
  }
  .amenity-prev {
    left: -40px;
  }
  .amenity-next {
    right: -40px;
  }
}

@media (max-width: 1500px) {
  .header-inner {
    padding: 24px 48px 0;
  }
  .site-header.is-scrolled .header-inner {
    padding: 12px 48px;
  }
  .story-grid {
    padding: 0 48px;
    gap: 48px;
  }
  .story-content {
    width: 50%;
  }
  .deco-phase2-bottom {
    left: 0;
    top: auto;
    bottom: 0;
    width: 90px;
    -webkit-mask-image: linear-gradient(to top, #000 52%, transparent 100%);
    mask-image: linear-gradient(to top, #000 52%, transparent 100%);
}
  /* .story-media {
    width: 46%;
  } */
  /* .story-para {
    margin-left: 120px;
  } */
  .phase2-left {
    padding-left: 48px;
  }
  .phase2-para,
  .phase2-cta {
    margin-left: 48px;
  }
  .location-section {
    padding: 65px 48px;
  }
  .footer-bottom-inner {
    padding: 26px 48px 30px;
  }
  .amenity-grid {
    column-gap: 40px;
    width: 100%;
  }
  .amenity-item {
    width: auto;
  }
}

@media (max-width: 1400px) {
  .phase2-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 90px;
  }
  .phase2-features {
    position: static;
    pointer-events: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 70px 48px 0;
  }
  .feature {
    position: static;
    width: auto !important;
  }
  .feature-label {
    font-size: 24px;
  }
}

/* below xxl the container is too narrow for five stats in a line: drop to a
   3-column grid so the wrapped pair lines up under the first two columns */
@media (max-width: 1399.98px) {
  /* below this the gutter beside the form is only a few px wide — the flowers
     would show as a smudge on the edge, so drop them like the amenity pair */
  .deco-register-left,
  .deco-register-right {
    display: none;
  }
  .stats-row {
    /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
    justify-content: stretch;
    margin-top: 64px;
    row-gap: 36px;
  }
  .stat {
    border-left: 1px solid rgba(60, 60, 58, 0.25);
    padding-left: 24px;
  }
  /* .stat:nth-child(3n + 1) {
    border-left: none;
    padding-left: 0;
  } */
}

@media (max-width: 1199.98px) {
  .main-nav {
    display: none !important;
  }
  .location-body {
    flex-direction: column;
  }
  .location-accordion {
    width: 100%;
  }
  /* .location-map {
    min-height: 420px;
  } */
  .location-para {
    margin-top: 0;
  }
  .location-head {
    flex-direction: column;
    gap: 24px;
  }
  /* stacked form: fields, then consent, then submit */
  .register-form {
    grid-template-columns: 1fr;
    grid-template-areas: "fields" "consent" "submit";
  }
  .register-form .btn-submit {
    justify-self: start;
  }
  .consent {
    margin-top: 32px;
  }
  .register-form .btn-submit {
    margin-top: 28px;
  }
  .form-fields {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .input-underline {
    width: calc(50% - 20px);
  }
}

@media (max-width: 991.98px) {
  /* legacy band stacks vertically, like the original mobile variant */
  .legacy-band {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    padding: 34px 28px;
    max-width: calc(100vw - 48px);
  }
  .legacy-stats {
    flex: none;
    justify-content: center;
    padding: 0;
  }
  .legacy-stats-text {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
  }
  /* .legacy-stats p {
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: normal;
    white-space: normal;
   
    text-align: justify;
    text-align-last: justify;
  } */
.legacy-section .for-equal-line {
    font-size: 14px !important;
}
  /* .legacy-stats p + p {
    margin-top: 10px;
  } */
  .legacy-ribbon,
  .legacy-logo {
    flex: none;
    padding: 0;
  }
  .legacy-ribbon img {
    width: min(320px, 86%);
    max-width: none;
    margin: 0 auto;
  }
  .legacy-logo img {
    width: 112px;
    max-width: none;
    margin: 0 auto;
  }
  .legacy-sep {
    flex: none;
    width: 100%;
    height: 1px;
    align-self: auto;
  }
  .header-inner {
    padding: 10px 24px;
  }
  .site-header.is-scrolled .header-inner {
    padding: 10px 24px;
  }
  .brand-logo {
    width: 120px;
  }
  .hero {
    margin-top: 72px;
  }
  .register-section {
    padding: 60px 0;
  }
  .register-form {
    margin-top: 44px;
  }
  .story-grid {
    flex-direction: column;
  }
  .story-content,
  .story-media {
    width: 100%;
  }
  .story-tagline {
    margin-left: 0;
  }
  .story-para {
    margin-left: 0;
    width: 100%;
  }
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 56px;
    row-gap: 32px;
  }
  .stat:nth-child(3n + 1) {
    border-left: 1px solid rgba(60, 60, 58, 0.25);
    padding-left: 24px;
  }
  .stat:nth-child(2n + 1) {
    border-left: none;
    padding-left: 0;
  }
  .phase2-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .amenity-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 48px;
  }
  .amenity-item p {
    white-space: normal;
  }
  .amenity-stage {
    max-width: calc(100vw - 24px);
  }
  .gallery-stage {
    max-width: calc(100% - 32px);
  }
  /* arrows drop below the slider, centred and smaller */
  .gallery-stage,
  .amenity-stage {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 18px;
  }
  .gallery-swiper,
  .amenity-swiper {
    width: 100%;
    flex: 0 0 100%;
  }
  .slider-arrow,
  .gallery-stage .slider-arrow {
    position: static;
    top: auto;
    transform: none;
    width: 48px;
    height: 48px;
  }
  .slider-arrow img {
    width: 15px;
    height: 15px;
  }
  .consent-text {
    white-space: normal;
    line-height: 24px;
  }
  .footer-disclaimer {
    margin-top: 48px;
  }
  .deco {
    max-width: 12vw;
  }
  /* flowers crowd the narrower text at this width — drop them and reclaim the padding */
  .deco-amenity-right,
  .deco-amenity-left {
    display: none;
  }
  .amenity-para {
    padding: 0 24px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    aspect-ratio: 500 / 800;
    margin-top: 72px;
  }
  .artistic-badge {
    left: 10px;
    bottom: 10px;
    padding: 5px 10px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .register-section {
    padding: 48px 0;
  }
  .form-fields {
    gap: 28px;
  }
  .input-underline {
    width: 100%;
  }
  .btn-submit {
    width: 100%;
  }
  .story-section {
    padding: 56px 0;
  }
  .story-media {
    margin-top: 32px;
  }
  .stats-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 40px;
    padding: 0 12px;
  }
  .stat,
  .stat:nth-child(2n + 1),
  .stat:nth-child(3n + 1) {
    border-left: none;
    border-top: 1px solid rgba(60, 60, 58, 0.25);
    padding: 22px 0;
  }
  .stat:first-child,
  .stat.remove-left-b {
    border-top: none;
    padding-top: 0;
  }
  .stat-value {
    font-size: 26px;
    white-space: normal;
  }
  .phase2-left {
    padding: 64px 24px 0;
    width: 100%;
  }
  .phase2-para,
  .phase2-cta {
    margin-left: 0px;
    margin-right: 24px;
    margin-top: 32px;
    width: auto;
  }
  .phase2-cta {
    font-size: 15px;
    height: 50px;
    padding: 0 28px;
  }
  .phase2-features {
    grid-template-columns: 1fr;
    padding: 44px 24px 0;
    gap: 30px;
  }
  .feature {
    gap: 14px;
  }
  .feature-icon {
    height: 34px;
  }
  .feature-label {
    font-size: 18px;
  }
  .gallery-tabs .tabs-list {
    gap: 40px;
  }
  .amenity-tabs .tabs-list {
    gap: 18px 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* tabs wrap to two lines here — the shared track can't follow them,
     so each tab carries its own underline instead */
  .amenity-tabs .tabs-track {
    display: none;
  }
  .amenity-tabs .tab-link {
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    transition:
      border-color 0.35s var(--ease-luxe),
      color 0.35s var(--ease-luxe);
  }
  .amenity-tabs .tab-link.active {
    border-bottom-color: var(--c-gold);
  }
  .tab-link {
    font-size: 14px;
  }
  /* compact 2-col grid: a 2x2 block of icons fits one screen */
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 20px;
  }
  .amenity-icon {
    height: 54px;
  }
  .amenity-icon img {
    max-height: 54px;
    max-width: 62px;
  }
  .amenity-item {
    width: auto;
  }
  .amenity-item p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 22px;
  }
  .amenity-stage {
    margin-top: 48px;
  }
  .amenity-para {
    line-height: 28px;
  }
  .location-section {
    padding: 48px 24px;
  }
  .location-accordion {
    padding: 16px;
  }
  .loc-title {
    font-size: 20px;
  }
  .loc-list {
    padding-left: 60px;
  }
  .loc-time {
    margin-left: 0;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 16px;
    padding: 22px 24px;
    text-align: center;
  }
  .footer-copy {
    font-size: 15px;
    text-align: center;
  }
  .legacy-section {
    padding: 64px 0;
  }
  .legacy-band {
    max-width: calc(100vw - 48px);
    padding: 30px 22px;
  }
  .legacy-stats p {
    font-size: 12px;
  }
  .legacy-ribbon img {
    max-width: 300px;
  }
  .legacy-logo img {
    max-width: 108px;
  }
  .story-media .story-dots {
    bottom: 12px;
  }
  .deco {
    max-width: 16vw;
  }
  /* move the story flower off the paragraph text into the empty bottom-right corner */
  .deco-story-left {
    top: auto;
    bottom: 24px;
    left: auto;
    right: -6px;
    width: 66px;
    transform: none;
  }
  .custom-container{
  width: 95vw;
 
}
}

/* TEMP-AOS-DEBUG */
[data-aos]{opacity:1 !important;transform:none !important;visibility:visible !important;}
