@font-face {
  font-family: Gloock;
  src: url("assets/Gloock-Regular.ttf") format("truetype");
  font-display: swap;
}
* { box-sizing: border-box; }
body { margin: 0; color: #3a272d; background: #cdaba0; }
.scene {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: 44px 20px;
  background: url("assets/still-life.webp") center / cover no-repeat;
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: url("assets/grain.png") repeat;
  opacity: .49;
}
.card {
  --ink: #8b344a;
  width: min(100%, 435px);
  text-align: center;
  padding: 26px 36px 19px;
  background: #fffefb;
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 22px 60px -14px #462a303f, 0 3px 9px #462a301c;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9cbc7;
  font: italic 16px Georgia, serif;
}
.heading i { color: var(--ink); font: 22px Georgia, serif; }
.identity { padding: 24px 0 20px; }
h1 { font: normal clamp(52px, 13.7vw, 83px)/1.05 Gloock, Georgia, serif; letter-spacing: -.075em; margin: 0; }
h1 span { color: var(--ink); }
h2 { font: 500 10px/1.6 Arial, sans-serif; text-transform: uppercase; letter-spacing: .23em; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid #86344b; outline-offset: 3px; }
.intro { max-width: 28ch; margin: 11px auto 0; font: 17px/1.45 Georgia, serif; }
.book {
  display: inline-flex; align-items: center; justify-content: center; gap: 17px;
  margin-top: 18px; padding: 13px 22px; color: #fffaf7; background: #713346;
  font: 14px/1.4 Arial, sans-serif; text-decoration: none;
}
.book:hover { background: #572839; }
.booking-note { max-width: 34ch; margin: 9px auto 0; font: 12px/1.5 Arial, sans-serif; color: #69565b; }
.work { border-top: 1px solid #d9cbc7; padding: 16px 0 12px; }
.work a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 10px; font: italic 16px Georgia, serif; }
.work a span { font: 12px Arial, sans-serif; }
footer { display: flex; align-items: center; justify-content: center; gap: 12px; border-top: 1px solid #d9cbc7; margin-top: 17px; }
footer a { padding: 13px 3px 4px; font: 13px Arial, sans-serif; }
footer span { margin-top: 9px; }
.palette { border-top: 1px solid #d9cbc7; padding-top: 21px; }
h2 { margin: 0 0 8px; color: #70575d; font-size: 9px; }
.swatches { display: flex; justify-content: center; }
.swatches button { position: relative; width: 48px; height: 48px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.swatches button::before {
  content: ""; position: absolute; inset: 10px; background: var(--color);
  border-radius: 50%; box-shadow: inset 0 0 0 1px #28131c18;
}
.swatches button[aria-pressed=true]::after {
  content: ""; position: absolute; inset: 6px; border: 1px solid var(--color); border-radius: 50%;
}
.swatches button:focus-visible { outline: 2px solid #4f3040; outline-offset: -1px; border-radius: 8px; }
.shade { font: italic 16px/1.5 Georgia, serif; margin: 3px 0 0; }
#number { color: #745d61; font-size: 13px; }
@media (max-width: 540px) {
  .scene { background-position: 60% center; padding-inline: 24px; }
  .card { width: min(100%, 340px); padding: 21px 23px 16px; }
  .identity { padding-block: 22px; }
}
