/* Festival of Pumpkins 2026: the guide. A night color, one bright accent, a light ground and white (css/themes.css). Categories are icons, not colors. */
@font-face { font-family: 'Big Shoulders Display'; src: url(../fonts/big-shoulders.woff2) format('woff2'); font-weight: 600 900; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(../fonts/manrope.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }

:root {
  /* Palettes live in css/themes.css. Names here are roles, not colors:
     --plum = the night (board, bar, footer, text); --pumpkin = the one bright accent;
     --on-accent = text on the accent; --husk = the light ground. */
  --white: #FFFFFF;
  --ink-60: color-mix(in srgb, var(--plum) 66%, transparent); --ink-12: color-mix(in srgb, var(--plum) 13%, transparent);
  --on-plum-70: rgba(255,255,255,.72); --on-plum-12: rgba(255,255,255,.1);
  --poster: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --read: 'Manrope', system-ui, sans-serif;
  --hour: 92px; --lane-w: 150px; --top-h: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 40px); }
body { margin: 0; background: var(--husk); color: var(--plum); font: 16px/1.55 var(--read); -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--pumpkin); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 90; background: var(--pumpkin); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip:focus { top: 12px; }
svg { flex: none; }
h2 { font: 800 clamp(44px, 6vw, 76px)/.9 var(--poster); letter-spacing: .005em; text-transform: uppercase; margin: 0; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 40; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(16px, 3vw, 40px);
  background: var(--plum); color: var(--white); }
.mark { display: flex; flex-direction: column; text-decoration: none; font: 900 22px/.82 var(--poster); text-transform: uppercase; letter-spacing: .02em; }
.mark span + span { color: var(--pumpkin); }
.nav { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a, .myday-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 20px; border: 0; background: none; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--on-plum-70); transition: color .15s, background .15s; }
.nav a:hover, .nav a.here { color: var(--white); background: var(--on-plum-12); }
.myday-btn { color: var(--on-accent); background: var(--pumpkin); margin-left: 6px; }
.myday-btn:hover { background: var(--pumpkin-hi); }
.myday-btn b { min-width: 22px; height: 22px; border-radius: 11px; background: var(--white); color: var(--pumpkin-deep); font-size: 13px; display: grid; place-items: center; padding: 0 6px; transition: transform .2s cubic-bezier(.3,1.8,.5,1); }
.myday-btn b.bump { transform: scale(1.35); }

/* ---------- hero: Chris's footage in a pumpkin duotone ---------- */
.hero { position: relative; isolation: isolate; min-height: min(78vh, 720px); display: flex; align-items: flex-end; padding: 120px clamp(16px, 4vw, 56px) clamp(36px, 6vw, 72px); color: var(--white); overflow: hidden; background: var(--plum); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { max-width: 1100px; text-shadow: 0 2px 6px rgba(0,0,0,.35), 0 8px 40px rgba(0,0,0,.45); }
.hero-edition { margin: 0 0 6px; font: 800 22px/1 var(--poster); letter-spacing: .04em; text-transform: uppercase; color: var(--plum); background: var(--white); display: inline-block; padding: 6px 10px 4px; border-radius: 4px; }
.hero h1 { margin: 0; font: 900 clamp(76px, 15vw, 210px)/.8 var(--poster); text-transform: uppercase; letter-spacing: -.005em; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--white); }
.hero-when { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 26px; font-weight: 800; font-size: clamp(16px, 1.8vw, 20px); }
.hero-when span { display: inline-flex; align-items: center; gap: 10px; }
.hero-when span + span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--pumpkin); box-shadow: 0 0 0 2px var(--white); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 27px; font: 800 17px/1 var(--read); text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s, color .15s, box-shadow .15s; }
.btn svg { width: 22px; height: 22px; transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.btn-solid { background: var(--white); color: var(--plum); box-shadow: 0 6px 0 var(--plum); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--plum); }
.btn-solid:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--plum); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.75); background: color-mix(in srgb, var(--plum) 25%, transparent); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: var(--white); color: var(--plum); }
.btn-ghost:hover svg { transform: rotate(-30deg); }
.hero-credit { position: absolute; right: clamp(16px, 4vw, 56px); bottom: 18px; margin: 0; font-size: 13px; color: rgba(255,255,255,.8); }

/* ---------- the lineup board ---------- */
.lineup { background: var(--plum); color: var(--white); padding: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 40px); }
.lineup-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; margin: 0 auto 26px; max-width: 1480px; }
.lineup .lead { margin: 10px 0 0; color: var(--on-plum-70); font-size: 17px; max-width: 46ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.28); background: none; color: var(--white); font-weight: 700; font-size: 15px; transition: background .15s, border-color .15s, color .15s; }
.chip svg { width: 18px; height: 18px; }
.chip:hover { border-color: var(--white); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--plum); border-color: var(--white); }
.board { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; max-width: 1480px; margin: 0 auto; align-items: start; }
.board-main { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.grid-wrap { overflow-x: auto; border-radius: 18px; background: var(--plum-2); scrollbar-color: var(--plum-3) transparent; }
.grid { position: relative; min-width: calc(var(--lane-w) + var(--hour) * 8 + 24px); padding: 0 24px 16px 0; user-select: none; }
.ruler { position: sticky; top: 0; display: grid; grid-template-columns: var(--lane-w) 1fr; height: 54px; z-index: 3; }
.ruler-track { position: relative; }
.ruler-track span { position: absolute; top: 18px; transform: translateX(-50%); font: 800 20px/1 var(--poster); letter-spacing: .02em; color: var(--on-plum-70); white-space: nowrap; }
.ruler-track span:first-child { transform: none; }
.lane { display: grid; grid-template-columns: var(--lane-w) 1fr; border-top: 1px solid var(--on-plum-12); }
.lane-name { position: sticky; left: 0; z-index: 2; padding: 14px 14px 14px 20px; background: var(--plum-2); }
.lane-name strong { display: block; font: 800 24px/1 var(--poster); text-transform: uppercase; letter-spacing: .02em; }
.lane-name span { display: block; font-size: 13px; color: var(--on-plum-70); margin-top: 4px; }
.lane-track { position: relative; background-image: linear-gradient(90deg, var(--on-plum-12) 1px, transparent 1px); background-size: calc(var(--hour) / 2) 100%; }
.set { position: absolute; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 0; border-radius: 10px; text-align: left; overflow: hidden;
  background: var(--plum-3); color: var(--white); font-weight: 700; font-size: 14.5px; line-height: 1.2; transition: background .15s, transform .15s, box-shadow .15s, opacity .2s; }
.set svg { width: 18px; height: 18px; opacity: .85; }
.set .set-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.set .set-time { display: block; font-weight: 500; font-size: 12.5px; color: var(--on-plum-70); }
.set:hover, .set:focus-visible { background: var(--plum-4); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.3); z-index: 2; }
.set.live { background: var(--pumpkin); }
.set.live .set-time { color: rgba(255,255,255,.9); }
.set.open { background: linear-gradient(90deg, var(--plum-3) 55%, transparent); }
.set.open.live { background: linear-gradient(90deg, var(--pumpkin) 55%, transparent); }
.set.faded { opacity: .22; }
.set.tiny { padding: 0; justify-content: center; }
.set.tiny .set-t { display: none; }
.set .star { position: absolute; right: 6px; top: 6px; width: 14px; height: 14px; color: var(--white); display: none; }
.set.saved .star { display: block; }
.set.saved { box-shadow: inset 0 0 0 2px var(--white); }
.set.allday { border-radius: 8px; font-size: 13.5px; background: rgba(255,255,255,.06); }
.set.allday svg { color: var(--pumpkin); opacity: 1; }
.set.allday.live { background: rgba(255,255,255,.1); }
.set.compact { padding: 0 8px; gap: 6px; align-items: center; }
.set.compact .set-t { white-space: normal; font-size: 12.5px; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.set.compact .set-time { display: none; }
.set.compact svg { display: none; }
/* the playhead */
.playhead { position: absolute; top: 0; bottom: 0; width: 0; z-index: 4; pointer-events: none; }
.playhead::before { content: ''; position: absolute; top: 48px; bottom: 0; left: -1.5px; width: 3px; background: var(--pumpkin); box-shadow: 0 0 14px color-mix(in srgb, var(--pumpkin) 60%, transparent); }
.playhead-knob { position: absolute; top: 4px; left: 0; transform: translateX(-50%); pointer-events: auto; height: 34px; padding: 0 12px; border-radius: 17px; border: 0; background: var(--pumpkin); color: var(--on-accent);
  font: 800 18px/34px var(--poster); letter-spacing: .03em; white-space: nowrap; cursor: ew-resize; box-shadow: 0 4px 12px rgba(0,0,0,.35); touch-action: none; }
.playhead-knob:hover { background: var(--pumpkin-hi); }
.grid.scrubbing .set { transition: background .08s, opacity .2s; }

/* now playing + map */
.side { position: sticky; top: calc(var(--top-h) + 44px); display: grid; gap: 16px; }
.now { background: var(--plum-2); border-radius: 18px; padding: 18px 20px; }
.now-time { margin: 0 0 8px; font: 900 40px/1 var(--poster); color: var(--pumpkin); letter-spacing: .01em; }
.now-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.now-list button { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 6px 8px; border-radius: 8px; color: var(--white); text-align: left; font-weight: 700; font-size: 15px; }
.now-list button:hover { background: var(--on-plum-12); }
.now-list svg { width: 18px; height: 18px; color: var(--pumpkin); }
.now-list .where { margin-left: auto; font-weight: 500; color: var(--on-plum-70); font-size: 13px; white-space: nowrap; }
.now-list .empty { color: var(--on-plum-70); font-size: 15px; padding: 6px 8px; }
.mapcard { background: var(--husk); border-radius: 18px; padding: 10px; color: var(--plum); }
.sitemap { width: 100%; height: auto; display: block; border-radius: 12px; aspect-ratio: 250 / 262; }
.sm-ground { fill: var(--husk); }
.sm-buildings path { fill: var(--husk-2); }
.sm-roads path { fill: none; stroke: var(--white); stroke-linecap: round; stroke-linejoin: round; }
.sm-fest .closed { fill: none; stroke: var(--pumpkin); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.sm-park .lawn { fill: var(--lawn); }
.sm-park .walk { stroke: rgba(255,255,255,.55); stroke-width: 1.4; fill: none; }
.sm-park .plaza-stone { fill: var(--husk-2); }
.sm-park .fountain { fill: var(--white); stroke: var(--plum); stroke-width: .8; }
.sm-park .fountain-core { fill: var(--plum); }
.sm-labels .st { font: 700 4.2px/1 var(--read); fill: var(--ink-60); text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: var(--white); stroke-width: 1.4px; letter-spacing: .02em; }
.sm-labels .st.lm { font-weight: 800; font-size: 3.7px; fill: var(--plum); stroke: var(--husk); }
.spin { cursor: pointer; }
.spin circle.bg { fill: var(--plum); stroke: var(--white); stroke-width: 1.1; transition: fill .15s; }
.spin use { color: var(--white); pointer-events: none; }
.spin .halo { fill: var(--pumpkin); opacity: 0; transition: opacity .2s; }
.spin.on circle.bg { fill: var(--pumpkin); }
.spin.on .halo { opacity: .28; animation: halo 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.spin.faded { opacity: .28; }
.spin.sel circle.bg { fill: var(--white); stroke: var(--pumpkin); stroke-width: 1.6; }
.spin.sel use { color: var(--plum); }
.spin .cube3d { fill: var(--pumpkin); stroke: var(--white); stroke-width: .6; }
.spin:hover circle.bg, .spin:focus-visible circle.bg { stroke: var(--pumpkin); stroke-width: 1.6; }
.spin:focus-visible { outline: none; }
.spin .tag { font: 800 5.4px/1 var(--read); fill: var(--plum); paint-order: stroke; stroke: var(--white); stroke-width: 1.6px; opacity: 0; transition: opacity .15s; pointer-events: none; }
.spin:hover .tag, .spin:focus-visible .tag, .spin.sel .tag { opacity: 1; }
@keyframes halo { 0% { transform: scale(.8); opacity: .45; } 100% { transform: scale(1.9); opacity: 0; } }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 10px 4px 2px; font-size: 13px; font-weight: 700; color: var(--ink-60); }
.map-legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; margin-left: 6px; }
.map-legend i:first-child { margin-left: 0; }
.lg-closed { background: var(--pumpkin); opacity: .55; border-radius: 3px !important; height: 6px !important; }
.lg-on { background: var(--pumpkin); }
.lg-3d { background: var(--plum); box-shadow: inset 0 0 0 3px var(--pumpkin); }

/* the 3D window */
.window { background: var(--plum-2); border-radius: 18px; padding: 12px; }
.window-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--plum); }
.window-frame img, .window-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.window-frame img { transition: transform 6s ease-out, filter .3s; filter: saturate(.9); }
.window:hover .window-frame img { transform: scale(1.04); }
.window-open { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 26px; border: 0; border-radius: 30px; background: var(--pumpkin); color: var(--on-accent); font: 800 18px/1 var(--read); box-shadow: 0 8px 30px rgba(0,0,0,.45); transition: transform .15s, background .15s; }
.window-open svg { width: 26px; height: 26px; transition: transform .6s cubic-bezier(.3,1.5,.5,1); }
.window-open:hover { background: var(--pumpkin-hi); transform: translate(-50%, -52%); }
.window-open:hover svg { transform: rotate(-35deg); }
.window-loading { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 12px 16px; font: 800 20px/1 var(--poster); letter-spacing: .03em; text-transform: uppercase; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.window-frame.live .window-open, .window-frame.live img { display: none; }
.jumps { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 2px 2px; }
.jumps::-webkit-scrollbar { display: none; }
.jumps button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px; border-radius: 19px; border: 1.5px solid var(--on-plum-12); background: none; color: var(--white); font-weight: 700; font-size: 14px; transition: background .15s, border-color .15s; }
.jumps button svg { width: 16px; height: 16px; color: var(--pumpkin); }
.jumps button:hover { border-color: var(--white); }
.jumps button[aria-current="true"] { background: var(--pumpkin); border-color: var(--pumpkin); }
.jumps button[aria-current="true"] svg { color: var(--white); }
.window-caption { display: flex; justify-content: space-between; gap: 12px; margin: 10px 4px 0; font-size: 13px; color: var(--on-plum-70); }

/* ---------- things to do ---------- */
.todo { padding: clamp(48px, 7vw, 96px) clamp(16px, 3vw, 40px); max-width: 1560px; margin: 0 auto; }
.todo h2, .visit h2 { margin-bottom: 26px; }
.todo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tcard { position: relative; display: flex; flex-direction: column; border: 0; padding: 0; text-align: left; background: var(--white); border-radius: 18px; overflow: hidden; color: var(--plum); box-shadow: 0 1px 0 var(--ink-12); transition: transform .2s, box-shadow .2s; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px color-mix(in srgb, var(--plum) 16%, transparent); }
.tcard .ph { aspect-ratio: 16 / 10; background: var(--plum); position: relative; overflow: hidden; }
.tcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tcard:hover .ph img { transform: scale(1.05); }
.tcard .ph.none { display: grid; place-items: center; color: var(--pumpkin); }
.tcard .ph.none svg { width: 54px; height: 54px; }
.tcard .badge3d { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border-radius: 14px; background: var(--pumpkin); color: var(--on-accent); font-weight: 800; font-size: 12.5px; }
.tcard .badge3d svg { width: 15px; height: 15px; }
.tcard .tx { padding: 14px 16px 18px; }
.tcard .k { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--pumpkin-deep); }
.tcard .k svg { width: 16px; height: 16px; }
.tcard h3 { margin: 4px 0 4px; font: 800 26px/1 var(--poster); text-transform: uppercase; letter-spacing: .01em; }
.tcard p { margin: 0; font-size: 15px; color: var(--ink-60); }
.tcard .when { display: block; margin-top: 8px; font-weight: 800; font-size: 14px; color: var(--plum); }

/* ---------- plan your visit ---------- */
.visit { background: var(--white); padding: clamp(48px, 7vw, 96px) clamp(16px, 3vw, 40px); }
.visit > * { max-width: 1480px; margin-left: auto; margin-right: auto; }
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border-top: 3px solid var(--plum); }
.vtile { padding: 22px 22px 26px 0; border-bottom: 1px solid var(--ink-12); }
.vtile + .vtile { padding-left: 22px; border-left: 1px solid var(--ink-12); }
.vtile svg { width: 30px; height: 30px; color: var(--pumpkin); }
.vtile h3 { margin: 10px 0 6px; font: 800 28px/1 var(--poster); text-transform: uppercase; }
.vtile p { margin: 0 0 10px; color: var(--ink-60); }
.vtile button { border: 0; background: none; padding: 0; font-weight: 800; color: var(--pumpkin-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer and the sample tag ---------- */
.foot { background: var(--plum); color: var(--on-plum-70); padding: 48px clamp(16px, 3vw, 40px) 56px; }
.foot p { max-width: 900px; margin: 0 auto 12px; }
.foot strong { color: var(--white); }
.foot a { color: var(--white); }
.foot-small { font-size: 14px; }
.sample-tag { position: sticky; top: var(--top-h); z-index: 39; margin: 0; height: 28px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; background: var(--husk); color: var(--plum); font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sample-tag a { color: var(--pumpkin-deep); }

/* ---------- the detail drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--plum) 45%, transparent); animation: fade .2s; }
.drawer-card { position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100%); background: var(--white); overflow-y: auto; padding: 26px 26px 40px; box-shadow: -20px 0 40px rgba(0,0,0,.25); animation: slideIn .28s cubic-bezier(.2,.9,.3,1); outline: none; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.drawer-x { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--husk); display: grid; place-items: center; color: var(--plum); }
.drawer-x svg { width: 20px; height: 20px; }
.drawer-x:hover { background: var(--pumpkin); color: var(--on-accent); }
.d-kind { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--pumpkin-deep); font-size: 14px; }
.d-kind svg { width: 20px; height: 20px; }
.drawer h2 { font-size: 52px; margin: 8px 50px 12px 0; }
.d-times { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.d-times li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 12px 12px 14px; border-radius: 12px; background: var(--husk); }
.d-times li > span { grid-column: 1 / -1; grid-row: 2; font-weight: 600; line-height: 1.35; }
.d-times b { font: 800 22px/1 var(--poster); min-width: 92px; }
.d-times .star-btn { justify-self: end; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 17px; border: 1.5px solid var(--plum); background: none; font-weight: 800; font-size: 13px; }
.d-times .star-btn svg { width: 15px; height: 15px; }
.d-times .star-btn[aria-pressed="true"] { background: var(--pumpkin); border-color: var(--pumpkin); color: var(--on-accent); }
.drawer p { margin: 0 0 14px; }
.d-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.d-actions .btn { height: 48px; font-size: 15px; padding: 0 18px; }
.d-actions .btn-solid { background: var(--pumpkin); color: var(--on-accent); box-shadow: 0 4px 0 var(--pumpkin-deep); }
.d-actions .btn-line { border-color: var(--plum); color: var(--plum); background: none; }
.d-actions .btn-line:hover { background: var(--plum); color: var(--white); }
.d-media { display: grid; gap: 10px; }
.d-media figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--plum); }
.d-media img, .d-media video { width: 100%; height: 100%; object-fit: cover; }
.d-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 9px; color: var(--white); font-size: 13.5px; font-weight: 600; background: linear-gradient(transparent, color-mix(in srgb, var(--plum) 80%, transparent)); }
.d-media figure.broken::after { content: 'This clip did not load. Everything else still works.'; position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--white); font-weight: 700; background: var(--plum); }
.d-conf { font-size: 13px; color: var(--ink-60); border-top: 1px solid var(--ink-12); padding-top: 12px; margin-top: 16px !important; }

/* ---------- my day ---------- */
.myday { position: fixed; right: 16px; top: calc(var(--top-h) + 38px); z-index: 50; width: min(380px, calc(100% - 32px)); max-height: calc(100vh - var(--top-h) - 40px); overflow-y: auto; background: var(--white); color: var(--plum); border-radius: 18px; padding: 18px 18px 22px; box-shadow: 0 20px 50px color-mix(in srgb, var(--plum) 35%, transparent); animation: fade .2s; }
.myday[hidden] { display: none; }
.myday-head { display: flex; align-items: center; justify-content: space-between; }
.myday h2 { font-size: 40px; }
.myday .drawer-x { position: static; }
.md-empty { color: var(--ink-60); margin: 10px 0 0; }
.md-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.md-list li { display: grid; grid-template-columns: 74px 1fr auto; gap: 10px; align-items: center; padding: 10px 10px; border-radius: 12px; background: var(--husk); }
.md-list b { font: 800 20px/1 var(--poster); }
.md-list .t { font-weight: 800; line-height: 1.2; }
.md-list .w { display: block; font-weight: 500; font-size: 13px; color: var(--ink-60); }
.md-list .clash { display: block; font-size: 12.5px; font-weight: 800; color: var(--pumpkin-deep); }
.md-list button { border: 0; background: none; width: 32px; height: 32px; border-radius: 16px; display: grid; place-items: center; color: var(--ink-60); }
.md-list button:hover { background: var(--white); color: var(--plum); }
.md-list button svg { width: 16px; height: 16px; }
.md-note { font-size: 13px; color: var(--ink-60); margin: 12px 0 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .board { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 720px) {
  :root { --hour: 132px; --lane-w: 112px; --top-h: 58px; }
  .top { gap: 10px; }
  .mark { font-size: 19px; }
  .nav a { display: none; }
  .hero { min-height: 74vh; padding-top: 90px; }
  .hero-credit { position: static; margin-top: 18px; }
  .hero { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .btn { height: 50px; padding: 0 20px; font-size: 16px; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .lane-name { padding: 12px 10px 12px 14px; }
  .lane-name strong { font-size: 20px; }
  .lane-name span { font-size: 12px; }
  .drawer-card { top: auto; left: 0; width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; animation: slideUp .3s cubic-bezier(.2,.9,.3,1); padding: 22px 18px 34px; }
  @keyframes slideUp { from { transform: translateY(40px); opacity: 0; } }
  .drawer h2 { font-size: 42px; }
  .vtile, .vtile + .vtile { padding: 20px 0; border-left: 0; }
  .sample-tag { font-size: 11.5px; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.set.live, .set.live .set-time, .set.open.live { color: var(--on-accent); }
.set.live svg { color: var(--on-accent); }
.set.saved.live .star { color: var(--on-accent); }
.spin.on use { color: var(--on-accent); }
.jumps button[aria-current="true"] { color: var(--on-accent); }
.jumps button[aria-current="true"] svg { color: var(--on-accent); }
.d-actions .btn-solid { color: var(--on-accent); }
.mark span + span, .now-time, .now-list svg, .set.allday svg, .jumps button svg { color: var(--pumpkin-on-dark, var(--pumpkin)); }
.tcard .k, .vtile button, .sample-tag a, .d-kind, .md-list .clash { color: var(--pumpkin-deep); }
.vtile svg, .tcard .ph.none { color: var(--pumpkin-deep); }

/* ---------- the reel: Chris's stills from the day, drifting sideways with the scroll (js/reel.js) ---------- */
.intro { background: var(--white); padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); overflow-x: clip; }
.intro-copy { max-width: 1480px; margin: 0 auto clamp(30px, 4vw, 48px); padding: 0 clamp(16px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; }
.intro-copy h2 { max-width: 12ch; }
.intro-copy p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink-60); max-width: 46ch; }
.reel figure { margin: 0; flex: none; width: clamp(220px, 24vw, 360px); aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--husk); position: relative; }
.reel figure:nth-child(3n+2) { aspect-ratio: 4 / 3; align-self: center; width: clamp(260px, 30vw, 440px); }
.reel img, .reel video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.reel figure:hover img, .reel figure:hover video { transform: scale(1.04); }
.reel figcaption { position: absolute; left: 12px; bottom: 10px; right: 12px; color: var(--white); font-size: 13px; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,.5); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.reel figure:hover figcaption { opacity: 1; transform: none; }
@media (max-width: 720px) { .intro-copy { grid-template-columns: minmax(0, 1fr); } .reel figure { width: 62vw; } .reel figure:nth-child(3n+2) { width: 74vw; } .reel figcaption { opacity: 1; transform: none; } }

/* My day to the phone calendar */
.btn-cal { margin-top: 14px; width: 100%; justify-content: center; height: 48px; font-size: 15px; background: var(--plum); color: var(--white); }
.btn-cal:hover { background: var(--plum-3); }
body { overflow-x: clip; }

/* clips on the Things to do cards play while the card is on screen (muted, inline: phones allow it) */
.tcard .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.tcard .ph video.on { opacity: 1; }

/* what's on now, as footage */
.now-view { position: relative; margin: -6px -8px 14px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--plum); }
.now-view[hidden] { display: none; }
.now-view video { width: 100%; height: 100%; object-fit: cover; }
.now-view figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 9px; font-weight: 800; font-size: 14px; color: var(--white); background: linear-gradient(transparent, color-mix(in srgb, var(--plum) 85%, transparent)); }

/* the full-bleed video band before Plan your visit: natural color, white poster type, no overlay */
.interlude { position: relative; isolation: isolate; min-height: min(72vh, 680px); display: flex; align-items: flex-end; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 56px); color: var(--white); overflow: hidden; background: var(--plum); }
.interlude-media { position: absolute; inset: 0; z-index: -1; }
.interlude-media video { width: 100%; height: 100%; object-fit: cover; }
.interlude-copy { text-shadow: 0 2px 6px rgba(0,0,0,.35), 0 8px 40px rgba(0,0,0,.45); }
.interlude h2 { font-size: clamp(64px, 11vw, 160px); line-height: .82; }
.interlude h2 span { display: block; }
.interlude p { margin: 14px 0 22px; font-weight: 800; font-size: clamp(16px, 1.8vw, 20px); }
.interlude .btn-solid { text-shadow: none; }

/* plan your visit: each tile leads with a picture or clip */
.vmedia { height: clamp(150px, 13vw, 190px); border-radius: 12px; overflow: hidden; background: var(--husk); margin-bottom: 16px; }
.vmedia img, .vmedia video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* games under the 3D window; while one runs the window gets taller so there is room to throw */
.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px 2px 2px; }
.games button { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 12px; border-radius: 14px; border: 0; background: var(--pumpkin); color: var(--on-accent); text-align: left; transition: transform .15s, background .15s, box-shadow .15s; box-shadow: 0 3px 0 var(--pumpkin-deep); }
.games button:hover { background: var(--pumpkin-hi); transform: translateY(-2px); box-shadow: 0 5px 0 var(--pumpkin-deep); }
.games button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--pumpkin-deep); }
.games button[aria-pressed="true"] { background: var(--white); color: var(--plum); box-shadow: 0 3px 0 var(--pumpkin); }
.games svg { width: 26px; height: 26px; flex: none; }
.games b { display: block; font: 800 19px/1 var(--poster); text-transform: uppercase; letter-spacing: .02em; }
.games small { display: block; font-size: 12.5px; font-weight: 600; opacity: .8; margin-top: 3px; }
.window-frame { transition: aspect-ratio .35s ease; }
.window-frame.playing { aspect-ratio: 4 / 3; }
@media (max-width: 720px) {
  .games { grid-template-columns: minmax(0, 1fr); }
  .window-frame.playing { aspect-ratio: 4 / 5; }
}

/* the interactive map: vendors from the footage, game badges */
.sm-vend .vend rect { fill: color-mix(in srgb, var(--plum) 40%, var(--husk)); stroke: var(--white); stroke-width: .5; transition: fill .15s, opacity .2s; }
.sm-vend .vend.food rect { fill: color-mix(in srgb, var(--pumpkin) 70%, var(--plum)); }
.sm-vend .vend { cursor: pointer; }
.sm-vend .vend:hover rect, .sm-vend .vend:focus-visible rect, .sm-vend .vend.sel rect { fill: var(--plum); stroke: var(--pumpkin); stroke-width: .9; }
.sm-vend .vend.hot rect { fill: var(--pumpkin); }
.sm-vend .vend.faded { opacity: .25; }
.sm-vend .vend:focus-visible { outline: none; }
.spin .playbadge circle { fill: var(--pumpkin); stroke: var(--white); stroke-width: .6; }
.spin .playbadge path { fill: var(--on-accent); }
.lg-play { background: var(--pumpkin); box-shadow: inset 0 0 0 2px var(--white); }
.lg-vend { border-radius: 3px !important; background: color-mix(in srgb, var(--plum) 40%, var(--husk)); }
.vend-card { margin: 8px 4px 2px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--plum) 8%, transparent); font-size: 14px; animation: fade .2s; }
.vend-card[hidden] { display: none; }
.vend-card b { display: block; font-weight: 800; }
.vend-card span { color: var(--ink-60); font-size: 13px; }

/* the clip strip: glides by itself, swipes, arrows; each clip opens its spot */
.reel-wrap { position: relative; }
.reel { display: flex; gap: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 0; cursor: grab; }
.reel::-webkit-scrollbar { display: none; }
.reel:active { cursor: grabbing; }
.reel .clip { position: relative; flex: none; width: clamp(240px, 25vw, 360px); aspect-ratio: 4 / 5; padding: 0; border: 0; border-right: 3px solid var(--white); border-radius: 0; overflow: hidden; background: var(--husk); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.reel .clip img, .reel .clip video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.reel .clip:hover img, .reel .clip:hover video, .reel .clip:focus-visible video, .reel .clip:focus-visible img { transform: scale(1.05); }
.reel .clip:focus-visible { outline-offset: -4px; }
.clip-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; text-align: left; color: var(--white); font-weight: 800; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.reel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 24px; border: 0; display: grid; place-items: center; background: var(--white); color: var(--plum); box-shadow: 0 6px 18px color-mix(in srgb, var(--plum) 30%, transparent); z-index: 2; transition: transform .15s, background .15s; }
.reel-arrow svg { width: 22px; height: 22px; }
.reel-arrow:hover { background: var(--pumpkin); color: var(--on-accent); transform: translateY(-50%) scale(1.06); }
.reel-arrow.prev { left: clamp(8px, 2vw, 24px); }
.reel-arrow.next { right: clamp(8px, 2vw, 24px); }
@media (max-width: 720px) { .reel .clip { width: 64vw; } .reel-arrow { width: 40px; height: 40px; } }

/* full screen for the 3D view */
.window-fs { position: absolute; right: 12px; top: 12px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 11px; border: 0; border-radius: 20px; background: color-mix(in srgb, var(--plum) 82%, transparent); color: var(--white); font-weight: 800; font-size: 14px; backdrop-filter: blur(6px); transition: background .15s; }
.window-fs:hover { background: var(--pumpkin); color: var(--on-accent); }
.window-fs svg { width: 18px; height: 18px; }
.window-fs .exit, .is-fs .window-fs .enter { display: none; }
.is-fs .window-fs .exit { display: inline; }
.window-frame.playing .window-fs { top: auto; bottom: 12px; }
.window-frame.fs { position: fixed; inset: 0; z-index: 90; aspect-ratio: auto; border-radius: 0; }
.window-frame:fullscreen { border-radius: 0; aspect-ratio: auto; }

/* THE WAY HOME (Chris, 2026-11-12: "We need a way to get back to the main Alchema site from the example festival
   websites"). The sample bar opens with the Alchema flask and a plain link to the main site. */
.sample-home { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; padding: 2px 10px 2px 6px; border-radius: 999px; font-weight: 700; text-decoration: none; background: rgba(0, 6, 15, 0.82); color: #ffee00 !important; white-space: nowrap; transition: background .15s, transform .15s; }
.sample-home img { width: 18px; height: 18px; display: block; }
.sample-home:hover { background: #00173d; transform: translateY(-1px); }
.sample-home:focus-visible { outline: 2px solid #ffee00; outline-offset: 2px; }
/* on a phone the back link and the note no longer fit one 28px line: let the bar wrap to two */
@media (max-width: 560px) {
  .sample-tag { height: auto; min-height: 28px; flex-wrap: wrap; row-gap: 4px; padding-top: 5px; padding-bottom: 5px; line-height: 1.3; }
}
