/* ============================================
   璞御 SPA — The Art of Stillness
   高端東方禪意 · 深墨綠 × 暖金
   ============================================ */

/* ——— Reset & Base ——— */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette — deep emerald × warm gold */
  --bg-1: #0a1511;
  --bg-2: #0f1c17;
  --bg-3: #14241e;
  --bg-card: #182a23;
  --bg-card-hover: #1e332b;

  --gold: #c9a961;
  --gold-light: #e4c97f;
  --gold-dark: #8a6f3a;

  --cream: #f4ead5;
  --cream-muted: #d4c9ac;
  --muted: #9c8f6c;
  --line: rgba(201, 169, 97, 0.18);
  --line-strong: rgba(201, 169, 97, 0.35);

  /* Fonts */
  --font-serif-cn: "Noto Serif TC", "Source Han Serif TC", serif;
  --font-sans-cn: "Noto Sans TC", sans-serif;
  --font-serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans-en: "Manrope", sans-serif;

  /* Rhythm */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 10vw, 160px);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-1);
  color: var(--cream);
  font-family: var(--font-sans-cn);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* Grain overlay for texture */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ——— Typography helpers ——— */
.italic {
  font-family: var(--font-serif-cn);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition:
    background 0.45s ease,
    padding 0.35s ease,
    border-color 0.45s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 21, 17, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-serif-cn);
}

.nav__brand-cn {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--cream);
}

.nav__brand-en {
  font-family: var(--font-serif-en);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 38px;
  font-size: 13px;
  letter-spacing: 0.25em;
  font-weight: 300;
}

/* Drawer 專用元素 — 桌面隱藏,中間 list 用 display:contents 讓 a 直接成為 flex item */
.nav__drawer-brand,
.nav__drawer-cta {
  display: none;
}
.nav__drawer-list {
  display: contents;
}

.nav__links a {
  color: var(--cream-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition:
    width 0.35s ease,
    left 0.35s ease;
}

.nav__links a:hover {
  color: var(--gold-light);
}

.nav__links a:hover::after {
  width: 100%;
  left: 0;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--bg-1);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid var(--gold);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  font-weight: 500;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(201, 169, 97, 0.6);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px 6px;
  background: transparent;
  border: none;
  justify-content: center;
  align-items: flex-end;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  height: 1px;
  background: var(--gold);
  transition:
    transform 0.3s ease,
    width 0.3s ease,
    opacity 0.3s ease;
}

.nav__burger span:nth-child(1) {
  width: 22px;
}
.nav__burger span:nth-child(2) {
  width: 28px;
}
.nav__burger span:nth-child(3) {
  width: 18px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 42px;
  font-size: 13px;
  letter-spacing: 0.4em;
  font-weight: 500;
  font-family: var(--font-sans-cn);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn--gold {
  background: linear-gradient(
    135deg,
    var(--gold-light) 0%,
    var(--gold) 50%,
    var(--gold-dark) 100%
  );
  color: var(--bg-1);
  border-color: var(--gold);
}

.btn--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn--gold span {
  position: relative;
  z-index: 1;
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(201, 169, 97, 0.7);
  letter-spacing: 0.5em;
}

.btn--gold:hover::before {
  opacity: 1;
}

.btn--ghost {
  color: var(--cream);
  border-color: var(--line-strong);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  letter-spacing: 0.5em;
}

.btn .arrow {
  transition: transform 0.4s ease;
  font-family: var(--font-sans-en);
}

.btn:hover .arrow {
  transform: translateX(6px);
}

.btn--full {
  width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--gutter) 100px;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.9) saturate(0.95);
  transform: scale(1.05);
  animation: heroZoom 14s ease-in-out infinite alternate;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 30%,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.25) 80%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.35) 70%,
      var(--bg-1) 100%
    );
}

.hero__bg-mist {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 40% at 30% 80%,
      rgba(201, 169, 97, 0.08),
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 30% at 80% 20%,
      rgba(228, 201, 127, 0.06),
      transparent 50%
    );
  animation: mistFloat 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.15);
  }
}

@keyframes mistFloat {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-2%, -1%);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 50px;
  font-family: var(--font-serif-en);
  font-size: 11px;
  letter-spacing: 0.6em;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 1.2s ease 0.2s forwards;
}

.hero__eyebrow .line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-bottom: 44px;
}

.hero__title-cn {
  font-family: var(--font-serif-cn);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 400;
  letter-spacing: 0.25em;
  line-height: 1;
  color: var(--cream);
  text-shadow:
    0 2px 30px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeUp 1.4s ease 0.5s forwards;
  padding-left: 0.25em;
}

.hero__title-en {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  animation: fadeUp 1.4s ease 0.9s forwards;
}

.hero__sub {
  font-family: var(--font-serif-cn);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 300;
  letter-spacing: 0.25em;
  line-height: 2.2;
  color: var(--cream-muted);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.8);
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeUp 1.4s ease 1.2s forwards;
}

.hero__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.4s ease 1.5s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif-en);
  font-size: 10px;
  letter-spacing: 0.6em;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 1s ease 2s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--gold-light);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    top: -30%;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    top: 130%;
    opacity: 0;
  }
}

/* decorative gold corners */
.hero__corner {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 1px solid var(--gold);
  opacity: 0.45;
  z-index: 2;
}

.hero__corner--tl {
  top: 40px;
  left: 40px;
  border-right: 0;
  border-bottom: 0;
}
.hero__corner--tr {
  top: 40px;
  right: 40px;
  border-left: 0;
  border-bottom: 0;
}
.hero__corner--bl {
  bottom: 40px;
  left: 40px;
  border-right: 0;
  border-top: 0;
}
.hero__corner--br {
  bottom: 40px;
  right: 40px;
  border-left: 0;
  border-top: 0;
}

/* ============================================
   SECTION HEAD
   ============================================ */
.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section__head {
  margin-bottom: clamp(50px, 6vw, 80px);
  max-width: 900px;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__kicker {
  display: inline-block;
  font-family: var(--font-serif-en);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 22px;
}

.section__title {
  font-family: var(--font-serif-cn);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.25;
  letter-spacing: 0.12em;
  color: var(--cream);
}

.section__title--sm {
  font-size: clamp(30px, 4vw, 56px);
}

.section__title span {
  display: inline-block;
}

.section__desc {
  font-family: var(--font-serif-cn);
  font-weight: 300;
  font-size: clamp(14px, 1.1vw, 17px);
  letter-spacing: 0.1em;
  color: var(--cream-muted);
  max-width: 620px;
  margin: 24px auto 0;
  line-height: 2;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--bg-1);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--gold));
  opacity: 0.6;
}

.about__img {
  background-image: url("images/about-brand.jpg");
  background-size: cover;
  background-position: center center;
  width: 100%;
  aspect-ratio: 2.36 / 1;
  border-radius: 2px;
  margin-bottom: clamp(40px, 5vw, 80px);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.about__text {
  font-size: 15px;
  line-height: 2.1;
  color: var(--cream-muted);
}

.about__lead {
  font-family: var(--font-serif-cn);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.9;
  letter-spacing: 0.2em;
  color: var(--cream);
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 1px solid var(--gold);
}

.about__text p {
  margin-bottom: 20px;
  font-weight: 300;
}

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  position: relative;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.pillar__img {
  width: 120px;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  flex-shrink: 0;
}

.pillar__body {
  flex: 1;
  min-width: 0;
}

.pillar:last-child {
  border-bottom: 1px solid var(--line);
}

.pillar__num {
  display: block;
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.2em;
}

.pillar h3 {
  font-family: var(--font-serif-cn);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.2em;
  color: var(--cream);
  margin-bottom: 12px;
}

.pillar p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--cream-muted);
  letter-spacing: 0.08em;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--bg-2);
  position: relative;
}

.services::before,
.services::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: var(--gold);
  opacity: 0.5;
}
.services::before {
  top: 0;
  background: linear-gradient(180deg, transparent, var(--gold));
}
.services::after {
  bottom: 0;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--bg-2);
  padding: 48px 36px 40px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  transition:
    background 0.5s ease,
    transform 0.5s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card:hover {
  background: var(--bg-card);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__img {
  margin: -48px -36px 28px;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}

.service-card__img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-2), transparent);
}

.service-card--featured .service-card__img::after {
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.service-card__num {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: 32px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
}

.service-card__tag {
  padding: 4px 14px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 99px;
}

.service-card__tag--gold {
  background: var(--gold);
  color: var(--bg-1);
  border-color: var(--gold);
  font-weight: 500;
}

.service-card__title {
  font-family: var(--font-serif-cn);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.2em;
  color: var(--cream);
  line-height: 1.45;
  margin-bottom: 20px;
  flex-grow: 0;
}

.service-card__desc {
  font-size: 13px;
  line-height: 1.9;
  color: var(--cream-muted);
  letter-spacing: 0.06em;
  margin-bottom: auto;
  padding-bottom: 32px;
}

.service-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.service-card__time {
  font-family: var(--font-serif-en);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--muted);
}

.service-card__price {
  font-family: var(--font-serif-cn);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.service-card--featured {
  background: linear-gradient(155deg, var(--bg-card) 0%, var(--bg-2) 80%);
}

.service-card--featured .service-card__title {
  color: var(--gold-light);
}

/* ============================================
   OILS
   ============================================ */
.oils {
  background: var(--bg-1);
  overflow: hidden;
}

.oils__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
}

.oils__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.oils__image {
  position: absolute;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease;
}

.oils__image--main {
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
  background-image: url("images/oils-main.jpg");
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.oils__image--accent {
  right: 0;
  bottom: 0;
  width: 55%;
  height: 55%;
  background-image: url("images/oils-accent.jpg");
  border: 8px solid var(--bg-1);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.oils__tag {
  position: absolute;
  top: 18%;
  right: -12%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--bg-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-serif-cn);
  z-index: 2;
  box-shadow: 0 20px 40px -15px rgba(201, 169, 97, 0.6);
  animation: floatY 4s ease-in-out infinite alternate;
}

@keyframes floatY {
  from {
    transform: translateY(-6px);
  }
  to {
    transform: translateY(6px);
  }
}

.oils__tag-num {
  font-family: var(--font-serif-en);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 6px;
}

.oils__tag-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1.5;
  font-weight: 500;
}

.oils__lead {
  font-family: var(--font-serif-cn);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 2;
  letter-spacing: 0.15em;
  color: var(--cream-muted);
  margin: 30px 0 40px;
}

.oils__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.oils__list li {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.oils__list li:last-child {
  border-bottom: 1px solid var(--line);
}

.oils__num {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--gold);
  flex-shrink: 0;
  padding-top: 4px;
}

.oils__list h4 {
  font-family: var(--font-serif-cn);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--cream);
  margin-bottom: 8px;
}

.oils__list p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--cream-muted);
  letter-spacing: 0.06em;
}

/* ============================================
   SPACE (Masonry)
   ============================================ */
.space {
  background: var(--bg-2);
}

.space__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 16px;
}

.space__cell {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
}

.space__cell--1 {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}
.space__cell--2 {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}
.space__cell--3 {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}
.space__cell--4 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
.space__cell--5 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.space__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition:
    transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.6s ease;
  filter: brightness(0.75) saturate(0.85);
}

.space__img--1 {
  background-image: url("images/space-1.jpg");
}
.space__img--2 {
  background-image: url("images/space-2.jpg");
}
.space__img--3 {
  background-image: url("images/space-3.jpg");
}
.space__img--4 {
  background-image: url("images/space-4.jpg");
}
.space__img--5 {
  background-image: url("images/space-5.jpg");
}

.space__cell:hover .space__img {
  transform: scale(1.08);
  filter: brightness(0.95) saturate(1);
}

.space__cell figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: linear-gradient(180deg, transparent, rgba(10, 21, 17, 0.85));
  color: var(--cream);
  font-family: var(--font-serif-cn);
  z-index: 2;
  transform: translateY(8px);
  opacity: 0.9;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

.space__cell:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

.space__cell figcaption span {
  font-size: 18px;
  letter-spacing: 0.3em;
  font-weight: 500;
}

.space__cell figcaption small {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* ============================================
   MASTERS
   ============================================ */
.masters {
  background: var(--bg-1);
}

.masters__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.master {
  text-align: center;
  transition: transform 0.5s ease;
}

.master__portrait {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center top;
  margin-bottom: 28px;
  filter: grayscale(0.25) contrast(1.05);
  transition:
    filter 0.6s ease,
    transform 0.6s ease;
  position: relative;
  overflow: hidden;
}

.master__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 21, 17, 0.5));
}

.master:hover .master__portrait {
  filter: grayscale(0) contrast(1.1);
}

.master__portrait--1 {
  background-image: url("images/master-1.jpg");
}
.master__portrait--2 {
  background-image: url("images/master-2.jpg");
}
.master__portrait--3 {
  background-image: url("images/master-3.jpg");
}
.master__portrait--4 {
  background-image: url("images/master-4.jpg");
}

.master__role {
  display: block;
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 10px;
}

.master__name {
  font-family: var(--font-serif-cn);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.4em;
  color: var(--cream);
  margin-bottom: 14px;
}

.master__bio {
  font-size: 13px;
  line-height: 1.9;
  color: var(--cream-muted);
  letter-spacing: 0.06em;
  max-width: 260px;
  margin: 0 auto;
}

/* ============================================
   VOICES
   ============================================ */
.voices {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.voices__bg {
  position: absolute;
  inset: 0;
  background-image: url("images/voices-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}

.voices .container {
  position: relative;
  z-index: 1;
}

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

.voice {
  background: var(--bg-card);
  padding: 56px 36px 40px;
  position: relative;
  border: 1px solid var(--line);
  transition:
    transform 0.5s ease,
    border-color 0.5s ease;
}

.voice:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.voice__quote {
  position: absolute;
  top: 12px;
  left: 28px;
  font-family: var(--font-serif-en);
  font-size: 90px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  font-weight: 300;
}

.voice p {
  font-family: var(--font-serif-cn);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: 32px;
  font-weight: 300;
}

.voice footer {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.voice__stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.3em;
  margin-bottom: 8px;
}

.voice cite {
  font-family: var(--font-serif-cn);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--cream-muted);
}

/* ============================================
   BOOKING
   ============================================ */
.booking {
  background: var(--bg-1);
  position: relative;
}

.booking::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 40% 30% at 10% 20%,
      rgba(201, 169, 97, 0.06),
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 30% at 90% 80%,
      rgba(201, 169, 97, 0.04),
      transparent 60%
    );
  pointer-events: none;
}

.booking__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.booking__desc {
  font-family: var(--font-serif-cn);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.1em;
  color: var(--cream-muted);
  margin: 30px 0 50px;
}

.booking__info {
  display: flex;
  flex-direction: column;
}

.booking__info-row {
  display: flex;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  gap: 30px;
  align-items: baseline;
}

.booking__info-row:last-child {
  border-bottom: 1px solid var(--line);
}

.booking__info-label {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--gold);
  min-width: 80px;
  flex-shrink: 0;
}

.booking__info-value {
  font-family: var(--font-serif-cn);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--cream);
}

.booking__form {
  background: var(--bg-card);
  padding: 48px 40px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.booking__form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking__form label span {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.booking__form input,
.booking__form select,
.booking__form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 14px 2px;
  font-family: var(--font-serif-cn);
  font-size: 16px;
  color: var(--cream);
  letter-spacing: 0.08em;
  transition: border-color 0.3s ease;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
}

.booking__form textarea {
  min-height: 88px;
  resize: vertical;
}

.booking__form input:focus,
.booking__form select:focus,
.booking__form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.booking__form input::placeholder,
.booking__form textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.booking__form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='none' stroke='%23c9a961' stroke-width='1' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
  cursor: pointer;
}

.booking__form select option {
  background: var(--bg-card);
  color: var(--cream);
}

.booking__form textarea {
  resize: vertical;
  min-height: 80px;
  border: 1px solid var(--line-strong);
  padding: 14px;
  border-radius: 0;
}

.booking__form textarea:focus {
  border-color: var(--gold);
}

.form__note {
  font-family: var(--font-serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 80px 0 0;
  position: relative;
}

.footer__wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer__logo {
  font-family: var(--font-serif-cn);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 16px;
}

.footer__brand p {
  font-family: var(--font-serif-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  line-height: 2;
}

.footer__col h4 {
  font-family: var(--font-serif-cn);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--cream);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col li,
.footer__col a {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--cream-muted);
  transition: color 0.3s ease;
}

.footer__col a:hover {
  color: var(--gold-light);
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-serif-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
  font-style: italic;
}

.footer__divider {
  color: var(--gold);
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal-stagger.is-visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal-stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.15s;
}
.reveal-stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.25s;
}
.reveal-stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.35s;
}
.reveal-stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.45s;
}
.reveal-stagger.is-visible > *:nth-child(6) {
  transition-delay: 0.55s;
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --gutter: 32px;
    --section-y: 100px;
  }

  .nav__links {
    gap: 24px;
    font-size: 12px;
  }

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

  .masters__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }

  .voices__grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
  }

  .space__grid {
    grid-template-rows: 200px 200px;
  }

  .footer__wrap {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ============================================
   RESPONSIVE — TABLET/MOBILE (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --gutter: 24px;
    --section-y: 80px;
  }

  /* nav mobile */
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 84px 36px 36px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-size: 15px;
    overflow-y: auto;
  }

  .nav__links.is-open {
    transform: translateX(0);
  }

  /* 頂部:品牌大字 + slogan */
  .nav__drawer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }
  .nav__drawer-cn {
    font-family: var(--font-serif-cn);
    font-size: 44px;
    letter-spacing: 0.35em;
    color: var(--cream);
    font-weight: 300;
    line-height: 1;
  }
  .nav__drawer-en {
    font-family: var(--font-serif-en);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--gold);
    font-weight: 300;
  }

  /* 中間連結區 */
  .nav__drawer-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 0;
  }

  .nav__links a:not(.nav__drawer-cta) {
    font-family: var(--font-serif-cn);
    font-size: 17px;
    letter-spacing: 0.3em;
    min-height: 44px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    width: 100%;
    color: var(--cream);
  }

  /* 底部:金色 CTA */
  a.nav__drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    background: var(--gold);
    color: var(--bg-1);
    font-family: var(--font-serif-cn);
    font-size: 14px;
    letter-spacing: 0.4em;
    text-decoration: none;
    padding: 0 24px;
    font-weight: 700;
    box-shadow: 0 10px 30px -12px rgba(201, 169, 97, 0.5);
  }
  a.nav__drawer-cta:hover {
    background: var(--gold-light);
    color: var(--bg-1);
    transform: translateY(-1px);
  }

  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
    z-index: 200;
  }

  .nav__burger.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    width: 28px;
  }

  .nav__burger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav__burger.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 28px;
  }

  /* hero */
  .hero__corner {
    width: 40px;
    height: 40px;
  }

  .hero__corner--tl,
  .hero__corner--tr {
    top: 20px;
  }
  .hero__corner--bl,
  .hero__corner--br {
    bottom: 20px;
  }
  .hero__corner--tl,
  .hero__corner--bl {
    left: 20px;
  }
  .hero__corner--tr,
  .hero__corner--br {
    right: 20px;
  }

  .hero__eyebrow {
    gap: 12px;
    font-size: 10px;
    letter-spacing: 0.4em;
  }

  .hero__eyebrow .line {
    width: 30px;
  }

  .hero__sub {
    font-size: 14px;
    letter-spacing: 0.2em;
  }

  .hero__cta {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .btn {
    padding: 16px 32px;
    font-size: 12px;
    width: 100%;
  }

  /* about */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__img {
    aspect-ratio: 4 / 3;
  }

  /* services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 40px 28px 32px;
    min-height: auto;
  }

  .service-card__img {
    margin: -40px -28px 24px;
    height: 160px;
  }

  /* oils */
  .oils__wrap {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .oils__visual {
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
  }

  .oils__tag {
    right: -8%;
    width: 110px;
    height: 110px;
  }

  /* space */
  .space__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }

  .space__cell--1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  .space__cell--2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  .space__cell--3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  .space__cell--4 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }
  .space__cell--5 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  /* masters */
  .masters__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .master__name {
    font-size: 20px;
  }

  /* booking */
  .booking__wrap {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .booking__form {
    padding: 36px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* footer */
  .footer__wrap {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer__logo {
    font-size: 36px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
  :root {
    --gutter: 20px;
    --section-y: 70px;
  }

  .nav {
    padding: 16px 0;
  }

  .nav__brand-cn {
    font-size: 18px;
  }

  .nav__brand-en {
    font-size: 10px;
  }

  .hero {
    padding: 100px var(--gutter) 80px;
  }

  .hero__corner {
    width: 28px;
    height: 28px;
  }

  .hero__corner--tl,
  .hero__corner--tr {
    top: 12px;
  }
  .hero__corner--bl,
  .hero__corner--br {
    bottom: 12px;
  }
  .hero__corner--tl,
  .hero__corner--bl {
    left: 12px;
  }
  .hero__corner--tr,
  .hero__corner--br {
    right: 12px;
  }

  .hero__title-cn {
    font-size: clamp(56px, 18vw, 80px);
    letter-spacing: 0.15em;
  }

  .hero__title-en {
    font-size: 14px;
    letter-spacing: 0.25em;
  }

  .hero__sub {
    font-size: 13px;
  }

  .section__kicker {
    font-size: 10px;
    letter-spacing: 0.3em;
  }

  .section__title {
    font-size: 32px;
    letter-spacing: 0.1em;
  }

  .section__title--sm {
    font-size: 26px;
  }

  .about__lead {
    font-size: 17px;
    padding-left: 18px;
  }

  .pillar {
    gap: 16px;
  }

  .pillar__img {
    width: 88px;
  }

  .service-card__title {
    font-size: 22px;
  }

  .service-card__price {
    font-size: 18px;
  }

  .oils__visual {
    aspect-ratio: 4 / 5;
  }

  .oils__tag {
    width: 80px;
    height: 80px;
    right: 4%;
    top: 6%;
  }

  .oils__tag-num {
    font-size: 26px;
  }

  .oils__tag-label {
    font-size: 8px;
  }

  .oils__list li {
    flex-direction: column;
    gap: 10px;
  }

  .space__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
    gap: 12px;
  }

  .space__cell--1,
  .space__cell--2,
  .space__cell--3,
  .space__cell--4,
  .space__cell--5,
  .space__cell:last-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .space__cell figcaption {
    padding: 18px 20px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .voice__quote {
    font-size: 64px;
    top: 8px;
    left: 18px;
  }

  .masters__grid {
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 340px;
    margin: 0 auto;
  }

  .voice {
    padding: 44px 26px 32px;
  }

  .voice p {
    font-size: 14px;
  }

  .booking__info-row {
    flex-direction: column;
    gap: 8px;
    padding: 18px 0;
  }

  .booking__info-label {
    font-size: 10px;
  }

  .booking__form {
    padding: 28px 20px;
  }

  .footer {
    padding-top: 60px;
  }

  .footer__wrap {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }

  .footer__logo {
    font-size: 32px;
  }

  .footer__bottom-inner {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-align: center;
    justify-content: center;
  }

  .footer__divider {
    display: none;
  }
}
