:root {
  --bg: #050505;
  --surface: #101010;
  --surface-2: #181818;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #ff2f8f;
  --accent-2: #ffffff;
  --cyan: #00f0ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max-width: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

/* TODO(brand): Replace temporary accent colors with the final palette after the logo colors are reviewed. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 20% 0%, rgba(255, 47, 143, 0.12), transparent 30rem),
    var(--bg);
  background-size:
    28px 28px,
    28px 28px,
    auto,
    auto;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(115deg, transparent 0 46%, rgba(255, 255, 255, 0.045) 46% 47%, transparent 47%);
  opacity: 0.5;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

main {
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--muted);
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--text);
  color: var(--bg);
  padding: 0.75rem 1rem;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-link img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
  background: #ffffff;
  border: 2px solid var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100svh - 5rem);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.hero-title {
  position: relative;
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: clamp(3.4rem, 10vw, 6.4rem);
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow:
    0.06em 0 var(--accent),
    -0.035em 0 var(--cyan);
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 0.03em;
  right: 0.02em;
  bottom: 0.08em;
  height: 0.08em;
  background: var(--text);
  box-shadow: 0.28em 0 0 var(--accent);
}

.hero-subtitle {
  color: var(--text);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-text {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 2px solid transparent;
  padding: 0.8rem 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

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

.button-primary:hover:not(:disabled) {
  background: var(--text);
  color: var(--bg);
}

.button-secondary {
  border-color: var(--text);
  color: var(--text);
}

.button-secondary:hover:not(:disabled) {
  background: var(--text);
  color: var(--bg);
}

.button-disabled {
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.62);
  cursor: not-allowed;
}

.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1rem -1rem 1rem;
  border: 3px solid var(--accent);
  z-index: -1;
}

.hero-media img {
  width: 100%;
  max-height: 72svh;
  object-fit: cover;
  object-position: 52% 26%;
  border: 3px solid var(--text);
  box-shadow: var(--shadow);
  filter: contrast(1.08) saturate(0.95);
}

.logo-sticker {
  position: absolute;
  right: -1rem;
  bottom: 1.5rem;
  width: min(9rem, 34vw);
  padding: 0.55rem;
  background: #ffffff;
  box-shadow: 8px 8px 0 var(--accent);
  transform: rotate(-2deg);
}

.logo-sticker img {
  border: 0;
  box-shadow: none;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.section-dark {
  max-width: none;
  border-block: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 47, 143, 0.08));
}

.section-dark > * {
  max-width: var(--max-width);
  margin-inline: auto;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.member-card,
.empty-state,
.music-card,
.contact-link {
  border: 1px solid var(--line);
  background: rgba(16, 16, 16, 0.82);
}

.member-card {
  min-height: 10rem;
  padding: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.member-card span,
.music-card span,
.contact-link span {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.member-card h3 {
  margin: 3rem 0 0;
}

.gig-list {
  display: grid;
  gap: 1rem;
  max-width: var(--max-width);
}

.empty-state {
  padding: clamp(1.2rem, 4vw, 2rem);
}

.empty-state h3 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.music-grid,
.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.music-card,
.contact-link {
  min-height: 8.5rem;
  padding: 1.1rem;
  text-decoration: none;
}

.music-card strong,
.contact-link strong {
  display: block;
  margin-top: 2.6rem;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.2;
}

.music-card-active:hover,
.contact-link:hover {
  border-color: var(--accent);
  background: rgba(255, 47, 143, 0.12);
}

.music-card-disabled,
.contact-link-disabled {
  opacity: 0.62;
}

.merch-section {
  max-width: none;
  overflow-x: clip;
  background:
    linear-gradient(90deg, rgba(255, 47, 143, 0.16), transparent 42%),
    #090909;
}

.merch-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

.merch-layout-centered {
  align-items: center;
}

.shirt-preview {
  margin-top: 2rem;
  display: grid;
  place-items: center;
  min-height: 22rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, transparent 0 35%, rgba(255, 255, 255, 0.08) 35% 36%, transparent 36%),
    var(--surface);
}

.shirt-preview-large {
  min-height: 28rem;
}

.shirt-shape {
  position: relative;
  display: grid;
  place-items: center;
  width: min(19rem, 78vw);
  aspect-ratio: 0.82;
  background: #0b0b0b;
  border: 2px solid rgba(255, 255, 255, 0.86);
  clip-path: polygon(23% 0, 37% 0, 42% 10%, 58% 10%, 63% 0, 77% 0, 100% 21%, 82% 39%, 82% 100%, 18% 100%, 18% 39%, 0 21%);
  box-shadow: 18px 18px 0 rgba(255, 47, 143, 0.75);
}

.shirt-shape img {
  width: 58%;
  padding: 0.3rem;
  background: #ffffff;
}

.merch-form {
  border: 1px solid var(--line);
  background: rgba(16, 16, 16, 0.9);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 850;
}

label span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: #050505;
  color: var(--text);
  padding: 0.85rem 0.9rem;
}

textarea {
  resize: vertical;
}

input:invalid:not(:focus):not(:placeholder-shown),
select:invalid:not(:focus) {
  border-color: var(--accent);
}

.full-width {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted);
  font-weight: 650;
}

.checkbox input {
  width: 1.2rem;
  min-width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.legal-note {
  margin: 1rem 0;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  color: var(--text);
  font-size: 0.94rem;
}

.form-alert {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: var(--text);
  font-weight: 800;
}

.form-alert[data-state="error"] {
  color: #ff8abf;
}

.request-summary {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #050505;
}

.request-summary pre {
  max-height: 18rem;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.support-section {
  max-width: none;
  border-block: 1px solid var(--line);
  background: #0f0f0f;
}

.support-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.support-copy .legal-note {
  text-align: left;
}

.page-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
}

.page-hero h1 {
  max-width: 58rem;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 11vw, 8rem);
}

.page-hero p {
  max-width: 48rem;
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.55)),
    url("public/brand/hero-band.jpg") center 28% / cover;
  max-width: none;
  min-height: 55svh;
}

.contact-hero > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-split .contact-methods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text);
  font-weight: 850;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero,
  .section-split,
  .merch-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    max-width: 34rem;
  }

  .music-grid,
  .contact-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .brand-link span {
    font-size: 0.94rem;
  }

  .site-nav {
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: clamp(2.7rem, 15vw, 3.7rem);
  }

  .hero-media::before {
    inset: 0.8rem -0.5rem -0.7rem 0.5rem;
  }

  .logo-sticker {
    right: 0.5rem;
    bottom: -1rem;
  }

  .member-grid,
  .music-grid,
  .contact-methods,
  .section-split .contact-methods,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: calc(100% - 8px);
  }

  .button-primary {
    box-shadow: 5px 5px 0 var(--text);
  }

  .shirt-shape {
    box-shadow: 8px 8px 0 rgba(255, 47, 143, 0.75);
  }

  .merch-form {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42);
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
