:root {
  --bg: #0a0a0a;
  --fg: #e8e6e3;
  --muted: #8a8784;
  --accent: #b6ff5c; /* the one sickly slime-green allowed on the premises */
  --max: 46rem;
  --gutter: 1.25rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 0.2em; }
a:hover, a:focus-visible { color: var(--accent); text-decoration-color: var(--accent); }
:focus-visible { outline: 1px dashed var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gutter); top: var(--gutter); z-index: 10; }

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  background: var(--bg);
}
.brand img { height: 1.5rem; width: auto; }
.top nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.top nav a { text-decoration: none; text-transform: lowercase; font-size: 0.95rem; }

/* ---------- layout ---------- */
main, .foot { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
}
.hero-logo { width: min(100%, 34rem); margin-bottom: 2.5rem; }
.tagline { font-size: 1.15rem; margin: 0 0 0.25rem; }
.sub { color: var(--muted); margin: 0 0 2.5rem; font-style: italic; }
.cta { align-self: flex-start; }

.block { padding: 5rem 0 3rem; }

h2 {
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: lowercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
h2::before { content: "// "; }
h3 { font-weight: 500; font-size: 1rem; margin: 0 0 0.75rem; text-transform: lowercase; }

.lede { font-size: 1.1rem; margin: 0 0 1rem; }

/* ---------- shopify ---------- */
.collection { margin-top: 2rem; }
.collection iframe { width: 100% !important; }

/* ---------- music ---------- */
.track {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 2.5rem 0;
}
.cover { width: 9rem; height: 9rem; object-fit: cover; filter: grayscale(0.35); }
.track-title { font-size: 1.25rem; margin: 0; }
.track-info .muted { margin: 0; }

.player { display: flex; align-items: center; gap: 0.9rem; margin: 1.25rem 0 0.5rem; }
.play {
  font: inherit;
  color: var(--fg);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-underline-offset: 0.2em;
  min-width: 3.5rem;
  text-align: left;
}
.play:hover { color: var(--accent); }
.time { font-size: 0.85rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

.scrub { flex: 1; min-width: 4rem; appearance: none; -webkit-appearance: none; background: none; height: 1.25rem; cursor: pointer; }
.scrub::-webkit-slider-runnable-track { height: 1px; background: var(--muted); }
.scrub::-moz-range-track { height: 1px; background: var(--muted); }
.scrub::-moz-range-progress { height: 1px; background: var(--accent); }
.scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 9px; height: 9px; border-radius: 50%; background: var(--fg); margin-top: -4px; }
.scrub::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--fg); }

.links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.links.stacked { flex-direction: column; gap: 0.4rem; }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; }
.links a::after { content: " \2197"; color: var(--muted); }

/* ---------- social ---------- */
.social-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }

/* ---------- footer / policies ---------- */
.foot { padding-top: 4rem; padding-bottom: 3rem; }
.policies summary { cursor: pointer; list-style: none; }
.policies summary::-webkit-details-marker { display: none; }
.policies summary::before { content: "+ "; color: var(--accent); }
.policies[open] summary::before { content: "\2212 "; }
.policies ol { padding-left: 1.5rem; margin: 1.5rem 0; }
.policies li { margin-bottom: 0.9rem; }
.policies li::marker { color: var(--muted); }
.policies strong { font-weight: 500; }
.sign { margin-top: 2.5rem; }

/* ---------- small screens ---------- */
@media (max-width: 600px) {
  .top { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 0.75rem var(--gutter); }
  .brand img { height: 1.2rem; }
  .top nav { gap: 1rem; }
  html { scroll-padding-top: 6rem; }
  .hero { min-height: 70vh; padding: 3rem 0; }
  .track { grid-template-columns: 1fr; }
  .social-groups { grid-template-columns: 1fr; }
}

/* ---------- splash / pre-launch gate ---------- */
.splash { display: none; }
html.locked .site { display: none; }
html.locked .splash {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem var(--gutter);
}
.splash-logo { width: min(100%, 34rem); margin-bottom: 2.5rem; }
.splash .tagline { font-size: 1.25rem; }
.splash-when { font-size: 1.1rem; margin: 0 0 0.25rem; color: var(--accent); }
.countdown { margin: 0 0 1.5rem; font-variant-numeric: tabular-nums; min-height: 1.65em; }
.splash-links { margin-bottom: 3rem; }
.splash-links li .muted { font-size: 0.85rem; }

.owner summary { cursor: pointer; list-style: none; display: inline-block; }
.owner summary::-webkit-details-marker { display: none; }
.owner form { margin-top: 0.75rem; }
.owner label { display: block; margin-bottom: 0.25rem; }
.unlock-row { display: flex; gap: 0.75rem; align-items: baseline; }
.owner input {
  font: inherit;
  color: var(--fg);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--muted);
  padding: 0.2rem 0;
  width: 14rem;
  max-width: 100%;
}
.owner input:focus { outline: none; border-bottom-color: var(--accent); }
.owner button, .preview-bar button {
  font: inherit;
  color: var(--fg);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-underline-offset: 0.2em;
}
.owner button:hover, .preview-bar button:hover { color: var(--accent); }

.preview-bar { display: none; margin: 0; padding: 0.5rem var(--gutter); color: var(--accent); }
html.previewing .preview-bar { display: block; }

.also { margin-top: 2rem; }
