@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Zen+Old+Mincho:wght@400;500;600&display=swap");

:root {
  --cream: #faf6f0;
  --blush: #ebe0d8;
  --rose: #c4a094;
  --sage: #8fa898;
  --ink: #3d3832;
  --muted: #8a8278;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", "Noto Sans TC", sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }

.mincho {
  font-family: "Zen Old Mincho", "Noto Serif TC", serif;
  font-weight: 500;
}

/* ── Floating minimal header ── */
.float-header {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(61, 56, 50, 0.08);
  font-size: 0.82rem;
}

.float-header .back {
  color: var(--muted);
  font-weight: 400;
}

.float-header .logo {
  font-family: "Zen Old Mincho", serif;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
}

.float-header nav {
  display: flex;
  gap: 20px;
}

.float-header nav a {
  color: var(--muted);
  font-weight: 400;
}

.float-header nav a:hover {
  color: var(--rose);
}

.float-book {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--white);
  font-weight: 500;
  font-size: 0.78rem;
}

/* ── Centered hero with gradient ── */
.hero-center {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(196, 160, 148, 0.25), transparent),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(143, 168, 152, 0.2), transparent),
    var(--cream);
}

.hero-center .subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
}

.hero-center h1 {
  margin: 20px 0;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.hero-center .lead {
  max-width: 480px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-scroll {
  margin-top: 48px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Blob image band ── */
.blob-band {
  position: relative;
  padding: 0 24px 80px;
  margin-top: -40px;
}

.blob-frame {
  max-width: 680px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(196, 160, 148, 0.25);
}

.blob-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Wave divider ── */
.wave-divider {
  display: block;
  width: 100%;
  height: 80px;
  margin-bottom: -1px;
}

/* ── Stats floating pills ── */
.stat-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0 24px 64px;
}

.stat-pill {
  padding: 20px 28px;
  border-radius: 24px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 4px 24px rgba(61, 56, 50, 0.06);
}

.stat-pill strong {
  display: block;
  font-family: "Zen Old Mincho", serif;
  font-size: 1.6rem;
  color: var(--sage);
}

.stat-pill span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Zigzag classes ── */
.flow-section {
  padding: clamp(64px, 10vw, 120px) 24px;
  background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%);
}

.flow-section header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 64px;
}

.flow-section header h2 {
  margin: 12px 0 0;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.flow-section header p {
  color: var(--muted);
}

.flow-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  max-width: 960px;
  margin: 0 auto 72px;
}

.flow-item.reverse .flow-text {
  order: 2;
}

.flow-item.reverse .flow-visual {
  order: 1;
}

.flow-num {
  font-family: "Zen Old Mincho", serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(196, 160, 148, 0.35);
}

.flow-text h3 {
  margin: 0 0 12px;
  font-family: "Zen Old Mincho", serif;
  font-size: 1.6rem;
}

.flow-text p {
  margin: 0 0 16px;
  color: var(--muted);
}

.flow-text time {
  font-size: 0.82rem;
  color: var(--sage);
  font-weight: 500;
}

.flow-visual {
  aspect-ratio: 1;
  border-radius: 48% 52% 55% 45% / 48% 45% 55% 52%;
  overflow: hidden;
  background: var(--blush);
}

.flow-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Day schedule pills ── */
.schedule-section {
  padding: clamp(64px, 10vw, 100px) 24px;
  text-align: center;
}

.schedule-section h2 {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 40px;
}

.day-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.day-tabs button {
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.day-tabs button.active {
  background: var(--sage);
  color: var(--white);
}

.schedule-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

.schedule-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(61, 56, 50, 0.05);
}

.schedule-card time {
  font-size: 0.78rem;
  color: var(--rose);
  font-weight: 500;
}

.schedule-card h4 {
  margin: 8px 0 4px;
  font-family: "Zen Old Mincho", serif;
  font-size: 1.2rem;
}

.schedule-card span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Philosophy centered ── */
.philosophy {
  padding: clamp(80px, 12vw, 140px) 24px;
  text-align: center;
  background: var(--white);
}

.philosophy blockquote {
  margin: 0 auto;
  max-width: 640px;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.philosophy cite {
  display: block;
  margin-top: 32px;
  font-family: "Outfit", sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}

.philosophy-photo {
  width: 160px;
  height: 160px;
  margin: 48px auto 0;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--blush);
}

.philosophy-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Join banner ── */
.join-banner {
  margin: 0 24px 80px;
  padding: clamp(48px, 8vw, 72px);
  border-radius: 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--rose), var(--sage));
  color: var(--white);
}

.join-banner h2 {
  margin: 8px 0 12px;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.join-banner p {
  margin: 0 0 28px;
  opacity: 0.9;
  max-width: 400px;
  margin-inline: auto;
}

.join-banner a {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
}

.site-footer {
  padding: 32px 24px 48px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .float-header {
    width: calc(100% - 32px);
    gap: 12px;
    padding: 10px 16px;
  }

  .float-header nav {
    display: none;
  }

  .flow-item,
  .flow-item.reverse {
    grid-template-columns: 1fr;
  }

  .flow-item.reverse .flow-text,
  .flow-item.reverse .flow-visual {
    order: unset;
  }

  .flow-visual {
    max-width: 280px;
    margin: 0 auto;
  }
}
