/* ==================================================================
 * Steve 的 AI 生活應用分享會｜樣式
 * 設計語言：LUMA 基礎版（海岸感、編輯式敘事、自然光、慢速動態）
 * ================================================================== */

:root {
  /* LUMA 核心色票 */
  --luma-bg: #FFFFFF;
  --luma-bg-alt: #F7F4EF;
  --luma-surface: #FFFFFF;
  --luma-text: #1F2A2E;
  --luma-text-soft: #5F6B70;
  --luma-muted: #8A969B;
  --luma-primary: #1F6F78;
  --luma-primary-dark: #15515A;
  --luma-primary-soft: #E6F1F2;
  --luma-accent: #C88A4A;
  --luma-accent-soft: #F3E4D3;
  --luma-border: #E5E0D8;
  --luma-shadow: rgba(31, 42, 46, 0.12);
  --luma-deep: #18282D;
  --luma-light: #E8ECEC;
  /* 衍生：暖棕小字需要較深色才能達到 4.5:1 對比 */
  --luma-accent-text: #8A5A26;

  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

  /* 字級 */
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-eyebrow: 12.5px;
  --fs-h1: clamp(40px, 4.4vw, 62px);
  --fs-h2: clamp(30px, 3.1vw, 42px);
  --fs-h3: clamp(22px, 2.1vw, 28px);
  --fs-lead: 19px;
  --fs-display: clamp(44px, 5vw, 64px);

  /* 版面 */
  --sb-w: 240px;
  --sb-w-collapsed: 76px;
  --content-max: 1280px;
  --pad-x: clamp(32px, 4vw, 56px);
  --chapter-gap: clamp(96px, 11vh, 140px);
  --radius-card: 24px;
  --radius-item: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ui-zoom: 1;
}

/* 深色模式：由側欄「淺色／深色」按鈕切換（html[data-theme="dark"]） */
:root[data-theme="dark"] {
  color-scheme: dark;
  --luma-bg: #121B1E;
  --luma-bg-alt: #0F181B;
  --luma-surface: #172327;
  --luma-text: #E6EDED;
  --luma-text-soft: #A7B5B8;
  --luma-muted: #7F8E92;
  --luma-primary: #2A8A93;
  --luma-primary-dark: #8ED0D6;
  --luma-primary-soft: #1B3236;
  --luma-accent: #D49E66;
  --luma-accent-soft: #392B1D;
  --luma-border: #2A3A3F;
  --luma-shadow: rgba(0, 0, 0, .45);
  --luma-deep: #0B1416;
  --luma-accent-text: #E2B482;
}
:root[data-theme="dark"] .stage {
  background: radial-gradient(1200px 520px at 90% -10%, rgba(31, 111, 120, .22), transparent 60%), var(--luma-bg-alt);
}
:root[data-theme="dark"] .btn-primary:hover { background: #237780; }
:root[data-theme="dark"] .hero-title span:first-child { color: var(--luma-primary-dark); }
:root[data-theme="dark"] .play-disc,
:root[data-theme="dark"] .extended-play { color: #15515A; }
:root[data-theme="dark"] .status--pending,
:root[data-theme="dark"] .video-placeholder { border-color: #3C4D52; }
:root[data-theme="dark"] .prompt-note { color: #F0D9BF; }
:root[data-theme="dark"] .deco-sun { opacity: .5; }
:root[data-theme="dark"] .oc-idea { background: radial-gradient(circle at 70% 25%, rgba(212, 158, 102, .25), transparent 55%), var(--luma-primary-soft); }
:root[data-theme="dark"] .video-cover { background: radial-gradient(circle at 78% 24%, rgba(243, 228, 211, .2), transparent 34%), linear-gradient(160deg, #1F6F78 0%, #15515A 70%); }
:root[data-theme="dark"] .video-launch { background: #15515A; }

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--luma-text);
  background: var(--luma-bg-alt);
  -webkit-font-smoothing: antialiased;
  overflow: hidden; /* 由 #stage 獨立捲動 */
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a { color: var(--luma-primary); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--luma-primary); color: #fff; padding: 10px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--luma-primary); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

.icon {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ------------------------------------------------------------------
 * 按鈕與狀態標籤
 * ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--luma-primary); color: #fff; }
.btn-primary:hover { background: var(--luma-primary-dark); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-ghost { background: var(--luma-surface); color: var(--luma-primary-dark); border-color: var(--luma-border); }
.btn-ghost:hover { border-color: var(--luma-primary); }
.btn-text {
  min-height: 44px; padding: 0 4px; background: none; color: var(--luma-primary);
  border-radius: 8px; gap: 8px;
}
.btn-text:hover { color: var(--luma-primary-dark); transform: none; text-decoration: underline; text-underline-offset: 4px; }
.btn-on-dark { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-on-dark:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; white-space: nowrap;
  vertical-align: middle;
}
.status .icon { width: 15px; height: 15px; }
.status--ready { background: var(--luma-primary-soft); color: var(--luma-primary-dark); }
.status--pending { background: var(--luma-bg-alt); color: var(--luma-text-soft); border: 1px dashed #CFC7BA; }
.status--dayof { background: var(--luma-accent-soft); color: var(--luma-accent-text); }
.status--planned { background: var(--luma-accent-soft); color: var(--luma-accent-text); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--luma-accent-text);
}
.eyebrow-no {
  display: inline-grid; place-items: center; min-width: 2.6em; height: 2.2em; padding: 0 .6em;
  border-radius: 999px; background: var(--luma-primary); color: #fff; letter-spacing: .08em;
}
.soft { color: var(--luma-text-soft); }

/* ------------------------------------------------------------------
 * 左側導覽
 * ------------------------------------------------------------------ */
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40;
  width: var(--sb-w);
  display: flex; flex-direction: column;
  padding: 22px 14px 18px;
  background: linear-gradient(180deg, #18393F 0%, var(--luma-deep) 100%);
  color: #E9F1F1;
  transition: width .35s var(--ease), transform .35s var(--ease);
  zoom: var(--ui-zoom);
}
.sb-brand { display: flex; align-items: center; gap: 12px; padding: 4px 6px 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sb-mark {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--luma-primary); color: #fff; font-weight: 900; font-size: 13px; letter-spacing: .02em;
  box-shadow: inset 0 -3px 0 var(--luma-accent);
}
.sb-brand-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.sb-brand-text strong { font-size: 15px; letter-spacing: .04em; white-space: nowrap; }
.sb-brand-text small { font-size: 12.5px; color: #B8CACB; white-space: nowrap; }
.sidebar .sb-close { display: none; margin-left: auto; }

.sb-nav { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 18px 0; margin: 0 -4px; scrollbar-width: thin; }
.sb-nav ol { display: grid; gap: 4px; padding: 0 4px; }
.sb-item {
  position: relative; display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: var(--radius-item);
  color: #D5E2E2; text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 15px; line-height: 1.35;
  transition: background-color .3s, color .3s;
}
.sb-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.sb-item[aria-current] { background: var(--luma-primary); color: #fff; }
.sb-item[aria-current] .sb-no { color: var(--luma-accent-soft); }
.sb-icon { display: inline-flex; flex: none; }
.sb-icon .icon { width: 22px; height: 22px; }
.sb-no { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #93AEB0; }
.sb-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-item:focus-visible { outline-color: var(--luma-accent-soft); }

.sb-foot { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.sb-tool { font-size: 14.5px; }
.sb-tool[aria-pressed="true"]#presentBtn { background: rgba(200, 138, 74, .22); color: #fff; }
.sb-theme .sb-state { margin-left: auto; font-size: 12px; color: #93AEB0; letter-spacing: .06em; }
.sb-collapsed .sb-theme .sb-state { display: none; }
.sb-date { margin-top: 10px; padding: 0 14px; font-size: 12.5px; line-height: 1.6; color: #93AEB0; }
.sb-date span { display: block; color: var(--luma-accent-soft); font-weight: 700; letter-spacing: .08em; }

/* 收合狀態 */
.sb-collapsed .sidebar { width: var(--sb-w-collapsed); padding-inline: 12px; }
.sb-collapsed .sb-brand { justify-content: center; padding-inline: 0; }
.sb-collapsed .sb-brand-text,
.sb-collapsed .sb-label,
.sb-collapsed .sb-no,
.sb-collapsed .sb-date { display: none; }
.sb-collapsed .sb-item { justify-content: center; padding: 0; }
.sb-collapsed .sb-nav { overflow: visible; }
.sb-collapsed .sidebar [data-tip]:hover::after,
.sb-collapsed .sidebar [data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  padding: 7px 12px; border-radius: 10px; white-space: nowrap;
  background: var(--luma-deep); color: #fff; font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 24px var(--luma-shadow); pointer-events: none; z-index: 5;
}

/* 行動版頂列 */
.topbar { display: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 12px; border: 0; background: transparent; color: inherit; cursor: pointer;
}
.icon-btn:hover { background: rgba(31, 111, 120, .1); }
.icon-btn .icon { width: 22px; height: 22px; }
.scrim { position: fixed; inset: 0; z-index: 35; background: rgba(24, 40, 45, .45); }

/* ------------------------------------------------------------------
 * 右側內容舞台
 * ------------------------------------------------------------------ */
.stage {
  position: fixed; top: 0; right: 0; bottom: 0;
  left: calc(var(--sb-w) * var(--ui-zoom));
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  transition: left .35s var(--ease);
  background:
    radial-gradient(1200px 520px at 90% -10%, rgba(230, 241, 242, .9), transparent 60%),
    var(--luma-bg-alt);
}
.sb-collapsed .stage { left: calc(var(--sb-w-collapsed) * var(--ui-zoom)); }
.stage:focus { outline: none; }
.stage-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--pad-x) 140px;
}
.noscript { padding: 40px 0; }

.chapter { padding-top: var(--chapter-gap); }
.chapter-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.chapter-title {
  margin-top: 18px;
  font-size: var(--fs-h2); font-weight: 900; line-height: 1.3; letter-spacing: .01em;
  color: var(--luma-text);
}
.chapter-lead { margin-top: 18px; font-size: var(--fs-lead); color: var(--luma-text-soft); max-width: 44em; }
.sub-title { font-size: var(--fs-h3); font-weight: 800; line-height: 1.4; color: var(--luma-text); }

/* ---------- 01 Hero ---------- */
.chapter--welcome { padding-top: 0; }
.hero {
  position: relative;
  margin: 0 calc(var(--pad-x) * -1);
  padding: clamp(56px, 9vh, 104px) var(--pad-x) clamp(64px, 9vh, 96px);
  min-height: min(100vh, 880px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.deco-sun { fill: var(--luma-accent-soft); opacity: .75; }
.deco-line { fill: none; stroke-width: 1.5; }
.deco-line--a { stroke: rgba(31, 111, 120, .28); }
.deco-line--b { stroke: rgba(31, 111, 120, .16); }
.deco-road { fill: none; stroke: rgba(200, 138, 74, .35); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }

.hero-grid {
  position: relative; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero-title {
  font-size: var(--fs-h1); font-weight: 900; line-height: 1.22; letter-spacing: .01em;
}
.hero-title span { display: block; }
.hero-title span:first-child { color: var(--luma-primary); }
.hero-sub { margin-top: 20px; font-size: clamp(19px, 1.7vw, 24px); color: var(--luma-text-soft); font-weight: 500; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  margin-top: 36px; padding: 22px 0; border-block: 1px solid var(--luma-border);
}
.hero-meta dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--luma-accent-text); }
.hero-meta dt .icon { width: 17px; height: 17px; }
.hero-meta dd { margin-top: 4px; font-size: 18px; font-weight: 700; color: var(--luma-text); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.hero-speaker { display: flex; align-items: center; gap: 8px; color: var(--luma-text-soft); font-size: 15.5px; }


/* 區塊標題 */
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 28px; }
.block-head .eyebrow { width: 100%; }
.block-title { font-size: var(--fs-h3); font-weight: 900; line-height: 1.4; }
.block-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--luma-text-soft); font-size: 15px; }


/* 今日三個重點 */
.focus-wrap { padding-top: clamp(72px, 9vh, 104px); }
.focus-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.focus-list li { padding: 8px 32px 8px 0; margin-right: 32px; border-right: 1px solid var(--luma-border); }
.focus-list li:last-child { border-right: 0; margin-right: 0; }
.focus-no { display: block; font-size: 44px; font-weight: 900; line-height: 1; color: var(--luma-accent); }
.focus-list p { margin-top: 16px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; line-height: 1.6; }
.honest-note {
  margin-top: 48px; max-width: 46em; padding-left: 20px;
  border-left: 3px solid var(--luma-accent); color: var(--luma-text-soft);
}

/* ---------- 影片卡片 ---------- */
.video-card { display: block; }
.video-media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden;
}
.video-card.is-vertical .video-media { aspect-ratio: 9 / 16; max-width: 360px; max-height: 72vh; margin-inline: auto; }
.video-launch {
  padding: 0; border: 0; cursor: pointer; color: #fff;
  background: var(--luma-primary-dark);
}
.video-launch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.video-card.is-vertical .video-launch img { object-fit: contain; background: #0f1d21; }
.video-launch:hover img { transform: scale(1.05); }
.video-cover {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(243, 228, 211, .45), transparent 34%),
    linear-gradient(160deg, var(--luma-primary) 0%, var(--luma-primary-dark) 70%);
}
.play-disc {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--luma-primary-dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transition: transform .3s var(--ease);
}
.play-disc .icon { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.video-launch:hover .play-disc { transform: translate(-50%, -50%) scale(1.06); }
.video-launch-label {
  position: absolute; left: 20px; bottom: 16px; padding: 6px 14px; border-radius: 999px;
  background: rgba(24, 40, 45, .7); font-size: 14px; font-weight: 700;
}
.video-card .video-placeholder,
.video-card.is-vertical .video-placeholder { aspect-ratio: auto; min-height: 200px; max-width: none; max-height: none; }
.video-card--lg .video-placeholder { min-height: 260px; }
.video-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    repeating-linear-gradient(135deg, rgba(31, 111, 120, .045) 0 12px, transparent 12px 24px),
    var(--luma-surface);
  border: 1.5px dashed #CFC7BA; color: var(--luma-text-soft);
}
.placeholder-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--luma-bg-alt); color: var(--luma-accent-text); }
.placeholder-icon .icon { width: 28px; height: 28px; }
.placeholder-text { font-size: 18px; font-weight: 700; }
.video-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; }
.video-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; color: var(--luma-accent-text); }
.video-title { font-size: 19px; font-weight: 800; }
.video-duration { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--luma-text-soft); }
.video-card.is-pending .video-caption .status { display: none; } /* 卡片內已明示「影片準備中」 */

/* ---------- 02 Journey ---------- */
.journey-feature { max-width: 1040px; }
.journey-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); margin-top: clamp(56px, 7vw, 88px); align-items: start;
}
.journey-quote { position: sticky; top: 40px; }
.journey-quote p {
  position: relative; padding-top: 44px;
  font-size: clamp(22px, 2.1vw, 28px); font-weight: 700; line-height: 1.7; color: var(--luma-primary-dark);
}
.journey-quote p::before {
  content: "“"; position: absolute; top: -18px; left: -6px;
  font: 900 96px/1 Georgia, "Times New Roman", serif; color: var(--luma-accent);
}
.journey-quote footer { margin: 18px 0 28px; color: var(--luma-text-soft); font-weight: 700; letter-spacing: .08em; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 2px; background: var(--luma-border); }
.timeline-item { position: relative; padding: 0 0 26px; }
.timeline-item::before {
  content: ""; position: absolute; left: -28px; top: 9px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--luma-primary); box-shadow: 0 0 0 5px var(--luma-bg-alt);
}
.timeline-item.is-planned::before { background: var(--luma-bg-alt); border: 2px dashed var(--luma-accent); }
.timeline-date { display: block; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--luma-accent-text); }
.timeline-text { margin-top: 2px; font-size: 18px; font-weight: 500; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.timeline-item.is-planned .timeline-text { font-weight: 700; color: var(--luma-primary-dark); }



/* ---------- 05 建立 AI 助理 ---------- */
.luna { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.luna-copy p { margin-top: 16px; }
.luna-copy .keep { font-size: 18px; }
.claude-video { max-width: 820px; margin-top: 64px; }
.steps-wrap { margin-top: clamp(64px, 8vw, 104px); }
.steps-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 28px; }
.steps-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--luma-text-soft); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border-top: 1px solid var(--luma-border); }
.steps li { padding: 24px 24px 8px 0; }
.step-no {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--luma-primary); color: #fff; font-size: 20px; font-weight: 900;
}
.steps li:nth-child(n+4) .step-no { background: var(--luma-surface); color: var(--luma-primary); border: 2px solid var(--luma-primary); }
.steps p { margin-top: 14px; font-size: 18px; font-weight: 700; line-height: 1.6; }

.prompt {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(28px, 4vw, 56px); margin-top: clamp(64px, 8vw, 104px); align-items: start;
}
.prompt-panel {
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-card);
  background: var(--luma-surface); border: 1px solid var(--luma-border);
  box-shadow: 0 24px 60px -30px var(--luma-shadow);
}
.prompt-kicker { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--luma-accent-text); }
.prompt-text {
  margin: 16px 0 0; font-family: var(--font); font-size: 17px; line-height: 1.95;
  white-space: pre-wrap; word-break: break-word; color: var(--luma-text);
}
.prompt-text:focus-visible { outline-offset: 8px; }
.prompt-text mark { background: var(--luma-accent-soft); color: var(--luma-accent-text); font-weight: 700; padding: 0 2px; border-radius: 4px; }
.prompt-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.prompt-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 16px 18px; border-radius: 16px; background: var(--luma-accent-soft); color: #5B3A16; font-weight: 500;
}
.prompt-note .icon { margin-top: .3em; color: var(--luma-accent-text); }


/* ---------- 07 帶回去繼續用 ---------- */
.res-list { border-top: 2px solid var(--luma-text); }
.res {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--luma-border);
}
.res-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--luma-primary-soft); color: var(--luma-primary); }
.res-title { font-size: 20px; font-weight: 800; line-height: 1.45; }
.res-desc { color: var(--luma-text-soft); font-size: 15.5px; }
.res-action { justify-self: end; }
.res-videos { display: flex; flex-direction: column; align-items: flex-end; }
.extended { margin-top: clamp(56px, 7vw, 88px); }
.extended .soft { margin-top: 8px; font-size: 15.5px; }
.extended-list { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.extended-list li {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 22px 24px; border-radius: 20px; background: var(--luma-surface); border: 1px solid var(--luma-border);
}
.extended-list li:nth-child(4n+2), .extended-list li:nth-child(4n+3) { background: var(--luma-primary-soft); border-color: transparent; }
.extended-title { font-size: 18px; font-weight: 800; line-height: 1.5; }

.site-share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px;
  margin-top: clamp(56px, 7vw, 88px); padding: 28px; border-radius: 28px;
  background: var(--luma-surface); border: 1px solid var(--luma-border);
}
.qr-box { width: 200px; flex: none; padding: 8px; background: #fff; border-radius: 16px; border: 1px solid var(--luma-border); }
.qr { width: 100%; height: auto; display: block; }
.site-share-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.site-url { font-size: 17px; font-weight: 700; color: var(--luma-primary-dark); word-break: break-all; }

.closing {
  position: relative; margin-top: clamp(80px, 10vw, 136px); padding: clamp(56px, 8vw, 104px) 0 20px;
  border-top: 1px solid var(--luma-border); text-align: center;
}
.closing::before {
  content: ""; position: absolute; left: 50%; top: -1px; width: 88px; height: 3px; transform: translateX(-50%);
  background: var(--luma-accent);
}
.closing-lead { font-size: clamp(20px, 2vw, 26px); color: var(--luma-text-soft); font-weight: 500; }
.closing-main { margin-top: 12px; font-size: var(--fs-h2); font-weight: 900; line-height: 1.45; color: var(--luma-primary-dark); }
.closing-brand { margin-top: 40px; font-size: 14px; letter-spacing: .1em; color: var(--luma-text-soft); }

/* ------------------------------------------------------------------
 * 彈窗、提示、簡報控制列
 * ------------------------------------------------------------------ */
.modal {
  padding: 0; border: 0; border-radius: 24px; color: var(--luma-text);
  background: var(--luma-surface); box-shadow: 0 40px 100px rgba(0, 0, 0, .4);
  max-width: min(94vw, 1400px); max-height: 94vh; overflow: auto;
  zoom: var(--ui-zoom);
}
.modal::backdrop { background: rgba(15, 29, 33, .78); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 12px 24px; }
.modal-title { font-size: 19px; font-weight: 800; line-height: 1.4; min-width: 0; }
.modal-tools { display: flex; gap: 4px; flex: none; }
.modal-foot { padding: 12px 24px 18px; font-size: 14.5px; color: var(--luma-text-soft); }
.modal-foot:empty { display: none; }
.modal-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.video-modal { width: min(94vw, 1400px); }
.video-frame { width: 100%; aspect-ratio: 16 / 9; max-height: calc(94vh - 130px); background: #0B1416; }
.video-frame.is-vertical { aspect-ratio: 9 / 16; width: auto; height: calc(94vh - 130px); max-width: 100%; margin: 0 auto; }
.video-modal.is-vertical { width: max(340px, calc((94vh - 130px) * 9 / 16)); }
/* 縮小：右下角小視窗，後方網頁可操作 */
.video-modal.is-mini {
  position: fixed; inset: auto 24px 24px auto; margin: 0; z-index: 60;
  width: min(440px, calc(100vw - 32px)); max-height: none; overflow: hidden;
  border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.video-modal.is-mini.is-vertical { width: max(280px, calc(min(52vh, 560px) * 9 / 16)); }
.video-modal.is-mini .modal-head { padding: 6px 6px 6px 16px; gap: 8px; }
.video-modal.is-mini .modal-title { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-modal.is-mini .video-frame { max-height: none; }
.video-modal.is-mini .video-frame.is-vertical { height: min(52vh, 560px); }
.video-modal.is-mini .modal-foot { display: none; }
.is-presenting .video-modal.is-mini { bottom: 96px; }
.video-frame iframe, .video-frame video { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #0B1416; }
.image-modal { width: auto; }
.image-full { padding: 0 20px; }
.image-full img { width: auto; height: auto; max-width: 100%; max-height: calc(94vh - 140px); object-fit: contain; margin: 0 auto; border-radius: 10px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 20px);
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 40px);
  padding: 12px 20px; border-radius: 999px; background: var(--luma-deep); color: #fff; font-weight: 700; font-size: 15.5px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast--ok .icon { color: #9FD6CF; }
.toast--error { background: #6B2F1E; }
.copy-buffer { position: fixed; top: 0; left: -9999px; opacity: 0; }

.present-bar {
  position: fixed; right: 24px; bottom: 24px; z-index: 30;
  display: flex; align-items: center; gap: 6px; padding: 6px;
  border-radius: 999px; background: rgba(24, 40, 45, .92); color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  zoom: var(--ui-zoom);
}
.pb-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 18px;
  border: 0; border-radius: 999px; background: transparent; color: #fff; font-weight: 700; font-size: 16px; cursor: pointer;
}
.pb-btn:hover { background: rgba(255, 255, 255, .12); }
.pb-btn:disabled { opacity: .35; cursor: not-allowed; background: transparent; }
.pb-btn:focus-visible { outline-color: var(--luma-accent-soft); outline-offset: 0; }
.pb-icon { width: 48px; padding: 0; justify-content: center; }
.pb-status { padding: 0 10px; font-size: 15px; color: #CFE0E0; white-space: nowrap; }

/* ------------------------------------------------------------------
 * 進場動態
 * ------------------------------------------------------------------ */
.motion-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
.motion-ready .path-item.reveal:nth-child(2), .motion-ready .focus-list li:nth-child(2), .motion-ready .area:nth-child(2) { transition-delay: .12s; }
.motion-ready .path-item.reveal:nth-child(3), .motion-ready .focus-list li:nth-child(3), .motion-ready .area:nth-child(3) { transition-delay: .24s; }
.hero-deco { animation: heroFade 2s var(--ease) both; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  .motion-ready .reveal { transform: none !important; transition: opacity .3s linear !important; transition-delay: 0s !important; }
  .hero-deco { animation: none; }
  .btn, .video-launch img, .play-disc, .sidebar, .stage, .toast { transition: none !important; }
  .btn:hover { transform: none; }
  .video-launch:hover img { transform: none; }
}

/* ------------------------------------------------------------------
 * 現場簡報模式
 * ------------------------------------------------------------------ */
.is-presenting {
  --fs-body: clamp(24px, 1.36vw, 54px);
  --fs-small: calc(var(--fs-body) * .78);
  --fs-eyebrow: calc(var(--fs-body) * .66);
  --fs-lead: calc(var(--fs-body) * 1.08);
  --fs-h1: calc(var(--fs-body) * 3.1);
  --fs-h2: calc(var(--fs-body) * 2.2);
  --fs-h3: calc(var(--fs-body) * 1.4);
  --fs-display: calc(var(--fs-body) * 3);
  --content-max: calc(var(--fs-body) * 62);
  --chapter-gap: 0px;
}
.is-presenting .stage-inner { padding-bottom: 0; font-size: var(--fs-body); }
.is-presenting .chapter {
  min-height: 100vh;
  padding-top: calc(var(--fs-body) * 3.2);
  padding-bottom: calc(var(--fs-body) * 5);
}
.is-presenting .chapter + .chapter { border-top: 1px solid var(--luma-border); }
.is-presenting .chapter--welcome { padding-top: 0; }
.is-presenting .hero { min-height: 100vh; }
.is-presenting .low { display: none !important; }
.is-presenting .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.is-presenting .hero-deco { animation: none; }
.is-presenting .journey-quote { position: static; }
/* 簡報模式放大主要文字（約 24–28px 以上） */
.is-presenting .hero-meta dd,
.is-presenting .hero-intro,
.is-presenting .path-desc,
.is-presenting .area-text,
.is-presenting .activity-goal,
.is-presenting .activity-steps li,
.is-presenting .work-story dd,
.is-presenting .timeline-text,
.is-presenting .luna-copy .keep,
.is-presenting .steps p,
.is-presenting .prompt-text,
.is-presenting .prompt-note,
.is-presenting .res-desc,
.is-presenting .honest-note,
.is-presenting .hero-speaker { font-size: var(--fs-body); }
.is-presenting .hero-sub,
.is-presenting .focus-list p,
.is-presenting .journey-quote p,
.is-presenting .closing-lead { font-size: calc(var(--fs-body) * 1.2); }
.is-presenting .path-title,
.is-presenting .area-title,
.is-presenting .activity-title,
.is-presenting .res-title,
.is-presenting .video-title,
.is-presenting .extended-title { font-size: calc(var(--fs-body) * 1.12); }
.is-presenting .hero-meta dt,
.is-presenting .timeline-head,
.is-presenting .work-story dt,
.is-presenting .activity-no,
.is-presenting .timeline-date,
.is-presenting .video-kicker,
.is-presenting .prompt-kicker,
.is-presenting .status,
.is-presenting .block-meta,
.is-presenting .soft,
.is-presenting .steps-note,
.is-presenting .placeholder-text,
.is-presenting .closing-brand { font-size: var(--fs-small); }
.is-presenting .status .icon { width: 1em; height: 1em; }
.is-presenting .btn { font-size: var(--fs-small); min-height: calc(var(--fs-body) * 2.2); padding: 0 1.2em; }
.is-presenting .path-no, .is-presenting .focus-no { font-size: calc(var(--fs-body) * 1.9); }
.is-presenting .path-item { grid-template-columns: 3.2em minmax(0, 1fr) auto; }
.is-presenting .hero-video .video-card.is-vertical .video-media { max-width: calc(var(--fs-body) * 13); }
.is-presenting .step-no { width: 2em; height: 2em; font-size: calc(var(--fs-body) * .9); }
.is-presenting .steps { grid-template-columns: repeat(auto-fit, minmax(8.5em, 1fr)); }
.is-presenting .res { grid-template-columns: 2.4em minmax(0, 1fr) auto; }
.is-presenting .res-icon { width: 2.2em; height: 2.2em; }
.is-presenting .video-card.is-vertical .video-media { max-width: calc(var(--fs-body) * 15); }
.is-presenting .qr-box { width: calc(var(--fs-body) * 9); }

/* ------------------------------------------------------------------
 * 響應式
 * ------------------------------------------------------------------ */
@media (min-width: 2560px) {
  :root { --ui-zoom: 1.5; }
  body:not(.is-presenting) .stage-inner { zoom: 1.5; }
}
@media (min-width: 3400px) {
  :root { --ui-zoom: 2; }
  body:not(.is-presenting) .stage-inner { zoom: 2; }
}

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
}

@media (max-width: 980px) {
  .journey-grid, .luna, .prompt { grid-template-columns: 1fr; }
  .journey-quote { position: static; }
  .extended-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --pad-x: 32px; --chapter-gap: 88px; }
  .topbar {
    position: fixed; inset: 0 0 auto 0; z-index: 30; height: 60px;
    display: flex; align-items: center; gap: 8px; padding: 0 8px;
    background: color-mix(in srgb, var(--luma-bg-alt) 96%, transparent); border-bottom: 1px solid var(--luma-border);
    color: var(--luma-primary-dark);
  }
  .topbar-title { flex: 1; font-weight: 900; letter-spacing: .06em; font-size: 16px; text-align: center; }
  .topbar .icon-btn[aria-pressed="true"] { background: var(--luma-primary); color: #fff; }
  .sidebar {
    width: min(84vw, 300px) !important; padding-inline: 14px !important;
    transform: translateX(-105%); z-index: 50;
    box-shadow: 20px 0 60px rgba(0, 0, 0, .25);
  }
  .drawer-open .sidebar { transform: none; }
  .scrim { z-index: 45; }
  .sidebar .sb-close { display: inline-grid; color: #fff; }
  .sb-close:hover { background: rgba(255, 255, 255, .1); }
  /* 抽屜內永遠顯示完整文字 */
  .sb-collapsed .sb-brand { justify-content: flex-start; padding-inline: 6px; }
  .sb-collapsed .sb-brand-text, .sb-collapsed .sb-label, .sb-collapsed .sb-no, .sb-collapsed .sb-date { display: revert; }
  .sb-collapsed .sb-brand-text { display: flex; }
  .sb-collapsed .sb-item { justify-content: flex-start; padding: 0 14px; }
  .sb-collapsed .sidebar [data-tip]:hover::after, .sb-collapsed .sidebar [data-tip]:focus-visible::after { display: none; }
  .stage, .sb-collapsed .stage { left: 0 !important; top: 60px; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-video { justify-self: start; width: 100%; }
  .focus-list { grid-template-columns: 1fr; }
  .focus-list li { border-right: 0; margin-right: 0; padding: 20px 0; border-bottom: 1px solid var(--luma-border); }
  .present-bar { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; }
  .pb-status { overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; text-align: center; }
  .is-presenting { --fs-body: 22px; }
}

@media (max-width: 560px) {
  :root {
    --pad-x: 20px;
    --fs-body: 16px;
    --fs-h1: 36px;
    --fs-h2: 29px;
    --fs-h3: 23px;
    --fs-lead: 17px;
    --fs-display: 44px;
    --chapter-gap: 72px;
    --radius-card: 20px;
  }
  .hero { padding-top: 40px; }
  .hero-meta { flex-direction: column; gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .path-item { grid-template-columns: 2.4em minmax(0, 1fr); }
  .path-jump { grid-column: 2; justify-self: start; }
  .is-presenting .path-item { grid-template-columns: 2.4em minmax(0, 1fr); }
  .timeline-text { font-size: 16.5px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--luma-border); }
  .steps p { margin-top: 0; font-size: 17px; }
  .step-no { flex: none; }
  .prompt-text { font-size: 16px; }
  .res { grid-template-columns: 44px minmax(0, 1fr); }
  .res-icon { width: 44px; height: 44px; border-radius: 12px; }
  .res-action { grid-column: 1 / -1; justify-self: start; }
  .res-videos { align-items: flex-start; }
  .site-share { padding: 20px; }
  .qr-box { width: 180px; }
  .play-disc { width: 64px; height: 64px; }
  .play-disc .icon { width: 26px; height: 26px; }
  .modal { border-radius: 16px; max-width: 96vw; }
  .video-modal.is-mini { inset: auto 12px 12px auto; }
  .video-modal.is-mini .video-frame.is-vertical { height: 42vh; }
  .video-modal.is-mini.is-vertical { width: max(240px, calc(42vh * 9 / 16)); }
  .image-full { padding: 0 10px; }
  .pb-btn span:not([data-icon]) { display: none; }
  .pb-btn { padding: 0 12px; }
  .is-presenting { --fs-body: 19px; }
  .is-presenting .res { grid-template-columns: 2.4em minmax(0, 1fr); }
}


/* 圖片放大檢視 */
.figure-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 18px; }
.figure-zoom img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--luma-border); background: var(--luma-surface); transition: box-shadow .3s; }
.figure-zoom:hover img { box-shadow: 0 14px 38px -18px var(--luma-shadow); }




/* 會後延伸觀看：加入封面縮圖 */
.extended-list li { flex-direction: row; align-items: stretch; gap: 16px; padding: 16px; }
.extended-thumb {
  position: relative; flex: none; width: 88px; padding: 0; border: 0; cursor: pointer;
  border-radius: 14px; overflow: hidden; background: var(--luma-deep);
}
.extended-thumb img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.extended-thumb:hover img { transform: scale(1.06); }
.extended-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--luma-primary-dark);
}
.extended-play .icon { width: 15px; height: 15px; margin-left: 2px; fill: currentColor; }
.extended-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-width: 0; }
.extended-duration { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--luma-text-soft); }
.extended-duration .icon { width: 14px; height: 14px; }
.is-presenting .extended-thumb { width: calc(var(--fs-body) * 3.4); }
@media (max-width: 560px) {
  .extended-thumb { width: 72px; }
}


/* ==================================================================
 * 03 先看見成果（作品區塊）
 * ================================================================== */

/* 成果區塊共用 */
.oc-list { display: grid; gap: clamp(80px, 10vw, 128px); margin-top: clamp(80px, 10vw, 128px); }
.oc { scroll-margin-top: 24px; }
.oc-kicker { display: flex; align-items: center; gap: 12px; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .2em; color: var(--luma-accent-text); }
.oc-no {
  display: inline-grid; place-items: center; min-width: 2.6em; height: 2.2em; padding: 0 .6em;
  border-radius: 999px; border: 1.5px solid var(--luma-accent); color: var(--luma-accent-text); letter-spacing: .08em;
}
.oc-title { margin-top: 16px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.4; }
.oc-desc { margin-top: 16px; color: var(--luma-text-soft); font-size: 18px; max-width: 32em; }
.oc-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: var(--luma-accent-soft); color: var(--luma-accent-text); font-size: 14px; font-weight: 700; }
.oc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.oc-tools-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--luma-muted); margin-right: 4px; }
.oc-tool { padding: 3px 12px; border-radius: 999px; background: var(--luma-primary-soft); color: var(--luma-primary-dark); font-size: 14px; font-weight: 700; }
.oc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.oc-keyline {
  margin-top: clamp(32px, 4vw, 48px); padding-left: 24px; border-left: 3px solid var(--luma-accent);
  font-size: clamp(20px, 2vw, 26px); font-weight: 900; line-height: 1.6; color: var(--luma-primary-dark);
}

/* 單件作品：左媒體、右說明 */
.oc--work {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: 28px;
  background:
    radial-gradient(560px 280px at 100% 0%, rgba(200, 138, 74, .16), transparent 60%),
    var(--luma-surface);
  border: 1px solid var(--luma-border);
}
.oc-music-video .video-caption { display: none; }
.video-card.oc-music-video .video-media { max-width: 320px; }

/* 想法 → 圖片 → 影片 流程 */
.oc-flow-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px clamp(32px, 5vw, 80px); align-items: end;
}
.oc-flow-copy .oc-desc:first-child { margin-top: 0; }
.oc-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px); margin-top: clamp(36px, 4vw, 56px);
}
.oc-steps.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.oc-step { position: relative; display: flex; flex-direction: column; }
/* 步驟之間的箭頭 */
.oc-step + .oc-step::before {
  content: ""; position: absolute; z-index: 1;
  left: calc(clamp(28px, 3vw, 44px) / -2); top: 0; margin-top: 33.333%; /* 圖片高度一半＝寬度 1/3（3:2） */
  width: 26px; height: 26px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--luma-bg-alt) no-repeat center / 14px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C88A4A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.oc-step-media {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 2;
  border-radius: 18px; overflow: hidden; padding: 0; border: 0;
}
.oc-step-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.oc-step-media.figure-zoom img { height: 100%; border: 0; border-radius: 0; transition: transform 1.3s var(--ease); }
.oc-step-media.figure-zoom:hover img { transform: scale(1.04); box-shadow: none; }
.oc-zoom {
  position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(24, 40, 45, .65); color: #fff;
}
.oc-zoom .icon { width: 16px; height: 16px; }
.oc-step-media.video-launch .play-disc { width: 62px; height: 62px; }
.oc-step-media.video-launch .play-disc .icon { width: 26px; height: 26px; }
.oc-step-media.video-launch .video-launch-label { left: 12px; bottom: 10px; font-size: 12.5px; letter-spacing: .08em; }
.oc-idea {
  display: grid; place-items: center; color: var(--luma-primary);
  background:
    radial-gradient(circle at 70% 25%, rgba(243, 228, 211, .9), transparent 55%),
    var(--luma-primary-soft);
}
.oc-idea .icon { width: 56px; height: 56px; stroke-width: 1.5; }
.oc-step-copy { margin-top: 16px; }
.oc-step-label { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; color: var(--luma-accent-text); }
.oc-step-no { font-size: 13px; color: var(--luma-primary); letter-spacing: .06em; }
.oc-step-name { margin-top: 6px; font-size: 19px; font-weight: 900; line-height: 1.45; }
.oc-step-text { margin-top: 6px; font-size: 15.5px; line-height: 1.7; color: var(--luma-text-soft); }



/* 簡報模式 */
.is-presenting .oc-kicker,
.is-presenting .oc-step-label,
.is-presenting .oc-tag,
.is-presenting .oc-tool,
.is-presenting .oc-tools-label { font-size: var(--fs-small); }
.is-presenting .oc-step-text { font-size: var(--fs-body); }
.is-presenting .oc-step-name { font-size: calc(var(--fs-body) * 1.1); }
.is-presenting .video-card.oc-music-video .video-media { max-width: calc(var(--fs-body) * 13); }

@media (max-width: 1180px) {
  .oc-steps.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-steps.is-4 .oc-step:nth-child(3)::before { display: none; }
}
@media (max-width: 980px) {
  .oc-flow-intro, .oc--work { grid-template-columns: 1fr; }
  .video-card.oc-music-video .video-media { margin-inline: 0; }
}
@media (max-width: 760px) {
  /* 手機：流程改為垂直，箭頭朝下 */
  .oc-steps, .oc-steps.is-4 { grid-template-columns: 1fr; gap: 44px; }
  .oc-step + .oc-step::before,
  .oc-steps.is-4 .oc-step:nth-child(3)::before {
    display: block; left: 50%; top: -22px; margin-top: 0; transform: translate(-50%, -50%) rotate(90deg);
  }
  .oc-idea { aspect-ratio: 5 / 2; }
}
@media (max-width: 560px) {
  .oc--work { padding: 22px; border-radius: 22px; }
  .video-card.oc-music-video .video-media { max-width: 240px; }
  .oc-actions .btn { flex: 1 1 100%; }
}


/* ==================================================================
 * 通用版新增：01 歡迎／02 為什麼分享／04 動手做／06 結尾
 * ================================================================== */
/* 01 Hero：右側開場影片 */
.hero-intro { margin-top: 22px; max-width: 34em; font-size: var(--fs-lead); line-height: 1.9; color: var(--luma-text); }
.hero-video { justify-self: end; width: 100%; max-width: 340px; }
.hero-video .video-card.is-vertical .video-media { max-height: 64vh; box-shadow: 0 24px 60px -18px rgba(31, 42, 46, .28); }
.hero--solo .hero-grid { grid-template-columns: minmax(0, 1fr); }

/* 01 今天會一起經歷 */
.path-wrap { padding-top: clamp(32px, 5vh, 56px); }
.path { border-top: 2px solid var(--luma-text); }
.path-item {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 8px 32px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--luma-border);
}
.path-no { font-size: 36px; font-weight: 900; line-height: 1.1; color: var(--luma-primary); }
.path-title { font-size: clamp(20px, 1.9vw, 25px); font-weight: 800; line-height: 1.4; }
.path-desc { margin-top: 4px; color: var(--luma-text-soft); }
.path-jump { font-size: 15px; }

/* 02 我為什麼分享 AI */
.journey-grid--top { margin-top: 0; }
.timeline-detail { margin-top: 4px; font-size: 15.5px; line-height: 1.75; color: var(--luma-text-soft); }
.is-presenting .timeline-detail { font-size: var(--fs-small); }
.timeline-head { margin-bottom: 18px; font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--luma-accent-text); }
.areas-wrap { margin-top: clamp(64px, 8vw, 104px); }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 24px; }
.area { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius-card); background: var(--luma-surface); border: 1px solid var(--luma-border); }
.area:nth-child(2) { background: var(--luma-primary-soft); border-color: transparent; }
.area-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--luma-accent-soft); color: var(--luma-accent-text); }
.area-icon .icon { width: 26px; height: 26px; }
.area-title { margin-top: 18px; font-size: clamp(22px, 2vw, 26px); font-weight: 900; }
.area-text { margin-top: 8px; color: var(--luma-text-soft); }
.why-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(64px, 8vw, 104px); align-items: start; }

/* 03 作品：我原本想做／AI 幫我完成 */
.work-media { min-width: 0; }
.work-figure .figure-zoom img { border-radius: 18px; }
.work-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--luma-text-soft); }
.oc--work-site, .oc--work-image { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.work-story { display: grid; gap: 14px; margin-top: 22px; max-width: 34em; }
.work-story div { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--luma-accent-soft); }
.work-story div + div { border-left-color: var(--luma-primary-soft); }
.work-story dt { font-size: 13.5px; font-weight: 700; letter-spacing: .08em; color: var(--luma-accent-text); }
.work-story div + div dt { color: var(--luma-primary); }
.work-story dd { font-size: 17.5px; line-height: 1.75; }
.oc-flow-copy .work-story { margin-top: 0; }

/* 04 今天，一起動手做 */
.activities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.activity {
  display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius-card); background: var(--luma-surface); border: 1px solid var(--luma-border);
  scroll-margin-top: 24px;
}
.activity-top { display: flex; align-items: center; justify-content: space-between; }
.activity-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--luma-primary-soft); color: var(--luma-primary); }
.activity-icon .icon { width: 24px; height: 24px; }
.activity-no { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--luma-accent-text); }
.activity-title { margin-top: 18px; font-size: clamp(19px, 1.7vw, 22px); font-weight: 900; line-height: 1.45; }
.activity-goal { margin-top: 8px; color: var(--luma-text-soft); font-size: 16px; }
.activity-steps { counter-reset: as; display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--luma-border); }
.activity-steps li { counter-increment: as; position: relative; padding-left: 1.9em; font-size: 15.5px; line-height: 1.7; }
.activity-steps li::before {
  content: counter(as); position: absolute; left: 0; top: .25em;
  display: grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%;
  background: var(--luma-primary); color: #fff; font-size: 12px; font-weight: 800;
}
.activity .oc-tools { margin-top: 14px; }
.activity-demo { margin-top: auto; padding-top: 14px; }
.activity-demo:empty { display: none; }
.activity-demo .btn { padding-inline: 0; text-align: left; }
.assistant { margin-top: clamp(80px, 10vw, 128px); scroll-margin-top: 24px; }
.assistant .luna-copy .btn { margin-top: 20px; }

/* 05 回家之後 */
.chapter--continue .honest-note { margin-top: 36px; }
.res-wrap { margin-top: clamp(56px, 7vw, 88px); }
.res-wrap .res-list { margin-top: 20px; }

/* 06 從今天開始 */
.chapter--closing .closing { margin-top: 0; }
.chapter--closing .closing-main { margin-top: 0; }
.closing-sign { margin-top: 28px; font-size: var(--fs-h3); font-weight: 900; letter-spacing: .08em; color: var(--luma-accent-text); }
.closing-by { margin-top: 20px; font-size: 16px; font-weight: 700; letter-spacing: .12em; color: var(--luma-accent-text); }
.chapter--closing .closing-brand { margin-top: 48px; text-align: center; }
.chapter--closing .site-share { justify-content: center; }

.is-presenting .hero-video { max-width: calc(var(--fs-body) * 14); }
.is-presenting .activities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.is-presenting .activity-icon, .is-presenting .area-icon { width: 2em; height: 2em; }
.is-presenting .closing-by { font-size: var(--fs-small); }
.is-presenting .closing-sign { font-size: calc(var(--fs-body) * 1.5); }
.is-presenting .why-videos .video-card.is-vertical .video-media { max-width: calc(var(--fs-body) * 12); }

@media (max-width: 1180px) {
  .activities, .is-presenting .activities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .areas { grid-template-columns: 1fr; }
  .area-icon { width: 44px; height: 44px; }
  .oc--work-site, .oc--work-image { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-video { max-width: 300px; }
}
@media (max-width: 760px) {
  .why-videos { grid-template-columns: 1fr; }
  .activities, .is-presenting .activities { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-video { max-width: 260px; justify-self: center; }
  .chapter--closing .closing-brand { text-align: left; }
}
