.world-calma {
  --paper: #f4f3ed;
  --ink: #303a2f;
  --accent: #7d8965;
  --line: #a5ad9b;
  --display: Cormorant, Georgia, serif;
}
.world-calma .world-header {
  padding-block: 1.7rem;
}
.calma-hero {
  height: min(780px, 83svh);
  min-height: 560px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #27362e;
  color: white;
}
.calma-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transition:
    filter 1.2s,
    transform 1.2s;
}
.calma-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0e1b18b3, #0e1b1800 90%),
    linear-gradient(0deg, #0e1b1870, transparent 60%);
}
.calma-title {
  position: absolute;
  left: var(--pad);
  bottom: 6.5rem;
}
.calma-title > p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.calma-title h1 {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.calma-title .line-link {
  margin-top: 2rem;
  font-size: 0.95rem;
}
.calma-coordinate {
  position: absolute;
  bottom: 1.7rem;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}
.ambience-toggle {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #172b20c9;
  color: #fff;
  border: 1px solid #ffffff80;
  border-radius: 30px;
  padding: 0.7rem 1.1rem;
  min-height: 2.75rem;
}
.ambience-toggle span {
  font-size: 1.3rem;
}
.calma-hero.is-evening .calma-cover {
  filter: brightness(0.45) sepia(0.25);
  transform: scale(1.025);
}
.calma-intro {
  padding-block: var(--section);
  text-align: center;
}
.calma-intro h2 {
  max-width: 20ch;
  margin: auto;
  font-size: clamp(3rem, 6.2vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
}
.calma-intro-note {
  margin: 3rem auto 0;
  max-width: 38rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  text-align: left;
}
.calma-intro-note > span {
  font-size: 3rem;
  font-family: Cormorant;
}
.calma-intro-note > p {
  font-size: 1rem;
}
.room-section {
  padding-bottom: var(--section);
}
.room-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}
.room-heading p {
  font-size: 0.9rem;
  max-width: 24ch;
}
.room-heading h2 {
  font-weight: 400;
}
.room-viewer {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}
.room-images {
  position: relative;
  aspect-ratio: 1.23;
  overflow: hidden;
}
.room-images > div {
  height: 100%;
}
.room-images img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.room-images > div.is-entering {
  animation: room-enter 0.8s var(--ease);
}
@keyframes room-enter {
  from {
    clip-path: inset(0 0 100% 0);
    transform: scale(1.07);
  }
  to {
    clip-path: inset(0);
    transform: none;
  }
}
.room-counter {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: #f4f3ede6;
  color: #303a2f;
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
}
.room-choices {
  display: flex;
  gap: 1.3rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.room-choices button {
  padding: 1rem 0;
  background: none;
  min-height: 2.8rem;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
}
.room-choices button[aria-pressed="true"] {
  border-color: var(--ink);
  font-weight: 600;
}
.room-content h3 {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
}
.room-content [data-room-copy] > p {
  max-width: 25ch;
  font-size: 1.2rem;
  margin-top: 1.5rem;
}
.room-content small {
  display: block;
  font-size: 0.8rem;
  margin-top: 1.5rem;
}
.room-content .line-link {
  margin-top: 2rem;
}
.calma-pause {
  position: relative;
  height: 650px;
  isolation: isolate;
  color: #fff;
}
.pause-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.pause-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.pause-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
}
.pause-copy h2 {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
}
.calma-book {
  text-align: center;
  padding-block: var(--section);
}
.calma-book h2 {
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 400;
}
.calma-book .pill {
  margin-top: 2.5rem;
}
.world-calma .show-footer .footer-next > a {
  font-size: clamp(2.7rem, 5vw, 5rem);
}
@media (max-width: 800px) {
  .calma-hero {
    min-height: 570px;
    height: 75svh;
  }
  .room-viewer {
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
  }
  .room-choices {
    gap: 0.8rem;
  }
  .room-choices button {
    font-size: 0.8rem;
  }
  .calma-pause {
    height: 500px;
  }
}
@media (max-width: 600px) {
  .calma-title {
    bottom: 7rem;
    right: 1rem;
  }
  .calma-title h1 {
    font-size: clamp(3.5rem, 13vw, 5rem);
  }
  .calma-title > p {
    font-size: 0.8rem;
  }
  .calma-coordinate > span {
    max-width: 16ch;
  }
  .calma-coordinate {
    font-size: 0.7rem;
  }
  .ambience-toggle {
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
  }
  .calma-intro-note {
    gap: 1rem;
    margin-top: 2rem;
  }
  .room-heading {
    display: block;
    margin-bottom: 2rem;
  }
  .room-heading p {
    max-width: none;
    margin-bottom: 1.5rem;
  }
  .room-viewer {
    grid-template-columns: 1fr;
  }
  .room-images {
    aspect-ratio: 1.15;
  }
  .room-choices {
    justify-content: space-between;
  }
  .room-choices button {
    font-size: 0.9rem;
  }
  .room-content h3 {
    font-size: 3.6rem;
  }
  .calma-pause {
    height: 450px;
  }
  .pause-copy h2 {
    font-size: 3.8rem;
  }
}
