/* ==============================================
   蝜 BLOSSOM AGENT ??Stylesheet
   皞怠??? 繚 瘞?釭憸?繚 ?圈?暺?
   ============================================== */

:root {
  --ink:    #3f3435;
  --ink-2:  #5b4848;
  --muted:  #7f6e6c;
  --paper:  #fbf5ef;
  --cream:  #f6ebe1;
  --blush:  #ecccc6;
  --rose:   #c47a7a;
  --rose-d: #9a4a4f;
  --sage:   #9fb39a;
  --moss:   #5e7659;
  --plum:   #7d4f64;
  --seal:   #a93538;
  --gold:   #b89865;
  --line:   rgba(86, 62, 62, 0.14);
  --shadow: 0 24px 70px rgba(81, 54, 50, 0.14);
  --shadow-soft: 0 10px 30px rgba(81, 54, 50, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Garamond Premier", "一點明體", serif;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

/* ============== ?梁?? ============== */

h1, h2, h3, h4, blockquote {
  margin: 0;
  font-family: "Garamond Premier", "一點明體", serif;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.08em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.06em;
}

h3 { font-size: 1.32rem; font-weight: 600; letter-spacing: 0.04em; }

p { margin: 0; }

.eyebrow, .section-kicker {
  margin: 0 0 14px;
  color: var(--seal);
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

/* 區塊標籤（VIDEO / PHILOSOPHY / CALCULATOR / FAQ…）統一置中、粗體 */
.section-kicker {
  text-align: center;
  font-weight: 700;
}

.section-inner {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.section-band {
  padding: clamp(90px, 11vw, 150px) clamp(20px, 5vw, 76px);
  background: var(--paper);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}

.section-heading p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ============== ?撠汗 ============== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 245, 239, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 245, 239, 0.96);
  box-shadow: 0 1px 20px rgba(81, 54, 50, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Garamond Premier", "一點明體", serif;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--seal);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(169, 53, 56, 0.28);
}

.brand-en {
  color: var(--ink-2);
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 400;
}

.site-nav .video-shortcut {
  background: linear-gradient(180deg, var(--seal) 0%, var(--rose) 100%);
  color: #fff;
  padding: 8px 12px;
  border-radius: 3px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 200ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--seal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover { color: var(--seal); }
.site-nav a:hover::after { transform: scaleX(1); }

.site-nav .nav-cta {
  padding: 9px 18px;
  color: #fff;
  background: var(--seal);
  border-radius: 2px;
  letter-spacing: 0.08em;
}
.site-nav .nav-cta:hover { background: var(--rose-d); color: #fff; }
.site-nav .nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.4px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

/* ============== 蝚砌??嚗ero ============== */

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 140px clamp(20px, 5vw, 80px) 100px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(236, 204, 198, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(196, 184, 144, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, #fbf5ef 0%, #f6ebe1 60%, #f3e3d3 100%);
}

/* === Hero ?望?嚗?隞???祉??祕?抒?嚗?=== */
.hero-bouquet {
  position: absolute;
  right: clamp(-20px, 3vw, 60px);
  top: 50%;
  z-index: -1;
  width: clamp(280px, 38vw, 460px);
  pointer-events: none;
  filter: drop-shadow(0 24px 40px rgba(122, 31, 34, 0.18));
  transform-origin: 50% 95%;
  animation: bouquetSway 6s ease-in-out infinite alternate;
}

.hero-bouquet svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes bouquetSway {
  0%   { transform: translateY(-50%) rotate(-1.2deg); }
  100% { transform: translateY(-50%) rotate(1.2deg); }
}

.hero-bouquet .flower-main {
  transform-box: fill-box;
  transform-origin: center;
  animation: bouquetMainPulse 5s ease-in-out infinite;
}

@keyframes bouquetMainPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

/* ?梁憌 */
.hero-petals {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-petals span {
  position: absolute;
  top: -10%;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 30% 30%, #fff0ed 0%, #f0c1bd 60%, #d99592 100%);
  border-radius: 70% 0 70% 0;
  opacity: 0;
  animation: petalFall linear infinite;
}

.hero-petals span:nth-child(1) { left: 8%;  animation-duration: 14s; animation-delay: 0s;   }
.hero-petals span:nth-child(2) { left: 18%; animation-duration: 17s; animation-delay: 3s;   }
.hero-petals span:nth-child(3) { left: 32%; animation-duration: 19s; animation-delay: 6s;   }
.hero-petals span:nth-child(4) { left: 46%; animation-duration: 15s; animation-delay: 1.5s; }
.hero-petals span:nth-child(5) { left: 58%; animation-duration: 21s; animation-delay: 4.2s; }
.hero-petals span:nth-child(6) { left: 70%; animation-duration: 16s; animation-delay: 7s;   }
.hero-petals span:nth-child(7) { left: 82%; animation-duration: 18s; animation-delay: 2.4s; }
.hero-petals span:nth-child(8) { left: 92%; animation-duration: 20s; animation-delay: 5.6s; }

@keyframes petalFall {
  0%   { transform: translateY(0) translateX(0) rotate(0); opacity: 0; }
  8%   { opacity: 0.7; }
  100% { transform: translateY(110vh) translateX(80px) rotate(540deg); opacity: 0; }
}

.hero-content {
  align-self: center;
  width: min(640px, 100%);
}

.hero-video {
  display: grid;
  position: absolute;
  top: 50%;
  right: clamp(16px, 3vw, 72px);
  width: min(340px, 34vw);
  max-width: 380px;
  gap: 20px;
  transform: translateY(-50%);
  z-index: 1;
}

.hero-video-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 250, 246, 0.9);
  border: 1px solid rgba(169, 53, 56, 0.16);
  box-shadow: 0 24px 54px rgba(81, 54, 50, 0.12);
  opacity: 0.6;
  transform: scale(0.97);
  transition: opacity 240ms ease, transform 240ms ease;
}

.hero-video-card.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-video-preview {
  position: relative;
  min-height: 180px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(196, 74, 74, 0.08)),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), transparent 36%);
}

.hero-video-plate {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,74,74,0.12), rgba(255,255,255,0.04));
}

.hero-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.28);
}

.hero-video-card-body {
  display: grid;
  gap: 14px;
}

.video-chip {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-video-card-body h4 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.hero-video-card-body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.75;
}

.hero-video-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-video-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(169, 53, 56, 0.28);
  border: 1px solid rgba(169, 53, 56, 0.16);
  cursor: pointer;
}

.hero-video-dot.is-active {
  background: var(--seal);
}

.hero-content .eyebrow {
  font-family: "Garamond Premier", "一點明體", serif;
  letter-spacing: 0.4em;
}

#hero-title {
  margin: 18px 0 28px;
  color: #3a2a2c;
}

.title-line { display: block; }
.title-line:nth-child(2) { color: var(--seal); font-style: italic; font-family: "Garamond Premier", "一點明體", serif; }

.hero-copy {
  max-width: 560px;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 400;
  line-height: 1.9;
}

.hero-story {
  margin: 32px 0 0;
  max-width: 580px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.95;
}
.hero-story p + p { margin-top: 14px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  border-radius: 2px;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--seal);
  border: 1px solid var(--seal);
  box-shadow: 0 8px 22px rgba(169, 53, 56, 0.22);
}

.button.primary:hover {
  transform: translateY(-2px);
  background: var(--rose-d);
  box-shadow: 0 12px 30px rgba(169, 53, 56, 0.32);
}

.button.ghost {
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--ink-2);
}
.button.ghost:hover {
  background: var(--ink-2);
  color: #fff;
}

/* ===== ?圈?嚗ero ?喃?嚗?===== */
.seal {
  position: absolute;
  right: clamp(28px, 6vw, 100px);
  bottom: clamp(60px, 9vw, 110px);
  z-index: 2;
  pointer-events: none;
  animation: sealIn 1.4s cubic-bezier(.18,.9,.3,1.2) .4s both;
}

@keyframes sealIn {
  0%   { opacity: 0; transform: rotate(-12deg) scale(0.5); }
  60%  { opacity: 1; transform: rotate(-3deg) scale(1.08); }
  100% { opacity: 1; transform: rotate(-5deg) scale(1); }
}

.seal-frame {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  width: clamp(130px, 16vw, 180px);
  aspect-ratio: 1;
  padding: 18px 14px;
  background: var(--seal);
  color: #fdf4ed;
  font-family: "Garamond Premier", "一點明體", serif;
  text-align: center;
  box-shadow:
    inset 0 0 0 3px #fdf4ed,
    inset 0 0 0 5px var(--seal),
    0 14px 28px rgba(81, 24, 26, 0.32);
  /* ?唳野鞈芣? */
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,0,0,0.18) 0, transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.12) 0, transparent 35%),
    radial-gradient(circle at 60% 30%, rgba(255,255,255,0.08) 0, transparent 25%);
}

.seal-frame::before, .seal-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.seal-frame::after {
  /* ?圈?蝤冽?蝝? */
  background-image:
    radial-gradient(circle at 15% 80%, rgba(253, 244, 237, 0.4) 0, transparent 6%),
    radial-gradient(circle at 85% 20%, rgba(253, 244, 237, 0.3) 0, transparent 5%),
    radial-gradient(circle at 45% 60%, rgba(253, 244, 237, 0.25) 0, transparent 4%);
  mix-blend-mode: overlay;
  opacity: 0.7;
}

.seal-zh {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  writing-mode: vertical-rl;
  letter-spacing: 0.18em;
}

.seal-en {
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  writing-mode: vertical-rl;
}

/* 皛??內 */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 40px;
  border: 1px solid rgba(169, 53, 56, 0.5);
  border-radius: 12px;
  opacity: 0.6;
}

.scroll-cue span {
  display: block;
  width: 3px;
  height: 7px;
  background: var(--seal);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(-5px); opacity: 0.4; }
  50%      { transform: translateY(5px);  opacity: 1; }
}

/* ============== 蝚砌??嚗?敹?============== */

.philosophy {
  position: relative;
  padding: clamp(100px, 12vw, 160px) clamp(20px, 5vw, 76px);
  background:
    radial-gradient(circle at 20% 30%, rgba(236, 204, 198, 0.35), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(159, 179, 154, 0.25), transparent 50%),
    #f8efe7;
  overflow: hidden;
}

.philo-decor {
  position: absolute;
  width: 200px;
  height: 200px;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at center, var(--seal) 0%, transparent 40%);
}
.philo-decor-l { top: 14%; left: -60px; }
.philo-decor-r { bottom: 14%; right: -60px; }

.quote-panel {
  width: min(800px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-quote {
  position: relative;
  /* 白色文字方塊：間距隨裝置寬度流體縮放，手機與電腦皆能自適配 */
  width: 100%;
  margin: clamp(22px, 4vw, 32px) 0;
  padding: clamp(22px, 4.5vw, 36px) clamp(20px, 5vw, 44px);
  font-family: "Garamond Premier", "一點明體", serif;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(169, 53, 56, 0.12);
  border-radius: clamp(6px, 1.2vw, 10px);
  box-shadow: 0 6px 18px rgba(81, 54, 50, 0.06);
}

.qmark {
  position: absolute;
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  color: var(--seal);
  opacity: 0.35;
  line-height: 1;
}
.qmark-l { top: -10px; left: -10px; }
.qmark-r { bottom: -40px; right: -10px; }

.qline {
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.1em;
}

.qline-em {
  margin-top: 8px;
  color: var(--seal);
  font-style: italic;
  font-weight: 600;
}

.quote-author {
  margin: 20px 0 0;
  color: var(--muted);
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
}

.quote-sub {
  max-width: 580px;
  margin: 34px auto 0;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
  border-top: 1px solid rgba(169, 53, 56, 0.18);
}

/* 公司理念下方：「詳細理念與培育流程」按鍵 */
.philo-cta {
  width: min(760px, 100%);
  margin: clamp(40px, 5.5vw, 72px) auto 0;
  text-align: center;
}

/* ============== 蝚砌??嚗蝐?============== */

.flowers {
  background: linear-gradient(180deg, var(--paper) 0%, #f5ede4 100%);
}

/* ============== 花環：六花選取盤 ============== */
.flower-wheel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
}

/* 圓形花環 */
.flower-ring {
  position: relative;
  width: clamp(300px, 42vw, 460px);
  aspect-ratio: 1;
}

/* 中央軌道圓圈（裝飾） */
.ring-orbit {
  position: absolute;
  inset: clamp(48px, 7vw, 78px);
  border: 1px solid rgba(86, 62, 62, 0.22);
  border-radius: 50%;
  pointer-events: none;
}
.ring-orbit::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(86, 62, 62, 0.12);
  border-radius: 50%;
}

/* 環繞節點：以 --angle 與 --radius 沿圓周分布 */
.petal-node {
  --radius: clamp(120px, 17vw, 188px);
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(84px, 12vw, 116px);
  height: clamp(84px, 12vw, 116px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(86, 62, 62, 0.18);
  border-radius: 50%;
  background: var(--node-bg, #f1d5d3);
  cursor: pointer;
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translateY(calc(-1 * var(--radius)))
    rotate(calc(-1 * var(--angle)));
  box-shadow: 0 10px 26px rgba(81, 54, 50, 0.14);
  transition: box-shadow 280ms ease, border-color 280ms ease, filter 280ms ease;
}

.petal-node:hover,
.petal-node:focus-visible {
  outline: none;
  border-color: var(--node-color);
  box-shadow: 0 14px 34px rgba(81, 54, 50, 0.24);
  filter: saturate(1.08);
  z-index: 3;
}

.petal-node[aria-selected="true"] {
  border-color: var(--node-color);
  box-shadow:
    0 0 0 3px var(--node-bg),
    0 0 0 4px var(--node-color),
    0 16px 36px rgba(81, 54, 50, 0.26);
  z-index: 4;
}

.petal-icon {
  width: clamp(46px, 6.5vw, 62px);
  height: clamp(46px, 6.5vw, 62px);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08));
}
.petal-icon svg { width: 100%; height: 100%; display: block; }

.petal-tag {
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: clamp(0.66rem, 1.1vw, 0.8rem);
  letter-spacing: 0.14em;
  color: var(--node-color);
}

/* 中央：探索花型測驗按鍵 */
.wheel-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(118px, 17vw, 168px);
  height: clamp(118px, 17vw, 168px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 50%;
  background: var(--seal);
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(169, 53, 56, 0.3);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
  z-index: 5;
}
.wheel-cta:hover,
.wheel-cta:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--rose-d);
  box-shadow: 0 18px 40px rgba(169, 53, 56, 0.4);
  outline: none;
}
.wheel-cta-label {
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: clamp(0.95rem, 1.7vw, 1.18rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.wheel-cta-sub {
.n/a {}
}
.wheel-cta-sub {
  font-size: clamp(0.52rem, 0.9vw, 0.64rem);
  letter-spacing: 0.28em;
  opacity: 0.82;
}

/* ===== Flower video toggler (petal-shaped video previews) ===== */
.flower-video {
  position: fixed;
  right: 22px;
  top: 40%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  pointer-events: auto;
}
.flower-toggle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--seal);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(169,53,56,0.28);
  display: grid;
  place-items: center;
}
.flower-petals {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  pointer-events: none;
}
.flower-petals .petal {
  position: absolute;
  width: 160px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg,#fff,#f8f2ef);
  box-shadow: 0 18px 40px rgba(81,54,50,0.12);
  transform: translate(0,0) scale(0.36) rotate(0deg);
  opacity: 0;
  transition: transform 420ms cubic-bezier(.2,.9,.25,1), opacity 220ms ease;
  pointer-events: auto;
}
.flower.open .flower-petals { pointer-events: auto; }
.flower.open .petal { opacity: 1; }

/* positions when opened (6 petals) */
.flower.open .petal:nth-child(1) { transform: translate(-14px,-168px) rotate(-12deg) scale(1); }
.flower.open .petal:nth-child(2) { transform: translate(-122px,-92px) rotate(-28deg) scale(1); }
.flower.open .petal:nth-child(3) { transform: translate(-122px,30px) rotate(-50deg) scale(1); }
.flower.open .petal:nth-child(4) { transform: translate(-14px,120px) rotate(-78deg) scale(1); }
.flower.open .petal:nth-child(5) { transform: translate(96px,30px) rotate(78deg) scale(1); }
.flower.open .petal:nth-child(6) { transform: translate(96px,-92px) rotate(32deg) scale(1); }

.petal video,
.petal .petal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* small screens: reduce size */
@media (max-width: 720px) {
  .flower-video { right: 12px; top: auto; bottom: 110px; }
  .flower-petals .petal { width: 132px; height: 80px; }
}

/* ===== Horizontal video carousel under homepage ===== */
.video-carousel-section .video-head { max-width: 680px; margin: 0 auto 18px; text-align: center; }
.video-carousel-frame {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  padding: 0 36px;
}
.video-carousel-frame::before,
.video-carousel-frame::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  width: 22%;
  pointer-events: none;
  z-index: 2;
}
.video-carousel-frame::before {
  left: 0;
  background: linear-gradient(90deg, rgba(251, 245, 239, 0.96) 0%, rgba(251, 245, 239, 0.2) 45%, transparent 100%);
}
.video-carousel-frame::after {
  right: 0;
  background: linear-gradient(270deg, rgba(251, 245, 239, 0.96) 0%, rgba(251, 245, 239, 0.2) 45%, transparent 100%);
}
.video-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 18px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.video-carousel::-webkit-scrollbar { display: none; }
.video-slide {
  flex: 0 0 min(48vw, 280px);
  scroll-snap-align: center;
  border-radius: 18px;
  background: rgba(255,250,246,0.92);
  border: 1px solid rgba(169,53,56,0.12);
  box-shadow: 0 18px 40px rgba(81,54,50,0.08);
  padding: 12px;
  display: grid;
  gap: 12px;
}
.carousel-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--rose-d);
  font-size: 1.8rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(81,54,50,0.12);
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
  z-index: 3;
}
.carousel-control:hover,
.carousel-control:focus-visible {
  transform: translateY(-50%) scale(1.05);
  background: #fff;
  color: var(--seal);
  outline: none;
}
.carousel-control:focus-visible { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8); }
.carousel-control-prev { left: 8px; }
.carousel-control-next { right: 8px; }
.video-carousel-indicators {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 18px;
}
.carousel-indicator {
  width: auto;
  min-width: 34px;
  height: auto;
  padding: 6px 8px;
  background: transparent;
  color: #d6344f;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 240ms ease, color 240ms ease, text-shadow 240ms ease;
}
.carousel-indicator.is-active {
  transform: scale(1.24);
  color: #ff425b;
  text-shadow: 0 0 12px rgba(255, 66, 91, 0.35);
}
.carousel-indicator:hover,
.carousel-indicator:focus-visible {
  transform: scale(1.3);
  color: #ff2b4b;
  outline: none;
}
@media (max-width: 920px) {
  .video-slide { flex: 0 0 56%; }
}
@media (max-width: 720px) {
  .video-slide { flex: 0 0 70%; }
  .video-carousel { gap: 14px; padding: 14px 6px; }
  .carousel-video { aspect-ratio: 9 / 16; }
  .video-carousel::-webkit-scrollbar { height: 8px; }
}
@media (max-width: 520px) {
  .video-slide { flex: 0 0 82%; padding: 10px; }
  .carousel-video { aspect-ratio: 9 / 16; }
}

.wheel-cta-sub {
  font-size: clamp(0.52rem, 0.9vw, 0.64rem);
  letter-spacing: 0.28em;
  opacity: 0.82;
}

/* 下方長方形：花名與敘述顯示區 */
.flower-display {
  position: relative;
  width: min(640px, 100%);
  min-height: 220px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(86, 62, 62, 0.16);
  border-top: 3px solid var(--node-color, var(--rose));
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  transition: border-color 320ms ease;
}

.display-hint {
  margin: 0;
  color: var(--muted);
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  line-height: 2;
}

.display-card {
  animation: displayIn 420ms cubic-bezier(.18,.9,.3,1.05) both;
}
.display-card[hidden] { display: none; }

@keyframes displayIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.display-num {
  margin: 0 0 6px;
  color: var(--node-color);
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
}
.display-name {
  margin: 0 0 4px;
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--node-color);
}
.display-en {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "Garamond Premier", "一點明體", serif;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
}
.display-lang {
  margin: 0 auto 18px;
  padding: 9px 18px;
  display: inline-block;
  color: var(--ink-2);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.display-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 2;
}

/* === 舊書籤樣式（保留隱藏，避免其他引用報錯） === */
.bookmark-grid { display: none; }

/* ?貊惜?垢蝺葆 */
.bm-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 18px;
  background: var(--bm-color);
  transform: translateX(-50%);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.bm-flower {
  width: 76px;
  height: 76px;
  margin: 8px auto 18px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
}

.bm-num {
  margin: 0 0 6px;
  color: var(--bm-color);
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.92rem;
  letter-spacing: 0.3em;
  text-align: center;
}

.flower-name {
  margin: 0 0 6px;
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--bm-color);
  text-align: center;
}

.flower-en {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: "Garamond Premier", "一點明體", serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-align: center;
}

.flower-lang {
  margin: 0 4px 16px;
  padding: 8px 6px;
  color: var(--ink-2);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.flower-desc {
  margin: 0 2px;
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.85;
  text-align: center;
}

/* ?貊惜摨撠? + 瘚? */
.bm-tassel {
  margin-top: auto;
  position: relative;
  height: 60px;
}

.bm-tassel::before {
  /* V ?撩??*/
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 26px;
  background: var(--paper);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.flowers .bm-tassel::before {
  background: linear-gradient(180deg, var(--paper) 50%, #f5ede4 100%);
}

.bm-tassel::after {
  /* 瘚?蝜?*/
  content: "";
  position: absolute;
  left: 50%;
  top: 26px;
  width: 2px;
  height: 18px;
  background: var(--bm-color);
  transform: translateX(-50%);
}

/* 瘚?蝜拇蝡舐?撠?嚗?? transform-origin ?垢嚗?*/
.bm-tassel::after {
  transform-origin: top center;
  border-radius: 0 0 50% 50%;
  box-shadow: 0 16px 0 -3px var(--bm-color);
}

.bookmark:hover .bm-tassel::after {
  animation: tasselSway 1.6s ease-in-out infinite;
}

@keyframes tasselSway {
  0%, 100% { transform: translateX(-50%) rotate(-5deg); }
  50%      { transform: translateX(-50%) rotate(5deg); }
}

/* ============== 蝚砍? / 蝚砍?嚗?雿?============== */

.placeholder {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 76px);
  background:
    radial-gradient(circle at 15% 30%, rgba(236, 204, 198, 0.2), transparent 45%),
    #faf2e9;
}

.placeholder.soft {
  background:
    radial-gradient(circle at 85% 70%, rgba(159, 179, 154, 0.18), transparent 45%),
    #f6f1e8;
}

.placeholder-inner {
  position: relative;
  display: grid;
  min-height: 240px;
  align-content: center;
  justify-items: center;
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed rgba(169, 53, 56, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.4);
}

.placeholder-inner p:last-of-type {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.96rem;
  letter-spacing: 0.1em;
}

.partners-actions {
  margin-top: 26px;
}

.placeholder-mark {
  margin-top: 22px;
  color: var(--seal);
  font-size: 2.2rem;
  opacity: 0.6;
}

/* ============== 蝚砌??嚗??曹???============== */

.journey { position: relative; }

.journey-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

/* ??蝺?*/
.journey-steps::before {
  content: "";
  position: absolute;
  top: 78px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    rgba(169, 53, 56, 0.4) 0 6px,
    transparent 6px 14px
  );
}

.journey-steps article {
  position: relative;
  padding: 36px 26px 36px;
  background: #fffaf3;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.journey-steps article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(81, 54, 50, 0.14);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 10px;
  background: var(--cream);
  border-radius: 50%;
  border: 1px solid rgba(169, 53, 56, 0.18);
  position: relative;
  z-index: 1;
}

.step-icon svg { width: 50px; height: 50px; }

.step-num {
  display: block;
  margin: 18px 0 6px;
  color: var(--seal);
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 2.4rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.1em;
}

.journey-steps h3 {
  margin: 0 0 6px;
  font-size: 1.36rem;
  text-align: center;
  letter-spacing: 0.16em;
}

.step-tag {
  margin: 0 0 24px;
  color: var(--gold);
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.86rem;
  letter-spacing: 0.32em;
  text-align: center;
}

.journey-steps ul {
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px dashed rgba(169, 53, 56, 0.2);
}

.journey-steps li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.8;
}

.journey-steps li::before {
  content: "??;
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--seal);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ============== 蝚砌??嚗AQ ============== */

.faq .split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* 左側敘述欄文字置中（不含右側問答互動窗） */
.faq .split > div:first-child { text-align: center; }

.faq h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.45;
}

.faq-intro {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 2;
}

.faq-list { display: block; }

/* ===== 問答互動窗（與 faq-demo 一致） ===== */
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s ease;
}

.faq-item.open {
  border-bottom-color: var(--ink);
}

/* 問題標題列 */
.faq-question {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: "Garamond Premier", "一點明體", serif;
  transition: padding-left 0.4s ease;
}

.faq-question:hover {
  padding-left: 0.5rem;
}

/* 花苞/花朵 icon */
.faq-icon {
  width: 20px;
  height: 20px;
  color: #8a6e44;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon .bud { opacity: 1; transition: opacity 0.4s ease; }
.faq-icon .bloom { opacity: 0; transition: opacity 0.4s ease; }

.faq-item.open .faq-icon {
  color: var(--seal);
  transform: rotate(360deg);
}

.faq-item.open .faq-icon .bud { opacity: 0; }
.faq-item.open .faq-icon .bloom { opacity: 1; }

/* 「問」字裝飾 */
.faq-q-mark {
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-q-mark::after {
  content: '・';
  color: var(--gold);
}

.faq-q-text {
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.faq-item.open .faq-q-text {
  color: var(--seal);
  font-weight: 500;
}

/* 答案區（折疊） */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1.5rem;
  padding: 0 0 2rem 0;
}

/* 答案的左側朱紅縮排線 */
.faq-answer-line {
  border-left: 1px solid var(--seal);
  height: 100%;
  margin-left: 9px;
}

.faq-answer-content {
  padding-left: 0.5rem;
}

.faq-a-mark {
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.85rem;
  color: var(--seal);
  letter-spacing: 0.3em;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-a-mark::after { content: '・'; }

.faq-a-text {
  font-size: 0.92rem;
  line-height: 2;
  color: var(--ink-2);
}

.faq-a-text p { margin: 0 0 0.6rem; }
.faq-a-text p:last-child { margin-bottom: 0; }

/* ===== 延伸通道：通往完整常見問答頁 ===== */
.faq-more {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 22px 26px;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(120deg, rgba(184, 152, 101, 0.10), rgba(255, 255, 255, 0.42));
  border: 1px solid rgba(169, 53, 56, 0.16);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.faq-more::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(169, 53, 56, 0.07), transparent 62%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.faq-more:hover,
.faq-more:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(169, 53, 56, 0.34);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.faq-more:hover::before,
.faq-more:focus-visible::before { opacity: 1; }

.faq-more-rule {
  flex: 0 0 auto;
  width: 2px;
  height: 42px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--seal), var(--gold));
}

.faq-more-text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}

.faq-more-kicker {
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.faq-more-title {
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.faq-more-arrow {
  position: relative;
  flex: 0 0 auto;
  font-size: 1.2rem;
  color: var(--seal);
  transition: transform 220ms ease;
}

.faq-more:hover .faq-more-arrow,
.faq-more:focus-visible .faq-more-arrow { transform: translateX(6px); }

/* ============== 蝚砍?嚗蝯?============== */

.contact {
  position: relative;
  padding: clamp(90px, 11vw, 150px) clamp(20px, 5vw, 76px);
  background:
    linear-gradient(180deg, rgba(251, 245, 239, 0.25), rgba(251, 245, 239, 0.92)),
    url("assets/hero-floral.png") center 30% / cover;
}

.contact-panel {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 70px);
  background: rgba(255, 250, 244, 0.92);
  border-radius: 6px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  text-align: center;
}

.contact-panel > p {
  margin: 12px auto 36px;
  max-width: 520px;
  color: var(--muted);
}

.contact-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
}

.contact-card {
  position: relative;
  display: grid;
  align-content: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  min-height: 140px;
  padding: 22px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(169, 53, 56, 0.15);
  border-radius: 4px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--seal);
  box-shadow: var(--shadow-soft);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 4px;
  color: #fff;
  background: var(--seal);
  border-radius: 50%;
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contact-label {
  color: var(--ink-2);
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.contact-value {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: italic;
  letter-spacing: 0.06em;
}

/* ============== ?偏 ============== */

.site-footer {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 60px clamp(20px, 5vw, 76px) 40px;
  color: #7b6968;
  background: #2b1f1f;
  color: #d8c5c1;
  text-align: center;
}

.footer-seal { transform: scale(0.7); }

.seal-mini {
  background-image: none !important;
  width: 100px;
  padding: 12px;
}

.seal-mini .seal-zh { font-size: 1.6rem; }
.seal-mini .seal-en { font-size: 0.5rem; }

.footer-tagline {
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  color: #ecd9d5;
}

.footer-copy {
  color: #8a7572;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
}

/* ============== 皛曉??脣? ============== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(.18,.9,.3,1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* hero ?身銝? */
.hero [data-reveal] {
  opacity: 1;
  transform: none;
  animation: heroIn 1.2s cubic-bezier(.18,.9,.3,1) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ?貊惜?航撱園 */
.bookmark[data-reveal]:nth-child(1) { transition-delay: 0ms; }
.bookmark[data-reveal]:nth-child(2) { transition-delay: 80ms; }
.bookmark[data-reveal]:nth-child(3) { transition-delay: 160ms; }
.bookmark[data-reveal]:nth-child(4) { transition-delay: 240ms; }
.bookmark[data-reveal]:nth-child(5) { transition-delay: 320ms; }
.bookmark[data-reveal]:nth-child(6) { transition-delay: 400ms; }

.journey-steps article[data-reveal]:nth-child(1) { transition-delay: 0ms; }
.journey-steps article[data-reveal]:nth-child(2) { transition-delay: 120ms; }
.journey-steps article[data-reveal]:nth-child(3) { transition-delay: 240ms; }
.journey-steps article[data-reveal]:nth-child(4) { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============== RWD ============== */

@media (max-width: 1100px) {
  .bookmark-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
  .bookmark:nth-child(even) { transform: translateY(20px); }
  .bookmark:nth-child(4), .bookmark:nth-child(6) { transform: translateY(20px); }
  .bookmark:nth-child(5) { transform: translateY(0); }

  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .journey-steps::before { display: none; }

  .contact-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 76px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    background: rgba(251, 245, 239, 0.98);
    border-radius: 4px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 12px 6px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav .nav-cta { text-align: center; margin-top: 8px; }

  .nav-toggle { display: block; }

  .hero {
    min-height: 90vh;
    padding: 124px 20px 120px;
  }
  .hero-bouquet {
    right: -8%;
    width: 60vw;
    opacity: 0.32;
    filter: drop-shadow(0 16px 26px rgba(122, 31, 34, 0.1));
  }
  .seal {
    right: 22px;
    bottom: 36px;
  }

  .faq .split { grid-template-columns: 1fr; }

  .faq-question { grid-template-columns: 24px 1fr; gap: 1rem; }
  .faq-q-mark { display: none; }
  .faq-q-text { font-size: 0.95rem; }
  .faq-answer-inner { grid-template-columns: 24px 1fr; gap: 1rem; }
}

@media (max-width: 700px) {
  body { line-height: 1.8; }

  h1 { font-size: clamp(2.4rem, 10vw, 3.8rem); }

  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }
  .brand { gap: 10px; }
  .brand-mark { width: 40px; height: 40px; font-size: 0.96rem; }
  .brand-en { font-size: 0.74rem; }

  .site-nav { top: 64px; }

  .hero {
    min-height: 100svh;
    padding: 108px 18px 140px;
  }
  .hero-bouquet {
    right: -18%;
    width: 80vw;
    opacity: 0.22;
  }

  .hero-actions { display: grid; gap: 12px; }
  .button { width: 100%; }

  .seal {
    right: 18px;
    bottom: 22px;
  }
  .seal-frame { width: 108px; padding: 14px 10px; }
  .seal-zh { font-size: 2rem; }
  .seal-en { font-size: 0.56rem; }

  .section-band, .placeholder, .contact, .philosophy {
    padding: 68px 18px;
  }

  .flower-ring { width: min(90vw, 330px); }
  .petal-node {
    --radius: clamp(96px, 30vw, 112px);
    width: clamp(72px, 22vw, 88px);
    height: clamp(72px, 22vw, 88px);
  }
  .petal-icon { width: clamp(40px, 12vw, 50px); height: clamp(40px, 12vw, 50px); }
  .wheel-cta { width: 116px; height: 116px; }

  .qline { font-size: clamp(1.3rem, 5vw, 1.9rem); }

  .bookmark-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0;
  }
  .bookmark,
  .bookmark:nth-child(even),
  .bookmark:nth-child(odd) {
    transform: none !important;
    min-height: auto;
  }

  .journey-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-slots {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 36px 22px;
  }

  details p {
    padding: 0 22px 22px 52px;
  }

  summary {
    padding: 18px 20px;
    gap: 14px;
    font-size: 0.98rem;
  }
}

/* ?圈? hover (only desktop) */
@media (hover: hover) {
  .seal:hover .seal-frame {
    transform: rotate(-3deg) scale(1.04);
    transition: transform 300ms ease;
  }
}

/* ============== 瘚桀??舐窗?? ============== */

.contact-float {
  position: fixed;
  right: clamp(18px, 3vw, 30px);
  bottom: clamp(24px, 4vw, 36px);
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  background: linear-gradient(135deg, rgba(196, 139, 138, 0.98), rgba(169, 53, 56, 0.98));
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 24px 46px rgba(81, 54, 50, 0.24);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(0);
  animation: contactFloat 3.8s ease-in-out infinite;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.contact-float:hover,
.contact-float:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 28px 52px rgba(81, 54, 50, 0.3);
  background: linear-gradient(135deg, #c6696b, #9f2c39);
}

.contact-float-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.1rem;
}

.contact-float-text {
  white-space: nowrap;
}

@keyframes contactFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 660px) {
  .contact-float {
    gap: 0;
    padding: 0 14px;
  }

  .contact-float-text {
    display: none;
  }
}

/* ============== Bloom calculator ============== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bloom-calculator {
  position: relative;
  overflow: hidden;
  margin-top: clamp(52px, 8vw, 88px);
}

/* 背景印章浮水印（類似 journey 首頁，尺寸隨區塊縮放） */
.bloom-seal-bg {
  position: absolute;
  left: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 38%, 520px);
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.bloom-calculator > .section-inner {
  position: relative;
  z-index: 1;
}

.bloom-divider {
  position: relative;
  margin: 0 0 clamp(34px, 5vw, 52px);
  border-top: 1px dashed rgba(169, 53, 56, 0.32);
  text-align: center;
}

.bloom-divider span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--seal);
  background: var(--paper);
  border: 1px solid rgba(169, 53, 56, 0.2);
  border-radius: 50%;
  transform: translateY(-50%);
}

.bloom-calculator-head {
  max-width: 740px;
  margin: 0 auto 30px;
  text-align: center;
}

.bloom-calculator-head h3 {
  color: var(--ink);
  font-size: clamp(1.75rem, 3.4vw, 3.2rem);
}

.bloom-calculator-head p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

/* 花期試算合併為單一區塊：控制區與結果區共用同一張卡片。
   電腦版左右並排（避免區塊過長），手機版改為上下堆疊。 */
.bloom-calculator-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  align-items: stretch;
  background: rgba(255, 250, 246, 0.82);
  border: 1px solid rgba(184, 152, 101, 0.26);
  box-shadow: var(--shadow-soft);
}

.bloom-controls {
  padding: clamp(22px, 4vw, 34px);
}

.flower-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(58px, 1fr));
  gap: clamp(8px, 1.4vw, 14px);
  align-items: end;
}

.flower-bud {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 8px;
  padding: 8px 4px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.flower-bud:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 4px;
}

.flower-bud svg {
  width: 58px;
  height: 74px;
  overflow: visible;
  transition: transform 220ms ease, filter 220ms ease;
}

.flower-bud.is-prime svg {
  width: 64px;
  height: 82px;
}

.bud-state {
  opacity: 0.55;
}

.bud-state path {
  stroke: #7a8a68;
  stroke-width: 4;
  stroke-linecap: round;
  fill: none;
}

.bud-state ellipse {
  fill: #9fb39a;
}

.flower-bud.is-prime .bud-state ellipse {
  fill: #b48986;
}

.bloom-state {
  opacity: 0;
  transform: scale(0) rotate(-8deg);
  transform-box: fill-box;
  transform-origin: center;
}

.bloom-state .stem {
  stroke: #7a8a68;
  stroke-width: 4;
  stroke-linecap: round;
  fill: none;
}

.bloom-state .leaf {
  fill: #8ea478;
}

.bloom-state ellipse,
.bloom-state circle,
.bloom-state path:not(.stem):not(.leaf) {
  fill: var(--bloom-color);
}

.daisy circle:last-child,
.sakura circle:last-child,
.violet circle:last-child {
  fill: var(--gold);
}

.rose circle:nth-of-type(2),
.peony circle:nth-of-type(5) {
  opacity: 0.72;
}

.rose circle:nth-of-type(3),
.peony circle:nth-of-type(6) {
  fill: #7f171d;
}

.flower-bud.is-bloomed .bud-state {
  opacity: 0;
}

.flower-bud.is-bloomed .bloom-state {
  opacity: 1;
  animation: bloom-pop 520ms cubic-bezier(0.2, 1.35, 0.34, 1) both;
}

.flower-bud.is-prime.is-bloomed svg {
  filter: drop-shadow(0 0 24px rgba(196, 74, 74, 0.35));
  animation: prime-breathe 2s ease-in-out 520ms infinite alternate;
}

.day-label {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.flower-bud.is-bloomed .day-label {
  color: var(--bloom-color);
  transform: translateY(-1px);
}

.hours-control {
  margin-top: clamp(26px, 4vw, 38px);
  padding-top: 24px;
  border-top: 1px solid rgba(86, 62, 62, 0.12);
}

/* 每日花期（左）與 小時（右）同行、同大小 */
.hours-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.hours-control label {
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 600;
}

#hours-output {
  color: var(--seal);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
}

/* 自訂拉桿：固定 18px 拉鈕，讓分段標示能與游標精準對齊 */
.hours-slider {
  position: relative;
}

#hours {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 0;
  border-radius: 999px;
  /* 已綻放比例填色，--fill 由 JS 依數值更新 */
  background: linear-gradient(
    to right,
    var(--seal) 0%,
    var(--seal) var(--fill, 60%),
    rgba(86, 62, 62, 0.16) var(--fill, 60%),
    rgba(86, 62, 62, 0.16) 100%
  );
  outline: none;
  cursor: pointer;
}

#hours::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px; /* 將 18px 拉鈕對齊 6px 軌道中心 */
  border-radius: 50%;
  background: var(--seal);
  border: 2px solid #fff7ee;
  box-shadow: 0 2px 6px rgba(81, 24, 26, 0.3);
  cursor: pointer;
}

#hours::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #fff7ee;
  border-radius: 50%;
  background: var(--seal);
  box-shadow: 0 2px 6px rgba(81, 24, 26, 0.3);
  cursor: pointer;
}

#hours:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(168, 35, 43, 0.22);
}

#hours:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(168, 35, 43, 0.22);
}

/* 分段標示與下標時間：水平內縮 9px（= 拉鈕半徑），
   使 0%~100% 對齊拉鈕中心的可移動範圍 */
.hour-ticks {
  position: relative;
  height: 30px;
  margin: 9px 9px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hour-ticks span {
  position: absolute;
  top: 0;
  left: calc(var(--i) * 20%);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.hour-ticks span i {
  width: 1px;
  height: 8px;
  background: rgba(86, 62, 62, 0.32);
}

.bloom-result {
  padding: clamp(24px, 4vw, 36px);
  color: var(--ink-2);
  border-left: 1px solid rgba(184, 152, 101, 0.22);
}

.empty-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.empty-note.is-hidden {
  display: none;
}

.result-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(86, 62, 62, 0.08);
}

.result-row strong {
  color: var(--ink);
  text-align: right;
}

#bloom-icons {
  color: var(--seal);
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* 本週預估收入、每月預估約：與「每日花期／小時」一致，
   同行、標籤靠左、紅色數字靠右且字級統一 */
.result-total,
.result-month {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.result-total {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(86, 62, 62, 0.22);
}

.result-month {
  margin-top: 18px;
}

.result-total span,
.result-month span {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.money {
  color: var(--seal);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  text-align: right;
  transform-origin: right center;
  transition: transform 180ms ease;
}

.money.is-updating {
  transform: scale(1.05);
}

.calc-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

@keyframes bloom-pop {
  0% {
    transform: scale(0) rotate(-8deg);
  }
  68% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes prime-breathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}

@media (max-width: 960px) {
  /* 手機／平板：控制區與結果區改為上下堆疊 */
  .bloom-calculator-grid {
    grid-template-columns: 1fr;
  }

  .bloom-result {
    border-left: none;
    border-top: 1px solid rgba(184, 152, 101, 0.22);
  }
}

@media (max-width: 700px) {
  /* 花期試算：壓縮各處留白，讓內容盡量於單一手機畫面呈現
     （字級維持原本的縮放邏輯，僅調整間距） */
  .bloom-calculator {
    margin-top: clamp(28px, 6vw, 44px);
    padding-top: clamp(34px, 8vw, 52px);
    padding-bottom: clamp(34px, 8vw, 52px);
  }

  .bloom-divider {
    margin-bottom: clamp(18px, 4vw, 28px);
  }

  .bloom-calculator-head {
    margin-bottom: 14px;
  }

  .bloom-calculator-head p:last-child {
    margin-top: 8px;
  }

  .bloom-controls,
  .bloom-result {
    padding: 16px 14px;
  }

  .flower-week {
    grid-template-columns: repeat(7, minmax(36px, 1fr));
    gap: 3px;
  }

  .flower-bud {
    padding: 4px 0 6px;
    gap: 3px;
  }

  .flower-bud svg {
    width: 40px;
    height: 52px;
  }

  .flower-bud.is-prime svg {
    width: 44px;
    height: 58px;
  }

  .day-label {
    font-size: 0.86rem;
  }

  .hours-control {
    margin-top: 14px;
    padding-top: 14px;
  }

  .hours-head {
    margin-bottom: 8px;
  }

  .hour-ticks {
    height: 26px;
    margin-top: 6px;
  }

  .empty-note {
    margin-bottom: 10px;
  }

  .result-row {
    align-items: flex-start;
    font-size: 0.95rem;
    padding: 5px 0;
  }

  .result-total {
    margin-top: 12px;
    padding-top: 12px;
  }

  .result-month {
    margin-top: 10px;
  }

  .calc-note {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flower-bud.is-bloomed .bloom-state,
  .flower-bud.is-prime.is-bloomed svg {
    animation: none;
  }

  .money {
    transition: none;
  }
}

.video-showcase {
  padding-top: clamp(60px, 8vw, 100px);
}

.video-head {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 42px);
}

.video-head p:last-child {
  margin-top: 14px;
  color: var(--muted);
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 36px);
  align-items: start;
}

.video-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(169, 53, 56, 0.12);
  border-radius: 24px;
  background: rgba(255, 250, 246, 0.92);
  box-shadow: var(--shadow-soft);
}

.video-card-preview {
  position: relative;
  min-height: 320px;
  background: radial-gradient(circle at 35% 25%, rgba(196, 74, 74, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(251, 245, 239, 0.95), rgba(236, 204, 198, 0.72));
}

.video-card-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(24, 16, 12, 0.16);
}

.play-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: auto;
  color: #fff;
  background: var(--seal);
  border-radius: 50%;
  font-size: 1.25rem;
  box-shadow: 0 16px 38px rgba(122, 31, 34, 0.22);
}

.video-card-body {
  padding: clamp(24px, 3vw, 32px);
}

.video-card-meta {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.video-card-body h4 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.3;
}

.video-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

.video-card-column {
  display: grid;
  gap: clamp(20px, 3vw, 24px);
}

.video-card-small .video-card-preview {
  min-height: 170px;
}

@media (max-width: 960px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .video-card-preview {
    min-height: 220px;
  }

  .video-card-small .video-card-preview {
    min-height: 150px;
  }
}

/* ============== Minimal homepage refresh ============== */

.hero {
  min-height: 100svh;
  padding: 132px clamp(22px, 6vw, 92px) 88px;
  background: var(--paper);
}

.hero-image {
  background:
    linear-gradient(90deg, rgba(251, 245, 239, 0.96) 0%, rgba(251, 245, 239, 0.82) 34%, rgba(251, 245, 239, 0.18) 70%),
    linear-gradient(180deg, rgba(251, 245, 239, 0.08), rgba(251, 245, 239, 0.86)),
    url("assets/hero-sway-bouquet.png") center right / cover no-repeat;
  transform: scale(1.035);
  transform-origin: 70% 55%;
  animation: heroBouquetDrift 9s ease-in-out infinite alternate;
}

.hero-bouquet,
.hero-petals {
  display: none;
}

.hero-content {
  width: min(520px, 100%);
}

.hero-content .eyebrow {
  margin-bottom: 16px;
  color: var(--seal);
  letter-spacing: 0.22em;
}

#hero-title {
  margin: 0 0 24px;
}

#hero-title .title-line:first-child {
  font-size: clamp(4.2rem, 11vw, 8.6rem);
  line-height: 0.95;
  letter-spacing: 0.08em;
}

#hero-title .title-line:nth-child(2) {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  font-style: normal;
  letter-spacing: 0.18em;
}

.hero-copy {
  max-width: 430px;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 2;
  /* 大中標題與介紹之間留約一行距 */
  margin-top: clamp(22px, 3vw, 34px);
}

.hero-actions {
  /* 介紹與「與繁花聯絡」之間再留約一行距 */
  margin-top: clamp(48px, 6vw, 64px);
}

.seal {
  right: clamp(26px, 7vw, 116px);
  bottom: clamp(54px, 8vw, 96px);
  transform-origin: center;
}

.seal-frame {
  display: grid;
  grid-template-columns: 1fr;
  width: clamp(116px, 13vw, 156px);
  padding: 13px;
  gap: 0;
  place-items: center;
  background: #a52224;
  border: 2px solid rgba(253, 244, 237, 0.92);
  color: #fff7ee;
  box-shadow:
    inset 0 0 0 4px #a52224,
    inset 0 0 0 7px rgba(253, 244, 237, 0.82),
    inset 0 0 0 10px #a52224,
    0 16px 30px rgba(81, 24, 26, 0.22);
  background-image:
    radial-gradient(circle at 18% 18%, rgba(70, 0, 0, 0.2) 0 8%, transparent 18%),
    radial-gradient(circle at 78% 70%, rgba(255, 245, 232, 0.18) 0 6%, transparent 17%),
    radial-gradient(circle at 46% 52%, rgba(70, 0, 0, 0.14) 0 7%, transparent 18%);
}

.seal-frame::before {
  inset: 12px;
  border: 1.5px solid rgba(253, 244, 237, 0.88);
}

.seal-frame::after {
  background-image:
    radial-gradient(circle at 12% 78%, rgba(253, 244, 237, 0.42) 0 3px, transparent 8px),
    radial-gradient(circle at 88% 22%, rgba(253, 244, 237, 0.36) 0 3px, transparent 7px),
    linear-gradient(28deg, transparent 0 43%, rgba(253, 244, 237, 0.13) 44% 46%, transparent 47% 100%);
  opacity: 0.78;
}

.seal-zh {
  font-size: clamp(2.55rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0.12em;
}

.seal-en {
  margin-top: 8px;
  color: rgba(255, 247, 238, 0.82);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  writing-mode: horizontal-tb;
}

@keyframes heroBouquetDrift {
  from {
    transform: scale(1.035) translateX(0) rotate(-0.25deg);
  }
  to {
    transform: scale(1.055) translateX(-12px) rotate(0.35deg);
  }
}

@media (max-width: 980px) {
  .hero-image {
    background:
      linear-gradient(180deg, rgba(251, 245, 239, 0.95) 0%, rgba(251, 245, 239, 0.68) 44%, rgba(251, 245, 239, 0.92) 100%),
      url("assets/hero-sway-bouquet.png") center right / cover no-repeat;
  }

  .hero-content {
    width: min(500px, 100%);
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 104px 20px 132px;
  }

  .hero-image {
    background:
      linear-gradient(180deg, rgba(251, 245, 239, 0.96) 0%, rgba(251, 245, 239, 0.74) 48%, rgba(251, 245, 239, 0.98) 100%),
      url("assets/hero-sway-bouquet.png") 62% 48% / cover no-repeat;
    opacity: 0.92;
  }

  #hero-title .title-line:first-child {
    font-size: clamp(3.7rem, 20vw, 5.4rem);
  }

  #hero-title .title-line:nth-child(2) {
    font-size: clamp(1.55rem, 8vw, 2.4rem);
  }

  .hero-copy {
    max-width: 330px;
  }

  .seal {
    right: 18px;
    bottom: 24px;
  }

  .seal-frame {
    width: 106px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none;
  }
}

/* ============== Hero seal: Chinese stamp style ============== */

/* title + seal share a row (only matters on mobile; on desktop the seal is
   taken out of flow and pinned to the corner) */
.hero-title-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 4vw, 28px);
  flex-wrap: wrap;
}

/* desktop: seal pinned to the bottom-right corner of the hero */
.hero .seal {
  position: absolute;
  right: clamp(20px, 6vw, 96px);
  bottom: clamp(36px, 7vw, 80px);
  pointer-events: auto;
  filter: drop-shadow(0 12px 20px rgba(100, 20, 20, 0.22));
}

.hero .seal-img {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(76px, 8vw, 104px);
  height: auto;
}

/* white backing shaped to the seal itself — sits behind the red stamp and
   is hidden by it, so only the brush gaps read white (no rectangular frame) */
.hero .seal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fffdfa;
  -webkit-mask: url("assets/seal-fanhua.png") center / contain no-repeat;
  mask: url("assets/seal-fanhua.png") center / contain no-repeat;
  /* scale the white base out past the brushy edges so the stamp reads as a
     solid, opaque shape instead of fading transparent into the background */
  transform: scale(1.06);
}

@media (max-width: 700px) {
  /* mobile: seal sits inline, right beside the title */
  .hero .seal {
    position: relative;
    inset: auto;
    right: auto;
    bottom: auto;
    filter: drop-shadow(0 8px 14px rgba(100, 20, 20, 0.2));
  }

  .hero .seal-img {
    width: 64px;
  }
}

.hero .seal-frame {
  width: clamp(104px, 11vw, 138px);
  padding: 12px 10px;
  overflow: hidden;
  background: #b51218;
  border: 0;
  border-radius: 38% 45% 34% 42% / 22% 30% 24% 34%;
  color: #fff8ef;
  clip-path: polygon(
    8% 3%, 24% 0%, 44% 4%, 61% 1%, 82% 6%, 96% 17%,
    99% 35%, 94% 53%, 98% 72%, 88% 94%, 68% 99%, 47% 96%,
    27% 100%, 8% 91%, 1% 72%, 5% 54%, 0% 34%, 4% 16%
  );
  box-shadow:
    inset 0 0 0 2px rgba(255, 248, 239, 0.2),
    inset 0 0 0 8px #b51218,
    0 16px 30px rgba(81, 24, 26, 0.24);
  background-image:
    radial-gradient(circle at 9% 19%, rgba(255, 248, 239, 0.56) 0 2px, transparent 8px),
    radial-gradient(circle at 93% 42%, rgba(255, 248, 239, 0.46) 0 2px, transparent 9px),
    radial-gradient(circle at 20% 89%, rgba(255, 248, 239, 0.45) 0 2px, transparent 8px),
    radial-gradient(circle at 74% 7%, rgba(80, 0, 0, 0.22) 0 7px, transparent 18px),
    linear-gradient(90deg, rgba(255, 248, 239, 0.18) 0 2px, transparent 2px 92%),
    linear-gradient(0deg, rgba(255, 248, 239, 0.14) 0 2px, transparent 2px 90%);
}

.hero .seal-frame::before {
  inset: 11px;
  border: 2px solid rgba(255, 248, 239, 0.92);
  border-radius: 34% 45% 32% 38% / 22% 28% 26% 32%;
  clip-path: polygon(7% 2%, 92% 5%, 98% 26%, 94% 54%, 99% 83%, 78% 98%, 43% 94%, 18% 100%, 2% 82%, 6% 48%, 0% 19%);
  opacity: 0.9;
}

.hero .seal-frame::after {
  background-image:
    radial-gradient(circle at 12% 35%, rgba(255, 248, 239, 0.55) 0 2px, transparent 8px),
    radial-gradient(circle at 76% 82%, rgba(255, 248, 239, 0.5) 0 2px, transparent 7px),
    radial-gradient(circle at 88% 13%, rgba(255, 248, 239, 0.45) 0 2px, transparent 8px),
    linear-gradient(96deg, transparent 0 36%, rgba(255, 248, 239, 0.22) 37% 39%, transparent 40% 100%),
    linear-gradient(172deg, transparent 0 58%, rgba(255, 248, 239, 0.16) 59% 60%, transparent 61% 100%);
  mix-blend-mode: screen;
  opacity: 0.95;
}

.hero .seal-zh {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  place-items: center;
  color: #fff8ef;
  font-family: "Garamond Premier", "一點明體", serif;
  font-size: clamp(2.55rem, 4vw, 3.3rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  writing-mode: horizontal-tb;
  transform: scaleX(0.82);
}

.hero .seal-char {
  position: relative;
  display: grid;
  min-width: 0.92em;
  min-height: 0.98em;
  place-items: center;
  text-shadow:
    1px 0 0 rgba(255, 248, 239, 0.95),
    -1px 0 0 rgba(255, 248, 239, 0.88),
    0 1px 0 rgba(255, 248, 239, 0.88);
}

.hero .seal-char::before,
.hero .seal-char::after {
  position: absolute;
  background: rgba(255, 248, 239, 0.84);
  content: "";
  opacity: 0.78;
}

.hero .seal-char::before {
  width: 82%;
  height: 3px;
  top: 0.12em;
  border-radius: 999px;
}

.hero .seal-char::after {
  width: 3px;
  height: 78%;
  right: 0.08em;
  border-radius: 999px;
}

@media (max-width: 700px) {
  .hero .seal-frame {
    width: 96px;
    padding: 10px 8px;
  }

  .hero .seal-zh {
    font-size: 2.35rem;
  }
}

/* =================================================
   行動裝置字級調校 — 依常見手機螢幕寬度縮放
   以根字級為槓桿，讓所有 rem 文字按比例縮小，
   版面留白（px / vw）維持不變，提升閱讀舒適度。
   ================================================= */
@media (max-width: 600px) {
  html { font-size: 93.75%; } /* 15px */
}
@media (max-width: 430px) { /* iPhone Pro Max 級距 */
  html { font-size: 90.5%; } /* ~14.5px */
}
@media (max-width: 393px) { /* iPhone 12–16 / Pixel 級距 */
  html { font-size: 87.5%; } /* 14px */
}
@media (max-width: 360px) { /* 常見 Android（Galaxy S 等） */
  html { font-size: 84.4%; } /* ~13.5px */
}
@media (max-width: 320px) { /* iPhone SE 一代等迷你螢幕 */
  html { font-size: 81.25%; } /* 13px */
}

/* 過大的展示型標題在小螢幕另外收斂，避免占滿畫面 */
@media (max-width: 480px) {
  h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  h2 { font-size: clamp(1.55rem, 6.5vw, 2.1rem); }
  .seal-zh { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .qmark { font-size: clamp(2.8rem, 14vw, 4rem); }
  .qline { font-size: clamp(1.2rem, 5vw, 1.5rem); }
}

