:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  color: #d0d9c8;
  background: #080b0a;
  --muted: #91a28a;
  --line: #2d382d;
}

* { box-sizing: border-box; }
body { margin: 0; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid #c1d4a4; outline-offset: 6px; }
::selection { color: #080b0a; background: #c1d4a4; }

.site-header,
main,
.site-footer {
  width: min(100% - 88px, 1424px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 102px;
  border-bottom: 1px solid var(--line);
}

.brand { padding-block: 14px; font-size: 22px; font-weight: 700; letter-spacing: .7px; }
.back-link,
.eyebrow,
.room-index,
.caption-index,
.enter-link,
.site-footer { font-family: monospace; }
.back-link { display: flex; align-items: center; gap: 16px; min-height: 44px; font-size: 10px; letter-spacing: .5px; color: var(--muted); }
.back-link span { font: 19px Arial, Helvetica, sans-serif; }
.back-link:hover { color: #e1e8d8; }

.collection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 65px 0 44px;
}

.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 9px; line-height: 1.5; letter-spacing: 1.5px; text-transform: uppercase; }
h1 { margin: 0; color: #d9dfcf; font-size: clamp(64px, 8.5vw, 112px); font-weight: 400; line-height: .94; letter-spacing: -.055em; }
.invitation { margin: 0 1px 4px 0; color: #a4af9a; font-size: 13px; line-height: 1.65; }

.room-collection { display: grid; gap: 66px; }
.room-entry { min-width: 0; }
.room-preview {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: #111712;
  border: 1px solid #344034;
}

.room-preview::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 60px #080b0a24; }
.room-preview img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 650ms ease; }
.room-index { position: absolute; top: 24px; left: 25px; padding: 8px 10px; color: #e2e9d9; background: #080b0a88; font-size: 10px; letter-spacing: 1px; }
.preview-arrow { position: absolute; right: 25px; bottom: 24px; display: grid; place-items: center; width: 45px; height: 45px; color: #e2e9d9; background: #080b0a88; border: 1px solid #d0d9c855; border-radius: 50%; font-size: 22px; transition: background 200ms ease; }
.room-caption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 0 30px; border-bottom: 1px solid var(--line); }
.room-identity { display: flex; align-items: baseline; gap: 27px; }
.caption-index { color: var(--muted); font-size: 9px; letter-spacing: .8px; }
h2 { margin: 0; color: #d9dfcf; font-size: clamp(25px, 2.8vw, 37px); line-height: 1.15; font-weight: 400; letter-spacing: -.9px; }
.enter-link { display: inline-flex; align-items: center; gap: 21px; min-height: 44px; color: #b8c8a7; font-size: 11px; }
.enter-link span { font: 22px Arial, Helvetica, sans-serif; }
.enter-link:hover { color: #eef4e5; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 36px 0 38px; color: #76866f; font-size: 8px; letter-spacing: 1.2px; }
.footer-mark { display: inline-block; margin: 0 14px; font: 16px Arial, Helvetica, sans-serif; vertical-align: -1px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 12px 16px; background: #d0d9c8; color: #080b0a; }
.skip-link:focus { top: 16px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .room-preview:hover img { transform: scale(1.018); }
  .room-preview:hover .preview-arrow { background: #253522cc; }
}

@media (max-width: 700px) {
  .site-header, main, .site-footer { width: calc(100% - 40px); }
  .site-header { min-height: 81px; gap: 16px; }
  .brand { font-size: 18px; letter-spacing: .3px; }
  .back-link { font-size: 9px; gap: 9px; letter-spacing: 0; }
  .collection-heading { align-items: start; flex-direction: column; gap: 22px; padding: 43px 0 30px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.15px; margin-bottom: 17px; }
  h1 { font-size: clamp(62px, 15vw, 90px); }
  .invitation { font-size: 12px; }
  .invitation br { display: none; }
  .room-preview { aspect-ratio: 5 / 4; }
  .room-index { top: 14px; left: 14px; font-size: 8px; }
  .preview-arrow { right: 14px; bottom: 14px; width: 39px; height: 39px; font-size: 20px; }
  .room-caption { gap: 12px; padding: 18px 0 23px; }
  .room-identity { gap: 13px; }
  .caption-index { font-size: 8px; }
  h2 { font-size: 27px; }
  .enter-link { gap: 10px; font-size: 10px; white-space: nowrap; }
  .site-footer { padding: 29px 0; font-size: 7px; letter-spacing: 1px; }
}

@media (max-width: 360px) {
  .site-header, main, .site-footer { width: calc(100% - 32px); }
  .brand { font-size: 16px; }
  .back-link { font-size: 8px; }
  .room-identity { gap: 9px; }
  h2 { font-size: 24px; }
  .enter-link { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .room-preview img, .preview-arrow { transition: none; }
}
