@font-face {
  font-family: "ABC Whyte Inktrap Trial";
  src: url("/fonts/ABCWhyteInktrap-SuperItalic-Trial.woff2") format("woff2"),
       url("/fonts/ABCWhyteInktrap-SuperItalic-Trial.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* Style constants live in script.js (the WebGL renderer draws everything);
   the ratios come from the 1085.933px comp: blur 34.875px → 0.03212em,
   shadow 15.659/10.961/3.132px → 0.01442/0.01009/0.00288em,
   stroke 6.26px → 0.00577em */
:root {
  --fill: #000;
  --stroke: #f00;
  --shadow: #005eff;
}

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

html,
body {
  height: 100%;
  overflow: hidden;
  background: #fff;
}

body {
  touch-action: none;
  overscroll-behavior: none;
}

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

.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

#gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* The tap/click target for the phone number covers the screen; the drag
   handler suppresses accidental calls after a scrub */
.call {
  position: absolute;
  inset: 0;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
}

.call:active {
  cursor: grabbing;
}

/* No-WebGL fallback: a single static blurred strip */
.fallback {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  font-family: "ABC Whyte Inktrap Trial", "Arial Black", "Helvetica Neue", sans-serif;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  color: var(--fill);
  text-shadow: 0.01442em 0.01009em 0.00288em var(--shadow);
  -webkit-text-stroke: 0.00577em var(--stroke);
  filter: blur(0.03212em);
  pointer-events: none;
}
