:root {
  --bg: #f5f2ea;
  --bg-soft: #fbfaf7;
  --ink: #111f35;
  --ink-soft: #324666;
  --blue: #102f66;
  --blue-2: #1a4ea8;
  --red: #b62533;
  --gold: #bf9b4f;
  --line: #d5dced;
  --card: #ffffff;
  --shadow: 0 16px 36px rgba(16, 47, 102, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  scroll-padding-bottom: 64px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 0% 0%, rgba(182, 37, 51, 0.08), transparent 26%),
    radial-gradient(circle at 90% 0%, rgba(16, 47, 102, 0.11), transparent 32%),
    var(--bg);
}

a {
  color: inherit;
}

.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;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--blue);
  background: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
iframe:focus-visible {
  outline: 3px solid #1a4ea8;
  outline-offset: 2px;
  scroll-margin-top: 80px;
  scroll-margin-bottom: 64px;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(16, 47, 102, 0.12);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Baskerville", "Palatino Linotype", serif;
  text-decoration: none;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  padding: 0.62rem 0.98rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(16, 47, 102, 0.24);
}

section {
  padding: 4.3rem 0;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--blue);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  font-family: "Baskerville", "Palatino Linotype", serif;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.48rem);
}

.hero {
  padding-top: 5.2rem;
  padding-bottom: 2.2rem;
}

.hero-content {
  max-width: 900px;
}

.subheadline {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 65ch;
}

.french {
  font-style: italic;
  color: #506385;
}

.fundraising-meter {
  margin-top: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 22px rgba(16, 47, 102, 0.08);
}

.meter-amount {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--blue);
}

.meter-track {
  margin-top: 0.6rem;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #dcc78f, #c9ac60);
  overflow: hidden;
}

.meter-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--blue), #245cbc);
  transition: width 600ms ease;
}

.meter-meta {
  margin: 0.55rem 0 0;
  color: #5a6d90;
  font-size: 0.92rem;
}

.hero-actions,
.btn-row {
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  border: 0;
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.74rem 1.14rem;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #d34857);
  box-shadow: 0 11px 25px rgba(182, 37, 51, 0.28);
}

.btn-outline {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 47, 102, 0.28);
}

.tax-note {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.plaque-callout {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid var(--gold);
  background: rgba(191, 155, 79, 0.12);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
}

.hero-highlights {
  margin-top: 1.05rem;
  display: grid;
  gap: 0.38rem;
  color: var(--ink-soft);
}

.hero-highlights p,
.hero-highlight-inline {
  margin: 0;
}

.hero-media {
  padding-top: 1rem;
  padding-bottom: 0;
}

.hero-media img {
  width: min(100%, 1240px);
  margin: 0 auto;
  border-radius: 28px;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}

.hero-media-figure {
  margin: 0 auto;
  width: min(100%, 1240px);
}

.hero-media-figure figcaption {
  margin-top: 0.45rem;
  color: #5b6f94;
  font-size: 0.9rem;
  text-align: center;
}

.social-proof {
  padding-top: 2.2rem;
}

.social-proof blockquote,
.endorsement-note {
  margin: 0;
  padding: 1rem 1rem 0.8rem;
  border-left: 5px solid var(--blue);
  font-size: 1.05rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 47, 102, 0.08);
}

.social-proof blockquote {
  font-style: italic;
}

.quote-source {
  margin: 0.5rem 0 0;
  color: #5b6f94;
  font-size: 0.9rem;
}

.quick-facts,
.impact,
.tiers,
.sponsors,
.press,
.timeline {
  background: linear-gradient(180deg, #fff, #f8faff);
  border-top: 1px solid rgba(16, 47, 102, 0.08);
  border-bottom: 1px solid rgba(16, 47, 102, 0.08);
}

.quick-facts h2,
.impact h2,
.timeline h2,
.sponsors h2,
.artist h2,
.tiers h2,
.press h2,
.partners h2,
.updates h2,
.story h2,
.location h2,
.grand-week h2 {
  margin-bottom: 1rem;
}

.section-heading-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-grid,
.impact-grid,
.sponsor-grid,
.tier-grid,
.press-grid,
.partner-grid,
.blog-grid {
  display: grid;
  gap: 1rem;
}

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

.fact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(16, 47, 102, 0.08);
}

.fact-card h3 {
  color: var(--blue);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.blog-preview {
  background: #fcfbf8;
  border-top: 1px solid rgba(16, 47, 102, 0.08);
  border-bottom: 1px solid rgba(16, 47, 102, 0.08);
}

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

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(16, 47, 102, 0.08);
  overflow: hidden;
}

.blog-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card div {
  padding: 0.9rem;
}

.blog-card h2,
.blog-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.blog-card p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.split {
  display: grid;
  gap: 1.45rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.section-copy p {
  color: var(--ink-soft);
}

.inline-logo {
  margin-top: 0.75rem;
  width: min(330px, 95%);
}

.visual-stack {
  display: grid;
  gap: 0.95rem;
}

.visual-stack figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 9px 20px rgba(16, 47, 102, 0.08);
}

.visual-stack figcaption {
  padding: 0.6rem 0.8rem 0.75rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

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

.impact-grid > div {
  background: #fff;
  border-left: 5px solid var(--blue);
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(16, 47, 102, 0.08);
}

.impact-lead {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  color: var(--ink-soft);
  box-shadow: 0 8px 20px rgba(16, 47, 102, 0.08);
}

.story {
  background: #fcfbf8;
}

.video {
  background: #fcfbf8;
}

.video-frame {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 22px rgba(16, 47, 102, 0.1);
  min-height: 320px;
}

.video-frame iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.blog-hero {
  padding-bottom: 2rem;
}

.blog-list {
  background: #fcfbf8;
  border-top: 1px solid rgba(16, 47, 102, 0.08);
}

.blog-post {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.breadcrumbs {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "/" / "";
  padding-right: 0.45rem;
}

.breadcrumbs a {
  color: var(--blue);
}

.post-header h1 {
  margin-bottom: 0.5rem;
}

.post-figure {
  margin: 1.2rem 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 9px 20px rgba(16, 47, 102, 0.08);
}

.post-figure figcaption {
  padding: 0.7rem 0.9rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.post-content h2 {
  margin-top: 1.3rem;
  margin-bottom: 0.5rem;
}

.post-content p,
.post-content li {
  color: var(--ink-soft);
}

.post-content ul,
.post-content ol {
  padding-left: 1.15rem;
}

.post-cta {
  margin-top: 1.4rem;
  border-left: 5px solid var(--gold);
  background: rgba(191, 155, 79, 0.12);
  border-radius: 12px;
  padding: 0.9rem;
}

.post-cta p {
  margin-top: 0;
  color: var(--ink);
}

.timeline-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.timeline-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: 0 7px 16px rgba(16, 47, 102, 0.07);
}

.timeline-list p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
}

.node {
  font-weight: 800;
  color: var(--ink);
}

.node-done {
  color: #2f6244;
}

.node-active {
  color: var(--blue);
}

.event-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.event-list li + li {
  margin-top: 0.4rem;
}

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

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

.quote-grid > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(16, 47, 102, 0.08);
}

.quote-grid blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.honor-committee {
  background: #fcfbf8;
  border-top: 1px solid rgba(16, 47, 102, 0.08);
  border-bottom: 1px solid rgba(16, 47, 102, 0.08);
}

.honor-committee h2 {
  margin-bottom: 0.7rem;
}

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

.committee-grid > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(16, 47, 102, 0.08);
}

.committee-grid h3 {
  margin-bottom: 0.5rem;
}

.committee-grid ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.committee-grid li + li {
  margin-top: 0.38rem;
}

.committee-wide {
  grid-column: 1 / -1;
}

.sponsor-grid > div,
.press-grid > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(16, 47, 102, 0.08);
}

.sponsor-grid p,
.press-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

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

.press-grid a {
  display: inline-block;
  margin-top: 0.7rem;
  font-weight: 800;
  color: var(--blue);
}

.tiers-note {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

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

.tier {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 1rem;
  box-shadow: 0 8px 19px rgba(16, 47, 102, 0.08);
}

.tier p {
  margin: 0.46rem 0 0;
  color: var(--ink-soft);
}

.tier .range {
  color: var(--ink);
  font-weight: 800;
}

.bronze {
  border-top: 5px solid #9a6f49;
}

.silver {
  border-top: 5px solid #9eabc6;
}

.gold {
  border-top: 5px solid #c9a956;
}

.platinum {
  border-top: 5px solid #7f89a8;
}

.donate-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.28fr 0.72fr;
  align-items: start;
}

.amount-picker {
  margin-top: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 1rem;
}

.amount-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.amount-fieldset legend {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.amount-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.56rem;
}

.amount-btn {
  border: 1px solid rgba(16, 47, 102, 0.3);
  background: #fff;
  color: var(--blue);
  border-radius: 10px;
  font-weight: 800;
  padding: 0.58rem 0.5rem;
  cursor: pointer;
}

.amount-btn.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2c66c4);
}

.other-amount {
  margin-top: 0.75rem;
  display: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.amount-picker.show-other .other-amount {
  display: block;
}

.amount-picker input[type="number"] {
  display: none;
  margin-top: 0.45rem;
  width: 100%;
  border: 1px solid #c6d1e8;
  border-radius: 10px;
  padding: 0.64rem 0.75rem;
  font: inherit;
}

.amount-picker.show-other input[type="number"] {
  display: block;
}

.payment-details {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 1rem;
}

.payment-details h3 {
  color: var(--blue);
  margin-bottom: 0.2rem;
}

.payment-details p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--ink-soft);
}

.qr-card {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 0.95rem;
  text-align: center;
}

.qr-card p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.small-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--blue);
  font-weight: 700;
}

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

.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0.85rem;
  box-shadow: 0 8px 18px rgba(16, 47, 102, 0.08);
}

.partner-card a {
  text-decoration: none;
  display: block;
}

.partner-card img {
  margin: 0 auto;
  max-height: 110px;
  width: auto;
}

.partner-card h3 {
  margin-top: 0.68rem;
  text-align: center;
  font-size: 1rem;
}

.updates {
  background: linear-gradient(180deg, #fff, #f4f8ff);
  border-top: 1px solid rgba(16, 47, 102, 0.09);
}

.updates-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.updates-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.updates-list li + li {
  margin-top: 0.45rem;
}

.updates-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(16, 47, 102, 0.08);
  padding: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.74rem;
}

.updates-form label {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.9rem;
}

.updates-form input,
.updates-form select,
.updates-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  border: 1px solid #c6d1e8;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: #fff;
}

.updates-form textarea {
  min-height: 110px;
  resize: vertical;
}

.updates-form input:focus,
.updates-form select:focus,
.updates-form textarea:focus {
  outline: 2px solid rgba(16, 47, 102, 0.2);
  border-color: rgba(16, 47, 102, 0.45);
}

.checkbox-row {
  display: flex;
  gap: 0.56rem;
  align-items: flex-start;
  margin: 0.22rem 0 1rem;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.15rem;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  margin: 0.75rem 0 0;
  min-height: 1.2rem;
  color: var(--blue);
  font-weight: 700;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid rgba(16, 47, 102, 0.12);
  background: #fefefe;
  padding: 2rem 0;
}

.footer-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
}

.footer-wrap img {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 0.3rem;
}

.footer-wrap p {
  margin: 0.22rem 0;
}

.small {
  color: #5d708f;
  font-size: 0.86rem;
}

.floating-donate {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 28;
  border-radius: 999px;
  padding: 0.74rem 1.05rem;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--red), #d14756);
  box-shadow: 0 12px 24px rgba(182, 37, 51, 0.36);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .card-grid,
  .tier-grid,
  .partner-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-grid,
  .sponsor-grid,
  .quote-grid,
  .committee-grid,
  .press-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .donate-grid,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    position: static;
  }
}

@media (max-width: 780px) {
  nav li:not(:last-child) {
    display: none;
  }

  section {
    padding: 3.2rem 0;
  }

  .hero {
    padding-top: 4.4rem;
  }

  .card-grid,
  .tier-grid,
  .partner-grid,
  .blog-grid,
  .amount-buttons {
    grid-template-columns: 1fr;
  }

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

  .floating-donate {
    left: 12px;
    right: 12px;
    text-align: center;
  }

  .site-footer {
    padding-bottom: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
