/* The background of lines rippling in the pointer's wake: a stage as big as the window, a canvas with the ruled
   lines and the water under them, the headline in the middle. Minimal: a warm white ground, one ink, one accent. */
:root {
  --ground: #f3f0e8;        /* the background */
  --ink: #141414;           /* the lines and the headline */
  --accent: #2b47d4;        /* the lines where the water lifts them */
  --hint: #8f8a7f;          /* the small note */
  --screen: 100vh;
}
@supports (height: 100lvh) {
  :root { --screen: 100lvh; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: "Mona Sans Variable", "Mona Sans", system-ui, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: relative;
  height: var(--screen);
  max-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  touch-action: none;
  cursor: crosshair;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  background: var(--ground);
}

.water {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero {
  position: relative;
  text-align: center;
  pointer-events: none;
  padding: 0 16px;
}

.title {
  font-size: clamp(2.6rem, min(13vw, 17vh), 8.5rem);
  font-weight: 560;
  font-stretch: 100%;
  line-height: 0.95;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.title .ch {
  display: inline-block;
  will-change: transform;
}
.title .sp {
  display: inline-block;
  width: 0.24em;
}

.note {
  margin-top: clamp(0.9rem, 2.4vh, 1.5rem);
  font-size: clamp(0.78rem, min(2.4vw, 2.6vh), 0.95rem);
  font-weight: 430;
  font-stretch: 112%;
  letter-spacing: 0.01em;
  color: var(--hint);
}

.ghost {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0;
  z-index: 3;
  filter: drop-shadow(0 1px 1.5px rgba(20, 20, 20, 0.18));
}
.ghost path {
  fill: var(--ink);
  stroke: #ffffff;
  stroke-width: 1.3;
  stroke-linejoin: round;
}
