/* ============================================================
   /79800 商業變現 AI 實戰營
   視覺系統：Chanel 參照（黑白米金四色、細字重宋體大標、
   直角、1px 細線、編輯式黑白影像、fade 動效）
   規格依 docs/COURSE-79800-RESEARCH.md 第三節
   ============================================================ */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --paper-warm: #f7f4ee;
  --gold: #a08c5b;
  --grey-line: #e5e2dc;
  --grey-line-dark: #2a2a2a;
  --grey-text: #6b6b6b;
  --grey-text-dark: #9a9a9a;
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", -apple-system, sans-serif;
  --caps: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.course-79800 {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.875;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- 基礎元件 ---------- */

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--caps);
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 26px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 300; }

h2.sec-title {
  font-size: clamp(28px, 2.8vw, 35px);
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.sec-lead {
  margin-top: 24px;
  font-size: 16px;
  color: var(--grey-text);
  line-height: 1.875;
}

.hairline { border: 0; border-top: 1px solid var(--grey-line); }

section { padding: 150px 0; }

/* 深色區 */
.sec-dark { background: var(--ink); color: var(--paper); }
.sec-dark .sec-lead { color: var(--grey-text-dark); }
.sec-dark .hairline { border-color: var(--grey-line-dark); }

/* 米白區 */
.sec-warm { background: var(--paper-warm); }

/* 進場動效（reduced-motion 時停用） */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 0.75s ease-out, transform 0.75s ease-out; }
.js .rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* CTA：直角、大寫、寬字距、黑白反轉 */
.btn {
  display: inline-block;
  font-family: var(--caps);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 54px 19px 58px;
  border: 1px solid currentColor;
  border-radius: 0;
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  background: transparent;
}
.btn-light { color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-ink { color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-solid:hover { background: transparent; color: var(--ink); }

/* ---------- S1 首屏 ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  padding: 120px 24px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(1) contrast(1.05) brightness(0.6);
  opacity: 0.42;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.82) 100%);
}
.hero-inner { position: relative; max-width: 880px; }
.hero-brand {
  position: absolute; top: 44px; left: 50%; transform: translateX(-50%);
  font-family: var(--caps);
  font-size: 13px; font-weight: 300;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  z-index: 2;
}
.hero .eyebrow { color: rgba(255,255,255,0.62); }
.hero h1 {
  font-size: clamp(39px, 3.5vw, 45px);
  line-height: 1.45;
  letter-spacing: 0.06em;
}
.hero-sub {
  margin: 30px auto 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.875;
  color: rgba(255,255,255,0.78);
}
.hero-cta { margin-top: 56px; }
.hero-meta {
  position: absolute; bottom: 42px; left: 0; right: 0;
  text-align: center;
  font-family: var(--caps);
  font-size: 11.5px; font-weight: 300;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ---------- S2 戰略重構 ---------- */

.reframe-grid {
  margin-top: 84px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.reframe-grid .cell {
  padding: 40px 36px;
  border-left: 1px solid var(--grey-line);
}
.reframe-grid .cell:first-child { border-left: 0; }
.cell-tag {
  font-family: var(--caps);
  font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
  display: block; margin-bottom: 16px;
}
.cell h3 { font-size: 19px; line-height: 1.5; margin-bottom: 12px; font-weight: 400; }
.cell p { font-size: 15px; color: var(--grey-text); line-height: 1.85; }

/* ---------- S3 三個錯位 ---------- */

.wrongs { margin-top: 70px; }
.wrong-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--grey-line);
  align-items: baseline;
}
.wrong-row:last-child { border-bottom: 1px solid var(--grey-line); }
.wrong-num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.wrong-row h3 { font-size: 20px; font-weight: 400; margin-bottom: 10px; }
.wrong-row p { font-size: 15px; color: var(--grey-text); }

/* ---------- S4 三天課綱 ---------- */

.days { margin-top: 90px; display: grid; gap: 0; }
.day {
  border-top: 1px solid var(--grey-line-dark);
  padding: 66px 0 70px;
}
.day:last-child { border-bottom: 1px solid var(--grey-line-dark); }
.day-head { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; }
.day-no {
  font-family: var(--caps);
  font-size: 12px; font-weight: 300;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold);
}
.day-head h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 300; letter-spacing: 0.05em; }
.day-blocks {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.day-block .cell-tag { color: rgba(255,255,255,0.4); }
.day-block h4 { font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.6; margin-bottom: 10px; }
.day-block p { font-size: 14.5px; color: var(--grey-text-dark); line-height: 1.85; }
.day-take {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--grey-line-dark);
  font-size: 15.5px;
  color: rgba(255,255,255,0.85);
}
.day-take strong { color: var(--gold); font-weight: 400; font-family: var(--caps); font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase; margin-right: 18px; }
.days-note {
  margin-top: 54px;
  text-align: center;
  font-family: var(--caps);
  font-size: 11.5px; font-weight: 300;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ---------- S5 方法核心 ---------- */

.method-quote {
  margin: 80px auto 0;
  max-width: 820px;
  text-align: center;
}
.method-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.05em;
}
.method-quote .attr {
  margin-top: 30px;
  font-family: var(--caps);
  font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--grey-text);
}
.method-points {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.method-points .cell { padding: 8px 40px; border-left: 1px solid var(--grey-line); }
.method-points .cell:first-child { border-left: 0; padding-left: 0; }

/* ---------- S6 學員產出 ---------- */

.works { margin-top: 76px; }
.work-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 38px 0;
  border-top: 1px solid var(--grey-line);
  align-items: baseline;
}
.work-row:last-child { border-bottom: 1px solid var(--grey-line); }
.work-who { font-family: var(--serif); font-size: 17px; letter-spacing: 0.03em; }
.work-what { font-size: 15px; color: var(--grey-text); line-height: 1.85; }
.works-close {
  margin-top: 54px;
  font-family: var(--serif);
  font-size: 18px;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- S7 見證 ---------- */

.voices { margin-top: 80px; display: grid; gap: 90px; }
.voice { max-width: 820px; margin: 0 auto; text-align: center; }
.voice-mark {
  font-family: var(--serif);
  font-size: 54px;
  line-height: 0.5;
  color: var(--gold);
  display: block;
  margin-bottom: 28px;
}
.voice blockquote {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.04em;
}
.voice .who {
  margin-top: 26px;
  font-family: var(--caps);
  font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--grey-text);
}
.voices-note {
  margin-top: 64px;
  text-align: center;
  font-size: 13px;
  color: var(--grey-text);
}

/* ---------- 見證影片：VCA 式表框 ---------- */

.video-frame { margin: 76px auto 0; max-width: 400px; }
.video-mat {
  background: var(--paper);
  padding: 14px;
  border: 1px solid var(--gold);
  outline: 1px solid var(--grey-line);
  outline-offset: 7px;
}
.video-mat video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--ink);
}
.video-frame figcaption {
  margin-top: 30px;
  text-align: center;
  font-family: var(--caps);
  font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--grey-text);
}
.video-frame + .voices { margin-top: 110px; }
@media (max-width: 480px) {
  .video-frame { max-width: 300px; }
  .video-mat { padding: 10px; outline-offset: 5px; }
}

/* ---------- S8 適合誰 ---------- */

.fit-cols {
  margin-top: 76px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.fit-cols h3 {
  font-size: 18px; font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--grey-line);
}
.fit-cols ul { list-style: none; }
.fit-cols li {
  padding: 14px 0 14px 30px;
  position: relative;
  font-size: 15px;
  line-height: 1.85;
}
.fit-yes li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.fit-no li { color: var(--grey-text); }
.fit-no li::before { content: "—"; position: absolute; left: 0; color: var(--grey-line); }

/* ---------- S9 講師 ---------- */

.mentors {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.mentor img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.88) contrast(1.03);
  display: block;
}
.mentor h3 { margin-top: 30px; font-size: 22px; font-weight: 300; letter-spacing: 0.1em; }
.mentor .role {
  margin-top: 8px;
  font-family: var(--caps);
  font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
}
.mentor p { margin-top: 18px; font-size: 14.5px; color: var(--grey-text-dark); line-height: 1.9; }

/* ---------- S10 現場 ---------- */

.scene-marquee { overflow: hidden; }
.scene-track {
  display: flex;
  width: max-content;
  animation: scene-drift 96s linear infinite;
}
.scene-marquee:hover .scene-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .scene-track { animation: none; } }
@keyframes scene-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.scene-track img {
  height: 460px;
  aspect-ratio: 3 / 4.4;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
  display: block;
  flex: none;
  margin-right: 14px;
}
.scene-note {
  margin-top: 40px;
  text-align: center;
  font-family: var(--caps);
  font-size: 11.5px; font-weight: 300;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--grey-text);
}

/* ---------- S11 帶走什麼 ---------- */

.deliver { margin-top: 76px; }
.deliver-row {
  display: grid;
  grid-template-columns: 64px 1fr 220px;
  gap: 36px;
  padding: 40px 0;
  border-top: 1px solid var(--grey-line);
  align-items: baseline;
}
.deliver-row:last-child { border-bottom: 1px solid var(--grey-line); }
.deliver-num { font-family: var(--serif); font-size: 15px; letter-spacing: 0.2em; color: var(--gold); }
.deliver-row h3 { font-size: 18px; font-weight: 400; margin-bottom: 8px; }
.deliver-row p { font-size: 14.5px; color: var(--grey-text); line-height: 1.85; }
.deliver-note {
  font-family: var(--caps);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--grey-text);
  text-align: right;
}

/* ---------- S12 投資 ---------- */

.invest { text-align: center; }
.invest .price-label {
  font-family: var(--caps);
  font-size: 12px; font-weight: 300;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.invest .price {
  margin-top: 34px;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(46px, 6vw, 72px);
  letter-spacing: 0.04em;
  line-height: 1;
}
.invest .price small {
  font-size: 0.32em;
  font-weight: 300;
  letter-spacing: 0.14em;
  vertical-align: 0.62em;
  margin-right: 0.35em;
}
.invest .price-inc {
  margin: 40px auto 0;
  max-width: 620px;
  font-size: 15.5px;
  color: rgba(255,255,255,0.8);
  line-height: 2.1;
}
.invest .price-terms {
  margin: 40px auto 0;
  max-width: 560px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}
.invest .seats {
  margin-top: 52px;
  font-family: var(--caps);
  font-size: 11.5px; font-weight: 300;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
}
.invest .btn { margin-top: 52px; }

/* ---------- S13 申請表 ---------- */

.apply-form { margin-top: 74px; }
.apply-form .field { margin-bottom: 42px; }
.apply-form label {
  display: block;
  font-family: var(--caps);
  font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 12px;
}
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 16.5px;
  padding: 10px 2px 12px;
  color: var(--ink);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.apply-form select { cursor: pointer; }
.apply-form textarea { resize: vertical; min-height: 110px; line-height: 1.9; }
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus { border-bottom-color: var(--gold); }
.apply-form ::placeholder { color: #b5b0a6; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.apply-submit { text-align: center; margin-top: 64px; }
.apply-note {
  margin-top: 34px;
  text-align: center;
  font-size: 13.5px;
  color: var(--grey-text);
  line-height: 2;
}
.form-msg {
  margin-top: 40px;
  text-align: center;
  font-size: 15.5px;
  line-height: 2;
  display: none;
}
.form-msg.show { display: block; }
.form-msg a { color: var(--ink); }

/* ---------- S14 FAQ ＋ 收尾 ---------- */

.faq { margin-top: 76px; }
.faq details {
  border-top: 1px solid var(--grey-line);
  padding: 6px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--grey-line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 17.5px;
  padding: 26px 44px 26px 2px;
  position: relative;
  letter-spacing: 0.03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--caps);
  font-weight: 200;
  font-size: 22px;
  color: var(--gold);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-a { padding: 0 2px 30px; font-size: 15px; color: var(--grey-text); line-height: 1.9; max-width: 640px; }

.finale { text-align: center; }
.finale h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 2.8vw, 35px);
  line-height: 1.55;
  letter-spacing: 0.06em;
}
.finale .btn { margin-top: 60px; }

/* ---------- 轉場漸層橋 ---------- */

.bridge { height: 140px; }
.b-dark-light { background: linear-gradient(180deg, var(--ink) 0%, var(--paper) 100%); }
.b-light-dark { background: linear-gradient(180deg, var(--paper) 0%, var(--ink) 100%); }
.b-warm-dark { background: linear-gradient(180deg, var(--paper-warm) 0%, var(--ink) 100%); }
.b-dark-warm { background: linear-gradient(180deg, var(--ink) 0%, var(--paper-warm) 100%); }
@media (max-width: 900px) { .bridge { height: 90px; } }

/* ---------- 頁尾 ---------- */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 56px;
  text-align: center;
  border-top: 1px solid var(--grey-line-dark);
}
.footer .f-brand {
  font-family: var(--caps);
  font-size: 12px; font-weight: 300;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.footer .f-line { margin-top: 22px; font-size: 13.5px; }
.footer .f-line a { color: rgba(255,255,255,0.75); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); }
.footer .f-policy { margin-top: 24px; font-size: 13px; }
.footer .f-policy a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer .f-policy a:hover { color: rgba(255,255,255,0.9); }
.footer .f-policy span { margin: 0 12px; color: rgba(255,255,255,0.25); }
.footer .f-copy { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,0.35); }

/* ---------- 響應式 ---------- */

@media (max-width: 900px) {
  section { padding: 100px 0; }
  .reframe-grid, .method-points, .day-blocks { grid-template-columns: 1fr; }
  .reframe-grid .cell { border-left: 0; border-top: 1px solid var(--grey-line); padding: 34px 0; }
  .reframe-grid .cell:first-child { border-top: 0; }
  .method-points .cell { border-left: 0; padding: 26px 0; border-top: 1px solid var(--grey-line); }
  .method-points .cell:first-child { border-top: 0; }
  .day-blocks { gap: 34px; }
  .wrong-row { grid-template-columns: 1fr; gap: 10px; padding: 36px 0; }
  .work-row { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .fit-cols { grid-template-columns: 1fr; gap: 60px; }
  .mentors { grid-template-columns: 1fr; gap: 64px; }
  @keyframes scene-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.scene-track img { height: 340px; }
  .scene-track { animation-duration: 72s; }
  .deliver-row { grid-template-columns: 1fr; gap: 8px; }
  .deliver-note { text-align: left; }
  .hero-brand { white-space: normal; width: 100%; padding: 0 20px; }
}

@media (max-width: 480px) {
  body.course-79800 { font-size: 15px; }
  .wrap, .wrap-narrow { padding: 0 22px; }
  section { padding: 88px 0; }
  .hero { padding: 110px 22px 130px; }
  .hero h1 { font-size: 32px; }
  h2.sec-title { font-size: 26px; }
  .btn { padding: 18px 38px 17px 42px; letter-spacing: 0.24em; }
}

/* ============================================================
   〈揭幕〉動畫系統（方案一＋方案三兩點）
   規格：600–900ms、ease-out、每屏一次、reduced-motion 全停
   手機與桌機同體驗（全 CSS，無效能差異）
   ============================================================ */

/* ---------- 首屏開幕序列（.ready 觸發） ---------- */

.hero-rule {
  width: 56px; height: 1px;
  background: var(--gold);
  margin: 0 auto 34px;
}
.js .hero-rule { transform: scaleX(0); transition: transform 0.7s ease-out 0.15s; }
.js.ready .hero-rule { transform: scaleX(1); }

.js .hero-bg { opacity: 0; transition: opacity 1.3s ease-out 0.5s; }
.js.ready .hero-bg { opacity: 0.42; }

.js .hero .eyebrow { opacity: 0; transition: opacity 0.8s ease-out 1.05s; }
.js.ready .hero .eyebrow { opacity: 1; }

.js .hero h1 .ln { display: block; overflow: hidden; }
.js .hero h1 .ln-i { display: block; transform: translateY(112%); }
.js.ready .hero h1 .ln:nth-child(1) .ln-i { transition: transform 0.9s cubic-bezier(0.2, 0.65, 0.2, 1) 1.25s; transform: none; }
.js.ready .hero h1 .ln:nth-child(2) .ln-i { transition: transform 0.9s cubic-bezier(0.2, 0.65, 0.2, 1) 1.42s; transform: none; }

.js .hero-sub, .js .hero-cta { opacity: 0; transform: translateY(10px); }
.js.ready .hero-sub { opacity: 1; transform: none; transition: opacity 0.8s ease-out 1.85s, transform 0.8s ease-out 1.85s; }
.js.ready .hero-cta { opacity: 1; transform: none; transition: opacity 0.8s ease-out 2.1s, transform 0.8s ease-out 2.1s; }

.js .hero-brand, .js .hero-meta { opacity: 0; transition: opacity 0.9s ease-out 2.3s; }
.js.ready .hero-brand, .js.ready .hero-meta { opacity: 1; }

/* ---------- 標題行遮罩揭示（全站 sec-title / finale） ---------- */

.js .sec-title .ln { display: block; overflow: hidden; }
.js .sec-title .ln-i { display: block; transform: translateY(112%); transition: transform 0.85s cubic-bezier(0.2, 0.65, 0.2, 1); }
.js .rv.on .sec-title .ln:nth-child(1) .ln-i { transform: none; transition-delay: 0.1s; }
.js .rv.on .sec-title .ln:nth-child(2) .ln-i { transform: none; transition-delay: 0.24s; }
.js .rv.on .sec-title .ln:nth-child(3) .ln-i { transform: none; transition-delay: 0.38s; }
.js .finale .ln { display: block; overflow: hidden; }
.js .finale .ln-i { display: block; transform: translateY(112%); transition: transform 0.85s cubic-bezier(0.2, 0.65, 0.2, 1); }
.js .finale .rv.on .ln:nth-child(1) .ln-i, .js .finale.on .ln:nth-child(1) .ln-i { transform: none; transition-delay: 0.1s; }
.js .finale .rv.on .ln:nth-child(2) .ln-i, .js .finale.on .ln:nth-child(2) .ln-i { transform: none; transition-delay: 0.24s; }
.js .finale .rv.on .ln:nth-child(3) .ln-i, .js .finale.on .ln:nth-child(3) .ln-i { transform: none; transition-delay: 0.38s; }

/* ---------- 細線畫入 ---------- */

.draw { position: relative; border-top: 0 !important; }
.draw::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--draw-line, var(--grey-line));
  transform: scaleX(0); transform-origin: left;
}
.sec-dark .draw { --draw-line: var(--grey-line-dark); }
.js .draw::before { transition: transform 0.9s ease-out 0.1s; }
.js .draw.on::before { transform: scaleX(1); }
html:not(.js) .draw::before { transform: scaleX(1); }

.js .rv .hairline { transform: scaleX(0); transform-origin: left; transition: transform 1s ease-out; }
.js .rv.on .hairline { transform: scaleX(1); }

/* ---------- 影像布簾揭示 ---------- */

.js .curtain { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(0.6, 0.05, 0.25, 1) 0.15s; }
.js .curtain.on, .js .rv.on .curtain, .js .rv.on.curtain { clip-path: inset(0 0 0 0); }

/* ---------- 價格遮罩升起 ---------- */

.price-mask { overflow: hidden; }
.js .price-mask .price { transform: translateY(105%); transition: transform 0.95s cubic-bezier(0.2, 0.65, 0.2, 1) 0.2s; }
.js .rv.on .price-mask .price { transform: none; }

/* ---------- 方案三之一：道／器／勢 水印 ---------- */

.day { position: relative; overflow: hidden; }
.day-ink {
  position: absolute;
  right: -30px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 360px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
}
.js .day-ink { opacity: 0; transition: opacity 1.8s ease-out 0.3s; }
.js .day.on .day-ink { opacity: 1; }
@media (max-width: 900px) { .day-ink { font-size: 220px; right: -20px; } }

/* ---------- 方案三之二：金句逐字浮現 ---------- */

.js .method-quote .ch { opacity: 0; filter: blur(4px); transition: opacity 0.5s ease-out, filter 0.5s ease-out; }
.js .method-quote.on .ch { opacity: 1; filter: none; }

/* ---------- reduced-motion：全部停用 ---------- */

@media (prefers-reduced-motion: reduce) {
  .js .hero-rule, .js.ready .hero-rule { transform: none; transition: none; }
  .js .hero-bg { opacity: 0.42; transition: none; }
  .js .hero .eyebrow, .js .hero-sub, .js .hero-cta, .js .hero-brand, .js .hero-meta { opacity: 1; transform: none; transition: none; }
  .js .hero h1 .ln-i, .js .sec-title .ln-i, .js .finale .ln-i { transform: none; transition: none; }
  .js .draw::before { transform: scaleX(1); transition: none; }
  .js .rv .hairline { transform: scaleX(1); transition: none; }
  .js .curtain { clip-path: inset(0 0 0 0); transition: none; }
  .js .price-mask .price { transform: none; transition: none; }
  .js .day-ink { opacity: 1; transition: none; }
  .js .method-quote .ch { opacity: 1; filter: none; transition: none; }
}

/* ---------- 價格區三拍鋪陳 ---------- */

.invest .price-detour {
  margin: 44px auto 0;
  max-width: 560px;
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  line-height: 2;
}
.invest .price-final {
  margin: 52px auto 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--paper);
}
.invest .price-ease {
  margin: 48px auto 0;
  max-width: 560px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}
