/* Supplied comforts reference. The existing section height and hero rails are retained. */
body.about-page #comforts {
  --wms-ink: #073b57;
  --wms-tan: #a18162;
  --wms-line: #ad8e6d;
  isolation: isolate;
  margin-top: 80px;
  background: #faf6ef;
}
#comforts .wms__plate {
  display: block;
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  pointer-events: none;
}
#comforts .wms__title,
#comforts .wms__title em,
#comforts .wms__t { font-family: 'SPI Bodoni', 'Bauer Bodoni', Georgia, serif; }
#comforts .wms__title em { font-style: normal; -webkit-text-stroke: 0; }
#comforts .wms__lead, #comforts .wms__link, #comforts .wms__d { font-family: 'ABS Park Text', Arial, sans-serif; }
#comforts .wms__arrow { background: #faf6ef; color: #073b57; }
#comforts .wms__dots button[aria-current="true"]::before { background: #073b57; }
#comforts .wms__card { border-color: #fffdf8; }
#comforts .wms__card::after { background: linear-gradient(180deg, transparent 35%, #06172012 55%, #08151ceb 100%); }
@media (min-width: 1251px) {
  #comforts .wms__copy { top: calc(160 * var(--u)); width: calc(660 * var(--u)); }
  #comforts .wms__eyebrow {
    margin: 0;
    gap: calc(24 * var(--u));
    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: calc(62 * var(--u)); background: #a18162; }
  body.about-page #comforts .wms__title {
    margin: calc(27 * var(--u)) 0 0;
    font: 400 calc(108 * var(--u))/.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;
    color: #a18162;
    letter-spacing: inherit;
  }
  #comforts .wms__lead {
    max-width: calc(640 * var(--u));
    margin-top: calc(48 * var(--u));
    font: 400 max(16.5px, calc(25 * var(--u)))/1.5 'ABS Park Text', Arial, sans-serif;
    letter-spacing: 0;
    color: #0b4b69;
  }
  #comforts .wms__link {
    gap: calc(36 * var(--u));
    width: max-content;
    min-width: calc(380 * var(--u));
    min-height: 48px;
    height: calc(64 * var(--u));
    margin-top: calc(36 * var(--u));
    padding: 0 calc(40 * var(--u));
    font: 400 max(16px, calc(24 * var(--u)))/1 'ABS Park Text', Arial, sans-serif;
    border-width: 1px;
    color: #073b57;
  }
  #comforts .wms__link svg { width: calc(40 * var(--u)); }
  #comforts .wms__deck { perspective-origin: calc(1120 * var(--u)) calc(410 * var(--u)); }
  #comforts .wms__card[data-pos="0"] {
    left: calc(860 * var(--u)); top: calc(80 * var(--u));
    width: calc(520 * var(--u)); height: calc(660 * var(--u));
    transform: none; z-index: 4;
  }
  #comforts .wms__card[data-pos="-1"] {
    left: calc(690 * var(--u)); top: calc(150 * var(--u));
    width: calc(300 * var(--u)); height: calc(520 * var(--u));
    transform: rotateY(-20deg); z-index: 3;
  }
  #comforts .wms__card[data-pos="1"] {
    left: calc(1350 * var(--u)); top: calc(150 * var(--u));
    width: calc(240 * var(--u)); height: calc(550 * var(--u));
    transform: rotateY(15deg); z-index: 3;
  }
  #comforts .wms__card[data-pos="2"] {
    left: calc(1560 * var(--u)); top: calc(200 * var(--u));
    width: calc(180 * var(--u)); height: calc(440 * var(--u));
    transform: rotateY(25deg); z-index: 2;
  }
  #comforts .wms__card[data-pos] .wms__txt { padding: 0 calc(24 * var(--u)) calc(25 * var(--u)); }
  #comforts .wms__card[data-pos] .wms__n {
    margin-bottom: calc(12 * var(--u));
    font: 400 max(9px, calc(13 * var(--u)))/1.3 'ABS Park Text', Arial, sans-serif;
    letter-spacing: .02em;
  }
  #comforts .wms__n i { display: none; }
  #comforts .wms__card[data-pos] .wms__t {
    max-width: none;
    font: 400 max(18px, calc(34 * var(--u)))/1.04 'SPI Bodoni', Georgia, serif;
    letter-spacing: -.025em;
  }
  #comforts .wms__card[data-pos="0"] .wms__t { font-size: calc(42 * var(--u)); }
  #comforts .wms__card[data-pos] .wms__d {
    max-width: none;
    margin-top: calc(10 * var(--u));
    font: 400 max(11px, calc(16 * var(--u)))/1.35 'ABS Park Text', Arial, sans-serif;
  }
  #comforts .wms__card[data-pos="0"] .wms__d { font-size: max(14px, calc(22 * var(--u))); }
  #comforts .wms__card[data-pos="2"] .wms__txt { padding-inline: calc(16 * var(--u)); }
  #comforts .wms__card[data-pos="2"] .wms__t { font-size: max(16px, calc(29 * var(--u))); }
  #comforts .wms__card[data-pos="-1"] .wms__t { max-width: calc(150 * var(--u)); font-size: max(15px, calc(27 * var(--u))); }
  #comforts .wms__card[data-pos="-1"] .wms__d { max-width: calc(145 * var(--u)); }
  #comforts .wms__arrow {
    top: calc(410 * var(--u));
    width: max(40px, calc(60 * var(--u)));
    height: max(40px, calc(60 * var(--u)));
  }
  #comforts .wms__arrow--prev { left: calc(640 * var(--u)); }
  #comforts .wms__dots { left: calc(1060 * var(--u)); top: calc(790 * var(--u)); gap: calc(15 * var(--u)); }
}
@media (max-width: 1250px) {
  body.about-page #comforts .wms__title { font-family: 'SPI Bodoni', Georgia, serif; font-size: clamp(40px, 7.5vw, 72px); line-height: .98; letter-spacing: -.035em; }
  body.about-page #comforts .wms__title em { margin-top: 0; font: inherit; font-style: normal; color: #a18162; }
  #comforts .wms__deck { aspect-ratio: 573 / 540; }
  #comforts .wms__plate { object-position: left bottom; opacity: .6; }
}

#comforts .wms__deck:focus-visible { outline: 2px solid #073b57; outline-offset: 6px; }

/* Keep the desktop comforts section at the requested height and center its stage. */
@media (min-width: 1251px) {
  body.about-page #comforts { height: 800px; }
  #comforts .wms { display: flex; align-items: center; height: 100%; }
  #comforts .wms__stage { width: 100%; height: min(calc(900 * var(--u)), 100%); }
  #comforts .wms__deck { height: 100%; }
}
