/* fonts loaded via html <link> — Cormorant Garamond + Space Mono only */

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

html, body {
  width: 100%; height: 100%;
  background: #080706;
  font-family: 'Space Mono', monospace;
  overflow: hidden;
  cursor: default;
}

/* ══════════════════════════════════════
   INTRO
══════════════════════════════════════ */
#intro {
  position: fixed; inset: 0; z-index: 500;
  background: #060504;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1.4s ease;
}
#intro.out { opacity: 0; pointer-events: none; }

#intro-particles {
  position: absolute; inset: 0; pointer-events: none;
}

.intro-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.intro-bg-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: clamp(5px, 0.7vw, 9px);
  line-height: 1.2;
  color: rgba(255,255,255,0.07);
  white-space: pre;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  animation: artBreath 8s ease-in-out infinite;
}
@keyframes artBreath {
  0%,100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

.intro-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  transition: opacity 0.4s ease;
}

.intro-progress-track {
  width: 200px; height: 1px;
  background: rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
}
.intro-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, rgba(145,12,35,0.5), rgba(190,20,50,0.9));
  transition: width 0.5s ease;
}

.intro-enter {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}
.intro-enter.show {
  opacity: 1; transform: translateY(0);
  pointer-events: all;
  animation: enterPulse 2.8s ease-in-out infinite;
}
@keyframes enterPulse { 0%,100%{opacity:0.6} 50%{opacity:1} }

.intro-enter-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: 22px; letter-spacing: 5px;
  color: rgba(255,255,255,0.65);
}

/* ══════════════════════════════════════
   SITE WRAPPER
══════════════════════════════════════ */
#site {
  position: fixed; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 1s ease;
  overflow-y: auto;
}
#site.in { opacity: 1; pointer-events: all; }

#particles {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 28%, rgba(0,0,0,0.85) 100%);
}
.page {
  position: relative; z-index: 2;
  width: 100%; min-height: 100vh;
  background:
    radial-gradient(ellipse 75% 55% at 50% -5%, rgba(125,8,26,0.3) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 85% 110%, rgba(95,5,18,0.14) 0%, transparent 60%);
  display: flex; flex-direction: column;
}

/* fade-in for site elements */
.fi {
  opacity: 0; transform: translateY(16px);
  animation: sfi 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes sfi { to { opacity:1; transform:translateY(0); } }

/* ══════════════════════════════════════
   TOP BAR
══════════════════════════════════════ */
.top-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2rem 4vw;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.top-left {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(16px, 1.35vw, 21px);
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
}
.top-right {
  font-size: clamp(10px, 0.85vw, 13px);
  color: rgba(255,255,255,0.42);
  letter-spacing: 4px; text-transform: uppercase;
}

/* ══════════════════════════════════════
   MAIN GRID
══════════════════════════════════════ */
.main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1px 2fr;
}
.col-left {
  padding: 5vh 4vw;
  display: flex; flex-direction: column;
  justify-content: space-between; gap: 2.5rem;
}
.divider { background: rgba(255,255,255,0.06); }
.col-right {
  padding: 4vh 4vw;
  display: flex; flex-direction: column; gap: 2vh;
}

/* ══════════════════════════════════════
   LEFT — NAME
══════════════════════════════════════ */
.logo-wrap {
  display: block; width: 100%; position: relative;
  overflow: visible;
  padding: 8px 0;
}
.name-logo {
  width: 100%; display: block;
  filter: brightness(0.88);
  mix-blend-mode: screen;
  transform-origin: center center;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.5s ease;
}
.logo-wrap:hover .name-logo {
  transform: scale(1.04) translateY(-4px);
  filter: brightness(1.05);
}

/* single clean grey line — no red */
.name-underline {
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 0.4rem; margin-bottom: 2rem;
}

.bio-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 2; color: rgba(255,255,255,0.78);
}
.bio-text strong {
  font-style: normal;
  color: rgba(255,255,255,0.97);
  font-weight: 400;
}

/* ══════════════════════════════════════
   LEFT — ORCHID
══════════════════════════════════════ */
.orchid-left {
  display: flex; justify-content: flex-start;
  padding-left: 0.5rem;
  opacity: 0.7;
}
.orchid-small {
  width: 70px; height: auto;
  animation: orchidSway 7s ease-in-out infinite;
  animation-delay: 1s;
}

/* ══════════════════════════════════════
   LEFT — QUOTE
══════════════════════════════════════ */
.quote-block {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 2; color: rgba(255,255,255,0.5);
}
.quote-attr {
  display: block; margin-top: 0.8rem;
  font-size: 10px; letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  font-style: normal;
}

/* ══════════════════════════════════════
   RIGHT — REAPER
══════════════════════════════════════ */
.reaper-wrap {
  flex: 1; display: flex;
  align-items: flex-end; justify-content: center;
  position: relative; min-height: 0;
}
.reaper-img {
  max-height: 58vh; width: auto; max-width: 92%;
  /* Source is white on black — screen blend removes black bg */
  filter: brightness(0.88);
  mix-blend-mode: screen;
  position: relative; z-index: 2;
  animation: reaperFloat 7s ease-in-out infinite;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1),
              filter 0.5s ease;
}
.reaper-wrap:hover .reaper-img {
  transform: scale(1.06) translateY(-10px);
  filter: brightness(1.05);
  animation-play-state: paused;
}
@keyframes reaperFloat {
  0%,100% { transform: translateY(0px) rotate(-0.3deg); }
  50%      { transform: translateY(-12px) rotate(0.3deg); }
}

/* black gradient fade at base */
.reaper-fade {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 150%; height: 52%;
  background: linear-gradient(to top,
    #080706 0%, #080706 18%,
    rgba(8,7,6,0.75) 50%, transparent 100%);
  pointer-events: none; z-index: 3;
}

/* ══════════════════════════════════════
   RIGHT — LINKS
══════════════════════════════════════ */
.links-section { flex-shrink: 0; }
.links-label {
  font-size: 10px; letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 0.4rem;
}
.links-label::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(255,255,255,0.08);
}

.link-row {
  display: flex; align-items: center;
  padding: 1rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none; position: relative; overflow: hidden;
  transition: background 0.4s ease, padding-left 0.4s cubic-bezier(0.16,1,0.3,1);
  opacity: 0; transform: translateX(-10px);
  cursor: default;
}
.link-row[href] { cursor: pointer; }
.discord-row { cursor: pointer; }
.link-row.in { opacity: 1; transform: translateX(0); }
.link-row::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 1px;
  background: rgba(145,12,35,0.9);
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  transform-origin: center;
}
.link-row:hover::before { transform: scaleY(1); }
.link-row:hover { background: rgba(145,12,35,0.05); padding-left: 1rem; }
.link-row:hover .lr-num { color: rgba(145,12,35,0.85); }
.link-row:hover .lr-title { color: rgba(255,255,255,1); }
.link-row:hover .lr-arrow { opacity: 1; transform: translateX(0); }

.lr-num {
  font-size: 11px; color: rgba(255,255,255,0.3);
  width: 34px; flex-shrink: 0;
  transition: color 0.35s;
}
.lr-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(21px, 2vw, 30px);
  color: rgba(255,255,255,0.78);
  flex: 1; transition: color 0.35s; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 0.8rem;
}
.lr-copy {
  font-size: 9px; color: rgba(145,12,35,0.75);
  letter-spacing: 2px; text-transform: uppercase;
  opacity: 0; transition: opacity 0.3s;
  font-family: 'Space Mono', monospace;
  white-space: nowrap;
  font-weight: 400;
}
.discord-row:hover .lr-copy { opacity: 1; }
.lr-sub {
  font-size: 10px; color: rgba(255,255,255,0.28);
  letter-spacing: 3px; text-transform: uppercase;
  width: 90px; text-align: right; flex-shrink: 0;
}
.lr-arrow {
  font-size: 14px; color: rgba(145,12,35,0.85);
  opacity: 0; transform: translateX(-6px);
  transition: all 0.4s ease;
  width: 20px; text-align: right; flex-shrink: 0;
}

/* ══════════════════════════════════════
   BOTTOM BAR + INLINE PLAYER
══════════════════════════════════════ */
.bottom-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 1rem 4vw;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0; gap: 1rem;
}

.player-inline {
  display: flex; align-items: center; gap: 0.8rem;
  grid-column: 1;
}
.player-playpause {
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-size: 13px; cursor: pointer;
  transition: color 0.25s; line-height: 1; padding: 0; flex-shrink: 0;
}
.player-playpause:hover { color: rgba(255,255,255,0.9); }
.mute-btn {
  background: none; border: none;
  color: rgba(255,255,255,0.3);
  font-size: 16px; cursor: pointer;
  transition: color 0.25s; line-height: 1; padding: 0; flex-shrink: 0;
}
.mute-btn:hover { color: rgba(255,255,255,0.75); }
.mute-btn.muted { color: rgba(145,12,35,0.6); }

.player-info {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(12px, 1vw, 15px);
  color: rgba(255,255,255,0.45);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-title { color: rgba(255,255,255,0.6); }
.player-sep { color: rgba(255,255,255,0.2); }
.player-artist { color: rgba(255,255,255,0.38); }

.player-bar-wrap {
  width: 80px; height: 1px;
  background: rgba(255,255,255,0.08);
  cursor: pointer; position: relative;
  padding: 5px 0; margin: -5px 0; flex-shrink: 0;
}
.player-bar-fill {
  height: 1px; width: 0%;
  background: linear-gradient(90deg, rgba(145,12,35,0.6), rgba(190,20,50,1));
  pointer-events: none;
  transition: width 0.8s linear;
}

.bottom-center {
  grid-column: 2;
  display: flex;
  justify-content: center; align-items: center; gap: 1.5rem;
}
.bottom-note {
  font-size: 10px; color: rgba(255,255,255,0.22);
  letter-spacing: 4px; text-transform: uppercase;
}
.bottom-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(145,12,35,0.55);
}

/* ══════════════════════════════════════
   TOAST
══════════════════════════════════════ */
.toast {
  position: fixed; bottom: 6rem; right: 2rem;
  background: rgba(14,6,8,0.96);
  border: 1px solid rgba(145,12,35,0.35);
  color: rgba(255,255,255,0.72);
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  opacity: 0; pointer-events: none; z-index: 9999;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .main { grid-template-columns: 1fr; }
  .divider { height: 1px; width: 100%; }
  .col-left, .col-right { padding: 3rem 6vw; }
  .reaper-img { max-height: 36vh; }
  .bottom-bar { flex-direction: column; gap: 1rem; padding: 1.5rem 6vw; }
  .player-inline { width: 100%; }
  .player-bar-wrap { flex: 1; }
}
