:root {
    --night: #25152f;
    --purple: #4e2862;
    --magenta: #a7356d;
    --coral: #ef6f61;
    --sun: #f5b94c;
    --cream: #fff5e9;
    --sand: #efd9bd;
    --ink: #291e2c;
    --white: #fffdfb;
    --radius: 26px;
    --shadow: 0 24px 60px rgba(47, 24, 55, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.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; }
.skip-link { position: fixed; z-index: 300; top: 10px; left: 10px; transform: translateY(-150%); border-radius: 10px; background: white; padding: 10px 16px; font-weight: 800; }
.skip-link:focus { transform: none; }

.admin-event-bar { background: #161019; color: #fbead6; font-size: .82rem; }
.admin-event-bar-inner { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.admin-event-bar a { color: var(--sun); font-weight: 800; }
.app-message { position: fixed; z-index: 200; top: 88px; right: 18px; width: min(420px, calc(100% - 36px)); border: 1px solid rgba(255,255,255,.3); border-radius: 14px; padding: 14px 18px; box-shadow: 0 16px 38px rgba(0,0,0,.24); color: white; font-size: .9rem; font-weight: 750; transition: opacity .25s ease, transform .25s ease; }
.app-message--success { background: #256b49; }
.app-message--danger { background: #9a3544; }
.app-message--warning { background: #946514; }
.app-message--info { background: #4e3d7d; }
.app-message.opacity-0 { opacity: 0; transform: translateY(-8px); }

.site-header { position: sticky; z-index: 100; top: 0; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px max(20px, calc((100vw - 1160px) / 2)); border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(37, 21, 47, .94); color: white; backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; font-weight: 800; white-space: nowrap; }
.brand img { width: auto; max-width: 180px; height: 48px; object-fit: contain; }
.brand-script { color: var(--sun); font-family: Georgia, serif; font-size: 1.55rem; font-style: italic; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: .86rem; font-weight: 750; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--sun); }
.nav-cta { border-radius: 999px; background: var(--sun); color: var(--night) !important; padding: 10px 17px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); }
.menu-toggle span:not(.sr-only) { display: block; width: 21px; height: 2px; margin: 4px auto; background: white; }

.hero { position: relative; isolation: isolate; min-height: 650px; display: grid; align-items: center; overflow: hidden; background: linear-gradient(125deg, #271532 0%, #522862 53%, #a53b68 100%); color: white; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto -8% -48% 35%; height: 92%; border-radius: 50%; background: rgba(245,185,76,.2); filter: blur(5px); }
.hero-glow { position: absolute; z-index: -1; top: 6%; left: -8%; width: 380px; height: 380px; border-radius: 50%; background: rgba(239,111,97,.28); filter: blur(80px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(34px, 6vw, 84px); padding-block: 62px; }
.eyebrow { margin: 0 0 12px; color: var(--coral); font-size: .76rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow, .final-cta .eyebrow { color: #ffd986; }
.hero h1 { max-width: 690px; margin: 0; font-size: clamp(4.2rem, 8vw, 7.5rem); line-height: .8; letter-spacing: -.075em; }
.hero h1 span { display: block; color: #ffd87b; font-family: Georgia, serif; font-style: italic; font-weight: 700; }
.hero-lead { max-width: 540px; margin: 26px 0 0; color: #f9e9ef; font-size: clamp(1.12rem, 2vw, 1.45rem); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border-radius: 999px; padding: 13px 24px; text-decoration: none; font-size: .9rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--sun); color: var(--night); box-shadow: 0 14px 30px rgba(245,185,76,.22); }
.button-secondary { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: white; }
.button-light { background: white; color: var(--purple); }
.text-link { font-weight: 850; text-decoration: none; }
.hero-tags { display: flex; gap: 9px; flex-wrap: wrap; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-tags li { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.07); padding: 7px 12px; font-size: .76rem; }
.hero-visual { position: relative; }
.hero-visual img, .hero-placeholder { width: 100%; aspect-ratio: 4 / 5; border-radius: 42% 42% 25px 25px; object-fit: cover; box-shadow: 0 34px 80px rgba(15,7,20,.38); }
.hero-placeholder { display: flex; flex-direction: column; justify-content: flex-end; padding: 42px; border: 1px solid rgba(255,255,255,.18); background: radial-gradient(circle at 60% 25%, rgba(245,185,76,.42), transparent 26%), linear-gradient(160deg, #77345f, #2a1836); }
.hero-placeholder span { color: #ffd986; font-size: .8rem; font-weight: 900; letter-spacing: .16em; }
.hero-placeholder strong { margin-top: 8px; font-family: Georgia, serif; font-size: clamp(3rem, 6vw, 5.2rem); font-style: italic; line-height: .9; }
.hero-placeholder small { margin-top: 24px; color: rgba(255,255,255,.55); overflow-wrap: anywhere; }

.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading.compact { margin-bottom: 28px; }
.section-heading h2, .about h2, .final-cta h2 { margin: 0; font-size: clamp(2.2rem, 4.7vw, 4.4rem); line-height: 1; letter-spacing: -.045em; }
.section-heading > p:last-child { color: #735f74; }
.next-edition { background: #fffaf4; }
.edition-card { display: grid; grid-template-columns: 1.25fr 1fr auto; align-items: center; gap: 30px; border-radius: var(--radius); background: white; padding: 28px 30px; box-shadow: var(--shadow); }
.edition-main { display: flex; flex-direction: column; }
.edition-label { color: var(--magenta); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.edition-main strong { margin-top: 5px; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.1; }
.edition-main > span:last-child { margin-top: 5px; color: #725d71; }
.edition-facts { display: flex; gap: 28px; }
.edition-facts div { display: flex; flex-direction: column; }
.edition-facts small { color: #806e7c; }
.edition-facts strong { font-size: 1.15rem; }
.edition-status { max-width: 460px; border-left: 3px solid var(--sun); padding-left: 18px; }
.edition-status span { display: inline-flex; border-radius: 999px; background: #f8e5a9; padding: 6px 11px; color: #573c1a; font-size: .73rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.edition-status p { margin: 10px 0 0; color: #6f5e6c; font-size: .88rem; line-height: 1.45; }
.edition-empty, .gallery-empty { border: 1px dashed rgba(78,40,98,.28); border-radius: var(--radius); background: rgba(255,255,255,.55); padding: 30px; }
.edition-empty strong { font-size: 1.25rem; }
.edition-empty p { margin-bottom: 0; color: #705d6d; }

.about { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.about-copy { border-left: 3px solid var(--magenta); padding-left: 28px; font-size: 1.06rem; }
.about-copy p:last-child { margin-bottom: 0; }

.interest-section { background: linear-gradient(145deg, #fffaf4, #f8e6ee); }
.interest-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(36px, 7vw, 90px); }
.interest-copy h2 { margin: 0; font-size: clamp(2.7rem, 5.6vw, 5.3rem); line-height: .94; letter-spacing: -.055em; }
.interest-copy > p:not(.eyebrow) { max-width: 570px; margin: 23px 0 0; color: #674f63; font-size: 1.02rem; }
.interest-copy .interest-level { border-left: 3px solid var(--magenta); padding-left: 18px; color: #4d344a; font-weight: 750; }
.interest-form { border-color: rgba(167,53,109,.14); }
.interest-note { margin: -2px 0 0; color: #756572; font-size: .76rem; line-height: 1.45; text-align: center; }
.field-help { display: block; margin-top: 7px; color: #796e79; font-size: .72rem; line-height: 1.4; }

.sponsorship { background: radial-gradient(circle at 10% 10%, rgba(245,185,76,.2), transparent 26%), linear-gradient(135deg, var(--night), #4e2862 58%, #84345f); color: white; }
.sponsorship-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(36px, 7vw, 90px); }
.sponsorship-copy h2 { margin: 0; font-size: clamp(2.7rem, 5.8vw, 5.5rem); line-height: .93; letter-spacing: -.06em; }
.sponsorship-copy > p:not(.eyebrow) { max-width: 570px; margin: 25px 0 0; color: #f0dfe9; font-size: 1.05rem; }
.sponsorship-copy .sponsorship-complement { border-left: 3px solid var(--sun); padding-left: 18px; color: #dbc6d5; font-size: .93rem; }
.sponsorship-form { display: grid; gap: 18px; min-width: 0; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: var(--white); padding: clamp(25px, 4vw, 42px); box-shadow: var(--shadow); color: var(--ink); }
.sponsorship-fields-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sponsorship-field { min-width: 0; }
.sponsorship-field label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: .82rem; font-weight: 850; }
.sponsorship-field label > span, .required-note span { color: #b52f50; }
.sponsorship-field label small { color: #796e79; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.sponsorship-field input, .sponsorship-field select, .sponsorship-field textarea { width: 100%; border: 1px solid #d5c4d0; border-radius: 12px; background: #fffdfb; padding: 12px 14px; color: var(--ink); font: inherit; font-size: .93rem; transition: border-color .2s ease, box-shadow .2s ease; }
.sponsorship-field textarea { min-height: 118px; resize: vertical; }
.sponsorship-field input:focus, .sponsorship-field select:focus, .sponsorship-field textarea:focus { border-color: var(--magenta); outline: 0; box-shadow: 0 0 0 3px rgba(167,53,109,.15); }
.sponsorship-turnstile { max-width: 100%; overflow: hidden; }
.sponsorship-status { margin: 0; border-radius: 12px; padding: 12px 14px; font-size: .88rem; font-weight: 750; }
.sponsorship-status.is-success { border: 1px solid #93c9a8; background: #e9f7ee; color: #14542e; }
.sponsorship-status.is-error { border: 1px solid #e6a697; background: #fff0ed; color: #8a2d1c; }
.interest-form .sponsorship-status strong, .interest-form .sponsorship-status span { display: block; }
.interest-form .sponsorship-status span { margin-top: 4px; font-weight: 600; line-height: 1.45; }
.sponsorship-submit { min-height: 54px; border: 0; border-radius: 999px; background: var(--sun); padding: 13px 24px; color: var(--night); cursor: pointer; font: inherit; font-size: .82rem; font-weight: 950; letter-spacing: .07em; text-transform: uppercase; transition: transform .2s ease, opacity .2s ease; }
.sponsorship-submit:hover:not(:disabled) { transform: translateY(-2px); }
.sponsorship-submit:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
.sponsorship-submit:disabled { cursor: wait; opacity: .68; }
.required-note { margin: -8px 0 0; color: #796e79; font-size: .7rem; text-align: center; }

.gallery-section { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; grid-auto-rows: 78px; gap: 14px; }
.gallery-item { position: relative; grid-column: span 3; grid-row: span 3; min-width: 0; overflow: hidden; border: 1px solid rgba(78,40,98,.1); border-radius: 20px; padding: 0; background: #ddc7d4; box-shadow: 0 12px 30px rgba(47,24,55,.1); cursor: zoom-in; }
.gallery-item:nth-child(8n + 1) { grid-column: 1 / span 6; grid-row: span 6; }
.gallery-item:nth-child(8n + 2) { grid-column: 7 / span 3; }
.gallery-item:nth-child(8n + 3) { grid-column: 10 / span 3; }
.gallery-item:nth-child(8n + 4) { grid-column: 7 / span 6; }
.gallery-item:nth-child(8n + 5) { grid-column: 7 / span 6; grid-row: span 6; }
.gallery-item:nth-child(8n + 6) { grid-column: 1 / span 3; }
.gallery-item:nth-child(8n + 7) { grid-column: 4 / span 3; }
.gallery-item:nth-child(8n + 8) { grid-column: 1 / span 6; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transition: transform .35s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.045); }
.gallery-item[hidden] { display: none; }
.gallery-more { display: flex; justify-content: center; margin-top: 30px; }
.gallery-more-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(78,40,98,.2); border-radius: 999px; background: rgba(255,255,255,.72); padding: 11px 24px; color: var(--purple); cursor: pointer; font: inherit; font-size: .8rem; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.gallery-more-button:hover { border-color: var(--magenta); background: white; transform: translateY(-2px); }
.gallery-more-button:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.gallery-more-button > span:first-child { color: var(--magenta); font-size: 1.35rem; line-height: 1; }
.gallery-empty { text-align: center; }
.gallery-empty span, .gallery-empty strong, .gallery-empty code { display: block; }
.gallery-empty span { color: var(--magenta); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.gallery-empty strong { margin-top: 8px; font-size: 1.25rem; }
.gallery-empty code { margin-top: 10px; color: #755f72; overflow-wrap: anywhere; }

.final-cta { background: linear-gradient(120deg, var(--purple), var(--magenta)); color: white; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.site-footer { background: var(--night); color: rgba(255,255,255,.72); padding: 38px 0 90px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .85rem; }
.footer-inner img { width: auto; height: 64px; object-fit: contain; }
.footer-inner strong { color: var(--sun); font-family: Georgia, serif; font-size: 1.7rem; font-style: italic; }
.footer-inner strong span { color: white; font-family: inherit; font-size: .8em; font-style: normal; }

.gallery-modal { position: fixed; z-index: 250; inset: 0; display: grid; place-items: center; padding: 68px 24px 24px; background: rgba(19,10,24,.92); }
.gallery-modal[hidden] { display: none; }
.gallery-modal img { max-width: min(1080px, 94vw); max-height: calc(100vh - 100px); border-radius: 18px; object-fit: contain; box-shadow: 0 25px 80px rgba(0,0,0,.5); }
.gallery-modal-close { position: absolute; top: 18px; right: 20px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.1); color: white; font-size: 2rem; line-height: 1; cursor: pointer; }
.mobile-cta { display: none; }

@media (max-width: 860px) {
    html { scroll-padding-top: 70px; }
    .section { padding: 68px 0; }
    .menu-toggle { display: block; }
    .site-nav { position: absolute; top: 100%; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; border-radius: 0 0 18px 18px; background: #301c3d; padding: 10px; box-shadow: var(--shadow); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px 14px; }
    .nav-cta { text-align: center; }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; padding-block: 54px 72px; }
    .hero-copy { text-align: center; }
    .hero h1 { margin-inline: auto; font-size: clamp(4rem, 18vw, 6.2rem); }
    .hero-lead { margin-inline: auto; }
    .hero-actions, .hero-tags { justify-content: center; }
    .hero-visual { width: min(480px, 88%); margin-inline: auto; }
    .edition-card { grid-template-columns: 1fr; }
    .edition-facts { justify-content: flex-start; }
    .edition-card .button { width: 100%; }
    .about-grid { grid-template-columns: 1fr; }
    .interest-grid { grid-template-columns: 1fr; }
    .sponsorship-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; grid-auto-rows: clamp(76px, 18vw, 128px); gap: 12px; }
    .gallery-item,
    .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 3; aspect-ratio: auto; }
    .gallery-item:nth-child(6n + 1) { grid-column: 1 / -1; grid-row: span 3; }
    .gallery-item:nth-child(6n + 4) { grid-column: 1 / -1; grid-row: span 2; }
    .final-cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-inner { flex-direction: column; text-align: center; }
    .mobile-cta { position: fixed; z-index: 95; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); left: 14px; display: flex; min-height: 50px; align-items: center; justify-content: center; border-radius: 999px; background: var(--sun); color: var(--night); box-shadow: 0 12px 34px rgba(37,21,47,.34); font-size: .86rem; font-weight: 900; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
}

@media (max-width: 540px) {
    .shell { width: min(100% - 28px, 1160px); }
    .site-header { min-height: 66px; padding-inline: 14px; }
    .brand img { max-width: 145px; height: 42px; }
    .hero-grid { gap: 38px; padding-top: 42px; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
    .hero-actions .button { width: 100%; }
    .hero-visual { width: 100%; }
    .hero-visual img, .hero-placeholder { border-radius: 90px 90px 20px 20px; }
    .hero-placeholder { padding: 28px; }
    .edition-card { padding: 23px 20px; }
    .edition-facts { gap: 22px; flex-wrap: wrap; }
    .sponsorship-copy h2 { font-size: clamp(2.65rem, 13vw, 4.15rem); }
    .interest-copy h2 { font-size: clamp(2.65rem, 13vw, 4.15rem); }
    .sponsorship-form { gap: 16px; padding: 23px 20px; }
    .sponsorship-fields-row { grid-template-columns: 1fr; }
    .sponsorship-turnstile .cf-turnstile { width: 300px; margin-bottom: -14px; transform: scale(.78); transform-origin: left top; }
    .gallery-grid { gap: 9px; }
    .gallery-item { border-radius: 14px; }
    .gallery-more { margin-top: 22px; }
    .gallery-more-button { width: 100%; }
}

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