*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0b0a0a;
    --fg: #e8e4df;
    --dim: #a09890;
    --red: #8c2a2a;
    --red-bright: #b33a3a;
    --red-glow: rgba(140, 42, 42, 0.4);
    --serif: 'Playfair Display', 'Georgia', serif;
    --body: 'Cormorant Garamond', 'Georgia', serif;
}

html {
    scroll-behavior: smooth;
    font-size: 19px;
}

body {
    font-family: var(--body);
    color: var(--fg);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ─── Shader canvas ─── */

#shaderCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ─── Film grain ─── */

.grain {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.06;
    filter: url(#grain);
    width: 100%;
    height: 100%;
}

/* ─── Layout ─── */

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    position: relative;
    z-index: 2;
}

/* ─── Header ─── */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background: rgba(11, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(140, 42, 42, 0.3);
    transition: border-color 0.4s;
}

.header:hover {
    border-bottom-color: var(--red);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.header-phone {
    font-family: var(--body);
    font-size: 1.3rem;
    color: var(--fg);
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.3s;
}

.header-phone:hover {
    color: var(--red-bright);
}

/* ─── Hero ─── */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
}

.hero-inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-pre {
    font-family: var(--body);
    font-size: 1rem;
    color: var(--dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeIn 1s 0.2s both;
}

/* ─── Glitch title ─── */

.hero-title {
    font-family: var(--serif);
    font-size: clamp(5rem, 20vw, 16rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s both;
}

.glitch {
    position: relative;
    display: inline-block;
    color: var(--fg);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.glitch::before {
    color: var(--red-bright);
    animation: glitch-1 8s infinite ease-in-out;
    clip-path: inset(10% 0 70% 0);
    opacity: 0.8;
}

.glitch::after {
    color: var(--red);
    animation: glitch-2 7s infinite ease-in-out;
    clip-path: inset(65% 0 5% 0);
    opacity: 0.6;
}

@keyframes glitch-1 {
    0%, 88% { transform: translate(0); clip-path: inset(10% 0 70% 0); }
    89% { transform: translate(-4px, 1px); clip-path: inset(5% 0 55% 0); }
    90% { transform: translate(3px, -1px); clip-path: inset(25% 0 45% 0); }
    91% { transform: translate(-2px, 0); clip-path: inset(40% 0 35% 0); }
    92% { transform: translate(0); clip-path: inset(10% 0 70% 0); }
    92.5%, 100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0%, 86% { transform: translate(0); clip-path: inset(65% 0 5% 0); }
    87% { transform: translate(3px, -1px); clip-path: inset(70% 0 0% 0); }
    88% { transform: translate(-4px, 2px); clip-path: inset(55% 0 10% 0); }
    89% { transform: translate(2px, 0); clip-path: inset(75% 0 0% 0); }
    90% { transform: translate(0); clip-path: inset(65% 0 5% 0); }
    90.5%, 100% { transform: translate(0); }
}

.hero-author {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--dim);
    margin-bottom: 2rem;
    animation: fadeIn 1s 0.4s both;
}

.hero-sub {
    font-family: var(--body);
    font-size: 1.25rem;
    color: var(--fg);
    line-height: 1.7;
    margin-bottom: 3rem;
    animation: fadeIn 1s 0.6s both;
}

.hero-dates {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s 0.8s both;
}

.hero-date {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--fg);
    letter-spacing: 1px;
}

.hero-date-sep {
    color: var(--red);
    font-size: 1.6rem;
}

.hero-date-year {
    font-family: var(--body);
    font-size: 1rem;
    color: var(--dim);
    margin-left: 0.3rem;
}

.hero-cta {
    display: inline-block;
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 1rem 2.5rem;
    border: 1px solid var(--red);
    transition: all 0.4s;
    animation: fadeIn 1s 1s both;
}

.hero-cta:hover {
    background: var(--red);
    box-shadow: 0 0 40px var(--red-glow);
    color: #fff;
}

.scroll-arrow {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--red);
    opacity: 0.5;
    animation: arrow-bob 2.5s ease-in-out infinite;
}

@keyframes arrow-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.2; }
}

/* ─── Quote ─── */

.quote-section {
    padding: 8rem 2rem;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(140, 42, 42, 0.2);
}

.quote {
    max-width: 700px;
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--red);
}

.quote p {
    font-family: var(--serif);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-style: italic;
    line-height: 1.8;
    color: var(--fg);
}

/* ─── About play ─── */

.about-play {
    padding: 6rem 2rem;
}

.section-title {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.6rem;
    left: 0;
    width: 2.5rem;
    height: 2px;
    background: var(--red);
}

.about-play-text p {
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--fg);
    margin-bottom: 1.5rem;
}

.play-note {
    font-style: italic;
    color: var(--red-bright);
    font-size: 1rem;
}

/* ─── About theatre ─── */

.about-theatre {
    padding: 6rem 2rem;
    border-top: 1px solid rgba(140, 42, 42, 0.15);
}

.theatre-desc {
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--fg);
    margin-bottom: 2.5rem;
}

.theatre-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.link-btn {
    font-family: var(--body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fg);
    text-decoration: none;
    letter-spacing: 1px;
    padding: 0.8rem 1.8rem;
    border: 1px solid var(--red);
    transition: all 0.3s;
}

.link-btn:hover {
    background: var(--red);
    box-shadow: 0 0 20px var(--red-glow);
}

.link-btn--ghost {
    border-color: rgba(140, 42, 42, 0.4);
    color: var(--dim);
}

.link-btn--ghost:hover {
    border-color: var(--red);
    color: var(--fg);
    background: transparent;
    box-shadow: none;
}

/* ─── Details ─── */

.details {
    padding: 6rem 2rem;
    border-top: 1px solid rgba(140, 42, 42, 0.15);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.detail-card {
    padding: 2rem;
    border: 1px solid rgba(140, 42, 42, 0.2);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.detail-card:hover {
    border-color: var(--red);
    box-shadow: 0 0 30px rgba(140, 42, 42, 0.15);
}

.detail-label {
    display: block;
    font-family: var(--body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red-bright);
    margin-bottom: 1rem;
}

.detail-value {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.detail-price {
    font-size: 1.8rem;
}

.detail-sub {
    font-size: 1.1rem;
    color: var(--dim);
}

.detail-card--link {
    text-decoration: none;
    color: var(--fg);
    cursor: pointer;
}

.detail-map-hint {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--red-bright);
    letter-spacing: 1px;
    transition: color 0.3s;
}

.detail-card--link:hover .detail-map-hint {
    color: var(--fg);
}

/* ─── Ticket section ─── */

.ticket-section {
    padding: 8rem 2rem;
    border-top: 1px solid rgba(140, 42, 42, 0.15);
}

.ticket-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dim);
    margin-bottom: 3rem;
    max-width: 540px;
}

.ticket-methods {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.ticket-divider {
    width: 1px;
    background: rgba(140, 42, 42, 0.3);
    align-self: stretch;
}

.ticket-method {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ticket-method-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red-bright);
}

.ticket-phone {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--fg);
    text-decoration: none;
    transition: color 0.3s;
}

.ticket-phone:hover {
    color: var(--red-bright);
}

.ticket-contact {
    font-size: 0.95rem;
    color: var(--dim);
}

.ticket-card {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: var(--fg);
    letter-spacing: 2px;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(140, 42, 42, 0.3);
    background: rgba(140, 42, 42, 0.05);
    display: inline-block;
}

.copy-btn {
    font-family: var(--body);
    font-size: 0.85rem;
    color: var(--dim);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0;
    transition: color 0.3s;
    align-self: flex-start;
}

.copy-btn:hover {
    color: var(--red-bright);
}

.ticket-warning {
    padding: 1.5rem;
    border: 1px solid rgba(140, 42, 42, 0.3);
    background: rgba(140, 42, 42, 0.05);
}

.ticket-warning p {
    font-size: 0.95rem;
    color: var(--dim);
    line-height: 1.7;
}

.ticket-warning p + p {
    margin-top: 0.5rem;
}

/* ─── Footer ─── */

.footer {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(140, 42, 42, 0.3);
}

.footer-cta {
    display: inline-block;
    font-family: var(--body);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 1.2rem 3rem;
    background: var(--red);
    border: 1px solid var(--red);
    margin-bottom: 3rem;
    transition: all 0.4s;
}

.footer-cta:hover {
    background: transparent;
    color: var(--red-bright);
    box-shadow: 0 0 40px var(--red-glow);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--dim);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--red-bright);
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--dim);
}

/* ─── Animations ─── */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─── */

@media (max-width: 768px) {
    html { font-size: 17px; }

    .header {
        padding: 1rem 1.5rem;
    }

    .header-phone {
        font-size: 0.85rem;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: clamp(3rem, 15vw, 6rem);
    }

    .hero-dates {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .quote-section {
        padding: 5rem 1.5rem;
    }

    .quote {
        padding-left: 1.5rem;
    }

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

    .ticket-methods {
        flex-direction: column;
        gap: 2rem;
    }

    .ticket-divider {
        width: 100%;
        height: 1px;
    }

    .theatre-links {
        flex-direction: column;
    }

    .link-btn {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    html { font-size: 16px; }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-cta {
        width: 100%;
        text-align: center;
    }

    .footer-cta {
        width: 100%;
    }
}