:root {
  color-scheme: light;
  --bg: oklch(0.982 0.006 105);
  --surface: oklch(0.955 0.018 108);
  --surface-strong: oklch(0.915 0.032 113);
  --paper: oklch(0.94 0.032 91);
  --paper-light: oklch(0.985 0.012 98);
  --paper-deep: oklch(0.875 0.045 87);
  --paper-edge: oklch(0.74 0.055 86);
  --ink: oklch(0.24 0.058 153);
  --muted: oklch(0.4 0.04 153);
  --deep-green: oklch(0.31 0.089 151);
  --stamp-green: oklch(0.25 0.08 151);
  --tea-green: oklch(0.61 0.098 136);
  --water: oklch(0.73 0.072 218);
  --water-soft: oklch(0.9 0.034 215);
  --gold: oklch(0.75 0.117 86);
  --gold-ink: oklch(0.66 0.105 82);
  --gold-soft: oklch(0.91 0.056 88);
  --line: oklch(0.82 0.028 112);
  --white: oklch(1 0 0);
  --shadow-soft: 0 6px 12px oklch(0.29 0.055 151 / 0.1);
  --shadow-paper: 0 10px 14px oklch(0.26 0.052 139 / 0.13);
  --radius: 8px;
  --max-page: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 12%, oklch(0.84 0.06 87 / 0.58), transparent 24rem),
    radial-gradient(circle at 92% 6%, oklch(0.81 0.05 210 / 0.4), transparent 18rem),
    linear-gradient(180deg, var(--paper-light), oklch(0.922 0.028 112));
  color: var(--ink);
  font-family:
    "Avenir Next",
    "Segoe UI",
    system-ui,
    sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    radial-gradient(circle at 18% 24%, var(--water-soft) 0 0.12rem, transparent 0.14rem),
    radial-gradient(circle at 78% 18%, var(--gold-soft) 0 0.1rem, transparent 0.12rem),
    radial-gradient(circle at 42% 68%, oklch(0.58 0.06 130 / 0.18) 0 0.08rem, transparent 0.1rem);
  background-size: 3.5rem 3.5rem, 4.6rem 4.6rem, 6rem 6rem;
}

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

button,
a,
.hotel-card {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.hero {
  min-height: 720px;
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 5.5rem 1.35rem 2rem;
  border-top: 1px solid oklch(0.76 0.045 89 / 0.62);
  border-bottom: 1px solid oklch(0.76 0.045 89 / 0.45);
  pointer-events: none;
}

.topbar {
  width: min(100%, var(--max-page));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.brand-mark,
.topbar__link,
.primary-link,
.text-link {
  font-weight: 700;
}

.brand-mark {
  color: var(--deep-green);
  font-size: 0.95rem;
}

.topbar__link,
.primary-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.topbar__link {
  padding: 0 1rem;
  border: 1px solid oklch(0.72 0.053 92);
  background: oklch(0.99 0.009 96 / 0.72);
}

.primary-link {
  width: fit-content;
  gap: 0.95rem;
  padding: 0.16rem 0.92rem 0.16rem 1.32rem;
  border: 1px solid oklch(0.73 0.086 82 / 0.75);
  background: #063f25;
  color: #fffaf0;
  box-shadow:
    0 8px 14px oklch(0.24 0.062 151 / 0.18),
    inset 0 1px 0 oklch(1 0 0 / 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 600;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  border-color: var(--gold);
  box-shadow:
    0 10px 14px oklch(0.24 0.062 151 / 0.22),
    inset 0 1px 0 oklch(1 0 0 / 0.14);
  transform: translateY(-2px);
}

.primary-link__arrow {
  width: 1.72rem;
  height: 1.72rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--gold);
  font-size: 1.12rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.primary-link:hover .primary-link__arrow,
.primary-link:focus-visible .primary-link__arrow {
  transform: translateX(0.18rem);
}

.hero__content {
  width: min(100%, var(--max-page));
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.35rem, 3vw, 2.35rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero__poster {
  width: min(100%, 50rem);
  min-width: 0;
  position: relative;
}

.hero__poster::before {
  content: "";
  position: absolute;
  left: -1.2rem;
  top: 3.2rem;
  bottom: 3.2rem;
  width: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), oklch(0.42 0.08 151));
  opacity: 0.95;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.05rem;
  padding: 5rem 0 0;
}

.hero__place,
.section-heading__note,
.hotel-card__area {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

h1 {
  max-width: 9.8ch;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.9rem;
  line-height: 0.9;
  font-weight: 700;
  color: var(--deep-green);
  text-shadow: 0 1px 0 oklch(1 0 0 / 0.62);
}

.hero__subtitle {
  max-width: 35rem;
  margin-bottom: 0;
  font-size: 1.3rem;
  color: var(--muted);
  text-wrap: pretty;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.25rem 0 0.2rem;
}

.hero__meta span {
  min-height: 2.15rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid oklch(0.74 0.052 91);
  border-radius: 999px;
  padding: 0 0.72rem;
  background: oklch(0.965 0.018 94 / 0.72);
  color: var(--deep-green);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.95rem clamp(1rem, 2.4vw, 2rem);
  margin-top: 0.2rem;
}

.hero__guide-line {
  flex: 1 1 22rem;
  max-width: 35rem;
  display: flex;
  align-items: center;
  gap: 0.78rem;
  color: oklch(0.45 0.035 95);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  line-height: 1.2;
}

.hero__guide-rule {
  flex: 1 1 3.5rem;
  max-width: 4.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.72 0.085 84 / 0.8));
}

.hero__guide-rule:last-child {
  background: linear-gradient(90deg, oklch(0.72 0.085 84 / 0.8), transparent);
}

.hero__guide-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  color: oklch(0.68 0.081 84 / 0.74);
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero__guide-text {
  white-space: nowrap;
}

.hero__art {
  width: min(100%, 1120px);
  justify-self: center;
  position: relative;
  min-height: 0;
  padding: clamp(0.45rem, 1.1vw, 0.72rem);
  border: 1px solid oklch(0.73 0.061 87 / 0.86);
  border-radius: 28px;
  background:
    linear-gradient(180deg, oklch(0.985 0.012 96), oklch(0.948 0.025 98));
  overflow: hidden;
  box-shadow:
    0 10px 14px oklch(0.25 0.045 132 / 0.12),
    inset 0 1px 0 oklch(1 0 0 / 0.64);
  transform: none;
}

.preview-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 21px;
}

.map-section,
.stays-section {
  width: min(calc(100% - 2.5rem), var(--max-page));
  margin: 0 auto;
}

.map-section {
  padding: 4rem 0 3rem;
}

.stays-section {
  padding: 1rem 0 5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1.2fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  line-height: 1.05;
  color: var(--deep-green);
}

.section-heading--compact {
  align-items: start;
  margin-bottom: 1rem;
}

.explorer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1rem;
  align-items: start;
}

.map-shell,
.region-panel,
.style-filter {
  border: 1px solid oklch(0.75 0.047 91);
  border-radius: 10px;
  background: var(--paper-light);
}

.map-shell {
  min-width: 0;
  padding: 0.9rem;
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, oklch(0.99 0.012 98 / 0.9), transparent 18rem),
    linear-gradient(145deg, var(--paper-light), var(--paper));
  box-shadow: var(--shadow-paper);
  overflow: hidden;
}

.map-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 20% 18%, oklch(0.58 0.052 136 / 0.17) 0 0.08rem, transparent 0.1rem),
    radial-gradient(circle at 72% 62%, oklch(0.66 0.08 84 / 0.12) 0 0.07rem, transparent 0.09rem);
  background-size: 2.4rem 2.4rem, 3.1rem 3.1rem;
}

.map-shell__header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  color: var(--deep-green);
  font-size: 0.8rem;
  font-weight: 800;
}

.map-shell__header span:last-child {
  color: var(--gold-ink);
}

.map-canvas {
  margin: 0;
  position: relative;
  aspect-ratio: 543 / 724;
  overflow: hidden;
  border: 1px solid oklch(0.78 0.04 93);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.45);
}

.map-canvas::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  z-index: 2;
  border: 1px solid oklch(0.74 0.055 87 / 0.42);
  border-radius: 6px;
  pointer-events: none;
}

.map-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 48% 47%, transparent 0 34%, oklch(0.965 0.019 93 / 0.16) 62%),
    linear-gradient(180deg, oklch(0.98 0.012 96 / 0.2), oklch(0.93 0.025 101 / 0.22));
  pointer-events: none;
}

.map-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  opacity: 0.9;
  filter: saturate(0.9) contrast(0.94) brightness(1.04);
  transform-origin: center center;
}

.map-canvas figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 4;
  max-width: min(24rem, calc(100% - 1.5rem));
  padding: 0.42rem 0.55rem;
  border: 1px solid oklch(0.77 0.048 91 / 0.7);
  border-radius: var(--radius);
  background: oklch(0.985 0.015 96 / 0.82);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.map-points {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.map-point {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  color: var(--deep-green);
}

.pin-west-lake { left: 60%; top: 39%; }
.pin-xixi-wetland { left: 32%; top: 37%; }
.pin-grand-canal { left: 73%; top: 27%; }
.pin-liangzhu { left: 37%; top: 21%; }
.pin-longwu-tea-village { left: 23%; top: 52%; }
.pin-jingshan-mountain { left: 16%; top: 12%; }
.pin-qiandao-lake { left: 23%; top: 77%; }
.pin-fuchun-river { left: 50%; top: 62%; }

.map-point__dot {
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  margin: 0.58rem auto 0;
  border: 2px solid oklch(0.82 0.093 84);
  border-radius: 999px;
  background: var(--stamp-green);
  box-shadow:
    0 0 0 0.25rem oklch(0.98 0.016 94 / 0.78),
    0 4px 8px oklch(0.2 0.04 151 / 0.2);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.map-point__index {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.map-point__label,
.map-point::after {
  position: absolute;
  left: 50%;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(0.982 0.014 96 / 0.9);
  color: var(--deep-green);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 8px oklch(0.24 0.04 151 / 0.1);
}

.map-point__label {
  display: none;
  top: 2.1rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.5rem;
}

.map-point::after {
  content: attr(data-tooltip);
  bottom: calc(100% + 0.35rem);
  z-index: 4;
  padding: 0.42rem 0.55rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.25rem);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.map-point:hover::after,
.map-point:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.map-point:hover .map-point__dot,
.map-point:focus-visible .map-point__dot,
.map-point.is-active .map-point__dot {
  transform: scale(1.18);
}

.map-point.is-active .map-point__dot {
  background: oklch(0.2 0.08 151);
  box-shadow:
    0 0 0 0.18rem oklch(0.82 0.093 84 / 0.58),
    0 0 0 0.44rem oklch(0.31 0.089 151 / 0.18),
    0 4px 8px oklch(0.2 0.04 151 / 0.24);
}

.map-point.is-style-match .map-point__dot {
  border-color: var(--gold);
  background: var(--deep-green);
}

.map-point.is-muted {
  opacity: 0.32;
}

.region-panel {
  min-height: 29rem;
  padding: 1.15rem;
  position: sticky;
  top: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, oklch(0.86 0.056 214 / 0.28), transparent 10rem),
    radial-gradient(circle at 0% 100%, oklch(0.86 0.062 88 / 0.32), transparent 11rem),
    linear-gradient(180deg, oklch(0.99 0.012 96), oklch(0.94 0.029 101));
  box-shadow: var(--shadow-paper);
}

.region-panel::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 1px solid oklch(0.72 0.053 91 / 0.46);
  border-radius: 7px;
  pointer-events: none;
}

.region-panel > * {
  position: relative;
  z-index: 1;
}

.sheet-close {
  display: none;
}

.region-empty,
.region-panel__header,
.region-panel__stays {
  display: grid;
  gap: 0.72rem;
}

.region-empty__label,
.region-panel__type {
  margin: 0;
  color: var(--gold-ink);
  font-weight: 700;
}

.region-empty h2,
.region-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  line-height: 1.05;
  color: var(--deep-green);
}

.region-empty p,
.region-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.region-panel__actions {
  margin: 1.1rem 0;
}

.text-link {
  width: fit-content;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--gold);
  color: var(--deep-green);
}

.region-panel__stays {
  padding-top: 1rem;
  border-top: 1px solid oklch(0.74 0.052 91 / 0.6);
}

.region-panel__stays h3 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
  color: var(--deep-green);
}

.region-panel__stays ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.region-panel__stays li {
  display: grid;
  gap: 0.1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid oklch(0.82 0.028 112 / 0.65);
}

.region-panel__stays li:last-child {
  border-bottom: 0;
}

.region-panel__stays span {
  font-weight: 800;
  color: var(--deep-green);
}

.region-panel__stays small {
  color: var(--muted);
}

.region-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.1rem;
}

.style-filter {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  background:
    linear-gradient(180deg, oklch(0.99 0.011 96), oklch(0.955 0.025 99));
  box-shadow: 0 6px 10px oklch(0.24 0.052 139 / 0.08);
}

.style-filter__header h3,
.style-filter__header p {
  margin: 0;
}

.style-filter__header h3 {
  color: var(--deep-green);
  font-size: 1.05rem;
}

.style-filter__header p {
  color: var(--muted);
  font-size: 0.92rem;
}

.style-filter__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.style-chip {
  min-height: 2.7rem;
  padding: 0 1rem;
  border: 1px solid oklch(0.74 0.052 91);
  border-radius: 999px;
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.78), oklch(0.95 0.023 97 / 0.88));
  color: var(--deep-green);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.72);
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.style-chip:hover,
.style-chip:focus-visible {
  transform: translateY(-1px);
}

.style-chip.is-active {
  border-color: var(--stamp-green);
  background: var(--stamp-green);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.16),
    0 5px 8px oklch(0.22 0.06 151 / 0.16);
}

.style-chip--reset {
  border-color: oklch(0.72 0.046 91);
  background: oklch(0.965 0.019 96);
}

.stay-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.85rem;
}

.hotel-card {
  min-height: 13.5rem;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.05rem;
  border: 1px solid oklch(0.77 0.042 93);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, oklch(0.88 0.056 214 / 0.24), transparent 8rem),
    linear-gradient(180deg, oklch(0.995 0.006 98 / 0.9), oklch(0.95 0.02 102 / 0.82));
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background-color 160ms ease;
}

.hotel-card::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 1px solid oklch(0.73 0.05 91 / 0.26);
  border-radius: 7px;
  pointer-events: none;
}

.hotel-card > * {
  position: relative;
  z-index: 1;
}

.hotel-card:hover,
.hotel-card:focus-visible {
  border-color: oklch(0.62 0.093 139);
  transform: translateY(-3px);
  background:
    radial-gradient(circle at 100% 0%, oklch(0.86 0.064 214 / 0.34), transparent 8rem),
    linear-gradient(180deg, oklch(1 0 0 / 0.96), oklch(0.955 0.023 102 / 0.94));
}

.hotel-card__main {
  display: grid;
  gap: 0.25rem;
}

.hotel-card h3 {
  margin: 0;
  color: var(--deep-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.12;
}

.hotel-card__tagline {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.hotel-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hotel-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.1rem;
}

.hotel-card__action {
  min-height: 2.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 0.78rem;
  border: 1px solid oklch(0.75 0.052 91 / 0.82);
  background: oklch(0.99 0.012 96 / 0.64);
  color: var(--deep-green);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.72);
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.hotel-card__action::after {
  content: "";
  width: 0.34rem;
  height: 0.34rem;
  margin-left: 0.45rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.hotel-card__action:hover,
.hotel-card__action:focus-visible {
  border-color: oklch(0.67 0.091 84);
  background: oklch(0.955 0.034 88 / 0.78);
  transform: translateY(-1px);
}

.hotel-card__action:hover::after,
.hotel-card__action:focus-visible::after {
  transform: translateX(0.12rem) rotate(45deg);
}

.hotel-card__action--discover {
  border-color: oklch(0.7 0.04 151 / 0.72);
  background: oklch(0.94 0.029 132 / 0.56);
}

.tag {
  display: inline-flex;
  min-height: 1.75rem;
  align-items: center;
  padding: 0 0.55rem;
  border: 1px solid oklch(0.76 0.047 132);
  border-radius: 999px;
  background: oklch(0.91 0.037 132);
  color: var(--deep-green);
  font-size: 0.78rem;
  font-weight: 800;
}

.tag--panel {
  border-color: oklch(0.74 0.052 91);
  background: oklch(0.965 0.02 92);
  color: var(--stamp-green);
}

.hotel-card__details {
  display: grid;
  gap: 0.55rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 280ms cubic-bezier(0.2, 0.8, 0.18, 1),
    opacity 220ms ease;
}

.hotel-card__details p {
  margin: 0;
  color: var(--muted);
}

.hotel-card.is-expanded .hotel-card__details {
  max-height: 12rem;
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .hotel-card:hover .hotel-card__details,
  .hotel-card:focus-visible .hotel-card__details {
    max-height: 12rem;
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: 690px;
  }

  .hero__content {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero__copy {
    padding: 3rem 0 1rem;
  }

  h1 {
    max-width: 9ch;
    font-size: 4.3rem;
  }

  .hero__art {
    min-height: 0;
  }

  .explorer-grid {
    grid-template-columns: 1fr;
  }

  .region-panel {
    position: relative;
    top: auto;
    min-height: auto;
  }
}

@media (max-width: 780px) {
  .hero {
    min-height: 640px;
    padding: 1rem;
  }

  .topbar {
    align-items: flex-start;
  }

  h1 {
    font-size: 3.25rem;
  }

  .hero__subtitle {
    font-size: 1.05rem;
  }

  .hero__poster::before {
    left: -0.65rem;
    top: 2.6rem;
    bottom: 1rem;
    width: 0.2rem;
  }

  .hero__meta {
    gap: 0.42rem;
  }

  .hero__meta span {
    min-height: 2rem;
    font-size: 0.78rem;
  }

  .hero__cta-row {
    gap: 0.75rem;
  }

  .hero__guide-line {
    display: none;
  }

  .hero__art {
    padding: 0.5rem;
    border-radius: 22px;
  }

  .preview-image {
    border-radius: 17px;
  }

  .map-section,
  .stays-section {
    width: min(calc(100% - 1.5rem), var(--max-page));
  }

  .map-section {
    padding-top: 2.5rem;
  }

  .section-heading,
  .style-filter {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .map-shell {
    padding: 0.65rem;
  }

  .map-canvas {
    aspect-ratio: 4 / 5;
  }

  .map-canvas figcaption {
    display: none;
  }

  .map-point {
    width: 2.9rem;
    height: 2.9rem;
  }

  .map-point__dot {
    width: 1.72rem;
    height: 1.72rem;
    margin-top: 0.58rem;
  }

  .map-point__index {
    font-size: 0.62rem;
  }

  .map-point__label,
  .map-point::after {
    display: none;
  }

  .region-panel {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 20;
    max-height: min(74vh, 34rem);
    overflow: auto;
    padding: 3.2rem 1rem 1.1rem;
    border-radius: 14px 14px 10px 10px;
    box-shadow: 0 10px 14px oklch(0.22 0.05 151 / 0.22);
    opacity: 0;
    transform: translate3d(0, calc(100% + 1.5rem), 0);
    visibility: hidden;
    pointer-events: none;
    will-change: transform, opacity;
    transition:
      transform 420ms cubic-bezier(0.2, 0.9, 0.18, 1),
      opacity 260ms ease,
      visibility 0ms linear 420ms;
  }

  .region-panel.is-open {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 420ms cubic-bezier(0.2, 0.9, 0.18, 1),
      opacity 260ms ease,
      visibility 0ms linear 0ms;
  }

  .sheet-close {
    min-height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    padding: 0 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--deep-green);
    font: inherit;
    font-weight: 800;
  }

  .style-filter {
    gap: 0.75rem;
  }

  .style-filter__controls {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .style-filter__controls::-webkit-scrollbar {
    display: none;
  }

  .style-chip {
    flex: 0 0 auto;
  }

  .stay-list {
    grid-template-columns: 1fr;
  }

  .hotel-card {
    min-height: 10.25rem;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 610px;
  }

  .brand-mark {
    max-width: 9rem;
  }

  h1 {
    font-size: 2.95rem;
  }

  .topbar__link,
  .primary-link {
    min-height: 2.55rem;
  }

  .primary-link {
    padding: 0.12rem 0.82rem 0.12rem 1.08rem;
  }

  .primary-link__arrow {
    width: 1.55rem;
    height: 1.55rem;
  }

  .hero__copy {
    gap: 0.95rem;
  }

  .hero__art {
    min-height: 0;
    border-radius: 20px;
  }

  .preview-image {
    border-radius: 16px;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .region-empty h2,
  .region-panel h2 {
    font-size: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
