@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(../assets/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(../assets/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(../assets/fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(../assets/fonts/inter-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-display: swap; src: url(../assets/fonts/inter-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-style: italic; font-display: swap; src: url(../assets/fonts/inter-latin-800-italic.woff2) format('woff2'); }


:root {
  --ink: #08090c; --ink-2: #171a21; --paper: #fbfaf7; --cream: #f2efe8; --cream-2: #e9e5db;
  --orange: #ff6a00; --brand-orange: #f36d33; --brand-gray: #6e7173;
  --muted: #7b7e86; --line: rgba(8,9,12,.11); --success: #1f6b3a;
  --ease: cubic-bezier(.22,.8,.22,1); --ease-io: cubic-bezier(.65,0,.35,1); --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #e7e4dc; color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { display: block; }
a { color: inherit; }
#app { position: fixed; inset: 0; overflow: hidden; user-select: none; -webkit-user-select: none; }

/* ---------------- 3D hall ---------------- */
#stage { position: absolute; inset: 0; perspective: var(--P, 1000px); perspective-origin: 50% 50%; overflow: hidden; background: #e4e1d9; transition: opacity .7s var(--ease-io); }
#world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.plane { position: absolute; left: 0; top: 0; transform-origin: 0 0; backface-visibility: hidden; }
.plane .shade { position: absolute; inset: 0; pointer-events: none; }
.plane .panels { position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 298px, rgba(8,9,12,.045) 298px 300px), linear-gradient(transparent 0 0); }
.wall-back { background: radial-gradient(120% 90% at 50% 40%, #f7f5f0 0%, #eeebe4 45%, #dfdbd2 100%); }
.wall-back .shade { background: linear-gradient(to right, rgba(40,36,30,.16), transparent 9%, transparent 91%, rgba(40,36,30,.16)), linear-gradient(to bottom, rgba(40,36,30,.08), transparent 14%, transparent 84%, rgba(40,36,30,.14)); }
.wall-left { background: linear-gradient(to left, #d8d4ca 0%, #e8e5de 30%, #f0eee8 75%, #ebe8e1 100%); }
.wall-right { background: linear-gradient(to right, #d8d4ca 0%, #e8e5de 30%, #f0eee8 75%, #ebe8e1 100%); }
.wall-left .shade, .wall-right .shade { background: linear-gradient(to bottom, rgba(40,36,30,.07), transparent 14%, transparent 84%, rgba(40,36,30,.14)); }
.floor { background: linear-gradient(to bottom, #b9bab8 0%, #cacbc8 25%, #d8d8d5 60%, #dfdfdc 100%); }
.floor .shade { background:
  radial-gradient(60% 40% at 50% 18%, rgba(255,255,255,.45), transparent 70%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='3' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .3 0 0 0 0 .3 0 0 0 .10 0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ceiling { background: linear-gradient(to top, #ecebe7, #d6d4ce); }
.ceiling .shade { background: repeating-linear-gradient(90deg, transparent 0 340px, rgba(255,255,255,.9) 340px 352px, transparent 352px 700px); opacity: .7; }

.fixture { position: absolute; cursor: pointer; }
.fx-item { position: absolute; cursor: pointer; transition: transform .35s var(--ease), opacity .35s; }
.fx-item:hover { transform: translateY(-6px); }
.fx-item.lifted { opacity: 0; transition: none; }
.fx-item img, .fx-item video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.screen-item video { border-radius: 4px; background: #0d0f12; }
.press-wall { position: absolute; pointer-events: none; }
.press-wall .fx-item { pointer-events: auto; }
.press-item { padding: 10px 10px 14px; }
.press-item::after { content: ''; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -36px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.9) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 7v10l8-5z" fill="%2308090c"/></svg>') center/30px no-repeat; box-shadow: 0 6px 18px rgba(0,0,0,.25); opacity: .9; transition: transform .3s var(--ease); }
.press-item:hover::after { transform: scale(1.08); }

.brandwall { position: absolute; display: flex; flex-direction: column; align-items: center; pointer-events: none; text-align: center; }
.brandwall .t { font-weight: 700; font-size: 64px; letter-spacing: -.02em; color: rgba(8,9,12,.72); }
.brandwall .t em { font-style: normal; color: var(--orange); }
.family { position: absolute; cursor: pointer; transform-origin: 50% 100%; transition: opacity .6s var(--ease-io); }
[data-view="software"] .family, [data-view="solutions"] .family, [data-view="software"] .press-wall, [data-view="solutions"] .press-wall { opacity: 0; pointer-events: none; }
.press-wall { transition: opacity .6s var(--ease-io); }
.family img { width: 100%; display: block; filter: drop-shadow(0 30px 24px rgba(20,18,14,.28)); pointer-events: none; }
.family .floorshadow { position: absolute; left: 4%; right: 4%; bottom: -26px; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20,18,14,.35), transparent); }

/* software screens */
.screen-item { border-radius: 14px; background: #121418; padding: 14px 14px 18px; box-shadow: 0 2px 0 rgba(255,255,255,.08) inset, 24px 36px 50px rgba(20,18,14,.25), 4px 6px 10px rgba(20,18,14,.15); }
.screen-item img { border-radius: 4px; object-fit: cover; object-position: 0 0; background: #fff; }
.screen-item::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 34px; height: 4px; border-radius: 2px; background: #2d3036; transform: translateX(-50%); }
.screen-item.glow::before { content: ''; position: absolute; inset: -2px; border-radius: 16px; box-shadow: 0 0 0 2px var(--orange); opacity: 0; transition: opacity .3s; }
.screen-item:hover::before { opacity: 1; }
.plate { position: absolute; text-align: left; pointer-events: none; }
.plate .k { font-size: 20px; font-weight: 600; letter-spacing: .18em; color: var(--orange); text-transform: uppercase; }
.plate .n { font-size: 40px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; color: var(--ink); }
.plate .m { font-size: 24px; color: #5a5d64; margin-top: 6px; }
.wall-title { position: absolute; font-weight: 700; font-size: 64px; letter-spacing: -.02em; color: rgba(8,9,12,.78); pointer-events: none; }
.wall-title small { display: block; font-size: 22px; letter-spacing: .24em; color: var(--orange); font-weight: 600; margin-bottom: 10px; }

/* solutions frames */
.frame-item { background: #fff; padding: 16px; box-shadow: 22px 34px 46px rgba(20,18,14,.24), 4px 6px 10px rgba(20,18,14,.12); }
.frame-item img { object-fit: cover; }

/* ---------------- Fleet floor ---------------- */
#fleet { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.1); transform-origin: 50% 55%;
  transition: opacity .75s var(--ease-io), transform 1.05s var(--ease), visibility 0s linear .8s; touch-action: pan-y; }
[data-scene="fleet"] #fleet { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease-io) .25s, transform 1.1s var(--ease) .1s, visibility 0s; }
[data-scene="fleet"] #stage { opacity: 0; transition: opacity .7s var(--ease-io) .35s; }
.fl-wall { position: absolute; inset: 0; background:
  linear-gradient(to right, rgba(40,36,30,.08), transparent 12%, transparent 88%, rgba(40,36,30,.08)),
  repeating-linear-gradient(90deg, transparent 0 calc(12.5vw - 1px), rgba(8,9,12,.035) calc(12.5vw - 1px) 12.5vw),
  radial-gradient(110% 80% at 50% 30%, #f8f6f1 0%, #eeebe4 55%, #e2ded5 100%); }
.fl-head { position: absolute; left: 50%; top: var(--headY, 13%); transform: translateX(-50%); text-align: center; pointer-events: none; transition: opacity .5s; white-space: nowrap; }
.fl-head .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--orange); }
.fl-head .big { font-size: clamp(22px, 3.1vw, 44px); font-weight: 700; letter-spacing: -.03em; margin-top: 8px; }
.fl-head .big em { font-style: normal; color: #8a8d94; }
.fl-floor { position: absolute; left: 0; right: 0; top: var(--floorTop, 62%); bottom: 0;
  background: linear-gradient(to bottom, #c3c4c1 0, #d2d3d0 10%, #dcdcd9 55%, #e3e3e0 100%); box-shadow: 0 -1px 0 rgba(0,0,0,.05); overflow: hidden; }
#track { position: absolute; inset: 0; perspective: 1600px; perspective-origin: 50% var(--floorY, 74%); outline: none; cursor: grab; touch-action: pan-y; }
#track.dragging { cursor: grabbing; }
.bot { position: absolute; left: 50%; top: var(--floorY, 74%); width: 0; height: 0; transform-origin: 0 0; will-change: transform; transition: opacity .45s var(--ease-io); }
.bot .inner { position: absolute; left: 0; bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.bot img { display: block; width: auto; pointer-events: none; position: relative; z-index: 1; filter: drop-shadow(10px 18px 14px rgba(20,18,14,.26)); margin-bottom: calc(var(--disc) * -.11); }
.bot .disc { width: var(--disc); height: calc(var(--disc) * .2); border-radius: 50%; position: relative;
  background: radial-gradient(70% 70% at 50% 35%, #fbfaf7, #e4e2dc 70%, #cfcdc6); box-shadow: 0 calc(var(--disc) * .03) 0 #b8b5ad, 0 calc(var(--disc) * .07) calc(var(--disc) * .08) rgba(20,18,14,.25); }
.bot .disc::after { content: ''; position: absolute; inset: 18% 10%; border-radius: 50%; border: 2px solid rgba(255,106,0,.0); transition: border-color .3s; }
.bot.center .disc::after { border-color: transparent; }
#trackLabel { position: absolute; left: 50%; top: var(--labelY, 82%); transform: translateX(-50%); text-align: center; pointer-events: none; transition: opacity .25s; white-space: nowrap; }
#trackLabel .cat { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
#trackLabel .t { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-top: 4px; }
#trackLabel .t span { font-weight: 500; color: #6a6d74; }
#trackLabel .p { font-size: 13px; color: #4f525a; margin-top: 3px; }
.track-hint { position: absolute; left: 50%; top: calc(var(--labelY, 82%) + 66px); transform: translateX(-50%); font-size: 12px; color: #7d8087; opacity: 0; transition: opacity .6s; pointer-events: none; white-space: nowrap; }
[data-scene="fleet"] .track-hint.show { opacity: 1; }

/* ---------------- Header ---------------- */
header.top { position: absolute; left: 0; right: 0; top: 0; height: 84px; z-index: 10; pointer-events: none; }
.brand { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; pointer-events: auto; }
.brand .mark { width: 30px; height: auto; }
.brand .words { display: flex; flex-direction: column; }
.brand .word { font-weight: 700; font-size: 16px; letter-spacing: .16em; line-height: 1; }
.brand .sub { font-size: 8.5px; font-weight: 600; letter-spacing: .38em; margin-top: 5px; color: var(--brand-orange); }
.badge { position: absolute; right: 2px; top: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.badge[hidden] { display: none; }
.badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(.4); } 55% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ---------------- Nav pill ---------------- */
nav.pill { position: absolute; left: 50%; bottom: calc(22px + var(--safe-b)); transform: translateX(-50%); z-index: 10; display: flex; align-items: center; gap: 2px;
  padding: 5px; background: rgba(255,255,255,.96); border-radius: 999px; box-shadow: 0 10px 30px rgba(20,22,28,.13), 0 1px 3px rgba(20,22,28,.08); }
nav.pill button { position: relative; z-index: 1; height: 34px; padding: 0 15px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #2a2c30; transition: color .35s var(--ease); white-space: nowrap; display: grid; place-items: center; }
nav.pill button:hover { color: #000; }
nav.pill button.active { color: #fff; }
nav.pill .short { display: none; }
nav.pill .short svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
nav.pill .info-btn { width: 34px; padding: 0; margin-left: 2px; }
nav.pill .info-btn svg { width: 18px; height: 18px; fill: none; stroke: #2a2c30; stroke-width: 1.7; stroke-linecap: round; }
.pill-ind { position: absolute; top: 5px; left: 0; height: 34px; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); z-index: 0; }
.info-pop { position: absolute; left: 50%; bottom: calc(80px + var(--safe-b)); transform: translateX(-50%); z-index: 11; width: min(380px, calc(100vw - 32px)); background: #fff; border-radius: 18px;
  padding: 16px 18px; font-size: 13px; line-height: 1.5; box-shadow: 0 18px 40px rgba(20,22,28,.16); animation: pop .3s var(--ease); }
.info-pop p { margin: 6px 0 0; color: #3d4046; }
.info-pop .muted { color: var(--muted); font-size: 12px; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ---------------- Detail ---------------- */
#detail { position: absolute; inset: 0; z-index: 6; pointer-events: none; visibility: hidden; }
#detail.open { visibility: visible; pointer-events: auto; }
.d-scrim { position: absolute; inset: 0; background: radial-gradient(110% 80% at 35% 40%, #f8f6f1, #e8e5dd 70%); opacity: 0; transition: opacity .55s var(--ease-io); }
#detail.open .d-scrim { opacity: 1; }
[data-scene="fleet"] #detail.open .d-scrim { opacity: .93; }
#dImg { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; pointer-events: none; filter: drop-shadow(16px 28px 24px rgba(20,18,14,.24)); }
#dImg.photo { border-radius: 14px; object-fit: cover; filter: drop-shadow(0 24px 40px rgba(20,18,14,.25)); }
#dVid { position: absolute; left: 0; top: 0; border-radius: 14px; background: #0d0f12; object-fit: contain; box-shadow: 0 24px 50px rgba(20,18,14,.28); opacity: 0; transition: opacity .3s ease; z-index: 1; }
#dVid.on { opacity: 1; }
#dVid[hidden] { display: none; }
.c-gallery { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.c-gallery[hidden] { display: none; }
.g-thumb { position: relative; flex: 0 0 auto; width: 64px; height: 46px; padding: 0; border-radius: 8px; overflow: hidden; border: 1.5px solid rgba(8,9,12,.12); background: #ece9e1; cursor: pointer; transition: border-color .2s, transform .2s; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb.cutout img { object-fit: contain; padding: 3px; }
.g-thumb:hover { transform: translateY(-1px); }
.g-thumb.sel { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,106,0,.25); }
.g-thumb.is-video::after { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: rgba(8,9,12,.72) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 7v10l8-5z" fill="white"/></svg>') center/14px no-repeat; }
.round-btn { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(20,22,28,.12); z-index: 2;
  opacity: 0; transform: scale(.8); transition: opacity .35s, transform .35s var(--ease), box-shadow .2s; }
.round-btn:hover { box-shadow: 0 8px 24px rgba(20,22,28,.2); }
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#detail.open.shown .round-btn { opacity: 1; transform: none; transition-delay: .25s; }
.card { position: absolute; width: 380px; max-height: calc(100vh - 170px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 22px; padding: 22px 22px 18px;
  box-shadow: 0 24px 60px rgba(20,22,28,.14), 0 2px 6px rgba(20,22,28,.06); opacity: 0; transform: translateX(36px); transition: opacity .4s var(--ease-io), transform .55s var(--ease); user-select: text; }
#detail.open.shown .card { opacity: 1; transform: none; transition-delay: .18s; }
.card-close { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f3f2ee; transition: background .2s; }
.card-close:hover { background: #e7e5df; }
.card-close svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.c-label { font-size: 11px; color: var(--orange); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.c-title { font-size: 26px; font-weight: 700; letter-spacing: -.025em; margin: 6px 36px 0 0; line-height: 1.1; }
.c-tag { font-size: 14px; font-weight: 600; color: #4c4f57; margin-top: 4px; }
.c-desc { font-size: 13px; line-height: 1.5; color: #4c4f57; margin: 10px 0 0; }
.c-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 14px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.c-specs div { background: #fff; padding: 8px 10px; }
.c-specs div.wide { grid-column: span 2; }
.c-specs dt { font-size: 10.5px; color: var(--muted); font-weight: 500; }
.c-specs dd { margin: 2px 0 0; font-size: 12.5px; font-weight: 600; letter-spacing: -.005em; }
.c-models { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.c-models:empty { display: none; }
.c-models .lbl { width: 100%; font-size: 12px; font-weight: 600; color: #2a2c30; }
.c-models button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; transition: border-color .2s, background .2s; }
.c-models button:hover { border-color: var(--orange); background: rgba(255,106,0,.06); }
.c-sec { font-size: 12.5px; font-weight: 600; color: #2a2c30; }
.c-optwrap { margin-top: 14px; }
.c-optwrap[hidden] { display: none; }
.c-opts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.c-opts button { height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.c-opts button:hover { border-color: #b9bbc0; }
.c-opts button.sel { background: var(--ink); color: #fff; border-color: var(--ink); }
.c-qtyrow { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.c-qtyrow[hidden] { display: none; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 34px; }
.qty button { width: 34px; height: 32px; font-size: 16px; color: #3a3d42; }
.qty .q-val { min-width: 24px; text-align: center; font-size: 13px; font-weight: 600; }
.add-btn { margin-top: 16px; width: 100%; height: 48px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  transition: background .35s var(--ease-io), transform .15s; display: flex; align-items: center; justify-content: center; }
.add-btn:hover { background: #22252c; }
.add-btn:active { transform: scale(.98); }
.add-btn.added, .add-btn.added:hover { background: var(--success); }
.add-btn .a-txt { display: inline-flex; align-items: center; gap: 7px; }
.add-btn .a-txt.swap { animation: swapin .35s var(--ease); }
@keyframes swapin { from { opacity: 0; transform: translateY(6px); } }
.c-foot { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.4; }

body.detail-open .bot { opacity: 0; }
body.detail-open .fl-head, body.detail-open #trackLabel, body.detail-open .track-hint { opacity: 0 !important; }

/* ---------------- Drawer ---------------- */
.drawer-scrim { position: absolute; inset: 0; z-index: 19; background: rgba(15,16,18,.3); opacity: 0; transition: opacity .35s; }
.drawer-scrim.show { opacity: 1; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; z-index: 20; width: min(420px, 100vw); background: #fff; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .5s var(--ease); box-shadow: -20px 0 60px rgba(20,22,28,.14); user-select: text; }
.drawer.open { transform: none; }
.dr-head { display: flex; align-items: center; gap: 10px; padding: 22px 22px 14px; border-bottom: 1px solid #f0efeb; }
.dr-head h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; flex: 1; }
.dr-close, .dr-back { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #f3f2ee; }
.dr-back[hidden] { display: none; }
.dr-close svg, .dr-back svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; fill: none; }
.dr-pane { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dr-pane[hidden] { display: none; }
.dr-list { list-style: none; margin: 0; padding: 6px 22px; overflow-y: auto; flex: 1; }
.dr-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f2f1ed; animation: pop2 .35s var(--ease); }
@keyframes pop2 { from { opacity: 0; transform: translateY(6px); } }
.dr-thumb { width: 76px; height: 64px; border-radius: 12px; background: #f3f2ee; display: grid; place-items: center; overflow: hidden; }
.dr-thumb img { max-width: 86%; max-height: 86%; object-fit: contain; }
.dr-thumb img.photo { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; }
.dr-name { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.dr-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.dr-item .qty { height: 28px; margin-top: 8px; width: max-content; }
.dr-item .qty button { width: 28px; height: 26px; font-size: 14px; }
.dr-side { text-align: right; align-self: start; padding-top: 2px; font-size: 12px; color: var(--muted); }
.dr-remove { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; margin-left: auto; }
.dr-empty { flex: 1; display: none; place-content: center; text-align: center; color: #3a3d42; font-size: 14px; line-height: 1.6; padding: 0 30px; }
.dr-empty span { color: var(--muted); font-size: 13px; }
.drawer.empty .dr-empty { display: grid; }
.drawer.empty .dr-list { display: none; }
.dr-foot { padding: 18px 22px calc(22px + var(--safe-b)); border-top: 1px solid #f0efeb; }
.dr-row { display: flex; justify-content: space-between; font-size: 15px; }
.dr-note { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.45; }
.dr-note.center { text-align: center; margin-top: 10px; }
.checkout-btn { margin-top: 14px; width: 100%; height: 48px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; display: grid; place-items: center; text-decoration: none; }
.checkout-btn:disabled { background: #c9cbcf; cursor: default; }
.ghost-btn { margin-top: 10px; width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.dr-pane-form { overflow-y: auto; padding: 18px 22px calc(22px + var(--safe-b)); gap: 12px; }
.f-intro { font-size: 13px; line-height: 1.5; color: #4c4f57; }
.dr-pane-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: #2a2c30; }
.dr-pane-form input, .dr-pane-form textarea { font: inherit; font-size: 14px; font-weight: 400; padding: 11px 13px; border-radius: 12px; border: 1px solid rgba(8,9,12,.16); background: #fbfaf7; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.dr-pane-form input:focus, .dr-pane-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,106,0,.18); background: #fff; }
.dr-pane-form .bad { border-color: #c2410c; }
.f-err { font-size: 12.5px; color: #b42318; min-height: 1px; }
.dr-pane-done { align-items: center; justify-content: center; text-align: center; padding: 30px 30px calc(30px + var(--safe-b)); }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--success); display: grid; place-items: center; animation: bump .6s var(--ease); }
.done-ic svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dr-pane-done h4 { font-size: 20px; margin: 18px 0 6px; letter-spacing: -.02em; }
.dr-pane-done p { font-size: 13.5px; line-height: 1.55; color: #4c4f57; margin: 0 0 8px; }
.toast { position: absolute; left: 50%; top: 86px; transform: translate(-50%, -10px); z-index: 30; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500;
  padding: 11px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
#track:focus-visible { outline: none; }

/* ---------------- Mobile ---------------- */
@media (max-width: 760px) {
  .brand { top: 14px; gap: 8px; }
  .brand .mark { width: 24px; }
  .brand .word { font-size: 13px; }
  .brand .sub { font-size: 7px; }
    nav.pill { padding: 4px; bottom: calc(14px + var(--safe-b)); }
  nav.pill button { padding: 0 10px; font-size: 12.5px; height: 34px; }
  nav.pill .full { display: none; }
  nav.pill .short { display: block; }
  nav.pill .info-btn { width: 32px; }
  .pill-ind { top: 4px; }
  .card { width: auto; left: 10px !important; right: 10px; top: auto !important; bottom: calc(64px + var(--safe-b)); max-height: 56vh; padding: 16px 16px 14px; border-radius: 20px; transform: translateY(30px); }
  .c-title { font-size: 21px; }
  .c-desc { display: none; }
  .add-btn { height: 44px; margin-top: 12px; }
  .fl-head .eyebrow { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01s !important; animation-duration: .01s !important; } }
.card [hidden], .add-btn[hidden] { display: none !important; }

/* ===== Showroom (not a shop): demo CTA, tour, compare, readable overview labels ===== */
.tour-btn { position: absolute; left: 22px; top: 22px; height: 38px; padding: 0 16px 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; pointer-events: auto;
  background: rgba(255,255,255,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: 0 4px 14px rgba(20,22,28,.08); transition: background .2s; }
.tour-btn:hover { background: #fff; }
.tour-btn svg { width: 14px; height: 14px; fill: var(--orange); }
.touring .tour-btn span { font-size: 0; }
.touring .tour-btn span::after { content: 'End tour'; font-size: 13px; }
.touring .tour-btn svg path { d: path('M7 7h10v10H7z'); }
.demo-btn { position: absolute; right: 22px; top: 22px; height: 38px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; pointer-events: auto; box-shadow: 0 6px 18px rgba(8,9,12,.18); transition: background .2s, transform .2s; }
.demo-btn:hover { background: #22252c; }
.demo-btn:active { transform: scale(.97); }
.demo-btn .short { display: none; }
nav.pill .cmp-btn { display: inline-flex; align-items: center; gap: 6px; }
nav.pill .cmp-btn svg, .cmp-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }

.c-ctas { display: flex; gap: 8px; margin-top: 16px; }
.cta-btn { height: 48px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 0 20px; transition: background .2s, transform .15s; }
.cta-btn:hover { background: #22252c; }
.cta-btn:active { transform: scale(.98); }
.c-ctas .demo-cta { flex: 1; }
.c-ctas .cmp-cta { width: auto; margin: 0; height: 48px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.c-ctas [hidden] { display: none !important; }

/* YouTube facade in the detail view */
#dYt { position: absolute; z-index: 2; border-radius: 14px; overflow: hidden; }
#dYt[hidden] { display: none; }
#dYt .yt-play { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); cursor: pointer; }
#dYt .yt-play svg { width: 74px; height: auto; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); transition: transform .2s; }
#dYt .yt-play:hover svg { transform: scale(1.08); }
#dYt .yt-cap { position: absolute; left: 16px; right: 16px; bottom: 12px; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.5); pointer-events: none; }
#dYt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
#dYt.playing .yt-play, #dYt.playing .yt-cap { display: none; }
.g-thumb.is-yt::before { content: ''; position: absolute; right: 3px; top: 3px; width: 13px; height: 9px; border-radius: 2px; background: #f00; z-index: 1; }

/* demo form extras */
.dr-pane-form .f-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.dr-pane-form .f-row > *, .dr-pane-form select { min-width: 0; width: 100%; box-sizing: border-box; }
.dr-pane-form select { font: inherit; font-size: 14px; font-weight: 400; padding: 11px 10px; border-radius: 12px; border: 1px solid rgba(8,9,12,.16); background: #fbfaf7; color: var(--ink); outline: none; }
.dr-pane-form select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,106,0,.18); }
.dr-pane-form .opt { font-weight: 400; color: var(--muted); }

/* compare */
.cmp { position: absolute; inset: 0; z-index: 25; display: grid; place-items: center; padding: 20px; background: rgba(20,18,14,.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cmp.open { opacity: 1; pointer-events: auto; }
.cmp-panel { width: min(980px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(20,18,14,.3); transform: translateY(16px); transition: transform .4s var(--ease); overflow: hidden; }
.cmp.open .cmp-panel { transform: none; }
.cmp-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 22px 6px; }
.cmp-head h3 { margin: 4px 0 0; font-size: 22px; letter-spacing: -.01em; }
.cmp-close { position: static; }
.cmp-picks { display: flex; flex: 0 0 auto; gap: 8px; padding: 10px 22px 12px; overflow-x: auto; scrollbar-width: thin; }
.cmp-pick { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 78px; padding: 8px 4px 6px; border-radius: 14px; border: 1.5px solid rgba(8,9,12,.1); background: #f6f4ef; font-size: 12px; font-weight: 600; transition: border-color .2s, background .2s; }
.cmp-pick img { height: 40px; width: 64px; flex: 0 0 auto; object-fit: contain; }
.cmp-pick.sel { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(255,106,0,.15); }
.cmp-scroll { overflow: auto; padding: 0 22px; flex: 1; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; min-width: calc(150px + var(--cols, 3) * 160px); }
.cmp-table th, .cmp-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid rgba(8,9,12,.07); vertical-align: top; }
.cmp-table thead th { position: sticky; top: 0; background: #fff; z-index: 2; padding-top: 4px; border-bottom: 1px solid rgba(8,9,12,.14); }
.cmp-table thead img { height: 84px; width: 100%; object-fit: contain; display: block; margin-bottom: 4px; }
.cmp-table thead .n { font-size: 16px; font-weight: 700; }
.cmp-table thead .tg { font-size: 12px; color: var(--muted); font-weight: 500; }
.cmp-table .rowh { position: sticky; left: 0; background: #fff; z-index: 1; width: 150px; font-weight: 600; color: #4c4f57; font-size: 12px; }
.cmp-table thead .rowh { z-index: 3; }
.cmp-table td { font-weight: 500; color: var(--ink); }
.cmp-table td.na { color: #a3a5ab; }
.cmp-table tr.same td { color: #6b6e75; }
.cmp-table tbody tr:hover td, .cmp-table tbody tr:hover th { background: #faf8f3; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cmp-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 22px calc(16px + var(--safe-b)); border-top: 1px solid rgba(8,9,12,.08); }
.cmp-foot .dr-note { margin: 0; }

/* guided tour */
.tour { position: absolute; left: 50%; bottom: calc(80px + var(--safe-b)); transform: translateX(-50%); z-index: 15; width: min(560px, calc(100vw - 24px)); }
.tour[hidden] { display: none; }
.tour-card { background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 20px; padding: 16px 18px 12px; box-shadow: 0 20px 50px rgba(20,18,14,.22); }
.tour.swap .tour-k, .tour.swap .tour-t, .tour.swap .tour-p { animation: swapin .45s var(--ease); }
.tour-k { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.tour-t { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-top: 4px; }
.tour-p { font-size: 13.5px; line-height: 1.5; color: #3d4047; margin-top: 4px; }
.tour-cta { margin-top: 12px; width: 100%; height: 44px; }
.tour-cta[hidden] { display: none; }
.tour-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 10px; }
.tour-dots { display: flex; gap: 5px; flex-wrap: wrap; }
.tour-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(8,9,12,.15); transition: background .3s, width .3s; }
.tour-dots i.done { background: rgba(255,106,0,.45); }
.tour-dots i.on { width: 20px; border-radius: 4px; background: var(--orange); }
.tour-ctl { display: flex; gap: 4px; }
.tour-ctl button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f2efe8; transition: background .2s; }
.tour-ctl button:hover { background: #e7e3d9; }
.tour-ctl svg { width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tour-ctl .t-play svg { fill: var(--ink); stroke: var(--ink); }
.tour-ctl .t-play .i-play, .tour.paused .t-play .i-pause { display: none; }
.tour.paused .t-play .i-play { display: block; }
.tour.paused .tour-k::after { content: ' · paused'; color: var(--muted); }
.touring .track-hint, .touring #trackLabel .p { opacity: 0 !important; }

/* readable overview labels (angled side-wall text is hidden in the overview) */
.ov-label { position: absolute; top: 63%; z-index: 5; max-width: min(220px, 26vw); padding: 12px 14px; border-radius: 16px; text-align: left;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(20,18,14,.14);
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ov-left { left: 18px; }
.ov-right { right: 18px; text-align: right; }
.ov-label small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.ov-label strong { display: block; font-size: 19px; margin-top: 2px; color: var(--ink); }
.ov-label span { display: block; font-size: 12px; line-height: 1.35; color: #4c4f57; margin-top: 3px; }
.ov-left strong::before { content: '← '; color: var(--orange); }
.ov-right strong::after { content: ' →'; color: var(--orange); }
#app[data-view="showroom"] .ov-label { opacity: 1; pointer-events: auto; transform: none; transition-delay: .5s; }
body.detail-open .ov-label, .touring .ov-label { opacity: 0 !important; pointer-events: none !important; }
.wall-left .fixture .plate, .wall-left .fixture .wall-title, .wall-right .fixture .plate, .wall-right .fixture .wall-title { transition: opacity .5s var(--ease-io); }
#app[data-view="showroom"] .wall-left .fixture .plate, #app[data-view="showroom"] .wall-left .fixture .wall-title,
#app[data-view="showroom"] .wall-right .fixture .plate, #app[data-view="showroom"] .wall-right .fixture .wall-title { opacity: 0; }
/* press plates on the back wall: bigger, higher contrast so they survive the overview distance */
.press-wall .plate .k { font-size: 24px; }
.press-wall .plate .n { font-size: 46px; }
.press-wall .plate .m { font-size: 24px; color: #2a2c30; }

@media (max-width: 760px) {
  .tour-btn { left: 10px; top: 16px; width: 38px; padding: 0; justify-content: center; }
  .tour-btn span { display: none; }
  .demo-btn { right: 10px; top: 16px; height: 36px; padding: 0 14px; }
  .demo-btn .full { display: none; }
  .demo-btn .short { display: inline; }
  nav.pill button { padding: 0 8px; }
  nav.pill .cmp-btn { width: 34px; padding: 0; justify-content: center; }
  .c-ctas .demo-cta, .c-ctas .cmp-cta { height: 44px; }
  .c-ctas { margin-top: 12px; }
  .cmp { padding: 0; align-items: end; }
  .cmp-panel { border-radius: 20px 20px 0 0; max-height: 92vh; width: 100%; }
  .cmp-head { padding: 16px 16px 4px; }
  .cmp-head h3 { font-size: 18px; }
  .cmp-picks { padding: 8px 16px 10px; }
  .cmp-pick { width: 66px; }
  .cmp-scroll { padding: 0 0 0 16px; }
  .cmp-table { font-size: 12.5px; min-width: calc(108px + var(--cols, 3) * 128px); }
  .cmp-table .rowh { width: 108px; font-size: 11.5px; }
  .cmp-table th, .cmp-table td { padding: 8px 9px; }
  .cmp-table thead img { height: 60px; }
  .cmp-foot { flex-direction: column; align-items: stretch; padding: 12px 16px calc(14px + var(--safe-b)); }
  .cmp-foot .cta-btn { height: 44px; }
  .tour { bottom: calc(66px + var(--safe-b)); }
  .tour-card { padding: 12px 14px 10px; }
  .tour-t { font-size: 16px; }
  .tour-p { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .ov-label { top: auto; bottom: calc(80px + var(--safe-b)); max-width: calc(50vw - 18px); padding: 10px 12px; }
  .ov-left { left: 10px; } .ov-right { right: 10px; }
  .ov-label strong { font-size: 16px; }
  .ov-label span { font-size: 11px; }
  .dr-pane-form .f-row { grid-template-columns: 1fr; }
}

/* =========================================================
   FILMS: the calm screening wall behind the overview camera
   ========================================================= */
.plane.wall-front { background: radial-gradient(110% 85% at 50% 38%, #f8f6f1 0%, #efece5 50%, #e2ded5 100%); opacity: 0; transition: opacity .45s var(--ease-io); }
.plane.wall-front .shade { background: linear-gradient(to right, rgba(40,36,30,.14), transparent 9%, transparent 91%, rgba(40,36,30,.14)), linear-gradient(to bottom, rgba(40,36,30,.07), transparent 14%, transparent 84%, rgba(40,36,30,.12)); }
#app[data-view="films"] .plane.wall-front { opacity: 1; transition: opacity .35s var(--ease-io); }
.cine-wall { position: absolute; inset: 0; }
.cine-wall .wall-title { color: rgba(8,9,12,.8); }
.cine-screen { position: absolute; border-radius: 16px; background: #101215; padding: 12px; cursor: pointer;
  box-shadow: 0 2px 0 rgba(255,255,255,.08) inset, 0 40px 70px rgba(20,18,14,.22), 0 8px 16px rgba(20,18,14,.12); }
.cine-screen img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; pointer-events: none; }
.cine-screen img.short { object-fit: contain; background: #0b0c0e; }
.cs-play { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,.94) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 6.8v10.4l8.2-5.2z" fill="%2308090c"/></svg>') 56% 50%/60px no-repeat;
  box-shadow: 0 14px 40px rgba(0,0,0,.3); transition: transform .35s var(--ease); }
.cine-screen:hover .cs-play { transform: scale(1.07); }
.cine-plate .n { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* wayfinding sign in the overview: small, like the wall labels */
.films-sign { position: absolute; left: 50%; bottom: calc(92px + var(--safe-b)); z-index: 5; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 11px;
  border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 18px rgba(20,18,14,.1);
  font-size: 13px; font-weight: 600; color: var(--ink); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .4s var(--ease), transform .4s var(--ease), background .2s; }
.films-sign svg { width: 15px; height: 15px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.films-sign small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.films-sign:hover { background: #fff; }
#app[data-view="showroom"] .films-sign { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); transition-delay: .6s; }
body.detail-open .films-sign, .touring .films-sign { opacity: 0 !important; pointer-events: none !important; }

/* player: light, quiet backdrop */
.lb { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(238,235,228,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-io); }
.lb.open { opacity: 1; pointer-events: auto; }
.lb-box { width: min(1040px, 84vw, calc((100vh - 220px) * 16 / 9)); display: flex; flex-direction: column; gap: 16px; }
.lb-player { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0b0c0e; box-shadow: 0 30px 70px rgba(20,18,14,.25); }
.lb.short .lb-box { width: min(440px, 88vw); }
.lb.short .lb-player { aspect-ratio: 9 / 16; width: auto; height: min(66vh, 720px); align-self: center; }
.lb-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.lb-info { min-width: 0; }
.lb-k { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.lb-t { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 4px 0 0; color: var(--ink); }
.lb-watch { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 15px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 12px rgba(20,18,14,.08); }
.lb-watch:hover { background: var(--ink); color: #fff; }
.lb .round-btn { top: 50%; margin-top: -20px; }
.lb-prev { left: 24px; } .lb-next { right: 24px; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(20,22,28,.12); }
.lb-close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.lb-count { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; }

@media (max-width: 760px) {
  .films-sign { bottom: calc(196px + var(--safe-b)); height: 32px; font-size: 12.5px; }
  .lb-box { width: 94vw; }
  .lb-prev, .lb-next { top: auto !important; bottom: calc(26px + var(--safe-b)); margin-top: 0 !important; }
  .lb-prev { left: calc(50% - 52px); } .lb-next { right: calc(50% - 52px); }
  .lb-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lb-t { font-size: 17px; }
  .lb-close { top: 14px; right: 12px; }
  .lb-count { top: 26px; }
}
.lb .round-btn { opacity: 1; transform: none; }
/* keep the Films view calm: the side-wall exhibits step back while you face the screen */
.wall-left .fixture, .wall-right .fixture { transition: opacity .6s var(--ease-io); }
#app[data-view="films"] .wall-left .fixture, #app[data-view="films"] .wall-right .fixture { opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  nav.pill { gap: 0; }
  nav.pill button { padding: 0 7px; }
}
@media (max-width: 400px) {
  nav.pill button { padding: 0 5.5px; font-size: 12px; }
  nav.pill .cmp-btn, nav.pill .info-btn { width: 30px; }
}
/* Films refinements: a lighter browse row so the screen stays the focus; readable wall plate */
.cine-plate .k { font-size: 24px; }
.cine-plate .n { font-size: 46px; }
.cine-plate .m { font-size: 30px; }
.cine-wall.mob .wall-title { font-size: 84px; }
.cine-wall.mob .wall-title small { font-size: 34px; }
.cine-wall.mob .cine-plate .k { font-size: 34px; }
.cine-wall.mob .cine-plate .n { font-size: 60px; }
.cine-wall.mob .cine-plate .m { font-size: 40px; }
.cine-wall.mob .wall-title { transform: translateY(-62px); }

/* Films browse column: to the right of the screen (phones: below it). JS sets left/top/width/height. */
.cine { position: absolute; z-index: 6; display: flex; flex-direction: column; min-height: 0; padding: 14px 6px 6px 14px; border-radius: 18px;
  background: rgba(255,255,255,.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(20,18,14,.08), 0 0 0 1px rgba(8,9,12,.04);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(16px); transition: opacity .4s var(--ease-io), transform .5s var(--ease), visibility 0s linear .4s; }
#app[data-view="films"]:not(.touring) .cine { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .5s var(--ease-io) .7s, transform .6s var(--ease) .7s, visibility 0s; }
.cine-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-right: 8px; }
.cine-count { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.yt-chan { flex: none; font-size: 12px; font-weight: 500; color: #4c4f57; text-decoration: none; }
.yt-chan:hover { color: var(--ink); }
.cine-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 8px 10px 0; }
.chip { flex: none; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: #33363c; background: rgba(8,9,12,.05); transition: background .25s, color .25s; }
.chip:hover { background: rgba(8,9,12,.1); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cine-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 8px 4px 0; scrollbar-width: thin; scrollbar-color: rgba(8,9,12,.18) transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 22px), transparent); }
.cv { display: grid; grid-template-columns: 112px 1fr; gap: 11px; align-items: center; width: 100%; padding: 6px; border-radius: 12px; text-align: left; transition: background .2s; }
.cv:hover { background: rgba(255,255,255,.85); }
.cv.now { background: #fff; box-shadow: 0 4px 14px rgba(20,18,14,.07); }
.cv-th { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #d9d6ce; }
.cv-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv.is-short .cv-th img { object-fit: contain; background: #121418; }
.cv.now .cv-th::after { content: ''; position: absolute; inset: 0; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--orange); }
.cv-tx { min-width: 0; }
.cv-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.35; font-weight: 600; color: #22252a; }
.cv-d { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
@media (max-width: 760px) {
  .cine { padding: 12px 4px 4px 12px; border-radius: 18px 18px 0 0; }
  .cv { grid-template-columns: 120px 1fr; }
}
