:root {
  color-scheme: light;
  --ink: #292720;
  --paper: #faf7f0;
  --white: #fff;
  --muted: #554d42;
  --line: #ded5c8;
  --accent: #9c4021;
  --accent-hover: #793019;
  --radius: 18px;
  --gutter: clamp(16px, 3.2vw, 46px);
  --section: clamp(44px, 6.4vw, 94px);
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), 1220px); margin-inline: auto; }

.skip {
  position: absolute; z-index: 2; inset-inline-start: 12px; inset-block-start: 12px;
  padding: 10px 14px; border-radius: 8px; background: var(--white); transform: translateY(-160%);
}
.skip:focus { transform: none; }

.top { position: sticky; top: 0; z-index: 3; background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.top-row { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 6px; align-items: baseline; font-size: 22px; font-weight: 720; white-space: nowrap; text-decoration: none; letter-spacing: -.04em; }
.brand span { color: var(--accent); }
.brand img { width: 118px; height: 48px; object-fit: contain; filter: brightness(0); }
.jump, .languages { display: flex; align-items: center; gap: 6px; }
.jump a, .languages a {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  padding-inline: 10px; border-radius: 8px; color: var(--muted); font-size: 14px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
}
.languages { gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; }
.languages a { padding-inline: 8px; font-size: 13px; }
.languages [aria-current], .jump a:hover, .languages a:hover { background: #f3e9dd; color: var(--ink); }
.jump [aria-current] { color: var(--accent); }
.mobile-nav { display: none; }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); align-items: center; gap: clamp(20px, 5vw, 72px); padding-block: clamp(28px, 5vw, 64px); }
.location { margin-bottom: 16px; color: var(--accent); font-size: 14px; font-weight: 670; }
h1 { font-size: clamp(36px, 5vw, 68px); font-weight: 720; letter-spacing: -.055em; text-wrap: balance; }
h1 span { display: block; }
.intro { max-width: 43ch; margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.features { display: flex; flex-wrap: wrap; gap: 8px 19px; margin: 22px 0; padding: 0; list-style: none; }
.features li { position: relative; padding-inline-start: 14px; color: var(--muted); font-size: 14px; font-weight: 620; }
.features li::before { content: ''; position: absolute; inset-inline-start: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero-media { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(8px, 1.2vw, 18px); min-height: clamp(290px, 30vw, 430px); }
.hero-media figure { position: relative; overflow: hidden; border-radius: clamp(12px, 1.9vw, 22px); background: #e4d8c9; }
.hero-media img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 60%; }

.button {
  display: inline-flex; min-height: 48px; gap: 10px; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; padding: 11px 16px; text-decoration: none;
  background: var(--accent); color: var(--white); font-weight: 680; cursor: pointer;
}
.button:hover { background: var(--accent-hover); }
.button:disabled { opacity: .72; cursor: progress; }
.hero-actions, .quote-help { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.call-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 650; text-underline-offset: 4px; }

.dates { margin-top: clamp(20px, 3.4vw, 43px); scroll-margin-top: 90px; }
.date-card { padding: clamp(18px, 3.4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 38px #1a26300a; }
.date-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 28px; margin-bottom: 20px; }
h2 { font-size: clamp(27px, 4vw, 48px); letter-spacing: -.045em; text-wrap: balance; }
.date-intro h2 { font-size: clamp(24px, 3.3vw, 38px); }
.date-intro p, .section-heading p, .stay-grid p, .contact p { color: var(--muted); }
.date-intro p { max-width: 47ch; }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)) minmax(85px, .55fr) auto; align-items: end; gap: 10px; }
.quote-form label { display: grid; min-width: 0; gap: 5px; color: var(--ink); font-size: 14px; font-weight: 650; }
.quote-form input, .quote-form select { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #8795a4; border-radius: 9px; background: var(--white); color: var(--ink); padding: 8px 10px; font-size: 16px; font-weight: 500; }
.quote-button { white-space: nowrap; }
.rules { margin-top: 12px; color: var(--muted); font-size: 14px; }
.quote-result { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.quote-result > p { font-weight: 660; }
.quote-result .rules { margin-top: 0; }
.quote-result details { margin-top: 12px; }
.quote-result summary { display: inline-flex; min-height: 46px; align-items: center; padding: 8px 14px; border: 1px solid var(--accent); border-radius: 9px; color: var(--accent); font-weight: 650; cursor: pointer; }
.quote-result summary::-webkit-details-marker { display: none; }
.request-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; margin-top: 15px; }
.request-form label { display: grid; gap: 5px; font-size: 15px; }
.request-form :is(input:not([type='checkbox']), textarea) { width: 100%; min-height: 44px; border: 1px solid #8795a4; border-radius: 9px; padding: 8px 10px; font: inherit; }
.request-form textarea { resize: vertical; }
.request-wide { grid-column: 1 / -1; }
.request-form .request-consent { display: flex; min-height: 44px; gap: 9px; align-items: flex-start; }
.request-consent input { margin-top: 4px; }
.request-form button { justify-self: start; }
.request-form p { align-self: center; color: var(--muted); }
.text-link { display: inline-flex; gap: 5px; min-height: 44px; align-items: center; color: var(--accent); text-underline-offset: 3px; font-weight: 650; }
.text-link:hover { color: var(--accent); }

.section { padding-block: var(--section); }
.guest-scenarios { margin-top: clamp(32px, 5vw, 62px); }
.guest-card-media > img { position: absolute; inset: 0; height: 100%; }
.guest-card-grid--photos .text-link { margin-top: 10px; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(20px, 3vw, 36px); }
.section-heading p { max-width: 47ch; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.gallery img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: #e2ded5; }
.gallery figcaption { padding-top: 9px; line-height: 1.35; color: #313d49; font-size: 15px; font-weight: 660; }
.gallery-controls { display: none; }

.stay { background: #f0ebe2; }
.stay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 30px; }
.stay-grid div { border-top: 1px solid #9dabb9; padding-top: 15px; }
.stay-grid h3 { margin-bottom: 8px; font-size: 20px; }
.stay-grid p { max-width: 46ch; }
.contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.contact h2 { margin-bottom: 9px; }
.contact address { display: grid; align-content: start; font-style: normal; font-size: clamp(18px, 2.4vw, 26px); font-weight: 620; }
.contact address a { display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; text-underline-offset: 5px; }
.footer { border-top: 1px solid var(--line); background: #272b24; color: #f9f4e9; }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 24px; padding-block: clamp(28px, 5vw, 66px); }
.footer-main img { width: 118px; height: 48px; object-fit: contain; margin-bottom: 12px; }
.footer-main nav, .footer-main address { display: grid; align-content: start; font-style: normal; }
.footer-main a { display: flex; align-items: center; min-height: 44px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.footer-main .footer-book { display: inline-flex; margin-top: 12px; padding: 7px 14px; border-radius: 9px; background: #f9f4e9; color: #272b24; font-weight: 650; text-decoration: none; }
.footer-main .footer-book:hover { background: #f0e2cc; }
.footer-row { display: flex; min-height: 66px; justify-content: space-between; align-items: center; gap: 14px; font-size: 14px; }
.footer-row { border-top: 1px solid #ffffff31; }
.footer-row a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-row nav { display: flex; flex-wrap: wrap; column-gap: 14px; }
.floating-booking {
  position: fixed;
  inset: auto max(var(--gutter), env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) auto;
  z-index: 2;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 14px;
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 6px 20px #2f170a38;
}
.floating-booking:hover { background: var(--accent-hover); }
body:has(.floating-booking) > .footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
html:has(.floating-booking) { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.article { max-width: 850px; }
.article section + section { margin-top: 31px; }
.article h2 { font-size: clamp(24px, 3.2vw, 36px); }
.article section p { margin-top: 8px; max-width: 65ch; color: var(--muted); }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.article section + .related { margin-top: 26px; }
.related a { display: flex; min-height: 64px; gap: 10px; align-items: center; justify-content: space-between; padding: 11px 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); font-weight: 640; text-decoration: none; }
.related a:hover { color: var(--accent); border-color: var(--accent); }

html[lang='zh-Hans'] { font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', system-ui, sans-serif; }
html[lang='zh-Hans'] :is(h1, h2) { letter-spacing: -.025em; }

.photo-viewer {
  max-width: min(94vw, 1000px);
  max-height: 94svh;
  padding: clamp(10px, 2vw, 20px);
  border: 0;
  border-radius: 17px;
  background: #272b24;
  color: white;
}
.photo-viewer::backdrop { background: #20231ded; }
.photo-viewer img { width: auto; max-width: 100%; max-height: 72svh; object-fit: contain; margin-inline: auto; }
.photo-viewer form, .photo-viewer nav { display: flex; justify-content: flex-end; gap: 8px; }
.photo-viewer button { min-width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: white; color: #272b24; cursor: pointer; }
.photo-viewer nav { justify-content: center; margin-top: 8px; }

@media (max-width: 960px) {
  .jump { display: none; }
  .top-row { justify-content: start; gap: 12px; }
  .languages { margin-left: auto; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 15px; height: 2px; background: var(--ink); box-shadow: 0 5px var(--ink), 0 -5px var(--ink); }
  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(280px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 12px 32px #35270e22;
  }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 44px; padding: 4px 10px; text-decoration: none; }
  .mobile-nav nav a:hover, .mobile-nav nav [aria-current] { background: #f3e9dd; }
}

@media (max-width: 840px) {
  .hero-media { min-height: 260px; }
  .quote-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
}

@media (max-width: 760px) {
  .gallery-scroll {
    position: relative;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(75vw, 340px);
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #9f7d67 #e9decf;
  }
  .gallery-scroll figure { scroll-snap-align: start; }
  .gallery-scroll img { aspect-ratio: 5 / 4; }
  .gallery-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
  .gallery-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid #b79a83;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .gallery-controls button:hover { background: #eadccd; }
}

@media (max-width: 600px) {
  .top-row { min-height: 65px; gap: 8px; }
  .brand img { width: clamp(76px, 25vw, 104px); }
  .languages a { padding-inline: 6px; }
  .hero-inner { grid-template-columns: 1fr; }
  .location { margin-bottom: 12px; }
  .intro { margin-top: 14px; }
  .features { gap: 7px 13px; margin-block: 15px; }
  .hero-media { min-height: clamp(164px, 48vw, 240px); }
  .stay-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  .related, .request-form { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-row { display: block; padding-block: 10px; }
}

@media (max-width: 350px) {
  .top-row { flex-wrap: wrap; row-gap: 0; padding-block: 7px; }
  .quote-form { grid-template-columns: 1fr; }
}
