@import url("./fonts.css");
/* Amenities — editorial type (Inter + Libris ADF Std, local files) */

.mm-am {
  --am-font-display: "Mediteran Display", Georgia, "Times New Roman", serif;
  --am-font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --am-ink: #0a0a0a;
  --am-ink-soft: rgba(10, 10, 10, 0.78);
  --am-ink-muted: rgba(10, 10, 10, 0.52);
  --am-col-title: #4a5d6e;
  --am-max: 1120px;
  --am-hero-max: min(1320px, 100%);
  --am-hero-img-h: min(72vh, 680px);
  --am-measure: min(38rem, 100%);
  --am-space-1: 4px;
  --am-space-2: 8px;
  --am-space-3: 12px;
  --am-space-4: 16px;
  --am-space-5: 24px;
  --am-space-6: 32px;
  --am-space-7: 48px;
  --am-space-8: 64px;
  /* Type scale (px-based clamps for predictable “designer” steps) */
  --am-hero-title: clamp(38px, 6.5vw, 68px);
  --am-serif-lede: clamp(15px, 1.08vw, 17px);
  --am-serif-body: clamp(14.5px, 1.05vw, 16.5px);
  --am-eyebrow: 10px;
  --am-col-h: clamp(22px, 2.2vw, 28px);
  --am-list: 12.5px;

  color: var(--am-ink);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
}

.mm-am a {
  color: inherit;
}

/* --- Hero: joined duo (touching columns, right panel staggered) --- */
.mm-am-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  margin: 0 auto;
  /* Push the big duo below the topbar with airy paper space (LINE-style) */
  padding: clamp(40px, 7vw, 96px) var(--mm-shell-pad, 24px) var(--am-space-7);
  max-width: var(--am-hero-max);
  box-sizing: border-box;
}

.mm-am-hero__strip {
  grid-column: 1 / -1;
  position: relative;
  margin-bottom: 0;
}

.mm-am-hero__pair-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
  position: relative;
  width: 100%;
}

.mm-am-hero__fig {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  align-self: start;
}

.mm-am-hero__fig--1 {
  border-radius: 1px 0 0 1px;
}

.mm-am-hero__fig--2 {
  margin-top: clamp(40px, 9vw, 88px);
  border-radius: 0 1px 1px 0;
}

.mm-am-hero__img {
  width: 100%;
  height: var(--am-hero-img-h);
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(100%) contrast(1.18) brightness(0.68);
}

.mm-am-hero__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
}

/* Down chevron (`download.svg`) in the paper band under the duo */
.mm-am-hero__arrow-wrap {
  display: none;

  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(20px, 5vw, 40px) 0 clamp(8px, 2vw, 16px);
  margin: 0;
  box-sizing: border-box;
}

.mm-am-hero__arrow-svg {
  display: block;
  width: clamp(34px, 4.8vw, 46px);
  height: auto;
  transform: rotate(90deg) scaleX(-1);
  transform-origin: center center;
  opacity: 0.78;
}

/* Lede sits under the left image column only (reference alignment) */
.mm-am-hero__lede-col {
  /* Center the lede under both images (reference: single centered text block) */
  grid-column: 1 / -1;
  min-width: 0;
  padding-right: 0;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(40px, 5.5vw, 64px);
  text-align: center;
  box-sizing: border-box;
}

.mm-am-hero__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 5;
  font-family: var(--am-font-display);
  font-size: var(--am-hero-title);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #f6f6f4;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55), 0 0 1px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.mm-am-hero__lede {
  max-width: var(--am-measure);
  margin: 0 auto;
  padding-top: 0;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  color: rgba(10, 10, 10, 0.78);
}

.mm-am-hero__lede + .mm-am-hero__lede {
  margin-top: var(--am-space-4);
}

/* --- Intro block --- */
.mm-am-info {
  padding: 0 var(--mm-shell-pad, 24px) var(--am-space-8);
  max-width: var(--am-max);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Pool image + side copy (reference editorial layout) */
.mm-am-pool {
  /* Image should sit closer to the page edge (remove left gutter) */
  padding: var(--am-space-7) var(--mm-shell-pad, 24px) var(--am-space-8) 0;
  /* Full-bleed: allow the photo column to reach the viewport edge */
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.mm-am-pool__inner {
  display: grid;
  /* Larger photo block + tighter text column */
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(18px, 3vw, 34px);
  /* Make both columns equal height */
  align-items: stretch;
}

.mm-am-pool__fig {
  margin: 0;
  overflow: hidden;
  align-self: stretch;
}

.mm-am-pool__img {
  width: 100%;
  /* Bigger image like the screenshot */
  height: clamp(320px, 45vw, 480px);
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}

.mm-am-pool__text {
  /* Fill the image height and balance the white space */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2.6vw, 28px) 0;
  box-sizing: border-box;
  overflow: visible;
}

.mm-am-pool__text::before {
  content: "";
  position: absolute;
  /* Let the watermark bleed outside the text column (avoid “cropped” look) */
  inset: -70px -140px;
  background: url("../assets/m-watermark.png") center / min(1600px, 230%) no-repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(100%) invert(1);
  mix-blend-mode: multiply;
}

.mm-am-pool__text > * {
  position: relative;
  z-index: 1;
}

.mm-am-pool__intro {
  margin: 0 0 var(--am-space-4);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  color: rgba(10, 10, 10, 0.78);
}

.mm-am-pool__sub {
  margin: 0 0 var(--am-space-3);
  /* Keep Inter like the rest of the page section labels */
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--am-ink);
}

.mm-am-pool__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mm-am-pool__p {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  color: rgba(10, 10, 10, 0.82);
}

@media (max-width: 780px) {
  .mm-am-pool__inner {
    grid-template-columns: 1fr;
    gap: var(--am-space-6);
  }

  .mm-am-pool__img {
    height: min(48vh, 420px);
  }

  .mm-am-pool__text {
    padding-top: 0;
  }

  .mm-am-pool__text::before {
    inset: -50px -90px;
  }
}

.mm-am-info__intro {
  max-width: min(42rem, 100%);
  margin: 0 0 var(--am-space-7);
  font-family: var(--am-font-serif);
  font-weight: 400;
  font-size: var(--am-serif-body);
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0.012em;
  color: var(--am-ink);
}

.mm-am-info__sub {
  margin: 0 0 var(--am-space-5);
  font-family: "Inter", ui-sans-serif, sans-serif;
  font-size: var(--am-eyebrow);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--am-ink);
}

/* Two-column summary: property vs. in-room (matches list columns below) */
.mm-am-info__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  max-width: var(--am-max);
  margin: 0;
  padding-bottom: var(--am-space-2);
  box-sizing: border-box;
}

.mm-am-info__split-col {
  margin: 0;
  font-family: var(--am-font-serif);
  font-weight: 400;
  font-size: var(--am-serif-body);
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0.012em;
  color: var(--am-ink);
}

.mm-am-info__split-col:first-child {
  padding-right: clamp(0px, 2vw, 12px);
}

.mm-am-info__split-col:last-child {
  padding-left: clamp(0px, 2vw, 12px);
  border-left: 1px solid rgba(10, 10, 10, 0.1);
}

/* Amenities matrix — single panel, unified rows, minimal icons (no mirrored layout) */
.mm-am-grid {
  padding: var(--am-space-6) var(--mm-shell-pad, 24px) var(--am-space-8);
  margin: 0 auto;
  box-sizing: border-box;
  border-top: 0;
}

.mm-am-grid__heading {
  max-width: 920px;
  margin: 0 auto var(--am-space-5);
  padding: 0;
  font-family: "Inter", ui-sans-serif, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.7);
  text-align: center;
}

.mm-am-grid__panel {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px) clamp(20px, 4vw, 36px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
}

.mm-am-grid__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

.mm-am-col--hotel {
  padding-right: clamp(18px, 3vw, 34px);
}

.mm-am-col--room {
  padding-left: clamp(18px, 3vw, 34px);
  border-left: 1px solid rgba(10, 10, 10, 0.06);
}

/* Hotel services: icon on right + right-aligned text (mirrored columns) */
.mm-am-col--hotel .mm-am-item {
  flex-direction: row-reverse;
  justify-content: space-between;
  transform-origin: right center;
}

.mm-am-col--room .mm-am-item {
  transform-origin: left center;
}

.mm-am-col--hotel .mm-am-item__label {
  text-align: right;
}

.mm-am-col--hotel .mm-am-col__title {
  text-align: right;
}

.mm-am-col__title {
  margin: 0 0 var(--am-space-4);
  padding: 0 0 var(--am-space-3);
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
  font-family: "Inter", ui-sans-serif, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.7);
}

.mm-am-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-am-item {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
  font-family: "Inter", ui-sans-serif, sans-serif;
  /* Match paragraph info sizing (directions-style) */
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  color: rgba(10, 10, 10, 0.78);
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mm-am-item:hover {
  z-index: 1;
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .mm-am-item {
    transition: none;
  }

  .mm-am-item:hover {
    transform: none;
  }
}

.mm-am-list .mm-am-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mm-am-list .mm-am-item:first-child {
  padding-top: 2px;
}

.mm-am-item__icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.42;
}

.mm-am-item__icon svg {
  width: 18px;
  height: 18px;
  color: var(--am-ink);
}

.mm-am-item__icon svg path,
.mm-am-item__icon svg rect,
.mm-am-item__icon svg circle {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mm-am-item__label {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 780px) {
  .mm-am-hero {
    grid-template-columns: 1fr;
  }

  .mm-am-hero__pair-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .mm-am-hero__fig--1 {
    grid-row: 1;
    border-radius: 2px 2px 0 0;
  }

  .mm-am-hero__fig--2 {
    grid-row: 2;
    margin-top: 0;
    border-radius: 0 0 2px 2px;
  }

  .mm-am-hero__img {
    height: min(52vh, 460px);
  }

  .mm-am-hero__title {
    font-size: clamp(28px, 9vw, 44px);
    letter-spacing: 0.12em;
  }

  .mm-am-hero__lede-col {
    grid-column: 1;
    padding-right: 0;
    padding-top: var(--am-space-5);
  }

  .mm-am-info__split {
    grid-template-columns: 1fr;
    gap: var(--am-space-5);
  }

  .mm-am-info__split-col:first-child {
    padding-right: 0;
  }

  .mm-am-info__split-col:last-child {
    padding-left: 0;
    padding-top: var(--am-space-5);
    border-left: 0;
    border-top: 1px solid rgba(10, 10, 10, 0.1);
  }

  .mm-am-grid__heading {
    text-align: left;
    margin-bottom: var(--am-space-4);
  }

  .mm-am-grid__inner {
    grid-template-columns: 1fr;
  }

  .mm-am-col--hotel {
    padding-right: 0;
  }

  .mm-am-col--room {
    padding-left: 0;
    padding-top: var(--am-space-6);
    margin-top: var(--am-space-5);
    border-left: 0;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
  }
}
