/* Sugar Studios — "House Lights" build. Base, tokens, shared components. Page-specific rules live in pages.css. */
:root {
  --ink: #070b0a; --ink2: #0b1312;
  --teal9: #0a2223; --teal7: #123c3c; --teal5: #1d6563; --celadon: #9fc7bb;
  --ivory: #f2e8d5; --paper: #e6d9bf; --stock: #efe4cc; --mute: #a3b1aa; --neon: #5fe6e2; --amber: #ffd8a8;
  --glow: 90 110 120;               /* the film's light, set live from the reel */
  --px: 50vw; --py: 30vh;           /* the pointer light (kit/materials.js) */
  --m0: #f7e3c2; --m1: #b98c56; --m2: #6e4b27; --m3: #25180c;   /* bronze — only ever as lit metal */
  --stage: min(64vw, 100vh);          /* the screen: never taller than the room between the arch and the seats */
  --hair: rgba(242, 232, 213, .14);
  --e-arrive: cubic-bezier(.19, 1, .22, 1); --e-leave: cubic-bezier(.55, .055, .675, .19); --e-move: cubic-bezier(.76, 0, .2, 1);
  --e-dock: cubic-bezier(.72, .16, .19, .96); --e-ui: cubic-bezier(.25, .46, .45, .94); --e-spring: cubic-bezier(.32, .94, .6, 1); --e-house: cubic-bezier(.445, .05, .55, .95);
  --gut: 7.4vw;                     /* r5: the page measure, a little narrower than before (6vw) */
}
html[data-metal="nickel"] { --m0: #ffffff; --m1: #cfd5d3; --m2: #7b8382; --m3: #1e2222; }
/* r5 · the display face is one variable: --fd the family, --fs the scale of titles (set for the first build's very narrow face, so wider faces run smaller),
   --ft the scale of serif text sizes (ledes, list rows), --fl what tight title leading needs added. The Review tab's Type row switches them (kit/look.js). */
:root { --fd: "Gambarino", Georgia, serif; --fs: .82; --ft: .9; --fl: .08; }
html[data-type="boska"] { --fd: "Boska", Georgia, serif; --fs: .78; --ft: .92; --fl: .08; }
html[data-type="bodoni"] { --fd: "Bodoni Moda", Georgia, serif; --fs: .7; --ft: .86; --fl: .12; }
html[data-type="melodrama"] { --fd: "MeloFigures", "Melodrama", Georgia, serif; --fs: .76; --ft: .92; --fl: .12; }
html[data-type="imbue"] { --fd: "Imbue", serif; --fs: 1; --ft: 1; --fl: 0; }
:is(h1, h2, h3, b, strong) { font-synthesis: none; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); scrollbar-width: none; -webkit-text-size-adjust: 100%; }
html::-webkit-scrollbar { display: none; }
body { color: var(--ivory); font: 400 16px/1.6 "Instrument Sans", system-ui, sans-serif; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
i { font-style: normal; }
::selection { background: var(--neon); color: #06100f; }
:focus-visible { outline: 1px solid var(--neon); outline-offset: 4px; }
.lbl { font: 400 11px/1.4 "Josefin Sans", system-ui, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--celadon); }
.st { display: inline-block; width: 9px; height: 9px; margin-right: 1em; background: var(--neon); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 4px var(--neon)); vertical-align: baseline; }
html:not(.ready) #page, html:not(.ready) .foot { visibility: hidden; }

/* motion kit (CSS half) */
.js [data-r], .js [data-in], .js [data-intro] { visibility: hidden; }
.sx-l-mask, .sx-w-mask, .sx-c-mask { overflow: clip; padding: .1em .06em .16em; margin: -.1em -.06em -.16em; }
.sx-c-mask { display: inline-block; }
.pl { position: relative; display: inline-block; }
.pl::before, .pl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.18em; height: 1px; background: currentColor; transform-origin: 0 50%; }
.pl::before { transform: scaleX(0); transition: transform 1s var(--e-arrive); }
.pl::after { transform: scaleX(0); transform-origin: 100% 50%; transition: none; }
.pl.is-on::before, .pl:hover::before { transform: scaleX(1); }
.pl.out::after { animation: pl-out .9s var(--e-arrive) forwards; }
.pl.out::before { transition: none; transform: scaleX(0); }
@keyframes pl-out { from { transform: scaleX(1); clip-path: inset(0 0 0 0); } to { transform: scaleX(1); clip-path: inset(0 0 0 100%); } }
[data-roll] { display: inline-block; }
.roll { position: relative; display: inline-block; overflow: clip; vertical-align: top; }
.roll .r1, .roll .r2 { display: block; white-space: nowrap; }
.roll .r2 { position: absolute; left: 0; top: 0; }
.roll i { display: inline-block; transition: transform .8s var(--e-arrive); transition-delay: calc(var(--i) * 14ms); }
.roll .r2 i { transform: translateY(110%); }
a:hover > [data-roll] .roll .r1 i, [data-roll]:hover .roll .r1 i { transform: translateY(-110%); }
a:hover > [data-roll] .roll .r2 i, [data-roll]:hover .roll .r2 i { transform: translateY(0); }
.is-reduced *, .is-reduced *::before, .is-reduced *::after { transition-duration: .2s !important; animation-duration: .2s !important; }

/* the one wall canvas + transitions */
#wall { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
#page, .foot { position: relative; z-index: 1; }
#drape { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 70; pointer-events: none; visibility: hidden; }
#veil { position: fixed; inset: 0; z-index: 69; background: var(--ink); visibility: hidden; opacity: 0; pointer-events: none; }
#lift { position: fixed; inset: 0; z-index: 71; display: grid; grid-template-columns: 1fr 1fr; pointer-events: all; }
#lift[hidden] { display: none; }
.door { position: relative; height: 100%; background: linear-gradient(90deg, var(--m3), var(--m2) 18%, var(--m1) 46%, var(--m2) 78%, var(--m3)); overflow: hidden; }
.door.r { background: linear-gradient(270deg, var(--m3), var(--m2) 18%, var(--m1) 46%, var(--m2) 78%, var(--m3)); }
.door::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--px) var(--py), rgba(255, 246, 226, .5), transparent 34vmax); mix-blend-mode: soft-light; }
.door i { position: absolute; inset: 6% 9%; border: 1px solid rgba(20, 12, 4, .55); box-shadow: inset 0 0 0 5px rgba(255, 240, 210, .05), inset 0 0 0 6px rgba(20, 12, 4, .4);
  background: repeating-conic-gradient(from -90deg at 100% 100%, rgba(20, 12, 4, .32) 0 .6deg, transparent .6deg 6deg); }
.door.r i { background: repeating-conic-gradient(from 0deg at 0 100%, rgba(20, 12, 4, .32) 0 .6deg, transparent .6deg 6deg); }
.door.l { box-shadow: inset -1px 0 0 rgba(0, 0, 0, .8); } .door.r { box-shadow: inset 1px 0 0 rgba(0, 0, 0, .8); }
#liftDial { position: absolute; left: 50%; top: 9vh; width: min(260px, 52vw); margin-left: calc(min(260px, 52vw) / -2); z-index: 2; }

/* metal: each object keeps its own banding; the pointer light adds one moving highlight shared by all of them */
.metal, .fr, .fr-f, .dial, .mq-ring::before, .hub, .callb, .vit-case, .board {
  background: radial-gradient(circle at var(--px) var(--py), rgba(255, 249, 232, .8), rgba(255, 249, 232, .22) 9vmax, rgba(255, 249, 232, 0) 24vmax) fixed,
    linear-gradient(135deg, var(--m1), var(--m2) 38%, var(--m1) 62%, var(--m3));
}
.plate, .plaque { background: radial-gradient(circle at var(--px) var(--py), rgba(255, 252, 240, .7), rgba(255, 252, 240, 0) 18vmax) fixed, linear-gradient(180deg, var(--m0) -35%, var(--m1) 42%, var(--m2) 135%); }

/* ——— header ——— */
.top { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 3.2vw; transition: background .6s var(--e-ui), box-shadow .6s, transform .7s var(--e-arrive); }
.top.solid { background: rgba(7, 11, 10, .84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--hair); }
.top.away { transform: translateY(-102%); }
.brand img { height: 52px; width: auto; filter: drop-shadow(0 0 10px rgba(95, 230, 226, .35)); }
.nav { display: flex; gap: 1.55vw; font: 400 11px/1 "Josefin Sans", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--paper); }
.nav a { padding: 8px 0; opacity: .8; transition: opacity .4s; position: relative; }
.nav a:hover, .nav a.is-on { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--neon); box-shadow: 0 0 8px var(--neon); transform: scaleX(0); transition: transform .7s var(--e-arrive); }
.nav a.is-on::after { transform: scaleX(1); }
.book { justify-self: end; font: 400 11px/1 "Josefin Sans", sans-serif; letter-spacing: .26em; text-transform: uppercase; padding: 12px 0 12px 22px; position: relative; }
.book::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -6px; background: var(--neon); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 5px var(--neon)); transition: transform .9s var(--e-arrive); }
.book:hover::before { transform: rotate(180deg) scale(1.25); }
.menu { display: none; }
html.clean .legal span:last-child { visibility: hidden; }

/* ——— sections, banners, page heads ——— */
.sec { position: relative; padding: 16vh 0 14vh; }
.sec.ink { background: var(--ink); }
[data-wall="chevron"] { background: radial-gradient(ellipse at 50% 0, #24403c, #132624 70%); }
[data-wall="tufted"] { background: radial-gradient(ellipse at 50% 30%, #0e3637, #061516 70%); }
[data-wall="velvet"] { background: radial-gradient(ellipse at 50% 30%, #3c070c, #160204 70%); }
[data-wall="terrazzo"] { background: linear-gradient(#070b0a, #0d2620); }
.has-wall { background: transparent !important; }
/* where two rooms meet: a stepped cornice above, a baseboard below */
.cornice::before, .cornice::after { content: ""; position: absolute; left: 0; right: 0; height: 26px; pointer-events: none; z-index: 2;
  background: linear-gradient(rgba(242, 232, 213, .2), rgba(242, 232, 213, .2)) 0 0 / 100% 1px no-repeat, linear-gradient(rgba(242, 232, 213, .1), rgba(242, 232, 213, .1)) 0 6px / 100% 1px no-repeat, linear-gradient(rgba(242, 232, 213, .06), rgba(242, 232, 213, .06)) 0 10px / 100% 1px no-repeat, linear-gradient(rgba(0, 0, 0, .55), transparent); }
.cornice::before { top: 0; }
.cornice::after { bottom: 0; transform: scaleY(-1); }
.banner { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "l t r" ". s ."; align-items: center; column-gap: 2.6vw; row-gap: 14px; padding: 0 var(--gut); margin-bottom: 8vh; }
.banner h2, .banner h1 { grid-area: t; font: 300 clamp(20px, 2.2vw, 36px)/1 "Josefin Sans", sans-serif; letter-spacing: .44em; text-transform: uppercase; padding-left: .44em; text-align: center; color: var(--ivory); }
.banner .orn { height: 9px; position: relative; }
.banner .orn:first-child { grid-area: l; }
.banner .orn:nth-of-type(2) { grid-area: r; }
.banner .orn::before { content: ""; position: absolute; left: 0; right: 22px; top: 4px; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 232, 213, .55)); }
.banner .orn::after { content: ""; position: absolute; right: 0; top: 0; width: 9px; height: 9px; background: var(--neon); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 4px var(--neon)); }
.banner .orn:nth-of-type(2)::before { left: 22px; right: 0; background: linear-gradient(270deg, transparent, rgba(242, 232, 213, .55)); }
.banner .orn:nth-of-type(2)::after { right: auto; left: 0; }
.banner .see { grid-area: s; justify-self: center; font: 400 10.5px/1 "Josefin Sans", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--celadon); }
.sec-lede { max-width: 30em; margin: 0 auto 8vh; text-align: center; font: 400 calc(clamp(22px, 2.2vw, 36px) * var(--ft))/1.2 var(--fd); color: var(--paper); padding: 0 var(--gut); }
.phead { position: relative; padding: 24vh var(--gut) 9vh; }
.phead .kick { display: flex; align-items: center; margin-bottom: 3.2vh; }
.ptitle { font: 400 calc(clamp(56px, 10.4vw, 190px) * var(--fs))/calc(.88 + var(--fl)) var(--fd); letter-spacing: -.012em; }
.ptitle em { font-style: normal; color: var(--celadon); }
.plede { max-width: 26em; margin-top: 4.4vh; font: 400 calc(clamp(21px, 2vw, 34px) * var(--ft))/1.22 var(--fd); color: var(--paper); }
.prose { max-width: 40em; color: #cdd5cf; font-size: 16.5px; }
.prose p + p { margin-top: 1.1em; }
.more { display: inline-block; }
.cta { display: inline-flex; align-items: center; gap: 14px; font: 400 11.5px/1 "Josefin Sans", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory); padding: 18px 26px 16px; position: relative; }
.cta::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(242, 232, 213, .38); clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px); transition: border-color .5s, background .5s; }
.cta:hover::before { border-color: var(--neon); background: rgba(95, 230, 226, .06); }
.cta .st { margin: 0; transition: transform .9s var(--e-arrive); }
.cta:hover .st { transform: rotate(180deg) scale(1.2); }

/* frames: metal ring · black lacquer · metal fillet · picture. They hang from a nail and swing a little (--sw). */
.hang { position: relative; transform-origin: 50% -34px; transform: rotate(var(--sw, 0deg)); box-shadow: var(--sx, 0px) var(--sy, 24px) 26px -2px rgba(0, 0, 0, .66); }   /* r6: box-shadow, not filter: drop-shadow */
.hang.is-live { will-change: transform; }
.wired .hang::before { content: ""; position: absolute; left: 50%; top: -34px; width: 1px; height: 34px; background: rgba(0, 0, 0, .55); }
.wired .hang::after { content: ""; position: absolute; left: 50%; top: -38px; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--m0), var(--m2) 70%); }
.fr { --n: 8px; padding: 4px; clip-path: polygon(var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) calc(var(--n) / 2), calc(100% - var(--n) / 2) calc(var(--n) / 2), calc(100% - var(--n) / 2) var(--n), 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n) / 2) calc(100% - var(--n)), calc(100% - var(--n) / 2) calc(100% - var(--n) / 2), calc(100% - var(--n)) calc(100% - var(--n) / 2), calc(100% - var(--n)) 100%, var(--n) 100%, var(--n) calc(100% - var(--n) / 2), calc(var(--n) / 2) calc(100% - var(--n) / 2), calc(var(--n) / 2) calc(100% - var(--n)), 0 calc(100% - var(--n)), 0 var(--n), calc(var(--n) / 2) var(--n), calc(var(--n) / 2) calc(var(--n) / 2), var(--n) calc(var(--n) / 2)); }
.fr-i { background: linear-gradient(160deg, #121514, #050606); padding: 9px; }
.fr-f { padding: 1px; position: relative; }
.fr-f > img { width: 100%; height: 100%; object-fit: cover; background: var(--dom, #222); }
.plate { position: relative; margin: 16px auto 0; width: max-content; max-width: 100%; padding: 8px 20px 7px; text-align: center; color: rgba(34, 22, 6, .9); text-shadow: 0 1px 0 rgba(255, 246, 222, .45);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%); }
html[data-metal="nickel"] .plate, html[data-metal="nickel"] .plaque { color: rgba(18, 22, 22, .92); }
.plate b { display: block; font: 400 12.5px/1.2 "Josefin Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.plate span { display: block; font: 400 10px/1.3 "Josefin Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: 2px; }
/* a wall sconce: the fixture is DOM, the light it throws is in the wall shader ([data-lamp]) */
.lamp { position: relative; flex: none; width: 30px; height: 84px; pointer-events: none; }
.lamp::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fff8ea, #ffdca6 40%, #d19a55 100%); clip-path: polygon(50% 0, 100% 16%, 84% 100%, 16% 100%, 0 16%); opacity: calc(.35 + .65 * var(--on, 1)); }
.lamp::after { content: ""; position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 200, 140, calc(.4 * var(--on, 1))), transparent); }
.lamp.abs { position: absolute; transform: translate(-50%, -50%); z-index: 1; }

/* ——— the marquee letterboard ——— */
.marquee { position: relative; z-index: 2; width: min(900px, 92vw); margin: 0 auto; }
.mq-ring { position: relative; padding: 20px; background: linear-gradient(180deg, #0f2d2c, #081a19); box-shadow: 0 40px 90px rgba(0, 0, 0, .65); clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px); }
.mq-ring::before { content: ""; position: absolute; inset: 0; padding: 2px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); clip-path: inherit; }
.bulb { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fffaf0, #ffd796 45%, #a7682a 100%); box-shadow: 0 0 10px 2px rgba(255, 190, 110, .55); opacity: .28; animation: chase 1.05s steps(1) infinite; animation-delay: calc(var(--p) * -.35s); }
@keyframes chase { 0% { opacity: 1; } 33.33% { opacity: .28; } }
.mq-board { position: relative; padding: 16px 18px 12px; display: grid; gap: 10px; background: linear-gradient(180deg, #fffaf0, #f1e4c8 70%, #e8d6b2); box-shadow: inset 0 0 34px rgba(255, 196, 120, .45), inset 0 0 0 1px rgba(0, 0, 0, .3); }
.mq-row { display: flex; justify-content: center; align-items: flex-end; height: 1.08em; font: 700 clamp(19px, 2.5vw, 40px)/1 "Antonio", sans-serif; color: #151413; border-bottom: 2px solid rgba(40, 30, 10, .14); padding-bottom: 2px; }
.mq-in { display: inline-flex; align-items: flex-end; white-space: nowrap; transform-origin: 50% 100%; }
.marquee.small { width: min(760px, 92vw); }
.marquee.small .mq-row { font-size: clamp(18px, 2vw, 32px); }
.mq-l { display: inline-block; padding: 0 .045em; transform: translateY(var(--y, 0)) rotate(var(--r, 0)); }
.mq-l.sp { width: .42em; }
.mq-l.st { color: #0d5f5c; font-size: .7em; padding: 0 .3em; align-self: center; width: auto; height: auto; margin: 0; background: none; clip-path: none; filter: none; }

/* ——— the lift dial ——— */
.dial { position: relative; width: min(300px, 23vw); aspect-ratio: 2 / 1.06; border-radius: 999px 999px 0 0; padding: 9px 9px 0; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.face { position: relative; width: 100%; height: 100%; border-radius: 999px 999px 0 0; overflow: hidden; background: radial-gradient(circle at 50% 100%, #fbf3e2 0, #eadbbb 55%, #cdb88f 100%); box-shadow: inset 0 8px 18px rgba(0, 0, 0, .35); container-type: inline-size; }
.face .num { position: absolute; transform: translate(-50%, -50%); font: 400 6.4cqw/1 "Josefin Sans", sans-serif; letter-spacing: .06em; color: #4a3a22; transition: color .5s, text-shadow .5s; }
.face .num.is-on { color: #7c2a0a; text-shadow: 0 0 12px rgba(255, 160, 80, .95), 0 0 2px rgba(255, 200, 140, .9); }
.face .tick { position: absolute; left: 50%; bottom: 0; width: 1px; height: 46%; transform-origin: 50% 100%; background: linear-gradient(transparent 0 82%, rgba(60, 40, 15, .4) 82%); }
.needle { position: absolute; left: 50%; bottom: 0; width: 3.6cqw; height: 56%; margin-left: -1.8cqw; transform-origin: 50% 100%; background: linear-gradient(90deg, #2b1f10, #5b4421 50%, #2b1f10); clip-path: polygon(50% 0, 100% 14%, 62% 14%, 62% 100%, 38% 100%, 38% 14%, 0 14%); }
.hub { position: absolute; left: 50%; bottom: -5cqw; width: 10cqw; height: 10cqw; margin-left: -5cqw; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); }

/* ——— lists ——— */
.kit { list-style: none; display: grid; gap: 7px; font-size: 14.5px; line-height: 1.45; color: #cfd6d0; }
.kit li { position: relative; padding-left: 20px; }
.kit li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--neon); opacity: .75; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }

/* ——— rails and walks ——— */
.rail { position: relative; overflow: hidden; padding: 7vh 0 4vh; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rail:active { cursor: grabbing; }
.rail-t { display: flex; gap: 2.4vw; width: max-content; will-change: transform; }
.rail-hint { text-align: center; }
.walk { position: relative; height: 100vh; min-height: 620px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.walk-vp { position: relative; overflow: hidden; height: 100%; }
.walk-vp.is-native { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.walk-vp.is-native::-webkit-scrollbar { display: none; }
.walk-t { display: flex; align-items: center; gap: 4.4vw; width: max-content; height: 100%; padding: 0 12vw 0 9vw; will-change: transform; }

/* ——— lobby cards (the departments) ——— */
.lcard { display: block; position: relative; transform: rotate(var(--tilt, 0deg)); transition: transform 1.1s var(--e-arrive); }
.lcard:hover { transform: rotate(0deg) translateY(-10px); }
.lc-paper { position: relative; padding: 12px 12px 0; background: var(--stock); color: #17130e; box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .75), 0 2px 0 rgba(255, 255, 255, .5) inset; overflow: hidden; }
.lc-paper::before { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .52  0 0 0 0 .44  0 0 0 0 .3  0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
.lc-paper::after { content: ""; position: absolute; inset: -40% -60%; pointer-events: none; background: linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, .5) 50%, transparent 56%); transform: translateX(-70%); transition: transform 1.3s var(--e-arrive); }
.lcard:hover .lc-paper::after { transform: translateX(70%); }
.lc-ph { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--dom, #222); }
.lc-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.03); transform: scale(1.04); transition: transform 1.6s var(--e-arrive), filter .8s; }
.lcard:hover .lc-ph img { transform: scale(1); filter: saturate(1.05) contrast(1.05); }
.lc-strip { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; padding: 13px 4px 14px; }
.lc-strip h3 { font: 600 calc(clamp(26px, 2.5vw, 44px) * var(--fs))/calc(.92 + var(--fl)) var(--fd); letter-spacing: -.005em; text-transform: uppercase; }
.lc-strip p { margin-top: 6px; font: 400 12.5px/1.35 "Instrument Sans", sans-serif; color: #4a4133; max-width: 26em; }
.lc-no { display: block; font: 400 9.5px/1 "Josefin Sans", sans-serif; letter-spacing: .26em; text-transform: uppercase; color: #0d5f5c; margin-bottom: 7px; }
.lc-meta { text-align: right; font: 400 8.5px/1.5 "Josefin Sans", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #6b5f4b; white-space: nowrap; }
.lc-meta b { display: block; font-weight: 400; color: #17130e; }

/* ——— the lobby floor (footer) ——— */
.foot { min-height: 88vh; display: grid; align-items: end; margin-top: -1px; }
.foot::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #070b0a 0, rgba(7, 11, 10, .9) 26%, rgba(7, 11, 10, .4) 70%, rgba(7, 11, 10, .6)); pointer-events: none; }
.foot-in { position: relative; padding: 18vh var(--gut) 4vh; }
.foot .lbl { display: flex; align-items: center; }
.book-big { font: 400 calc(clamp(54px, 9.6vw, 170px) * var(--fs))/calc(.92 + var(--fl)) var(--fd); letter-spacing: -.01em; margin: 16px 0 8vh; }
.book-big a { transition: color .6s, text-shadow .6s; }
.book-big a:hover { color: #fff; text-shadow: 0 0 40px rgba(95, 230, 226, .35); }
body[data-route="contact"] .book-big, body[data-route="contact"] .foot .foot-in > .lbl { display: none; }
body[data-route="contact"] .foot { min-height: 0; }
body[data-route="contact"] .foot-in { padding-top: 12vh; }
.offices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3vw; }
.offices p:not(.lbl) { margin-top: 12px; color: #dfe4df; }
.navf a { display: block; width: max-content; }
.legal { display: flex; justify-content: space-between; align-items: center; margin-top: 10vh; font: 400 10.5px/1 "Josefin Sans", sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.legal img { height: 40px; width: auto; opacity: .85; }

/* ——— lightbox + screen ——— */
.lb, .cine { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(3, 5, 5, .95); }
.lb[hidden], .cine[hidden] { display: none; }
.lb figure { max-width: 86vw; }
.lb img { max-width: 86vw; max-height: 80vh; width: auto; height: auto; box-shadow: 0 30px 120px rgba(0, 0, 0, .8); }
.lb figcaption { display: flex; justify-content: space-between; margin-top: 16px; min-height: 1.4em; }
.lb-x, .cine-x { position: absolute; top: 26px; right: 3vw; color: var(--paper); }
.lb-x span, .cine-x span { font-size: 18px; padding-left: .4em; }
.lb-p, .lb-nx { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border: 1px solid rgba(242, 232, 213, .3); border-radius: 50%; display: grid; place-items: center; transition: border-color .4s, transform .6s var(--e-spring); }
.lb-p { left: 2.4vw; } .lb-nx { right: 2.4vw; }
.lb-p:hover, .lb-nx:hover { border-color: var(--neon); transform: scale(1.08); }
.lb-p i, .lb-nx i { width: 9px; height: 9px; border-left: 1px solid var(--ivory); border-bottom: 1px solid var(--ivory); transform: translateX(2px) rotate(45deg); }
.lb-nx i { transform: translateX(-2px) rotate(-135deg); }
.lb.one .lb-p, .lb.one .lb-nx { display: none; }
.cine-screen { position: relative; width: min(86vw, 150vh); aspect-ratio: 16 / 9; background: #000; box-shadow: 0 0 140px rgba(120, 140, 150, .22); }
.cine-media, .cine-media video, .cine-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cine .curtain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cine-t { position: absolute; left: 3vw; top: 30px; color: var(--paper); }

/* ——— phones ——— */
@media (max-width: 760px) {
  :root { --stage: 92vw; --gut: 6vw; }
  .top { grid-template-columns: 1fr auto; height: 64px; padding: 0 5vw; }
  .brand img { height: 42px; }
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; padding: 2vh 7vw 4vh; background: rgba(7, 11, 10, .97); font-size: 15px; letter-spacing: .26em; transform: translateY(-130%); transition: transform .7s var(--e-arrive); max-height: calc(100svh - 64px); overflow: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--hair); }
  .nav a::after { display: none; }
  .nav a.is-on { color: var(--neon); }
  .top.open .nav { transform: none; }
  .top.open { background: rgba(7, 11, 10, .97); }
  .book { display: none; }
  .menu { display: grid; gap: 6px; width: 30px; padding: 8px 0; }
  .menu i { display: block; height: 1px; background: var(--ivory); transition: transform .5s var(--e-arrive); }
  .top.open .menu i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .top.open .menu i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .sec { padding: 12vh 0 10vh; }
  .banner { column-gap: 12px; margin-bottom: 6vh; }
  .banner h2, .banner h1 { font-size: 17px; letter-spacing: .3em; padding-left: .3em; }
  .phead { padding: 17vh var(--gut) 7vh; }
  .ptitle { font-size: clamp(48px, 15.5vw, 86px); }
  .mq-ring { padding: 14px; }
  .mq-board { padding: 10px 8px 8px; gap: 6px; }
  .mq-row, .marquee.small .mq-row { font-size: 5vw; }
  .dial { width: 112px; padding: 5px 5px 0; }
  .walk { height: auto; min-height: 0; padding-bottom: 6vh; }
  .walk-t { padding: 0 8vw; gap: 7vw; height: auto; align-items: flex-start; }
  .offices { grid-template-columns: 1fr 1fr; gap: 5vh 6vw; }
  .foot-in { padding: 14vh var(--gut) 4vh; }
  .legal { flex-direction: column; gap: 18px; align-items: flex-start; }
  .lb-p, .lb-nx { top: auto; bottom: 22px; margin: 0; }
  .lb figure, .lb img { max-width: 94vw; }
  .cine-screen { width: 96vw; }
  .vit-cap b { font-size: 34px; }
  .mq-top { gap: 4px; padding: 6px 0; }
  .marquee.neon .mq-ring { padding: 0 8px 12px; }
  .mq-tube { left: 8px; right: 8px; bottom: 3px; } .mq-tube.b { bottom: 7px; }
}
@media (prefers-reduced-motion: reduce) { .bulb { animation: none; opacity: 1; } }

/* ——— display cases (the departments): a lit vitrine let into the wall, as a theatre lobby shows its stills.
   --on is the tube (0 dark · 1 lit): the picture, the glass and the light on the wall around it (kit/materials.js) all follow it. ——— */
.vit { display: block; position: relative; }
.vit-case { --on: 1; position: relative; display: block; padding: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .75), calc(var(--shx, 0px) * .22) calc(var(--shy, 14px) * .22) 6px rgba(0, 0, 0, .6), var(--shx, 0px) var(--shy, 14px) 30px -4px rgba(0, 0, 0, .7); }
.vit-ph { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #040606; filter: brightness(calc(.13 + .87 * var(--on))); }
.vit-ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px #000, inset 0 20px 26px -14px rgba(0, 0, 0, .9), inset 0 -10px 18px -12px rgba(0, 0, 0, .7), inset 16px 0 22px -16px rgba(0, 0, 0, .75), inset -16px 0 22px -16px rgba(0, 0, 0, .75); }
.vit-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.03); transform: scale(1.06); transition: transform 1.8s var(--e-arrive), filter .9s; }
.vit:hover .vit-ph img { transform: scale(1); filter: saturate(1.06) contrast(1.05) brightness(1.06); }
.vit-glass { position: absolute; inset: 3px; pointer-events: none; mix-blend-mode: screen; opacity: calc(.35 + .65 * var(--on));
  background: radial-gradient(circle at var(--px) var(--py), rgba(235, 255, 250, .2), rgba(235, 255, 250, 0) 20vmax) fixed,
    linear-gradient(112deg, rgba(255, 255, 255, .07) 0 30%, rgba(255, 255, 255, 0) 30.3% 58%, rgba(255, 255, 255, .032) 58.3% 66%, rgba(255, 255, 255, 0) 66.3%); }
.vit-cap { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 18px; padding: 20px 2px 0; }
.vit-no { grid-column: 1 / -1; margin-bottom: 9px; }
.vit-cap b { font: 400 calc(clamp(30px, 2.9vw, 50px) * var(--fs))/calc(1 + var(--fl)) var(--fd); }
.vit-go { color: var(--ivory); opacity: .5; transition: opacity .5s, color .5s; }
.vit:hover .vit-go { opacity: 1; color: var(--neon); }
.vit-line { grid-column: 1 / -1; margin-top: 10px; max-width: 30em; font-size: 14.5px; line-height: 1.5; color: #cfd6d0; }

/* ——— the marquee as the Wiltern wears it: enamel housing, a band of neon squares above the board, two red tubes below ——— */
.marquee.neon .mq-ring { padding: 0 13px 15px; clip-path: none; background: linear-gradient(180deg, #3f626a, #263d42 60%, #1c2e32); box-shadow: 0 40px 90px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .16); }
.marquee.neon .mq-ring::before { display: none; }
.mq-top { display: flex; gap: 7px; padding: 9px 0; }
.nq { position: relative; flex: 1 1 0; aspect-ratio: 1.3; background: #172a2e; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55); }
.nq::before { content: ""; position: absolute; inset: 15% 12%; border: 1.5px solid #e6fffb; border-radius: 3px; opacity: var(--n, 1); box-shadow: 0 0 6px 1px rgba(95, 230, 226, .9), inset 0 0 5px rgba(95, 230, 226, .75), 0 0 16px rgba(95, 230, 226, .35); }
.nq::after { content: ""; position: absolute; inset: 38% 34%; background: #9fc7bb; opacity: calc(.35 + .5 * var(--n, 1)); }
.marquee.neon .mq-board { background: repeating-linear-gradient(90deg, rgba(20, 22, 22, 0) 0 119px, rgba(20, 22, 22, .1) 119px 120px), linear-gradient(180deg, #fdfcf7, #f3f0e6 70%, #ebe7da); box-shadow: inset 0 0 40px rgba(255, 255, 255, .7), inset 0 0 0 1px rgba(0, 0, 0, .4), 0 0 38px rgba(250, 250, 240, .2); }
.marquee.neon .mq-row { border-bottom-color: rgba(30, 30, 30, .16); }
.marquee.neon .mq-l.st { color: #b8202a; }
.mq-tube { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: #ffe2dc; opacity: var(--n, 1); box-shadow: 0 0 5px 1px #ff4a36, 0 0 16px 3px rgba(255, 64, 44, .5); }
.mq-tube.b { bottom: 9px; }

/* ——— review panel (ours, never the client's: ?clean) ——— */
.rv { position: fixed; z-index: 90; left: 0; top: 50%; transform: translateY(-50%); font: 400 12px/1.3 "Instrument Sans", system-ui, sans-serif; color: var(--ivory); }
.rv-t { writing-mode: vertical-rl; padding: 12px 7px 12px 6px; border-left: 0; background: rgba(7, 11, 10, .86); border: 1px solid rgba(242, 232, 213, .28); color: var(--ivory); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rv-b { display: none; order: 2; margin-left: 8px; padding: 12px 14px 6px; background: rgba(7, 11, 10, .92); border: 1px solid rgba(242, 232, 213, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rv.open { display: flex; flex-direction: row; align-items: center; }
.rv.open .rv-b { display: block; }
.rv-b p { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.rv-b .lbl { width: 76px; font-size: 9.5px; }
.rv-b button { padding: 6px 10px; border: 1px solid rgba(242, 232, 213, .2); color: #cfd6d0; }
.rv-b button.is-on { border-color: var(--neon); color: var(--neon); }

/* type that stands straight on the lit facade keeps a soft dark seat under it, so the pointer's light never washes it out */
[data-wall="chevron"] :is(.ptitle, .space-intro .big, .vit-cap b, .bo-side b, .bld-now h2) { text-shadow: 0 1px 0 rgba(2, 9, 8, .75), calc(var(--shx, 0px) * .6) calc(var(--shy, 8px) * .7) 12px rgba(2, 9, 8, .5); }
[data-wall="chevron"] :is(.sec-lede, .plede, .prose, .kit, .vit-line, .lbl, .fw-l, .space-intro p, .banner h2, .banner h1, .bld-l) { text-shadow: 0 1px 1px rgba(2, 9, 8, .8), 0 0 10px rgba(2, 9, 8, .35); }
[data-wall="chevron"] .board :is(.lbl, .kit, .prose, .fl-lede, h2), [data-wall="chevron"] .board .prose p { text-shadow: none; }
.ticket, .ticket *, .lc-paper, .lc-paper * { text-shadow: none !important; }

/* ——— r2 · the facade's foot and head are architecture, not page: nothing in a section may stand on them.
   --base / --head are the shader's own measures (141 px and 44 px at 1440, scaling .62–1.25 with the viewport — kit/materials.js hFacade). ——— */
:root { --base: clamp(87.4px, 9.792vw, 176.3px); --head: clamp(27.3px, 3.056vw, 55px); }
html[data-wall="facade"] [data-wall="chevron"] { padding-bottom: calc(var(--base) + 9vh); }
html[data-wall="facade"] [data-wall="chevron"] { --gut: max(8.6vw, 5.2vw + 44px); }
@media (max-width: 760px) { :root, html[data-wall="facade"] [data-wall="chevron"] { --gut: 6vw; } }
html[data-wall="facade"] .sec[data-wall="chevron"] { padding-top: calc(var(--head) + 13vh); }

/* ——— r2 · the space: the floors live on the lobby directory (black glass in a metal frame), not straight on the blocks ——— */
.board { position: relative; padding: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .75), calc(var(--shx, 0px) * .22) calc(var(--shy, 14px) * .22) 6px rgba(0, 0, 0, .6), var(--shx, 0px) var(--shy, 14px) 34px -4px rgba(0, 0, 0, .72); }
.board-in { position: relative; padding: 0 clamp(18px, 2.4vw, 42px) 6px; background: linear-gradient(180deg, #0c1413, #070b0a 30%, #050807); box-shadow: inset 0 0 0 1px #000, inset 0 24px 30px -20px rgba(0, 0, 0, .9); }
.board > .vit-glass { --on: 1; }
.board-h { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0 17px; border-bottom: 1px solid var(--hair); }
.board-h .lbl:last-child { color: var(--mute); text-align: right; }
.board .frow:first-child { border-top: 0; }
.board .frow:last-child { border-bottom: 0; padding-bottom: 3.2vh; }
.board .frow.is-open:last-child { padding-bottom: 0; }
.board .fw-ph { margin-left: calc(clamp(18px, 2.4vw, 42px) * -1); margin-right: calc(clamp(18px, 2.4vw, 42px) * -1); }
.board .frow:last-child .fw-ph { margin-bottom: -6px; }
.board .fw-go { display: inline-flex; align-items: center; gap: 10px; }
.board .fw-go::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #17211f; box-shadow: inset 0 0 0 1px rgba(242, 232, 213, .18); transition: background .5s, box-shadow .5s; }
.board .frow.is-open .fw-go::before, .board .frow:hover .fw-go::before { background: var(--neon); box-shadow: 0 0 9px var(--neon); }
[data-wall="chevron"] .board :is(.lbl, .fw-l) { text-shadow: none; }

/* ——— r2 · the films: a drum of lit cases over a polished floor; the room takes the colour of the film under the lens ——— */
#films { --film: 70 90 96; overflow: hidden; }
#films::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 30% 44% at 50% 52%, rgb(var(--film) / .5), transparent 74%),
  radial-gradient(ellipse 62% 30% at 50% 54%, rgb(var(--film) / .2), transparent 72%),
  radial-gradient(ellipse 54% 11% at 50% 79%, rgb(var(--film) / .26), transparent 72%),
  radial-gradient(ellipse 30% 20% at 50% 20%, rgb(var(--film) / .14), transparent 70%); }
#films > * { position: relative; z-index: 1; }
.rail.drum { perspective: 1500px; perspective-origin: 50% 40%; padding: 7vh 0 0; }
.rail.drum .rail-t { transform-style: preserve-3d; padding-bottom: clamp(90px, 11vw, 190px); }
.rail.drum .film { --a: max(var(--d, 0), calc(var(--d, 0) * -1)); opacity: var(--in, 1);
  transform: translateY(calc((1 - var(--in, 1)) * 70px + (1 - var(--k, 0)) * 10px)) translateZ(calc(var(--a) * var(--a) * -16px)) rotateY(calc(var(--d, 0) * 7.5deg)) scale(calc(.88 + .12 * var(--k, 0)));
  filter: brightness(calc(.38 + .62 * var(--k, 0))) saturate(calc(.55 + .45 * var(--k, 0)));
  position: relative; }
.film-rf { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); aspect-ratio: 2 / 3; overflow: hidden; pointer-events: none; transform: scaleY(-1); opacity: .62;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 46%); mask-image: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 46%); }
.film-rf img { width: 100%; height: 100%; object-fit: cover; filter: blur(.7px); }
.film-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 3vw; padding: 0 var(--gut); margin-top: -3vw; }
.film-now { display: grid; justify-items: center; gap: 10px; text-align: center; min-height: 118px; align-content: start; }
.fn-d { font: 400 calc(clamp(20px, 1.7vw, 28px) * var(--ft))/1.1 var(--fd); color: var(--paper); }
.fn-d .lbl { display: inline-block; margin-right: 1em; vertical-align: .22em; }
.fn-go { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.fn-go [hidden] { display: none; }
.rb { width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(242, 232, 213, .3); display: grid; place-items: center; transition: border-color .4s, transform .6s var(--e-spring), background .4s; }
.rb.prev { justify-self: end; } .rb.next { justify-self: start; }
.rb:hover { border-color: var(--neon); transform: scale(1.08); background: rgba(95, 230, 226, .06); }
.rb i { width: 9px; height: 9px; border-left: 1px solid var(--ivory); border-bottom: 1px solid var(--ivory); transform: translateX(2px) rotate(45deg); }
.rb.next i { transform: translateX(-2px) rotate(-135deg); }

/* ——— r2 · clients: a one-sheet's billing block. Every line fills the measure; a name takes the light when the light is on it (--k). ——— */
.billing { display: grid; gap: .3vw; padding: 0 var(--gut); margin: 0 auto; max-width: 1180px; box-sizing: content-box; user-select: none; -webkit-user-select: none; cursor: default; }
.billing a.bn { cursor: pointer; }
.bl { display: block; overflow: clip; white-space: nowrap; line-height: .95; padding-top: .05em; }
.billing.is-in .bl { overflow: visible; }
.bw { display: inline-flex; align-items: center; gap: .34em; will-change: transform; }
.bn { --k: 0; font: 600 1em/1 "Antonio", sans-serif; letter-spacing: -.004em; text-transform: uppercase;
  color: color-mix(in srgb, #fff8ea calc(var(--k) * 100%), #56645f); text-shadow: 0 0 calc(var(--k) * .28em) rgb(255 244 220 / calc(var(--k) * .26)); }
.bs { flex: none; width: .16em; height: .16em; background: var(--neon); opacity: .8; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }

@media (max-width: 760px) {
  .board-h .lbl:last-child { display: none; }
  .board .frow { grid-template-columns: 46px 1fr; }
  .rail.drum { perspective: 900px; }
  .rail.drum .film { transform: translateY(calc((1 - var(--in, 1)) * 50px + (1 - var(--k, 0)) * 8px)) translateZ(calc(var(--a) * var(--a) * -12px)) rotateY(calc(var(--d, 0) * 9deg)) scale(calc(.9 + .1 * var(--k, 0))); }
  .film-bar { grid-template-columns: auto 1fr auto; gap: 10px; margin-top: -8vw; }
  .rb { width: 46px; height: 46px; }
  .film-now { min-height: 150px; }
  .billing { gap: 1.4vw; }
}
@media (max-width: 760px) { html .lift { background: #0a1413; } }

/* ——— r4 · the space on the home page: the lift, built into the wall. A stepped frontispiece of deep-glaze slabs (the wall renders them: [data-open=relief]),
   the doorway a window in it, the dial on the pediment, the directory a tablet beside it. The section pins for the ride; the base frieze waits below the fold,
   so the lift stands on the bottom edge of the screen and, once the ride is over, is seen to stand on the frieze. ——— */
#space.ride { --vh: 100vh; --u: clamp(.7px, .10526vh, 1.2px); --top: max(92px, calc(var(--head) + 3.4vh)); --ped: calc(var(--u) * 132); --lint: calc(var(--u) * 22); --sill: calc(var(--u) * 16); --jamb: calc(var(--u) * 52);
  --oh: max(230px, calc(var(--vh) - var(--top) - var(--ped) - var(--lint) - var(--sill) - 10px)); --ow: min(calc(var(--oh) * 1.3333), 47vw); --pw: calc(var(--ow) + var(--jamb) * 2 + 20px);
  height: calc(var(--vh) + var(--base)); padding: var(--top) 0 var(--base); display: block; }
@supports (height: 100svh) { #space.ride { --vh: 100svh; } }
.ride-in { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(30px, 4.6vw, 96px); padding: 0 var(--gut); }
.ride-side { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; max-width: 660px; padding: 1vh 0 22px; }
.ride-copy .kick { display: flex; align-items: center; margin-bottom: 2.6vh; }
.ride-copy .big { font: 400 calc(clamp(34px, 3.5vw, 68px) * var(--fs))/calc(1.02 + var(--fl)) var(--fd); margin-bottom: 2.2vh; }
.ride-copy .txt { font: 400 calc(clamp(18px, 1.45vw, 26px) * var(--ft))/1.25 var(--fd); color: var(--paper); max-width: 24em; }
.board.dir { --rh: clamp(42px, 6.1vh, 62px); margin: 18px 18px 0; }
.dir .board-in { padding: 0 clamp(14px, 1.7vw, 34px); container-type: inline-size; }
.dr b { overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 400px) { .dr .lbl { display: none; } .dr { grid-template-columns: auto minmax(0, 1fr); } }
.dir-rows { position: relative; display: grid; padding-left: 26px; }
.dir-shaft { position: absolute; left: 6px; top: calc(var(--rh) * .5); bottom: calc(var(--rh) * .5); width: 1px; background: rgba(242, 232, 213, .22); }
.dir-shaft b { position: absolute; left: -4px; top: -11px; width: 9px; height: 22px; background: linear-gradient(180deg, var(--m0), var(--m1) 55%, var(--m2)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .65), 0 0 12px rgba(255, 216, 168, .4); transform: translateY(calc((4 - var(--p, 0)) * var(--rh))); }
.dr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: clamp(12px, 1.2vw, 20px); width: 100%; height: var(--rh); text-align: left; border-top: 1px solid rgba(242, 232, 213, .1); color: #a7b3ad; transition: color .4s; }
.dr:first-of-type { border-top: 0; }
.dr b { font: 400 calc(clamp(21px, 1.9vw, 34px) * var(--ft))/calc(1 + var(--fl)) var(--fd); white-space: nowrap; }
.dr .lbl { color: inherit; opacity: .78; text-align: right; font-size: 10px; }
.dr:hover, .dr.is-on { color: var(--ivory); }
.dr.is-on .lbl { color: var(--neon); opacity: 1; }
.cb { width: min(46px, calc(var(--rh) - 14px)); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 32%, #2c3230, #0a0d0c 72%); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .7), 0 0 0 2px rgba(207, 213, 211, .5);
  font: 400 11px/1 "Josefin Sans", sans-serif; letter-spacing: .08em; color: #b9c0bb; transition: color .35s, box-shadow .35s, transform .5s var(--e-spring); }
.cb span { padding-top: 2px; }
.dr:hover .cb { transform: scale(1.07); color: #fff; }
.dr.is-on .cb { color: #fff4dc; text-shadow: 0 0 10px rgba(255, 190, 120, .95); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .7), 0 0 0 2.5px var(--amber), 0 0 16px 2px rgba(255, 190, 120, .55); }
.dir-read { border-top: 1px solid rgba(242, 232, 213, .16); padding: clamp(12px, 1.9vh, 20px) 0 clamp(16px, 2.4vh, 26px); display: grid; gap: clamp(10px, 1.6vh, 18px); }
.dr-l { font: 400 calc(clamp(17px, 1.4vw, 24px) * var(--ft))/1.22 var(--fd); color: var(--paper); min-height: 2.45em; }
.portal { position: relative; width: var(--pw); height: 100%; }
.pt-slab { position: absolute; pointer-events: none; }
.pt-slab.s0 { left: 0; right: 0; top: var(--ped); bottom: 0; }
.pt-slab.s1 { left: 9%; right: 9%; top: calc(var(--ped) * .68); height: calc(var(--ped) * .32 + 2px); }
.pt-slab.s2 { left: 23%; right: 23%; top: calc(var(--ped) * .36); height: calc(var(--ped) * .64 + 2px); }
.pt-slab.s3 { left: 37%; right: 37%; top: 0; height: calc(var(--ped) + 2px); }
html:not(.gl) .pt-slab { background: linear-gradient(#0d1a19, #091211); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6); }
.pt-head { position: absolute; left: 0; right: 0; top: 0; height: var(--ped); display: flex; justify-content: center; align-items: flex-end; gap: calc(var(--u) * 26); }
.car-dial.dial { width: min(calc(var(--pw) * .2), 226px); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55)); }
.car-arrow { width: 0; height: 0; margin-bottom: calc(var(--u) * 12); border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 11px solid #050d0c; transition: border-bottom-color .25s, filter .25s; }
.car-arrow.dn { transform: rotate(180deg); }
.ride.is-up .car-arrow.up, .ride.is-dn .car-arrow.dn { border-bottom-color: var(--amber); filter: drop-shadow(0 0 7px rgba(255, 190, 120, .9)); }
.pt-door { position: absolute; left: var(--jamb); right: var(--jamb); top: calc(var(--ped) + var(--lint)); bottom: var(--sill); padding: 10px 10px 0; }
.pt-door::before { content: ""; position: absolute; inset: 8px 8px 0; background: radial-gradient(circle at var(--px) var(--py), rgba(255, 249, 232, .8), rgba(255, 249, 232, .22) 9vmax, rgba(255, 249, 232, 0) 24vmax) fixed, linear-gradient(135deg, var(--m1), var(--m2) 38%, var(--m1) 62%, var(--m3)); }
.car-open { position: relative; width: 100%; height: 100%; overflow: hidden; background: #040606; }
.car-open::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset var(--shx, 0px) var(--shy, 14px) 30px -8px rgba(0, 0, 0, .9), inset 0 0 22px rgba(0, 0, 0, .35); }
.car-open .door { position: absolute; z-index: 2; top: 0; bottom: 0; width: 50.15%; height: auto; will-change: transform; }
.car-open .door.l { left: 0; } .car-open .door.r { right: 0; }
.car-open .door::before { background-attachment: fixed; }
.car-sill { position: absolute; left: calc(var(--jamb) - 12px); right: calc(var(--jamb) - 12px); bottom: 0; height: var(--sill); background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .4) 0 1px, transparent 1px 7px), linear-gradient(180deg, var(--m0), var(--m1) 30%, var(--m2)); box-shadow: 0 -1px 0 rgba(0, 0, 0, .6), 0 6px 14px rgba(0, 0, 0, .5); }
.portal::before, .portal::after { content: ""; position: absolute; top: calc(var(--ped) + var(--lint) + 6px); bottom: calc(var(--sill) + 14px); width: 5px; border-left: 1px solid rgba(207, 213, 211, .4); border-right: 1px solid rgba(207, 213, 211, .4); pointer-events: none; }
.portal::before { left: calc(var(--jamb) * .5 - 9px); } .portal::after { right: calc(var(--jamb) * .5 - 9px); }
.car-fl { position: absolute; inset: 0; display: block; visibility: hidden; }
.car-fl.is-on { visibility: visible; }
.car-fl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); filter: brightness(calc(.55 + .45 * var(--o, 1))); }
.car-fl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(4, 7, 6, .1), rgba(4, 7, 6, 0) 40%, rgba(4, 7, 6, .42) 70%, rgba(4, 7, 6, .9)); }
.car-cap { position: absolute; z-index: 1; left: clamp(18px, 2vw, 36px); right: clamp(18px, 2vw, 36px); bottom: clamp(16px, 1.8vw, 30px); display: flex; align-items: flex-end; gap: clamp(14px, 1.6vw, 28px); }
.car-n { font: 400 calc(clamp(90px, 10vw, 190px) * var(--fs))/calc(.78 + var(--fl)) var(--fd); color: var(--ivory); }
.car-t { flex: 1; min-width: 0; display: grid; gap: 8px; padding-bottom: 6px; }
.car-t .lbl { color: var(--neon); }
.car-t strong { font: 400 calc(clamp(28px, 2.9vw, 54px) * var(--fs))/calc(1 + var(--fl)) var(--fd); }
.car-go { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 10px; color: var(--ivory); white-space: nowrap; transition: color .4s; }
.car-go .st { margin: 0; transition: transform .9s var(--e-arrive); }
.car-fl:hover .car-go { color: var(--neon); }
.car-fl:hover .car-go .st { transform: rotate(180deg) scale(1.25); }

.car-panel { display: grid; gap: 13px; padding: 20px 13px; background: radial-gradient(circle at var(--px) var(--py), rgba(255, 252, 240, .7), rgba(255, 252, 240, 0) 18vmax) fixed, linear-gradient(180deg, var(--m1), var(--m2) 46%, var(--m1) 70%, var(--m3));
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px); }
.car-panel :is(button, a) { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 32%, #2c3230, #0a0d0c 72%); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .7), 0 1px 0 1px rgba(255, 255, 255, .28);
  font: 400 11.5px/1 "Josefin Sans", sans-serif; letter-spacing: .08em; color: #b9c0bb; transition: color .35s, box-shadow .35s, transform .5s var(--e-spring); }
.car-panel :is(button, a) span { padding-top: 2px; }
.car-panel :is(button, a):hover { transform: scale(1.07); color: #fff; }
.car-panel :is(button, a).is-on { color: #fff4dc; text-shadow: 0 0 10px rgba(255, 190, 120, .95); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .7), 0 0 0 2.5px var(--amber), 0 0 16px 2px rgba(255, 190, 120, .55); }

/* ——— r3 · a board's list fills the board: the rows share the height like the lines of a directory ——— */
.board.svc-ledger .kit { flex: 1 1 auto; grid-auto-rows: minmax(46px, 1fr); max-height: 760px; }
.board.svc-ledger .kit li { display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
.board.svc-ledger .kit li::before { top: 50%; margin-top: -3.5px; }

@media (max-height: 760px) and (min-width: 1181px) { .ride-copy .txt { display: none; } }
@media (max-width: 1180px) {      /* r5: was 900 — between 900 and 1180 the directory had no room beside the lift */
  #space.ride { --top: 86px; --jamb: 14px; --ped: 96px; --lint: 12px; --sill: 12px; --oh: max(210px, calc(var(--vh) - var(--top) - var(--ped) - var(--lint) - var(--sill) - 10px - 156px)); --ow: calc(100vw - 2 * var(--gut) - 2 * var(--jamb) - 20px); }
  .ride-in { grid-template-columns: minmax(0, 1fr); align-content: space-between; row-gap: 10px; }
  .ride-side { display: contents; }
  .ride-copy { order: 1; }
  .ride-copy .kick { margin-bottom: 8px; }
  .ride-copy .big { font-size: clamp(25px, 6.2vw, 38px); margin: 0; }
  .ride-copy .txt { display: none; }
  .portal { order: 2; justify-self: center; height: calc(var(--ped) + var(--lint) + var(--oh) + 10px + var(--sill)); }
  .board.dir { order: 3; margin: 0 auto 20px; }
  .dir .board-h, .dir .dir-read, .dir .dir-shaft, .dr b, .dr .lbl { display: none; }
  .dir .board-in { padding: 9px 14px; container-type: normal; }
  .dir-rows { display: flex; flex-direction: row-reverse; gap: 11px; padding: 0; }
  .dr { display: block; width: auto; height: auto; border: 0; }
  .cb { width: 42px; }
  .car-dial.dial { width: 124px; }
  .car-n { font-size: clamp(64px, 20vw, 110px); }
  .car-go { position: absolute; right: 0; top: -34px; }
}

/* ——— r3 · the cursor: the house light as a point; a ring where there is something to do, a word where the doing needs one (kit/cursor.js) ——— */
html.has-cur, html.has-cur * { cursor: none !important; }
html.has-cur :is(input, textarea) { cursor: text !important; }
html.has-cur select { cursor: default !important; }
.cur { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; transition: opacity .3s; }
.cur.out, .cur[data-s="off"], .cur[data-s="text"] { opacity: 0; }
html:not(.has-cur) .cur { visibility: hidden; }
.cur-r, .cur-d { position: absolute; left: 0; top: 0; will-change: transform; }
.cur-dot { position: absolute; left: -3.5px; top: -3.5px; width: 7px; height: 7px; border-radius: 50%; background: #fff6e2; box-shadow: 0 0 9px 2px rgba(255, 222, 170, .7), 0 0 0 1px rgba(0, 0, 0, .28); transition: transform .4s var(--e-arrive), opacity .25s; }
.cur-ring { position: absolute; left: -37px; top: -37px; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(242, 232, 213, .75); background: rgba(7, 11, 10, 0); transform: scale(0); opacity: 0;
  transition: transform .55s var(--e-arrive), opacity .25s, background .3s, border-color .3s; }
.cur-ring b { font: 400 9.5px/1 "Josefin Sans", sans-serif; letter-spacing: .26em; padding: 2px 0 0 .26em; text-transform: uppercase; color: var(--ivory); opacity: 0; transition: opacity .2s; }
.cur[data-s="link"] .cur-ring { transform: scale(.46); opacity: 1; border-color: var(--neon); border-width: 2px; }
.cur[data-s="link"] .cur-dot { transform: scale(.6); }
.cur:is([data-s="view"], [data-s="drag"], [data-s="play"], [data-s="enter"], [data-s="close"], [data-s="open"]) .cur-ring { transform: scale(1); opacity: 1; background: rgba(7, 11, 10, .62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.cur:is([data-s="view"], [data-s="drag"], [data-s="play"], [data-s="enter"], [data-s="close"], [data-s="open"]) .cur-ring b { opacity: 1; transition-delay: .12s; }
.cur:is([data-s="view"], [data-s="drag"], [data-s="play"], [data-s="enter"], [data-s="close"], [data-s="open"]) .cur-dot { transform: scale(0); }
.cur[data-s="drag"] .cur-ring::before, .cur[data-s="drag"] .cur-ring::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -3px; border-left: 1px solid var(--neon); border-bottom: 1px solid var(--neon); }
.cur[data-s="drag"] .cur-ring::before { left: 9px; transform: rotate(45deg); }
.cur[data-s="drag"] .cur-ring::after { right: 9px; transform: rotate(-135deg); }
.cur[data-s="play"] .cur-ring, .cur[data-s="enter"] .cur-ring { border-color: var(--neon); }
.cur.down .cur-ring { transition-duration: .18s; }
.cur.down:is([data-s="view"], [data-s="drag"], [data-s="play"], [data-s="enter"], [data-s="close"], [data-s="open"]) .cur-ring { transform: scale(.88); }
.cur.down[data-s="link"] .cur-ring { transform: scale(.38); }

/* ——— r4 · built in. Where the wall is drawn live (html.gl) a photograph's frame and a panel's glass are no longer boxes laid on the facade:
   the wall itself is moulded round them (kit/materials.js, hFacade). The DOM keeps only what is not masonry — the picture, a nickel bead, the type.
   Nothing built in casts a shadow outward; a window's reveal throws one inward, on the side the light comes from. ——— */
html.gl .vit-case { padding: 10px; background: none; box-shadow: none; }
html.gl .vit-case::before { content: ""; position: absolute; inset: 8px; pointer-events: none; background: radial-gradient(circle at var(--px) var(--py), rgba(255, 249, 232, .8), rgba(255, 249, 232, .22) 9vmax, rgba(255, 249, 232, 0) 24vmax) fixed, linear-gradient(135deg, var(--m1), var(--m2) 38%, var(--m1) 62%, var(--m3)); }
html.gl .vit-ph::after { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset var(--shx, 0px) var(--shy, 12px) 26px -8px rgba(0, 0, 0, .92), inset 0 0 20px rgba(0, 0, 0, .3); }
html.gl .vit-glass { inset: 10px; }
html.gl .board { padding: 0; background: none; box-shadow: none; }
html.gl .board-in { background: none; box-shadow: none; }
html.gl .board > .vit-glass { display: none; }
html.gl .vit-cap { margin-top: 36px; padding: 15px 20px 18px; }
html.gl [data-wall="chevron"] .vit-cap :is(b, .lbl, .vit-line) { text-shadow: none; }
html.gl .lgrid .vit { display: flex; flex-direction: column; height: 100%; }
html.gl .lgrid .vit-cap { flex: 1; align-content: start; }

/* ——— r5 · the marquee after the Wiltern's own (their photographs: brief/wiltern-ref/r2). WILTERN in open channel letters, red neon by night;
   panels of two nested white neon squares round an aqua plaque; a white board of letter tracks in upright panels; bold black gothic letters,
   red for the accent line; neon chevrons down the end pilasters; red tubes along the fascia. ——— */
.mq-crown { --n: 1; display: flex; justify-content: center; gap: .2em; margin: 0 auto; padding: 0 0 .05em .1em; font: 400 clamp(34px, 5.2vw, 88px)/.86 "Josefin Sans", sans-serif; letter-spacing: 0; color: transparent;
  -webkit-text-stroke: 1.5px rgb(255 226 220 / calc(.2 + .8 * var(--n))); text-shadow: 0 0 5px rgb(255 74 54 / calc(.9 * var(--n))), 0 0 20px rgb(255 64 44 / calc(.5 * var(--n))), 0 0 46px rgb(255 64 44 / calc(.22 * var(--n))); user-select: none; -webkit-user-select: none; }
.marquee.small .mq-crown, .films-crown .mq-crown { font-size: clamp(30px, 4.2vw, 72px); }
.marquee.neon .mq-ring { padding: 0 clamp(26px, 3.2vw, 44px) 16px; background: linear-gradient(180deg, #40646c, #2a444a 58%, #1d3237); }
.mq-chev { --n: 1; position: absolute; top: 9px; bottom: 16px; width: clamp(26px, 3.2vw, 44px); opacity: calc(.25 + .75 * var(--n)); filter: drop-shadow(0 0 3px rgba(190, 255, 248, .9)) drop-shadow(0 0 9px rgba(95, 230, 226, .5));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='15' viewBox='0 0 24 15'%3E%3Cpath d='M4 2.5 12 10 20 2.5' fill='none' stroke='%23f2fffd' stroke-width='1.7' stroke-linejoin='miter'/%3E%3C/svg%3E") 50% 0 / 62% auto repeat-y; }
.mq-chev.l { left: 0; } .mq-chev.r { right: 0; }
.mq-top { gap: clamp(6px, .9vw, 12px); padding: 10px 0 9px; }
.nq { aspect-ratio: 1.36; background: #1b3136; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6); }
.nq::before { inset: 9% 7%; border: 1.5px solid #f4fffd; border-radius: 4px; box-shadow: 0 0 5px 1px rgba(210, 255, 250, .8), inset 0 0 4px rgba(210, 255, 250, .6), 0 0 14px rgba(160, 240, 235, .3); }
.nq::after { inset: 22% 19%; background: none; border: 1.5px solid #f4fffd; border-radius: 3px; opacity: var(--n, 1); box-shadow: 0 0 5px 1px rgba(210, 255, 250, .75), inset 0 0 4px rgba(210, 255, 250, .55); }
.nq b { position: absolute; inset: 35% 32%; background: #a9d8cf; opacity: calc(.4 + .6 * var(--n, 1)); box-shadow: 0 0 calc(var(--n, 1) * 9px) rgba(95, 230, 226, .8); }
.nq b::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: #f2fffd; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.marquee.neon .mq-board { --tr: clamp(13px, 1.5vw, 22px); padding: 14px 16px 12px; gap: 8px;
  background: repeating-linear-gradient(180deg, rgba(20, 24, 24, 0) 0 calc(var(--tr) - 1px), rgba(20, 24, 24, .12) calc(var(--tr) - 1px) var(--tr)), repeating-linear-gradient(90deg, rgba(20, 22, 22, 0) 0 139px, rgba(20, 22, 22, .26) 139px 141px), linear-gradient(180deg, #fefdf9, #f5f2e9 70%, #ece8dc);
  box-shadow: inset 0 0 44px rgba(255, 255, 255, .75), inset 0 0 0 2px rgba(10, 16, 16, .75), 0 0 46px rgba(250, 250, 240, .22); }
.marquee.neon .mq-row { font: 800 clamp(16px, 2.05vw, 33px)/1 "Libre Franklin", "Antonio", sans-serif; letter-spacing: .05em; color: #121212; border-bottom: 0; height: 1.14em; padding-bottom: 0; text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 1px 2px 1px rgba(0, 0, 0, .28); }
.marquee.neon.small .mq-row { font-size: clamp(15px, 1.75vw, 28px); }
.marquee.neon .mq-row.is-red { color: #c2202b; }
.marquee.neon .mq-l { transform: translateY(var(--y, 0)) rotate(var(--r, 0)) scaleX(.86); padding: 0; }
.marquee.neon .mq-l.sp { width: .5em; }
.marquee.neon .mq-l.st { color: #c2202b; text-shadow: none; }
.mq-tube { left: clamp(26px, 3.2vw, 44px); right: clamp(26px, 3.2vw, 44px); height: 2.5px; }
@media (max-width: 760px) {
  .marquee.neon .mq-ring { padding: 0 20px 13px; }
  .mq-chev { width: 20px; bottom: 13px; }
  .marquee.neon .mq-board { padding: 9px 8px 8px; gap: 5px; }
  .marquee.neon .mq-row, .marquee.neon.small .mq-row { font-size: 4.2vw; }
  .mq-tube { left: 20px; right: 20px; }
  .mq-crown { font-size: 11vw; -webkit-text-stroke-width: 1.2px; }
}

/* ——— r5b · Sign = Sugar: their own neon logo stands on the marquee (as on their showreel card) ——— */
.mq-crown.is-logo { display: block; text-align: center; padding: 0 0 4px; font-size: 0; text-shadow: none; -webkit-text-stroke: 0; }
.mq-crown.is-logo img { display: inline-block; height: clamp(74px, 8.6vw, 150px); width: auto; opacity: calc(.18 + .82 * var(--n)); filter: drop-shadow(0 0 calc(var(--n) * 7px) rgba(95, 230, 226, .85)) drop-shadow(0 0 calc(var(--n) * 26px) rgba(95, 230, 226, .4)); }
.marquee.small .mq-crown.is-logo img, .films-crown .mq-crown.is-logo img { height: clamp(64px, 7vw, 122px); }
@media (max-width: 760px) { .mq-crown.is-logo img, .marquee.small .mq-crown.is-logo img, .films-crown .mq-crown.is-logo img { height: 20vw; } }

/* ═══ r6 · batch 1 ═══ */
/* the screen: the curtain's canvas is wider than the picture (118 %), so the gathered drapes (a tenth of each half) hang beside the player,
   never on its controls. Under 900 px there is no room beside it: the curtain fades once it has opened. */
.cine-screen { width: min(78vw, 138vh); }
.cine .curtain { left: -9%; top: -4%; width: 118%; height: 108%; }
@media (max-width: 900px) { .cine-screen { width: 96vw; } .cine .curtain { left: 0; top: 0; width: 100%; height: 100%; transition: opacity .7s; } .cine.is-open .curtain { opacity: 0; } }

/* a department on the home page: picture and nameplate in one frame (the wall moulds a single tablet round both) */
html.gl .vit-one { padding: clamp(10px, .95vw, 18px) clamp(10px, .95vw, 18px) clamp(14px, 1.2vw, 24px); }
html.gl .vit-one .vit-case { padding: 2px; }
html.gl .vit-one .vit-case::before { inset: 0; }
html.gl .vit-one .vit-glass { inset: 2px; }
html.gl .vit-one .vit-cap { margin-top: 0; padding: clamp(16px, 1.5vw, 28px) 2px 0; }
html.gl .vit-one .vit-line { color: #c3cdc7; }
html:not(.gl) .vit-one { padding: 12px 12px 18px; background: linear-gradient(180deg, #0c1413, #060a09); box-shadow: 0 0 0 1px #000, 0 0 0 4px var(--m2), 0 0 0 5px #000, 0 24px 40px -8px rgba(0, 0, 0, .7); }
html:not(.gl) .vit-one .vit-cap { padding: 18px 4px 0; }

/* the home lift · directory rows on two lines (name, then what happens there): nothing is cut short at any width */
.board.dir { --rh: clamp(50px, 6.5vh, 68px); }
.dr { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; row-gap: 5px; }
.dr .cb { grid-row: 1 / 3; }
.dr b { font-size: calc(clamp(20px, 1.62vw, 30px) * var(--ft)); overflow: visible; }
.dr .lbl { text-align: left; font-size: 9.5px; letter-spacing: .26em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 400px) { .dr .lbl { display: block; } .dr { grid-template-columns: auto minmax(0, 1fr); } }
/* … the lift stands on a plinth, a clear step above the bottom of the screen (it used to end on the screen's own edge, the sill half cut) */
@media (min-width: 1181px) {
  #space.ride { --foot: clamp(22px, 4.2vh, 48px);
    --oh: max(230px, calc(var(--vh) - var(--top) - var(--ped) - var(--lint) - var(--sill) - var(--foot) - 10px)); }
  #space.ride .portal { height: calc(100% - var(--foot)); }
  .ride-side { padding-bottom: var(--foot); }
  .board.dir { margin-bottom: 0; }
}
.pt-slab.s4 { left: -2.2%; right: -2.2%; top: 100%; bottom: auto; height: calc(var(--foot) * .46); }
html:not(.gl) .pt-slab.s4 { background: linear-gradient(#10201f, #0a1514); }
/* … and its two lanterns sit on the shoulders of the pediment, one each side of the indicator: up left, down right */
.pt-head { display: block; }
.pt-head .car-dial { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.car-lan { position: absolute; top: calc(var(--ped) * .69); width: calc(var(--u) * 40); aspect-ratio: 1; margin: calc(var(--u) * -20) 0 0 calc(var(--u) * -20); border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #1a2221, #060909 72%); box-shadow: 0 0 0 1.5px rgba(207, 213, 211, .62), 0 0 0 3px rgba(0, 0, 0, .55), inset 0 2px 6px rgba(0, 0, 0, .9), 0 5px 10px rgba(0, 0, 0, .45); }
.car-lan.up { left: 30%; } .car-lan.dn { left: 70%; }
.car-lan b { position: absolute; inset: 27% 25% 31%; background: #34403d; clip-path: polygon(50% 0, 100% 100%, 0 100%); transition: background .25s, filter .25s; }
.car-lan.dn b { inset: 31% 25% 27%; transform: rotate(180deg); }
.ride.is-up .car-lan.up b, .ride.is-dn .car-lan.dn b { background: var(--amber); filter: drop-shadow(0 0 5px rgba(255, 190, 120, .95)); }
.ride.is-up .car-lan.up, .ride.is-dn .car-lan.dn { box-shadow: 0 0 0 1.5px rgba(255, 216, 168, .9), 0 0 0 3px rgba(0, 0, 0, .55), inset 0 2px 6px rgba(0, 0, 0, .9), 0 0 18px 2px rgba(255, 190, 120, .4); }
@media (max-width: 1180px) { #space.ride { --foot: 0px; } #space.ride .pt-slab.s4 { display: none; } .dr { display: block; } .car-lan { width: 26px; margin: -13px 0 0 -13px; } }

/* the marquee's crown: the logo's glow lies over the top of the housing (it was cut off by it), and the sign stands a little clear */
.mq-crown { position: relative; z-index: 3; }
.mq-crown.is-logo { padding-bottom: clamp(6px, .7vw, 12px); }
.marquee.neon .mq-ring::after { content: ""; position: absolute; left: 22%; right: 22%; top: 0; height: 46%; pointer-events: none; background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(95, 230, 226, calc(.2 * var(--n, 1))), transparent 72%); mix-blend-mode: screen; }

/* ——— type. Melodrama is the nearest real face to the tall stressed capitals in Sugar's own pictures (sketches/type/match.html) and is now the display
   face. A display face is for titles and names: sentences, addresses, telephone numbers and what a visitor types are set in the text face. ——— */
html[data-type="melodrama"] { --fs: .8; --ft: .96; --fl: .1; }
html[data-type="melodrama"] :is(.sec-lede, .plede, .ride-copy .txt, .dr-l, .bld-l, .art-text p.first, .dept-line, .bo-big, .find input, .ticket input:not([type="checkbox"]), .ticket textarea) {
  --ft: .7; font-family: "Instrument Sans", system-ui, sans-serif; line-height: 1.4; letter-spacing: -.006em; }
html[data-type="melodrama"] .bo-big { --ft: .78; line-height: 1.3; }
html[data-type="melodrama"] .sec-lede { max-width: 34em; }
/* … and the section banners take their lettering: tall, thin, tracked capitals */
html[data-type="melodrama"] .banner :is(h1, h2) { font: 300 clamp(25px, 2.75vw, 48px)/1 var(--fd); letter-spacing: .26em; padding-left: .26em; }
html[data-type="melodrama"] .lw-you b { font: 300 clamp(19px, 1.9vw, 34px)/1.12 var(--fd); letter-spacing: .14em; padding-left: .14em; }

/* ═══ r6 · batch 2 ═══ */
/* the lift's doors: a deco leaf in satin nickel (assets/door.svg, drawn by tools/p_r6_door.py). The two leaves meet on one sunburst. */
.door { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, rgba(0, 0, 0, .025) 1px 3px), linear-gradient(90deg, #131817, #2e3735 24%, #56605e 56%, #747e7c 84%, #4a5351); }
.door.r { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, rgba(0, 0, 0, .025) 1px 3px), linear-gradient(270deg, #131817, #2e3735 24%, #56605e 56%, #747e7c 84%, #4a5351); }
.door i, .door.r i { inset: 0; border: 0; box-shadow: none; background: url(/assets/door.svg) center / 100% 100% no-repeat; }
.door.r i { transform: scaleX(-1); }
.door::before { z-index: 1; background: radial-gradient(circle at var(--px) var(--py), rgba(255, 246, 226, .46), transparent 30vmax); }
.door::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .34), transparent 16%, transparent 78%, rgba(0, 0, 0, .3)); }
.door.l { box-shadow: inset -2px 0 0 rgba(0, 0, 0, .85); } .door.r { box-shadow: inset 2px 0 0 rgba(0, 0, 0, .85); }
/* … over the page transition's doors, the head: deep glaze, the indicator on it, a lantern each side (the one for the car's direction is lit) */
.lift-head { --u: 1.1px; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: clamp(150px, 23vh, 250px);
  background: linear-gradient(180deg, #081413, #0f2424 62%, #0b1b1b); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .9), inset 0 -3px 0 rgba(207, 213, 211, .55), inset 0 -4px 0 rgba(0, 0, 0, .8), inset 0 -11px 0 #0a1717, inset 0 -12px 0 rgba(207, 213, 211, .28), 0 14px 34px rgba(0, 0, 0, .6); }
#liftDial { position: absolute; left: 50%; top: auto; bottom: 12px; margin-left: 0; transform: translateX(-50%); width: min(250px, 50vw); }
.lift-head .car-lan { top: auto; bottom: clamp(34px, 6vh, 64px); margin-top: 0; }
.lift-head .car-lan.up { left: calc(50% - min(250px, 50vw) * .5 - 74px); } .lift-head .car-lan.dn { left: calc(50% + min(250px, 50vw) * .5 + 74px); }
:is(#lift, .bld-portal).is-up .car-lan.up b, :is(#lift, .bld-portal).is-dn .car-lan.dn b { background: var(--amber); filter: drop-shadow(0 0 5px rgba(255, 190, 120, .95)); }
:is(#lift, .bld-portal).is-up .car-lan.up, :is(#lift, .bld-portal).is-dn .car-lan.dn { box-shadow: 0 0 0 1.5px rgba(255, 216, 168, .9), 0 0 0 3px rgba(0, 0, 0, .55), inset 0 2px 6px rgba(0, 0, 0, .9), 0 0 18px 2px rgba(255, 190, 120, .4); }
/* a narrow directory (1440-wide screens): the header keeps to one line and the button does not break */
@container (max-width: 340px) { .dir .board-h .lbl:last-child { display: none; } .dir-read .cta { white-space: nowrap; letter-spacing: .2em; } }

/* ═══ r6 · batch 5 ═══ */
/* the home lift · four floors; the car marker's travel follows the number of rows; a called floor's button stays lit until the car is there */
.dir-shaft b { transform: translateY(calc((var(--nf, 5) - 1 - var(--p, 0)) * var(--rh))); }
.dr.is-called { color: var(--ivory); }
.dr.is-called .cb { color: #fff4dc; box-shadow: inset 0 2px 5px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .7), 0 0 0 2px var(--amber), 0 0 12px 1px rgba(255, 190, 120, .4); animation: called 1.1s var(--e-house) infinite alternate; }
@keyframes called { from { filter: brightness(.8); } to { filter: brightness(1.25); } }
.dir-go { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.dir-ldn { font-size: 9.5px; color: var(--mute); transition: color .4s; } .dir-ldn:hover { color: var(--neon); }
@media (max-width: 1180px) { .dr.is-called .cb { animation: none; } }

/* ——— the screen (trailers, reels) as a small proscenium: the curtain and the picture are one thing. A frame in the house's deep enamel with a nickel bead,
   a stepped crest with the star, a velvet valance the drapes hang from, a stage lip under the picture. The drapes come to rest in the wings, just clear of
   the player. Under 900 px there are no wings: the overlay stays the bare screen and the curtain fades once open (batch 1). ——— */
@media (min-width: 901px) {
  .cine-screen { z-index: 0; width: min(72vw, 124vh); margin-top: 3.6vh; box-shadow: 0 0 0 1px #000, 0 0 0 3px #0a0d0d, 0 0 60px rgba(120, 140, 150, .12); }
  .cine-screen::before { content: ""; position: absolute; z-index: -1; left: -7%; right: -7%; top: -9%; bottom: -7.7%; background: radial-gradient(ellipse 70% 60% at 50% 46%, #0b1111, #020404 78%); }
  .cine .curtain { z-index: 1; left: -7%; width: 114%; top: -9%; height: 112.2%; }
  .cine-arch { position: absolute; z-index: 2; pointer-events: none; left: -7%; right: -7%; top: -9%; bottom: -7.7%;
    box-shadow: 0 0 0 2px rgba(207, 213, 211, .7), 0 0 0 4px #040707, 0 0 0 17px #133033, 0 0 0 18px rgba(207, 213, 211, .32), 0 0 0 23px #0a1818, 0 0 0 24px rgba(0, 0, 0, .9), 0 46px 120px rgba(0, 0, 0, .8),
      inset 0 0 0 1px rgba(0, 0, 0, .85), inset 26px 0 44px -26px rgba(0, 0, 0, .7), inset -26px 0 44px -26px rgba(0, 0, 0, .7), inset 0 -30px 40px -26px rgba(0, 0, 0, .6); }
  .cine-arch::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 17px); width: 24%; height: clamp(26px, 4.4vh, 46px); transform: translateX(-50%);
    background: linear-gradient(180deg, #1b4144, #133033 55%, #0f2729); clip-path: polygon(0 100%, 0 68%, 15% 68%, 15% 35%, 31% 35%, 31% 0, 69% 0, 69% 35%, 85% 35%, 85% 68%, 100% 68%, 100% 100%); }
  .cine-arch::after { content: ""; position: absolute; left: 50%; bottom: calc(100% + 17px + clamp(26px, 4.4vh, 46px) * .5); width: 13px; height: 13px; margin: 0 0 -6px -6.5px; background: var(--neon);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 5px var(--neon)); }
  .cine-val { position: absolute; z-index: 3; pointer-events: none; left: -7%; right: -7%; top: -9%; height: 9.4%;
    background: linear-gradient(180deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .08) 26%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .42)),
      repeating-linear-gradient(90deg, #32060a 0, #6f141a 8px, #b33a3a 14px, #8a1c22 19px, #4d0a10 28px, #2a0508 34px);
    -webkit-mask: radial-gradient(ellipse 50% 100% at 50% 0, #000 98%, transparent 100%) 0 100% / 12.5% 48% repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 54% no-repeat;
    mask: radial-gradient(ellipse 50% 100% at 50% 0, #000 98%, transparent 100%) 0 100% / 12.5% 48% repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 54% no-repeat; }
  .cine-lip { position: absolute; z-index: 3; pointer-events: none; left: -7%; right: -7%; top: 103.2%; height: 4.5%;
    background: radial-gradient(circle at 50% 42%, rgba(255, 222, 176, .85) 0 1.6px, rgba(255, 200, 140, .16) 2.4px 7px, transparent 8px) 0 0 / 5.55% 100% repeat-x, linear-gradient(180deg, #17393c, #0d2022 46%, #081414);
    box-shadow: inset 0 1px 0 rgba(207, 213, 211, .6), inset 0 2px 0 rgba(0, 0, 0, .7), 0 -14px 26px -10px rgba(0, 0, 0, .8); }
}
@media (max-width: 900px) { .cine-arch, .cine-val, .cine-lip { display: none; } }

/* ═══ r6 · batch 7 ═══ */
/* header: the right-hand cell */
.top-r { justify-self: end; display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.top-r .book { justify-self: auto; }
@media (max-width: 760px) { .top-r { display: none; } }

/* the lobby floor · Bobbi's prints: wet on the terrazzo, drying away */
.paws { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.paw { position: absolute; width: 25px; height: 27px; margin: -13px 0 0 -12px; background: linear-gradient(180deg, rgba(238, 252, 247, .82), rgba(198, 232, 223, .5)); filter: drop-shadow(0 0 3px rgba(0, 0, 0, .95)); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
  transform: rotate(var(--r, 0deg)); animation: paw 3.6s var(--e-ui) forwards; }
@keyframes paw { 0% { opacity: 0; transform: rotate(var(--r, 0deg)) scale(.7); } 6% { opacity: 1; transform: rotate(var(--r, 0deg)) scale(1); } 45% { opacity: .8; } 100% { opacity: 0; } }
.foot-in { position: relative; z-index: 1; }
.paw-note { position: absolute; left: 50%; bottom: 108px; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font: 400 9.5px/1.4 "Josefin Sans", system-ui, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); opacity: 0; visibility: hidden; transition: opacity 1.4s, color .4s, visibility 0s 1.4s; }
.paw-note.is-on { opacity: 1; visibility: visible; transition: opacity 1.4s, color .4s; }
.paw-note:hover { color: var(--neon); }
.paw-note i { width: 11px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 44'%3E%3Cg%3E%3Cellipse cx='20' cy='29' rx='10.5' ry='9'/%3E%3Cellipse cx='6.5' cy='16.5' rx='4.2' ry='5.6'/%3E%3Cellipse cx='15' cy='8.5' rx='4.3' ry='6'/%3E%3Cellipse cx='25.5' cy='8.5' rx='4.3' ry='6'/%3E%3Cellipse cx='33.5' cy='16.5' rx='4.2' ry='5.6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 44'%3E%3Cg%3E%3Cellipse cx='20' cy='29' rx='10.5' ry='9'/%3E%3Cellipse cx='6.5' cy='16.5' rx='4.2' ry='5.6'/%3E%3Cellipse cx='15' cy='8.5' rx='4.3' ry='6'/%3E%3Cellipse cx='25.5' cy='8.5' rx='4.3' ry='6'/%3E%3Cellipse cx='33.5' cy='16.5' rx='4.2' ry='5.6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 760px) { .paw-note { position: static; transform: none; margin-top: 18px; white-space: normal; } }

/* ═══ r6 · batch 10 ═══ */
.pinseat { display: block; height: 0; pointer-events: none; }      /* the hairline that seats a pinned section on a whole pixel (app.js seat()) */

/* ═══ r6 · batch 12 ═══ */
/* the marquee as a canopy, not a panel. --b (0…1) is its bulbs; the board's own --on is the light it throws on the wall. */
.marquee.neon .mq-ring { box-shadow: 0 46px 90px rgba(0, 0, 0, .7), 0 12px 22px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .2), inset 14px 0 18px -12px rgba(0, 0, 0, .55), inset -14px 0 18px -12px rgba(0, 0, 0, .55); }
/* the cap: the top of the housing catches light */
.mq-cap { position: absolute; left: -7px; right: -7px; top: -8px; height: 9px; background: linear-gradient(180deg, #6a9199, #3a5b62 55%, #233b40); box-shadow: 0 -1px 0 rgba(255, 255, 255, .22), 0 3px 5px rgba(0, 0, 0, .55); }
/* two stays up to the wall */
.mq-rod { position: absolute; bottom: calc(100% + 6px); width: 2px; height: clamp(34px, 4.6vw, 66px); background: linear-gradient(180deg, rgba(120, 150, 156, .0), #7f9da2 22%, #2c4146); transform-origin: 50% 100%; }
.mq-rod.l { left: 9%; transform: rotate(-24deg); } .mq-rod.r { right: 9%; transform: rotate(24deg); }
.mq-crown.is-logo ~ .mq-ring .mq-rod { display: none; }      /* under the Sugar sign the stays would cross it */
/* heavier glass: the squares' tubes and the chevrons */
.nq { background: #162a2e; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), inset 0 6px 10px -6px rgba(0, 0, 0, .8); }
.nq::before { border-width: 2px; box-shadow: 0 0 6px 1.5px rgba(214, 255, 250, .9), inset 0 0 5px 1px rgba(214, 255, 250, .7), 0 0 18px 2px rgba(150, 240, 233, .34); }
.nq::after { border-width: 2px; box-shadow: 0 0 6px 1.5px rgba(214, 255, 250, .85), inset 0 0 5px 1px rgba(214, 255, 250, .6); }
.nq b { background: #b4e6dc; box-shadow: 0 0 calc(var(--n, 1) * 12px) 1px rgba(95, 230, 226, .9); }
.mq-chev { filter: drop-shadow(0 0 3px rgba(200, 255, 249, .95)) drop-shadow(0 0 10px rgba(95, 230, 226, .6)); background-size: 70% auto; }
/* the board: backlit glass — hottest in the middle, falling off to the frame; the letters keep their weight */
.marquee.neon .mq-board { box-shadow: inset 0 0 0 2px rgba(10, 16, 16, .8), inset 0 0 26px rgba(120, 110, 80, .28), 0 0 calc(18px + 34px * var(--on, 1)) rgba(250, 250, 238, calc(.1 + .2 * var(--on, 1))); }
.marquee.neon .mq-board::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 62% 96% at 50% 46%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 72%), linear-gradient(112deg, rgba(255, 255, 255, 0) 0 38%, rgba(255, 255, 255, .22) 38.4% 44%, rgba(255, 255, 255, 0) 44.4%); mix-blend-mode: soft-light; }
.marquee.neon .mq-board::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(6, 12, 12, calc(.5 - .5 * var(--on, 1))); }
.marquee.neon .mq-row { position: relative; z-index: 1; }
@media (max-width: 760px) { .mq-rod { display: none; } .mq-cap { left: -4px; right: -4px; } }

/* ═══ r6 · batch 13 ═══ */
/* the sign's head, as the Wiltern's marquee has it on its end face today (the owner's photograph): a dark arched pediment, a red neon tube round its arch,
   the house's name in it — here Sugar's own neon where the building's reads WILTERN. --n is the tubes (the marquee's strike drives it). */
.mq-crown.is-arch { --n: 1; position: relative; z-index: 3; display: grid; place-items: center; width: 100%; height: clamp(72px, 8.2vw, 134px); margin: 0; padding: 0; font-size: 0; text-shadow: none; -webkit-text-stroke: 0;
  background: radial-gradient(ellipse 62% 96% at 50% 100%, #132c31, #070f11 72%); border-radius: 47% 47% 0 0 / 94% 94% 0 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .85), 0 -20px 60px rgba(0, 0, 0, .45); }
.mq-arch-n { position: absolute; inset: 5px 5px 0; border: 3px solid rgb(255 224 216 / calc(.22 + .78 * var(--n))); border-bottom: 0; border-radius: 47% 47% 0 0 / 94% 94% 0 0; opacity: calc(.3 + .7 * var(--n));
  filter: drop-shadow(0 0 4px rgb(255 74 54 / .95)) drop-shadow(0 0 13px rgb(255 64 44 / .6)) drop-shadow(0 0 30px rgb(255 64 44 / .28)); }
.mq-crown.is-arch img { position: relative; display: block; height: 77%; width: auto; margin-top: 3.5%; opacity: calc(.18 + .82 * var(--n));
  filter: drop-shadow(0 0 calc(var(--n) * 6px) rgba(95, 230, 226, .85)) drop-shadow(0 0 calc(var(--n) * 22px) rgba(95, 230, 226, .4)); }
/* under the arch the board stands between its chevrons alone: the band of squares, the cap and the stays belong to the other faces */
.marquee.has-arch .mq-top, .marquee.has-arch .mq-cap, .marquee.has-arch .mq-rod { display: none; }
.marquee.neon.has-arch .mq-ring { padding-top: clamp(9px, 1vw, 15px); }
.marquee.has-arch .mq-chev { top: clamp(9px, 1vw, 15px); }

/* ═══ r6 · batch 14 ═══ */
/* the sign's chevron columns: whole chevrons, spaced to fill the board's height from head to foot */
.marquee.neon .mq-chev { background-repeat: no-repeat; background-repeat: no-repeat space; background-position: 50% 0; }

/* ═══ r6 · final 1 ═══ */
/* header · the way to the 3D floors: a small cube that turns on hover, beside "Book a session" */
.tour3d { display: inline-flex; align-items: center; gap: 9px; padding: 12px 0; font: 400 11px/1 "Josefin Sans", sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--paper); opacity: .86; transition: opacity .4s, color .4s; }
.tour3d:hover { opacity: 1; color: var(--neon); }
.t3-cube { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--neon); stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(95, 230, 226, .6)); transition: transform 1.1s var(--e-arrive); }
.tour3d:hover .t3-cube { transform: rotate(120deg); }
.tour3d > span { padding-top: 1px; }
.nav-3d { display: none; }
@media (max-width: 1320px) { .tour3d > span { display: none; } }
@media (max-width: 760px) { .nav .nav-3d { display: block; color: var(--neon); opacity: 1; } }
/* the screen's title line can carry a way out */
.cine-out { margin-left: 2.2em; color: var(--neon); }
/* keyboards: first Tab offers the page itself */
.skip { position: fixed; z-index: 400; left: 16px; top: -60px; padding: 12px 16px; background: var(--ink); color: var(--ivory); border: 1px solid var(--neon); font: 400 11px/1 "Josefin Sans", sans-serif; letter-spacing: .24em; text-transform: uppercase; transition: top .3s; }
.skip:focus { top: 14px; }
#page:focus { outline: 0; }

/* ═══ r6 · final 3 ═══ */
/* section banners: the deco speed-line — three rules, the middle one long, the outer two short and close to the star */
.banner .orn { height: 13px; }
.banner .orn::before { left: 0; right: 24px; top: 0; height: 13px;
  background: linear-gradient(90deg, transparent, rgba(242, 232, 213, .58)) 0 6px / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(242, 232, 213, .4)) 100% 0 / min(34%, 190px) 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(242, 232, 213, .4)) 100% 12px / min(34%, 190px) 1px no-repeat; }
.banner .orn:nth-of-type(2)::before { left: 24px; right: 0;
  background: linear-gradient(270deg, transparent, rgba(242, 232, 213, .58)) 0 6px / 100% 1px no-repeat,
    linear-gradient(270deg, transparent, rgba(242, 232, 213, .4)) 0 0 / min(34%, 190px) 1px no-repeat,
    linear-gradient(270deg, transparent, rgba(242, 232, 213, .4)) 0 12px / min(34%, 190px) 1px no-repeat; }
.banner .orn::after { top: 2px; }
/* header: the 3D link and "Book a session" share the right-hand cell */
@media (max-width: 1600px) { .top-r { gap: 20px; } }
@media (max-width: 1380px) { .tour3d > span { display: none; } }
@media (max-width: 1180px) { .tour3d { display: none; } }      /* no room beside the nav: the footer and the Space pages carry the link, the phone menu has it too */

/* ═══ r6 · final 4 ═══ */
.mq-board { grid-template-columns: minmax(0, 1fr); }
.mq-row { min-width: 0; }
.mq-in { flex: none; }      /* the line keeps its own width and is narrowed about its middle (it used to be squeezed from one side) */
