:root {
  --red: #dc2345;
  --red-dark: #b81736;
  --navy: #1c244b;
  --navy-deep: #121833;
  --cream: #fbf5ee;
  --pink: #fde4e8;
  --gold: #ffc857;
  --ink: #1f2233;
  --muted: #5d6275;
  --line: #e9e1d8;
  /* Edges of things you type in or tick: 3:1 against white, so you can see where to type. */
  --field: #8a8fa3;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: .01em; margin: 0; }
h2 { font-size: clamp(2.6rem, 6vw, 4.2rem); color: var(--navy); }
h3 { font-size: 1.9rem; color: var(--navy); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 680px; text-align: center; }

/* Buttons */
.btn { display: inline-block; font: 600 1rem/1 var(--body); padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-small { padding: 10px 18px; font-size: .9rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 10px 24px; background: rgba(18,24,51,.92); backdrop-filter: blur(10px); }
.brand img { display: block; height: 50px; width: auto; border-radius: 6px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--gold); }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 75% 20%, #2c3872 0%, var(--navy) 45%, var(--navy-deep) 100%); color: #fff; padding: clamp(70px, 12vw, 140px) 0 180px; }
.hero-inner { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; margin: 0 0 14px; color: var(--gold); }
.eyebrow.red { color: var(--red-dark); } /* darker red so small text passes contrast on cream */
.eyebrow.gold { color: var(--gold); }
.hero-title { display: flex; flex-direction: column; gap: 10px; }
.hero-dates { font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--red); background: #fff; align-self: flex-start; padding: 6px 14px 4px; border-radius: 8px; transform: rotate(-2deg); }
.hero-line { font-size: clamp(4rem, 13vw, 9.5rem); }
.hero-lede { max-width: 560px; font-size: 1.15rem; opacity: .9; margin: 26px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.countdown { margin-top: 34px; font-family: var(--display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.countdown b { color: var(--gold); font-size: 2rem; }
.countdown { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.cd-u { display: inline-flex; align-items: baseline; gap: 6px; }
.cd-u b { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }
.cd-l { flex-basis: 100%; font-size: 1.1rem; }

/* The "voices" sound bars along the bottom of the hero */
.voices { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; display: flex; align-items: flex-end; gap: 1.2%; padding: 0 2%; z-index: 1; }
.voices span { flex: 1; background: var(--red); border-radius: 999px 999px 0 0; height: 30%; opacity: .9; animation: sing 2.8s ease-in-out infinite; transform-origin: bottom; }
.voices span:nth-child(3n) { background: #fff; opacity: .16; }
.voices span:nth-child(4n+1) { background: var(--gold); opacity: .85; }
.voices span:nth-child(odd) { animation-duration: 3.4s; }
.voices span:nth-child(5n) { animation-duration: 2.2s; }
.voices span:nth-child(1) { animation-delay: -0.4s; } .voices span:nth-child(2) { animation-delay: -1.1s; }
.voices span:nth-child(3) { animation-delay: -2s; } .voices span:nth-child(4) { animation-delay: -0.7s; }
.voices span:nth-child(5) { animation-delay: -1.6s; } .voices span:nth-child(6) { animation-delay: -0.2s; }
.voices span:nth-child(7) { animation-delay: -2.4s; } .voices span:nth-child(8) { animation-delay: -1.3s; }
.voices span:nth-child(9) { animation-delay: -0.9s; } .voices span:nth-child(10) { animation-delay: -1.9s; }
.voices span:nth-child(11) { animation-delay: -0.5s; } .voices span:nth-child(12) { animation-delay: -2.2s; }
@keyframes sing { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(2.6); } }
@media (prefers-reduced-motion: reduce) { .voices span { animation: none; transform: scaleY(1.4); } html { scroll-behavior: auto; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-cream { background: var(--cream); }
.section-cream a:not(.btn), .card a:not(.btn) { color: var(--red-dark); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.section-head { margin-bottom: 44px; }
.section-lede { max-width: 620px; color: var(--muted); font-size: 1.1rem; margin: 16px 0 0; }

/* Festival days */
.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.day { border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.day-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.6rem; line-height: 1; color: var(--red); }
.day-date { color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.slot { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px dashed var(--line); }
.slot-type { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); background: var(--pink); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.slot-title { font-weight: 600; }
.soon { color: var(--muted); font-weight: 400; font-style: italic; }

/* Calendar */
.calendar { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cal-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 22px; align-items: center; background: #fff; border-radius: var(--radius); padding: 18px 24px; box-shadow: 0 1px 0 var(--line); }
.cal-row.featured { background: var(--red); color: #fff; }
.cal-row.featured .cal-meta, .cal-row.featured .cal-month { color: #fff; }
.cal-date { text-align: center; line-height: 1; }
.cal-month { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; color: var(--red); }
.cal-day { display: block; font-family: var(--display); font-weight: 900; font-size: 2.6rem; }
.cal-title { font-weight: 600; font-size: 1.1rem; }
.cal-meta { color: var(--muted); font-size: .92rem; }
.cal-row .btn { padding: 11px 18px; font-size: .9rem; }
.cal-row.featured .btn { background: #fff; color: var(--red); }
.past { margin-top: 36px; }
.past summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.past-year { margin-top: 20px; }
.past-year h3 { font-family: var(--display); font-size: 1.6rem; margin: 0 0 6px; color: var(--navy); }
.past-year ul { margin: 0; padding-left: 20px; color: var(--muted); }

/* Education */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.split p { font-size: 1.08rem; opacity: .9; margin: 20px 0 28px; }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stat-list li { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,.07); border-radius: var(--radius); padding: 18px 22px; }
.stat-list b { font-family: var(--display); font-weight: 900; font-size: 2.8rem; color: var(--gold); min-width: 140px; line-height: 1; text-transform: uppercase; }
.section:not(.section-navy) .stat-list li { background: #fff; }
.section:not(.section-navy) .stat-list span { color: var(--muted); }

/* Get involved */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.card { background: var(--cream); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card p { margin: 0; color: var(--muted); }
.card .btn { align-self: flex-start; margin-top: auto; }
.card-red { background: var(--red); color: #fff; }
.card-red h3 { color: #fff; }
.card-red p { color: #fff; }
.small { font-size: .85rem; }
.tags { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: #fff; border-radius: 999px; padding: 5px 12px; font-size: .85rem; font-weight: 500; }

/* Sponsors */
.sponsors-section { padding: 60px 0; text-align: center; }
.h-small { font-size: 2rem; margin-bottom: 28px; }
.sponsors { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; }
.sponsors img { height: 54px; width: auto; max-width: 170px; object-fit: contain; mix-blend-mode: multiply; }

/* Newsletter */
.newsletter { background: var(--pink); }
.newsletter p { color: var(--muted); font-size: 1.1rem; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.signup input { font: inherit; padding: 14px 18px; border-radius: 999px; border: 2px solid transparent; min-width: 0; flex: 1 1 200px; }
.signup input:focus { outline: none; border-color: var(--red); }
.signup-note { font-weight: 600; color: var(--navy) !important; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 60px 0 24px; }
.footer a { color: #fff; }
.footer h4, .footer .footer-h { color: #fff; margin: 0 0 10px; font: 600 1rem/1.3 var(--body); text-transform: none; letter-spacing: 0; }
.footer p { margin: 0 0 8px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.footer-logo { border-radius: 8px; height: 71px; width: auto; }
.tagline { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; color: #fff; margin-top: 12px !important; }
.social { display: flex; flex-wrap: wrap; gap: 14px; }
.fine { text-align: center; font-size: .8rem; margin: 44px 0 0; opacity: .6; }
.linklike { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* Edit mode */
.edit-bar { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; background: var(--gold); color: var(--navy); padding: 10px 24px; font-size: .9rem; }
.edit-bar button { font: 600 .85rem var(--body); border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; background: var(--navy); color: #fff; }
.edit-bar #editReset { background: transparent; color: var(--navy); text-decoration: underline; margin-left: auto; }
body.editing .top { top: 44px; }
body.editing [data-edit] { outline: 2px dashed rgba(220,35,69,.45); outline-offset: 3px; border-radius: 4px; cursor: text; }
body.editing [data-edit]:hover, body.editing [data-edit]:focus { outline-color: var(--red); outline-style: solid; }
body.editing a[data-edit] { pointer-events: auto; }

/* Phones */
@media (max-width: 760px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .cal-row { grid-template-columns: 70px 1fr; padding: 16px; }
  .cal-row .btn { grid-column: 1 / -1; justify-self: start; }
  .hero { padding-bottom: 150px; }
  .voices { height: 110px; }
}
