/* ============================================================
   REVAN EPK — Hazard system locked.
   Palette: Void #0A0A0A · Bone #EDEDE8 · Hazard #C7F23C
   Type: Space Grotesk (display) + JetBrains Mono (technical)
   ============================================================ */

:root {
  --void: #0A0A0A;
  --void-2: #0D0D0D;
  --bone: #EDEDE8;
  --hazard: #C7F23C;
  --hazard-dim: #94B626;
  --mute: #7a7570;
  --line: #1E1E1E;
  --gray: #3D3D3D;

  --display: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--hazard); color: var(--void); }

/* grid bg */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

/* fade-in helper — content is visible by default. JS opts elements into the
   hidden state via inline styles for those still below the fold, then swaps
   them back via .in. No gating selectors. */
.fade { transition: opacity .9s ease, transform .9s ease; }
.fade.in { opacity: 1 !important; transform: none !important; }

/* ============================ UTILITY BAR ============================ */
.util {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.util-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.util-left { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.dot { width: 8px; height: 8px; background: var(--hazard); border-radius: 50%; box-shadow: 0 0 0 0 var(--hazard); animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(199,242,60,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(199,242,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(199,242,60,0); }
}
.util-id { color: var(--bone); }
.util-sep { color: var(--gray); }
.util-nav { display: flex; gap: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.util-nav a { color: var(--mute); transition: color .2s; padding: 4px 0; border-bottom: 1px solid transparent; }
.util-nav a:hover { color: var(--bone); border-bottom-color: var(--hazard); }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-top-row { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; }
.hero-mark { width: 72px; height: 72px; flex-shrink: 0; }
.genre-pill {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 8px 14px;
  border: 1px solid var(--gray);
  border-radius: 999px;
}

.alias {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(96px, 17vw, 240px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--hazard);
  margin: 0 0 28px;
}
.alias .slash { color: var(--bone); margin-left: 4px; }

.tagline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  margin: 0 0 36px;
  padding-left: 20px;
  border-left: 3px solid var(--hazard);
  color: var(--bone);
  max-width: 560px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid var(--gray);
  color: var(--bone);
  transition: all .2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn:hover { border-color: var(--hazard); color: var(--hazard); }
.btn-primary { background: var(--hazard); color: var(--void); border-color: var(--hazard); }
.btn-primary:hover { background: var(--bone); border-color: var(--bone); color: var(--void); }
.btn-ghost { background: transparent; }
.btn-dark { background: var(--void); color: var(--bone); border-color: var(--void); }
.btn-dark:hover { background: var(--bone); color: var(--void); }
.btn-soundcloud {
  background: var(--void);
  color: #FF5500;
  border-color: #FF5500;
}
.btn-soundcloud:hover {
  background: #FF5500;
  color: var(--void);
  border-color: #FF5500;
}

/* hero portrait frame */
.hero-right { display: block; min-width: 0; max-width: 100%; }
.hero-right .frame, .hero-right .frame-inner { max-width: 100%; }
.frame { max-width: 100%; }
.frame img,
.frame-inner img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame {
  position: relative;
  padding: 14px;
  background: var(--void-2);
  border: 1px solid var(--line);
}
.bracket {
  position: absolute;
  width: 24px; height: 24px;
  border-color: var(--hazard);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
  z-index: 2;
}
.bracket-tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.bracket-tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.bracket-bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.bracket-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

.frame-inner {
  position: relative;
  background: #111;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* real photo container */
.photo-portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #000;
  overflow: hidden;
}
.photo-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.placeholder-portrait { aspect-ratio: 3 / 4; }
.placeholder-landscape { aspect-ratio: 3 / 2; }
.photo-portrait { aspect-ratio: 3 / 4; overflow: hidden; }
.photo-landscape { aspect-ratio: 3 / 2; overflow: hidden; }
.photo-portrait img,
.photo-landscape img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.placeholder-portrait::before,
.placeholder-landscape::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,.02) 18px 19px),
    radial-gradient(ellipse at 30% 30%, #1a1a1a 0%, #0a0a0a 60%);
}
.ph-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--mute);
  position: absolute;
  bottom: 14px; left: 14px;
  z-index: 2;
}
.ph-cross {
  position: absolute;
  inset: 50% 50% 50% 50%;
  width: 0; height: 0;
}
.ph-cross::before, .ph-cross::after {
  content: "";
  position: absolute;
  background: var(--gray);
}
.ph-cross::before { width: 32px; height: 1px; left: -16px; top: 0; }
.ph-cross::after { width: 1px; height: 32px; left: 0; top: -16px; }

.frame-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ============================ RIBBON ============================ */
.ribbon {
  background: var(--hazard);
  color: var(--void);
  overflow: hidden;
  border-top: 1px solid var(--hazard-dim);
  border-bottom: 1px solid var(--hazard-dim);
  position: relative;
  z-index: 2;
}
.ribbon-track {
  display: flex;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 700;
  font-size: 84px;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 22px 0;
  animation: marquee 28s linear infinite;
}
.ribbon-track-rev { animation-direction: reverse; animation-duration: 36s; }
.ribbon-track span { padding-right: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================ SECTIONS ============================ */
.section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 32px;
  border-top: 1px solid var(--line);
}
.section-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
}
.gutter { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.gutter-label { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--bone); }
.gutter-id { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; color: var(--mute); }

.section-num { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--hazard); display: block; margin-bottom: 18px; }
.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
  max-width: 22ch;
}

.bio {
  font-family: var(--display);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--bone);
  max-width: 70ch;
  margin: 0 0 22px;
}
.bio strong { color: var(--hazard); font-weight: 600; }
.dropcap {
  float: left;
  font-family: var(--display);
  font-weight: 700;
  color: var(--hazard);
  font-size: 76px;
  line-height: 0.85;
  padding: 6px 12px 0 0;
}

/* spec grid */
.spec-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.spec {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spec-k { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--mute); }
.spec-v { font-family: var(--display); font-weight: 500; font-size: 16px; color: var(--bone); }

/* ============================ SEPARATOR ============================ */
.separator {
  position: relative;
  height: 28px;
  background: var(--hazard);
  z-index: 2;
  border-top: 1px solid var(--hazard-dim);
  border-bottom: 1px solid var(--hazard-dim);
  overflow: hidden;
}
.separator-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 18px,
    rgba(10,10,10,0.10) 18px 22px
  );
}

/* ============================ HIGHLIGHT BAND ============================ */
.highlight {
  position: relative;
  background: var(--hazard);
  color: var(--void);
  padding: 56px 32px;
  overflow: hidden;
  z-index: 2;
}
.highlight-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 24px,
    rgba(10,10,10,0.06) 24px 28px
  );
  pointer-events: none;
}
.highlight-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.highlight-label { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; }
.highlight-quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.2;
  margin: 0;
  flex: 1;
  min-width: 260px;
  max-width: 700px;
}
.highlight-quote em { font-style: italic; font-weight: 700; }

/* ============================ TWO COL ============================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 24px;
}
.col-label { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--mute); display: block; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.list { list-style: none; padding: 0; margin: 0; }
.list li {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 300;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
}
.list li strong { color: var(--bone); font-weight: 600; }

/* ============================ PRESS GRID ============================ */
.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.press-card { display: block; transition: transform .25s ease; }
.press-card:hover { transform: translateY(-4px); }

/* ============================ RIG ============================ */
.rig {
  position: relative;
  background: var(--void-2);
  border: 1px solid var(--line);
  padding: 40px;
  margin-bottom: 32px;
}
.rig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: end;
}
.unit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #0a0a0a;
  border: 1px solid var(--line);
}
.unit-mixer { background: #0c0c0c; }
.unit-label { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--bone); }
.unit-gear { width: 100%; height: auto; max-height: 160px; }
.unit-id { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; color: var(--hazard); }

/* scale */
.scale { margin-top: 32px; padding: 0 4px; }
.scale-bar {
  position: relative;
  height: 2px;
  background: var(--gray);
  width: 100%;
}
.tick {
  position: absolute;
  top: -6px;
  width: 1px;
  height: 14px;
  background: var(--bone);
}
.tick:nth-child(1), .tick:nth-child(7) { background: var(--hazard); height: 18px; top: -8px; }
.scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--mute);
}

/* spec callout */
.spec-callout {
  border: 1px solid var(--hazard);
  padding: 24px 28px;
  background: rgba(199, 242, 60, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spec-callout-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--hazard); }
.spec-callout p {
  margin: 0;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--bone);
}
.spec-callout strong { color: var(--bone); font-weight: 600; }

/* ============================ FOOTER ============================ */
.footer {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 64px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.foot-label { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--hazard); display: block; margin-bottom: 14px; }
.footer-grid a {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 400;
  padding: 6px 0;
  color: var(--bone);
  transition: color .2s;
}
.footer-grid a:hover { color: var(--hazard); }
.foot-meta { font-family: var(--mono); font-size: 10px; letter-spacing: .22em; color: var(--mute); display: block; margin-top: 8px; text-transform: uppercase; }

.ribbon-end .ribbon-track { font-size: 56px; padding: 14px 0; }

.end-stamp {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 32px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.stamp { color: var(--hazard); }
.stamp-meta { color: var(--mute); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 900px) {
  .hero { padding: 56px 24px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 64px 24px; }
  .section-grid { grid-template-columns: 1fr; gap: 24px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .press-grid { grid-template-columns: 1fr; }
  .rig { padding: 24px; }
  .rig-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .util-inner { padding: 12px 20px; }
  .util-nav { display: none; }
  .ribbon-track { font-size: 56px; padding: 16px 0; }
  .end-stamp { flex-direction: column; gap: 12px; align-items: flex-start; }
}
