:root {
  --dusk: #2b2440;
  --dusk-deep: #171325;
  --dusk-soft: #51465f;
  --cream: #f2e2bc;
  --paper: #e6cf9f;
  --carmine: #a83342;
  --carmine-dark: #641d2b;
  --gilt: #dda93a;
  --amber: #ffd074;
  --ink: #231b21;
  --display: 'Abril Fatface', Georgia, serif;
  --body: 'Zilla Slab', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--dusk); color: var(--cream); font-family: var(--body); font-size: 18px; line-height: 1.45; overflow-x: hidden; text-rendering: optimizeLegibility; }
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
* { scrollbar-width: thin; scrollbar-color: var(--gilt) var(--dusk-deep); }
*::-webkit-scrollbar { width: 10px; }
*::-webkit-scrollbar-track { background: var(--dusk-deep); }
*::-webkit-scrollbar-thumb { border: 2px solid var(--dusk-deep); border-radius: 10px; background: linear-gradient(var(--amber),var(--gilt)); }

.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; background: var(--cream); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.grain { position: fixed; inset: 0; z-index: 99; pointer-events: none; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }

.site-header { position: absolute; z-index: 40; inset: 0 0 auto; height: 98px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(24px, 5vw, 78px); border-bottom: 1px solid rgba(240,223,183,.24); }
.brand { width: max-content; display: grid; grid-template-columns: 22px auto; column-gap: 9px; text-decoration: none; font-family: var(--display); font-size: 18px; letter-spacing: .03em; }
.brand-star { position: relative; width: 14px; height: 14px; grid-row: span 2; align-self: center; transform: rotate(45deg); border: 1px solid var(--gilt); }
.brand-star::after { content: ''; position: absolute; inset: 4px; background: var(--gilt); }
.brand small { grid-column: 2; font-family: var(--body); color: var(--gilt); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 38px; }
.site-header nav a { position: relative; padding: 14px 2px; text-decoration: none; font-size: 14px; letter-spacing: .13em; text-transform: uppercase; }
.site-header nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 8px; height: 1px; background: var(--amber); transition: right .35s; }
.site-header nav a:hover::after { right: 0; }
.ticket-button { justify-self: end; min-height: 45px; padding: 9px 13px 9px 20px; border: 1px solid var(--gilt); background: linear-gradient(105deg,rgba(23,19,37,.52),rgba(94,43,48,.22)); box-shadow: inset 0 0 0 1px rgba(255,218,139,.07); cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; transition: background .25s, color .25s, transform .25s; }
.ticket-button:hover { background: var(--gilt); color: var(--ink); transform: translateY(-2px); }
.ticket-button:active { transform: translateY(0); }
.ticket-button span { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-left: 10px; border-radius: 50%; background: var(--gilt); color: var(--ink); font-weight: 700; }

.hero { position: relative; min-height: 900px; height: 100svh; max-height: 1060px; overflow: hidden; background: radial-gradient(ellipse at 67% 46%, rgba(128,92,102,.48) 0 4%, transparent 32%), radial-gradient(ellipse at 15% 72%, rgba(148,56,61,.24), transparent 32%), linear-gradient(180deg,#1c1932 0%,#312a45 42%,#67404b 72%,#1b1528 100%); }
.hero::before { content: ''; position: absolute; inset: auto -10% 0; height: 36%; background: linear-gradient(173deg, transparent 0 27%, rgba(26,18,35,.74) 28% 43%, #151120 44%), radial-gradient(ellipse at 63% 60%,rgba(184,73,57,.16),transparent 35%); clip-path: polygon(0 32%, 12% 23%, 21% 38%, 34% 19%, 44% 42%, 59% 18%, 70% 37%, 84% 22%, 100% 36%, 100% 100%, 0 100%); opacity: .96; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,rgba(12,9,24,.35),transparent 28% 74%,rgba(12,9,24,.28)),radial-gradient(ellipse at 64% 48%, transparent 24%, rgba(13,9,24,.58) 105%); }
.sky-ornament { position: absolute; z-index: 2; width: 14px; height: 14px; border: 1px solid rgba(240,223,183,.5); transform: rotate(45deg); box-shadow: 0 0 14px rgba(255,208,116,.35); }
.sky-ornament::after { content: ''; position: absolute; inset: 4px; background: rgba(240,223,183,.7); }
.sky-ornament--one { top: 22%; left: 8%; }
.sky-ornament--two { top: 31%; right: 9%; width: 18px; height: 18px; }
.light-string { position: absolute; z-index: 6; top: 73px; left: 0; width: 100%; height: 180px; overflow: visible; }
.light-string path { fill: none; stroke: #18121a; stroke-width: 2; }
.light-string .wire-drop { stroke: #19131b; stroke-width: 1.5; }
.light-string .bulb { fill: #ffe0a0; stroke: #d08b24; stroke-width: 1; filter: drop-shadow(0 0 var(--glow,7px) rgba(255,181,67,.95)) drop-shadow(0 0 calc(var(--glow,7px) * 2) rgba(255,162,46,.45)); animation: bulb-breathe var(--pulse,3.2s) ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes bulb-breathe { 35% { opacity: .94; } 100% { opacity: .7; transform: scale(.84); } }
.moth-orbit { --orbit: 36px; position: absolute; z-index: 7; top: var(--y); left: var(--x); width: var(--orbit); height: var(--orbit); pointer-events: none; animation: moth-orbit var(--speed) linear var(--delay) infinite; }
.moth { position: absolute; top: 0; left: 50%; width: 3px; height: 8px; border-radius: 50%; background: #a98b69; box-shadow: 0 0 8px rgba(255,201,107,.6); }
.moth::before, .moth::after { content: ''; position: absolute; top: 1px; width: 6px; height: 4px; border-radius: 70% 20%; background: #dac9a7; transform-origin: right center; animation: moth-wing .18s ease-in-out infinite alternate; }
.moth::before { right: 2px; transform: rotate(28deg); }
.moth::after { left: 2px; transform: scaleX(-1) rotate(28deg); }
@keyframes moth-orbit { to { transform: rotate(360deg); } }
@keyframes moth-wing { to { transform: rotate(-18deg) scaleY(.35); } }

.hero-copy { position: absolute; z-index: 8; top: 13.5%; left: 50%; width: min(94vw, 1040px); text-align: center; transform: translateX(-50%); pointer-events: none; }
.eyebrow, .section-number { margin: 0 0 12px; color: var(--gilt); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(72px, 9vw, 142px); font-weight: 400; line-height: .76; letter-spacing: -.043em; text-shadow: 0 5px 0 rgba(42,22,31,.48), 0 18px 48px rgba(13,9,24,.2); }
.hero h1 > span { display: block; margin-bottom: 13px; color: var(--gilt); font-family: var(--body); font-size: .105em; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; transform: translateX(.25em); }
.hero-subtitle { margin: 24px 0 0; color: #ead7b3; font-style: italic; letter-spacing: .06em; }
.hero-side-note { position: absolute; z-index: 10; left: clamp(24px,5vw,78px); bottom: 108px; display: grid; padding-left: 18px; border-left: 1px solid var(--gilt); text-transform: uppercase; }
.hero-side-note span { color: #a999a5; font-size: 9px; letter-spacing: .2em; }
.hero-side-note b { color: var(--cream); font-family: var(--display); font-size: 18px; font-weight: 400; letter-spacing: .04em; text-transform: none; }
.hero-side-note small { color: var(--gilt); font-size: 9px; letter-spacing: .16em; }

.carousel-stage { --radius: 390px; position: absolute; z-index: 12; left: 50%; bottom: 20px; width: min(1000px, 96vw); height: 620px; opacity: 0; transform: translateX(-50%) translateY(42px) scale(.975); touch-action: pan-y; cursor: grab; user-select: none; transition: opacity 1s .45s, transform 1.35s .35s cubic-bezier(.16,.82,.18,1); }
body.is-ready .carousel-stage { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.carousel-stage.dragging { cursor: grabbing; }
.scene { position: absolute; z-index: 4; left: 50%; bottom: 84px; width: 190px; height: 360px; perspective: 1080px; transform: translateX(-50%); }
.carousel-ring { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.horse-slot { --i: 0; --count: 8; --phase: 0s; position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc(var(--i) * 45deg)) translateZ(var(--radius)); }
.horse-rise { position: absolute; inset: 0; transform-style: preserve-3d; animation: horse-rise 4.8s var(--phase) infinite; }
@keyframes horse-rise { 0%,100% { transform: translateY(26px) rotateZ(-.35deg); } 26% { transform: translateY(-24px) rotateZ(.25deg); } 42% { transform: translateY(-27px) rotateZ(.35deg); } 70% { transform: translateY(19px) rotateZ(-.15deg); } }
.horse-button { position: absolute; inset: 0; width: 190px; height: 360px; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; }
.horse-button::before { content: ''; position: absolute; z-index: -1; top: -120px; bottom: -70px; left: 50%; width: 7px; border: 1px solid #805925; transform: translateX(-50%); background: linear-gradient(90deg, #6e4213, #ffe4a0 34%, #b47b25 57%, #5e3712); box-shadow: 0 0 8px rgba(255,201,107,.25); }
.horse-svg { position: absolute; left: -13px; top: 88px; width: 216px; height: 175px; overflow: visible; filter: drop-shadow(0 15px 8px rgba(12,8,19,.5)); transition: filter .3s, transform .3s; }
.horse-button:hover .horse-svg, .horse-button:focus-visible .horse-svg { filter: drop-shadow(0 17px 9px rgba(12,8,19,.5)) drop-shadow(0 0 9px rgba(255,201,107,.42)); transform: translateY(-3px); }
.name-plaque { position: absolute; left: 50%; bottom: 11px; min-width: 126px; padding: 7px 14px 6px; border: 2px solid #6d3f19; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 3px var(--gilt), 0 7px 8px rgba(12,8,18,.4); color: var(--carmine-dark); font-family: var(--display); font-size: 18px; letter-spacing: .04em; transform: translateX(-50%); backface-visibility: hidden; }
.canopy { position: absolute; z-index: 8; top: 104px; left: 50%; width: min(900px, 94vw); height: 183px; transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 25px 25px rgba(15,9,20,.5)); }
.canopy-top { position: absolute; inset: 0; background: repeating-conic-gradient(from 268deg at 50% 100%, var(--carmine) 0deg 12deg, #7b2633 12deg 15deg, var(--cream) 15deg 28deg, #d2b985 28deg 30deg); clip-path: polygon(50% 0, 94% 75%, 100% 88%, 0 88%, 6% 75%); }
.canopy-top::after { content: ''; position: absolute; inset: 10px 7% 13px; clip-path: inherit; border-bottom: 5px solid var(--gilt); background: radial-gradient(circle at 50% 15%, rgba(255,255,255,.24), transparent 43%); }
.canopy-valance { position: absolute; display: flex; left: 0; right: 0; bottom: -10px; height: 48px; overflow: hidden; background: var(--cream); border-top: 6px solid var(--gilt); }
.canopy-valance i { flex: 1; background: linear-gradient(90deg, #7f2635, var(--carmine) 45%, #73202f); clip-path: polygon(0 0, 100% 0, 86% 54%, 50% 100%, 14% 54%); }
.canopy-valance i:nth-child(even) { background: linear-gradient(90deg, #d6c18e, var(--cream), #cbb17d); }
.canopy-sign { position: absolute; z-index: 2; left: 50%; bottom: -7px; width: 260px; padding: 9px 17px 8px; border: 3px double var(--gilt); background: var(--carmine-dark); color: var(--cream); text-align: center; font-family: var(--display); font-size: 24px; letter-spacing: .08em; transform: translateX(-50%); box-shadow: 0 6px 15px rgba(0,0,0,.35); }
.canopy-sign span { color: var(--gilt); font-family: var(--body); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.canopy-bulbs { position: absolute; z-index: 3; left: 3%; right: 3%; bottom: -8px; display: flex; justify-content: space-around; }
.canopy-bulbs i { width: 7px; height: 7px; border-radius: 50%; background: #ffe6a6; box-shadow: 0 0 7px #ffb43f,0 0 14px rgba(255,170,43,.7); animation: bulb-breathe 2.8s ease-in-out infinite alternate; }
.canopy-bulbs i:nth-child(3n) { animation-delay: -.8s; }.canopy-bulbs i:nth-child(3n + 1) { animation-delay: -1.7s; }
.deck { position: absolute; z-index: 3; left: 50%; bottom: 47px; width: min(900px, 96vw); height: 138px; border: 8px solid #4d291f; border-radius: 50%; background: repeating-radial-gradient(ellipse, #6a3829 0 8px, #93533a 9px 17px, #5d3027 18px 24px); transform: translateX(-50%) perspective(500px) rotateX(59deg); box-shadow: 0 28px 30px #09070d, inset 0 0 0 7px var(--gilt), inset 0 0 45px rgba(255,199,93,.18); }
.deck span { position: absolute; inset: 29px 8%; border: 3px solid var(--gilt); border-radius: 50%; }
.drag-hint { position: absolute; z-index: 15; bottom: 0; left: 50%; margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; opacity: .82; }
.drag-hint { padding: 4px 10px 3px; border-block: 1px solid rgba(221,169,58,.25); background: rgba(14,10,21,.72); }
.drag-hint span { display: inline-block; margin-right: 9px; color: var(--amber); font-size: 20px; animation: nudge 1.6s ease-in-out infinite alternate; }
@keyframes nudge { to { transform: translateX(7px); } }
.sound-control { position: absolute; z-index: 20; right: clamp(26px, 5vw, 80px); bottom: 40px; display: flex; align-items: center; gap: 14px; min-width: 58px; min-height: 58px; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.lever-track { position: relative; display: block; width: 34px; height: 58px; border: 2px solid #a77728; border-radius: 18px; background: #201721; box-shadow: inset 0 0 0 3px #422b20; }
.lever-track i { position: absolute; left: 50%; top: 4px; width: 20px; height: 20px; border: 2px solid #754514; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe3a0, #d5942c 52%, #714114); transform: translateX(-50%); transition: top .4s cubic-bezier(.2,.8,.2,1); }
.sound-control[aria-pressed="true"] .lever-track i { top: 30px; }
.sound-control[aria-pressed="true"] .lever-track { box-shadow: inset 0 0 0 3px #422b20,0 0 20px rgba(255,190,73,.28); }
.sound-copy { display: grid; }
.sound-copy b { color: var(--gilt); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.sound-copy small { font-size: 11px; opacity: .76; }
.hero-scroll { position: absolute; z-index: 20; bottom: 53px; left: clamp(24px, 5vw, 80px); display: flex; align-items: center; gap: 11px; color: rgba(240,223,183,.72); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.hero-scroll span { display: block; width: 34px; height: 1px; background: var(--gilt); }

.reveal { opacity: 0; transform: translate(-50%, 25px); animation: reveal-in 1.3s .12s cubic-bezier(.16,.82,.18,1) forwards; }
@keyframes reveal-in { to { opacity: 1; transform: translate(-50%, 0); } }
.reveal-on-scroll { opacity: 1; transform: translateY(22px); transition: transform .9s cubic-bezier(.2,.75,.25,1); }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

.invitation { position: relative; display: grid; grid-template-columns: 1.1fr .9fr .72fr; gap: clamp(36px, 6vw, 100px); padding: 150px clamp(28px, 8vw, 132px) 170px; background: radial-gradient(circle at 12% 15%,rgba(255,243,204,.58),transparent 20%),linear-gradient(96deg,#e5cc98,#efddb1 48%,#ddc18b); color: var(--ink); }
.invitation::before { content: ''; position: absolute; inset: 0; opacity: .38; pointer-events: none; background-image: repeating-linear-gradient(92deg, transparent 0 7px, rgba(70,43,32,.065) 8px 9px),radial-gradient(circle at 83% 22%,rgba(114,51,38,.1),transparent 1px); background-size:auto,7px 7px; }
.ribbon { position: absolute; top: 0; right: 7vw; padding: 16px 34px 25px; background: var(--carmine); color: var(--cream); clip-path: polygon(0 0,100% 0,100% 76%,50% 100%,0 76%); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.invitation h2, .mechanism h2, .program-notes h2, .admission h2 { margin: 0; font-family: var(--display); font-size: clamp(50px, 5.5vw, 84px); font-weight: 400; line-height: .94; }
.invitation h2 em, .program-notes h2 em, .admission h2 em { color: var(--carmine); font-weight: 400; }
.invitation-copy { padding-top: 30px; font-size: 18px; line-height: 1.7; }
.invitation-copy p { margin: 0 0 18px; }
.dropcap::first-letter { float: left; margin: 5px 9px 0 0; color: var(--carmine); font-family: var(--display); font-size: 70px; line-height: .7; }
.text-link { display: inline-flex; gap: 10px; margin-top: 13px; color: var(--carmine-dark); font-weight: 700; text-underline-offset: 5px; }
.quote-card { position: relative; align-self: end; padding: 40px 32px 32px; border: 2px solid var(--carmine); box-shadow: 10px 10px 0 var(--gilt); background: rgba(240,223,183,.44); transform: rotate(1.4deg); }
.quote-mark { position: absolute; top: -30px; left: 19px; color: var(--carmine); font-family: var(--display); font-size: 90px; }
.quote-card blockquote { margin: 0 0 22px; font-family: var(--display); font-size: 25px; line-height: 1.25; }
.quote-card cite { color: #5c3830; font-size: 13px; font-style: normal; }

.lantern-memory { --lamp-x: 66%; --lamp-y: 42%; position: relative; min-height: min(900px, 86vw); overflow: hidden; isolation: isolate; background: #110d18; }
.lantern-image { position: absolute; inset: 0; overflow: hidden; }
.lantern-image img, .lantern-color { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.lantern-image img { filter: sepia(.76) saturate(.52) brightness(.44) contrast(1.12); transform: scale(1.018); transition: filter 1.1s cubic-bezier(.2,.8,.2,1), transform 1.8s cubic-bezier(.2,.8,.2,1); }
.lantern-color { background: linear-gradient(90deg,rgba(45,23,29,.18),transparent 38% 72%,rgba(24,21,42,.28)),url('/assets/gen/carousel/horses.jpg') center 48% / cover no-repeat; filter: saturate(.84) contrast(1.04) sepia(.08); -webkit-mask-image: radial-gradient(circle 17vw at var(--lamp-x) var(--lamp-y),#000 0 48%,rgba(0,0,0,.94) 57%,transparent 100%); mask-image: radial-gradient(circle 17vw at var(--lamp-x) var(--lamp-y),#000 0 48%,rgba(0,0,0,.94) 57%,transparent 100%); transition: opacity .5s, -webkit-mask-size 1.1s cubic-bezier(.2,.8,.2,1), filter 1s; }
.lantern-glass { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(11,8,18,.4),transparent 24% 64%,rgba(10,7,15,.78)),radial-gradient(circle 18vw at var(--lamp-x) var(--lamp-y),transparent 0 48%,rgba(255,190,71,.13) 54%,transparent 62%),linear-gradient(90deg,rgba(13,9,20,.56),transparent 32% 70%,rgba(13,9,20,.5)); box-shadow: inset 0 0 120px rgba(7,4,12,.8); }
.lantern-memory.is-lit .lantern-color { -webkit-mask-image: linear-gradient(#000,#000); mask-image: linear-gradient(#000,#000); filter: saturate(.92) contrast(1.03) sepia(.03); }
.lantern-memory.is-lit .lantern-image img { filter: sepia(.18) saturate(.8) brightness(.8) contrast(1.04); transform: scale(1); }
.lantern-caption { position: absolute; z-index: 3; left: clamp(24px,7vw,108px); bottom: clamp(72px,9vw,126px); width: min(610px,72vw); text-wrap: balance; }
.lantern-caption::before { content: ''; position: absolute; left: -22px; top: 5px; bottom: 6px; width: 2px; background: linear-gradient(var(--gilt),transparent); box-shadow: 0 0 18px rgba(255,196,78,.42); }
.lantern-caption h2 { margin: 0; font-family: var(--display); font-size: clamp(60px,7.2vw,110px); font-weight: 400; line-height: .85; letter-spacing: -.035em; text-shadow: 0 4px 28px rgba(8,5,13,.8); }
.lantern-caption h2 em { color: var(--amber); font-weight: 400; }
.lantern-caption > p:last-child { max-width: 460px; margin: 24px 0 0; color: #f0dfc3; line-height: 1.6; text-shadow: 0 2px 14px #0b0710; }
.lantern-control { position: absolute; z-index: 4; right: clamp(24px,7vw,106px); bottom: clamp(82px,9vw,132px); display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 8px 18px 8px 9px; border: 1px solid rgba(255,208,116,.6); background: rgba(18,12,22,.74); box-shadow: inset 0 0 0 1px rgba(255,226,162,.08),0 12px 32px rgba(0,0,0,.34); backdrop-filter: blur(9px); cursor: pointer; text-align: left; transition: border-color .3s, background .3s, transform .3s; }
.lantern-control:hover { border-color: var(--amber); background: rgba(83,37,38,.82); transform: translateY(-3px); }
.lantern-control:active { transform: translateY(0); }
.lantern-control > span:last-child { display: grid; }
.lantern-control b { color: var(--amber); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.lantern-control small { color: #ead8bc; font-size: 11px; }
.lantern-knob { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid #6d411c; border-radius: 50%; background: radial-gradient(circle at 36% 30%,#ffe5a1,#c58523 45%,#593117 76%); box-shadow: 0 0 0 3px #24151a,inset 0 0 7px rgba(255,237,186,.55); }
.lantern-knob i { width: 2px; height: 27px; background: #482614; transform: rotate(-42deg); transition: transform .7s cubic-bezier(.2,.9,.15,1.25); }
.lantern-control[aria-pressed="true"] .lantern-knob { box-shadow: 0 0 0 3px #24151a,0 0 26px rgba(255,190,73,.6),inset 0 0 7px rgba(255,237,186,.55); }
.lantern-control[aria-pressed="true"] .lantern-knob i { transform: rotate(42deg); }
.lantern-credit { position: absolute; z-index: 3; top: 50%; right: clamp(20px,3vw,44px); margin: 0; color: rgba(242,226,188,.68); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; writing-mode: vertical-rl; transform: translateY(-50%); }

.ledger { position: relative; min-height: 830px; display: grid; grid-template-columns: minmax(260px, .72fr) 1.5fr; gap: 7vw; padding: 135px clamp(28px, 8vw, 132px); background: radial-gradient(circle at 22% 18%,rgba(84,66,99,.32),transparent 27%),linear-gradient(115deg,#171322,#261d35 55%,#191424); overflow: hidden; }
.ledger::after { content: 'STABLE'; position: absolute; right: -45px; bottom: -93px; color: rgba(240,223,183,.035); font-family: var(--display); font-size: min(26vw, 380px); line-height: 1; }
.ledger-heading { position: relative; z-index: 2; }
.ledger-heading h2 { margin: 0 0 28px; font-family: var(--display); font-size: clamp(52px, 6vw, 88px); font-weight: 400; line-height: .93; }
.ledger-heading > p:last-child { max-width: 440px; color: #cfbfab; line-height: 1.7; }
.ledger-list { position: relative; z-index: 2; border-top: 1px solid rgba(240,223,183,.25); }
.ledger-item { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; width: 100%; min-height: 70px; padding: 0 12px; border: 0; border-bottom: 1px solid rgba(240,223,183,.18); background: transparent; text-align: left; cursor: pointer; transition: background .25s, padding .25s; }
.ledger-item:hover, .ledger-item.is-active { padding-left: 22px; background: linear-gradient(90deg,var(--carmine),#7c2635); box-shadow: inset 4px 0 var(--gilt); }
.ledger-item .number { color: var(--gilt); font-size: 12px; letter-spacing: .15em; }
.ledger-item .name { font-family: var(--display); font-size: 25px; }
.ledger-item .trait { color: #cfc0ac; font-size: 13px; font-style: italic; }
.ledger-item:hover .trait, .ledger-item.is-active .trait { color: var(--cream); }
.bio-card { position: fixed; z-index: 80; top: 50%; left: 50%; width: min(500px, calc(100vw - 36px)); padding: 45px; border: 4px double var(--gilt); background: radial-gradient(circle at 15% 10%,#fff0ca,transparent 26%),repeating-linear-gradient(92deg,rgba(88,48,31,.04) 0 1px,transparent 1px 7px),var(--cream); color: var(--ink); box-shadow: 0 28px 90px rgba(0,0,0,.6), 0 0 0 100vmax rgba(17,12,25,.8); opacity: 0; pointer-events: none; transform: translate(-50%, -45%) scale(.94) rotate(-1deg); transition: opacity .3s, transform .5s cubic-bezier(.16,.82,.18,1); }
.bio-card.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%,-50%) scale(1) rotate(-1deg); }
body.modal-open { overflow: hidden; }
.bio-close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--carmine); font-size: 32px; cursor: pointer; }
.bio-kicker { color: var(--carmine); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.bio-card h3 { margin: 4px 0 0; color: var(--carmine-dark); font-family: var(--display); font-size: 62px; font-weight: 400; }
.bio-meta { margin: 0 0 24px; color: #704c42; font-style: italic; }
.bio-card > p:not(.bio-kicker):not(.bio-meta) { font-size: 22px; line-height: 1.5; }
.bio-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid #b9975f; }
.bio-card dl div { display: grid; }
.bio-card dt { color: var(--carmine); font-size: 10px; letter-spacing: .17em; text-transform: uppercase; }
.bio-card dd { margin: 4px 0 0; font-weight: 700; }

.mechanism { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; min-height: 850px; padding: 120px clamp(28px, 9vw, 150px); background: radial-gradient(circle at 72% 49%,#872e3a 0 6%,transparent 42%),linear-gradient(115deg,#541622,#7a2533 54%,#4c1420); overflow: hidden; }
.mechanism::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(24,10,13,.18) 0 1px, transparent 1px 78px), repeating-linear-gradient(0deg, rgba(24,10,13,.13) 0 1px, transparent 1px 78px); }
.mechanism-copy { position: relative; z-index: 2; max-width: 500px; }
.mechanism h2 { color: var(--cream); }
.mechanism-copy > p:not(.section-number) { margin: 28px 0 35px; color: #ead6b4; line-height: 1.7; }
.spec-row { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid rgba(240,223,183,.26); }
.spec-row span { color: #d4b995; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; }
.spec-row strong { color: var(--amber); font-family: var(--display); font-size: 22px; font-weight: 400; }
.gear-theatre { position: relative; min-height: 570px; }
.gear-theatre::before { content: ''; position: absolute; inset: 8% 2% 3% 12%; border: 1px solid rgba(240,223,183,.25); border-radius: 50%; }
.gear { position: absolute; display: grid; place-items: center; border: 13px dashed var(--gilt); border-radius: 50%; box-shadow: inset 0 0 0 10px #814623, 0 0 0 8px #33151b,0 20px 35px rgba(32,7,13,.25); animation: spin 14s linear infinite; }
.gear i { width: 32%; height: 32%; border: 8px solid #38201b; border-radius: 50%; background: #d49c36; }
.gear b { position: absolute; width: 8px; height: 36%; top: 14%; left: calc(50% - 4px); border-radius: 6px; background: linear-gradient(#3b1b18,#d69b37); transform-origin: 50% 100%; opacity: .65; }
.gear b:nth-of-type(2) { transform: rotate(90deg); }.gear b:nth-of-type(3) { transform: rotate(180deg); }.gear b:nth-of-type(4) { transform: rotate(270deg); }
.gear--large { left: 12%; top: 25%; width: 310px; height: 310px; }
.gear--small { left: calc(12% + 275px); top: 18%; width: 170px; height: 170px; animation-direction: reverse; animation-duration: 8s; }
@keyframes spin { to { transform: rotate(360deg); } }
.crank { position: absolute; left: calc(12% + 135px); top: 16%; width: 20px; height: 270px; border-radius: 12px; background: linear-gradient(90deg,#5d3419,#efc265,#714017); transform-origin: 50% 83%; animation: crank 5s ease-in-out infinite alternate; }
@keyframes crank { to { transform: rotate(18deg); } }
.crank span { position: absolute; top: -16px; left: -8px; width: 36px; height: 36px; border: 8px solid #3a2117; border-radius: 50%; background: var(--gilt); }
.diagram-pole { position: absolute; right: 11%; top: 8%; width: 10px; height: 440px; border: 2px solid #6c401a; background: linear-gradient(90deg,#764515,#ffe39a,#7c4817); }
.mini-horse { position: absolute; top: 37%; right: -112px; width: 116px; height: 90px; overflow: visible; fill: var(--cream); stroke: #3d111a; stroke-width: 4; filter: drop-shadow(7px 9px 0 #4b1420); animation: horse-rise 4.8s -1.2s infinite; }
.drive-belt { position: absolute; left: 34%; top: 25%; width: 42%; height: 330px; border: 3px solid rgba(41,13,18,.68); border-radius: 48%; transform: rotate(-8deg); opacity: .62; }
.gear-theatre > p { position: absolute; right: 1%; bottom: 3%; margin: 0; color: #c8a97f; font-size: 11px; letter-spacing: .17em; text-align: right; text-transform: uppercase; }
.gear-theatre > p b { color: var(--gilt); font-size: 15px; }

.night-program { display: grid; grid-template-columns: minmax(360px, .65fr) 1fr; gap: clamp(60px, 10vw, 160px); align-items: center; padding: 150px clamp(28px, 10vw, 170px); background: radial-gradient(circle at 80% 30%,rgba(255,242,196,.55),transparent 25%),linear-gradient(100deg,#dcc088,#efdcb1); color: var(--ink); }
.program-poster { position: relative; padding: 48px 50px 50px; border: 8px solid var(--cream); outline: 2px solid var(--carmine); background: var(--carmine); box-shadow: 18px 18px 0 #c7973b; color: var(--cream); text-align: center; transform: rotate(-2deg); }
.program-poster::before, .program-poster::after { content: ''; position: absolute; inset: 13px; border: 1px solid var(--gilt); pointer-events: none; }
.program-poster::after { inset: 19px; border-style: dotted; }
.poster-stars { display: flex; justify-content: center; gap: 28px; height: 13px; }
.poster-stars i { width: 10px; height: 10px; border: 1px solid var(--gilt); transform: rotate(45deg); }.poster-stars i:nth-child(2) { background: var(--gilt); transform: rotate(45deg) scale(.68); }
.program-poster > p { margin: 20px 0 4px; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; }
.program-poster h2 { margin: 0; font-family: var(--display); font-size: clamp(53px, 5vw, 78px); font-weight: 400; line-height: .87; }
.program-poster > span { display: block; margin: 20px 0; color: var(--gilt); font-weight: 600; letter-spacing: .08em; }
.poster-rule { margin: 28px 0 15px; padding: 9px; border-block: 1px solid rgba(240,223,183,.5); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.program-poster ul { margin: 0; padding: 0; list-style: none; text-align: left; }
.program-poster li { padding: 8px 5px; border-bottom: 1px dotted rgba(240,223,183,.4); font-size: 14px; }
.program-poster time { display: inline-block; width: 50px; color: var(--gilt); }
.program-notes { max-width: 650px; }
.program-notes > p:not(.section-number) { max-width: 570px; margin: 30px 0; font-size: 19px; line-height: 1.7; }
.weather-note { display: flex; align-items: center; gap: 20px; margin-top: 44px; padding-top: 24px; border-top: 1px solid #ac8a5b; }
.weather-note > span { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--carmine); border-radius: 50%; color: var(--carmine); }
.weather-moon::before { content: ''; width: 25px; height: 25px; border-radius: 50%; background: var(--carmine); }
.weather-moon::after { content: ''; position: absolute; width: 25px; height: 25px; margin: -7px 0 0 8px; border-radius: 50%; background: #e8d09e; }
.weather-note div { display: grid; }
.weather-note b { color: var(--carmine-dark); font-family: var(--display); font-size: 20px; font-weight: 400; }
.weather-note small { color: #634b42; }

.admission { position: relative; display: grid; grid-template-columns: 1fr .7fr .7fr; gap: 6vw; align-items: center; min-height: 700px; padding: 160px clamp(28px, 7vw, 110px) 100px; background: radial-gradient(circle at 52% 35%,rgba(99,71,105,.38),transparent 24%),linear-gradient(110deg,#1e182d,#30243e 56%,#191423); overflow: hidden; }
.light-string--footer { top: -28px; height: 170px; }
.admission-copy { position: relative; z-index: 2; }
.admission-copy p:last-child { max-width: 500px; color: #d2c1ae; line-height: 1.6; }
.ticket { position: relative; z-index: 2; min-height: 315px; padding: 42px 30px; background: var(--cream); color: var(--ink); text-align: center; filter: drop-shadow(14px 18px 0 rgba(13,9,18,.45)); transform: rotate(3deg); }
.ticket::before, .ticket::after { content:''; position: absolute; top: 50%; width: 28px; height: 28px; border-radius: 50%; background: #241c32; transform: translateY(-50%); }
.ticket::before { left: -14px; }.ticket::after { right: -14px; }
.ticket-edge { position: absolute; inset: 10px; border: 2px dashed var(--carmine); }
.ticket p { margin: 0 0 8px; color: var(--carmine); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.ticket h3 { margin: 0; font-family: var(--display); font-size: 43px; font-weight: 400; }
.ticket span { display: block; margin-top: 24px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.ticket strong { display: block; color: var(--carmine); font-family: var(--display); font-size: 68px; line-height: .95; }
.ticket small { font-size: 10px; }
.hours-table { position: relative; z-index: 2; }
.hours-table div { display: flex; justify-content: space-between; align-items: baseline; padding: 17px 0; border-top: 1px solid rgba(240,223,183,.25); }
.hours-table span { font-size: 13px; }
.hours-table b { color: var(--gilt); font-family: var(--display); font-size: 25px; font-weight: 400; }
.hours-table small { display: block; margin-top: 20px; color: #ad9aae; line-height: 1.5; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 120px; padding: 25px clamp(24px, 5vw, 75px); border-top: 1px solid rgba(240,223,183,.17); background: #171325; color: #b8a9ad; font-size: 12px; }
.footer-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--gilt); border-radius: 50%; color: var(--gilt); font-family: var(--display); font-size: 24px; }
.site-footer nav { justify-self: end; display: flex; gap: 26px; }
.site-footer a { text-underline-offset: 4px; }
.site-footer a:hover { color: var(--amber); }
.site-footer a:focus-visible, .text-link:focus-visible { color: var(--amber); }
.text-link:hover span { transform: translateX(5px); }
.text-link span { transition: transform .25s; }

@media (min-width: 1100px) {
  .hero-copy { top: 145px; left: clamp(70px,7vw,112px); width: min(42vw,610px); text-align: left; transform: none; }
  .hero-copy.reveal { transform: translateY(25px); animation-name: reveal-in-left; }
  @keyframes reveal-in-left { to { opacity: 1; transform: translateY(0); } }
  .hero h1 { font-size: clamp(104px,8.2vw,132px); line-height: .75; }
  .hero h1 > span { margin-left: 7px; transform: none; }
  .hero-subtitle { margin-left: 8px; }
  .carousel-stage { left: 65%; }
  .drag-hint { left: 17%; }
  body.is-ready .carousel-stage { transform: translateX(-50%) translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; grid-template-rows: 84px 50px; height: 134px; padding-inline: 28px; }
  .site-header nav { grid-column: 1 / -1; align-self: stretch; display: flex; justify-content: center; gap: clamp(18px,7vw,54px); border-top: 1px solid rgba(240,223,183,.12); }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .ticket-button { grid-column: 2; grid-row: 1; }
  .site-header nav { grid-row: 2; }
  .site-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; font-size: 12px; }
  .site-header nav a::after { bottom: 4px; }
  .light-string { top: 116px; }
  .hero-copy { top: 18%; }
  .hero-side-note { display: none; }
  .hero-scroll { display: none; }
  .drag-hint { left: 30px; transform: none; }
  .carousel-stage { --radius: 300px; }
  .scene { bottom: 84px; }
  .invitation { grid-template-columns: 1fr 1fr; }
  .quote-card { grid-column: 2; }
  .ledger { grid-template-columns: 1fr 1fr; gap: 48px; }
  .mechanism { grid-template-columns: .8fr 1.2fr; padding-inline: 50px; }
  .gear--large { width: 250px; height: 250px; }
  .gear--small { left: calc(12% + 215px); width: 140px; height: 140px; }
  .crank { left: calc(12% + 110px); }
  .night-program { gap: 60px; padding-inline: 50px; }
  .program-poster { padding-inline: 32px; }
  .admission { grid-template-columns: 1fr 1fr; }
  .hours-table { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
  .hours-table small { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr auto; }
  .footer-mark { display: none; }
  .lantern-memory { min-height: 760px; }
  .lantern-caption { width: min(540px,74vw); }
  .lantern-control { right: 28px; bottom: 30px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header { grid-template-rows: 84px 48px; height: 132px; padding-inline: 18px; }
  .site-header nav { justify-content: space-between; gap: 0; }
  .site-header nav a { min-width: 92px; justify-content: center; font-size: 10px; letter-spacing: .11em; }
  .brand { font-size: 16px; }
  .ticket-button { padding-left: 12px; font-size: 10px; }
  .hero { min-height: 844px; height: 100svh; max-height: 920px; }
  .hero-copy { top: 19.2%; width: calc(100% - 28px); }
  .eyebrow { max-width: 310px; margin-inline: auto; font-size: 8px; line-height: 1.45; letter-spacing: .15em; }
  .hero h1 { font-size: clamp(58px, 18.2vw, 74px); line-height: .81; }
  .hero-subtitle { width: 290px; max-width: 90%; margin: 18px auto 0; font-size: 13px; line-height: 1.3; }
  .light-string { top: 112px; width: 140%; left: -20%; }
  .carousel-stage { --radius: 168px; bottom: 28px; width: 100%; height: 535px; }
  .canopy { top: 112px; width: 116%; height: 142px; }
  .canopy-sign { bottom: -17px; width: 205px; font-size: 19px; }
  .canopy-valance { bottom: -17px; height: 37px; }
  .scene { bottom: 74px; width: 118px; height: 292px; perspective: 720px; }
  .horse-button { width: 118px; height: 292px; }
  .horse-svg { top: 96px; left: -8px; width: 134px; height: 120px; }
  .horse-button::before { top: -72px; bottom: -57px; width: 5px; }
  .name-plaque { min-width: 96px; bottom: 10px; padding: 5px 10px; font-size: 14px; }
  .deck { bottom: 42px; width: 118%; height: 98px; }
  .drag-hint { bottom: -2px; font-size: 9px; letter-spacing: .14em; }
  .drag-hint { left: 50%; transform: translateX(-50%); }
  .sound-control { right: 14px; bottom: 28px; min-width: 52px; min-height: 58px; justify-content: center; }
  .sound-copy { display: none; }
  .hero-scroll { display: none; }
  .invitation, .ledger, .mechanism, .night-program, .admission { padding: 100px 24px; }
  .invitation { grid-template-columns: 1fr; gap: 42px; }
  .invitation h2, .mechanism h2, .program-notes h2, .admission h2 { font-size: 48px; }
  .invitation-copy { padding-top: 0; }
  .quote-card { grid-column: 1; width: calc(100% - 12px); }
  .lantern-memory { min-height: 680px; --lamp-x: 70%; --lamp-y: 34%; }
  .lantern-image img, .lantern-color { object-position: 42% center; }
  .lantern-color { background-position: 42% center; -webkit-mask-image: radial-gradient(circle 120px at var(--lamp-x) var(--lamp-y),#000 0 48%,rgba(0,0,0,.94) 57%,transparent 100%); mask-image: radial-gradient(circle 120px at var(--lamp-x) var(--lamp-y),#000 0 48%,rgba(0,0,0,.94) 57%,transparent 100%); }
  .lantern-caption { left: 34px; bottom: 142px; width: calc(100% - 68px); }
  .lantern-caption::before { left: -12px; }
  .lantern-caption h2 { font-size: 56px; line-height: .88; }
  .lantern-caption > p:last-child { margin-top: 16px; font-size: 15px; line-height: 1.45; }
  .lantern-control { left: 24px; right: auto; bottom: 38px; min-width: 245px; }
  .lantern-credit { top: 33%; right: 13px; }
  .ribbon { right: 20px; padding-inline: 20px; }
  .ledger { grid-template-columns: 1fr; gap: 35px; }
  .ledger-heading h2 { font-size: 52px; }
  .ledger-item { min-height: 65px; }
  .ledger-item .trait { max-width: 120px; text-align: right; }
  .bio-card { padding: 40px 25px 30px; }
  .bio-card h3 { font-size: 48px; }
  .mechanism { grid-template-columns: 1fr; padding-bottom: 60px; }
  .gear-theatre { min-height: 390px; margin: 20px 0 0; overflow: hidden; transform: none; }
  .gear-theatre::before { inset: 5% 1% 2%; }
  .gear { border-width: 9px; }
  .gear--large { left: 0; top: 24%; width: 210px; height: 210px; }
  .gear--small { left: 174px; top: 13%; width: 118px; height: 118px; }
  .crank { left: 94px; top: 12%; height: 220px; }
  .diagram-pole { right: 29px; top: 8%; height: 320px; }
  .mini-horse { right: -30px; width: 76px; height: 62px; }
  .drive-belt { left: 22%; top: 21%; width: 55%; height: 235px; }
  .gear-theatre > p { right: 12px; bottom: 3%; }
  .night-program { grid-template-columns: 1fr; gap: 90px; }
  .program-poster { padding: 42px 30px; box-shadow: 12px 12px 0 #c7973b; }
  .program-poster h2 { font-size: 54px; }
  .admission { grid-template-columns: 1fr; gap: 70px; padding-top: 140px; }
  .ticket { width: calc(100% - 24px); justify-self: center; }
  .hours-table { grid-column: 1; display: block; }
  .site-footer { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; text-align: center; }
  .site-footer nav { justify-self: center; flex-wrap: wrap; justify-content: center; gap: 13px 22px; }
  .site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .reveal-on-scroll { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-on-scroll { opacity: 1; transform: none; }
  .lantern-image img { transform: none; }
}
