:root {
  --ink: #1b1936;
  --blue: #1e69c6;
  --yellow: #ffbd0b;
  --pink: #c60058;
  --purple: #7432dd;
  --orange: #bb3809;
  --line: #cbc9d7;
  color: var(--ink);
  font-family: Aptos, "Segoe UI", sans-serif;
  line-height: 1.55;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, p, h1, h2, h3, h4, dl, dd, blockquote { margin: 0; }
body { overflow-wrap: anywhere; }
p, blockquote { text-align: start; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #8975ef; outline-offset: 4px; }
.wrap { width: min(100% - clamp(1.5rem, 6vw, 3rem), 70rem); min-width: 0; margin-inline: auto; }
.hero { background: radial-gradient(ellipse at 50% 46%, #252248, var(--ink) 64%); color: white; display: grid; grid-template-rows: auto 1fr auto; min-height: min(55rem, 100svh); }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-block: .85rem;
  border-bottom: 1px solid #ffffff26;
}
.top a { text-decoration: none; }
.top a:focus-visible { outline-color: #ffe18c; }
.brand { color: white; font-size: 1.125rem; font-weight: 800; letter-spacing: -.03em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(1rem, 3vw, 2.25rem); padding: 0; margin: 0; list-style: none; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #e5e0f4;
  font-size: .975rem;
  font-weight: 550;
  text-underline-offset: .4em;
  transition: color .18s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: white; text-decoration: underline; text-decoration-color: var(--yellow); }
.hero-content { display: grid; align-content: center; justify-items: center; padding-block: clamp(3rem, 9vh, 8rem); }
.hero-logo { position: relative; width: min(100%, 54rem); isolation: isolate; }
.hero-logo.logo-entrance { animation: logo-lift 7s cubic-bezier(.2,.7,.3,1) infinite; }
.hero-logo::before { content: ""; position: absolute; z-index: -1; inset: -18% 0; border-radius: 50%; background: radial-gradient(ellipse, #347ce43d, transparent 68%); }
.logo-glint { position: absolute; width: clamp(.85rem, 4vw, 3rem); aspect-ratio: 1; opacity: 0; pointer-events: none; transform: translate(-50%, -50%); }
.logo-glint::before { content: ""; position: absolute; inset: 0; background: #f2faff; clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%); }
.logo-glint.star { left: 59%; top: 11%; }
.logo-glint.edition { left: 24%; top: 77%; animation-delay: .85s; }
.logo-glint.year { left: 65%; top: 83%; animation-delay: 1.2s; }
.logo-entrance .logo-glint { animation-name: logo-glint; animation-duration: 7s; animation-iteration-count: infinite; }
@keyframes logo-lift {
  0%, 34%, 100% { transform: none; filter: brightness(1); }
  10% { transform: translateY(-.5rem) scale(1.025) rotate(1deg); filter: brightness(1.15); }
  21% { transform: translateY(.12rem) rotate(-.4deg); filter: brightness(1); }
}
@keyframes logo-glint {
  0%, 15%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.1) rotate(-25deg); }
  6% { opacity: 1; transform: translate(-50%, -50%) scale(1.2) rotate(12deg); }
}
.hero h1 img { width: 100%; }
.hero-content p { text-transform: uppercase; text-align: center; letter-spacing: .16em; margin-top: 1.1rem; font-weight: 650; font-size: clamp(.82rem, 2vw, 1.08rem); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 1.4rem; padding-bottom: 2.2rem; }
.hero-bottom strong { color: var(--yellow); font-size: clamp(4rem, 10vw, 8rem); line-height: .9; letter-spacing: -.085em; font-weight: 950; }
.hero-bottom strong span { margin-inline: .1em; }
.hero-bottom p { margin-top: .7rem; }
.hero-bottom img { width: clamp(5rem, 11vw, 8rem); }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .8rem 1.3rem; border-radius: 100vw; background: var(--yellow); color: var(--ink); font-weight: 800; text-align: center; text-decoration: none; }
.button:hover { background: #ffda54; }
.button.ink { background: var(--ink); color: white; }
.button.ink:hover { background: #37305e; }
.section { padding-block: clamp(3.2rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2.35rem, 7.5vw, 6.3rem); line-height: 1.06; letter-spacing: -.065em; font-weight: 950; margin-bottom: 1.6rem; overflow-wrap: anywhere; }
h3 { font-size: 1rem; margin: 1.3rem 0 .4rem; }
.blue { color: var(--blue); }
.pink { color: var(--pink); }
.purple { color: var(--purple); }
.orange { color: var(--orange); }
.event-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.date-block { background: var(--blue); color: white; padding: clamp(1.15rem, 4vw, 2.6rem); }
.date-block strong { display: block; font-size: clamp(2.65rem, 8vw, 6.1rem); letter-spacing: -.075em; line-height: 1.05; }
.date-block p { font-size: 1.125rem; font-weight: 650; line-height: 1.4; }
.date-block p:first-of-type { margin-top: .55rem; }
.artist { position: relative; min-height: 24rem; }
.artist img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.lineup, .agenda, .timeline { list-style: none; padding: 0; margin: 0; border-block: 2px solid var(--ink); }
.lineup li { padding-block: .65rem; }
.lineup li + li, .agenda li + li, .timeline li + li { border-top: 1px solid var(--line); }
.lineup b { display: block; font-size: 1.33rem; }
.lineup span { display: block; }
.agenda-title { font-size: 1.6rem; margin-top: 1.6rem; }
.agenda li { display: grid; grid-template-columns: minmax(11rem, 23%) minmax(0, 1fr); }
.agenda li > * { padding: 1rem 1.15rem; }
.agenda .schedule { display: grid; align-content: start; gap: .1rem .8rem; color: white; background: var(--blue); }
.agenda li:last-child .schedule { background: var(--orange); }
.schedule span, .admission { font-weight: 800; }
.agenda h4 { font-size: 1.25rem; line-height: 1.25; margin-bottom: .3rem; }
.agenda p { font-size: 1.0625rem; max-width: 60ch; }
.admission { margin-top: .25rem; }
.goal { display: flex; align-items: center; gap: .75rem 1.4rem; flex-wrap: wrap; margin-top: 1.35rem; padding: 1rem 1.25rem; background: var(--yellow); }
.goal strong { font-size: clamp(1.55rem, 4vw, 2.7rem); line-height: 1; letter-spacing: -.055em; }
.goal .button { margin-inline-start: auto; }
.paper { background: #f5f3fb; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; gap: 1rem 2.25rem; }
blockquote { font-size: clamp(1.34rem, 3vw, 2.45rem); line-height: 1.12; font-weight: 850; letter-spacing: -.035em; }
.story p, .intro, .gallery-heading p { font-size: clamp(1rem, 2vw, 1.21rem); line-height: 1.65; max-width: 59ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-block: 1.65rem .8rem; }
.stats div { padding: .8rem clamp(.6rem, 2.4vw, 1.4rem) 1rem; background: var(--blue); color: white; }
.stats div:nth-child(2) { background: var(--yellow); color: var(--ink); }
.stats div:nth-child(3) { background: var(--pink); }
.stats dt { font-size: clamp(2.15rem, 7vw, 5rem); font-weight: 950; line-height: 1; letter-spacing: -.06em; }
.stats dd { margin-top: .35rem; font-weight: 650; line-height: 1.25; }
.founder img { width: 100%; }
figcaption { margin-top: .4rem; font-size: .9rem; }
.history-title { margin-top: clamp(3rem, 6vw, 5rem); }
.timeline { margin-top: 1.35rem; }
.timeline li { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.4fr) minmax(0, .7fr); gap: .75rem; align-items: center; padding-block: .55rem; }
.timeline strong { font-size: clamp(1.55rem, 5vw, 3.8rem); font-weight: 900; letter-spacing: -.075em; }
.timeline img { width: 100%; }
.notes { margin-top: .55rem; }
.gallery-heading { display: flex; gap: .65rem 2rem; flex-wrap: wrap; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; }
.gallery-heading h2 { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(5rem, 15vw, 11rem); gap: .6rem; }
.gallery a { display: block; overflow: hidden; background: #e5e2ed; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.045); }
.gallery a:nth-child(1) { grid-area: 1 / 1 / 3 / 7; }
.gallery a:nth-child(2) { grid-area: 1 / 7 / 3 / 10; }
.gallery a:nth-child(3) { grid-area: 1 / 10 / 2 / 13; }
.gallery a:nth-child(4) { grid-area: 2 / 10 / 3 / 13; }
.gallery a:nth-child(5) { grid-column: span 5; }
.gallery a:nth-child(6) { grid-column: span 3; }
.gallery a:nth-child(7) { grid-column: span 4; }
dialog { border: none; border-radius: .75rem; padding: .55rem; background: var(--ink); max-width: min(95vw, 65rem); }
dialog::backdrop { background: #131124dd; }
dialog img { max-height: 82dvh; object-fit: contain; }
dialog button { position: absolute; top: .9rem; right: .9rem; color: white; background: var(--ink); border: 1px solid white; border-radius: 50%; width: 2.75rem; height: 2.75rem; font-size: 1.65rem; cursor: pointer; }
.sponsors { background: #eeeff9; }
.sponsors-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.5rem; }
.sponsors-header h2 { margin: 0; color: var(--ink); font-size: clamp(2.15rem, 6.4vw, 5rem); }
.sponsors-header .button { padding: .95rem 1.65rem; box-shadow: 0 .3rem 0 #ba780d; }
.sponsors-header .button:active { transform: translateY(.2rem); box-shadow: 0 .1rem 0 #ba780d; }
.sponsor-carousel { position: relative; container-type: inline-size; }
.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.sponsor-copy, .sponsor-toggle { display: none; }
.sponsor-track li {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1;
  background: #050609;
  border-radius: .85rem;
}
.sponsor-track img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.sponsor-track li::after { content: ""; position: absolute; inset: 0; background: #424f88; mix-blend-mode: color; pointer-events: none; }
@media (max-width: 48rem) {
  .sponsor-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .sponsor-carousel { overflow: hidden; border-radius: .85rem; }
  .sponsor-track.is-looping { display: flex; width: max-content; animation: sponsor-loop 26s linear infinite; }
  .sponsor-track.is-paused { animation-play-state: paused; }
  .is-looping .sponsor-logos { display: flex; padding-inline-end: .75rem; }
  .is-looping li { width: clamp(11rem, 32cqw, 22.5rem); }
  .sponsor-toggle:not([hidden]) { display: block; position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }
  .sponsor-toggle:focus-visible { outline: 3px solid #ffcf4d; outline-offset: -5px; border-radius: .85rem; }
  @media (max-width: 48rem) {
    .is-looping li { width: clamp(11rem, 60cqw, 20rem); }
  }
}
@keyframes sponsor-loop { to { transform: translateX(-50%); } }
footer { background: var(--ink); color: white; border-bottom: .65rem solid transparent; border-image: linear-gradient(90deg, var(--yellow) 20%, #ff6020 20% 40%, #ff0074 40% 60%, #8b42f3 60% 80%, #3d89ff 80%) 1; }
footer h2 { color: var(--yellow); }
.coordinator { margin-bottom: .75rem; }
.contacts { display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; border-top: 1px solid #ffffff55; padding-top: 1rem; }
.contacts a { min-width: 0; max-width: 100%; font-weight: 750; text-underline-offset: .2em; }
.contacts small { display: block; color: #ddd4ff; font-weight: 500; }
.intro-screen { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--ink); animation: curtain 500ms 1.35s ease-in-out both; cursor: pointer; }
.intro-screen span { animation: arrive 650ms var(--delay) cubic-bezier(.2,.75,.25,1.15) both; font-size: clamp(2.3rem, 15vw, 13rem); font-weight: 950; line-height: 1; letter-spacing: -.06em; padding-right: .03em; color: #75caff; background: linear-gradient(#ddf6ff 14%, #75caff 40%, #2588ec 72%, #adf5ff 98%); background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 .035em 0 #1966b7); }
@keyframes arrive { from { opacity: 0; transform: translateY(65vh) rotate(var(--tilt)) scale(1.35); } 75% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes curtain { to { opacity: 0; visibility: hidden; transform: translateY(-3%); } }
.title-word { display: inline-block; max-width: 100%; }
.title-word > span { display: inline-block; }
.animated-title.in-view .title-word > span { animation: letter-wave 760ms var(--delay) ease-in-out 2; }
@keyframes letter-wave {
  0%, 100% { transform: none; }
  36% { transform: translateY(-.17em) rotate(-7deg); }
  65% { transform: translateY(.03em) rotate(3deg); }
}
@media (max-width: 42rem) {
  .top { display: grid; gap: .25rem; padding-block: .9rem .45rem; }
  .brand { width: fit-content; }
  .nav-links { column-gap: clamp(.75rem, 4vw, 1.6rem); }
  .nav-links a { font-size: .9rem; }
  .hero-bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .85rem; }
  .hero-bottom .button { justify-self: start; }
  .hero-bottom img { grid-column: 2; grid-row: 1 / 3; }
  .event-layout, .story { grid-template-columns: 1fr; }
  .artist { min-height: 0; aspect-ratio: 5 / 4; }
  .agenda li { grid-template-columns: minmax(0, 1fr); }
  .agenda .schedule { display: flex; flex-wrap: wrap; justify-content: space-between; }
  .agenda li > * { padding: .75rem .9rem; }
  .goal .button { margin-inline-start: 0; }
  .gallery { gap: .35rem; }
}
@media (max-width: 26rem) {
  .timeline li { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .timeline p { grid-column: 1 / -1; grid-row: 2; }
  .timeline img { width: min(100%, 8rem); justify-self: end; }
}
@media (max-width: 20rem) {
  .stats { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .intro-screen { display: none; }
  .animated-title.in-view .title-word > span { animation: none; }
  .hero-logo.logo-entrance, .logo-entrance .logo-glint { animation: none; }
  .gallery img { transition: none; }
  .nav-links a { transition: none; }
}
