:root {
  --navy: #0c1940;
  --navy-soft: #172858;
  --gold: #e5b622;
  --gold-light: #f5d66d;
  --rust: #b84f2d;
  --paper: #fcfaf6;
  --sand: #f3ecdf;
  --ink: #101c3f;
  --muted: #667089;
  --line: rgba(12, 25, 64, .13);
  --display: "Fraunces", Georgia, serif;
  --body: "Hanken Grotesk", Arial, sans-serif;
  --shadow: 0 24px 65px rgba(5, 17, 46, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.event-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; left: 18px; top: -80px; padding: 12px 18px; color: #fff; background: var(--navy); border-radius: 0 0 9px 9px; }
.skip-link:focus { top: 0; }

.event-header { position: sticky; z-index: 50; top: 0; border-top: 4px solid var(--gold); background: rgba(252, 250, 246, .94); box-shadow: 0 8px 28px rgba(5, 17, 46, .08); backdrop-filter: blur(18px); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.event-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: max-content; }
.event-brand img { width: 52px; height: 52px; object-fit: contain; }
.event-brand span { display: flex; flex-direction: column; line-height: 1; }
.event-brand strong { font-family: var(--display); font-size: 1rem; }
.event-brand small { margin-top: 6px; color: var(--rust); font-size: .64rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.event-nav { justify-self: center; display: flex; align-items: center; gap: 24px; }
.event-nav a { position: relative; padding-block: 28px; color: var(--ink); text-decoration: none; font-size: .82rem; font-weight: 700; }
.event-nav a::after { position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; content: ""; background: var(--gold); transform: scaleX(0); transition: transform .25s ease; }
.event-nav a:hover::after, .event-nav a.active::after { transform: scaleX(1); }
.event-donate, .button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 23px; border-radius: 999px; text-decoration: none; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.event-donate, .button.gold { color: var(--navy); background: var(--gold); box-shadow: 0 11px 28px rgba(229, 182, 34, .22); }
.event-donate:hover, .button:hover { transform: translateY(-2px); }
.button.glass { color: #fff; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.08); backdrop-filter: blur(9px); }

.event-hero { position: relative; min-height: 680px; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--navy); }
.event-hero-image, .event-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.event-hero-image { object-fit: cover; object-position: center 42%; transform: scale(1.015); }
.event-hero-shade { background: linear-gradient(90deg, rgba(7,17,45,.94) 0%, rgba(7,17,45,.74) 42%, rgba(7,17,45,.18) 78%), linear-gradient(0deg, rgba(7,17,45,.72), transparent 56%); }
.hero-content { position: relative; z-index: 2; padding-block: 175px 110px; }
.eyebrow, .section-label { margin: 0 0 17px; color: var(--rust); font-size: .7rem; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; }
.eyebrow { color: var(--gold-light); }
.event-hero h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.035em; line-height: .98; }
.event-hero h1 { max-width: 780px; font-size: clamp(5rem, 12vw, 10rem); }
.event-hero h1 em, h2 em { color: var(--gold); font-weight: 500; font-style: normal; }
.hero-lead { max-width: 650px; margin: 26px 0 0; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.kente-edge { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--gold) 0 14px, var(--navy) 14px 25px, var(--rust) 25px 37px, var(--paper) 37px 44px); }

.event-facts { position: relative; z-index: 4; margin-top: -34px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.3); border-radius: 18px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.facts-grid article { min-height: 144px; display: flex; flex-direction: column; justify-content: center; padding: 28px 34px; border-right: 1px solid var(--line); }
.facts-grid article:last-child { border: 0; }
.facts-grid span, .facts-grid small { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.facts-grid strong { margin: 7px 0 2px; font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }

.event-intro, .event-highlights, .event-source { padding-block: 120px; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: start; }
h2 { max-width: 800px; font-size: clamp(3rem, 6vw, 5rem); }
.intro-copy { padding-top: 36px; border-top: 1px solid var(--line); color: #303b56; font-size: 1.08rem; }
.intro-copy p { margin: 0 0 20px; }

.event-memories { padding-block: 110px 130px; color: #fff; background: var(--navy); }
.gold-label { color: var(--gold); }
.section-heading { display: grid; grid-template-columns: 1.15fr .55fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.section-heading > p { margin: 0; color: rgba(255,255,255,.68); }
.ceana-slideshow { position: relative; outline: 0; }
.ceana-slideshow:focus-visible .slideshow-viewport { box-shadow: 0 0 0 4px var(--gold), 0 30px 80px rgba(0,0,0,.32); }
.slideshow-viewport { position: relative; min-height: 650px; border: 1px solid rgba(255,255,255,.17); border-radius: 20px; overflow: hidden; background: #050d27; box-shadow: 0 30px 80px rgba(0,0,0,.26); touch-action: pan-y; }
.event-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transform: scale(1.025); transition: opacity .8s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), visibility 0s linear .8s; }
.event-slide.active { z-index: 1; opacity: 1; visibility: visible; transform: scale(1); transition-delay: 0s; }
.event-slide img { width: 100%; height: 100%; object-fit: contain; background: #050d27; }
.event-slide figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 125px 42px 38px; background: linear-gradient(transparent, rgba(5,13,39,.96)); }
.event-slide figcaption span { display: block; margin-bottom: 5px; color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.event-slide figcaption strong { font-family: var(--display); font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 500; }
.slide-arrow { position: absolute; z-index: 5; top: 50%; width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; color: #fff; background: rgba(5,13,39,.52); font: 400 1.35rem var(--body); cursor: pointer; transform: translateY(-50%); backdrop-filter: blur(9px); transition: background .2s ease, transform .2s ease; }
.slide-arrow:hover { background: var(--gold); color: var(--navy); transform: translateY(-50%) scale(1.06); }
.slide-prev { left: 24px; }
.slide-next { right: 24px; }
.slideshow-toolbar { min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; padding-inline: 8px; }
.slide-dots { display: flex; align-items: center; gap: 9px; min-width: 0; overflow-x: auto; }
.slide-dots button { flex: 0 0 auto; width: 30px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.25); cursor: pointer; transition: width .25s ease, background .25s ease; }
.slide-dots button.active { width: 48px; background: var(--gold); }
.slide-count { color: rgba(255,255,255,.64); font-size: .72rem; font-weight: 700; letter-spacing: .15em; }
.slide-pause { justify-self: end; padding: 8px 0; border: 0; color: rgba(255,255,255,.75); background: none; font: 700 .72rem var(--body); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(229,182,34,.6); text-underline-offset: 5px; }
.slide-pause:hover { color: var(--gold); }

.event-highlights { background: var(--sand); }
.event-highlights h2 { margin-bottom: 54px; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.highlights-grid article { min-height: 310px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.76); }
.highlights-grid span { color: var(--gold); font-family: var(--display); font-size: 2.4rem; }
.highlights-grid h3 { margin: 54px 0 12px; font-family: var(--display); font-size: 1.45rem; }
.highlights-grid p { margin: 0; color: #4f596f; font-size: .93rem; }

.source-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding: 52px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.source-card h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.source-card p { margin-top: 3px; color: #4f596f; }
.source-card a { display: inline-block; margin-top: 15px; color: var(--rust); font-weight: 800; text-underline-offset: 4px; }

.event-next { padding-block: 120px; text-align: center; color: #fff; background: var(--navy); }
.next-inner { display: flex; flex-direction: column; align-items: center; }
.next-inner h2 { max-width: 860px; }
.next-inner > p:not(.section-label) { max-width: 650px; color: rgba(255,255,255,.72); }
.next-inner .hero-actions { justify-content: center; }

.event-footer { padding: 60px 0 24px; color: #fff; background: #07112e; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 70px; align-items: center; }
.footer-brand small { color: var(--gold); }
.footer-inner p { max-width: 360px; color: rgba(255,255,255,.62); }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner nav a { color: rgba(255,255,255,.76); text-decoration: none; font-size: .82rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.46); font-size: .75rem; }
.footer-bottom strong { color: var(--gold); }

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

@media (max-width: 1000px) {
  .header-inner { gap: 18px; }
  .event-nav { gap: 14px; }
  .event-nav a { font-size: .72rem; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid article:nth-child(2) { border-right: 0; }
  .facts-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-grid, .section-heading, .source-card { grid-template-columns: 1fr; gap: 40px; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner nav { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .event-shell { width: min(100% - 28px, 1180px); }
  .event-header { position: relative; }
  .header-inner { min-height: 72px; grid-template-columns: 1fr auto; }
  .event-brand img { width: 44px; height: 44px; }
  .event-nav { grid-column: 1 / -1; width: calc(100% + 28px); justify-self: start; order: 3; margin-left: -14px; padding: 0 14px; overflow-x: auto; border-top: 1px solid var(--line); }
  .event-nav a { min-width: max-content; padding: 13px 0 15px; }
  .event-nav a::after { bottom: 8px; }
  .event-donate { min-height: 42px; padding-inline: 17px; }
  .event-hero { min-height: 660px; }
  .event-hero-image { object-position: 64% center; }
  .event-hero-shade { background: linear-gradient(0deg, rgba(7,17,45,.96), rgba(7,17,45,.35) 84%); }
  .hero-content { padding-block: 250px 85px; }
  .event-hero h1 { font-size: clamp(4.3rem, 23vw, 7rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .facts-grid article { min-height: 122px; padding: 22px; }
  .facts-grid strong { font-size: 1.25rem; }
  .event-intro, .event-highlights, .event-source { padding-block: 80px; }
  .event-memories { padding-block: 80px; }
  h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .intro-copy { padding-top: 25px; }
  .slideshow-viewport { min-height: 520px; }
  .event-slide figcaption { padding: 100px 22px 24px; }
  .slide-arrow { top: auto; bottom: 22px; width: 44px; height: 44px; transform: none; }
  .slide-arrow:hover { transform: scale(1.04); }
  .slide-prev { left: auto; right: 76px; }
  .slide-next { right: 22px; }
  .slideshow-toolbar { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding-top: 12px; }
  .slide-count { display: inline; }
  .slide-pause { grid-column: 1 / -1; justify-self: start; }
  .slide-dots button { width: 22px; }
  .slide-dots button.active { width: 36px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlights-grid article { min-height: 260px; }
  .source-card { padding: 30px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer-inner nav { grid-column: auto; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

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