/* KALHA — kalha.cn. Static. No JS required for reading or booking. */

:root {
  --paper: #efece4;
  --linen: #e9e4da;
  --card: #f5f2eb;
  --ink: #252019;
  --mute: #6a5f52;
  --rust: #6b4b2a;
  --ochre: #b68b56;
  --hair: #d5cec2;
  --sand: #e4ddd0;
  --bone: #f3eee6;
  --hero-veil: color-mix(in srgb, #252019 28%, transparent);

  --font: "EB Garamond", "Palatino Linotype", Palatino, "Noto Serif CJK SC",
    "Songti SC", "STSong", serif;

  --display: 2.25rem;
  --title: 1.5rem;
  --heading: 1.125rem;
  --body: 1.0625rem;
  --label: 0.875rem;
  --caption: 0.8125rem;

  --lh-display: 1.2;
  --lh-title: 1.3;
  --lh-heading: 1.4;
  --lh-body: 1.7;
  --lh-label: 1.4;
  --lh-caption: 1.5;

  --gutter: 1.35rem;
  --bar-h: 3.35rem;
  --wrap: min(80rem, calc(100% - 2 * var(--gutter)));
  --spine: 1.35rem;
}

@media (min-width: 64rem) {
  :root {
    --gutter: 2.75rem;
    --spine: 1.85rem;
  }
}

@media (max-width: 44rem) {
  :root {
    --display: 1.875rem;
    --bar-h: 5.5rem;
  }
}

@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif CJK SC";
  src: url("/assets/fonts/noto-serif-cjk-sc-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif CJK SC";
  src: url("/assets/fonts/noto-serif-cjk-sc-bold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-break: strict;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote,
fieldset,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

button,
input {
  font: inherit;
  color: inherit;
}

.nowrap {
  white-space: nowrap;
}

.nums {
  font-variant-numeric: tabular-nums;
}

.unit {
  font-family: "Noto Serif CJK SC", "Songti SC", "STSong", serif;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  font-feature-settings: "palt" 0;
}

.en {
  display: block;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--mute);
  margin-top: 0.15rem;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 80;
  padding: 0.4rem 0.7rem;
  background: var(--ink);
  color: var(--bone);
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* --- Season radios (CSS-only hero toggle) --- */

.season-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --- Top bar --- */

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--bar-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  color: var(--ink);
  user-select: none;
}

.bar__mark {
  justify-self: start;
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0.28em;
  text-decoration: none;
  font-weight: 500;
  padding-left: 0.08em;
}

.bar__nav {
  justify-self: center;
  display: flex;
  gap: 1.65rem;
  font-size: var(--label);
  line-height: var(--lh-label);
}

.bar__nav a {
  text-decoration: none;
  color: inherit;
}

.bar__nav a[aria-current="page"],
.bar__nav a.is-here {
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.08em;
}

.bar__tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.05rem;
  font-size: var(--label);
  line-height: 1;
}

.bar__tools a {
  text-decoration: none;
}

.bar__plan {
  display: inline-block;
  padding: 0.38rem 0.7rem 0.4rem;
  border: 1px solid var(--ink);
}

@media (hover: hover) {
  .bar__nav a:hover,
  .bar__tools a:hover {
    color: var(--rust);
  }

  .bar__plan:hover {
    background: var(--ink);
    color: var(--bone);
    border-color: var(--ink);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .bar__plan:active {
    transform: translateY(1px);
  }
}

@media (hover: hover) {
  .bar__nav a,
  .bar__plan,
  .bar__tools a {
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
  }
}

/* Home: transparent bar over the hero, solid linen after leaving it */

body.home .bar {
  background: transparent;
  border-bottom-color: transparent;
}

@supports (animation-timeline: scroll()) {
  body.home .bar {
    animation: bar-solid linear both;
    animation-timeline: scroll();
    animation-range: 0 80svh;
  }

  @keyframes bar-solid {
    0% {
      background: transparent;
      border-bottom-color: transparent;
    }
    70% {
      background: transparent;
      border-bottom-color: transparent;
    }
    100% {
      background: var(--paper);
      border-bottom-color: var(--hair);
      color: var(--ink);
    }
  }

  body.home:has(#season-dusk:checked) .bar {
    animation-name: bar-solid-dusk;
    color: var(--bone);
  }

  @keyframes bar-solid-dusk {
    0% {
      background: transparent;
      border-bottom-color: transparent;
      color: var(--bone);
    }
    70% {
      background: transparent;
      border-bottom-color: transparent;
      color: var(--bone);
    }
    100% {
      background: var(--paper);
      border-bottom-color: var(--hair);
      color: var(--ink);
    }
  }

  body.home:has(#season-dusk:checked) .bar__plan {
    animation: plan-btn-dusk linear both;
    animation-timeline: scroll();
    animation-range: 0 80svh;
  }

  @keyframes plan-btn-dusk {
    0%,
    70% {
      border-color: var(--bone);
      color: var(--bone);
    }
    100% {
      border-color: var(--ink);
      color: var(--ink);
    }
  }
}

body.home:has(#season-dusk:checked) .bar {
  color: var(--bone);
}

body.home:has(#season-dusk:checked) .bar__plan {
  border-color: currentColor;
}

/* Fallback if scroll-timeline is missing: a quiet scrim, still readable */
@supports not (animation-timeline: scroll()) {
  body.home .bar {
    background: color-mix(in srgb, var(--paper) 18%, transparent);
  }
}

@media (max-width: 44rem) {
  .bar {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    row-gap: 0.45rem;
    padding-top: 0.65rem;
    padding-bottom: 0.55rem;
  }

  .bar__mark {
    grid-column: 1;
    grid-row: 1;
  }

  .bar__tools {
    grid-column: 2;
    grid-row: 1;
  }

  .bar__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    gap: 1.1rem;
    font-size: 0.8125rem;
  }
}

/* --- Left spine --- */

.spine {
  position: fixed;
  left: var(--spine);
  top: 0;
  bottom: 0;
  z-index: 40;
  width: 4px;
  pointer-events: none;
}

.spine__line {
  position: absolute;
  left: 1.5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: color-mix(in srgb, var(--hair) 70%, var(--ink) 12%);
}

.spine__dot {
  position: absolute;
  left: 0;
  top: 7.25rem;
  width: 4px;
  height: 4px;
  background: var(--ochre);
}

@supports (animation-timeline: scroll()) {
  .spine__dot {
    animation: spine-travel linear both;
    animation-timeline: scroll();
    animation-range: 0% 100%;
  }

  @keyframes spine-travel {
    from {
      top: 7.25rem;
    }
    to {
      top: calc(100% - 4.5rem);
    }
  }
}

body.home:has(#season-dusk:checked) .spine__line {
  background: color-mix(in srgb, var(--bone) 38%, transparent);
}

@media (max-width: 52rem) {
  .spine {
    display: none;
  }
}

/* --- Hero --- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  margin-top: calc(var(--bar-h) * -1);
  overflow: hidden;
  background: #3d3228;
  color: var(--bone);
}

.hero__frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}

.hero__frame img,
.hero__frame picture {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero__frame--dusk img {
  object-position: center 42%;
}

.hero__frame--winter img {
  object-position: center 46%;
}

body:has(#season-winter:checked) .hero__frame--winter,
body:has(#season-dusk:checked) .hero__frame--dusk {
  opacity: 1;
  visibility: visible;
}

.hero__veil {
  position: absolute;
  inset: auto 0 0 0;
  height: 64%;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 14% 82%, rgb(28 24 20 / 0.58), rgb(28 24 20 / 0) 70%),
    linear-gradient(
      to top,
      rgb(28 24 20 / 0.58) 0%,
      rgb(28 24 20 / 0.38) 18%,
      rgb(28 24 20 / 0.2) 40%,
      rgb(28 24 20 / 0.08) 64%,
      rgb(28 24 20 / 0.02) 84%,
      rgb(28 24 20 / 0) 100%
    );
}

.hero__scrim--top {
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(var(--bar-h) + 5.75rem);
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgb(28 24 20 / 0.5) 0%,
    rgb(28 24 20 / 0.34) 16%,
    rgb(28 24 20 / 0.2) 36%,
    rgb(28 24 20 / 0.1) 56%,
    rgb(28 24 20 / 0.04) 76%,
    rgb(28 24 20 / 0) 100%
  );
}

body:has(#season-dusk:checked) .hero__scrim--top {
  background: linear-gradient(
    to bottom,
    rgb(10 8 6 / 0.52) 0%,
    rgb(10 8 6 / 0.3) 20%,
    rgb(10 8 6 / 0.14) 44%,
    rgb(10 8 6 / 0.05) 70%,
    rgb(10 8 6 / 0) 100%
  );
}

body:has(#season-dusk:checked) .hero__veil {
  background:
    radial-gradient(ellipse 70% 65% at 16% 84%, rgb(10 8 6 / 0.42), rgb(10 8 6 / 0) 70%),
    linear-gradient(
      to top,
      rgb(10 8 6 / 0.48) 0%,
      rgb(10 8 6 / 0.28) 22%,
      rgb(10 8 6 / 0.12) 48%,
      rgb(10 8 6 / 0.04) 72%,
      rgb(10 8 6 / 0) 100%
    );
}

.hero__locus {
  position: absolute;
  left: calc(var(--spine) + 0.85rem);
  top: calc(var(--bar-h) + 2.25rem);
  z-index: 5;
  writing-mode: vertical-rl;
  font-size: var(--caption);
  line-height: 2.05;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink);
  text-shadow: 0 0 14px rgb(28 24 20 / 0.28), 0 1px 2px rgb(28 24 20 / 0.2);
}

body:has(#season-dusk:checked) .hero__locus {
  color: var(--bone);
  text-shadow: 0 0 12px rgb(10 8 6 / 0.45);
}

html[lang="en"] .hero__locus {
  letter-spacing: 0.06em;
}

.hero__word {
  position: absolute;
  left: var(--gutter);
  bottom: 2.25rem;
  z-index: 5;
  max-width: min(46rem, calc(100% - 2 * var(--gutter)));
  text-shadow: 0 1px 18px rgb(28 24 20 / 0.5), 0 0 28px rgb(28 24 20 / 0.28);
}

@media (min-width: 64rem) {
  /* Clear the winter-street intercom plate (06) so the wordmark sits in the path. */
  .hero__word {
    left: 13.5rem;
  }
}

.hero__place {
  margin: 0 0 0.25rem;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--bone);
}

.hero__brand {
  font-size: clamp(4.15rem, 10.8vw, 8.15rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--bone);
  text-indent: -0.06em;
}

.hero__cn {
  margin-top: 0.5rem;
  font-size: var(--heading);
  line-height: var(--lh-heading);
  font-weight: 400;
  color: var(--bone);
}

.hero__enter {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--bone) 55%, transparent);
  padding-bottom: 0.08em;
}

.season {
  position: absolute;
  right: var(--gutter);
  bottom: var(--gutter);
  display: flex;
  gap: 0;
  z-index: 5;
  user-select: none;
}

.season label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  min-height: 2.25rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--ink) 55%, var(--bone));
  font-size: var(--caption);
  line-height: 1;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  color: var(--ink);
  cursor: pointer;
}

.season label + label {
  margin-left: -1px;
}

body:has(#season-winter:checked) label[for="season-winter"],
body:has(#season-dusk:checked) label[for="season-dusk"] {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

body:has(#season-dusk:checked) .season label {
  border-color: color-mix(in srgb, var(--bone) 55%, transparent);
  background: transparent;
  color: var(--bone);
}

body:has(#season-dusk:checked) label[for="season-dusk"] {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}

body:has(#season-winter:focus-visible) .season label[for="season-winter"],
body:has(#season-dusk:focus-visible) .season label[for="season-dusk"] {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

@media (hover: hover) {
  .season label {
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
  }
}

body:has(#season-winter:checked) .hero {
  color: var(--ink);
}

body:has(#season-winter:checked) .hero__place,
body:has(#season-winter:checked) .hero__brand,
body:has(#season-winter:checked) .hero__cn,
body:has(#season-winter:checked) .hero__enter {
  color: var(--bone);
}

/* --- Shared fold --- */

.fold {
  position: relative;
  background: var(--paper);
}

#valley,
#rooms,
#book,
#facts {
  scroll-margin-top: 0;
}

@media (min-width: 64rem) {
  .fold {
    height: 100svh;
    max-height: 100svh;
    min-height: 100svh;
    box-sizing: border-box;
    overflow: hidden;
    padding: var(--bar-h) 0 1.4rem;
  }
}

/* --- 墙与谷 --- */

.valley {
  display: flex;
  flex-direction: column;
}

.valley__grid {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  flex: 1;
  min-height: 0;
  padding: 0.85rem 0 0;
}

.valley__shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.valley__plate {
  margin: 0;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  background: var(--linen);
}

.valley__plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.valley__cap {
  flex: 0 0 auto;
  margin: 0.5rem 0 0;
  min-height: calc(var(--caption) * var(--lh-caption) * 2);
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--mute);
}

.valley__cap .num {
  font-variant-numeric: tabular-nums;
  color: var(--rust);
  margin-right: 0.45rem;
}

.valley__copy h2 {
  font-size: var(--display);
  line-height: var(--lh-display);
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 1.25rem;
}

html[lang="en"] .valley__copy h2 {
  letter-spacing: -0.02em;
}

.valley__copy .kicker {
  margin: 0.2rem 0 1rem;
  font-size: var(--caption);
  color: var(--mute);
}

.valley__copy .group {
  margin: 0 0 1rem;
  max-width: 26rem;
}

.valley__copy .group:last-child {
  margin-bottom: 0;
}

.valley__copy .group p + p.en {
  margin-top: 0.2rem;
}

.valley__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.4rem;
  min-height: 0;
  align-items: stretch;
}

.valley__thumbs .valley__shot {
  min-height: 11rem;
}

@media (min-width: 64rem) {
  .valley__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.95fr);
    gap: 1.75rem;
    align-items: stretch;
    height: calc(100svh - var(--bar-h) - 1.4rem);
  }

  .valley__main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }

  .valley__main .valley__shot {
    flex: 1;
    min-height: 0;
    height: 100%;
  }

  .valley__side {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }

  .valley__thumbs {
    flex: 1;
    min-height: 0;
    margin-top: auto;
    padding-top: 1.25rem;
  }

  .valley__thumbs .valley__shot,
  .valley__thumbs .valley__plate {
    height: 100%;
    min-height: 0;
  }
}

@media (max-width: 63.99rem) {
  .valley {
    padding: 1.25rem 0 2.5rem;
  }

  .valley__main .valley__plate {
    height: 18rem;
  }

  .valley__main .valley__shot {
    height: auto;
  }
}

/* --- 居所 / rooms switcher --- */

.rooms-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.rooms {
  display: flex;
  flex-direction: column;
}

.room-tabs {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  flex: 0 0 auto;
  user-select: none;
  border: 1px solid var(--hair);
}

.room-tab {
  display: block;
  padding: 0.75rem 1rem 0.85rem;
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
}

.room-tab:last-child {
  border-bottom: 0;
}

.room-tab__name {
  display: block;
  font-size: var(--heading);
  line-height: var(--lh-heading);
  font-weight: 500;
}

.room-tab__meta {
  display: block;
  margin: 0.15rem 0 0.7rem;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}

.room-tab__track {
  display: block;
  height: 2px;
  background: transparent;
  position: relative;
  margin: 0.65rem -1rem -0.85rem;
}

.room-tab__fill {
  display: block;
  height: 2px;
  background: var(--rust);
}

@media (min-width: 52rem) {
  .room-tabs {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .room-tab {
    border-bottom: 0;
    border-right: 1px solid var(--hair);
  }

  .room-tab:last-child {
    border-right: 0;
  }
}

.rooms:has(#room-108:checked) label[for="room-108"],
.rooms:has(#room-80:checked) label[for="room-80"],
.rooms:has(#room-150:checked) label[for="room-150"] {
  background: var(--sand);
}

.rooms:has(#room-108:checked) label[for="room-108"] .room-tab__fill,
.rooms:has(#room-80:checked) label[for="room-80"] .room-tab__fill,
.rooms:has(#room-150:checked) label[for="room-150"] .room-tab__fill {
  height: 3px;
}

.rooms #room-108:focus-visible ~ .room-tabs label[for="room-108"],
.rooms #room-80:focus-visible ~ .room-tabs label[for="room-80"],
.rooms #room-150:focus-visible ~ .room-tabs label[for="room-150"] {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

.room-stage {
  width: var(--wrap);
  margin: 0 auto;
  flex: 1 1 auto;
  min-height: 0;
  border: 1px solid var(--hair);
  border-top: 0;
}

.room-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  min-height: 0;
  height: 100%;
}

.room-panel__plate {
  margin: 0;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
}

.room-panel__shot {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: var(--linen);
}

.room-panel__shot img,
.room-panel__shot picture,
.room-panel__plate img,
.room-panel__plate picture {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.room-panel__plate--settle .room-panel__shot img {
  object-position: center 42%;
}

.room-panel__cap {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  padding: 0.5rem 0.75rem 0.65rem;
  min-height: calc(var(--caption) * var(--lh-caption) * 2 + 0.75rem);
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--mute);
  background: var(--paper);
}

.room-panel__cap .num {
  font-variant-numeric: tabular-nums;
  color: var(--rust);
  margin-right: 0.45rem;
}

.room-panel__card {
  background: var(--card);
  border: 0;
  border-left: 1px solid var(--hair);
  padding: 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.room-panel__top h3 {
  font-size: var(--title);
  line-height: var(--lh-title);
  font-weight: 500;
  letter-spacing: 0;
}

html[lang="en"] .room-panel__top h3 {
  letter-spacing: -0.02em;
}

.room-panel__area {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  margin: 0.75rem 0 0;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 0.95;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.room-panel__area .unit {
  font-size: 0.36em;
  line-height: 1;
  font-weight: 500;
  position: relative;
  top: 0;
  color: var(--ink);
}

.room-panel__count {
  margin: 0.25rem 0 0.85rem;
  font-size: var(--heading);
  font-variant-numeric: tabular-nums;
  color: var(--mute);
}

.room-panel__top p {
  margin: 0;
}

.spec {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--hair);
}

.spec__row {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.75rem;
  padding: 0.4rem 0;
  align-items: baseline;
}

.spec__row + .spec__row {
  border-top: 1px solid color-mix(in srgb, var(--hair) 70%, transparent);
}

.spec__row dt {
  margin: 0;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  font-weight: 500;
  color: var(--mute);
}

.spec__row dd {
  margin: 0;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--ink);
}

html[lang="en"] .spec__row {
  grid-template-columns: 5.25rem 1fr;
}

.room-panel__foot {
  margin-top: auto;
  padding-top: 1.25rem;
}

.room-panel__doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.door {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  padding: 0.65rem 0.75rem 0.7rem;
  border: 1px solid var(--ink);
  font-size: var(--label);
  line-height: var(--lh-label);
  background: transparent;
}

.door--direct {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.door span[lang] {
  margin-top: 0.1rem;
  font-size: var(--caption);
  opacity: 0.72;
}

.room-panel__more {
  margin: 0.8rem 0 0;
  font-size: var(--caption);
  line-height: var(--lh-caption);
}

.room-panel__more a {
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--rust) 40%, transparent);
  padding-bottom: 0.08em;
}

@media screen {
  @supports selector(:has(*)) {
    .rooms:has(input[name="room"]) .room-panel {
      display: none;
    }

    .rooms:has(#room-108:checked) #panel-108,
    .rooms:has(#room-80:checked) #panel-80,
    .rooms:has(#room-150:checked) #panel-150 {
      display: grid;
    }
  }
}

@media (min-width: 64rem) {
  .room-panel {
    grid-template-columns: 62fr 38fr;
    gap: 0;
    align-items: stretch;
  }

  .room-panel__plate {
    min-height: 0;
    height: 100%;
  }

  .room-panel__shot {
    min-height: 0;
  }
}

@media (max-width: 63.99rem) {
  .rooms {
    padding: 1.1rem 0 2.25rem;
  }

  .room-panel__plate {
    min-height: 0;
  }

  .room-panel__shot {
    height: 17rem;
  }

  .room-panel__card {
    border-left: 0;
    border-top: 1px solid var(--hair);
  }
}

@media (hover: hover) {
  .door,
  .room-tab,
  .room-panel__more a {
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
  }

  .door:hover {
    background: var(--rust);
    border-color: var(--rust);
    color: var(--bone);
  }

  .room-tab:hover {
    background: var(--sand);
  }

  .room-panel__more a:hover {
    color: var(--rust);
    border-bottom-color: var(--rust);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .door:active,
  .bar__plan:active,
  .season label:active {
    transform: scale(0.96);
  }
}

/* --- 事实 + footer --- */

.facts-fold {
  display: flex;
  flex-direction: column;
}

.facts-fold__grid {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 0.7rem;
}

.facts-fold h2 {
  font-size: var(--display);
  line-height: var(--lh-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.facts-kicker {
  margin: 0.2rem 0 0.9rem;
  font-size: var(--caption);
  color: var(--mute);
}

.ledger {
  margin: 0;
}

.ledger__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--hair);
}

.ledger__row:last-child {
  border-bottom: 1px solid var(--hair);
}

.ledger__row dt {
  margin: 0;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  font-weight: 500;
  color: var(--mute);
}

.ledger__row dd {
  margin: 0;
  font-size: var(--label);
  line-height: var(--lh-label);
  color: var(--ink);
}

@media (min-width: 40rem) {
  .ledger__row {
    grid-template-columns: 5.5rem 1fr;
    gap: 1rem;
    align-items: start;
  }

  html[lang="en"] .ledger__row {
    grid-template-columns: 7.25rem 1fr;
  }
}

.facts-fold__plate {
  margin: 0;
  min-height: 14rem;
  overflow: hidden;
  background: var(--linen);
}

.facts-fold__plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.facts-more {
  margin: 0.85rem 0 0;
  font-size: var(--caption);
}

.facts-tools {
  margin: 0.7rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: var(--caption);
}

.facts-tools button,
.facts-tools a {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: var(--mute);
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--rust) 40%, transparent);
  padding-bottom: 0.06em;
}

.site-footer {
  width: var(--wrap);
  margin: 1rem auto 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--mute);
  flex: 0 0 auto;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--mute);
}

@media (min-width: 64rem) {
  .facts-fold__grid {
    grid-template-columns: minmax(18rem, 1fr) minmax(20rem, 1.05fr);
    gap: 1.6rem;
    align-items: stretch;
    min-height: 0;
  }

  .facts-fold__plate {
    height: 100%;
    min-height: 0;
  }
}

@media (max-width: 63.99rem) {
  .facts-fold {
    padding: 1.1rem 0 2rem;
  }
}

/* --- Inner pages (facts, rooms, 404) --- */

.page {
  padding: 1.75rem 0 3.5rem;
}

.page__head {
  width: var(--wrap);
  margin: 0 auto 1.75rem;
}

.page__head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.page__latin {
  margin-top: 0.2rem;
  font-size: var(--heading);
  color: var(--mute);
}

.page__nums {
  margin: 0.85rem 0 1rem;
  font-size: var(--display);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.prose {
  width: var(--wrap);
  margin: 0 auto;
}

.prose .measure {
  max-width: 38rem;
}

.prose .group {
  margin: 0 0 1rem;
}

.gallery {
  width: var(--wrap);
  margin: 1.5rem auto 0;
  display: grid;
  gap: 1.15rem;
}

.gallery figure {
  margin: 0;
  background: var(--linen);
}

.gallery img {
  width: 100%;
  height: auto;
}

.gallery figcaption {
  padding: 0.5rem 0 0;
  font-size: var(--caption);
  color: var(--mute);
}

@media (min-width: 60rem) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery:has(> :only-child) {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.page-doors {
  width: var(--wrap);
  margin: 1.5rem auto 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-adj {
  width: var(--wrap);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--label);
}

.facts-page .ledger,
.facts-page .room-tabs {
  width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
}

.facts-page .room-tabs {
  margin: 1.5rem auto 2rem;
}

.facts-page .room-tab {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.facts-page .room-tab[aria-current="page"] {
  background: var(--sand);
}

.facts-page .room-tab[aria-current="page"] .room-tab__fill,
.room-page .room-tab[aria-current="page"] .room-tab__fill {
  height: 3px;
}

.facts-page .room-tab:not([aria-current="page"]) .room-tab__fill {
  opacity: 0.4;
}

.lost {
  width: var(--wrap);
  margin: 0 auto;
  padding: min(18vh, 7rem) 0 5rem;
  max-width: 32rem;
}

.lost h1 {
  font-size: var(--display);
  font-weight: 500;
  letter-spacing: 0;
}

.print-only {
  display: none;
}

@media print {
  .skip,
  .bar,
  .spine,
  .season,
  .slip-copy {
    display: none !important;
  }

  .print-only {
    display: block;
  }

  .hero,
  .fold {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin-top: 0 !important;
  }

  .rooms .room-panel {
    display: grid !important;
    break-inside: avoid;
    margin-bottom: 1.5rem;
    height: auto !important;
  }

  body,
  .bar,
  .fold,
  .slip,
  .room-panel__card {
    background: #fff !important;
    color: #1a1612 !important;
  }
}

@media (max-width: 44rem) {
  .hero__locus {
    display: none;
  }

  .hero__word {
    left: 1.15rem;
    bottom: 5.25rem;
  }

  .hero__brand {
    letter-spacing: 0.1em;
  }

  .season {
    right: 1.15rem;
    bottom: 1.2rem;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

body.home .bar.is-solid {
  background: var(--paper);
  border-bottom-color: var(--hair);
  color: var(--ink);
}

body.home .bar.is-solid .bar__plan {
  border-color: var(--ink);
  color: inherit;
}

.valley__main,
.valley__shot {
  display: flex;
  flex-direction: column;
}

.valley__plate picture,
.valley__plate > picture,
.valley__plate img {
  flex: 1 1 auto;
  min-height: 0;
}

.valley__cap,
.valley__thumbs .valley__cap {
  flex: 0 0 auto;
}

.valley__thumbs .valley__plate {
  overflow: hidden;
}


@media (min-width: 64rem) {
  .facts-fold__grid {
    height: 100%;
  }

  .facts-fold__grid > div:first-child {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .facts-fold .ledger {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .facts-fold .ledger__row {
    flex: 1 1 auto;
    align-content: start;
    padding-top: 0.7rem;
  }
}


/* Booking & contact fold — same linen field, no planner */
.book,
.facts-fold {
}

.book {
  display: flex;
  flex-direction: column;
}

.book .book__grid,
.facts-fold__grid {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 0.7rem;
}

.book h2 {
  font-size: var(--display);
  line-height: var(--lh-display);
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 1rem;
}

html[lang="en"] .book h2 {
  letter-spacing: -0.02em;
}

.book__doors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 0 0 1.05rem;
  padding: 0;
  list-style: none;
}

.book__doors .door {
  padding: 0.75rem 0.9rem 0.8rem;
}

@media (min-width: 40rem) {
  .book__doors {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 64rem) {
  .book .book__grid {
    grid-template-columns: minmax(18rem, 1fr) minmax(20rem, 1.05fr);
    gap: 1.6rem;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }

  .book .book__grid > div:first-child {
    display: flex;
    flex-direction: column;
    min-height: 0;
    justify-content: flex-start;
  }

  .book .facts-tools {
    margin-top: auto;
    padding-top: 1.5rem;
  }

  .book .ledger {
    flex: 0 0 auto;
    margin-top: 0.15rem;
  }

  .book .ledger__row {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .book .facts-fold__plate,
  .book .book__plate {
    margin: 0;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: var(--linen);
  }

  .book .book__plate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
  }
}

@media (max-width: 63.99rem) {
  .book {
    padding: 1.1rem 0 2rem;
  }

  .book .book__plate {
    margin: 0;
    min-height: 14rem;
    overflow: hidden;
    background: var(--linen);
  }

  .book .book__plate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


/* --- Polish states --- */

.unit {
  white-space: nowrap;
}

.bar a:focus-visible,
.door:focus-visible,
.season label:focus-visible,
.room-tab:focus-visible,
.facts-tools a:focus-visible,
.facts-tools button:focus-visible,
.room-panel__more a:focus-visible,
.hero__enter:focus-visible,
.site-footer a:focus-visible,
.page-doors a:focus-visible,
.page-adj a:focus-visible,
.facts-more a:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

@media (hover: hover) {
  .facts-tools a:hover,
  .facts-tools button:hover,
  .facts-more a:hover,
  .site-footer a:hover,
  .hero__enter:hover {
    color: var(--rust);
    border-bottom-color: var(--rust);
  }

  .hero__enter,
  .facts-tools a,
  .facts-tools button,
  .facts-more a,
  .site-footer a {
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
  }
}

.page .spec {
  width: var(--wrap);
  margin: 1.5rem auto 0;
  padding-top: 0;
  border-top: 0;
}

.page .spec .spec__row {
  max-width: 22rem;
}

.page .spec .spec__row:first-child {
  border-top: 1px solid var(--hair);
  padding-top: 1rem;
}

.page__nums .unit {
  font-size: 0.45em;
  font-weight: 500;
  margin-left: 0.12em;
}

.lost a {
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--rust) 40%, transparent);
  padding-bottom: 0.08em;
}

@media (max-width: 44rem) {
  .season label {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .hero__word {
    bottom: 5.5rem;
  }

  .hero__scrim--top {
    height: calc(var(--bar-h) + 3.5rem);
  }
}

@media (max-width: 39.99rem) {
  .ledger__row {
    grid-template-columns: 1fr;
  }
}


/* --- Kayla fact-pass typography --- */

.book__note,
.room-panel__pet,
.photo-note {
  margin: 0.75rem 0 0;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--mute);
  max-width: 32rem;
}

.book__note {
  margin: 0.75rem 0 1rem;
}

.room-panel__pet {
  margin-top: 0.5rem;
}

.book__shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.book__plate {
  flex: 1 1 auto;
  min-height: 0;
}

.book__cap {
  flex: 0 0 auto;
  margin: 0.5rem 0 0;
  min-height: calc(var(--caption) * var(--lh-caption) * 2);
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--mute);
}

@media (min-width: 64rem) {
  .book .book__shot {
    height: 100%;
    min-height: 0;
  }
}

.facts-layout {
  width: var(--wrap);
  margin: 1.25rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.facts-plate {
  margin: 0;
  background: var(--linen);
}

.facts-plate img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.facts-plate figcaption {
  padding: 0.5rem 0 0;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--mute);
  background: var(--paper);
}

@media (min-width: 64rem) {
  .facts-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.75fr);
    gap: 1.75rem;
    align-items: start;
  }
}

@media (min-width: 64rem) {
  .room-panel__top > p:not(.room-panel__area):not(.room-panel__count):not(.room-panel__pet) {
    font-size: var(--label);
    line-height: var(--lh-label);
  }

  .room-panel__area {
    margin-top: 0.45rem;
  }

  .room-panel__count {
    margin: 0.15rem 0 0.55rem;
  }

  .rooms .spec {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }

  .rooms .spec__row {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .book .ledger__row {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .book__doors .door {
    padding: 0.6rem 0.75rem 0.65rem;
  }
}


/* --- Contact + amenities --- */

.contact-line {
  display: block;
}

.contact-line + .contact-line {
  margin-top: 0.18rem;
}

.idselect {
  user-select: all;
  -webkit-user-select: all;
}

.copy-quiet {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin-left: 0.7em;
  font: inherit;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  color: var(--mute);
  cursor: pointer;
  border-bottom: 1px solid color-mix(in srgb, var(--rust) 40%, transparent);
  padding-bottom: 0.06em;
}

.tel {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--rust) 40%, transparent);
  padding-bottom: 0.06em;
}

@media (hover: hover) {
  .copy-quiet:hover,
  .tel:hover {
    color: var(--rust);
    border-bottom-color: var(--rust);
  }
}

.copy-quiet:focus-visible,
.tel:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.amenities {
  width: var(--wrap);
  margin: 2.25rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair);
}

.amenities h2 {
  margin: 0 0 0.85rem;
  font-size: var(--heading);
  line-height: var(--lh-heading);
  font-weight: 500;
  letter-spacing: 0;
}

html[lang="en"] .amenities h2 {
  letter-spacing: -0.02em;
}

.amenities__list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.amenities__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.28rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--hair);
}

.amenities__row:last-child {
  border-bottom: 1px solid var(--hair);
}

.amenities__row dt {
  margin: 0;
  font-size: var(--caption);
  line-height: var(--lh-caption);
  font-weight: 500;
  color: var(--ink);
}

.amenities__row dd {
  margin: 0;
  font-size: var(--label);
  line-height: var(--lh-label);
  color: var(--mute);
  max-width: 32rem;
}

@media (min-width: 64rem) {
  .amenities__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.75rem;
  }

  .amenities__row:nth-last-child(2):nth-child(odd) {
    border-bottom: 1px solid var(--hair);
  }
}
