* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  font: 100%/1.55 system-ui, sans-serif;
  color: #f2edf2;
  background: #111a26;
  --muted: #c0c5d0;
  --rule: #394353;
  --lavender: #c1b7d5;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 76% 10%, #20283a 0, #111a26 52%);
}

a {
  color: inherit;
  text-underline-offset: .22em;
}

a:focus-visible {
  outline: 2px solid #eddfa6;
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}

.wrap {
  width: min(100% - 3rem, 76rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 1;
  top: .5rem;
  left: .5rem;
  padding: .6rem 1rem;
  background: #111a26;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--rule);
}

.brand, nav {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.brand {
  font-size: .97rem;
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  border-radius: 50%;
}

nav {
  gap: clamp(.85rem, 3vw, 2.1rem);
  font-size: .875rem;
  color: var(--muted);
}

nav a {
  text-decoration: none;
}

nav a:hover, .site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  align-items: center;
  gap: clamp(1.75rem, 4.4vw, 4.5rem);
  margin-block: clamp(2rem, 6vw, 4.6rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.75vw, 4.6rem);
  letter-spacing: -.048em;
}

.hero h1 em {
  color: var(--lavender);
}

.hero p {
  margin: 1.4rem 0 1.65rem;
  max-width: 31ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.primary {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  padding: .68rem .95rem;
  border: 1px solid #c1b7d5;
  border-radius: 5px;
  background: #c1b7d5;
  color: #111a26;
  font-weight: 650;
  text-decoration: none;
}

.primary:hover {
  background: #e1d9ed;
}

.hero-image {
  width: 100%;
  height: auto;
  border: 1px solid #46505c;
  border-radius: .4rem;
  box-shadow: 0 1rem 2rem #080b1266;
}

.rooms {
  margin-block: 2.2rem 3.6rem;
}

.rooms h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 2.4vw, 1.7rem);
}

.room {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: .4rem;
  background: #182331;
  text-decoration: none;
}

.room:hover {
  border-color: var(--room-accent);
}

.echoes { --room-accent: #b9cadf; }
.stories { --room-accent: #e4c998; }
.ritual { --room-accent: #d4c3ed; }

.room img {
  width: 100%;
  height: auto;
}

.room-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(.9rem, 2.3vw, 1.45rem);
}

.room h3 {
  margin: 0;
  color: var(--room-accent);
  font-size: clamp(1.26rem, 2.5vw, 1.87rem);
}

.room p {
  margin: .65rem 0 .85rem;
  color: var(--muted);
  font-size: .96rem;
}

.room-link {
  margin-top: auto;
  color: var(--room-accent);
  font-size: .875rem;
  font-weight: 650;
}

.room:hover .room-link {
  text-decoration: underline;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: .85rem 1.5rem;
  border-top: 1px solid var(--rule);
  padding-block: 1.45rem 2.25rem;
  color: var(--muted);
  font-size: .9rem;
  overflow-wrap: anywhere;
}

.site-footer h2 {
  margin: 0 0 .5rem;
  color: #f2edf2;
  font-size: 1.2rem;
}

@media (max-width: 46rem) {
  .hero {
    grid-template-columns: 1fr;
  }

  .room-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 24rem) {
  .wrap {
    width: calc(100% - 2rem);
  }

  .site-header {
    flex-wrap: wrap;
  }
}
