:root {
  --red: #f91814;        /* the page */
  --mustard: #ffd750;    /* the title and the button */
  --maroon: #4c0016;     /* outlines and the button text */
  --cream: #f5e3cd;      /* small text */
  --rope: #ffffff;       /* the string */
  --glass: rgba(255, 255, 255, 0.8);
  --lettuce: #77c41e;
  --tomato: #ef1624;
  --cheese: #ffc614;
  --patty: #8f3b2b;
  --bead: clamp(30px, min(3vw, 5.4vh), 50px);
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  background: var(--red);
  color: var(--cream);
  font-family: 'Instrument Sans Variable', system-ui, sans-serif;
  overflow: hidden;
}

.stage {
  position: relative;
  height: 100vh;
  min-height: 300px;
  display: grid;
  place-items: center;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.top {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: clamp(14px, 3vh, 28px) clamp(16px, 4vw, 44px);
}

.brand {
  font-family: 'Bagel Fat One', system-ui, sans-serif;
  font-size: clamp(18px, 2.2vw, 28px);
  color: var(--mustard);
  letter-spacing: 0.02em;
}

.hours {
  font-size: clamp(11px, 1.1vw, 14px);
  font-variation-settings: 'wdth' 85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero {
  display: grid;
  justify-items: center;
  gap: clamp(10px, 2.6vh, 26px);
  padding: 0 16px;
  text-align: center;
}

.title {
  font-family: 'Bagel Fat One', system-ui, sans-serif;
  font-weight: 400;
  font-size: min(15vw, 19vh);
  line-height: 0.9;
  color: var(--mustard);
  -webkit-text-stroke: max(2px, 0.35vh) var(--maroon);
  text-shadow: 0 0.55vh 0 var(--maroon);
  text-transform: uppercase;
  white-space: nowrap;
}

.title .w { display: inline-block; will-change: transform; }

.title-wrap { position: relative; }

.sticker {
  position: absolute;
  padding: 0.35em 0.7em 0.3em;
  border: 2px solid var(--maroon);
  border-radius: 999px;
  background: var(--cream);
  color: var(--maroon);
  font-family: 'Bagel Fat One', system-ui, sans-serif;
  font-size: clamp(10px, min(1.3vw, 2.3vh), 18px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--maroon);
}

.sticker--a { left: 2%; top: -14%; transform: rotate(-9deg); }
.sticker--b { right: 1%; bottom: -10%; transform: rotate(7deg); background: var(--mustard); }

.line {
  max-width: 30ch;
  font-size: clamp(13px, min(1.5vw, 2.6vh), 18px);
  line-height: 1.4;
}

.order {
  position: relative;
  display: inline-block;
  color: var(--maroon);
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.order__blob {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.order__blob path {
  fill: var(--mustard);
  stroke: var(--maroon);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

.order__text {
  position: relative;
  display: inline-block;
  padding: clamp(12px, 2.2vh, 18px) clamp(26px, 3.4vw, 42px);
  font-size: clamp(14px, min(1.5vw, 2.8vh), 19px);
  font-weight: 700;
  font-variation-settings: 'wdth' 90;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order:focus-visible .order__blob path { stroke-width: 6; }

.hint {
  position: absolute;
  bottom: clamp(12px, 3vh, 26px);
  left: 0;
  right: 0;
  padding: 0 16px;
  text-align: center;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.rope {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.rope__line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.rope__line path {
  fill: none;
  stroke: var(--rope);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bead {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--bead);
  height: var(--bead);
  margin: calc(var(--bead) / -2) 0 0 calc(var(--bead) / -2);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 8px rgba(76, 0, 22, 0.25);
  will-change: transform;
}

.bead svg { width: 72%; height: 72%; overflow: visible; }

.leaf { fill: var(--lettuce); stroke: var(--maroon); stroke-width: 1.6; stroke-linejoin: round; }
.leaf-vein { fill: none; stroke: var(--maroon); stroke-width: 1.2; stroke-linecap: round; opacity: 0.55; }
.tomato { fill: var(--tomato); stroke: var(--maroon); stroke-width: 1.6; }
.tomato-in { fill: #ff6b5c; }
.seed { fill: var(--cream); }
.cheese { fill: #ed900a; stroke: var(--maroon); stroke-width: 1.6; stroke-linejoin: round; }
.cheese-top { fill: var(--cheese); }
.hole { fill: #ed900a; }
.patty { fill: var(--patty); stroke: var(--maroon); stroke-width: 1.6; }
.patty-top { fill: none; stroke: #c25a3e; stroke-width: 2; stroke-linecap: round; }
.grill { fill: none; stroke: var(--maroon); stroke-width: 2; stroke-linecap: round; opacity: 0.6; }

@media (max-width: 600px) {
  .hours { display: none; }
  .sticker--a { left: 0; top: auto; bottom: 104%; }
  .sticker--b { right: 0; bottom: 104%; }
}
