*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body { background: #10160e; color: #fff; font-family: ui-monospace, monospace; }
main { position: fixed; inset: 0; }

/* hero */
.hero {
  position: absolute; inset: 0;
  display: grid; place-content: center;
  transition: clip-path 1.6s cubic-bezier(.76,0,.24,1);
  clip-path: inset(0 0 0% 0);
}
.hero.hidden {
  clip-path: inset(0 0 100% 0);
}

canvas { display: block; width: min(92vw, 900px); height: clamp(180px, 42vw, 400px); touch-action: none; }

/* brewing */
#brewing {
  position: absolute; inset: 0;
  display: grid; place-content: center; text-align: center;
  pointer-events: none;
  transition: clip-path 1.6s cubic-bezier(.76,0,.24,1);
  clip-path: inset(100% 0 0% 0);
}
#brewing.visible {
  clip-path: inset(0% 0 0% 0);
  pointer-events: auto;
}

h2 { font-size: clamp(2rem, 7vw, 5.5rem); margin: 0; letter-spacing: -.05em; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
