:root {
    --cream: #fff3dc;
    --cream-soft: #ead8bb;
    --brass: #d5a34e;
    --copper: #b76035;
    --ruby: #8f2f35;
    --petrol: #1f6f75;
    --ink: #100d0b;
    --ink-2: #18110e;
    --panel: rgba(18, 13, 10, 0.66);
    --panel-strong: rgba(255, 243, 220, 0.1);
    --line: rgba(255, 224, 169, 0.2);
    --line-strong: rgba(255, 224, 169, 0.34);
    --muted: rgba(255, 243, 220, 0.76);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

* {
    box-sizing: border-box;
}

::selection {
    color: var(--ink);
    background: rgba(213, 163, 78, 0.86);
}

::-moz-selection {
    color: var(--ink);
    background: rgba(213, 163, 78, 0.86);
}

html {
    min-height: 100%;
    background: #030303;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--cream);
    font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.65;
    background:
        radial-gradient(circle at 22% 16%, rgba(31, 111, 117, 0.28), transparent 30%),
        radial-gradient(circle at 76% 8%, rgba(183, 96, 53, 0.22), transparent 25%),
        linear-gradient(135deg, #060605 0%, #17100d 46%, #050504 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), transparent 72%);
}

a {
    color: #ffd078;
    font-weight: 800;
    text-decoration: none;
    text-underline-offset: 4px;
}

a:hover,
a:focus {
    color: #ffe3aa;
    text-decoration: underline;
}

.vinyl {
    position: fixed;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: min(138vmax, 1480px);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at center, #f6d081 0 5.2%, #b74639 5.4% 9.2%, #211917 9.5% 12.5%, transparent 12.7%),
        repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.14) 0 1px, rgba(0, 0, 0, 0.9) 2px 7px),
        conic-gradient(from 18deg, rgba(255, 255, 255, 0.24), transparent 7%, rgba(255, 255, 255, 0.1) 13%, transparent 24%, rgba(255, 255, 255, 0.18), transparent 48%, rgba(255, 255, 255, 0.12), transparent 76%),
        radial-gradient(circle at center, #151515 0, #050505 72%, #000 100%);
    box-shadow:
        inset 0 0 74px rgba(255, 255, 255, 0.08),
        inset 0 0 190px rgba(0, 0, 0, 0.9),
        0 0 110px rgba(0, 0, 0, 0.78);
    animation: spin 9s linear infinite;
}

.vinyl::before,
.vinyl::after {
    content: "";
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vinyl::after {
    inset: 18%;
    border-color: rgba(255, 255, 255, 0.05);
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(-68deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(292deg);
    }
}

.page-shell {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    margin: 70px auto;
    padding: clamp(24px, 4vw, 58px);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background:
        linear-gradient(150deg, rgba(255, 243, 220, 0.11), transparent 34%),
        linear-gradient(180deg, rgba(19, 13, 10, 0.76), rgba(10, 8, 7, 0.58));
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px) saturate(1.2);
}

.page-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(213, 163, 78, 0.34), transparent 22%, transparent 78%, rgba(31, 111, 117, 0.22)),
        radial-gradient(circle at top right, rgba(183, 96, 53, 0.2), transparent 28%);
    opacity: 0.72;
}

.page-shell::after {
    content: "";
    position: absolute;
    top: 0;
    left: clamp(24px, 4vw, 58px);
    right: clamp(24px, 4vw, 58px);
    height: 4px;
    background: linear-gradient(90deg, var(--brass), var(--ruby), var(--petrol));
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(22px, 4vw, 58px);
    align-items: center;
    padding: clamp(18px, 3vw, 34px) 0 clamp(34px, 5vw, 64px);
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    min-width: 0;
}

.hero-record {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
}

.hero-record::before {
    content: "";
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    filter: blur(24px);
    transform: translateY(18px);
}

.hero-record-disc {
    position: relative;
    display: grid;
    width: min(100%, 360px);
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fff0c6 0 3.2%, #14100e 3.4% 5.6%, #e5b45b 5.8% 18%, #9a332f 18.3% 25%, #151211 25.4% 28%, transparent 28.4%),
        repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.22) 0 1px, rgba(0, 0, 0, 0.92) 2px 8px),
        conic-gradient(from 24deg, rgba(255, 255, 255, 0.28), transparent 8%, rgba(255, 255, 255, 0.08) 18%, transparent 32%, rgba(255, 255, 255, 0.22), transparent 58%, rgba(255, 255, 255, 0.1), transparent 82%),
        radial-gradient(circle at center, #191919 0, #060606 70%, #000 100%);
    box-shadow:
        inset 0 0 42px rgba(255, 255, 255, 0.1),
        inset 0 0 96px rgba(0, 0, 0, 0.9),
        0 24px 58px rgba(0, 0, 0, 0.48);
    animation: recordSpin 6.5s linear infinite;
}

.hero-record-disc::before,
.hero-record-disc::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-record-disc::before {
    inset: 9%;
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: inset 0 0 0 28px rgba(255, 255, 255, 0.015);
}

.hero-record-disc::after {
    inset: 36%;
    border: 1px solid rgba(0, 0, 0, 0.32);
    background:
        radial-gradient(circle at center, rgba(0, 0, 0, 0.34) 0 10%, transparent 10.5%),
        linear-gradient(145deg, rgba(255, 238, 190, 0.22), transparent);
}

.hero-record-disc span {
    position: relative;
    z-index: 1;
    color: #20130d;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32);
}

@keyframes recordSpin {
    from {
        transform: rotate(-36deg);
    }

    to {
        transform: rotate(324deg);
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: #ffd078;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.25;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--brass), var(--copper));
}

h1,
h2 {
    margin: 0;
    color: var(--cream);
    font-family: "Fraunces", Georgia, serif;
    line-height: 1;
}

h1 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    color: #fff8e9;
    font-size: clamp(3.4rem, 9vw, 7rem);
    font-weight: 850;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

.subtitle {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--cream-soft);
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
}

.intro {
    display: grid;
    gap: 18px;
    max-width: 900px;
    padding: clamp(34px, 5vw, 62px) 0;
}

.intro p {
    margin: 0;
    color: rgba(255, 243, 220, 0.88);
}

.intro p:first-child {
    color: #fff7e8;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.35;
}

.info-section,
.registration {
    padding: clamp(32px, 5vw, 58px) 0;
    border-top: 1px solid var(--line);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 15px;
    align-items: center;
    justify-content: center;
    min-height: 168px;
    padding: 24px 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 224, 169, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 243, 220, 0.12), rgba(255, 243, 220, 0.045)),
        rgba(9, 8, 7, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
}

.info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--brass), var(--petrol)) 1;
    opacity: 0.8;
    pointer-events: none;
}

.info-card i {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(255, 224, 169, 0.42);
    border-radius: 50%;
    color: var(--ink);
    background: linear-gradient(145deg, #ffe0a0, var(--brass) 48%, var(--copper));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
    font-size: 1.05rem;
}

.info-card h2 {
    margin-bottom: 7px;
    color: #ffd078;
    font-family: "Source Sans 3", system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.info-card p {
    margin: 0;
    color: #fff4df;
    font-weight: 800;
    line-height: 1.32;
}

.info-card a {
    position: relative;
    z-index: 1;
    color: #fff4df;
    text-decoration: none;
}

.info-card a:hover,
.info-card a:focus {
    color: #fff4df;
    text-decoration: underline;
}

.calendar-button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 26px;
    border: 1px solid rgba(255, 224, 169, 0.34);
    border-radius: 8px;
    color: #130f0b;
    background:
        linear-gradient(135deg, #ffe0a0 0%, var(--brass) 48%, var(--copper) 100%);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.calendar-button {
    display: flex;
    width: fit-content;
    margin: 26px auto 0;
}

.calendar-button:hover,
.calendar-button:focus,
button:hover,
button:focus {
    color: #080604;
    text-decoration: none;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.section-heading {
    margin-bottom: 22px;
}

.feedback-anchor {
    scroll-margin-top: 28px;
}

.section-heading h2 {
    color: #fff8e9;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.message {
    margin: 0 0 18px;
    padding: 15px 17px;
    border-radius: 8px;
    font-weight: 800;
}

.message p {
    margin: 0;
}

.message p + p {
    margin-top: 6px;
}

.message-success {
    color: #102415;
    background: linear-gradient(135deg, rgba(206, 236, 208, 0.96), rgba(153, 213, 176, 0.92));
    border: 1px solid rgba(188, 236, 197, 0.38);
}

.message-error {
    color: #fff1e9;
    background: linear-gradient(135deg, rgba(143, 47, 53, 0.82), rgba(92, 29, 34, 0.92));
    border: 1px solid rgba(255, 195, 173, 0.28);
}

.form-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(180px, 0.8fr));
    gap: 16px;
    align-items: end;
}

label {
    display: grid;
    gap: 8px;
    min-width: 0;
    color: #ffdca0;
    font-weight: 900;
}

input,
select {
    width: 100%;
    min-height: 56px;
    border: 1px solid rgba(255, 224, 169, 0.28);
    border-radius: 8px;
    padding: 0 15px;
    color: #fff8e9;
    background: rgba(5, 5, 5, 0.54);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font: inherit;
}

select {
    color-scheme: dark;
}

input:focus,
select:focus {
    outline: 3px solid rgba(213, 163, 78, 0.26);
    border-color: #ffd078;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.registrations-list {
    margin-top: 38px;
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.registrations-list h3 {
    margin: 0 0 18px;
    color: #fff8e9;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1;
}

.registrations-empty {
    margin: 0;
    color: rgba(255, 243, 220, 0.82);
    font-weight: 800;
}

.registrations-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 224, 169, 0.22);
    border-radius: 8px;
    background: rgba(5, 5, 5, 0.36);
}

.registrations-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    color: #fff4df;
}

.registrations-table th,
.registrations-table td {
    padding: 13px 15px;
    border-bottom: 1px solid rgba(255, 224, 169, 0.14);
    text-align: left;
    white-space: nowrap;
}

.registrations-table th {
    color: #ffd078;
    background: rgba(255, 243, 220, 0.08);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.registrations-table tbody tr:last-child td {
    border-bottom: 0;
}

.registrations-table td:nth-child(3),
.registrations-table td:nth-child(4) {
    text-align: center;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-record {
        justify-self: center;
        width: min(76vw, 340px);
        margin-top: 4px;
    }

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

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    body {
        font-size: 16px;
    }

    .page-shell {
        width: min(100% - 20px, 1200px);
        margin: 25px auto;
        padding: 20px;
    }

    .page-shell::after {
        left: 20px;
        right: 20px;
    }

    .hero-record {
        width: min(82vw, 300px);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        min-height: 0;
    }

    .calendar-button,
    button {
        width: 100%;
    }
}

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

    .vinyl {
        animation: none;
    }
}
