:root {
  --color-bg: #fffdf5;
  --color-text: #1f1f1f;
  --color-muted: #62605a;
  --color-accent: #fef663;
  --color-focus: #7a6f00;
  --space-page: clamp(20px, 5.3vw, 32px);
  --space-section: clamp(56px, 15vw, 112px);
  --font-hand: "HanziPen SC", "Yuppy SC", "Kaiti SC", "STKaiti", "KaiTi", "Comic Sans MS", cursive, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 16px;
  --line-body: 1.9;
  --max-page: 1120px;
  --max-copy: 760px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-hand);
  font-size: var(--font-body);
  line-height: var(--line-body);
  background: var(--color-bg);
}

button,
a {
  font: inherit;
}

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

a:hover {
  text-decoration-color: var(--color-accent);
}

.page-shell {
  width: min(100%, var(--max-page));
  margin: 0 auto;
  padding: 22px var(--space-page) 30px;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  max-width: 210px;
  color: var(--color-text);
  text-decoration: none;
}

.brand__zh {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.brand__en {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.4;
}

.header-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.booking-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(31, 31, 31, 0.16);
  border-radius: 999px;
  padding: 8px 15px;
  color: var(--color-text);
  background: transparent;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.booking-link:hover,
.booking-link:focus-visible {
  border-color: var(--color-accent);
  background: var(--color-accent);
  text-decoration: none;
}

.booking-link:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
  padding-top: 1px;
}

.language-switch__button {
  min-height: 38px;
  min-width: 54px;
  border: 1px solid rgba(31, 31, 31, 0.16);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--color-text);
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.language-switch__button:hover,
.language-switch__button:focus-visible {
  border-color: rgba(31, 31, 31, 0.35);
}

.language-switch__button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.language-switch__button.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.hero {
  display: grid;
  gap: 26px;
  padding: 40px 0 var(--space-section);
}

.hero__content {
  max-width: var(--max-copy);
}

.hero__title {
  max-width: 10em;
  margin: 0;
  font-size: clamp(30px, 8.2vw, 34px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero__subtitle {
  max-width: 26em;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.65;
}

.hand-line {
  display: block;
  width: 92px;
  height: 9px;
  margin-top: 22px;
  border-bottom: 6px solid var(--color-accent);
  border-radius: 48% 52% 52% 48%;
  transform: rotate(-2deg);
}

.intro,
.contact {
  padding-bottom: var(--space-section);
}

.section-title {
  max-width: var(--max-copy);
  margin: 0 0 24px;
  font-size: clamp(20px, 5.6vw, 28px);
  font-weight: 600;
  line-height: 1.35;
}

.intro__body {
  max-width: var(--max-copy);
  font-size: clamp(16px, 4.35vw, 17px);
  line-height: var(--line-body);
}

.intro__body p {
  margin: 0 0 24px;
}

.intro__body p:last-child {
  margin-bottom: 0;
}

.contact {
  border-top: 1px solid rgba(31, 31, 31, 0.13);
  padding-top: 36px;
}

.contact__list {
  display: grid;
  gap: 13px;
  max-width: var(--max-copy);
  margin: 0;
  color: var(--color-text);
  font-style: normal;
  line-height: 1.65;
}

.contact__list span,
.contact__list a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact__list a {
  text-decoration: none;
}

.contact__list a:hover,
.contact__list a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
}

.site-footer {
  padding-top: 8px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 360px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .language-switch {
    justify-content: flex-start;
  }

  .hero__title {
    max-width: 9.5em;
    font-size: clamp(28px, 8vw, 31px);
  }
}

@media (min-width: 768px) {
  :root {
    --space-page: clamp(40px, 6vw, 64px);
    --space-section: 104px;
  }

  .page-shell {
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .site-header {
    align-items: center;
    padding-bottom: 48px;
  }

  .brand {
    max-width: none;
  }

  .brand__zh {
    font-size: 20px;
  }

  .hero {
    gap: 0;
    padding-top: 64px;
  }

  .hero__title {
    max-width: 11em;
    font-size: clamp(40px, 5.4vw, 52px);
    line-height: 1.18;
  }

  .hero__subtitle {
    margin-top: 22px;
    font-size: 16px;
  }

  .hand-line {
    width: 118px;
    margin-top: 28px;
  }

  .contact__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --space-section: 124px;
    --max-copy: 100%;
  }

  .hero__title {
    font-size: clamp(48px, 4.8vw, 56px);
  }

  .intro__body {
    font-size: 17px;
  }
}
