:root {
  color-scheme: light;
  --purple: #4b2a7b;
  --green: #1f6f4a;
  --gold: #c8a23a;
  --bg: #f7f5f2;
  --text: #2b1f3a;
  --single-bar: 0.25in;
  --bar-width: calc(var(--single-bar) * 3);
}

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, #ffffff 0%, var(--bg) 65%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-left: var(--bar-width);
}

.side-bars {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--bar-width);
  display: flex;
  flex-direction: row;
  z-index: 0;
}

.side-bar {
  width: var(--single-bar);
  flex: 0 0 var(--single-bar);
  height: 100%;
}

.side-bar.purple {
  background: var(--purple);
}

.side-bar.green {
  background: var(--green);
}

.side-bar.gold {
  background: var(--gold);
}

.hero {
  text-align: center;
  padding: 48px 24px;
  min-height: 100vh;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.title-block {
  margin-bottom: 20px;
}

.title-block h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text);
}

.subhead {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(43, 31, 58, 0.6);
}

.logo {
  width: min(320px, 70vw);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 28px;
  filter: drop-shadow(0 8px 20px rgba(43, 31, 58, 0.15));
}

.page-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.page-links a {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(43, 31, 58, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-links a:hover,
.page-links a:focus-visible {
  color: rgba(43, 31, 58, 0.85);
}

.contact-section {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-header {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(43, 31, 58, 0.6);
  font-weight: 500;
}

.contact-icons {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.icon-link {
  color: rgba(43, 31, 58, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.icon-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.icon-link:hover,
.icon-link:focus-visible {
  color: rgba(43, 31, 58, 0.8);
  background-color: rgba(43, 31, 58, 0.06);
}

.copyright {
  margin-top: auto;
  margin-bottom: 16px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(43, 31, 58, 0.45);
  text-align: center;
  width: 100%;
}

.page {
  padding: 40px 24px 64px;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-logo {
  width: min(200px, 40vw);
  height: auto;
  display: block;
  margin: 16px auto 20px;
}

.page-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 24px;
  color: var(--text);
}

.page-content {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.history-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 24px;
}

.history-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(43, 31, 58, 0.12);
}

.page-court .page-content {
  text-align: center;
}

.page-court .page-content ul {
  justify-items: center;
}

.page-lead {
  font-weight: 600;
  color: var(--purple);
  font-size: 1.8rem;
  margin: 0 0 6px;
}

.court-queen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.court-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  justify-items: center;
  margin-top: 24px;
}

.court-card {
  margin: 0;
  text-align: center;
}

.court-card img {
  width: min(220px, 60vw);
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(43, 31, 58, 0.15);
}

.court-card figcaption {
  margin-top: 10px;
  font-size: 1rem;
}

.page-content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.year-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.year-list .year {
  font-variant-numeric: tabular-nums;
  color: rgba(43, 31, 58, 0.65);
  min-width: 64px;
}

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

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

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

  .court-card img {
    width: min(240px, 80vw);
  }

  .history-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
