/* Rooms & Apartments Niko · Guest guide — Premium minimal
   Quiet neutrals, one stone accent from the house cladding, a single sans family, generous space. */
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-2: #F3F2EF;
  --ink: #17181A;
  --ink-2: #55585D;
  --muted: #8C8F94;
  --line: #E7E5E0;
  --accent: #8F7656;
  --accent-soft: #F2EDE5;
  --alert: #B3402C;
  --alert-soft: #FAEAE6;
  --wa: #2F8F5B;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 18px;
  --r-sm: 12px;
  --w: 720px;
  --ease: cubic-bezier(.22, .8, .25, 1);
  --shadow: 0 1px 2px rgba(23, 24, 26, .04), 0 8px 24px -12px rgba(23, 24, 26, .12);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1011; --surface: #17181A; --surface-2: #1F2023; --ink: #F2F1EE; --ink-2: #B8B7B3; --muted: #84868A;
    --line: rgba(242, 241, 238, .08); --accent: #CDB28C; --accent-soft: rgba(205, 178, 140, .12);
    --alert: #E9846C; --alert-soft: rgba(233, 132, 108, .12); --wa: #5DBE87;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1011; --surface: #17181A; --surface-2: #1F2023; --ink: #F2F1EE; --ink-2: #B8B7B3; --muted: #84868A;
  --line: rgba(242, 241, 238, .08); --accent: #CDB28C; --accent-soft: rgba(205, 178, 140, .12);
  --alert: #E9846C; --alert-soft: rgba(233, 132, 108, .12); --wa: #5DBE87;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; letter-spacing: -.005em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; letter-spacing: -.02em; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: calc(var(--w) + 2 * 20px); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; font-weight: 500; font-size: .94rem; transition: background .2s, border-color .2s, transform .15s; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--block { width: 100%; justify-content: space-between; padding: 0 22px; min-height: 56px; }
.btn .ico { width: 18px; height: 18px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: .86rem; font-weight: 500; }
.chip-btn .ico { width: 16px; height: 16px; color: var(--muted); }

/* Intro (first visit) */
.intro { position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); }
.intro__inner { max-width: 520px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
.intro__logo { border-radius: 12px; }
.intro__photo { margin-top: 24px; aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; }
.intro__title { margin-top: 28px; font-weight: 300; font-size: clamp(2.8rem, 12vw, 3.8rem); line-height: 1; letter-spacing: -.04em; }
.intro__sub { margin: 10px 0 24px; color: var(--muted); }
.intro__langs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
@media (min-width: 440px) { .intro__langs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lang { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: .92rem; font-weight: 500; text-align: left; transition: border-color .2s; }
.lang small { font: 500 .7rem var(--mono); color: var(--muted); }
.lang:hover { border-color: var(--ink-2); }
.lang.is-on { border-color: var(--ink); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top); background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.top__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; max-width: calc(var(--w) + 2 * 20px); margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 1.05rem; letter-spacing: -.01em; }
.brand img { border-radius: 9px; }

/* Hero */
.hero { padding-top: 8px; }
.hero__photo { aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
@media (min-width: 640px) { .hero__photo { aspect-ratio: 16 / 8; } }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__title { margin-top: 32px; font-weight: 300; font-size: clamp(2.8rem, 12vw, 4.4rem); line-height: 1; letter-spacing: -.045em; }
.hero__lead { margin-top: 14px; max-width: 34em; font-size: 1.08rem; color: var(--ink-2); }
.index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 32px; }
@media (min-width: 600px) { .index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.index a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: .94rem; transition: border-color .2s; }
.index a .ico { color: var(--accent); }
.index a:hover { border-color: var(--ink-2); }

/* Sections */
.sec { padding-top: 72px; }
.sec__head { margin-bottom: 20px; }
.sec__eyebrow { font-size: .8rem; font-weight: 500; color: var(--accent); margin-bottom: 6px; }
.sec__head h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); line-height: 1.1; }
.sec__head p { margin-top: 8px; color: var(--ink-2); max-width: 36em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.card + .card { margin-top: 10px; }

.times { display: grid; grid-template-columns: 1fr 1fr; }
.times > div { padding: 20px 22px; }
.times > div + div { border-left: 1px solid var(--line); }
.times span { font-size: .82rem; color: var(--muted); }
.times b { display: block; margin-top: 4px; font: 400 clamp(2.2rem, 10vw, 2.8rem)/1 var(--mono); letter-spacing: -.04em; }

.rows > * + * { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 18px; }
.row__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); }
.row__ico .ico { width: 19px; height: 19px; }
.row h3 { font-size: .98rem; font-weight: 500; letter-spacing: -.01em; }
.row p { margin-top: 2px; font-size: .94rem; color: var(--ink-2); }
.row .go { align-self: center; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
a.row { text-decoration: none; transition: background .2s; }
a.row:hover { background: var(--surface-2); }
a.row:hover .go { color: var(--ink); transform: translate(2px, -2px); }
.rows a.row:last-child { border-radius: 0 0 var(--r) var(--r); }
.rows a.row:first-child { border-radius: var(--r) var(--r) 0 0; }

.feature { padding: 22px; background: var(--accent-soft); border-color: transparent; }
.feature span { font-size: .82rem; font-weight: 500; color: var(--accent); }
.feature b { display: block; margin: 6px 0 8px; font: 400 clamp(2rem, 9vw, 2.6rem)/1 var(--mono); letter-spacing: -.04em; }
.feature p { color: var(--ink-2); font-size: .95rem; }
.note { margin-top: 12px; padding: 0 4px; font-size: .92rem; color: var(--muted); }

/* Explore */
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: .9rem; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.seg button:hover { border-color: var(--ink-2); }
.seg button span { font: 500 .74rem var(--mono); color: var(--muted); }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg button[aria-selected="true"] span { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 300px); gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left))); padding: 2px max(20px, env(safe-area-inset-left)) 4px; scroll-padding-inline: max(20px, env(safe-area-inset-left)); }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .rail { grid-auto-columns: calc((100% - 12px) / 2.1); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
.place { scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; }
.place__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.place__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.place:hover .place__img img { transform: scale(1.03); }
.place__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.place__meta { font-size: .8rem; color: var(--accent); font-weight: 500; }
.place h3 { font-size: 1.12rem; line-height: 1.25; }
.place p { font-size: .92rem; color: var(--ink-2); }
.place__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.place__acts a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); text-decoration: none; font-size: .84rem; font-weight: 500; transition: background .2s, color .2s; }
.place__acts a .ico { width: 15px; height: 15px; }
.place__acts a:hover { background: var(--ink); color: var(--bg); }
.rail-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.rail-foot.is-static { display: none; }
.rail-bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rail-bar i { position: absolute; top: 0; height: 100%; border-radius: inherit; background: var(--ink); transition: left .15s linear; }
.arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, opacity .2s; }
.arrow:hover:not(:disabled) { border-color: var(--ink); }
.arrow:disabled { opacity: .35; cursor: default; }
.arrow .ico { width: 18px; height: 18px; }
.tip { margin-top: 14px; font-size: .92rem; color: var(--muted); }

/* Emergency */
.sos { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .sos { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.sos__112 { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r); background: var(--alert-soft); color: var(--alert); text-decoration: none; }
.sos__112 b { font: 400 3rem/1 var(--mono); letter-spacing: -.06em; }
.sos__112 span { font-size: .9rem; font-weight: 500; line-height: 1.3; }
.clinic { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--r); background: var(--ink); color: var(--bg); text-decoration: none; transition: background .2s; }
.clinic .row__ico { background: color-mix(in srgb, var(--bg) 12%, transparent); color: var(--bg); }
.clinic > span:nth-child(2) { flex: 1; min-width: 0; }
.clinic b { display: block; font-weight: 500; font-size: 1.02rem; }
.clinic small { font-size: .82rem; opacity: .65; }
.clinic:hover { background: var(--ink-2); }

/* Checkout */
.prog { display: flex; align-items: center; gap: 12px; padding: 16px 18px 6px; font-size: .82rem; color: var(--muted); }
.prog__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.prog__bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .4s var(--ease); }
.prog.is-done { color: var(--accent); }
.chk { display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; transition: background .2s; }
.chk:hover { background: var(--surface-2); }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk__box { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); color: transparent; flex: none; transition: all .2s var(--ease); }
.chk__box .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.chk:has(input:checked) .chk__box { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chk:has(input:checked) .chk__txt { color: var(--muted); text-decoration: line-through; }
.chk:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.checks { padding-bottom: 6px; }

/* Review */
.review { margin-top: 72px; padding: 32px 24px; border-radius: var(--r); background: var(--surface-2); text-align: center; }
.review h2 { font-weight: 300; font-size: clamp(1.8rem, 7vw, 2.4rem); letter-spacing: -.04em; }
.review p { margin: 10px auto 22px; max-width: 30em; color: var(--ink-2); }
.review .ico { color: var(--accent); }
.review .btn--primary .ico { color: inherit; }

.foot { margin-top: 48px; padding: 24px 0 130px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .86rem; }

/* Dock */
.dock { position: fixed; z-index: 40; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), opacity .3s; }
.dock.is-away { transform: translate(-50%, 160%); opacity: 0; }
.dock a, .dock button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; background: none; cursor: pointer; text-decoration: none; font-weight: 500; font-size: .92rem; white-space: nowrap; transition: background .2s; }
.dock button:hover { background: var(--surface-2); }
.dock .wa { background: var(--ink); color: var(--bg); }
.dock .wa .ico { color: var(--wa); }
.dock .wa:hover { background: var(--ink-2); }
@media (min-width: 900px) { .dock { left: auto; right: 28px; bottom: 28px; transform: none; } .dock.is-away { transform: translateY(160%); } }

/* Sheets */
.sheet { width: 100%; max-width: 480px; max-height: 88svh; margin: auto auto 0; padding: 0 0 max(20px, env(safe-area-inset-bottom)); border: 0; border-radius: 24px 24px 0 0; background: var(--bg); color: var(--ink); }
@media (min-width: 640px) { .sheet { margin: auto; border-radius: 24px; padding-bottom: 20px; } }
.sheet[open] { animation: rise .35s var(--ease); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.sheet::backdrop { background: rgba(15, 16, 17, .4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 12px; }
.sheet__head h2 { font-size: 1.4rem; }
.sheet__body { padding: 0 20px; }
.x { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; }
.x .ico { width: 18px; height: 18px; }
.langgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.net { padding: 18px; }
.net__label { font-size: .82rem; font-weight: 500; color: var(--accent); }
.net__name { margin: 2px 0 14px; font-size: 1.2rem; font-weight: 500; overflow-wrap: anywhere; }
.net__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 14px; border-radius: var(--r-sm); background: var(--surface-2); }
.net__row span { display: block; font-size: .74rem; color: var(--muted); }
.net__row code { font: 500 1.08rem var(--mono); overflow-wrap: anywhere; }
.net__row .btn { min-height: 40px; padding: 0 14px; }
.hint { margin-top: 12px; font-size: .88rem; color: var(--muted); }

.toast { position: fixed; z-index: 80; left: 50%; top: max(16px, env(safe-area-inset-top)); transform: translate(-50%, calc(-100% - 60px)); display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .9rem; font-weight: 500; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* v3: logo-led opening, photos at the end */
.hero { padding-top: clamp(40px, 10vw, 88px); text-align: left; }
.hero__logo { width: clamp(72px, 18vw, 96px); height: auto; border-radius: 22px; box-shadow: var(--shadow); }
.hero__title { margin-top: 28px; font-size: clamp(3.4rem, 16vw, 6rem); }
.hero__name { margin-top: 10px; font-size: 1.05rem; font-weight: 500; color: var(--accent); letter-spacing: -.01em; }
.hero__lead { margin-top: 18px; }
.top .brand { opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.top.is-scrolled .brand { opacity: 1; transform: none; pointer-events: auto; }
.top.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 600px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shots button { padding: 0; border: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); cursor: zoom-in; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shots button:hover img { transform: scale(1.03); }
.viewer { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(10, 10, 11, .94); }
.viewer[open] { display: grid; place-items: center; }
.viewer img { max-width: min(1100px, 94vw); max-height: 86svh; border-radius: 14px; }
.viewer .x { position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); background: rgba(255,255,255,.14); color: #fff; }
.intro__inner { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.intro__logo { width: clamp(80px, 22vw, 104px); height: auto; border-radius: 24px; box-shadow: var(--shadow); }
.intro__title { font-size: clamp(3.4rem, 16vw, 5rem); }
