:root {
  --cream: #fdf8f4;
  --cream-deep: #f7efe8;
  --rose-dust: #d7b4b5;
  --rose-soft: #f3e0e0;
  --rose-mid: #e8c4c6;
  --footer-bg: #e8d2d0;
  --terracotta: #9a3d3a;
  --terracotta-soft: #a85a4a;
  --ink: #3d322e;
  --ink-soft: #5c4a44;
  --muted: #7a655c;
  --blue-mist: #5a7d9a;
  --blue-soft: #dce3eb;
  --lavender-edge: #c9bfd8;
  --gold: #c4a06a;
  --card: rgba(255, 255, 255, 0.92);
  --max: 1100px;
  --radius: 14px;
  --font-serif: "Noto Serif TC", "Source Han Serif TC", serif;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --shadow: 0 16px 40px rgba(90, 60, 50, 0.08);
  --header-h: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  line-height: 1.85;
  background: var(--cream);
  min-height: 100vh;
}

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

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

.container {
  width: min(100% - 2.25rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(253, 248, 244, 0.88);
  border-bottom: 1px solid rgba(154, 61, 58, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  color: var(--terracotta);
  font-weight: 700;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  letter-spacing: 0.04em;
}

.brand-text span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  font-size: 1rem;
  color: var(--ink-soft);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fffdf9 !important;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(154, 61, 58, 0.22);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  filter: brightness(1.05);
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0.45rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 0.35rem 0;
  background: var(--terracotta);
  border-radius: 2px;
}

.section {
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
  position: relative;
}

.section-tight {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-rose {
  background: var(--rose-dust);
}

.section-cream {
  background: var(--cream);
}

.section-soft {
  background: var(--cream-deep);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.section-head h2,
.prose h2,
.story-copy h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  line-height: 1.35;
  color: var(--terracotta);
  margin: 0 0 0.85rem;
}

.section-head.blue h2,
.about-page .section-head h2 {
  color: var(--blue-mist);
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
}

.hero-bleed {
  padding: 0;
}

.hero-bleed-frame {
  margin: 0;
}

.hero-bleed-frame img {
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: cover;
  object-position: center;
}

.hero-follow {
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--terracotta);
  color: #fffdf9;
  box-shadow: 0 10px 24px rgba(154, 61, 58, 0.2);
}

.btn-secondary {
  background: #fff;
  color: var(--terracotta);
  border: 1px solid rgba(154, 61, 58, 0.28);
}

.btn-line {
  background: #06c755;
  color: #fff;
}

.btn-pearl {
  width: min(100%, 28.5rem);
  min-height: 3.55rem;
  padding: 0.82rem 1.7rem;
  border: 0;
  border-radius: 999px;
  background: url("../assets/cta/btn-pearl.png") center / 100% 100% no-repeat;
  color: #7a4549;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 24px rgba(122, 69, 73, 0.16);
}

.btn-pearl .sep {
  margin: 0 0.5em;
  font-weight: 500;
  opacity: 0.78;
}

.btn-pearl:hover {
  color: #6a3c40;
  filter: brightness(1.04);
}

.intro-block {
  max-width: 48rem;
}

.intro-block h2 {
  font-family: var(--font-serif);
  color: var(--terracotta);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin: 0 0 1.1rem;
}

.intro-block p {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.pain-card {
  background: #fff;
  border: 1px solid var(--rose-mid);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pain-card .num {
  background: var(--rose-soft);
  color: var(--terracotta);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  padding: 0.55rem;
  letter-spacing: 0.04em;
}

.pain-card .body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.pain-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
}

.pain-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.pillar {
  background: var(--card);
  border: 1px solid rgba(154, 61, 58, 0.12);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.pillar img {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
}

.pillar h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  color: var(--terracotta);
  font-size: 1.15rem;
}

.pillar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.design-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.design-figure img {
  width: 100%;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}

.case-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(90, 60, 50, 0.08);
  box-shadow: var(--shadow);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-card .body {
  padding: 1.1rem 1.15rem 1.3rem;
}

.case-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink);
}

.case-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.about-snippet {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.75rem;
  align-items: center;
}

.about-snippet .portrait {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-snippet .portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.quote-band {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.8rem) 1.5rem;
}

.quote-band p {
  margin: 0 auto;
  max-width: 36rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  line-height: 1.55;
  color: var(--terracotta);
}

.quote-band .sub {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--muted);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.75rem;
  align-items: center;
}

.story-grid--media-text {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.story-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-media--tall {
  max-width: 28rem;
  margin: 1.6rem auto 0;
}

.story-media--tall img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 40%;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.prose p:last-child {
  margin-bottom: 0;
}

.tri-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tri-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.4rem;
  border-top: 4px solid var(--rose-mid);
  box-shadow: var(--shadow);
}

.tri-card.pink {
  border-top-color: #e8b4b8;
}

.tri-card.purple {
  border-top-color: #c9bfd8;
}

.tri-card.blue {
  border-top-color: #a8c0d8;
}

.tri-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--ink);
}

.tri-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.pull-quote {
  margin: 1.75rem 0 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--rose-dust);
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--terracotta);
  line-height: 1.6;
}

.callout {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--rose-soft);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin: 1.25rem 0 1.5rem;
  color: var(--ink-soft);
}

.callout-icon {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(154, 61, 58, 0.12);
  color: var(--terracotta);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}

.compare-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.15rem;
  border: 1px solid rgba(90, 60, 50, 0.1);
}

.compare-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--blue-mist);
}

.compare-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cta-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.cta-card {
  background: #fff;
  border: 1px solid var(--blue-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--blue-mist);
  font-size: 1.35rem;
}

.cta-card p {
  margin: 0;
  color: var(--ink-soft);
}

.site-footer {
  position: relative;
  color: var(--terracotta-soft);
  background: var(--footer-bg);
  padding: clamp(2.8rem, 6vw, 4rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 88px;
  height: 88px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.footer-brand h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--terracotta);
}

.footer-copy {
  max-width: 34rem;
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.footer-person {
  margin: 0 0 0.15rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--terracotta);
  font-weight: 700;
}

.footer-role {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-block h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--terracotta);
}

.footer-block p,
.footer-block li {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.footer-block li + li {
  margin-top: 0.35rem;
}

.footer-block a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(154, 61, 58, 0.15);
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.15rem 1.15rem;
    background: rgba(253, 248, 244, 0.98);
    border-bottom: 1px solid rgba(154, 61, 58, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid rgba(154, 61, 58, 0.08);
  }

  .nav-cta {
    margin-top: 0.5rem;
    justify-content: center;
  }

  .pain-grid,
  .case-grid,
  .pillars,
  .tri-cards,
  .compare,
  .about-snippet,
  .story-grid,
  .story-grid--media-text,
  .cta-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-actions .btn {
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  .nav-cta,
  .btn {
    padding: 0.58rem 1.05rem;
    font-size: 0.9rem;
  }

  .btn-pearl {
    width: 100%;
    min-height: 3.15rem;
    padding: 0.72rem 1.1rem;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
  }
}

.service-doc-head {
  max-width: 44rem;
}

.service-doc-head h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.5vw, 2.2rem);
  line-height: 1.35;
  color: var(--terracotta);
}

.service-doc-meta {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(154, 61, 58, 0.12);
  box-shadow: var(--shadow);
}

.service-doc-meta p {
  margin: 0;
  color: var(--ink-soft);
}

.service-doc-meta p + p {
  margin-top: 0.45rem;
}

.service-doc {
  max-width: 44rem;
}

.service-doc h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  color: var(--terracotta);
  margin: 0 0 1rem;
}

.service-doc p,
.service-doc li {
  color: var(--ink-soft);
}

.service-doc ul,
.service-doc ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.service-doc li + li {
  margin-top: 0.45rem;
}

.service-steps {
  padding-left: 1.5rem;
}

.service-note {
  margin-top: 0.75rem;
  font-size: 0.98rem;
  color: var(--muted);
}

.merchant-card {
  margin-top: 0.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(154, 61, 58, 0.12);
  box-shadow: var(--shadow);
}

.merchant-label {
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: var(--terracotta);
}

.merchant-dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.merchant-dl div {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.merchant-dl dt {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.merchant-dl dd {
  margin: 0;
  color: var(--ink-soft);
}

.merchant-dl a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pay-choices {
  display: grid;
  gap: 0.85rem;
}

.pay-choice {
  display: block;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(154, 61, 58, 0.16);
  background: #fff;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}

.pay-choice strong {
  display: block;
  font-family: var(--font-serif);
  color: var(--terracotta);
  margin-bottom: 0.25rem;
}

.pay-choice span {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.pay-form label {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.pay-form input {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(154, 61, 58, 0.18);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

.pay-error {
  color: #b42318;
  font-weight: 600;
}

.pay-page .lead {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
