:root {
  color-scheme: light;
  --ink: #102f49;
  --ink-deep: #0a2236;
  --paper: #f6f0e3;
  --paper-light: #fffaf0;
  --red: #bc2b1f;
  --red-dark: #8f1f18;
  --gold: #b57a2b;
  --muted: #63717c;
  --line: rgba(16, 47, 73, 0.18);
  --shadow: 0 22px 60px rgba(10, 34, 54, 0.18);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0 36%, var(--paper-light) 36% 64%, var(--ink) 64%);
  content: "";
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  background: white;
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 1.5rem 0 1.15rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 3.45rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.brand-name {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.6vw, 2.2rem);
}

.site-nav a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  inset: auto 0 -0.4rem;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--red);
  border-radius: 0.25rem;
  background: var(--red);
  box-shadow: 0 5px 0 var(--red-dark);
  color: white;
  cursor: pointer;
  font: 900 0.8rem/1 var(--body);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #701812;
}

.button:disabled,
.button:disabled:hover,
.button:disabled:active {
  border-color: #aeb3b3;
  background: #d5d5cf;
  box-shadow: none;
  color: #5d666a;
  cursor: not-allowed;
  opacity: 0.9;
  transform: none;
}

.button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--red-dark);
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.button-small {
  min-height: 2.75rem;
  padding-inline: 1rem;
  font-size: 0.7rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.72fr);
  gap: clamp(3rem, 7vw, 7rem);
  width: min(calc(100% - 3rem), var(--max));
  min-height: calc(100vh - 8rem);
  align-items: center;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  position: absolute;
  z-index: -1;
  top: -4rem;
  left: -9rem;
  width: 22rem;
  aspect-ratio: 1;
  border: 1px solid rgba(188, 43, 31, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(188, 43, 31, 0.035), 0 0 0 6rem rgba(181, 122, 43, 0.03);
  content: "";
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  margin-right: 0.8rem;
  padding-right: 0.85rem;
  border-right: 2px solid var(--red);
  color: var(--red);
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.94;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(4.2rem, 8.2vw, 7.6rem);
}

h1 em {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: none;
}

.hero-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: #314c61;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.community-event-banner {
  max-width: 39rem;
  margin: -0.5rem 0 2rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--red);
  background: rgba(188, 43, 31, 0.07);
  color: #465f70;
  font-size: 0.9rem;
}

.community-event-banner strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.25rem;
}

.text-link {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-underline-offset: 0.35rem;
  text-transform: uppercase;
}

.event-quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}

.event-quick-facts div {
  padding: 1.25rem 1.2rem 0 0;
}

.event-quick-facts div + div {
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
}

.event-quick-facts dt {
  margin-bottom: 0.25rem;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-quick-facts dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.45;
}

.flyer-card {
  position: relative;
  display: block;
  width: min(100%, 30rem);
  justify-self: end;
  padding: clamp(0.65rem, 1.5vw, 1rem);
  border: 1px solid rgba(16, 47, 73, 0.26);
  background: #e9dfcc;
  box-shadow: var(--shadow);
  transform: rotate(1.25deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.flyer-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.flyer-card::before,
.flyer-card::after {
  position: absolute;
  width: 1.3rem;
  height: 1.3rem;
  border-color: var(--red);
  content: "";
}

.flyer-card::before {
  top: -0.5rem;
  left: -0.5rem;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
}

.flyer-card::after {
  right: -0.5rem;
  bottom: -0.5rem;
  border-right: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
}

.flyer-card:hover {
  box-shadow: 0 30px 70px rgba(10, 34, 54, 0.23);
  transform: rotate(0deg) translateY(-4px);
}

.flyer-note {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.5rem 0.7rem;
  background: var(--ink);
  color: white;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mission-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: var(--paper-light);
}

.mission-strip p {
  margin: 0;
  padding: 1.65rem 1rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  letter-spacing: 0.025em;
  text-align: center;
  text-transform: uppercase;
}

.mission-strip p + p {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.section {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.about {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.about h2 {
  margin: 0;
  font-size: clamp(3.6rem, 6vw, 6rem);
}

.about-copy {
  max-width: 42rem;
}

.about-copy p {
  color: #3d566a;
  font-size: 1.05rem;
}

.about-copy .lead {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.45;
}

.event-section {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-light);
}

.event-inner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.eyebrow-light {
  color: #d7c9af;
}

.event-heading h2,
.details-intro h2,
.sponsor-copy h2,
.section-heading-row h2,
.final-cta h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(3.8rem, 7vw, 7rem);
}

.event-heading h2 {
  color: var(--paper-light);
}

.event-heading h2 em,
.final-cta h2 em {
  color: #d9a64e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.7em;
  text-transform: none;
}

.event-heading > p:last-child {
  max-width: 30rem;
  color: #c6d1d9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.event-board {
  position: relative;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0d2940;
  box-shadow: 1rem 1rem 0 rgba(188, 43, 31, 0.4);
}

.event-board::before {
  position: absolute;
  top: -0.5rem;
  right: 2rem;
  width: 4rem;
  height: 1rem;
  background: var(--paper);
  content: "";
  opacity: 0.85;
  transform: rotate(2deg);
}

.event-board-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.board-label,
.event-fees span {
  display: block;
  margin-bottom: 0.45rem;
  color: #d9a64e;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-board-top strong {
  display: block;
  color: white;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: 0.015em;
  line-height: 1.05;
  text-transform: uppercase;
}

.event-board-top p {
  margin: 0.35rem 0 0;
  color: #b9c8d2;
  font-size: 0.95rem;
}

.event-fees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 -1rem 2rem;
  border-block: 1px solid rgba(255, 255, 255, 0.16);
}

.event-fees div {
  padding: 1.5rem 1rem;
}

.event-fees div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.event-fees strong {
  display: block;
  margin-bottom: 0.5rem;
  color: white;
  font-family: var(--display);
  font-size: 2.8rem;
  line-height: 1;
}

.event-fees small {
  display: block;
  color: #aebfca;
  font-size: 0.75rem;
  line-height: 1.45;
}

.event-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 2rem;
}

.event-note-icon {
  display: grid;
  width: 2.25rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 0.8rem;
}

.event-note p {
  margin: 0;
  color: #c6d1d9;
  font-size: 0.86rem;
}

.event-note strong {
  color: white;
}

.button-cream {
  border-color: var(--paper-light);
  background: var(--paper-light);
  box-shadow: 0 5px 0 #c7bda9;
  color: var(--ink);
}

.button-cream:hover {
  background: white;
  box-shadow: 0 7px 0 #c7bda9;
}

.button-cream:disabled,
.button-cream:disabled:hover,
.button-cream:disabled:active {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #bdc8cf;
}

.section-heading-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-heading-row h2 {
  max-width: 10ch;
  margin-bottom: 0;
}

.section-heading-row > p {
  max-width: 30rem;
  margin: 0 0 0.5rem;
  color: #516576;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.gallery-card {
  position: relative;
  grid-column: span 2;
  min-height: 25rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.gallery-card-wide {
  grid-column: span 4;
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 24, 38, 0.9) 100%);
  content: "";
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 250ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  filter: saturate(1.1) contrast(1.03);
  transform: scale(1.035);
}

.gallery-card > span {
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  bottom: 1.4rem;
  left: 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

.gallery-card small {
  display: block;
  margin-bottom: 0.65rem;
  color: #f1c977;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.details-section {
  background: var(--paper-light);
}

.details-inner {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.details-intro {
  position: sticky;
  top: 3rem;
}

.details-intro h2 {
  margin-bottom: 1.5rem;
}

.details-intro > p:not(.eyebrow) {
  max-width: 26rem;
  color: #4e6575;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.faq-list h3 {
  margin: 0 0 0.4rem;
  padding-top: 2.5rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.faq-list h3:first-child {
  padding-top: 0;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  display: grid;
  width: 1.8rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-size: 1rem;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-list details[open] summary::after {
  background: var(--ink);
  color: white;
  content: "−";
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: 48rem;
  margin: -0.4rem 3.2rem 1.25rem 0;
  color: #536b7c;
}

.faq-list details a {
  color: var(--red);
  font-weight: 750;
}

.sponsors {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.sponsor-copy > p:not(.eyebrow) {
  max-width: 29rem;
  color: #4e6575;
}

.sponsor-board {
  padding: 1rem;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.sponsor-board:hover {
  transform: translateY(-3px);
}

.final-cta {
  padding: clamp(5rem, 12vw, 10rem) 1.5rem;
  background: var(--red);
  color: white;
  text-align: center;
}

.final-cta h2 {
  margin-inline: auto;
  color: white;
  font-size: clamp(4.2rem, 10vw, 9rem);
}

.final-cta h2 em {
  color: var(--paper-light);
}

.next-year-note {
  max-width: 40rem;
  margin: 2rem auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.site-footer {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  gap: 2rem;
  align-items: start;
  padding: 3.5rem max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--ink-deep);
  color: #bfccd5;
}

.brand-footer {
  color: white;
}

.site-footer > p {
  max-width: 30rem;
  font-family: Georgia, "Times New Roman", serif;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.footer-links a {
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-underline-offset: 0.25rem;
}

.site-footer .copyright {
  grid-column: 1 / -1;
  max-width: none;
  margin: 1rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font: 700 0.67rem/1.4 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

dialog {
  border: 0;
}

dialog::backdrop {
  background: rgba(3, 17, 27, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox-close {
  display: grid;
  width: 2.8rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font: 400 1.8rem/1 var(--body);
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #061825;
  color: white;
}

.lightbox-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  align-items: center;
  gap: 1rem;
  padding: 4rem 1.25rem 1.25rem;
}

.lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  height: 100%;
  margin: 0;
}

.lightbox-viewport {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: none;
  user-select: none;
}

.lightbox-viewport img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  transition: transform 140ms ease-out;
  will-change: transform;
  -webkit-user-drag: none;
}

.lightbox-viewport.is-zoomed img {
  cursor: grab;
}

.lightbox-viewport.is-interacting img {
  cursor: grabbing;
  transition: none;
}

.lightbox figcaption {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
  color: #c2ced5;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lightbox figcaption strong {
  color: white;
}

.lightbox figcaption > :last-child {
  justify-self: end;
}

.lightbox-hint {
  color: #91a4b0;
  font-size: 0.7rem;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  border-color: rgba(255, 255, 255, 0.25);
}

.lightbox-tools {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(6, 24, 37, 0.82);
}

.lightbox-tools button {
  min-width: 2.8rem;
  min-height: 2.8rem;
  padding: 0 0.75rem;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font: 800 0.8rem/1 var(--body);
}

.lightbox-tools button + button {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.lightbox-tools button:hover,
.lightbox-tools button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-tools button:disabled {
  color: #778994;
  cursor: default;
}

.lightbox-nav {
  display: grid;
  width: 3.5rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background 150ms ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.12);
}

.error-page {
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(calc(100% - 3rem), var(--max));
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.error-page > div {
  align-self: center;
  padding-block: 4rem;
}

.error-page h1 {
  margin-bottom: 1.5rem;
}

.error-page > div > p:not(.eyebrow) {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: #4e6575;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.62fr);
    gap: 2.5rem;
  }

  h1 {
    font-size: clamp(3.8rem, 8vw, 5.5rem);
  }

  .event-quick-facts {
    grid-template-columns: 1fr;
  }

  .event-quick-facts div,
  .event-quick-facts div + div {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .event-inner,
  .sponsors {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card-wide {
    grid-column: span 3;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
    justify-items: start;
  }
}

@media (max-width: 700px) {
  .site-header,
  .hero,
  .section {
    width: min(calc(100% - 2rem), var(--max));
  }

  .button-small {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 4.5rem;
  }

  .hero-copy {
    grid-row: 2;
  }

  .hero-copy::before {
    left: -13rem;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }

  .hero-intro {
    font-size: 1.15rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .text-link {
    text-align: center;
  }

  .flyer-card {
    grid-row: 1;
    width: min(91%, 26rem);
    justify-self: center;
  }

  .mission-strip {
    grid-template-columns: 1fr;
  }

  .mission-strip p {
    padding: 1rem;
  }

  .mission-strip p + p {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

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

  .event-board-top,
  .event-fees,
  .section-heading-row,
  .details-inner,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .event-fees {
    margin-inline: 0;
  }

  .event-fees div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .event-fees div {
    padding-inline: 0;
  }

  .section-heading-row {
    align-items: start;
  }

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

  .gallery-card,
  .gallery-card-wide {
    grid-column: auto;
    min-height: 22rem;
  }

  .details-intro {
    position: static;
  }

  .site-footer {
    gap: 1rem;
  }

  .lightbox-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 4rem 0.75rem 1rem;
  }

  .lightbox figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lightbox figcaption {
    grid-template-columns: 1fr auto;
  }

  .lightbox-hint {
    display: none;
  }

  .lightbox-nav {
    width: 100%;
    height: 2.8rem;
    aspect-ratio: auto;
  }

  .lightbox-prev {
    grid-column: 1;
  }

  .lightbox-next {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
