/* ==================================================================
 * KAIFA × 光陽機車 AI 應用交流分享會｜樣式（v1）
 * 設計語言：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;
}

*, *::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-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; }

.hero-dm { justify-self: end; width: 100%; max-width: 340px; }
.dm-thumb {
  position: relative; display: block; width: 100%; padding: 10px; cursor: zoom-in;
  background: #fff; border: 1px solid var(--luma-border); border-radius: 22px;
  box-shadow: 0 24px 60px -18px rgba(31, 42, 46, .28);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.dm-thumb img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; border-radius: 14px; background: var(--luma-bg-alt); }
.dm-thumb:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -18px rgba(31, 42, 46, .34); }
.dm-thumb-label {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; background: rgba(24, 40, 45, .86); color: #fff;
  font-size: 14px; font-weight: 700;
}
.hero-dm figcaption { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--luma-text-soft); }

/* 議程 */
.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; }

.agenda-wrap { padding-top: clamp(32px, 5vh, 56px); }
.agenda { border-top: 2px solid var(--luma-text); }
.agenda-item {
  display: grid; grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 12px 40px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--luma-border);
}
.agenda-time { display: flex; flex-direction: column; }
.agenda-no { font-size: 40px; font-weight: 900; line-height: 1.1; color: var(--luma-primary); }
.agenda-clock { margin-top: 6px; font-size: 17px; font-weight: 700; color: var(--luma-accent-text); letter-spacing: .04em; }
.agenda-title { font-size: clamp(22px, 2vw, 27px); font-weight: 800; line-height: 1.4; }
.agenda-desc { margin-top: 8px; color: var(--luma-text-soft); max-width: 40em; }
.agenda-by { display: flex; gap: 12px; margin-top: 12px; font-size: 15px; }
.agenda-by span { color: var(--luma-text-soft); }
.agenda-jump { align-self: center; 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); }

/* ---------- 03 AI 能做什麼 ---------- */
.possibilities-video { max-width: 960px; }
.demos { display: grid; gap: clamp(56px, 8vw, 104px); margin-top: clamp(72px, 9vw, 120px); }
.demo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.demo.is-flipped .demo-visual { order: 2; }
.demo-visual {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 80% 18%, var(--luma-accent-soft) 0 18%, transparent 18.5%),
    linear-gradient(180deg, var(--luma-primary-soft), #F2F6F5);
}
.demo:nth-child(2) .demo-visual { aspect-ratio: 4 / 5; max-height: 520px; width: 100%; }
.demo:nth-child(4) .demo-visual { aspect-ratio: 16 / 10; }
.demo-visual.has-media img { width: 100%; height: 100%; object-fit: cover; }
.demo-visual-no {
  position: absolute; left: 28px; top: 20px;
  font-size: 64px; font-weight: 900; line-height: 1; color: rgba(31, 111, 120, .18);
}
.demo-visual-icon {
  display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%;
  background: #fff; color: var(--luma-primary); box-shadow: 0 18px 40px -16px rgba(31, 111, 120, .45);
}
.demo-visual-icon .icon { width: 48px; height: 48px; stroke-width: 1.6; }
.demo-visual-note {
  position: absolute; right: 20px; bottom: 18px; font-size: 13px; color: var(--luma-text-soft);
  background: rgba(255, 255, 255, .8); padding: 4px 12px; border-radius: 999px;
}
.demo-no { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--luma-accent-text); }
.demo-title { margin-top: 12px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.45; }
.demo-purpose { margin-top: 16px; color: var(--luma-text-soft); max-width: 30em; }
.demo-label {
  display: inline-block; margin-right: 10px; padding: 1px 10px; border-radius: 999px;
  background: var(--luma-primary-soft); color: var(--luma-primary-dark); font-size: 13px; font-weight: 700;
  vertical-align: 2px;
}
.demo-actions { margin-top: 24px; }

.bridge {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
  margin-top: clamp(80px, 10vw, 128px);
  padding: clamp(32px, 5vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(200, 138, 74, .22), transparent 60%),
    linear-gradient(150deg, var(--luma-primary-dark), var(--luma-deep));
  color: #fff;
}
.bridge .video-kicker { color: var(--luma-accent-soft); }
.bridge .video-title { color: #fff; }
.bridge .video-placeholder { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); color: #E9F1F1; }
.bridge .placeholder-icon { background: rgba(255, 255, 255, .12); color: var(--luma-accent-soft); }
.bridge-text { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.65; }
.bridge-copy .btn { margin-top: 28px; }

/* ---------- 04 案例 ---------- */
.cases { border-top: 2px solid var(--luma-text); }
.case {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px 56px;
  padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--luma-border);
}
.case-unit { display: flex; flex-direction: column; gap: 6px; }
.case-unit-label { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--luma-accent-text); }
.case-unit-name { font-size: var(--fs-display); font-weight: 900; line-height: 1.1; color: var(--luma-primary); }
.case-body--pending { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 10px; }
.case-pending { font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; color: var(--luma-text); }
.case-structure { margin-top: 8px; }
.case-structure-label { font-size: 14px; color: var(--luma-text-soft); }
.case-structure ol { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 10px; counter-reset: cs; }
.case-structure li {
  counter-increment: cs; padding: 6px 14px; border-radius: 999px;
  background: var(--luma-surface); border: 1px solid var(--luma-border); font-size: 14.5px; color: var(--luma-text-soft);
}
.case-structure li::before { content: counter(cs) "．"; color: var(--luma-accent-text); font-weight: 700; }
.case-title { font-size: var(--fs-h3); font-weight: 900; line-height: 1.45; }
.case-presenter { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--luma-text-soft); }
.case-image { margin-top: 24px; }
.case-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-card); }
.case-fields { display: grid; gap: 22px; margin-top: 28px; }
.case-field dt { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--luma-primary); }
.case-field dd { margin-top: 4px; white-space: pre-line; }
.case-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- 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); }

/* ---------- 06 今日交流成果 ---------- */
.outcome-status {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: clamp(28px, 4vw, 48px); border-radius: 28px;
  background:
    radial-gradient(520px 240px at 100% 100%, rgba(200, 138, 74, .16), transparent 60%),
    var(--luma-surface);
  border: 1px solid var(--luma-border);
}
.outcome-status-text { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.5; }
.outcome-preview { margin-top: 40px; }
.outcome-preview-label { color: var(--luma-text-soft); font-size: 15px; }
.outcome-preview ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; border-top: 1px solid var(--luma-border); }
.outcome-preview li { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--luma-border); font-weight: 700; color: var(--luma-text-soft); }
.outcome-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; margin-top: 48px; }
.outcome-label { font-size: 20px; font-weight: 900; padding-bottom: 10px; border-bottom: 2px solid var(--luma-primary); }
.outcome-list { margin-top: 14px; display: grid; gap: 10px; }
.outcome-list li { position: relative; padding-left: 18px; }
.outcome-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--luma-accent); }
.qa { margin-top: 14px; display: grid; gap: 18px; }
.qa dt { font-weight: 800; }
.qa dt::before { content: "Q．"; color: var(--luma-primary); }
.qa dd { margin-top: 4px; color: var(--luma-text-soft); }
.qa dd::before { content: "A．"; color: var(--luma-accent-text); font-weight: 700; }
.link-inline { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.outcome-foot { margin-top: 32px; font-size: 14.5px; }

/* ---------- 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; }
.dm-modal { width: auto; }
.dm-full { padding: 0 20px; }
.dm-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 .agenda-item.reveal:nth-child(2), .motion-ready .focus-list li:nth-child(2) { transition-delay: .12s; }
.motion-ready .agenda-item.reveal:nth-child(3), .motion-ready .focus-list li: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, .dm-thumb, .video-launch img, .play-disc, .sidebar, .stage, .toast { transition: none !important; }
  .btn:hover, .dm-thumb: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 .agenda-desc,
.is-presenting .agenda-by,
.is-presenting .timeline-text,
.is-presenting .demo-purpose,
.is-presenting .case-pending,
.is-presenting .case-field dd,
.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,
.is-presenting .outcome-list,
.is-presenting .qa { font-size: var(--fs-body); }
.is-presenting .hero-sub,
.is-presenting .focus-list p,
.is-presenting .journey-quote p,
.is-presenting .bridge-text,
.is-presenting .outcome-status-text,
.is-presenting .closing-lead { font-size: calc(var(--fs-body) * 1.2); }
.is-presenting .agenda-title,
.is-presenting .res-title,
.is-presenting .video-title,
.is-presenting .extended-title,
.is-presenting .outcome-label { font-size: calc(var(--fs-body) * 1.12); }
.is-presenting .hero-meta dt,
.is-presenting .agenda-clock,
.is-presenting .timeline-date,
.is-presenting .video-kicker,
.is-presenting .demo-no,
.is-presenting .case-unit-label,
.is-presenting .case-field dt,
.is-presenting .prompt-kicker,
.is-presenting .status,
.is-presenting .block-meta,
.is-presenting .soft,
.is-presenting .steps-note,
.is-presenting .placeholder-text,
.is-presenting .outcome-foot,
.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 .agenda-no, .is-presenting .focus-no { font-size: calc(var(--fs-body) * 1.9); }
.is-presenting .agenda-item { grid-template-columns: 8em minmax(0, 1fr) auto; }
.is-presenting .case { grid-template-columns: 8em minmax(0, 1fr); }
.is-presenting .hero-dm { max-width: calc(var(--fs-body) * 14); }
.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); }
  .agenda-item { grid-template-columns: 150px minmax(0, 1fr); }
  .agenda-jump { grid-column: 2; justify-self: start; }
  .is-presenting .agenda-item { grid-template-columns: 7em minmax(0, 1fr); }
}

@media (max-width: 980px) {
  .journey-grid, .luna, .prompt, .bridge { grid-template-columns: 1fr; }
  .journey-quote { position: static; }
  .demo { grid-template-columns: 1fr; }
  .demo.is-flipped .demo-visual { order: 0; }
  .demo:nth-child(2) .demo-visual { aspect-ratio: 4 / 3; max-height: none; }
  .extended-list { grid-template-columns: 1fr; }
  .outcome-sections { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; gap: 16px; }
  .is-presenting .case { 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: rgba(247, 244, 239, .96); 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-collapse { display: none; }
  /* 抽屜內永遠顯示完整文字 */
  .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-dm { justify-self: start; max-width: 300px; }
  .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); }
  .outcome-preview ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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%; }
  .hero-dm { max-width: 280px; justify-self: center; }
  .agenda-item { grid-template-columns: 1fr; gap: 8px; }
  .agenda-time { flex-direction: row; align-items: baseline; gap: 14px; }
  .agenda-no { font-size: 32px; }
  .agenda-jump { grid-column: 1; }
  .is-presenting .agenda-item { grid-template-columns: 1fr; }
  .timeline-text { font-size: 16.5px; }
  .demo-visual-icon { width: 88px; height: 88px; }
  .bridge { padding: 24px; }
  .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; }
  .outcome-preview ul { grid-template-columns: 1fr; }
  .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)); }
  .dm-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); }
}

/* v2 KAIFA 企業歷程 */
.company-journey { margin: 56px 0 88px; }
.company-timeline { max-width: 980px; margin-top: 36px; }
.company-timeline .timeline-item { padding-bottom: 44px; }
.company-phase { color: var(--luma-primary); font-size: var(--fs-small); font-weight: 700; letter-spacing: .12em; margin-top: 8px; overflow-wrap: anywhere; }
.company-title { margin: 8px 0 14px; font-size: var(--fs-h3); line-height: 1.45; }
.company-description { font-size: var(--fs-body); line-height: 1.85; }
.company-highlights { margin-top: 16px; padding-left: 1.2em; list-style: disc; color: var(--luma-primary-dark); }
.company-highlights li { margin-top: 5px; font-size: var(--fs-body); }
.is-presenting .company-title { font-size: calc(var(--fs-body) * 1.3); }
@media (max-width:560px) { .company-journey { margin: 36px 0 56px; } }
.company-journey .block-head .chapter-lead { width: 100%; margin-top: 4px; }
