/* ============================================================
   真是萃 TRUE ESSENCE — shared stylesheet
   Design tokens per design_handoff_true_essence_website/README.md
   ============================================================ */

:root {
  --bg: #f7f4ee;        /* 象牙白背景 */
  --ink: #2c2a26;       /* 墨黑主文字 / 深色頁尾 */
  --sub: #5c574e;       /* 次要文字 */
  --mute: #8a8377;      /* 淡化文字 */
  --faint: #a39a88;     /* 英文標註 */
  --line: #e0dacd;      /* 分隔線 */
  --hover: #f0ece2;     /* hover 底色 */
  --foot: #c9c2b4;      /* 頁尾文字 */
  --serif: 'Noto Serif TC', serif;
  --sans: 'Noto Sans TC', sans-serif;
  --en: 'Cormorant Garamond', serif;
  --pad-x: 56px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  min-height: 100vh;
}

a { color: var(--ink); }
a:hover { color: var(--mute); }

/* ---------- nav ---------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px var(--pad-x);
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}
.brand-zh { font-size: 22px; font-weight: 500; letter-spacing: 8px; color: var(--ink); }
.brand-en { font-family: var(--en); font-size: 12px; letter-spacing: 3px; color: var(--mute); }
.nav-links {
  display: flex;
  gap: 36px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 3px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a { text-decoration: none; color: var(--sub); }
.nav-links a:hover { color: var(--mute); }
.nav-links a.active {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- page head (sub pages) ---------- */
.page-head {
  padding: 64px var(--pad-x) 56px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.kicker {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--faint);
  margin-bottom: 18px;
}
.page-title {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 12px;
  margin: 0;
}
.page-lede {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 1px;
  color: var(--mute);
  max-width: 380px;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- row list (courses / treatments) ---------- */
.row {
  display: grid;
  grid-template-columns: 120px 1fr 300px 160px;
  gap: 40px;
  align-items: center;
  padding: 44px var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.row-no { font-family: var(--en); font-size: 14px; letter-spacing: 3px; color: var(--faint); }
.row-name { font-size: 22px; letter-spacing: 5px; margin-bottom: 10px; }
.row-name .en { font-family: var(--en); font-size: 13px; letter-spacing: 2px; color: var(--faint); }
.row-desc {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 2;
  color: var(--mute);
  margin: 0;
  max-width: 420px;
}
.row-meta { font-family: var(--sans); font-size: 12.5px; line-height: 2.2; letter-spacing: 2px; color: var(--sub); }
.row-tag { font-family: var(--sans); font-size: 12px; letter-spacing: 2px; color: var(--mute); }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 72px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.cta-note {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 2.2;
  letter-spacing: 1px;
  color: var(--mute);
  max-width: 520px;
  margin: 0;
  text-wrap: pretty;
}
.btn {
  flex: none;
  display: inline-block;
  white-space: nowrap;
  padding: 14px 36px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }

/* ---------- slim footer (sub pages) ---------- */
.footer-slim {
  background: var(--ink);
  color: var(--foot);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--pad-x);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-slim .en { font-family: var(--en); letter-spacing: 4px; }

/* ============================================================
   首頁 index
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 48px;
  padding: 48px var(--pad-x) 88px;
  align-items: stretch;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.hero-titles {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  min-height: 460px;
}
.hero-title-v {
  writing-mode: vertical-rl;
  height: 420px;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 18px;
  line-height: 1.9;
}
.hero-sub-v {
  writing-mode: vertical-rl;
  height: 320px;
  font-size: 15px;
  letter-spacing: 8px;
  color: var(--mute);
  padding-top: 8px;
}
.hero-intro { max-width: 400px; }
.hero-intro .en-lede {
  font-family: var(--en);
  font-style: italic;
  font-size: 17px;
  color: var(--mute);
  margin: 0 0 14px;
}
.hero-intro .zh-lede {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 2.1;
  letter-spacing: 1px;
  color: var(--sub);
  margin: 0 0 28px;
  text-wrap: pretty;
}
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 3px;
}
.hero-cta .line-id { color: var(--mute); }
.hero-photo { display: flex; flex-direction: column; gap: 16px; }
.hero-photo figure { margin: 0; height: 560px; }
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-caption {
  display: flex;
  justify-content: space-between;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--faint);
}
.hero-credit {
  font-family: var(--en);
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--faint);
}
.hero-credit a { color: var(--faint); text-decoration: none; }
.hero-credit a:hover { color: var(--mute); text-decoration: underline; }

/* three pillars */
.pillars {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.pillar {
  text-decoration: none;
  padding: 48px;
  display: block;
  transition: background .2s ease;
}
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar:hover { background: var(--hover); }
.pillar-no {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--faint);
  margin-bottom: 14px;
}
.pillar-name { font-size: 20px; letter-spacing: 5px; margin-bottom: 12px; color: var(--ink); }
.pillar-desc {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 2;
  color: var(--mute);
  margin: 0;
}

/* quote band */
.quote-band {
  border-top: 1px solid var(--line);
  padding: 96px var(--pad-x);
  text-align: center;
}
.quote-zh { font-size: 26px; letter-spacing: 10px; line-height: 2.2; font-weight: 300; }
.quote-en {
  font-family: var(--en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--faint);
  margin-top: 22px;
}

/* journal preview */
.journal-preview {
  border-top: 1px solid var(--line);
  padding: 72px var(--pad-x);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 44px;
}
.section-title { display: flex; align-items: baseline; gap: 16px; }
.section-title .zh { font-size: 22px; letter-spacing: 6px; }
.section-title .en { font-family: var(--en); font-size: 12px; letter-spacing: 3px; color: var(--faint); }
.section-more {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--mute);
  text-decoration: none;
}
.journal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.journal-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.journal-card .date { font-family: var(--en); font-size: 12px; letter-spacing: 2px; color: var(--faint); }
.journal-card .title { font-size: 17px; letter-spacing: 3px; line-height: 1.8; color: var(--ink); }
.journal-card .excerpt { font-family: var(--sans); font-size: 12.5px; line-height: 2; color: var(--mute); }
.journal-card:hover .title { color: var(--mute); }

/* full footer (index) */
.footer-full {
  background: var(--ink);
  color: var(--foot);
  padding: 64px var(--pad-x) 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201, 194, 180, .2);
}
.footer-brand-zh { font-size: 20px; letter-spacing: 8px; color: var(--bg); margin-bottom: 8px; }
.footer-brand-en { font-family: var(--en); font-size: 12px; letter-spacing: 4px; color: var(--mute); }
.footer-col {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 2.4;
  letter-spacing: 2px;
}
.footer-col .label { color: var(--mute); margin-bottom: 6px; }
.footer-col a { color: var(--foot); text-decoration: none; }
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--en);
  font-size: 11.5px;
  letter-spacing: 2px;
  color: var(--mute);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--mute); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--foot); }

/* ============================================================
   芳療 aroma — process columns
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.process-step { padding: 48px 40px; }
.process-step + .process-step { border-left: 1px solid var(--line); }
.process-step .step-no {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--faint);
  margin-bottom: 16px;
}
.process-step p {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 2.1;
  color: var(--sub);
  margin: 0;
}

/* ============================================================
   精油 oils — 2×3 grid
   ============================================================ */
.oils-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.oil {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.oil:nth-child(3n+1), .oil:nth-child(3n+2) { border-right: 1px solid var(--line); }
.oil:nth-child(n+4) { border-bottom: none; }
.oil-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.oil-zh { font-size: 21px; letter-spacing: 5px; }
.oil-en { font-family: var(--en); font-size: 12px; letter-spacing: 2px; color: var(--faint); }
.oil-latin { font-family: var(--en); font-style: italic; font-size: 13px; color: var(--faint); }
.oil-desc { font-family: var(--sans); font-size: 12.5px; line-height: 2; color: var(--mute); margin: 0; }
.oil-buy { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.oil-size { font-family: var(--sans); font-size: 12px; letter-spacing: 2px; color: var(--sub); }
.oil-price { font-family: var(--en); font-size: 16px; letter-spacing: 1px; }
.oils-note-contact { flex: none; font-family: var(--sans); font-size: 13px; letter-spacing: 3px; color: var(--sub); }

/* ============================================================
   關於 about
   ============================================================ */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px var(--pad-x) 88px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.story-title {
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 8px;
  line-height: 1.9;
  margin: 0;
}
.story-body { padding-top: 56px; }
.story-body p {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 2.4;
  letter-spacing: 1px;
  color: var(--sub);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.story-body p:last-child { margin-bottom: 0; }

.teachers {
  padding: 72px var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.teachers .section-head { margin-bottom: 52px; }
.teacher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.teacher {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
}
.portrait-slot {
  width: 220px;
  height: 280px;
  background: var(--hover);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-slot span {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--faint);
}
.teacher-name { font-size: 20px; letter-spacing: 5px; margin-bottom: 6px; }
.teacher-role {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--faint);
  margin-bottom: 18px;
}
.teacher-bio {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 2.2;
  color: var(--mute);
  margin: 0;
  text-wrap: pretty;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.value {
  padding: 56px 48px;
  text-align: center;
}
.value + .value { border-left: 1px solid var(--line); }
.value-char { font-size: 30px; font-weight: 300; letter-spacing: 6px; margin-bottom: 16px; }
.value p {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 2.1;
  color: var(--mute);
  margin: 0;
}

/* ============================================================
   札記 journal
   ============================================================ */
.article-row {
  text-decoration: none;
  display: grid;
  grid-template-columns: 200px 1fr 120px;
  gap: 48px;
  align-items: baseline;
  padding: 48px var(--pad-x);
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.article-row:hover { background: var(--hover); }
.article-row .date { font-family: var(--en); font-size: 13px; letter-spacing: 2px; color: var(--faint); }
.article-row .title {
  font-size: 21px;
  letter-spacing: 4px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 10px;
}
.article-row .excerpt {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 2;
  color: var(--mute);
  margin: 0;
  max-width: 560px;
}
.article-row .read {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--faint);
  text-align: right;
}
.journal-coming {
  padding: 64px var(--pad-x);
  text-align: center;
  font-family: var(--en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--faint);
}

/* ============================================================
   價目與預約 booking
   ============================================================ */
.price-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding: 64px var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.price-cat-zh { font-size: 22px; letter-spacing: 6px; margin-bottom: 10px; }
.price-cat-en { font-family: var(--en); font-size: 12px; letter-spacing: 3px; color: var(--faint); }
.price-list { display: flex; flex-direction: column; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.price-row:last-child { border-bottom: none; }
.price-name { font-family: var(--sans); font-size: 14px; letter-spacing: 3px; color: var(--sub); }
.price-name .note { font-size: 11px; color: var(--faint); }
.price-value { font-family: var(--en); font-size: 18px; letter-spacing: 1px; white-space: nowrap; }

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px var(--pad-x);
}
.contact-title {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 8px;
  line-height: 2;
  margin: 0 0 28px;
}
.contact-lede {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 2.2;
  letter-spacing: 1px;
  color: var(--mute);
  max-width: 400px;
  margin: 0;
  text-wrap: pretty;
}
.contact-list { display: flex; flex-direction: column; font-family: var(--sans); }
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.contact-row:last-child { border-bottom: none; }
.contact-label { font-size: 12px; letter-spacing: 3px; color: var(--faint); }
.contact-value { font-size: 15px; letter-spacing: 2px; color: var(--ink); text-align: right; }
.contact-value a { color: var(--ink); text-decoration: none; }
.contact-value a:hover { color: var(--mute); }

/* ============================================================
   Responsive — 設計稿以 1280–1440px 桌機為準，行動版折疊
   ============================================================ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 380px; }
  .row { grid-template-columns: 80px 1fr 220px 140px; gap: 28px; }
  .article-row { grid-template-columns: 160px 1fr 90px; gap: 28px; }
}

@media (max-width: 900px) {
  :root { --pad-x: 28px; }

  .nav { padding-top: 24px; padding-bottom: 24px; }
  .nav-links { gap: 20px; font-size: 12px; letter-spacing: 2px; }

  .page-head { flex-direction: column; align-items: flex-start; gap: 28px; padding-top: 48px; }
  .page-title { font-size: 30px; letter-spacing: 8px; }

  /* hero：直排轉橫排、單欄 */
  .hero { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 56px; }
  .hero-titles { min-height: 0; flex-direction: column; gap: 20px; }
  .hero-title-v {
    writing-mode: horizontal-tb;
    height: auto;
    font-size: 32px;
    letter-spacing: 10px;
    line-height: 1.8;
  }
  .hero-sub-v {
    writing-mode: horizontal-tb;
    height: auto;
    padding-top: 0;
    letter-spacing: 6px;
  }
  .hero-photo figure { height: 420px; }

  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 36px var(--pad-x); }
  .pillar + .pillar { border-left: none; border-top: 1px solid var(--line); }

  .quote-band { padding-top: 64px; padding-bottom: 64px; }
  .quote-zh { font-size: 20px; letter-spacing: 6px; }

  .journal-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .row { grid-template-columns: 1fr; gap: 14px; padding-top: 36px; padding-bottom: 36px; }
  .row-no { order: -1; }
  .row-desc { max-width: none; }

  .process { grid-template-columns: 1fr; }
  .process-step { padding: 32px var(--pad-x); }
  .process-step + .process-step { border-left: none; border-top: 1px solid var(--line); }

  .oils-grid { grid-template-columns: 1fr; }
  .oil { padding: 40px var(--pad-x); }
  .oil:nth-child(3n+1), .oil:nth-child(3n+2) { border-right: none; }
  .oil:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .oil:last-child { border-bottom: none; }

  .story { grid-template-columns: 1fr; gap: 36px; padding-bottom: 56px; }
  .story-title { font-size: 28px; letter-spacing: 6px; }
  .story-body { padding-top: 0; }

  .teacher-grid { grid-template-columns: 1fr; }
  .teacher { grid-template-columns: 1fr; gap: 24px; }

  .values { grid-template-columns: 1fr; }
  .value + .value { border-left: none; border-top: 1px solid var(--line); }

  .article-row { grid-template-columns: 1fr; gap: 12px; padding-top: 36px; padding-bottom: 36px; }
  .article-row .read { text-align: left; }
  .article-row .excerpt { max-width: none; }

  .price-section { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
  .contact { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }

  .cta-band { flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
  .footer-slim { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  :root { --pad-x: 20px; }
  .brand-zh { font-size: 19px; letter-spacing: 6px; }
  .hero-title-v { font-size: 26px; letter-spacing: 8px; }
  .hero-photo figure { height: 320px; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact-value { text-align: left; }
}
