/* ============================================================
   /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 首屏 ---------- */

/* 課程頁頁首：尺寸、位置、展開方式逐項沿用 /9300；品牌只展示、不連結。 */
.c79-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 500;
  border-bottom: 1px solid transparent;
}
.c79-shell { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.c79-topbar-inner { height: 78.6px; display: flex; align-items: center; gap: 12px; }
.c79-topbar .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.c79-topbar .brand-logo { width: 38px; height: 38px; object-fit: contain; }
.c79-topbar .brand-name-text {
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: #f5f1e9;
  white-space: nowrap;
}
/* 選單打開時只保留右上角關閉鍵，避免頁首品牌跨在抽屜上被切斷。 */
.c79-topbar:has(.hamburger.open) .brand { opacity: 0; visibility: hidden; }
.c79-topbar .hamburger {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 40px;
  margin: 0 0 0 auto;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #f5f1e9;
  cursor: pointer;
}
.c79-topbar .hamburger:hover { background: transparent; }
.c79-topbar .hamburger:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.c79-topbar .hamburger .hamburger-lines { display: flex; flex-direction: column; gap: 6px; }
.c79-topbar .hamburger .hamburger-lines span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 0;
  background: currentColor;
  transition: 0.25s ease;
}
.c79-topbar .hamburger.open .hamburger-lines span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.c79-topbar .hamburger.open .hamburger-lines span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.c79-topbar .hamburger.open .hamburger-lines span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.course-79800 .mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 480;
  background: rgba(23,19,15,0.28);
  backdrop-filter: blur(2px);
}
.course-79800 .mobile-overlay.open { display: block; }
.course-79800 .mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 490;
  width: min(300px, 85vw);
  padding: 80px 28px 120px;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  background: rgba(251,250,247,0.98);
  border-left: 1px solid rgba(23,20,15,0.14);
  backdrop-filter: blur(24px);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.course-79800 .mobile-menu.open { display: flex; transform: translateX(0); }
.course-79800 .mobile-menu a {
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #17140f;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.9;
  text-decoration: none;
  transition: 0.18s ease;
}
.course-79800 .mobile-menu a:hover { background: rgba(23,19,15,0.05); color: #17140f; border-color: transparent; }
.course-79800 .mobile-menu .mobile-divider { height: 1px; margin: 12px 0; background: rgba(23,20,15,0.14); }
.course-79800 .mobile-menu .mobile-cta {
  margin-top: 16px;
  padding: 16px 18px;
  border: 0;
  border-radius: 16px;
  background: #17140f;
  color: #fffaf2;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.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: center top;
  filter: saturate(0.88) contrast(1.03);
  display: block;
  padding: 10px;
  background: #141414;
  border: 1px solid rgba(160, 140, 91, .45);
}
.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 AI 生意自駕適配診斷 ---------- */

#apply.course-79800-diagnosis-section { scroll-margin-top: 0; }
.course-diagnosis-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.course-diagnosis-basics { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 34px; }
.course-diagnosis-basics .diagnosis-simple-field { display: block; margin: 0; }
.course-diagnosis-basics .is-wide { grid-column: 1 / -1; }
.diagnosis-stage select {
  width: 100%; padding: 14px 0 15px; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); border-radius: 0;
  color: #fff; background: transparent; font: inherit; font-size: 17px; line-height: 1.65; outline: 0; appearance: none;
}
.diagnosis-stage select:focus { border-color: var(--diag-gold); }
.diagnosis-stage select option { color: #111; background: #fff; }
.c79d-noscript { text-align: center; color: var(--grey-text); }
.c79d-panel {
  min-height: 100svh;
  padding: clamp(64px, 8vw, 112px) max(28px, calc((100vw - 1120px) / 2));
  background: #050505;
  color: #f8f5ee;
}
.c79d-panel h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.48; letter-spacing: .03em; }
.c79d-kicker { display: block; margin-bottom: 24px; color: #d9bd80; font-family: var(--caps); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; }
.c79d-lead { max-width: 760px; margin-top: 24px; color: #aaa69e; font-size: 16px; line-height: 2; }
.c79d-start { display: grid; place-items: center; margin: 72px 0 34px; }
.c79d-orbit { width: 210px; height: 210px; border: 1px solid #a08c5b; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; box-shadow: 0 0 0 18px rgba(160,140,91,.07), 0 0 0 38px rgba(160,140,91,.035); transition: transform .3s, background .3s; }
.c79d-orbit:hover { transform: scale(1.04); background: rgba(160,140,91,.12); }
.c79d-orbit span { display: block; font-family: var(--serif); font-size: 25px; letter-spacing: .08em; }
.c79d-orbit small { display: block; margin-top: 8px; color: #d9bd80; letter-spacing: .2em; }
.c79d-proof { margin-top: 24px; color: #8f8c85; font-size: 13px; text-align: center; letter-spacing: .08em; }
.c79d-progress { max-width: 420px; margin: 0 0 46px; }
.c79d-progress > div { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; color: #d9bd80; }
.c79d-progress strong { font-family: var(--caps); font-size: 15px; letter-spacing: .16em; }
.c79d-progress span { font-size: 11px; color: #8f8c85; }
.c79d-progress i { display: block; height: 5px; background: #252525; overflow: hidden; }
.c79d-progress b { display: block; height: 100%; background: linear-gradient(90deg,#8f7743,#e2c887); transition: width .5s ease; }
.c79d-field { margin-top: 34px; }
.c79d-field label, .c79d-options legend { display: block; margin-bottom: 10px; color: #d9bd80; font-size: 12px; letter-spacing: .16em; }
.c79d-field input, .c79d-field select, .c79d-field textarea {
  width: 100%; border: 0; border-bottom: 1px solid #57534b; border-radius: 0; padding: 13px 2px 15px; background: transparent; color: #fff; font: inherit; font-size: 17px; outline: none; appearance: none;
}
.c79d-field textarea { resize: vertical; min-height: 104px; line-height: 1.8; }
.c79d-field input:focus, .c79d-field select:focus, .c79d-field textarea:focus { border-color: #d9bd80; }
.c79d-field ::placeholder { color: #716e68; }
.c79d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.c79d-options { margin-top: 42px; border: 0; }
.c79d-options label { display: block; opacity: 0; transform: translateY(9px); animation: c79d-rise .45s ease forwards; animation-delay: calc(var(--delay, 0) * 80ms); }
.c79d-options input { position: absolute; opacity: 0; pointer-events: none; }
.c79d-options span { display: flex; align-items: center; gap: 18px; min-height: 66px; margin-top: 10px; padding: 14px 18px; border: 1px solid #343434; color: #c6c3bb; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.c79d-options span b { color: #8f7743; font: 400 11px var(--caps); letter-spacing: .1em; }
.c79d-options input:checked + span { border-color: #d9bd80; background: rgba(217,189,128,.1); color: #fff; }
.c79d-options span:hover { border-color: #817452; color: #fff; }
.c79d-multi { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.c79d-multi legend { grid-column: 1 / -1; }
.c79d-question { max-width: 820px; font-size: clamp(26px, 3.3vw, 42px) !important; }
.c79d-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 52px; }
.c79d-panel .btn { padding: 17px 28px; background: #d9bd80; border-color: #d9bd80; color: #090909; letter-spacing: .16em; }
.c79d-panel .btn:hover { background: #f2dfb1; }
.c79d-back, .c79d-text-action { border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #8f8c85; font: inherit; cursor: pointer; }
.c79d-back:hover, .c79d-text-action:hover { color: #fff; }
.c79d-error { margin-top: 22px; color: #ff9b89; }
.c79d-input-row { display: flex; align-items: flex-end; gap: 12px; }
.c79d-mic { flex: 0 0 46px; width: 46px; height: 46px; margin-bottom: 8px; border: 1px solid #5c5545; border-radius: 50%; background: transparent; color: #d9bd80; cursor: pointer; }
.c79d-mic.is-listening { background: #d9bd80; color: #050505; animation: c79d-pulse 1.2s infinite; }
.c79d-voice-tools { display: flex; justify-content: space-between; gap: 16px; margin-top: 9px; color: #77746e; font-size: 11px; }
.c79d-voice-tools button { border: 0; background: transparent; color: #77746e; cursor: pointer; }
.c79d-voice-tools button.is-selected { color: #d9bd80; text-decoration: underline; }
.c79d-loading { display: flex; min-height: 500px; flex-direction: column; justify-content: center; text-align: center; }
.c79d-loader { display: flex; justify-content: center; gap: 9px; margin: 42px 0; }
.c79d-loader i { width: 8px; height: 8px; background: #d9bd80; border-radius: 50%; animation: c79d-wave 1.2s infinite; }
.c79d-loader i:nth-child(2) { animation-delay: .15s; }.c79d-loader i:nth-child(3) { animation-delay: .3s; }
.c79d-case { max-width: 650px; margin: 0 auto; padding: 28px; border-top: 1px solid #51482f; border-bottom: 1px solid #51482f; transition: opacity .2s; }
.c79d-case strong { color: #fff; font: 300 21px var(--serif); }.c79d-case p { margin-top: 10px; color: #aaa69e; }
.c79d-loading-note { margin-top: 24px; color: #686660; font-size: 11px; }
.c79d-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 42px; background: #4b4332; }
.c79d-preview > div { padding: 30px; background: #111; }
.c79d-preview small, .c79d-result-grid small, .c79d-next small { display: block; margin-bottom: 12px; color: #d9bd80; letter-spacing: .14em; }
.c79d-preview strong { display: block; font: 300 24px var(--serif); }.c79d-preview p { margin-top: 12px; color: #aaa69e; }
.c79d-choice { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 44px; }
.c79d-consent { display: flex; gap: 14px; margin-top: 36px; color: #aaa69e; font-size: 13px; line-height: 1.8; cursor: pointer; }
.c79d-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; accent-color: #d9bd80; }.c79d-consent a { color: #d9bd80; }
.c79d-result-summary { max-width: 760px; margin-top: 24px; color: #c4c0b7; font-size: 18px; line-height: 1.9; }
.c79d-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 42px; background: #4b4332; }
.c79d-result-grid article { padding: 28px; background: #111; }.c79d-result-grid p { color: #d5d1c8; }
.c79d-next { margin-top: 1px; padding: 30px; background: #111; }.c79d-next ol { padding-left: 22px; color: #d5d1c8; }.c79d-next li + li { margin-top: 8px; }
.c79d-delivery { margin-top: 42px; padding: 30px; border: 1px solid #6c5c38; }.c79d-delivery strong { font: 300 22px var(--serif); }.c79d-delivery p { margin: 13px 0 24px; color: #aaa69e; }
.is-result > .c79d-text-action { display: block; margin: 28px auto 0; }
@keyframes c79d-rise { to { opacity: 1; transform: none; } }
@keyframes c79d-wave { 0%,100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-8px); opacity: 1; } }
@keyframes c79d-pulse { 50% { box-shadow: 0 0 0 9px rgba(217,189,128,.12); } }

@media (max-width: 700px) {
  .course-diagnosis-basics { grid-template-columns: 1fr; gap: 24px; }
  .course-diagnosis-basics .is-wide { grid-column: auto; }
  .c79d-panel { min-height: 100svh; padding: 54px 22px; }
  .c79d-panel h2 { font-size: 29px; line-height: 1.5; }
  .c79d-question { font-size: 27px !important; }
  .c79d-grid, .c79d-multi, .c79d-preview, .c79d-result-grid { grid-template-columns: 1fr; }
  .c79d-orbit { width: 176px; height: 176px; }
  .c79d-actions { align-items: stretch; flex-direction: column-reverse; }
  .c79d-actions .btn { width: 100%; }
  .c79d-back { align-self: flex-start; }
  .c79d-options span { min-height: 62px; padding: 12px 14px; }
  .c79d-delivery .btn { display: block; width: 100%; text-align: center; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .c79d-options label { opacity: 1; transform: none; animation: none; }
  .c79d-loader i, .c79d-mic.is-listening { animation: none; }
}

.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: #fff;
  padding: 80px 0 40px;
  text-align: left;
  border-top: 1px solid var(--grey-line-dark);
}
.footer .shell {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}
.footer-grid2 {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  align-items: start;
}
.footer-brand-col {
  padding-right: 56px;
}
.footer-brand-title {
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.footer-brand-desc {
  max-width: 310px;
  margin-top: 18px;
  color: #fff;
  font-size: 14px;
  line-height: 1.9;
}
.footer-col {
  min-height: 100%;
  padding-left: 32px;
  border-left: 1px solid rgba(255,255,255,0.28);
}
.footer-col h4 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-family: var(--caps);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.5;
}
.footer-col a,
.footer-col a:visited {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1.65;
  text-decoration: none;
}
.footer-col a:hover,
.footer-col a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 13px;
}
.footer-bottom2 p {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a,
.footer-social a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

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

@media (max-width: 900px) {
  .c79-shell { width: calc(100% - 32px); }
  .c79-topbar-inner { height: 76px; }
  section { padding: 100px 0; }
  .footer-grid2 { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand-col { grid-column: 1 / -1; padding-right: 0; }
  .footer-col { padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,0.28); border-left: 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 { top: 96px; 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; }
  .footer { padding: 64px 0 34px; }
  .footer .shell { width: min(100% - 44px, 1120px); }
  .footer-grid2 { grid-template-columns: 1fr; gap: 0; }
  .footer-brand-col { padding-bottom: 28px; }
  .footer-col { padding: 24px 0 12px; }
  .footer-bottom2 { align-items: flex-start; flex-direction: column; margin-top: 28px; }
  .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;
}
