@font-face {
    font-family: "Advercase";
    src: url("assets/aquilea/fonts/advercase-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Advercase";
    src: url("assets/aquilea/fonts/advercase-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Druk Cond";
    src: url("assets/aquilea/fonts/druk-cond-super.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #050505;
    --ink: #15100f;
    --red: #c9231b;
    --cream: #f5efdf;
    --paper: #fff9e9;
    --smoke: #b8ada0;
    --line: rgba(245, 239, 223, 0.17);
    --max: 1180px;
}

* {
    box-sizing: border-box;
    letter-spacing: 0 !important;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--black);
    color: var(--cream);
    font-family: "Advercase", Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 85% 4%, rgba(201, 35, 27, 0.22), transparent 29%),
        radial-gradient(circle at 8% 75%, rgba(201, 35, 27, 0.12), transparent 26%),
        var(--black);
}

.event-noise {
    position: fixed;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    opacity: 0.16;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.hidden {
    display: none !important;
}

.event-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    width: min(calc(100% - 32px), var(--max));
    min-height: 78px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.86);
    backdrop-filter: blur(16px);
}

.event-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.event-brand img {
    width: 72px;
    height: 46px;
    object-fit: contain;
}

.event-header nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
}

.event-header nav a {
    color: var(--smoke);
    text-decoration: none;
}

.event-header nav a:hover {
    color: var(--cream);
}

.event-account-btn,
.event-back-btn,
.event-text-btn {
    border: 0;
    background: transparent;
    color: var(--cream);
    cursor: pointer;
    font-weight: 700;
}

.event-account-btn {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--red);
    border-radius: 999px;
    color: var(--red);
}

main {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
    padding: 64px 0 100px;
}

.events-home,
.events-list-section,
.my-passes-section {
    display: grid;
    gap: 28px;
}

.events-home {
    gap: 74px;
}

.events-hero {
    display: flex;
    align-items: end;
    min-height: 280px;
    padding: 48px;
    border: 1px solid var(--line);
    background:
        linear-gradient(110deg, transparent 0 52%, rgba(201, 35, 27, 0.82) 52% 52.8%, transparent 52.8%),
        repeating-linear-gradient(90deg, transparent 0 69px, rgba(245, 239, 223, 0.025) 70px),
        #0c0908;
    box-shadow: 14px 14px 0 var(--red);
}

.event-kicker {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.events-hero h1,
.event-poster-card h1 {
    margin: 12px 0 0;
    font-family: "Druk Cond", Impact, sans-serif;
    font-size: clamp(84px, 12vw, 162px);
    font-weight: 900;
    line-height: 0.72;
    text-transform: uppercase;
}

.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
}

.section-title-row h2 {
    margin: 6px 0 0;
    font-family: "Druk Cond", Impact, sans-serif;
    font-size: clamp(46px, 6vw, 74px);
    line-height: 0.85;
    text-transform: uppercase;
}

.section-count {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid var(--red);
    border-radius: 50%;
    color: var(--red);
    font-weight: 700;
}

.events-grid,
.passes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.event-card,
.mini-pass-card {
    position: relative;
    display: grid;
    min-height: 320px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #100c0b;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.event-card::after {
    content: attr(data-index);
    position: absolute;
    right: -5px;
    bottom: -35px;
    color: rgba(201, 35, 27, 0.12);
    font-family: "Druk Cond", Impact, sans-serif;
    font-size: 190px;
    line-height: 1;
}

.event-card.is-sold-out {
    border-color: rgba(201, 35, 27, 0.72);
}

.event-card-sold-out {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    padding: 6px 18px 2px;
    transform: translate(-50%, -50%) rotate(-9deg);
    border: 5px solid var(--red);
    color: var(--red);
    font-family: "Druk Cond", Impact, sans-serif;
    font-size: clamp(62px, 7vw, 92px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px #100c0b;
    box-shadow: 0 0 0 3px #100c0b;
    pointer-events: none;
}

.event-card:hover,
.mini-pass-card:hover {
    z-index: 1;
    transform: translateY(-5px);
    border-color: var(--red);
    background: #17100f;
}

.event-card-top,
.event-card-bottom,
.mini-pass-top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.event-card-bottom {
    align-items: flex-end;
    align-self: end;
}

.event-card-date {
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.event-card-capacity,
.event-card-state {
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--smoke);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.event-card h3,
.mini-pass-card h3 {
    position: relative;
    z-index: 1;
    margin: 36px 0 12px;
    font-family: "Druk Cond", Impact, sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 0.84;
    text-transform: uppercase;
}

.event-card p,
.mini-pass-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--smoke);
    line-height: 1.45;
}

.event-card-arrow {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: var(--cream);
    font-size: 20px;
}

.mini-pass-card {
    min-height: 230px;
    background: var(--paper);
    color: var(--ink);
}

.mini-pass-card p {
    color: #6b625a;
}

.mini-pass-card h3 {
    margin-top: 22px;
    font-size: 48px;
}

.mini-pass-badge {
    padding: 5px 8px;
    background: var(--red);
    color: var(--paper);
    font-size: 10px;
    font-weight: 700;
}

.event-loading,
.event-empty-state {
    grid-column: 1 / -1;
    padding: 32px;
    border: 1px dashed rgba(245, 239, 223, 0.28);
    color: var(--smoke);
    text-align: center;
}

.event-detail {
    display: grid;
    gap: 22px;
}

.event-detail-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.event-back-btn {
    justify-self: start;
    padding: 0;
    color: var(--smoke);
}

.event-share-btn {
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid var(--red);
    border-radius: 999px;
    background: transparent;
    color: var(--red);
    cursor: pointer;
    font-weight: 700;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
    gap: 24px;
    align-items: start;
}

.event-poster-card,
.event-action-card {
    border: 1px solid var(--line);
    background: #0f0b0a;
}

.event-poster-card {
    position: sticky;
    top: 102px;
    min-height: 660px;
    padding: 38px;
    overflow: hidden;
    background:
        linear-gradient(145deg, transparent 0 66%, rgba(201, 35, 27, 0.88) 66% 67%, transparent 67%),
        repeating-linear-gradient(0deg, transparent 0 68px, rgba(245, 239, 223, 0.025) 69px),
        #0f0b0a;
}

.event-poster-status {
    display: inline-flex;
    padding: 7px 10px;
    border: 1px solid var(--red);
    border-radius: 999px;
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
}

.event-sold-out-banner {
    position: absolute;
    z-index: 3;
    top: 46%;
    left: 50%;
    padding: 8px 26px 2px;
    transform: translate(-50%, -50%) rotate(-8deg);
    border: 7px solid var(--red);
    color: var(--red);
    font-family: "Druk Cond", Impact, sans-serif;
    font-size: clamp(96px, 13vw, 180px);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: 0.015em;
    text-shadow: 0 0 28px #0f0b0a;
    box-shadow: 0 0 0 5px #0f0b0a;
    pointer-events: none;
}

.event-poster-copy {
    margin: 110px 0 58px;
}

.event-poster-card h1 {
    max-width: 720px;
    font-size: clamp(72px, 9vw, 132px);
    overflow-wrap: anywhere;
}

.event-poster-copy p {
    max-width: 620px;
    margin: 24px 0 0;
    color: #d3c9bc;
    font-size: 20px;
    line-height: 1.35;
}

.event-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    background: var(--line);
}

.event-facts div {
    padding: 16px;
    background: #0f0b0a;
}

.event-facts dt {
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.event-facts dd {
    margin: 7px 0 0;
    font-weight: 700;
    line-height: 1.3;
}

.event-description {
    margin-top: 30px;
    color: #cfc4b7;
    white-space: pre-line;
    line-height: 1.6;
}

.event-action-card {
    padding: 28px;
    background: var(--paper);
    color: var(--ink);
}

.event-login-card,
.registration-form,
.pass-card {
    display: grid;
    gap: 20px;
}

.event-login-card h2,
.registration-form h2 {
    margin: 0;
    font-family: "Druk Cond", Impact, sans-serif;
    font-size: 54px;
    line-height: 0.9;
    text-transform: uppercase;
}

.event-login-card p,
.registration-form p {
    margin: 0;
    color: #635a53;
    line-height: 1.5;
}

.event-login-card small {
    color: #756b63;
    text-align: center;
}

.step-number {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: var(--paper);
    font-weight: 700;
}

.event-primary-btn,
.event-secondary-btn {
    display: inline-flex;
    min-height: 52px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--ink);
    border-radius: 0;
    cursor: pointer;
    font-weight: 700;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.event-primary-btn {
    background: var(--red);
    color: var(--paper);
}

.event-secondary-btn {
    background: transparent;
    color: var(--ink);
}

.event-primary-btn:hover,
.event-secondary-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0 var(--ink);
}

.event-primary-btn:disabled {
    cursor: progress;
    opacity: 0.65;
}

.google-dot {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--paper);
    color: #4285f4;
    font-weight: 700;
}

.form-intro {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(21, 16, 15, 0.16);
}

.registration-form label,
.custom-fields label {
    display: grid;
    gap: 7px;
}

.registration-form label > span,
.custom-fields label > span {
    font-size: 12px;
    font-weight: 700;
}

.registration-form input,
.registration-form textarea,
.registration-form select {
    width: 100%;
    min-height: 50px;
    padding: 11px 12px;
    border: 1px solid rgba(21, 16, 15, 0.48);
    border-radius: 0;
    outline: none;
    background: #fffdf6;
    color: var(--ink);
}

.registration-form textarea {
    min-height: 110px;
    resize: vertical;
}

.registration-form input:focus,
.registration-form textarea:focus,
.registration-form select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(201, 35, 27, 0.12);
}

.registration-form input[readonly] {
    background: #e9e2d5;
    color: #655d57;
}

.custom-fields {
    display: grid;
    gap: 18px;
}

.event-checkbox-field {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid rgba(21, 16, 15, 0.25);
}

.event-checkbox-field input {
    width: 20px;
    min-height: 20px;
    margin: 0;
}

.registration-status {
    padding: 10px 12px;
    border: 1px solid var(--ink);
    background: #f8ddb6;
    font-weight: 700;
}

.registration-status.error {
    background: #ffd8d1;
    color: #8d1711;
}

.invitation-sheet {
    position: relative;
    display: grid;
    min-height: 620px;
    gap: 24px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(56, 43, 34, 0.62);
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.9), transparent 24%),
        radial-gradient(circle at 86% 72%, rgba(125, 82, 53, 0.1), transparent 32%),
        linear-gradient(105deg, #f8efd9, #fffaf0 48%, #eadcc2);
    box-shadow: 9px 11px 0 rgba(21, 16, 15, 0.92);
    isolation: isolate;
}

.invitation-sheet > *:not(.invitation-grain) {
    position: relative;
    z-index: 1;
}

.invitation-grain {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.24;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='film'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.68' numOctaves='4' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23film)' opacity='.28'/%3E%3C/svg%3E");
}

.invitation-letterhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(56, 43, 34, 0.42);
}

.invitation-letterhead img {
    width: 74px;
    height: 48px;
    object-fit: contain;
}

.invitation-letterhead span {
    color: #6f5848;
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 700;
    text-transform: uppercase;
}

.invitation-copy {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 220px;
    text-align: center;
}

.registration-form .invitation-copy p {
    color: #7b6656;
    font-size: 14px;
    font-weight: 700;
}

.invitation-copy > strong {
    margin-top: 8px;
    color: var(--red);
    font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive;
    font-size: clamp(34px, 5.5vw, 54px);
    font-weight: 500;
    line-height: 1;
    transform: rotate(-2deg);
}

.invitation-event-preposition {
    margin: 22px 0 -14px;
    color: #7b6656;
    font-family: "Advercase", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.registration-form h2.invitation-event-name {
    max-width: 100%;
    margin: 28px 0 0;
    color: var(--ink);
    font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive;
    font-size: clamp(46px, 7vw, 74px);
    font-style: italic;
    font-weight: 500;
    line-height: 0.92;
    text-transform: none;
    overflow-wrap: anywhere;
}

.invitation-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid rgba(56, 43, 34, 0.42);
    border-bottom: 1px solid rgba(56, 43, 34, 0.42);
    color: #59483c;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.invitation-questions {
    display: grid;
    gap: 14px;
}

.registration-form .invitation-questions > p {
    color: var(--ink);
    font-weight: 700;
}

.invitation-seal {
    display: grid;
    justify-items: center;
    justify-self: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--red);
    cursor: pointer;
}

.invitation-seal-face {
    position: relative;
    display: grid;
    width: 116px;
    height: 116px;
    place-items: center;
    overflow: hidden;
    border: 2px solid #7f120e;
    border-radius: 49% 51% 48% 52% / 52% 47% 53% 48%;
    background:
        radial-gradient(circle at 31% 23%, rgba(255, 145, 116, 0.46), transparent 18%),
        radial-gradient(circle at 68% 73%, rgba(104, 5, 3, 0.36), transparent 42%),
        conic-gradient(from 18deg, #c81f18, #ed2f23 13%, #ad130f 31%, #dd291f 52%, #9d100d 72%, #e52b20 88%, #bd1914);
    box-shadow:
        inset 5px 6px 9px rgba(255, 105, 77, 0.28),
        inset -7px -9px 12px rgba(83, 5, 2, 0.42),
        inset 0 0 0 5px rgba(112, 10, 7, 0.28),
        0 7px 0 #72100d,
        0 13px 22px rgba(69, 29, 20, 0.38);
    transform: rotate(-7deg);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.invitation-seal-face::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0.44;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='wax'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.42' numOctaves='4' seed='17'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23wax)' opacity='.7'/%3E%3C/svg%3E");
}

.invitation-seal-face::after {
    content: "";
    position: absolute;
    inset: 13px;
    border: 1px dashed rgba(255, 249, 233, 0.72);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(91, 8, 5, 0.22), inset 0 0 0 2px rgba(255, 119, 91, 0.1);
}

.invitation-seal-face img {
    position: relative;
    z-index: 2;
    width: 74px;
    filter: saturate(0) brightness(4);
}

.invitation-seal:hover .invitation-seal-face {
    transform: rotate(-3deg) translateY(-4px);
    box-shadow: 0 10px 0 #79120e, 0 16px 26px rgba(69, 29, 20, 0.32);
}

.invitation-seal:active .invitation-seal-face,
.invitation-seal.is-stamping .invitation-seal-face {
    animation: invitation-stamp 620ms cubic-bezier(0.22, 0.8, 0.34, 1) both;
}

.invitation-seal:disabled {
    cursor: progress;
}

.registration-form p.invitation-account {
    color: #75685d;
    font-size: 10px;
    text-align: center;
}

@keyframes invitation-stamp {
    0% { transform: rotate(-7deg) translateY(0) scale(1); }
    42% { transform: rotate(-7deg) translateY(8px) scale(0.92); box-shadow: 0 1px 0 #79120e, 0 3px 5px rgba(69, 29, 20, 0.28); }
    100% { transform: rotate(-9deg) translateY(0) scale(1); }
}

.form-footnote {
    font-size: 12px;
    text-align: center;
}

.pass-success {
    padding: 10px;
    background: var(--red);
    color: var(--paper);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.pass-ticket {
    position: relative;
    display: grid;
    justify-items: center;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--ink);
    background: #fffdf6;
    box-shadow: 8px 8px 0 var(--ink);
}

.pass-ticket::before,
.pass-ticket::after {
    content: "";
    position: absolute;
    top: 58%;
    width: 24px;
    height: 24px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
}

.pass-ticket::before { left: -13px; }
.pass-ticket::after { right: -13px; }

.pass-ticket-head {
    display: flex;
    width: 100%;
    gap: 12px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(21, 16, 15, 0.38);
}

.pass-ticket-head img {
    width: 64px;
}

.pass-ticket-head span,
.pass-ticket-head strong {
    display: block;
}

.pass-ticket-head span {
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
}

.pass-ticket-head strong {
    margin-top: 3px;
    font-family: "Druk Cond", Impact, sans-serif;
    font-size: 28px;
    line-height: 0.9;
    text-transform: uppercase;
}

.pass-qr {
    display: grid;
    width: 232px;
    height: 232px;
    margin: 25px 0 18px;
    place-items: center;
    border: 10px solid #fff;
    background: #fff;
}

.pass-qr img,
.pass-qr canvas {
    width: 212px !important;
    height: 212px !important;
}

.pass-name {
    font-size: 20px;
}

.pass-ticket code {
    margin: 7px 0 20px;
    color: var(--red);
    font-weight: 700;
}

.pass-meta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    padding-top: 15px;
    border-top: 1px dashed rgba(21, 16, 15, 0.38);
    color: #5d554e;
    font-size: 12px;
    font-weight: 700;
}

.pass-card > p {
    margin: 0;
    color: #635a53;
    text-align: center;
    line-height: 1.5;
}

.pass-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.event-text-btn {
    color: #6d635b;
    text-decoration: underline;
}

footer {
    display: flex;
    width: min(calc(100% - 32px), var(--max));
    min-height: 110px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    color: var(--smoke);
    font-size: 13px;
}

footer strong {
    color: var(--red);
}

.event-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    max-width: min(380px, calc(100vw - 36px));
    padding: 13px 16px;
    border: 1px solid var(--cream);
    background: var(--red);
    color: var(--paper);
    box-shadow: 5px 5px 0 var(--cream);
    font-weight: 700;
}

@media (max-width: 900px) {
    .event-header nav > a {
        display: none;
    }

    main {
        padding-top: 34px;
    }

    .events-hero,
    .event-detail-grid {
        grid-template-columns: 1fr;
    }

    .events-hero {
        min-height: 260px;
        padding: 32px;
    }

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

    .event-poster-card {
        position: relative;
        top: 0;
        min-height: 560px;
    }
}

@media (max-width: 620px) {
    .event-header,
    main,
    footer {
        width: calc(100% - 24px);
    }

    .event-header {
        min-height: 68px;
    }

    .event-brand img {
        width: 58px;
    }

    .event-brand span {
        display: none;
    }

    .event-account-btn {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .events-home {
        gap: 52px;
    }

    .events-hero {
        min-height: 220px;
        padding: 22px;
        box-shadow: 7px 7px 0 var(--red);
    }

    .events-hero h1 {
        font-size: clamp(72px, 25vw, 110px);
    }

    .events-grid,
    .passes-grid,
    .pass-actions {
        grid-template-columns: 1fr;
    }

    .event-card {
        min-height: 280px;
    }

    .event-poster-card,
    .event-action-card {
        padding: 22px;
    }

    .event-action-card {
        order: -1;
    }

    .event-detail-toolbar {
        align-items: flex-start;
    }

    .event-share-btn {
        min-height: 36px;
        padding-inline: 12px;
        font-size: 12px;
    }

    .event-poster-card {
        min-height: 510px;
    }

    .event-poster-copy {
        margin: 78px 0 42px;
    }

    .event-poster-card h1 {
        font-size: clamp(64px, 21vw, 96px);
    }

    .event-sold-out-banner {
        border-width: 5px;
        font-size: clamp(76px, 24vw, 112px);
    }

    .event-facts {
        grid-template-columns: 1fr;
    }

    .pass-ticket {
        padding: 18px;
        box-shadow: 5px 5px 0 var(--ink);
    }

    .invitation-sheet {
        min-height: 560px;
        padding: 20px;
        box-shadow: 5px 6px 0 rgba(21, 16, 15, 0.92);
    }

    .invitation-copy {
        min-height: 190px;
    }

    .registration-form h2.invitation-event-name {
        font-size: clamp(42px, 15vw, 64px);
    }

    .invitation-meta {
        display: grid;
        justify-content: center;
        text-align: center;
    }

    .pass-qr {
        width: 218px;
        height: 218px;
    }

    .pass-qr img,
    .pass-qr canvas {
        width: 198px !important;
        height: 198px !important;
    }

    footer {
        display: grid;
        justify-content: start;
        padding: 28px 0;
    }
}
