/* Direction A — Warm Sanctuary */
:root {
  --cream: #F7F3EE;
  --cream-deep: #EFE8E0;
  --rose: #C45C6A;
  --rose-dark: #A84856;
  --rose-soft: #F3E0E3;
  --clay: #D4A59A;
  --sand: #E8D5C8;
  --charcoal: #3A3330;
  --muted: #6F6560;
  --white: #FFFCFA;
  --line: rgba(58, 51, 48, 0.1);
  --shadow: 0 12px 40px rgba(58, 51, 48, 0.08);
  --radius: 18px;
  --font: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.topbar {
  background: rgba(255,252,250,0.95);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
}
.topbar-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(145deg, var(--rose), var(--clay));
  color: #fff; display: grid; place-items: center;
  font-size: 0.65rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(196,92,106,0.3);
}
.brand strong { display: block; font-size: 0.92rem; font-weight: 600; }
.brand span { font-size: 0.7rem; color: var(--muted); }
.nav { display: flex; gap: 1.15rem; font-size: 0.88rem; color: var(--muted); flex-wrap: wrap; }
.nav a:hover, .nav a.active { color: var(--rose); }
.nav a.active { font-weight: 600; }
.nav-actions { display: flex; gap: 0.5rem; align-items: center; }
.lang { font-size: 0.75rem; color: var(--muted); border: 1px solid var(--line); padding: 0.3rem 0.5rem; border-radius: 999px; }
.lang b { color: var(--rose); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.15rem; border-radius: 999px;
  font-size: 0.88rem; font-weight: 500; transition: 0.2s;
}
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 6px 18px rgba(196,92,106,0.25); }
.btn-primary:hover { background: var(--rose-dark); }
.btn-ghost { border: 1px solid var(--line); color: var(--charcoal); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }
.btn-soft { background: var(--rose-soft); color: var(--rose-dark); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 2.25rem 1.25rem 3.5rem; }
.page-hero { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.25rem 1.25rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; color: var(--rose); font-weight: 500; letter-spacing: 0.05em; margin-bottom: 0.75rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--rose); border-radius: 2px; }
h1 {
  font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 600; line-height: 1.35; margin-bottom: 0.75rem;
}
h1 em { font-style: normal; color: var(--rose); }
.lead { color: var(--muted); font-size: 1.02rem; max-width: 38em; font-weight: 300; margin-bottom: 1.25rem; }
h2 { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.75rem; }
h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.25rem 1.5rem;
}
.hero-photo {
  min-height: 380px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(58,51,48,0.1), rgba(58,51,48,0.4)),
    url("../assets/a-hero-hands.jpg") center/cover no-repeat;
  box-shadow: var(--shadow); position: relative;
}
.hero-photo .chip {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--white); border-radius: 999px; padding: 0.5rem 0.9rem;
  font-size: 0.78rem; font-weight: 500; box-shadow: var(--shadow);
}
.hero-photo .caption {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  background: rgba(255,252,250,0.93); border-radius: var(--radius);
  padding: 1rem 1.15rem; box-shadow: var(--shadow);
}
.hero-photo .caption strong { display: block; margin-bottom: 0.2rem; }
.hero-photo .caption p { font-size: 0.85rem; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.25rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; font-size: 0.85rem; color: var(--muted); }
.meta-row span { display: inline-flex; align-items: center; gap: 0.35rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: 0.2s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(196,92,106,0.25); }
.card-img { height: 140px; background-size: cover; background-position: center; }
.card-body { padding: 1.2rem 1.25rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.card-body p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.card-body .link { margin-top: 0.85rem; color: var(--rose); font-size: 0.88rem; font-weight: 500; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin: 2rem 0 1.15rem; }
.section-head p { color: var(--muted); font-size: 0.92rem; max-width: 28em; }

.soft-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.steps { counter-reset: step; display: grid; gap: 0.85rem; }
.step {
  display: grid; grid-template-columns: 42px 1fr; gap: 0.9rem; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem;
}
.step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--rose-soft); color: var(--rose-dark);
  display: grid; place-items: center; font-weight: 600;
}
.step p { font-size: 0.9rem; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
th { background: var(--cream-deep); color: var(--muted); font-weight: 600; font-size: 0.8rem; }
tr:last-child td { border-bottom: none; }

.prose { max-width: 720px; }
.prose p { margin-bottom: 1rem; color: var(--muted); }
.prose h2 { margin-top: 1.75rem; }
.article-cover {
  height: 280px; border-radius: 22px; margin-bottom: 1.5rem;
  background: linear-gradient(160deg, rgba(58,51,48,0.15), rgba(58,51,48,0.35)),
    url("../assets/a-couple.jpg") center/cover no-repeat;
}
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--rose);
  background: var(--rose-soft); padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.65rem;
}

.cta-band {
  margin-top: 2rem; background: linear-gradient(135deg, var(--cream-deep), var(--rose-soft));
  border-radius: 22px; padding: 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1rem;
}
.cta-band p { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }

.showcase-bar {
  background: #2F2927; color: rgba(255,252,250,0.7); font-size: 0.78rem;
  padding: 0.45rem 1.25rem; text-align: center;
}
.showcase-bar a { color: #E8C4C0; text-decoration: underline; }
.showcase-bar b { color: #fff; }

footer {
  background: #2F2927; color: rgba(255,252,250,0.7); margin-top: 2rem; padding: 2rem 1.25rem 1.25rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem;
}
footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 0.6rem; }
footer a, footer p { font-size: 0.84rem; line-height: 1.85; color: rgba(255,252,250,0.6); }
footer a:hover { color: var(--clay); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.75rem; opacity: 0.55;
}

.path-list { display: grid; gap: 0.75rem; }
.path-row {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 1rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0.85rem 1rem;
}
.path-row img { width: 100px; height: 72px; object-fit: cover; border-radius: 10px; }
.path-row p { font-size: 0.88rem; color: var(--muted); }
.note {
  font-size: 0.85rem; color: var(--muted); background: var(--rose-soft);
  border-radius: 12px; padding: 0.9rem 1rem; margin: 1rem 0;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid, .cards, .grid-2, .grid-3, .footer-inner, .path-row { grid-template-columns: 1fr; }
  .hero-photo { min-height: 280px; }
  .path-row img { width: 100%; height: 140px; }
}
