:root {
  --wall: #f4c995;
  --wall-deep: #e9a76b;
  --awning: #d8452f;
  --awning-cream: #fbeed3;
  --wood: #c48a52;
  --wood-dark: #7c4a26;
  --slate: #2f3b36;
  --chalk: #f7f1e3;
  --brass: #d4a646;
  --brass-dark: #8e6420;
  --leaf: #4f9a3c;
  --ink: #2a1a10;
  --button: #2f6b3a;
  --button-ink: #fbf3df;
  --awning-h: 90px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--wall);
  color: var(--ink);
  font-family: 'Mona Sans Variable', system-ui, sans-serif;
}

.stall {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.stall__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
.stall__canvas.is-holding { cursor: grabbing; }

.stall__bar {
  position: absolute;
  top: calc(var(--awning-h) * 0.18);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(14px, 4vw, 56px);
  pointer-events: none;
  z-index: 3;
}

.stall__brand {
  font-family: 'Fraunces Variable', Georgia, serif;
  font-weight: 700;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: clamp(14px, min(2.2vw, 3.6vh), 26px);
  color: var(--awning-cream);
  background: var(--awning);
  padding: 0.25em 0.7em 0.3em;
  border-radius: 999px;
  box-shadow: 0 2px 0 var(--wood-dark);
}

.stall__hours {
  font-size: clamp(10px, min(1.2vw, 2.2vh), 14px);
  font-variation-settings: 'wdth' 110;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--awning-cream);
  padding: 0.45em 0.9em;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(124, 74, 38, 0.35);
}

.stall__copy {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 6vw, 96px);
  top: calc(var(--awning-h) + min(5vh, 46px));
  width: min(40vw, 520px);
  pointer-events: none;
}

.stall__title {
  margin: 0;
  font-family: 'Fraunces Variable', Georgia, serif;
  font-weight: 800;
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
  font-size: clamp(30px, min(6.2vw, 9vh), 92px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stall__title em {
  font-style: italic;
  color: var(--awning);
}

.stall__lede {
  margin: min(2.4vh, 20px) 0 min(3vh, 26px);
  max-width: 30ch;
  font-size: clamp(12px, min(1.5vw, 2.6vh), 18px);
  line-height: 1.4;
}

.stall__button {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-ink);
  text-decoration: none;
  font-weight: 650;
  font-size: clamp(12px, min(1.4vw, 2.4vh), 17px);
  font-variation-settings: 'wdth' 100;
  box-shadow: 0 3px 0 #1d4425, 0 10px 22px rgba(42, 26, 16, 0.18);
  transition: font-variation-settings 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stall__button:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}
@media (hover: hover) {
  .stall__button:hover {
    font-variation-settings: 'wdth' 125;
    transform: scale(1.04);
  }
}

.stall__hint {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 6vw, 96px);
  bottom: min(2.2vh, 18px);
  margin: 0;
  font-size: clamp(10px, min(1.1vw, 2vh), 13px);
  font-weight: 600;
  font-variation-settings: 'wdth' 110;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk);
  opacity: 0.85;
  pointer-events: none;
}

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

/* tall or narrow box: the words go on top, across the width, smaller */
@media (max-aspect-ratio: 23/20) {
  .stall__copy {
    left: clamp(14px, 5vw, 40px);
    right: clamp(14px, 5vw, 40px);
    width: auto;
    top: calc(var(--awning-h) + min(2.4vh, 22px));
  }
  .stall__title { font-size: clamp(24px, min(8.5vw, 6.4vh), 64px); }
  .stall__title br { display: none; }
  .stall__lede { margin: min(1.4vh, 12px) 0 min(1.8vh, 16px); }
  .stall__hours { display: none; }
}
