.amenities {
  padding: 0 0 140px;
}

.amenity-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.amenity-viewport {
  overflow: hidden;
  flex: 1;
}

.amenity-track {
  display: flex;
  gap: 32px;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.amenity-card {
  flex: 0 0 calc((100% - 64px) / 3);
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 27, 43, 0.08);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.amenity-card:hover {
  box-shadow: 0 24px 56px rgba(11, 27, 43, 0.16);
  transform: translateY(-6px);
}

.amenity-img {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 520px;
  overflow: hidden;
}

.amenity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.amenity-card:hover .amenity-img img {
  transform: scale(1.12);
}

.amenity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(3, 15, 26, 0.55) 70%, rgba(3, 15, 26, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px 40px;
  color: #fff;
  transition: background 0.4s ease;
}

.amenity-card:hover .amenity-overlay {
  background: linear-gradient(180deg, transparent 10%, rgba(3, 15, 26, 0.75) 50%, rgba(3, 15, 26, 0.96) 100%);
}

.amenity-overlay h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 32px;
  margin-bottom: 8px;
}

.amenity-overlay .amenity-tag {
  display: inline-block;
  color: var(--gold-mid);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.95;
}

.amenity-overlay p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 340px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(16px);
  transition: max-height 0.4s ease, opacity 0.4s ease 0.08s, transform 0.4s ease 0.08s;
}

.amenity-card:hover .amenity-overlay p {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

.amenity-nav {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(11, 27, 43, 0.18);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  background: #fff;
  box-shadow: 0 6px 20px rgba(11, 27, 43, 0.1);
}

.amenity-nav svg {
  width: 22px;
  height: 22px;
}

.amenity-nav:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: scale(1.06);
}

.amenity-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 900px) {
  .amenity-card {
    flex: 0 0 100%;
  }

  .amenity-img {
    min-height: 440px;
  }
}

@media (max-width: 600px) {
  .amenity-carousel {
    gap: 12px;
  }

  .amenity-img {
    min-height: 400px;
  }

  .amenity-nav {
    width: 44px;
    height: 44px;
  }

  .amenity-overlay {
    padding: 28px 22px 32px;
  }

  .amenity-overlay h3 {
    font-size: 26px;
  }
}

.experience {
  background: var(--ink);
  color: var(--cream);
  padding: 140px 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.experience-copy h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 22px;
}

.experience-copy p {
  font-size: 16px;
  color: rgba(241, 247, 251, 0.68);
  max-width: 340px;
  margin-bottom: 36px;
}

.experience-list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(241, 247, 251, 0.16);
  font-family: var(--display);
  font-size: 20px;
  cursor: pointer;
  transition: padding-left 0.25s ease, color 0.25s ease;
}

.experience-list li:hover,
.experience-list li.active {
  padding-left: 8px;
  color: var(--gold-mid);
}

.experience-list li:first-child {
  border-top: 1px solid rgba(241, 247, 251, 0.16);
}

.experience-list span {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gold-mid);
  letter-spacing: 0.06em;
}

.experience-images {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  min-height: 620px;
}

.experience-images img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.6s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.experience-images img.fade {
  opacity: 0;
  transform: scale(0.98);
}

.experience-images .exp-main {
  min-height: 620px;
  aspect-ratio: 3 / 4;
}

.experience-images .exp-side {
  min-height: 460px;
  margin-top: 80px;
  aspect-ratio: 3 / 4;
}

@media (max-width: 900px) {
  .experience-images {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
  }

  .experience-images .exp-main,
  .experience-images .exp-side {
    min-height: 380px;
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .experience-images {
    grid-template-columns: 1fr;
  }

  .experience-images .exp-main,
  .experience-images .exp-side {
    min-height: 340px;
  }
}

.features {
  padding: 130px 0;
  background: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: #fff;
  padding: 36px 28px 40px;
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(11, 27, 43, 0.05);
  border: 1px solid rgba(11, 27, 43, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(11, 27, 43, 0.1);
  border-color: rgba(42, 143, 199, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 22px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.feature-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.feature-card p {
  font-size: 15px;
  color: rgba(11, 27, 43, 0.65);
  line-height: 1.6;
}

.gallery {
  padding: 0 0 140px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 22px;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  cursor: pointer;
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:nth-child(1) {
  grid-row: span 2;
  transition-delay: 0.05s;
}

.gallery-item:nth-child(2) {
  transition-delay: 0.12s;
}

.gallery-item:nth-child(3) {
  transition-delay: 0.18s;
}

.gallery-item:nth-child(4) {
  transition-delay: 0.24s;
}

.gallery-item:nth-child(5) {
  transition-delay: 0.3s;
}

.gallery-item:nth-child(6) {
  transition-delay: 0.36s;
}

.gallery-item:nth-child(7) {
  transition-delay: 0.42s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(3, 12, 20, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid rgba(255, 255, 255, 0.4);
  transition: border-width 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.gallery-item:hover::before {
  border-width: 4px;
}

@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
}