:root {
  --cream: #fcfaf6;
  --paper: #f6efe6;
  --sage: #7f9984;
  --sage-dark: #607866;
  --tea: #dcc8af;
  --tea-deep: #b99e82;
  --blue: #e9f0f2;
  --ink: #484540;
  --muted: #746d65;
  --white: #fffdf9;
  --shadow: 0 24px 80px rgba(91, 78, 61, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 8%, rgba(220,200,175,.20), transparent 26%),
    radial-gradient(circle at 92% 52%, rgba(127,153,132,.11), transparent 28%),
    var(--cream);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.9;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7vw;
  background: rgba(252, 250, 246, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(127, 153, 132, 0.14);
}
.brand {
  font-family: "Noto Serif TC", serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sage-dark);
}
nav { display: flex; gap: 24px; align-items: center; font-size: 14px; }
nav a { color: rgba(72,69,64,.78); }
.nav-cta {
  padding: 8px 18px;
  border: 1px solid var(--sage);
  border-radius: 999px;
  color: var(--sage-dark);
  background: rgba(255,255,255,.44);
}

.section { padding: 120px 7vw; }
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 112px;
  padding-bottom: 72px;
  background-image:
    linear-gradient(90deg, rgba(252,250,246,0.99) 0%, rgba(252,250,246,0.96) 30%, rgba(252,250,246,0.44) 55%, rgba(252,250,246,0.04) 100%),
    url("images/hero-main.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-copy {
  width: min(620px, 92vw);
  padding: 28px 0;
}
.hero h1 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--sage-dark);
  letter-spacing: 0.05em;
}
.subtitle {
  margin: 0 0 22px;
  color: var(--sage-dark);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-text {
  font-size: 18px;
  margin: 0;
  color: #5f5a54;
  line-height: 2.05;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .05em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.primary { color: white; background: var(--sage); box-shadow: 0 14px 30px rgba(127,153,132,.30); }
.primary:hover { background: var(--sage-dark); }
.ghost { color: var(--sage-dark); border: 1px solid rgba(127,153,132,.55); background: rgba(255,255,255,.60); }
.large { min-width: 200px; min-height: 58px; margin-top: 18px; font-size: 17px; }

.section-inner.narrow { max-width: 820px; margin: 0 auto; text-align: center; position: relative; }
.decorated::before,
.decorated::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(127,153,132,.18);
  border-radius: 48% 52% 54% 46%;
  pointer-events: none;
}
.decorated::before { left: -110px; top: 8px; transform: rotate(-18deg); }
.decorated::after { right: -100px; bottom: 0; transform: rotate(22deg); }
h2 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.35;
  margin: 0 0 28px;
  color: var(--sage-dark);
  letter-spacing: .04em;
}
p { font-size: 18px; margin: 0 0 18px; }
.highlight-line { margin-top: 30px; color: var(--sage-dark); font-weight: 700; }
.story { background: linear-gradient(180deg, var(--paper), #faf4ec); }

.voice { background: var(--blue); }
.voice-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px);
  border-radius: 38px;
  background: rgba(255,253,249,.76);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(10px);
}
blockquote {
  margin: 24px 0 28px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--sage-dark);
  letter-spacing: .04em;
}
.moods { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 0 0 30px; }
.moods span, .stats span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--sage-dark);
  font-size: 14px;
  border: 1px solid rgba(127,153,132,.22);
}

.section-title { text-align: center; max-width: 900px; margin: 0 auto 50px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  padding: 36px;
  border-radius: 30px;
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow);
  min-height: 318px;
  border: 1px solid rgba(255,255,255,.78);
  backdrop-filter: blur(8px);
}
.featured-card { background: rgba(255,253,249,.92); }
.icon { font-size: 34px; margin-bottom: 18px; }
h3 {
  margin: 0 0 14px;
  font-family: "Noto Serif TC", serif;
  font-size: 24px;
  color: var(--sage-dark);
}
.card p, .timeline p, .teacher-copy p { font-size: 16px; color: var(--muted); }
.card p { margin: 0 0 12px; }

.flow { background: var(--cream); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.timeline div {
  padding: 28px 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(220,200,175,.45);
}
.timeline strong { color: var(--tea-deep); font-family: "Noto Serif TC", serif; font-size: 28px; }
.timeline h3 { font-size: 20px; }

.teacher {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 58px;
  align-items: center;
  background: #f3e8d9;
}
.teacher-photo img {
  border-radius: 32px;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.role { color: var(--sage-dark) !important; font-weight: 700; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.works {
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(127,153,132,.18);
}
.works h3 { font-size: 22px; margin-bottom: 12px; }
.works ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.works li { margin: 0 0 3px; }

.info { background: var(--sage); color: #fff; }
.info-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px;
  border-radius: 38px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 24px 80px rgba(0,0,0,.1);
}
.info h2, .light { color: #fff; }
dl { margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
dt { font-size: 14px; opacity: .75; }
dd { margin: 0; font-size: 22px; font-weight: 700; }

.cta { text-align: center; }
.cta h2 { margin-bottom: 26px; }
.cta p { margin-bottom: 8px; }
.note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.floating-line {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 116px;
  height: 72px;
  border-radius: 999px;
  color: #fff;
  background: var(--sage);
  box-shadow: 0 16px 36px rgba(96,120,102,.28);
  border: 1px solid rgba(255,255,255,.46);
  letter-spacing: .04em;
}
.floating-line span { font-size: 13px; opacity: .92; line-height: 1.2; }
.floating-line strong { font-size: 16px; line-height: 1.2; }
.floating-line:hover { transform: translateY(-2px); background: var(--sage-dark); }
.site-footer { padding: 34px 7vw; text-align: center; background: var(--paper); color: var(--muted); }
.site-footer p { margin: 0 0 6px; font-size: 14px; }
.site-footer p:last-child { margin-bottom: 0; }

@media (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .site-header { position: static; align-items: flex-start; gap: 10px; }
  nav { display: none; }
  .section { padding: 82px 6vw; }
  .hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 60vh;
    background-image:
      linear-gradient(180deg, rgba(252,250,246,0.98) 0%, rgba(252,250,246,0.95) 44%, rgba(252,250,246,0.30) 72%, rgba(252,250,246,0.04) 100%),
      url("images/hero-main.png");
    background-position: 67% bottom;
  }
  .hero h1 { font-size: 48px; }
  .hero-copy { width: 100%; }
  .cards, .teacher, dl { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .teacher { gap: 32px; }
  .decorated::before, .decorated::after { display: none; }
  .info-card { padding: 38px 28px; }
  dd { font-size: 20px; }
}

@media (max-width: 560px) {
  .floating-line { right: 14px; bottom: 14px; width: 104px; height: 64px; }
  .brand { font-size: 14px; }
  .hero h1 { font-size: 42px; }
  .subtitle { font-size: 17px; }
  .hero-text, p { font-size: 16px; }
  .button { width: 100%; }
  .hero-actions { gap: 10px; }
  h2 { font-size: 30px; }
  blockquote { font-size: 28px; }
  .card { padding: 28px; }
}
