/* Photograph-based room study. Overlays illustrate ambience, not live weather. */
.wi-room-visual {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  display: grid;
  align-content: start;
  justify-items: stretch;
  gap: 18px;
  padding: 0;
  background: none;
  border: 0;
}
.wi-room {
  min-width: 0;
  margin: 0;
  width: 100%;
}
.wi-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
  width: 100%;
  background: #354137;
}
.wi-room-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.wi-scene[data-room="garden"] [data-room-photo="garden"],
.wi-scene[data-room="suite"] [data-room-photo="suite"] {
  opacity: 1;
}
.wi-evening-shade,
.wi-lamp-glow,
.wi-curtain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}
.wi-evening-shade {
  background: linear-gradient(120deg, #17202e8c, #1b293c22);
  opacity: 0;
}
.wi-scene[data-time="Afternoon"] .wi-evening-shade {
  opacity: 0.2;
}
.wi-scene[data-time="Evening"] .wi-evening-shade {
  opacity: 1;
}
.wi-lamp-glow {
  background: radial-gradient(ellipse at 42% 33%, #ffda8c66, transparent 35%);
  opacity: 0;
  mix-blend-mode: screen;
}
.wi-scene[data-room="suite"] .wi-lamp-glow {
  background:
    radial-gradient(ellipse at 94% 46%, #ffda8c77, transparent 34%),
    radial-gradient(ellipse at 7% 40%, #ffda8c44, transparent 25%);
}
.wi-scene[data-time="Evening"] .wi-lamp-glow {
  opacity: 0.8;
}
.wi-curtain {
  background: linear-gradient(90deg, #1a201c70, #24271e35);
  opacity: 0;
}
.wi-scene[data-curtains="closed"] .wi-curtain {
  opacity: 1;
}
.wi-study-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: fit-content;
  padding: 8px 12px;
  color: #fffbee;
  background: #293226dc;
  font-size: 13px;
  line-height: 1.5;
}
.wi-room figcaption {
  margin-top: 18px;
  text-align: left;
}
.wi-room figcaption > span {
  display: block;
  font:
    400 27px/1.2 Georgia,
    serif;
  color: #354137;
}
.wi-room figcaption small {
  display: block;
  margin-top: 10px;
  color: #52614e;
  font-size: 14px;
  line-height: 1.65;
}
.wi-scene-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.wi-time-controls {
  display: flex;
  gap: 5px;
  padding: 4px;
  background: #e8ecdf;
  border: 1px solid #b4bfa9;
}
.wi-time-controls button {
  min-height: 44px;
  padding: 10px 13px;
  border: 0;
  border-radius: 0;
  color: #354137;
  background: none;
  font-size: 14px;
}
.wi-time-controls button[aria-pressed="true"] {
  color: #fffbee;
  background: #3d5039;
}
.wi-curtain-toggle {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #7c8f73;
  color: #354137;
  background: #f8f9f2;
  border-radius: 0;
  font-size: 14px;
}
.wi-scene-controls button:focus-visible {
  outline: 2px solid #3d5039;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .wi-scene {
    max-height: 560px;
  }
  .wi-time-controls {
    flex: 1;
  }
  .wi-time-controls button {
    flex: 1;
    padding-inline: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wi-scene * {
    animation: none !important;
    transition: none !important;
  }
}

/* Room selection and arrival cards share this file on home and rooms routes. */
body[data-concept="wren-inn"] .sp-hero h1 {
  letter-spacing: -0.055em;
  font-style: normal;
  font-size: clamp(46px, 6.3vw, 94px);
}
body[data-concept="wren-inn"] .sp-hero h1 em {
  color: #476450;
  font-weight: inherit;
}
body[data-concept="wren-inn"] .sp-hero .sp-hero-copy > p {
  max-width: 35ch;
}
body[data-concept="wren-inn"] #rooms {
  background: #243d32;
  color: #fff7e6;
  padding-block: clamp(35px, 5vw, 75px);
}
.wi-room-list h2 {
  max-width: 20ch;
  margin-bottom: 32px;
}
.wi-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(25px, 4vw, 60px);
}
.sample-subpage .wi-choices {
  margin-block: 30px 52px;
}
.wi-choices a {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  align-items: center;
  gap: clamp(15px, 2vw, 28px);
  color: inherit;
  text-decoration: none;
}
.wi-choices img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 100vw 100vw 4px 4px;
}
.wi-room-copy {
  min-width: 0;
  display: grid;
  gap: 13px;
  font:
    1rem/1.55 Georgia,
    serif;
}
.wi-room-copy strong {
  font:
    400 clamp(1.7rem, 2.35vw, 2.6rem) / 1.07 Georgia,
    serif;
  letter-spacing: -0.035em;
}
.wi-room-copy b,
.wi-room-copy u {
  font:
    600 0.89rem/1.4 Arial,
    sans-serif;
}
.wi-room-copy u {
  text-underline-offset: 0.32em;
}
.wi-choices a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
@media (prefers-reduced-motion: no-preference) {
  .wi-choices img {
    transition: transform 0.36s ease;
  }
  .wi-choices a:is(:hover, :focus-visible) img {
    transform: translateY(-6px);
  }
}
@media (max-width: 960px) {
  .wi-choices a {
    grid-template-columns: 1fr;
    align-content: start;
  }
  .wi-choices img {
    aspect-ratio: 1;
    object-fit: cover;
  }
}
@media (max-width: 680px) {
  .wi-choices {
    grid-template-columns: minmax(0, 1fr);
  }
  .wi-choices a {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  }
  .wi-choices img {
    aspect-ratio: 3 / 4;
  }
  .wi-room-copy {
    gap: 8px;
    font-size: 0.94rem;
  }
}
.wi-arrival {
  position: relative;
  min-width: 0;
}
.wi-postcard {
  position: absolute;
  z-index: 2;
  top: 32%;
  left: -2%;
  width: 32%;
  transform: rotate(-6deg);
  display: block;
  background: #fffaf1;
  color: #294435;
  padding: clamp(4px, 0.6vw, 9px);
  box-shadow: 0 6px 14px #1223184d;
  text-align: center;
  font:
    italic clamp(0.83rem, 1.5vw, 1.35rem) / 1.5 Georgia,
    serif;
  text-decoration: none;
}
.wi-postcard img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.9;
  object-fit: cover;
  display: block;
}
.wi-postcard:hover,
.wi-postcard:focus-visible {
  text-decoration: underline;
}

/* Price choices lead; atmosphere remains a clearly separate preference. */
body[data-concept="wren-inn"] .sp-workbench {
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
  border: 0;
  background: none;
  border-radius: 0;
  overflow: visible;
}
body[data-concept="wren-inn"] .wi-stay-controls {
  padding: clamp(20px, 3vw, 32px);
  gap: 24px;
  background: #f9faf2;
  border: 1px solid #b4bfa9;
}
.wi-controls-heading h3 {
  margin: 0 0 10px;
  font: 400 32px/1.12 Georgia, serif;
  letter-spacing: -0.03em;
}
.wi-controls-heading p,
.wi-atmosphere-fields > p,
.wi-estimate-note {
  margin: 0;
  color: #52614e;
  font-size: 14px;
  line-height: 1.65;
}
.wi-stay-fields,
.wi-atmosphere-fields {
  margin: 0;
  padding: 0;
  min-width: 0;
  border: 0;
  display: grid;
  gap: 16px;
}
.wi-stay-controls legend {
  padding: 0;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 700;
}
.wi-atmosphere-fields {
  padding-top: 18px;
  border-top: 1px solid #cbd3c0;
}
.wi-atmosphere-fields legend {
  padding-inline: 0 12px;
  margin-bottom: 0;
}
.wi-preferences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.wi-stay-controls .sp-field,
.wi-stay-controls .sp-check {
  font-size: 14px;
}
.wi-stay-controls .sp-field :is(select, input) {
  font-size: 16px;
  min-height: 48px;
  border-radius: 2px;
  background: #fffdf7;
}
.wi-stay-controls .sp-field small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #52614e;
}
.wi-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.wi-form-actions .sp-action {
  flex: 1;
  min-height: 48px;
  border-radius: 2px;
  font-size: 14px;
}
.wi-form-actions .sp-reset {
  min-height: 48px;
  border-radius: 2px;
  font-size: 14px;
}
.wi-stay-controls .sp-result {
  padding: 20px;
  border: 0;
  background: #e8ecdf;
  font-size: 16px;
  line-height: 1.65;
}
.wi-curtain-toggle[aria-pressed="true"] {
  background: #3d5039;
  color: #fffbee;
}
body[data-concept="wren-inn"] .sp-experience-head > p:last-child,
body[data-concept="wren-inn"] .sp-disclaimer {
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 360px) {
  .wi-preferences {
    grid-template-columns: 1fr;
  }
}

/* The home page presents these rooms in its introductory gallery already. */
body[data-concept="wren-inn"][data-sample-page="home"] #services .wi-choices {
  display: none;
}
