:root {
  --maroon: #5a0722;
  --maroon-2: #8f1538;
  --gold: #eaaa00;
  --paper: #fffaf0;
  --muted: #5f5548;
  --line: #d7c6a0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #050204;
  color: #17130f;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 22px;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(128deg, rgba(0, 0, 0, 0.98) 0%, rgba(58, 5, 23, 0.98) 24%, rgba(90, 7, 34, 0.96) 48%, rgba(234, 170, 0, 0.5) 70%, rgba(15, 5, 6, 0.98) 100%),
    linear-gradient(42deg, #050204 0%, #5a0722 42%, #8f1538 62%, #eaaa00 82%, #272727 100%);
}

.page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(90, 7, 34, 0.08) 42%, rgba(234, 170, 0, 0.1) 68%, rgba(0, 0, 0, 0.64)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0.24));
}

.back {
  position: fixed;
  top: 22px;
  left: 22px;
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.panel {
  width: min(100%, 820px);
  border: 2px solid rgba(234, 170, 0, 0.56);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.supporter-page .panel,
.alumni .panel {
  width: min(100%, 1480px);
  padding: clamp(34px, 4.5vw, 68px);
}

.eyebrow {
  margin: 0;
  color: var(--maroon-2);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 0;
  color: var(--maroon);
  font-size: clamp(3.35rem, 8vw, 6.8rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.6;
}

.video-frame {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12070b;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.video-backdrop {
  position: fixed;
  inset: 0;
  z-index: 24;
  background: rgba(0, 0, 0, 0.78);
}

.supporter-page .video-frame,
.alumni .giving-card .video-frame {
  margin-top: 0;
  aspect-ratio: 16 / 7.6;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.video-frame.expanded {
  position: fixed;
  inset: auto;
  top: 50%;
  left: 50%;
  z-index: 25;
  width: min(92vw, 1040px);
  max-height: 82vh;
  border: 2px solid var(--gold);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
  transform: translate(-50%, -50%);
}

.video-frame.expanded iframe {
  pointer-events: auto;
}

.video-trigger {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font-size: 0;
}

.video-trigger:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -6px;
}

.video-frame.expanded .video-trigger {
  display: none;
}

.video-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 26;
  display: none;
  width: 42px;
  height: 42px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--maroon);
  color: white;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 950;
}

.video-frame.expanded .video-close {
  display: block;
}

.designation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 16px;
}

.designation span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.designation strong {
  color: var(--maroon);
  font-size: 1.1rem;
}

.designation button,
.donate {
  min-height: 56px;
  border: 0;
  border-radius: 6px;
  background: var(--gold);
  color: var(--maroon);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 950;
}

.designation button {
  padding: 0 18px;
}

.donate {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0 24px;
  text-align: center;
  text-decoration: none;
}

.supporter-grid,
.alumni-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: 34px;
  align-items: stretch;
  margin-top: 42px;
}

.alumni-left-column {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.giving-card,
.sponsor-card,
.alumni-game-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: clamp(28px, 2.7vw, 40px);
}

.giving-card .instructions {
  border-color: rgba(216, 199, 164, 0.74);
  background: #fffaf0;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.sponsor-card h2,
.alumni-game-card h2,
.modal-card h2 {
  margin: 9px 0 0;
  color: var(--maroon);
  font-size: clamp(3rem, 4.9vw, 5.2rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.sponsor-card p,
.alumni-game-card p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.22rem, 1.7vw, 1.45rem);
  line-height: 1.62;
}

.alumni-game-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.form-frame {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.form-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.alumni-actions {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.form-link,
.alumni-site-link {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.2;
  padding: 0 20px;
  text-align: center;
  text-decoration: none;
}

.form-link {
  border: 1px solid var(--line);
  background: white;
  color: var(--maroon);
}

.alumni-site-callout {
  margin-top: clamp(70px, 8vw, 138px);
  padding-right: clamp(14px, 4vw, 54px);
}

.alumni-site-callout h2 {
  margin: 10px 0 0;
  color: var(--maroon);
  font-size: clamp(2.4rem, 3.8vw, 4.55rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.alumni-site-link {
  margin-top: 24px;
  min-height: 76px;
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--maroon), var(--maroon-2));
  color: white;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  box-shadow: 0 16px 34px rgba(75, 16, 36, 0.28);
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.alumni-site-link:hover,
.alumni-site-link:focus-visible {
  box-shadow: 0 20px 42px rgba(75, 16, 36, 0.36);
  transform: translateY(-2px);
}

.alumni-left-column .alumni-site-link {
  min-height: 132px;
  font-size: clamp(1.9rem, 2.6vw, 2.8rem);
}

.sponsor-ideas {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.sponsor-ideas article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
}

.sponsor-ideas strong {
  display: block;
  color: var(--maroon);
  font-size: 1.28rem;
}

.sponsor-ideas span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.5;
}

.partner-button {
  min-height: 82px;
  margin-top: 34px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--maroon), #272727);
  color: white;
  cursor: pointer;
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.2;
  padding: 0 28px;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 4, 10, 0.72);
}

.contact-modal[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(100%, 680px);
  border: 1px solid rgba(242, 199, 92, 0.55);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(30px, 4vw, 46px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--maroon);
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 950;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-list article {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 20px;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list strong {
  color: var(--maroon);
  font-size: 1.55rem;
}

.contact-list a {
  color: var(--maroon-2);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.instructions {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 28px;
}

.instructions h2 {
  margin: 0;
  color: var(--maroon);
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
}

.instructions p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

.instructions a {
  color: var(--maroon-2);
  font-weight: 950;
}

.instructions ol {
  margin: 16px 0 0;
  padding-left: 1.35rem;
}

.instructions li {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.45;
}

.instructions strong {
  color: var(--maroon);
}

@media (max-width: 620px) {
  .page {
    padding: 72px 16px 24px;
  }

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

  .supporter-grid,
  .alumni-grid {
    grid-template-columns: 1fr;
  }

  .supporter-page .video-frame,
  .alumni .giving-card .video-frame {
    aspect-ratio: 16 / 10;
  }

  .form-frame {
    min-height: 520px;
  }

  .alumni-site-callout {
    margin-top: 28px;
    padding-right: 0;
  }
}

@media (min-width: 621px) and (max-width: 960px) {
  .supporter-grid,
  .alumni-grid {
    grid-template-columns: 1fr;
  }
}
