/* ==========================================================
   Jack Vegas: the motel building
   Sand, cream, turquoise, tangerine and a lick of chrome.
   ========================================================== */

@font-face {
  font-family: "Righteous";
  src: url("../fonts/righteous.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Damion";
  src: url("../fonts/damion.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Text";
  src: url("../fonts/redhat-text.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Text";
  src: url("../fonts/redhat-text-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #fff7e8;
  --paper: #fffbf3;
  --sand: #f4e2c3;
  --dune: #e5c796;
  --ink: #2a1d14;
  --ink-soft: #5b4636;
  --teal: #16a39c;
  --teal-mid: #0f7f7a;
  --teal-deep: #0b5f5c;
  --night: #0e3b39;
  --tangerine: #ef6c2a;
  --tangerine-deep: #a63f0c;
  --sun: #f4b740;
  --coral: #ee8466;
  --sky: #c6ebe6;
  --chrome: linear-gradient(180deg, #ffffff 0%, #d5dadf 38%, #8e98a1 52%, #c3cad0 70%, #f4f6f7 100%);
  --chrome-flat: #b9c1c8;
  --focus: #0b5f5c;
  --display: "Righteous", "Trebuchet MS", "Segoe UI", sans-serif;
  --script: "Damion", "Brush Script MT", cursive;
  --text: "Red Hat Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --lane: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-soft: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12px 12px, rgba(229, 199, 150, .35) 1.4px, transparent 1.8px);
  background-size: 34px 34px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.62;
}

main { flex: 1 0 auto; display: block; }
main:focus { outline: none; }

img, svg { max-width: 100%; height: auto; }
img { display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: .005em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.4rem); }

p { margin: 0 0 1em; }

a { color: var(--teal-deep); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--tangerine-deep); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.unseen {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-to {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: .65em 1.1em;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  text-decoration: none;
}
.skip-to:focus { top: 0; color: var(--cream); }

.lane {
  width: 100%;
  max-width: calc(var(--lane) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* guest / no-guest switches */
.no-guest [data-when="guest"],
.has-guest [data-when="no-guest"] { display: none !important; }

/* ---------- buttons ---------- */

.knob {
  --press-bg: var(--teal-deep);
  --press-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 46px;
  padding: .6em 1.35em;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--press-bg);
  color: var(--press-fg);
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 2px 0 rgba(42, 29, 20, .12);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.knob:hover { color: var(--press-fg); transform: translateY(-1px); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 5px 10px rgba(42, 29, 20, .16); }
.knob:active { transform: translateY(1px); }
.knob[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.knob--burst { --press-bg: var(--tangerine); --press-fg: var(--ink); }
.knob--burst::before {
  content: "";
  width: 1em; height: 1em;
  flex: none;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.knob--quiet { --press-bg: transparent; --press-fg: var(--teal-deep); border-color: var(--teal-deep); box-shadow: none; }
.knob--quiet:hover { --press-bg: rgba(22, 163, 156, .1); }
.knob--alarm { --press-bg: #8f2a14; --press-fg: #fff; }
.knob--small { min-height: 40px; padding: .4em 1em; font-size: .95rem; }

/* ---------- header ---------- */

.topline {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 247, 232, .96);
  border-bottom: 3px solid var(--teal);
  box-shadow: 0 1px 0 #fff inset, 0 4px 0 -1px rgba(185, 193, 200, .9);
}
@supports (backdrop-filter: blur(6px)) {
  .topline { background: rgba(255, 247, 232, .88); backdrop-filter: blur(6px); }
}
.topline__row {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 28px);
  min-height: 66px;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--teal-deep);
  text-decoration: none;
  flex: none;
}
.marque:hover { color: var(--tangerine-deep); }
.marque__word {
  font-family: var(--script);
  font-size: 2rem;
  line-height: 1;
  padding-bottom: .12em;
  white-space: nowrap;
}

.signposts { margin-left: auto; }
.signposts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(4px, 1.4vw, 20px);
}
.signposts__list a {
  display: block;
  padding: .45em .55em;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
}
.signposts__list a:hover { color: var(--teal-deep); background: rgba(22, 163, 156, .1); }
.signposts__list a[aria-current="page"] {
  color: var(--teal-deep);
  box-shadow: inset 0 -3px 0 var(--tangerine);
  border-radius: 10px 10px 2px 2px;
}

.keyhook { display: flex; align-items: center; flex: none; }
.keyring {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 42px;
  padding: .3rem .85rem .3rem .45rem;
  border: 2px solid var(--chrome-flat);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: inset 0 2px 0 #fff, 0 2px 0 rgba(42, 29, 20, .1);
}
.keyring:hover { border-color: var(--teal); }
.keyring__coin { flex: none; }
.keyring--sign {
  padding: .3rem 1rem;
  background: var(--tangerine);
  border-color: var(--tangerine-deep);
  color: var(--ink);
}

.signposts-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--teal-deep);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
  flex: none;
  align-items: center;
  justify-content: center;
}
.signposts-toggle__bars,
.signposts-toggle__bars::before,
.signposts-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--teal-deep);
  position: relative;
  transition: transform .2s ease;
}
.signposts-toggle__bars::before, .signposts-toggle__bars::after { content: ""; position: absolute; left: 0; }
.signposts-toggle__bars::before { top: -6px; }
.signposts-toggle__bars::after { top: 6px; }
.signposts-toggle[aria-expanded="true"] .signposts-toggle__bars { background: transparent; }
.signposts-toggle[aria-expanded="true"] .signposts-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.signposts-toggle[aria-expanded="true"] .signposts-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .signposts-toggle { display: inline-flex; }
  .keyhook { margin-left: auto; }
  .signposts {
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin: 0;
    background: var(--cream);
    border-bottom: 3px solid var(--teal);
    box-shadow: 0 14px 24px rgba(42, 29, 20, .14);
    display: none;
  }
  .signposts.is-open { display: block; }
  .signposts__list { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .signposts__list a { padding: .8em .4em; border-bottom: 1px dashed var(--dune); border-radius: 0; }
  .signposts__list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--tangerine); padding-left: .8em; border-radius: 0; }
}
@media (max-width: 400px) {
  .marque__word { font-size: 1.62rem; }
  .marque .mark-glyph { width: 34px; height: 34px; }
  .keyring { padding-right: .65rem; font-size: .98rem; }
}

/* ---------- dialogs ---------- */

.porch {
  width: min(32rem, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 3px solid var(--teal-deep);
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 8px var(--chrome-flat), 0 30px 60px rgba(14, 59, 57, .45);
}
.porch::backdrop { background: rgba(14, 59, 57, .74); }
.porch__inner { padding: clamp(22px, 5vw, 34px); }
.porch__title { font-size: clamp(1.45rem, 1.2rem + 1.2vw, 1.85rem); color: var(--teal-deep); }
.porch__burst { display: block; margin: 0 0 .6rem; }
.porch__choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2rem 0 .4rem; }
.porch__aside { margin-top: 1rem; font-size: .92rem; color: var(--ink-soft); }
.porch__help { padding-left: 1.2rem; }
.porch__help li { margin-bottom: .45rem; }

.fieldname { display: block; font-weight: 700; margin: 1rem 0 .35rem; }
.field-line {
  width: 100%;
  min-height: 50px;
  padding: .55rem .9rem;
  border: 2px solid var(--ink-soft);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
}
.field-line:focus-visible { outline-offset: 2px; border-color: var(--teal-deep); }
.field-line[aria-invalid="true"] { border-color: #a12a12; background: #fff4f0; }
.field-hint { font-size: .9rem; color: var(--ink-soft); margin: .4rem 0 0; }
.field-gripe { min-height: 1.3em; margin: .35rem 0 0; color: #a12a12; font-weight: 600; font-size: .95rem; }

.keyfacts { margin: 0 0 1rem; display: grid; gap: 4px; }
.keyfacts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--dune);
}
.keyfacts dt { color: var(--ink-soft); }
.keyfacts dd { margin: 0; font-family: var(--display); }

.topup-box {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 16px;
  background: var(--sand);
}
.topup-box__line { margin-bottom: .7rem; }
.checkout { border-top: 2px solid var(--sand); padding-top: .8rem; font-size: .95rem; }
.checkout__sure { margin-top: .6rem; padding: .8rem 1rem; border-radius: 14px; background: #fde9e2; }

/* ---------- housekeeping slip and bell ---------- */

.slip {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 25rem;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--teal-deep);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(42, 29, 20, .25);
  font-size: .93rem;
  line-height: 1.45;
}
.slip[hidden] { display: none; }
.slip p { margin: 0; }
@media (max-width: 560px) {
  .slip { left: 10px; right: 10px; bottom: 10px; max-width: none; flex-direction: column; align-items: stretch; }
}

.bell {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 70;
  max-width: min(24rem, calc(100vw - 32px));
  padding: 12px 16px 12px 44px;
  border-radius: 16px;
  background: var(--night);
  color: var(--cream);
  font-size: .95rem;
  line-height: 1.45;
  box-shadow: 0 14px 30px rgba(14, 59, 57, .35);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.bell::before {
  content: "";
  position: absolute;
  left: 14px; top: 14px;
  width: 18px; height: 18px;
  background: var(--sun);
  clip-path: polygon(50% 0, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0 50%, 40% 38%);
}
.bell.is-up { opacity: 1; transform: none; }
.bell:empty { display: none; }
@media (max-width: 560px) { .bell { top: 74px; right: 10px; left: 10px; max-width: none; } }

/* ---------- missing art ---------- */

img.is-missing { visibility: hidden; }

/* ---------- footer ---------- */

.motel-foot {
  --focus: var(--sun);
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--night);
  color: #f3eadb;
  font-size: .97rem;
  padding-bottom: 36px;
}
.motel-foot a { color: #fff3dc; }
.motel-foot a:hover { color: var(--sun); }
.motel-foot__awning {
  height: 26px;
  background:
    radial-gradient(circle at 18px -4px, transparent 17px, var(--night) 18px) 0 0 / 36px 26px repeat-x,
    repeating-linear-gradient(90deg, var(--tangerine) 0 18px, var(--cream) 18px 36px);
  transform: translateY(-25px);
  margin-bottom: -25px;
}
.motel-foot__grid {
  display: grid;
  gap: 28px 40px;
  grid-template-columns: minmax(0, 1fr);
  padding-top: 40px;
}
@media (min-width: 860px) {
  .motel-foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .motel-foot__small { grid-column: 1 / -1; }
}
.marque--night { color: var(--cream); }
.marque--night:hover { color: var(--sun); }
.motel-foot__motto { margin: .8rem 0; max-width: 30ch; color: #e4d8c4; }
.motel-foot__map { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.motel-foot__label { font-size: 1.05rem; color: var(--sun); margin-bottom: .4rem; }
.motel-foot__map ul { list-style: none; margin: 0; padding: 0; }
.motel-foot__map li { margin: 0 0 .25rem; }
.motel-foot__map a { display: inline-block; padding: .2rem 0; }
.motel-foot__small {
  border-top: 1px solid rgba(255, 247, 232, .2);
  padding-top: 22px;
  color: #e9dfcd;
  font-size: .92rem;
}
.motel-foot__small p { max-width: 82ch; }
.motel-foot__help { color: #fff; }
.motel-foot__sig { color: #cfc3ae; margin: 0; }

.age-stamp {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  font-weight: 600;
}
.age-stamp__num {
  display: inline-grid;
  place-items: center;
  width: 2.5em; height: 2.5em;
  flex: none;
  border-radius: 50%;
  background: var(--tangerine);
  color: var(--ink);
  font-family: var(--display);
  font-size: .82rem;
  box-shadow: 0 0 0 3px var(--cream) inset;
}

/* ==========================================================
   Home: roadside sign, walkway of doors, front desk, pool
   ========================================================== */

.verge {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--sky) 0%, #e4f3ec 42%, var(--cream) 78%);
  padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 80px);
}
.verge::after {
  content: "";
  position: absolute;
  left: -5%; right: -5%; bottom: -1px;
  height: 90px;
  background:
    radial-gradient(60% 100% at 25% 100%, var(--dune) 0 60%, transparent 61%),
    radial-gradient(50% 90% at 78% 100%, #ecd3a6 0 62%, transparent 63%);
  opacity: .8;
  pointer-events: none;
}
.verge__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 960px) {
  .verge__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}
.verge__copy h1 { max-width: 16ch; }
.verge__copy h1 em {
  font-style: normal;
  color: var(--tangerine-deep);
}
.verge__say { font-size: 1.15rem; max-width: 46ch; color: var(--ink-soft); }
.verge__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4rem 0 1.1rem; }
.verge__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  font-weight: 600;
  color: var(--teal-deep);
}
.verge__terms li { display: inline-flex; align-items: center; gap: .4rem; }
.verge__terms li::before {
  content: "";
  width: .75em; height: .75em;
  background: var(--tangerine);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.verge__scene {
  position: relative;
  min-height: 300px;
  margin-left: clamp(70px, 14vw, 120px);
}
.verge__photo {
  margin: 0;
  position: relative;
  border-radius: 140px 26px 26px 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #9fdcd6 0%, #f6d9a6 70%, #e5c796 100%);
  border: 6px solid var(--paper);
  box-shadow: 0 0 0 2px var(--chrome-flat), 0 24px 40px rgba(42, 29, 20, .22);
  aspect-ratio: 1600 / 1067;
}
.verge__photo img { width: 100%; height: 100%; object-fit: cover; }
.verge__sign {
  position: absolute;
  left: clamp(-120px, -12vw, -70px);
  bottom: -26px;
  width: clamp(140px, 22vw, 230px);
  z-index: 2;
  filter: drop-shadow(0 16px 18px rgba(42, 29, 20, .3));
}
.verge__sign svg { width: 100%; height: auto; display: block; }

.vacancy-glow { animation: buzz 6s infinite steps(1); }
@keyframes buzz {
  0%, 100% { opacity: 1; }
  47% { opacity: 1; }
  48% { opacity: .35; }
  49% { opacity: 1; }
  51% { opacity: .5; }
  52% { opacity: 1; }
}

/* Walkway */

.walkway { padding-top: clamp(48px, 7vw, 88px); }
.walkway__intro { display: grid; gap: 8px 40px; align-items: end; margin-bottom: 26px; }
@media (min-width: 860px) { .walkway__intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.walkway__intro p { margin: 0; color: var(--ink-soft); max-width: 52ch; }

.walkway__canopy {
  height: 46px;
  background:
    linear-gradient(135deg, transparent 0 50%, var(--cream) 50%) 0 100% / 46px 23px repeat-x,
    linear-gradient(225deg, transparent 0 50%, var(--cream) 50%) 0 100% / 46px 23px repeat-x,
    repeating-linear-gradient(90deg, var(--teal) 0 46px, #a8ded9 46px 92px);
  border-top: 5px solid var(--teal-deep);
}

.doors {
  list-style: none;
  margin: 0 auto;
  padding-top: 26px;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.4vw, 30px);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 9px, rgba(229, 199, 150, .55) 10px 12px, transparent 13px) 0 0 / 36px 36px,
    var(--sand);
}
@media (min-width: 960px) { .doors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.door {
  --door: var(--teal-mid);
  --door-ink: var(--cream);
  --door-trim: #0a5552;
  padding: 10px 10px 0;
  background: #5a4636;
  border-radius: 10px 10px 0 0;
  box-shadow: inset 0 0 0 3px #4a382b;
  perspective: 900px;
}
.door--tangerine { --door: var(--tangerine); --door-ink: var(--ink); --door-trim: #c9541b; }
.door--sun { --door: var(--sun); --door-ink: var(--ink); --door-trim: #d39622; }
.door--coral { --door: var(--coral); --door-ink: var(--ink); --door-trim: #d0644a; }

.door__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 340px;
  padding: 16px clamp(10px, 2vw, 18px) 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px calc(100% - 2px), rgba(0, 0, 0, .12) calc(100% - 2px)),
    var(--door);
  color: var(--door-ink);
  text-decoration: none;
  text-align: center;
  border-radius: 4px 4px 0 0;
  box-shadow: inset 0 0 0 6px var(--door), inset 0 0 0 8px var(--door-trim);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease;
}
.door__link:hover, .door__link:focus-visible {
  color: var(--door-ink);
  transform: rotateY(-14deg);
  box-shadow: inset 0 0 0 6px var(--door), inset 0 0 0 8px var(--door-trim), 18px 0 26px -10px rgba(0, 0, 0, .45);
}
.door__link:focus-visible { outline: 4px solid var(--sun); outline-offset: 2px; }

.door__plate {
  display: inline-block;
  min-width: 64px;
  padding: .2rem .8rem;
  border-radius: 50%;
  background: var(--chrome);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.15rem;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .25);
  margin-bottom: 14px;
}
.door__porthole {
  display: block;
  width: min(150px, 78%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55), transparent 40%),
    linear-gradient(180deg, #a8ded9, #f6d9a6);
  box-shadow: 0 0 0 5px #e9edf0, 0 0 0 7px #8e98a1, inset 0 3px 8px rgba(0, 0, 0, .3);
  margin-bottom: 16px;
}
.door__porthole img { width: 100%; height: 100%; object-fit: cover; }
.door__name { font-family: var(--display); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.15; margin-bottom: .4rem; }
.door__line { font-size: .96rem; line-height: 1.45; margin-bottom: .7rem; }
.door__stake {
  margin-top: auto;
  font-size: .88rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}
.door__knob {
  position: absolute;
  right: 12px;
  top: 56%;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--chrome);
  box-shadow: 0 2px 2px rgba(0, 0, 0, .35);
}
.walkway__floor {
  height: 40px;
  background:
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(90, 70, 54, .25) 118px 120px),
    linear-gradient(180deg, #cfc6b8, #e2dacd);
  border-top: 4px solid #a99c89;
}
@media (max-width: 520px) {
  .door { padding: 7px 7px 0; }
  .door__link { min-height: 300px; padding: 12px 18px 16px 14px; }
  .door__name { font-size: 1.05rem; }
  .door__line { font-size: .88rem; }
  .door__stake { font-size: .8rem; padding: .2rem .5rem; }
  .door__knob { right: 5px; width: 11px; height: 11px; top: 62%; }
}

/* Front desk */

.desk { padding-top: clamp(56px, 8vw, 96px); }
.desk__grid {
  display: grid;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 40px rgba(42, 29, 20, .16);
}
@media (min-width: 900px) { .desk__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.desk__counter {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(circle at 20% 30%, rgba(239, 108, 42, .18) 0 2px, transparent 3px) 0 0 / 23px 19px,
    radial-gradient(circle at 70% 60%, rgba(22, 163, 156, .2) 0 2px, transparent 3px) 0 0 / 29px 31px,
    radial-gradient(circle at 40% 80%, rgba(90, 70, 54, .18) 0 1.5px, transparent 2.5px) 0 0 / 17px 13px,
    #fbf1e1;
  border-bottom: 18px solid transparent;
  border-image: repeating-linear-gradient(90deg, #7a4b2a 0 14px, #8e5a34 14px 28px) 18;
}
.desk__bell { float: right; margin: 0 0 10px 16px; }
.desk__hello { font-size: 1.15rem; }
.desk__coins {
  font-family: var(--display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  color: var(--teal-deep);
  line-height: 1;
  margin: .2em 0 .5em;
}
.desk__coins small { font-family: var(--text); font-size: 1rem; color: var(--ink-soft); font-weight: 600; }
.desk__clock { font-weight: 600; }
.desk__row { display: flex; flex-wrap: wrap; gap: 10px; }
.desk__rack {
  padding: clamp(24px, 4vw, 44px);
  background: var(--teal-deep);
  color: var(--cream);
}
.desk__rack h3 { color: var(--cream); }
.keyrack { display: flex; gap: 14px; margin: 0 0 22px; padding: 14px 0 0; border-top: 6px solid #6b4a2e; }
.keyrack span {
  position: relative;
  width: 44px; height: 64px;
  margin-top: 12px;
  border-radius: 10px 10px 50% 50%;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--display);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transform: rotate(-5deg);
}
.keyrack span:nth-child(2n) { background: var(--coral); transform: rotate(4deg); }
.keyrack span:nth-child(3) { background: var(--cream); }
.keyrack span::before {
  content: "";
  position: absolute;
  top: -18px; left: 50%;
  width: 4px; height: 20px;
  margin-left: -2px;
  background: #d5dadf;
}
.deskfacts { margin: 0; display: grid; gap: 14px; }
.deskfacts div { border-left: 4px solid var(--tangerine); padding-left: 14px; }
.deskfacts dt { font-family: var(--display); font-size: 1.1rem; }
.deskfacts dd { margin: 0; color: #d9eeeb; }

/* Pool */

.poolside {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(36px, 6vw, 72px) 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgba(255, 255, 255, .5) 1px, transparent 1px) 0 0 / 56px 56px,
    #ead6b4;
}
.poolside__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .poolside__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.poolside__water svg { width: 100%; height: auto; }
.poolside__board {
  background: var(--paper);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 0 0 4px var(--chrome-flat), 0 18px 30px rgba(42, 29, 20, .15);
}
.pool-rules { list-style: none; counter-reset: lap; margin: 0 0 1.2rem; padding: 0; }
.pool-rules li {
  counter-increment: lap;
  position: relative;
  padding: .55rem 0 .65rem 3.2rem;
  border-bottom: 1px dashed var(--dune);
}
.pool-rules li::before {
  content: counter(lap);
  position: absolute;
  left: 0; top: .4rem;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: .95rem;
  color: var(--ink);
  background:
    radial-gradient(circle, var(--paper) 0 44%, transparent 46%),
    conic-gradient(#d9563f 0 12.5%, #fff 0 37.5%, #d9563f 0 62.5%, #fff 0 87.5%, #d9563f 0);
  box-shadow: 0 0 0 2px #b9482f;
}
.pool-rules strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.12rem; }

/* Postcard */

.postcard-row { margin-top: clamp(56px, 8vw, 96px); }
.postcard {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 44px);
  background:
    repeating-linear-gradient(135deg, var(--tangerine) 0 14px, var(--paper) 14px 22px, var(--teal) 22px 36px, var(--paper) 36px 44px) border-box;
  border: 10px solid transparent;
  border-radius: 6px;
  position: relative;
}
.postcard__inner {
  background: var(--paper);
  border-radius: 2px;
  padding: clamp(18px, 3vw, 34px);
  display: grid;
  gap: 28px;
}
@media (min-width: 860px) { .postcard__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.postcard__note { font-size: 1.05rem; }
.postcard__note .signoff { font-family: var(--script); font-size: 2rem; color: var(--teal-deep); margin: 0; }
.postcard__stats { border-left: 2px dashed var(--dune); padding-left: clamp(0px, 3vw, 28px); }
@media (max-width: 859px) { .postcard__stats { border-left: 0; border-top: 2px dashed var(--dune); padding: 20px 0 0; } }
.return-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.return-list li { display: flex; justify-content: space-between; gap: 12px; padding: .45rem 0; border-bottom: 1px solid var(--sand); }
.return-list b { font-family: var(--display); font-weight: 400; color: var(--teal-deep); white-space: nowrap; }

/* ==========================================================
   Inner pages: lounge, office pages and paperwork
   ========================================================== */

.page-sign {
  padding: clamp(28px, 5vw, 60px) 0 clamp(20px, 3vw, 36px);
  background: linear-gradient(180deg, var(--sky), var(--cream));
}
.page-sign__arrow {
  display: inline-block;
  position: relative;
  max-width: 100%;
  padding: .5rem 3.2rem .6rem 1.2rem;
  margin-bottom: 1rem;
  background: var(--teal-mid);
  color: var(--cream);
  clip-path: polygon(0 0, calc(100% - 2.2rem) 0, 100% 50%, calc(100% - 2.2rem) 100%, 0 100%, .9rem 50%);
  font-family: var(--display);
  font-size: 1.02rem;
}
.page-sign h1 { max-width: 22ch; }
.page-sign__say { max-width: 60ch; font-size: 1.13rem; color: var(--ink-soft); margin: 0; }

.letter {
  max-width: 74ch;
}
.letter h2 { margin-top: 2rem; color: var(--teal-deep); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.letter h3 { margin-top: 1.4rem; }
.letter ul, .letter ol { padding-left: 1.3rem; }
.letter li { margin-bottom: .45rem; }
.letter table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: .97rem; }
.letter th, .letter td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--dune); vertical-align: top; }
.letter th { font-family: var(--display); font-weight: 400; color: var(--teal-deep); }
.letter .scroller { overflow-x: auto; }

.paper-layout { display: grid; gap: 32px; padding-top: clamp(20px, 3vw, 40px); }
@media (min-width: 980px) { .paper-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }

.key-fob {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: 22px 22px 60px 60px;
  background: var(--sun);
  color: var(--ink);
  box-shadow: inset 0 0 0 3px rgba(42, 29, 20, .15), 0 14px 26px rgba(42, 29, 20, .15);
}
.key-fob::before {
  content: "";
  position: absolute;
  top: 12px; left: 50%;
  width: 18px; height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .3);
}
.key-fob h2 { font-size: 1.25rem; margin-top: 18px; }
.key-fob ul { margin: 0; padding-left: 1.1rem; }
.key-fob li { margin-bottom: .35rem; }
@media (min-width: 980px) { .key-fob { position: sticky; top: 96px; } }

.helplist { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 10px; }
.helplist li {
  padding: .8rem 1rem;
  border-left: 5px solid var(--teal);
  background: var(--paper);
  border-radius: 0 14px 14px 0;
}
.helplist span { display: block; color: var(--ink-soft); font-size: .95rem; }

.coin-caveat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.4rem 0 0;
  padding: .8rem 1rem;
  border-radius: 16px;
  background: var(--sand);
  font-size: .95rem;
}

/* Lounge directory */

.directory { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 48px); }
.directory__entry {
  display: grid;
  gap: 20px 36px;
  align-items: center;
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 3px double var(--dune);
}
@media (min-width: 820px) {
  .directory__entry { grid-template-columns: 260px minmax(0, 1fr); }
  .directory__entry:nth-child(even) { grid-template-columns: minmax(0, 1fr) 260px; }
  .directory__entry:nth-child(even) .directory__pic { order: 2; }
}
.directory__pic {
  position: relative;
  width: min(260px, 70vw);
  aspect-ratio: 1;
  border-radius: 50% 50% 46% 54% / 55% 45% 55% 45%;
  overflow: hidden;
  background: linear-gradient(160deg, #a8ded9, #f6d9a6);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 9px var(--chrome-flat), 0 18px 30px rgba(42, 29, 20, .2);
}
.directory__pic img { width: 100%; height: 100%; object-fit: cover; }
.directory__no {
  font-family: var(--script);
  font-size: 1.7rem;
  color: var(--tangerine-deep);
  margin: 0;
}
.directory__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 1.1rem; padding: 0; list-style: none; font-size: .95rem; }
.directory__facts li { border-bottom: 2px solid var(--teal); }

/* Contact */

.mail-slot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin: 1.4rem 0;
  padding: 22px;
  border-radius: 22px;
  background: var(--teal-deep);
  color: var(--cream);
}
.mail-slot a { color: #fff; font-family: var(--display); font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); word-break: break-word; }
.mail-slot a:hover { color: var(--sun); }
.mail-slot { --focus: var(--sun); }

/* Status pages */

.lost-sign { padding: clamp(40px, 8vw, 100px) 0; text-align: center; }
.lost-sign__no {
  font-family: var(--display);
  font-size: clamp(4rem, 3rem + 8vw, 9rem);
  line-height: 1;
  color: var(--tangerine);
  -webkit-text-stroke: 2px var(--tangerine-deep);
  margin: 0 0 .2em;
}
.lost-sign h1 { max-width: 20ch; margin-inline: auto; }
.lost-sign p { max-width: 52ch; margin-inline: auto; }
.lost-sign__ways { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 1.4rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .door__link:hover, .door__link:focus-visible { transform: none; }
}

@media print {
  .topline, .motel-foot, .slip, .bell, dialog { display: none !important; }
  body { background: #fff; }
}

.key-fob a { color: var(--ink); font-weight: 700; }
.key-fob a:hover { color: #6b2a07; }
.key-fob { --focus: var(--ink); }
