:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #05070a;
  color: #edf3f1;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}
body {
  margin: 0;
}
canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#interface {
  position: fixed;
  inset: 0;
  padding: 42px 4.5vw;
  display: flex;
  flex-direction: column;
}
header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header {
  height: 44px;
}
.ink {
  color: transparent !important;
}
button,
a {
  font: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 14px 0;
  cursor: pointer;
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible {
  outline: none;
}
button:hover,
a:hover {
  cursor: pointer;
}
.brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
}
.edition,
header button {
  font: 12px monospace;
  letter-spacing: 2px;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  padding-bottom: 40px;
}
.eyebrow {
  font: 12px monospace;
  letter-spacing: 2px;
  margin-bottom: 25px;
}
h1 {
  font-size: clamp(70px, 12vw, 184px);
  font-weight: 700;
  letter-spacing: -0.065em;
  margin: 0 0 18px -5px;
  line-height: 1;
}
.description {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 24px;
  max-width: 460px;
}
#next {
  font: 13px monospace;
  letter-spacing: 1.5px;
  padding: 18px 0;
}
.coordinate {
  position: absolute;
  right: 0;
  bottom: 40px;
  font: 12px monospace;
  letter-spacing: 2px;
}
footer {
  min-height: 56px;
}
nav {
  display: flex;
  gap: 30px;
}
nav button,
.hint,
.signature {
  font: 12px monospace;
  letter-spacing: 1px;
}
.scroll-space {
  height: 400vh;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.fallback .ink {
  color: #edf3f1 !important;
}
.fallback button:focus-visible,
.fallback a:focus-visible {
  outline: 1px dotted #99f4dc;
}
.fallback canvas {
  display: none;
}
@media (max-width: 700px) {
  #interface {
    padding: 20px 6vw;
  }
  .edition,
  .signature {
    display: none;
  }
  .brand {
    font-size: 20px;
  }
  header button {
    font-size: 12px;
    letter-spacing: 0;
  }
  main {
    justify-content: flex-start;
    padding-top: 18vh;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 0;
    margin-bottom: 18px;
  }
  h1 {
    font-size: clamp(56px, 17vw, 118px);
    margin-left: -3px;
  }
  .description {
    font-size: 16px;
    max-width: 280px;
  }
  #next {
    font-size: 12px;
  }
  .coordinate {
    bottom: 25px;
  }
  footer {
    flex-wrap: wrap;
    gap: 8px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  nav button {
    font-size: 12px;
  }
  .hint {
    font-size: 12px;
  }
}
/* Keep particle labels legible and preserve room at short viewport heights. */
header button,
nav button,
#next {
  font-size: 0.875rem;
}
.description {
  font-size: 1.125rem;
}
.edition,
.eyebrow,
.coordinate,
.hint,
.signature {
  font-size: 0.8125rem;
}
@media (max-width: 700px) {
  header button,
  nav button,
  #next {
    font-size: 0.875rem;
  }
  .description {
    font-size: 1rem;
  }
  .eyebrow {
    font-size: 0.75rem;
  }
  .hint {
    font-size: 0.75rem;
  }
}
@media (max-height: 650px) {
  #interface {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  main {
    padding-top: 12px;
    padding-bottom: 12px;
    justify-content: center;
  }
  .eyebrow {
    margin-bottom: 12px;
  }
  h1 {
    font-size: clamp(48px, 10vw, 100px);
    margin-bottom: 12px;
  }
  .description {
    margin-bottom: 8px;
  }
  .coordinate {
    display: none;
  }
}
@media (min-width: 700px) and (max-width: 1000px) {
  .description {
    max-width: 42vw;
  }
}
/* Small particle text uses a clean, non-serif pixel raster. */
.edition,
.eyebrow,
.coordinate,
.hint,
.signature,
header button,
nav button,
#next {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 0.875rem;
}
@media (max-width: 700px) {
  .eyebrow,
  .hint {
    font-size: 0.8125rem;
    letter-spacing: 0.4px;
  }
}

@media (min-width: 700px) and (max-width: 1100px) {
  .signature {
    display: none;
  }
}

@media(max-width:360px){nav{gap:8px}nav button{font-size:.75rem;letter-spacing:.4px}}
