:root {
  --bg: #302d2a;
  --bg-soft: #3b3633;
  --panel: rgba(9, 9, 9, 0.58);
  --panel-strong: rgba(0, 0, 0, 0.76);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.16);
  --accent: #dcff08;
  --accent-soft: rgba(220, 255, 8, 0.16);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 28px 90px rgba(0, 0, 0, 0.48);
  --radius: 28px;
  --content: min(1180px, calc(100vw - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(220,255,8,0.08), transparent 22%),
    linear-gradient(180deg, #322d2a 0%, #272321 100%);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.22), transparent 22%, transparent 78%, rgba(0,0,0,0.22));
}

.container {
  width: var(--content);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(15, 14, 13, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.header-inner {
  width: var(--content);
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
}

.nav-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.nav-links a,
.social-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.social-links a:hover,
.nav-links a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-media,
.section-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-media::after,
.section-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0.22), rgba(5,5,5,0.7) 45%, rgba(12,12,12,0.92));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--content);
  padding: 7rem 0 5.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  gap: 2.25rem;
  align-items: end;
}

.eyebrow,
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: "Bai Jamjuree", sans-serif;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6.9rem);
  line-height: 0.93;
  max-width: 8.5ch;
  text-wrap: balance;
}

.docs-title {
  max-width: 12ch;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.hero-copy {
  max-width: 60ch;
  font-size: 1.1rem;
  color: var(--muted);
  margin: 1.5rem 0 0;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions-tight {
  margin-top: 1rem;
}

.button,
.button-secondary {
  border-radius: 999px;
  padding: 0.98rem 1.45rem;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.button {
  background: var(--accent);
  color: #0b0b0b;
  border-color: transparent;
  font-weight: 700;
}

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

.button:hover,
.button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}

.is-hidden {
  display: none;
}

.hero-card,
.panel,
.form-panel,
.schedule-table-wrap,
.member-card,
.song-list-panel {
  background: linear-gradient(180deg, rgba(16,16,16,0.64), rgba(10,10,10,0.5));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: 1.7rem;
  box-shadow: var(--shadow-strong);
}

.hero-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.hero-card p {
  color: var(--muted);
  margin: 0;
}

.hero-card .show-highlight {
  margin-top: 1.25rem;
}

.hero-card .stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-card .stat {
  padding: 0.9rem 0.65rem;
}

.hero-card .stat-value {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.hero-card .stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.section {
  position: relative;
  padding: 5.6rem 0;
}

.videos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
}

.supporting-videos {
  display: grid;
  gap: 1.5rem;
}

.video-panel {
  display: flex;
  flex-direction: column;
}

.video-frame {
  margin-top: 1rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-frame-featured iframe {
  min-height: 420px;
}

.section.with-image {
  overflow: hidden;
}

.section .section-media {
  opacity: 0.48;
}

.section-inner {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.panel {
  padding: 2.2rem;
}

.panel h2,
.form-panel h2,
.song-list-panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.panel p,
.panel li,
.form-panel p,
.song-list-panel p {
  color: var(--muted);
  text-wrap: pretty;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  text-align: center;
}

.stat-value {
  font-family: "Bai Jamjuree", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.stat-label {
  margin-top: 0.45rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.show-highlight {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(220,255,8,0.18);
  border-left: 4px solid var(--accent);
  background: linear-gradient(180deg, rgba(220,255,8,0.08), rgba(255,255,255,0.03));
  border-radius: 18px;
}

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  line-height: 1.4;
}

.schedule-table-wrap {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.schedule-table th,
.schedule-table td {
  text-align: left;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.schedule-table th {
  font-family: "Bai Jamjuree", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.schedule-table td strong {
  display: block;
  color: var(--text);
}

.show-notes {
  margin-top: 0.35rem;
  color: var(--muted);
}

.show-ticket {
  margin-top: 0.55rem;
}

.show-ticket a {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.show-cta-row {
  margin-top: 0.85rem;
}

.show-cta-row .button-secondary {
  padding: 0.78rem 1.1rem;
  font-size: 0.74rem;
}

.archive-layout {
  margin-top: 1.5rem;
}

.archive-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.archive-tag {
  display: block;
  margin-bottom: 0.35rem;
}

.archive-title {
  display: block;
  font-family: "Bai Jamjuree", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.4rem;
}

.archive-note {
  display: block;
  margin-top: 0.45rem;
}

.archive-toggle-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.archive-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.archive-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.docs-panel a {
  color: var(--accent);
}

.docs-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.docs-code {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  color: var(--text);
}

.archive-item strong {
  color: var(--text);
}

.archive-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.members-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.member-card {
  padding: 1rem;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.member-card:hover {
  transform: translateY(-3px);
  border-color: rgba(220,255,8,0.26);
}

.member-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.member-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
}

.member-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.song-list-panel {
  padding: 2rem;
}

.forms-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1.5rem;
}

.form-panel {
  padding: 2rem;
}

.field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.15rem;
}

.footer {
  padding: 2rem 0 3.5rem;
}

.footer-inner {
  width: var(--content);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.small-note {
  font-size: 0.84rem;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero-content,
  .grid-2,
  .forms-grid,
  .members-grid,
  .videos-layout {
    grid-template-columns: 1fr;
  }

  .hero-card .stats,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-frame-featured iframe {
    min-height: 360px;
  }

  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-content {
    padding: 6rem 0 4.5rem;
  }

  h1 {
    max-width: none;
  }

  .stats,
  .hero-card .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-frame-featured iframe {
    min-height: 240px;
  }

  .panel,
  .form-panel,
  .song-list-panel,
  .hero-card {
    padding: 1.3rem;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }
}
