/* Sleep Rebellion Studios — PREVIEW stylesheet. System monospace only, no web fonts, no JS. */
:root {
  --bg: #0b0221;
  --bg-2: #160636;
  --panel: #120434;
  --ink: #f4f1ff;
  --muted: #b9b0d9;
  --pink: #ff3cac;
  --cyan: #2de2e6;
  --yellow: #ffd23f;
  --dos-blue: #0000aa;
  --font: ui-monospace, "Cascadia Mono", "Cascadia Code", "SF Mono", "Liberation Mono", Consolas, "Lucida Console", "Courier New", monospace;
  --maxw: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  font-variant-ligatures: none; overflow-x: clip;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%);
}
img { max-width: 100%; height: auto; display: block; }
[id] { scroll-margin-top: 72px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: 12px; z-index: 50; transform: translateY(-200%); background: var(--yellow); color: #000; padding: .55rem .8rem; font-weight: 700; text-decoration: none; }
.skip:focus { transform: none; }
.wrap { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }

a { color: var(--cyan); text-underline-offset: .2em; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
main:focus { outline: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11,2,33,.88); backdrop-filter: blur(6px); border-bottom: 2px solid var(--pink); box-shadow: 0 2px 18px rgba(255,60,172,.25); }
.header-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: .7rem; }
.wordmark { color: var(--ink); font-weight: 800; letter-spacing: .14em; text-decoration: none; font-size: 1rem; }
.wordmark:hover { color: var(--ink); }
.wm-accent { color: var(--pink); margin-left: .4em; }
.cursor { display: inline-block; width: .6em; height: 1em; margin-left: .35em; background: var(--yellow); vertical-align: -.12em; animation: blink 1.06s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav-list { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--muted); text-decoration: none; text-transform: uppercase; font-size: .85rem; letter-spacing: .1em; padding: .2rem 0; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list a:focus-visible { color: var(--cyan); border-bottom-color: var(--cyan); }

/* Hero with synthwave sun + grid */
.hero { position: relative; overflow: hidden; min-height: min(78vh, 720px); display: grid; align-items: center; padding: 4rem 0 9rem; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 100%, rgba(255,60,172,.35), transparent 60%), linear-gradient(180deg, #0b0221 0%, #2a0a5e 55%, #4b0f6b 70%, #0b0221 71%); }
.sun { position: absolute; left: 50%; bottom: 29%; width: min(46vw, 380px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: linear-gradient(180deg, var(--yellow) 0%, #ff8a3d 45%, var(--pink) 100%);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 18px) bottom / 100% 55% no-repeat, linear-gradient(#000,#000) top / 100% 45% no-repeat;
          mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 18px) bottom / 100% 55% no-repeat, linear-gradient(#000,#000) top / 100% 45% no-repeat;
  box-shadow: 0 0 80px rgba(255,60,172,.6); opacity: .85; }
.grid { position: absolute; left: -50%; right: -50%; bottom: 0; height: 30%; transform-origin: 50% 0; transform: perspective(260px) rotateX(60deg);
  background-image: linear-gradient(var(--pink) 2px, transparent 2px), linear-gradient(90deg, var(--pink) 2px, transparent 2px);
  background-size: 56px 56px; background-color: #0b0221; box-shadow: inset 0 40px 60px #0b0221; animation: roll 3s linear infinite; opacity: .8; }
@keyframes roll { to { background-position: 0 56px; } }
.hero-inner { text-align: center; text-shadow: 0 2px 0 #000, 0 0 18px rgba(11,2,33,.9); }
.prompt { margin: 0 0 1rem; color: var(--cyan); font-size: .95rem; letter-spacing: .05em; }
.hero h1 { margin: 0; line-height: 1.02; }
.h1-line { display: block; font-size: clamp(2.4rem, 8.5vw, 5.6rem); font-weight: 900; letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink); text-shadow: 3px 3px 0 var(--pink), 6px 6px 0 var(--dos-blue), 0 0 30px rgba(255,60,172,.6); }
.h1-sub { display: block; margin-top: .6rem; font-size: clamp(1rem, 3vw, 1.5rem); letter-spacing: .5em; color: var(--yellow); font-weight: 700; text-transform: uppercase; }
.lede { max-width: 46ch; margin: 1.5rem auto 0; background: rgba(11,2,33,.72); padding: .4rem .8rem; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 2rem 0 0; }
.button { text-shadow: none; display: inline-block; padding: .8rem 1.25rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; text-decoration: none; border: 2px solid var(--yellow); }
.button-primary { background: var(--yellow); color: #000; box-shadow: 4px 4px 0 var(--pink); }
.button-primary:hover { color: #000; transform: translate(-1px,-1px); box-shadow: 6px 6px 0 var(--pink); }
.button-ghost { color: var(--yellow); background: rgba(11,2,33,.6); }
.button-ghost:hover { background: var(--yellow); color: #000; }

/* Bands */
.band { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid rgba(45,226,230,.18); }
.band h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0 0 1.4rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.h2-tag { display: inline-block; color: #000; background: var(--cyan); font-size: .7em; padding: 0 .35em; margin-right: .4em; vertical-align: .12em; }
.two-col { display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr; align-items: start; }
.two-col p { margin: 0 0 1rem; color: var(--ink); max-width: 60ch; }

.dos-window { background: var(--dos-blue); color: #fff; border: 3px double #fff; box-shadow: 8px 8px 0 #000; padding: 0 1.1rem 1rem; }
.dos-title { margin: 0 -1.1rem 1rem; padding: .25rem 1.1rem; background: #aaa; color: #000; font-weight: 800; letter-spacing: .1em; text-align: center; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 8.5em 1fr; gap: .5rem; padding: .3rem 0; border-bottom: 1px dashed rgba(255,255,255,.3); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--yellow); text-transform: uppercase; font-size: .85rem; padding-top: .1rem; }
.facts dd { margin: 0; }

.band-hbh { background: radial-gradient(ellipse at top, rgba(45,226,230,.12), transparent 60%); }
.cover { margin: 0 0 1.2rem; border: 3px solid var(--cyan); box-shadow: 0 0 0 3px #000, 0 0 40px rgba(45,226,230,.35); }
.cover img { width: 100%; image-rendering: pixelated; }
.lede-sm { font-size: 1.2rem; color: var(--yellow); margin: 0 0 1.4rem; }
.feature-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .6rem 2rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
.fl-key { color: var(--pink); margin-right: .4rem; }
.stills { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.stills li { border: 2px solid #3a2a6e; background: #000; transition: border-color .15s, transform .15s; }
.stills li:hover { border-color: var(--pink); transform: translateY(-2px); }
.stills img { width: 100%; image-rendering: pixelated; aspect-ratio: 8 / 5; object-fit: cover; }
.roadmap { max-width: 560px; margin: 0 auto 1rem; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: .8rem; align-items: baseline; padding: .35rem 0; }
.step-n { flex: none; width: 1.8em; text-align: center; background: #fff; color: var(--dos-blue); font-weight: 800; }
.steps li.now .step-n { background: var(--yellow); color: #000; }
.pill { font-style: normal; background: var(--pink); color: #000; padding: 0 .4em; font-size: .8em; font-weight: 800; text-transform: uppercase; margin-left: .3em; }
.fine { font-size: .85rem; color: var(--muted); margin: .8rem 0 0; }
.dos-window .fine { color: #dcdcff; }

.music-panel { border: 2px solid var(--pink); padding: 1.6rem 1.4rem; background: linear-gradient(135deg, rgba(255,60,172,.16), rgba(45,226,230,.08)); box-shadow: 0 0 30px rgba(255,60,172,.2); }
.music-panel h2 { margin-bottom: .6rem; }
.music-line { margin: 0; font-size: 1.15rem; }
.music-line a { color: var(--yellow); font-weight: 700; }

.follow-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.follow-card { display: flex; flex-direction: column; gap: .25rem; padding: 1.1rem 1.2rem; text-decoration: none; border: 2px solid var(--cyan); background: var(--panel); color: var(--ink); height: 100%; }
.follow-card:hover { background: var(--cyan); color: #000; }
.fc-k { font-size: .75rem; letter-spacing: .2em; color: var(--pink); font-weight: 800; }
.follow-card:hover .fc-k { color: #000; }
.fc-v { font-weight: 700; }

.site-footer { border-top: 2px solid var(--pink); padding: 2rem 0 2.5rem; background: #07011a; font-size: .9rem; }
.footer-bar { display: grid; gap: .6rem; justify-items: center; text-align: center; }
.footer-bar p { margin: 0; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: center; margin: 0; padding: 0; }

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .stills { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .follow-grid { grid-template-columns: 1fr; }
  .header-bar { justify-content: center; }
  .hero { padding: 3rem 0 7rem; min-height: 0; }
  .h1-sub { letter-spacing: .3em; }
  .facts div { grid-template-columns: 6.5em 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* The story (Chris's approved first-person story) */
.story { max-width: 72ch; margin: 0 auto 2.4rem; }
.story h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); margin: 0 0 1rem; }
.story-quote { margin: 0; padding: 1.4rem 1.4rem 1.2rem; border-left: 4px solid var(--pink); background: rgba(18,4,52,.85); box-shadow: 0 0 24px rgba(255,60,172,.15); }
.story-quote blockquote { margin: 0; }
.story-quote p { margin: 0 0 1rem; }
.story-quote figcaption { color: var(--cyan); font-weight: 700; }
.story-quote figcaption::before { content: "— "; }
.contact-line { margin: 1.4rem 0 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-line a { color: var(--yellow); font-weight: 700; }
