/* ============ FONTS ============ */
@font-face { font-family: '粒線體'; src: url('fonts/openlihsianti.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: '金萱9'; src: url('fonts/jinxuanlatte-heavy.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: '金萱3'; src: url('fonts/jinxuanlatte-regular.woff2') format('woff2'); font-display: swap; }

/* ============ TOKENS ============ */
:root {
  --brand-red: #d14b63;
  --brand-red-dark: #b93a50;
  --brand-purple: #4C458A;
  --brand-yellow: #FFF3CD;
  --brand-yellow-deep: #FFE89B;
  --brand-yellow-edge: #F5A623;
  --brand-green: #52B788;
  --brand-peach: #F4B79C;
  --paper: #FAF6EE;
  --paper-deep: #F2EDE0;
  --note-yellow: #FFF6C9;
  --note-peach: #FAE4D4;
  --note-mint: #D6EBD6;
  --kraft: #D4B68A;
  --ink: #4a3c34;
  --ink-deep: #2c2730;
  --muted: #8a7f8c;
  --line-blue: rgba(120,160,180,0.24);
  --line-red: rgba(209,75,99,0.3);
  --hole: #d5ccc0;
  --outer-bg: #E8DFC9;

  /* 紙張陰影系統（通用） */
  --shadow-paper:
    1px 2px 3px rgba(0,0,0,0.08),
    3px 5px 12px rgba(0,0,0,0.10),
    6px 12px 28px rgba(0,0,0,0.08);
  --shadow-paper-lg:
    2px 3px 5px rgba(0,0,0,0.10),
    5px 9px 20px rgba(0,0,0,0.14),
    10px 18px 40px rgba(0,0,0,0.10);
  --shadow-paper-xl:
    2px 3px 6px rgba(0,0,0,0.12),
    8px 14px 28px rgba(0,0,0,0.18),
    16px 24px 48px rgba(0,0,0,0.12);

  /* ========= TOOL COLOR PALETTE ========= */
  --t-claude:#CC785C;       --t-claude-bg:#F5DDD0;
  --t-obsidian:#7C3AED;     --t-obsidian-bg:#E3D5F7;
  --t-heptabase:#5D8B4C;    --t-heptabase-bg:#D4E4CC;
  --t-notion:#37352F;       --t-notion-bg:#E1DED6;
  --t-wordpress:#21759B;    --t-wordpress-bg:#CFE4F1;
  --t-systeme:#4BA3C7;      --t-systeme-bg:#D3E9F1;
  --t-gmail:#EA4335;        --t-gmail-bg:#F6D4D0;
  --t-gcal:#4285F4;         --t-gcal-bg:#D3DFF8;
  --t-ga:#E37400;           --t-ga-bg:#F5D9B6;
  --t-notebooklm:#4F6BED;   --t-notebooklm-bg:#D4DAF7;
  --t-discord:#5865F2;      --t-discord-bg:#D5D8F8;
  --t-threads:#2c2730;      --t-threads-bg:#D9D9D9;
  --t-ig:#E1306C;           --t-ig-bg:#F6D3E1;
  --t-line:#06C755;         --t-line-bg:#C8EDCF;
  --t-wechat:#07C160;       --t-wechat-bg:#C8EDD1;
  --t-zeabur:#6E2AEB;       --t-zeabur-bg:#DAC9F5;
  --t-mac:#555;             --t-mac-bg:#DADADA;
  --t-siri:#DE6B48;         --t-siri-bg:#F5D5C6;
  --t-airdrop:#3B7BDC;      --t-airdrop-bg:#CFDCF4;
  --t-cloudflare:#F38020;   --t-cloudflare-bg:#F9DCBC;
  --t-anthropic:#CC785C;    --t-anthropic-bg:#F5DDD0;
}

/* ============ BASE ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: '金萱3', 'PingFang TC', 'Noto Sans TC', sans-serif;
  background: var(--outer-bg);
  color: var(--ink);
  line-height: 1.9;
  min-height: 100vh;
  padding-bottom: 60px;
}
a { color: var(--brand-purple); }
a:hover { color: var(--brand-red); }
code {
  font-family: 'SF Mono', Menlo, 'Courier New', monospace;
  background: rgba(209,75,99,0.1);
  color: var(--brand-red);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

/* ============ TOP NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,238,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 22px;
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: '粒線體', sans-serif; font-size: 17px;
  color: var(--ink-deep); text-decoration: none; flex-shrink: 0;
}
.nav-brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-left: 6px; }
.nav-links a {
  padding: 7px 13px; border-radius: 99px;
  font-family: '金萱9', sans-serif; font-size: 13.5px;
  color: var(--muted); text-decoration: none;
  transition: all .15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--brand-yellow); color: var(--ink-deep);
}
.nav-cta {
  margin-left: auto; flex-shrink: 0;
  background: var(--brand-red); color: #fff;
  padding: 8px 18px; border-radius: 99px;
  font-family: '金萱9', sans-serif; font-size: 13.5px;
  text-decoration: none;
  box-shadow: 2px 3px 8px rgba(209,75,99,0.3);
}
.nav-cta:hover { background: var(--brand-red-dark); color: #fff; }

/* ============ NOTEBOOK CONTAINER ============ */
.notebook {
  max-width: 1120px;
  margin: 28px auto;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(transparent, transparent 31px,
      var(--line-blue) 31px, var(--line-blue) 32px),
    linear-gradient(90deg, transparent 86px,
      var(--line-red) 86px, var(--line-red) 88px, transparent 88px);
  padding: 64px 40px 72px 110px;
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.18);
  position: relative;
}
.notebook::before {
  content: '';
  position: absolute;
  left: 28px; top: 50px; bottom: 50px;
  width: 18px;
  background-image:
    radial-gradient(circle at 50% 0%,   var(--hole) 0 9px, transparent 9.5px),
    radial-gradient(circle at 50% 20%,  var(--hole) 0 9px, transparent 9.5px),
    radial-gradient(circle at 50% 40%,  var(--hole) 0 9px, transparent 9.5px),
    radial-gradient(circle at 50% 60%,  var(--hole) 0 9px, transparent 9.5px),
    radial-gradient(circle at 50% 80%,  var(--hole) 0 9px, transparent 9.5px),
    radial-gradient(circle at 50% 100%, var(--hole) 0 9px, transparent 9.5px);
}

/* ============ PAGE TITLE ============ */
.page-title { text-align: center; margin-bottom: 40px; }
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: '金萱9', sans-serif;
  font-size: 11px; letter-spacing: 5px;
  color: var(--brand-red);
  padding: 6px 2px;
  margin-bottom: 18px;
  text-transform: uppercase;
  font-weight: 700;
}
.page-kicker::before,
.page-kicker::after {
  content: '';
  width: 22px; height: 1px;
  background: var(--brand-red);
  opacity: 0.6;
}
.page-title h1 {
  font-family: '粒線體', sans-serif;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.3; font-weight: 900;
  color: var(--ink-deep);
  letter-spacing: 1px;
}
.page-title h1 .hl {
  color: var(--brand-red);
  background: var(--brand-yellow-deep);
  padding: 0 8px;
  border-radius: 4px;
  box-shadow: 2px 2px 0 rgba(209,75,99,0.15);
  display: inline-block;
  transform: rotate(-0.5deg);
}
.page-title .sub {
  font-family: '金萱3', sans-serif; font-style: italic;
  font-size: clamp(15px, 1.7vw, 19px);
  color: var(--muted);
  max-width: 720px; margin: 14px auto 0;
}

/* ============ HERO SPLIT（圖+文字兩欄） ============ */
.hero-split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
  margin: 20px 0 40px;
}
.hero-split .hero-photo {
  position: relative;
  transform: rotate(-2deg);
  transition: transform .3s ease;
}
.hero-split .hero-photo:hover { transform: rotate(0) scale(1.03); }
.hero-split .hero-photo img {
  width: 100%;
  display: block;
  background: #fff;
  padding: 14px 14px 46px;
  box-shadow: var(--shadow-paper-xl);
  border-radius: 2px;
}
.hero-split .hero-photo::before {
  content: '';
  position: absolute;
  top: -14px; left: 50%;
  width: 120px; height: 26px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(209,75,99,0.42);
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
  z-index: 2;
}
.hero-split .hero-photo::after {
  content: attr(data-caption);
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  text-align: center;
  font-family: '金萱3', sans-serif;
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
}
.hero-split .hero-text {
  text-align: left;
}
.hero-split .hero-text .page-kicker { margin-bottom: 16px; }
.hero-split .hero-text h1 {
  font-family: '粒線體', 'PingFang TC', sans-serif;
  font-weight: 900;
  color: var(--brand-purple);
  letter-spacing: 1px;
  line-height: 1.3;
  text-align: left;
  font-size: clamp(30px, 4.4vw, 54px);
}
.hero-split .hero-text h1 .hl {
  color: var(--brand-red);
  background: var(--brand-yellow-deep);
  padding: 0 8px;
  border-radius: 4px;
  display: inline-block;
  transform: rotate(-0.5deg);
}
.hero-split .hero-text .sub { margin: 14px 0 0; max-width: none; }

/* ============ PHOTO WALL（拍立得照片牆） ============ */
.photo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 36px 0;
  padding: 20px 8px;
}
.photo-card {
  background: #fff;
  padding: 14px 14px 40px;
  box-shadow: var(--shadow-paper-xl);
  border-radius: 2px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.photo-card:nth-child(4n+1) { transform: rotate(-1.8deg); }
.photo-card:nth-child(4n+2) { transform: rotate(1.2deg); }
.photo-card:nth-child(4n+3) { transform: rotate(-0.8deg); }
.photo-card:nth-child(4n+4) { transform: rotate(1.5deg); }
.photo-card:hover {
  transform: rotate(0) scale(1.05) translateY(-4px);
  z-index: 3;
}
.photo-card::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  width: 76px; height: 20px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(245,166,35,0.5);
  box-shadow: 0 2px 3px rgba(0,0,0,0.12);
}
.photo-card:nth-child(3n+2)::before { background: rgba(209,75,99,0.42); transform: translateX(-50%) rotate(3deg); }
.photo-card:nth-child(3n+3)::before { background: rgba(76,69,138,0.42); transform: translateX(-50%) rotate(-2deg); }
.photo-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 1px;
}
.photo-card .cap {
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
  text-align: center;
  font-family: '金萱3', sans-serif;
  font-style: italic;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.3;
}

/* ============ CONTENT IMAGE（段落中插圖） ============ */
.content-img {
  background: #fff;
  padding: 10px 10px 34px;
  box-shadow: var(--shadow-paper-lg);
  border-radius: 2px;
  margin: 24px auto;
  max-width: 520px;
  position: relative;
  transform: rotate(-0.6deg);
}
.content-img img {
  width: 100%;
  display: block;
  border-radius: 1px;
}
.content-img::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  width: 78px; height: 20px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(209,75,99,0.4);
  box-shadow: 0 2px 3px rgba(0,0,0,0.12);
}
.content-img .cap {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  text-align: center;
  font-family: '金萱3', sans-serif;
  font-style: italic;
  font-size: 12.5px;
  color: var(--muted);
}

/* ============ ABOUT HERO BIG PHOTO ============ */
.about-hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 50px;
  align-items: center;
  margin: 30px 0 50px;
}
.about-hero .photo-card {
  margin: 0;
  transform: rotate(-2.5deg);
}
.about-hero .photo-card img { aspect-ratio: 2/3; }

/* ============ PROOF IMAGE（大課/電子報視覺） ============ */
.proof-img {
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-paper-lg);
  border-radius: 3px;
  display: block;
  width: 100%;
  position: relative;
  transform: rotate(-0.4deg);
}
.proof-img img {
  width: 100%;
  display: block;
  border-radius: 1px;
}

/* ============ GUIDE BOX（使用引導，給長輩看） ============ */
.guide-box {
  background: #FBF8F1;
  border-radius: 8px;
  padding: 32px 36px 28px;
  margin: 32px 0;
  box-shadow: 0 3px 14px rgba(0,0,0,0.08), 0 10px 30px rgba(0,0,0,0.06);
  position: relative;
}
.guide-box::before {
  content: '';
  position: absolute;
  top: -12px; left: 50%;
  width: 110px; height: 24px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(76,69,138,0.4);
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.guide-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px dashed rgba(0,0,0,0.12);
}
.guide-head .guide-ic {
  width: 54px; height: 54px;
  background: var(--brand-purple);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 2px 4px 10px rgba(76,69,138,0.3);
}
.guide-head h3 {
  font-family: '粒線體', sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--brand-purple);
  font-weight: 900;
  letter-spacing: 0.5px;
}
.guide-steps {
  display: flex; flex-direction: column; gap: 20px;
}
.g-step {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.g-step .g-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--brand-red);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: '粒線體', sans-serif;
  font-size: 22px; font-weight: 900;
  box-shadow: 2px 3px 8px rgba(209,75,99,0.3);
}
.g-step:nth-child(even) .g-num { background: var(--brand-purple); box-shadow: 2px 3px 8px rgba(76,69,138,0.3); }
.g-step > div { flex: 1; }
.g-step b {
  font-family: '金萱9', sans-serif;
  font-size: 17px;
  color: var(--ink-deep);
  display: block; margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.g-step span {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.85;
}
.guide-foot {
  text-align: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(0,0,0,0.12);
  font-family: '金萱9', sans-serif;
  font-size: 14.5px;
  color: var(--brand-red);
}

/* 手寫裝飾線 */
.hr-handwrite {
  height: 14px; margin: 40px 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M2,6 Q20,2 40,7 T80,5 T120,6 T160,6 T198,6' stroke='%23d14b63' stroke-width='2' fill='none' stroke-linecap='round' opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
}

/* ============ SECTION ============ */
.section { margin-top: 70px; scroll-margin-top: 90px; }
.section-head {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 10px;
}
.section-head .num {
  font-family: '粒線體', sans-serif;
  font-size: 44px; font-weight: 900;
  color: var(--brand-red);
  line-height: 1;
}
.section h2 {
  font-family: '粒線體', sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  color: var(--ink-deep);
}
.section h2 .hl {
  color: var(--brand-red);
  background: var(--brand-yellow-deep);
  padding: 0 6px;
  border-radius: 4px;
  display: inline-block;
  transform: rotate(-0.3deg);
}
.section .lead {
  font-size: 16px;
  color: var(--muted);
  margin: 4px 0 28px 58px;
  max-width: 780px;
  line-height: 1.85;
}

/* ============ BULB CARD — 淡米白紙 + 纖細紅線裝飾 ============ */
.bulb-card {
  background: #FBF8F1;
  padding: 26px 32px 24px 40px;
  border-radius: 4px;
  margin: 28px 0;
  box-shadow: var(--shadow-paper);
  position: relative;
  overflow: hidden;
}
.bulb-card::before {
  content: '';
  position: absolute;
  left: 16px; top: 22px; bottom: 22px;
  width: 3px;
  background: var(--brand-red);
  opacity: 0.7;
  border-radius: 2px;
}
.bulb-card p { font-size: 15.5px; line-height: 2; color: var(--ink); }
.bulb-card strong {
  color: var(--brand-red);
  font-weight: 700;
}

/* ============ CALLOUT — 中性米灰底（無花色） ============ */
.callout {
  background: #F4EEE0;
  padding: 18px 24px 18px 52px;
  border-radius: 4px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.9;
  margin: 24px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: relative;
}
.callout::before {
  content: '※';
  position: absolute;
  left: 24px; top: 16px;
  font-size: 20px;
  color: var(--brand-red);
  font-weight: 700;
}
.callout b { color: var(--brand-red); font-weight: 700; }
.callout.quiet {
  background: #EFE9DB;
  color: var(--ink);
}
.callout.quiet::before { content: '◆'; color: var(--brand-purple); font-size: 14px; top: 18px; }
.callout.quiet b { color: var(--brand-purple); }

/* ============ POLAROID 拍立得（強化陰影） ============ */
.polaroid {
  background: #fff;
  padding: 14px 14px 22px;
  box-shadow: var(--shadow-paper-xl);
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
  border-radius: 2px;
}
.polaroid:hover {
  transform: rotate(0) scale(1.05) translateY(-4px) !important;
  box-shadow:
    2px 4px 8px rgba(0,0,0,0.18),
    12px 18px 40px rgba(0,0,0,0.28),
    24px 32px 60px rgba(0,0,0,0.20);
  z-index: 3;
}
.polaroid:nth-child(4n+1) { transform: rotate(-1.4deg); }
.polaroid:nth-child(4n+2) { transform: rotate(0.9deg); }
.polaroid:nth-child(4n+3) { transform: rotate(-0.6deg); }
.polaroid:nth-child(4n+4) { transform: rotate(1.2deg); }
.polaroid::before {
  content: '';
  position: absolute;
  top: -12px; left: 50%;
  width: 92px; height: 24px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(209,75,99,0.4);
  box-shadow: 0 2px 3px rgba(0,0,0,0.12);
}
.polaroid:nth-child(3n+2)::before { background: rgba(76,69,138,0.42); transform: translateX(-50%) rotate(3deg); }
.polaroid:nth-child(3n+3)::before { background: rgba(245,166,35,0.5); transform: translateX(-50%) rotate(-2deg); }
.polaroid .pic {
  aspect-ratio: 1/1;
  background: var(--tool-bg, var(--note-yellow));
  color: var(--tool-color, var(--brand-red));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  margin-bottom: 12px;
  border-radius: 2px;
  position: relative;
}
.polaroid .pic img { max-width: 78%; max-height: 78%; object-fit: contain; }
.polaroid h4 {
  font-family: '金萱9', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--ink-deep);
  text-align: center; margin-bottom: 4px;
}
.polaroid .role,
.polaroid .role-tag {
  text-align: center;
  font-size: 11.5px; color: var(--tool-color, var(--brand-red));
  font-family: '金萱9', sans-serif;
  font-weight: 700; letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.polaroid .cap {
  text-align: center;
  font-family: '金萱3', sans-serif;
  font-style: italic;
  font-size: 12.5px; color: var(--muted);
  padding-top: 8px;
  line-height: 1.6;
}

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 14px 4px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 14px 4px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 14px 4px; }

/* ============ TOOL CHIP (小標籤) ============ */
.tool-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tool-bg, var(--paper-deep));
  color: var(--tool-color, var(--ink-deep));
  padding: 5px 12px;
  border-radius: 99px;
  font-family: '金萱9', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 1px 2px 3px rgba(0,0,0,0.08);
}
.tool-chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--tool-color, var(--brand-red));
}

/* ============ TOOL CARD — 白底 + 細工具色指示（精緻版） ============ */
.tool-card {
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 24px 26px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 6px 18px rgba(0,0,0,0.04);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10), 0 12px 32px rgba(0,0,0,0.08);
}
.tool-card .head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.tool-card .head .ic {
  width: 44px; height: 44px;
  background: var(--tool-bg, var(--paper-deep));
  color: var(--tool-color, var(--brand-red));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.tool-card .head h4 {
  font-family: '粒線體', sans-serif;
  font-size: 19px; color: var(--tool-color, var(--brand-red));
  font-weight: 900;
  letter-spacing: 0.5px;
}
.tool-card .head .cat {
  margin-left: auto;
  font-size: 10.5px; color: var(--muted);
  font-family: '金萱9', sans-serif;
  padding: 3px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tool-card p {
  font-size: 14px; line-height: 1.85;
  color: var(--ink); margin-bottom: 8px;
}
.tool-card .use { color: var(--ink-deep); }
.tool-card .owner {
  font-size: 12.5px; color: var(--tool-color, var(--brand-red));
  font-family: '金萱9', sans-serif;
  margin-top: 10px; font-weight: 700;
  padding-top: 10px;
  border-top: 1px dashed rgba(0,0,0,0.08);
}
.tool-card .owner::before { content: '👥 '; }

/* ============ TOOL COLOR CLASSES ============ */
.tool-claude     { --tool-color: var(--t-claude);     --tool-bg: var(--t-claude-bg); }
.tool-anthropic  { --tool-color: var(--t-anthropic);  --tool-bg: var(--t-anthropic-bg); }
.tool-obsidian   { --tool-color: var(--t-obsidian);   --tool-bg: var(--t-obsidian-bg); }
.tool-heptabase  { --tool-color: var(--t-heptabase);  --tool-bg: var(--t-heptabase-bg); }
.tool-notion     { --tool-color: var(--t-notion);     --tool-bg: var(--t-notion-bg); }
.tool-wordpress  { --tool-color: var(--t-wordpress);  --tool-bg: var(--t-wordpress-bg); }
.tool-systeme    { --tool-color: var(--t-systeme);    --tool-bg: var(--t-systeme-bg); }
.tool-gmail      { --tool-color: var(--t-gmail);      --tool-bg: var(--t-gmail-bg); }
.tool-gcal       { --tool-color: var(--t-gcal);       --tool-bg: var(--t-gcal-bg); }
.tool-ga         { --tool-color: var(--t-ga);         --tool-bg: var(--t-ga-bg); }
.tool-notebooklm { --tool-color: var(--t-notebooklm); --tool-bg: var(--t-notebooklm-bg); }
.tool-discord    { --tool-color: var(--t-discord);    --tool-bg: var(--t-discord-bg); }
.tool-threads    { --tool-color: var(--t-threads);    --tool-bg: var(--t-threads-bg); }
.tool-ig         { --tool-color: var(--t-ig);         --tool-bg: var(--t-ig-bg); }
.tool-line       { --tool-color: var(--t-line);       --tool-bg: var(--t-line-bg); }
.tool-wechat     { --tool-color: var(--t-wechat);     --tool-bg: var(--t-wechat-bg); }
.tool-zeabur     { --tool-color: var(--t-zeabur);     --tool-bg: var(--t-zeabur-bg); }
.tool-mac        { --tool-color: var(--t-mac);        --tool-bg: var(--t-mac-bg); }
.tool-siri       { --tool-color: var(--t-siri);       --tool-bg: var(--t-siri-bg); }
.tool-airdrop    { --tool-color: var(--t-airdrop);    --tool-bg: var(--t-airdrop-bg); }
.tool-cloudflare { --tool-color: var(--t-cloudflare); --tool-bg: var(--t-cloudflare-bg); }

/* ============ STATS ROW — 四張純白紙卡（精緻雜誌感） ============ */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin: 32px 0;
  padding: 10px 2px;
}
.stats-row .s {
  background: #fff;
  border-radius: 6px;
  padding: 26px 12px 22px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 20px rgba(0,0,0,0.04);
  position: relative;
}
.stats-row .s::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 12px;
  width: 24px; height: 1px;
  transform: translateX(-50%);
  background: var(--brand-red);
  opacity: 0.35;
}
.stats-row .big {
  font-family: '粒線體', sans-serif;
  font-size: 40px; font-weight: 900;
  line-height: 1; display: block;
  color: var(--brand-red);
  letter-spacing: -1px;
}
.stats-row .s:nth-child(2) .big { color: var(--brand-purple); }
.stats-row .s:nth-child(3) .big { color: #a36f00; }
.stats-row .s:nth-child(4) .big { color: #2d8659; }
.stats-row .s:nth-child(2)::after { background: var(--brand-purple); }
.stats-row .s:nth-child(3)::after { background: #a36f00; }
.stats-row .s:nth-child(4)::after { background: #2d8659; }
.stats-row .lab {
  font-size: 12px; color: var(--muted);
  display: block; margin-top: 14px;
  font-family: '金萱9', sans-serif;
  letter-spacing: 1px;
}

/* ============ FLOW (pipeline) — 整張工具色 ============ */
.flow-row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: center;
  gap: 10px;
  margin: 26px 0;
  padding: 12px 0;
}
.flow-node {
  background: var(--tool-bg, #fff);
  color: var(--ink-deep);
  border-radius: 3px;
  padding: 16px 10px;
  text-align: center;
  box-shadow: var(--shadow-paper);
  transform: rotate(-0.4deg);
  position: relative;
}
.flow-node:nth-child(3) { transform: rotate(0.3deg); }
.flow-node:nth-child(5) { transform: rotate(-0.2deg); }
.flow-node .ic {
  font-size: 28px; margin-bottom: 4px; display: block;
  color: var(--tool-color, var(--brand-red));
}
.flow-node .nm {
  font-family: '金萱9', sans-serif; font-size: 13.5px;
  color: var(--tool-color, var(--ink-deep)); font-weight: 700;
}
.flow-node .sm { font-size: 11px; color: var(--ink); margin-top: 2px; }
.flow-arr {
  font-family: '粒線體', sans-serif;
  font-size: 26px; color: var(--brand-red);
  text-align: center; font-weight: 900;
}

/* ============ STEP CARD — 純白紙（去紙膠帶） ============ */
.step-card {
  background: #fff;
  border-radius: 6px;
  padding: 28px 32px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 8px 22px rgba(0,0,0,0.05);
  position: relative;
  margin-bottom: 28px;
}
.step-card .step-num {
  position: absolute; top: -22px; right: 28px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: '粒線體', sans-serif; font-size: 24px; font-weight: 900;
  box-shadow: 3px 5px 12px rgba(209,75,99,0.35);
  z-index: 2;
}
.step-card:nth-child(even) .step-num { background: var(--brand-purple); box-shadow: 3px 5px 12px rgba(76,69,138,0.35); }
.step-card h3 {
  font-family: '金萱9', sans-serif;
  font-size: 19px; color: var(--brand-purple); font-weight: 700;
  margin: 4px 0 12px;
}
.step-card:nth-child(even) h3 { color: var(--brand-red); }
.step-card .what { font-size: 14.5px; line-height: 1.85; color: var(--ink); }
.step-card .what b { color: var(--brand-red); }
.step-card .tools {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px;
}

/* ============ RITUAL CARD — 純白紙（去紙膠帶） ============ */
.ritual-card {
  background: #fff;
  border-radius: 6px;
  padding: 32px 28px 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 10px 26px rgba(0,0,0,0.06);
  position: relative;
}
.ritual-card .icon {
  font-size: 44px; margin-bottom: 12px; display: block;
}
.ritual-card h3 {
  font-family: '粒線體', sans-serif; font-size: 24px;
  color: var(--ink-deep); font-weight: 900; margin-bottom: 8px;
}
.ritual-card .trig {
  font-size: 12px; color: var(--brand-red);
  background: var(--brand-yellow);
  padding: 3px 10px; border-radius: 99px;
  display: inline-block; margin-bottom: 16px;
  font-weight: 700;
}
.ritual-card ol {
  padding-left: 22px; font-size: 14px; color: var(--ink); line-height: 1.9;
}
.ritual-card ol li { margin-bottom: 4px; }
.ritual-card ol li b { color: var(--brand-purple); }
.ritual-card .foot {
  margin-top: 16px; padding-top: 12px;
  font-size: 12.5px; color: var(--muted); font-style: italic;
}

/* ============ MEMO DEMO — 淡米白底 + 彩色 badge ============ */
.memo-demo {
  background: #FBF8F1;
  border-radius: 6px;
  padding: 26px 30px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05), 0 6px 18px rgba(0,0,0,0.04);
  margin-top: 24px;
  position: relative;
}
.memo-demo .memo-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: 'SF Mono', Menlo, monospace; font-size: 12.5px; color: var(--muted);
}
.memo-demo .badge {
  background: var(--brand-green); color: #fff;
  padding: 3px 12px; border-radius: 3px; font-size: 10.5px;
  letter-spacing: 2px; font-family: '金萱9', sans-serif;
}
.memo-demo h4 {
  font-family: '金萱9', sans-serif; font-size: 19px;
  color: var(--ink-deep); margin-bottom: 12px; font-weight: 700;
}
.memo-demo .memo-body {
  background: #fff; padding: 18px 20px;
  border-radius: 4px; font-size: 14.5px; line-height: 1.9;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}
.memo-demo .memo-body b { color: var(--brand-red); font-weight: 700; }

/* Memory stats — 4 白紙卡 */
.memo-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 24px; padding: 8px 2px;
}
.memo-stats .m {
  background: #fff;
  border-radius: 6px;
  padding: 24px 12px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 20px rgba(0,0,0,0.04);
  position: relative;
}
.memo-stats .m::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 10px;
  width: 20px; height: 1px;
  transform: translateX(-50%);
  background: var(--brand-red);
  opacity: 0.35;
}
.memo-stats .m .n {
  font-family: '粒線體', sans-serif; font-size: 34px;
  color: var(--brand-red); display: block; line-height: 1; font-weight: 900;
  letter-spacing: -1px;
}
.memo-stats .m:nth-child(2) .n { color: var(--brand-purple); }
.memo-stats .m:nth-child(3) .n { color: #a36f00; }
.memo-stats .m:nth-child(4) .n { color: #2d8659; }
.memo-stats .m:nth-child(2)::after { background: var(--brand-purple); }
.memo-stats .m:nth-child(3)::after { background: #a36f00; }
.memo-stats .m:nth-child(4)::after { background: #2d8659; }
.memo-stats .m .l {
  font-size: 11px; color: var(--muted);
  margin-top: 12px; display: block;
  font-family: '金萱9', sans-serif; letter-spacing: 1px;
}

/* ============ SKILL CATEGORY — 純白紙（去紙膠帶） ============ */
.skill-cat {
  background: #fff;
  border-radius: 6px;
  padding: 28px 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 8px 22px rgba(0,0,0,0.05);
  margin-bottom: 24px;
  position: relative;
}
.skill-cat h3 {
  font-family: '粒線體', sans-serif; font-size: 22px;
  color: var(--ink-deep); margin-bottom: 6px; font-weight: 900;
}
.skill-cat .desc { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============ TABLE ============ */
.notebook table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-paper);
}
.notebook table th {
  background: var(--brand-purple); color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-family: '金萱9', sans-serif;
  font-size: 14px;
}
.notebook table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--hole);
  font-size: 14px;
  vertical-align: top;
}
.notebook table tr:last-child td { border-bottom: none; }
.notebook table tr:nth-child(even) td { background: var(--paper-deep); }

/* ============ FOOTER ============ */
.site-footer {
  text-align: center;
  max-width: 1120px; margin: 10px auto 0;
  padding: 30px 40px 40px;
  font-family: '金萱3', sans-serif;
  font-size: 13.5px; color: var(--muted);
}
.site-footer img { width: 130px; display: block; margin: 0 auto 10px; opacity: 0.9; }
.site-footer .platforms {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin: 16px 0 12px;
}
.site-footer .platforms a {
  font-family: '金萱9', sans-serif; font-size: 13px;
  color: var(--brand-purple); text-decoration: none;
  padding: 7px 16px; border-radius: 99px;
  background: #fff;
  box-shadow: 1px 2px 4px rgba(0,0,0,0.08);
  font-weight: 700;
}
.site-footer .platforms a:hover { background: var(--brand-yellow); color: var(--ink-deep); }

/* ============ CTA — 乾淨精緻版 ============ */
.cta-section {
  background: #fff;
  border-radius: 8px;
  padding: 48px 40px;
  margin-top: 48px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08), 0 12px 36px rgba(0,0,0,0.06);
  position: relative;
}
.cta-section h2 {
  font-family: '粒線體', sans-serif;
  font-size: 30px; color: var(--brand-red);
  font-weight: 900; margin-bottom: 10px;
}
.cta-section p.intro { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 8px 2px; }
.cta-btn {
  background: #fff;
  border-radius: 6px;
  padding: 28px 20px 24px;
  text-decoration: none; color: var(--ink);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 6px 18px rgba(0,0,0,0.04);
  display: block; transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.cta-btn::after {
  content: '';
  position: absolute;
  left: 28px; right: 28px; bottom: 14px;
  height: 1px;
  background: var(--brand-red);
  opacity: 0.3;
}
.cta-btn:nth-child(2)::after { background: var(--brand-purple); }
.cta-btn:nth-child(3)::after { background: #a36f00; }
.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08), 0 14px 34px rgba(0,0,0,0.10);
  color: var(--ink-deep);
}
.cta-btn .ic {
  font-size: 32px; display: block; margin-bottom: 10px;
  width: 56px; height: 56px;
  background: var(--paper-deep);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.cta-btn h4 {
  font-family: '金萱9', sans-serif; font-size: 17px;
  color: var(--brand-red); margin-bottom: 8px; font-weight: 700;
  text-align: center;
}
.cta-btn:nth-child(2) h4 { color: var(--brand-purple); }
.cta-btn:nth-child(3) h4 { color: #a36f00; }
.cta-btn p {
  font-size: 13px; color: var(--muted); line-height: 1.7;
  text-align: center;
}

/* ============ MANIFESTO（A 暖陽牛皮紙） ============ */
.manifesto {
  background-color: var(--kraft);
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(255,245,220,0.2), transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(80,50,30,0.2), transparent 55%),
    linear-gradient(135deg, #c7a078 0%, #9e7850 100%);
  padding: 70px 48px;
  margin: 60px 0;
  transform: rotate(-0.6deg);
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(80,50,30,0.35);
  text-align: center;
  position: relative;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: -14px; left: 50%;
  width: 140px; height: 28px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(255,255,255,0.35);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.manifesto-logo { width: 84px; margin: 0 auto 16px; display: block; opacity: 0.95; }
.manifesto .quote { font-family: '粒線體', sans-serif; font-size: 58px; color: #fff6e0; line-height: 0.5; }
.manifesto p {
  font-family: '粒線體', sans-serif;
  font-size: clamp(18px, 2.2vw, 28px);
  color: #fffaed; font-weight: 900;
  letter-spacing: 2px; line-height: 1.9;
  margin: 20px 0;
}
.manifesto p .hl {
  color: #fff;
  background: rgba(255,200,110,0.5);
  padding: 0 6px;
  border-radius: 3px;
  display: inline-block;
}
.manifesto .signature {
  font-family: '金萱3', sans-serif; font-style: italic;
  font-size: 17px; color: #fff6e0;
  margin-top: 28px; letter-spacing: 1px;
}

/* ============ ORG CHART — 實心色塊版 ============ */
.org-hierarchy { margin: 40px 0 30px; padding: 16px 4px; }

/* Level 1 · CEO — 紅底卡 */
.org-ceo-wrap { text-align: center; position: relative; padding-top: 10px; }
.org-ceo {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  border-radius: 4px;
  padding: 18px 40px;
  box-shadow:
    2px 4px 10px rgba(209,75,99,0.35),
    6px 12px 30px rgba(0,0,0,0.18);
  transform: rotate(-0.6deg);
  position: relative;
}
.org-ceo::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  width: 92px; height: 22px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(255,255,255,0.45);
  box-shadow: 0 2px 3px rgba(0,0,0,0.12);
}
.org-ceo .lv { font-size: 10.5px; letter-spacing: 3px; color: rgba(255,255,255,0.85); font-family: '金萱9', sans-serif; margin-bottom: 3px; }
.org-ceo .nm { font-family: '粒線體', sans-serif; font-size: 28px; color: #fff; font-weight: 900; }
.org-ceo .rl { font-size: 12.5px; color: rgba(255,255,255,0.9); margin-top: 3px; }

/* Level 2 · 大腸 + 顧問 */
.org-mid {
  display: flex; justify-content: center; gap: 130px;
  margin: 44px 0 16px; position: relative;
}
.org-mid::before {
  content: ''; position: absolute;
  top: -30px; left: 50%; width: 2px; height: 30px;
  background: var(--brand-red); opacity: 0.35;
}
.org-mid::after {
  content: ''; position: absolute;
  top: 0; left: calc(50% - 65px); width: 130px;
  height: 2px; background: var(--brand-red); opacity: 0.35;
}
.org-chief, .org-advisors {
  position: relative;
  border-radius: 4px;
  padding: 14px 24px;
  min-width: 210px;
  text-align: center;
  box-shadow: var(--shadow-paper-lg);
}
.org-chief {
  background: var(--t-claude);
  color: #fff;
  transform: rotate(-0.5deg);
}
.org-advisors {
  background: var(--brand-purple);
  color: #fff;
  transform: rotate(0.5deg);
}
.org-chief::before, .org-advisors::before {
  content: ''; position: absolute;
  top: -30px; left: 50%; width: 2px; height: 30px;
  background: var(--brand-red); opacity: 0.35;
}
.org-chief .nm, .org-advisors .nm {
  font-family: '金萱9', sans-serif; font-size: 17px; color: #fff; font-weight: 700;
}
.org-chief .rl, .org-advisors .rl {
  font-size: 11.5px; color: rgba(255,255,255,0.9); margin-top: 3px;
}

/* Level 3 · 8 處室 */
.org-depts-wrap { position: relative; padding-top: 52px; }
.org-depts-wrap::before {
  content: ''; position: absolute;
  top: 0; left: 50%; width: 2px; height: 28px;
  background: var(--brand-red); opacity: 0.35;
}
.org-depts-wrap::after {
  content: ''; position: absolute;
  top: 28px; left: calc(100% / 16); right: calc(100% / 16);
  height: 2px; background: var(--brand-red); opacity: 0.35;
}
.org-depts {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.org-dept-col { position: relative; padding-top: 26px; }
.org-dept-col::before {
  content: ''; position: absolute;
  top: 0; left: 50%; width: 2px; height: 26px;
  background: var(--brand-red); opacity: 0.35;
}

/* Dept header — 整張實心色塊 */
.org-dept-head {
  background: var(--dept-color, var(--brand-red));
  color: #fff;
  border-radius: 4px;
  padding: 12px 6px;
  text-align: center;
  box-shadow: 2px 3px 10px rgba(0,0,0,0.18);
  margin-bottom: 14px;
  transform: rotate(-0.6deg);
  position: relative;
}
.org-dept-col:nth-child(even) .org-dept-head { transform: rotate(0.5deg); }
.org-dept-head::before {
  content: '';
  position: absolute;
  top: -7px; left: 50%;
  width: 44px; height: 14px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(255,255,255,0.45);
}
.org-dept-head .no {
  font-family: '粒線體', sans-serif; font-size: 16px; font-weight: 900;
  color: rgba(255,255,255,0.8); display: block; line-height: 1;
}
.org-dept-head .nm {
  font-family: '金萱9', sans-serif; font-size: 12.5px;
  color: #fff; font-weight: 700; margin-top: 3px; display: block;
}

/* Emp card — 整張淡色底（dept 對應色） */
.org-emp {
  background: var(--dept-bg, #fff);
  border-radius: 3px;
  padding: 11px 12px 10px;
  margin-bottom: 9px;
  box-shadow: var(--shadow-paper);
  transform: rotate(-0.3deg);
}
.org-emp:nth-child(even) { transform: rotate(0.3deg); }
.org-emp .en {
  font-family: '金萱9', sans-serif;
  font-size: 13.5px; font-weight: 700;
  color: var(--dept-color, var(--ink-deep));
  display: flex; align-items: center; gap: 4px;
}
.org-emp .en .ic { font-size: 14px; }
.org-emp .et {
  font-size: 10px; color: var(--ink);
  line-height: 1.4; margin: 1px 0 5px;
  opacity: 0.75;
}
.org-emp .sk { list-style: none; padding: 0; margin: 0; }
.org-emp .sk li {
  font-size: 10.5px;
  color: var(--ink);
  line-height: 1.55;
  padding: 1px 0 1px 10px;
  position: relative;
}
.org-emp .sk li::before {
  content: '·';
  position: absolute; left: 3px; top: 1px;
  color: var(--dept-color);
  font-weight: 900;
}

/* 8 處室顏色（主色 + 底色配對） */
.dept-0 { --dept-color: #8a6db8; --dept-bg: #ECE5F5; }
.dept-7 { --dept-color: #d14b63; --dept-bg: #FAD8DE; }
.dept-1 { --dept-color: #4C458A; --dept-bg: #DAD7EA; }
.dept-2 { --dept-color: #7C3AED; --dept-bg: #E3D5F7; }
.dept-3 { --dept-color: #E37400; --dept-bg: #F9DFBE; }
.dept-4 { --dept-color: #CC785C; --dept-bg: #F5DDD0; }
.dept-5 { --dept-color: #2d8659; --dept-bg: #C8E4D0; }
.dept-6 { --dept-color: #E1306C; --dept-bg: #F9D9E6; }

/* ============ 小腸對話泡泡（段落分隔 + 個性化敘述） ============ */
.chang-bubble {
  display: flex; gap: 14px;
  max-width: 680px; margin: 56px auto;
  align-items: flex-start;
  opacity: 0; transform: translateY(16px);
  animation: bubbleFade .6s ease forwards;
}
@keyframes bubbleFade { to { opacity: 1; transform: translateY(0); } }
.chang-bubble .avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 2px 4px 12px rgba(209,75,99,0.30);
  overflow: hidden;
}
.chang-bubble .avatar img { width: 100%; height: 100%; object-fit: cover; }
.chang-bubble .bubble {
  background: #fff;
  padding: 18px 24px;
  border-radius: 22px;
  border-top-left-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08), 0 6px 20px rgba(0,0,0,0.06);
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink);
  position: relative;
  flex: 1;
}
.chang-bubble .bubble::before {
  content: '';
  position: absolute;
  left: -9px; top: 14px;
  border: 10px solid transparent;
  border-right-color: #fff;
  border-left: 0;
}
.chang-bubble .bubble .nm {
  display: block;
  font-family: '金萱9', sans-serif;
  font-size: 13px;
  color: var(--brand-red);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.chang-bubble .bubble strong { color: var(--brand-red); }
/* 變體：基腸說（紫） */
.chang-bubble.jichang .avatar { background: var(--brand-purple); box-shadow: 2px 4px 12px rgba(76,69,138,0.3); }
.chang-bubble.jichang .bubble .nm { color: var(--brand-purple); }
.chang-bubble.jichang .bubble strong { color: var(--brand-purple); }
/* 變體：大腸說（橘） */
.chang-bubble.dachang .avatar { background: var(--t-claude); box-shadow: 2px 4px 12px rgba(204,120,92,0.3); }
.chang-bubble.dachang .bubble .nm { color: var(--t-claude); }
.chang-bubble.dachang .bubble strong { color: var(--t-claude); }

/* ============ SCROLL REVEAL（滾動進場動畫） ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ EMPLOYEE POPUP MODAL ============ */
.emp-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(44,39,48,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  padding: 20px;
}
.emp-modal-backdrop.active { opacity: 1; pointer-events: auto; }
.emp-modal {
  background: #fff;
  border-radius: 14px;
  padding: 36px 40px 30px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  transform: scale(0.92) translateY(10px);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  max-height: 85vh;
  overflow-y: auto;
}
.emp-modal-backdrop.active .emp-modal { transform: scale(1) translateY(0); }
.emp-modal .close {
  position: absolute; top: 14px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper-deep);
  border: none; cursor: pointer;
  font-size: 18px; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.emp-modal .close:hover { background: var(--brand-red); color: #fff; }
.emp-modal .emp-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--dept-color, var(--brand-red));
  color: #fff;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
  box-shadow: 3px 6px 20px rgba(0,0,0,0.18);
}
.emp-modal .emp-name {
  font-family: '粒線體', sans-serif;
  font-size: 28px;
  color: var(--dept-color, var(--ink-deep));
  font-weight: 900;
  text-align: center;
  margin-bottom: 4px;
}
.emp-modal .emp-title {
  text-align: center;
  font-family: '金萱9', sans-serif;
  font-size: 13px;
  color: var(--brand-red);
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.emp-modal .emp-bio {
  background: var(--paper-deep);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 18px;
  font-style: italic;
}
.emp-modal .emp-section-title {
  font-family: '金萱9', sans-serif;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 3px;
  margin: 16px 0 10px;
}
.emp-modal .emp-skills-list {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.emp-modal .emp-skills-list .skill-tag {
  background: var(--paper-deep);
  color: var(--dept-color, var(--brand-red));
  padding: 5px 12px;
  border-radius: 99px;
  font-family: '金萱9', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
}
.emp-modal .emp-tools {
  display: flex; flex-wrap: wrap; gap: 6px;
}

/* org-emp 加 hover 暗示可點 */
.org-emp {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.org-emp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}
.org-emp::after {
  content: '';
  position: absolute;
  right: 6px; top: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--dept-color);
  opacity: 0;
  transition: opacity .2s;
}
.org-emp { position: relative; }
.org-emp:hover::after { opacity: 0.5; }

/* ============ TAB NAV（工作流切換） ============ */
.tab-nav {
  display: flex; gap: 4px;
  background: #fff;
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08), 0 6px 20px rgba(0,0,0,0.05);
  overflow-x: auto;
  scrollbar-width: none;
  margin: 28px 0 36px;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 12px 20px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: '金萱9', sans-serif;
  font-size: 14px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all .25s cubic-bezier(.2,.8,.2,1);
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.tab-btn:hover { color: var(--ink-deep); background: var(--paper-deep); }
.tab-btn.active {
  background: var(--brand-purple);
  color: #fff;
  box-shadow: 2px 4px 10px rgba(76,69,138,0.3);
}
.tab-btn .num {
  font-family: '粒線體', sans-serif;
  font-weight: 900;
  opacity: 0.6;
}
.tab-btn.active .num { opacity: 1; }
.tab-panel { display: none; }
.tab-panel.active {
  display: block;
  animation: panelIn .4s cubic-bezier(.2,.8,.2,1);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============ FLOW STAGE（大流程節點圖） ============ */
.flow-stage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px 40px;
  margin: 30px 0;
  position: relative;
}
.flow-stage.cols-3 { grid-template-columns: repeat(3, 1fr); }
.flow-stage.cols-4 { grid-template-columns: repeat(4, 1fr); }
.flow-stage.cols-5 { grid-template-columns: repeat(5, 1fr); }

.stage-node {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px 18px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08), 0 10px 24px rgba(0,0,0,0.05);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.stage-node:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 16px rgba(0,0,0,0.1), 0 16px 34px rgba(0,0,0,0.1);
}
.stage-node .step-num {
  position: absolute;
  top: -14px; left: -12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-family: '粒線體', sans-serif;
  font-size: 15px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 2px 3px 8px rgba(209,75,99,0.3);
}
.stage-node .node-ic {
  width: 60px; height: 60px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: var(--node-bg, var(--paper-deep));
  color: var(--node-color, var(--brand-red));
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.08);
}
.stage-node h4 {
  font-family: '金萱9', sans-serif;
  font-size: 15px;
  color: var(--node-color, var(--ink-deep));
  font-weight: 700;
  margin-bottom: 4px;
}
.stage-node .desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 38px;
}
.stage-arrow {
  display: flex; align-items: center; justify-content: center;
  font-family: '粒線體', sans-serif;
  font-size: 28px;
  color: var(--brand-red);
  opacity: 0.6;
  font-weight: 900;
}

/* 流程主結果（終點大卡） */
.flow-result {
  background: linear-gradient(135deg, var(--brand-red), #b93a50);
  color: #fff;
  padding: 26px 32px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(209,75,99,0.28);
  margin: 28px auto;
  max-width: 620px;
}
.flow-result .label {
  font-family: '金萱9', sans-serif;
  font-size: 11.5px;
  letter-spacing: 4px;
  opacity: 0.85;
  margin-bottom: 6px;
}
.flow-result .title {
  font-family: '粒線體', sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

/* 工作流 tab hero（上方顯示名稱+觸發詞） */
.wf-hero {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 8px 20px rgba(0,0,0,0.04);
  display: flex; align-items: center; gap: 22px;
}
.wf-hero .wf-ic {
  width: 64px; height: 64px; flex-shrink: 0;
  background: var(--wf-color, var(--brand-red));
  color: #fff;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  box-shadow: 3px 5px 14px rgba(0,0,0,0.15);
}
.wf-hero h3 {
  font-family: '粒線體', sans-serif;
  font-size: 26px;
  color: var(--wf-color, var(--ink-deep));
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.wf-hero .trig {
  font-size: 13px;
  color: var(--muted);
  font-family: '金萱9', sans-serif;
}
.wf-hero .trig code {
  background: var(--paper-deep);
  color: var(--wf-color, var(--brand-red));
  padding: 2px 8px;
  border-radius: 4px;
}

/* ============ 更大留白 ============ */
.section { margin-top: 96px; }
.notebook > .section:first-child { margin-top: 40px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .flow-stage.cols-3,
  .flow-stage.cols-4,
  .flow-stage.cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .chang-bubble { margin: 40px auto; }
  .chang-bubble .bubble { padding: 14px 18px; font-size: 14.5px; }
  .wf-hero { flex-direction: column; text-align: center; padding: 22px; }
  .tab-nav { margin: 20px 0 24px; }
  .tab-btn { padding: 10px 14px; font-size: 13px; }
  .emp-modal { padding: 30px 24px 24px; }
  .section { margin-top: 64px; }
  .notebook { padding: 40px 22px 50px 60px; border-radius: 0; }
  .notebook::before { left: 14px; width: 14px; }
  .notebook table { font-size: 12.5px; }
  .notebook table th, .notebook table td { padding: 8px 10px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .memo-stats { grid-template-columns: repeat(2, 1fr); }
  .flow-row { grid-template-columns: 1fr; }
  .flow-arr { transform: rotate(90deg); }
  .cta-grid { grid-template-columns: 1fr; }
  .section .lead { margin-left: 0; }
  .hero-split { grid-template-columns: 1fr; gap: 30px; }
  .hero-split .hero-photo { max-width: 280px; margin: 0 auto; }
  .hero-split .hero-text h1 { text-align: center; }
  .hero-split .hero-text .sub { text-align: center; }
  .about-hero { grid-template-columns: 1fr; gap: 28px; }
  .about-hero .photo-card { max-width: 300px; margin: 0 auto; }
  .photo-wall { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .org-depts { grid-template-columns: repeat(2, 1fr); }
  .org-depts-wrap::after { display: none; }
  .org-mid { flex-direction: column; gap: 20px; align-items: center; }
  .org-mid::after { display: none; }
  .nav-inner { padding: 10px 14px; }
  .nav-brand { font-size: 15px; }
  .nav-brand img { height: 28px; }
  .nav-links a { padding: 6px 10px; font-size: 12.5px; }
  .nav-cta { padding: 6px 14px; font-size: 12.5px; }
}
