/* ============================================================
   RAD STAG — radstagmusic.com
   Psychedelic-grunge identity.
   Palette:
     --ink       #0a080e  near-black base
     --ink-2     #120f18  raised panels
     --bruise    #8b3ac0  psychedelic purple (primary)
     --magenta   #c02c7c  hot accent
     --haze      #b278c8  soft lilac text accent
     --bone      #ede9f2  bone-white text
   Type: Anton (display) / Space Grotesk (body)
   ============================================================ */

:root {
  --ink: #0a080e;
  --ink-2: #120f18;
  --ink-3: #1a1522;
  --bruise: #8b3ac0;
  --magenta: #c02c7c;
  --haze: #b278c8;
  --bone: #ede9f2;
  --bone-dim: #9a91a8;
  --line: rgba(178, 120, 200, 0.16);

  --maxw: 1080px;
  --pad: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bruise);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--haze);
  outline-offset: 3px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--pad);
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: -20% -20% auto -20%;
  height: 120%;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 32%, rgba(139, 58, 192, 0.42), transparent 70%),
    radial-gradient(45% 40% at 72% 60%, rgba(192, 44, 124, 0.28), transparent 70%),
    radial-gradient(40% 35% at 22% 68%, rgba(80, 40, 160, 0.30), transparent 70%);
  filter: saturate(1.1);
  animation: drift 22s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1.02); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

/* film-grain overlay for grunge texture */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rise 1s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__logo {
  width: clamp(140px, 30vw, 220px);
  height: auto;
  filter: drop-shadow(0 0 34px rgba(139, 58, 192, 0.55));
  margin-bottom: 1.4rem;
}

.hero__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(4.5rem, 20vw, 11rem);
  line-height: 0.82;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--bone);
  text-shadow: 0 0 40px rgba(139, 58, 192, 0.4);
}

.hero__tag {
  margin: 1.1rem 0 0;
  font-size: clamp(0.95rem, 2.6vw, 1.25rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--haze);
  font-weight: 500;
}
.hero__dot { margin: 0 0.65em; opacity: 0.6; }

.hero__nav {
  margin-top: 2.4rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__nav a {
  font-family: "Anton", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--bone);
  transition: border-color .25s, background .25s, color .25s;
}
.hero__nav a:hover {
  background: var(--bruise);
  border-color: var(--bruise);
  color: #fff;
}

.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bone-dim);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ============ SECTIONS ============ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
}
.section--alt {
  max-width: none;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--alt > * {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

.section__head { margin-bottom: 2.6rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.section__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 5rem);
  line-height: 0.9;
  margin: 0;
  letter-spacing: 0.01em;
}

.section__lede {
  margin: 1rem 0 0;
  max-width: 46ch;
  color: var(--bone-dim);
  font-size: 1.05rem;
}
.section__lede em { color: var(--haze); font-style: italic; }

/* ============ SOUNDCLOUD PLAYER ============ */
.player {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 24px 60px -30px rgba(139, 58, 192, 0.6);
}
.player iframe { display: block; border: 0; }

/* ============ YOUTUBE VIDEOS ============ */
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}
.video { margin: 0; }
.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 18px 44px -26px rgba(192, 44, 124, 0.55);
}
.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video__cap {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  text-transform: uppercase;
}

/* ============ GHOST BUTTON ============ */
.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Anton", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background .25s, border-color .25s, color .25s;
}
.ghost-btn:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}

/* ============ LINKS ============ */
.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.25rem 1rem;
  padding: 1.3rem 1.6rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, border-color .2s, background .2s;
}
.link::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--bruise);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .25s ease;
}
.link:hover {
  transform: translateX(6px);
  border-color: rgba(178, 120, 200, 0.4);
  background: var(--ink-3);
}
.link:hover::before { transform: scaleY(1); }
.link--ig:hover { background: var(--ink-3); }
.link--ig::before { background: var(--magenta); }

.link__name {
  font-family: "Anton", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  grid-column: 1;
}
.link__meta {
  grid-column: 1;
  color: var(--bone-dim);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.link__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 1.4rem;
  color: var(--haze);
  transition: transform .2s;
}
.link:hover .link__arrow { transform: translate(3px, -3px); }

/* ============ FOOTER ============ */
.footer {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--pad) 3rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 50% 100%, rgba(139, 58, 192, 0.18), transparent 70%),
    var(--ink);
}
.footer__mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 1.1rem;
  opacity: 0.85;
  filter: drop-shadow(0 0 18px rgba(139,58,192,0.5));
}
.footer__name {
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
  margin: 0;
}
.footer__loc {
  color: var(--bone-dim);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0.4rem 0 1.4rem;
}
.footer__copy {
  color: var(--bone-dim);
  font-size: 0.8rem;
  margin: 0 0 0.4rem;
}
.footer__ig {
  color: var(--haze);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.footer__ig:hover { border-color: var(--haze); }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
