/* Self-hosted fonts (SIL Open Font License), latin subset */

@font-face {
  font-family: "Poiret One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poiret-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --aubergine: #35122c;
  --aubergine-2: #4a1c3e;
  --aubergine-3: #2a0e23;
  --blush: #f6ded8;
  --blush-deep: #efd0c9;
  --slip: #f7cbc5;
  --garnet: #9c2c43;
  --brass: #c9a15a;
  --brass-light: #e6c98e;
  --ink: #27348b;

  --text: var(--aubergine);
  --text-soft: #6b3f5c;
  --on-dark-soft: #d9b9c4;
  --rule: rgba(53, 18, 44, 0.2);

  --display: "Poiret One", "Josefin Sans", "Futura", sans-serif;
  --sans: "Jost", "Futura", "Avenir Next", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.2rem, 4.2vw, 3.4rem);
  --step-4: clamp(3rem, 7vw, 6.25rem);

  /* Deco corner ornaments for the menu and reservation cards */
  --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg transform='rotate(0 22 22)' fill='none' stroke='%23C9A15A' stroke-width='1.2'%3E%3Cpath d='M2 42V18A16 16 0 0 1 18 2h24'/%3E%3Cpath d='M8 42V20a12 12 0 0 1 12-12h22'/%3E%3Cpath d='M14 42V22a8 8 0 0 1 8-8h20' stroke-opacity='.55'/%3E%3Ccircle cx='22' cy='22' r='2.2' fill='%23C9A15A' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg transform='rotate(90 22 22)' fill='none' stroke='%23C9A15A' stroke-width='1.2'%3E%3Cpath d='M2 42V18A16 16 0 0 1 18 2h24'/%3E%3Cpath d='M8 42V20a12 12 0 0 1 12-12h22'/%3E%3Cpath d='M14 42V22a8 8 0 0 1 8-8h20' stroke-opacity='.55'/%3E%3Ccircle cx='22' cy='22' r='2.2' fill='%23C9A15A' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg transform='rotate(180 22 22)' fill='none' stroke='%23C9A15A' stroke-width='1.2'%3E%3Cpath d='M2 42V18A16 16 0 0 1 18 2h24'/%3E%3Cpath d='M8 42V20a12 12 0 0 1 12-12h22'/%3E%3Cpath d='M14 42V22a8 8 0 0 1 8-8h20' stroke-opacity='.55'/%3E%3Ccircle cx='22' cy='22' r='2.2' fill='%23C9A15A' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg transform='rotate(270 22 22)' fill='none' stroke='%23C9A15A' stroke-width='1.2'%3E%3Cpath d='M2 42V18A16 16 0 0 1 18 2h24'/%3E%3Cpath d='M8 42V20a12 12 0 0 1 12-12h22'/%3E%3Cpath d='M14 42V22a8 8 0 0 1 8-8h20' stroke-opacity='.55'/%3E%3Ccircle cx='22' cy='22' r='2.2' fill='%23C9A15A' stroke='none'/%3E%3C/g%3E%3C/svg%3E");

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 10vw, 8.5rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--blush);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Honeypot field for bots; kept off-screen rather than display:none so they still fill it. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--blush);
  color: var(--aubergine);
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: var(--step-3);
}

.section-head p {
  max-width: 30rem;
  color: var(--text-soft);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.7rem;
  border: 1px solid var(--garnet);
  border-radius: 999px;
  background: var(--garnet);
  color: var(--blush);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: #84223a;
  border-color: #84223a;
}

.btn-small {
  min-height: 2.5rem;
  padding: 0 1.15rem;
  font-size: var(--step--1);
}

.btn-outline {
  background: transparent;
  border-color: var(--aubergine);
  color: var(--aubergine);
}

.btn-outline:hover {
  background: var(--aubergine);
  border-color: var(--aubergine);
  color: var(--blush);
}

.btn-brass {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--aubergine);
}

.btn-brass:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--aubergine);
  color: var(--blush);
  border-bottom: 1px solid rgba(201, 161, 90, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.25rem;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-size: var(--step--1);
}

/* Pages without a nav (the 404) still push the button to the right. */
.wordmark + .btn {
  margin-left: auto;
}

.nav a {
  color: var(--on-dark-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--blush);
}

/* Hero */

.hero {
  --carpet: 1.25rem;
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6.5rem) var(--carpet);
  background-color: var(--aubergine);
  /* Deco fan wallpaper, quieter behind the headline */
  background-image:
    radial-gradient(ellipse 55% 75% at 22% 45%, var(--aubergine) 30%, rgba(53, 18, 44, 0) 85%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30' viewBox='0 0 60 30'%3E%3Cg fill='none' stroke='%23C9A15A' stroke-opacity='.11'%3E%3Cpath d='M2 30a28 28 0 0 1 56 0'/%3E%3Cpath d='M10 30a20 20 0 0 1 40 0'/%3E%3Cpath d='M18 30a12 12 0 0 1 24 0'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30' viewBox='0 0 60 30'%3E%3Cg fill='none' stroke='%23C9A15A' stroke-opacity='.11'%3E%3Cpath d='M2 30a28 28 0 0 1 56 0'/%3E%3Cpath d='M10 30a20 20 0 0 1 40 0'/%3E%3Cpath d='M18 30a12 12 0 0 1 24 0'/%3E%3C/g%3E%3C/svg%3E");
  background-position: 0 0, 0 0, 30px 15px;
  background-size: auto, 60px 30px, 60px 30px;
  color: var(--blush);
}

/* Hallway carpet runner the door stands on */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--carpet);
  border-top: 2px solid var(--brass);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='20' viewBox='0 0 22 20'%3E%3Cpath d='M11 4 18 10 11 16 4 10Z' fill='none' stroke='%23C9A15A' stroke-opacity='.75'/%3E%3Ccircle cx='11' cy='10' r='1.4' fill='%23C9A15A'/%3E%3C/svg%3E") center / 22px 100% repeat-x, var(--garnet);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 3rem;
}

.hero-copy {
  padding-bottom: clamp(3rem, 8vw, 6.5rem);
}

.hero h1 {
  max-width: 10ch;
  font-size: var(--step-4);
  font-weight: 500;
}

.lede {
  max-width: 33rem;
  margin-top: 1.75rem;
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.55;
  color: var(--on-dark-soft);
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 34rem;
  margin-top: 2.5rem;
}

.waitlist input {
  flex: 1 1 15rem;
  min-height: 3.25rem;
  padding: 0 1.3rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
}

.waitlist input::placeholder {
  color: inherit;
  opacity: 0.55;
}

.waitlist input[aria-invalid="true"] {
  border-color: #e0798c;
}

.form-status {
  flex-basis: 100%;
  min-height: 1.5em;
  font-size: var(--step--1);
  opacity: 0.85;
}

.form-status[data-state="error"] {
  color: #e0798c;
  opacity: 1;
}

.card .form-status[data-state="error"] {
  color: var(--garnet);
}

.waitlist[data-done] input,
.waitlist[data-done] button {
  display: none;
}

.waitlist[data-done] .form-status {
  font-size: var(--step-0);
  opacity: 1;
}

.booked {
  max-width: 34rem;
  margin-top: 0.5rem;
  font-size: var(--step--1);
  color: var(--on-dark-soft);
}

.booked strong {
  font-weight: 600;
  color: var(--brass-light);
  font-variant-numeric: tabular-nums;
}

/* Door and hanger (the 404 page) */

.door {
  position: relative;
  justify-self: center;
  width: min(100%, 22rem);
  aspect-ratio: 22 / 36;
  padding: 2.25rem 2rem 0;
  border-radius: 0.4rem 0.4rem 0 0;
  background: linear-gradient(90deg, var(--aubergine-3), var(--aubergine-2) 40%, var(--aubergine-2) 70%, var(--aubergine-3));
  box-shadow: inset 0 0 0 0.6rem #3f1734, 0 0 0 1px rgba(201, 161, 90, 0.25);
  display: grid;
  grid-template-rows: 1fr 1.4fr;
  gap: 1.6rem;
}

.door-panel {
  position: relative;
  border-radius: 0.25rem;
  box-shadow:
    inset 0 0 0 1px rgba(201, 161, 90, 0.3),
    inset 0.4rem 0.4rem 0.8rem rgba(0, 0, 0, 0.25),
    inset -0.3rem -0.3rem 0.6rem rgba(255, 255, 255, 0.04);
}

.knob {
  position: absolute;
  left: 72%;
  top: 41%;
  width: 2.6rem;
  height: 2.6rem;
  margin: -1.3rem 0 0 -1.3rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1cf, var(--brass) 45%, #7c5a22);
  box-shadow: 0 0 0 0.7rem rgba(201, 161, 90, 0.18), 0 0.4rem 0.8rem rgba(0, 0, 0, 0.4);
}

.hanger {
  --hole: 3.9rem;
  display: grid;
  position: absolute;
  left: 72%;
  top: 41%;
  width: 12rem;
  margin-left: -6rem;
  margin-top: calc(var(--hole) * -1);
  padding: 6.4rem 1.4rem 1.6rem;
  border-radius: 1.5rem 1.5rem 1rem 1rem;
  background: var(--blush);
  color: var(--aubergine);
  text-align: center;
  transform-origin: 50% var(--hole);
  -webkit-mask: radial-gradient(circle 1.75rem at 50% var(--hole), transparent 98%, #000 100%);
  mask: radial-gradient(circle 1.75rem at 50% var(--hole), transparent 98%, #000 100%);
  transition: rotate 0.6s cubic-bezier(0.3, 1.6, 0.5, 1);
  box-shadow: inset 0 0 0 0.35rem var(--blush), inset 0 0 0 0.45rem var(--garnet);
}

.door:hover .hanger {
  rotate: -4deg;
}

.hanger-please {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--garnet);
}

.hanger-main {
  margin-top: 0.15rem;
  font-family: var(--display);
  font-size: 2.35rem;
  line-height: 1;
}

.hanger-note {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.hanger-room {
  width: fit-content;
  margin: 1.3rem auto 0;
  padding: 0.15rem 0.9rem;
  border: 1px solid var(--brass);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 1rem;
  color: #8a6a2c;
}

/* Front desk: pigeonholes, a desk bell and a note */

.scene {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 22rem);
}

.pigeonholes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 0.6rem;
  border-radius: 0.3rem;
  background: var(--aubergine-3);
  box-shadow: inset 0 0 0 1px rgba(201, 161, 90, 0.45), 0 0 0 0.35rem #3f1734, 0 0 0 calc(0.35rem + 1px) rgba(201, 161, 90, 0.3);
}

.hole {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 5 / 4;
  padding-bottom: 0.3rem;
  border-radius: 2px;
  background: linear-gradient(#12040d, var(--aubergine-2));
  box-shadow: inset 0 0.5rem 0.8rem rgba(0, 0, 0, 0.55);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--brass);
}

.hole-900 {
  color: var(--brass-light);
  box-shadow: inset 0 0.5rem 0.8rem rgba(0, 0, 0, 0.55), inset 0 0 0 1px var(--brass);
}

.post {
  position: absolute;
  left: 18%;
  bottom: 1.25rem;
  width: 64%;
  height: 42%;
  border-radius: 2px;
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), rgba(156, 44, 67, 0.55) 50%, transparent calc(50% + 1px)) left top / 50% 70% no-repeat,
    linear-gradient(to top left, transparent calc(50% - 1px), rgba(156, 44, 67, 0.55) 50%, transparent calc(50% + 1px)) right top / 50% 70% no-repeat,
    var(--blush);
  box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.35);
}

.counter {
  position: relative;
  height: 10rem;
  margin-top: 7.5rem;
  border-top: 0.6rem solid var(--brass);
  border-radius: 0.2rem 0.2rem 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(201, 161, 90, 0) 0 2.6rem, rgba(201, 161, 90, 0.28) 2.6rem calc(2.6rem + 1px), rgba(201, 161, 90, 0) calc(2.6rem + 1px) 2.75rem, rgba(201, 161, 90, 0.28) 2.75rem calc(2.75rem + 1px)) center / 100% 100%,
    linear-gradient(var(--garnet), #7a1f33);
  box-shadow: inset 0 0.6rem 1rem rgba(0, 0, 0, 0.3);
}

.counter-plaque {
  position: absolute;
  left: 50%;
  top: 2rem;
  translate: -50% 0;
  padding: 0.2rem 0.9rem;
  border-radius: 2px;
  background: linear-gradient(var(--brass-light), var(--brass));
  color: var(--aubergine);
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.35);
}

.bell {
  position: absolute;
  left: 9%;
  bottom: 100%;
  width: 4.4rem;
  height: 3.4rem;
  margin-bottom: 0.6rem;
}

/* Base plate */
.bell::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(#3a1530, #1a0712);
  box-shadow: 0 0.25rem 0.4rem rgba(0, 0, 0, 0.4);
}

/* Ring when struck */
.bell::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.6rem;
  width: 6rem;
  height: 3rem;
  margin-left: -3rem;
  border: 2px solid transparent;
  border-top-color: var(--brass-light);
  border-radius: 50%;
  opacity: 0;
}

.bell-dome {
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0.35rem;
  height: 2.5rem;
  border-radius: 50% 50% 0.2rem 0.2rem / 100% 100% 0.2rem 0.2rem;
  background: radial-gradient(circle at 35% 25%, #fff1cf, var(--brass) 40%, #7c5a22);
  transform-origin: 50% 100%;
}

/* Plunger */
.bell-dome::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 0.7rem;
  height: 0.75rem;
  margin-left: -0.35rem;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(90deg, #7c5a22, var(--brass-light), #7c5a22);
}

.desk-card {
  position: absolute;
  right: 7%;
  bottom: 100%;
  width: 11rem;
  padding: 0.9rem 1rem 0.8rem;
  border-radius: 2px;
  background: var(--blush);
  color: var(--aubergine);
  text-align: center;
  box-shadow: inset 0 0 0 0.25rem var(--blush), inset 0 0 0 calc(0.25rem + 1px) var(--brass), 0 0.4rem 0.8rem rgba(0, 0, 0, 0.35);
  transform-origin: 50% 100%;
}

.desk-card p {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.15;
}

.desk-card .desk-card-sign {
  margin-top: 0.45rem;
  font-family: var(--hand);
  font-size: 1.05rem;
  color: var(--garnet);
}

/* Hero animation: mail drops into the pigeonholes, the bell rings, the note is put out */
@media (prefers-reduced-motion: no-preference) {
  .post {
    animation: drop 0.5s cubic-bezier(0.5, 0, 0.6, 1.4) both;
  }

  .hole:nth-child(2) .post { animation-delay: 0.5s; }
  .hole:nth-child(8) .post { animation-delay: 0.85s; }
  .hole:nth-child(6) .post { animation-delay: 1.2s; }
  .hole:nth-child(9) .post { animation-delay: 1.55s; }
  .hole:nth-child(12) .post { animation-delay: 1.9s; }

  .bell-dome {
    animation: ding 0.7s ease-out 2.6s both;
  }

  .bell::after {
    animation: ring 0.9s ease-out 2.6s both;
  }

  .desk-card {
    animation: stand-up 0.8s cubic-bezier(0.3, 1.4, 0.5, 1) 3.1s both;
  }
}

@keyframes drop {
  0% { translate: 0 -2.4rem; opacity: 0; }
  30% { opacity: 1; }
  100% { translate: 0 0; }
}

@keyframes ding {
  0%, 100% { rotate: 0deg; scale: 1; }
  12% { scale: 1 0.9; }
  30% { rotate: -5deg; scale: 1; }
  50% { rotate: 4deg; }
  70% { rotate: -2deg; }
  85% { rotate: 1deg; }
}

@keyframes ring {
  0% { opacity: 0; scale: 0.5; }
  20% { opacity: 1; }
  100% { opacity: 0; scale: 1.5; }
}

@keyframes stand-up {
  from { transform: perspective(30rem) rotateX(-88deg); opacity: 0; }
  20% { opacity: 1; }
  to { transform: perspective(30rem) rotateX(0); }
}

/* Message slips */

.messages {
  padding-block: var(--section);
}

.slips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.slip {
  position: relative;
  padding: 1.4rem 1.5rem 1.6rem;
  background: var(--slip);
  box-shadow: 0 1px 0 rgba(53, 18, 44, 0.08), 0 0.9rem 1.6rem -1rem rgba(53, 18, 44, 0.45);
  rotate: -0.8deg;
}

.slip:nth-child(3n + 2) {
  rotate: 0.9deg;
  translate: 0 0.6rem;
}

.slip:nth-child(3n) {
  rotate: -0.3deg;
}

.slip::after {
  content: "";
  position: absolute;
  top: -0.45rem;
  left: 50%;
  width: 0.95rem;
  height: 0.95rem;
  margin-left: -0.475rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1cf, var(--brass) 45%, #7c5a22);
  box-shadow: 0 0.2rem 0.3rem rgba(53, 18, 44, 0.35);
}

.slip {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.slip:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 1px 0 rgba(53, 18, 44, 0.08), 0 1.4rem 2rem -1rem rgba(53, 18, 44, 0.5);
}

.slip::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.5rem;
  background: repeating-linear-gradient(90deg, transparent 0 0.45rem, rgba(53, 18, 44, 0.08) 0.45rem 0.55rem);
}

.slip-title {
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--garnet);
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--garnet);
}

.slip-fields {
  margin: 0.4rem 0 0;
}

.slip-fields div {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.3rem;
  border-bottom: 1px solid rgba(156, 44, 67, 0.3);
}

.slip-fields dt {
  flex: none;
  width: 2.8rem;
  font-size: 0.8rem;
  color: var(--garnet);
}

.slip-fields dd {
  margin: 0;
  font-family: var(--hand);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--ink);
}

.slip-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: var(--garnet);
}

.slip-checks li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.slip-checks li::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border: 1px solid var(--garnet);
}

.slip-checks .is-checked::before {
  content: "✓";
  display: grid;
  place-items: center;
  font-family: var(--hand);
  font-size: 1.3rem;
  line-height: 0;
  color: var(--ink);
}

.slip-note {
  margin-top: 0.9rem;
  font-family: var(--hand);
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--ink);
}

.slip-urgent .slip-note {
  text-decoration: underline wavy rgba(39, 52, 139, 0.45);
  text-underline-offset: 0.3rem;
}

/* Services menu */

.menu {
  padding-block: var(--section);
  background: var(--aubergine);
}

.menu-card {
  background-image: var(--corner-tl), var(--corner-tr), var(--corner-br), var(--corner-bl);
  background-position: left 1.4rem top 1.4rem, right 1.4rem top 1.4rem, right 1.4rem bottom 1.4rem, left 1.4rem bottom 1.4rem;
  background-size: 2.6rem;
  background-repeat: no-repeat;
  max-width: 50rem;
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 6vw, 4.5rem);
  background-color: var(--blush);
  box-shadow: inset 0 0 0 0.6rem var(--blush), inset 0 0 0 0.7rem var(--brass), inset 0 0 0 0.9rem var(--blush), inset 0 0 0 0.95rem var(--brass);
}

.menu-card h2 {
  font-size: var(--step-3);
  text-align: center;
}

.menu-intro {
  max-width: 30rem;
  margin: 1rem auto 0;
  text-align: center;
  color: var(--text-soft);
}

.menu-group {
  margin-top: 3rem;
}

.menu-group h3 {
  margin-bottom: 1rem;
  font-size: var(--step-2);
  text-align: center;
  color: var(--garnet);
}

.menu-group dl {
  margin: 0;
}

.menu-group dl div {
  display: flex;
  align-items: last baseline;
  gap: 0.6rem;
  padding-block: 0.45rem;
}

.menu-group dl div::after {
  content: "";
  order: 1;
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-bottom: 1.5px dotted rgba(53, 18, 44, 0.45);
  translate: 0 -0.3rem;
}

.menu-group dt {
  order: 0;
}

.menu-group dt span {
  white-space: nowrap;
}

.menu-group dt {
  max-width: 72%;
}

.menu-group dd {
  order: 2;
  margin: 0;
  font-weight: 500;
  white-space: nowrap;
}

/* Rooms */

.rooms {
  padding-block: var(--section);
}

.room-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.room {
  display: flex;
  flex-direction: column;
  padding: 0 clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--rule);
  border-radius: 12rem 12rem 1.25rem 1.25rem;
}

.room-penthouse {
  background: var(--aubergine);
  color: var(--blush);
  border-color: var(--aubergine);
}

.room {
  position: relative;
}

/* Brass hook the key hangs from */
.room::before {
  content: "";
  position: absolute;
  top: calc(2.75rem + 1.4rem - 0.3rem);
  left: 50%;
  z-index: 1;
  width: 0.6rem;
  height: 0.6rem;
  margin-left: -0.3rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1cf, var(--brass) 45%, #7c5a22);
  box-shadow: 0 0.15rem 0.25rem rgba(0, 0, 0, 0.35);
}

.fob {
  transform-origin: 50% 1.4rem;
  transition: rotate 0.7s cubic-bezier(0.3, 1.8, 0.5, 1);
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  width: 4.6rem;
  height: 8.5rem;
  margin: 2.75rem 0 1.75rem;
  border-radius: 2.3rem 2.3rem 2.3rem 2.3rem / 2.3rem 2.3rem 3.6rem 3.6rem;
  -webkit-mask: radial-gradient(circle 0.45rem at 50% 1.4rem, transparent 95%, #000 100%);
  mask: radial-gradient(circle 0.45rem at 50% 1.4rem, transparent 95%, #000 100%);
  rotate: -6deg;
}

.room:hover .fob {
  rotate: 5deg;
}

.room:nth-child(2):hover .fob {
  rotate: -4deg;
}

.room:nth-child(2) .fob {
  rotate: 4deg;
}

.room:nth-child(3):hover .fob {
  rotate: 4deg;
}

.room:nth-child(3) .fob {
  rotate: -2deg;
}

.fob span {
  margin-top: 1.5rem;
  font-family: var(--display);
  font-size: 1.6rem;
  writing-mode: vertical-rl;
  rotate: 180deg;
}

.fob-blush {
  background: linear-gradient(160deg, #fff3ef, var(--slip));
  color: var(--garnet);
  box-shadow: inset 0 0 0 1px rgba(156, 44, 67, 0.3);
}

.fob-garnet {
  background: linear-gradient(160deg, #c04a62, var(--garnet) 60%, #6e1b2e);
  color: var(--blush);
}

.fob-brass {
  background: linear-gradient(160deg, #f4dda6, var(--brass) 55%, #8a6526);
  color: var(--aubergine);
}

.room h3 {
  font-size: var(--step-2);
  text-align: center;
}

.room-for {
  min-height: 3.2em;
  margin-top: 0.5rem;
  font-size: var(--step--1);
  text-align: center;
  color: var(--text-soft);
}

.room-penthouse .room-for,
.room-penthouse .room-price span {
  color: var(--on-dark-soft);
}

.room-price {
  margin-block: 1.5rem;
  padding-block: 1.25rem;
  border-block: 1px solid var(--rule);
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  text-align: center;
  font-variant-numeric: lining-nums;
}

.room-penthouse .room-price {
  border-color: rgba(246, 222, 216, 0.2);
}

.room-price span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  color: var(--text-soft);
}

.room ul {
  flex: 1;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
  line-height: 1.45;
}

.room li {
  position: relative;
  padding-left: 1.3rem;
}

.room li + li {
  margin-top: 0.7rem;
}

.room li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--brass);
  rotate: 45deg;
}

/* Guest book */

.guestbook {
  padding-block: var(--section);
  background: var(--blush-deep);
}

.guestbook h2 {
  font-size: var(--step-3);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem clamp(2rem, 4vw, 4rem);
}

.entries figure {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--brass);
}

.entries blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1.3;
}

.signature {
  margin-top: 0.9rem;
  font-family: var(--hand);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--garnet);
  rotate: -3deg;
  transform-origin: left;
}

.entries figcaption {
  margin-top: 1.25rem;
  font-size: var(--step--1);
  color: var(--text-soft);
}

/* Front desk */

.desk {
  padding-block: var(--section);
}

.desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2rem 5rem;
}

.desk h2 {
  font-size: var(--step-3);
}

.faq {
  border-top: 1px solid var(--aubergine);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.35rem;
  font-size: var(--step-1);
  font-weight: 400;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--garnet);
  transition: rotate 0.25s;
}

.faq details[open] summary::after {
  rotate: 45deg;
}

.faq details p {
  max-width: 38rem;
  padding-bottom: 1.5rem;
  color: var(--text-soft);
}

/* Reservation */

.reserve {
  padding-block: var(--section);
  background: var(--aubergine);
}

.card {
  position: relative;
  background-image: var(--corner-tl), var(--corner-tr), var(--corner-br), var(--corner-bl);
  background-position: left 1.3rem top 1.3rem, right 1.3rem top 1.3rem, right 1.3rem bottom 1.3rem, left 1.3rem bottom 1.3rem;
  background-size: 2.4rem;
  background-repeat: no-repeat;
  display: grid;
  justify-items: center;
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 6vw, 4rem);
  background-color: var(--blush);
  text-align: center;
  box-shadow: inset 0 0 0 0.6rem var(--blush), inset 0 0 0 0.7rem var(--brass);
}

.card-number {
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
  color: var(--garnet);
}

.card h2 {
  margin-top: 0.75rem;
  font-size: var(--step-3);
}

.card > p:not(.card-number) {
  margin-top: 1rem;
  max-width: 28rem;
  color: var(--text-soft);
}

.card .waitlist {
  width: 100%;
  justify-content: center;
  margin-top: 2rem;
}

/* Footer */

.site-footer {
  padding-block: 2.5rem;
  background: var(--aubergine-3);
  color: var(--on-dark-soft);
  font-size: var(--step--1);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 2.5rem;
}

.site-footer .wordmark {
  color: var(--blush);
}

.site-footer p:last-child {
  margin-left: auto;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .desk-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .door,
  .scene {
    width: min(100%, 19rem);
  }

  .slips,
  .room-list,
  .entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .room-penthouse {
    grid-column: 1 / -1;
    border-radius: 1.25rem;
  }

  .room-penthouse::before {
  top: calc(2rem + 1.4rem - 0.3rem);
}

.room-penthouse .fob {
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .slips,
  .room-list,
  .entries {
    grid-template-columns: 1fr;
  }

  .slip:nth-child(3n + 2) {
    translate: none;
  }

  .room {
    border-radius: 9rem 9rem 1.25rem 1.25rem;
  }

  .waitlist .btn {
    flex: 1 1 100%;
  }

  .menu-group dl div {
    flex-wrap: wrap;
  }

  .menu-group dt {
    max-width: none;
    flex-basis: 100%;
  }

  .menu-group dl div::after {
    display: none;
  }

  .menu-group dd {
    color: var(--garnet);
  }

  .site-footer p:last-child {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Error page */

.error-actions {
  margin-top: 2.5rem;
}

/* Stamp that lands on the reservation card once you're on the list */
.card-stamp {
  position: absolute;
  top: 2.4rem;
  right: 2.6rem;
  padding: 0.3rem 0.9rem;
  border: 3px double var(--garnet);
  border-radius: 0.35rem;
  color: var(--garnet);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: rotate(-12deg) scale(1.8);
  transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1);
  pointer-events: none;
}

.card:has(.waitlist[data-done]) .card-stamp {
  opacity: 0.85;
  transform: rotate(-12deg) scale(1);
}
