:root {
    --primary: #07515c;
    --secondary: #f57920;
    --accent: #111111;
    --paper: #f2eee7;
    --white: #ffffff;
    --ink: #102f34;
    --muted: #686159;
    --line: rgba(16, 47, 52, 0.13);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    overflow-x: hidden;
    background: #063740;
    color: var(--accent);
    font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
    font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

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

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

a {
    color: inherit;
}

.festival-page,
.check-shell,
.verify-shell,
.ticket-shell {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: #063740;
}

.festival-page::before,
.check-shell::before,
.verify-shell::before,
.ticket-shell::before {
    content: "";
    position: fixed;
    z-index: -2;
    inset: 0;
    background: #063740;
    pointer-events: none;
}

.festival-bg {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.festival-bg::before,
.festival-bg::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.19);
    border-radius: 50%;
}

.festival-bg::before {
    width: 520px;
    height: 260px;
    top: 24px;
    left: -190px;
    transform: rotate(-15deg);
}

.festival-bg::after {
    width: 630px;
    height: 300px;
    top: 28px;
    right: -250px;
    transform: rotate(17deg);
}

.festival-wrap,
.check-stack,
.verify-stack,
.ticket-stack {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
}

.festival-wrap {
    max-width: 1240px;
    padding: 24px clamp(18px, 3vw, 36px) 44px;
}

.festival-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    gap: 24px;
    margin-bottom: 24px;
}

.brand-lockup {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    min-width: 0;
    text-decoration: none;
}

.brand-lockup img {
    width: clamp(210px, 23vw, 290px);
    height: auto;
    max-height: 66px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.24));
}

.event-lockup {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    gap: 16px;
    color: var(--white);
    text-align: right;
}

.event-lockup span {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.event-lockup small {
    color: #ffd0ae;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.event-lockup b {
    font-family: "Bricolage Grotesque", Montserrat, sans-serif;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: 0;
}

.event-lockup strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.festival-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    align-items: start;
    width: 100%;
    min-width: 0;
    gap: clamp(24px, 3vw, 38px);
}

.festival-grid > *,
.registration-column,
.poster-panel,
.registration-panel,
.event-form,
.field,
.select-shell {
    min-width: 0;
}

.poster-panel {
    position: sticky;
    top: 20px;
    width: 100%;
}

.poster-frame {
    position: relative;
    width: 100%;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow);
}

.poster-frame::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 24px;
    right: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.82);
}

.poster-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    object-fit: cover;
    background: var(--paper);
}

.poster-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    gap: 12px;
    margin-top: 14px;
}

.poster-caption span,
.poster-caption b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.poster-caption span {
    overflow-wrap: anywhere;
}

.poster-caption b {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.16);
}

.registration-column {
    display: grid;
    width: 100%;
    gap: 20px;
}

.event-intro {
    width: 100%;
    padding: 6px 12px 2px;
    color: var(--white);
    text-align: center;
}

.event-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.event-eyebrow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.event-eyebrow span:first-child {
    border-color: var(--secondary);
    background: var(--secondary);
    color: #17120e;
}

.event-intro h1,
.check-intro h1 {
    margin: 0 auto;
    color: var(--white);
    font-family: "Bricolage Grotesque", Montserrat, sans-serif;
    font-size: clamp(50px, 5.3vw, 76px);
    font-weight: 800;
    line-height: 0.93;
    letter-spacing: 0;
    text-align: center;
    text-wrap: balance;
    text-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.event-intro .lead,
.check-intro > p {
    max-width: 650px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.registration-panel,
.check-card,
.ticket-card {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(242, 238, 231, 0.98);
    box-shadow: var(--shadow);
}

.registration-panel {
    padding: clamp(22px, 3vw, 32px);
    overflow: hidden;
    border-radius: 30px;
}

.registration-panel > .event-eyebrow,
.registration-panel > h1,
.registration-panel > .lead {
    display: none;
}

.panel-actions,
.ticket-utility {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 10px;
}

.panel-actions {
    margin-bottom: 22px;
}

.panel-actions a,
.ticket-utility a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(7, 81, 92, 0.16);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(16, 47, 52, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.panel-actions a.solid,
.ticket-utility a.solid {
    border-color: var(--secondary);
    background: var(--secondary);
    color: #17120e;
    box-shadow: 0 16px 32px rgba(245, 121, 32, 0.24);
}

.panel-actions a:hover,
.ticket-utility a:hover,
.back-link:hover {
    transform: translateY(-1px);
}

.verification-promise {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 13px;
    margin-bottom: 18px;
    padding: 15px 16px;
    border: 1px solid rgba(7, 81, 92, 0.14);
    border-radius: 19px;
    background: #fffaf2;
    box-shadow: 0 12px 30px rgba(16, 47, 52, 0.06);
}

.verification-promise-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(7, 81, 92, 0.2);
}

.verification-promise-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.verification-promise > span:last-child {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.verification-promise b {
    color: var(--ink);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.35;
}

.verification-promise small {
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.5;
}

.event-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 12px;
    margin: 0 0 24px;
}

.event-meta .meta-card {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 134px;
    gap: 11px;
    padding: 18px 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fffaf2;
    text-align: center;
    box-shadow: 0 14px 36px rgba(16, 47, 52, 0.07);
}

.event-meta .meta-card::before {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -64px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(245, 121, 32, 0.13);
}

.meta-icon,
.check-card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 13px 25px rgba(7, 81, 92, 0.2);
}

.event-meta .meta-card:nth-child(2) .meta-icon {
    background: var(--secondary);
    color: #17120e;
    box-shadow: 0 13px 25px rgba(245, 121, 32, 0.22);
}

.meta-icon svg,
.check-card-icon svg,
.check-benefits svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.meta-copy {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    min-width: 0;
    gap: 6px;
}

.event-meta small,
.check-card-head small,
.info-item small {
    color: #9a501c;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.event-meta b {
    display: block;
    max-width: 100%;
    color: #17120e;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
}

.event-form,
.check-form {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 14px;
}

.field {
    display: grid;
    width: 100%;
    gap: 8px;
}

.field label {
    color: #27211d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.control {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 0 17px;
    border: 1.5px solid #d9d0c5;
    border-radius: 17px;
    outline: none;
    background: #fffaf2;
    color: #171717;
    font-size: 14px;
    font-weight: 800;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.control::placeholder {
    color: #88827a;
    opacity: 1;
}

.control:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(7, 81, 92, 0.12);
}

textarea.control {
    min-height: 118px;
    padding: 16px;
    resize: vertical;
}

.select-shell {
    position: relative;
    width: 100%;
}

.ticket-select {
    padding-right: 60px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--primary);
    pointer-events: none;
    transform: translateY(-50%);
    box-shadow: 0 9px 18px rgba(7, 81, 92, 0.18);
}

.select-arrow::after {
    content: "";
    position: absolute;
    top: 46%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: translate(-50%, -50%) rotate(45deg);
}

.privacy-check {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 14px;
    padding: 17px 18px;
    border: 1px solid rgba(7, 81, 92, 0.13);
    border-radius: 19px;
    background: var(--white);
    color: #554e47;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.48;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(16, 47, 52, 0.06);
}

.privacy-check input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.checkmark {
    position: relative;
    display: block;
    align-self: center;
    width: 34px;
    height: 34px;
    margin: 0;
    border: 2px solid #c8c0b6;
    border-radius: 11px;
    background: #fffaf2;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.privacy-check input:focus-visible + .checkmark {
    outline: 3px solid rgba(7, 81, 92, 0.2);
    outline-offset: 2px;
}

.privacy-check input:checked + .checkmark {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 9px 20px rgba(7, 81, 92, 0.22);
}

.privacy-check input:checked + .checkmark::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 10px;
    width: 8px;
    height: 15px;
    border-right: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(42deg);
}

.privacy-copy {
    display: block;
    min-width: 0;
    padding: 0;
    overflow-wrap: anywhere;
}

.privacy-check a {
    color: var(--primary);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding: 0 18px;
    border: 0;
    border-radius: 18px;
    background: var(--secondary);
    color: #17120e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(245, 121, 32, 0.27);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(245, 121, 32, 0.34);
}

.microcopy,
.back-link {
    margin: 0;
    color: #777067;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    color: var(--primary);
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease;
}

.form-alert {
    width: 100%;
    margin: 0 0 14px;
    padding: 14px 15px;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    background: #ecfdf5;
    color: #166534;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.form-alert.error {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #9f1239;
}

.form-alert.success {
    border-color: #bbf7d0;
    background: #ecfdf5;
    color: #166534;
}

.form-alert.info {
    border-color: #bae6fd;
    background: #f0f9ff;
    color: #075985;
}

/* Check ticket */
.check-shell {
    padding: 24px clamp(18px, 3vw, 36px) 44px;
}

.check-stack {
    max-width: 1120px;
}

.app-nav {
    margin-bottom: clamp(36px, 7vh, 78px);
}

.check-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: clamp(34px, 6vw, 76px);
}

.check-layout > * {
    min-width: 0;
}

.check-intro {
    padding: 12px 0;
}

.check-intro .event-eyebrow {
    justify-content: flex-start;
}

.check-intro h1,
.check-intro > p {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.check-intro h1 {
    max-width: 620px;
    font-size: clamp(54px, 6.2vw, 82px);
}

.check-intro > p {
    max-width: 580px;
}

.check-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.check-benefits span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 9px;
    padding: 0 14px 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.check-benefits i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--secondary);
    color: #17120e;
}

.check-benefits svg {
    width: 17px;
    height: 17px;
}

.check-card {
    max-width: 500px;
    justify-self: end;
    padding: clamp(22px, 3vw, 30px);
    border-radius: 28px;
}

.check-card-head {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-bottom: 22px;
    text-align: center;
}

.check-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 2px;
    border-radius: 15px;
}

.check-card-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: "Bricolage Grotesque", Montserrat, sans-serif;
    font-size: clamp(38px, 4vw, 50px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.check-card-head p {
    max-width: 350px;
    margin: 2px auto 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

/* Email OTP verification */
.verify-shell {
    padding: 24px clamp(18px, 3vw, 36px) 46px;
}

.verify-stack {
    max-width: 1120px;
}

.verify-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.82fr);
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: clamp(34px, 6vw, 76px);
}

.verify-layout > * {
    min-width: 0;
}

.verify-intro {
    padding: 12px 0;
    color: var(--white);
}

.verify-intro .event-eyebrow {
    justify-content: flex-start;
}

.verify-intro h1 {
    max-width: 620px;
    margin: 0;
    color: var(--white);
    font-family: "Bricolage Grotesque", Montserrat, sans-serif;
    font-size: clamp(56px, 6.4vw, 84px);
    font-weight: 800;
    line-height: 0.93;
    letter-spacing: 0;
    text-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.verify-intro > p {
    max-width: 590px;
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

.verify-flow {
    display: grid;
    grid-template-columns: auto minmax(18px, 52px) auto minmax(18px, 52px) auto;
    align-items: center;
    max-width: 540px;
    margin-top: 28px;
}

.verify-flow > span {
    display: grid;
    justify-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
}

.verify-flow b {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    font-size: 11px;
}

.verify-flow small {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.verify-flow > i {
    height: 1px;
    margin: 0 8px 22px;
    background: rgba(255, 255, 255, 0.22);
}

.verify-flow .done,
.verify-flow .active {
    color: var(--white);
}

.verify-flow .done b {
    border-color: var(--primary);
    background: var(--primary);
}

.verify-flow .active b {
    border-color: var(--secondary);
    background: var(--secondary);
    color: #17120e;
    box-shadow: 0 10px 22px rgba(245, 121, 32, 0.25);
}

.verify-card {
    width: 100%;
    max-width: 510px;
    min-width: 0;
    justify-self: end;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    background: rgba(242, 238, 231, 0.98);
    box-shadow: var(--shadow);
}

.verify-card-head {
    display: grid;
    justify-items: center;
    gap: 7px;
    margin-bottom: 22px;
    text-align: center;
}

.verify-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 3px;
    border-radius: 16px;
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 13px 26px rgba(7, 81, 92, 0.2);
}

.verify-icon svg,
.ticket-verification-status svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.verify-card-head small {
    color: #9a501c;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.verify-card-head h2 {
    max-width: 100%;
    margin: 0;
    color: var(--ink);
    font-family: "Bricolage Grotesque", Montserrat, sans-serif;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.verify-card-head p {
    max-width: 360px;
    margin: 2px auto 0;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.58;
}

.otp-form {
    display: grid;
    gap: 12px;
}

.otp-form > label {
    color: #27211d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.otp-control {
    width: 100%;
    min-width: 0;
    min-height: 76px;
    padding: 0 18px;
    border: 1.5px solid #d9d0c5;
    border-radius: 18px;
    outline: none;
    background: var(--white);
    color: var(--ink);
    font-family: "Courier New", monospace;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0.28em;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.otp-control::placeholder {
    color: #c4bcb2;
}

.otp-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(7, 81, 92, 0.12);
}

.otp-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    padding: 0 4px;
    color: #777067;
    font-size: 10px;
    font-weight: 750;
}

.otp-timer strong {
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
}

.otp-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 12px;
    color: #82796e;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}

.otp-divider::before,
.otp-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(16, 47, 52, 0.13);
}

.resend-form {
    display: grid;
}

.resend-button {
    min-height: 48px;
    border: 1px solid rgba(7, 81, 92, 0.18);
    border-radius: 999px;
    background: var(--white);
    color: var(--primary);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.resend-button:disabled {
    color: #938c82;
    cursor: not-allowed;
    opacity: 0.72;
}

.verify-note {
    margin: 14px auto 0;
    color: #777067;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
}

/* Ticket result */
.ticket-shell {
    padding: 24px clamp(14px, 3vw, 34px) 46px;
}

.ticket-stack {
    max-width: 1020px;
}

.ticket-nav {
    margin-bottom: 16px;
}

.ticket-utility {
    max-width: 440px;
    margin-bottom: 16px;
}

.ticket-utility a {
    min-height: 44px;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 12px 28px rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ticket-utility a.solid {
    color: #17120e;
}

.ticket-card {
    padding: clamp(22px, 3vw, 32px);
    overflow: hidden;
    border-radius: 30px;
}

.ticket-success-head {
    display: grid;
    justify-items: center;
    width: 100%;
    gap: 11px;
    padding: 0 16px 24px;
    border-bottom: 2px dashed rgba(17, 17, 17, 0.16);
    text-align: center;
}

.ticket-badge,
.qr-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ticket-badge {
    min-height: 34px;
    padding: 0 16px;
    background: var(--secondary);
    color: #17120e;
    box-shadow: 0 13px 26px rgba(245, 121, 32, 0.22);
}

.ticket-verification-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(7, 81, 92, 0.14);
    border-radius: 999px;
    background: #e8f5f3;
    color: var(--primary);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ticket-verification-status svg {
    width: 16px;
    height: 16px;
}

.ticket-flash {
    margin-bottom: 20px;
}

.ticket-success-head .success-title,
.ticket-success-head .success-message {
    display: grid;
    justify-items: center;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    transform: none;
}

.ticket-success-head .success-title {
    color: var(--ink);
    font-family: "Bricolage Grotesque", Montserrat, sans-serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: 0;
}

.ticket-success-head .success-title span,
.ticket-success-head .success-message span {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.ticket-success-head .success-message {
    gap: 2px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.6;
}

.ticket-list {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 16px;
    margin-top: 22px;
}

.ticket-item {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 22px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 16px 40px rgba(16, 47, 52, 0.07);
}

.ticket-item > * {
    min-width: 0;
}

.qr-box {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 17px 13px 12px;
    border: 2px solid var(--ink);
    border-radius: 20px;
    background: var(--white);
    text-align: center;
    box-shadow: 0 12px 28px rgba(16, 47, 52, 0.08);
}

.qr-status {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    min-height: 26px;
    padding: 0 10px;
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(7, 81, 92, 0.2);
}

.qr-box img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.qr-box small {
    display: block;
    max-width: 100%;
    margin-top: 8px;
    color: #615a52;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
}

.ticket-info {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 12px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 10px;
}

.info-item {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #f8f3eb;
}

.info-item small {
    display: block;
    color: #82796e;
}

.info-item b {
    display: block;
    max-width: 100%;
    margin-top: 5px;
    color: #171717;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ticket-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
    margin-top: 18px;
}

.ticket-actions a,
.ticket-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.ticket-actions a.secondary {
    background: var(--secondary);
    color: #17120e;
}

@media (max-width: 1020px) {
    .festival-wrap {
        max-width: 740px;
    }

    .festival-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .poster-panel {
        position: relative;
        top: auto;
        max-width: 560px;
        margin: 0 auto;
    }

    .event-intro {
        max-width: 680px;
        margin: 0 auto;
    }

    .check-stack {
        max-width: 720px;
    }

    .check-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .check-intro {
        max-width: 650px;
        margin: 0 auto;
        text-align: center;
    }

    .check-intro .event-eyebrow {
        justify-content: center;
    }

    .check-intro h1,
    .check-intro > p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .check-benefits {
        justify-content: center;
    }

    .check-card {
        justify-self: center;
    }

    .verify-stack {
        max-width: 720px;
    }

    .verify-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .verify-intro {
        max-width: 660px;
        margin: 0 auto;
        text-align: center;
    }

    .verify-intro .event-eyebrow {
        justify-content: center;
    }

    .verify-intro h1,
    .verify-intro > p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .verify-flow {
        margin-left: auto;
        margin-right: auto;
    }

    .verify-card {
        justify-self: center;
    }
}

@media (max-width: 760px) {
    .ticket-item {
        grid-template-columns: minmax(0, 1fr);
    }

    .qr-box {
        max-width: 290px;
    }
}

@media (max-width: 620px) {
    .festival-page,
    .check-shell,
    .verify-shell,
    .ticket-shell {
        overflow-x: hidden;
    }

    .festival-wrap,
    .check-shell,
    .verify-shell,
    .ticket-shell {
        padding-top: max(14px, env(safe-area-inset-top));
        padding-right: max(12px, env(safe-area-inset-right));
        padding-bottom: max(28px, env(safe-area-inset-bottom));
        padding-left: max(12px, env(safe-area-inset-left));
    }

    .festival-bg::before {
        width: 320px;
        height: 160px;
        left: -170px;
        top: 8px;
    }

    .festival-bg::after {
        width: 360px;
        height: 180px;
        right: -220px;
        top: 30px;
    }

    .festival-nav {
        gap: 9px;
        margin-bottom: 16px;
    }

    .brand-lockup {
        flex: 1 1 auto;
        max-width: calc(100% - 104px);
    }

    .brand-lockup img {
        width: min(100%, 215px);
        max-height: 48px;
    }

    .event-lockup {
        flex: 0 0 auto;
        gap: 0;
    }

    .event-lockup span {
        display: none;
    }

    .event-lockup strong {
        min-height: 36px;
        padding: 0 11px;
        font-size: 8px;
        letter-spacing: 0.08em;
    }

    .poster-frame {
        padding: 7px;
        border-radius: 22px;
    }

    .poster-frame img {
        border-radius: 16px;
    }

    .poster-frame::after {
        top: 18px;
        right: 18px;
        width: 9px;
        height: 9px;
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.82);
    }

    .poster-caption {
        gap: 7px;
        margin-top: 10px;
    }

    .poster-caption span,
    .poster-caption b {
        min-height: 30px;
        padding: 0 9px;
        font-size: 7px;
        letter-spacing: 0.08em;
    }

    .registration-column {
        gap: 14px;
    }

    .event-intro {
        padding: 0 3px;
    }

    .event-eyebrow {
        gap: 6px;
        margin-bottom: 12px;
    }

    .event-eyebrow span {
        min-height: 29px;
        padding: 0 10px;
        font-size: 7.5px;
        letter-spacing: 0.09em;
    }

    .event-intro h1 {
        font-size: clamp(38px, 11vw, 46px);
        line-height: 0.95;
    }

    .event-intro .lead {
        max-width: 340px;
        margin-top: 10px;
        font-size: 11.5px;
        line-height: 1.58;
    }

    .registration-panel,
    .check-card,
    .ticket-card {
        border-radius: 23px;
    }

    .registration-panel {
        padding: 18px;
    }

    .verification-promise {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
        margin-bottom: 16px;
        padding: 14px;
        border-radius: 17px;
    }

    .verification-promise-icon {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .verification-promise b {
        font-size: 10.5px;
    }

    .verification-promise small {
        font-size: 9px;
        line-height: 1.45;
    }

    .panel-actions,
    .ticket-utility {
        gap: 8px;
    }

    .panel-actions {
        margin-bottom: 18px;
    }

    .panel-actions a,
    .ticket-utility a {
        min-height: 43px;
        padding: 0 8px;
        font-size: 8px;
        letter-spacing: 0.09em;
    }

    .event-meta {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    .event-meta .meta-card {
        min-height: 116px;
        gap: 9px;
        padding: 16px 14px;
        border-radius: 19px;
    }

    .meta-icon {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .meta-icon svg {
        width: 20px;
        height: 20px;
    }

    .event-meta b {
        max-width: 290px;
        font-size: 13px;
        line-height: 1.42;
    }

    .control {
        min-height: 56px;
        border-radius: 16px;
        font-size: 16px;
    }

    .privacy-check {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 13px;
        padding: 16px;
        border-radius: 17px;
        font-size: 10.5px;
        line-height: 1.43;
    }

    .submit-button {
        min-height: 58px;
        border-radius: 17px;
        font-size: 11px;
        letter-spacing: 0.16em;
    }

    .microcopy,
    .back-link {
        font-size: 9.5px;
    }

    .app-nav {
        margin-bottom: 32px;
    }

    .verify-layout {
        gap: 20px;
    }

    .verify-intro {
        padding: 2px 4px 0;
    }

    .verify-intro h1 {
        max-width: 360px;
        font-size: clamp(43px, 12vw, 54px);
        line-height: 0.95;
    }

    .verify-intro > p {
        max-width: 340px;
        margin-top: 11px;
        font-size: 11.5px;
        line-height: 1.58;
    }

    .verify-flow {
        grid-template-columns: auto minmax(8px, 26px) auto minmax(8px, 26px) auto;
        max-width: 350px;
        margin-top: 20px;
    }

    .verify-flow b {
        width: 30px;
        height: 30px;
        font-size: 9px;
    }

    .verify-flow small {
        max-width: 72px;
        font-size: 6.5px;
        line-height: 1.35;
        white-space: normal;
    }

    .verify-flow > i {
        margin: 0 4px 20px;
    }

    .verify-card {
        padding: 18px;
        border-radius: 23px;
    }

    .verify-card-head {
        margin-bottom: 19px;
    }

    .verify-icon {
        width: 45px;
        height: 45px;
        border-radius: 14px;
    }

    .verify-card-head h2 {
        font-size: 25px;
    }

    .verify-card-head p {
        max-width: 300px;
        font-size: 10.5px;
    }

    .otp-control {
        min-height: 70px;
        padding-left: 20px;
        font-size: 31px;
        letter-spacing: 0.23em;
    }

    .otp-form .submit-button {
        font-size: 10px;
        letter-spacing: 0.11em;
    }

    .resend-button {
        min-height: 46px;
        font-size: 8px;
    }

    .check-layout {
        gap: 22px;
    }

    .check-intro {
        padding: 2px 4px 0;
    }

    .check-intro h1 {
        max-width: 360px;
        font-size: clamp(42px, 12vw, 54px);
        line-height: 0.95;
    }

    .check-intro > p {
        max-width: 340px;
        font-size: 11.5px;
        line-height: 1.58;
    }

    .check-benefits {
        gap: 8px;
        margin-top: 18px;
    }

    .check-benefits span {
        min-height: 39px;
        padding-right: 10px;
        font-size: 7.5px;
    }

    .check-benefits i {
        width: 27px;
        height: 27px;
    }

    .check-card {
        padding: 18px;
    }

    .check-card-head {
        gap: 7px;
        margin-bottom: 19px;
    }

    .check-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .check-card-head h2 {
        font-size: 39px;
    }

    .check-card-head p {
        max-width: 300px;
        font-size: 11px;
        line-height: 1.55;
    }

    .ticket-nav {
        margin-bottom: 12px;
    }

    .ticket-utility {
        max-width: none;
        margin-bottom: 12px;
    }

    .ticket-card {
        padding: 19px;
    }

    .ticket-success-head {
        gap: 9px;
        padding: 0 0 19px;
    }

    .ticket-badge {
        min-height: 30px;
        padding: 0 13px;
        font-size: 8px;
    }

    .ticket-verification-status {
        min-height: 28px;
        font-size: 7px;
    }

    .ticket-flash {
        margin-bottom: 16px;
    }

    .ticket-success-head .success-title {
        max-width: 320px;
        font-size: clamp(33px, 10vw, 40px);
        line-height: 0.96;
    }

    .ticket-success-head .success-message {
        max-width: 310px;
        font-size: 11.5px;
        line-height: 1.55;
    }

    .ticket-list {
        gap: 13px;
        margin-top: 18px;
    }

    .ticket-item {
        gap: 15px;
        padding: 13px;
        border-radius: 20px;
    }

    .qr-box {
        max-width: 280px;
        padding: 15px 11px 11px;
        border-radius: 18px;
    }

    .qr-status {
        top: 8px;
        right: 8px;
        min-height: 24px;
        padding: 0 8px;
        font-size: 7px;
    }

    .info-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .info-item {
        padding: 11px 12px;
        border-radius: 14px;
    }

    .info-item b {
        font-size: 12px;
    }

    .ticket-actions {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-top: 14px;
    }

    .ticket-actions a,
    .ticket-actions button {
        min-height: 48px;
        font-size: 9px;
    }
}

@media (max-width: 380px) {
    .brand-lockup {
        max-width: calc(100% - 92px);
    }

    .brand-lockup img {
        width: min(100%, 185px);
    }

    .event-lockup strong {
        min-height: 34px;
        padding: 0 9px;
        font-size: 7px;
    }

    .registration-panel,
    .check-card,
    .verify-card,
    .ticket-card {
        padding: 16px;
    }

    .event-intro h1 {
        font-size: 37px;
    }

    .privacy-check {
        padding: 14px;
    }

    .ticket-success-head .success-title {
        font-size: 32px;
    }

    .otp-control {
        padding-left: 16px;
        font-size: 28px;
        letter-spacing: 0.2em;
    }
}

@media print {
    body {
        background: var(--white);
    }

    .ticket-shell {
        min-height: auto;
        padding: 0;
        overflow: visible;
        background: var(--white);
    }

    .ticket-shell::before,
    .ticket-shell .festival-bg,
    .ticket-nav,
    .ticket-utility,
    .ticket-actions {
        display: none;
    }

    .ticket-card {
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .ticket-item {
        break-inside: avoid;
        box-shadow: none;
    }
}
