/* ============================================================================================
   "Labone night" (Hassan, 22 Oct 2026): reference Elyse Residence. Dark all the way through,
   huge Satisfy capitals like the logo, calm masked reveals, collages, a carousel, the 3D building.
   Loaded after site.css; it re-points every surface while the tested layout above stays.
   Roles: --gold is for fine rules only, --lit still means "a home for sale", --panel is the form.
   ============================================================================================ */
:root {
  --bg: #101819; --bg-2: #172324; --bg-3: #0b1112; --fg: #efe8dd; --fg-2: #a9b0ab; --rule: #2c3a3b;
  --gold: #c3a37a; --panel: #3a2d22;
  --sand: var(--rule); --line: var(--rule); --line-dark: var(--rule);
  color-scheme: dark;
}
body { background: var(--bg); color: var(--fg); }
.muted, .cap, .asof, .crumbs, .small.muted, .dark .muted, .dark .lead.muted { color: var(--fg-2); }
.plaster { background: var(--bg-2); }
.dark { background: var(--bg-3); color: var(--fg); }
.site-head, .has-hero.bright .site-head, .has-hero:not(.scrolled):not(.bright) .site-head { background: var(--bg); color: var(--fg); border-bottom: 1px solid var(--rule); }
.has-hero.over-film:not(.scrolled) .site-head { background: transparent; border-color: transparent; color: #fff; }
.logo .on-paper, .has-hero:not(.scrolled):not(.bright) .logo .on-paper { display: none; }
.logo .on-photo, .has-hero:not(.scrolled):not(.bright) .logo .on-photo { display: block; }
.site-head .head-wa, .has-hero.bright .site-head .head-wa, .has-hero:not(.scrolled):not(.bright) .site-head .head-wa { background: var(--fg); color: var(--bg); }
.menu ul { background: var(--bg-2); color: var(--fg); border-color: var(--rule); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.menu li a:hover { background: var(--bg-3); }
.pill--dark, .pill--light { background: var(--fg); color: var(--bg); }
.pill--dark:hover, .pill--light:hover { background: #fff; }
.skip:focus { background: var(--fg); color: var(--bg); }

/* Fields: underlines, as on Elyse */
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  background: transparent; color: var(--fg); border: 0; border-bottom: 1px solid var(--rule-2); padding: 12px 2px; min-height: 50px; }
.form select option { background: var(--bg-2); color: var(--fg); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--fg); }
.form input::placeholder { color: var(--fg-3); }
.check { color: var(--fg-2); }
.check input { accent-color: var(--gold); }
.form-box, .close .form-box { background: var(--panel); color: var(--fg); }
.close .form-box > p, .form-box > p { color: #cdbfae; }
.form-box .pill--dark { width: 100%; }

/* Cards, chooser, dialog, tables, footer */
.layout, .layout-opt, .chooser__visual, .home-dialog { background: var(--bg-2); color: var(--fg); }
.layout__body p, .layout-opt p, .layout-opt h3 small { color: var(--fg-2); }
.layout__plan, .chooser__visual .plan-view, .home-dialog img { background: #f1ece4; }
.opt, .chip { background: transparent; color: var(--fg); border-color: var(--rule-2); }
.opt small { color: var(--fg-2); }
.opt:hover, .chip:hover { border-color: var(--fg); }
.opt:has(input:checked), .chip:has(input:checked) { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.opt:has(input:checked) small { color: #4b5550; }
.bars i { background: var(--rule); } .bars i.on { background: var(--gold); }
.home-dialog::backdrop { background: rgba(5, 8, 8, .78); }
.home-dialog .close { background: var(--bg-3); color: var(--fg); }
thead th { color: var(--fg-2); border-bottom-color: var(--gold); }
.site-foot { background: var(--bg-3); color: var(--fg); }
.site-foot img { content: url("/assets/brand/saareeyaa-logo-white.png"); }
.site-foot h2, .site-foot .fine { color: var(--fg-2); }
.site-foot .fine { border-top-color: var(--rule); }
.site-foot .word { color: var(--fg); text-transform: uppercase; }
.intro + .section.dark { padding-top: 0; }

/* Big capitals in Satisfy, the way the logo sets SAA REE YAA */
.display, .h2, .bld h3, .rows strong, .layout__body h3, .step legend, .home-dialog h2 { text-transform: uppercase; letter-spacing: .01em; }
.hero .mono { text-transform: uppercase; }
.rule-gold { width: 64px; height: 1px; background: var(--gold); border: 0; margin: 0 0 28px; }

/* Masked reveals: each line rises out of its own mask when it reaches the screen (calm, once) */
.js .reveal .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .reveal .ln > span { display: block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.2, .7, .1, 1); }
.js .reveal.in .ln > span { transform: none; }
.js .reveal .ln:nth-child(2) > span { transition-delay: .09s; }
.js .reveal .ln:nth-child(3) > span { transition-delay: .18s; }
.js .reveal .ln:nth-child(4) > span { transition-delay: .27s; }
.js .fade { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .1, 1); }
.js .fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal .ln > span, .js .fade { transform: none !important; opacity: 1 !important; transition: none !important; } }

/* Hero: the graded film, the name in huge capitals, the promise at the right */
.hero--night { height: 100svh; min-height: 620px; max-height: 1080px; background: var(--bg-3); }
.hero--night .mono { font-size: clamp(64px, 17vw, 280px); bottom: 3vh; transform: none; line-height: .82; }
.hero__aside { position: absolute; right: var(--pad); bottom: calc(3vh + clamp(64px, 17vw, 280px) * .88); width: min(380px, 40vw); color: #fff; z-index: 2; }
.hero__aside h1 { font: 400 clamp(20px, 1.7vw, 25px)/1.25 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 14px; }
.hero__aside p { font-size: 15px; line-height: 1.55; color: #e7e3dc; margin: 0 0 20px; }
.hero__aside .pills { gap: 8px; }
.hero__aside .pill { min-height: 46px; padding: 0 20px; font-size: 15px; }
.hero--night .hero__pause { top: auto; bottom: 22px; }
@media (max-width: 760px) {
  .hero--night .mono { font-size: 17.4vw; bottom: auto; top: 22svh; left: 50%; transform: translateX(-50%); }
  .hero__aside { left: var(--pad); right: var(--pad); width: auto; bottom: 74px; }
  .hero--night .hero__pause { bottom: 18px; left: var(--pad); right: auto; }
}

/* Statement */
.statement { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.statement h2 { font-size: clamp(48px, 7.2vw, 120px); line-height: .96; }
.statement figure { margin: 32px 0 0; max-width: 380px; }
.statement figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }

/* The 3D building */
.b3d { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.b3d__stage { position: relative; min-height: min(74vh, 700px); background: var(--bg-3); overflow: hidden; }
.b3d__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; touch-action: pan-y; }
.b3d__poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.b3d__poster img { width: 100%; height: 100%; object-fit: cover; }
.b3d.is-live .b3d__poster, .b3d.is-live .b3d__start { display: none; }
.b3d__start { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.b3d__status { position: absolute; left: 16px; bottom: 12px; z-index: 2; margin: 0; padding: 6px 10px; font-size: 13px; color: var(--fg); background: var(--bg-3); }
.b3d__panel { background: var(--bg-2); padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.b3d__panel h3 { font: 400 clamp(26px, 2.4vw, 36px)/1.05 var(--display); text-transform: uppercase; }
.b3d__panel > p { margin: 0; color: var(--fg-2); font-size: 15px; }
.floors { display: flex; flex-wrap: wrap; gap: 8px; }
.floors button { min-height: 44px; padding: 0 16px; border-radius: 9999px; border: 1px solid var(--rule-2); background: transparent; color: var(--fg); font: 500 14px/1 var(--sans); cursor: pointer; }
.floors button:hover { border-color: var(--fg); }
.floors button[aria-pressed="true"] { background: var(--lit); border-color: var(--lit); color: #1a140c; }
.floors button[data-key="s1"][aria-pressed="true"] { background: #e0ccbb; border-color: #e0ccbb; }
.homes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.homes li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.homes li i { width: 12px; height: 15px; border: 1px solid var(--frame); background: var(--glass); }
.homes li.on i { background: var(--lit); border-color: #c98f43; }
.homes li small { color: var(--fg-2); display: block; font-size: 13px; }
.homes li a { font-size: 14px; white-space: nowrap; color: var(--fg); }
.homes li .sold { color: var(--fg-2); font-size: 14px; }
.b3d__note { font-size: 13px; color: var(--fg-2); margin-top: auto; }
@media (max-width: 960px) { .b3d { grid-template-columns: 1fr; } .b3d__stage { min-height: 58vh; } }

/* Residences carousel: a big title across three pictures */
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel__track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: center; position: relative; display: grid; grid-template-columns: 1fr 1.7fr 1fr; gap: clamp(12px, 2vw, 28px); align-items: center; padding: clamp(40px, 5vw, 70px) var(--pad) 0; }
.slide figure { margin: 0; }
.slide img { width: 100%; object-fit: cover; }
.slide .side img { aspect-ratio: 3 / 4; }
.slide .main img { aspect-ratio: 4 / 3.2; }
.slide .side.plan img { object-fit: contain; background: #f1ece4; padding: 14px; }
.slide__title { position: absolute; left: 0; right: 0; top: 0; z-index: 2; text-align: center; margin: 0; font: 400 clamp(44px, 7.4vw, 124px)/.95 var(--display); text-transform: uppercase; color: var(--fg); pointer-events: none; }
.slide__foot { grid-column: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.slide__foot p { margin: 0; color: var(--fg-2); font-size: 15px; max-width: 28em; }
.carousel__nav { display: flex; gap: 10px; justify-content: center; margin-top: 36px; }
.carousel__nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rule-2); background: transparent; color: var(--fg); font-size: 20px; cursor: pointer; }
.carousel__nav button:hover { border-color: var(--fg); }
@media (max-width: 760px) { .slide { grid-template-columns: 1fr; padding-top: 52px; } .slide .side { display: none; } .slide__foot { grid-column: 1; flex-direction: column; align-items: flex-start; } .slide__title { font-size: 12vw; } }

/* Collages: two pictures overlapping beside a headline */
.collage { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.collage + .collage { margin-top: clamp(80px, 10vw, 150px); }
.collage__text { border-left: 1px solid var(--gold); padding-left: clamp(18px, 2vw, 28px); }
.collage__text h2 { font-size: clamp(36px, 4.4vw, 70px); line-height: 1; margin-bottom: 20px; }
.collage__text p { color: var(--fg-2); }
.collage__art { position: relative; aspect-ratio: 7 / 6; }
.collage__art figure { position: absolute; margin: 0; }
.collage__art figure picture, .collage__art figure img { width: 100%; height: 100%; object-fit: cover; }
.collage__art .a { left: 0; top: 20%; width: 50%; height: 62%; z-index: 2; }
.collage__art .b { right: 0; top: 0; width: 64%; height: 100%; }
.collage__art figcaption { position: absolute; left: 0; top: calc(100% + 8px); font-size: 12px; color: var(--fg-2); white-space: nowrap; }
.collage--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.collage--flip .collage__art { order: -1; }
@media (max-width: 860px) { .collage, .collage--flip { grid-template-columns: 1fr; } .collage--flip .collage__art { order: 0; } .collage__art { margin-bottom: 34px; } }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 16px; padding: 24px 0; font: 400 clamp(20px, 1.9vw, 27px)/1.25 var(--display); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 26px; text-align: right; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 26px; max-width: 46em; color: var(--fg-2); }

/* Contact block: picture beside the umber form panel */
.contact-duo { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 0; align-items: stretch; }
.contact-duo figure { margin: 0; min-height: 420px; }
.contact-duo figure picture, .contact-duo figure img { width: 100%; height: 100%; object-fit: cover; }
.contact-duo .form-box { padding: clamp(24px, 4vw, 56px); }
.contact-duo .form-box h2 { font-size: clamp(34px, 3.4vw, 54px); margin-bottom: 10px; }
@media (max-width: 860px) { .contact-duo { grid-template-columns: 1fr; } .contact-duo figure { min-height: 260px; } }

/* Satisfy's capital ligatures read like the logo at hero size and garble small headings: only the giant words keep them */
.display, .h2, .h3, .bld h3, .rows strong, .layout__body h3, .layout-opt h3, .step legend, .home-dialog h2, .b3d__panel h3, .faq summary, .slide__title, .hero__aside h1, .facility span, .paylabels strong, .steps-list li::before { font-variant-ligatures: none; }
.hero .mono, .site-foot .word { font-variant-ligatures: common-ligatures discretionary-ligatures; }

/* "What is around you": the dark Labone map with live pins, and the filterable list beside it */
.near2__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.nmap { position: sticky; top: 96px; margin: 0; }
.nmap figcaption { margin-top: 10px; font-size: 12px; color: var(--fg-2); }
.nmap .street { letter-spacing: .14em; fill: var(--fg-3); text-transform: uppercase; }
.nmap .ring { fill: none; stroke: var(--rule-2); stroke-width: 2; stroke-dasharray: 6 9; }
.nmap .ring__label { font-size: 28px; fill: var(--fg-3); }
.nmap .you__halo { fill: rgba(239, 232, 221, .12); stroke: rgba(239, 232, 221, .5); stroke-width: 1.5; }
.nmap .you__dot { fill: var(--fg); }
.nmap .you__name { font: 400 54px var(--display); fill: var(--fg); letter-spacing: .02em; }
.nmap .you__street { font-size: 26px; fill: #c3a37a; letter-spacing: .08em; }
.nmap .north path { fill: var(--fg-3); } .nmap .north text { fill: var(--fg-3); font-size: 20px; }
.pin { cursor: pointer; transition: opacity .3s ease; }
.pin circle { transition: r .25s ease; }
.pin__name { font-size: 36px; font-weight: 500; fill: var(--fg); paint-order: stroke; stroke: var(--bg); stroke-width: 8px; stroke-linejoin: round; }
.pin__dist { font-size: 29px; fill: #a9b0ab; paint-order: stroke; stroke: var(--bg); stroke-width: 6px; stroke-linejoin: round; }
.nmap.is-filtered .pin:not(.is-shown) { opacity: .12; }
.pin.is-hot circle { r: 20px; }
.pin.is-hot .pin__name { fill: #fff; }
.nmap.is-hot .pin:not(.is-hot) { opacity: .25; }
.nchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.nchips button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 9999px; border: 1px solid var(--rule-2); background: transparent; color: var(--fg); font: 500 14px/1 var(--sans); cursor: pointer; }
.nchips button i { width: 10px; height: 10px; border-radius: 50%; }
.nchips button:hover { border-color: var(--fg); }
.nchips button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.nrows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.nrows li { display: grid; grid-template-columns: 10px minmax(0, 1fr) 70px 64px; gap: 14px; align-items: center; padding: 11px 6px 11px 0; border-bottom: 1px solid var(--rule); transition: background-color .2s ease, opacity .3s ease; }
.nrows li[tabindex] { cursor: pointer; }
.nrows li[tabindex]:hover, .nrows li.is-hot { background: var(--bg-2); }
.nrows li > i { width: 10px; height: 10px; border-radius: 50%; }
.nrow__name { font-size: 16px; line-height: 1.3; }
.nrow__name small { display: block; font-size: 13px; color: var(--fg-2); margin-top: 2px; }
.nrow__bar { height: 2px; background: var(--rule); }
.nrow__bar b { display: block; height: 100%; background: var(--gold); }
.nrow__d { text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; }
.nrows li[hidden] { display: none; }
@media (max-width: 960px) { .near2__grid { grid-template-columns: 1fr; } .nmap { position: relative; top: 0; } }
@media (max-width: 520px) { .nrows li { grid-template-columns: 10px minmax(0, 1fr) 58px; } .nrow__bar { display: none; } .nmap .pin__dist { display: none; } }
@media (max-width: 520px) { .nmap .pin__name { font-size: 48px; } .nmap .pin__dist { display: block; font-size: 38px; } .nmap:not(.is-filtered):not(.is-hot) .pin text, .nmap.is-hot .pin:not(.is-hot) text, .nmap.is-filtered .pin:not(.is-shown) text { display: none; } .nmap .pin circle { r: 18px; } .nmap .street, .nmap .ring__label, .nmap .you__street { display: none; } .nmap .you__name { font-size: 64px; } }

/* ---------- Navigation (22 Oct 2026) ---------- */
.site-head { z-index: 60; transition: transform .45s cubic-bezier(.2, .7, .1, 1), background-color .3s ease, border-color .3s ease; }
body.nav-away:not(.menu-open) .site-head { transform: translateY(-100%); }
.nav { flex: 1; justify-content: flex-end; margin-right: 26px; }
.nav ul { gap: 34px; }
.nav a { position: relative; display: inline-block; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; padding: 8px 0; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { text-decoration: none; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px 0 10px; border: 0; background: transparent; color: inherit; font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; cursor: pointer; }
.menu-btn__icon { position: relative; width: 22px; height: 12px; }
.menu-btn__icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s ease, top .35s ease; }
.menu-btn__icon i:first-child { top: 0; }
.menu-btn__icon i:last-child { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { top: 5px; transform: rotate(-45deg); }

.menu-panel { position: fixed; inset: 0; z-index: 55; overflow-y: auto; overscroll-behavior: contain; background: var(--bg-3); color: var(--fg); padding: 96px var(--pad) 28px; display: flex; flex-direction: column; gap: 26px;
  clip-path: inset(0 0 100% 0); transition: clip-path .55s cubic-bezier(.7, 0, .2, 1); }
.menu-panel.is-open { clip-path: inset(0 0 0 0); }
.menu-panel[hidden] { display: none; }
.menu-panel__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.menu-panel__list li { border-bottom: 1px solid var(--rule); opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .1, 1); }
.menu-panel.is-open .menu-panel__list li { opacity: 1; transform: none; }
.menu-panel.is-open .menu-panel__list li:nth-child(1) { transition-delay: .15s; }
.menu-panel.is-open .menu-panel__list li:nth-child(2) { transition-delay: .2s; }
.menu-panel.is-open .menu-panel__list li:nth-child(3) { transition-delay: .25s; }
.menu-panel.is-open .menu-panel__list li:nth-child(4) { transition-delay: .3s; }
.menu-panel.is-open .menu-panel__list li:nth-child(5) { transition-delay: .35s; }
.menu-panel__list a { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; padding: 13px 0; text-decoration: none; }
.menu-panel__list picture img { width: 72px; height: 72px; object-fit: cover; }
.menu-panel__list b { display: block; font: 400 clamp(28px, 8.4vw, 46px)/1.02 var(--display); text-transform: uppercase; font-variant-ligatures: none; }
.menu-panel__list small { display: block; margin-top: 4px; font-size: 14px; color: var(--fg-2); }
.menu-panel__list a[aria-current="page"] b { color: var(--gold); }
.menu-panel__foot { display: grid; gap: 10px; margin-top: auto; }
.menu-panel__foot .pill { width: 100%; }
.menu-panel__foot p { margin: 8px 0 0; font-size: 14px; color: var(--fg-2); line-height: 1.6; }
body.menu-open { overflow: hidden; }
body.menu-open .site-head { background: var(--bg-3); border-color: var(--rule); color: var(--fg); }

@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-head .head-wa { width: 44px; min-height: 44px; padding: 0; }
  .head-wa span { display: none; }
  .site-head .wrap { min-height: 68px; }
}
@media (prefers-reduced-motion: reduce) { .menu-panel, .menu-panel__list li, .site-head { transition: none; } }
.collage__art figcaption { white-space: normal; right: -100%; line-height: 1.45; }

/* ---------- Map zoom (22 Oct 2026) ---------- */
.nmap__frame { position: relative; overflow: hidden; touch-action: pan-y; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.nmap__frame.is-zoomed { touch-action: none; cursor: grab; }
.nmap__frame.is-dragging { cursor: grabbing; }
.nmap__view { position: relative; transform-origin: 0 0; will-change: transform; }
.nmap__view.is-easing { transition: transform .45s cubic-bezier(.2, .7, .1, 1); }
.nmap__view > picture img { width: 100%; height: auto; display: block; -webkit-user-drag: none; pointer-events: none; }
.nmap__view > svg { position: absolute; inset: 0; width: 100%; height: auto; }
/* pins, labels and the building keep their size while the map grows */
.nmap .pin > *, .nmap .you > * { scale: var(--ik, 1); }
.nmap .ring, .nmap .street { stroke-width: calc(2px * var(--ik, 1)); }
.nmap .street { font-size: calc(25px * var(--ik, 1)); }
.nmap .ring__label { font-size: calc(28px * var(--ik, 1)); }
.nmap__north { position: absolute; right: 14px; top: 12px; width: 22px; height: 44px; pointer-events: none; }
.nmap__north path { fill: var(--fg-3); } .nmap__north text { fill: var(--fg-3); font-size: 18px; font-family: var(--sans); }
.nmap__ctl { position: absolute; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.nmap__ctl button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rule-2); background: rgba(17, 13, 9, .92); color: var(--fg); font: 400 22px/1 var(--sans); cursor: pointer; display: grid; place-items: center; }
.nmap__ctl button:hover:not(:disabled) { border-color: var(--fg); }
.nmap__ctl button:disabled { opacity: .35; cursor: default; }
.nmap__ctl button[hidden] { display: none; }
.nmap__hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: 10px 16px; background: rgba(17, 13, 9, .92); color: var(--fg); font-size: 14px; border-radius: 9999px; opacity: 0; transition: opacity .3s ease; pointer-events: none; white-space: nowrap; }
.nmap__hint.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nmap__view.is-easing { transition: none; } }
@media (max-width: 520px) { .nmap:not(.is-filtered) .nmap__frame.is-zoomed .pin text { display: block; } }
