/* AYNI Stays — editorial hospitality design.
   Direction: Andean quiet luxury. Wide-tracked flared serif capitals (Marcellus) for display,
   italic serif (Cormorant Garamond) for voice, clean sans (Jost) for reading and labels.
   Warm stone grounds, deep ink-olive actions, AYNI gold for hairlines and small labels.
   Quechua words as restrained accents (Qosqo, wasi, ayni) — the local equivalent of the
   Japanese characters on The 1898 Niseko. Layout: full-bleed hero with gold rule, info bar,
   centred carousel with side peeks, asymmetric splits, tabbed guide, calm whitespace. */
:root {
  color-scheme: light;
  --paper: #f4f2ee;
  --stone: #e9e4dc;
  --white: #ffffff;
  --ink: #1e231f;
  --ink-2: #4b504a;
  --ink-3: #868a83;
  --line: rgba(30, 35, 31, 0.14);
  --olive: #2a3229;
  --on-olive: #f4f2ee;
  --gold: #b8862e;
  --gold-bright: #e8952a;
  --display: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1240px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #141614; --stone: #1c1f1b; --white: #22261f;
    --ink: #efebe4; --ink-2: #c4c0b8; --ink-3: #8f8c85; --line: rgba(239, 235, 228, 0.14);
    --olive: #efebe4; --on-olive: #141614; --gold: #d6a24c;
  }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #141614; --stone: #1c1f1b; --white: #22261f;
    --ink: #efebe4; --ink-2: #c4c0b8; --ink-3: #8f8c85; --line: rgba(239, 235, 228, 0.14);
    --olive: #efebe4; --on-olive: #141614; --gold: #d6a24c;
  }


* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.voice { font-family: var(--serif); font-style: italic; font-weight: 400; }
.rule { width: 56px; height: 1px; background: var(--ink); opacity: 0.6; border: 0; margin: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s ease, color .25s ease; }
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn.solid { background: var(--olive); color: var(--on-olive); }
.btn.solid:hover { background: var(--gold); color: #fff; }
.btn.gold { background: var(--gold); color: #fff; }
.btn.gold:hover { background: var(--olive); color: var(--on-olive); }
.btn.line { border-color: currentColor; color: inherit; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); color: #fff; transition: background .35s ease, color .35s ease, box-shadow .35s ease; }
.nav.scrolled, .nav.solid { background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; }
.logo b { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 0.22em; }
.logo span { font-size: 9px; letter-spacing: 0.42em; text-transform: uppercase; margin-top: 6px; opacity: 0.8; }
.menu { display: flex; gap: 30px; margin-left: auto; }
.menu a { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; opacity: 0.92; }
.menu a:hover { opacity: 1; color: var(--gold-bright); }
.lang { display: flex; align-items: center; gap: 2px; font-size: 12px; letter-spacing: 0.12em; }
.lang button { font: inherit; color: inherit; background: none; border: 0; padding: 6px 7px; cursor: pointer; opacity: 0.55; }
.lang button[aria-pressed="true"] { opacity: 1; font-weight: 600; }
.lang i { opacity: 0.4; font-style: normal; }
.nav .btn { padding: 12px 20px; }
.nav:not(.scrolled):not(.solid) .btn.solid { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.5); color: #fff; backdrop-filter: blur(6px); }
@media (max-width: 1020px) { .menu { display: none; } .lang { margin-left: auto; } }
@media (max-width: 520px) { .nav .btn { display: none; } }

/* hero */
.hero { position: relative; height: min(100svh, 920px); min-height: 560px; overflow: hidden; color: #fff; background: #1e231f; border-bottom: 3px solid var(--gold); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: drift 18s ease-out forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse 62% 52% at 50% 66%, rgba(14,16,14,0.58) 0%, rgba(14,16,14,0.32) 55%, rgba(14,16,14,0) 100%),
  linear-gradient(180deg, rgba(20,22,20,0.55) 0%, rgba(20,22,20,0.12) 28%, rgba(20,22,20,0.28) 55%, rgba(20,22,20,0.82) 100%); }
.hero-inner { position: absolute; inset: auto 0 0 0; z-index: 1; padding-bottom: clamp(48px, 9vh, 96px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero .label { color: #f6d9a4; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 0 18px rgba(0,0,0,0.45); }
.hero h1 { font-family: var(--display); font-size: clamp(46px, 9vw, 112px); letter-spacing: 0.14em; line-height: 1; text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 4px 40px rgba(0,0,0,0.45); padding-left: 0.14em; }
.hero h1 { text-transform: uppercase; }
.hero h1.long { font-size: clamp(34px, 6vw, 80px); letter-spacing: 0.1em; padding-left: 0.1em; }
.hero .voice { font-size: clamp(20px, 2.6vw, 28px); max-width: 34ch; color: #fff; line-height: 1.35; text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 0 24px rgba(0,0,0,0.4); }
.hero-side { position: absolute; z-index: 1; right: max(18px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 14px; }
.hero-side::before { content: ""; width: 1px; height: 54px; background: rgba(255,255,255,0.6); }
@media (max-width: 640px) { .hero-side { display: none; } }

.welcome { background: var(--olive); color: var(--on-olive); }
.welcome .wrap { display: flex; gap: 6px 18px; align-items: baseline; justify-content: center; text-align: center; padding-block: 18px; flex-wrap: wrap; }
.welcome .voice { font-size: 23px; }
.welcome span { font-size: 14px; opacity: 0.8; }

/* info bar */
.bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.bar .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: stretch; }
.bar .cell { padding: 26px 22px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.bar .cell:first-child { padding-left: 0; }
.bar .cell span { font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-3); }
.bar .cell b { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: 0.06em; }
.bar .cta { display: flex; align-items: center; padding-left: 26px; }
.bar-note { font-size: 13.5px; color: var(--ink-3); padding: 14px 0 18px; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .bar .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar .cell { border-bottom: 1px solid var(--line); }
  .bar .cell:nth-child(2n) { border-right: 0; }
  .bar .cell:nth-child(odd) { padding-left: 0; }
  .bar .cta { grid-column: 1 / -1; padding: 18px 0; }
}

/* sections */
section { padding-block: clamp(72px, 11vw, 140px); }
section.stone { background: var(--stone); }
section.white { background: var(--white); }
.intro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.intro h2 { font-family: var(--display); font-size: clamp(30px, 4.4vw, 52px); letter-spacing: 0.04em; line-height: 1.18; max-width: 22ch; }
.intro .frame { width: 100%; aspect-ratio: 21 / 9; overflow: hidden; margin-top: 16px; }
.intro .frame img { width: 100%; height: 100%; object-fit: cover; }
.intro p { max-width: 64ch; color: var(--ink-2); }
.qu { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-3); }
.qu b { font-style: normal; font-family: var(--display); font-weight: 400; letter-spacing: 0.16em; color: var(--ink); margin-right: 10px; }

.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.sec-head h2 { font-family: var(--display); font-size: clamp(32px, 4.6vw, 58px); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.08; }
.sec-head .voice { font-size: 21px; color: var(--ink-2); }
.sec-head.center { align-items: center; text-align: center; }

/* carousel */
.carousel { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: min(70vw, 860px); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: calc((100vw - min(70vw, 860px)) / 2); scroll-padding-inline: calc((100vw - min(70vw, 860px)) / 2); scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: center; margin: 0; background: var(--white); opacity: 0.38; transition: opacity .45s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.slide figcaption { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 2px; }
.slide figcaption b { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 0.16em; text-transform: uppercase; }
.slide figcaption .voice { font-size: 18px; color: var(--ink-2); }
.tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.tag { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 10px; background: var(--stone); color: var(--ink-2); }
.nav-btn { position: absolute; top: calc(50% - 46px); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--olive); color: var(--on-olive); display: grid; place-items: center; cursor: pointer; font-size: 17px; }
.nav-btn.prev { left: max(12px, calc((100vw - min(70vw, 860px)) / 2 - 23px)); }
.nav-btn.next { right: max(12px, calc((100vw - min(70vw, 860px)) / 2 - 23px)); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.dots button { width: 7px; height: 7px; border-radius: 4px; border: 0; padding: 0; background: var(--ink-3); opacity: 0.45; cursor: pointer; transition: width .3s ease, opacity .3s ease; }
.dots button[aria-current="true"] { width: 26px; opacity: 1; background: var(--ink); }
.car-lead { max-width: 60ch; margin: 30px auto 0; text-align: center; color: var(--ink-2); font-size: 16px; }
@media (max-width: 700px) { .track { grid-auto-columns: 84vw; padding-inline: 8vw; scroll-padding-inline: 8vw; gap: 14px; } .nav-btn { display: none; } }

/* essentials: asymmetric split */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split .big { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 22px; }
.split .big h2 { font-family: var(--display); font-size: clamp(34px, 3.9vw, 52px); text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.04; }
.split .big .voice { font-size: 20px; color: var(--ink-2); }
.ess { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ess-card { background: var(--white); padding: 26px 24px 24px; display: grid; grid-template-columns: 44px 1fr auto; gap: 3px 16px; align-items: start; }
.ess-ic { grid-row: span 3; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.ess-label { font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-3); }
.ess-min { grid-row: span 3; font-family: var(--display); font-size: 32px; line-height: 1; text-align: right; }
.ess-min small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.ess-card b { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: 0.04em; line-height: 1.3; }
.ess-note { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
svg.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .big { position: static; } }
@media (max-width: 560px) { .ess { grid-template-columns: 1fr; } }

/* the area */
.area { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--white); }
.map { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; filter: grayscale(0.4) sepia(0.08) contrast(1.02); }
.area-side { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.area-side h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); letter-spacing: 0.06em; text-transform: uppercase; }
.area-side .voice { font-size: 18px; color: var(--ink-2); }
.dist { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dist li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dist-name { font-family: var(--display); font-size: 17px; letter-spacing: 0.04em; }
.dist-min { font-size: 13px; letter-spacing: 0.06em; color: var(--ink-3); text-align: right; display: inline-flex; align-items: center; gap: 8px; }
.dist-min svg.ic { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } .map { min-height: 340px; } }

/* guide: tabs + places */
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs button { font: inherit; font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--ink-3); padding: 16px 0 14px; cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); }
.place { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.place b { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: 0.03em; line-height: 1.3; }
.place em { font-style: normal; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; padding-top: 6px; }
.place span { grid-column: 1 / -1; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 760px) { .places { grid-template-columns: minmax(0, 1fr); } }
/* Tabs wrap instead of scrolling sideways, so no tab is ever hidden off-screen. */
.tabs { flex-wrap: wrap; overflow-x: visible; column-gap: 44px; row-gap: 2px; }
.fine { margin-top: 26px; font-size: 13px; color: var(--ink-3); }

.sos { margin-top: 56px; display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; padding: 26px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.sos .label { color: #b23a2a; }
.sos-list { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: flex-end; }
.sos-item { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; }
.sos-item span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.sos-item strong { font-family: var(--display); font-weight: 400; font-size: 32px; }
@media (max-width: 700px) { .sos { grid-template-columns: 1fr; } .sos-list { justify-content: flex-start; } }

/* AYNI standard */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 36px 24px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6.4vw, 84px); line-height: 1; }
.stat span { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); max-width: 24ch; line-height: 1.6; }
.stats-note { text-align: center; margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-3); }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 72px; }
.how div { display: flex; flex-direction: column; gap: 10px; }
.how i { font-style: normal; font-family: var(--display); font-size: 15px; letter-spacing: 0.2em; color: var(--gold); }
.how b { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; }
.how span { color: var(--ink-2); font-size: 15.5px; }
.center-cta { display: flex; justify-content: center; margin-top: 56px; }
@media (max-width: 760px) { .stats, .how { grid-template-columns: 1fr; } .stat + .stat { border-left: 0; border-top: 1px solid var(--line); } }

/* index */
.index-hero { padding-top: 170px; padding-bottom: 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.index-hero h1 { font-family: var(--display); font-size: clamp(40px, 7vw, 92px); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.04; }
.index-hero .voice { font-size: clamp(20px, 2.4vw, 26px); color: var(--ink-2); max-width: 40ch; line-height: 1.4; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; background: var(--white); }
.card .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.card:hover img { transform: scale(1.04); }
.card .cap { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.card .cap b { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 0.16em; text-transform: uppercase; }
.card .cap .voice { font-size: 18px; color: var(--ink-2); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* footer */
footer { background: #1e231f; color: #d9d4ca; padding-block: 64px max(40px, env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
footer .logo { color: #f4f2ee; }
footer .q { font-family: var(--serif); font-style: italic; font-size: 18px; color: #b9b3a8; margin-top: 18px; max-width: 48ch; }
footer nav { display: flex; flex-direction: column; gap: 10px; text-align: right; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
footer nav a { text-decoration: none; color: #d9d4ca; }
footer nav a:hover { color: var(--gold-bright); }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; font-size: 12px; color: #8f8a80; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer .legal a { color: inherit; }
@media (max-width: 640px) { footer .wrap { grid-template-columns: 1fr; } footer nav { text-align: left; } }
.err { color: var(--ink-2); background: var(--white); padding: 18px 20px; border-left: 2px solid var(--gold); }

/* carousel images open the viewer */
.slide img { cursor: zoom-in; }

/* the building: amenity cards */
.bld { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bld-card { position: relative; display: block; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; aspect-ratio: 3 / 4; color: #fff; text-align: left; font: inherit; }
.bld-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.bld-card:hover img { transform: scale(1.05); }
.bld-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,20,0) 45%, rgba(20,22,20,0.7) 100%); }
.bld-cap { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 2px; }
.bld-cap b { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 0.14em; text-transform: uppercase; }
.bld-cap small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; }
@media (max-width: 900px) { .bld { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* full-screen viewer */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(14, 16, 14, 0.96); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
.lb figure { grid-column: 2; grid-row: 1; margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-width: 0; }
.lb img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; }
.lb-count { color: #e9e4dc; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
.lb-nav, .lb-close { border: 0; background: none; color: #f4f2ee; cursor: pointer; font-size: 42px; line-height: 1; padding: 8px; }
.lb-close { position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: max(18px, env(safe-area-inset-right, 0px)); font-size: 38px; }
.lb-nav:hover, .lb-close:hover { color: var(--gold-bright); }
.lb-prev { grid-column: 1; grid-row: 1; } .lb-next { grid-column: 3; grid-row: 1; }
@media (max-width: 600px) { .lb { grid-template-columns: 1fr; } .lb figure { grid-column: 1; } .lb-nav { display: none; } }

/* listing facts, amenities, rating, booking band */
.glance { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.glance i { font-style: normal; color: var(--gold); }
.amen { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; }
.amen span { font-size: 13px; padding: 7px 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); }
.hero .rating { display: inline-block; margin-top: 18px; font-size: 13px; letter-spacing: 0.08em; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 3px; text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 0 16px rgba(0,0,0,0.45); }
.hero .rating b { font-weight: 600; color: #f2cf93; }
.book { background: var(--olive); color: var(--on-olive); text-align: center; }
.book .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.book .label { color: #e9c27a; }
.book h2 { font-family: var(--display); font-size: clamp(34px, 5vw, 60px); letter-spacing: 0.08em; text-transform: uppercase; }
.book .voice { font-size: 21px; opacity: 0.85; }
.dates-wrap { width: 100%; max-width: 860px; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 6px; }
.dates { width: 100%; display: grid; grid-template-columns: 1fr 1fr 0.7fr auto; gap: 0; align-items: stretch; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: color-mix(in srgb, currentColor 5%, transparent); text-align: left; }
.dates label { display: flex; flex-direction: column; gap: 4px; padding: 12px 18px; border-right: 1px solid color-mix(in srgb, currentColor 20%, transparent); cursor: pointer; }
.dates label span { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; }
.dates input, .dates select { font: inherit; font-size: 16px; color: inherit; background: transparent; border: 0; padding: 2px 0; color-scheme: dark; min-width: 0; outline: none; }
.dates select option { color: #1d1f1b; }
.dates label:focus-within { background: color-mix(in srgb, currentColor 8%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dates input, :root:not([data-theme="light"]) .dates select { color-scheme: light; } }
:root[data-theme="dark"] .dates input, :root[data-theme="dark"] .dates select { color-scheme: light; }
.dates .btn { border-radius: 0; justify-content: center; }
.dates-err { min-height: 1em; margin: 0; font-size: 13px; color: var(--gold); }
.dates-note { margin: 0; font-size: 13px; opacity: 0.75; }
.dates-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .dates { grid-template-columns: 1fr 1fr; } .dates label.g { border-right: 0; } .dates label { border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent); } .dates .btn { grid-column: 1 / -1; padding: 16px; } }
.book-rating { font-size: 13px; letter-spacing: 0.08em; opacity: 0.75; margin-bottom: 10px; }

/* schematic area map */
.schem-wrap { background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(16px, 3vw, 36px); gap: 14px; }
.schem { width: 100%; max-width: 600px; height: auto; display: block; overflow: visible; }
.sc-bg { fill: var(--paper); }
.sc-ring { fill: none; stroke: var(--ink-3); stroke-opacity: 0.45; stroke-width: 1; stroke-dasharray: 3 5; }
.sc-ring-l { fill: var(--ink-3); font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.sc-here { fill: var(--gold); fill-opacity: 0.16; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 2 3; }
.sc-here-dot { fill: var(--gold); }
.sc-here-l { fill: var(--gold); font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.sc-sight { fill: var(--gold); stroke: var(--white); stroke-width: 2; }
.sc-daily { fill: var(--white); stroke: var(--ink); stroke-width: 1.6; }
.sc-transport { fill: var(--ink); }
.sc-business { fill: var(--paper); stroke: var(--gold); stroke-width: 1.8; }
.sc-l-business { fill: var(--ink-2); font-style: italic; }
.sc-label { fill: var(--ink-2); font-family: var(--sans); font-size: 12px; }
.sc-l-sight { fill: var(--ink); font-family: var(--display); font-size: 14px; letter-spacing: 0.04em; }
.sc-arrow { fill: var(--gold); }
.sc-far { fill: var(--ink); font-family: var(--display); font-size: 13px; letter-spacing: 0.06em; }
.sc-far-note { fill: var(--ink-3); font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.06em; }
.sc-north { fill: var(--ink); }
.sc-north-l { fill: var(--ink); font-family: var(--display); font-size: 13px; }
.schem-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.schem-tabs { display: flex; justify-content: center; gap: 4px; margin-bottom: 4px; }
.schem-tabs button { font: inherit; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); background: none; border: 0; border-bottom: 1px solid transparent; padding: 8px 14px; cursor: pointer; }
.schem-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.schem-tabs button:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
.near { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; margin-top: 6px; }
.near-grp h4 { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.near-grp h4 svg.ic { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; }
.near-grp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.near-grp li { line-height: 1.35; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; color: var(--ink); }
.near-name small { margin-left: 7px; font-size: 12px; color: var(--ink-3); }
.near-min { flex: 0 0 auto; font-size: 12.5px; letter-spacing: 0.04em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.near-grp li.here .near-min { color: var(--gold); }
@media (max-width: 1100px) { .near { grid-template-columns: 1fr; } }
.area:has(.near) { align-items: start; }
.area:has(.near) .schem-wrap { position: sticky; top: 72px; }
@media (max-width: 900px) { .area:has(.near) .schem-wrap { position: static; } }
.dist-near .dist-name small { font-family: var(--sans); font-size: 12px; letter-spacing: 0.02em; color: var(--ink-3); }
.dist-near .dist-min { white-space: nowrap; }
.dist-near .dist-min.here { color: var(--gold); }
.schem-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 10px; height: 10px; }
.lg-sight { background: var(--gold); border-radius: 50%; }
.lg-daily { border: 1.6px solid var(--ink); border-radius: 50%; }
.lg-transport { background: var(--ink); }
.lg-business { width: 8px; height: 8px; border: 1.6px solid var(--gold); transform: rotate(45deg); }

.sc-ring-bg { fill: var(--paper); }
.schem { max-width: 680px; }
.sc-here-l { font-size: 10px; letter-spacing: 0.16em; }
.sc-here-sub { font-size: 9px; letter-spacing: 0.18em; opacity: 0.85; }

/* theme switch */
.theme { width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; background: none; color: inherit; display: grid; place-items: center; cursor: pointer; opacity: 0.85; padding: 0; }
.theme:hover { opacity: 1; color: var(--gold-bright); }
.theme svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
