/* ============================================================
   ULTRACON UK - Main Stylesheet
   Aesthetic: bold, cinematic comic-con. Brand palette:
   true Ultracon red (#E30613), pure black, white. With diagonal
   speed-line accents pulled from the brand mark.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
    /* palette - Ultracon brand red + comic-book gold */
    --bg:            #000000;
    --bg-2:          #0a0a0a;
    --bg-3:          #141417;
    --ink:           #ffffff;
    --ink-muted:     #a8a8b0;
    --ink-faint:     #5e5e68;

    --red:           #e30613;          /* brand red */
    --red-deep:      #b00510;          /* hover / pressed */
    --red-soft:      rgba(227, 6, 19, 0.15);

    --gold:          #ffcb05;          /* primary CTA / accent gold */
    --gold-deep:     #e0a800;          /* gold hover */

    /* type */
    --display: 'Bungee', 'Impact', sans-serif;
    --body:    'Outfit', system-ui, sans-serif;

    /* layout */
    --container: 1280px;
    --gutter: clamp(1rem, 4vw, 2.5rem);

    /* radii / shadow */
    --radius: 4px;
    --radius-lg: 18px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px; /* clears the sticky header (taller now with bigger logo) on anchor jumps */
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; }
::selection { background: var(--red); color: var(--ink); }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow,
.section-eyebrow {
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.section-eyebrow.centered { display: block; text-align: center; margin-bottom: 1rem; }

.eyebrow-dot {
    width: 8px; height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--red);
    animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.5); } }

.accent-red    { color: var(--red); }
.accent-gold   { color: var(--gold); }
.accent-white  { color: var(--ink); }


/* ---------- ANNOUNCEMENT BAR ---------- */
/* Diagonal speed-line stripes lifted straight from the brand mark */
.announce-bar {
    position: relative;
    background: var(--red);
    color: var(--ink);
    text-align: center;
    padding: 0.6rem var(--gutter);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    font-weight: 500;
    overflow: hidden;
    z-index: 1;
}
.announce-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        110deg,
        transparent 0,
        transparent 22px,
        rgba(0, 0, 0, 0.18) 22px,
        rgba(0, 0, 0, 0.18) 24px
    );
    pointer-events: none;
    z-index: -1;
}
.announce-pulse {
    width: 8px; height: 8px;
    background: var(--ink);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--ink);
    animation: pulse 1.4s ease-in-out infinite;
}


/* ---------- HEADER / NAV ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0.6rem var(--gutter);
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Brand uses the real Ultracon mainlogo image */
.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.brand:hover { transform: translateY(-1px); }
.brand-img {
    height: 96px;
    width: auto;
    display: block;
}
.brand-large .brand-img { height: 80px; }


.primary-nav {
    display: flex;
    gap: 2.2rem;
    margin-left: auto;
    margin-right: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}
.primary-nav a {
    color: var(--ink-muted);
    transition: color 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.primary-nav a:hover::after { transform: scaleX(1); }


/* ---------- CTA BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.4rem;
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

/* Gold on dark with a chunky red offset shadow — the original recipe */
.btn-tickets {
    background: var(--gold);
    color: var(--bg);
    position: relative;
    box-shadow: 4px 4px 0 var(--red);
}
.btn-tickets::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    pointer-events: none;
}
.btn-tickets:hover {
    background: var(--gold-deep);
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--red);
}
.btn-tickets:hover::before { transform: translateX(120%); }
.btn-tickets:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--red); }

.btn-hero {
    padding: 1.15rem 2rem;
    font-size: 1.05rem;
    box-shadow: 6px 6px 0 var(--red);
}
.btn-hero:hover { box-shadow: 9px 9px 0 var(--red); }

.btn-small { padding: 0.65rem 1.1rem; font-size: 0.85rem; box-shadow: 3px 3px 0 var(--red); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 2px solid rgba(255, 255, 255, 0.25);
    padding: 1rem 1.8rem;
    font-size: 1rem;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* nav-toggle hidden on desktop */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: calc(100vh - 110px);
    padding: clamp(3rem, 9vh, 7rem) var(--gutter) clamp(3rem, 9vh, 6rem);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(227, 6, 19, 0.30), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(227, 6, 19, 0.10), transparent 60%),
        var(--bg);
}

/* faint comic-style grid */
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    z-index: -2;
}

/* Diagonal speed-lines lifted from the brand social mark */
.hero-stripes {
    position: absolute;
    top: -10%;
    right: -8%;
    width: 70%;
    height: 130%;
    background-image: repeating-linear-gradient(
        110deg,
        transparent 0,
        transparent 36px,
        rgba(227, 6, 19, 0.45) 36px,
        rgba(227, 6, 19, 0.45) 40px
    );
    transform: skewX(-8deg);
    mask-image: linear-gradient(225deg, #000, transparent 65%);
    -webkit-mask-image: linear-gradient(225deg, #000, transparent 65%);
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    pointer-events: none;
}
.hero-glow-1 { background: rgba(227, 6, 19, 0.45); top: -200px; left: -150px; }
.hero-glow-2 { background: rgba(227, 6, 19, 0.20); bottom: -250px; right: -150px; }

.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* The Ultracon logo lives in the sticky header; the hero leads with the eyebrow */

.hero .eyebrow { margin-bottom: 1.4rem; }

.hero-title {
    font-family: var(--display);
    font-size: clamp(3.8rem, 13vw, 11rem);
    line-height: 0.92;
    letter-spacing: -0.01em;
    margin: 0 0 2rem;
    text-transform: uppercase;
}
.hero-line { display: block; }
.hero-line.line-1 {
    color: var(--ink);
}
.hero-line.line-2 {
    color: var(--gold);
    text-shadow:
        4px 4px 0 var(--red),
        8px 8px 0 var(--bg);
    transform: translateX(-0.05em);
}
.hero-line.line-3 {
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
    transform: translateX(0.06em);
}

/* staggered reveal */
.hero-line { opacity: 0; transform: translateY(30px); animation: rise 0.9s ease forwards; }
.hero-line.line-1 { animation-delay: 0.15s; }
.hero-line.line-2 { animation-delay: 0.3s; }
.hero-line.line-3 { animation-delay: 0.45s; }
.hero .eyebrow,
.hero-sub,
.hero-cta-row,
.hero-info { opacity: 0; transform: translateY(20px); animation: rise 0.7s ease forwards; }
.hero .eyebrow  { animation-delay: 0.0s; }
.hero-sub       { animation-delay: 0.6s; }
.hero-cta-row   { animation-delay: 0.75s; }
.hero-info      { animation-delay: 0.9s; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
    max-width: 620px;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--ink-muted);
    margin: 0 0 2.5rem;
    line-height: 1.6;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-sub em { color: var(--gold); font-style: normal; font-weight: 700; }

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

/* Save-the-date / Find-us block — clean two-column text layout */
.hero-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    max-width: 720px;
}
.hero-info-item {
    display: block;
}
.hero-info-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 0.4rem;
}
.hero-info-value {
    display: block;
    font-family: var(--display);
    font-size: 1.05rem;
    color: var(--ink);
    letter-spacing: 0.02em;
    line-height: 1.2;
    font-weight: normal; /* Bungee carries its own weight */
}
.hero-info-value sup {
    font-size: 0.55em;
    vertical-align: super;
    margin-left: 1px;
}
.hero-info-map {
    display: inline-block;
    margin-top: 0.5rem;
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    transition: color 0.2s ease, transform 0.2s ease;
}
.hero-info-map:hover { color: var(--ink); transform: translateX(2px); }

.hero-scroll {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ink-faint);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 1;
}
.hero-scroll span {
    width: 1px;
    height: 36px;
    background: linear-gradient(var(--ink-faint), transparent);
    animation: scrollDrop 1.8s ease-in-out infinite;
}
@keyframes scrollDrop {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section {
    padding: clamp(5rem, 11vh, 8rem) var(--gutter);
    position: relative;
}
.section-inner {
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-family: var(--display);
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.005em;
    margin: 0.6rem 0 0;
    text-transform: uppercase;
}
.section-title.centered { text-align: center; }


/* ---------- ABOUT / TWO COL ---------- */
.section-about {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.two-col {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
.col-left .section-title { line-height: 0.92; }

.col-right .lede {
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    line-height: 1.5;
    color: var(--ink);
    margin: 0 0 1.5rem;
    font-weight: 500;
}
.col-right p {
    color: var(--ink-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0 0 1rem;
}
.col-right strong { color: var(--gold); font-weight: 600; }

.about-subhead {
    font-family: var(--display);
    color: var(--gold);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 2.4rem 0 1rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 203, 5, 0.25);
}


/* ---------- EXPERIENCE GRID ---------- */
.section-experience {
    background: var(--bg-2);
    position: relative;
}
.section-experience::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1.2px);
    background-size: 28px 28px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
    margin-top: 4rem;
    position: relative;
}

.exp-card {
    background: var(--bg-3);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 2rem 1.8rem 2.2rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.exp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.exp-card:hover { transform: translateY(-6px); border-color: rgba(255, 203, 5, 0.45); }
.exp-card:hover::before { transform: scaleX(1); }
/* alternate top border between gold and red for visual rhythm */
.exp-card:nth-child(2)::before,
.exp-card:nth-child(4)::before,
.exp-card:nth-child(6)::before { background: var(--red); }

.exp-num {
    font-family: var(--display);
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    opacity: 0.85;
}
.exp-card h3 {
    font-family: var(--display);
    font-size: 1.55rem;
    line-height: 1.05;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    color: var(--ink);
}
.exp-card p {
    color: var(--ink-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}


/* ---------- TESTIMONIALS ---------- */
.section-testimonials {
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
    margin-top: 4rem;
}

.testimonial {
    background: var(--bg-3);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 2.4rem 2rem 2rem;
    border-radius: var(--radius-lg);
    margin: 0;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial:hover { transform: translateY(-4px); border-color: rgba(255, 203, 5, 0.4); }
.testimonial:nth-child(odd) { transform: rotate(-0.5deg); }
.testimonial:nth-child(odd):hover { transform: rotate(-0.5deg) translateY(-4px); }
.testimonial:nth-child(even) { transform: rotate(0.4deg); }
.testimonial:nth-child(even):hover { transform: rotate(0.4deg) translateY(-4px); }

.quote-mark {
    font-family: var(--display);
    font-size: 5rem;
    color: var(--gold);
    line-height: 0.7;
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    opacity: 0.85;
}

.testimonial blockquote {
    margin: 0 0 1.4rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ink);
    font-style: italic;
}

.testimonial figcaption {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1rem;
}
.testimonial figcaption strong {
    display: block;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}


/* ---------- FINAL CTA ---------- */
.section-cta {
    position: relative;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(227, 6, 19, 0.30), transparent 60%),
        var(--bg);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}
.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        110deg,
        transparent 0,
        transparent 60px,
        rgba(227, 6, 19, 0.08) 60px,
        rgba(227, 6, 19, 0.08) 64px
    );
    pointer-events: none;
}
.cta-inner { max-width: 800px; position: relative; }
.cta-title {
    font-family: var(--display);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 0.95;
    margin: 0.8rem 0 1.5rem;
    text-transform: uppercase;
}
.cta-sub {
    color: var(--ink-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 2.5rem;
    max-width: 580px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 5rem var(--gutter) 2rem;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand .brand { margin-bottom: 1.4rem; }
.footer-tag {
    color: var(--ink-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.6rem;
    max-width: 300px;
}
.footer-col h4 {
    font-family: var(--display);
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a {
    color: var(--ink-muted);
    transition: color 0.2s ease;
    font-size: 0.95rem;
}
.footer-col a:hover { color: var(--ink); }
.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.footer-socials a:hover { color: var(--gold); }

.footer-base {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--ink-faint);
    font-size: 0.85rem;
}
.footer-meta a { color: var(--ink-faint); margin: 0 0.3rem; }
.footer-meta a:hover { color: var(--gold); }


/* ============================================================
   RESPONSIVE
   Breakpoints:
     880px  - tablet portrait & small laptops: collapse nav, single-col about
     640px  - large phones / small tablets: tighten cards, ease shadows
     480px  - phones: stack hero CTAs, single-col footer, hide scroll cue
     380px  - small phones: aggressive scaling
   ============================================================ */

@media (max-width: 880px) {
    /* Smaller logo + scroll-padding on tablets */
    html { scroll-padding-top: 100px; }
    .brand-img { height: 56px; }

    /* Mobile menu — anchored to the bottom of the sticky header
       (absolute inside .site-header) so it always sits flush, no matter
       the user's scroll position or the announce-bar height */
    .site-header { position: sticky; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        margin: 0;
        background: var(--bg-2);
        padding: 0.5rem var(--gutter) 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    }
    .primary-nav.open { display: flex; }
    .primary-nav a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1.05rem;
    }
    .primary-nav a:last-child { border-bottom: 0; }

    .nav-toggle { display: block; order: 3; }
    .nav-wrap { gap: 1rem; }
    .nav-wrap .btn-tickets { display: none; }

    /* Hero — give the viewport some breathing room around mobile chrome */
    .hero { min-height: 80vh; padding-top: clamp(2.5rem, 7vh, 5rem); padding-bottom: clamp(3rem, 7vh, 5rem); }
    .hero-line.line-2 { text-shadow: 3px 3px 0 var(--ink), 6px 6px 0 var(--bg); }

    /* Two-col stacks */
    .two-col { grid-template-columns: 1fr; gap: 1.5rem; }

    /* Section padding tightens slightly */
    .section { padding: clamp(4rem, 8vh, 6rem) var(--gutter); }

    /* Footer collapses to two columns; brand spans both */
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    /* Slightly less assertive shadow on the hero red */
    .hero-line.line-2 { text-shadow: 2px 2px 0 var(--ink), 4px 4px 0 var(--bg); }

    /* Cards: smaller padding, slightly smaller headings */
    .exp-card { padding: 1.6rem 1.4rem 1.8rem; }
    .exp-card h3 { font-size: 1.4rem; }
    .testimonial { padding: 2rem 1.5rem 1.6rem; }
    .quote-mark { font-size: 4rem; top: 1rem; right: 1.2rem; }

    /* Reduce the dominant rotation on stacked testimonials — feels off in a single column */
    .testimonial:nth-child(odd),
    .testimonial:nth-child(even) { transform: none; }
    .testimonial:nth-child(odd):hover,
    .testimonial:nth-child(even):hover { transform: translateY(-4px); }
}

@media (max-width: 480px) {
    /* Phone-sized logo + scroll-padding */
    html { scroll-padding-top: 80px; }
    .brand-img { height: 40px; }

    /* Tighter announce bar so it never wraps awkwardly */
    .announce-bar { padding: 0.5rem var(--gutter); font-size: 0.78rem; gap: 0.5rem; line-height: 1.4; }

    /* Stack hero CTAs full-width — easier to tap */
    .hero-cta-row { flex-direction: column; align-items: stretch; gap: 0.85rem; margin-bottom: 2.5rem; }
    .hero-cta-row .btn { justify-content: center; width: 100%; }

    /* Hero info stacks to a single column with tighter spacing */
    .hero-info { grid-template-columns: 1fr; gap: 1.2rem; padding-top: 1.5rem; }
    .hero-info-value { font-size: 1rem; }

    /* Hide the scroll cue — it would overlap content on short phones */
    .hero-scroll { display: none; }

    /* Footer collapses to one column */
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-base { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

    /* Smaller quote-mark on phones */
    .quote-mark { font-size: 3.5rem; }

    /* Section padding finer */
    .section { padding: 3.5rem var(--gutter); }
}

@media (max-width: 380px) {
    /* Aggressive scaling for the smallest phones */
    :root { --gutter: 1rem; }
    .hero-line.line-2 { text-shadow: 2px 2px 0 var(--ink); }
    .quote-mark { font-size: 3rem; right: 1rem; top: 0.8rem; }
    .nav-wrap { gap: 0.5rem; padding: 0.7rem var(--gutter); }
    .exp-card h3 { font-size: 1.25rem; }
    .testimonial blockquote { font-size: 0.98rem; }
}

/* ============================================================
   TRAILER SECTION + MODAL
   Cinematic ambient background with click-to-play-with-sound modal
   ============================================================ */
.trailer {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(4rem, 10vh, 7rem) var(--gutter);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trailer-media {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--bg);
}
.trailer-poster,
.trailer-poster img,
.trailer-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trailer-bg-video { z-index: 1; }
.trailer-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Layered gradients: top + bottom darken for text legibility, plus
       a subtle red brand wash to tie the section to the rest of the site */
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 80%),
        linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 25%, rgba(0,0,0,0.25) 75%, rgba(0,0,0,0.85) 100%),
        linear-gradient(110deg, rgba(227,6,19,0.18) 0%, transparent 50%);
}

.trailer-inner {
    position: relative;
    z-index: 3;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.trailer-title {
    font-family: var(--display);
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.005em;
    margin: 1rem 0 1.5rem;
    text-transform: uppercase;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.trailer-sub {
    color: var(--ink);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

/* Big cinematic play button — gold body, red play-circle, red offset shadow */
.trailer-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem 1rem 1rem;
    background: var(--gold);
    color: var(--bg);
    font-family: var(--body);
    font-weight: 700;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 6px 6px 0 var(--red);
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}
.trailer-play-btn::before {
    /* Pulse halo around the play button to draw the eye */
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: var(--gold);
    z-index: -1;
    opacity: 0.4;
    animation: trailerPulse 2.4s ease-out infinite;
}
@keyframes trailerPulse {
    0%   { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.15); opacity: 0; }
}
.trailer-play-btn:hover {
    background: var(--gold-deep);
    transform: translate(-2px, -2px);
    box-shadow: 9px 9px 0 var(--red);
}
.trailer-play-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--red); }
.trailer-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--red);
    color: var(--ink);
    border-radius: 50%;
    flex-shrink: 0;
    padding-left: 3px; /* optical centering for the play triangle */
}

/* ============ MODAL ============ */
.trailer-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2rem);
}
.trailer-modal[data-open="true"] {
    display: flex;
    animation: trailerModalIn 0.3s ease forwards;
}
@keyframes trailerModalIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.trailer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}
.trailer-modal-content {
    position: relative;
    width: min(92vw, 1280px);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
    animation: trailerModalContentIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes trailerModalContentIn {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
.trailer-modal-video {
    width: 100%;
    height: 100%;
    display: block;
}
.trailer-modal-close {
    position: absolute;
    top: -3.5rem;
    right: 0;
    background: transparent;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.3s ease;
    z-index: 1;
}
.trailer-modal-close:hover { color: var(--gold); transform: rotate(90deg); }

/* Helper used by hidden modal title for screen readers */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile: serves a 3MB version (swapped via JS) instead of the desktop 7MB.
   Adjusted via main.js using matchMedia. */
@media (max-width: 640px) {
    .trailer { min-height: 70vh; }
    .trailer-modal-close { top: -3rem; right: 0; }
}

@media (max-width: 480px) {
    .trailer-play-btn { padding: 0.85rem 1.4rem 0.85rem 0.85rem; gap: 0.75rem; width: 100%; justify-content: center; max-width: 360px; }
    .trailer-play-icon { width: 36px; height: 36px; }
}


/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    /* Pause autoplay video for users who prefer no motion */
    .trailer-bg-video { display: none; }
    .trailer-play-btn::before { display: none; }
}
