:root {
      --bg: #050708;
      --panel: rgba(8, 14, 16, 0.76);
      --panel-strong: rgba(10, 18, 21, 0.92);
      --text: #e9f4f0;
      --muted: #91a9a5;
      --cyan: #72fff4;
      --green: #9cffbd;
      --amber: #d8b466;
      --line: rgba(114, 255, 244, 0.2);
      --danger: #ff6f9d;
      --max: 1120px;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      background: linear-gradient(180deg, #020304 0%, var(--bg) 42%, #030506 100%);
      color: var(--text);
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      line-height: 1.6;
      overflow-x: hidden;
    }

    .scroll-bg {
      position: fixed;
      inset: 0;
      z-index: -3;
      pointer-events: none;
      background: #020304;
    }

    .scroll-bg__image {
      position: absolute;
      inset: -2vh -2vw;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transform: scale(1.04);
      transition: opacity 900ms ease;
      filter: grayscale(.1) contrast(1.05) saturate(.72);
      will-change: opacity;
    }

    .scroll-bg__image.is-active { opacity: .68; }
    
    .scroll-bg::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 50% 0%, rgba(114,255,244,.08), transparent 38%),
        linear-gradient(180deg, rgba(2,3,4,.28) 0%, rgba(2,3,4,.42) 52%, rgba(2,3,4,.58) 100%),
        radial-gradient(circle, transparent 48%, rgba(0,0,0,.38) 100%);
    }

    .scroll-bg__image:nth-child(1) { background-image: url("bg-01.png"); }
    .scroll-bg__image:nth-child(2) { background-image: url("bg-02.png"); }
    .scroll-bg__image:nth-child(3) { background-image: url("bg-03.png"); }
    .scroll-bg__image:nth-child(4) { background-image: url("bg-04.png"); }
    .scroll-bg__image:nth-child(5) { background-image: url("bg-05.png"); }
    .scroll-bg__image:nth-child(6) { background-image: url("bg-06.png"); }


    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background:
        repeating-linear-gradient(0deg, rgba(255,255,255,.035), rgba(255,255,255,.035) 1px, transparent 1px, transparent 4px),
        linear-gradient(90deg, transparent, rgba(114,255,244,.035), transparent);
      mix-blend-mode: screen;
      opacity: .35;
      z-index: 10;
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background: radial-gradient(circle, transparent 42%, rgba(0,0,0,.72) 100%);
      z-index: 11;
    }

    a { color: var(--cyan); text-decoration: none; }
    a:hover { color: var(--green); }

    .wrap {
      width: min(var(--max), calc(100% - 32px));
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(16px);
      background: rgba(2, 4, 5, .78);
      border-bottom: 1px solid var(--line);
    }

    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      min-height: 64px;
      font-size: 12px;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .brand {
      color: var(--text);
      font-weight: 800;
      text-shadow: 0 0 18px rgba(114,255,244,.45);
    }

    .navlinks {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 14px;
    }

    .hero {
      min-height: 92vh;
      display: grid;
      align-items: center;
      padding: 80px 0 56px;
      position: relative;
      isolation: isolate;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(114,255,244,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(114,255,244,.09) 1px, transparent 1px);
      background-size: 72px 72px;
      mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
      opacity: .3;
      z-index: -1;
    }

    .kicker {
      color: var(--green);
      font-size: 13px;
      letter-spacing: .22em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    h1, h2, h3 {
      line-height: 1.05;
      margin: 0;
      letter-spacing: -.04em;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    h1 {
      font-size: clamp(56px, 12vw, 154px);
      text-transform: uppercase;
      text-shadow: 0 0 30px rgba(114,255,244,.3);
    }

    h2 {
      font-size: clamp(32px, 5vw, 72px);
      margin-bottom: 22px;
    }

    h3 {
      font-size: 20px;
      letter-spacing: .02em;
    }

    .subtitle {
      max-width: 780px;
      font-size: clamp(20px, 3vw, 34px);
      line-height: 1.18;
      margin: 24px 0 20px;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: #f5fffd;
    }

    .lede {
      max-width: 690px;
      color: var(--muted);
      font-size: 17px;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 32px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 18px;
      border: 1px solid var(--line);
      background: rgba(114,255,244,.07);
      color: var(--text);
      text-transform: uppercase;
      letter-spacing: .14em;
      font-size: 12px;
      box-shadow: inset 0 0 24px rgba(114,255,244,.04), 0 0 20px rgba(114,255,244,.08);
    }

    .button--disabled {
      opacity: .48;
      cursor: not-allowed;
      pointer-events: none;
    }
    
    .button.primary {
      background: rgba(114,255,244,.18);
      border-color: rgba(114,255,244,.55);
    }

    section { padding: 86px 0; border-top: 1px solid rgba(114,255,244,.1); }

    .grid { display: grid; gap: 18px; }
    .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .process-diagram {
      margin: 28px 0 26px;
      border: 1px solid rgba(114,255,244,.22);
      background: rgba(2,5,6,.58);
      box-shadow: 0 0 52px rgba(0,0,0,.36), inset 0 0 34px rgba(114,255,244,.04);
      padding: 10px;
      position: relative;
    }

    .process-diagram::before {
      content: "";
      position: absolute;
      top: -1px; left: 22px;
      width: 120px; height: 1px;
      background: var(--cyan);
      box-shadow: 0 0 12px var(--cyan);
    }

    .process-diagram img {
      display: block;
      width: 100%;
      height: auto;
      opacity: .92;
      filter: saturate(.9) contrast(1.02);
    }

    .panel {
      border: 1px solid var(--line);
      background: var(--panel);
      padding: 22px;
      box-shadow: 0 0 40px rgba(0,0,0,.3), inset 0 0 30px rgba(114,255,244,.03);
      position: relative;
    }

    .panel::before {
      content: "";
      position: absolute;
      top: -1px; left: 18px;
      width: 84px; height: 1px;
      background: var(--cyan);
      box-shadow: 0 0 10px var(--cyan);
    }

    .label {
      color: var(--cyan);
      text-transform: uppercase;
      letter-spacing: .16em;
      font-size: 12px;
      margin-bottom: 8px;
    }

    .muted { color: var(--muted); }
    .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

    .terminal {
      background: #020506;
      border: 1px solid rgba(156,255,189,.25);
      padding: 18px;
      color: var(--green);
      box-shadow: inset 0 0 26px rgba(156,255,189,.05);
      overflow: auto;
      font-size: 13px;
    }

    .terminal span { color: var(--muted); }

    .archive-card {
      display: grid;
      gap: 10px;
      min-height: 220px;
    }

    .status {
      display: inline-block;
      width: max-content;
      padding: 4px 8px;
      border: 1px solid var(--line);
      color: var(--green);
      font-size: 11px;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .status.pending { color: var(--amber); border-color: rgba(216,180,102,.3); }

    .quote {
      font-size: clamp(30px, 5vw, 62px);
      line-height: 1.08;
      color: #fff;
      letter-spacing: -.05em;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    footer {
      padding: 38px 0 52px;
      color: var(--muted);
      border-top: 1px solid var(--line);
      font-size: 12px;
    }

    .smallcaps { text-transform: uppercase; letter-spacing: .14em; }

    @media (max-width: 820px) {
      .grid.two, .grid.four { grid-template-columns: 1fr; }
      .navlinks { display: none; }
      section { padding: 62px 0; }
      .panel { padding: 18px; }
    }

/* Multi-page release additions. These extend the original Selenophone look without changing it. */
.release-hero {
  min-height: 64vh;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: rgba(114,255,244,.06);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
}

.meta-chip strong { color: var(--green); margin-right: 8px; }

.release-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 18px;
  align-items: start;
}

.release-copy p {
  color: var(--muted);
  font-size: 16px;
}

.release-copy p:first-of-type {
  color: var(--text);
  font-size: 18px;
}

.longform {
  display: grid;
  gap: 18px;
}

.track-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.track-list li { margin: 8px 0; }

.archive-card .actions { margin-top: auto; }

.breadcrumb {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .release-layout, .next-grid { grid-template-columns: 1fr; }
}
