:root {
    --ink: #171d2b;
    --ink-soft: #253044;
    --muted: #737c8d;
    --paper: #f8f6f1;
    --white: #fff;
    --line: #e7e2d9;
    --gold: #d3aa62;
    --gold-deep: #a77c37;
    --gold-pale: #f3ead8;
    --green: #2f725b;
    --red: #a44743;
    --shadow: 0 24px 70px rgba(27, 31, 41, .09);
    font-family: 'DM Sans', 'Segoe UI', Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(211, 170, 98, .55); outline-offset: 3px; }

.site-header { height: 82px; padding: 0 max(6.5vw, 24px); display: flex; align-items: center; justify-content: space-between; background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { width: 48px; height: 48px; display: block; object-fit: contain; }
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font-size: 11px; letter-spacing: 1.8px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 8px; letter-spacing: 2.8px; }
.site-nav { display: flex; align-items: center; gap: 38px; font-size: 12px; font-weight: 600; }
.site-nav a:not(.nav-cta) { color: #555e6d; }
.site-nav a:hover, .text-link:hover { color: var(--gold-deep); }
.nav-cta { padding: 12px 18px; border: 1px solid var(--green); border-radius: 2px; color: #fff; background: var(--green); transition: background .2s, border-color .2s; }
.nav-cta span, .button span { margin-left: 12px; color: var(--gold); }
.nav-cta span { color: #fff; }
.site-nav a.nav-cta:hover { border-color: #245d49; color: #fff; background: #245d49; }

.hero { position: relative; min-height: 628px; padding: 82px max(9.4vw, 28px) 0; overflow: hidden; color: #fff; background: var(--ink); }
.hero::before { position: absolute; top: -30%; left: 47%; width: 70vw; height: 100vw; border: 1px solid rgba(211, 170, 98, .1); border-radius: 50%; content: ''; transform: rotate(30deg); }
.hero-copy { position: relative; z-index: 2; width: min(590px, 56%); }
.eyebrow, .section-kicker { color: var(--gold-deep); font-size: 9px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; }
.hero .eyebrow { color: #e0c58f; }
.eyebrow-line { display: inline-block; width: 28px; height: 1px; margin: 0 10px 3px 0; background: var(--gold); }
.emoji-accent { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; font-style: normal; letter-spacing: normal; }
.emoji-title { font-size: .36em; vertical-align: .6em; }
.button .emoji-accent { margin-left: 0; color: inherit; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 28px 0 20px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(55px, 7.5vw, 96px); font-weight: 500; letter-spacing: -3.5px; line-height: .98; }
.hero h1 em, h2 em, .form-intro h1 em, .login-card h1 em { color: var(--gold); font-weight: 500; }
.hero-intro { width: min(100%, 440px); margin: 0; color: #bdc2cb; font-size: 14px; line-height: 1.8; text-align: left; }
.hero-intro > span { display: block; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 31px; }
.button { min-height: 46px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-size: 11px; font-weight: 700; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-1px); }
.button-gold { color: #1b202b; background: var(--gold); }
.button-gold:hover { background: #e2c17f; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #2a354a; }
.button-dark span { color: var(--gold); }
.button-outline { border-color: #d8d2c8; color: var(--ink); background: transparent; }
.button-outline:hover { border-color: var(--gold-deep); }
.button-light { color: var(--ink); background: #fff; }
.button-light:hover { background: #f4ead7; }
.closing-banner .button-light { color: #fff; background: var(--green); }
.closing-banner .button-light span { color: #fff; }
.closing-banner .button-light:hover { color: #fff; background: #245d49; }
.button-disabled { color: #858b95; background: #e9e7e2; cursor: not-allowed; }
.button-wide { width: 100%; }
.text-link { color: inherit; font-size: 11px; font-weight: 700; }
.text-link span { margin-left: 9px; color: var(--gold-deep); }
.hero .text-link { color: #e4e6ea; }
.hero-note { margin-top: 42px; color: #aeb5c0; font-size: 10px; }
.live-dot, .availability-dot { width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: #d3aa62; }
.hero .hero-note .limited-word { color: #ff8b82; }
.hero-art { position: absolute; z-index: 0; top: 50px; right: 4.5%; width: min(48vw, 570px); height: 460px; pointer-events: none; }
.art-orbit { position: absolute; top: 5%; left: 12%; width: 78%; height: 81%; border: 1px solid rgba(211, 170, 98, .25); border-radius: 50%; transform: rotate(-33deg); }
.orbit-two { top: 12%; left: 7%; width: 86%; height: 70%; border-color: rgba(255,255,255,.1); transform: rotate(35deg); }
.art-disc { position: absolute; top: 50%; left: 50%; width: 245px; height: 245px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(211,170,98,.85); border-radius: 50%; color: #f4e3bf; background: radial-gradient(circle at 46% 41%, #3c4656 0, #222b3b 46%, #111827 70%); box-shadow: 0 0 0 12px rgba(211,170,98,.03), 0 0 70px rgba(211,170,98,.12); transform: translate(-50%, -50%) rotate(-12deg); text-align: center; }
.art-disc::before, .art-disc::after { position: absolute; inset: 14px; border: 1px solid rgba(211,170,98,.22); border-radius: 50%; content: ''; }
.art-disc::after { inset: 25px; border-color: rgba(255,255,255,.06); }
.art-disc span { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(14px, 1.8vw, 21px); letter-spacing: 2px; line-height: 1.18; }
.art-disc small { margin-top: 8px; color: #d5c4a4; font-size: clamp(8px, .7vw, 10px); letter-spacing: clamp(1px, .28vw, 2px); line-height: 1.8; white-space: nowrap; }
.art-stamp { position: absolute; z-index: 2; top: 17%; right: 9%; width: 91px; height: 91px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); background: var(--ink); transform: rotate(9deg); }
.art-stamp span { font-family: 'Playfair Display', Georgia, serif; font-size: 31px; line-height: 1; }
.art-stamp small { font-size: 8px; font-weight: 700; letter-spacing: 2px; }
.art-stamp i { margin-top: 3px; font-size: 7px; font-style: normal; letter-spacing: 1px; }
.art-star { position: absolute; color: var(--gold); }
.star-one { top: 5%; left: 28%; font-size: 28px; }
.star-two { right: 2%; bottom: 20%; font-size: 34px; }
.art-caption { position: absolute; right: 4%; bottom: 13%; color: #e4d7bc; font-size: 9px; letter-spacing: 3px; line-height: 1.8; text-align: right; }
.hero-meta { position: relative; z-index: 2; margin-top: 48px; padding: 22px 0 20px; display: flex; gap: 65px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-meta div { display: flex; flex-direction: column; gap: 6px; }
.meta-label { color: #a6acb7; font-size: 8px; letter-spacing: 2px; }
.hero-meta strong { color: #f1eee8; font-size: 11px; font-weight: 500; }

.intro-section, .tickets-section { padding: 98px max(9.4vw, 28px); }
.intro-grid { margin-top: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intro-grid h2, .section-heading h2, .closing-banner h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(32px, 4vw, 49px); font-weight: 500; letter-spacing: -1px; line-height: 1.16; }
.intro-grid h2 em, .section-heading h2 em { color: var(--gold-deep); }
.intro-body > p { max-width: 490px; color: #606979; font-size: 13px; line-height: 1.9; }
.event-facts { margin-top: 28px; display: flex; gap: 27px; }
.event-facts > div { display: flex; gap: 11px; align-items: flex-start; }
.fact-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #e1d2b5; border-radius: 50%; color: var(--gold-deep); }
.event-facts b, .event-facts small { display: block; }
.event-facts b { font-size: 11px; }
.event-facts small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.5; }

.tickets-section { background: #f0ede6; }
.section-heading { margin: 18px 0 31px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.secure-note { color: #737b89; font-size: 9px; }
.secure-note span { margin-right: 6px; color: var(--gold-deep); font-size: 15px; }
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 17px; }
.ticket-card { min-height: 288px; padding: 25px; display: flex; flex-direction: column; border: 1px solid #dfdbd3; background: #fbfaf7; }
.ticket-card-featured { border-color: #d4b674; background: #fffdf8; box-shadow: 0 13px 35px rgba(54,47,34,.06); }
.ticket-card-top { display: flex; justify-content: space-between; align-items: center; }
.ticket-tag { color: var(--gold-deep); font-size: 8px; font-weight: 700; letter-spacing: 1.5px; }
.ticket-number { color: #c6c1b6; font-family: 'Playfair Display', Georgia, serif; font-size: 17px; }
.ticket-card h3 { margin: 24px 0 8px; font-family: 'Playfair Display', Georgia, serif; font-size: 25px; font-weight: 500; }
.ticket-description { min-height: 34px; margin-bottom: 14px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.ticket-price { margin-top: auto; font-family: 'Playfair Display', Georgia, serif; font-size: 30px; }
.ticket-price small { color: var(--muted); font-family: 'DM Sans', Arial, sans-serif; font-size: 9px; }
.ticket-availability { min-height: 31px; padding-top: 10px; color: #778273; font-size: 9px; }
.availability-dot { width: 6px; height: 6px; background: #5b9b76; }
.sold-out { color: var(--red); font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.ticket-card .button { margin-top: 6px; min-height: 42px; font-size: 10px; }
.payment-disclaimer { margin: 20px 0 0; color: #747b86; font-size: 9px; text-align: center; }
.empty-state { padding: 55px 25px; border: 1px dashed #cfc7b8; background: rgba(255,255,255,.42); text-align: center; }
.empty-icon { color: var(--gold-deep); font-size: 26px; }
.empty-state h3 { margin: 12px 0 8px; font-family: 'Playfair Display', Georgia, serif; font-size: 23px; font-weight: 500; }
.empty-state p { margin: 0; color: var(--muted); font-size: 11px; }
.closing-banner { min-height: 240px; padding: 50px max(9.4vw, 28px); position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; overflow: hidden; color: #fff; background: var(--ink-soft); }
.closing-banner::after { position: absolute; top: -120px; right: 16%; width: 360px; height: 360px; border: 1px solid rgba(211,170,98,.2); border-radius: 50%; content: ''; }
.closing-banner .section-kicker { color: #d7bd8c; }
.closing-banner h2 { margin-top: 13px; font-size: clamp(30px, 4vw, 43px); }
.closing-spark { position: absolute; top: 31px; left: 5%; color: var(--gold); font-size: 19px; }
.closing-banner .button { position: relative; z-index: 1; }
.site-footer { min-height: 92px; padding: 22px max(6.5vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #737b89; font-size: 9px; }
.brand-footer .brand-logo { width: 36px; height: 36px; }
.brand-footer strong { color: var(--ink); font-size: 10px; }
.brand-footer small { font-size: 7px; }
.site-footer > a:last-child { color: #4c5666; }
.flash-success { max-width: 1180px; margin: 18px auto; padding: 13px 18px; border: 1px solid #c5ddce; color: #25553f; background: #edf6ef; font-size: 12px; }

.form-page, .login-page { min-height: calc(100vh - 174px); padding: 42px max(9.4vw, 28px) 80px; }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--muted); font-size: 10px; }
.back-link:hover { color: var(--gold-deep); }
.form-layout { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(360px, 1fr); gap: clamp(35px, 8vw, 110px); align-items: start; }
.form-intro h1, .login-card h1 { margin: 18px 0 14px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(39px, 5vw, 58px); font-weight: 500; letter-spacing: -1.5px; line-height: 1.06; }
.form-intro > p, .login-card > p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.order-summary-card { margin-top: 28px; padding: 24px; border: 1px solid #e2d9c8; background: #fffdf8; }
.summary-label { color: var(--gold-deep); font-size: 8px; font-weight: 700; letter-spacing: 1.7px; }
.order-summary-card h2 { margin: 12px 0 6px; font-family: 'Playfair Display', Georgia, serif; font-size: 25px; font-weight: 500; }
.order-summary-card > p { margin-bottom: 18px; color: var(--muted); font-size: 10px; }
.summary-price { padding-bottom: 17px; border-bottom: 1px solid var(--line); font-family: 'Playfair Display', Georgia, serif; font-size: 27px; }
.summary-price small { color: var(--muted); font-family: 'DM Sans', Arial, sans-serif; font-size: 9px; }
.summary-event { padding-top: 14px; display: flex; flex-wrap: wrap; gap: 9px; color: #626d7c; font-size: 9px; }
.summary-event span { color: var(--gold-deep); }
.summary-stock { margin-top: 15px; color: #4e8060; font-size: 9px; }
.booking-form, .admin-form-card { padding: clamp(24px, 4vw, 38px); border: 1px solid #e7e2d9; background: #fff; box-shadow: 0 15px 48px rgba(30,34,41,.04); }
.booking-notice { margin: 0 0 20px; padding: 13px 15px; border-left: 2px solid var(--gold-deep); color: #5c4a24; background: #fbf8f0; font-size: 12px; line-height: 1.65; }
.form-title { margin-bottom: 24px; padding-bottom: 14px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.form-title small { color: #969ba4; font-size: 8px; font-weight: 400; letter-spacing: 0; }
label { margin: 16px 0 7px; display: block; color: #353d4c; font-size: 10px; font-weight: 600; }
label span { color: var(--gold-deep); }
input, textarea { width: 100%; min-height: 43px; padding: 11px 12px; border: 1px solid #dfded9; border-radius: 1px; color: var(--ink); background: #fff; font-size: 11px; }
textarea { min-height: 80px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #a2a6ad; }
.total-row { margin: 21px 0 8px; padding: 16px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; }
.total-row strong { font-size: 13px; }
.form-fineprint, .privacy-note { color: #858b96; font-size: 9px; line-height: 1.7; }
.booking-form > .button { margin-top: 13px; }
.privacy-note { margin: 14px 0 0; text-align: center; }
.form-errors { margin: 13px 0; padding: 12px 14px; border-left: 3px solid #b45c52; color: #873e38; background: #fbefed; font-size: 10px; }
.form-errors ul { margin: 5px 0 0; padding-left: 18px; }
.participant-list { margin: 22px 0 0; padding: 16px; border: 1px solid var(--line); }
.participant-list legend { padding: 0 7px; color: var(--gold-deep); font-size: 8px; font-weight: 700; letter-spacing: 1.3px; }
.participant-field + .participant-field { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.participant-field label { margin-top: 0; }
.payment-panel { margin-top: 25px; padding: 24px; border: 1px solid var(--line); background: #fff; text-align: left; }
.payment-panel h2 { margin: 10px 0 18px; font-family: 'Playfair Display', Georgia, serif; font-size: 25px; font-weight: 500; }
.payment-retry-note { color: #66512a; font-size: 10px; line-height: 1.6; }
.payment-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.payment-method-card { min-width: 0; margin: 0; padding: 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); cursor: pointer; }
.payment-method-card:has(input:checked) { border-color: var(--gold-deep); background: #fbf8f0; box-shadow: inset 0 0 0 1px var(--gold-deep); }
.payment-method-card input[type=radio] { width: 16px; min-height: 16px; height: 16px; margin: 0; flex: 0 0 16px; accent-color: var(--gold-deep); }
.payment-method-card > span:last-child { min-width: 0; }
.payment-method-card b, .payment-method-card small { display: block; }
.payment-method-card b { font-size: 10px; }
.payment-method-card small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.payment-mark { min-width: 56px; padding: 9px 5px; color: #fff; background: var(--ink); text-align: center; font-size: 8px; font-weight: 700; letter-spacing: .3px; }
.payment-mark-mtn_mobile_money { background: #ffcb05; color: #242424; }
.payment-mark-orange_money { background: #f57921; }
.payment-mark-card { background: #4255a4; }
.payment-mark-paypal { background: #143b71; }
.payment-total { margin: 18px 0; padding: 15px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 10px; }
.payment-total strong { font-size: 13px; }
.payment-details-step { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.payment-details-step h3 { margin: 8px 0; font-size: 16px; }
.payment-details-step > p { color: var(--muted); font-size: 10px; line-height: 1.7; }
.payment-details-step [hidden], .payment-method-grid[hidden], .payment-total[hidden], .payment-details-step[hidden] { display: none; }
.payment-back { margin: 15px auto 0; display: block; }
.payment-progress { margin: 24px 0 0; padding: 20px; border: 1px solid #e6d9bb; background: #fffdf8; text-align: left; }
.payment-progress > strong { display: block; margin-top: 12px; font-size: 12px; }
.payment-progress p { margin: 7px 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.payment-progress small { color: var(--muted); font-size: 9px; }
.progress-track { height: 5px; overflow: hidden; background: #eee8dd; }
.progress-track span { width: 35%; height: 100%; display: block; background: var(--gold-deep); animation: payment-progress 1.4s ease-in-out infinite alternate; }
@keyframes payment-progress { to { transform: translateX(185%); } }
.payment-status-warning { margin: 7px 0 0; color: #8e4945; font-size: 9px; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.attempt-history { margin-top: 20px; padding: 15px 18px; border: 1px solid var(--line); text-align: left; }
.attempt-history summary { cursor: pointer; font-size: 10px; font-weight: 600; }
.attempt-history p { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
.ticket-preview { margin: 24px auto; padding: 20px; border: 1px solid var(--line); background: #fff; }
.ticket-preview img { width: min(230px, 70vw); height: auto; }
.ticket-preview p { color: var(--muted); font-size: 10px; }
.ticket-preview .reference { color: var(--ink); font-size: 16px; }

.order-page { max-width: 760px; min-height: calc(100vh - 174px); margin: 0 auto; padding: 72px 24px 100px; text-align: center; }
.order-checkmark { width: 50px; height: 50px; margin: 0 auto 21px; display: grid; place-items: center; border: 1px solid #d5c59f; border-radius: 50%; color: var(--gold-deep); font-size: 22px; }
.order-checkmark.is-paid { border-color: #8db79a; color: var(--green); background: #edf6ef; }
.order-page h1 { margin: 15px 0 10px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(32px, 5vw, 46px); font-weight: 500; }
.order-lead { max-width: 520px; margin: 0 auto 29px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.order-details { padding: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; border: 1px solid var(--line); background: #fff; text-align: left; }
.order-details div { min-width: 0; }
.order-details span, .order-details strong { display: block; }
.order-details span { margin-bottom: 6px; color: #8c929d; font-size: 8px; letter-spacing: 1px; }
.order-details strong { overflow-wrap: anywhere; font-size: 11px; }
.reference { font-family: monospace; letter-spacing: .2px; }
.notice { margin-top: 20px; padding: 17px 20px; border: 1px solid #ead8af; text-align: left; }
.notice-warm { color: #66512a; background: #fbf5e8; }
.notice-success { color: #25553f; border-color: #c5ddce; background: #edf6ef; }
.notice p { margin: 6px 0; font-size: 10px; line-height: 1.7; }
.notice small { font-size: 9px; }
.ticket-downloads { margin-top: 26px; padding: 22px; border: 1px solid var(--line); background: #fff; text-align: left; }
.ticket-downloads h2 { margin-bottom: 16px; font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 500; }
.download-row { padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.download-row b, .download-row small { display: block; }
.download-row b { font-size: 11px; }
.download-row small { margin-top: 4px; color: var(--muted); font-family: monospace; font-size: 8px; }
.download-row .button { min-height: 38px; font-size: 9px; }
.order-home-link { display: inline-block; margin-top: 25px; }
.status-pill { padding: 5px 9px; display: inline-block; border-radius: 99px; font-size: 8px; font-weight: 700; white-space: nowrap; }
.status-pending { color: #815d20; background: #f7eedc; }
.status-paid, .status-valid { color: #2c694a; background: #e7f2e9; }
.status-failed, .status-cancelled { color: #8e4945; background: #f7e9e7; }
.status-used { color: #46516a; background: #e9edf4; }

.login-page { padding-top: 42px; }
.login-card { max-width: 430px; margin: 22px auto 0; padding: 38px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.login-mark { width: 42px; height: 42px; margin-bottom: 22px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-deep); font-family: 'Playfair Display', Georgia, serif; font-size: 25px; }
.login-card form { margin-top: 22px; }
.login-card .button { margin-top: 21px; }

.admin-body { min-height: 100vh; background: #f5f4f0; }
.admin-header { min-height: 72px; padding: 0 max(5vw, 22px); display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); background: #fff; }
.admin-nav { display: flex; align-items: center; gap: 25px; font-size: 10px; font-weight: 600; }
.admin-nav a { color: #606978; }
.admin-nav a:hover { color: var(--gold-deep); }
.admin-header form { margin: 0; }
.logout-button { padding: 9px 12px; border: 1px solid #dfded9; color: #596273; background: #fff; cursor: pointer; font-size: 9px; }
.admin-main { max-width: 1260px; min-height: calc(100vh - 130px); margin: 0 auto; padding: 40px 28px 72px; }
.admin-page-heading { margin-bottom: 29px; display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.admin-page-heading h1 { margin: 8px 0 0; font-family: 'Playfair Display', Georgia, serif; font-size: 38px; font-weight: 500; }
.admin-user { color: var(--muted); font-size: 10px; }
.admin-footer { padding: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.stat-card { min-height: 133px; padding: 20px; border: 1px solid var(--line); background: #fff; }
.stat-card span, .stat-card strong, .stat-card small { display: block; }
.stat-card span { color: #707988; font-size: 9px; }
.stat-card strong { margin: 17px 0 4px; font-family: 'Playfair Display', Georgia, serif; font-size: 31px; font-weight: 500; }
.stat-card small { color: #979da6; font-size: 8px; }
.stat-card-highlight { border-color: #e1d2b5; background: #fffdf8; }
.stat-card-highlight strong { font-size: 25px; }
.admin-shortcuts { margin: 16px 0 39px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.shortcut-card { min-height: 72px; padding: 15px 18px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); background: #fff; }
.shortcut-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-deep); background: var(--gold-pale); font-size: 17px; }
.shortcut-card b, .shortcut-card small { display: block; }
.shortcut-card b { font-size: 10px; }
.shortcut-card small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.shortcut-card i { margin-left: auto; color: var(--gold-deep); font-style: normal; }
.admin-section { margin-top: 24px; padding: 23px; border: 1px solid var(--line); background: #fff; }
.admin-section-heading { margin-bottom: 17px; display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.admin-section-heading h2 { margin: 7px 0 0; font-family: 'Playfair Display', Georgia, serif; font-size: 23px; font-weight: 500; }
.admin-section-heading .text-link { color: var(--gold-deep); font-size: 9px; }
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 11px 12px; border-bottom: 1px solid var(--line); color: #858c98; font-size: 8px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 13px 12px; border-bottom: 1px solid #f0eee9; color: #454d5b; font-size: 9px; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td small { margin-top: 4px; display: block; color: var(--muted); font-size: 8px; }
.data-table tfoot th { color: var(--ink); font-size: 9px; text-transform: none; }
.table-link { color: var(--gold-deep); font-size: 9px; font-weight: 700; white-space: nowrap; }
.empty-admin { padding: 44px 20px; border: 1px dashed #d9d4ca; color: var(--muted); text-align: center; }
.empty-admin h2 { margin: 9px 0 5px; color: var(--ink); font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 500; }
.empty-admin p { margin: 0; font-size: 10px; }
.scanner-section { margin-top: 24px; }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; }
.scanner-section .form-fineprint { margin-bottom: 0; }
.section-description { margin: 0; color: var(--muted); font-size: 10px; }
.category-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 15px; }
.category-admin-card { padding: 21px; border: 1px solid var(--line); background: #fff; }
.category-admin-top { display: flex; justify-content: space-between; align-items: center; }
.category-id { color: #9da2aa; font-size: 8px; }
.category-admin-card h2 { margin: 17px 0 5px; font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 500; }
.category-admin-card > p { min-height: 30px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.category-metrics { padding: 15px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-metrics span, .category-metrics small, .category-metrics b { display: block; }
.category-metrics small { color: #9298a1; font-size: 7px; letter-spacing: .5px; }
.category-metrics b { margin-top: 6px; font-size: 10px; }
.category-card-actions { padding-top: 15px; display: flex; justify-content: space-between; align-items: center; }
.category-card-actions .button { min-height: 36px; font-size: 9px; }
.danger-link { padding: 5px 0; border: 0; color: #a34a44; background: none; cursor: pointer; font-size: 9px; }
.danger-button { width: 100%; padding: 10px 12px; border: 1px solid #e5c4c0; color: #974740; background: #fff; cursor: pointer; font-size: 9px; font-weight: 700; }
.admin-form-card { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 18px; }
.field-full { grid-column: 1 / -1; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-field input { width: 15px; min-height: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--ink); }
.checkbox-field span, .checkbox-field b, .checkbox-field small { display: block; }
.checkbox-field b { font-size: 10px; }
.checkbox-field small { margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 400; line-height: 1.5; }
.form-actions { margin-top: 23px; padding-top: 19px; display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); }
.filter-row { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip { padding: 8px 12px; border: 1px solid var(--line); color: #687180; background: #fff; font-size: 9px; }
.filter-chip.is-selected { border-color: var(--ink); color: #fff; background: var(--ink); }
.pagination-wrap { padding-top: 18px; }
.pagination-wrap nav { display: flex; justify-content: center; }
.pagination-wrap nav > div:first-child { display: none; }
.pagination-wrap nav > div:last-child { display: flex; gap: 4px; }
.pagination-wrap a, .pagination-wrap span { min-width: 30px; padding: 8px; display: inline-block; border: 1px solid var(--line); font-size: 9px; text-align: center; }
.order-admin-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr); gap: 17px; align-items: start; }
.order-admin-main { margin-top: 0; }
.order-admin-main > .admin-section-heading h2 { max-width: 360px; overflow-wrap: anywhere; font-size: 15px; }
.customer-panel { margin-bottom: 19px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #f8f6f1; }
.customer-panel strong { margin-top: 6px; font-size: 12px; }
.customer-panel a { color: #5f6b7b; font-size: 9px; }
.payment-detail { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: #687180; font-size: 9px; }
.payment-detail p { margin: 7px 0 0; }
.action-card { margin-bottom: 12px; padding: 17px; border: 1px solid var(--line); background: #fff; }
.action-confirm { border-color: #ddd1bb; }
.action-card h3 { margin: 9px 0 6px; font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 500; }
.action-card > p, .action-card > small { color: var(--muted); font-size: 9px; line-height: 1.6; }
.action-card label { margin-top: 12px; font-size: 9px; }
.action-card .checkbox-field { margin: 13px 0; }
.action-card .checkbox-field small { margin: 4px 0 0; }
.action-card .button { min-height: 39px; font-size: 9px; }
.admin-back { margin-bottom: 5px; }
.admin-body .flash-success { max-width: none; margin: 0 0 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 900px) {
    .hero { min-height: 620px; padding-top: 68px; }
    .hero-copy { width: 62%; }
    .hero-art { right: -9%; width: 50vw; transform: scale(.85); transform-origin: center right; }
    .hero-meta { gap: 30px; }
    .intro-grid { gap: 42px; }
    .admin-nav { gap: 13px; }
}
@media (max-width: 680px) {
    .site-header { height: 66px; padding: 0 20px; }
    .site-nav { gap: 12px; }
    .site-nav a:not(.nav-cta) { display: none; }
    .nav-cta { padding: 10px 11px; font-size: 9px; }
    .brand-logo { width: 42px; height: 42px; }
    .brand strong { font-size: 10px; }
    .brand small { font-size: 7px; }
    .hero { min-height: auto; padding: 55px 23px 0; }
    .hero-copy { width: 100%; }
    .hero h1 { margin-top: 24px; font-size: clamp(54px, 15vw, 76px); }
    .hero h1 .emoji-title { font-size: .32em; vertical-align: .65em; }
    .hero-intro { max-width: 360px; font-size: 12px; }
    .hero-art { top: 218px; right: 0; width: 300px; height: 300px; transform: scale(.78); }
    .hero-art > .art-orbit, .hero-art > .art-star, .hero-art > .art-stamp, .hero-art > .art-caption { opacity: .31; }
    .art-disc { width: 215px; height: 215px; background: radial-gradient(circle at 46% 41%, rgba(60,70,86,.32) 0, rgba(34,43,59,.32) 46%, rgba(17,24,39,.32) 70%); }
    .hero-actions { position: relative; z-index: 3; gap: 17px; }
    .hero-actions .button { padding: 0 12px; font-size: 9px; }
    .hero-actions .text-link { font-size: 9px; }
    .hero-note { position: relative; z-index: 2; margin-top: 28px; font-size: 9px; }
    .hero-meta { margin-top: 32px; padding: 19px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 17px 12px; }
    .hero-meta strong { font-size: 9px; }
    .intro-section, .tickets-section { padding: 62px 23px; }
    .intro-grid { margin-top: 19px; grid-template-columns: 1fr; gap: 22px; }
    .intro-grid h2, .section-heading h2 { font-size: 35px; }
    .event-facts { flex-direction: column; gap: 16px; }
    .section-heading { align-items: start; flex-direction: column; }
    .ticket-grid { grid-template-columns: 1fr; }
    .ticket-card { min-height: 268px; }
    .closing-banner { padding: 42px 23px; align-items: flex-start; flex-direction: column; }
    .closing-banner h2 { font-size: 33px; }
    .closing-spark { left: auto; right: 24px; }
    .site-footer { align-items: flex-start; flex-direction: column; gap: 13px; }
    .form-page, .login-page { padding: 28px 20px 55px; }
    .form-layout { grid-template-columns: 1fr; gap: 24px; }
    .form-intro h1, .login-card h1 { font-size: 43px; }
    .booking-form { padding: 22px 18px; }
    .order-page { padding: 50px 18px 70px; }
    .order-details { padding: 16px; gap: 15px; }
    .download-row { align-items: flex-start; flex-direction: column; }
    .payment-method-grid { grid-template-columns: 1fr; }
    .payment-panel { padding: 19px 15px; }
    .ticket-actions { width: 100%; flex-direction: column; }
    .admin-header { padding: 13px 17px; flex-wrap: wrap; gap: 12px; }
    .admin-nav { width: 100%; order: 3; justify-content: space-between; gap: 7px; }
    .admin-nav a { font-size: 8px; }
    .logout-button { position: absolute; top: 20px; right: 17px; }
    .admin-main { padding: 28px 16px 55px; }
    .admin-page-heading h1 { font-size: 31px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card { min-height: 116px; padding: 15px; }
    .stat-card strong { font-size: 27px; }
    .stat-card-highlight strong { font-size: 21px; }
    .admin-shortcuts { grid-template-columns: 1fr; }
    .admin-section { padding: 16px 12px; }
    .admin-section-heading { align-items: flex-start; flex-direction: column; }
    .inline-form { align-items: stretch; flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .form-actions { align-items: stretch; flex-direction: column-reverse; }
    .form-actions .button { width: 100%; }
    .order-admin-grid { grid-template-columns: 1fr; }
    .category-admin-grid { grid-template-columns: 1fr; }
    .login-card { padding: 28px 23px; }
}
