/* Section - Amenities (consolidated Floating Trump Club editorial spread) */

#section-amenities {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
}

.amn-con {
  max-width: 1360px;
  margin: 0 auto;
  padding: 50px 20px 35px;
}

/* ---------- Masthead row ---------- */

.amn-masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.amn-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.amn-masthead-tag {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.amn-hairline {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 22px;
  background: var(--color-border);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.amn-armed .is-visible .amn-hairline {
  transform: scaleX(1);
}

/* ---------- Main composition (headline/body + hero visual) ---------- */

.amn-composition {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 72px);
}

.amn-text-col {
  flex: 1 1 400px;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  padding-top: 12px;
}

/* Fills the space below the body copy when the hero column runs taller,
   so the asymmetry reads as an intentional architectural line, not a gap. */
.amn-text-col-rule {
  flex: 1 1 auto;
  width: 1px;
  min-height: 56px;
  margin-top: 40px;
  background: var(--color-border);
}

.amn-headline h2 {
  font-family: "Cera Godrej Interio", sans-serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.amn-body {
  margin-top: 32px;
}

.amn-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  font-weight: 400;
}

.amn-body p + p {
  margin-top: 22px;
}

.amn-highlight {
  color: var(--color-gold-light);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------- Feature list: what the club brings together ---------- */

.amn-feature-list {
  list-style: none;
  margin-top: 30px;
  border-top: 1px solid var(--color-border);
}

.amn-feature-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--color-text);
}

.amn-feature-list li::before {
  content: "";
  width: 18px;
  height: 1px;
  margin-top: 2px;
  background: var(--color-gold);
  flex: none;
}

.amn-feature-list-more {
  color: var(--color-text-muted);
  font-style: italic;
}

/* ---------- Hero visual (Indoor Swimming Pool) ---------- */

.amn-visual {
  flex: 1 1 480px;
  max-width: 560px;
  min-width: 0;
}

.amn-hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 7;
  overflow: hidden;
}

.amn-hero-frame::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--color-border);
  z-index: 0;
}

.amn-hero-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.amn-hero-caption {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 3;
  background: rgba(18, 18, 18, 0.82);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 16px;
  white-space: nowrap;
}

/* Secondary image, pulled up over the hero's lower-left corner */

.amn-overlap {
  position: relative;
  width: min(300px, 56%);
  margin-top: -88px;
  margin-left: -28px;
  z-index: 2;
}

.amn-overlap-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
}

.amn-overlap-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Caption label ---------- */

.amn-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.amn-caption::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--color-gold);
  flex: none;
}

/* ---------- Cluster row: Wellness / Cinema / Dining (+ Family inset) ---------- */

.amn-cluster {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(35px, 6vw, 50px);
}

.amn-cluster-item {
  flex: 1 1 0;
  min-width: 0;
}

.amn-cluster-item--1 {
  margin-top: 56px;
}

.amn-cluster-item--2 {
  margin-top: 0;
}

.amn-cluster-item--3 {
  margin-top: 84px;
}

.amn-frame-wrap {
  position: relative;
}

.amn-cluster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.amn-cluster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Family Play Deck - small accent inset, anchored to item 3's frame only
   so it can never collide with the "Fine Dining" caption below it. */

.amn-inset {
  position: absolute;
  right: -26px;
  bottom: -48px;
  width: 44%;
  z-index: 2;
}

.amn-inset-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
}

.amn-inset-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.amn-caption--inset {
  margin-top: 8px;
}

/* ---------- Scroll reveal ---------- */

.amn-armed .amn-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 0.9s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.amn-armed .amn-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.amn-armed .amn-masthead.amn-reveal {
  transition-delay: 0s;
}
.amn-armed .amn-headline.amn-reveal {
  transition-delay: 0.08s;
}
.amn-armed .amn-visual.amn-reveal {
  transition-delay: 0.16s;
}
.amn-armed .amn-body.amn-reveal {
  transition-delay: 0.24s;
}
.amn-armed .amn-feature-list.amn-reveal {
  transition-delay: 0.3s;
}
.amn-armed .amn-cluster-item--1.amn-reveal {
  transition-delay: 0.36s;
}
.amn-armed .amn-cluster-item--2.amn-reveal {
  transition-delay: 0.42s;
}
.amn-armed .amn-cluster-item--3.amn-reveal {
  transition-delay: 0.48s;
}

@media (prefers-reduced-motion: reduce) {
  .amn-armed .amn-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .amn-hairline {
    transform: scaleX(1) !important;
    transition: none !important;
  }
  .amn-hero-frame img {
    transform: none !important;
  }
}

/* ===== TABLET & DESKTOP BREAKPOINT (1200px) ===== */
@media (max-width: 1200px) {
  .amn-con {
    padding: 90px 40px 80px;
  }

  .amn-text-col {
    flex-basis: 340px;
    max-width: 400px;
  }

  .amn-visual {
    max-width: 500px;
  }

  .amn-overlap {
    margin-top: -70px;
    margin-left: -20px;
  }

  .amn-cluster {
    margin-top: clamp(90px, 10vw, 120px);
  }
}

/* ===== TABLET BREAKPOINT (900px) ===== */
@media (max-width: 900px) {
  .amn-con {
    padding: 80px 30px 70px;
  }

  .amn-masthead {
    margin-bottom: 48px;
  }

  .amn-composition {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .amn-text-col-rule {
    display: none;
  }

  .amn-visual {
    order: -1;
    flex-basis: auto;
    width: 100%;
    max-width: none;
  }

  .amn-hero-frame {
    aspect-ratio: 16 / 11;
  }

  .amn-text-col {
    flex-basis: auto;
    max-width: 640px;
    margin-top: 44px;
  }

  .amn-headline h2 {
    max-width: 100%;
  }

  .amn-body {
    max-width: 62ch;
  }

  .amn-cluster {
    margin-top: 90px;
  }

  .amn-cluster-item--1 {
    margin-top: 40px;
  }

  .amn-cluster-item--3 {
    margin-top: 60px;
  }

  .amn-inset {
    right: -16px;
    bottom: -34px;
    width: 42%;
  }
}

/* ===== MOBILE BREAKPOINT (520px) ===== */
@media (max-width: 520px) {
  .amn-con {
    padding: 64px 20px 60px;
  }

  .amn-masthead {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 40px;
  }

  .amn-hairline {
    margin-top: 16px;
  }

  .amn-hero-frame {
    aspect-ratio: 4 / 3.6;
  }

  .amn-hero-frame::before {
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
  }

  .amn-hero-caption {
    left: 16px;
    top: 16px;
    font-size: 10px;
    padding: 9px 14px;
    letter-spacing: 0.14em;
  }

  .amn-overlap {
    width: 60%;
    margin-top: -50px;
    margin-left: -14px;
  }

  .amn-text-col {
    margin-top: 40px;
  }

  .amn-headline h2 {
    font-size: 1.85rem;
    line-height: 1.22;
  }

  .amn-body {
    margin-top: 22px;
  }

  .amn-body p {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .amn-feature-list {
    margin-top: 24px;
  }

  .amn-feature-list li {
    padding: 12px 0;
    font-size: 0.88rem;
    gap: 12px;
  }

  /* Cluster recomposed for mobile: a staggered pair up top, then the
     restaurant image full-width on its own row so the Kids Play Area
     inset has room to sit as an accent instead of crowding the photo. */
  .amn-cluster {
    flex-wrap: wrap;
    margin-top: 64px;
    row-gap: 40px;
    column-gap: 20px;
  }

  .amn-cluster-item--1,
  .amn-cluster-item--2 {
    flex: 1 1 calc(50% - 10px);
    margin-top: 0;
    order: 1;
  }

  .amn-cluster-item--2 {
    margin-top: 28px;
    order: 2;
  }

  .amn-cluster-item--3 {
    flex: 1 1 100%;
    margin-top: 0;
    order: 3;
  }

  .amn-cluster-item--3 .amn-cluster-frame {
    aspect-ratio: 16 / 10;
  }

  .amn-inset {
    right: -14px;
    bottom: -30px;
    width: 34%;
  }

  .amn-caption {
    font-size: 10px;
    gap: 8px;
  }
}

/* ===== SMALL MOBILE BREAKPOINT (375px) ===== */
@media (max-width: 375px) {
  .amn-con {
    padding: 52px 16px 52px;
  }

  .amn-headline h2 {
    font-size: 1.6rem;
  }

  .amn-cluster-item--1,
  .amn-cluster-item--2 {
    flex-basis: 100%;
  }

  .amn-cluster-item--2 {
    margin-top: 24px;
  }

  .amn-inset {
    width: 40%;
  }
}
