/* Palm-and-coast reference composition. Desktop content follows the hero's two rails. */
body.about-page #comforts {
  --comforts-rail: 170px;
  --wms-ink: #073b57;
  --wms-tan: #a18162;
  box-sizing: border-box;
  height: 800px;
  margin-top: 40px;
  padding: 150px var(--comforts-rail) 40px;
  background: #faf6ef;
}
#comforts .wms__plate {
  z-index: 0;
  opacity: .58;
  object-fit: fill;
  object-position: center bottom;
  /* Fade the artwork into the page without a straight edge at either end. */
  mask-image: linear-gradient(to bottom, transparent, #000 56px, #000 calc(100% - 110px), transparent);
}
#comforts .wms { position: relative; z-index: 1; display: block; height: 100%; }
#comforts .wms__stage {
  /* History's heading column is 43.75% of its inner width, capped at 12.3cqw. */
  --comforts-title-size: min(calc(108 * var(--u)), 5.38125cqw);
  --comforts-card-height: min(550px, 39.2cqw);
  width: 100%;
  height: 100%;
}
#comforts .wms__copy { top: 42px; left: 0; width: 38%; }
#comforts .wms__eyebrow {
  gap: 18px;
  margin: 0;
  font: 400 max(10px, calc(17 * var(--u)))/1.4 'ABS Park Label', Arial, sans-serif;
  letter-spacing: .16em;
  color: #a18162;
}
#comforts .wms__eyebrow i { width: 36px; background: #a18162; }
body.about-page #comforts .wms__title {
  margin: 28px 0 0;
  font: 400 var(--comforts-title-size)/.98 'SPI Bodoni', 'Bauer Bodoni', Georgia, serif;
  letter-spacing: -.035em;
  color: #073b57;
  -webkit-text-stroke: 0;
}
body.about-page #comforts .wms__title em {
  margin: 0;
  font: inherit;
  font-style: normal;
  letter-spacing: inherit;
  color: #a18162;
  -webkit-text-stroke: 0;
}
#comforts .wms__lead {
  max-width: 36ch;
  margin: 32px 0 0;
  font: 400 max(16.5px, calc(25 * var(--u)))/1.5 'ABS Park Text', Arial, sans-serif;
  letter-spacing: normal;
  color: #0b4b69;
}
#comforts .wms__link {
  gap: 28px;
  min-width: 0;
  min-height: 52px;
  height: 56px;
  margin-top: 26px;
  padding: 0 32px;
  border: 1px solid #ad8e6d;
  background: #faf6efb3;
  font: 400 max(16.5px, calc(25 * var(--u)))/1 'ABS Park Text', Arial, sans-serif;
  color: #073b57;
}
#comforts .wms__link svg { width: 28px; }
#comforts .wms__deck {
  inset: 0;
  width: 100%;
  height: 100%;
  perspective: 1800px;
  perspective-origin: 64% calc(var(--comforts-card-height) / 2);
}
#comforts .wms__card {
  border: 2px solid #fffdf8;
  border-radius: 20px;
  background: #fbf5ec;
  box-shadow: 0 16px 30px #624a2e26;
}
#comforts .wms__card::after {
  background: linear-gradient(to bottom, transparent 48%, #fbf5ec44 65%, #fbf5ecf5 80%, #fbf5ec 100%);
}
#comforts .wms__card[data-pos="0"] {
  left: 51%; top: 0;
  width: 25.5%; height: var(--comforts-card-height);
  transform: none;
  box-shadow: 0 20px 38px #624a2e30;
}
#comforts .wms__card[data-pos="-1"] {
  left: 40.5%; top: calc(var(--comforts-card-height) * .095);
  width: 20%; height: calc(var(--comforts-card-height) * .81);
  transform: rotateY(-18deg);
}
#comforts .wms__card[data-pos="1"] {
  left: 75%; top: calc(var(--comforts-card-height) * .09);
  width: 15%; height: calc(var(--comforts-card-height) * .85);
  transform: rotateY(14deg);
}
#comforts .wms__card[data-pos="2"] {
  left: 88%; top: calc(var(--comforts-card-height) * .17);
  width: 11%; height: calc(var(--comforts-card-height) * .72);
  transform: rotateY(22deg);
}
#comforts .wms__card[data-pos] .wms__txt { padding: 0 18px 22px; color: #073b57; }
#comforts .wms__card[data-pos] .wms__n {
  gap: 10px;
  margin-bottom: 10px;
  font: 400 12px/1.4 'ABS Park Label', Arial, sans-serif;
  letter-spacing: .02em;
  color: #667075;
}
#comforts .wms__n i { display: block; flex: 1; height: 1px; background: #bda98e; }
#comforts .wms__card[data-pos] .wms__t {
  max-width: none;
  font: 400 clamp(22px, 1.65vw, 30px)/1.04 'SPI Bodoni', Georgia, serif;
  letter-spacing: -.035em;
  color: #073b57;
}
#comforts .wms__card[data-pos] .wms__d {
  max-width: none;
  margin-top: 9px;
  font: 400 clamp(12px, .85vw, 15px)/1.35 'ABS Park Text', Arial, sans-serif;
  color: #0b4b69;
}
#comforts .wms__card[data-pos="0"] .wms__txt { padding: 0 28px 28px; }
#comforts .wms__card[data-pos="0"] .wms__t { font-size: clamp(30px, 2.15vw, 40px); }
#comforts .wms__card[data-pos="0"] .wms__d { font-size: max(16.5px, calc(25 * var(--u))); }
#comforts .wms__card[data-pos="-1"] .wms__txt { width: 53%; padding-inline: 18px 0; }
#comforts .wms__card[data-pos="-1"] .wms__t { font-size: clamp(20px, 1.45vw, 26px); }
#comforts .wms__card[data-pos="2"] .wms__txt { padding-inline: 14px; }
#comforts .wms__card[data-pos="2"] .wms__t { font-size: clamp(20px, 1.45vw, 26px); }
#comforts .wms__arrow {
  /* Keep both controls below the photographs, beside the pagination dots. */
  top: calc(var(--comforts-card-height) + 38px);
  width: 52px; height: 52px;
  transform: translateY(-50%);
  border: 1px solid #ad8e6d;
  background: #fffdf8;
  color: #073b57;
  box-shadow: 0 3px 7px #624a2e12;
}
#comforts .wms__arrow--prev { left: 51%; }
#comforts .wms__arrow--next { right: 23.5%; }
#comforts .wms__dots {
  top: calc(var(--comforts-card-height) + 30px);
  left: 64%;
  gap: 14px;
  transform: translateX(-50%);
}
#comforts .wms__dots button { width: 16px; height: 16px; }
#comforts .wms__dots button::before { width: 12px; height: 12px; background: #d3c1ac; }
#comforts .wms__dots button[aria-current="true"]::before { width: 14px; height: 14px; background: #073b57; }

@media (min-width: 1901px) {
  body.about-page #comforts { --comforts-rail: calc((100vw - 1560px) / 2); }
}
@media (max-width: 1450px) {
  body.about-page #comforts { --comforts-rail: clamp(80px, 8.947vw, 170px); }
  #comforts .wms__copy { top: 32px; }
  #comforts .wms__link { gap: 20px; padding-inline: 24px; }
  #comforts .wms__card[data-pos] .wms__txt { padding-inline: 14px; }
  #comforts .wms__card[data-pos="-1"] .wms__txt { padding-right: 0; }
  #comforts .wms__card[data-pos="0"] .wms__txt { padding: 0 22px 24px; }
}

/* Stack the text and carousel on smaller screens so the content stays readable. */
@media (max-width: 1250px) {
  body.about-page #comforts { height: auto; padding-top: 150px; padding-bottom: 80px; }
  #comforts .wms__plate { object-fit: cover; object-position: left bottom; opacity: .2; }
  #comforts .wms, #comforts .wms__stage { height: auto; }
  #comforts .wms__copy { position: static; width: 100%; max-width: 620px; }
  #comforts .wms__eyebrow { font-size: 11.28px; letter-spacing: .2em; }
  body.about-page #comforts .wms__title {
    font-family: 'SPI Bodoni', Georgia, serif;
    font-size: min(clamp(40px, 7.5vw, 72px), 12.3cqw);
    margin-top: 24px;
  }
  #comforts .wms__lead { max-width: 620px; margin-top: 24px; font-size: 22.56px; line-height: 1.3; }
  #comforts .wms__link { font-size: 20.68px; }
  #comforts .wms__deck {
    position: relative; inset: auto;
    width: 100%; max-width: 500px; height: auto;
    aspect-ratio: 375 / 579;
    margin: 40px auto 0;
    perspective: none;
  }
  #comforts .wms__card[data-pos] { left: 0; top: 0; width: 100%; height: 100%; transform: none; }
  #comforts .wms__card[data-pos] .wms__txt { width: auto; padding: 0 24px 26px; }
  #comforts .wms__card[data-pos] .wms__t { max-width: none; font-size: 32px; }
  #comforts .wms__card[data-pos] .wms__d { max-width: none; font-size: 18px; line-height: 1.35; }
  #comforts .wms__arrow { position: static; transform: none; margin-top: 26px; }
  #comforts .wms__dots { position: static; transform: none; gap: 14px; margin-top: 26px; }
}
@media (max-width: 900px) {
  body.about-page #comforts { --comforts-rail: 24px; }
}
@media (max-width: 540px) {
  #comforts .wms__eyebrow { font-size: 10px; letter-spacing: .19em; gap: 14px; }
  #comforts .wms__eyebrow i { width: 28px; }
  #comforts .wms__lead { font-size: 19.74px; line-height: 1.4; }
  #comforts .wms__link { gap: 20px; padding-inline: 22px; font-size: 19.74px; }
  #comforts .wms__link svg { width: 24px; }
}
@media (max-width: 360px) {
  #comforts .wms__link { gap: 16px; padding-inline: 16px; font-size: 17px; }
}
