:root {
  --black: #070405;
  --black-soft: #12090b;
  --red-deep: #4d0509;
  --red: #8f1118;
  --red-bright: #bf1d28;
  --blue-deep: #071827;
  --blue: #123856;
  --cream: #f3e6cf;
  --gold: #c9a35a;
  --gold-soft: #e1c27a;
  --muted: #b9a993;
  --paper: #ead8ba;
  --shadow: rgba(0, 0, 0, 0.55);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(143, 17, 24, 0.25), transparent 32rem),
    linear-gradient(180deg, #070405 0%, #12090b 45%, #070405 100%);
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.site-title {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  color: var(--gold-soft);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 230, 207, 0.82);
}

.site-nav a:hover {
  color: var(--gold-soft);
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr);
  border-bottom: 1px solid rgba(201, 163, 90, 0.3);
}

.hero-image {
  min-height: 44rem;
  background:
    linear-gradient(90deg, rgba(7, 4, 5, 0.02), rgba(7, 4, 5, 0.32)),
    url("assets/images/portrait-group-complete-8.png");
  background-size: cover;
  background-position: center;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  background:
    linear-gradient(180deg, rgba(77, 5, 9, 0.92), rgba(7, 4, 5, 0.96)),
    radial-gradient(circle at top, rgba(201, 163, 90, 0.24), transparent 28rem);
  box-shadow: -2rem 0 5rem var(--shadow);
}

.hero-panel h1 {
  margin-bottom: 1.25rem;
}

.hero-panel .tagline {
  max-width: 30rem;
  margin-top: 1.35rem;
  margin-bottom: 2rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.14;
  color: rgba(243, 230, 207, 0.96);
}

.hero-panel .tagline span {
  display: block;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-weight: 400;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 400;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 400;
  color: var(--gold-soft);
}

p {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(243, 230, 207, 0.84);
}

.tagline {
  max-width: 32rem;
  margin-bottom: 2rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.28;
  color: rgba(243, 230, 207, 0.95);
}

.button {
  width: fit-content;
  display: inline-block;
  padding: 0.85rem 1.35rem;
  border: 1px solid rgba(225, 194, 122, 0.75);
  color: var(--gold-soft);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  background: rgba(7, 4, 5, 0.42);
}

.button:hover {
  background: rgba(201, 163, 90, 0.16);
}

.section {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.intro-section {
  border-bottom: 1px solid rgba(201, 163, 90, 0.18);
}

.dark-section {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max-width)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid rgba(201, 163, 90, 0.2);
  border-bottom: 1px solid rgba(201, 163, 90, 0.2);
}

/* Club section with bars2.png background */
#club {
  position: relative;
  overflow: hidden;
  background: #070405;
}

#club::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/images/bars2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  filter: brightness(1.55) contrast(1.04) saturate(1.12);
}

#club::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 4, 5, 0.46), rgba(7, 4, 5, 0.08), rgba(7, 4, 5, 0.46)),
    linear-gradient(180deg, rgba(7, 4, 5, 0.42), rgba(7, 4, 5, 0.08) 45%, rgba(7, 4, 5, 0.56)),
    radial-gradient(circle at 24% 35%, rgba(143, 17, 24, 0.12), transparent 24rem),
    radial-gradient(circle at 78% 20%, rgba(18, 56, 86, 0.14), transparent 28rem);
}

#club .section-kicker,
#club h2,
#club .room-grid {
  position: relative;
  z-index: 2;
}

#club h2 {
  max-width: 48rem;
  text-shadow: 0 0.25rem 2rem rgba(0, 0, 0, 0.95);
}

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

.characters {
  padding: 5rem 1.5rem;
}

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

.character-card {
  background: rgba(18, 14, 18, 0.82);
  border: 1px solid rgba(210, 170, 120, 0.28);
  border-radius: 18px;
  padding: 1rem;
  text-align: left;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.character-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  margin-bottom: 1rem;
  border: 1px solid rgba(230, 195, 145, 0.35);
}

.character-card h3 {
  margin: 0 0 0.65rem;
}

.character-card p {
  margin: 0;
}

.room-card,
.character-card {
  min-height: 15rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(201, 163, 90, 0.22);
  background: rgba(7, 4, 5, 0.46);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.22);
}

.room-card {
  backdrop-filter: blur(4px);
  box-shadow: 0 2rem 4.5rem rgba(0, 0, 0, 0.48);
}

.red-card {
  background:
    linear-gradient(145deg, rgba(77, 5, 9, 0.86), rgba(7, 4, 5, 0.74)),
    radial-gradient(circle at top left, rgba(191, 29, 40, 0.28), transparent 22rem);
}

.blue-card {
  background:
    linear-gradient(145deg, rgba(7, 24, 39, 0.9), rgba(7, 4, 5, 0.74)),
    radial-gradient(circle at top left, rgba(18, 56, 86, 0.42), transparent 22rem);
}

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

.character-card {
  min-height: 18rem;
  background:
    linear-gradient(180deg, rgba(18, 9, 11, 0.88), rgba(7, 4, 5, 0.9));
}

/* Archive section */

.archive-section {
  border-top: 1px solid rgba(201, 163, 90, 0.18);
  border-bottom: 1px solid rgba(201, 163, 90, 0.18);
}

.archive-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.archive-copy {
  max-width: 34rem;
}

.archive-copy p {
  margin-bottom: 1.35rem;
}

.archive-feature-list {
  display: grid;
  gap: 1.15rem;
}

.archive-feature-card {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  min-height: 130px;
  padding: 0.9rem;
  background:
    linear-gradient(145deg, rgba(18, 9, 11, 0.88), rgba(7, 4, 5, 0.84));
  border: 1px solid rgba(201, 163, 90, 0.26);
  box-shadow: 0 1.6rem 3.5rem rgba(0, 0, 0, 0.34);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.archive-feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 194, 122, 0.52);
  background:
    linear-gradient(145deg, rgba(36, 12, 17, 0.94), rgba(7, 4, 5, 0.9));
}

.archive-feature-card img {
  width: 100%;
  height: 100%;
  min-height: 145px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(225, 194, 122, 0.28);
  filter: sepia(0.18) contrast(1.05) brightness(0.86);
}

.archive-feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.35rem 0.35rem 0.35rem 0;
}

.archive-feature-text h3 {
  margin: 0 0 0.55rem;
  color: var(--gold-soft);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.archive-feature-text p {
  margin: 0;
  color: rgba(243, 230, 207, 0.76);
  font-size: 0.98rem;
  line-height: 1.5;
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(225, 194, 122, 0.55);
}

.text-link:hover {
  border-bottom-color: var(--gold-soft);
}

.about-section {
  padding-bottom: 6rem;
}

.link-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.link-row a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(225, 194, 122, 0.5);
}

.link-row a:hover {
  border-bottom-color: var(--gold-soft);
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid rgba(201, 163, 90, 0.18);
  background: #050303;
}

.site-footer p {
  margin: 0;
  color: rgba(243, 230, 207, 0.58);
  font-size: 0.9rem;
}

@media (max-width: 950px) {
  .character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-nav {
    justify-content: flex-start;
  }

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

  .hero-image {
    min-height: 26rem;
  }

  .hero-panel {
    box-shadow: none;
  }

  .two-column,
  .room-grid,
  .character-grid,
  .archive-layout {
    grid-template-columns: 1fr;
  }

  .character-card {
    min-height: auto;
  }

  #club::before {
    background-position: center;
  }
}

@media (max-width: 600px) {
  .character-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-nav a {
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .hero-image {
    min-height: 20rem;
  }

  .section {
    width: min(100% - 1.25rem, var(--max-width));
  }

  #club {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .archive-feature-card {
    grid-template-columns: 1fr;
  }

  .archive-feature-card img {
    height: 220px;
  }
}
