:root {
  --blue-deep: #4a6b85;
  --blue-mid: #7a9bb3;
  --blue-soft: #c3d4de;
  --cream: #faf6ee;
  --cream-deep: #f0e9db;
  --tan: #c9a876;
  --ink: #3a4249;
  --ink-soft: #6b747c;
  --radius: 14px;
  --serif: 'Noto Serif TC', serif;
  --script: 'Caveat', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--blue-deep); }

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

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

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-inner.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cream-deep);
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mark img { height: 40px; width: auto; }
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--blue-deep); }

/* Hero */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at top, var(--blue-soft) 0%, var(--cream) 65%);
  padding: 60px 24px;
}
.hero-inner { max-width: 560px; }
.hero-logo { width: min(320px, 70vw); margin: 0 auto 12px; }
.hero-tagline-en {
  font-family: var(--script);
  font-size: 1.6rem;
  color: var(--blue-deep);
  margin: 8px 0 6px;
}
.hero-tagline-zh {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 8px 20px rgba(74, 107, 133, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(74, 107, 133, 0.3); }
.btn-line {
  background: #06c755;
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.25);
}
.btn-line:hover { transform: translateY(-2px); }

/* About */
.about { background: #fff; text-align: center; }
.about .lead {
  font-size: 1.3rem;
  color: var(--blue-deep);
  font-weight: 500;
}
.about p { color: var(--ink-soft); }

/* Gallery */
.gallery { background: var(--cream); }
.gallery h2, .custom h2, .contact h2 { text-align: center; }
.section-sub {
  text-align: center;
  color: var(--tan);
  letter-spacing: 0.1em;
  margin-top: -8px;
  margin-bottom: 40px;
  font-size: 0.95rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.gallery-item {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(58, 66, 73, 0.08);
  transition: transform 0.25s;
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.gallery-item figcaption {
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}
.gallery-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: 32px;
}

/* Custom steps */
.custom { background: #fff; }
.steps {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.steps li { padding: 0 8px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.steps h3 { margin: 0 0 8px; font-size: 1.1rem; }
.steps p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.swatch-figure {
  margin: 0;
  text-align: center;
}
.swatch-figure img {
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(58, 66, 73, 0.1);
  margin: 0 auto;
}
.swatch-figure figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Contact */
.contact { background: var(--cream-deep); text-align: center; }
.contact p { color: var(--ink-soft); }
.contact-note { font-size: 0.8rem; color: var(--tan); margin-top: 12px; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 40px 24px;
  background: var(--blue-deep);
  color: #e8eef2;
}
.footer-logo {
  height: 32px;
  margin: 0 auto 12px;
  filter: invert(1) brightness(1.6);
}
.site-footer p { margin: 0; font-size: 0.8rem; opacity: 0.85; }

@media (max-width: 640px) {
  .site-nav { display: none; }
  .section-inner { padding: 56px 20px; }
}
