/* ============================================================
   DLVR — ep.css
   Styles for ep.html (Everything a Copy landing page)
   ============================================================ */

/* ── TOP BAR ───────────────────────────────── */
.topbar {
  padding: 14px 0;
  border-bottom: 1px solid var(--grey2);
  background: rgba(4, 4, 4, .96);
  position: sticky; top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.back-link {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--grey4);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .15s;
}

.back-link:hover { color: var(--teal); }

.topbar-logo {
  font-family: var(--vt);
  font-size: 26px;
  color: var(--teal);
  letter-spacing: 5px;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(0, 212, 184, .25);
}

.topbar-tag {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--grey4);
  border: 1px solid var(--grey2);
  padding: 3px 8px;
}

/* ── HERO ──────────────────────────────────── */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.hero-ep {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 60px;
  position: relative;
}

/* Animated bg grid behind hero */
.hero-ep::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 184, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 184, .03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridshift 20s linear infinite;
  z-index: -1;
}

@keyframes gridshift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 0 40px, 40px 0; }
}

.ep-eyebrow {
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--teal-dim);
  margin-bottom: 20px;
}

/* ── EP TITLE + GLITCH ─────────────────────── */
.ep-main-title {
  font-family: var(--vt);
  font-size: clamp(52px, 13vw, 104px);
  line-height: .88;
  color: var(--white);
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}

.ep-main-title::before {
  content: attr(data-t);
  position: absolute; inset: 0;
  color: var(--red);
  clip-path: polygon(0 20%, 100% 20%, 100% 42%, 0 42%);
  transform: translateX(-5px);
  animation: gR 4s steps(1) infinite;
  opacity: .65;
}

.ep-main-title::after {
  content: attr(data-t);
  position: absolute; inset: 0;
  color: var(--teal);
  clip-path: polygon(0 62%, 100% 62%, 100% 78%, 0 78%);
  transform: translateX(5px);
  animation: gB 4s steps(1) infinite;
  opacity: .65;
}

@keyframes gR {
  0%, 86%, 100% { transform: translateX(-5px); clip-path: polygon(0 20%, 100% 20%, 100% 42%, 0 42%); }
  87%            { transform: translateX(8px);  clip-path: polygon(0 10%, 100% 10%, 100% 36%, 0 36%); }
  89%            { transform: translateX(0);    clip-path: none; }
  90%            { transform: translateX(-5px); clip-path: polygon(0 20%, 100% 20%, 100% 42%, 0 42%); }
}

@keyframes gB {
  0%, 80%, 100% { transform: translateX(5px);  clip-path: polygon(0 62%, 100% 62%, 100% 78%, 0 78%); }
  81%            { transform: translateX(-8px); clip-path: polygon(0 70%, 100% 70%, 100% 88%, 0 88%); }
  83%            { transform: translateX(0);    clip-path: none; }
  84%            { transform: translateX(5px);  clip-path: polygon(0 62%, 100% 62%, 100% 78%, 0 78%); }
}

.ep-main-title2 {
  font-family: var(--vt);
  font-size: clamp(52px, 13vw, 104px);
  line-height: .88;
  color: var(--white);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 32px;
}

/* ── EP META ───────────────────────────────── */
.ep-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.ep-meta-item {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--grey4);
}

.ep-meta-item span { color: var(--teal); }
.ep-sep { color: var(--grey3); }

.ep-tagline {
  font-size: 13px;
  color: var(--grey4);
  line-height: 1.9;
  max-width: 520px;
  margin-bottom: 40px;
  border-left: 2px solid var(--red-dim);
  padding-left: 20px;
}

.ep-tagline strong { color: var(--white); font-weight: normal; }

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Override btn padding for ep page */
.cta-row .btn { padding: 12px 22px; }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 0;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--grey3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.scroll-hint::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--grey3));
}

/* ── SECTIONS ──────────────────────────────── */
section {
  padding: 64px 0;
  border-top: 1px solid var(--grey1);
}

.s-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--teal-dim);
  margin-bottom: 28px;
}

/* ── TRACKLIST ─────────────────────────────── */
.tracklist { width: 100%; border-collapse: collapse; }

.tracklist tr {
  border-bottom: 1px solid var(--grey1);
  transition: background .15s;
}

.tracklist tr:hover { background: rgba(0, 212, 184, .03); }

.tracklist td { padding: 18px 8px; vertical-align: top; }

.t-num {
  font-family: var(--vt);
  font-size: 24px;
  color: var(--red);
  width: 36px;
  padding-left: 0 !important;
  line-height: 1;
}

.t-body { padding-left: 4px !important; }

.t-name {
  font-family: var(--vt);
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.1;
}

.t-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.t-tag {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--teal);
  border: 1px solid var(--teal-dim);
  padding: 2px 7px;
}

.t-tag-red {
  color: #e04040;
  border-color: var(--red-dim);
}

.t-desc {
  font-size: 11px;
  color: var(--grey4);
  margin-top: 6px;
  line-height: 1.7;
  font-style: italic;
  max-width: 400px;
}

.t-genre {
  font-size: 10px;
  color: var(--grey3);
  text-align: right;
  letter-spacing: 1px;
  white-space: nowrap;
  vertical-align: middle !important;
}

/* ── CONCEPT ───────────────────────────────── */
.concept-text {
  font-size: 13px;
  line-height: 1.9;
  color: var(--grey4);
  max-width: 580px;
}

.concept-text p { margin-bottom: 20px; }
.concept-text strong { color: var(--white); font-weight: normal; }
.concept-text em { color: var(--white); font-style: normal; }

.system-block {
  margin-top: 36px;
  background: var(--bg2);
  border: 1px solid var(--grey2);
  border-left: 2px solid var(--teal-dim);
  padding: 20px 24px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 2.2;
  color: var(--grey4);
}

.system-block .k   { color: var(--teal-dim); }
.system-block .v   { color: var(--grey4); }
.system-block .err { color: var(--red); }
.system-block .ok  { color: #3a9a5a; }

/* ── INFLUENCES ────────────────────────────── */
.infl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--grey2);
  margin-top: 8px;
}

.infl-item {
  background: var(--bg);
  padding: 20px 18px;
}

.infl-cat {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--grey3);
  margin-bottom: 10px;
}

.infl-name {
  font-family: var(--vt);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.2;
}

/* ── LINKS GRID ────────────────────────────── */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.link-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid var(--grey2);
  padding: 20px 16px;
  color: var(--grey4);
  font-size: 10px;
  letter-spacing: 2px;
  transition: all .15s;
  text-align: center;
}

.link-tile:hover {
  border-color: var(--teal-dim);
  color: var(--teal);
  background: var(--teal-bg);
  box-shadow: 0 0 10px rgba(0, 212, 184, .08);
}

.link-tile .lt-icon {
  font-family: var(--vt);
  font-size: 28px;
  color: var(--grey3);
  transition: color .15s;
}

.link-tile:hover .lt-icon { color: var(--teal); }

/* ── FOOTER ────────────────────────────────── */
footer {
  border-top: 1px solid var(--grey2);
  padding: 32px 0 48px;
  margin-top: 24px;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.foot-left .fl-logo {
  font-family: var(--vt);
  font-size: 28px;
  color: var(--teal);
  letter-spacing: 5px;
  margin-bottom: 4px;
}

.foot-left .fl-ep {
  font-size: 11px;
  color: var(--grey4);
  letter-spacing: 2px;
}

.foot-right {
  font-size: 10px;
  color: var(--grey3);
  letter-spacing: 2px;
  text-align: right;
  line-height: 2;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 600px) {
  .t-genre { display: none; }
  .ep-sep  { display: none; }
}

/* ── UTILITY CLASSES (previously inline) ──── */
.concept-text__note { color: var(--grey3); font-style: italic; font-size: 12px; }
.foot-url           { color: var(--teal-dim); }
