/* 0&1 Editorial — monochrome, responsive, RTL-aware */
:root {
    --paper: #f2f1ed;
    --ink: #111;
    --muted: #777;
    --line: rgba(17, 17, 17, .17);
    --ease: cubic-bezier(.22, .7, .18, 1)
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: Peyda, Arial, sans-serif
}

::selection {
    background: #111;
    color: #fff
}

a {
    transition: color .22s, background .22s, border-color .22s, transform .22s
}

.noise {
    opacity: .12;
    mix-blend-mode: multiply;
    pointer-events: none
}

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 76px;
    padding: 0 clamp(18px, 5vw, 76px);
    background: rgba(242, 241, 237, .94);
    color: #111;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 54px)
}

.brand {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -.11em;
    color: #111;
    line-height: 1
}

.brand span {
    color: #888
}

.main-nav {
    gap: clamp(14px, 2.2vw, 34px);
    align-items: center
}

.main-nav a,
.nav-actions>a {
    font-size: .83rem;
    color: #333
}

.main-nav a:hover,
.nav-actions>a:hover {
    color: #888
}

.nav-actions {
    gap: 18px;
    align-items: center
}

.nav-actions .cart {
    border: 1px solid var(--line);
    padding: 9px 12px
}

.lang {
    border: 1px solid #111 !important;
    padding: 8px 12px !important;
    color: #111 !important
}

.menu {
    color: #111;
    border: 1px solid var(--line);
    background: transparent
}

.hero {
    position: relative;
    min-height: min(790px, calc(100svh - 76px));
    display: flex;
    align-items: flex-end;
    padding: clamp(30px, 8vw, 120px);
    background-color: #171717;
    background-size: cover;
    background-position: center;
    isolation: isolate;
    overflow: hidden
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .16)), linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 65%)
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(0, 0, 0, .14), transparent 60%)
}

.hero-copy {
    max-width: 1050px;
    color: #fff;
    position: relative
}

.eyebrow {
    font-size: .72rem;
    letter-spacing: .16em;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.7
}

.hero .eyebrow {
    color: #d0d0cb
}

.hero h1 {
    font-size: clamp(4.5rem, 13vw, 12rem);
    line-height: .78;
    letter-spacing: -.09em;
    font-weight: 900;
    max-width: 1100px;
    margin: 28px 0 26px;
    text-wrap: balance
}

[dir=rtl] .hero h1 {
    letter-spacing: -.04em;
    line-height: 1.15
}

.hero-copy>p:not(.eyebrow) {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    max-width: 580px;
    color: #deded9;
    line-height: 1.9
}

.hero-copy>div {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 30px
}

.btn,
.btn.light {
    border-radius: 0;
    min-height: 48px;
    padding: 13px 21px;
    font-weight: 700;
    transition: transform .25s var(--ease), background .25s
}

.btn {
    background: #111;
    color: #fff;
    border: 1px solid #111
}

.btn:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px)
}

.btn.light {
    background: #f2f1ed;
    color: #111;
    border-color: #f2f1ed
}

.text-btn {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    padding: 9px 0
}

.scroll {
    position: absolute;
    bottom: 34px;
    inset-inline-end: clamp(22px, 5vw, 76px);
    color: #ddd;
    font-size: .68rem;
    letter-spacing: .15em
}

.section {
    padding: clamp(64px, 9vw, 132px) clamp(20px, 7vw, 110px)
}

.split {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(30px, 8vw, 140px);
    border-bottom: 1px solid var(--line)
}

.split h2,
.section-head h2 {
    font-size: clamp(2.4rem, 6vw, 6rem);
    line-height: .96;
    letter-spacing: -.07em;
    margin: 22px 0 0;
    font-weight: 850
}

[dir=rtl] .split h2,
[dir=rtl] .section-head h2 {
    letter-spacing: -.025em;
    line-height: 1.25
}

.lead {
    font-size: clamp(1.15rem, 2vw, 0.8rem);
    line-height: 1.9;
    max-width: 760px;
    color: #333;
    align-self: end
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 42px
}

.section-head h2 {
    margin-top: 15px
}

.arrow {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    border-bottom: 1px solid #111;
    padding: 0 0 8px;
    color: #111;
    white-space: nowrap
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px
}

.event-card {
    display: block;
    color: #111;
    border: 1px solid var(--line);
    background: transparent;
    min-width: 0
}

.event-card:hover {
    transform: translateY(-5px);
    background: #e9e8e2
}

.event-img {
    height: clamp(180px, 24vw, 340px);
    background: #d2d1cb center/cover no-repeat;
    position: relative;
    filter: grayscale(1)
}

.event-img:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .28), transparent 50%)
}

.event-img span {
    position: absolute;
    z-index: 1;
    top: 14px;
    inset-inline-start: 14px;
    background: #f2f1ed;
    color: #111;
    padding: 8px 10px;
    font-size: .72rem;
    font-weight: 800
}

.event-meta {
    padding: 22px
}

.event-meta h3 {
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -.04em
}

.event-meta p {
    color: #666;
    font-size: .86rem;
    margin: 0 0 24px
}

.event-meta strong {
    font-size: .72rem;
    letter-spacing: .08em
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px
}

.member {
    border-top: 1px solid var(--line);
    padding-top: 14px
}

.member img,
.member .avatar {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: grayscale(1);
    background: #d4d3cd
}

.member .avatar {
    display: grid;
    place-items: center;
    font-size: 5rem;
    font-weight: 900
}

.member h3 {
    font-size: 1.35rem;
    margin: 17px 0 3px
}

.member p {
    color: #666;
    margin: 0;
    font-size: .88rem
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    background: #111;
    color: #f2f1ed;
    padding: 24px 0;
    font-size: clamp(1.3rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -.04em
}

.marquee div {
    width: max-content;
    animation: editorial-marquee 26s linear infinite
}

@keyframes editorial-marquee {
    to {
        transform: translateX(-25%)
    }
}

.page {
    max-width: 1600px;
    margin: auto;
    padding: clamp(44px, 7vw, 100px) clamp(20px, 7vw, 110px)
}

.page-title {
    padding-bottom: clamp(35px, 6vw, 78px);
    border-bottom: 1px solid var(--line);
    margin-bottom: 40px
}

.page-title h1 {
    font-size: clamp(3.6rem, 11vw, 9rem);
    letter-spacing: -.085em;
    line-height: .86;
    margin: 20px 0 0;
    font-weight: 900
}

[dir=rtl] .page-title h1 {
    letter-spacing: -.025em;
    line-height: 1.2
}

.event-list {
    border-top: 1px solid var(--line)
}

.event-row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 4vw, 54px);
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
    color: #111
}

.event-row time {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .95
}

.event-row time small {
    display: block;
    font-size: .7rem;
    letter-spacing: .02em;
    color: #777;
    margin-top: 8px
}

.event-row h2 {
    font-size: clamp(1.4rem, 3vw, 2.8rem);
    letter-spacing: -.055em;
    line-height: 1.1;
    margin: 0 0 9px
}

.event-row p {
    margin: 0;
    color: #6c6b66;
    font-size: .88rem
}

.event-row>span {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    white-space: nowrap
}

.event-row:hover {
    padding-inline: 12px;
    background: rgba(0, 0, 0, .025)
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(30px, 5vw, 80px)
}

.album {
    min-width: 0;
    border-top: 1px solid var(--line);
    padding-top: 15px
}

.album-cover {
    aspect-ratio: 1/1;
    background: #d1d0ca center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: clamp(20px, 4vw, 45px);
    filter: grayscale(1);
    position: relative;
    overflow: hidden
}

.album-cover:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 65%)
}

.album-cover span {
    z-index: 1;
    color: white;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -.1em
}

.album h2 {
    font-size: clamp(1.7rem, 3.5vw, 3.4rem);
    letter-spacing: -.06em;
    margin: 22px 0 5px
}

.album>p {
    color: #777;
    margin: 0 0 24px
}

.track {
    border-top: 1px solid var(--line);
    padding: 15px 0
}

.track-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: .9rem;
    margin-bottom: 10px
}

.track-head small {
    color: #777
}

.audio-player {
    display: grid;
    grid-template-columns: 42px minmax(45px, auto) minmax(70px, 1fr) 32px;
    align-items: center;
    gap: 12px;
    background: #e7e6e1;
    padding: 10px 12px
}

.play-toggle,
.mute {
    width: 36px;
    height: 36px;
    border: 1px solid #111;
    border-radius: 50%;
    background: #111;
    color: #fff;
    cursor: pointer
}

.mute {
    background: transparent;
    color: #111
}

.audio-info {
    display: flex;
    flex-direction: column;
    font-size: .68rem;
    gap: 2px
}

.audio-info strong {
    letter-spacing: .06em
}

.audio-info .time {
    color: #777;
    font-variant-numeric: tabular-nums
}

.progress {
    width: 100%;
    accent-color: #111;
    cursor: pointer
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    padding: 23px 0
}

.cart-item h3 {
    margin: 0 0 7px;
    font-size: 1.25rem
}

.cart-item p,
.cart-item small {
    color: #777;
    font-size: .85rem;
    margin: 0
}

.cart-item strong {
    white-space: nowrap
}

.cart-item>a {
    font-size: .72rem;
    font-weight: 800;
    text-decoration: underline
}

.summary {
    position: sticky;
    top: 100px;
    align-self: start;
    border: 1px solid var(--line);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 18px
}

.summary>span {
    color: #777;
    font-size: .75rem;
    letter-spacing: .08em
}

.summary>strong {
    font-size: 1.8rem;
    letter-spacing: -.04em
}

.ticket-list {
    border-top: 1px solid var(--line)
}

.ticket-list-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
    color: #b0b0b0;
}

.ticket-list-card h2 {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    margin: 8px 0
}

.ticket-list-card p {
    color: #777;
    margin: 0
}

.ticket-list-card>strong {
    font-size: .75rem;
    white-space: nowrap
}

footer {
    background: #111;
    color: #eee;
    padding: 50px clamp(20px, 7vw, 110px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: end
}

.footer-brand {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -.11em;
    line-height: .8
}

footer>div:nth-child(2) {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

footer a {
    color: #ddd;
    font-size: .82rem
}

footer small {
    grid-column: 1/-1;
    color: #888;
    border-top: 1px solid #333;
    padding-top: 18px
}

.messages {
    position: relative;
    z-index: 20;
    margin: 14px auto;
    max-width: 1200px;
    padding: 12px 20px;
    background: #111;
    color: white
}

.empty {
    padding: 30px;
    border: 1px dashed var(--line);
    color: #777
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.reveal.visible {
    opacity: 1;
    transform: none
}

/* Admin Control Room: same monochrome identity, operational dark surfaces */
body:has(.admin-shell) {
    background: #101010;
    color: #f4f4f1
}

.admin-shell {
    background: #101010;
    color: #f3f3ef;
    min-height: 100vh
}

.admin-sidebar {
    background: #090909;
    border-inline-end: 1px solid #2b2b2b;
    padding: 24px 16px
}

.admin-logo {
    font-size: 1.7rem;
    letter-spacing: -.08em;
    border-bottom: 1px solid #303030;
    padding: 0 10px 25px;
    margin-bottom: 18px
}

.admin-logo small {
    font-size: .55rem;
    letter-spacing: .18em;
    color: #8c8c86;
    margin-inline-start: 8px
}

.admin-sidebar>a {
    border: 1px solid transparent;
    border-radius: 2px;
    padding: 12px 13px;
    color: #aaa;
    font-size: .86rem
}

.admin-sidebar>a:hover,
.admin-sidebar>a.active {
    background: #202020;
    color: #fff;
    border-color: #343434
}

.admin-nav-label {
    font-size: .65rem;
    letter-spacing: .15em;
    color: #777;
    padding: 25px 10px 8px
}

.admin-main {
    padding: clamp(22px, 4vw, 58px);
    min-width: 0
}

.admin-topbar {
    padding-bottom: 25px;
    border-bottom: 1px solid #303030;
    margin-bottom: 26px
}

.admin-topbar h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    letter-spacing: -.06em;
    margin: 8px 0 0
}

.admin-stats {
    gap: 10px;
    margin-bottom: 20px
}

.admin-stats>div {
    background: #171717;
    border: 1px solid #303030;
    padding: 22px;
    min-width: 0
}

.admin-stats span {
    font-size: .65rem;
    letter-spacing: .14em;
    color: #9b9b95
}

.admin-stats strong {
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    letter-spacing: -.06em;
    margin-top: 12px;
    overflow-wrap: anywhere
}

.admin-panel {
    background: #151515;
    border: 1px solid #303030;
    border-radius: 2px;
    padding: clamp(16px, 2.5vw, 28px);
    min-width: 0
}

.admin-panel h2 {
    font-size: 1.1rem
}

.admin-table-wrap {
    overflow-x: auto
}

.admin-table {
    min-width: 620px
}

.admin-table th {
    color: #888;
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase
}

.admin-table td,
.admin-table th {
    border-bottom: 1px solid #2c2c2c;
    padding: 14px 12px
}

.status-pill {
    border: 1px solid #454545;
    border-radius: 0;
    padding: 5px 8px;
    color: #ddd;
    background: #202020
}

.admin-shell .btn {
    background: #f2f1ed;
    color: #111;
    border-color: #f2f1ed
}

.admin-shell .btn.ghost {
    background: transparent;
    color: #eee;
    border-color: #444
}

.admin-shell .eyebrow {
    color: #aaa
}

@media(max-width:900px) {
    .nav {
        gap: 18px;
        padding-inline: 20px
    }

    .main-nav {
        gap: 14px
    }

    .nav-actions {
        gap: 10px
    }

    .hero {
        min-height: 680px;
        padding: 30px 24px 85px
    }

    .hero h1 {
        font-size: clamp(4rem, 16vw, 8rem)
    }

    .section {
        padding: 70px 24px
    }

    .split {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .page {
        padding: 55px 24px
    }

    .cart-layout {
        grid-template-columns: 1fr
    }

    .summary {
        position: static
    }

    .admin-shell {
        grid-template-columns: 200px minmax(0, 1fr)
    }

    .admin-sidebar {
        padding: 18px 10px
    }
}

@media(max-width:640px) {
    .nav {
        min-height: 65px;
        flex-wrap: wrap;
        padding: 14px 18px
    }

    .brand {
        font-size: 1.8rem
    }

    .menu {
        margin-inline-start: auto
    }

    .main-nav {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 0 4px;
        border-top: 1px solid var(--line)
    }

    .main-nav.mobile-open {
        display: flex
    }

    .main-nav a {
        padding: 10px 0
    }

    .nav-actions {
        margin-inline-start: 0;
        gap: 8px
    }

    .nav-actions>a {
        font-size: 10px;
    }

    .hero {
        min-height: 610px
    }

    .hero h1 {
        font-size: clamp(3.6rem, 19vw, 6rem);
        margin: 24px 0
    }

    .hero-copy>div {
        gap: 16px
    }

    .scroll {
        bottom: 22px
    }

    .section {
        padding: 55px 18px
    }

    .section-head {
        align-items: start;
        flex-direction: column;
        margin-bottom: 25px
    }

    .split h2,
    .section-head h2 {
        font-size: clamp(2.4rem, 12vw, 4.3rem)
    }

    .event-grid {
        grid-template-columns: 1fr
    }

    .event-img {
        height: 260px
    }

    .member-grid {
        gap: 22px 12px
    }

    .member h3 {
        font-size: 1.1rem
    }

    .member .avatar {
        font-size: 3.5rem
    }

    .page {
        padding: 42px 18px
    }

    .page-title h1 {
        font-size: clamp(3.5rem, 17vw, 6rem)
    }

    .event-row {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 14px;
        padding: 20px 0
    }

    .event-row time {
        font-size: 2rem
    }

    .event-row>span {
        grid-column: 2
    }

    .album-grid {
        grid-template-columns: 1fr;
        gap: 44px
    }

    .audio-player {
        grid-template-columns: 38px 46px minmax(50px, 1fr) 30px;
        gap: 7px;
        padding: 8px
    }

    .cart-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px
    }

    .cart-item>a {
        grid-column: 2
    }

    .ticket-list-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px
    }

    footer {
        grid-template-columns: 1fr;
        padding: 38px 20px
    }

    footer small {
        grid-column: auto
    }

    .admin-shell {
        display: block
    }

    .admin-sidebar {
        position: relative;
        display: flex;
        overflow-x: auto;
        gap: 8px;
        align-items: center;
        padding: 10px;
        border-bottom: 1px solid #333
    }

    .admin-logo {
        flex: 0 0 auto;
        border: 0;
        padding: 8px;
        margin: 0
    }

    .admin-logo small,
    .admin-nav-label {
        display: none
    }

    .admin-sidebar>a {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 9px 10px;
        font-size: .76rem
    }

    .admin-main {
        padding: 18px 12px
    }

    .admin-topbar {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 18px
    }

    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .admin-grid {
        grid-template-columns: 1fr
    }
}

/* Payment review uses authenticated inline previews; receipt files stay private. */
.private-receipt-preview {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #c7a66a55;
    border-radius: .9rem;
    background: #090909
}

.private-receipt-preview h2 {
    margin: .4rem 0
}

.private-receipt-preview img {
    display: block;
    max-width: 100%;
    max-height: 28rem;
    margin: auto;
    object-fit: contain
}


@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}


/* Ticketing and account surfaces */
.event-hero {
    min-height: clamp(360px, 55vw, 680px);
    background: #191919 center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: clamp(24px, 6vw, 80px);
    color: #fff;
    position: relative;
    isolation: isolate;
    margin: 0 calc(clamp(20px, 7vw, 110px)*-1) 70px
}

.event-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .08) 80%)
}

.event-hero h1 {
    font-size: clamp(3rem, 9vw, 8rem);
    line-height: .9;
    letter-spacing: -.07em;
    margin: 18px 0;
    max-width: 1000px
}

.event-hero p {
    color: #ddd
}

.seat-sale-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 25px
}

.seat-sale-head h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -.055em;
    margin: 12px 0
}

.seat-sale-head p {
    color: #666;
    max-width: 650px;
    line-height: 1.8
}

.seat-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .76rem;
    color: #555
}

.seat-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap
}

.seat-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1px solid #777;
    border-radius: 50%
}

.seat-dot.available {
    background: #f2f1ed
}

.seat-dot.selected {
    background: #111
}

.seat-dot.sold {
    background: #aaa
}

.floor-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 22px 0
}

.floor-tab {
    background: transparent;
    color: #111;
    border: 1px solid var(--line);
    padding: 10px 16px;
    white-space: nowrap;
    cursor: pointer
}

.floor-tab.active {
    background: #111;
    color: #fff;
    border-color: #111
}

.seat-floor {
    overflow: auto;
    background: #e8e7e1;
    border: 1px solid var(--line);
    padding: clamp(10px, 2vw, 24px)
}

.seat-floor.is-hidden {
    display: none
}

.venue-canvas {
    position: relative;
    min-width: min(100%, 480px);
    width: var(--canvas-w);
    height: var(--canvas-h);
    max-width: none;
    margin: auto;
    background: #f5f4ef;
    overflow: hidden;
    border: 1px solid #d0cfc8
}

.venue-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .045) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none
}

.venue-element {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center
}

.chair-element {
    background: #d6d5ce;
    border: 1px solid #888;
    color: #111;
    border-radius: 4px;
    cursor: pointer;
    z-index: 2;
    font-size: clamp(8px, .7vw, 12px);
    padding: 0;
    min-width: 0
}

.chair-element:hover {
    background: #c1c0b9
}

.chair-element.selected {
    background: #111;
    color: #fff;
    border-color: #111;
    outline: 2px solid #111;
    outline-offset: 2px
}

.chair-element.sold,
.chair-element:disabled {
    background: #b5b4ae;
    color: #777;
    cursor: not-allowed;
    opacity: .65
}

.venue-element-label {
    font-size: 10px;
    color: #555;
    text-align: center;
    overflow: hidden
}

.venue-stage {
    background: #111 !important;
    color: #fff
}

.seat-selection-bar {
    position: sticky;
    bottom: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: #111;
    color: #fff;
    padding: 18px 22px;
    margin-top: 18px;
    box-shadow: 0 12px 35px #0002
}

.seat-selection-bar>div {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.seat-selection-bar .eyebrow {
    color: #aaa
}

.seat-selection-bar strong {
    font-size: 1.1rem
}

.seat-selection-bar button:disabled {
    opacity: .4;
    cursor: not-allowed
}

.ticket-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px
}

.ticket-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid var(--line);
    padding: 24px;
    background: #e9e8e2
}

.ticket-card>span {
    font-size: 1.2rem;
    font-weight: 800
}

.ticket-card>strong {
    font-size: 1.8rem
}

.ticket-card small {
    color: #666;
    line-height: 1.8;
    flex: 1
}

.ticket-card input,
.checkout-box input {
    border: 1px solid var(--line);
    padding: 12px;
    background: #f8f7f2;
    color: #111;
    max-width: 100%
}

.narrow {
    max-width: 1000px
}

.checkout-box {
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, .55fr);
    gap: 30px;
    padding: clamp(22px, 4vw, 48px);
    align-items: start
}

.checkout-box h2 {
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    letter-spacing: -.05em;
    margin: 12px 0
}

.checkout-box p {
    line-height: 1.9;
    color: #666;
    max-width: 620px
}

.checkout-total {
    background: #e7e6e1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.checkout-total span {
    font-size: .75rem;
    color: #666
}

.checkout-total strong {
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    overflow-wrap: anywhere
}

.checkout-box form {
    grid-column: 1/-1
}

.btn-wide {
    width: 100%
}

.ticket-print-page {
    max-width: 1100px
}

.ticket-paper {
    background: #fff;
    color: #111;
    border: 1px solid #d2d2ce;
    box-shadow: 0 20px 70px #0000;
    overflow: hidden
}

.ticket-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: clamp(22px, 5vw, 54px);
    border-bottom: 1px solid #ddd
}

.ticket-top h1 {
    font-size: clamp(2rem, 5vw, 4.7rem);
    letter-spacing: -.065em;
    line-height: 1;
    margin: 18px 0
}

.ticket-top p {
    color: #666;
    line-height: 1.8
}

.ticket-badge {
    border: 1px solid #111;
    padding: 8px 12px;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap
}

.ticket-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding: clamp(22px, 5vw, 54px)
}

.ticket-main h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin: 12px 0
}

.ticket-code {
    font-family: monospace;
    letter-spacing: .08em;
    color: #555;
    overflow-wrap: anywhere
}

.ticket-qr {
    padding: 14px;
    border: 1px solid #ddd;
    background: #fff
}

.ticket-qr canvas,
.ticket-qr img {
    display: block;
    max-width: 100%;
    height: auto
}

.ticket-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px clamp(22px, 5vw, 54px);
    border-top: 1px dashed #bbb
}

.ticket-footer>span {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em
}

.profile-head {
    display: flex;
    gap: 24px;
    align-items: center;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--line)
}

.profile-head h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -.06em;
    margin: 8px 0
}

.profile-head p {
    color: #777
}

.profile-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

.profile-links a {
    font-size: .82rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 5px
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 25px;
    margin-top: 30px
}

.form-card,
.profile-side {
    border: 1px solid var(--line);
    padding: clamp(18px, 3vw, 30px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0
}

.form-card h2 {
    margin: 0 0 8px
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    background: #f8f7f2;
    color: #111
}

.form-card textarea {
    min-height: 120px
}

.form-card .two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.profile-img.large {
    width: 100px;
    height: 100px;
    object-fit: cover;
    filter: grayscale(1);
    border-radius: 50%;
    background: #ddd
}

.profile-img.avatar {
    display: grid;
    place-items: center;
    font-size: 2.8rem;
    font-weight: 900
}

.mini-stat {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 12px
}

.mini-stat span {
    color: #777;
    font-size: .8rem
}

.mini-stat strong {
    font-size: 1.3rem
}

@media(max-width:800px) {
    .seat-sale-head {
        align-items: flex-start;
        flex-direction: column
    }

    .ticket-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .checkout-box {
        grid-template-columns: 1fr
    }

    .checkout-box form {
        grid-column: auto
    }

    .profile-layout {
        grid-template-columns: 1fr
    }

    .profile-side {
        order: -1
    }
}

@media(max-width:560px) {
    .event-hero {
        margin-inline: -18px;
        padding: 24px 18px;
        min-height: 420px;
        margin-bottom: 45px
    }

    .event-hero h1 {
        font-size: clamp(2.8rem, 14vw, 5rem)
    }

    .ticket-grid {
        grid-template-columns: 1fr
    }

    .seat-selection-bar {
        bottom: 4px;
        padding: 14px
    }

    .seat-selection-bar button {
        width: 100%
    }

    .ticket-top {
        flex-direction: column
    }

    .ticket-main {
        grid-template-columns: 1fr
    }

    .ticket-qr {
        justify-self: start
    }

    .ticket-footer {
        align-items: flex-start;
        flex-direction: column
    }

    .profile-head {
        align-items: flex-start;
        flex-direction: column
    }

    .form-card .two {
        grid-template-columns: 1fr
    }
}

@media print {
    body {
        background: #fff !important;
        color: #111 !important
    }

    .nav,
    footer,
    .messages,
    .no-print,
    .page-title {
        display: none !important
    }

    .page.ticket-print-page {
        padding: 0 !important;
        max-width: none !important
    }

    .ticket-paper {
        box-shadow: none !important;
        border: 1px solid #aaa !important;
        break-inside: avoid
    }

    .ticket-top,
    .ticket-main,
    .ticket-footer {
        padding: 18px !important
    }

    .ticket-qr {
        border: 0 !important
    }
}


/* BETA 0.2.1 — dark-first monochrome, vivid seat-state colors, cinematic motion */
:root {
    --paper: #080808;
    --ink: #f4f4f1;
    --muted: #a0a09a;
    --line: rgba(255, 255, 255, .15);
    --panel: #111;
    --panel-2: #171717;
    --green: #35e88b;
    --yellow: #ffd34e;
    --red: #ff4b55;
    --ease: cubic-bezier(.16, 1, .3, 1);
    color-scheme: dark
}

html,
body {
    background: #080808 !important;
    color: #f4f4f1 !important
}

body {
    overflow-x: hidden
}

::selection {
    background: #f4f4f1;
    color: #080808
}

.nav {
    background: rgba(8, 8, 8, .86) !important;
    color: #f4f4f1 !important;
    border-color: #292929 !important;
    box-shadow: 0 8px 40px #0003
}

.nav a,
.brand,
.menu {
    color: #f4f4f1 !important
}

.brand span {
    color: #888
}

.lang {
    border-color: #444 !important;
    color: #f4f4f1 !important
}

.main-nav a,
.nav-actions>a {
    color: #c7c7c2 !important
}

.main-nav a:hover,
.nav-actions>a:hover {
    color: #fff !important
}

.nav-actions .cart {
    border-color: #393939 !important
}

.cart b {
    background: #f4f4f1 !important;
    color: #080808 !important
}

.noise {
    opacity: .055 !important;
    mix-blend-mode: screen !important
}

.hero {
    min-height: min(900px, calc(100svh - 76px));
    background-color: #080808 !important;
    isolation: isolate
}

.hero:before {
    background: linear-gradient(90deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .15)), linear-gradient(0deg, #080808 0%, rgba(0, 0, 0, .05) 78%) !important
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .26;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(90deg, #000, transparent 85%);
    animation: grid-drift 24s linear infinite
}

.hero-copy {
    z-index: 2;
    max-width: 1100px
}

.hero h1 {
    font-size: clamp(3.2rem, 14vw, 8.5rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -.105em !important;
    text-shadow: 0 0 55px #fff1;
    animation: hero-title-in 1.15s var(--ease) both
}

[dir=rtl] .hero h1 {
    letter-spacing: -.105em !important;
    line-height: 0.98 !important
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d4d4cf !important
}

.hero .eyebrow:before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: #fff;
    animation: eyebrow-line 1.2s .2s both
}

.hero-copy>p:not(.eyebrow) {
    color: #bdbdb7 !important;
    animation: rise-in .9s .28s both
}

.hero-copy>div {
    animation: rise-in .9s .45s both
}

.hero .btn.light {
    background: #f4f4f1 !important;
    color: #080808 !important;
    border: 1px solid #f4f4f1 !important
}

.hero .text-btn {
    color: #f4f4f1 !important
}

.hero .scroll {
    color: #aaa !important;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    gap: 12px
}

.hero .scroll:before {
    content: "";
    height: 50px;
    width: 1px;
    background: linear-gradient(transparent, #eee);
    animation: scroll-pulse 1.8s ease-in-out infinite
}

.hero-orbit {
    position: absolute;
    width: min(43vw, 600px);
    aspect-ratio: 1;
    inset-inline-end: clamp(20px, 8vw, 130px);
    top: 50%;
    transform: translateY(-56%);
    border: 1px solid #ffffff24;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: orbit-rotate 42s linear infinite
}

.hero-orbit:before,
.hero-orbit:after {
    content: "";
    position: absolute;
    border: 1px solid #ffffff24;
    border-radius: 50%;
    inset: 12%
}

.hero-orbit:after {
    inset: 26%;
    border-color: #ffffff40;
    box-shadow: 0 0 90px #ffffff09, inset 0 0 70px #ffffff09
}

.hero-orbit .orbit-core {
    position: absolute;
    inset: 42%;
    border-radius: 50%;
    background: #eee;
    box-shadow: 0 0 30px #fff9, 0 0 100px #fff2;
    animation: core-pulse 4s ease-in-out infinite
}

.hero-orbit .orbit-dot {
    position: absolute;
    left: 9%;
    top: 24%;
    width: 9px;
    height: 9px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 18px #fff;
    animation: dot-pulse 2.4s ease-in-out infinite
}

.hero-index {
    position: absolute;
    top: clamp(24px, 4vw, 60px);
    inset-inline-end: clamp(20px, 5vw, 75px);
    font: 700 10px/1.8 monospace;
    letter-spacing: .22em;
    color: #666;
    z-index: 2
}

.hero-index strong {
    display: block;
    color: #eee;
    font-size: 15px
}

.section,
.page {
    color: #f4f4f1 !important
}

.split {
    border-color: #2b2b2b !important
}

.split h2,
.section-head h2,
.page-title h1 {
    color: #f4f4f1 !important
}

.lead {
    color: #aaa !important
}

.eyebrow {
    color: #999
}

.section-head .arrow,
.arrow {
    color: #f4f4f1 !important;
    border-color: #666 !important
}

.event-card {
    background: #0d0d0d !important;
    border-color: #282828 !important;
    color: #f4f4f1 !important;
    overflow: hidden
}

.event-card:hover {
    background: #141414 !important;
    border-color: #666 !important
}

.event-img {
    background-color: #171717 !important;
    filter: grayscale(1) contrast(1.08) !important
}

.event-img span {
    background: #f4f4f1 !important;
    color: #080808 !important
}

.event-meta p,
.member p {
    color: #999 !important
}

.event-meta strong {
    color: #f4f4f1
}

.member {
    border-color: #303030 !important
}

.member img,
.member .avatar {
    filter: grayscale(1) contrast(1.06) !important;
    background: #151515 !important
}

.marquee {
    background: #f4f4f1 !important;
    color: #080808 !important
}

.page-title,
.event-list,
.event-row,
.album,
.track,
.ticket-list,
.ticket-list-card {
    border-color: #292929 !important
}

.event-row {
    color: #f4f4f1 !important
}

.event-row:hover {
    background: #121212 !important
}

.event-row p,
.event-row time small {
    color: #999 !important
}

.album-cover {
    background-color: #171717 !important;
    filter: grayscale(1) !important
}

.album-cover:after {
    background: linear-gradient(0deg, rgba(0, 0, 0, .72), transparent 70%) !important
}

.album-cover span {
    color: #fff !important
}

.track-head small,
.album>p {
    color: #999 !important
}

.audio-player {
    background: #141414 !important;
    border: 1px solid #2b2b2b
}

.play-toggle {
    background: #f4f4f1 !important;
    color: #080808 !important;
    border-color: #f4f4f1 !important
}

.mute {
    color: #f4f4f1 !important;
    border-color: #555 !important
}

.progress {
    accent-color: #f4f4f1
}

footer {
    background: #050505 !important;
    color: #f4f4f1 !important;
    border-top: 1px solid #242424
}

footer a {
    color: #bbb !important
}

footer small {
    border-color: #282828 !important;
    color: #777 !important
}

.empty {
    border-color: #383838 !important;
    color: #999 !important
}

.btn,
.btn.light {
    background: #f4f4f1 !important;
    color: #080808 !important;
    border-color: #f4f4f1 !important
}

.btn:hover {
    background: #d8d8d2 !important;
    color: #080808 !important;
    box-shadow: 0 10px 28px #fff1 !important
}

.btn.ghost {
    background: transparent !important;
    color: #f4f4f1 !important;
    border-color: #444 !important
}

.messages {
    background: #171717 !important;
    border: 1px solid #333;
    color: #f4f4f1 !important
}

.event-hero {
    background-color: #101010 !important
}

.event-hero:before {
    background: linear-gradient(0deg, #080808, rgba(0, 0, 0, .15) 85%) !important
}

.seat-sale-head h2 {
    color: #f4f4f1
}

.seat-sale-head p {
    color: #aaa !important
}

.seat-legend {
    color: #bbb !important
}

.seat-dot {
    border: 1px solid #fff5 !important
}

.seat-dot.available {
    background: var(--green) !important;
    border-color: var(--green) !important;
    box-shadow: 0 0 12px #35e88b44
}

.seat-dot.reserved {
    background: var(--yellow) !important;
    border-color: var(--yellow) !important;
    box-shadow: 0 0 12px #ffd34e33
}

.seat-dot.sold {
    background: var(--red) !important;
    border-color: var(--red) !important;
    box-shadow: 0 0 12px #ff4b5533
}

.seat-dot.selected {
    background: #f4f4f1 !important;
    border-color: #fff !important
}

.floor-tabs {
    scrollbar-color: #555 #111
}

.floor-tab {
    background: #111 !important;
    color: #bbb !important;
    border-color: #383838 !important
}

.floor-tab:hover {
    border-color: #aaa !important;
    color: #fff !important
}

.floor-tab.active {
    background: #f4f4f1 !important;
    color: #080808 !important;
    border-color: #f4f4f1 !important
}

.seat-floor {
    background: #0c0c0c !important;
    border-color: #303030 !important
}

.venue-canvas {
    background: #101010 !important;
    border-color: #353535 !important;
    box-shadow: 0 20px 70px #0008
}

.venue-grid {
    background-image: linear-gradient(#ffffff0b 1px, transparent 1px), linear-gradient(90deg, #ffffff0b 1px, transparent 1px) !important;
    background-size: 24px 24px
}

.chair-element {
    background: var(--green) !important;
    color: #04160c !important;
    border: 1px solid #7affb8 !important;
    box-shadow: 0 0 0 1px #35e88b12;
    transition: transform .22s var(--ease), box-shadow .22s, filter .22s !important
}

.chair-element.available {
    background: var(--green) !important;
    color: #04160c !important;
    border-color: #7affb8 !important
}

.chair-element.available:hover {
    filter: brightness(1.13);
    box-shadow: 0 0 18px #35e88b88 !important;
    transform: scale(1.08) !important;
    z-index: 4
}

.chair-element.reserved,
.chair-element.reserved:disabled {
    background: var(--yellow) !important;
    color: #241b00 !important;
    border-color: #ffe68d !important;
    opacity: 1 !important;
    box-shadow: 0 0 10px #ffd34e30 !important
}

.chair-element.sold,
.chair-element.sold:disabled {
    background: var(--red) !important;
    color: #fff !important;
    border-color: #ff858b !important;
    opacity: 1 !important;
    box-shadow: 0 0 10px #ff4b5530 !important
}

.chair-element.unavailable,
.chair-element.unavailable:disabled {
    background: #424242 !important;
    color: #bbb !important;
    border-color: #555 !important;
    opacity: .7 !important
}

.chair-element.selected {
    background: #f4f4f1 !important;
    color: #080808 !important;
    border: 2px solid #fff !important;
    outline: 2px solid #f4f4f1 !important;
    outline-offset: 2px;
    box-shadow: 0 0 22px #fff8 !important;
    z-index: 5
}

.venue-element-label {
    color: #b7b7b1 !important
}

.venue-stage {
    background: #f4f4f1 !important;
    color: #080808 !important;
    border: 1px solid #fff
}

.seat-selection-bar {
    background: rgba(13, 13, 13, .96) !important;
    border: 1px solid #393939;
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 60px #000b !important
}

.seat-selection-bar .eyebrow {
    color: #999 !important
}

.ticket-card,
.checkout-box,
.form-card,
.profile-side,
.summary {
    background: #101010 !important;
    border-color: #303030 !important;
    color: #f4f4f1 !important
}

.ticket-card small,
.checkout-box p {
    color: #aaa !important
}

.ticket-card input,
.checkout-box input,
.form-card input,
.form-card select,
.form-card textarea {
    background: #090909 !important;
    color: #f4f4f1 !important;
    border-color: #393939 !important
}

.checkout-total {
    background: #171717 !important
}

.checkout-total span {
    color: #aaa !important
}

.checkout-total strong {
    color: #fff
}

.ticket-paper {
    background: #fff !important;
    color: #111 !important
}

/* Tickets stay printer-friendly. */
.ticket-paper .eyebrow,
.ticket-paper p,
.ticket-paper .ticket-code {
    color: #555 !important
}

.ticket-paper .btn {
    background: #080808 !important;
    color: #fff !important;
    border-color: #080808 !important
}

.profile-head {
    border-color: #303030 !important
}

.profile-head p,
.profile-links a {
    color: #aaa !important
}

.profile-links a {
    border-color: #444 !important
}

.mini-stat {
    border-color: #303030 !important
}

.mini-stat span {
    color: #999 !important
}

.admin-shell {
    background: #080808 !important;
    color: #f4f4f1 !important
}

.admin-sidebar {
    background: #050505 !important;
    border-color: #292929 !important
}

.admin-sidebar>a {
    color: #aaa !important
}

.admin-sidebar>a:hover,
.admin-sidebar>a.active {
    background: #191919 !important;
    color: #fff !important;
    border-color: #393939 !important
}

.admin-panel,
.admin-stats>div {
    background: #111 !important;
    border-color: #303030 !important
}

.admin-table td,
.admin-table th {
    border-color: #2b2b2b !important
}

.status-pill {
    background: #1a1a1a !important;
    color: #ddd !important
}

@keyframes hero-title-in {
    from {
        opacity: 0;
        transform: translateY(42px) skewY(2deg);
        filter: blur(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0) skewY(0);
        filter: blur(0)
    }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes grid-drift {
    to {
        background-position: 68px 68px
    }
}

@keyframes orbit-rotate {
    to {
        rotate: 360deg
    }
}

@keyframes core-pulse {

    0%,
    100% {
        transform: scale(.84);
        opacity: .72
    }

    50% {
        transform: scale(1.12);
        opacity: 1
    }
}

@keyframes dot-pulse {

    0%,
    100% {
        opacity: .45;
        box-shadow: 0 0 6px #fff
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 24px #fff
    }
}

@keyframes eyebrow-line {
    from {
        width: 0;
        opacity: 0
    }

    to {
        width: 28px;
        opacity: 1
    }
}

@keyframes scroll-pulse {

    0%,
    100% {
        opacity: .25;
        transform: scaleY(.7);
        transform-origin: top
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px) scale(.99);
    filter: blur(3px);
    transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease)
}

.reveal.visible {
    opacity: 1;
    transform: none;
    filter: none
}

@media(max-width:900px) {
    .hero-orbit {
        width: min(58vw, 440px);
        inset-inline-end: -5vw;
        opacity: .65
    }

    .hero h1 {
        font-size: clamp(4rem, 16vw, 9rem) !important
    }

    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:640px) {
    .hero {
        min-height: 680px;
        padding: 32px 20px 95px
    }

    .hero-orbit {
        width: 76vw;
        inset-inline-end: -24vw;
        top: 30%;
        opacity: .35
    }

    .hero-index {
        top: 22px;
        inset-inline-end: 20px
    }

    .hero h1 {
        font-size: clamp(3.4rem, 18vw, 6rem) !important
    }

    .hero .scroll {
        writing-mode: horizontal-tb;
        inset-inline-end: 20px;
        bottom: 20px
    }

    .hero .scroll:before {
        height: 1px;
        width: 34px
    }

    .event-grid {
        grid-template-columns: 1fr
    }

    .event-img {
        height: 280px
    }

    .seat-floor {
        padding: 8px
    }

    .seat-selection-bar {
        position: sticky;
        bottom: 4px
    }

    .seat-selection-bar button {
        width: 100%
    }
}

@media(prefers-reduced-motion:reduce) {

    .hero:after,
    .hero-orbit,
    .orbit-dot,
    .orbit-core,
    .hero h1,
    .hero-copy>p,
    .hero-copy>div,
    .marquee div {
        animation: none !important
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important
    }
}


/* Base-shell refinements */
.page-progress {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    pointer-events: none;
    background: #ffffff0b
}

.page-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #f4f4f1;
    box-shadow: 0 0 12px #ffffff88;
    transition: width .08s linear
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2000;
    transform: translateY(-150%);
    background: #f4f4f1;
    color: #080808;
    padding: 12px 16px;
    font-weight: 800
}

.skip-link:focus {
    transform: translateY(0)
}

.hero:after {
    background-image: radial-gradient(circle at var(--pointer-x, 70%) var(--pointer-y, 35%), #ffffff12, transparent 34%), linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px) !important;
    background-size: auto, 68px 68px, 68px 68px !important
}

.hero-orbit {
    transform: translate3d(var(--orbit-x, 0px), calc(-56% + var(--orbit-y, 0px)), 0) !important;
    transition: transform .4s ease-out
}

#main-content {
    min-height: 45vh
}

.nav .menu {
    display: none
}

@media(max-width:640px) {
    .nav .menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 42px;
        min-height: 42px;
        border: 1px solid #343434 !important;
        color: #fff !important;
        background: #101010 !important;
        font-size: 17px;
        line-height: 1;
    }

    .nav {
        gap: 12px
    }

    .nav-actions {
        gap: 8px
    }

    .nav-actions .cart {
        padding: 6px 6px;
    }

    .main-nav {
        background: #090909
    }

    .hero-orbit {
        transform: translate3d(var(--orbit-x, 0px), calc(-56% + var(--orbit-y, 0px)), 0) !important
    }
}

.chair-element.sold:hover {
  transform: rotate(var(--seat-rotation, 0deg)) scale(1.08) !important;
}
.chair-element.unavailable:hover {
  transform: rotate(var(--seat-rotation, 0deg)) scale(1.08) !important;
}
.chair-element.reserved:hover {
  transform: rotate(var(--seat-rotation, 0deg)) scale(1.08) !important;
}
.chair-element.available:hover {
  transform: rotate(var(--seat-rotation, 0deg)) scale(1.08) !important;
}

.phone-gate-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: #000c;
}

.phone-gate-preview {
    position: absolute;
    inset: -2rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(38px, 1fr));
    align-content: center;
    justify-items: center;
    gap: 1.2rem;
    filter: blur(9px);
    opacity: .48;
    transform: rotate(-8deg) scale(1.15)
}

.gate-seat {
    width: 4rem;
    height: 2.7rem;
    border: 1px solid #c7a66a;
    border-radius: .6rem;
    background: #25221b
}

.phone-gate-card {
    position: relative;
    width: min(100% - 2rem, 34rem);
    max-height: 90vh;
    overflow: auto;
    padding: clamp(1.2rem, 4vw, 2rem);
    border: 1px solid #c7a66a;
    border-radius: 1rem;
    background: #151512;
    color: #f6f2e9;
    box-shadow: 0 1rem 5rem #000
}

.phone-gate-card h2 {
    margin: .6rem 0
}

.phone-gate-card label {
    display: block;
    margin: 1rem 0 .4rem
}

.phone-gate-card input {
    width: 100%;
    min-height: 3rem;
    padding: .75rem;
    border: 1px solid #62583f;
    border-radius: .45rem;
    background: #080807;
    color: #fff
}

.phone-gate-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: .8rem
}

.row-element {
    border-radius: .7rem !important;
    font-size: .85rem !important;
    letter-spacing: .04em
}

@media(max-width:640px) {
    .phone-gate-preview {
        grid-template-columns: repeat(4, minmax(38px, 1fr));
        gap: .8rem
    }
}

/* Keep the Persian navigation centered and move the mobile controls to the left. */
@media(min-width:641px) {
    .nav-controls {
        display: contents
    }

    .nav>.brand {
        order: 1
    }

    .nav>.main-nav {
        order: 2
    }

    .nav-controls>.nav-actions {
        order: 3
    }
}

@media(min-width:641px) {
    html[dir="rtl"] .nav {
        direction: rtl
    }

    html[dir="rtl"] .main-nav {
        direction: rtl;
        justify-content: center;
        text-align: center;
        flex: 1;
        margin-inline: auto
    }
}

@media(max-width:640px) {
    .nav {
        display: grid !important;
        height: auto !important;
        min-height: 64px;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 8px !important;
        direction: ltr !important;
        align-items: center;
        padding: 10px 14px !important
    }

    .nav>.brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        direction: ltr;
        white-space: nowrap
    }

    .nav>.nav-controls {
        grid-column: 1;
        grid-row: 1;
        justify-self: stretch;
        align-self: center;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        width: 100%;
        min-width: 0;
        direction: ltr
    }

    .nav-controls>.menu {
        display: inline-flex;
        flex: 0 0 37px;
        align-items: center;
        justify-content: center;
        min-width: 33px;
        min-height: 31px;
        margin: 0 !important
    }

    .nav-controls>.nav-actions {
        display: flex;
        flex: 1 1 auto;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        min-width: 0;
        max-width: 100%;
        margin: 0 !important;
        direction: ltr !important
    }

    .nav-controls .nav-actions>a {
        white-space: nowrap;
        letter-spacing: 0;
        text-transform: none;
        font-size: -1.25rem;
        /* padding: 7px 2px; */
    }

    .nav>.main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin: 0;
        text-align: center;
        direction: rtl;
        align-items: center
    }

    .nav>.main-nav.mobile-open {
        display: flex
    }
}

.designer-selection-box {
    position: absolute;
    z-index: 1000;
    border: 1px solid #f1d28b;
    background: #e2bc6325;
    box-shadow: 0 0 0 1px #f1d28b55;
    pointer-events: none
}
.nav-actions > a.account-icon,
.nav-controls .nav-actions > a.account-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  color: #f4f4f1;
}

.account-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Event calendar redesign */
.event-calendar-page { padding-block:clamp(34px,7vw,90px); }
.event-calendar-heading { display:flex; justify-content:space-between; align-items:end; gap:32px; margin-bottom:clamp(30px,6vw,68px); }
.event-calendar-heading h1 { max-width:850px; margin:14px 0 0; color:#f4f2ec; font-size:clamp(2.8rem,8vw,7.5rem); line-height:.92; letter-spacing:-.075em; }
[dir=rtl] .event-calendar-heading h1 { letter-spacing:0; line-height:1.2; }
.event-calendar-heading>p { max-width:330px; margin:0 0 5px; color:#a5a49c; font-size:1rem; line-height:1.8; }
.event-list-cards { display:grid; gap:12px; border:0; }
.event-list-cards .event-card { position:relative; display:grid; grid-template-columns:76px minmax(0,1fr) minmax(230px,290px) auto; align-items:center; gap:clamp(14px,2.6vw,34px); min-height:148px; padding:20px clamp(16px,2.5vw,30px); border:1px solid #ffffff20 !important; border-radius:16px; color:#f5f3ed !important; background:linear-gradient(115deg,#171815,#0b0c0b 70%) !important; transition:transform .25s ease,border-color .25s ease,background .25s ease; }
.event-list-cards .event-card:hover { padding-inline:clamp(16px,2.5vw,30px); transform:translateY(-3px); border-color:#b7f56c88 !important; background:linear-gradient(115deg,#1d2117,#0c0d0b 75%) !important; }
.event-date-tile { display:grid; align-content:center; justify-items:center; min-height:78px; padding:8px; border:1px solid #b7f56c3b; border-radius:12px; background:#b7f56c0b; }
.event-date-tile strong { color:#c4fa81; font-size:2.2rem; line-height:1; letter-spacing:-.07em; }
.event-date-tile small { margin-top:7px; color:#aaa99f !important; font-size:.68rem; white-space:nowrap; }
.event-card-kicker { display:block; margin-bottom:7px; color:#b7f56c; font-size:.68rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.event-list-cards .event-card h2 { margin:0 0 8px; color:#f6f4ee; font-size:clamp(1.2rem,2.5vw,2rem); letter-spacing:-.04em; }
.event-list-cards .event-card p { margin:0; color:#aaa99f !important; }
.event-capacity-card { display:grid; align-content:center; gap:9px; padding-inline-start:18px; border-inline-start:1px solid #ffffff18; }
.capacity-total { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.capacity-total span { color:#aaa99f; font-size:.62rem; font-weight:800; letter-spacing:.12em; }
.capacity-total strong { color:#f3f1eb; font-size:1.2rem; font-variant-numeric:tabular-nums; }
.capacity-breakdown { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
.capacity-breakdown>span { display:grid; grid-template-columns:7px minmax(0,1fr); align-content:start; align-items:center; column-gap:5px; row-gap:4px; min-width:0; padding:7px 6px; border:1px solid #ffffff10; border-radius:8px; color:#aaa99f; font-size:.56rem; line-height:1.3; }
.capacity-breakdown b { grid-column:2; color:#f4f2ec; font-size:.85rem; font-variant-numeric:tabular-nums; }
.capacity-dot { width:6px; height:6px; border-radius:50%; }
.sold-dot { background:#ff777e; }
.held-dot { background:#f1c66d; }
.available-dot { background:#b7f56c; }
.event-card-link { align-self:center; display:flex; align-items:center; gap:9px; color:#dddcd5; font-size:.72rem; font-weight:700; white-space:nowrap; }
.event-card-link b { color:#b7f56c; font-size:1.2rem; }
.event-empty-state { padding:clamp(32px,7vw,80px); border:1px solid #ffffff20; border-radius:16px; background:radial-gradient(ellipse at 8% 0%,#b7f56c12,transparent 55%),#0d0e0c; }
.event-empty-state h2 { margin:14px 0 8px; color:#f4f2ec; font-size:clamp(1.7rem,4vw,3rem); }
.event-empty-state p { color:#a5a49c !important; }
.event-capacity-summary { display:grid; grid-template-columns:repeat(4,minmax(90px,1fr)); width:max-content; max-width:100%; align-items:center; margin-top:18px; padding:10px 12px; border:1px solid #ffffff2b; border-radius:13px; background:#090a08b8; backdrop-filter:blur(10px); }
.event-capacity-summary .capacity-metric { display:grid; gap:4px; padding-inline:12px; border-inline-start:1px solid #ffffff20; }
.event-capacity-summary .capacity-metric:first-child { border-inline-start:0; }
.event-capacity-summary span { color:#c3c1b7; font-size:.62rem; font-weight:800; letter-spacing:.12em; }
.event-capacity-summary strong { color:#c5f982; font-size:1.2rem; font-variant-numeric:tabular-nums; }
.event-capacity-summary .sold-metric strong { color:#ff9a9f; }
.event-capacity-summary .held-metric strong { color:#f1c66d; }
.event-capacity-summary .available-metric strong { color:#b7f56c; }

@media(max-width:760px) {
  .event-calendar-heading { display:block; }
  .event-calendar-heading>p { margin-top:18px; }
  .event-list-cards .event-card { grid-template-columns:62px minmax(0,1fr); gap:14px; padding:16px; }
  .event-date-tile { grid-row:1 / span 2; }
  .event-card-main { min-width:0; }
  .event-capacity-card { grid-column:2; grid-row:2; gap:8px; padding:10px 0 0; border-inline-start:0; border-top:1px solid #ffffff18; }
  .capacity-total strong { font-size:1rem; }
  .capacity-breakdown { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .capacity-breakdown>span { font-size:.62rem; }
  .event-card-link { grid-column:2; grid-row:3; justify-self:start; }
  .event-capacity-summary { grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; padding:8px; }
  .event-capacity-summary .capacity-metric { padding:8px 10px; }
  .event-capacity-summary .capacity-metric:nth-child(odd) { border-inline-start:0; }
  .event-capacity-summary span { font-size:.55rem; }
}
@media(max-width:420px) {
  .event-calendar-heading h1 { font-size:2.65rem; }
  .event-list-cards .event-card { grid-template-columns:54px minmax(0,1fr); gap:11px; }
  .event-date-tile strong { font-size:1.8rem; }
  .event-date-tile small { font-size:.58rem; }
}
