:root {
  --coal: #12110f;
  --coal-2: #1d1a16;
  --ash: #2a2520;
  --cream: #f6edd8;
  --muted: #c9bba1;
  --gold: #f6b44b;
  --ember: #e94f1a;
  --oxblood: #6f1d16;
  --veld: #245438;
  --flag-blue: #193f75;
  --line: rgba(246, 237, 216, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--coal);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(18, 17, 15, 0.88);
  backdrop-filter: blur(14px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--cream);
  border-color: var(--gold);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 82vh;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 5vw, 72px) clamp(48px, 7vw, 86px);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(180deg, rgba(12, 11, 10, 0.84), rgba(12, 11, 10, 0.96)), var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(0deg, var(--coal) 0%, rgba(18, 17, 15, 0) 100%);
}

.hero-content {
  display: grid;
  justify-items: center;
  width: min(1180px, 100%);
}

.hero-banner {
  width: min(100%, 1120px);
  max-height: 58vh;
  margin-bottom: 24px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.55));
}

.eyebrow,
.section-kicker,
.release-type {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: 7.5rem;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 6px 0 rgba(111, 29, 22, 0.62), 0 18px 40px rgba(0, 0, 0, 0.55);
}

.hero-copy {
  width: min(620px, 100%);
  margin-bottom: 28px;
  color: #f9e8c9;
  font-size: 1.28rem;
}

.hero-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--cream);
  cursor: pointer;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(180deg, #ffbd54 0%, var(--ember) 100%);
  color: #1b100b;
  box-shadow: 0 12px 36px rgba(233, 79, 26, 0.34);
}

.button.secondary {
  border-color: rgba(246, 180, 75, 0.7);
  background: rgba(246, 180, 75, 0.1);
}

.button.ghost {
  border-color: rgba(246, 237, 216, 0.26);
  background: rgba(18, 17, 15, 0.42);
}

.button.danger {
  min-height: 40px;
  border-color: rgba(233, 79, 26, 0.55);
  background: rgba(233, 79, 26, 0.13);
}

.intro-band {
  border-block: 1px solid var(--line);
  background: #171512;
}

.stripe {
  height: 8px;
  background: linear-gradient(90deg, var(--oxblood) 0 25%, var(--cream) 25% 50%, var(--flag-blue) 50% 75%, var(--veld) 75% 100%);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 0;
}

.intro-grid h2,
.section-heading h2,
.support-copy h2,
.admin-hero h1 {
  margin-bottom: 0;
  font-size: 3.45rem;
  line-height: 1;
}

.intro-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.quick-links {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.quick-links a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
}

.content-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) 0;
}

.dark-section {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #15110f 0%, #211812 100%);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.release-card,
.empty-state,
.feature-video,
.support-panel,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.release-card {
  overflow: hidden;
}

.release-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--ash);
}

.fallback-cover {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.75rem;
  font-weight: 800;
  background: radial-gradient(circle at top, rgba(246, 180, 75, 0.22), rgba(111, 29, 22, 0.36)), #17120f;
}

.release-body {
  padding: 18px;
}

.release-body h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.release-body p {
  color: var(--muted);
}

.release-date {
  margin-bottom: 10px;
  color: #e9c98c;
  font-weight: 700;
}

audio,
video {
  width: 100%;
  border-radius: 6px;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.release-actions a {
  color: var(--gold);
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  padding: clamp(24px, 4vw, 42px);
}

.empty-state p,
.feature-video p {
  color: var(--muted);
}

.feature-video {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  grid-column: 1 / -1;
  overflow: hidden;
}

.feature-video img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.feature-video div {
  padding: clamp(24px, 4vw, 44px);
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  padding: clamp(56px, 7vw, 92px) max(18px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, rgba(111, 29, 22, 0.78), rgba(18, 17, 15, 0.96) 54%, rgba(36, 84, 56, 0.72));
}

.support-copy p {
  max-width: 680px;
  color: #f4dfba;
  font-size: 1.08rem;
}

.support-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.support-option {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(246, 180, 75, 0.45);
  border-radius: 6px;
  background: rgba(246, 180, 75, 0.1);
}

.support-option span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.support-option strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.support-option.muted {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #0c0b0a;
}

.site-footer img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.74);
}

.modal-backdrop[aria-hidden="false"] {
  display: grid;
}

.support-modal {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(246, 180, 75, 0.42);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(35, 27, 20, 0.98), rgba(17, 14, 12, 0.98));
  box-shadow: var(--shadow);
}

.support-modal img {
  width: 96px;
  margin-bottom: 16px;
}

.support-modal h2 {
  margin-bottom: 12px;
  font-size: 2.8rem;
  line-height: 1;
}

.support-modal p:not(.section-kicker) {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-weight: 800;
}

.admin-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #15110f, #241913);
}

.admin-shell {
  width: min(1050px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(38px, 6vw, 72px) 0;
}

.admin-hero {
  margin-bottom: 24px;
}

.admin-hero p {
  color: var(--muted);
}

.notice {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(36, 84, 56, 0.55);
  border-radius: 6px;
  background: rgba(36, 84, 56, 0.18);
  font-weight: 700;
}

.notice.error {
  border-color: rgba(233, 79, 26, 0.62);
  background: rgba(233, 79, 26, 0.14);
}

.admin-card {
  margin-bottom: 22px;
  padding: clamp(20px, 4vw, 34px);
}

.login-card {
  width: min(460px, 100%);
}

.admin-card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-card h2 {
  margin-bottom: 0;
  font-size: 2.2rem;
}

.limit-note,
.empty-admin {
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 8px;
  color: #f2dcae;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(246, 237, 216, 0.18);
  border-radius: 6px;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.24);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.file-drop {
  min-height: 136px;
  align-content: center;
  padding: 18px;
  border: 1px dashed rgba(246, 180, 75, 0.5);
  border-radius: 8px;
  background: rgba(246, 180, 75, 0.07);
  cursor: pointer;
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-drop strong {
  color: var(--cream);
  overflow-wrap: anywhere;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-release {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-release h3,
.admin-release p {
  margin-bottom: 0;
}

.admin-release span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 5.35rem;
  }

  .intro-grid h2,
  .section-heading h2,
  .support-copy h2,
  .admin-hero h1 {
    font-size: 2.75rem;
  }

  .site-header,
  .intro-grid,
  .section-heading,
  .support-section,
  .admin-card-heading,
  .admin-release {
    align-items: stretch;
  }

  .site-header {
    align-items: center;
    position: static;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .intro-grid,
  .support-section,
  .feature-video {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .intro-grid h2,
  .section-heading h2,
  .support-copy h2,
  .admin-hero h1 {
    font-size: 2.05rem;
  }

  .support-modal h2 {
    font-size: 2rem;
  }

  .admin-card h2 {
    font-size: 1.6rem;
  }

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

  .hero-banner {
    max-height: 46vh;
    margin-bottom: 18px;
  }

  .hero::before {
    background-image: linear-gradient(180deg, rgba(12, 11, 10, 0.78), rgba(12, 11, 10, 0.94)), var(--hero-image);
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    font-size: 0.86rem;
    text-align: center;
  }

  .nav-links a {
    padding: 8px 4px;
  }

  .release-grid,
  .form-grid,
  .file-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .modal-actions {
    display: grid;
  }

  .feature-video img {
    min-height: 220px;
  }

  .site-footer,
  .admin-card-heading,
  .admin-release {
    flex-direction: column;
  }

  .admin-release form,
  .admin-release .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.85rem;
  }

  .nav-links {
    font-size: 0.78rem;
  }
}
