:root {
  --ink: #20231f;
  --muted: #5f675e;
  --line: #dedfd6;
  --paper: #fbfbf7;
  --soft: #eef0e9;
  --olive: #596b47;
  --olive-dark: #37442f;
  --terracotta: #a2573d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(45, 38, 28, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

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

section[id] {
  scroll-margin-top: 86px;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  border-bottom: 1px solid rgba(32, 35, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: currentColor;
  font-size: 14px;
}

.main-nav a,
.nav-contact-trigger,
.nav-cta {
  opacity: 0.86;
  transition: opacity 160ms ease;
}

.main-nav a:hover,
.nav-contact:hover .nav-contact-trigger,
.nav-contact:focus-within .nav-contact-trigger,
.nav-cta:hover {
  opacity: 1;
}

.nav-contact {
  position: relative;
}

.nav-contact-trigger {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.header-contact-card {
  position: absolute;
  z-index: 30;
  top: calc(100% + 16px);
  left: 50%;
  width: min(360px, calc(100vw - 32px));
  border: 1px solid rgba(32, 35, 31, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  padding: 18px;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-contact:hover .header-contact-card,
.nav-contact:focus-within .header-contact-card {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.header-contact-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.header-contact-card strong {
  display: block;
  margin: 8px 0 14px;
  font-size: 18px;
}

.header-contact-card a,
.header-contact-card p {
  display: block;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 10px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.header-contact-card a + a,
.header-contact-card a + p {
  margin-top: 10px;
}

.nav-cta {
  min-width: max-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #171915;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: brightness(0.84) contrast(1.09) saturate(0.94);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 14, 10, 0.74), rgba(13, 14, 10, 0.36) 48%, rgba(13, 14, 10, 0.18)),
    linear-gradient(0deg, rgba(13, 14, 10, 0.64), rgba(13, 14, 10, 0.04) 58%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 180px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 500;
  line-height: 1.04;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.5vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--olive);
  color: var(--white);
}

.button.primary:hover {
  background: var(--olive-dark);
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.54);
  color: var(--white);
}

.request-dialog .button.secondary {
  border-color: var(--line);
  color: var(--ink);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
}

.hero-facts span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.room-booking-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  border: 1px solid rgba(32, 35, 31, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(16px, 2vw, 22px);
  box-shadow: 0 18px 48px rgba(45, 38, 28, 0.08);
}

.room-booking-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.room-booking-head h4 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 18px;
}

.room-booking-head p {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.booking-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

.booking-fields label,
.rate-toggle,
.estimate {
  min-width: 0;
}

.booking-fields label > span,
.rate-toggle legend,
.estimate span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.room-booking-form input,
.room-booking-form select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
}

.room-booking-form input:focus,
.room-booking-form select:focus {
  outline: 2px solid rgba(89, 107, 71, 0.22);
  border-color: rgba(89, 107, 71, 0.6);
}

.rate-toggle {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-column: 1 / -1;
  padding: 8px;
}

.rate-toggle legend {
  padding: 0 4px;
}

.rate-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  margin-right: 10px;
  color: var(--ink);
  font-size: 14px;
}

.rate-toggle input {
  width: 14px;
  height: 14px;
  accent-color: var(--olive);
}

.booking-result {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.estimate {
  border-bottom: 1px solid rgba(32, 35, 31, 0.1);
  padding-bottom: 16px;
}

.estimate strong {
  display: block;
  color: var(--terracotta);
  font-size: 26px;
  line-height: 1;
}

.estimate small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.submit-button {
  width: 100%;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.booking-policy {
  display: grid;
  gap: 8px;
}

.booking-policy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.booking-policy strong {
  color: var(--ink);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(82px, 9vw, 132px) 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading:not(:has(p:not(.eyebrow))) {
  display: block;
}

.section-heading.narrow {
  display: block;
  max-width: 620px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.1;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.room-grid {
  display: grid;
  gap: clamp(30px, 4.5vw, 54px);
}

.room-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.46fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 2.4vw, 30px);
}

.room-media {
  display: grid;
  gap: 10px;
}

.room-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 8px;
  align-items: stretch;
  height: clamp(360px, 35vw, 520px);
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.room-main-photo,
.thumb-row img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  background: #ddd8ce;
  cursor: zoom-in;
  filter: brightness(0.98) contrast(1.07) saturate(0.96);
}

.room-main-photo:focus-visible,
.thumb-row img:focus-visible {
  outline: 3px solid rgba(89, 107, 71, 0.55);
  outline-offset: -3px;
}

.room-main-photo {
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.thumb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  min-height: 0;
}

.thumb-row img {
  min-height: 0;
  object-fit: cover;
  background: #ddd8ce;
}

.thumb-row img[src*="room-a-angle"] {
  object-position: 48% 62%;
}

.thumb-row img[src*="room-a-bath"] {
  object-position: 50% 76%;
}

.thumb-row img[src*="room-a-lounge"] {
  object-position: 46% 55%;
}

.thumb-row img[src*="room-a-wide"] {
  object-position: 55% 70%;
}

.thumb-row img[src*="room-b-lounge"] {
  object-position: 54% 62%;
}

.thumb-row img[src*="room-b-bath"] {
  object-position: 52% 58%;
}

.thumb-row img[src*="room-b-window"] {
  object-position: 48% 70%;
}

.thumb-row img[src*="room-b-wide"] {
  object-position: 50% 72%;
}

.room-copy {
  position: sticky;
  top: 96px;
  padding: 4px 0 0;
}

.room-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.room-title-row h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
}

.room-title-row strong {
  color: var(--terracotta);
  font-size: 18px;
  white-space: nowrap;
}

.room-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.room-info-panel {
  border: 1px solid rgba(32, 35, 31, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.44);
  padding: 14px;
}

.room-info-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.amenities li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-size: 13px;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.notice-grid article {
  border-top: 1px solid var(--line);
  padding: 18px 4px 0;
}

.notice-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.notice-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.notice-section {
  padding-bottom: clamp(64px, 8vw, 120px);
}

.text-link {
  display: inline-flex;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  color: var(--olive-dark);
  font-weight: 800;
}

.transit-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.location-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding: 22px 0;
}

.location-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 800;
}

.location-summary h3 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
}

.location-summary p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
}

.transit-card,
.route-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  padding: clamp(20px, 2.5vw, 30px);
}

.transit-card span,
.route-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 800;
}

.transit-card h3,
.route-grid h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
}

.inline-map-trigger {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0 0 4px;
  text-align: left;
}

.transit-card p,
.route-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.location-card {
  background: var(--soft);
}

.airport-card {
  background: #fff8ef;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.request-dialog,
.map-dialog,
.photo-dialog {
  width: min(520px, calc(100% - 40px));
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.24);
  color: var(--ink);
  padding: 32px;
}

.request-dialog::backdrop,
.map-dialog::backdrop,
.photo-dialog::backdrop {
  background: rgba(23, 25, 21, 0.58);
  backdrop-filter: blur(4px);
}

.request-dialog h2,
.map-dialog h2 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 500;
}

.request-dialog p:not(.eyebrow) {
  color: var(--muted);
}

.map-address,
.map-help {
  color: var(--muted);
}

.map-actions {
  display: grid;
  gap: 10px;
  margin: 22px 0 16px;
}

.photo-dialog {
  width: min(96vw, 1280px);
  max-width: none;
  background: #10110f;
  color: var(--white);
  padding: clamp(14px, 2vw, 22px);
}

.photo-dialog figure {
  display: grid;
  gap: 14px;
  margin: 0;
}

.photo-dialog img {
  width: 100%;
  max-height: min(82vh, 900px);
  object-fit: contain;
  background: #0b0c0a;
  border-radius: var(--radius);
}

.photo-dialog figcaption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  text-align: center;
}

.photo-close {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.photo-hover-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  display: grid;
  gap: 8px;
  width: min(560px, 42vw);
  max-width: calc(100vw - 36px);
  border-radius: var(--radius);
  background: #10110f;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  transform: translate3d(-9999px, -9999px, 0) scale(0.98);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
}

.photo-hover-preview.is-visible {
  opacity: 1;
}

.photo-hover-preview img {
  width: 100%;
  height: min(58vh, 560px);
  object-fit: contain;
  background: #0b0c0a;
  border-radius: calc(var(--radius) - 2px);
}

.photo-hover-preview span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-align: center;
}

.request-dialog .dialog-note {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
  font-size: 14px;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    justify-content: end;
    gap: 16px;
  }

  .main-nav > a {
    display: none;
  }

  .header-contact-card {
    left: auto;
    right: 0;
    transform: translate(0, 8px);
  }

  .nav-contact:hover .header-contact-card,
  .nav-contact:focus-within .header-contact-card {
    transform: translate(0, 0);
  }

  .transit-layout {
    grid-template-columns: 1fr 1fr;
  }

  .room-card {
    grid-template-columns: 1fr;
  }

  .room-copy {
    position: static;
  }

  .route-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .notice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-cta {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-media img {
    object-position: center 54%;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(10, 12, 9, 0.72), rgba(10, 12, 9, 0.26)),
      linear-gradient(90deg, rgba(10, 12, 9, 0.44), rgba(10, 12, 9, 0.08));
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    padding: 130px 0 72px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 32px, 1180px);
  }

  .section-heading {
    display: block;
  }

  .booking-fields,
  .transit-layout,
  .location-summary,
  .route-grid,
  .notice-grid {
    grid-template-columns: 1fr;
  }

  .room-booking-form input,
  .room-booking-form select {
    height: 50px;
  }

  .room-booking-head {
    display: block;
  }

  .room-booking-head p {
    max-width: none;
    margin-top: 6px;
    text-align: left;
  }

  .room-gallery {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .thumb-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .room-main-photo {
    aspect-ratio: 4 / 3;
  }

  .thumb-row img {
    aspect-ratio: 1 / 0.76;
  }

  .room-title-row {
    display: block;
  }

  .room-title-row strong {
    display: block;
    margin-top: 10px;
  }

}
