.features-page {
  background: var(--color-midnight);
}

.features-page .container {
  min-width: 0;
}

.features-hero {
  position: relative;
  min-height: 42.5rem;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}

.features-hero__image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  min-width: 0;
}

.features-hero__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 19, 22, 0.88) 0%, rgba(16, 19, 22, 0.72) 38%, rgba(16, 19, 22, 0.16) 75%, rgba(16, 19, 22, 0.28) 100%);
  content: "";
}

.features-hero__image img {
  width: 100%;
  height: 100%;
  object-position: center right;
}

.features-hero__container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  padding-block: 8.5rem 5rem;
}

.features-hero__copy {
  grid-column: 1 / span 5;
  min-width: 0;
  max-width: 36rem;
}

.features-hero__copy h1 {
  margin-bottom: var(--space-5);
}

.features-hero__copy .lead {
  max-width: 34rem;
}

.features-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  margin-top: var(--space-5);
}

.features-hero__actions > * {
  min-width: 0;
}

.features-hero__address {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-bronze);
}

.features-philosophy__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.features-philosophy__copy {
  grid-column: 2 / span 6;
  min-width: 0;
  max-width: 46rem;
}

.features-philosophy__copy p {
  max-width: 46rem;
}

.features-philosophy__first {
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-gold);
}

.features-philosophy__quote {
  grid-column: 9 / span 3;
  min-width: 0;
  max-width: 28rem;
}

.features-philosophy__quote blockquote {
  max-width: 28rem;
}

.features-spaces__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.features-spaces__intro {
  grid-column: 8 / span 5;
  min-width: 0;
  max-width: 42rem;
}

.features-spaces__intro .lead {
  max-width: 42rem;
}

.features-spaces__media {
  grid-column: 1 / span 6;
  grid-row: 1 / span 2;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 5;
  margin: 0;
}

.features-spaces__media img {
  object-position: center center;
}

.features-spaces__list {
  grid-column: 8 / span 5;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-top: var(--space-3);
  border-top: 1px solid var(--border-bronze);
}

.features-space-item {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: var(--space-3);
  min-width: 0;
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--border-bronze);
}

.features-space-item > * {
  min-width: 0;
}

.features-space-item__number,
.features-day-step__number {
  color: var(--color-gold);
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: var(--tracking-meta);
  line-height: var(--line-height-small);
}

.features-space-item h3 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.features-space-item p {
  max-width: 24rem;
}

.features-day__heading {
  width: 100%;
  max-width: 34rem;
}

.features-day__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  min-width: 0;
  margin-top: var(--space-7);
}

.features-day-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--space-5);
  border-top: 1px solid var(--border-bronze);
}

.features-day-step--featured {
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  background: var(--color-slate);
}

.features-day-step h3,
.features-day-step p {
  max-width: 22rem;
}

.features-day-step .button-link {
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  padding-top: var(--space-3);
}

.features-day__note {
  max-width: 34rem;
  margin-top: var(--space-6);
  color: var(--color-mist);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.3;
}

.features-lounge__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.features-lounge__heading {
  grid-column: 1 / span 5;
  min-width: 0;
  max-width: 37rem;
}

.features-lounge__media {
  grid-column: 6 / span 7;
  grid-row: 1 / span 2;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 11;
  margin: 0;
}

.features-lounge__media img {
  object-position: center center;
}

.features-lounge__panel {
  grid-column: 1 / span 5;
  min-width: 0;
  margin-top: var(--space-3);
}

.features-lounge__panel .lead {
  max-width: 41rem;
}

.features-lounge__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  min-width: 0;
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-bronze);
}

.features-lounge__details > * {
  min-width: 0;
}

.features-lounge__details h3,
.features-lounge__details p {
  max-width: 31rem;
}

.features-lounge__pull {
  color: var(--color-ivory);
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-style: italic;
  line-height: 1.15;
}

.features-room__heading {
  max-width: 34rem;
}

.features-room__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  min-width: 0;
  margin-top: var(--space-7);
}

.features-room-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.features-room-card--raised {
  background: var(--color-slate-lift);
}

.features-room-card__line {
  width: 2rem;
  height: 1px;
  margin-bottom: var(--space-5);
  background: var(--color-gold);
}

.features-room-card p {
  max-width: 23rem;
}

.features-room-card__closing {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-bronze);
}

.features-room__note {
  max-width: 34rem;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-bronze);
  color: var(--color-mist);
  font-size: var(--font-size-meta);
}

.features-venue__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.features-venue__title {
  grid-column: 1 / -1;
  min-width: 0;
  max-width: 38rem;
}

.features-venue__address {
  grid-column: 1 / span 6;
  min-width: 0;
}

.features-venue__address-text {
  color: var(--color-ivory);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
  line-height: 1.15;
}

.features-venue__guidance {
  grid-column: 8 / span 5;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-width: 0;
}

.features-venue__guidance > * {
  min-width: 0;
}

.features-venue__guidance article > p {
  max-width: 38rem;
}

.features-venue__contact p {
  max-width: 30rem;
}

.features-venue__contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.features-venue__contact-links a {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--color-ivory);
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
}

.features-moods__heading {
  max-width: 38rem;
}

.features-moods__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr);
  min-width: 0;
  margin-top: var(--space-7);
}

.features-moods__spa {
  grid-column: 1;
  min-width: 0;
  padding: var(--space-5);
  border-top: 1px solid var(--border-gold);
}

.features-moods__lounge {
  grid-column: 3;
  min-width: 0;
}

.features-moods__spa p,
.features-moods__lounge p {
  max-width: 27rem;
}

.features-moods__bridge {
  width: 100%;
  max-width: 38rem;
  margin: var(--space-7) auto 0;
  min-width: 0;
  text-align: left;
}

.features-moods__bridge p {
  max-width: 38rem;
}

.features-cta__panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  min-width: 0;
}

.features-cta__copy {
  grid-column: 2 / span 6;
  min-width: 0;
  max-width: 40rem;
}

.features-cta__copy p {
  max-width: 40rem;
}

.features-cta__space {
  grid-column: 9 / span 3;
  min-width: 0;
  border-left: 1px solid var(--border-bronze);
}

.features-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  margin-top: var(--space-5);
}

.features-cta__actions > * {
  min-width: 0;
}

.features-reminder {
  padding: 0 0 var(--section-space);
}

.features-reminder__strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  min-width: 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-gold);
}

.features-reminder__statement {
  grid-column: 1 / span 8;
  min-width: 0;
  max-width: 58rem;
}

.features-reminder__statement p {
  max-width: 58rem;
  color: var(--color-ivory);
  font-size: var(--font-size-meta);
}

.features-reminder__address {
  grid-column: 9 / span 4;
  align-self: end;
  min-width: 0;
}

@media (max-width: 64rem) {
  .features-hero {
    min-height: 39rem;
  }

  .features-hero__copy {
    grid-column: 1 / span 7;
    max-width: 42rem;
  }

  .features-hero__image::after {
    background: linear-gradient(90deg, rgba(16, 19, 22, 0.87) 0%, rgba(16, 19, 22, 0.7) 55%, rgba(16, 19, 22, 0.22) 100%);
  }

  .features-spaces__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-spaces__intro,
  .features-spaces__media,
  .features-spaces__list {
    grid-column: auto;
    grid-row: auto;
  }

  .features-spaces__media {
    grid-row: 1 / span 2;
  }

  .features-lounge__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-lounge__heading,
  .features-lounge__media,
  .features-lounge__panel {
    grid-column: auto;
    grid-row: auto;
  }

  .features-lounge__heading {
    grid-column: 1 / -1;
  }

  .features-lounge__media {
    grid-column: 1 / -1;
  }

  .features-lounge__panel {
    grid-column: 1 / span 1;
    margin-top: -4rem;
    margin-left: var(--space-6);
    z-index: 1;
  }
}

@media (max-width: 60rem) {
  .features-day__steps,
  .features-room__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-day-step:nth-child(3),
  .features-room-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .features-venue__address {
    grid-column: 1 / -1;
  }

  .features-venue__guidance {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-venue__guidance > * {
    width: 100%;
  }
}

@media (max-width: 56.25rem) {
  .features-philosophy__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .features-philosophy__copy {
    grid-column: 1 / span 6;
  }

  .features-philosophy__quote {
    grid-column: 1 / span 6;
    width: 100%;
    max-width: 46rem;
    padding: var(--space-5);
    border: 1px solid var(--border-bronze);
    background: var(--color-velvet);
  }

  .features-moods__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .features-moods__spa,
  .features-moods__lounge {
    grid-column: auto;
  }

  .features-cta__copy {
    grid-column: 1 / span 8;
  }

  .features-cta__space {
    display: none;
  }

  .features-reminder__statement {
    grid-column: 1 / span 8;
  }

  .features-reminder__address {
    grid-column: 1 / span 8;
  }
}

@media (max-width: 48rem) {
  .features-hero {
    min-height: 0;
    padding-top: var(--space-8);
    background: var(--color-velvet);
  }

  .features-hero__image {
    position: relative;
    grid-row: 2;
    aspect-ratio: 16 / 10;
  }

  .features-hero__image::after {
    background: linear-gradient(180deg, rgba(16, 19, 22, 0.12), rgba(16, 19, 22, 0.28));
  }

  .features-hero__container {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0;
    padding-bottom: var(--space-6);
  }

  .features-hero__copy {
    grid-column: 1;
    max-width: none;
  }

  .features-hero__copy h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .features-hero__copy .lead {
    max-width: 42rem;
  }

  .features-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .features-hero__actions .button,
  .features-hero__actions .button-link {
    width: 100%;
    min-height: 2.75rem;
  }

  .features-hero__actions .button-link {
    justify-content: flex-start;
  }

  .features-philosophy__grid,
  .features-spaces__grid,
  .features-lounge__layout,
  .features-venue__grid,
  .features-reminder__strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .features-philosophy__copy,
  .features-philosophy__quote,
  .features-spaces__intro,
  .features-spaces__media,
  .features-spaces__list,
  .features-lounge__heading,
  .features-lounge__media,
  .features-lounge__panel,
  .features-venue__title,
  .features-venue__address,
  .features-venue__guidance,
  .features-reminder__statement,
  .features-reminder__address {
    grid-column: 1;
    grid-row: auto;
  }

  .features-philosophy__copy,
  .features-philosophy__quote {
    max-width: 40rem;
  }

  .features-spaces__media {
    aspect-ratio: 4 / 5;
  }

  .features-spaces__list {
    margin-top: 0;
  }

  .features-day__steps,
  .features-room__grid,
  .features-moods__grid,
  .features-venue__guidance,
  .features-cta__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .features-day-step:nth-child(3),
  .features-room-card:nth-child(3) {
    grid-column: 1;
  }

  .features-day-step {
    min-height: 0;
  }

  .features-lounge__media {
    aspect-ratio: 16 / 10;
  }

  .features-lounge__panel {
    margin-top: 0;
    margin-left: 0;
  }

  .features-moods__spa,
  .features-moods__lounge {
    grid-column: 1;
  }

  .features-moods__bridge {
    margin-top: var(--space-6);
  }

  .features-cta__copy {
    grid-column: 1;
    max-width: 42rem;
  }

  .features-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .features-cta__actions .button,
  .features-cta__actions .button-link {
    width: 100%;
    min-height: 2.75rem;
  }

  .features-cta__actions .button-link {
    justify-content: flex-start;
  }
}

@media (max-width: 26.25rem) {
  .features-space-item {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }

  .features-venue__contact-links a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .features-page .surface-card:hover,
  .features-page .surface-panel:hover,
  .features-page .media-frame:hover img {
    transform: none;
  }
}

/* mobile-photo-center */
@media (max-width: 56.25rem) {
  img,
  video {
    object-position: center !important;
  }

  .image-frame,
  .media-frame,
  .card__media,
  [class*='__media'] {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    justify-self: stretch;
    overflow: hidden;
    grid-column: 1 / -1;
  }

  .image-frame img,
  .media-frame img,
  .media-frame video,
  .card__media img,
  [class*='__media'] img,
  [class*='hero'] img,
  [class*='hero__image'] {
    width: 100%;
    height: 100%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center !important;
  }
}
