:root {
  --forest: #26352d;
  --forest-deep: #17221c;
  --paper: #f5f1e8;
  --paper-dark: #e9e2d5;
  --white: #fffdf8;
  --rust: #b85f36;
  --gold: #c99a58;
  --muted: #69766d;
  --line: rgba(38, 53, 45, .16);
  --serif: "Noto Serif TC", serif;
  --sans: "Noto Sans TC", sans-serif;
  --latin: "Cormorant Garamond", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: max(5vw, calc((100vw - 1380px) / 2));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--forest);
  font-family: var(--sans);
  line-height: 1.9;
  letter-spacing: .035em;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--rust); color: var(--white); }

.skip-link {
  position: fixed;
  z-index: 2000;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  border-radius: 3rem;
  background: var(--white);
  color: var(--forest);
  padding: .7rem 1.1rem;
}
.skip-link:focus { transform: none; }

.scroll-progress {
  position: fixed;
  z-index: 1200;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  background: var(--rust);
}

/* 頁首 .ml-nav 與頁尾 .ml-footer 樣式已抽離至 css/chrome.css（全站共用單一來源） */

/* Interior hero */
.ml-hero {
  position: relative;
  min-height: clamp(520px, 72vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--white);
}
.ml-hero__image,
.ml-hero__veil { position: absolute; inset: 0; }
.ml-hero__image { background-position: center; background-size: cover; transform: scale(1.015); }
.ml-hero__veil {
  background:
    linear-gradient(180deg, rgba(13, 21, 17, .26), rgba(13, 21, 17, .78)),
    linear-gradient(90deg, rgba(13, 21, 17, .46), transparent 72%);
}
.ml-hero__inner {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  padding: 8.5rem var(--gutter) clamp(4rem, 8vw, 7rem);
}
.ml-crumb {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 253, 248, .68);
  font-family: var(--latin);
  font-size: .8rem;
  letter-spacing: .24em;
}
.ml-crumb a:hover { color: var(--white); }
.ml-kicker {
  margin-bottom: .8rem;
  color: var(--gold);
  font-family: var(--latin);
  font-size: .95rem;
  font-style: italic;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.ml-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.12;
}
.ml-hero h1 small {
  display: block;
  margin-top: .65rem;
  font-family: var(--latin);
  font-size: .23em;
  font-style: italic;
  font-weight: 600;
  letter-spacing: .32em;
}
.ml-hero__lead { max-width: 64ch; margin-top: 1.35rem; color: rgba(255, 253, 248, .85); font-size: 1rem; }

/* Shared content */
.ml-section { padding: clamp(4.5rem, 8vw, 7.5rem) var(--gutter); }
.ml-section--white { background: var(--white); }
.ml-section--dim { background: var(--paper-dark); }
.ml-section--dark { background: var(--forest); color: var(--white); }
.ml-heading { max-width: 880px; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.ml-heading__eyebrow {
  display: block;
  margin-bottom: .6rem;
  color: var(--rust);
  font-family: var(--latin);
  font-size: .9rem;
  font-style: italic;
  letter-spacing: .27em;
}
.ml-heading h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.3;
  letter-spacing: .1em;
}
.ml-heading p { max-width: 66ch; margin-top: 1rem; color: var(--muted); }
.ml-section--dark .ml-heading p { color: rgba(255, 253, 248, .72); }
.ml-prose { max-width: 74ch; }
.ml-prose p { color: #445048; }
.ml-prose p + p { margin-top: 1.25rem; }
.ml-prose .lede {
  margin-bottom: 1.5rem;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.7vw, 1.8rem);
  font-weight: 700;
  line-height: 1.9;
}
.ml-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.ml-split__image img { width: 100%; min-height: 420px; object-fit: cover; border-radius: 1.25rem; box-shadow: 0 26px 70px rgba(23, 34, 28, .18); }
.ml-quote {
  margin: 0;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  background: var(--forest);
  color: var(--white);
  text-align: center;
}
.ml-quote p { max-width: 31ch; margin: auto; font-family: var(--serif); font-size: clamp(1.55rem, 4vw, 3rem); line-height: 1.8; letter-spacing: .08em; }
.ml-quote cite { display: block; margin-top: 1.25rem; color: var(--gold); font-family: var(--latin); font-size: .9rem; letter-spacing: .15em; }

/* Partner page */
.partner-story { max-width: 84ch; margin: 0 auto; }
.partner-story p { color: #445048; }
.partner-story p + p { margin-top: 1.25rem; }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.partner-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--white);
  padding: 1.25rem;
}
.partner-card img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.partner-card h3 { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .08em; }
.partner-card h3 small { display: block; margin-top: .2rem; color: var(--rust); font-family: var(--latin); font-size: .63em; font-style: italic; letter-spacing: .16em; }
.partner-card p { margin-top: .7rem; color: #566159; font-size: .9rem; line-height: 1.8; }

/* Room index */
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.3rem); }
.room-card { overflow: hidden; border-radius: 1.25rem; background: var(--white); box-shadow: 0 16px 42px rgba(23, 34, 28, .09); }
.room-card__media { overflow: hidden; }
.room-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .75s var(--ease); }
.room-card:hover .room-card__media img { transform: scale(1.045); }
.room-card__body { padding: 1.7rem 1.7rem 1.9rem; }
.room-card__type { color: var(--rust); font-family: var(--latin); font-style: italic; letter-spacing: .2em; }
.room-card h2 { margin-top: .25rem; font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: .08em; }
.room-card p { margin-top: .75rem; color: #58635b; font-size: .92rem; }
.room-card__price { display: block; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-family: var(--serif); font-weight: 700; }
.room-card__link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; color: var(--rust); font-size: .86rem; font-weight: 700; letter-spacing: .12em; }
.room-card__link::after { content: "→"; transition: transform .25s; }
.room-card__link:hover::after { transform: translateX(5px); }

/* Room details */
.room-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.room-copy h2 { font-family: var(--latin); font-size: clamp(2.1rem, 5vw, 4rem); font-style: italic; font-weight: 600; line-height: 1; letter-spacing: .035em; }
.room-copy > p { margin-top: 1.5rem; color: #445048; }
.room-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; border-block: 1px solid var(--line); }
.room-specs div { padding: 1.2rem .7rem; border-right: 1px solid var(--line); }
.room-specs div:last-child { border-right: 0; }
.room-specs dt { color: var(--muted); font-size: .76rem; letter-spacing: .1em; }
.room-specs dd { margin-top: .15rem; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.room-lines { margin-top: 1.8rem; list-style: none; }
.room-lines li { position: relative; padding: .48rem 0 .48rem 1.15rem; color: #4b574f; font-size: .92rem; }
.room-lines li::before { position: absolute; top: 1.17rem; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--rust); content: ""; }
.room-facts { border-radius: 1.2rem; background: var(--forest); color: var(--white); padding: clamp(1.8rem, 4vw, 2.7rem); }
.room-facts h3 { color: var(--gold); font-family: var(--serif); font-size: 1.25rem; letter-spacing: .12em; }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 1rem; margin-top: 1.35rem; list-style: none; }
.amenities li { position: relative; padding-left: 1.1rem; color: rgba(255, 253, 248, .8); font-size: .86rem; }
.amenities li::before { position: absolute; top: .72rem; left: 0; width: 5px; height: 5px; border: 1px solid var(--gold); border-radius: 50%; content: ""; }
.room-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 250px; gap: 1rem; }
.room-gallery figure { overflow: hidden; border-radius: 1rem; background: var(--paper-dark); }
.room-gallery figure:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.room-gallery figure:nth-child(2) { grid-column: span 5; }
.room-gallery figure:nth-child(3) { grid-column: span 5; }
.room-gallery figure:nth-child(4), .room-gallery figure:nth-child(5) { grid-column: span 6; }
.room-gallery--four figure:nth-child(4) { grid-column: span 12; }
.room-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.room-gallery figure:hover img { transform: scale(1.035); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price-card { border: 1px solid rgba(255, 253, 248, .17); border-radius: 1rem; padding: 1.6rem; background: rgba(255, 253, 248, .05); }
.price-card span { display: block; color: rgba(255, 253, 248, .62); font-size: .8rem; letter-spacing: .16em; }
.price-card b { display: block; margin-top: .3rem; color: var(--gold); font-family: var(--latin); font-size: clamp(1.8rem, 3.5vw, 2.5rem); }

/* Ambience gallery */
.ambience-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.4rem, 6vw, 6rem); align-items: start; }
.ambience-intro .ml-prose { max-width: none; }
.ambience-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.ambience-gallery figure { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: .9rem; background: var(--paper-dark); }
.ambience-gallery figure:nth-child(1), .ambience-gallery figure:nth-child(12) { grid-column: span 2; grid-row: span 2; }
.ambience-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease), filter .65s; }
.ambience-gallery figure:hover img { transform: scale(1.04); filter: saturate(1.05); }

/* CTA and footer */
.ml-cta { padding: clamp(4rem, 8vw, 6rem) var(--gutter); background: var(--rust); color: var(--white); text-align: center; }
.ml-cta h2 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.2rem); letter-spacing: .1em; }
.ml-cta p { max-width: 55ch; margin: .8rem auto 1.7rem; color: rgba(255, 253, 248, .8); }
.ml-cta__phone { display: inline-block; border: 1px solid rgba(255, 253, 248, .65); border-radius: 99px; padding: .75rem 1.5rem; font-family: var(--latin); font-size: 1.35rem; font-weight: 600; letter-spacing: .08em; }
.ml-cta__phone:hover { background: var(--white); color: var(--rust); }

.reveal { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .partner-grid { grid-template-columns: 1fr; }
  .room-intro { grid-template-columns: 1fr; }
  .room-facts { max-width: 700px; }
}

@media (max-width: 860px) {
  .ml-split, .ambience-intro { grid-template-columns: 1fr; }
  .ml-split__image { order: -1; }
  .room-grid { grid-template-columns: 1fr; }
  .room-gallery { grid-auto-rows: 200px; }
  .ambience-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  :root { --gutter: 1.25rem; }
  .ml-hero { min-height: 560px; }
  .ml-hero__inner { padding-top: 7rem; }
  .ml-hero h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .partner-card { grid-template-columns: 88px 1fr; gap: 1rem; }
  .partner-card img { width: 88px; height: 88px; }
  .partner-card p { grid-column: 1 / -1; margin-top: 0; }
  .room-specs { grid-template-columns: 1fr; }
  .room-specs div { border-right: 0; border-bottom: 1px solid var(--line); }
  .room-specs div:last-child { border-bottom: 0; }
  .amenities { grid-template-columns: 1fr; }
  .room-gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .room-gallery figure:nth-child(n) { grid-column: auto; grid-row: auto; }
  .room-gallery--four figure:nth-child(4) { grid-column: auto; }
  .price-grid { grid-template-columns: 1fr; }
  .ambience-gallery { grid-template-columns: repeat(2, 1fr); gap: .55rem; }
  .ambience-gallery figure:nth-child(1), .ambience-gallery figure:nth-child(12) { grid-column: span 2; grid-row: span 2; }
}
