:root {
  --night: #1f1d3a;
  --night-2: #2c2952;
  --gold: #c9a45c;
  --gold-soft: #e9d6ad;
  --cream: #faf6ef;
  --paper: #ffffff;
  --ink: #2b2838;
  --muted: #6b6679;
  --line: #e7e0d3;
  --radius: 16px;
  --serif: "Noto Serif TC", serif;
  --sans: "Noto Sans TC", system-ui, sans-serif;
  --latin: "Cormorant Garamond", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.4; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* ---------- 導覽列 ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(31, 29, 58, .92);
  backdrop-filter: blur(8px);
  color: var(--cream);
}
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand-zh { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; letter-spacing: .1em; }
.brand-en { font-family: var(--latin); font-style: italic; color: var(--gold-soft); font-size: 1.1rem; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { text-decoration: none; font-size: .95rem; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--gold-soft); }
.nav-cta { border: 1px solid var(--gold); padding: 4px 16px; border-radius: 999px; opacity: 1 !important; }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); font-size: 1.5rem; cursor: pointer; }

/* ---------- 主視覺 ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 78vh; display: grid; place-items: center;
  padding: 80px 16px;
  background: radial-gradient(ellipse at 70% 20%, var(--night-2), var(--night) 70%);
  color: var(--cream); text-align: center;
}
.hero.has-image { background-size: cover; background-position: center; }
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.moon { fill: var(--gold-soft); opacity: .9; }
.moon-cut { fill: var(--night-2); }
.stars circle { fill: var(--gold-soft); animation: twinkle 4s ease-in-out infinite; }
.stars circle:nth-child(2n) { animation-delay: 1.5s; }
.stars circle:nth-child(3n) { animation-delay: 2.7s; }
@keyframes twinkle { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .stars circle { animation: none; } }
.hero-inner { position: relative; max-width: 760px; }
.eyebrow { letter-spacing: .3em; color: var(--gold); font-size: .9rem; margin: 0 0 16px; }
.hero-title { font-size: clamp(1.9rem, 5vw, 3.2rem); white-space: pre-line; letter-spacing: .05em; }
.hero-sub { font-family: var(--latin); font-style: italic; font-size: 1.25rem; color: var(--gold-soft); margin: 8px 0 36px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 999px; text-decoration: none; font-weight: 500; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-ghost { border: 1px solid var(--gold-soft); color: var(--cream); }

/* ---------- 理念 ---------- */
.philosophy { max-width: 720px; margin: 0 auto; padding: 80px 16px; text-align: center; }
.philosophy p { color: var(--muted); font-size: 1.1rem; }

/* ---------- 通用區塊 ---------- */
.section { max-width: 1080px; margin: 0 auto; padding: 72px 16px; }
.section-kicker { font-family: var(--latin); font-style: italic; color: var(--gold); font-size: 1.2rem; margin: 0; }
.section-sub { color: var(--muted); margin-top: -8px; }

/* ---------- 關於我 ---------- */
.about { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 48px; align-items: start; }
.about-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--night-2), var(--night));
  display: grid; place-items: center; color: var(--gold-soft);
  font-family: var(--serif); font-size: 4rem; letter-spacing: .1em;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-name { color: var(--muted); }
.about-name strong { color: var(--ink); font-size: 1.15rem; }
.about-intro p { margin: 0 0 1em; }
.credentials { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.credentials li { padding-left: 24px; position: relative; }
.credentials li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

/* ---------- 服務卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.card .slogan { color: var(--gold); font-family: var(--serif); margin: 0 0 12px; }
.card p { color: var(--muted); margin: 12px 0 0; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .8rem; padding: 2px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }

/* ---------- 特色 ---------- */
.features-wrap { text-align: center; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 32px; }
.feature-num { font-family: var(--latin); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.feature h3 { margin: 8px 0; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- 經驗時間軸 ---------- */
.timeline { list-style: none; padding: 0; margin: 32px 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 20px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline .year { font-family: var(--latin); color: var(--gold); font-size: 1.1rem; margin-right: 12px; }
.timeline .org { font-weight: 700; }

/* ---------- 流程 ---------- */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; counter-reset: step; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before { content: "0" counter(step); font-family: var(--latin); font-size: 1.8rem; color: var(--gold); display: block; }
.steps h3 { font-size: 1.1rem; margin: 4px 0; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 12px 0 0; white-space: pre-line; }

/* ---------- 聯絡 ---------- */
.contact { background: var(--night); color: var(--cream); text-align: center; padding: 80px 16px; }
.contact p { color: var(--gold-soft); }
.contact-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.contact-links .btn { min-width: 140px; }
.contact-empty { opacity: .7; font-size: .9rem; }

.footer { text-align: center; padding: 24px 16px; color: var(--muted); font-size: .85rem; }

/* ---------- 手機版 ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--night); padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; text-align: center; }
  .nav-cta { border: 0; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { max-width: 280px; }
}
