@import url("../fonts.css");

/* ============ tokens ============ */
:root {
  --ink: #15122b;
  --ink-2: #4a4663;
  --ink-3: #8b88a0;
  --line: rgba(21, 18, 43, 0.12);
  --paper: #ffffff;
  --mist: #f3f4fb;

  --green: #2fa843;
  --blue: #1a8fd8;
  --violet: #9b1b7e;
  --red: #d52b4a;
  --amber: #f5a11c;
  --orange: #ff8a00;
  --spectrum: linear-gradient(90deg, var(--green), var(--blue), var(--violet), var(--red), var(--amber));

  --accent: var(--blue);
  --deep: #0b4f8a;
  --hero: linear-gradient(140deg, #0b4f8a 0%, #1a8fd8 100%);
  --soft: #e6f3fc;

  --f-display: "Unbounded", "Onest", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 12px;
  --gut: clamp(20px, 4vw, 56px);
  --max: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
body[data-mall="alt"] {
  --accent: #1a8fd8;
  --deep: #0b4f8a;
  --hero: linear-gradient(140deg, #0a3f73 0%, #1a8fd8 100%);
  --soft: #e6f3fc;
}
body[data-mall="bel"] {
  --accent: #b3208f;
  --deep: #5a0f55;
  --hero: linear-gradient(140deg, #4a0c47 0%, #9b1b7e 60%, #d52b4a 130%);
  --soft: #f9e8f3;
}

/* ============ base ============ */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--spectrum); }
.h-display {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; line-height: 0.98;
  font-size: clamp(2.6rem, 8.4vw, 8.4rem);
}
.h-1 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; font-size: clamp(2.2rem, 5.6vw, 5rem); }
.h-2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(1.7rem, 3.6vw, 3.2rem); }
.h-3 { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
.section { padding-block: clamp(72px, 10vw, 150px); position: relative; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head .h-1 { margin-top: 16px; }

/* buttons */
.btn {
  --bg: var(--orange); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate; will-change: transform;
  transition: box-shadow 0.35s var(--ease), background 0.3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%);
  transition: transform 0.45s var(--ease); border-radius: inherit;
}
.btn:hover { color: #fff; box-shadow: 0 12px 30px -10px rgba(21, 18, 43, 0.45); }
.btn:hover::after { transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost::after { background: #fff; }
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark::after { background: var(--orange); }
.btn--dark:hover { color: var(--ink); }
.btn--sm { padding: 12px 20px; font-size: 0.92rem; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
  background: var(--mist); color: var(--ink); transition: background 0.25s, color 0.25s, transform 0.3s var(--ease);
}
button.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip .n { opacity: 0.55; font-variant-numeric: tabular-nums; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47, 168, 67, 0.6); animation: pulse 2.2s infinite; }
.dot.is-closed { background: var(--red); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 168, 67, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 168, 67, 0); } }

/* ============ scroll progress + page fade ============ */
.progress { position: fixed; z-index: 120; inset: 0 0 auto 0; height: 4px; background: var(--spectrum); transform-origin: 0 50%; transform: scaleX(0); }
.curtain { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; transform: translateY(100%); background: #15122b; will-change: transform; }
html[data-c="alt"] .curtain { background: linear-gradient(140deg, #0a3f73 0%, #1a8fd8 100%); }
html[data-c="bel"] .curtain { background: linear-gradient(140deg, #4a0c47 0%, #9b1b7e 60%, #d52b4a 130%); }
.curtain img { width: clamp(64px, 8vw, 96px); height: auto; opacity: 0; }
/* leaving: the curtain rises from the bottom and covers the page */
html.is-leaving .curtain { transform: translateY(0); transition: transform .46s cubic-bezier(.7, 0, .2, 1); }
html.is-leaving .curtain img { opacity: 1; transition: opacity .25s .18s; }
/* entering: the curtain starts covering the page, then keeps going up and off the top (plain CSS, no JS needed) */
html.is-entering .curtain { transform: translateY(0); animation: arl-up .7s cubic-bezier(.7, 0, .2, 1) .12s forwards; }
html.is-entering .curtain img { opacity: 1; }
@keyframes arl-up { to { transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) { .curtain { display: none; } }

/* ============ header ============ */
.hdr { position: fixed; z-index: 100; inset: 14px 0 auto 0; pointer-events: none; transition: transform 0.55s var(--ease); }
.hdr.is-hidden { transform: translateY(-140%); }
.hdr__bar {
  pointer-events: auto; display: flex; align-items: center; gap: 22px; width: fit-content; max-width: calc(100% - var(--gut) * 2); margin-inline: auto;
  padding: 10px 12px 10px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 10px 40px -14px rgba(21, 18, 43, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.hdr__logo { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr__logo img { height: 34px; width: auto; }
.hdr__where { font-family: var(--f-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 11px; border-radius: 8px; background: var(--orange); color: var(--ink); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; position: relative; transition: background 0.25s; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.hdr__switch { display: flex; padding: 4px; border-radius: 999px; background: var(--mist); flex: none; }
.hdr__switch a { padding: 7px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }
.hdr__switch a[aria-current="true"] { background: var(--accent); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; flex: none; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger i:nth-child(1) { top: 18px; } .burger i:nth-child(2) { top: 26px; }
.menu-open .burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; padding: 110px var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 46px) 44px); visibility: hidden; transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.menu-open .drawer { clip-path: circle(150% at calc(100% - 46px) 44px); visibility: visible; transition: clip-path 0.8s var(--ease); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 8vw, 3rem); padding: 8px 0; letter-spacing: -0.02em; opacity: 0; transform: translateY(30px); transition: opacity 0.5s, transform 0.6s var(--ease); }
.menu-open .drawer nav a { opacity: 1; transform: none; }
.menu-open .drawer nav a:nth-child(1) { transition-delay: 0.15s; } .menu-open .drawer nav a:nth-child(2) { transition-delay: 0.2s; }
.menu-open .drawer nav a:nth-child(3) { transition-delay: 0.25s; } .menu-open .drawer nav a:nth-child(4) { transition-delay: 0.3s; }
.menu-open .drawer nav a:nth-child(5) { transition-delay: 0.35s; } .menu-open .drawer nav a:nth-child(6) { transition-delay: 0.4s; }
.menu-open .drawer nav a:nth-child(7) { transition-delay: 0.45s; }
.drawer__foot { display: flex; flex-wrap: wrap; gap: 14px 28px; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
@media (max-width: 1320px) {
  .nav, .hdr__switch { display: none; }
  .burger { display: block; }
  .hdr__bar { width: calc(100% - var(--gut) * 2); justify-content: space-between; padding: 8px 8px 8px 18px; }
}

/* ============ landing ============ */
.landing { min-height: 100svh; display: flex; flex-direction: column; position: relative; overflow: hidden; background: #fff; }
.landing__ribbons { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.landing__top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gut) 0; }
.landing__top img { height: clamp(34px, 4vw, 50px); width: auto; }
.landing__top a.tel { font-weight: 600; font-size: 1rem; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line); }
.landing__title { position: relative; z-index: 2; text-align: center; padding: clamp(18px, 3.2vh, 40px) var(--gut) 0; }
.landing__title h1 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; font-size: clamp(2rem, 5.6vw, 5.6rem); }
.landing__title h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.landing__title h1 .w > span { display: inline-block; }
.landing__title p { margin: 18px auto 0; max-width: 56ch; color: var(--ink); font-size: clamp(1rem, 1.3vw, 1.2rem); padding: 10px 20px; border-radius: 20px; background: rgba(255,255,255,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.landing__panels { position: relative; z-index: 2; flex: 1; min-height: 340px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.6vw, 22px); padding: clamp(18px, 3vh, 36px) var(--gut) var(--gut); }
.panel {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; min-height: 300px;
  transition: flex 0.6s var(--ease);
}
.panel--alt { background: radial-gradient(120% 90% at 50% 100%, #35a7ee 0%, #1a8fd8 38%, #0a3f73 100%); }
.panel--bel { background: radial-gradient(120% 90% at 50% 100%, #e04a8f 0%, #9b1b7e 42%, #3c0a3b 100%); }
.panel__glow { position: absolute; inset: auto -10% -35% -10%; height: 70%; border-radius: 50%; z-index: -1; filter: blur(40px); opacity: .7; }
.panel--alt .panel__glow { background: #7fd0ff; } .panel--bel .panel__glow { background: #ff7a59; }
.panel__label { position: absolute; z-index: 3; inset: clamp(18px, 2.4vw, 34px) clamp(18px, 2.4vw, 34px) auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.panel__name { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; line-height: 0.95; font-size: clamp(1.9rem, 4.4vw, 4.6rem); }
.panel__meta { margin-top: 12px; font-size: clamp(.85rem, 1vw, 1rem); opacity: .88; max-width: 28ch; }
.panel__go { flex: none; width: clamp(48px, 5vw, 72px); height: clamp(48px, 5vw, 72px); border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; }
.panel__go svg { width: 40%; height: 40%; transition: transform .5s var(--ease); }
.panel:hover .panel__go { transform: scale(1.12) rotate(-45deg); background: var(--orange); }
.panel__mascot { position: absolute; left: 50%; bottom: 0; height: 62%; z-index: 1; will-change: transform; transform-origin: 50% 100%; pointer-events: none; }
.panel__mascot.m-beaver { aspect-ratio: 986 / 1100; } .panel__mascot.m-orange { aspect-ratio: 1100 / 921; }
.panel__mascot img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 18px 26px rgba(0,0,0,.35)); }
.landing__foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 0 var(--gut) 18px; font-size: .82rem; color: var(--ink-3); margin-top: -14px; }
.landing__foot span { background: rgba(255,255,255,.86); padding: 4px 12px; border-radius: 999px; }
.landing__foot a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 760px) {
  .landing__panels { grid-template-columns: 1fr; grid-auto-rows: minmax(260px, 1fr); }
  .panel__mascot { height: 54%; }
}
.cookie {
  position: fixed; z-index: 150; left: 18px; bottom: 18px; transform: translateY(160%); width: min(430px, calc(100% - 36px)); padding: 16px 16px 16px 20px;
  background: var(--ink); color: #fff; border-radius: 22px; display: flex; gap: 18px; align-items: center; font-size: .86rem; line-height: 1.4;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.5); transition: transform .7s var(--ease);
}
.cookie.is-on { transform: none; }
.cookie a { text-decoration: underline; }
.cookie .btn { padding: 12px 22px; flex: none; }

/* ============ mall hero ============ */
.hero { position: relative; min-height: clamp(560px, 82svh, 780px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--hero); color: #fff; overflow: hidden; isolation: isolate; padding-top: 110px; }
.hero__ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; mix-blend-mode: screen; opacity: .5; }
.hero__grain { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 80% 20%, rgba(255,255,255,.22), transparent 60%); }
.hero__inner { position: relative; container-type: inline-size; padding-bottom: clamp(28px, 5vw, 64px); }
.hero__name { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.045em; line-height: .9; font-size: min(calc(100cqw / (var(--n, 9) * .92)), 15.2vw); margin-left: -0.04em; text-transform: uppercase; white-space: nowrap; }
.hero__name .ch { display: inline-block; will-change: transform; }
.hero__pre { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-bottom: clamp(12px, 2vw, 26px); }
.hero__pre .tag { font-family: var(--f-display); font-weight: 500; font-size: clamp(.8rem, 1.2vw, 1rem); letter-spacing: .04em; text-transform: uppercase; opacity: .92; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); font-size: .92rem; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-start; gap: 24px 48px; margin-top: clamp(20px, 3vw, 40px); max-width: min(64%, 860px); }
.hero__facts { display: grid; gap: 10px; font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 46ch; }
.hero__facts b { font-weight: 600; }
.hero__facts span { opacity: .8; display: block; font-size: .86em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__mascot { position: absolute; right: clamp(0px, 4vw, 80px); bottom: 0; z-index: 0; will-change: transform; transform-origin: 50% 100%; }
.hero__mascot.m-beaver { width: clamp(210px, 26vw, 420px); } .hero__mascot.m-orange { width: clamp(250px, 33vw, 540px); }
.hero__mascot img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero__scroll { position: absolute; left: var(--gut); top: 50%; display: none; }
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 18px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 0; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-weight: 500; font-size: clamp(1rem, 1.6vw, 1.5rem); text-transform: uppercase; letter-spacing: -0.01em; }
.marquee__item::after { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--c, var(--orange)); transform: rotate(45deg); flex: none; }

/* ============ news rail ============ */
.rail { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x proximity; padding: 8px var(--gut) 28px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag * { pointer-events: none; }
.rail__item { flex: none; width: clamp(260px, 30vw, 420px); scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); position: relative; aspect-ratio: 4/5; display: block; transition: transform .6s var(--ease); }
.rail__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.rail__item:hover img { transform: scale(1.06); }
.rail__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(21,18,43,.78)); }
.rail__cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 24px; display: grid; gap: 10px; color: #fff; }
.rail__cap .tag { justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rail__cap strong { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; line-height: 1.2; }
.rail__ctl { display: flex; gap: 10px; }
.round { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .4s var(--ease), background .3s; }
.round:hover { background: var(--orange); color: var(--ink); transform: scale(1.08); }
.round svg { width: 20px; height: 20px; }
.round[disabled] { opacity: .3; pointer-events: none; }

/* ============ category tiles ============ */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.tile { position: relative; border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 36px); min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; background: var(--t-bg, var(--mist)); color: var(--t-fg, var(--ink)); transition: transform .6s var(--ease); }
.tile:nth-child(1) { grid-column: span 7; } .tile:nth-child(2) { grid-column: span 5; }
.tile:nth-child(3) { grid-column: span 5; } .tile:nth-child(4) { grid-column: span 7; }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tile__n { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.6rem, 8vw, 7.5rem); letter-spacing: -0.05em; line-height: .85; }
.tile__arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--t-fg, var(--ink)); color: var(--t-bg, #fff); display: grid; place-items: center; transition: transform .5s var(--ease); flex: none; }
.tile__arrow svg { width: 22px; height: 22px; }
.tile:hover .tile__arrow { transform: rotate(-45deg) scale(1.1); }
.tile__name { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.05; }
.tile__sub { opacity: .8; margin-top: 8px; max-width: 34ch; }
.tile__name, .tile__sub { max-width: 52%; }
@media (max-width: 900px) { .tile__name, .tile__sub { max-width: 60%; } }
.tile__logos { position: absolute; z-index: -1; right: -4%; bottom: -10%; display: grid; grid-template-columns: repeat(3, 84px); gap: 12px; transform: rotate(-9deg); opacity: .95; transition: transform .8s var(--ease); }
.tile:hover .tile__logos { transform: rotate(-4deg) translateY(-10px); }
.tile__logos span { aspect-ratio: 1; border-radius: 22px; background: #fff; display: grid; place-items: center; padding: 10px; box-shadow: 0 10px 24px -10px rgba(21,18,43,.35); }
.tile__logos img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) { .tile:nth-child(n) { grid-column: span 12; min-height: 260px; } .tile__logos { grid-template-columns: repeat(3, 64px); } }

/* ============ floors ============ */
.floors { position: relative; }
.floors__stage { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: center; min-height: 100svh; }
.floors__pin { min-height: 100svh; display: flex; align-items: center; }
.floors__txt .h-1 { margin: 16px 0 20px; }
.floors__list { margin-top: 28px; display: grid; gap: 8px; }
.floors__btn { display: flex; align-items: center; gap: 16px; text-align: left; padding: 16px 20px; border-radius: 20px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .4s, transform .5s var(--ease); width: 100%; }
.floors__btn:hover { transform: translateX(6px); }
.floors__btn[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: none; }
.floors__btn .fn { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.03em; width: 44px; flex: none; }
.floors__btn .ft { font-size: .95rem; opacity: .85; flex: 1; }
.floors__btn .fh { font-size: .8rem; opacity: .65; white-space: nowrap; }
.building { position: relative; height: min(76vh, 640px); perspective: 1600px; }
.building__tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: translate(-8%, -9%) rotateX(58deg) rotateZ(-36deg) scale(.84); }
.slab { position: absolute; left: 50%; top: 50%; width: min(460px, 70vw); aspect-ratio: 1.35; margin: calc(min(460px, 70vw) / -2.7) 0 0 calc(min(460px, 70vw) / -2); border-radius: 26px; transform-style: preserve-3d; transition: transform .9s var(--ease), background .5s, box-shadow .5s; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 2px rgba(255,255,255,.22), 0 0 0 rgba(0,0,0,0); backdrop-filter: blur(2px); }
.slab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 38px), repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 38px); }
.slab.is-on { background: color-mix(in srgb, var(--accent) 70%, #fff 0%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7), 0 40px 80px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.slab__tag { position: absolute; right: 18px; bottom: 14px; font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; letter-spacing: -.04em; transform: rotateZ(36deg) rotateX(-58deg) translateZ(1px); color: #fff; opacity: .9; }
@media (max-width: 960px) {
  .floors__stage { grid-template-columns: 1fr; min-height: 0; }
  .floors__pin { min-height: 0; }
  .building { height: 380px; }
  .floorinfo { position: relative; margin-top: -40px; width: 100%; }
}

/* ============ route ============ */
.route { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
.route__card { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px); background: var(--mist); position: relative; overflow: hidden; }
.route__card:nth-child(2) { background: var(--soft); }
.route__card .h-3 { margin: 14px 0 12px; }
.route__ic { width: 60px; height: 60px; border-radius: 18px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.route__ic svg { width: 30px; height: 30px; }
.route__card p { color: var(--ink-2); font-size: 1.1rem; max-width: 44ch; }
.route__path { position: absolute; right: -2%; bottom: 0; width: 55%; height: 58%; opacity: .5; }
@media (max-width: 800px) { .route { grid-template-columns: 1fr; } }

/* ============ cta band ============ */
.band { border-radius: var(--r-lg); padding: clamp(32px, 5vw, 72px); background: var(--hero); color: #fff; position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; }
.band .h-1 { max-width: 14ch; }
.band__side { display: grid; gap: 16px; justify-items: start; }
.band__side p { opacity: .88; max-width: 38ch; }
.band__ribbon { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; opacity: .6; }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; } }

/* ============ footer ============ */
.ftr { background: var(--ink); color: #fff; padding-top: clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.ftr h4 { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a:hover { color: var(--orange); }
.ftr__tel { white-space: nowrap; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 1.8rem); letter-spacing: -.02em; display: inline-block; }
.ftr__addr { margin-top: 14px; color: rgba(255,255,255,.72); max-width: 32ch; }
.ftr__soc { display: flex; gap: 10px; margin-top: 22px; }
.ftr__soc a { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.ftr__soc a:hover { background: var(--orange); color: var(--ink); transform: translateY(-4px); }
.ftr__soc svg { width: 22px; height: 22px; }
.ftr__word { display: block; width: 100%; padding: 0 var(--gut); margin-top: 8px; }
.ftr__word img { width: 100%; height: auto; filter: brightness(1.05); }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 22px var(--gut) 28px; font-size: .86rem; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.12); }
.ftr__bot a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__top > :first-child { grid-column: 1 / -1; } }

/* ============ inner pages ============ */
.phero { position: relative; background: var(--hero); color: #fff; padding: clamp(130px, 18vh, 190px) 0 clamp(48px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.phero__ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.phero .eyebrow { color: rgba(255,255,255,.75); }
.phero h1 { margin-top: 18px; }
.phero__sub { margin-top: 22px; max-width: 54ch; opacity: .9; font-size: clamp(1.05rem, 1.4vw, 1.3rem); }
.toolbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.toolbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-block: 16px; }
.toolbar__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search { margin-left: auto; position: relative; flex: 0 1 340px; min-width: 200px; }
.search input { width: 100%; padding: 13px 18px 13px 46px; border-radius: 999px; border: 0; background: var(--mist); font: inherit; color: var(--ink); box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .25s; }
.search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-3); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 22vw, 290px), 1fr)); gap: clamp(12px, 1.4vw, 20px); padding-block: clamp(28px, 4vw, 56px) clamp(64px, 9vw, 120px); }
.card { position: relative; display: flex; flex-direction: column; text-align: left; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .4s; cursor: pointer; }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px -22px rgba(21,18,43,.35); }
.card__img { aspect-ratio: 1.15; background: #fff; border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 14px; position: relative; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.07); }
.card__img.is-photo { padding: 0; }
.card__img.is-photo img { object-fit: cover; }
.card__floor { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .04em; }
.card__body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.card__cat { font-family: var(--f-display); font-weight: 500; font-size: 1rem; line-height: 1.2; letter-spacing: -.01em; }
.card__txt { font-size: .88rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.is-hidden { display: none; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--ink-2); display: none; }
.empty.is-on { display: block; }
.empty b { display: block; font-family: var(--f-display); font-size: 1.4rem; color: var(--ink); margin-bottom: 8px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 160; display: none; }
.modal.is-open { display: block; }
.modal__bg { position: absolute; inset: 0; background: rgba(21,18,43,.6); backdrop-filter: blur(6px); opacity: 0; }
.modal__box { position: absolute; right: 0; top: 0; bottom: 0; width: min(560px, 100%); background: #fff; overflow-y: auto; overscroll-behavior: contain; box-shadow: -30px 0 80px -20px rgba(0,0,0,.4); }
.modal__hero { background: #fff; border-bottom: 1px solid var(--line); aspect-ratio: 1.3; display: grid; place-items: center; padding: 34px; }
.modal__hero img { width: 100%; height: 100%; object-fit: contain; }
.modal__hero.is-photo { padding: 0; }
.modal__hero.is-photo img { object-fit: cover; }
.modal__in { padding: 28px clamp(22px, 4vw, 40px) 40px; display: grid; gap: 14px; }
.modal__in .h-2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.modal__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.modal__meta span { padding: 6px 12px; border-radius: 999px; background: var(--mist); font-size: .82rem; font-weight: 600; }
.modal__txt { display: grid; gap: 10px; color: var(--ink-2); }
.modal__txt p { margin: 0; }
.modal__txt a, .modal__links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.modal__links { display: grid; gap: 6px; }
.modal__x { position: absolute; z-index: 3; right: 16px; top: 16px; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); display: grid; place-items: center; transition: transform .4s var(--ease); }
.modal__x:hover { transform: rotate(90deg); }
.modal__x svg { width: 20px; height: 20px; }
.modal__nav { display: flex; gap: 10px; margin-top: 8px; }

/* news cards */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 1.6vw, 24px); padding-block: clamp(36px, 5vw, 64px) clamp(64px, 9vw, 120px); }
.ncard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); text-align: left; cursor: pointer; transition: transform .6s var(--ease); }
.ncard:hover { transform: translateY(-6px); }
.ncard__img { aspect-ratio: 1.1; overflow: hidden; background: #e8e9f4; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ncard:hover img { transform: scale(1.06); }
.ncard__body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.ncard__body strong { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; line-height: 1.25; }
.ncard__body span { color: var(--ink-2); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* map viewer */
.mapv { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); height: min(78vh, 820px); touch-action: none; cursor: grab; box-shadow: inset 0 0 0 1px var(--line); margin-block: clamp(28px, 4vw, 56px) clamp(64px, 9vw, 120px); }
.mapv.is-drag { cursor: grabbing; }
.mapv__img { position: absolute; left: 0; top: 0; transform-origin: 0 0; max-width: none; user-select: none; -webkit-user-drag: none; will-change: transform; }
.mapv__ctl { position: absolute; right: 16px; bottom: 16px; display: grid; gap: 8px; }
.mapv__ctl button { width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); font-size: 1.5rem; font-weight: 600; transition: background .3s, transform .3s var(--ease); }
.mapv__ctl button:hover { background: var(--orange); transform: scale(1.08); }
.mapv__hint { position: absolute; left: 16px; bottom: 16px; padding: 9px 16px; border-radius: 999px; background: rgba(21,18,43,.8); color: #fff; font-size: .84rem; }

/* gallery */
.masonry { columns: 3 300px; column-gap: clamp(12px, 1.4vw, 20px); padding-block: clamp(36px, 5vw, 64px) clamp(64px, 9vw, 120px); }
.masonry button { display: block; width: 100%; margin: 0 0 clamp(12px, 1.4vw, 20px); border-radius: var(--r-md); overflow: hidden; break-inside: avoid; background: var(--mist); }
.masonry img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.masonry button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 170; background: rgba(10,8,25,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; max-width: min(1400px, 92vw); border-radius: 16px; object-fit: contain; }
.lightbox .round { position: absolute; background: #fff; color: var(--ink); }
.lightbox .lb-x { top: 20px; right: 20px; } .lightbox .lb-p { left: 20px; top: 50%; } .lightbox .lb-n { right: 20px; top: 50%; }
.lightbox .lb-c { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; opacity: .8; }

/* contacts */
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); padding-top: clamp(36px, 5vw, 64px); }
.ccard { border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); background: var(--mist); display: grid; gap: 14px; align-content: start; }
.ccard:first-child { background: var(--ink); color: #fff; }
.ccard .eyebrow { color: inherit; opacity: .6; }
.ccard a.big { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 1.8vw, 1.7rem); letter-spacing: -.02em; word-break: break-word; }
.ccard a:hover { color: var(--orange); }
.ccard small { opacity: .7; font-size: .95rem; }
.forms { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); padding-block: clamp(14px, 1.6vw, 22px) clamp(56px, 8vw, 110px); }
.form { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px); background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; align-content: start; }
.form--accent { background: var(--soft); box-shadow: none; }
.form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea, .form select { width: 100%; padding: 15px 18px; border-radius: 16px; border: 0; background: #fff; font: inherit; font-weight: 400; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s; }
.form--accent input, .form--accent textarea { box-shadow: inset 0 0 0 1.5px rgba(21,18,43,.1); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.form textarea { min-height: 130px; resize: vertical; }
.check { display: flex !important; grid-template-columns: none; gap: 12px !important; align-items: flex-start; font-weight: 400 !important; font-size: .82rem !important; line-height: 1.4; }
.check input { width: 20px; height: 20px; flex: none; accent-color: var(--accent); margin-top: 1px; }
.check a { text-decoration: underline; }
.form__msg { font-size: .95rem; font-weight: 500; min-height: 1.4em; }
.form__msg.ok { color: var(--green); } .form__msg.err { color: var(--red); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .cgrid, .forms { grid-template-columns: 1fr; } }
.msgr { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.fine { font-size: .8rem; color: var(--ink-3); max-width: 70ch; }

/* steps (how to get there) */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); padding-block: clamp(36px, 5vw, 64px); }
.step { position: relative; border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 52px); background: var(--mist); display: grid; gap: 18px; align-content: start; overflow: hidden; }
.step:nth-child(2) { background: var(--soft); }
.step .h-2 { margin-top: 6px; }
.step p { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--ink-2); }
.step__bg { position: absolute; right: -6%; bottom: -8%; width: 60%; opacity: .12; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.mapbtn { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: clamp(56px, 8vw, 110px); }

/* legal */
.legal { max-width: 860px; padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px); display: grid; gap: 14px; }
.legal h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -.02em; margin-top: 28px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.rules-img { border-radius: var(--r-lg); overflow: hidden; background: var(--mist); margin-block: clamp(28px, 4vw, 56px) clamp(64px, 9vw, 120px); }
.rules-img img { width: 100%; height: auto; }
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gut) 60px; background: var(--hero); color: #fff; }
.nf .h-display { font-size: clamp(6rem, 24vw, 20rem); letter-spacing: -.06em; }
.nf p { margin: 10px 0 28px; font-size: 1.2rem; opacity: .9; }
.about { padding-block: clamp(40px, 6vw, 90px) clamp(64px, 9vw, 120px); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.about img { border-radius: var(--r-lg); width: 100%; }
.about__txt { display: grid; gap: 18px; font-size: 1.1rem; color: var(--ink-2); }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }

/* reveals (JS only) */
html.js [data-reveal] { opacity: 0; transform: translateY(36px); }
html.js.no-motion [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; }
  .dot { animation: none; }
}

/* ============ logo marquee ============ */
.logos { background: var(--mist); padding: 22px 0; display: grid; gap: 12px; overflow: hidden; }
.marquee--logos { background: none; color: inherit; padding: 0; }
.marquee--logos .marquee__track { gap: 0; }
.logochip { flex: none; width: 156px; height: 88px; border-radius: 20px; background: #fff; display: inline-grid; place-items: center; padding: 12px; margin-right: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.logochip { overflow: hidden; }
.logochip img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 760px) {
  .hero__row { max-width: 100%; }
  .hero__mascot.m-beaver { width: clamp(150px, 40vw, 250px); } .hero__mascot.m-orange { width: clamp(170px, 48vw, 290px); }
  .hero { padding-top: 100px; }
}

/* ============ small screens ============ */
.hdr__logo { min-width: 0; }
@media (max-width: 480px) {
  .hdr__bar { gap: 10px; padding: 7px 7px 7px 14px; }
  .hdr__logo img { height: 28px; width: auto; }
  .hdr__where { font-size: .72rem; padding: 5px 8px; }
  .burger { width: 42px; height: 42px; }
  .burger i { left: 12px; right: 12px; } .burger i:nth-child(1) { top: 16px; } .burger i:nth-child(2) { top: 24px; }
  .menu-open .burger i:nth-child(1), .menu-open .burger i:nth-child(2) { top: 20px; }
  .card__body { padding: 12px 12px 14px; } .card__cat { font-size: .92rem; } .card__txt { font-size: .82rem; }
  .card__img { padding: 10px; }
}
@media (pointer: coarse), (max-width: 900px) {
  .ftr ul { gap: 2px; }
  .ftr li > a, .ftr__bot a { display: inline-block; padding: 9px 0; }
  .ftr__soc a { width: 48px; height: 48px; }
}
.floors, .section--dark { overflow-x: clip; }

/* ============ phones: tiles, gallery, footer legal row ============ */
@media (max-width: 640px) {
  .tile { min-height: 0; gap: 18px; }
  .tile__name, .tile__sub { max-width: 100%; }
  .tile__logos { position: static; transform: none !important; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 2px; opacity: 1; }
  .tile__logos span { border-radius: 14px; padding: 7px; }
  .tile__logos span:nth-child(n+5) { display: none; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry button { margin-bottom: 10px; border-radius: 14px; }
  .ftr__bot { flex-direction: column; }
  .ftr__bot .sep { display: none; }
  .ftr__bot a { display: block; }
}

.card, .card__body { min-width: 0; }
.card__cat, .card__txt { overflow-wrap: anywhere; hyphens: auto; }
@media (pointer: coarse) { .check input { width: 28px; height: 28px; } .check { gap: 14px !important; } }
.hdr__logo { min-height: 40px; }

/* logo rows: height follows the cards, so nothing is cut off */
.marquee--logos { display: flex; align-items: center; height: 100px; }
.marquee--logos .marquee__track { display: flex; width: max-content; align-items: center; }
.logochip { height: 88px; width: 156px; }
@media (max-width: 640px) { .marquee--logos { height: 84px; } .logochip { height: 72px; width: 128px; margin-right: 10px; } }

/* a logo must fit its card instead of keeping its natural size (the card clips the rest) */
.logochip, .tile__logos span, .floorinfo__logos span, .card__img, .modal__hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.logochip img, .tile__logos img, .floorinfo__logos img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; }

/* ============ floors: interactive plan ============ */
.floors__hint { margin-top: 14px; font-size: .82rem; color: rgba(255, 255, 255, .45); }
.building__sway { position: absolute; inset: 0; transform-style: preserve-3d; }
.slab__dots { position: absolute; inset: 15% 9% 17%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; align-content: center; transform-style: preserve-3d; }
.ptile { aspect-ratio: 1; border-radius: 9px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; padding: 3px; transform-style: preserve-3d; transition: transform .35s var(--ease), opacity .3s, background .3s, box-shadow .3s, filter .3s; pointer-events: none; opacity: .4; }
.ptile img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; background: #fff; min-height: 0; }
.ptile .ph { font: 700 .6rem var(--f-display); color: #fff; text-transform: uppercase; }
.pmore { grid-column: span 2; align-self: center; text-align: center; font: 700 .9rem var(--f-display); color: #fff; }
.slab.is-on .ptile { pointer-events: auto; opacity: 1; background: #fff; cursor: pointer; }
.slab.is-on .ptile.hot { transform: translateZ(30px) scale(1.3); box-shadow: 0 0 0 3px var(--orange), 0 18px 28px rgba(0, 0, 0, .55); z-index: 3; }
.ptile.dim, .lg.dim { opacity: .14 !important; filter: grayscale(1); }
.slab.is-on { cursor: default; } .slab:not(.is-on) { cursor: pointer; }
.slab:not(.is-on):hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.floorinfo { position: absolute; right: 0; bottom: 0; z-index: 3; width: min(420px, 100%); padding: 18px 20px 16px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.floorinfo__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.floorinfo h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.fi-hours { font-size: .8rem; color: var(--ink-3); white-space: nowrap; }
.floorinfo__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.fchip { padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--mist); color: var(--ink-2); transition: background .25s, color .25s; }
.fchip:hover { background: #e4e6f6; }
.fchip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.floorinfo__logos { display: flex; flex-wrap: wrap; gap: 7px; max-height: 188px; overflow-y: auto; padding: 4px 2px 6px; scrollbar-width: thin; }
.lg { width: 50px; height: 50px; border-radius: 13px; background: var(--mist); padding: 5px; display: grid; place-items: center; transition: transform .3s var(--ease), box-shadow .3s, opacity .3s, filter .3s; flex: none; }
.lg img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lg .ph { font: 700 .66rem var(--f-display); color: var(--ink-2); text-transform: uppercase; }
.lg:hover, .lg.hot { transform: translateY(-3px) scale(1.08); box-shadow: 0 0 0 2.5px var(--orange); }
.floorinfo__cap { margin-top: 10px; min-height: 2.6em; font-size: .84rem; color: var(--ink-2); line-height: 1.35; }
@media (max-width: 960px) { .floorinfo { position: relative; margin-top: -40px; width: 100%; } .floors__hint { display: none; } .slab__dots { gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .ptile, .lg { transition: none; } }
.card__floor { z-index: 2; }
.card__img { isolation: isolate; }

/* the card frame is a real border: an inset shadow was painted over by the white image area */
.card { box-shadow: none; border: 1px solid var(--line); }
.card:hover { box-shadow: 0 24px 40px -22px rgba(21, 18, 43, .35); border-color: rgba(21, 18, 43, .22); }
.card__img { border-bottom: 1px solid var(--line); }

/* near-white backgrounds of source logos melt into the white card */
.card__img img, .logochip img, .tile__logos img, .modal__hero img { mix-blend-mode: multiply; }
/* menu items never wrap; a little tighter on laptops */
.nav a { white-space: nowrap; }
@media (max-width: 1500px) { .nav a { padding: 10px 11px; } .hdr__bar { gap: 14px; } }

@media (max-width: 760px) {
  .hero { min-height: clamp(520px, 78svh, 700px); }
  .hero__mascot { right: 0; }
  .hero__mascot.m-beaver { width: clamp(160px, 44vw, 270px); } .hero__mascot.m-orange { width: clamp(180px, 52vw, 300px); }
}

/* the big title stops before the mascot, so nothing covers a face */
@media (min-width: 761px) {
  .hero__name { --k: .64; font-size: min(calc(100cqw * var(--k) / (var(--n, 9) * .92)), 15.2vw); }
  .hero:has(.m-orange) .hero__name { --k: .6; }
  .hero__row { max-width: min(60%, 760px); }
}

@media (max-width: 760px) {
  .hero__mascot.m-beaver { width: 34vw; } .hero__mascot.m-orange { width: 41vw; right: 1vw; }
  .hero__facts, .hero__row, .hero__cta { max-width: 62%; }
  .hero__name { font-size: min(calc(100cqw * .66 / (var(--n, 9) * .92)), 15.2vw); }
}
@media (max-width: 760px) {
  .hero__mascot.m-beaver { width: 31vw; } .hero__mascot.m-orange { width: 37vw; }
  .hero__facts { max-width: 68%; }
  .hero__row, .hero__cta { max-width: 100%; }
  .hero__cta .btn { white-space: nowrap; }
}
.hero__mascot img { width: 100%; height: auto; }
@media (max-width: 760px) { .hero__mascot.m-beaver { width: 37vw; } .hero__mascot.m-orange { width: 45vw; } }


/* ===== peeking mascots: big, rising from behind the bottom edge, so no cut is ever visible ===== */
.panel__mascot { height: 80%; }
.hero__mascot { bottom: -10%; }
.hero__mascot.m-beaver { width: clamp(250px, 31vw, 500px); } .hero__mascot.m-orange { width: clamp(290px, 38vw, 610px); }
@media (max-width: 760px) {
  .panel__mascot { height: 70%; }
  .hero__mascot { bottom: -8%; right: -2vw; }
  .hero__mascot.m-beaver { width: 46vw; } .hero__mascot.m-orange { width: 56vw; }
  .hero__facts { max-width: 66%; }
}

/* ============ interactive mall map ============ */
.mm { padding-block: clamp(24px, 3vw, 40px) clamp(56px, 8vw, 110px); }
.mm-bar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-bottom: 16px; }
.mm-tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--mist); gap: 4px; }
.mm-tab { padding: 10px 20px; border-radius: 999px; font-weight: 600; transition: background .25s, color .25s; }
.mm-tab:hover { background: #e4e6f6; }
.mm-tab[aria-selected="true"] { background: var(--accent); color: #fff; }
.mm-search { position: relative; margin-left: auto; flex: 0 1 380px; min-width: 220px; }
.mm-search .search { margin: 0; flex: none; width: 100%; }
.mm-results { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 18px; padding: 6px; box-shadow: 0 24px 50px -18px rgba(21, 18, 43, .45), 0 0 0 1px var(--line); max-height: 360px; overflow-y: auto; }
.mm-none { padding: 12px 14px; color: var(--ink-3); font-size: .92rem; }
.mm-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: stretch; }
.mm-stage { position: relative; height: min(76vh, 760px); min-height: 420px; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); touch-action: none; cursor: grab; }
.mm-stage.is-drag { cursor: grabbing; }
.mm-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.mm-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; }
.mm-svg { position: absolute; inset: 0; overflow: visible; }
.mm-u { fill: transparent; stroke: transparent; stroke-width: 3; transition: fill .2s, stroke .2s; vector-effect: non-scaling-stroke; }
.mm-u.is-click { cursor: pointer; }
.mm-u.mm-k-magazine { --mc: #1a8fd8; } .mm-u.mm-k-cafe { --mc: #f5a11c; } .mm-u.mm-k-services { --mc: #9b1b7e; } .mm-u.mm-k-dostavka { --mc: #2fa843; } .mm-u.mm-k-vacant { --mc: #8b88a0; }
.mm-u.is-click:hover, .mm-u.is-hot { fill: color-mix(in srgb, var(--mc) 26%, transparent); stroke: var(--mc); }
.mm-u.is-sel { fill: color-mix(in srgb, var(--mc) 36%, transparent); stroke: var(--mc); stroke-width: 4; }
.mm.has-sel .mm-u.is-click:not(.is-sel) { fill: rgba(21, 18, 43, .12); }
.mm-tip { position: absolute; z-index: 5; pointer-events: none; padding: 7px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .84rem; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.mm-legend { position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .4); font-size: .78rem; color: var(--ink-2); max-width: calc(100% - 100px); }
.mm-leg { display: inline-flex; align-items: center; gap: 6px; }
.mm-leg i { width: 10px; height: 10px; border-radius: 3px; background: var(--mc); }
.mm-leg--magazine { --mc: #1a8fd8; } .mm-leg--cafe { --mc: #f5a11c; } .mm-leg--services { --mc: #9b1b7e; } .mm-leg--dostavka { --mc: #2fa843; }
.mm-panel { border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 20px; display: flex; flex-direction: column; gap: 12px; height: min(76vh, 760px); min-height: 420px; overflow: hidden; }
.mm-p-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mm-p-head h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; }
.mm-hours { font-size: .84rem; color: var(--ink-3); }
.mm-hint { font-size: .88rem; color: var(--ink-2); }
.mm-list { display: grid; gap: 6px; overflow-y: auto; margin: 0 -6px; padding: 0 6px 4px; }
.mm-item, .mm-res { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 8px 10px; border-radius: 14px; transition: background .2s; }
.mm-item:hover, .mm-res:hover, .mm-res:focus-visible { background: var(--mist); }
.mm-logo { width: 46px; height: 46px; flex: none; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; padding: 5px; overflow: hidden; }
.mm-logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mm-it { display: grid; min-width: 0; }
.mm-it b { font-weight: 600; font-size: .94rem; line-height: 1.25; }
.mm-it small { font-size: .78rem; color: var(--ink-3); }
.mm-back { align-self: flex-start; font-size: .86rem; font-weight: 600; color: var(--ink-2); padding: 4px 0; }
.mm-back:hover { color: var(--ink); }
.mm-p-logo { aspect-ratio: 1.6; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; padding: 18px; }
.mm-p-logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mm-p-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.mm-chip { padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--mist); }
.mm-chip.mm-k-magazine { background: #e1effa; color: #0e5c91; } .mm-chip.mm-k-cafe { background: #fff1dc; color: #8a5300; } .mm-chip.mm-k-services { background: #f6e3f1; color: #7a1563; } .mm-chip.mm-k-dostavka { background: #e1f4e5; color: #1e7a31; }
.mm-p-title { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15; }
.mm-p-txt { display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); overflow-y: auto; }
.mm-p-txt p { margin: 0; }
.mm-panel .btn { align-self: flex-start; }
@media (max-width: 960px) {
  .mm-body { grid-template-columns: 1fr; }
  .mm-stage { height: 62svh; min-height: 360px; }
  .mm-panel { height: auto; min-height: 0; max-height: 70svh; }
  .mm-list { max-height: 46svh; }
  .mm-search { margin-left: 0; flex: 1 1 100%; }
  .mm-tabs { width: 100%; } .mm-tab { flex: 1; padding: 10px 8px; }
}
.modal__map { margin-top: 4px; }
.mm-p-logo { aspect-ratio: auto; height: clamp(110px, 18vh, 170px); flex: none; }
.mm-panel { overflow-y: auto; }
.mm-p-txt { overflow: visible; }

/* ============ tenant card dialog (compact) ============ */
.modal { display: none; place-items: center; padding: 24px; }
.modal.is-open { display: grid; }
.modal__box { position: relative; inset: auto; right: auto; top: auto; bottom: auto; width: min(620px, 100%); max-height: min(86vh, 760px); display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 40px 90px -30px rgba(21, 18, 43, .6); transform: none; }
.modal__hero { display: none; aspect-ratio: 16 / 9; padding: 0; border: 0; flex: none; }
.modal.is-photo .modal__hero { display: block; }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__in { padding: 26px 28px 20px; display: flex; flex-direction: column; gap: 16px; min-height: 0; flex: 1; }
.modal__head { display: flex; gap: 18px; align-items: center; padding-right: 48px; }
.modal__logo { width: 104px; height: 104px; flex: none; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; padding: 12px; overflow: hidden; }
.modal__logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.modal__ht { display: grid; gap: 8px; min-width: 0; }
.modal__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -.02em; line-height: 1.12; margin: 0; }
.modal__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.modal__meta span { padding: 4px 11px; border-radius: 999px; background: var(--mist); font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.modal__txt { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 10px; color: var(--ink-2); font-size: .98rem; line-height: 1.6; padding-right: 6px; scrollbar-width: thin; }
.modal__txt ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.modal__foot { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); flex: none; }
.modal__acts { flex: 1; display: flex; gap: 8px; flex-wrap: wrap; }
.modal__nav { display: flex; gap: 8px; margin: 0; }
.modal__nav .round { width: 44px; height: 44px; }
.modal__x { right: 14px; top: 14px; width: 42px; height: 42px; box-shadow: none; background: var(--mist); }
.modal.is-photo .modal__x { background: #fff; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); }
.modal.is-photo .modal__head { padding-right: 0; }
@media (max-width: 640px) {
  .modal { padding: 0; place-items: end stretch; }
  .modal__box { width: 100%; max-height: 88vh; border-radius: 26px 26px 0 0; }
  .modal__in { padding: 22px 18px 16px; }
  .modal__logo { width: 76px; height: 76px; border-radius: 18px; }
  .modal__head { gap: 14px; }
}

/* ============ route steps ============ */
.route__top { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.route__top .h-3 { margin: 0; }
.route__sub { color: var(--ink-3); font-size: .92rem; margin-top: 2px; }
.route__card p.route__sub { font-size: .92rem; }
.rs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rs li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; }
.rs li:last-child { padding-bottom: 0; }
.rs li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: color-mix(in srgb, var(--accent) 30%, transparent); }
.rs__n { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .85rem; }
.rs li:last-child .rs__n { background: var(--orange); color: var(--ink); }
.rs__t { padding-top: 5px; font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
.way { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 110px); align-items: start; }
.way__col { display: grid; gap: 14px; }
.way__card { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); background: var(--mist); }
.way__card--info { background: var(--soft); }
.way__card--info .h-3 { margin: 0 0 12px; }
.way__hours { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.way__hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.way__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.way__map { position: sticky; top: 100px; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; height: 100%; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.way__map iframe { width: 100%; height: 100%; min-height: 560px; border: 0; display: block; }
@media (max-width: 900px) { .way { grid-template-columns: 1fr; } .way__map { position: relative; top: 0; min-height: 380px; } .way__map iframe { min-height: 380px; } }

/* ============ logo marquee: bigger logos ============ */
.logos { padding: 26px 0; gap: 14px; }
.marquee--logos { height: 124px; }
.logochip { width: 210px; height: 116px; padding: 14px 18px; margin-right: 14px; border-radius: 22px; }
@media (max-width: 640px) { .marquee--logos { height: 100px; } .logochip { width: 160px; height: 90px; padding: 10px 12px; margin-right: 10px; } }

/* logo marquee: larger still */
.logos { padding: 30px 0; gap: 16px; }
.marquee--logos { height: 164px; }
.logochip { width: 280px; height: 156px; padding: 16px 22px; margin-right: 16px; border-radius: 26px; }
@media (max-width: 640px) { .marquee--logos { height: 124px; } .logochip { width: 206px; height: 114px; padding: 12px 14px; margin-right: 12px; border-radius: 20px; } }
/* map panel logo: the picture must fit the frame, not stretch it */
.mm-p-logo { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); overflow: hidden; }
.mm-p-logo img { width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; object-position: center; }
.mm-logo { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.mm-logo img { min-height: 0; max-height: 100%; }

/* ---------- tenant pages (one page per shop, cafe or service) ---------- */
a.card { color: inherit; text-decoration: none; }
.modal__page { align-self: center; margin-left: 4px; font-size: .92rem; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.modal__page:hover { color: var(--accent); }
.tp-wrap { padding-top: clamp(100px, 12vw, 136px); background: linear-gradient(180deg, var(--soft) 0, #fff 460px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .9rem; color: var(--ink-3); padding-bottom: clamp(16px, 2.4vw, 28px); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-style: normal; opacity: .45; }
.crumbs span { color: var(--ink); font-weight: 500; }
.tp { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr) minmax(250px, 320px); gap: clamp(20px, 3vw, 44px); align-items: start; padding-bottom: clamp(48px, 7vw, 96px); }
.tp__media { aspect-ratio: 1; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; padding: 9%; box-shadow: 0 30px 60px -40px rgba(21, 18, 43, .35); }
.tp__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tp__ph { font-family: var(--f-display); font-size: clamp(4rem, 9vw, 7rem); color: var(--accent); }
.tp__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tp__chips span { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 500; }
.tp__chips span:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.tp__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 18px; overflow-wrap: anywhere; }
.tp__txt { color: var(--ink-2); font-size: 1.06rem; line-height: 1.62; max-width: 64ch; }
.tp__txt p { margin: 0 0 .8em; }
.tp__txt ul { margin: 0 0 .8em; padding-left: 1.2em; }
.tp__txt a { color: var(--accent); }
.tp__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tp__all { --fg: var(--ink); color: var(--ink); }
.tp__all::after { background: var(--ink); }
.tp__all:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.tp__info { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 30px); position: sticky; top: 110px; }
.tp__info ul { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 12px; }
.tp__info li { display: flex; flex-direction: column; gap: 3px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tp__info li span { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: rgba(255, 255, 255, .5); }
.tp__info li b { font-weight: 500; }
.tp__info a { color: inherit; }
.tp-more { padding-bottom: clamp(56px, 8vw, 110px); }
.tp-more .grid { padding-block: 22px 0; }
@media (max-width: 1100px) { .tp { grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); } .tp__info { grid-column: 1 / -1; position: static; } }
@media (max-width: 640px) { .tp { grid-template-columns: 1fr; } .tp__media { max-width: 220px; } }

/* ---------- 404: «такого этажа нет» ---------- */
.nf2 { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
  padding: clamp(96px, 11vh, 128px) var(--gut) clamp(56px, 8vh, 96px);
  background: radial-gradient(900px 520px at 50% 8%, rgba(110, 86, 255, .28), transparent 62%), radial-gradient(760px 460px at 4% 104%, rgba(47, 168, 67, .32), transparent 62%), radial-gradient(760px 460px at 96% 104%, rgba(245, 161, 28, .3), transparent 62%), var(--ink); }
.nf2__ribbons { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; mix-blend-mode: screen; opacity: .35; }
.nf2__in { position: relative; z-index: 2; width: min(100%, 880px); display: flex; flex-direction: column; align-items: center; }
.nf2__lift { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 12px; background: #07060f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 6px rgba(255, 255, 255, .04), 0 18px 40px -20px #000;
  font-family: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace; font-weight: 700; color: #ff5a3c; text-shadow: 0 0 8px rgba(255, 90, 60, .85), 0 0 22px rgba(255, 90, 60, .45); }
.nf2__dir { font-size: .78rem; animation: nf-blink .9s steps(2) infinite; }
.nf2__floor { display: inline-block; min-width: 3ch; text-align: right; font-size: 1.7rem; letter-spacing: .06em; }
.nf2__lbl { font-family: var(--f-body); font-weight: 400; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .42); text-shadow: none; }
.nf2.is-arrived .nf2__dir { animation: none; opacity: .2; }
.nf2.is-arrived .nf2__lift::after { content: ""; position: absolute; inset: -6px; border-radius: 16px; border: 2px solid rgba(255, 90, 60, .75); animation: nf-ding 1.1s var(--ease) forwards; pointer-events: none; }
@keyframes nf-blink { 50% { opacity: .15; } }
@keyframes nf-ding { to { inset: -30px; border-radius: 34px; opacity: 0; } }
.nf2__code { display: flex; justify-content: center; margin: clamp(8px, 1.6vw, 18px) 0 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(6.2rem, min(21vw, 27vh), 15.5rem); line-height: .9; letter-spacing: -.06em; user-select: none; }
.nf2__code .d { display: inline-block; padding: 0 .02em; background: linear-gradient(165deg, #5fe07a 0%, #2fa843 40%, #1a8fd8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .45)); will-change: transform; }
.nf2__code .d--0 { background-image: linear-gradient(165deg, #e05ac4 0%, #9b1b7e 45%, #d52b4a 100%); cursor: pointer; }
.nf2__code .d:last-child { background-image: linear-gradient(165deg, #ffd04a 0%, #f5a11c 45%, #ff6a1a 100%); }
.nf2__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.45rem, 3vw, 2.4rem); line-height: 1.15; margin: clamp(6px, 1vw, 14px) 0 12px; }
.nf2__sub { max-width: 580px; margin: 0 0 22px; font-size: 1.06rem; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.nf2__search { width: min(100%, 580px); }
.nf2__field { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .7), 0 0 0 6px rgba(255, 255, 255, .08); transition: box-shadow .3s; }
.nf2__field:focus-within { box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .7), 0 0 0 6px rgba(255, 154, 31, .55); }
.nf2__field svg { width: 22px; height: 22px; flex: none; opacity: .45; }
.nf2__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.06rem; color: inherit; }
.nf2__tips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.nf2__tips button { padding: 7px 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: .9rem; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease); }
.nf2__tips button:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.nf2__res { display: none; margin-top: 14px; padding: 8px; text-align: left; background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .75); max-height: 372px; overflow: auto; }
.nf2__res.is-on { display: block; }
.nf2__hit { display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; border-radius: 16px; color: inherit; text-decoration: none; transition: background .2s; }
.nf2__hit:hover, .nf2__hit:focus-visible { background: var(--mist); outline: 0; }
.nf2__hl { width: 52px; height: 52px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 13px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.nf2__hl img { width: 100%; height: 100%; object-fit: contain; padding: 5px; mix-blend-mode: multiply; }
.nf2__hl i { font-style: normal; font-family: var(--f-display); color: var(--ink-3); }
.nf2__ht { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nf2__ht b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf2__ht small { font-size: .85rem; color: var(--ink-3); }
.nf2__go { color: var(--ink-3); transition: transform .25s var(--ease), color .25s; }
.nf2__hit:hover .nf2__go { transform: translateX(4px); color: var(--ink); }
.nf2__none { margin: 0; padding: 14px; text-align: center; color: var(--ink-2); }
.nf2__panel { margin-top: clamp(24px, 3vw, 36px); padding: 16px clamp(18px, 3vw, 28px) 18px; border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.nf2__ptitle { display: block; margin-bottom: 14px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.nf2__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2.4vw, 26px); }
.liftbtn { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 0; border: 0; background: none; color: #fff; font: inherit; text-decoration: none; cursor: pointer; }
.liftbtn b { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; color: #e9e7f5;
  background: radial-gradient(circle at 34% 28%, #5c5878, #2b2842 58%, #1a1830);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), inset 0 -4px 7px rgba(0, 0, 0, .5), 0 0 0 3px #3b3854, 0 0 0 5px #100e20, 0 12px 22px -8px #000;
  transition: color .25s, text-shadow .25s, box-shadow .35s, transform .15s; }
.liftbtn span { font-size: .86rem; color: rgba(255, 255, 255, .75); }
.liftbtn:hover b, .liftbtn:focus-visible b { color: #ffb347; text-shadow: 0 0 10px rgba(255, 160, 40, .95);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), inset 0 -4px 7px rgba(0, 0, 0, .5), 0 0 0 3px #ff9a1f, 0 0 0 5px #100e20, 0 0 30px 4px rgba(255, 154, 31, .5); }
.liftbtn:focus-visible { outline: 0; }
.liftbtn:active b { transform: scale(.93); }
.nf2__peek { position: absolute; bottom: 0; z-index: 1; height: auto; pointer-events: none; transform: translateY(100%); filter: drop-shadow(0 -12px 30px rgba(0, 0, 0, .4)); }
.nf2__peek--b { left: clamp(-24px, 3vw, 70px); width: clamp(170px, 21vw, 330px); }
.nf2__peek--o { right: clamp(-12px, 4vw, 80px); width: clamp(150px, 17vw, 260px); }
.nf2.is-static .nf2__peek--b { transform: translateY(24%) rotate(5deg); }
.nf2.is-static .nf2__peek--o { transform: translateY(34%) rotate(-9deg); }
@media (max-width: 640px) {
  .nf2__peek--o { display: none; }
  .nf2__peek--b { width: 150px; left: 50%; margin-left: -75px; }
  .nf2__field { height: 56px; }
  .liftbtn b { width: 56px; height: 56px; }
}

/* ---------- news and promotions: whole posters in a masonry, kind tabs, period and days left ---------- */
.news { display: block; columns: 3 300px; column-gap: clamp(14px, 1.8vw, 26px); padding-block: clamp(30px, 4vw, 56px) clamp(64px, 9vw, 120px); }
.news .ncard { display: flex; width: 100%; margin: 0 0 clamp(14px, 1.8vw, 26px); break-inside: avoid; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 50px -40px rgba(21, 18, 43, .4); transition: transform .6s var(--ease), box-shadow .5s, border-color .4s; }
.news .ncard:hover { transform: translateY(-6px); box-shadow: 0 36px 60px -36px rgba(21, 18, 43, .45); border-color: rgba(21, 18, 43, .2); }
.news .ncard.is-hidden { display: none; }
.news .ncard__img { position: relative; aspect-ratio: var(--ar, 1); overflow: hidden; background: var(--mist); isolation: isolate; }
.news .ncard__bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(22px) saturate(1.3); opacity: .55; z-index: -1; transform: none; }
.news .ncard__pic { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease); }
.news .ncard:hover .ncard__pic { transform: scale(1.03); }
.news .ncard:hover .ncard__bg { transform: none; }
.news .ncard__body { padding: 18px 22px 22px; gap: 10px; }
.ncard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ncard__tags span { display: inline-flex !important; padding: 5px 11px; border-radius: 999px; font-size: .78rem !important; font-weight: 600; line-height: 1.2; color: var(--ink) !important; background: var(--mist); -webkit-line-clamp: unset !important; }
.ncard__tags span:empty { display: none !important; }
.ncard--promo .ncard__kind { background: var(--orange); }
.ncard--news .ncard__kind { background: var(--soft); color: var(--deep) !important; }
.ncard__when { background: #fff !important; box-shadow: inset 0 0 0 1px var(--line); }
.ncard__left { background: var(--red) !important; color: #fff !important; animation: nf-blink 1.6s ease-in-out infinite; }
.news .ncard__body strong { font-size: clamp(1.05rem, 1.3vw, 1.22rem); }
.news .ncard__more { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 2px; font-weight: 600; color: var(--ink) !important; font-size: .92rem !important; -webkit-line-clamp: unset !important; }
.news .ncard__more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.news .ncard:hover .ncard__more svg { transform: translateX(5px); }
.news .empty { column-span: all; }
.kinds { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--mist); }
.kinds button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: none; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background .3s, color .3s; }
.kinds button i { font-style: normal; font-size: .8rem; padding: 2px 8px; border-radius: 999px; background: rgba(21, 18, 43, .08); }
.kinds button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.kinds button[aria-pressed="true"] i { background: rgba(255, 255, 255, .18); }

.toolbar:has(.kinds) { position: static; }

/* ---------- images: whole posters everywhere, even padding around logos ---------- */
.rail__item { aspect-ratio: auto; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 50px -40px rgba(21, 18, 43, .4); }
.rail__item::after { display: none; }
.rail__pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; background: var(--mist); }
.rail__bg { position: absolute; inset: -12%; width: 124% !important; height: 124% !important; object-fit: cover; filter: blur(24px) saturate(1.3); opacity: .6; z-index: -1; transform: none !important; }
.rail__img { width: 100%; height: 100%; object-fit: contain !important; }
.rail__item:hover .rail__img { transform: scale(1.03); }
.rail__cap { position: static; padding: 16px 20px 20px; color: var(--ink); gap: 8px; align-content: start; }
.rail__cap strong { font-size: 1.05rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.modal.is-photo .modal__hero { position: relative; aspect-ratio: auto; height: min(56vh, 540px); overflow: hidden; isolation: isolate; background: var(--mist); }
.modal__hero-bg { position: absolute; inset: -12%; width: 124% !important; height: 124% !important; object-fit: cover !important; filter: blur(26px) saturate(1.3); opacity: .6; z-index: -1; mix-blend-mode: normal !important; }
.modal__hero-pic { position: relative; width: 100%; height: 100%; object-fit: contain !important; mix-blend-mode: normal !important; }
@media (max-width: 640px) { .modal.is-photo .modal__hero { height: min(48vh, 420px); } }
.card__img { padding: 40px 12% 20px; }
.card__img img { max-width: 100%; max-height: 100%; }
.modal.is-photo .modal__hero { height: min(46vh, 460px); }
.modal.is-photo .modal__title { font-size: clamp(1.1rem, 1.9vw, 1.4rem); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.modal.is-photo .modal__in { gap: 12px; }
.modal__box { overflow-y: auto; }
.modal__foot { position: sticky; bottom: 0; background: #fff; }


/* ---------- news and promotions: equal cards ---------- */
.news { display: grid; columns: auto; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 1.8vw, 26px); align-items: stretch; }
.news .ncard { margin: 0; height: 100%; }
.news .ncard__img { aspect-ratio: 4 / 5 !important; flex: none; }
.news .ncard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.news .ncard__body strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(3 * 1.25em); }
.news .ncard__txt { -webkit-line-clamp: 2 !important; min-height: calc(2 * 1.5em); }
.news .ncard__more { margin-top: auto !important; }

/* ---------- whose promotion: tenant logo and name on news cards and in the quick view ---------- */
.ncard__org { display: flex !important; align-items: center; gap: 10px; -webkit-line-clamp: unset !important; color: var(--ink) !important; }
.ncard__orglogo, .modal__orglogo { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; padding: 4px; }
.ncard__orglogo img, .modal__orglogo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ncard__orglogo i, .modal__orglogo i { font-style: normal; font-family: var(--f-display); color: var(--ink-3); }
.ncard__orgname { display: grid !important; gap: 1px; min-width: 0; -webkit-line-clamp: unset !important; }
.ncard__orgname b { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ncard__orgname small { font-size: .78rem; color: var(--ink-3); }
.news .ncard__body { padding-top: 16px; }
.modal__org { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 16px; background: var(--mist); color: var(--ink); text-decoration: none; transition: background .25s; }
.modal__org:hover { background: var(--soft); }
.modal__org span:last-child { display: grid; gap: 1px; }
.modal__org b { font-weight: 600; font-size: .92rem; }
.modal__org small { font-size: .76rem; color: var(--ink-3); }

/* ---------- parking ---------- */
.park { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-weight: 600; color: var(--ink); }
.park i { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 7px; background: #1a5fd8; color: #fff; font-style: normal; font-family: var(--f-display); font-size: .85rem; }
.park--hero { margin: 0; color: inherit; }
.park--hero i { background: #fff; color: #1a5fd8; }

/* ---------- vector mall plans ---------- */
.mm-u.mm-k-named { --mc: #6E54C6; } .mm-item.mm-k-named .mm-logo { background: var(--mist); }
.mm.is-plan .mm-stage { background: #F1F4F8; }
@media (max-width: 640px) { .mm.is-plan .mm-legend { display: none; } }

/* selected room on the map: orange outline, the rest of the floor dimmed, a pin */
.mm-u.is-sel { fill: rgba(255, 138, 0, .22) !important; stroke: #ff8a00 !important; stroke-width: 5; animation: mm-sel 1.4s ease-in-out infinite; }
@keyframes mm-sel { 50% { stroke-width: 9; fill: rgba(255, 138, 0, .34); } }
.mm.has-sel .mm-u:not(.is-sel) { fill: rgba(21, 18, 43, .18); }
.mm.is-plan.has-sel .mm-u.is-click:not(.is-sel):hover { fill: rgba(21, 18, 43, .1); }
.mm-pin { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.mm-pin__ring { fill: rgba(255, 138, 0, .35); stroke: #ff8a00; stroke-width: 2; transform-origin: 0 0; animation: mm-ring 1.6s ease-out infinite; }
@keyframes mm-ring { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mm-u.is-sel, .mm-pin__ring { animation: none; } }
