:root {
  color-scheme: light;
  --ink: #2b251d;
  --muted: #716756;
  --dim: #9a8d78;
  --paper: #f6efe4;
  --soft: #efe2cf;
  --line: rgba(43, 37, 29, 0.16);
  --accent: #9b6f31;
  --max: 1120px;
  --art-width: 920px;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

a { color: inherit; }

.site-hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 90px clamp(18px, 4vw, 64px) 54px;
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: saturate(0.95) contrast(0.98) brightness(1.04);
  transform: scale(1.02);
  animation: slow-presence 24s ease-in-out infinite alternate;
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 239, 228, 0.96) 0%, rgba(246, 239, 228, 0.84) 42%, rgba(246, 239, 228, 0.24) 100%);
}

.topbar,
.room-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 52px);
  color: var(--ink);
  background: rgba(246, 239, 228, 0.86);
  border-bottom: 1px solid rgba(43, 37, 29, 0.08);
  backdrop-filter: blur(10px);
}

.brand,
.toplink,
.plain-link,
.primary-link {
  text-decoration: none;
}

.brand {
  font-weight: 720;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
}

.toplink,
.plain-link {
  color: var(--muted);
  font-size: 14px;
}

.toplink:hover,
.plain-link:hover { color: var(--ink); }

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
}

h1,
h2 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 720;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 118px);
  line-height: 0.94;
}

.lede {
  max-width: 520px;
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(155, 111, 49, 0.42);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(155, 111, 49, 0.82);
}

.rooms {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 84px) clamp(18px, 4vw, 42px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.04;
}

.room-list {
  border-top: 1px solid var(--line);
}

.room-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1.1fr) minmax(220px, 0.8fr) 126px;
  gap: clamp(14px, 2.2vw, 30px);
  align-items: center;
  min-height: 172px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.room-row:hover .room-title { color: var(--accent); }
.room-row:hover img { transform: scale(1.035); filter: saturate(1); }

.room-kicker,
.room-line {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.room-title {
  font-weight: 720;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  transition: color 180ms ease;
}

.room-row img {
  width: 126px;
  height: 150px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  transition: transform 220ms ease, filter 220ms ease;
  filter: saturate(0.82);
}

.room-nav {
  background: rgba(246, 239, 228, 0.88);
  border-bottom: 1px solid rgba(43, 37, 29, 0.1);
}

.door-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.room-page {
  width: 100%;
  margin: 0;
  padding: 92px 0 76px;
}

.room-heading {
  width: min(var(--art-width), calc(100% - 32px));
  margin: 0 auto clamp(22px, 4vw, 42px);
}

.room-heading h1 {
  max-width: 760px;
  font-size: clamp(40px, 6.8vw, 84px);
  line-height: 0.98;
}

.room-heading > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.room-walk {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.room-picture {
  width: min(var(--art-width), calc(100vw - 32px));
  margin: 0;
  aspect-ratio: 2 / 3;
}

.room-picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  background: #efe4d3;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(43, 37, 29, 0.12);
}

.room-footer {
  width: min(var(--art-width), calc(100% - 32px));
  margin: clamp(34px, 6vw, 70px) auto 0;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.next-room {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  text-decoration: none;
  font-weight: 760;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1;
}

.next-room span {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

@keyframes enter-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-presence {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.065) translate3d(-1%, -0.6%, 0); }
}

@media (max-width: 760px) {
  .site-hero {
    min-height: 76svh;
    padding-top: 78px;
  }

  .hero-art {
    object-position: 68% center;
  }

  .site-hero::after {
    background: linear-gradient(180deg, rgba(246, 239, 228, 0.96) 0%, rgba(246, 239, 228, 0.7) 62%, rgba(246, 239, 228, 0.5) 100%);
  }

  .room-row {
    grid-template-columns: minmax(0, 1fr) 92px;
    min-height: 142px;
  }

  .room-kicker,
  .room-line {
    grid-column: 1;
  }

  .room-title {
    grid-column: 1;
  }

  .room-row img {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 92px;
    height: 124px;
  }

  .room-page {
    padding-top: 82px;
  }

  .room-heading,
  .room-footer {
    width: min(100% - 22px, var(--art-width));
  }

  .room-picture {
    width: min(100vw - 14px, var(--art-width));
  }

  .door-links {
    gap: 12px;
  }

  .door-links .plain-link:first-child {
    display: none;
  }

}
