/* Home page + /ganzfeld landing page. Loaded after site.css.
   Mobile first: everything in the hero must fit on a phone screen without scrolling. */

:root { --a: #3d7bff; --a-rgb: 61,123,255; --a-ink: #020a1a; }   /* signup accent (blue) */

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

/* ---------- Compact menu on phones ---------- */
.nav-menu { display: none; }
@media (max-width: 640px) {
  .landing .nav { padding-bottom: 6px; margin-bottom: 10px; gap: 2px 14px; }
  .landing .nav .who { order: 0; }
  .landing .nav .nav-menu { order: 1; }
  .landing .nav > a:not(.who) { order: 2; display: none; }
  .landing .nav.open > a:not(.who) { display: inline-flex; }
  .nav-menu { display: inline-flex; align-items: center; font: inherit; color: var(--g); background: none;
    border: 1px solid var(--g-dim); min-height: 44px; padding: 0 14px; cursor: pointer; }
  .nav-menu:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--g); }
}

/* ---------- 1. Hero ---------- */
.hero { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 0 0 8px; }
.hero-media {
  position: relative; aspect-ratio: 1; overflow: hidden; background: #000;
  width: min(100%, calc(100vh - 322px)); width: min(100%, calc(100svh - 322px)); min-width: 170px;
}
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-body { display: grid; gap: 10px; justify-items: center; width: 100%; }
.kicker { margin: 0; color: var(--g-dim); font-size: 18px; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 {
  margin: 0; font-family: "Share Tech Mono", "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; font-weight: 400;
  font-size: clamp(27px, 8.2vw, 64px); line-height: 1; letter-spacing: .02em;
}
.when { margin: 0; font-size: clamp(21px, 5.4vw, 30px); letter-spacing: .16em; line-height: 1.1; }
.cta {
  display: flex; align-items: center; justify-content: center; width: min(100%, 440px); min-height: 60px; padding: 0 20px;
  background: var(--g); color: #021002; text-decoration: none; text-shadow: none;
  font-family: "Share Tech Mono", ui-monospace, Menlo, Consolas, monospace; font-size: clamp(24px, 6.6vw, 32px); letter-spacing: .16em;
}
.cta:hover { background: #a6ffa6; }
.cta:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--g); }
.cta:active { transform: scale(.98); }
.svc { list-style: none; margin: -4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; column-gap: clamp(10px, 3.2vw, 22px); }
.svc a {
  display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; white-space: nowrap;
  color: var(--g-dim); font-size: clamp(16px, 4.1vw, 21px);
}
.svc a:hover, .svc a:focus-visible { color: var(--g); outline: none; text-decoration: underline; }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; text-align: left; justify-items: start;
    gap: clamp(32px, 4vw, 64px); min-height: calc(100svh - 170px); padding-bottom: 24px; }
  .hero-media { width: min(100%, calc(100svh - 210px)); justify-self: end; }
  .hero-body { justify-items: start; gap: 14px; }
  .svc { justify-content: flex-start; margin-left: -9px; }
}

/* ---------- 2. Listen close ---------- */
.landing main > .win { margin-top: clamp(24px, 4vw, 44px); }
.preview h2, .signup h2, .more h2 {
  margin: 0 0 12px; font-family: "Share Tech Mono", ui-monospace, Menlo, Consolas, monospace; font-weight: 400;
  font-size: clamp(28px, 6vw, 44px); line-height: 1; letter-spacing: .04em;
}
.player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; position: relative; z-index: 2; }
.pl-btn {
  min-width: 112px; min-height: 52px; padding: 0 16px; font: inherit; font-size: 22px; letter-spacing: .08em;
  color: #021002; background: var(--g); border: 0; cursor: pointer; text-shadow: none;
}
.pl-btn:focus-visible, .pl-track:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--g); }
.pl-track { position: relative; height: 44px; cursor: pointer; touch-action: none; }
.pl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--g-dim); }
.pl-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: 0; background: var(--g); }
.pl-time { color: var(--g-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* SCOPE-01: a smaller version of the old home page oscilloscope (scope.js) */
.preview .screen {
  position: relative; z-index: 2; width: 100%; max-width: 640px; aspect-ratio: 2 / 1; overflow: hidden; cursor: pointer;
  border: 1px solid var(--g-dim);
  background: radial-gradient(ellipse at center, #031203 0%, #010401 80%);
  box-shadow: inset 0 0 30px rgba(0,0,0,.85), inset 0 0 70px rgba(47,230,47,.07);
}
.preview .screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.preview .screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.55) 100%); }
.preview .screen:focus-visible { outline: 2px solid var(--g); outline-offset: 3px; }
.preview .readout {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 0 14px; margin: 6px 0 14px; max-width: 640px;
  min-height: 2.6em; align-content: flex-start; color: var(--g-dim); font-size: 16px; line-height: 1.3; font-variant-numeric: tabular-nums;
}
.preview .readout .dim { opacity: .75; }
.preview .player { max-width: 640px; }

/* ---------- 3. Stay connected (blue) ---------- */
.signup { color: var(--a); text-shadow: 0 0 6px rgba(var(--a-rgb), .45); }
.signup .bar { background: var(--a); color: var(--a-ink); }
.signup form { position: relative; z-index: 2; max-width: 620px; }
.sb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sb-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type=email] {
  flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 10px 12px; font: inherit; font-size: 20px;
  color: var(--a); background: #000; border: 1px solid var(--a); border-radius: 0;
}
.signup input[type=email]::placeholder { color: rgba(var(--a-rgb), .55); }
.sb-go {
  min-height: 52px; padding: 0 22px; font: inherit; font-size: 22px; letter-spacing: .1em; cursor: pointer;
  color: var(--a-ink); background: var(--a); border: 0; text-shadow: none;
}
.signup input[type=email]:focus-visible, .sb-go:focus-visible, .ig:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--a); }
.sb-go[disabled] { opacity: .5; cursor: default; }
.sb-st { min-height: 1.4em; margin: 8px 0 0; }
.sb-st.sb-thanks { font-size: clamp(20px, 2.4vw, 26px); }
.signup .sb-dim { margin: 2px 0 0; color: rgba(var(--a-rgb), .72); font-size: 18px; }
.signup a { color: inherit; position: relative; z-index: 2; }
.ig {
  display: inline-flex; align-items: center; min-height: 52px; margin-top: 14px; padding: 0 16px;
  border: 1px solid var(--a); text-decoration: none;
}
.ig:hover { background: var(--a); color: var(--a-ink); text-shadow: none; }
@media (min-width: 760px) {
  .sc { display: flex; gap: 24px; align-items: flex-start; }
  .sc form { flex: 1 1 auto; }
  .ig { margin-top: 0; flex: 0 0 auto; }
}

/* ---------- 4. More music ---------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; position: relative; z-index: 2; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 18px; } }
.grid a { display: block; text-decoration: none; }
.grid img, .grid .tile { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #071107; object-fit: cover; }
.grid .tile { display: flex; align-items: flex-end; padding: 10px; font-size: 22px; line-height: 1; border: 1px solid var(--g-dim); color: var(--g); }
.grid .t { display: block; margin-top: 6px; line-height: 1.15; overflow-wrap: anywhere; }
.grid .m { display: block; color: var(--g-dim); font-size: 17px; }
.grid a:hover .t, .grid a:focus-visible .t { background: var(--g); color: #021002; text-shadow: none; }
.grid a:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--g); }
.more .after { margin-top: 18px; position: relative; z-index: 2; }

/* ---------- 5. Footer ---------- */
.foot .foot-main a { font-size: 21px; }
.foot .legal a { color: var(--g-dim); }

.landing .fx-toggle { display: none; }   /* keep the hero free of anything but the button */

@media (prefers-reduced-motion: reduce) { .cta:active { transform: none; } }
