/* Nether · Calea Victoriei 48–50
   Palette from the logo (bone blob, black stairs) + the room's red light. */
:root {
  --ink: #0a0807;
  --ink-2: #14100e;
  --ink-3: #1d1715;
  --bone: #f2efe9;
  --bone-2: #cfc9bf;
  --mute: #8f877d;
  --red: #ff2d1e;
  --red-2: #c3140b;
  --line: rgba(242, 239, 233, .14);
  --line-2: rgba(242, 239, 233, .28);
  --hand: 16px 7px 14px 6px / 7px 15px 6px 13px;   /* the logo's hand-cut corners */
  --hand-sm: 9px 4px 8px 3px / 4px 9px 3px 8px;
  --f-d: "Dela Gothic One", "Arial Black", Impact, sans-serif;
  --f-b: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-m: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gut: clamp(16px, 4vw, 56px);
  --hdr: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 17px/1.55 var(--f-b);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
.mono { font-family: var(--f-m); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: var(--ink); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bone); color: var(--ink);
  padding: 10px 16px; border-radius: var(--hand-sm); font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ── Preview banner ───────────────────────────────────────── */
.preview {
  position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 34px; padding: 6px var(--gut); background: var(--bone); color: var(--ink);
  font-size: 13px; line-height: 1.3; text-align: center; flex-wrap: wrap;
}
.preview-tag {
  font-family: var(--f-m); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--bone); padding: 3px 8px; border-radius: var(--hand-sm);
}
.preview a { color: var(--ink); font-weight: 600; text-underline-offset: 2px; }
.preview a:hover { color: var(--red-2); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 22px;
  background: var(--bone); color: var(--ink); border-radius: var(--hand); text-decoration: none;
  font: 400 14px/1 var(--f-d); letter-spacing: .02em; transform: translate(var(--mx), var(--my));
  transition: background .2s, color .2s, transform .25s cubic-bezier(.2,.8,.2,1);
}
.btn:hover { background: var(--red); color: var(--ink); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn--ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { background: var(--bone); color: var(--ink); }

/* ── Header ───────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gut);
  background: linear-gradient(var(--ink) 0%, rgba(10,8,7,.86) 70%, rgba(10,8,7,0));
  transition: background .3s;
}
.hdr.is-solid { background: rgba(10,8,7,.94); box-shadow: 0 1px 0 var(--line); }
.hdr-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); }
.hdr-mark { width: 34px; height: 32px; color: var(--bone); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.hdr-logo:hover .hdr-mark { transform: rotate(-6deg) scale(1.06); }
.wm { fill: var(--bone); overflow: visible; }
.wm--sm { width: 92px; height: auto; }
.hdr-nav { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.hdr-nav a {
  display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; font: 500 15px/1 var(--f-b);
  padding: 8px 0; position: relative; color: var(--bone-2); transition: color .2s;
}
.hdr-nav a i { font: 400 10px/1 var(--f-m); font-style: normal; color: var(--mute); transition: color .2s; }
.hdr-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.hdr-nav a:hover, .hdr-nav a[aria-current="true"] { color: var(--bone); }
.hdr-nav a:hover i, .hdr-nav a[aria-current="true"] i { color: var(--red); }
.hdr-nav a:hover::after, .hdr-nav a[aria-current="true"]::after { transform: scaleX(1); }
.hdr-end { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; height: 38px; align-items: center; padding: 0 4px; border-radius: var(--hand-sm);
  box-shadow: inset 0 0 0 1px var(--line-2); font: 500 11px/1 var(--f-m);
}
.lang span { padding: 7px 7px; border-radius: 5px; color: var(--mute); transition: .2s; }
.lang span.on { background: var(--bone); color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--hand-sm); box-shadow: inset 0 0 0 1px var(--line-2); }
.menu-ico { position: relative; width: 20px; height: 14px; }
.menu-ico i { position: absolute; height: 2px; background: var(--bone); transition: transform .3s, width .3s, opacity .2s; }
.menu-ico i:nth-child(1) { top: 0; left: 0; width: 8px; }
.menu-ico i:nth-child(2) { top: 6px; left: 6px; width: 8px; }
.menu-ico i:nth-child(3) { top: 12px; left: 12px; width: 8px; }

/* ── Hero: the descent ────────────────────────────────────── */
.descent { position: relative; height: 290vh; margin-top: calc(-1 * var(--hdr)); }
.descent-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.lvl { position: absolute; inset: 0; }
.lvl img, .lvl picture { width: 100%; height: 100%; }
.lvl img { object-fit: cover; }
.lvl-under img { transform: scale(var(--uz, 1.18)); transform-origin: 50% 70%; will-change: transform; }
.lvl-under::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 100%, rgba(255,45,30,.18), transparent 60%), linear-gradient(rgba(10,8,7,.35), rgba(10,8,7,.15) 40%, rgba(10,8,7,.75));
}
.lvl-street { will-change: clip-path; }
.lvl-street img { filter: grayscale(.9) brightness(.62) contrast(1.08); transform: translateY(var(--sy, 0)); }
.lvl-street::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,8,7,.55), rgba(10,8,7,.1) 35%, rgba(10,8,7,.7)); }
.stair-band { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.sb-fill { fill: var(--ink); }
.sb-line { fill: none; stroke: var(--red); stroke-width: 3; stroke-linejoin: miter; }
.sb-glow { fill: none; stroke: var(--red); stroke-width: 18; opacity: .35; filter: blur(10px); }

.descent-top {
  position: absolute; z-index: 4; left: var(--gut); right: var(--gut); top: calc(var(--hdr) + 18px);
  display: grid;
}
.lvl-read { grid-area: 1 / 1; display: flex; align-items: center; gap: 12px; color: var(--bone); transition: opacity .4s, transform .4s; }
.lvl-n { font: 400 13px/1 var(--f-d); background: var(--bone); color: var(--ink); padding: 6px 8px; border-radius: var(--hand-sm); }
.lvl-read--under { opacity: 0; transform: translateY(8px); color: var(--bone); }
.lvl-read--under::before { content: "−1"; font: 400 13px/1 var(--f-d); background: var(--red); color: var(--ink); padding: 6px 8px; border-radius: var(--hand-sm); }
.descent[data-under="1"] .lvl-read:not(.lvl-read--under) { opacity: 0; transform: translateY(-8px); }
.descent[data-under="1"] .lvl-read--under { opacity: 1; transform: none; }

.descent-copy { position: absolute; z-index: 5; left: var(--gut); bottom: clamp(56px, 10vh, 110px); width: min(1000px, calc(100% - 2 * var(--gut))); }
.hero-brand { display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 28px); filter: drop-shadow(0 6px 30px rgba(0,0,0,.55)); }
.hero-mark { flex: none; width: clamp(96px, 15vw, 210px); height: auto; aspect-ratio: 557.73 / 514.13; color: var(--bone); }
.wm--hero { flex: 1 1 0; min-width: 0; width: 100%; max-width: 700px; height: auto; }
.hero-brand .wm-l { transform: translateY(calc(var(--k, 0) * 1px)); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.hero-line {
  margin-top: 22px; font: 400 clamp(20px, 2.4vw, 32px)/1.12 var(--f-d); max-width: 22ch;
  text-shadow: 0 2px 20px rgba(0,0,0,.6); transition: opacity .5s, transform .5s;
}
.hero-line--b { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(14px); }
.descent[data-under="1"] .hero-line--a { opacity: 0; transform: translateY(-14px); }
.descent[data-under="1"] .hero-line--b { opacity: 1; transform: none; }
.hero-lines { position: relative; }

.down {
  position: absolute; z-index: 5; right: var(--gut); bottom: clamp(56px, 10vh, 110px);
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 400 15px/1 var(--f-d); padding: 14px 18px; border-radius: var(--hand); box-shadow: inset 0 0 0 1.5px var(--line-2);
  background: rgba(10,8,7,.4); backdrop-filter: blur(6px); transition: opacity .4s, background .2s;
}
.down svg { width: 22px; height: 22px; color: var(--red); }
.down:hover { background: var(--bone); color: var(--ink); }
.next {
  position: absolute; z-index: 5; right: var(--gut); bottom: clamp(56px, 10vh, 110px); width: min(340px, 40vw);
  background: var(--bone); color: var(--ink); border-radius: var(--hand); padding: 16px 18px 18px;
  opacity: 0; transform: translateY(20px); transition: opacity .45s, transform .45s; pointer-events: none;
}
.next-k { color: var(--red-2); margin-bottom: 8px; }
.next-a { display: grid; gap: 6px; text-decoration: none; }
.next-d { color: var(--ink); opacity: .7; }
.next-t { font: 400 20px/1.1 var(--f-d); }
.next-a:hover .next-t { text-decoration: underline; text-decoration-thickness: 2px; }
.descent[data-under="1"] .next { opacity: 1; transform: none; pointer-events: auto; }
.descent[data-under="1"] .down { opacity: 0; pointer-events: none; }

/* ── Section heads ────────────────────────────────────────── */
section:not(.descent) { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.sec-head { display: grid; grid-template-columns: auto 1fr minmax(0, 340px); gap: clamp(16px, 3vw, 44px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--stack { grid-template-columns: auto 1fr; }
.lvl-big {
  font: 400 clamp(64px, 11vw, 168px)/.78 var(--f-d); color: transparent; -webkit-text-stroke: 1.5px var(--line-2);
  letter-spacing: -.04em; user-select: none;
}
.eyebrow { color: var(--red); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 10px; border: 2px solid currentColor; border-left: 0; border-bottom: 0; transform: translateY(2px); }
.h2 { font: 400 clamp(40px, 6.4vw, 92px)/.98 var(--f-d); letter-spacing: -.01em; }
.h3 { font: 400 clamp(24px, 2.6vw, 34px)/1.05 var(--f-d); }
.sec-aside { color: var(--bone-2); font-size: 15px; }
.sec-aside a { color: var(--bone); text-underline-offset: 3px; }
.sec-aside a:hover { color: var(--red); }
.rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rise .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 70ms); }
.rise.in .w > span { transform: none; }

/* ── Programme ────────────────────────────────────────────── */
.program { background: var(--ink); }
.events { --step: clamp(0px, 2.2vw, 34px); }
.ev { position: relative; margin-left: calc(var(--n, 0) * var(--step)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.ev:last-child { border-bottom: 1px solid var(--line-2); }
.ev::after { /* the tread nosing */ content: ""; position: absolute; left: -1px; top: -1px; width: 22px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.ev-a {
  position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr) 190px 56px; gap: 22px; align-items: center;
  padding: 24px 20px 24px 22px; text-decoration: none; overflow: hidden; isolation: isolate;
}
.ev-a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,45,30,.16), rgba(255,45,30,0) 70%); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.ev-a:hover::before, .ev-a:focus-visible::before { transform: scaleX(1); }
.ev:hover::after, .ev:focus-within::after { transform: scaleX(1); }
.ev-date { display: grid; gap: 6px; }
.ev-date b { font: 400 34px/.9 var(--f-d); letter-spacing: -.02em; transition: color .2s; }
.ev-wd { font: 400 11px/1 var(--f-m); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.ev-a:hover .ev-date b { color: var(--red); }
.ev-thumb { display: none; }
.ev-main { display: grid; gap: 7px; min-width: 0; }
.ev-title { font: 400 clamp(19px, 2.2vw, 28px)/1.08 var(--f-d); overflow-wrap: anywhere; }
.ev-title small { font-size: .6em; color: var(--bone-2); }
.ev-line { color: var(--bone-2); line-height: 1.6; text-transform: none; font-size: 11.5px; letter-spacing: .02em; }
.ev-note { color: var(--mute); font-size: 14.5px; }
.ev-meta { display: grid; gap: 8px; justify-items: start; color: var(--bone-2); }
.ev-tag { color: var(--ink); background: var(--bone-2); padding: 4px 7px; border-radius: var(--hand-sm); font-size: 10px; }
.ev-go { justify-self: end; color: var(--bone); padding: 10px 10px; border-radius: var(--hand-sm); box-shadow: inset 0 0 0 1px var(--line-2); transition: .2s; }
.ev-a:hover .ev-go { background: var(--red); color: var(--ink); box-shadow: none; }
.ev[data-past] { display: none; }
.events-empty { padding: 24px 0; color: var(--bone-2); }

.peek {
  position: fixed; left: 0; top: 0; z-index: 40; width: 190px; pointer-events: none;
  opacity: 0; transform: translate3d(var(--px, -999px), var(--py, -999px), 0) rotate(var(--pr, 0deg)) scale(.92);
  transition: opacity .25s, scale .25s;
}
.peek img { width: 100%; height: auto; border-radius: var(--hand); box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 2px var(--bone); }
.peek.on { opacity: 1; }

.past { margin-top: clamp(64px, 9vw, 120px); }
.past-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.past-sub { color: var(--mute); }
.past-row {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 18px;
  scrollbar-width: thin; scrollbar-color: var(--red) var(--ink-3); overscroll-behavior-x: contain;
}
.past-row li { flex: 0 0 auto; scroll-snap-align: start; }
.past-row figure { width: 210px; }
.past-row li:nth-child(even) figure { margin-top: 26px; }
.past-row img { width: 210px; height: 263px; object-fit: cover; border-radius: var(--hand); filter: grayscale(.6) brightness(.82); transition: filter .35s, transform .35s; }
.past-row li:hover img { filter: none; transform: translateY(-6px); }
.past-row figcaption { margin-top: 10px; color: var(--bone-2); font-size: 10px; line-height: 1.5; }

/* ── Nights / crews ───────────────────────────────────────── */
.nights { background: var(--ink-2); }
.nights::before, .space::before, .visit::before {
  /* each section starts one step lower */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 26px; background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 0, 66.6% 0, 66.6% 0, 66.6% 100%, 33.3% 100%, 33.3% 50%, 0 50%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 66.6% 100%, 66.6% 50%, 33.3% 50%, 33.3% 0, 0 0);
}
.space::before { background: var(--ink-2); }
.visit::before { background: var(--ink); }
.crews { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.crew-list { display: grid; gap: 2px; }
.crew-list li { margin-left: calc(var(--n, 0) * clamp(10px, 2.4vw, 38px)); }
.crew-list button {
  position: relative; display: block; width: 100%; text-align: left; padding: 10px 0 10px 34px;
  font: 400 clamp(24px, 3.1vw, 44px)/1 var(--f-d); color: rgba(242,239,233,.32); transition: color .25s, transform .35s cubic-bezier(.2,.8,.2,1);
  border-top: 1px solid var(--line);
}
.crew-list button::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 12px; margin-top: -6px;
  border-top: 3px solid var(--red); border-right: 3px solid var(--red); transform: scale(0); transform-origin: left top; transition: transform .3s;
}
.crew-list button:hover { color: rgba(242,239,233,.7); }
.crew-list button[aria-selected="true"] { color: var(--bone); transform: translateX(6px); }
.crew-list button[aria-selected="true"]::before { transform: none; }
.crew-panels { position: sticky; top: calc(var(--hdr) + 24px); }
.crew {
  background: var(--bone); color: var(--ink); border-radius: var(--hand); padding: clamp(24px, 3vw, 40px);
  display: grid; gap: 18px; min-height: 320px; align-content: start;
  animation: crewIn .45s cubic-bezier(.2,.8,.2,1);
}
@keyframes crewIn { from { opacity: 0; transform: translate(-14px, 10px); } to { opacity: 1; transform: none; } }
.crew[hidden] { display: none; }
.crew-when { color: var(--red-2); }
.crew-p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; }
.crew-who, .crew-next { color: var(--ink); text-transform: none; letter-spacing: .02em; line-height: 1.7; font-size: 11.5px; border-top: 1px solid rgba(10,8,7,.16); padding-top: 14px; }
.crew-who span, .crew-next span { display: block; text-transform: uppercase; color: #6c645b; font-size: 10px; letter-spacing: .08em; }

/* ── Basement / lamp ──────────────────────────────────────── */
.space { background: var(--ink); }
.space-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.space-text { display: grid; gap: 20px; position: sticky; top: calc(var(--hdr) + 24px); }
.lead { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; }
.space-text p:not(.lead) { color: var(--bone-2); }
.facts { display: grid; margin-top: 10px; border-top: 1px solid var(--line-2); }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--mute); }
.facts dd { text-transform: none; letter-spacing: .02em; font-size: 12px; }
.lamp {
  --lx: 50%; --ly: 40%;
  position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(70px, 8vw, 118px); gap: 10px;
}
.ph { position: relative; overflow: hidden; border-radius: var(--hand); background: var(--ink-3); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: brightness(calc(.34 + var(--lit, 0) * .74)) saturate(calc(.55 + var(--lit, 0) * .55)); transform: scale(calc(1.06 - var(--lit, 0) * .06)); transition: filter .5s, transform .8s; }
.ph figcaption { position: absolute; left: 10px; bottom: 9px; font-size: 10px; background: rgba(10,8,7,.75); padding: 4px 7px; border-radius: var(--hand-sm); opacity: calc(.45 + var(--lit, 0) * .55); transition: opacity .4s; }
.ph--a { grid-column: 1 / 5; grid-row: 1 / 4; }
.ph--b { grid-column: 5 / 7; grid-row: 1 / 4; }
.ph--c { grid-column: 1 / 3; grid-row: 4 / 8; }
.ph--d { grid-column: 3 / 5; grid-row: 4 / 6; }
.ph--e { grid-column: 5 / 7; grid-row: 4 / 6; }
.ph--f { grid-column: 3 / 5; grid-row: 6 / 8; }
.ph--g { grid-column: 5 / 7; grid-row: 6 / 8; }
.lamp-light {
  position: absolute; inset: -10px; pointer-events: none; border-radius: 20px; mix-blend-mode: screen;
  background: radial-gradient(circle at var(--lx) var(--ly), rgba(255,45,30,.42), rgba(255,45,30,.12) 18%, transparent 36%);
}

/* ── Visit ────────────────────────────────────────────────── */
.visit { background: var(--ink-2); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.space .h2 { font-size: clamp(36px, 5.2vw, 76px); }
.visit .h2 { font-size: clamp(34px, 4.6vw, 66px); }
.route { display: grid; gap: 0; margin-bottom: 30px; }
.route li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 18px; }
.route li:nth-child(2) { margin-left: 22px; }
.route li:nth-child(3) { margin-left: 44px; font-family: var(--f-d); font-size: 22px; }
.route b { color: var(--red); padding-top: 4px; }
.visit-list { display: grid; margin-bottom: 30px; }
.visit-list li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.visit-list li > span:first-child { color: var(--mute); padding-top: 3px; }
.visit-list a { color: var(--bone); text-underline-offset: 3px; }
.visit-list a:hover { color: var(--red); }
.visit-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.map { position: relative; padding-bottom: 60px; }
.map iframe {
  display: block; width: 100%; aspect-ratio: 4 / 3.4; border: 0; border-radius: var(--hand);
  filter: grayscale(1) invert(.92) contrast(.9) brightness(.9);
}
.map-photo { position: absolute; left: -26px; bottom: 0; width: 34%; transform: rotate(-3deg); }
.map-photo img { border-radius: var(--hand); box-shadow: 0 0 0 4px var(--bone), 0 20px 50px rgba(0,0,0,.6); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

/* ── Footer ───────────────────────────────────────────────── */
.foot { padding: clamp(70px, 10vw, 130px) 0 34px; background: var(--ink); position: relative; }
.foot-up { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 15px/1 var(--f-d); color: var(--bone-2); margin-bottom: clamp(40px, 6vw, 70px); }
.foot-up svg { width: 22px; height: 22px; color: var(--red); transition: transform .3s; }
.foot-up:hover { color: var(--bone); }
.foot-up:hover svg { transform: translate(3px, -3px); }
.foot-brand { display: flex; align-items: flex-end; gap: clamp(16px, 2.5vw, 36px); margin-bottom: clamp(40px, 6vw, 70px); }
.foot-mark { flex: none; width: clamp(80px, 14vw, 200px); height: auto; aspect-ratio: 557.73 / 514.13; color: var(--bone); }
.wm--foot { flex: 1 1 0; min-width: 0; width: 100%; height: auto; }
.wm--foot .wm-l { transform: translateY(calc(var(--k, 0) * 1px)); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--bone-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { font: 500 14px/1 var(--f-b); text-decoration: none; color: var(--bone); }
.foot-links a:hover { color: var(--red); }
.foot-credit { margin-top: 26px; color: var(--mute); text-transform: none; letter-spacing: .02em; }
.foot-credit a { color: var(--bone); }

/* ── Depth rail (desktop) ─────────────────────────────────── */
.rail { position: fixed; z-index: 30; right: 18px; top: 50%; transform: translateY(-50%); width: 34px; display: grid; gap: 0; opacity: 0; transition: opacity .4s; }
.rail.on { opacity: 1; }
.rail a { position: relative; display: block; height: 30px; text-decoration: none; }
.rail a::before { content: ""; position: absolute; right: calc(var(--n) * 5px); top: 14px; width: 12px; height: 2px; background: var(--line-2); transition: background .2s, width .2s; }
.rail a span { position: absolute; right: calc(var(--n) * 5px + 18px); top: 8px; font: 400 10px/1 var(--f-m); color: var(--mute); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; }
.rail a[aria-current="true"]::before { background: var(--red); width: 20px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ev-a { grid-template-columns: 96px minmax(0, 1fr) 150px 52px; gap: 16px; }
  .sec-head { grid-template-columns: auto 1fr; }
  .sec-head .sec-aside { grid-column: 1 / -1; max-width: 560px; }
}
@media (max-width: 900px) {
  :root { --hdr: 60px; }
  .rail { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr-end .btn--sm { display: none; }
  .hdr-nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 4px;
    padding: 90px var(--gut) 40px; background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
  }
  .hdr-nav a { font: 400 clamp(34px, 9vw, 54px)/1.1 var(--f-d); color: var(--bone); padding: 10px 0; border-top: 1px solid var(--line); }
  .hdr-nav a:nth-child(2) { margin-left: 18px; } .hdr-nav a:nth-child(3) { margin-left: 36px; } .hdr-nav a:nth-child(4) { margin-left: 54px; }
  .hdr-nav a i { font-size: 12px; color: var(--red); }
  .hdr-nav a::after { display: none; }
  .menu-open .hdr-nav { opacity: 1; visibility: visible; transition: opacity .3s; }
  .menu-open .hdr { background: var(--ink); }
  .menu-open .menu-ico i:nth-child(1) { transform: translate(0, 6px) rotate(45deg); width: 20px; }
  .menu-open .menu-ico i:nth-child(2) { opacity: 0; }
  .menu-open .menu-ico i:nth-child(3) { transform: translate(-12px, -6px) rotate(-45deg); width: 20px; }
  .crews { grid-template-columns: 1fr; }
  .crew-panels { position: static; }
  .space-grid, .visit-grid { grid-template-columns: 1fr; }
  .space-text { position: static; }
  .ev-a { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "date main" "thumb meta"; padding: 20px 14px 20px 16px; gap: 12px 16px; }
  .ev-date { grid-area: date; align-self: start; }
  .ev-date b { font-size: 26px; }
  .ev-title { font-size: 18px; }
  .ev-main { grid-area: main; }
  .ev-meta { grid-area: meta; grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; }
  .ev-go { display: none; }
  .ev-thumb { display: block; grid-area: thumb; width: 76px; height: 76px; object-fit: cover; border-radius: var(--hand-sm); }
  .ev-thumb--blank { display: grid; place-items: center; background: var(--ink-3); }
  .ev-thumb--blank svg { width: 40px; height: 37px; color: var(--bone-2); }
  .events { --step: 10px; }
  .map-photo { left: auto; right: 10px; width: 30%; }
}
@media (max-width: 760px) {
  .descent { height: 250vh; }
  .descent-copy { bottom: 150px; }
  .hero-brand { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-mark { width: 84px; }
  .wm--hero { width: 100%; max-width: none; }
  .hero-line { font-size: 21px; margin-top: 16px; }
  .down { left: var(--gut); right: auto; bottom: 84px; }
  .next { left: var(--gut); right: var(--gut); width: auto; bottom: 40px; padding: 12px 14px 14px; }
  .next-t { font-size: 17px; }
  .descent[data-under="1"] .descent-copy { transform: translateY(-40px); }
  .descent-copy { transition: transform .45s; }
  .lamp { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .ph--a { grid-column: 1 / 3; grid-row: span 2; }
  .ph--b, .ph--c, .ph--d, .ph--e, .ph--f { grid-column: auto; grid-row: span 2; }
  .ph--g { grid-column: 1 / 3; grid-row: span 2; }
  .lvl-big { display: none; }
  .sec-head { gap: 14px 18px; }
  .h2 { font-size: clamp(34px, 10vw, 48px); }
  .preview { font-size: 12px; gap: 8px; }
  .facts div, .visit-list li { grid-template-columns: 80px 1fr; }
  .route li:nth-child(2) { margin-left: 12px; } .route li:nth-child(3) { margin-left: 24px; }
  .map-photo { display: none; }
  .map { padding-bottom: 0; }
  .crew { min-height: 0; }
  .crew-list button { padding-left: 28px; }
  .hdr-logo .wm--sm { width: 78px; }
  .lang { height: 44px; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (hover: none) {
  .ph img { filter: brightness(calc(.5 + var(--lit, 0) * .55)) saturate(calc(.7 + var(--lit, 0) * .4)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .descent { height: auto; }
  .descent-stage { position: relative; height: 100svh; }
  .rise .w > span { transform: none; }
  .ph img { filter: brightness(.9); }
}

/* Preview banner stays pinned above the header */
.preview { position: sticky !important; top: 0; z-index: 200 !important; }
.hdr { top: var(--pv, 34px) !important; }
