/* Thailand Camp Uncharted, custom "uncharted" theme (ADR 0003).
   Originally ported from reference/landing-original/public/style.css; now on
   the client's visual system (tokens and fonts in base.css). Layout and the
   mobile DOM order (title, poster, description, Explore tickets) are unchanged.

   Sections:
     1. Page and shared type
     2. Header
     3. Hero
     4. Facts band
     5. Passes and phase cards
     6. Coaches
     7. Schedule
     8. Location
     9. Footer
    10. Documents (terms) and payment status
    11. Checkout form
    12. Sheets
    13. Custom select and date picker
    14. Quantity stepper and ticket holders
    15. Breakpoints
    16. Reduced motion */

/* 1. Page and shared type ------------------------------------------------ */
html { scroll-behavior: smooth; }
.wrap { width: min(1160px, 88%); margin: auto; }
a { text-decoration: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow, .label, small { font: 700 .8rem/1.3 var(--font-body); letter-spacing: .18em; text-transform: uppercase; }
.label { color: var(--green); margin: 0 0 6px; }
h1, h2, h3, .facts b, .stub b { font-family: var(--font-display); font-weight: 400; }
h2, h3 { text-transform: uppercase; }
.preview-banner { background: var(--green-deep); color: var(--cream); text-align: center; padding: 8px 16px; font-size: .9rem; }

/* 2. Header -------------------------------------------------------------- */
.nav, .foot, .facts, .passhead { display: flex; align-items: center; justify-content: space-between; }
.nav { min-height: 88px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand > a { display: block; }
.nav img.camp-logo { width: 124px; height: auto; display: block; }
.cobrand { display: flex; align-items: center; gap: 10px; color: var(--green); font: 700 1rem/1 var(--font-body); }
.cobrand img { width: 84px; height: auto; display: block; }
.nav nav { display: flex; align-items: center; gap: 30px; }
/* Text links: Anton, uppercase, every item on one 44px line so they centre with the ticket button.
   The bar under a link is a pseudo-element, so it never moves the text. */
.nav nav a:not(.mytickets) { position: relative; display: inline-flex; align-items: center; height: 44px; color: var(--green-ink); font: 400 1.08rem/1 var(--font-display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; transition: color .15s ease, transform .15s ease; }
.nav nav a:not(.mytickets):after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 5px; height: 4px; background: var(--yellow); transform: scaleX(0) skewX(-12deg); transform-origin: left; transition: transform .2s ease; }
.nav nav a:not(.mytickets):hover { color: var(--green); transform: rotate(-2deg); }
.nav nav a:not(.mytickets):hover:after { transform: scaleX(1) skewX(-12deg); }
.nav nav a.navticket:after, .nav nav a.navticket:hover:after { background: var(--coral); transform: scaleX(1) skewX(-12deg); }
/* My tickets: a small ticket stub (notched sides, like the pass cards). */
.nav nav .mytickets { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; background: var(--green-ink); color: var(--cream); font: 400 1.02rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .15s ease, transform .15s ease;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 5px, #000 5.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 5px, #000 5.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 50%, transparent 5px, #000 5.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 5px, #000 5.5px) right / 51% 100% no-repeat; }
.nav nav .mytickets svg { width: 18px; height: 18px; flex: none; color: var(--yellow); }
.nav nav .mytickets:hover { background: var(--green); transform: translateY(-1px); }
.nav nav a { white-space: nowrap; }
.nav nav .mytickets:focus-visible { outline: none; background: var(--green); box-shadow: inset 0 0 0 3px var(--pink); }

/* 3. Hero ---------------------------------------------------------------- */
.hero { background: var(--green); color: var(--cream); position: relative; overflow: hidden; isolation: isolate; }
/* Topographic lines plus a light grunge texture (both decorative). */
.map { position: absolute; inset: 0; z-index: -2; }
.map:before, .map:after { content: ""; position: absolute; inset: 0; }
.map:before { background: url(/static/img/topo-white.webp) center / 460px auto repeat; opacity: .13; }
.map:after { background: url(/static/img/grunge.webp) center / cover; opacity: .3; }
/* Leaf silhouettes behind the poster. */
.hero:before { content: ""; position: absolute; z-index: -2; right: 0; bottom: 0; height: 108%; aspect-ratio: 1764 / 2270; background: var(--cream); -webkit-mask: url(/static/img/pat-leaves.webp) 0 0 / 100% 100% no-repeat; mask: url(/static/img/pat-leaves.webp) 0 0 / 100% 100% no-repeat; transform: scaleX(-1); opacity: .2; pointer-events: none; }
/* Darken under the text so yellow, cream and coral stay legible. */
.hero:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 63, 61, .9) 0, rgba(18, 63, 61, .78) 42%, rgba(18, 63, 61, .18) 72%, rgba(18, 63, 61, 0)); pointer-events: none; }
.layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; align-items: center; padding: 60px 0 64px; }
.intro { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "title art" "summary art"; align-content: center; }
.camp-title { grid-area: title; align-self: end; }
.camp-summary { grid-area: summary; align-self: start; }
.intro .art { grid-area: art; align-self: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--yellow); }
.eyebrow i { width: 34px; border-top: 2px solid; }
.intro h1 { font-size: clamp(5rem, 8.6vw, 8.4rem); line-height: .9; letter-spacing: .005em; text-transform: uppercase; margin: 0; }
.intro h1 span { color: var(--yellow); }
.script { font: 400 clamp(2.6rem, 4.4vw, 4.3rem)/1 var(--font-script); color: var(--coral); transform: rotate(-7deg); width: fit-content; margin: -.3em 0 0 1.5em; text-shadow: 2px 3px var(--green-ink); }
.venue { font-size: 1.18rem; margin: 26px 0 28px; }
.venue strong { font-weight: 700; }
.primary { position: relative; display: inline-block; border: 0; background: var(--yellow); color: var(--green-ink); font: 400 1.45rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; transform: rotate(-3deg); padding: 15px 26px 16px; clip-path: polygon(2% 1%, 99% 0, 98% 21%, 100% 34%, 98% 48%, 100% 63%, 98% 77%, 99% 97%, 0 100%, 2% 78%, 0 64%, 2% 50%, 0 35%, 2% 22%); }
.primary:hover { background: var(--yellow-light); }
.primary:focus-visible { background: #fff; text-decoration: underline; }
.hero a:focus-visible, #schedule a:focus-visible, footer a:focus-visible { outline-color: var(--yellow); }
.art { display: grid; place-items: center; padding: 20px; }
.stack { width: min(75%, 300px); position: relative; transform: rotate(6deg); isolation: isolate; }
.stack:before, .stack:after { content: ""; position: absolute; inset: 0; z-index: -1; }
.stack:before { background: #e5dcb9; transform: rotate(-7deg) translate(-6px, 3px); box-shadow: 0 6px 10px #0b2c2b40; }
.stack:after { background: #efba72cc; inset: -12px 32% auto; height: 27px; transform: rotate(-8deg); z-index: 2; }
.stack img { display: block; width: 100%; height: auto; box-shadow: 0 8px 22px #0b2c2b70; }

/* 4. Facts band ---------------------------------------------------------- */
.band { background: var(--yellow); color: var(--green-ink); }
.facts { min-height: 56px; gap: 15px; font: 700 1.02rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.facts b { font-family: Georgia, serif; color: var(--green); }

/* 5. Passes and phase cards ---------------------------------------------- */
.passes { padding: 56px 0 64px; position: relative; isolation: isolate; }
.passes:before { content: ""; position: absolute; z-index: -1; right: calc(50% - 50vw); top: 0; height: 440px; aspect-ratio: 1764 / 2270; background: var(--green); -webkit-mask: url(/static/img/pat-leaves.webp) 0 0 / 100% 100% no-repeat; mask: url(/static/img/pat-leaves.webp) 0 0 / 100% 100% no-repeat; transform: scale(-1, -1); opacity: .14; pointer-events: none; }
.passhead { gap: 20px; align-items: end; }
.passhead > p { margin: 0 0 4px; font-size: 1.02rem; }
.passhead h2 { font-size: clamp(2.8rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: .01em; margin: 0; }
#tickets, .tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.tickets { margin-top: 18px; }
article { display: flex; color: var(--green-ink); background: var(--tone); --tone: var(--yellow); position: relative; mask: radial-gradient(circle at 0 50%, transparent 7px, #000 7.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 7px, #000 7.5px) right / 51% 100% no-repeat; }
article:nth-child(2) { --tone: var(--turquoise); }
article:nth-child(3) { --tone: var(--coral); }
.stub { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 14px; border-right: 2px dashed #123f3d55; }
.stub b { font-size: 2.4rem; line-height: 1; }
.stub small, .detail small { font-size: .74rem; letter-spacing: .14em; }
.detail { padding: 18px 16px; }
.detail h3 { font-size: 2rem; line-height: 1.05; letter-spacing: .01em; margin: 2px 0 8px; }
.detail span { display: block; font-size: .9rem; font-weight: 700; }
.detail a { text-decoration: underline; }
.detail .price { font: 400 1.5rem/1.1 var(--font-display); letter-spacing: .02em; margin: 0 0 10px; }
.detail .alt-price { font: 500 .88rem var(--font-body); letter-spacing: 0; }
.detail .purchase { display: inline-block; background: var(--green-ink); color: var(--paper); border: 0; padding: 10px 16px; text-decoration: none; font-weight: 700; }
.detail .purchase:hover { background: #0b2c2b; }
article.phase-closed, article.phase-sold_out { filter: saturate(.35); }
/* Several ticket types (ADR 0002): one group of phase cards per type. */
.type-group { margin-top: 34px; }
.type-head h3 { font-size: 1.7rem; line-height: 1; letter-spacing: .02em; margin: 0; }
.type-head p { margin: 6px 0 0; max-width: 60ch; }

/* 6. Coaches (static to this theme) -------------------------------------- */
.coaches { background: var(--cream-2); padding: 60px 0 68px; position: relative; overflow: hidden; isolation: isolate; }
/* The wave sits in the bottom-left corner: its cut left and bottom edges are the section edges. */
.coaches:before { content: ""; position: absolute; z-index: -1; left: 0; bottom: 0; height: 92%; aspect-ratio: 879 / 1131; background: var(--green); -webkit-mask: url(/static/img/pat-wave.webp) 0 0 / 100% 100% no-repeat; mask: url(/static/img/pat-wave.webp) 0 0 / 100% 100% no-repeat; opacity: .16; pointer-events: none; }
.coaches-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; position: relative; }
.coaches-head h2 { font-size: clamp(2.8rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: .01em; margin: 0; }
.coaches-head h2 em, .location-intro em { font: 400 .78em/1 var(--font-script); text-transform: none; color: var(--green); display: inline-block; transform: rotate(-5deg); margin-left: .2em; }
.coaches-head > p { margin: 0 0 6px; max-width: 34ch; }
.coach-row { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.coach-row li { margin: 0; }
.coach-row figure { margin: 0; position: relative; transform: rotate(var(--tilt, -1.5deg)); transition: transform .25s ease; }
.coach-row li:nth-child(2) figure { --tilt: 1.5deg; }
.coach-row li:nth-child(3) figure { --tilt: -1deg; }
.coach-row li:nth-child(4) figure { --tilt: 2deg; }
.coach-row figure:hover { transform: rotate(0) translateY(-4px); }
.coach-row figure:before { content: ""; position: absolute; z-index: 1; top: 6px; left: -16px; width: 74px; height: 22px; background: #efba72cc; transform: rotate(-38deg); }
.coach-row img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 680; box-shadow: 0 8px 20px #0b2c2b40; background: var(--cream); }
.coach-row figcaption { margin-top: 14px; text-align: center; font: 700 .95rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); }
.coach-row:focus-visible { outline: 3px solid var(--pink); outline-offset: 6px; }
/* Dots under the coach row (added by landing.js, phones only). A tap target of 28px around a small dot;
   the coach in the middle gets a longer coral bar. */
.coach-dots { display: none; }

/* 7. Schedule ------------------------------------------------------------ */
#schedule { background: var(--green-deep); color: var(--cream); position: relative; isolation: isolate; overflow: hidden; }
#schedule:before { content: ""; position: absolute; inset: 0; background: url(/static/img/topo-white.webp) center / 520px auto; opacity: .1; z-index: -1; }
.schedule-layout { display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; gap: 8%; padding: 64px 0; }
.schedule-intro .label { color: var(--yellow); }
.schedule-intro h2 { margin: 12px 0 0; font-size: clamp(3.3rem, 6vw, 5.8rem); line-height: .92; letter-spacing: .01em; }
.schedule-intro em { display: inline-block; color: var(--coral); font: 400 .8em/1 var(--font-script); text-transform: none; transform: rotate(-6deg); margin-left: .4em; }
.agenda dl { margin: 0; }
.agenda dl div { display: grid; grid-template-columns: 8rem 1fr; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid #ffffff40; }
.agenda dt { font: 400 1.6rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; color: var(--yellow); }
.agenda dd { margin: 0; font-size: 1.05rem; }
.agenda-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.agenda-items li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 16px; }
.agenda-items.has-times li { grid-template-columns: 6.8rem minmax(0, 1fr); }
.agenda-time { font: 400 1.02rem/1.45 var(--font-display); letter-spacing: .05em; color: var(--cream); opacity: .78; font-variant-numeric: tabular-nums; }
.agenda-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.agenda-items.has-times .agenda-title, .agenda-items li:has(.agenda-details) .agenda-title { font-weight: 700; }
.agenda-details { font-size: .95rem; color: #e0e8d9; }
.agenda p { font-size: .92rem; margin: 18px 0 0; color: #e0e8d9; }

/* 8. Location ------------------------------------------------------------ */
#location { background: var(--cream); color: var(--green-deep); position: relative; isolation: isolate; overflow: hidden; }
/* Leaves grow out of the bottom-left corner (their cut edges are the section edges). */
#location:before { content: ""; position: absolute; z-index: -1; left: 0; bottom: 0; height: 125%; aspect-ratio: 1764 / 2270; background: var(--green); -webkit-mask: url(/static/img/pat-leaves.webp) 0 0 / 100% 100% no-repeat; mask: url(/static/img/pat-leaves.webp) 0 0 / 100% 100% no-repeat; opacity: .17; pointer-events: none; }
.location-layout { display: grid; grid-template-columns: 1fr 1.35fr; align-items: stretch; gap: 8%; padding: 56px 0; }
.location-intro { padding: 32px 0; }
.location-intro h2 { font-size: clamp(3rem, 5.5vw, 5rem); line-height: .95; letter-spacing: .01em; margin: 12px 0; }
.location-intro em { display: block; margin: 0; }
.location-details { align-self: center; }
.location-details h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: .01em; }
.location-details address { font-style: normal; line-height: 1.6; margin: 10px 0 18px; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; }
.map-link { display: inline-block; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.map-link:hover { text-decoration-color: currentColor; }

/* 9. Footer -------------------------------------------------------------- */
footer { background: var(--green-ink); color: var(--cream); }
.foot { padding: 22px 0; gap: 18px; font-size: .9rem; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { display: block; height: auto; }
.foot-brand .foot-logo { width: 86px; }
.foot-brand .cobrand { color: var(--cream); }
.foot-brand .cobrand img { width: 70px; }
.footlinks { display: flex; gap: 16px; }
.footlinks a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* 10. Documents (terms) and payment status ------------------------------- */
.doc { max-width: 680px; padding: 48px 0 72px; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; margin: 8px 0 12px; }
.doc-meta { color: var(--muted); font-size: .92rem; }
.doc a { text-decoration: underline; }
.checkout { max-width: 620px; padding: 36px 0 72px; }
.checkout .label { font-size: .78rem; letter-spacing: .16em; margin: 0 0 6px; }
.checkout h1, .checkout-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.3rem); line-height: 1.02; letter-spacing: .01em; margin: 0 0 14px; text-transform: uppercase; }
.checkout-price { display: inline-block; color: var(--coral-ink); }
.checkout-lead { margin: 0 0 22px; }
.checkout-notice, .checkout-errors, .checkout-blocked { background: #fff6d6; border-left: 4px solid var(--yellow); padding: 12px 14px; margin: 0 0 18px; }
.checkout-errors { background: #fde8e2; border-color: var(--coral-ink); }
/* The pass on the status page: large, high-contrast code. */
.checkout-pass { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline; background: var(--paper); border: 2px dashed var(--green-deep); padding: 18px 20px; margin: 6px 0 20px; }
.checkout-pass span { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.checkout-pass strong { font: 400 1.9rem/1 var(--font-display); letter-spacing: .1em; color: var(--green-ink); }
.checkout-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 18px 0; }
.checkout-actions .primary { text-decoration: none; }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }

/* 11. Checkout form ------------------------------------------------------ */
.checkout-form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; margin: 0 0 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; min-width: 0; font: inherit; color: inherit; background: var(--paper); border: 2px solid var(--green-deep); border-radius: 0; padding: 10px 12px; }
.field input[type=date] { width: 100%; font: inherit; color: inherit; background: var(--paper); border: 2px solid var(--green-deep); border-radius: 0; padding: 9px 12px; }
.field select[multiple] { width: 100%; font: inherit; background: var(--paper); border: 2px solid var(--green-deep); padding: 6px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.field.has-error input, .field.has-error select { border-color: #c2412a; }
.field-hint { font-size: .88rem; color: var(--muted); margin: 5px 0 0; }
.field-error { font-size: .9rem; color: #b03a24; font-weight: 700; margin: 5px 0 0; }
.phone-row { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 8px; }
.field.check label { font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.field.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--green-deep); }
.field.check a { text-decoration: underline; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.field legend { font-weight: 700; margin: 0 0 6px; padding: 0; }
.field .choice { display: flex; gap: 10px; align-items: center; font-weight: 500; margin: 4px 0; }
.field .choice input { width: 18px; height: 18px; accent-color: var(--green-deep); }
.optional { font-weight: 500; color: var(--muted); font-size: .88rem; }
.checkout-submit { justify-self: start; cursor: pointer; margin-top: 8px; font-size: 1.3rem; }

/* 12. Sheets (checkout over the event page) ------------------------------ */
html.has-sheet { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(14, 58, 56, .58); animation: ui-fade .2s ease-out; }
.sheet-panel { position: relative; width: min(560px, 100%); height: 100%; background: var(--cream); color: var(--green-deep); display: flex; flex-direction: column; box-shadow: -14px 0 40px rgba(0, 0, 0, .25); animation: ui-slide .25s cubic-bezier(.2, .8, .2, 1); outline: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 2px dashed #174e4c40; background: var(--green-deep) url(/static/img/topo-white.webp) center / 320px auto; background-blend-mode: soft-light; color: var(--cream); }
.sheet-head h2 { margin: 0; font: 400 1.6rem/1 var(--font-display); letter-spacing: .03em; }
.sheet-head a:focus-visible, .sheet-head button:focus-visible { outline-color: var(--yellow); }
.sheet-close { font-size: 1.1rem; line-height: 1; padding: 8px 10px; text-decoration: none; }
.sheet-body { flex: 1; overflow-y: auto; padding: 22px 24px 28px; }
.sheet .checkout { max-width: none; padding: 0; }
.sheet.is-out .sheet-panel { animation: ui-slide-out .2s ease-in forwards; }
.sheet.is-out .sheet-backdrop { animation: ui-fade-out .2s ease-in forwards; }
@keyframes ui-slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ui-slide-out { to { transform: translateX(40px); opacity: 0; } }
@keyframes ui-fade { from { opacity: 0; } }
@keyframes ui-fade-out { to { opacity: 0; } }
@keyframes ui-rise { from { transform: translateY(50px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ui-sink { to { transform: translateY(50px); opacity: 0; } }

/* 13. Custom select and date picker -------------------------------------- */
.ui-select, .ui-date { position: relative; }
.ui-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.ui-select-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; font: inherit; color: inherit; background: var(--paper); border: 2px solid var(--green-deep); border-radius: 0; padding: 10px 12px; cursor: pointer; text-align: left; min-height: 46px; }
.ui-select-trigger:focus-visible, .is-open > .ui-select-trigger { outline: 3px solid var(--pink); outline-offset: 2px; }
.ui-select-trigger[aria-invalid="true"], .field.has-error .ui-select-trigger { border-color: #c2412a; }
.ui-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-select-value.is-placeholder { color: #5d807c; }
.ui-select-caret { width: 9px; height: 9px; border-right: 2px solid var(--green-deep); border-bottom: 2px solid var(--green-deep); transform: rotate(45deg) translate(-2px, -2px); flex: none; }
.ui-date-icon { width: 16px; height: 15px; border: 2px solid var(--green-deep); border-top-width: 4px; flex: none; }
.ui-popover { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; min-width: 100%; background: var(--paper); border: 2px solid var(--green-deep); box-shadow: 6px 6px 0 #174e4c33; padding: 6px; animation: ui-pop .12s ease-out; }
.opens-up > .ui-popover { top: auto; bottom: calc(100% + 6px); }
@keyframes ui-pop { from { opacity: 0; transform: translateY(-4px); } }
.ui-select-search { width: 100%; font: inherit; color: inherit; background: #fff; border: 2px solid #174e4c33; padding: 8px 10px; margin-bottom: 6px; }
.ui-listbox { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; outline: none; }
.ui-option { display: flex; align-items: center; gap: 10px; padding: 9px 10px; cursor: pointer; }
.ui-option[hidden] { display: none; }
.ui-option.is-active { background: var(--yellow); }
.ui-option.ui-placeholder { display: none; color: #5d807c; }
.ui-check { width: 16px; height: 16px; flex: none; }
.ui-option[aria-selected="true"] .ui-check::after { content: "✓"; display: block; font-weight: 800; line-height: 16px; }
.ui-multi .ui-check { border: 2px solid var(--green-deep); }
.ui-multi .ui-option[aria-selected="true"] .ui-check { background: var(--green-deep); color: var(--cream); text-align: center; }
.ui-calendar { width: 300px; padding: 12px; }
.ui-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ui-cal-title { font: 400 1.15rem var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
.ui-cal-nav, .ui-cal-link { font: inherit; font-weight: 700; background: none; border: 0; cursor: pointer; color: inherit; padding: 4px 10px; }
.ui-cal-nav { font-size: 1.4rem; line-height: 1; }
.ui-cal-link { text-decoration: underline; }
.ui-cal-grid { width: 100%; border-collapse: collapse; }
.ui-cal-grid th { font-size: .72rem; letter-spacing: .08em; font-weight: 700; padding: 4px 0; }
.ui-cal-grid td { padding: 1px; text-align: center; }
.ui-day { font: inherit; width: 38px; height: 36px; border: 0; background: none; cursor: pointer; color: inherit; }
.ui-day:hover { background: #ffcd4780; }
.ui-day.is-outside { opacity: .4; }
.ui-day.is-today { box-shadow: inset 0 0 0 2px #174e4c40; }
.ui-day.is-selected { background: var(--green-deep); color: var(--cream); }
.ui-day:disabled { opacity: .25; cursor: default; }
.ui-day:focus-visible { outline: 3px solid var(--pink); }
.ui-cal-foot { display: flex; justify-content: space-between; margin-top: 8px; border-top: 2px dashed #174e4c40; padding-top: 6px; }

/* 14. Quantity stepper and ticket holders (ADR 0008) --------------------- */
.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.field .qty-row select { width: auto; min-width: 5.5rem; }
.qty-update { font: inherit; font-weight: 700; color: var(--paper); background: var(--green-deep); border: 0; padding: 11px 16px; cursor: pointer; }
.qty-update:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.qty-total { margin: 0 0 0 auto; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.qty-total b { margin-left: 6px; font: 400 1.8rem/1 var(--font-display); letter-spacing: .01em; color: var(--coral-ink); text-transform: none; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--green-deep); background: var(--paper); }
.stepper button { width: 46px; height: 46px; padding: 0; border: 0; background: none; color: var(--green-deep); font: 700 1.5rem/1 var(--font-body); cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--yellow); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper button:focus-visible { outline: 3px solid var(--pink); outline-offset: -3px; }
.stepper output { min-width: 2.8rem; text-align: center; font: 400 1.7rem/1 var(--font-display); border-left: 2px dashed #174e4c50; border-right: 2px dashed #174e4c50; padding: 10px 0; }
fieldset.holder { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 14px 16px 18px; border: 2px dashed var(--green-deep); background: var(--paper); }
fieldset.holder > legend { padding: 0 8px; font: 400 1.3rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
fieldset.holder .field-hint:only-of-type { margin: 0; }

/* 15. Breakpoints -------------------------------------------------------- */
@media (max-width: 1000px) {
  .coach-row { gap: 18px; }
}
@media (max-width: 900px) {
  #tickets, .tickets { grid-template-columns: 1fr; max-width: 620px; }
  .facts { flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 12px 0; font-size: .9rem; }
  .foot { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .wrap { width: 89%; }
  .nav { min-height: 74px; }
  .nav img.camp-logo { width: 100px; }
  .cobrand img { width: 66px; }
  .nav nav { gap: 18px; }
  .nav nav a.nav-coaches { display: none; }
  .intro { grid-template-columns: 1fr .88fr; }
  .layout { padding: 42px 0; }
  .art { padding: 8px; }
  .stack { width: 82%; }
  .intro h1 { font-size: clamp(3.6rem, 10vw, 5rem); }
  .script { font-size: 2.5rem; margin-left: 1em; }
  .hero:before { height: 80%; opacity: .16; }
  .facts { flex-wrap: wrap; justify-content: center; padding: 12px 0; font-size: .88rem; }
  .passhead, .coaches-head { align-items: start; flex-direction: column; gap: 10px; }
  #tickets, .tickets { grid-template-columns: 1fr; }
  .detail { padding: 14px 22px; }
  .stub { min-width: 78px; }
  .passes:before { height: 280px; opacity: .12; }
  /* Coaches: a horizontal, snapping row of posters. */
  .coaches { padding: 44px 0 40px; }
  .coach-row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 6% 22px; margin: 18px -6% 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .coach-row::-webkit-scrollbar { display: none; }
  .coach-dots { display: flex; justify-content: center; align-items: center; gap: 2px; margin-top: 4px; }
  .coach-dots button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
  .coach-dots button:before { content: ""; display: block; width: 9px; height: 9px; border-radius: 99px; background: var(--green-ink); opacity: .28; transition: width .25s ease, opacity .25s ease, background-color .25s ease; }
  .coach-dots button[aria-current="true"] { width: 44px; }
  .coach-dots button[aria-current="true"]:before { width: 30px; background: var(--coral); opacity: 1; transform: skewX(-12deg); }
  .coach-dots button:focus-visible { outline: 3px solid var(--pink); outline-offset: 0; border-radius: 6px; }
  .coach-row li { flex: 0 0 min(64%, 300px); scroll-snap-align: center; }
  .coach-row figure { transform: rotate(calc(var(--tilt, -1.5deg) / 2)); }
  .schedule-layout { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .agenda dl div { grid-template-columns: 6.5rem 1fr; gap: 16px; }
  .agenda-items.has-times li { grid-template-columns: minmax(0, 1fr); }
  .location-layout { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
  .location-intro { padding: 18px 0; }
  #location:before { height: 70%; }
  .coaches:before { height: 60%; }
  .location-intro em { display: inline-block; margin-left: .2em; }
  .tickets { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav .cobrand { display: none; }
}
@media (max-width: 530px) {
  .nav nav { gap: 16px; }
  .nav nav a:not(.mytickets) { font-size: .92rem; letter-spacing: .05em; }
  .nav nav .mytickets { font-size: .88rem; letter-spacing: .06em; height: 40px; padding: 0 13px; gap: 6px; }
  .nav nav .mytickets svg { width: 16px; height: 16px; }
  .nav img.camp-logo { width: 92px; }
  .intro { grid-template-columns: 1fr; grid-template-areas: none; }
  .camp-title, .camp-summary, .intro .art { grid-area: auto; }
  .intro .art { margin-top: 28px; }
  .layout { padding: 36px 0 44px; }
  .hero:after { background: linear-gradient(180deg, rgba(18, 63, 61, .82), rgba(18, 63, 61, .6) 55%, rgba(18, 63, 61, .82)); }
  .hero:before { height: 55%; }
  .intro h1 { font-size: 22vw; }
  .art { padding: 8px 0 12px; }
  .stack { width: 56%; }
  .script { margin-left: 1.6em; font-size: 2.9rem; }
  .eyebrow { margin-bottom: 16px; }
  .venue { margin: 22px 0; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; text-align: center; gap: 6px; letter-spacing: .1em; }
  .facts b { display: none; }
  .passes { padding: 38px 0; }
  .foot { align-items: start; flex-direction: column; gap: 10px; }
  .footlinks { flex-wrap: wrap; }
  .phone-row { grid-template-columns: 1fr; }
  .checkout-pass { grid-template-columns: 1fr; gap: 2px; padding: 16px; }
  .checkout-pass strong { margin: 2px 0 12px; font-size: 2rem; white-space: nowrap; }
  .checkout-pass b { margin-bottom: 8px; }
  .checkout-submit { justify-self: stretch; font-size: 1.15rem; }
  .sheet { align-items: flex-end; }
  .sheet-panel { height: auto; max-height: 94vh; border-radius: 14px 14px 0 0; overflow: hidden; animation-name: ui-rise; }
  .sheet.is-out .sheet-panel { animation-name: ui-sink; }
  .sheet-body { padding: 18px 18px 24px; }
}

/* 16. Reduced motion ----------------------------------------------------- */
@media (max-width: 440px) {
  /* Icon-only ticket button on small phones; the label stays for screen readers. */
  .nav nav .mytickets { padding: 0 13px; }
  .nav nav .mytickets span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav nav .mytickets svg { width: 19px; height: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheet-panel, .sheet-backdrop, .ui-popover { animation: none !important; }
  .coach-row figure, .coach-dots button:before { transition: none; }
  .nav nav .mytickets, .nav nav a, .nav nav a:after { transition: none; }
  .nav nav a:not(.mytickets):hover { transform: none; }
  .coach-row figure:hover { transform: rotate(var(--tilt, -1.5deg)); }
}
