/* ==========================================================================
   1080 Studio — design layer on top of Tailwind (CDN)
   Tokens and patterns ported from the design artifact. Layout/spacing lives
   in Tailwind utilities in the Blade views; this file holds what utilities
   can't express cleanly (masks, line reveals, editorial grid, form fields).
   ========================================================================== */

:root {
  --black: #070707;
  --ink: #101010;
  --panel: #161616;
  --line: rgba(255, 255, 255, .14);
  --paper: #f4f3f0;
  --paper-2: #ebeae6;
  --text: #141414;
  --muted: #6b6b6b;
  --muted-d: #a8a8a8;
  --pad: clamp(20px, 4vw, 56px);
  --wrap: 1240px;
  --header-h: 96px;
}

html { background: var(--black); -webkit-text-size-adjust: 100%; }
body { background: var(--black); color: #fff; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; display: block; }
[x-cloak] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: #fff; color: #000; }
.light ::selection { background: #000; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; font-size: 14px; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: transform .45s cubic-bezier(.2,.7,.2,1), background-color .35s, backdrop-filter .35s; }
.site-header.is-solid { background: rgba(7, 7, 7, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.logo svg { width: 100%; height: auto; aspect-ratio: 760 / 376; display: block; }
.nav-link { position: relative; padding: 6px 0; opacity: .82; transition: opacity .2s; }
.nav-link:hover, .nav-link.is-active { opacity: 1; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

/*
 * Pill buttons: on hover a fill sweeps in from the left (::before) and the arrow icon nudges forward.
 * `--fill` / `--on-fill` are the sweep colour and the text colour on it; `--hover-border` the border.
 * Labels never turn black on hover: on dark sections the sweep is a light tint and the text stays white.
 */
.btn-pill {
  --fill: rgba(255,255,255,.16); --on-fill: #fff; --hover-border: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px;
  padding: 11px 24px; font-size: 14px; letter-spacing: .02em; white-space: nowrap;
  transition: color .45s cubic-bezier(.2,.7,.2,1), border-color .45s, transform .2s;
}
.btn-pill::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--fill);
  transform: scaleX(0); transform-origin: right center; transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.btn-pill svg { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.btn-pill:hover, .btn-pill:focus-visible { color: var(--on-fill); border-color: var(--hover-border, var(--fill)); }
.btn-pill:hover::before, .btn-pill:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn-pill:hover svg { transform: translateX(4px); }
.btn-pill:active { transform: scale(.97); }
.btn-pill.solid { background: #fff; color: #000; border-color: #fff; --fill: #070707; --on-fill: #fff; --hover-border: rgba(255,255,255,.7); }
.btn-pill:disabled, .btn-pill[aria-disabled="true"] { pointer-events: none; }
.light .btn-pill { border-color: rgba(0,0,0,.55); --fill: #000; --on-fill: #fff; --hover-border: #000; }
.light .btn-pill.solid { background: #000; color: #fff; border-color: #000; --fill: #3a3a3a; --on-fill: #fff; --hover-border: #3a3a3a; }
/* The colour rules above are as specific as `.btn-pill:hover` and come later, so restate the hover
   colours here — otherwise solid buttons kept black text on their black hover fill (unreadable). */
.btn-pill.solid:hover, .btn-pill.solid:focus-visible,
.light .btn-pill:hover, .light .btn-pill:focus-visible,
.light .btn-pill.solid:hover, .light .btn-pill.solid:focus-visible { color: var(--on-fill); border-color: var(--hover-border, var(--fill)); }

/* ---------- Type ---------- */
.display { font-weight: 300; text-transform: uppercase; line-height: .98; letter-spacing: -.01em; font-size: clamp(42px, 6.6vw, 96px); }
.display.lg { font-size: clamp(38px, 5.6vw, 84px); }
.display.md { font-size: clamp(32px, 4.4vw, 64px); }
.display.sm { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.04; }
.h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; font-weight: 300; text-transform: uppercase; letter-spacing: -.005em; }
.body-copy { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 56ch; }
.dark .body-copy, .on-dark .body-copy { color: var(--muted-d); }
/* **bold** in admin-edited copy (App\Support\Content::rich) */
.rich-strong { font-weight: 500; color: #fff; }
.light .rich-strong { color: #141414; }
.lede { font-size: clamp(16px, 1.4vw, 19px); font-weight: 300; color: rgba(255,255,255,.86); max-width: 46ch; }

/* Line-reveal markup produced by <x-display>: each line is clipped and its inner span slides up. */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; will-change: transform; }

.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.sq::after { display: none; }

/* ---------- Arrow links ---------- */
.arrow-link { display: inline-flex; align-items: center; gap: 16px; font-size: 14px; letter-spacing: .02em; }
.arrow-circle { width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .25s, color .25s, transform .35s cubic-bezier(.2,.7,.2,1); }
.arrow-circle svg { width: 18px; height: 18px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.arrow-link:hover .arrow-circle, .group:hover .arrow-circle { background: #fff; color: #000; }
.arrow-link:hover .arrow-circle svg, .group:hover .arrow-circle svg { transform: translateX(3px); }
/* A down arrow ("jump to the section below") nudges down, not sideways. */
.arrow-link:hover .arrow-circle svg.icon-down, .group:hover .arrow-circle svg.icon-down { transform: translateY(3px); }
.arrow-link > span:last-child { position: relative; }
.arrow-link > span:last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.arrow-link:hover > span:last-child::after { transform: scaleX(1); transform-origin: left; }
.arrow-link.boxed > span:last-child::after { display: none; }
.light .arrow-link:hover .arrow-circle, .light .group:hover .arrow-circle { background: #000; color: #fff; }
.arrow-link.boxed { border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 6px 30px 6px 6px; gap: 20px; }
.arrow-link.boxed .arrow-circle { width: 40px; height: 40px; border-color: rgba(255,255,255,.6); }
.light .arrow-link.boxed { border-color: rgba(0,0,0,.4); }
.light .arrow-link.boxed .arrow-circle { border-color: rgba(0,0,0,.4); }

/*
 * ---------- Hero & banners: photos are never cropped ----------
 * Each photo (<x-banner-image>) carries its real width/height and ratio (--ar), and is drawn at that
 * ratio, scaled to fit. On computers (1024px+) it sits on the right and fades into the black:
 * ordinary photos take up to 64–66% of the width, wide pre-composed banners (.is-wide, 1.6:1+) up to
 * all of it — never taller than the hero (--hero-h). Below 1024px the photo spans the width, with the
 * text over its left side (see the media query below).
 * Photo and text share one grid cell, so the section is always tall enough for both.
 */
.hero, .banner { position: relative; background: #000; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); }
.hero > :not(.hero-side), .banner > * { grid-area: 1 / 1; }
.hero-media, .banner-media { position: relative; z-index: -1; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: end; }
.hero-media picture, .banner-media picture { display: contents; }
.hero-media img, .banner-media img { grid-area: 1 / 1; height: auto; --fade-x: 38%; --fade-y: 16%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade-x)), linear-gradient(to bottom, transparent, #000 var(--fade-y), #000 calc(100% - var(--fade-y)), transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 var(--fade-x)), linear-gradient(to bottom, transparent, #000 var(--fade-y), #000 calc(100% - var(--fade-y)), transparent);
  mask-composite: intersect; }
.hero-media img.is-wide, .banner-media img.is-wide { --fade-x: 18%; }

.hero { --hero-h: min(860px, 94svh); min-height: var(--hero-h); }
.hero.short { --hero-h: min(720px, 82svh); }
.hero-media { align-items: end; transform-origin: right bottom; }
.hero-media img { width: min(64%, calc(var(--hero-h) * var(--ar, 1.5))); --fade-y: 14%;
  /* Bottom-anchored: only the top edge needs to fade (under the header). */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade-x)), linear-gradient(to bottom, transparent, #000 var(--fade-y));
  mask-image: linear-gradient(to right, transparent, #000 var(--fade-x)), linear-gradient(to bottom, transparent, #000 var(--fade-y)); }
.hero-media img.is-wide { width: min(100%, calc(var(--hero-h) * var(--ar))); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 50%); pointer-events: none; }
.hero .wrap { align-self: end; padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero-side { position: absolute; right: var(--pad); bottom: clamp(56px, 8vw, 104px); text-transform: uppercase; font-size: clamp(13px, 1.2vw, 17px); line-height: 1.7; letter-spacing: .04em; font-weight: 300; }
.grayscale-media img { filter: grayscale(1) contrast(1.05); }

/* Full-bleed banner: photo on the right (or .left), vertically centred, fading into black. */
.banner { --banner-h: min(760px, 90svh); }
.banner > .wrap { align-self: center; }
.banner-media { align-items: center; }
.banner-media img { width: min(66%, calc(var(--banner-h) * var(--ar, 1.5))); }
.banner-media img.is-wide { width: min(100%, calc(var(--banner-h) * var(--ar))); }
.banner-media.left { justify-items: start; }
.banner-media.left img { -webkit-mask-image: linear-gradient(to left, transparent, #000 var(--fade-x)), linear-gradient(to bottom, transparent, #000 var(--fade-y), #000 calc(100% - var(--fade-y)), transparent);
  mask-image: linear-gradient(to left, transparent, #000 var(--fade-x)), linear-gradient(to bottom, transparent, #000 var(--fade-y), #000 calc(100% - var(--fade-y)), transparent); }

/*
 * Tablets and phones: the photo spans the full width at its own proportions (never cropped; on phones the
 * admin's optional mobile photo replaces it) and fades into black on the left and at the bottom. The text
 * starts over the photo's left side, like on computers; longer text runs on below it.
 */
@media (max-width: 1023px) {
  .hero { min-height: 0; padding-top: var(--header-h); }
  .hero-media, .banner-media { justify-items: stretch; align-items: start; align-self: start; }
  .hero-media img, .hero-media img.is-wide, .banner-media img, .banner-media img.is-wide {
    width: 100%; height: auto;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.35), #000 55%), linear-gradient(to bottom, #000 62%, transparent);
    mask-image: linear-gradient(to right, rgba(0,0,0,.35), #000 55%), linear-gradient(to bottom, #000 62%, transparent);
    -webkit-mask-composite: source-in; mask-composite: intersect; }
  .banner-media.left img {
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.35), #000 55%), linear-gradient(to bottom, #000 62%, transparent);
    mask-image: linear-gradient(to left, rgba(0,0,0,.35), #000 55%), linear-gradient(to bottom, #000 62%, transparent); }

  .hero .wrap { align-self: start; padding-top: clamp(16px, 5vw, 40px); padding-bottom: 48px; }
  .banner > .wrap { align-self: start; padding-top: clamp(24px, 6vw, 48px); padding-bottom: 64px; }
  .hero .wrap, .banner > .wrap { text-shadow: 0 1px 14px rgba(0,0,0,.5); }
  /* Hero text keeps to the left half of the screen, over the photo's dark side; the headline is 20% smaller
     than before (was clamp(30px, 7.4vw, 52px)). Buttons below keep the full width. */
  .hero .display { font-size: clamp(24px, 5.9vw, 42px); }
  .hero .wrap > .eyebrow, .hero .wrap > .display, .hero .lede { max-width: 50vw; overflow-wrap: break-word; }
  .banner .display { font-size: clamp(26px, 6.6vw, 44px); }
  .hero .eyebrow, .banner .eyebrow { font-size: 11px; margin-bottom: 18px; }
  .hero .lede { margin-top: 18px; font-size: 15px; }
  .hero .lede p { font-size: 14px; line-height: 1.6; }
  .hero .lede > * + * { margin-top: 10px; }
  .banner > .wrap p { font-size: 15px; line-height: 1.6; }
  .banner > .wrap [data-reveal] { margin-top: 18px; }
  .hero .arrow-circle, .banner .arrow-circle { width: 44px; height: 44px; }
  .hero-side { position: static; padding: 0 var(--pad) 40px; font-size: 12px; opacity: .8; }
}

/* ---------- Media frames ---------- */
.frame { position: relative; overflow: hidden; background: #1a1a1a; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .6s; }
.group:hover .frame img, .frame.zoom:hover img { transform: scale(1.045); }
/* Oversized image for ScrollSmoother `data-speed="auto"` parallax inside a frame. */
.frame .parallax { position: absolute; inset: -9% 0 auto 0; height: 118%; }
.frame-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), transparent 55%); transition: opacity .4s; pointer-events: none; }
.group:hover .frame-shade::after { opacity: .8; }

/* Early-bird discount badge (tickets, photo packages, checkout) */
.early-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 10px; background: #1f7a4d; color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; white-space: nowrap; }

/* An event's own popup badge ("Registrations are LIVE"), with a softly pulsing dot. */
.popup-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 4px 12px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; }
.popup-badge::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 999px; background: #ff4d3d; box-shadow: 0 0 0 0 rgba(255,77,61,.6); animation: badge-pulse 1.8s ease-out infinite; }
@keyframes badge-pulse { 70% { box-shadow: 0 0 0 7px rgba(255,77,61,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,61,0); } }

/* Homepage popup slider (partials/date-popup) */
.popup-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.popup-track::-webkit-scrollbar { display: none; }
.popup-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }

/* Slider dots (popup, phone sliders) in the text colour. The button is a 24px tap target around the dot. */
.slider-dot { position: relative; width: 20px; height: 24px; }
.slider-dot::before { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 8px; border-radius: 999px; background: currentColor; opacity: .3; transition: width .35s cubic-bezier(.2,.7,.2,1), opacity .25s; }
.slider-dot:hover::before { opacity: .6; }
.slider-dot.is-active { width: 36px; }
.slider-dot.is-active::before { width: 24px; opacity: 1; }

/* /events "Registrations are LIVE": one event per slide on every screen size (swipe, or the arrows/dots). */
.ev-slider { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.ev-slider::-webkit-scrollbar { display: none; }
.ev-slider > * { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }

/* Phones: a row of cards becomes a swipe slider (the next card peeks in). From 768px the row's own grid takes over. */
@media (max-width: 767px) {
  .m-slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
  .m-slider::-webkit-scrollbar { display: none; }
  .m-slider > * { flex: 0 0 82%; min-width: 0; scroll-snap-align: start; }
  .m-slider > :only-child { flex-basis: 100%; } /* nothing to swipe to */
}

/* Date badge on event cards */
.date-badge { position: absolute; left: 18px; bottom: 18px; background: #fff; color: #000; padding: 10px 14px; text-align: center; min-width: 76px; }
.date-badge b { display: block; font-size: 30px; font-weight: 400; line-height: 1; }
.date-badge small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Stats ---------- */
.stat + .stat { border-left: 1px solid var(--line); }
@media (max-width: 767px) {
  .stat:nth-child(odd) { border-left: 0 !important; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}


/* ---------- Filters (tabs / chips) ---------- */
.filter-btn { position: relative; padding: 12px 2px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .2s; white-space: nowrap; }
.filter-btn:hover { color: var(--text); }
.filter-btn[aria-pressed="true"], .filter-btn[aria-current="true"] { color: var(--text); }
.filter-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--text); transform: scaleX(0); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.filter-btn[aria-pressed="true"]::after, .filter-btn[aria-current="true"]::after { transform: scaleX(1); }
.filter-bar { display: flex; gap: 4px 28px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(0,0,0,.1); }
.filter-bar::-webkit-scrollbar { display: none; }

/* ---------- Editorial gallery: 1/3, 2/3 and full-width frames ---------- */
.gallery { --gallery-gap: clamp(16px, 2.2vw, 28px); display: grid; grid-template-columns: 1fr; gap: var(--gallery-gap); grid-auto-flow: row dense; container-type: inline-size; }
.gallery .tile { aspect-ratio: 4 / 3; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .tile.third { grid-column: span 1; aspect-ratio: 4 / 5; }
  /* Its own shape (same height as a "third" beside it), so a wide tile alone on a row doesn't collapse to 0. */
  .gallery .tile.two-thirds { grid-column: span 2; aspect-ratio: 820 / 500; }
  .gallery .tile.full { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  /* Where container units work: exactly a "third" tile's height (one column × 5/4) — it then lines up
     with the third beside it, and still has that height when it sits alone on a row. */
  @supports (width: 1cqw) {
    .gallery .tile.two-thirds { aspect-ratio: auto; min-height: calc((100cqw - 2 * var(--gallery-gap)) / 3 * 1.25); }
  }
}
.tile { position: relative; display: block; width: 100%; text-align: left; color: #fff; overflow: hidden; background: #1a1a1a; cursor: zoom-in; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.66), transparent 50%); opacity: .7; transition: opacity .4s; }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile .cap { position: absolute; left: 22px; right: 80px; bottom: 20px; z-index: 1; transform: translateY(6px); opacity: .9; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s; }
.tile:hover .cap, .tile:focus-visible .cap { transform: none; opacity: 1; }
.tile .arrow-circle { position: absolute; right: 20px; bottom: 20px; z-index: 1; width: 44px; height: 44px; }
.tile:hover .arrow-circle { background: #fff; color: #000; }

/* ---------- Accordion ---------- */
.acc-row { border-top: 1px solid var(--line); }
.light .acc-row { border-color: rgba(0,0,0,.12); }
.acc-plus { position: relative; width: 14px; height: 14px; flex: none; }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .35s; }
.acc-plus::after { transform: rotate(90deg); }
[aria-expanded="true"] .acc-plus::after { transform: rotate(0); }

/* ---------- Forms (dark) ---------- */
.field { position: relative; }
.field label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); color: #fff; font: inherit; font-size: 16px; padding: 12px 0; border-radius: 0; transition: border-color .25s; }
.field textarea { border: 1px solid rgba(255,255,255,.22); padding: 14px 16px; min-height: 160px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: #fff; }
.field input[type="date"] { color-scheme: dark; }
.field .err { color: #ff9b8a; font-size: 13px; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #ff9b8a; }
.choice { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 9px 16px; font-size: 13px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; user-select: none; }
.choice:hover { border-color: #fff; }
.choice:has(input:checked) { background: #fff; color: #000; border-color: #fff; }
.choice:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- Terms TOC ---------- */
.toc a { display: block; font-size: 14px; padding: 9px 14px; color: #3a3a3a; transition: background .2s, color .2s; }
.toc a:hover { background: var(--paper-2); }
.toc a.is-active { background: #000; color: #fff; }

/* ---------- Lightbox ---------- */
/* Solid background: at 95% the page behind ghosted through (noticeable on phones, behind the counter). */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #050505; display: flex; flex-direction: column; }
.lightbox img { animation: lb-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes lb-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: inline-flex; align-items: center; justify-content: center; background: rgba(0,0,0,.4); transition: background .2s, color .2s; }
.lb-btn:hover { background: #fff; color: #000; }
.lb-btn svg { width: 18px; height: 18px; }

/* ---------- Mobile drawer (slides in from the right; links stagger in after it) ---------- */
@keyframes drawer-in { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
.drawer-link, .drawer-foot { animation: drawer-in .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
.drawer-link-label { position: relative; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.drawer-link-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.drawer-link.is-active .drawer-link-label::after, .drawer-link:hover .drawer-link-label::after, .drawer-link:focus-visible .drawer-link-label::after { transform: scaleX(1); transform-origin: left; }
.drawer-link:hover .drawer-link-label { transform: translateX(8px); }

/* ---------- Hover animations ---------- */
/* Underline that draws in from the left (titles, inline links). */
.u-line { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .55s cubic-bezier(.2,.7,.2,1); }
.group:hover .u-line, .u-line:hover, .group:focus-visible .u-line { background-size: 100% 1px; }
.arrow-inline { display: inline-block; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.group:hover .arrow-inline, a:hover > .arrow-inline { transform: translateX(6px); }

/* Photos: slow zoom plus a lift in colour/contrast. */
.frame img, .tile img { filter: saturate(.92) contrast(1); }
.group:hover .frame img, .frame.zoom:hover img, .tile:hover img { filter: saturate(1.08) contrast(1.04); }
.frame img, .tile img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .8s ease; }

@media (hover: hover) and (pointer: fine) {
  /* Cards lift a touch. */
  .lift { transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s, border-color .3s; }
  .lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.35); }

  /* Round icon buttons (lightbox, carousel, socials). */
  .lb-btn { transition: background .25s, color .25s, transform .35s cubic-bezier(.2,.7,.2,1); }
  .lb-btn:hover:not(:disabled) { transform: scale(1.08); }

  .arrow-link:hover .arrow-circle { transform: scale(1.06); }

  /* "What we capture" columns and similar numbered lists: the title slides right. */
  .slide-title { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  .group:hover .slide-title { transform: translateX(10px); }

  /* Line icons (values) draw attention with a small turn. */
  .icon-pop { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  .group:hover .icon-pop { transform: rotate(-8deg) scale(1.12); }

  /* Footer social icons rise. */
  .social-up { transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .2s; }
  .social-up:hover { transform: translateY(-3px); }

  /* Ticket cards in the shop. */
  .ticket-card { transition: box-shadow .4s, transform .4s cubic-bezier(.2,.7,.2,1); }
  .ticket-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(0,0,0,.28); }

  /* Filter tabs: text nudges up slightly. */
  .filter-btn { transition: color .2s, transform .3s; }
  .filter-btn:hover { transform: translateY(-1px); }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Elements GSAP will animate start hidden only once JS confirms motion is allowed (html.motion). */
.motion [data-reveal], .motion [data-stagger] > * { opacity: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  :root { --header-h: 76px; }
}
