:root {
    --charcoal: #080706;
    --charcoal-soft: #14110f;
    --burgundy: #721827;
    --burgundy-dark: #3f0b14;
    --gold: #c9a765;
    --gold-soft: #ead9b8;
    --ivory: #f8f1e8;
    --muted: #d1c5b4;
    --line: rgba(234, 217, 184, 0.22);
    --shadow: 0 26px 90px rgba(0, 0, 0, 0.46);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--charcoal);
    color: var(--ivory);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 14px clamp(18px, 5vw, 64px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18));
    border-bottom: 1px solid rgba(234, 215, 173, 0.12);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand__mark {
    display: inline-flex;
    align-items: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    background: #050505;
    border: 1px solid rgba(234, 217, 184, 0.18);
    border-radius: 8px;
}

.brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand__text {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.05rem;
}

.nav-toggle {
    display: inline-grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 11px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ivory);
    border-radius: 99px;
}

.site-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: grid;
    gap: 6px;
    padding: 18px;
    background: rgba(26, 23, 22, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-nav a {
    padding: 12px 10px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--gold-soft);
}

.nav-cta {
    color: #050505 !important;
    background: var(--ivory);
    border-radius: 999px;
    text-align: center;
}

.hero__media,
.hero__media img,
.hero__shade {
    position: absolute;
    inset: 0;
}

.hero__media {
    z-index: -3;
    overflow: hidden;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transform: scale(1.01);
}

.hero__shade {
    z-index: -2;
    background:
        radial-gradient(circle at 50% 58%, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.78) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent 24%, rgba(0, 0, 0, 0.36) 74%, rgba(0, 0, 0, 0.92));
}

.hero__logo {
    width: min(560px, 86vw);
    
}

.hero__kicker {
    max-width: 760px;
    margin: -12px auto 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.98rem, 2.1vw, 1.25rem);
    font-weight: 600;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9);
}

.hero__meta {
    position: absolute;
    right: clamp(18px, 5vw, 64px);
    bottom: 26px;
    left: clamp(18px, 5vw, 64px);
    display: grid;
    gap: 8px;
    color: rgba(248, 241, 232, 0.82);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__meta span {
    width: fit-content;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(248, 241, 232, 0.16);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

.hero {
    position: relative;
    display: grid;
    min-height: calc(100svh - 72px);
    overflow: hidden;
    padding: clamp(72px, 12vw, 140px) clamp(18px, 5vw, 64px);
    background:
        linear-gradient(120deg, rgba(17, 16, 15, 0.96), rgba(74, 17, 27, 0.82)),
        radial-gradient(circle at 78% 22%, rgba(202, 164, 93, 0.22), transparent 30%),
        var(--charcoal);
}

.hero::after {
    position: absolute;
    right: -120px;
    bottom: -180px;
    width: min(560px, 86vw);
    height: min(560px, 86vw);
    content: "";
    background:
        linear-gradient(135deg, transparent 44%, rgba(202, 164, 93, 0.75) 45%, rgba(202, 164, 93, 0.75) 47%, transparent 48%),
        radial-gradient(circle, rgba(120, 31, 45, 0.7), transparent 64%);
    border-radius: 50%;
    opacity: 0.72;
}

.hero__texture {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(247, 242, 233, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 242, 233, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    align-self: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.05;
}

h1,
h2 {
    font-family: "Playfair Display", Georgia, serif;
}

h1 {
    max-width: 720px;
    margin-bottom: 12px;
    font-size: clamp(4.1rem, 18vw, 10rem);
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2.3rem, 8vw, 4.8rem);
}

h3 {
    font-size: 1.18rem;
}

.hero__subtitle {
    max-width: 620px;
    color: var(--gold-soft);
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 800;
}

.hero__copy,
.lead {
    color: var(--muted);
    font-size: clamp(1.02rem, 2.5vw, 1.28rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn--primary {
    color: var(--charcoal);
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
}

.btn--ghost {
    border-color: var(--line);
    color: var(--ivory);
    background: rgba(247, 242, 233, 0.04);
}

.hero__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 330px);
    margin-top: 46px;
    padding: 24px;
    background: rgba(17, 16, 15, 0.68);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.panel-label {
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__panel strong {
    display: block;
    color: var(--ivory);
    font-family: "Playfair Display", serif;
    font-size: 4rem;
    line-height: 1;
}

.hero__panel p {
    margin-bottom: 0;
    color: var(--muted);
}

.hero__logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 14px;
    background: #050505;
    border: 1px solid rgba(234, 215, 173, 0.18);
    border-radius: 8px;
}

.hero__logo-strip img {
    width: min(170px, 100%);
    height: auto;
}

.section {
    padding: clamp(70px, 11vw, 128px) clamp(18px, 5vw, 64px);
}

.section__heading {
    max-width: 820px;
    margin-bottom: 36px;
}

.section--intro {
    background: var(--ivory);
    color: var(--charcoal);
}

.section--intro .lead {
    color: #4f4740;
}

.intro-grid {
    display: grid;
    gap: 18px;
}

.metric,
.prize-card,
.jury-card,
.partner-block,
.event-card {
    border: 1px solid var(--line);
    border-radius: 8px;
}

.metric {
    padding: 22px;
    background: #fffaf0;
    border-color: rgba(120, 31, 45, 0.16);
}

.metric span,
.criterion span {
    color: var(--burgundy);
    font-weight: 900;
}

.metric p,
.criterion p {
    margin-bottom: 0;
}

.event-band {
    background:
        linear-gradient(135deg, rgba(74, 17, 27, 0.92), rgba(17, 16, 15, 0.98)),
        var(--burgundy-dark);
}

.event-card {
    max-width: 960px;
    padding: clamp(28px, 6vw, 58px);
    background: rgba(17, 16, 15, 0.42);
}

.event-details {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.event-details span {
    padding: 13px 16px;
    color: var(--gold-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.split {
    display: grid;
    gap: 30px;
    background: var(--charcoal-soft);
}

.split__content {
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    color: var(--gold);
    content: "✓";
    font-weight: 900;
}

.prizes,
.criteria,
.bases {
    background: var(--ivory);
    color: var(--charcoal);
}

.card-grid,
.jury-grid {
    display: grid;
    gap: 18px;
}

.prize-card {
    min-height: 230px;
    padding: 26px;
    color: var(--ivory);
    background: linear-gradient(150deg, var(--charcoal), var(--burgundy-dark));
}

.prize-card span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.prize-card p {
    color: var(--muted);
}

.criteria-list {
    display: grid;
    gap: 12px;
}

.criterion {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(17, 16, 15, 0.12);
}

.jury {
    background: var(--charcoal);
}

.jury-card {
    padding: 26px;
    background: rgba(247, 242, 233, 0.04);
}

.avatar {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    place-items: center;
    color: var(--charcoal);
    background: var(--gold);
    border-radius: 50%;
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    font-weight: 800;
}

.jury-card p,
.partner-block p {
    color: var(--muted);
}

.partners {
    display: grid;
    gap: 18px;
    background: var(--charcoal-soft);
}

.partner-block {
    padding: clamp(26px, 5vw, 44px);
    background: rgba(247, 242, 233, 0.04);
}

.partner-block--accent {
    background: linear-gradient(135deg, rgba(120, 31, 45, 0.62), rgba(202, 164, 93, 0.14));
}

.logo-grid {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.logo-card {
    display: grid;
    min-height: 168px;
    place-items: center;
    padding: 22px;
    background: #050505;
    border: 1px solid rgba(234, 215, 173, 0.18);
    border-radius: 8px;
}

.logo-card img {
    width: min(220px, 100%);
    height: auto;
}

.logo-card--reserved {
    gap: 6px;
    color: var(--ivory);
    background:
        black;
    
    text-align: center;
}

.logo-card--reserved span {
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    font-weight: 800;
}

.logo-card--reserved small {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.accordion {
    border-top: 1px solid rgba(17, 16, 15, 0.14);
}

.accordion__item {
    border-bottom: 1px solid rgba(17, 16, 15, 0.14);
}

.accordion button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 0;
    color: var(--charcoal);
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.accordion button::after {
    content: "+";
    color: var(--burgundy);
    font-size: 1.6rem;
}

.accordion button[aria-expanded="true"]::after {
    content: "-";
}

.accordion__panel {
    max-width: 860px;
    padding-bottom: 22px;
    color: #4f4740;
}

.signup {
    display: grid;
    gap: 32px;
    background:
        radial-gradient(circle at 10% 10%, rgba(202, 164, 93, 0.16), transparent 34%),
        var(--charcoal);
}

.signup__copy {
    max-width: 620px;
}

.signup__copy p {
    color: var(--muted);
}

.signup__event {
    color: var(--gold-soft) !important;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 800;
}

.form-success {
    padding: 14px 16px;
    color: var(--gold-soft) !important;
    background: rgba(202, 164, 93, 0.1);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.form-error {
    padding: 14px 16px;
    color: #ffd5cf !important;
    background: rgba(130, 26, 26, 0.22);
    border: 1px solid rgba(255, 213, 207, 0.18);
    border-radius: 8px;
}

.form-error-summary {
    padding: 16px 18px;
    background: rgba(255, 213, 207, 0.08);
    border: 1px solid rgba(255, 213, 207, 0.18);
    border-radius: 8px;
}

.form-error-summary p {
    margin-bottom: 10px;
    color: #ffd5cf !important;
    font-weight: 800;
}

.form-error-summary ul {
    padding-left: 18px;
    margin: 0;
}

.form-error-summary a {
    color: var(--gold-soft);
    text-decoration: underline;
}

.signup-form {
    display: grid;
    gap: 22px;
    padding: clamp(20px, 5vw, 34px);
    background: rgba(247, 242, 233, 0.05);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.form-section {
    display: grid;
    grid-column: 1 / -1;
    gap: 16px;
    min-width: 0;
    padding: 0 0 24px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(234, 217, 184, 0.16);
}

.form-section:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.form-section legend {
    width: 100%;
    margin-bottom: 4px;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

label {
    display: grid;
    gap: 8px;
    color: var(--gold-soft);
    font-size: 0.9rem;
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    padding: 14px 14px;
    color: var(--ivory);
    background: rgba(17, 16, 15, 0.68);
    border: 1px solid rgba(234, 215, 173, 0.24);
    border-radius: 8px;
    font: inherit;
}

input[type="date"],
input[type="file"] {
    color-scheme: dark;
}

input[type="file"] {
    padding: 12px;
}

input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 13px;
    color: #050505;
    background: var(--gold-soft);
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(202, 164, 93, 0.45);
    border-color: var(--gold);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: rgba(255, 213, 207, 0.72);
    outline-color: rgba(255, 213, 207, 0.35);
}

label ul.errorlist,
.choice-group ul.errorlist {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

label ul.errorlist li,
.choice-group ul.errorlist li {
    color: #ffd5cf;
    font-size: 0.82rem;
    font-weight: 700;
}

.choice-group {
    display: grid;
    gap: 10px;
    align-content: start;
    color: var(--gold-soft);
    font-size: 0.9rem;
    font-weight: 800;
}

.choice-group p {
    margin: 0;
}

.choice-grid {
    display: grid;
    gap: 10px;
}

.choice,
.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-weight: 600;
}

.choice input,
.consent input {
    width: auto;
    margin-top: 5px;
    accent-color: var(--gold);
}

.site-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px clamp(18px, 5vw, 64px);
    color: var(--muted);
    background: #0b0a09;
    border-top: 1px solid rgba(234, 215, 173, 0.12);
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--gold);
    font-weight: 800;
}

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

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero.hero--visual {
    isolation: isolate;
    min-height: 100svh;
    padding: 112px clamp(18px, 5vw, 64px) 34px;
    place-items: center;
    background: #050505;
}

.hero.hero--visual::after {
    display: none;
}

.hero--visual .hero__content--center {
    display: grid;
    align-self: center;
    justify-items: center;
    max-width: min(760px, 100%);
    padding-top: min(18vh, 140px);
    text-align: center;
}

.hero--visual .hero__actions--center {
    justify-content: center;
    margin-top: clamp(28px, 5vw, 52px);
}

.hero--visual .btn--hero {
    min-width: min(340px, 80vw);
    min-height: 68px;
    padding: 0 38px;
    color: var(--ivory);
    background: #050505;
    border: 1px solid rgba(248, 241, 232, 0.16);
    border-radius: 999px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.52);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.1rem, 3vw, 1.7rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero--visual .btn--outline {
    min-height: 68px;
    padding: 0 28px;
    color: var(--ivory);
    background: rgba(0, 0, 0, 0.34);
    border-color: rgba(248, 241, 232, 0.22);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

@media (min-width: 720px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .site-nav a {
        padding: 10px 12px;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) 340px;
        align-items: end;
        gap: 36px;
    }

    .hero__panel {
        margin-top: 0;
        margin-bottom: 32px;
    }

    .intro-grid {
        grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.8fr));
        align-items: stretch;
    }

    .event-details {
        grid-template-columns: repeat(3, 1fr);
    }

    .split,
    .signup,
    .partners {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        align-items: start;
    }

    .partner-block {
        min-height: 100%;
    }

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

    .logo-grid--organizers .logo-card img {
        width: min(190px, 100%);
    }

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

    .criteria-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 32px;
    }

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

    .signup-form {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .form-section legend {
        grid-column: 1 / -1;
    }

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

    .full {
        grid-column: 1 / -1;
    }

    .site-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 720px) {
    .hero.hero--visual {
        grid-template-columns: 1fr;
        align-items: center;
        gap: 0;
    }

    .hero--visual .hero__meta {
        grid-template-columns: max-content max-content 1fr;
        justify-content: stretch;
        align-items: center;
        column-gap: 10px;
    }

    .hero--visual .hero__meta span:last-child {
        justify-self: end;
    }
}

@media (max-width: 719px) {
    .site-header {
        min-height: 66px;
        padding: 10px 16px;
    }

    .brand__mark {
        width: 42px;
        height: 42px;
    }

    .brand__text {
        font-size: 0.96rem;
    }

    .hero__media img {
        object-position: 51% 50%;
    }

    .hero.hero--visual {
        align-content: center;
        padding-top: 84px;
        padding-bottom: 24px;
    }

    .hero--visual .hero__content--center {
        padding-top: 4vh;
    }

    .hero__logo {
        width: min(430px, 96vw);
    }

    .hero__kicker {
        max-width: 310px;
        margin-top: -6px;
        font-size: 0.95rem;
    }

    .hero__actions--center {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 22px;
    }

    .hero--visual .btn--hero,
    .hero--visual .btn--outline {
        width: min(320px, 86vw);
        min-height: 54px;
    }

    .hero--visual .btn--hero {
        font-size: 1.15rem;
    }

    .hero--visual .hero__meta {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        justify-items: center;
        width: min(320px, 86vw);
        margin-top: 18px;
    }

    .hero--visual .hero__meta span {
        width: 100%;
        text-align: center;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
