:root {
  --bg: #181818;
  --bg-deep: #0d0d0f;
  --panel: #202023;
  --panel-soft: #27242a;
  --text: #f2edf1;
  --muted: #b9aeb7;
  --accent: #ae0956;
  --accent-bright: #d8468b;
  --accent-soft: #f080b3;
  --line: rgba(240, 128, 179, 0.24);
  --shadow: rgba(174, 9, 86, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-deep);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(174, 9, 86, 0.18), transparent 34rem),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-deep) 64%, #120911 100%);
  font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--accent-bright);
  color: var(--accent-soft);
  background: linear-gradient(160deg, rgba(174, 9, 86, 0.22), rgba(255, 255, 255, 0.03));
  font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: 0 0 28px var(--shadow);
}

.brand-text {
  overflow: hidden;
  color: var(--text);
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  font-weight: 700;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a,
.nav-menu-button {
  min-height: 42px;
  padding: 0 0.85rem;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-menu-button:hover,
.nav-menu-button:focus-visible,
.site-nav [aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent-bright);
  outline: 0;
}

.nav-menu {
  position: relative;
}

.nav-menu-button::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.45rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.18rem) rotate(45deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 210px;
  padding: 0.45rem;
  border: 1px solid var(--line);
  background: rgba(20, 18, 21, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown,
.nav-menu.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  justify-content: flex-start;
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  display: grid;
  align-content: center;
  justify-items: center;
  width: min(980px, calc(100% - 32px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 56px 0 76px;
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(760px, 100%);
  margin-bottom: 2rem;
  padding: clamp(0.5rem, 2vw, 1rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-logo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 24px rgba(216, 70, 139, 0.28));
}

.hero-logo span {
  display: block;
  width: 100%;
  font-size: clamp(2.35rem, 8vw, 6.25rem);
  line-height: 0.9;
  text-align: center;
}

.hero-logo small {
  color: var(--text);
  font-size: clamp(0.9rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.24rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 850px;
  margin: 0;
  font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 5.7rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.05;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.75;
}

.hero-copy {
  max-width: 670px;
  margin: 1.4rem auto 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 28px var(--shadow);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.03);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 64px;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
}

.live-teaser {
  display: grid;
  justify-items: start;
  gap: 2rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 64px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(174, 9, 86, 0.18), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

.live-teaser h2 {
  max-width: 720px;
}

.live-teaser .button {
  width: auto;
}

.intro-band p {
  margin: 0;
}

.page-shell {
  width: min(860px, calc(100% - 32px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: clamp(64px, 12vw, 140px) 0;
}

.page-shell p:not(.eyebrow) {
  max-width: 680px;
}

.project-page {
  position: relative;
}

.project-page::before {
  content: "";
  position: absolute;
  top: 96px;
  right: 0;
  width: min(280px, 36vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright));
}

.live-page {
  width: min(1180px, calc(100% - 32px));
}

.live-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.live-heading h1 {
  max-width: 780px;
}

.stream-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  margin: 0 0 0.35rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.stream-status span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #8f8790;
}

.stream-status.is-live {
  color: var(--text);
  border-color: rgba(216, 70, 139, 0.72);
}

.stream-status.is-live span {
  background: var(--accent-bright);
  box-shadow: 0 0 18px rgba(216, 70, 139, 0.88);
}

.stream-status.is-offline span {
  background: #5f5961;
}

.twitch-frame {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #0b0b0d;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32);
}

#twitch-embed,
#twitch-embed iframe {
  width: 100%;
  height: 100%;
}

.live-note {
  max-width: 720px;
  margin-top: 1.5rem;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 0.6rem;
    border: 1px solid var(--line);
    background: rgba(15, 14, 16, 0.98);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a,
  .nav-menu-button {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    display: none;
    margin: 0.2rem 0 0.4rem 0.75rem;
    border-left: 1px solid var(--line);
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu.open .nav-dropdown {
    display: grid;
  }

  .intro-band {
    grid-template-columns: 1fr;
  }

  .live-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-teaser .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand-text {
    max-width: 210px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }
}
