/* FORM Space — tokens taken from the current wordmark (black field, magenta→coral) */
:root {
  --void: #050505;
  --concrete: #121214;
  --slab: #1b1b1e;
  --line: #2b2a2d;
  --bone: #ede8e4;
  --ash: #948e8a;
  --magenta: #f0147f;
  --coral: #f35041;
  --grad: linear-gradient(180deg, var(--magenta) 0%, #ef2e6a 45%, var(--coral) 100%);
  --grad-x: linear-gradient(90deg, var(--magenta), var(--coral));

  --display: "Big Shoulders Display", "Oswald", Impact, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --banner: 34px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: calc(64px + var(--banner)); }
::selection { background: var(--magenta); color: #fff; }

.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grad, .mark > span, .mark > b {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mark > .sr-only { background: none; }
.mark [data-t]::before { content: attr(data-t); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--bone); color: var(--void); padding: 8px 14px; border-radius: 6px; font-weight: 600;
}
.skip:focus { top: calc(var(--banner) + 12px); }

/* ── Wordmark ─────────────────────────────────────────── */
.mark {
  display: inline-flex; align-items: center;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  line-height: .74; letter-spacing: .01em; margin: 0;
}
.mark > span { display: block; padding-top: .02em; }
.mark-o {
  position: relative; display: block; flex: none;
  width: .7em; height: .74em; margin-inline: .04em;
  border-radius: .12em;
  background: var(--grad);
  box-shadow: 0 0 .25em rgba(240, 20, 127, .35);
}
.mark-o::after {
  content: ""; position: absolute; inset: .095em;
  background: var(--void); border-radius: .05em;
  filter: blur(.035em);
}
.mark > b {
  display: block; font-weight: 700;
  font-size: .3em; line-height: 1; letter-spacing: .03em;
  writing-mode: vertical-rl; transform: rotate(180deg);
  margin-left: .12em;
}

/* ── Preview banner ──────────────────────────────────── */
.preview {
  position: fixed; inset: 0 0 auto; z-index: 55; height: var(--banner);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding-inline: var(--gutter); overflow: hidden;
  background: repeating-linear-gradient(-45deg, #1a0a12 0 12px, #12070d 12px 24px);
  border-bottom: 1px solid rgba(240, 20, 127, .45);
  font-size: .8125rem; color: var(--bone); white-space: nowrap;
}
.preview-tag {
  flex: none; font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--grad-x); border-radius: 4px; padding: 2px 8px;
}
.preview-text { overflow: hidden; text-overflow: ellipsis; color: #d9d2ce; }
.preview a { color: var(--bone); text-decoration-color: var(--coral); text-underline-offset: 3px; }
.preview a:hover { color: var(--coral); }

/* ── Top bar ─────────────────────────────────────────── */
.bar {
  position: fixed; inset: var(--banner) 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  transition: border-color .3s;
  border-bottom: 1px solid transparent;
  isolation: isolate;
}
.bar::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgba(5, 5, 5, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bar.is-solid { border-color: var(--line); }
.bar.is-solid::before { opacity: 1; }
.bar-logo { text-decoration: none; opacity: 0; pointer-events: none; transition: opacity .3s; }
.bar.is-solid .bar-logo { opacity: 1; pointer-events: auto; }
.mark--sm { font-size: 34px; }
.bar-nav { display: flex; gap: 26px; margin-left: auto; }
.bar-nav a {
  text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .06em; color: var(--bone);
}
.bar-nav a:hover { color: var(--coral); }
.bar-end { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none; font: 700 1.05rem var(--display); text-transform: uppercase; letter-spacing: .06em;
  color: var(--bone); background: none; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; cursor: pointer;
}
.menu-btn[aria-expanded="true"] { border-color: var(--coral); }
.lang {
  font: 500 .75rem var(--mono); color: var(--ash); background: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; cursor: pointer;
  display: flex; gap: 6px;
}
.lang [data-l] { transition: color .2s; }
html[lang="ro"] .lang [data-l="ro"], html[lang="en"] .lang [data-l="en"] { color: var(--bone); }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; text-decoration: none;
  background: var(--grad-x); border: 0; border-radius: 12px;
  padding: .6em 1.1em .55em; cursor: pointer;
  transition: box-shadow .25s, transform .25s;
}
.btn:hover { box-shadow: 0 0 28px rgba(240, 20, 127, .45); transform: translateY(-1px); }
.btn .mono { font-size: .85rem; font-weight: 500; letter-spacing: 0; }
.btn--small { font-size: 1.05rem; padding: .45em .9em .4em; border-radius: 10px; }
.btn--ghost { background: none; color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--coral); }

/* ── Hero / portal ───────────────────────────────────── */
.portal { height: 260vh; position: relative; }
.portal-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
}
.mark--hero { font-size: clamp(5rem, 27vw, 64vh); transform: translateX(-.06em); }
.mark--hero .mark-l { transform: translateX(calc(var(--k, 0) * -55vw)); }
.mark--hero .mark-r, .mark--hero > b { translate: calc(var(--k, 0) * 55vw) 0; }
.mark--hero .mark-o { box-shadow: 0 0 .35em rgba(240, 20, 127, .4), 0 0 1.2em rgba(243, 80, 65, .18); }
.portal-hint {
  position: absolute; bottom: 5vh; left: 50%; transform: translateX(-50%);
  font: 700 1rem var(--display); letter-spacing: .4em; text-transform: uppercase; color: var(--ash);
  opacity: calc(1 - var(--p, 0) * 6);
}
.portal-hint::after {
  content: ""; display: block; width: 1px; height: 36px; margin: 10px auto 0;
  background: linear-gradient(var(--ash), transparent);
  animation: drip 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drip { 0%, 100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

.room-frame {
  position: absolute; pointer-events: none; z-index: 1;
  border-radius: var(--fr, 0px);
  box-shadow: 0 0 60px rgba(240, 20, 127, .45), 0 0 160px rgba(243, 80, 65, .2);
}
.room-frame::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: var(--fw, 0px);
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.room {
  position: absolute; inset: 0; pointer-events: none;
  clip-path: inset(var(--ct, 50%) var(--cr, 50%) var(--cb, 50%) var(--cl, 50%) round var(--cr-rad, 0px));
  will-change: clip-path; z-index: 2;
}
.room-img {
  position: absolute; inset: 0;
  background: url(assets/room.jpg) center 60% / cover no-repeat, var(--concrete);
  filter: brightness(calc(.35 + var(--p, 0) * .75)) contrast(1.05);
  transform: scale(calc(1.25 - var(--p, 0) * .25));
}
.room-img::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(240, 20, 127, .45), transparent 70%),
    linear-gradient(0deg, rgba(243, 80, 65, .18), transparent 40%);
  mix-blend-mode: screen;
}
.room-copy {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  padding: var(--gutter);
  opacity: clamp(0, calc((var(--p, 0) - .55) * 3.5), 1);
  transform: translateY(calc((1 - var(--p, 0)) * 40px));
}
.room-kicker { color: rgba(237, 232, 228, .7); margin-bottom: 1.2em; }
.room-big {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.4rem, 11vw, 10rem); line-height: .85; margin: 0;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .5);
}
.room-big .grad { text-shadow: none; filter: drop-shadow(0 0 30px rgba(240, 20, 127, .5)); }
.room-sub { margin-top: 1.4em; color: var(--bone); letter-spacing: .2em; }

/* ── Section scaffolding ─────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: 500 .75rem var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--coral);
  margin-bottom: 18px;
}
.h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.04; letter-spacing: .005em;
}
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--bone); }
section p:not(.lead):not(.eyebrow):not(.mono) { color: #c9c3bf; }

/* ── Tonight ─────────────────────────────────────────── */
.tonight {
  position: relative; padding-block: 72px;
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, rgba(240, 20, 127, .22), transparent 70%),
    var(--concrete);
  border-block: 1px solid var(--line);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px var(--coral); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.tonight-list { display: grid; gap: 4px; }
.tonight-item {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px 32px;
  padding-block: 14px; border-top: 1px solid var(--line); text-decoration: none;
}
.tonight-item:first-child { border-top: 0; }
.tonight-item h3 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 6.5vw, 5.4rem); line-height: .9;
}
.tonight-item:hover h3 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tonight-item .mono { color: var(--ash); text-align: right; }
@media (max-width: 760px) { .tonight-item { grid-template-columns: 1fr; } .tonight-item .mono { text-align: left; } }

/* ── Program ─────────────────────────────────────────── */
.program { padding-block: 120px 80px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: 500 .8rem var(--mono); text-transform: uppercase; letter-spacing: .08em;
  color: var(--ash); background: none; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  transition: color .2s, border-color .2s, background .2s;
}
.chip:hover { color: var(--bone); border-color: var(--ash); }
.chip[aria-pressed="true"] { color: #fff; background: var(--grad-x); border-color: transparent; }

.month {
  display: flex; align-items: center; gap: 16px; margin: 40px 0 8px;
  font: 500 .75rem var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ash);
}
.month::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.month:first-child { margin-top: 0; }

.event {
  display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 28px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.tile {
  position: relative; width: 88px; aspect-ratio: 1; border-radius: 16px;
  display: grid; place-content: center; text-align: center;
  background: var(--slab);
  transition: box-shadow .3s;
}
.tile::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .35; transition: opacity .3s;
}
.tile-wd { font: 500 .625rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.tile-d { font: 900 2.6rem/.9 var(--display); }
.event:hover .tile, .event:focus-within .tile { box-shadow: 0 0 26px rgba(240, 20, 127, .35); }
.event:hover .tile::before, .event:focus-within .tile::before { opacity: 1; }
.event-name {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: .95;
  transition: color .2s;
}
.event:hover .event-name { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; color: var(--ash); font-size: .95rem; }
.tag {
  font: 500 .6875rem var(--mono); text-transform: uppercase; letter-spacing: .1em;
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; color: var(--bone);
}
.tag--night { border-color: rgba(240, 20, 127, .5); }
.tag--today { background: var(--grad-x); border-color: transparent; color: #fff; }
.event .btn--ghost { font-size: 1.05rem; padding: .5em .95em .45em; border-radius: 10px; }
.events-all { margin-top: 32px; }
.events-empty { padding: 48px 0; color: var(--ash); }
.events-more { margin-top: 36px; color: var(--ash); }
.events-more a { color: var(--bone); text-decoration-color: var(--coral); text-underline-offset: 3px; }

/* ── Space ───────────────────────────────────────────── */
.space { padding-block: 120px; background: var(--concrete); border-top: 1px solid var(--line); }
.space-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.space-text .h2 { margin-bottom: 32px; }
.spec { margin: 0; }
.spec-sheet { margin: 0; }
.spec-sheet div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-sheet dt { color: var(--ash); text-transform: uppercase; letter-spacing: .12em; font-size: .6875rem; padding-top: 2px; }
.spec-sheet dd { margin: 0; color: var(--bone); }

/* ── Rent ────────────────────────────────────────────── */
.rent { padding-block: 120px; position: relative; overflow: hidden; }
.rent::before {
  content: ""; position: absolute; right: -10vw; top: 50%; width: 46vw; aspect-ratio: .95;
  border-radius: 12%; background: var(--grad); opacity: .16; filter: blur(80px); pointer-events: none;
  translate: 0 calc(-50% + var(--drift, 0px));
  animation: orbit 22s linear infinite;
}
@keyframes orbit { to { rotate: 360deg; } }
.rent-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.rent-body p:first-child { font-size: 1.2rem; color: var(--bone); }
.rent-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── Visit ───────────────────────────────────────────── */
.visit { padding-block: 120px; border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.visit .h2 { margin-bottom: 24px; }
.visit-list { list-style: none; padding: 0; margin: 0 0 32px; }
.visit-list li { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: #c9c3bf; }
.visit-list .mono { color: var(--ash); text-transform: uppercase; letter-spacing: .12em; font-size: .6875rem; padding-top: 4px; }
.visit-list a { color: var(--bone); text-underline-offset: 3px; text-decoration-color: var(--coral); }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1 / 1; background: var(--slab); }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) grayscale(.6) contrast(.9); }

/* ── Footer ──────────────────────────────────────────── */
.foot { padding: 80px 0 36px; border-top: 1px solid var(--line); overflow: hidden; }
.mark--foot { font-size: clamp(4rem, 24vw, 22rem); margin-bottom: 48px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; color: var(--ash); }
.foot-row p { margin: 0; }
.foot-credit { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ash); font-size: .75rem; }
.foot-credit a { color: var(--bone); text-decoration-color: var(--coral); text-underline-offset: 3px; }
.foot-credit a:hover { color: var(--coral); }
.foot-links { display: flex; gap: 24px; }
.foot-links a { font: 700 1.1rem var(--display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--bone); }
.foot-links a:hover { color: var(--coral); }

/* ── Reveal ──────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .bar-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--void); border-bottom: 1px solid var(--line);
  }
  .bar-nav.is-open { display: flex; }
  .bar-nav a { font-size: 1.8rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
  .mark--hero { font-size: clamp(5rem, 30vw, 64vh); }
  .bar-end { margin-left: auto; }
  .space-grid, .rent-in, .visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --banner: 44px; }
  .preview { font-size: .6875rem; gap: 10px; white-space: normal; line-height: 1.3; justify-content: flex-start; }
  .preview-text { overflow: visible; }
  .preview-tag { font-size: .625rem; letter-spacing: .08em; padding: 2px 6px; }
  body { font-size: 16px; }
  .program, .space, .rent, .visit { padding-block: 80px; }
  .event { grid-template-columns: 64px 1fr; gap: 16px; }
  .tile { width: 64px; border-radius: 12px; }
  .tile-d { font-size: 2rem; }
  .event .btn--ghost { grid-column: 2; justify-self: start; font-size: .95rem; }
  .spec-sheet div, .visit-list li { grid-template-columns: 96px 1fr; }
  .map { aspect-ratio: 4 / 3; }
}

/* ── Grain: matches the concrete photo ───────────────── */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 45; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07; mix-blend-mode: overlay;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ── Ticker ──────────────────────────────────────────── */
.ticker {
  position: relative; overflow: hidden; padding-block: 22px;
  border-block: 1px solid var(--line); background: var(--void);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-item {
  display: flex; align-items: center; gap: .5em; padding-right: .5em;
  font: 900 clamp(2.6rem, 7vw, 5.6rem)/1 var(--display); text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(237, 232, 228, .55);
  transform: skewX(var(--skew, 0deg));
}
.ticker-item:nth-child(4n + 2) {
  -webkit-text-stroke: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text;
}
.ticker-item .mark-o { font-size: .5em; }

/* ── Kinetic headings ────────────────────────────────── */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .12em; margin-top: -.12em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 55ms); }
.split.in .w > span { transform: none; }

/* ── Tonight: names slide in ─────────────────────────── */
.js .tonight-item { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i, 0) * 140ms); }
.js .tonight.in .tonight-item { clip-path: inset(0 0 0 0); }

/* ── Programme: stagger, flip, spotlight ─────────────── */
.event { position: relative; }
.event::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 20, 127, .13), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.event:hover::before { opacity: 1; }
.events { position: relative; isolation: isolate; }
.js .event.reveal { transform: translateX(-28px); transition-delay: var(--d, 0ms); }
.js .event.reveal.in { transform: none; }
.tile-d { display: inline-block; }
.js .event .tile { overflow: hidden; }
.js .event .tile-d { transform: translateY(120%); transition: transform .7s cubic-bezier(.2, .9, .3, 1.2); transition-delay: calc(var(--d, 0ms) + 200ms); }
.js .event.in .tile-d { transform: none; }

/* ── Lighting rig ────────────────────────────────────── */
.rig {
  position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; isolation: isolate;
  background: var(--void);
}
.rig-img {
  position: absolute; inset: 0;
  background: url(assets/room-sm.jpg) 30% 70% / 175% auto no-repeat;
  filter: brightness(var(--lum, .7)) contrast(1.1);
  transition: filter 1s ease;
}
.fx { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; transition: opacity .9s ease; opacity: 0; }
.fx-wash {
  background:
    radial-gradient(ellipse 80% 55% at 50% 105%, rgba(240, 20, 127, .75), transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 100%, rgba(243, 80, 65, .55), transparent 70%);
}
.fx-beams i {
  position: absolute; top: -12%; left: calc(var(--x) - 9%); width: 18%; height: 135%;
  background: linear-gradient(180deg, var(--c) 0%, transparent 85%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0; filter: blur(8px);
  animation: sweep var(--t, 6s) ease-in-out infinite alternate;
  animation-delay: var(--del, 0s);
}
.fx-beams i:nth-child(1) { --x: 12%; --c: rgba(240, 20, 127, .85); --a: -28deg; --b: 8deg; }
.fx-beams i:nth-child(2) { --x: 34%; --c: rgba(243, 80, 65, .8); --a: 20deg; --b: -14deg; --del: -1.5s; }
.fx-beams i:nth-child(3) { --x: 56%; --c: rgba(255, 220, 230, .55); --a: -12deg; --b: 22deg; --del: -3s; }
.fx-beams i:nth-child(4) { --x: 78%; --c: rgba(240, 20, 127, .85); --a: 26deg; --b: -10deg; --del: -.7s; }
.fx-beams i:nth-child(5) { --x: 96%; --c: rgba(243, 80, 65, .8); --a: -6deg; --b: -30deg; --del: -2.2s; }
@keyframes sweep { from { transform: rotate(var(--a)); } to { transform: rotate(var(--b)); } }
.fx-spot { mix-blend-mode: normal; }
.fx-spot::before {
  content: ""; position: absolute; left: 46%; top: -6%; width: 40%; height: 96%; translate: -50% 0;
  background: linear-gradient(180deg, rgba(255, 220, 180, .02), rgba(255, 214, 170, .22) 75%, rgba(255, 214, 170, .1));
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); filter: blur(12px);
  mix-blend-mode: screen;
  -webkit-mask: linear-gradient(180deg, #000 70%, transparent); mask: linear-gradient(180deg, #000 70%, transparent);
}
.fx-spot::after {
  /* the pool of light on the floor, with a mic stand standing in it */
  content: ""; position: absolute; left: 46%; top: 66%; width: 46%; height: 26%; translate: -50% 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 120'%3E%3Cg fill='%23070707'%3E%3Cellipse cx='20' cy='9' rx='5' ry='7'/%3E%3Crect x='19' y='14' width='2' height='96'/%3E%3Cpath d='M6 118 L20 104 L34 118 Z'/%3E%3C/g%3E%3C/svg%3E") 50% 38% / auto 82% no-repeat,
    radial-gradient(ellipse 50% 22% at 50% 82%, rgba(255, 214, 170, .7), rgba(255, 214, 170, .18) 60%, transparent 75%);
}
.fx-haze { background: radial-gradient(ellipse 120% 60% at 50% 0%, rgba(255, 255, 255, .07), transparent 70%); }

.rig[data-mode="live"] { --lum: .72; }
.rig[data-mode="live"] .fx-wash, .rig[data-mode="live"] .fx-beams, .rig[data-mode="live"] .fx-haze { opacity: 1; }
.rig[data-mode="live"] .fx-beams i:nth-child(3) { opacity: .6; }

.rig[data-mode="night"] { --lum: .42; }
.rig[data-mode="night"] .fx-beams, .rig[data-mode="night"] .fx-haze { opacity: 1; }
.rig[data-mode="night"] .fx-wash { opacity: 1; animation: throb .9s ease-in-out infinite; }
.rig[data-mode="night"] .fx-beams i { --t: 1.9s; }
.rig[data-mode="night"] .fx-beams i:nth-child(3) { --c: rgba(120, 200, 255, .6); }
@keyframes throb { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.rig[data-mode="stage"] { --lum: .3; }
.rig[data-mode="stage"] .fx-spot { opacity: 1; }

.modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mode {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font: 800 1.2rem var(--display); text-transform: uppercase; letter-spacing: .05em;
  color: var(--ash); background: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 9px;
  transition: color .25s, border-color .25s, background .25s;
}
.mode .mark-o { font-size: 20px; margin: 0; opacity: .35; transition: opacity .25s, box-shadow .25s; box-shadow: none; }
.mode:hover { color: var(--bone); }
.mode[aria-pressed="true"] { color: var(--bone); border-color: rgba(240, 20, 127, .6); background: rgba(240, 20, 127, .06); }
.mode[aria-pressed="true"] .mark-o { opacity: 1; box-shadow: 0 0 14px rgba(240, 20, 127, .6); }
.mode-desc { min-height: 3.4em; margin: 14px 0 6px; }
.mode-desc p { margin: 0; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

/* ── Footer bookend: letters close in ────────────────── */
.mark--foot .mark-l { translate: calc(var(--fk, 0) * -18vw) 0; }
.mark--foot .mark-r, .mark--foot > b { translate: calc(var(--fk, 0) * 18vw) 0; }
.mark--foot .mark-o { box-shadow: 0 0 calc(.1em + (1 - var(--fk, 0)) * .5em) rgba(240, 20, 127, calc(.25 + (1 - var(--fk, 0)) * .35)); }

/* ── Magnetic buttons ────────────────────────────────── */
.btn { translate: var(--bx, 0) var(--by, 0); transition: box-shadow .25s, transform .25s, translate .35s cubic-bezier(.2, .8, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portal-hint::after, .dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile { transition: none; }
  body::after, .rent::before, .fx-beams i, .rig[data-mode="night"] .fx-wash { animation: none; }
  .split .w > span, .js .event .tile-d, .js .event.reveal { transform: none; transition: none; }
  .js .tonight-item { clip-path: none; transition: none; }
}
