/* GOOD® Records: Y2K / CRT record-department aesthetic */

:root {
  --ink: #e8e6e1;
  --ink-dim: #9a9891;
  --bg: #141414;
  --bg-panel: #1c1c1c;
  --blue: #1418c8;
  --link-blue: #1447ff;
  --line: rgba(232, 230, 225, 0.28);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Courier New", ui-monospace, "SF Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: clip;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--mono); letter-spacing: 0.02em; }

/* ---------- CRT overlays ---------- */
.crt-scanlines {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.10) 3px,
    rgba(0,0,0,0) 4px
  );
  mix-blend-mode: multiply;
  animation: flicker 4s infinite steps(60);
}
.crt-vignette {
  position: fixed; inset: 0; z-index: 91; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 62%, rgba(0,0,0,0.42) 100%);
}
@keyframes flicker {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
  52% { opacity: 0.78; }
  54% { opacity: 0.95; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px;
}
.wordmark {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.06em;
  text-transform: lowercase;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a {
  color: #ffffff; text-decoration: none; font-size: 14px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.site-nav a:hover { opacity: 0.75; }
.cta-pill {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #35e05a;
  box-shadow: 0 0 8px #35e05a;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: linear-gradient(to bottom, #33549c 0%, #48699e 34%, #7d92ab 62%, #a9b6bf 100%);
}
.hero-sky { position: absolute; inset: 0; }
.cloud {
  position: absolute; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(238,241,243,0.92) 0%, rgba(238,241,243,0.45) 45%, transparent 70%);
  filter: blur(14px);
}
.cloud-1 { width: 62vw; height: 26vh; left: -12vw; top: 44%; animation: drift 70s linear infinite; }
.cloud-2 { width: 48vw; height: 20vh; right: -10vw; top: 60%; animation: drift 95s linear infinite reverse; }
.cloud-3 { width: 70vw; height: 30vh; left: 18vw; bottom: -8vh; opacity: 0.9; animation: drift 120s linear infinite; }
.cloud-4 { width: 40vw; height: 16vh; left: 30vw; top: 30%; opacity: 0.65; animation: drift 85s linear infinite reverse; }
@keyframes drift {
  from { transform: translateX(-6vw); }
  50%  { transform: translateX(6vw); }
  to   { transform: translateX(-6vw); }
}

.ticker { overflow: hidden; white-space: nowrap; }
.ticker-top {
  position: relative; z-index: 2;
  margin-top: 76px;
  border-top: 1px solid rgba(238,241,243,0.7);
  border-bottom: 1px solid rgba(238,241,243,0.7);
  color: #eef1f3;
  overflow-x: clip;
  overflow-y: visible;
  padding-top: 0.02em;
}
.ticker-top .ticker-track {
  font-size: clamp(64px, 11vw, 150px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.76;
  animation-duration: 14s;
}
.ticker-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}
.ticker-track.slow { animation-duration: 40s; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.chrome-badge {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 0;
}
.hero-cover {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  position: relative;
  animation: cover-float 7s ease-in-out infinite;
  cursor: pointer;
}
.hero-cover img {
  width: min(52vw, 400px); height: auto; display: block;
  border: 1px solid rgba(238,241,243,0.85);
  box-shadow: 0 30px 70px rgba(10, 20, 50, 0.55);
  -webkit-box-reflect: below 4px linear-gradient(transparent 68%, rgba(255,255,255,0.22));
}
.hero-cover figcaption {
  font-size: 11px; letter-spacing: 0.12em;
  color: #1447ff; font-weight: 700;
  text-shadow: 0 0 8px rgba(20, 71, 255, 0.55), 0 1px 2px rgba(255,255,255,0.35);
}
.hero-cover-badge {
  position: absolute; top: -14px; right: -18px; z-index: 3;
  font-size: 11px; letter-spacing: 0.1em;
  background: var(--blue); color: #e9e7de;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(238,241,243,0.85);
  box-shadow: 0 6px 18px rgba(10,20,50,0.5);
  animation: badge-spin-wobble 5s ease-in-out infinite;
}
@keyframes cover-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(1deg); }
}
@keyframes badge-spin-wobble {
  0%, 100% { transform: rotate(-6deg); }
  50%      { transform: rotate(8deg); }
}

.hero-lower {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 28px 26px;
  gap: 24px;
}
.scroll-hint {
  font-size: 11px; line-height: 1.5;
  color: #1447ff; font-weight: 700;
  text-shadow: 0 0 8px rgba(20, 71, 255, 0.55), 0 1px 2px rgba(255,255,255,0.35);
}
.hero-left { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero-release { display: flex; flex-direction: column; gap: 8px; }
.hero-release img {
  width: 110px; height: 110px; object-fit: cover; display: block;
  border: 1px solid rgba(238,241,243,0.75);
  box-shadow: 0 10px 26px rgba(10,20,50,0.4);
}
.hero-release figcaption { font-size: 10px; line-height: 1.5; color: #eef1f3; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.hero-terminal {
  max-width: 380px; font-size: 11px; line-height: 1.55;
  color: #1447ff; font-weight: 700;
  text-shadow: 0 0 8px rgba(20, 71, 255, 0.55), 0 1px 2px rgba(255,255,255,0.35);
  word-break: break-all; text-align: left;
}
.cursor { animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Band tickers ---------- */
.ticker-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  padding: 8px 0;
}
.ticker-band .ticker-track {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

/* ---------- Sections ---------- */
.section { padding: 96px 28px; position: relative; }
.section-dark { background: var(--bg); color: var(--ink); }
.section-blue { background: var(--blue); color: #e9e7de; }

.section-tag {
  font-size: 12px; color: inherit; opacity: 0.75;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px; margin-bottom: 44px;
}
.section-blue .section-tag { border-color: rgba(233,231,222,0.4); }

.display {
  font-size: clamp(34px, 5.4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
  max-width: 20ch;
  margin-bottom: 64px;
}

.lede { font-size: clamp(20px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 28px; max-width: 62ch; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; }
.intro-copy p { margin-bottom: 24px; font-size: 18px; line-height: 1.5; max-width: 58ch; }
.intro-copy .lede { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; }
.intro-aside { font-size: 12px; line-height: 1.7; color: var(--ink-dim); align-self: end; display: flex; flex-direction: column; gap: 24px; }
.intro-aside p { font-size: 12px; }
.artist-photo img {
  width: 100%; max-width: 340px; display: block;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.05);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5);
}
.artist-photo figcaption { font-size: 10px; letter-spacing: 0.08em; margin-top: 10px; color: var(--ink-dim); }

.btn-row { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; text-transform: uppercase;
  color: var(--bg); background: var(--ink);
  text-decoration: none;
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-wide { width: 100%; justify-content: center; margin-top: 28px; }
.arr { font-family: var(--sans); }

/* ---------- Cover Flow ---------- */
.coverflow {
  position: relative;
  margin-bottom: 40px;
  user-select: none;
  overflow-x: clip;
}
.cf-stage {
  position: relative;
  height: 480px;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.cf-item {
  position: absolute;
  left: 50%; top: 30px;
  width: 340px; height: 340px;
  margin-left: -170px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s, filter 0.6s;
  cursor: pointer;
  will-change: transform;
}
.cf-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  -webkit-box-reflect: below 2px linear-gradient(transparent 62%, rgba(255,255,255,0.28));
}
.cf-item::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0,0,0,0.07) 3px 4px);
  pointer-events: none;
}
.cf-caption {
  text-align: center;
  font-size: 14px;
  margin-top: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cf-meta { font-size: 11px; color: var(--ink-dim); }
.section-blue .cf-meta { color: rgba(233,231,222,0.75); }
.section-blue .cf-arrow { color: #e9e7de; border-color: rgba(233,231,222,0.4); }
.section-blue .cf-arrow:hover { background: #e9e7de; color: var(--blue); }
.cf-arrow {
  position: absolute; top: 45%; z-index: 5;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  width: 48px; height: 48px;
  font-size: 14px; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cf-arrow:hover { background: var(--ink); color: var(--bg); }
.cf-prev { left: 0; }
.cf-next { right: 0; }

/* ---------- Cover conveyor ---------- */
.cover-conveyor { overflow: hidden; margin-bottom: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.conveyor-row { overflow: hidden; padding: 14px 0; }
.conveyor-row + .conveyor-row { border-top: 1px solid var(--line); }
.conveyor-track { display: flex; gap: 14px; width: max-content; }
.conveyor-track[data-dir="l"] { animation: conveyor-l 60s linear infinite; }
.conveyor-track[data-dir="r"] { animation: conveyor-r 60s linear infinite; }
.conveyor-track img {
  width: 140px; height: 140px; object-fit: cover; display: block;
  border: 1px solid rgba(255,255,255,0.16);
  filter: saturate(1.05);
}
.conveyor-track img:hover { filter: none; transform: scale(1.05); transition: transform 0.3s; }
@keyframes conveyor-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes conveyor-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.smallprint { font-size: 11px; line-height: 1.8; color: var(--ink-dim); max-width: 70ch; }
.section-blue .smallprint { color: rgba(233,231,222,0.75); }

/* ---------- Benefits ---------- */
.benefit {
  border-top: 1px solid rgba(233,231,222,0.4);
  padding: 36px 0;
  display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px;
  align-items: start;
}
.benefit-num { font-size: 12px; opacity: 0.8; }
.benefit h3 { font-size: clamp(26px, 3.4vw, 46px); font-weight: 500; letter-spacing: -0.02em; }
.benefit p { font-size: 13px; line-height: 1.7; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin: 56px 0;
}
.pkg {
  border: 1px solid var(--line);
  background: var(--bg-panel);
  padding: 30px;
  display: flex; flex-direction: column;
}
.pkg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.pkg-name { font-size: 13px; text-transform: uppercase; }
.badge {
  font-size: 10px; background: var(--ink); color: var(--bg);
  padding: 4px 10px; border-radius: 999px;
}
.pkg-price { font-size: clamp(38px, 5vw, 64px); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 8px; }
.pkg-price s { opacity: 0.4; font-size: 0.55em; vertical-align: super; margin-right: 6px; }
.pkg-price .mono { font-size: 0.35em; }
.pkg-sub { font-size: 12px; color: var(--ink-dim); margin-bottom: 26px; }
.pkg ul { list-style: none; font-size: 13px; line-height: 2.15; flex: 1; }
.pkg li { border-top: 1px dotted var(--line); }
.pkg li:first-child { border-top: none; }
.pkg-popular { border-color: var(--ink); }
.pkg-sprint { max-width: 720px; margin: 48px auto; }
.cols-2 { columns: 2; column-gap: 40px; }

/* ---------- Mail window ---------- */
.mail-window {
  max-width: 720px; margin: 0 auto;
  border: 1px solid var(--ink);
  background: var(--bg-panel);
  font-size: 12px; letter-spacing: 0.04em;
  box-shadow: 12px 12px 0 rgba(232,230,225,0.08);
}
.mail-titlebar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--ink); color: var(--bg);
  padding: 8px 12px;
  font-size: 11px; letter-spacing: 0.1em;
}
.mail-buttons span {
  display: inline-block; width: 18px; text-align: center;
  border: 1px solid var(--bg); margin-left: 5px;
  font-size: 10px; line-height: 1.5;
}
.mail-toolbar {
  display: flex; gap: 16px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--ink-dim);
}
.mail-toolbar span { cursor: pointer; }
.mail-toolbar span:hover { color: var(--ink); }
.mail-sep { color: var(--line); cursor: default; }
.mail-headers { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mail-row { display: flex; gap: 10px; padding: 3px 0; }
.mail-label { width: 74px; color: var(--ink-dim); font-size: 10px; letter-spacing: 0.12em; padding-top: 1px; }
.mail-subject { font-weight: 700; }
.mail-attach-chip { color: var(--ink); }
.mail-body { padding: 18px 14px 22px; line-height: 1.9; }
.mail-body p { margin-bottom: 14px; }
.mail-sig { color: var(--ink-dim); }
.mail-attachment { margin-top: 8px; display: inline-block; }
.mail-attachment img {
  display: block; max-width: 280px;
  border: 1px solid var(--line);
}
.mail-attachment figcaption {
  font-size: 10px; color: var(--ink-dim);
  padding: 6px 0; letter-spacing: 0.1em;
}
.mail-attachment.missing img { display: none; }
.mail-attachment.missing::before {
  content: "[ CEO.jpg / attachment pending upload ]";
  display: block; width: 280px; padding: 48px 0;
  text-align: center; color: var(--ink-dim);
  border: 1px dashed var(--line); font-size: 10px; letter-spacing: 0.1em;
}

/* ---------- Release modal ---------- */
.release-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.release-modal[hidden] { display: none; }
.rm-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,0.82); backdrop-filter: blur(6px); }
.rm-panel {
  position: relative;
  width: min(680px, calc(100vw - 40px));
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  background: var(--bg-panel);
  border: 1px solid var(--ink);
  padding: 28px;
  font-size: 12px;
  letter-spacing: 0.04em;
  animation: rm-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes rm-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.rm-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 10px; letter-spacing: 0.1em;
  cursor: pointer;
}
.rm-close:hover { background: var(--ink); color: var(--bg); }
.rm-head { display: flex; gap: 20px; align-items: flex-end; margin-bottom: 24px; }
.rm-head img { width: 132px; height: 132px; object-fit: cover; border: 1px solid var(--line); }
.rm-tag { font-size: 10px; color: var(--ink-dim); letter-spacing: 0.12em; margin-bottom: 10px; }
.rm-panel h3 { font-family: var(--mono); font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.rm-meta { font-size: 11px; color: var(--ink-dim); }
.rm-sec {
  font-size: 10px; color: var(--ink-dim); letter-spacing: 0.14em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px; margin: 22px 0 10px;
}
.rm-links { display: flex; flex-wrap: wrap; gap: 10px; }
.rm-links a {
  color: var(--link-blue); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 11px; letter-spacing: 0.08em;
}
.rm-links a:hover { background: var(--ink); color: var(--bg); }
.rm-tracks { list-style: none; }
.rm-track { border-bottom: 1px dotted var(--line); }
.rm-track-row {
  display: flex; gap: 14px; align-items: baseline;
  padding: 11px 2px; cursor: pointer;
}
.rm-track-row:hover { background: rgba(232,230,225,0.05); }
.rm-track-num { color: var(--ink-dim); font-size: 10px; width: 22px; }
.rm-track-title { flex: 1; text-transform: uppercase; letter-spacing: 0.06em; }
.rm-track-dur { color: var(--ink-dim); font-size: 11px; }
.rm-track-toggle { color: var(--ink-dim); font-size: 10px; }
.rm-lyrics {
  display: none;
  white-space: pre-wrap;
  padding: 4px 2px 16px 36px;
  color: var(--ink-dim);
  line-height: 1.9;
  font-size: 11px;
}
.rm-track.open .rm-lyrics { display: block; }
.rm-track.open .rm-track-row { color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 28px 0;
  background: #0d0d0d;
  overflow: hidden;
}
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 48px; }
.footer-address { font-size: 12px; line-height: 1.8; color: var(--ink-dim); }
.footer-address a { color: var(--link-blue); text-decoration: none; }
.footer-address a:hover { opacity: 0.8; }
.footer-right { display: flex; flex-direction: column; gap: 24px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-warning {
  display: flex; gap: 14px; align-items: flex-start;
  max-width: 340px;
  border: 1px dashed var(--line);
  padding: 14px 16px;
}
.warn-icon {
  flex: none;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 700; font-size: 15px;
  color: var(--ink);
  animation: warn-blink 1.4s steps(1) infinite;
}
@keyframes warn-blink { 50% { background: var(--ink); color: var(--bg); } }
.footer-warning p { font-size: 10px; line-height: 1.8; letter-spacing: 0.08em; color: var(--ink-dim); }
.footer-links a {
  color: var(--link-blue); text-decoration: none; font-size: 14px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0; min-width: 280px;
  display: flex; justify-content: space-between;
}
.footer-links a:hover { padding-left: 8px; transition: padding 0.2s; }
.footer-mark {
  font-weight: 800; letter-spacing: -0.06em;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 0.78;
  margin-top: 60px;
  transform: translateY(18%);
  color: #1f1f1f;
  text-align: center;
  user-select: none;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-lower { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-terminal { max-width: 100%; }
  .cf-stage { height: 400px; }
  .cf-item { width: 260px; height: 260px; margin-left: -130px; }
  .intro-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .benefit { grid-template-columns: 1fr; gap: 12px; }
  .site-nav a:not(.cta-pill) { display: none; }
  .cols-2 { columns: 1; }
}
