@font-face {
  font-family: 'Mu Light Serif TC';
  src: url('/assets/home-noto-serif-tc.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Mu Light Title Serif';
  src: url('/assets/home-noto-serif-tc-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

header .home-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  line-height: 1.45;
}

header:has(.home-brand) .header-book-now {
  padding-inline: 10px;
  white-space: nowrap;
  border-radius: 999px;
  background-color: #fffaf5;
  border-color: #d8c9ba;
}

.home-brand-mark {
  width: 39px;
  height: 39px;
  border-radius: 50%;
}

.home-landing {
  --home-width: 1080px;
  --home-gutter: clamp(22px, 6vw, 80px);
  --home-heading-font: 'Mu Light Serif TC', 'Noto Serif TC', 'Songti TC', PMingLiU, MingLiU, Georgia, serif;
}

.home-landing-hero-copy,
.home-landing-content {
  width: min(var(--home-width), calc(100% - 2 * var(--home-gutter)));
  margin-inline: auto;
}

.home-landing-content {
  padding-block: 34px 36px;
}

.home-landing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(450px, 39vw, 595px);
  background: #eee2d3;
}

.home-landing-hero::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: -18px;
  background: url('/assets/home-portrait-640.webp') center bottom / cover no-repeat;
  opacity: 0.44;
  filter: blur(14px);
}

.home-landing-hero-copy {
  padding-block: 48px;
}

.home-landing-hero-text {
  width: min(52%, 560px);
}

.home-landing-location {
  margin: 0 0 clamp(12px, 1.5vw, 22px);
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.65;
  letter-spacing: 0.08em;
  color: #765745;
}

.home-landing h1 {
  margin: 0;
  color: #3e291d;
  font: 700 clamp(36px, 4.35vw, 66px)/1.24 'Mu Light Title Serif', var(--home-heading-font);
  letter-spacing: 0.035em;
}

.home-landing h1 span {
  display: block;
}

.home-landing h1 span + span {
  margin-top: 0.04em;
  color: #704e36;
}

.home-landing-tagline {
  margin: 9px 0 0;
  color: #765442;
  font: italic 400 clamp(20px, 1.95vw, 30px)/1.35 'Palatino Linotype', Georgia, serif;
  letter-spacing: 0.02em;
}

.home-landing-intro {
  margin: 16px 0 0;
  max-width: 27em;
  color: #684f3e;
  font-size: 15px;
  line-height: 1.95;
}

.home-landing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 23px;
}

.home-landing-actions .btn {
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid #584032;
  border-radius: 999px;
  background: #584032;
  color: #fffaf5;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.home-landing-actions .btn.light {
  background-color: #fffaf5;
  border-color: #c8b7a5;
  color: #584032;
}

.home-landing-actions .btn.home-brow-action {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 10px 20px;
  border-color: #783d50;
  background-color: #783d50;
  color: #fffaf5;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.home-brow-action small {
  color: #f8e5e9;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

.home-landing-actions .btn:active {
  background-color: #3e2b20;
}

.home-landing-actions .btn.light:active {
  background-color: #ebdfd2;
}

.home-landing-actions .btn.home-brow-action:active {
  background-color: #5b2a3b;
}

.home-landing-portrait {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  display: block;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  mask-image: linear-gradient(to right, transparent, #000 28%);
}

.home-landing-details {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 5.6vw, 86px);
}

.home-landing h2 {
  margin: 0;
  font-family: var(--home-heading-font);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.home-landing-works-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.home-landing-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #6d503d;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.home-landing-works-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 8fr);
  gap: clamp(10px, 1.6vw, 20px);
}

.home-landing-work {
  display: grid;
  gap: 0;
  font-size: 14px;
}

.home-landing-work-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #f0e7dc;
}

.home-landing-work-title {
  display: flex;
  align-items: center;
  min-height: 43px;
  border-bottom: 1px solid var(--line);
  color: #604939;
  letter-spacing: 0.07em;
}

.home-landing-work:hover .home-landing-work-title {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-landing-review {
  margin-top: 53px;
  padding: 20px 23px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffaf5;
}

.home-landing-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 9px;
  margin: 8px 0;
  font-size: 13px;
}

.home-landing-rating strong {
  font-size: 20px;
  font-weight: 500;
}

.home-landing-stars {
  color: #956334;
  letter-spacing: 0.14em;
}

.home-landing-review blockquote {
  margin: 10px 0 0;
  color: #725e50;
  font-size: 14px;
}

.home-landing-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 23px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.home-landing nav.home-landing-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 15px;
  border: 1px solid #d9c9b9;
  border-radius: 999px;
  background-color: #fffaf5;
  color: #654b3a;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.home-landing nav.home-landing-links a:active {
  background-color: #ebdfd2;
}

.home-landing :is(.home-landing-actions, .home-landing-links) a:focus-visible {
  outline: 2px solid #9b6c4b;
  outline-offset: 3px;
}

@media (hover: hover) {
  .home-landing-actions .btn:hover {
    background-color: #694e3d;
  }

  .home-landing-actions .btn.light:hover,
  .home-landing nav.home-landing-links a:hover {
    background-color: #f1e6db;
    border-color: #bda48d;
  }

  .home-landing-actions .btn.home-brow-action:hover:not(:active) {
    border-color: #683344;
    background-color: #683344;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-landing-actions .btn {
    transition: none;
  }
}

.home-landing-campaign:empty {
  display: none;
}

#news [data-news-showcase]:not(:empty) {
  margin-bottom: 26px;
}

@media (min-width: 761px) and (max-width: 1024px) {
  .home-landing-details {
    grid-template-columns: minmax(0, 1.25fr) minmax(245px, 1fr);
    gap: clamp(20px, 3.6vw, 34px);
  }
}

.home-footer-support {
  display: contents;
}

.home-footer-support > #mu-help {
  margin: 0;
  padding: 0;
  border: 0;
}

.home-footer-support:has(> #mu-help[open]) > #mu-booking-access {
  display: none;
}

@media (max-width: 760px) {
  .home-footer-support {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-height: 44px;
    margin-block: -9px;
  }

  .home-footer-support > #mu-booking-access,
  .home-footer-support > #mu-help > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    padding: 7px 10px;
    font-size: 13px;
    text-align: center;
  }

  .home-footer-support > #mu-booking-access {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(142px + env(safe-area-inset-bottom, 0px));
  }

  .home-footer-support > #mu-help {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  body.home-footer-in-view #mu-mobile-social {
    display: none;
  }

  body.home-footer-in-view .home-footer-support > :is(#mu-booking-access, #mu-help) {
    position: static;
  }

  body.home-footer-in-view .home-footer-support:has(> #mu-help[open]) {
    grid-template-columns: minmax(0, 1fr);
  }

  body.home-footer-in-view .home-footer-support > #mu-help > section {
    width: 100%;
    max-height: none;
    margin-top: 8px;
  }

  .home-brand-mark {
    width: 31px;
    height: 31px;
  }

  header .home-brand {
    gap: 6px;
  }

  .home-landing-content {
    padding-block: 22px 24px;
  }

  .home-landing-hero {
    min-height: 0;
    background: #f3e9df;
  }

  .home-landing-hero::before {
    content: none;
  }

  .home-landing-hero-copy {
    padding-block: 24px 27px;
  }

  .home-landing-hero-text {
    width: 100%;
  }

  .home-landing h1 {
    font-size: clamp(34px, 8.3vw, 49px);
  }

  .home-landing-location {
    margin-bottom: 8px;
  }

  .home-landing-intro {
    margin-top: 12px;
    font-size: 14px;
  }

  .home-landing-actions {
    gap: 7px;
    margin-top: 14px;
  }

  .home-landing-actions .btn {
    padding-inline: 10px;
  }

  .home-landing-portrait {
    position: static;
    width: 100%;
    height: clamp(227px, 71vw, 365px);
    object-position: center 37%;
    mask-image: none;
  }

  .home-landing-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .home-landing h2 {
    font-size: 20px;
  }

  .home-landing-review {
    margin-top: 0;
    padding-block: 13px 6px;
  }

  .home-landing-links {
    margin-top: 14px;
    gap: 6px;
  }

  .home-landing nav.home-landing-links a {
    padding-inline: 10px;
  }
}

@media (max-width: 360px) {
  .home-landing-actions .btn {
    padding-inline: 6px;
    font-size: 12px;
    letter-spacing: 0;
  }

}
