:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #05163b; background: #afe1fb; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
a { color: inherit; }
:focus-visible { outline: 3px solid #123789; outline-offset: 5px; }
.scene { position: relative; isolation: isolate; min-height: max(100svh, 43rem); overflow: hidden; background: #afe1fb; }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("./assets/lucky-dip.webp") right center / contain no-repeat; }
header { display: flex; align-items: center; justify-content: space-between; padding: clamp(18px,2vw,32px) 3.1%; }
.brand { display: inline-flex; align-items: center; gap: .19em; color: #05163b; font-size: clamp(25px,3.1vw,49px); font-weight: 800; letter-spacing: -.055em; line-height: 1; text-decoration: none; }
.brand img { width: 1.1em; }
.collection-link { padding: .2em 0; background: transparent; border: 0; font-size: clamp(18px,1.8vw,28px); font-weight: 700; letter-spacing: -.035em; }
.collection-link:hover, .brand:hover { text-decoration: underline; text-underline-offset: .17em; }
main { padding: clamp(5rem,19vh,13.5rem) 0 4rem 4.8%; width: 48%; }
h1,h2,p { margin: 0; }
h1 { font-size: clamp(72px,9.45vw,152px); letter-spacing: -.067em; line-height: .96; font-weight: 800; white-space: nowrap; }
.intro { margin: .55em 0 1em; font-size: clamp(21px,2.75vw,45px); letter-spacing: -.048em; line-height: 1.12; }
.stumble { width: 88%; min-height: 72px; padding: .23em .4em .28em; border: 0; border-radius: 2em; background: #ff6200; color: white; font-weight: 750; font-size: clamp(40px,4.8vw,76px); letter-spacing: -.055em; box-shadow: 0 11px 19px -12px #35536e; transition: transform .15s,background .15s; }
.stumble:hover { background: #e95100; transform: translateY(-2px); }
.stumble:active { transform: translateY(2px); }
.ticket { display: flex; align-items: stretch; margin-top: clamp(28px,5.5vh,64px); padding: clamp(19px,2.2vw,35px); gap: 1.1em; background: #fff2db; border: 1px solid #dfad67; border-radius: 15px 4px; outline: 2px solid #fff4df; outline-offset: 3px; box-shadow: 0 12px 18px -9px #587787; }
.ticket-body { flex: 1; min-width: 0; }
.ticket { border: 18px solid transparent; border-image: url("./assets/ticket.webp") 25 stretch; background-clip: padding-box; padding: clamp(8px,1.25vw,20px); outline: none; border-radius: 0; box-shadow: none; filter: drop-shadow(0 9px 6px rgb(48 75 94 / .2)); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: clamp(11px,1vw,16px); font-weight: 800; }
.ticket h2 { font-size: clamp(24px,2.65vw,43px); line-height: 1.05; letter-spacing: -.055em; margin: .27em 0 .16em; overflow-wrap: anywhere; }
.description { font-size: clamp(16px,1.42vw,23px); line-height: 1.22; letter-spacing: -.03em; }
#visit { display: flex; align-items: center; gap: .22em; border-left: 1px dashed #b66b39; padding-left: .8em; white-space: nowrap; color: #af3900; font-weight: 750; font-size: clamp(18px,2vw,32px); text-underline-offset: .16em; }
#load-error,noscript { display: block; margin-top: 1rem; } [hidden] { display: none !important; }
dialog { width: min(840px,94vw); max-height: min(80svh,820px); padding: clamp(18px,3vw,40px); border: 1px solid #c19870; border-radius: 18px; background: #fff8e9; color: inherit; }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: rgb(4 20 42 / .55); }
.dialog-head,.filters { display: flex; align-items: center; gap: 16px; }
.dialog-head { justify-content: space-between; }
.dialog-head h2 { font-size: 2.3rem; letter-spacing: -.06em; }
.close,#retry { background: transparent; border-radius: 22px; padding: 8px 16px; border: 1px solid currentColor; }
.filters { margin: 20px 0 12px; }
.filters label { flex: 1; min-width: 0; font-weight: 700; font-size: .87rem; }
input,select { display: block; width: 100%; padding: 10px; margin-top: 5px; border: 1px solid #988e80; border-radius: 6px; background: white; font-size: 1rem; }
#count { color: #515767; font-size: .9rem; }
#results { padding: 0 6px; margin: .7rem -6px 0; list-style: none; overflow: auto; overscroll-behavior: contain; }
#results li { border-top: 1px solid #d8cdb8; padding: 12px 0; }
#results a { font-weight: 750; text-underline-offset: 3px; }
#results small { display: block; margin-top: 4px; color: #515767; }
#results p { margin-top: 5px; }
@media (min-aspect-ratio: 17/10) and (min-width: 901px) { main { padding-top: 9vh; } }
@media (max-width: 900px) {
  .scene { min-height: 100svh; }
  .scene::before { inset: 65px 0 auto; height: min(45vh,380px); background-size: auto 100%; background-position: calc(50% - min(13vh,110px)) center; mask-image: linear-gradient(to bottom,transparent,#000 4%,#000 92%,transparent),linear-gradient(to right,transparent,#000 10%,#000 77%,transparent 91%); mask-composite: intersect; }
  header { padding: 20px 5%; }
  .brand { font-size: clamp(22px,5.8vw,34px); }
  .collection-link { font-size: 17px; }
  main { width: 100%; padding: calc(min(45vh,380px) + 15px) 6% 35px; }
  h1 { font-size: clamp(60px,15vw,90px); }
  .intro { font-size: clamp(22px,5.3vw,30px); margin: .35em 0 .72em; }
  .stumble { width: 100%; min-height: 56px; font-size: 36px; }
  .ticket { margin-top: 24px; padding: 8px; border-width: 12px; gap: 8px; }
  .filters { flex-wrap: wrap; }
  .filters label { flex-basis: 180px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before { transition: none !important; animation: none !important; } }
.directory main { width: min(64rem, 100%); margin: 0 auto; padding: 3rem 5% 5rem; }
.directory h1 { white-space: normal; font-size: clamp(2.6rem, 7vw, 5rem); margin: .4em 0; }
.directory h2 { margin: 1.6em 0 .5em; }
.directory li { margin: .8em 0; line-height: 1.5; }
.directory p { line-height: 1.5; }
a.collection-link { text-decoration: none; }
