:root {
  color-scheme: dark;
  --background: #080808;
  --foreground: #f5f5f7;
  --muted: #98989d;
  --red: #ed3447;
  --gutter: clamp(22px, 6vw, 100px);
  --hero-progress: 0;
  --cursor-x: 50vw;
  --cursor-y: 35vh;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body {
  margin: 0;
  min-width: 280px;
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -.025em;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ff6577; outline-offset: 5px; }
::selection { color: white; background: #a61f32; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-library, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: fixed; z-index: 20; left: 15px; top: 10px; background: white; color: black; padding: 12px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(540px circle at var(--cursor-x) var(--cursor-y), #d2192b13, transparent 72%); }
.ambient.is-tracking { opacity: 1; }
.header { position: sticky; top: 0; z-index: 10; background: #0b0b0bce; border-bottom: 1px solid #ffffff12; backdrop-filter: saturate(1.5) blur(24px); }
.header nav { display: flex; align-items: center; justify-content: space-between; max-width: 1000px; min-height: 58px; margin: auto; padding-inline: 28px; gap: 24px; }
.header nav > * { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0; color: #c8c8cc; background: transparent; border: 0; font-size: 13px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.header nav > :hover { color: white; }
main, .footer { position: relative; z-index: 1; }
.hero { height: 112svh; min-height: 620px; position: relative; }
.hero-sticky { height: calc(100svh - 58px); min-height: 540px; position: sticky; top: 58px; display: grid; place-items: center; overflow: hidden; }
.hero-light { position: absolute; width: min(1100px, 115vw); height: min(550px, 70vh); bottom: -14%; left: 50%; transform: translateX(-50%); background: radial-gradient(ellipse, #bd172d32, #78101b0c 50%, transparent 73%); filter: blur(35px); }
.hero-content { width: 100%; padding: 40px var(--gutter) 80px; text-align: center; transform: translateY(calc(var(--hero-progress) * -65px)) scale(calc(1 - var(--hero-progress) * .055)); opacity: calc(1 - var(--hero-progress) * .55); }
.logo-stage { width: min(100%, 1020px); margin: 0 auto; position: relative; aspect-ratio: 2/1; }
.logo-stage img { display: block; position: static; width: 100%; height: auto; object-fit: contain; transform: none; filter: none; }
.hero-location { margin: clamp(26px, 4vw, 48px) 0 23px; color: #a3a3a8; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.02em; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 30px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 100px; padding: 12px 23px; font-size: 15px; font-weight: 500; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-1px); background: white; }
.button-light { background: #f5f5f7; color: #111; }
.text-button { color: #ff6678; background: transparent; border: 0; padding: 10px 0; font-size: 16px; }
.text-button span { font-size: 24px; margin-left: 5px; vertical-align: -1px; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.section { max-width: 1280px; margin: 0 auto; padding: 100px var(--gutter) 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 38px; }
.section-heading h2 { margin: 0; font-size: clamp(36px, 4.8vw, 62px); line-height: 1.07; letter-spacing: -.055em; font-weight: 650; }
.section-heading > span { font-size: 16px; color: var(--muted); padding-bottom: 5px; }
.event-card { min-height: 580px; border-radius: 30px; overflow: hidden; position: relative; isolation: isolate; background: #131011; border: 1px solid #ffffff0a; }
.event-visual { position: absolute; inset: 0; background: radial-gradient(ellipse at 77% 63%, #98092578, transparent 42%), linear-gradient(130deg, #151113, #070707); }
.light-fan { position: absolute; width: 76%; height: 100%; left: 35%; top: 0; transform: translateY(var(--scene-offset, 0px)); }
.light-fan i { position: absolute; bottom: -15%; left: 45%; width: 75px; height: 150%; transform-origin: 50% 100%; background: linear-gradient(0deg, #ff6d7680, #b70b2930 60%, transparent); filter: blur(16px); transform: rotate(-30deg); }
.light-fan i:nth-child(2) { transform: rotate(-7deg); width: 15px; filter: blur(4px); background: linear-gradient(0deg, #ffdae5b0, #dc1a4522, transparent); }
.light-fan i:nth-child(3) { transform: rotate(21deg); width: 110px; filter: blur(22px); }
.light-fan i:nth-child(4) { transform: rotate(42deg); width: 12px; filter: blur(4px); }
.light-fan i:nth-child(5) { transform: rotate(-52deg); width: 24px; opacity: .5; filter: blur(10px); }
.horizon { position: absolute; bottom: 0; left: 0; right: 0; height: 35%; background: linear-gradient(0deg, #060606, transparent); }
.visual-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0bf5, #0b0b0b80 47%, transparent 80%); }
.event-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 580px; padding: 54px; }
.eyebrow { color: #b6b6bb; font-size: 16px; margin: 0 0 20px; font-weight: 500; }
.event-copy h3 { margin: 0; font-size: clamp(44px, 5.7vw, 76px); font-weight: 650; letter-spacing: -.055em; line-height: 1.03; }
.event-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.event-bottom p { margin: 0; color: #b2aaad; font-size: 17px; }
.circle-button, .card-control { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #ffffff24; color: white; flex-shrink: 0; transition: background .2s; }
.circle-button:hover { background: #ffffff45; }
.circle-button svg, .card-control svg { width: 20px; height: 20px; }
.gallery-placeholder { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 440px; background: #131313; border: 1px solid #ffffff08; border-radius: 30px; overflow: hidden; }
.photo-sculpture { position: relative; min-height: 390px; perspective: 1000px; }
.photo-panel { position: absolute; width: 62%; aspect-ratio: 4/3; top: 50%; left: 50%; border-radius: 20px; border: 1px solid #ffffff1e; background: linear-gradient(140deg,#353035,#171417 70%); box-shadow: 0 28px 55px #0007; }
.panel-back { transform: translate(-57%, -54%) rotate(-13deg); background: linear-gradient(130deg, #6c2334, #20131a 60%); }
.panel-front { display: grid; place-items: center; transform: translate(-43%, -44%) rotate(5deg); background: linear-gradient(125deg, #353238, #171619 75%); }
.panel-front svg { width: 62px; height: 62px; color: #a3a0a7; stroke-width: 1; }
.gallery-copy { padding: 48px 45px 48px 8px; }
.gallery-copy h3 { margin: 0; font-size: clamp(27px, 3.1vw, 42px); font-weight: 650; line-height: 1.13; letter-spacing: -.045em; }
.gallery-copy > p:last-child { font-size: 16px; color: var(--muted); margin-top: 23px; }
.document-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.document-card { display: flex; align-items: flex-start; flex-direction: column; position: relative; padding: 35px; min-height: 260px; background: #141414; border: 1px solid #ffffff09; border-radius: 26px; text-align: left; color: var(--foreground); transition: background .3s; }
.document-card:hover { background: #1b1b1d; }
.document-icon { width: 34px; height: 34px; color: #d3d3d7; margin-bottom: 35px; }
.document-copy { display: block; }
.document-copy strong { display: block; font-size: clamp(23px, 2.5vw, 30px); letter-spacing: -.04em; font-weight: 600; margin-bottom: 8px; }
.document-copy > span { color: var(--muted); font-size: 15px; }
.card-control { position: absolute; right: 25px; bottom: 26px; width: 32px; height: 32px; background: #29292c; }
.card-control svg { width: 17px; height: 17px; }
.essentials { padding-bottom: 120px; }
.footer { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding: 25px 0 35px; gap: 24px; border-top: 1px solid #ffffff17; }
.footer small { color: #85858b; font-size: 12px; letter-spacing: -.01em; }
.footer-mark { width: 65px; opacity: .75; transition: opacity .2s; }
.footer-mark:hover { opacity: 1; }
.volcano { position: relative; aspect-ratio: 1473/1552; }
.volcano img { display: block; position: static; width: 100%; max-width: 100%; height: auto; transform: none; filter: none; }
.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.photo-tile { position: relative; border: 0; border-radius: 22px; padding: 0; overflow: hidden; background: #141414; color: white; text-align: left; }
.photo-tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.photo-tile span { display: block; padding: 17px; font-size: 15px; }
dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100svh - 40px); border: 1px solid #ffffff1b; border-radius: 28px; padding: 65px 38px 36px; background: #1d1d1f; color: var(--foreground); box-shadow: 0 30px 100px #0008; }
dialog::backdrop { background: #0009; backdrop-filter: blur(12px); }
dialog h2 { margin: 0 0 15px; font-size: 36px; font-weight: 600; line-height: 1.1; letter-spacing: -.045em; }
dialog p { font-size: 17px; line-height: 1.5; color: #b2b2b7; margin: 0 0 28px; }
.dialog-close { display: grid; place-items: center; position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; background: #363638; color: #c1c1c6; border: 0; border-radius: 50%; }
.dialog-close:hover { color: white; background: #49494b; }
.dialog-close svg { width: 22px; height: 22px; stroke-width: 1.7; }
#lightbox { width: min(1100px,calc(100% - 32px)); padding: 60px 18px 20px; }
#lightbox img { display: block; max-width: 100%; max-height: 72vh; margin: auto; border-radius: 12px; }
#lightbox p { text-align: center; margin: 14px 0 0; }
.motion .reveal { opacity: 0; translate: 0 34px; transition: opacity .85s ease, translate .9s cubic-bezier(.22,.7,.3,1); }
.motion .reveal.visible, .motion .reveal:focus-within { opacity: 1; translate: 0 0; }
@media (max-width: 1250px) { .footer { margin-inline: var(--gutter); } }
@media (max-width: 680px) {
  html { scroll-padding-top: 102px; }
  .header nav { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); padding: 4px 12px; gap: 0; }
  .header nav > * { grid-column: span 2; min-height: 38px; font-size: 12px; }
  .header nav > :nth-child(n+4) { grid-column: span 3; }
  .hero { height: 100svh; min-height: 530px; }
  .hero-sticky { height: calc(90svh - 84px); min-height: 440px; top: 84px; }
  .hero-content { padding: 20px 16px 60px; }
  .logo-stage { width: 100%; }
  .hero-location { font-size: 17px; margin-top: 35px; }
  .hero-actions { gap: 24px; }
  .button { font-size: 14px; min-height: 44px; padding: 11px 20px; }
  .section { padding-top: 66px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 26px; }
  .section-heading > span { font-size: 15px; }
  .event-card, .event-copy { min-height: 480px; }
  .event-card { border-radius: 24px; }
  .event-copy { padding: 30px; }
  .event-copy h3 { font-size: 53px; }
  .light-fan { left: 15%; width: 120%; }
  .visual-shade { background: linear-gradient(90deg,#0b0b0b9c,transparent 85%); }
  .eyebrow { font-size: 15px; margin-bottom: 16px; }
  .event-bottom p { font-size: 15px; }
  .gallery-placeholder { grid-template-columns: 1fr; border-radius: 24px; }
  .photo-sculpture { min-height: 260px; }
  .photo-panel { max-width: 260px; width: 57%; }
  .gallery-copy { padding: 0 30px 35px; }
  .gallery-copy h3 { font-size: 31px; }
  .document-grid { gap: 16px; grid-template-columns: 1fr; }
  .document-card { min-height: 210px; padding: 28px; border-radius: 24px; }
  .document-icon { margin-bottom: 25px; }
  .document-copy strong { font-size: 25px; }
  .essentials { padding-bottom: 72px; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .footer { padding-bottom: 24px; }
  .footer small { font-size: 11px; text-align: right; }
  .footer-mark { width: 55px; flex-shrink: 0; }
  dialog { padding: 62px 28px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .motion .reveal { opacity: 1; translate: none; }
  .hero-content, .light-fan { transform: none; opacity: 1; }
}

/* A scroll-controlled sequence, with native scrolling and a sticky stage. */
.motion .hero { height: 220svh; min-height: 1100px; }
.motion .hero-sticky { height: calc(100svh - 58px); min-height: 0; }
.motion .hero-content { transform: none; opacity: 1; }
.motion .logo-stage {
  transform: translateY(calc(var(--hero-zoom) * -48px)) scale(calc(1 + var(--hero-zoom) * .55));
  opacity: var(--logo-opacity, 1);
  transform-origin: 50% 50%;
}
.motion .hero-location {
  color: #f5f5f7;
  transform: translateY(calc(var(--caption-rise, 0) * -90px)) scale(var(--caption-scale, 1));
  opacity: var(--caption-opacity, 1);
  transform-origin: center;
}
.motion .hero-actions {
  opacity: var(--action-opacity, 1);
  visibility: var(--action-visibility, visible);
  transform: translateY(calc(var(--hero-zoom) * 12px));
}
.motion .hero-light {
  bottom: -5%;
  height: 85%;
  background: radial-gradient(ellipse, #c61c3b60, #8d102b16 44%, transparent 70%);
  opacity: calc(.3 + var(--hero-zoom) * .7);
  transform: translateX(-50%) scale(calc(.7 + var(--hero-zoom) * .65));
}
.motion .event-card {
  transform: perspective(1200px) rotateX(calc((1 - var(--event-progress, 1)) * 5deg)) scale(calc(.9 + var(--event-progress, 1) * .1));
  transform-origin: center top;
  border-radius: calc(52px - var(--event-progress, 1) * 22px);
}
.motion .panel-front {
  transform: translate(calc(-43% + var(--gallery-progress, 0) * 4%), -44%) rotate(calc(5deg + var(--gallery-progress, 0) * 5deg));
}
.motion .panel-back {
  transform: translate(calc(-57% - var(--gallery-progress, 0) * 8%), calc(-54% - var(--gallery-progress, 0) * 4%)) rotate(calc(-13deg - var(--gallery-progress, 0) * 10deg));
}
@media (max-width: 680px) {
  .motion .hero { height: 180svh; min-height: 850px; }
  .motion .hero-sticky { height: calc(100svh - 84px); top: 84px; }
  .motion .hero-location { transform: translateY(calc(var(--caption-rise, 0) * -60px)) scale(var(--caption-scale, 1)); }
  .motion .logo-stage { transform: translateY(calc(var(--hero-zoom) * -30px)) scale(calc(1 + var(--hero-zoom) * .35)); }
}
@media (prefers-reduced-motion: reduce) {
  .motion .hero { height: auto; min-height: 0; }
  .motion .hero-sticky { position: relative; height: calc(90svh - 84px); min-height: 400px; top: 0; }
  .motion .logo-stage, .motion .hero-location, .motion .hero-actions,
  .motion .event-card, .motion .hero-light { transform: none; opacity: 1; visibility: visible; }
  .motion .hero-light { transform: translateX(-50%); }
  .motion .panel-front { transform: translate(-43%, -44%) rotate(5deg); }
  .motion .panel-back { transform: translate(-57%, -54%) rotate(-13deg); }
}

/* The sculpture is the keyboard-accessible entry point to the gallery. */
html { scrollbar-gutter: stable; }
body:has(dialog[open]) { overflow: hidden; }
button.photo-sculpture {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  border-radius: 28px;
}
button.photo-sculpture:focus-visible { outline-offset: -8px; }
button.photo-sculpture:hover .panel-front { box-shadow: 0 30px 65px #000a, 0 0 0 1px #ffffff35; }
.photo-sculpture .panel-front {
  background: linear-gradient(#1b10184d, #1716197d), url('assets/gallery-demo-1.jpg') center / cover;
}
.photo-sculpture .panel-front svg { color: white; filter: drop-shadow(0 2px 8px #000); }
.gallery-copy .gallery-open-link { margin-top: 20px; }
#gallery-dialog {
  width: min(1080px, calc(100% - 40px));
  max-height: calc(100svh - 64px);
  padding: 50px clamp(22px, 4vw, 50px) 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform-origin: center;
  scrollbar-width: thin;
}
#gallery-dialog .dialog-close { position: sticky; float: right; top: 0; margin: -32px -9px 0 0; z-index: 2; }
.gallery-dialog-header { margin: 8px 0 30px; }
.gallery-dialog-header .eyebrow { color: #ff8491; font-size: 14px; margin-bottom: 10px; }
.gallery-dialog-header h2 { font-size: clamp(36px, 5vw, 52px); }
.gallery-dialog-header > p:last-child { font-size: 16px; margin-bottom: 0; }
#gallery-dialog .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
#gallery-dialog .photo-tile { border-radius: 18px; background: #101012; }
#gallery-dialog .photo-tile img { aspect-ratio: 4/3; transition: transform .45s; }
#gallery-dialog .photo-tile:hover img { transform: scale(1.035); }
#gallery-dialog .photo-tile span { position: relative; background: #101012; padding: 16px 18px; }
#gallery-dialog .gallery-credit { margin: 25px 0 0; font-size: 13px; color: #97979d; }
.gallery-credit a { text-decoration: underline; text-underline-offset: 3px; }
#lightbox { width: min(1180px, calc(100% - 32px)); padding: 55px 20px 14px; background: #111113; }
.lightbox-stage { min-height: 180px; display: grid; place-items: center; touch-action: pan-y pinch-zoom; }
#lightbox .lightbox-stage img { max-width: 100%; width: auto; height: auto; max-height: 65svh; object-fit: contain; border-radius: 12px; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; }
.photo-nav { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #303034; color: white; font-size: 32px; line-height: 1; flex-shrink: 0; }
.photo-nav:hover { background: #4a4a50; }
.photo-description { text-align: center; }
#lightbox .photo-description p { margin: 0 0 3px; color: #f5f5f7; font-size: 16px; }
.photo-description span { display: block; color: #929298; font-size: 13px; }
#lightbox .image-error { margin: 30px; text-align: center; }
@media (max-width: 680px) {
  #gallery-dialog { width: calc(100% - 20px); max-height: calc(100svh - 24px); padding: 48px 18px 22px; border-radius: 24px; }
  #gallery-dialog .photo-grid { gap: 12px; }
  #gallery-dialog .photo-tile { border-radius: 12px; }
  #gallery-dialog .photo-tile span { padding: 12px; font-size: 13px; }
  .gallery-dialog-header { margin-bottom: 23px; }
  .gallery-dialog-header > p:last-child { font-size: 14px; }
  #lightbox { width: calc(100% - 16px); padding-inline: 12px; border-radius: 22px; }
  #lightbox .lightbox-stage img { max-height: 66svh; }
}

/* Compositor-friendly scroll effects on phones and touch devices. */
@media (hover: none) and (pointer: coarse), (max-width: 680px) {
  .header { background: #0b0b0bf5; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ambient { display: none; }
  .hero-light { filter: none; }
  .motion .logo-stage, .motion .hero-location, .motion .hero-actions {
    will-change: transform, opacity;
    backface-visibility: hidden;
  }
  .motion .event-card {
    transform: translate3d(0, calc((1 - var(--event-progress, 1)) * 18px), 0);
    border-radius: 24px;
  }
  .light-fan { transform: none; }
  .light-fan i { filter: none; opacity: .4; }
  .light-fan i:nth-child(n+2) { filter: none; }
  .motion .hero-light { transform: translateX(-50%); }
}

[data-action='tickets'] { font-weight: 700; }

/* Touch devices retain the hero sequence with inexpensive composited layers. */
@media (hover: none) and (pointer: coarse), (max-width: 680px) {
  .logo-stage img, .volcano img { filter: none; }
  .motion .hero-light {
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: none;
    transform: none;
    background: radial-gradient(ellipse at 50% 62%, #a51435a8 0%, #5c10234d 38%, transparent 74%);
    opacity: .3;
    will-change: opacity;
    pointer-events: none;
  }
  .hero-sticky { background: #0b0b0b; }
  .motion .event-card { transform: none; border-radius: 24px; }
  .motion .panel-front { transform: translate(-43%, -44%) rotate(5deg); }
  .motion .panel-back { transform: translate(-57%, -54%) rotate(-13deg); }
}

.event-background-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.event-visual.has-event-image > :not(.event-background-image) { display: none; }
.event-card:has(.has-event-image) .event-copy { background: linear-gradient(90deg,#0009,transparent 90%); }
.event-copy h3 { white-space: pre-line; }
.event-artwork-only .event-copy { visibility: hidden; }

/* Mobile event artwork: favor the subject on the right (30% from that edge). */
@media (max-width: 680px) {
  .event-background-image { object-position: 70% center; }
}

/* Event tickets use the existing CMS ticket action. */
.circle-button.event-tickets { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 98px; min-height: 44px; height: auto; padding: 11px 22px; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.2; }
