/* grammar: shape pill-marker | line 1px | label sans-13-medium | verb draws. thread: line (one 1px rule system from the header to the footer). */
/* The Nest, design system v2 (homepage first, chrome site-wide).
   Place page: one ground, one ink, one accent (house green), Rethink Sans,
   pill buttons, rounded panels. Spacing ramp 4 8 12 16 24 32 48 64 96 128. */

:root {
  --n-bg: #F6F7F5;
  --n-alt: #ECEFEB;
  --n-ink: #17201B;
  --n-muted: #55615A;
  --n-line: rgba(23, 32, 27, .14);
  --n-brand: #1E4A33;
  --n-brand-hover: #173B28;
  --n-band: #163D2A;
  --n-on-band: #F6F7F5;
  --n-on-band-muted: #BFCBC3;
  --n-display: 'Rethink Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --n-text: 'Rethink Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav: 72px;
  --gut: 80px;
  --padt: 120px;
  --padb: 72px;
  --bar: 0px;
  --r-btn: 999px;
  --r-field: 12px;
  --r-panel: 24px;
  --r-photo: 16px;
  --btn-h: 48px;
  --m-in: 140ms;
  --m-out: 200ms;
  --m-press: 90ms;
  --m-image: 600ms;
  --m-ease: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 1023px) { :root { --gut: 48px; } }
@media (max-width: 639px) {
  :root { --nav: 56px; --gut: 24px; --padt: 96px; --padb: 48px; --bar: calc(64px + env(safe-area-inset-bottom)); }
}

/* ---------- base ---------- */
html { scroll-padding-top: var(--nav); scroll-behavior: auto; }
body { background: var(--n-bg) !important; color: var(--n-ink); font-family: var(--n-text) !important; -webkit-font-smoothing: antialiased; }
body:not(.is-home) #main-content { padding-top: var(--nav); }
.n-wrap { width: min(100% - 2 * var(--gut), 1280px); margin-inline: auto; }
.n-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.n-v2 main h1, .n-v2 main h2, .n-v2 main h3, .n-nav h2, .n-closing h2, .n-closing h3, .n-sheet h2 { font-family: var(--n-display) !important; font-weight: 500; letter-spacing: -.025em; color: inherit; margin: 0; }
.n-v2 main p { margin: 0; }
.n-v2 main :focus-visible, :where(.n-nav, .n-closing, .n-sheet, .n-actionbar) :focus-visible { outline: 2px solid var(--n-brand); outline-offset: 2px; border-radius: 8px; animation: n-ring var(--m-out) var(--m-ease); }
@keyframes n-ring { from { outline-offset: 6px; } }
.n-closing :focus-visible { outline-color: var(--n-on-band); }

/* the home page and the new chrome: pictures sit still, no blur-in */
.n-v2 img, .n-nav img, .n-closing img, .n-sheet img { filter: none; background-color: transparent; transform: none; }
html, body { margin: 0; }
.n-v2 *, .n-v2 *::before, .n-v2 *::after { box-sizing: border-box; }
.n-v2 ul, .n-v2 dl, .n-v2 figure, .n-v2 blockquote { margin: 0; }
.n-v2 img { max-width: 100%; }
body.n-v2 { min-height: 100vh; display: flex; flex-direction: column; }
html:has(body.n-v2), body.n-v2 { overflow-x: clip !important; } /* hidden breaks the sticky hero */
body.n-v2 main { flex: 1; }

/* ---------- buttons and links ---------- */
.n-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--btn-h); padding: 0 24px; border-radius: 0; border: 0; clip-path: var(--n-px-corners-btn);
  font: 500 16px/1 var(--n-text); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--m-out) var(--m-ease), border-color var(--m-out) var(--m-ease), color var(--m-out) var(--m-ease), transform var(--m-out) var(--m-ease);
}
.n-btn--primary { background: var(--n-brand); color: #FFFFFF; }
.n-btn--secondary { background: rgba(23, 32, 27, .07); color: var(--n-ink); }
.n-btn--wide { width: 100%; }
.n-btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.n-btn--on-dark { background: rgba(246, 247, 245, .12); color: var(--n-on-band); }
.n-btn:active { transform: translateY(1px) scale(.985); transition-duration: var(--m-press); }
.n-btn:focus-visible, .n-menu-btn:focus-visible { outline: none !important; box-shadow: inset 0 0 0 2px var(--n-brand), inset 0 0 0 4px #FFFFFF; }
.n-btn--primary:focus-visible { box-shadow: inset 0 0 0 2px #FFFFFF; }
.n-arrow { flex: none; transition: transform var(--m-out) var(--m-ease); }
.n-link {
  color: inherit; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--m-out) var(--m-ease), color var(--m-out) var(--m-ease);
}
.n-link--arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding-bottom: 2px; background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--n-line), var(--n-line)); background-size: 0 1px, 100% 1px; background-position: 0 100%, 0 100%; }
@media (hover: hover) and (pointer: fine) {
  .n-btn:hover { transition-duration: var(--m-in); transform: translateY(-1px); }
  .n-btn--primary:hover { background: color-mix(in srgb, var(--n-brand) 86%, var(--n-ink)); }
  .n-btn--secondary:hover { background: rgba(23, 32, 27, .13); }
  .n-btn--on-dark:hover { background: rgba(246, 247, 245, .2); }
  .n-btn:active { transform: translateY(1px) scale(.985); }

  .n-link:hover { background-size: 100% 1px; transition-duration: var(--m-in); }
  .n-link--arrow:hover { background-size: 100% 1px, 100% 1px; }
}

/* ---------- photographs ---------- */
.n-photo { display: block; overflow: hidden; border-radius: var(--r-photo); background: var(--n-alt); }
.n-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--m-image) var(--m-ease); }
.n-photo--link { transition: transform 180ms var(--m-ease); }
@media (hover: hover) and (pointer: fine) {
  .n-photo--link:hover { transform: translateY(-2px); }
  .n-photo--link:hover img { transform: scale(1.03); }
}

/* ---------- header ---------- */
/* pixel corners: 3px steps, shared by the menu highlights */
:root { --n-px-corners-btn: polygon(8px 0, calc(100% - 8px) 0, calc(100% - 8px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 4px) calc(100% - 8px), calc(100% - 4px) calc(100% - 4px), calc(100% - 8px) calc(100% - 4px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 8px), 0 calc(100% - 8px), 0 8px, 4px 8px, 4px 4px, 8px 4px);
  --n-px-corners: polygon(6px 0, calc(100% - 6px) 0, calc(100% - 6px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 3px) calc(100% - 6px), calc(100% - 3px) calc(100% - 3px), calc(100% - 6px) calc(100% - 3px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 3px), 3px calc(100% - 3px), 3px calc(100% - 6px), 0 calc(100% - 6px), 0 6px, 3px 6px, 3px 3px, 6px 3px); }
.n-nav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav); pointer-events: none; transition: transform 320ms var(--m-ease); }
.n-nav > * { pointer-events: auto; }
.n-nav.is-away { transform: translateY(-110%); }
.n-nav { background: var(--n-bg); transition: transform 320ms var(--m-ease), background-color 420ms var(--m-ease); }
.n-nav.is-floating { background: transparent; }
.n-nav__bar { position: relative; height: var(--nav); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; border-radius: 0; background: var(--n-bg); box-shadow: 0 1px 0 transparent;
  transition: width 420ms var(--m-ease), height 420ms var(--m-ease), margin 420ms var(--m-ease), padding 420ms var(--m-ease), border-radius 420ms var(--m-ease), background-color 420ms var(--m-ease), box-shadow 420ms var(--m-ease); }
.n-nav.is-floating .n-nav__bar { width: min(100% - 2 * var(--gut) + 32px, 1120px); height: 60px; margin-top: 12px; padding: 0 8px 0 24px; border-radius: 999px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 0 0 1px var(--n-line), 0 12px 32px rgba(23, 32, 27, .1); }
.n-nav.is-floating .n-nav__book { min-height: 44px; }
.n-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--n-ink); text-decoration: none; justify-self: center; }
.n-brand img { width: 40px; height: 36px; object-fit: contain; }
.n-brand span { font: 600 20px/1 var(--n-display); letter-spacing: -.03em; }
.n-nav__words { position: relative; display: flex; align-items: stretch; gap: 4px; height: 100%; margin-left: -12px; }
.n-nav__mark { position: absolute; left: 0; top: 50%; height: 36px; margin-top: -18px; background: var(--n-alt); clip-path: var(--n-px-corners); opacity: 0; pointer-events: none; transition: transform 260ms var(--m-ease), width 260ms var(--m-ease), opacity 160ms var(--m-ease); }
.n-nav__words.is-marking .n-nav__mark { opacity: 1; }
.n-nav__item { display: flex; align-items: center; }
.n-nav__word { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; color: var(--n-muted); font: 500 15px/1 var(--n-text); text-decoration: none; white-space: nowrap; transition: color var(--m-out) var(--m-ease); }
.n-nav__word[aria-current="page"] { color: #FFFFFF; background: var(--n-brand); clip-path: var(--n-px-corners); }
.n-nav__end { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 0; }
.n-menu-btn { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; clip-path: var(--n-px-corners-btn); background: rgba(23, 32, 27, .07); color: var(--n-ink); cursor: pointer; transition: border-color var(--m-out) var(--m-ease), transform var(--m-out) var(--m-ease); }
.n-menu-btn:active { transform: scale(.95); }
/* the apartments panel: opens on hover after 150ms, or on keyboard focus */
.n-panel { position: fixed; left: 50%; top: calc(var(--nav) + 12px); width: min(100% - 2 * var(--gut) + 24px, 1304px); padding: 16px; border-radius: 28px; padding-top: 40px; overflow: visible; background: #FFFFFF; box-shadow: 0 0 0 1px var(--n-line), 0 24px 56px rgba(23, 32, 27, .14); opacity: 0; visibility: hidden; transform: translate(-50%, -8px) scale(.98); transform-origin: 50% 0; transition: opacity 140ms var(--m-ease), transform 140ms var(--m-ease), visibility 0s linear 140ms; }
.n-nav.is-floating .n-panel { top: calc(100% + 10px); width: 100%; }
.n-nav__item.has-panel:focus-within .n-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.n-panel__grid { width: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(4, minmax(0, 1fr)); gap: 12px; }
.n-panel__intro { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 12px 8px 8px 12px; }
.n-panel__intro p { margin: 0; color: var(--n-ink); font: 500 22px/1.15 var(--n-display); letter-spacing: -.025em; }
.n-panel__intro span { color: var(--n-muted); font-size: 14px; line-height: 1.45; }
.n-panel__intro .n-link--arrow { align-self: flex-start; color: var(--n-ink); font-size: 15px; }
.n-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -40px; height: 64px; } /* hover bridge from the menu word */
.n-panel > .n-blocks { inset: 0 0 auto; height: 40px; border-radius: 28px 28px 0 0; }
.n-panel__card { display: grid; gap: 2px; padding: 6px 6px 12px; color: var(--n-ink); text-decoration: none; clip-path: var(--n-px-corners); transition: background-color var(--m-out) var(--m-ease); }
.n-panel__card .n-photo { aspect-ratio: 4 / 3; margin-bottom: 10px; border-radius: 14px; }
.n-panel__name { padding: 0 6px; font: 600 16px/1.3 var(--n-display); letter-spacing: -.01em; }
.n-panel__price { padding: 0 6px; color: var(--n-muted); font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .n-nav__word:not([aria-current]):hover { color: var(--n-ink); }
  .n-nav__item.has-panel:hover .n-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity 220ms var(--m-ease) 150ms, transform 220ms var(--m-ease) 150ms, visibility 0s linear 150ms; }
  .n-panel__card:hover { background: var(--n-alt); }
  .n-closing__cols .n-link:hover, .n-closing__legal .n-link:hover { background-color: rgba(246, 247, 245, .12); color: #FFFFFF; }
  .n-panel__card:hover img { transform: scale(1.03); }
  .n-menu-btn:hover { background: rgba(23, 32, 27, .13); }
}

/* below 1200 the menu words fold into the menu button */
@media (max-width: 1199px) {
  .n-nav__words { display: none; }
  .n-nav__bar { grid-template-columns: auto 1fr; gap: 12px; }
  .n-brand { justify-self: start; }
  .n-menu-btn { display: grid; }
}

/* mobile sheet and phone bar */
.n-sheet { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; padding: 0 var(--gut) calc(24px + env(safe-area-inset-bottom)); background: var(--n-band); color: var(--n-on-band); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--m-out) var(--m-ease), transform 240ms var(--m-ease), visibility 0s linear .25s; }
.n-sheet .n-sheet__links a { transform: translateY(8px); opacity: 0; transition: transform 320ms var(--m-ease), opacity 240ms var(--m-ease), background-color var(--m-out) var(--m-ease); }
.n-sheet.is-open .n-sheet__links a { transform: none; opacity: 1; }
.n-sheet.is-open .n-sheet__links a:nth-child(2) { transition-delay: 30ms; } .n-sheet.is-open .n-sheet__links a:nth-child(3) { transition-delay: 60ms; } .n-sheet.is-open .n-sheet__links a:nth-child(4) { transition-delay: 90ms; } .n-sheet.is-open .n-sheet__links a:nth-child(5) { transition-delay: 120ms; }
.n-sheet.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.n-sheet__top { display: flex; align-items: center; justify-content: space-between; height: var(--nav); }
.n-sheet__top .n-menu-btn { display: grid; }
.n-sheet__links { display: grid; margin-top: 24px; }
.n-sheet > :not(.n-blocks) { position: relative; z-index: 1; }
.n-sheet__top .n-brand { color: var(--n-on-band); }
.n-sheet__top .n-menu-btn { background: rgba(246, 247, 245, .12); color: var(--n-on-band); }
.n-sheet__links a { display: flex; align-items: center; min-height: 56px; margin: 0 -12px; padding: 0 12px; border-bottom: 1px solid rgba(246, 247, 245, .12); color: var(--n-on-band); font: 500 26px/1.2 var(--n-display); letter-spacing: -.02em; text-decoration: none; }
.n-sheet__links a[aria-current="page"] { background: rgba(246, 247, 245, .12); border-color: transparent; clip-path: var(--n-px-corners); }
.n-sheet__foot { display: grid; gap: 8px; margin-top: auto; color: var(--n-on-band-muted); font-size: 16px; line-height: 1.5; }
.n-sheet__foot .n-link { color: var(--n-on-band); justify-self: start; }
.n-sheet__foot p { margin: 0; }
.n-actionbar { display: none; }

@media (max-width: 1023px) {

}
@media (max-width: 639px) {
  .n-nav__book { display: none; }
  .n-brand img { width: 36px; height: 32px; }
  .n-brand span { font-size: 18px; }
  .n-actionbar { display: block; position: fixed; inset: auto 0 0; z-index: 55; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: var(--n-bg); border-top: 1px solid var(--n-line); }
  .n-actionbar .n-btn { width: 100%; }
}

/* ---------- sections ---------- */
.n-sec { padding: 64px 0; }
.n-sec--band { background: var(--n-alt); margin: 0; }
.n-sec--band + .n-sec { padding-top: 64px; }
.n-v2 main h2 { font-size: clamp(32px, 2.2vw + 12px, 48px); line-height: 1.08; }
.n-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: 40px; padding-top: 24px; border-top: 1px solid var(--n-line); }
.n-head__line { margin-top: 12px !important; max-width: 56ch; color: var(--n-muted); font-size: 17px; line-height: 1.55; }
.n-head--flush { margin-bottom: 24px; align-items: flex-start; padding-top: 0; border-top: 0; }
.n-card { border-radius: 28px; overflow: hidden; }

/* hero: heading and two small photographs on the left, the living room tall on the right, the slip across the foot */
.n-hero { padding: calc(var(--nav) + 40px) 0 48px; }
.n-hero { position: relative; isolation: isolate; overflow: hidden; }
.n-hero > .n-wrap { position: relative; z-index: 1; }
.n-blocks { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.n-fob { overflow: hidden; }
.n-fob > .n-blocks { inset: 0 0 auto; height: 40px; }
.n-fob::before { z-index: 1; }
.n-fob > :not(.n-blocks) { position: relative; z-index: 1; }

/* the scroll moment: the hero holds while the apartments band rises over it;
   the hero's blocks spread inward and its content settles back (nest-blocks.js sets --p) */
@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
  .n-hero { position: sticky; z-index: 0; }
  .n-hero > .n-wrap { transform: translateY(calc(var(--p, 0) * -24px)) scale(calc(1 - var(--p, 0) * .04)); opacity: calc(1 - var(--p, 0) * .5); transform-origin: 50% 0; }
  .is-home main > section:not(.n-hero) { position: relative; z-index: 1; background: var(--n-bg); }
  .is-home main > .n-sec--band { background: var(--n-alt); border-radius: 32px 32px 0 0; box-shadow: 0 -16px 48px rgba(23, 32, 27, .08); }
}
.n-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; height: clamp(520px, calc(100svh - var(--nav) - 200px), 640px); }
.n-hero__side { grid-column: 1 / 6; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 0; }
.n-hero h1 { max-width: none; font-size: clamp(44px, 5.4vw, 104px); text-wrap: balance; overflow-wrap: normal; font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.n-hero__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; height: 42%; min-height: 160px; }
.n-hero__pair .n-photo, .n-hero__main { border-radius: 24px; padding: 6px; background: rgba(255, 255, 255, .38); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(23, 32, 27, .07), 0 16px 40px rgba(23, 32, 27, .08); }
.n-hero__pair .n-photo img, .n-hero__main img { border-radius: 18px; }
.n-hero__main { grid-column: 6 / 13; height: 100%; }
.n-hero__main img { object-position: 35% 60%; }

/* the booking slip: one row. Key tags for the flats, two dates, the price, the button */
.n-slipbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) auto; align-items: center; margin-top: 16px; padding: 8px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--n-line); }
.n-slipbar__cell { position: relative; display: grid; gap: 4px; min-width: 0; margin: 0; padding: 8px 24px; border: 0; }
.n-slipbar__cell + .n-slipbar__cell::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; border-left: 1px solid var(--n-line); }
.n-slipbar__label { padding: 0; color: var(--n-muted); font-size: 13px; font-weight: 500; line-height: 1.2; }
.n-date { cursor: pointer; }
.n-date input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.n-date:focus-within .n-date__show { box-shadow: 0 2px 0 var(--n-brand); }
.n-date__show { justify-self: start; color: var(--n-muted); font-size: 16px; font-weight: 500; line-height: 1.3; transition: box-shadow var(--m-out) var(--m-ease); }
.n-date__show.is-set { color: var(--n-ink); }
.n-slipbar__total strong small { font-size: 14px; font-weight: 400; color: var(--n-muted); letter-spacing: 0; }
.n-slipbar__total strong { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.n-slipbar__go { min-height: 56px; padding: 0 32px; }
.n-slipbar__msg { grid-column: 1 / -1; margin: 0 !important; padding: 0 24px; color: #A3261B; font-size: 14px; }
.n-slipbar__msg:empty { display: none; }
@media (hover: hover) and (pointer: fine) {
  .n-date:hover .n-date__show { color: var(--n-ink); }
}

/* date picker: opens upward over the photos; pixel-corner ends, a tinted band for the nights */
.n-slipbar { position: relative; }
.n-date { border: 0; background: none; text-align: left; font: inherit; color: inherit; }
.n-date.is-active .n-date__show { color: var(--n-brand); }
.n-cal { position: absolute; z-index: 20; left: 0; bottom: calc(100% + 12px); padding: 24px; border-radius: 24px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--n-line), 0 24px 56px rgba(23, 32, 27, .16); transform-origin: 30% 100%; animation: n-cal-in 200ms var(--m-ease); }
@keyframes n-cal-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.n-cal__months { display: grid; grid-template-columns: repeat(2, 280px); gap: 32px; }
.n-cal__head { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; margin-bottom: 12px; }
.n-cal__head p { margin: 0; text-align: center; font-weight: 600; font-size: 15px; }
.n-cal__nav { width: 32px; height: 32px; border: 0; background: var(--n-bg); color: var(--n-ink); font-size: 20px; line-height: 1; cursor: pointer; clip-path: var(--n-px-corners); }
.n-cal__nav:disabled { opacity: .3; cursor: default; }
.n-cal__grid { display: grid; grid-template-columns: repeat(7, 40px); }
.n-cal__dow { display: grid; place-items: center; height: 28px; color: var(--n-muted); font-size: 12px; font-weight: 500; }
.n-cal__day { position: relative; height: 40px; border: 0; background: none; color: var(--n-ink); font: 500 15px/1 var(--n-text); font-variant-numeric: tabular-nums; cursor: pointer; }
.n-cal__day:disabled { color: rgba(23, 32, 27, .28); cursor: default; }
.n-cal__day.is-today::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; background: var(--n-brand); }
.n-cal__day.is-between { background: var(--n-alt); }
.n-cal__day.is-start, .n-cal__day.is-end { background: var(--n-brand); color: #FFFFFF; clip-path: var(--n-px-corners); }
.n-cal__day.is-start::after, .n-cal__day.is-end::after { background: #FFFFFF; }
.n-cal__day:focus-visible { outline: 2px solid var(--n-brand); outline-offset: -2px; }
.n-cal__foot { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--n-line); }
.n-cal__foot p { margin: 0 auto 0 0 !important; color: var(--n-muted); font-size: 14px; }
.n-cal__foot .n-link { border: 0; background: none; padding: 0; font: 500 14px/1.4 var(--n-text); color: var(--n-ink); cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .n-cal__day:not(:disabled):not(.is-start):not(.is-end):hover { background: var(--n-alt); clip-path: var(--n-px-corners); }
  .n-cal__nav:not(:disabled):hover { background: var(--n-alt); }
}
@media (max-width: 639px) {
  .n-cal { left: -8px; right: -8px; padding: 16px; }
  .n-cal__months { grid-template-columns: 1fr; }
  .n-cal__grid { grid-template-columns: repeat(7, 1fr); }
}

/* the carousel ("Inside the flats"): two rows drifting in opposite directions, CSS only */
.n-reel { position: relative; isolation: isolate; overflow: hidden; }
.n-reel > .n-blocks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.n-reel > :not(.n-blocks) { position: relative; z-index: 1; }
.n-reel__actions { display: flex; align-items: center; gap: 24px; }
.n-reel__row { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.n-reel__row + .n-reel__row { margin-top: 10px; }
.n-reel__track { display: flex; gap: 16px; width: max-content; animation: n-reel 48s linear infinite; }
.n-reel__row--back .n-reel__track { animation-direction: reverse; animation-duration: 56s; }
.n-reel__item { flex: none; width: 260px; aspect-ratio: 4 / 3; }
.n-reel__row--back .n-reel__item { width: 220px; }
.n-reel:hover .n-reel__track, .n-reel:focus-within .n-reel__track, .n-reel.is-paused .n-reel__track { animation-play-state: paused; }
@keyframes n-reel { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .n-reel__track { animation: none; } .n-reel__pause { display: none; } }
@media (max-width: 639px) { .n-reel__item { width: 180px; } .n-reel__row--back .n-reel__item { width: 150px; } .n-reel__actions { flex-wrap: wrap; gap: 12px 24px; } }

/* key fobs */
.n-fobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.n-fob { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 40px 12px 12px; border-radius: 32px; background: #FFFFFF; }
.n-fob::before { content: ''; position: absolute; top: 12px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--n-bg); box-shadow: inset 0 1px 3px rgba(23, 32, 27, .3), 0 0 0 3px rgba(23, 32, 27, .06); }
.n-fob .n-photo { aspect-ratio: 4 / 3; border-radius: 22px; }
.n-fob__body { display: flex; align-items: flex-start; gap: 16px; padding: 0 8px; }
.n-fob__info { display: grid; gap: 4px; }
.n-fob h3 { font-size: 22px; line-height: 1.2; }
.n-fob p { color: var(--n-muted); font-size: 15px; line-height: 1.45; }
.n-fob .n-fob__price { color: var(--n-ink); }
.n-fob__price strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.n-fob__state { padding: 0 8px; color: var(--n-muted); font-size: 14px; }
.n-fob .n-btn { margin-top: auto; width: 100%; }

/* mosaic */
.n-mosaic { display: grid; grid-template-columns: 1fr 1.5fr 1fr; grid-template-rows: 260px 260px; grid-template-areas: "a b c" "a d c"; gap: 16px; }
.n-mosaic .n-photo { border-radius: 24px; }
.n-mosaic__a { grid-area: a; } .n-mosaic__b { grid-area: b; } .n-mosaic__c { grid-area: c; } .n-mosaic__d { grid-area: d; }

/* reviews and directions bento */
.n-visit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.n-map { position: relative; min-height: 420px; border-radius: 28px; }
.n-map img { object-position: center; }
.n-pin { position: absolute; left: 50%; top: 50%; width: 55px; height: 72px; margin: -60px 0 0 -27.5px; pointer-events: none; }
.n-pin__svg { position: relative; z-index: 2; display: block; transition: transform 320ms var(--m-ease); }
.n-pin__shadow { position: absolute; left: 50%; top: 64px; width: 26px; height: 6px; margin-left: -13px; background: rgba(23, 32, 27, .22); clip-path: var(--n-px-corners); transition: transform 320ms var(--m-ease), opacity 320ms var(--m-ease); }
.n-pin__tag { position: absolute; z-index: 2; left: 64px; top: 10px; padding: 8px 12px; background: var(--n-ink); color: #FFFFFF; font: 600 13px/1 var(--n-text); white-space: nowrap; clip-path: var(--n-px-corners); transition: transform 320ms var(--m-ease); }
.n-pin__ring { position: absolute; z-index: 1; left: 50%; top: 66px; width: 44px; height: 14px; margin: -7px 0 0 -22px; border-radius: 50%; border: 2px solid var(--n-brand); opacity: 0; transform: scale(.4); }
.n-photo--link.n-map img { transform: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .n-map:hover .n-pin__svg, .n-map:hover .n-pin__tag { transform: translateY(-4px); }
  .n-map:hover .n-pin__shadow { transform: scaleX(.75); opacity: .6; }
  .n-map:hover .n-pin__ring { animation: n-pin-ring 700ms cubic-bezier(.2, .8, .2, 1) 1 forwards; }
}
@keyframes n-pin-ring { 0% { opacity: .55; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.4); } }
.n-visitcard { display: flex; flex-direction: column; background: var(--n-band); color: var(--n-on-band); }
.n-visitcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px; flex: 1; }
.n-visitcard__addr { font: 500 28px/1.2 var(--n-display); letter-spacing: -.03em; }
.n-visitcard p { color: var(--n-on-band-muted); font-size: 15px; line-height: 1.5; }
.n-times { display: grid; width: 100%; margin: 8px 0; }
.n-times div { display: flex; justify-content: space-between; align-items: center; min-height: 44px; border-bottom: 1px solid rgba(246, 247, 245, .16); font-size: 15px; }
.n-times div:first-child { border-top: 1px solid rgba(246, 247, 245, .16); }
.n-times dt { color: var(--n-on-band-muted); }
.n-times dd { margin: 0; font-variant-numeric: tabular-nums; }
.n-visitcard .n-btn { margin-top: auto; }
.n-visitcard :focus-visible { outline-color: var(--n-on-band); }

/* empty states */
.n-empty { display: grid; gap: 12px; justify-items: start; max-width: 520px; padding: 40px; border-radius: 28px; background: var(--n-alt); }
.n-empty--flat { padding: 0; background: none; }
.n-empty h3 { font-size: 24px; }
.n-empty p { color: var(--n-muted); line-height: 1.6; }

/* ---------- footer: the brand band ---------- */
.n-closing { position: relative; isolation: isolate; overflow: hidden; padding: 80px 0 calc(32px + var(--bar)); background: var(--n-band); color: var(--n-on-band); }
.n-closing > .n-wrap { position: relative; z-index: 1; }
.n-weave { position: absolute; left: 0; top: 0; z-index: 0; display: block; pointer-events: none; image-rendering: pixelated; }
.n-closing::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: repeating-linear-gradient(to right, var(--n-band) 0 1px, transparent 1px 10px), repeating-linear-gradient(to bottom, var(--n-band) 0 1px, transparent 1px 10px); }
@media (max-width: 639px) { .n-closing::after { background-image: repeating-linear-gradient(to right, var(--n-band) 0 1px, transparent 1px 6px), repeating-linear-gradient(to bottom, var(--n-band) 0 1px, transparent 1px 6px); } }
.n-closing__dir { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "name cols" "legal legal"; gap: 64px 48px; align-items: end; }
.n-closing__name { grid-area: name; }
.n-closing__legal { grid-area: legal; }
.n-closing__name p { margin: 0; font: 500 min(10vw, 148px)/.85 var(--n-display); letter-spacing: -.06em; }
.n-closing__cols { grid-area: cols; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; }
.n-closing__cols > * { display: grid; gap: 8px; align-content: start; min-width: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.n-closing__cols .n-link, .n-closing__legal .n-link { justify-self: start; margin: -4px -8px; padding: 4px 8px; background: none; clip-path: var(--n-px-corners); transition: background-color var(--m-out) var(--m-ease), color var(--m-out) var(--m-ease); }
.n-closing__cols p { margin: 0; color: var(--n-on-band-muted); }
.n-closing h3 { font-family: var(--n-text) !important; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--n-on-band-muted); margin-bottom: 4px; }
.n-closing__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(246, 247, 245, .18); color: var(--n-on-band-muted); font-size: 14px; }
.n-closing__legal span { margin-right: auto; }

.n-closing__stay { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 40px; margin-bottom: 56px; border-bottom: 1px solid rgba(246, 247, 245, .18); }
.n-closing__label { margin: 0 0 8px; color: var(--n-on-band-muted); font-size: 13px; font-weight: 500; }
.n-closing__state { margin: 0; font: 500 clamp(20px, 1vw + 12px, 26px)/1.3 var(--n-display); letter-spacing: -.02em; max-width: 40ch; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .n-hero__grid { height: auto; }
  .n-hero__side, .n-hero__main { grid-column: 1 / -1; }
  .n-hero__main { order: -1; height: 52vw; }
  .n-hero__side { order: -2; }
  .n-hero__pair { height: 28vw; }
  .n-slipbar { grid-template-columns: 1fr 1fr; border-radius: 24px; padding: 8px; row-gap: 8px; }
  .n-slipbar__go { grid-column: 1 / -1; }
  .n-fobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px 240px; grid-template-areas: "a b" "a c" "d d"; }
  .n-closing__dir { grid-template-columns: 1fr; grid-template-areas: "cols" "name" "legal"; gap: 48px; }
  .n-closing__cols { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .n-closing__name p { font-size: 22vw; }
}

/* ---------- phone ---------- */
@media (max-width: 639px) {
  .n-sec { padding: 48px 0; }
  .n-sec--band + .n-sec { padding-top: 56px; }
  .n-hero { padding-top: calc(var(--nav) + 24px); padding-bottom: 48px; }
  .n-hero h1 { font-size: 40px; }
  .n-hero__main { height: 240px; }
  .n-hero__pair { height: 120px; gap: 8px; }
  .n-hero__grid { gap: 8px; }
  .n-hero h1 { max-width: none; }
  .n-closing__stay { flex-direction: column; align-items: flex-start; }
  .n-closing__stay .n-btn { width: 100%; }
  .n-slipbar__total { grid-column: 1 / -1; }
  .n-slipbar__total::before { display: none; }
  .n-slipbar__cell { padding: 8px 16px; }
  .n-head { flex-direction: column; align-items: flex-start; }
  .n-fobs { grid-template-columns: 1fr; }
  .n-mosaic { grid-template-rows: 200px 200px 160px; gap: 8px; }
  .n-mosaic .n-photo { border-radius: 18px; }
  .n-visitcard__body { padding: 24px; }
  .n-visitcard .n-btn { width: 100%; }
  .n-closing { padding-top: 64px; }
  .n-closing__legal span { width: 100%; }
  .n-closing__cols { grid-template-columns: 1fr; }
  .n-closing__cols a { overflow-wrap: anywhere; }
}


/* ---------- pixel containers: every box takes the button's stepped corners ----------
   Boxes whose children must overflow (the bar holds the calendar, the panel sits in
   the header) draw their shape on ::after; the rest clip directly. */
:root { --n-px-box: polygon(12px 0, calc(100% - 12px) 0, calc(100% - 12px) 6px, calc(100% - 6px) 6px, calc(100% - 6px) 12px, 100% 12px, 100% calc(100% - 12px), calc(100% - 6px) calc(100% - 12px), calc(100% - 6px) calc(100% - 6px), calc(100% - 12px) calc(100% - 6px), calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 6px), 6px calc(100% - 6px), 6px calc(100% - 12px), 0 calc(100% - 12px), 0 12px, 6px 12px, 6px 6px, 12px 6px); --n-px-photo: polygon(8px 0, calc(100% - 8px) 0, calc(100% - 8px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 4px) calc(100% - 8px), calc(100% - 4px) calc(100% - 4px), calc(100% - 8px) calc(100% - 4px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 8px), 0 calc(100% - 8px), 0 8px, 4px 8px, 4px 4px, 8px 4px); --n-px-top: polygon(0 16px, 8px 16px, 8px 8px, 16px 8px, 16px 0, calc(100% - 16px) 0, calc(100% - 16px) 8px, calc(100% - 8px) 8px, calc(100% - 8px) 16px, 100% 16px, 100% 100%, 0 100%); }
.n-slipbar, .n-nav.is-floating .n-nav__bar { border-radius: 0 !important; background: none !important; box-shadow: none !important; isolation: isolate; }
.n-slipbar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--n-line); clip-path: var(--n-px-box); pointer-events: none; }
.n-slipbar::after { content: ''; position: absolute; inset: 1px; z-index: -1; background: #FFFFFF; clip-path: var(--n-px-box); pointer-events: none; }
.n-nav__bar::after { content: ''; position: absolute; inset: 0; z-index: -1; clip-path: var(--n-px-box); pointer-events: none; transition: background-color 420ms var(--m-ease); }
.n-nav.is-floating .n-nav__bar { filter: drop-shadow(0 10px 24px rgba(23, 32, 27, .1)); }
.n-nav.is-floating .n-nav__bar::after { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--n-line); }
.n-panel { border-radius: 0 !important; background: none !important; box-shadow: none !important; isolation: isolate; filter: drop-shadow(0 20px 40px rgba(23, 32, 27, .14)); }
.n-panel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: #FFFFFF; clip-path: var(--n-px-box); pointer-events: none; }
.n-panel > .n-blocks { border-radius: 0; clip-path: var(--n-px-box); }
.n-cal { border-radius: 0; background: none; box-shadow: none; isolation: isolate; filter: drop-shadow(0 20px 40px rgba(23, 32, 27, .16)); }
.n-cal::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--n-line); clip-path: var(--n-px-box); }
.n-cal::after { content: ''; position: absolute; inset: 1px; z-index: -1; background: #FFFFFF; clip-path: var(--n-px-box); }
.n-fob, .n-card, .n-visitcard, .n-map, .n-empty { border-radius: 0 !important; clip-path: var(--n-px-box); }
.n-photo, .n-fob .n-photo, .n-panel__card .n-photo, .n-hero__pair .n-photo, .n-hero__main { border-radius: 0 !important; clip-path: var(--n-px-photo); }
.n-hero__pair .n-photo img, .n-hero__main img { border-radius: 0 !important; clip-path: var(--n-px-photo); }
.n-hero__pair .n-photo, .n-hero__main { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8) !important; }
.is-home main > .n-sec--band { border-radius: 0 !important; box-shadow: none !important; clip-path: var(--n-px-top); }

/* ---------- apartments page ---------- */
.n-apts-head { position: relative; z-index: 3; isolation: isolate; padding: 72px 0 40px; }
.n-apts-head > .n-blocks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.n-apts-head h1, .n-404 h1 { font-size: clamp(44px, 4.6vw + 4px, 88px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.n-apts-head__line { max-width: 60ch; margin: 20px 0 32px !important; color: var(--n-muted); font-size: 17px; line-height: 1.55; }
.n-apts-head .n-cal { bottom: auto; top: calc(100% + 12px); transform-origin: 30% 0; }
.n-apts { padding-top: 24px; }
.n-apts .n-wrap { display: grid; gap: 24px; }
.n-apt__photo { min-height: 340px; }
.n-apt__photo img { position: absolute; inset: 0; }
.n-apt__photo { position: relative; }
.n-apt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; padding: 16px; background: #FFFFFF; clip-path: var(--n-px-box); }
.n-apt__body { display: flex; flex-direction: column; gap: 20px; padding: 16px 16px 8px 24px; }
.n-apt__title { display: flex; align-items: flex-start; gap: 16px; }
.n-apt h2 { font-size: 32px; line-height: 1.1; }
.n-apt__type { margin-top: 6px !important; color: var(--n-muted); font-size: 15px; }
.n-apt__desc { color: var(--n-ink); font-size: 16px; line-height: 1.6; }
.n-apt__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--n-line); border-bottom: 1px solid var(--n-line); }
.n-apt__facts div { padding: 12px 0; }
.n-apt__facts div + div { padding-left: 16px; border-left: 1px solid var(--n-line); }
.n-apt__facts dt { color: var(--n-muted); font-size: 13px; font-weight: 500; }
.n-apt__facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.n-apt__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 16px; }
.n-apt__price { font-size: 15px; color: var(--n-muted); }
.n-apt__price strong { color: var(--n-ink); font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.n-apt__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1023px) {
  .n-visit { grid-template-columns: 1fr; }
  .n-map { min-height: 320px; }
  .n-apt { grid-template-columns: 1fr; }
    .n-apt__body { padding: 8px; }
}
@media (max-width: 639px) {
  .n-map { min-height: 260px; }
  .n-apts-head { padding-top: 40px; }
  .n-apt { padding: 8px; }
  .n-apt__photo { min-height: 220px; }
    .n-apt__actions { width: 100%; }
  .n-apt__actions .n-btn { flex: 1; padding: 0 12px; }
}


/* ---------- apartment detail ---------- */
.n-detail-head { padding-bottom: 32px; }
.n-crumbs { display: flex; gap: 8px; margin-bottom: 24px; color: var(--n-muted); font-size: 14px; }
.n-crumbs [aria-current] { color: var(--n-ink); }
.n-detail-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.n-detail-head h1 { font-size: clamp(44px, 4vw + 8px, 80px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.n-detail-head .n-apt__price strong { font-size: 32px; }
.n-detail-facts { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 32px; }
.n-detail-photos { padding: 0 0 48px; }
.n-gal { display: grid; gap: 8px; height: clamp(320px, 42vw, 560px); }
.n-gal__item { position: relative; padding: 0; border: 0; cursor: zoom-in; min-height: 0; }
.n-gal__item img { position: absolute; inset: 0; }
.n-gal--2 { grid-template-columns: 3fr 2fr; }
.n-gal--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.n-gal--3 .n-gal__item:first-child { grid-row: 1 / 3; }
.n-gal--4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.n-gal--4 .n-gal__item:first-child { grid-row: 1 / 3; }
.n-gal--4 .n-gal__item:last-child { grid-column: 2 / 4; }
.n-gal--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.n-gal--5 .n-gal__item:first-child { grid-row: 1 / 3; }
.n-viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(11, 20, 15, .94); }
.n-viewer::backdrop { background: transparent; }
.n-viewer[open] { display: grid; place-items: center; }
.n-viewer img { max-width: min(1200px, 92vw); max-height: 80vh; object-fit: contain; clip-path: var(--n-px-photo); }
.n-viewer__count { position: fixed; left: 24px; top: 24px; color: var(--n-on-band-muted); font-size: 14px; }
.n-viewer__close { position: fixed; right: 24px; top: 16px; }
.n-viewer__prev, .n-viewer__next { position: fixed; bottom: 24px; }
.n-viewer__prev { left: calc(50% - 132px); } .n-viewer__next { left: calc(50% + 12px); }
.n-detail { padding-top: 0; }
.n-detail__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.n-detail__main { display: grid; gap: 48px; }
.n-detail__block { display: grid; gap: 20px; padding-top: 24px; border-top: 1px solid var(--n-line); }
.n-detail__block h2, .n-detail__card h2 { font-size: 28px !important; line-height: 1.15; }
.n-detail__blockhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.n-detail__text { max-width: 62ch; font-size: 17px; line-height: 1.65; }
.n-detail__muted { color: var(--n-muted); font-size: 15px; line-height: 1.5; }
.n-detail__features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding: 0; list-style: none; font-size: 16px; }
.n-detail__features li { position: relative; padding-left: 18px; }
.n-detail__features li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--n-brand); }
.n-detail__reviews { padding: 0; list-style: none; }
.n-detail__reviews li { display: grid; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--n-line); }
.n-detail__reviews li:first-child { padding-top: 0; }
.n-detail__stars { display: inline-flex; gap: 2px; color: var(--n-brand); }
.n-detail__reviews blockquote { margin: 0; font-size: 18px; line-height: 1.5; }
.n-detail__reviews p { color: var(--n-muted); font-size: 14px; }
.n-detail__side { position: sticky; top: calc(var(--nav) + 24px); }
.n-detail__card { position: relative; isolation: isolate; display: grid; gap: 16px; padding: 28px; }
.n-detail__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #FFFFFF; clip-path: var(--n-px-box); }
.n-slipbar--stack { grid-template-columns: 1fr 1fr; padding: 4px; margin-top: 0; }
.n-slipbar--stack .n-slipbar__total { grid-column: 1 / -1; padding: 12px 24px; border-top: 1px solid var(--n-line); }
.n-slipbar--stack .n-slipbar__total::before, .n-slipbar--stack .n-slipbar__cell:nth-child(2)::before { display: block; }
.n-slipbar--stack .n-slipbar__total::before { display: none; }
.n-slipbar--stack .n-slipbar__go { grid-column: 1 / -1; justify-self: stretch; width: auto; margin: 4px 12px 12px; }
.n-slipbar--stack .n-slipbar__cell { padding: 12px 24px; }
.n-slipbar--stack .n-cal { left: auto; right: 0; bottom: auto; top: calc(100% + 12px); }
.n-slipbar--stack .n-cal__months { grid-template-columns: 280px; }
.n-detail-others .n-head { margin-bottom: 24px; }
.n-others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.n-other { display: grid; gap: 12px; color: var(--n-ink); text-decoration: none; }
.n-other .n-photo { aspect-ratio: 4 / 3; }
.n-other__row { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.n-other__row span { color: var(--n-muted); }
@media (hover: hover) and (pointer: fine) { .n-other:hover img { transform: scale(1.03); } }
@media (max-width: 1023px) {
  .n-detail__grid { grid-template-columns: 1fr; }
  .n-detail__side { position: static; }
  .n-detail-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .n-detail-facts div:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 639px) {
  .n-detail-head__row { flex-direction: column; align-items: flex-start; }
  .n-detail-facts { grid-template-columns: 1fr 1fr; }
  .n-detail-facts div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .n-gal { height: auto; grid-template-columns: 1fr 1fr !important; grid-template-rows: none !important; grid-auto-rows: 140px; }
  .n-gal .n-gal__item { grid-row: auto !important; grid-column: auto !important; }
  .n-gal .n-gal__item:first-child { grid-column: 1 / -1 !important; grid-row: span 2 !important; }
  .n-detail__features { grid-template-columns: 1fr; }
  .n-others { grid-template-columns: 1fr; }
  .n-detail__card { padding: 16px; }
}


/* ---------- booking page ---------- */
.n-btn.is-disabled { background: rgba(23, 32, 27, .08); color: var(--n-muted); cursor: not-allowed; transform: none !important; }
.n-book-head { padding-bottom: 40px; }
.n-book-head h1 { font-size: clamp(44px, 4.6vw + 4px, 88px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.n-book { padding-top: 8px; }
.n-book__form { display: grid; gap: 40px; }
.n-step { position: relative; display: grid; gap: 20px; margin: 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--n-line); }
.n-step legend { display: flex; align-items: center; gap: 12px; float: left; width: 100%; padding: 0; font: 500 26px/1.2 var(--n-display); letter-spacing: -.025em; }
.n-step legend + * { clear: both; }
.n-step__num { display: grid; place-items: center; width: 32px; height: 32px; background: var(--n-brand); color: #FFFFFF; font: 600 15px/1 var(--n-text); clip-path: var(--n-px-corners-btn); }
.n-step__note { color: var(--n-muted); font-size: 15px; }
.n-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.n-pick__item { position: relative; isolation: isolate; display: flex; align-items: center; gap: 16px; padding: 10px; cursor: pointer; }
.n-pick__item::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--n-line); clip-path: var(--n-px-box); transition: background-color var(--m-out) var(--m-ease); }
.n-pick__item::after { content: ''; position: absolute; inset: 1px; z-index: -1; background: #FFFFFF; clip-path: var(--n-px-box); transition: inset var(--m-out) var(--m-ease), background-color var(--m-out) var(--m-ease); }
.n-pick__item input { position: absolute; opacity: 0; pointer-events: none; }
.n-pick__item:has(input:checked)::before { background: var(--n-brand); }
.n-pick__item:has(input:checked)::after { inset: 2px; background: #F1F5F2; }
.n-pick__item:has(input:focus-visible) { outline: 2px solid var(--n-brand); outline-offset: 3px; }
.n-pick__item.is-busy { cursor: not-allowed; opacity: .55; }
.n-pick__photo { flex: none; width: 96px; height: 72px; overflow: hidden; clip-path: var(--n-px-photo); }
.n-pick__photo img { width: 100%; height: 100%; object-fit: cover; }
.n-pick__text { display: grid; gap: 2px; font-size: 14px; color: var(--n-muted); }
.n-pick__text strong { color: var(--n-ink); font-size: 17px; font-weight: 600; }
.n-pick__price { color: var(--n-ink); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .n-pick__item:not(.is-busy):not(:has(input:checked)):hover::before { background: var(--n-ink); } }
.n-step__dates { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.n-step__dates .n-cal { left: 0; bottom: auto; top: 96px; }
.n-step__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.n-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; }
.n-field--full { grid-column: 1 / -1; }
.n-field__label { color: var(--n-muted); font-size: 13px; font-weight: 500; }
.n-field__box { border-radius: 0 !important; width: 100%; min-height: 52px; padding: 14px 16px; border: 0; background: #FFFFFF; color: var(--n-ink); font: 400 16px/1.4 var(--n-text); clip-path: var(--n-px-photo); box-shadow: inset 0 0 0 1px rgba(23, 32, 27, .2); transition: box-shadow var(--m-out) var(--m-ease); appearance: none; -webkit-appearance: none; }
textarea.n-field__box { min-height: 104px; resize: vertical; }
select.n-field__box { padding-right: 44px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2317201B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.n-field__box:focus, .n-field.n-date:focus-visible .n-field__box, .n-field.n-date.is-active .n-field__box { outline: none; box-shadow: inset 0 0 0 2px var(--n-brand); }
.n-date .n-field__box { display: flex; align-items: center; cursor: pointer; color: var(--n-muted); }
.n-date .n-field__box.is-set { color: var(--n-ink); }
.n-field.n-date:focus-visible { outline: none; }
.n-check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; cursor: pointer; }
.n-check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--n-brand); }
.n-link--line { background-size: 100% 1px; }
.n-book__error { padding: 12px 16px; background: #FBEDEB; color: #8E2318; font-size: 15px; clip-path: var(--n-px-photo); }
.n-sum { display: grid; margin: 0; }
.n-sum div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--n-line); font-size: 15px; }
.n-sum dt { color: var(--n-muted); }
.n-sum dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.n-sum__total { border-bottom: 0 !important; padding-top: 16px !important; }
.n-sum__total dt { color: var(--n-ink); font-weight: 600; }
.n-sum__total dd { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 639px) {
  .n-pick, .n-step__grid { grid-template-columns: 1fr; }
  .n-step__dates .n-cal { left: -8px; right: -8px; }
}


/* ---------- admin sign-in ---------- */
.a-login { display: grid; place-items: center; min-height: calc(100vh - var(--nav)); padding: 48px 16px; }
.a-login__card { width: min(420px, 100%); gap: 12px; }
.a-login__card h1 { font-size: 28px !important; letter-spacing: -.03em; }
.a-login__form { display: grid; gap: 16px; margin-top: 12px; }

/* ---------- remaining pages ---------- */
.n-narrow > * { max-width: 820px; }
.n-galpage { padding-top: 8px; }
.n-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.n-chip { min-height: 40px; padding: 0 16px; border: 0; background: rgba(23, 32, 27, .06); color: var(--n-ink); font: 500 15px/1 var(--n-text); cursor: pointer; clip-path: var(--n-px-corners-btn); transition: background-color var(--m-out) var(--m-ease), color var(--m-out) var(--m-ease); }
.n-chip span { margin-left: 4px; color: var(--n-muted); }
.n-chip[aria-pressed="true"] { background: var(--n-brand); color: #FFFFFF; }
.n-chip[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }
@media (hover: hover) and (pointer: fine) { .n-chip[aria-pressed="false"]:hover { background: rgba(23, 32, 27, .12); } }
.n-masonry { columns: 4 260px; column-gap: 12px; }
.n-masonry__item { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; cursor: zoom-in; break-inside: avoid; }
.n-masonry__item[hidden] { display: none; }
.n-masonry__item img { height: auto; }
.n-faq { display: grid; }
.n-faq__item { border-bottom: 1px solid var(--n-line); }
.n-faq__item:first-child { border-top: 1px solid var(--n-line); }
.n-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font: 500 19px/1.35 var(--n-display); letter-spacing: -.01em; }
.n-faq__item summary::-webkit-details-marker { display: none; }
.n-faq__item p { max-width: 62ch; padding: 0 48px 24px 0; color: var(--n-ink); font-size: 16px; line-height: 1.65; }
.n-faq__mark { position: relative; flex: none; width: 32px; height: 32px; background: rgba(23, 32, 27, .06); clip-path: var(--n-px-corners-btn); transition: background-color var(--m-out) var(--m-ease); }
.n-faq__mark::before, .n-faq__mark::after { content: ''; position: absolute; left: 10px; top: 15px; width: 12px; height: 2px; background: var(--n-ink); transition: transform 200ms var(--m-ease); }
.n-faq__mark::after { transform: rotate(90deg); }
.n-faq__item[open] .n-faq__mark { background: var(--n-brand); }
.n-faq__item[open] .n-faq__mark::before, .n-faq__item[open] .n-faq__mark::after { background: #FFFFFF; }
.n-faq__item[open] .n-faq__mark::after { transform: rotate(0); }
.n-faq__item summary:focus-visible { outline: 2px solid var(--n-brand); outline-offset: 2px; }
.n-score-big { display: flex; align-items: baseline; gap: 8px; }
.n-score-big strong { font: 500 64px/1 var(--n-display); letter-spacing: -.05em; }
.n-score-big span { color: var(--n-muted); }
.n-stars-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.n-star { position: relative; display: grid; place-items: center; width: 48px; height: 48px; color: rgba(23, 32, 27, .2); cursor: pointer; clip-path: var(--n-px-corners-btn); transition: color var(--m-out) var(--m-ease), background-color var(--m-out) var(--m-ease); }
.n-star input { position: absolute; opacity: 0; pointer-events: none; }
.n-star:has(input:checked), .n-star:has(input:checked) ~ .n-star { color: var(--n-brand); }
.n-star:has(input:focus-visible) { background: rgba(23, 32, 27, .08); }
@media (hover: hover) and (pointer: fine) { .n-stars-input:hover .n-star { color: rgba(23, 32, 27, .2); } .n-stars-input .n-star:hover, .n-stars-input .n-star:hover ~ .n-star { color: var(--n-brand); } }
.n-stars-input { direction: ltr; }
.n-404 { min-height: 60vh; }
.n-404__code { font: 500 clamp(96px, 14vw, 200px)/.9 var(--n-display); letter-spacing: -.06em; color: var(--n-brand); }
.n-404 h1 { margin-top: 8px; }
@media (max-width: 639px) { .n-masonry { columns: 2; column-gap: 8px; } .n-masonry__item { margin-bottom: 8px; } }


/* stars: fill one by one when a review comes into view; the form's pick pops in order */
.n-js-stars .n-detail__stars svg { opacity: .18; transform: scale(.6); }
.n-js-stars .n-detail__stars.is-in svg { animation: n-star-in 420ms cubic-bezier(.2, .8, .2, 1.4) forwards; }
.n-detail__stars svg:nth-child(2) { animation-delay: 70ms !important; }
.n-detail__stars svg:nth-child(3) { animation-delay: 140ms !important; }
.n-detail__stars svg:nth-child(4) { animation-delay: 210ms !important; }
.n-detail__stars svg:nth-child(5) { animation-delay: 280ms !important; }
@keyframes n-star-in { to { opacity: 1; transform: scale(1); } }
.n-stars-input.is-pop .n-star:has(input:checked) svg, .n-stars-input.is-pop .n-star:has(input:checked) ~ .n-star svg { animation: n-star-pick 380ms cubic-bezier(.2, .8, .2, 1.4) both; animation-delay: calc(var(--d, 0) * 60ms); }
@keyframes n-star-pick { 0% { transform: scale(.5) rotate(-18deg); } 60% { transform: scale(1.18) rotate(4deg); } 100% { transform: none; } }
@media (hover: hover) and (pointer: fine) { .n-star svg { transition: transform 160ms var(--m-ease); } .n-stars-input .n-star:hover svg, .n-stars-input .n-star:hover ~ .n-star svg { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .n-js-stars .n-detail__stars svg { opacity: 1; transform: none; animation: none !important; } .n-stars-input.is-pop svg { animation: none !important; } }


/* ---------- toasts ---------- */
.n-v2 .toast-root { top: auto; bottom: 24px; right: 24px; gap: 8px; width: min(380px, calc(100vw - 32px)); }
.n-v2 .toast { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 12px 14px 14px; overflow: hidden; border: 0; color: var(--n-ink); font: 500 14px/1.45 var(--n-text); box-shadow: none; background: none; isolation: isolate; filter: drop-shadow(0 12px 28px rgba(21, 27, 23, .16)); animation: n-toast-in 260ms cubic-bezier(.2, .8, .2, 1); }
.n-v2 .toast::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #FFFFFF; clip-path: var(--n-px-box); box-shadow: inset 0 0 0 1px var(--n-line); }
.n-v2 .toast-message { flex: 1; padding-top: 1px; }
.n-v2 .toast-icon { display: grid; place-items: center; flex: none; width: 24px; height: 24px; ICONclip-path: var(--n-px-box); box-shadow: inset 0 0 0 1px var(--n-line); }
.n-v2 .toast-success .toast-icon { background: #E7EFEA; color: #1E4A33; }
.n-v2 .toast-error .toast-icon { background: #FEF0EE; color: #B42318; }
.n-v2 .toast-info .toast-icon { background: #EAF2FB; color: #1F4E79; }
.n-v2 .toast-success, .n-v2 .toast-error, .n-v2 .toast-info { color: var(--n-ink); border: 0; }
.n-v2 .toast-close { display: grid; place-items: center; width: 28px; height: 28px; margin: -3px -2px 0 0; border: 0; border-radius: 6px; background: transparent; color: var(--n-muted); cursor: pointer; transition: background-color 140ms ease, color 140ms ease; }
.n-v2 .toast-close:hover { background: rgba(21, 27, 23, .06); color: var(--n-ink); }
.n-v2 .toast-life { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: left; animation: n-toast-life var(--life, 5s) linear forwards; }
.n-v2 .toast-success .toast-life { background: #1E4A33; } .n-v2 .toast-error .toast-life { background: #B42318; } .n-v2 .toast-info .toast-life { background: #1F4E79; }
.n-v2 .toast.is-paused .toast-life { animation-play-state: paused; }
.n-v2 .toast.is-hiding { opacity: 0; transform: translateY(6px) scale(.98); transition: opacity 180ms ease, transform 180ms ease; }
@keyframes n-toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes n-toast-life { to { transform: scaleX(0); } }
@media (max-width: 639px) { .n-v2 .toast-root { right: 16px; left: 16px; width: auto; bottom: calc(16px + var(--bar, 0px)); } }
@media (prefers-reduced-motion: reduce) { .n-v2 .toast { animation: none; } .n-v2 .toast-life { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .n-nav *, .n-v2 main *, .n-closing *, .n-sheet, .n-panel, .n-btn, .n-photo img { transition: none !important; }
}
