/* ==========================================================
   IT BBQ Brașov 4.0 — Standalone Landing Page Styles
   v1.2.0
   ========================================================== */

/* Reset this standalone template away from the active theme */
html, body,
#page, .site, .site-content, #content, .content-area, main,
.site-inner, .entry-content, .post-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
}

*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* iOS Safari */
    text-size-adjust: 100%;
}

/* ────── Font ────── */
  
@font-face {
    font-family: 'EB Garamond';
    src: url('/wp-content/fonts/EBGaramond-VariableFont_wght.ttf') format('truetype');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}


body {
    min-width: 320px;
    overflow-x: hidden;
    margin: 0;
    color: #1C1917;
    background: #FDFCFA;
    font-family: 'EB Garamond', Georgia, serif;
    font-size: var(--fs-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg, iframe { max-width: 100%; }
svg { display: inline-block; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p, span, label, legend { overflow-wrap: break-word; }


/* ── Fallback font metric override ───────────────────────────
   Adjusts Georgia's dimensions to approximate EB Garamond's
   metrics. Reduces layout shift on first-ever page load.
   ──────────────────────────────────────────────────────────── */
/*@font-face {*/
/*    font-family: 'EB Garamond';*/
/*    src: local('Georgia');*/
/*    font-weight: 400 800;*/
/*    size-adjust: 91%;*/
/*    ascent-override: 86%;*/
/*    descent-override: 22%;*/
/*}*/


/* ==========================================================
   Design tokens — responsive type scale and layout rhythm

   Breakpoint intent:
   - mobile:       < 740px
   - tablet:       740px–1024px
   - desktop:      1025px–1679px
   - wide:         1680px–2559px
   - 4K / ultra:   2560px+
   ========================================================== */
:root {
    --red: #E8302A;
    --red-dark: #C8221C;
    --orange: #F4742B;
    --dark: #1C1917;
    --mid: #44403C;
    --muted: #78716C;
    --warm: #F5F0E8;
    --cream: #FDFCFA;
    --border: #E7E0D8;
    --white: #FFFFFF;
    --shadow-soft: 0 14px 48px rgba(28, 25, 23, .08);
    --ease: cubic-bezier(.22,1,.36,1);

    --container-gutter: clamp(1.25rem, 5vw, 4rem);
    --container-max: 1280px;
    --container: min(calc(100% - (var(--container-gutter) * 2)), var(--container-max));
    --section-y: clamp(1.875rem, 4vw, 4rem);

    /* Fluid typography with controlled caps for each viewport family */
    --fs-xs: clamp(.82rem, .78rem + .16vw, .95rem);
    --fs-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
    --fs-body: clamp(1rem, .94rem + .28vw, 1.22rem);
    --fs-lead: clamp(1.08rem, .98rem + .42vw, 1.42rem);
    --fs-label: clamp(1rem, .94rem + .28vw, 1.2rem);
    --fs-eyebrow: clamp(.84rem, .78rem + .25vw, 1rem);
    --fs-button: clamp(1.05rem, .96rem + .42vw, 1.35rem);
    --fs-band: clamp(1rem, 0.88rem + 0.5vw, 1.125rem);
    --fs-card-title: clamp(1.35rem, 1.05rem + 1.05vw, 2rem);
    --fs-h2: clamp(2.1875rem, 1.875rem + 1vw, 2.5rem);
    --fs-section-title: clamp(2.35rem, 1.55rem + 3.2vw, 5rem);
    --fs-hero: clamp(2.125rem, 1.225rem + 3.5vw, 4rem);
    --fs-stat-num: clamp(2.1875rem, 1.875rem + 1vw, 2.5rem);

    /* Legacy step tokens kept so older rules remain compatible */
    --step--1: var(--fs-sm);
    --step-0: var(--fs-body);
    --step-1: var(--fs-lead);
    --step-2: clamp(1.35rem, 1.12rem + 1vw, 2rem);
    --step-3: var(--fs-h2);
    --step-4: var(--fs-section-title);
    --step-5: var(--fs-hero);
    --step-6: var(--fs-hero);
}

@media (min-width: 1680px) {
    :root {
        --container-gutter: clamp(5rem, 6vw, 7rem);
        --container-max: 1480px;
        --section-y: clamp(7.5rem, 7vw, 10rem);

        --fs-body: clamp(1.08rem, .9rem + .32vw, 1.35rem);
        --fs-lead: clamp(1.22rem, 1rem + .5vw, 1.65rem);
        --fs-h2: clamp(3.6rem, 3vw, 5.75rem);
        --fs-section-title: clamp(4.25rem, 3.6vw, 6.75rem);
        --fs-hero: clamp(7.5rem, 7vw, 11rem);
        --fs-stat-num: clamp(3.5rem, 3vw, 5rem);
        --fs-band: clamp(1rem, 1.4vw, 1.25rem);
    }
}

@media (min-width: 2560px) {
    :root {
        --container-gutter: clamp(7rem, 7vw, 11rem);
        --container-max: 1680px;
        --section-y: clamp(9rem, 6vw, 12rem);

        --fs-body: clamp(1.18rem, .8rem + .35vw, 1.48rem);
        --fs-lead: clamp(1.35rem, 1rem + .42vw, 1.85rem);
        --fs-band: clamp(1.35rem, 1rem + .42vw, 1.8rem);
        --fs-card-title: clamp(2rem, 1.2rem + .75vw, 2.7rem);
        --fs-h2: clamp(4.75rem, 2.8vw, 6.8rem);
        --fs-section-title: clamp(5.5rem, 3.2vw, 8rem);
        --fs-hero: clamp(10rem, 5.4vw, 13.75rem);
        --fs-stat-num: clamp(4.25rem, 2.6vw, 6rem);
        --fs-sm: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
    }
}

@media (max-width: 1280px) {
    :root {
        --container-gutter: 2rem;
        --container-max: 1120px;
        --fs-h2: clamp(2.375rem, 1.4vw, 3.4rem);
        --fs-body: clamp(1.875rem, 1.65rem + 0.9vw, 2.1875rem);
        --fs-sm: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
        --fs-band: clamp(1rem, 1.4vw, 1.25rem);
        
    }
}

@media (max-width: 1024px) {
    :root {
        --container-gutter: 2rem;
        --container-max: 1120px;

        --fs-h2: clamp(1.875rem, 1.65rem + 0.9vw, 2.1875rem);
        --fs-body: clamp(1rem, .95rem + .3vw, 1.125rem);
        --fs-sm: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
        --fs-stat-num: clamp(1.5625rem, 1.35rem + 0.9vw, 1.875rem);
    }
}

@media (max-width: 768px) {
    :root {
        --container-gutter: 1rem;
        --container-max: 720px;
        --section-y: clamp(3.5rem, 10vw, 4.75rem);

        --fs-xs: .82rem;
        --fs-sm: .92rem;
        --fs-body: clamp(1rem, .96rem + .3vw, 1.08rem);
        --fs-lead: clamp(1.06rem, .98rem + .75vw, 1.22rem);
        --fs-label: clamp(1rem, .95rem + .4vw, 1.12rem);
        --fs-eyebrow: clamp(.56rem, .52rem + .18vw, .625rem);
        --fs-button: clamp(1.05rem, .96rem + .9vw, 1.2rem);
        --fs-band: clamp(.736rem, 3.2vw, .84rem);
        --fs-card-title: clamp(1.35rem, 1.08rem + 2vw, 1.75rem);
        --fs-h2: clamp(2rem, 1.55rem + 5vw, 3rem);
        --fs-section-title: clamp(2.1rem, 1.55rem + 6vw, 3rem);
        --fs-hero: clamp(3.4rem, 13vw, 5.35rem);
        --fs-stat-num: clamp(2rem, 8vw, 3rem);
    }
}

@media (max-width: 480px) {
    :root {
        --container-gutter: .75rem;
        --section-y: clamp(3rem, 12vw, 4rem);
        --fs-hero: clamp(3.05rem, 15vw, 4.7rem);
        --fs-h2: clamp(1.9rem, 9vw, 2.6rem);
        --fs-section-title: clamp(2rem, 10vw, 2.75rem);
    }
}

/* Browser-level lazy rendering for below-the-fold sections */
.q-section[data-lazy-section] {
    content-visibility: auto;
    contain-intrinsic-size: auto 840px;
}

.q-shell   { width: var(--container); margin-inline: auto; }
.q-section { padding-block: var(--section-y); }
.q-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* ==========================================================
   Fixed home button
   ========================================================== */
.q-home {
    position: fixed;
    z-index: 1000;
    top: max(1rem, env(safe-area-inset-top));
    left: max(1rem, env(safe-area-inset-left));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(2.75rem, 4vw, 3.25rem);  /* 44px minimum — Apple/Material touch target */
    height: clamp(2.75rem, 4vw, 3.25rem);
    border-radius: 14px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;            /* removes 300ms tap delay on older Android */
    will-change: transform;               /* GPU layer — prevents iOS fixed flicker */
    transition: transform .22s var(--ease), filter .22s var(--ease);
}
.admin-bar .q-home { top: calc(32px + max(1rem, env(safe-area-inset-top))); }
.q-home:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 18px rgba(0,0,0,.18)); }
.q-home svg { width: 100%; height: 100%; display: block; }

/* ==========================================================
   Hero
   ========================================================== */
.q-hero {
    position: relative;
    min-height: 100vh;   /* fallback — iOS 14 and older Android don't support svh */
    min-height: 100svh;  /* modern: excludes browser chrome from the measurement */
    display: grid;
    align-items: start;
    overflow: hidden;
    background: #110F0D;
    isolation: isolate;
}
.q-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: #110F0D;
}
.q-hero__media--css {
    background-image: var(--hero-desktop);
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}
.q-hero__media picture,
.q-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
}
.q-hero__media img { object-fit: cover; object-position: center 30%; }
.q-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 72% 24%, rgba(244,116,43,.26), transparent 34%),
        linear-gradient(0deg, rgba(17,15,13,.98) 0%, rgba(17,15,13,.82) 38%, rgba(17,15,13,.28) 68%, rgba(17,15,13,.06) 100%);
}
.q-hero__body {
    width: var(--container);
    margin-inline: auto;
    padding-block: clamp(4.55rem, 9.1vh, 7rem) clamp(3.5rem, 9vh, 6rem);
}
.q-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    max-width: 100%;
    margin: 0 0 clamp(1.25rem, 2vw, 2rem);
    padding: .4rem .75rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    color: var(--red);
    background: rgba(255,255,255,.96);
    font-size: clamp(.68rem, .58rem + .25vw, .9rem);
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.2;
    text-transform: uppercase;
}
.q-pill::before {
    content: '';
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: currentColor;
    animation: q-pulse 1.8s ease-in-out infinite;
}
@keyframes q-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }

.q-hero__title {
    max-width: 13ch;
    margin: 0 0 clamp(1.4rem, 3vw, 2.25rem);
    color: #fff;
    font-size: clamp(2.125rem, 1.225rem + 3.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: .88;
    text-transform: uppercase;
}
.q-hero__title em {
    color: transparent;
    font-style: normal;
    -webkit-text-stroke: clamp(1.5px, .2vw, 3px) var(--red);
    text-stroke: clamp(1.5px, .2vw, 3px) var(--red);
}
.q-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem clamp(1rem, 3vw, 2.25rem);
    margin: 0 0 clamp(1.6rem, 3vw, 2.5rem);
}
.q-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.76);
    font-size: clamp(1rem, .9rem + .35vw, 1.1875rem);
    font-weight: 600;
    line-height: 1.2;
}
.q-hero__meta-item svg { width: 1em; height: 1em; color: var(--orange); flex: 0 0 auto; }
.q-hero__desc {
    max-width: 72ch;
    margin: 0 0 clamp(1.2rem, 2vw, 1.8rem);
    color: rgba(255,255,255,.68);
    font-size: var(--fs-lead);
    line-height: 1.5;
}
.q-hero__desc + .q-hero__desc { margin-bottom: clamp(2rem, 4vw, 3rem); }
/* Remove tap flash on iOS and speed up taps on older Android */
.q-btn,
.q-submit,
.q-dir,
.q-ropt,
.q-home {
    -webkit-tap-highlight-color: transparent;
}
.q-btn,
.q-submit,
.q-dir,
.q-ropt {
    touch-action: manipulation;
}
.q-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 3.4rem;
    padding: .9rem clamp(1.5rem, 5vw, 4.5rem);
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--red);
    box-shadow: 0 10px 30px rgba(232,48,42,.38);
    font-size: var(--fs-button);
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}
.q-btn:hover { color: #fff; background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 16px 42px rgba(232,48,42,.48); text-decoration: none; }
.q-btn svg { width: 1em; height: 1em; }
.q-hero__scroll {
    display: none;
    align-items: center;
    gap: .55rem;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    color: rgba(255,255,255,.38);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    animation: q-sink 2s ease-in-out infinite;
}
.q-hero__scroll svg { width: 1.1rem; height: 1.1rem; color: var(--orange); }
@keyframes q-sink { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ==========================================================
   Red information bar
   ========================================================== */
.q-band { background: var(--red); color: #fff; }
.q-band__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: var(--container);
    margin-inline: auto;
}
.q-band__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: clamp(0.983rem, 6vw, 1.327rem);
    padding: .8rem 1rem;
    border-inline-start: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.92);
    font-size: var(--fs-band);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}
.q-band__item:last-child { border-inline-end: 1px solid rgba(255,255,255,.2); }
.q-band__item svg { width: 1.05em; height: 1.05em; flex: 0 0 auto; color: rgba(255,255,255,.8); }

/* ==========================================================
   About
   ========================================================== */
.q-about { background: var(--cream); }
.q-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
    gap: clamp(3rem, 3vw, 7rem);
    align-items: center;
}
.q-tag,
.q-eyebrow,
.q-venue__tag {
    display: inline-block;
    margin: 0 0 .9rem;
    color: var(--red);
    font-size: var(--fs-eyebrow);
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.25;
    text-transform: uppercase;
}
.q-h2,
.q-venue__name {
    margin: 0;
    color: var(--dark);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.02;
}
.q-h2 {
    max-width: 19ch;
    margin-bottom: clamp(1.15rem, 2vw, 1.75rem);
    font-size: var(--fs-h2);
}
.q-body {
    margin: 0 0 1rem;
    color: #504C48;
    font-size: var(--fs-body);
    line-height: 1.72;
}
.q-body strong { color: var(--dark); }
.q-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.q-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    color: var(--mid);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.2;
}
.q-chip svg { width: 1em; height: 1em; color: var(--red); }
.q-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.q-stat {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 9.5rem;
    padding: 1.35rem 1.15rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.q-stat::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--orange));
}
.q-stat:hover { transform: translateY(-3px); border-color: rgba(232,48,42,.25); box-shadow: var(--shadow-soft); }
.q-stat__num {
    display: block;
    margin-bottom: .45rem;
    color: var(--red);
    font-size: var(--fs-stat-num);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: .95;
}
.q-stat__label {
    display: block;
    color: var(--muted);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.35;
}

/* ==========================================================
   Registration form
   ========================================================== */
.q-form-sec { background: var(--warm); border-top: 1.5px solid var(--border); }
.q-form-sec__inner { width: min(var(--container), 920px); margin-inline: auto; }
.q-eyebrow {
    display: flex;
    align-items: center;
    gap: .9rem;
    width: 100%;
}
.q-eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.q-sec-title {
    max-width: 35ch;
    margin-bottom: 1rem;
    font-size: var(--fs-h2);
    color: var(--dark);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.02;
}
.q-sec-sub {
    max-width: 60ch;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    color: var(--muted);
    font-size: var(--fs-lead);
    line-height: 1.6;
}
.q-card {
    overflow: hidden;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}
.q-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 4vw, 2.75rem);
    background: var(--dark);
}
.q-card__head h3 {
    margin: 0;
    color: #fff;
    font-size: var(--fs-card-title);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.08;
}
.q-card__badge {
    flex: 0 0 auto;
    padding: .42rem .85rem;
    border-radius: 999px;
    color: var(--red);
    background: #fff;
    font-size: var(--fs-xs);
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}
.q-card__body { padding: clamp(1.25rem, 4vw, 2.75rem); }
.q-form { display: grid; gap: clamp(1.15rem, 2vw, 1.85rem); }
.q-ok,
.q-fail {
    margin: 0 0 1.35rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.45;
}
.q-ok   { color: #065F46; background: #ECFDF5; border: 1.5px solid #34D399; }
.q-fail { color: #991B1B; background: #FEF2F2; border: 1.5px solid #FCA5A5; }
.q-f { display: grid; gap: .55rem; margin: 0; padding: 0; border: 0; }
.q-lbl {
    color: var(--dark);
    font-size: var(--fs-label);
    font-weight: 800;
    line-height: 1.25;
}
.q-lbl .req { color: var(--red); }
.q-inp {
    width: 100%;
    min-height: 3.25rem;
    padding: .95rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    outline: none;
    color: var(--dark);
    background: var(--warm);
    font-size: var(--fs-body);
    line-height: 1.25;
    appearance: none;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.q-inp::placeholder { color: #ADA59C; font-style: italic; }
.q-inp:hover { border-color: #C5BDB5; background: #EDE8E0; }
.q-inp:focus { border-color: var(--red); background: #FFFAF9; box-shadow: 0 0 0 4px rgba(232,48,42,.09); }

/* Keyboard / switch-access focus ring — shown on Tab, not on tap */
.q-inp:focus-visible {
    border-color: var(--red);
    background: #FFFAF9;
    box-shadow: 0 0 0 4px rgba(232,48,42,.18);
    outline: none;
}
.q-btn:focus-visible,
.q-submit:focus-visible,
.q-dir:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}
.q-ropt:focus-within {
    border-color: rgba(232,48,42,.5);
    background: #FFF5F4;
}
.q-rgroup { display: grid; gap: .75rem; margin-top: .7rem; }
.q-ropt {
    position: relative;
    display: flex;
    align-items: center;
    gap: .95rem;
    min-height: 3.4rem;
    padding: .95rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--warm);
    cursor: pointer;
    transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}
.q-ropt:hover,
.q-ropt:focus-within { border-color: rgba(232,48,42,.35); background: #FFF5F4; }
.q-ropt input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.q-rm {
    position: relative;
    flex: 0 0 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #C0B8B0;
    border-radius: 50%;
    background: #fff;
}
.q-rm::after {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--red);
    transform: translate(-50%, -50%) scale(0);
    transition: transform .16s var(--ease);
}
.q-ropt input[type="radio"]:checked ~ .q-rm { border-color: var(--red); }
.q-ropt input[type="radio"]:checked ~ .q-rm::after { transform: translate(-50%, -50%) scale(1); }
/* Modern browsers — highlights the whole option row when selected */
.q-ropt:has(input[type="radio"]:checked) { border-color: rgba(232,48,42,.45); background: #FFF5F4; }
/* JS fallback for iOS 15.3 and earlier, Firefox <121 — applied by itbbq40.js */
.q-ropt.is-checked { border-color: rgba(232,48,42,.45); background: #FFF5F4; }
.q-ropt.is-checked .q-rm { border-color: var(--red); }
.q-ropt.is-checked .q-rm::after { transform: translate(-50%, -50%) scale(1); }
.q-rtxt { color: var(--mid); font-size: var(--fs-body); font-weight: 400; line-height: 1.35; }
.q-div { height: 1px; background: var(--border); }
.q-note {
    margin: .1rem 0 0;
    padding: .85rem 1rem;
    border-left: 4px solid var(--orange);
    border-radius: 10px;
    color: #8A8078;
    background: #F0EBE2;
    font-size: var(--fs-sm);
    line-height: 1.55;
}
.q-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    width: 100%;
    min-height: 3.75rem;
    padding: 1rem 2rem;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--red);
    box-shadow: 0 10px 30px rgba(232,48,42,.35);
    cursor: pointer;
    font-size: var(--fs-button);
    font-weight: 800;
    line-height: 1.1;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), opacity .22s var(--ease);
}
.q-submit:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 14px 38px rgba(232,48,42,.45); }
.q-submit:disabled { cursor: wait; opacity: .74; transform: none; }
.q-submit svg { width: 1em; height: 1em; }
.q-legal { margin: -.35rem 0 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; text-align: center; }
.q-verr { margin: .25rem 0 0; color: var(--red); font-size: var(--fs-sm); font-weight: 700; }

/* ==========================================================
   Map and footer
   ========================================================== */
.q-map-sec { background: var(--cream); border-top: 1.5px solid var(--border); }
.q-map-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1.35rem;
    margin-bottom: 2rem;
}
.q-venue__name { margin-bottom: .45rem; font-size: var(--fs-h2); }
.q-venue__addr { margin: 0; color: var(--muted); font-size: var(--fs-lead); line-height: 1.5; }
.q-dir {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border: 1.5px solid rgba(232,48,42,.22);
    border-radius: 999px;
    color: var(--red);
    background: rgba(232,48,42,.07);
    font-size: var(--fs-sm);
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.q-dir:hover { color: var(--red); background: rgba(232,48,42,.14); border-color: var(--red); transform: translateY(-2px); text-decoration: none; }
.q-dir svg { width: 1em; height: 1em; }
.q-map-wrap {
    position: relative;
    overflow: hidden;
    min-height: clamp(320px, 48vw, 680px);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    background: #EDE8E0;
    box-shadow: var(--shadow-soft);
    -webkit-overflow-scrolling: touch; /* momentum scroll on older iOS */
}
.q-map-wrap::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--red), var(--orange));
}
.q-map-wrap iframe {
    display: block;
    width: 100%;
    height: clamp(320px, 48vw, 680px);
    border: 0;
    background: transparent;
}
.q-map-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 2rem;
    color: var(--muted);
    font-size: var(--step-0);
    text-align: center;
}
.q-footer {
    padding: 2.25rem max(1rem, env(safe-area-inset-left));
    color: rgba(255,255,255,.48);
    background: var(--dark);
    text-align: center;
}
.q-footer p { margin: 0; font-size: var(--fs-sm); line-height: 1.7; }
.q-footer a { color: rgba(255,255,255,.76); text-decoration: none; }
.q-footer a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================
   Scroll reveal — off until JS adds .js class
   ========================================================== */
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Honour reduced-motion — skip transitions entirely */
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { transition: none; }
    .q-hero__scroll,
    .q-pill::before { animation: none; }
}


/* Wide and 4K refinements */
@media (min-width: 1680px) {
    .q-hero__desc { max-width: 72ch; }
    .q-about__grid { grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); }
    .q-stat { min-height: 11rem; padding: 1.65rem 1.45rem 1.35rem; }
    .q-form-sec__inner { width: min(var(--container), 1040px); }
}

@media (min-width: 2560px) {
    .q-hero__body { padding-block: clamp(8rem, 11vh, 13rem) clamp(5rem, 8vh, 9rem); }
    .q-about__grid { grid-template-columns: minmax(0, 1.1fr) minmax(520px, .9fr); }
    .q-card__body { padding: clamp(2.75rem, 2vw, 3.5rem); }
    .q-map-wrap,
    .q-map-wrap iframe { min-height: clamp(560px, 30vw, 820px); }
}

/* ==========================================================
   Responsive layout breakpoints
   ========================================================== */
@media (min-width: 1680px) {
    .q-hero__title { font-size: var(--fs-hero); }
    .q-band__item { font-size: var(--fs-band);}
    
}
@media (min-width: 2560px) {
    .q-hero__title { font-size: var(--fs-hero); }
}
@media (max-width: 1200px) {
    .q-hero__body { padding-block: clamp(4rem, 7vh, 6rem); }
    .q-about__grid { grid-template-columns: 1fr; }
    .q-stats {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap:0.5rem; }
    .q-stat { min-height: 4.5rem; }
    .q-h2 { font-size: var(--fs-h2); }
    .q-body {font-size: var(--fs-body); }
    .q-chip {font-size: var(--fs-sm); padding: .35rem 0.5rem; gap: .3rem; }
}
@media (max-width: 1024px) {
    .q-band__inner {display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .q-band__item:nth-child(2n) { border-inline-end: 1px solid rgba(255,255,255,.2); }
    .q-stats {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap:0.5rem; }
    .q-stat {min-height: 4.5rem;}
    .q-hero { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
    .q-hero__body { padding-block: clamp(3rem, 6vh, 5rem); }
    .q-h2 { font-size: var(--fs-h2); }
    .q-sec-title {font-size: var(--fs-h2);}
    .q-venue__name {font-size: var(--fs-h2)};
}
@media (max-width: 768px) {
    .q-band__inner {display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .q-hero { min-height: 100vh; min-height: 100svh; align-items: start; }
    .q-hero__body { padding-top: 4rem; }
    .q-pill {
        justify-self: start; 
        align-self: flex-start;
        margin-left: 0; 
        margin-right: auto;
        text-align: left; 
        font-size: var(--fs-eyebrow);
        padding: .5rem .75rem; 
        max-width: fit-content;
    }
    .q-hero__desc { line-height: 1.45; font-size: var(--fs-lead); }
    .q-body { font-size: var(--fs-body); line-height: 1.7; }
    .q-btn {display: none;} /* Hide Register Now button */
    .q-hero__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .q-hero__meta-item {
        align-items: flex-start;
        padding: .7rem .75rem;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 14px;
        background: rgba(255,255,255,.06);
        color: rgba(255,255,255,1);
    }
    .q-card__head { 
        align-items: flex-start; 
        flex-direction: column; 
        font-size: clamp(1.375rem, 1.34rem + 0.2vw, 1.4375rem);
    }
    .q-card__head h3 {
        font-size: clamp(1.375rem, 1.34rem + 0.2vw, 1.4375rem);
    }
    .q-map-head { display: grid; }
    .q-band__item {
        min-height: 3rem; 
        padding: .68rem .52rem;
        gap: .48rem;
        border-bottom: 1px solid rgba(255,255,255,.22);
        border-inline-end: 1px solid rgba(255,255,255,.22);
        font-size: var(--fs-band);
        line-height: 1.1;
    }
    .q-band__item svg {
        width: .8em;
        height: .8em;
    }
    .q-sec-title {
        text-align: left;
        font-size: var(--fs-section-title);
        line-height: 1.05;
        max-width: 100%;
        margin-left: 0; 
        margin-right: auto;
        margin-top: 0.1rem;
    }
    .q-h2 { font-size: var(--fs-h2); }
    .q-tag {font-size:clamp(0.625rem, 0.589rem + 0.18vw, 0.6875rem);}
    .q-eyebrow {font-size:clamp(0.625rem, 0.589rem + 0.18vw, 0.6875rem);}
    

/* Show scroll button */ 
    .q-hero__scroll {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    color: rgba(255,255,255,.38);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    animation: q-sink 2s ease-in-out infinite;
    }
    .q-card__badge {
    display: none;
    }
}
@media (max-width: 540px) {
    .q-hero__media--css { background-image: var(--hero-mobile); background-position: center top; }
    .q-hero__media img { object-position: center top; }
    .q-hero__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) }
    .q-pill { width: 100%; justify-content: center; text-align: center; white-space: normal; }
    .q-btn { width: 100%; }
    .q-band__inner {display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .q-band__item {min-height: 3rem; padding: .85rem .65rem; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); border-inline-end: 1px solid rgba(255,255,255,.22); font-size: var(--fs-band);}
    .q-band__item:nth-child(2n)      { border-inline-end: 0; }
    .q-band__item:nth-last-child(-n+2) { border-bottom: 0; }
    .q-band__item svg {width: .8em; height: .8em;}
    .q-chips { display: grid; grid-template-columns: 1fr 1fr; }
    .q-chip { justify-content: center; text-align: center; border-radius: 16px; }
    .q-tag {font-size:clamp(0.625rem, 0.589rem + 0.18vw, 0.6875rem);}
    .q-eyebrow {font-size:clamp(0.625rem, 0.589rem + 0.18vw, 0.6875rem);}
}
@media (max-width: 480px) {
    .admin-bar .q-home { top: calc(46px + .75rem); }
    .q-band__inner {display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .q-home { top: .75rem; left: .75rem; width: 2.75rem; height: 2.75rem; border-radius: 11px; } /* 44px */
    .q-hero__body { padding-top: 4.75rem; padding-bottom: 2.75rem; }
    .q-hero__title { max-width: 11ch; line-height: .9; font-size: clamp(2.8125rem, 1.65rem + 3.65vw, 4.0625rem); }
    .q-hero__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) }
    .q-hero__desc { line-height: 1.45; }
    .q-stats { grid-template-columns: 1fr 1fr; gap: .7rem; }
    .q-stat { min-height: 7.5rem; padding: 1.1rem .9rem .95rem; border-radius: 16px; }
    .q-card { border-radius: 18px; }
    .q-card__body { padding: 1.15rem; }
    .q-rgroup { gap: .6rem; }
    .q-ropt { align-items: flex-start; }
    .q-map-wrap { border-radius: 18px; }
    .q-tag {font-size:clamp(0.625rem, 0.589rem + 0.18vw, 0.6875rem);}
    .q-eyebrow {font-size:clamp(0.625rem, 0.589rem + 0.18vw, 0.6875rem);}
}

