/* Shared, responsive Jalsa Events site chrome. */
.jalsa-global-header{position:relative;z-index:100;background:#071c2b;color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}.jalsa-global-header *,.jalsa-global-footer *,.jalsa-whatsapp-helper *{box-sizing:border-box}.jalsa-global-header__inner,.jalsa-global-footer__inner{width:min(calc(100% - 2.5rem),76rem);margin:auto}.jalsa-global-header__inner{min-height:5.25rem;display:flex;align-items:center;justify-content:space-between;gap:1.25rem}.jalsa-global-brand{display:inline-flex;align-items:center;gap:.65rem;color:#fff;font:600 1.25rem/1 Georgia,'Times New Roman',serif;text-decoration:none;white-space:nowrap}.jalsa-global-brand__mark{display:grid;width:2rem;aspect-ratio:1;place-items:center;border:1px solid #e7b33e;color:#e7b33e}.jalsa-global-header__actions{display:flex;align-items:center;gap:.85rem}.jalsa-global-header__socials{display:flex;gap:.38rem}.jalsa-global-header__socials a{display:grid;place-items:center;width:1.85rem;height:1.85rem;border:1px solid rgba(255,255,255,.28);border-radius:50%;color:rgba(255,255,255,.86);font-size:.75rem;text-decoration:none}.jalsa-global-header__socials a:hover,.jalsa-global-header__socials a:focus-visible{border-color:#e7b33e;background:#e7b33e;color:#102a3a}.jalsa-global-nav{display:flex;align-items:center;gap:1.35rem}.jalsa-global-nav__links{display:flex;align-items:center;gap:1.15rem;margin:0;padding:0;list-style:none}.jalsa-global-nav a{color:#fff;font:650 .76rem/1 system-ui,sans-serif;letter-spacing:.05em;text-decoration:none;text-transform:uppercase}.jalsa-global-nav a:hover,.jalsa-global-nav a:focus-visible,.jalsa-global-nav a[aria-current="page"]{color:#f3cd6f}.jalsa-global-nav__cta{padding:.65rem .85rem;border:1px solid #e7b33e;background:linear-gradient(115deg,#f3cf72,#d99b29 52%,#f0c25a)!important;color:#102a3a!important}.jalsa-global-menu{display:none;width:44px;height:44px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.48);background:transparent;color:#fff}.jalsa-global-menu i{font-size:1rem}.jalsa-global-footer{margin-top:auto;padding:clamp(2.75rem,6vw,5rem) 0 1.25rem;background:#061724;color:#fff}.jalsa-global-footer__grid{display:grid;grid-template-columns:1.2fr repeat(3,.75fr);gap:clamp(1.5rem,4vw,4rem);padding-bottom:2.25rem;border-bottom:1px solid rgba(255,255,255,.15)}.jalsa-global-footer__title{margin:0 0 .85rem;font:600 1.35rem/1.15 Georgia,'Times New Roman',serif}.jalsa-global-footer__copy{max-width:31rem;margin:0;color:rgba(255,255,255,.72);font:400 .9rem/1.6 system-ui,sans-serif}.jalsa-global-footer h3{margin:0 0 .85rem;color:#f1cf75;font:700 .7rem/1 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase}.jalsa-global-footer ul{display:grid;gap:.65rem;margin:0;padding:0;list-style:none}.jalsa-global-footer a{color:rgba(255,255,255,.78);font:400 .86rem/1.35 system-ui,sans-serif;text-decoration:none}.jalsa-global-footer a:hover,.jalsa-global-footer a:focus-visible{color:#f2cf73;text-decoration:underline}.jalsa-global-socials{display:flex!important;flex-wrap:wrap;gap:.55rem}.jalsa-global-socials a{display:grid;place-items:center;width:2.25rem;height:2.25rem;border:1px solid rgba(255,255,255,.32);border-radius:50%;font-size:.95rem!important}.jalsa-global-socials a:hover{border-color:#e7b33e;background:#e7b33e;color:#102a3a}.jalsa-global-socials i{font-style:normal}.jalsa-global-footer__bottom{display:flex;justify-content:space-between;gap:1rem;padding-top:1.25rem;color:rgba(255,255,255,.52);font:400 .76rem/1.5 system-ui,sans-serif}.jalsa-global-footer__bottom a{color:inherit;font-size:inherit}.jalsa-whatsapp-helper{position:fixed;z-index:200;right:clamp(1rem,3vw,2rem);bottom:clamp(1rem,3vw,2rem);display:flex;align-items:end;gap:.7rem;font-family:system-ui,sans-serif}.jalsa-whatsapp-helper__message{display:flex;align-items:center;gap:.45rem;min-width:14rem;padding:.85rem .75rem .85rem 1rem;border:1px solid rgba(8,71,46,.18);border-radius:.8rem;background:#fff;color:#163a2d;box-shadow:0 .8rem 2rem rgba(5,33,25,.18);opacity:1;transform:translateX(0);transition:opacity .25s ease,transform .25s ease}.jalsa-whatsapp-helper__message strong{font-size:.88rem}.jalsa-whatsapp-helper__message span{font-size:.83rem}.jalsa-whatsapp-helper__message button{display:grid;place-items:center;width:1.5rem;height:1.5rem;margin-left:auto;border:0;border-radius:50%;background:transparent;color:#557267}.jalsa-whatsapp-helper__message button:hover{background:#e9f3ee}.jalsa-whatsapp-helper__message.is-visible{opacity:1}.jalsa-whatsapp-helper__message:not(.is-visible){opacity:0;pointer-events:none;transform:translateX(.75rem)}.jalsa-whatsapp-helper__button{display:inline-flex;align-items:center;gap:.55rem;min-height:3.25rem;padding:.75rem 1rem;border-radius:999px;background:#25d366;color:#062d20;box-shadow:0 .8rem 1.8rem rgba(5,58,37,.28);font:800 .76rem/1 system-ui,sans-serif;letter-spacing:.04em;text-decoration:none;text-transform:uppercase}.jalsa-whatsapp-helper__button i{font-size:1.35rem}.jalsa-whatsapp-helper__button:hover,.jalsa-whatsapp-helper__button:focus-visible{background:#51e58a;transform:translateY(-2px)}.jalsa-whatsapp-helper.is-compact .jalsa-whatsapp-helper__button{width:3.25rem;justify-content:center;padding:.75rem}.jalsa-whatsapp-helper.is-compact .jalsa-whatsapp-helper__button span{display:none}@media(max-width:62rem){.jalsa-global-footer__grid{grid-template-columns:1.2fr 1fr 1fr}.jalsa-global-footer__grid>div:last-child{grid-column:2/-1}}@media(max-width:48rem){.jalsa-global-header__inner{min-height:4.7rem}.jalsa-global-header__socials{display:none}.jalsa-global-menu{display:inline-flex}.jalsa-global-nav{display:none;position:absolute;top:calc(100% + 1px);right:0;left:0;z-index:101;align-items:stretch;padding:1rem max(1.25rem,calc((100vw - 76rem)/2));border-bottom:1px solid rgba(255,255,255,.16);background:#071c2b;box-shadow:0 1.25rem 2rem rgba(0,0,0,.2)}.jalsa-global-nav.is-open{display:grid}.jalsa-global-nav__links{display:grid;gap:0}.jalsa-global-nav__links a{display:block;min-height:44px;padding:.9rem 0;border-bottom:1px solid rgba(255,255,255,.12)}.jalsa-global-nav__cta{display:block;margin-top:.85rem;text-align:center}.jalsa-global-footer__grid{grid-template-columns:1fr 1fr}.jalsa-global-footer__grid>div:first-child,.jalsa-global-footer__grid>div:last-child{grid-column:1/-1}.jalsa-global-footer__bottom{display:grid}.jalsa-global-footer__inner,.jalsa-global-header__inner{width:min(calc(100% - 2rem),76rem)}.jalsa-whatsapp-helper{right:1rem;bottom:1rem;gap:.45rem}.jalsa-whatsapp-helper__message{min-width:0}.jalsa-whatsapp-helper__button{width:3.25rem;justify-content:center;padding:.75rem}.jalsa-whatsapp-helper__button span{display:none}}@media(max-width:28rem){.jalsa-global-footer__grid{grid-template-columns:1fr}.jalsa-global-footer__grid>div:first-child,.jalsa-global-footer__grid>div:last-child{grid-column:auto}.jalsa-whatsapp-helper__message{max-width:11.75rem;padding:.7rem}.jalsa-whatsapp-helper__message span{font-size:.75rem}}@media(prefers-reduced-motion:reduce){.jalsa-global-header *,.jalsa-whatsapp-helper *{scroll-behavior:auto!important;transition:none!important}}
/* Accessibility hardening */
.jalsa-global-skip{position:fixed;z-index:1000;top:-5rem;left:1rem;padding:.75rem 1rem;background:#f3cf72;color:#102a3a;font:700 .8rem/1 system-ui,sans-serif;text-decoration:none}.jalsa-global-skip:focus{top:1rem}

/* --------------------------------------------------------------- Brand logo ----
 * The client's `JE Logo.png` wordmark replaces the lettered "J" badge.
 *
 * It is sized by HEIGHT (not width) so the header's 5.25rem bar never changes height at
 * any viewport, and `width:auto` keeps the mark's 2.32:1 aspect ratio. The intrinsic
 * width/height attributes on the <img> reserve the box before the bytes land, so the
 * header cannot shift (no layout shift when it loads).
 *
 * The logo is transparent-backed, so it sits directly on the navy header. */
.jalsa-global-brand__logo{display:block;height:3rem;width:auto;max-width:min(58vw,17rem);object-fit:contain}
@media(max-width:48rem){.jalsa-global-brand__logo{height:2.5rem}}
@media(max-width:30rem){.jalsa-global-brand__logo{height:2.1rem;max-width:50vw}}

/* The `__mark` badge rule is retained but neutralised: the lettered badge no longer
 * exists in the markup (the logo replaces it), while the `:not(.jalsa-global-brand__mark)`
 * selectors elsewhere stay valid and the cascade cannot re-introduce a box. */
.jalsa-global-brand__mark{display:none!important}

/* Visually hidden but STILL RENDERED (clip-to-1px, not `display:none`).
 *
 * The brand's wordmark text uses this so that:
 *   - `textContent` still exposes "Jalsa Events" to the harnesses that assert the brand
 *     (`dev/.phase1-verify.mjs`, `dev/.phasec-nav.mjs`);
 *   - `innerText` still includes it, because a clipped element is painted — `display:none`
 *     or `visibility:hidden` would remove it from `innerText` and trip the innerText
 *     comparison in `dev/.phase0-innertext.mjs`;
 *   - screen readers still announce the brand name, which the `alt=""` logo cannot. */
.jalsa-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

/* ---------------------------------------------------- Signed-in account slot ----
 * Filled by `jalsa-events-global-chrome.js` only AFTER `GET /accounts/me` confirms a
 * session. It is EMPTY for a signed-out visitor, so these rules describe the signed-in
 * appearance only and nothing is styled into existence by default. */
.jalsa-global-auth{display:inline-flex;align-items:center;gap:.55rem}
.jalsa-global-auth:empty{display:none}
.jalsa-global-auth__user{display:inline-flex;align-items:baseline;gap:.35rem;color:rgba(255,255,255,.86);text-decoration:none;font:650 .76rem/1 system-ui,sans-serif;white-space:nowrap}
.jalsa-global-auth__user:hover,.jalsa-global-auth__user:focus-visible{color:#f3cd6f}
.jalsa-global-auth__greeting{text-transform:uppercase;letter-spacing:.05em;font-size:.66rem;color:rgba(255,255,255,.6)}
.jalsa-global-auth__name{font-weight:800;color:#fff}
.jalsa-global-auth__signout{padding:.4rem .6rem;border:1px solid rgba(255,255,255,.32);background:transparent;color:#fff;font:700 .7rem/1 system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}
.jalsa-global-auth__signout:hover{border-color:#e7b33e;color:#e7b33e}
.jalsa-global-auth__signout:focus-visible{outline:2px solid #f3cd6f;outline-offset:2px}
@media(max-width:48rem){.jalsa-global-auth__greeting{display:none}}

/* ------------------------------------------------------------ Submit a photo ----
 * The floating guest-photo control (Phase 9). Injected by
 * `jalsa-events-global-chrome.js` on every page, and revealed only when
 * `GET /media/upload-capability` answers `uploadsEnabled: true`.
 *
 * Placement: pinned to the bottom-LEFT, mirroring the WhatsApp helper which is pinned
 * bottom-RIGHT with the SAME anchor (`.jalsa-whatsapp-helper{right:…;bottom:clamp(1rem,
 * 3vw,2rem)}`). Matching `bottom` puts the two controls on one visual line at the foot of
 * the page. An earlier build centred this control vertically (`top:50%`), which read as
 * floating too high up the left edge, so it is deliberately anchored to the bottom now.
 * Left vs right anchor means no viewport width or height makes them overlap.
 *
 * The button itself MUST stay clickable; only the modal's backdrop layer is a
 * click-catcher. The QR modal deliberately reuses the site's `.modal` / `.modal-dialog` /
 * `.is-open` mechanism (defined in jalsa-events-wiring.css) and this sheet adds only the
 * photo-specific skin, so the open/close/Escape/backdrop behaviour is identical to the
 * checkout popup and the gallery lightbox.
 *
 * No `[hidden]` rule is declared here: `hidden` stays an author-level falsy attribute and
 * the UA's `display:none` does the hiding, which is what keeps a closed modal out of
 * `innerText`. */
.jalsa-photo-submit{position:fixed;z-index:200;left:clamp(1rem,3vw,2rem);bottom:clamp(1rem,3vw,2rem);font-family:system-ui,sans-serif}
.jalsa-photo-submit__button{display:inline-flex;align-items:center;gap:.55rem;min-height:3.25rem;padding:.75rem 1rem;border:1px solid rgba(16,42,58,.2);border-radius:999px;background:linear-gradient(115deg,#f3cf72,#d99b29 52%,#f0c25a);color:#102a3a;box-shadow:0 .8rem 1.8rem rgba(5,33,25,.22);font:800 .76rem/1 system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}
.jalsa-photo-submit__glyph{font-size:1.2rem;line-height:1}
.jalsa-photo-submit__button:hover{background:linear-gradient(115deg,#f7dc93,#e0a838 52%,#f4cd72)}
.jalsa-photo-submit__button:focus-visible{outline:3px solid #102a3a;outline-offset:3px}
.modal.jalsa-photo-modal{z-index:400}
.jalsa-photo-modal__dialog{position:relative;width:min(100%,30rem);max-height:calc(100vh - 2rem);overflow:auto;padding:1.7rem 1.6rem 1.5rem;border-top:4px solid #e7b33e;background:#fff;color:#102a3a;text-align:center;box-shadow:0 1.4rem 3.5rem rgba(0,0,0,.3)}
.jalsa-photo-modal__title{margin:0 0 .5rem;font:600 1.35rem/1.2 Georgia,'Times New Roman',serif}
.jalsa-photo-modal__instruction{margin:0 0 1.1rem;color:#526570;font-size:.94rem}
.jalsa-photo-modal__qr{display:grid;place-items:center;margin:0 auto 1.1rem;width:fit-content;padding:.9rem;border:1px solid rgba(16,42,58,.16);background:#fff}
/* While the QR request is in flight the box shows a light placeholder pattern rather than
 * stark white, so a slow response reads as "loading" and not as "broken". The JS stall
 * guard (see jalsa-events-global-chrome.js) bounds how long this can be seen. */
.jalsa-photo-modal__image{display:block;width:230px;height:230px;max-width:100%;background:repeating-linear-gradient(45deg,#faf7ef,#faf7ef 10px,#f2ecdd 10px,#f2ecdd 20px)}
.jalsa-photo-modal__fallback{margin:0 0 1.1rem;color:#526570;font-size:.88rem}
.jalsa-photo-modal__fallback-link,.jalsa-photo-modal__open{color:#8a6116;font-weight:700}
.jalsa-photo-modal__actions{display:flex;gap:.7rem;justify-content:center;flex-wrap:wrap}
.jalsa-photo-modal__actions a,.jalsa-photo-modal__actions button{min-height:42px;padding:.6rem .95rem;border:1px solid rgba(16,42,58,.24);background:transparent;color:inherit;font:650 .82rem/1 system-ui,sans-serif;text-decoration:none;cursor:pointer}
.jalsa-photo-modal__open{border-color:#d99b29!important;background:linear-gradient(115deg,#f3cf72,#d99b29 52%,#f0c25a)!important;color:#102a3a!important}
.jalsa-photo-modal__close{position:absolute;top:.7rem;right:.7rem;width:2.25rem;height:2.25rem;border:1px solid rgba(16,42,58,.2);background:transparent;color:#526570;font-size:1.25rem;line-height:1;cursor:pointer}
.jalsa-photo-modal__close:focus-visible,.jalsa-photo-modal__dismiss:focus-visible,.jalsa-photo-modal__open:focus-visible{outline:3px solid #b8791a;outline-offset:2px}
@media(max-width:30rem){.jalsa-photo-submit__label{display:none}.jalsa-photo-submit__button{width:3.25rem;justify-content:center;padding:.75rem}.jalsa-photo-modal__image{width:190px;height:190px}}
@media(prefers-reduced-motion:reduce){.jalsa-photo-submit__button,.jalsa-photo-modal__dialog{transition:none!important}}

/* =====================================================================
   Phase 13 — cart drawer (D2) and the header cart button (D3).
   These live in the shared chrome stylesheet because both elements are
   injected by `jalsa-cart.js` on all 75 pages, exactly like the photo
   modal above.

   innerText DISCIPLINE: while closed the drawer and backdrop keep the
   `hidden` attribute, so they are `display:none` and contribute nothing
   to `innerText` (see dev/.phase0-innertext.mjs). The explicit
   `[hidden]{display:none}` rules below are load-bearing — without them
   the author `display:flex` would beat the user-agent `[hidden]` rule
   and the drawer would sit permanently on screen. The count badge is a
   plain coloured dot: there is deliberately NO CSS `content:` string, so
   no digit can leak into the rendered text.
   ===================================================================== */
.jalsa-cart-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:2.6rem;height:2.6rem;padding:0;border:1px solid rgba(255,255,255,.3);background:transparent;color:inherit;cursor:pointer}
.jalsa-cart-button:hover{border-color:rgba(243,207,114,.9)}
.jalsa-cart-button:focus-visible{outline:3px solid #f3cf72;outline-offset:2px}
.jalsa-cart-button__glyph{display:block;width:1.2rem;height:1.2rem}
.jalsa-cart-button__badge{position:absolute;top:-.18rem;right:-.18rem;display:none;width:.6rem;aspect-ratio:1;border-radius:50%;background:#e7b33e;box-shadow:0 0 0 2px rgba(7,28,43,.9)}
.jalsa-cart-button.has-items .jalsa-cart-button__badge{display:block}

.jalsa-cart-backdrop{position:fixed;inset:0;z-index:1100;background:rgba(4,18,30,.55)}
.jalsa-cart-backdrop[hidden]{display:none}

.jalsa-cart-drawer{position:fixed;top:0;right:0;bottom:0;z-index:1101;display:flex;flex-direction:column;width:min(24rem,100vw);max-width:100%;overflow-y:auto;background:#fffdf7;color:#102a3a;box-shadow:-1.2rem 0 3rem rgba(0,0,0,.3);transform:translateX(100%);transition:transform .28s ease}
.jalsa-cart-drawer[hidden]{display:none}
.jalsa-cart-drawer.is-open{transform:translateX(0)}
html.jalsa-cart-open,html.jalsa-cart-open body{overflow:hidden}

.jalsa-cart-drawer__panel{display:flex;flex-direction:column;min-height:100%;padding:1.4rem}
.jalsa-cart-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(16,42,58,.16)}
.jalsa-cart-drawer__title{margin:0;font:600 1.5rem/1.1 Georgia,'Times New Roman',serif;color:#102a3a}
.jalsa-cart-drawer__close{display:inline-flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;padding:0;border:1px solid rgba(16,42,58,.2);background:transparent;color:#526570;cursor:pointer}
.jalsa-cart-drawer__close:hover{border-color:#b8791a;color:#8e5a0c}
.jalsa-cart-drawer__close:focus-visible{outline:3px solid #b8791a;outline-offset:2px}
.jalsa-cart-drawer__event{margin:1rem 0 0;color:#8e5a0c;font:700 .72rem/1.4 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.jalsa-cart-drawer__empty{margin:1.6rem 0;color:#526570;font-size:.95rem}
.jalsa-cart-drawer__empty a{color:#8e5a0c;font-weight:700}

.jalsa-cart-lines{display:grid;gap:1rem;margin:1.2rem 0 0;padding:0;list-style:none}
.jalsa-cart-line{padding-bottom:1rem;border-bottom:1px solid rgba(16,42,58,.12)}
.jalsa-cart-line__name{margin:0;font-weight:700}
.jalsa-cart-line__price{margin:.2rem 0 .7rem;color:#59707a;font-size:.84rem}
.jalsa-cart-line__controls{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.jalsa-cart-qty{display:inline-flex;align-items:center;gap:.55rem}
.jalsa-cart-qty button{width:1.9rem;height:1.9rem;padding:0;border:1px solid rgba(16,42,58,.24);background:#fff;color:#102a3a;font-size:1rem;line-height:1;cursor:pointer}
.jalsa-cart-qty button:hover{border-color:#b8791a}
.jalsa-cart-qty button:focus-visible{outline:3px solid #b8791a;outline-offset:2px}
.jalsa-cart-line__total{margin-left:auto;font-weight:700}
.jalsa-cart-line__remove{padding:0;border:0;background:transparent;color:#8e5a0c;font:inherit;font-size:.82rem;font-weight:700;text-decoration:underline;cursor:pointer}

.jalsa-cart-drawer__totals{margin-top:1.2rem}
.jalsa-cart-drawer__subtotal{display:flex;align-items:baseline;justify-content:space-between;margin:0;font-size:1rem}
.jalsa-cart-drawer__subtotal strong{font:600 1.4rem/1 Georgia,'Times New Roman',serif}
.jalsa-cart-drawer__basis{margin:.5rem 0 0;color:#59707a;font-size:.8rem}
.jalsa-cart-drawer__actions{display:grid;gap:.6rem;margin-top:1.4rem}
.jalsa-cart-drawer__book{display:block;padding:.85rem 1.1rem;background:linear-gradient(115deg,#f3cf72,#d99b29 52%,#f0c25a);color:#102a3a;font-weight:800;text-align:center;text-decoration:none}
.jalsa-cart-drawer__secondary{padding:.7rem 1.1rem;border:1px solid rgba(16,42,58,.24);background:transparent;color:#102a3a;font:inherit;font-size:.85rem;font-weight:700;cursor:pointer}
.jalsa-cart-drawer__book:focus-visible,.jalsa-cart-drawer__secondary:focus-visible{outline:3px solid #b8791a;outline-offset:2px}

@media(max-width:30rem){.jalsa-cart-drawer{width:100vw}.jalsa-cart-drawer__panel{padding:1.1rem}}
@media(prefers-reduced-motion:reduce){.jalsa-cart-drawer{transition:none}}
