@font-face {
  font-family: "Bakudai";
  src: url("./assets/fonts/Bakudai-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KouzanGyousho";
  src: url("./assets/fonts/KouzanGyousho.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Typography rule: no visible text should be set below 16px. */
  --font-min: 16px;
  --font-brush: "Bakudai", "Ma Shan Zheng", "Noto Serif TC", serif;
  --font-script: "KouzanGyousho", "Bakudai", "Ma Shan Zheng", "Noto Serif TC", serif;
  --ink: #173c73;
  --ink-2: #1f4f8f;
  --blue: #2a6fbd;
  --blue-2: #12345f;
  --cyan: #9fc3ee;
  --bronze: #dca23b;
  --accent: #f2b23d;
  --accent-2: #ffc857;
  --line-green: #06c755;
  --line-green-dark: #05a846;
  --paper: #f7f4ec;
  --paper-cool: #f4f7fa;
  --paper-line: rgba(23, 60, 115, .075);
  --white: #ffffff;
  --text: #21364c;
  --muted: #62758c;
  --line: #d8e3ef;
  --dark-line: rgba(255, 255, 255, .13);
  --shadow: 0 24px 70px rgba(23, 60, 115, .18);
  --soft-shadow: 0 18px 48px rgba(23, 60, 115, .09);
  --max: 1380px;
  --tr: .24s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(23, 60, 115, .035) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 30%, rgba(217, 154, 34, .04) 0 1px, transparent 2px),
    linear-gradient(90deg, rgba(23, 60, 115, .028) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 60, 115, .022) 1px, transparent 1px),
    var(--paper);
  background-size: 31px 31px, 43px 43px, 96px 96px, 96px 96px, auto;
  font-family: "Noto Sans TC", sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 44px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px max(18px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  /* ① 背景：深藍 + 極淡網格 */
  background:
    linear-gradient(90deg, rgba(42, 111, 189, .06) 1px, transparent 1px),
    linear-gradient(0deg,  rgba(42, 111, 189, .04) 1px, transparent 1px),
    rgba(10, 24, 52, .97);
  background-size: 48px 48px, 48px 48px, auto;
  backdrop-filter: blur(20px);
  /* ② 底部亮線：漸層光條 */
  border-bottom: none;
  box-shadow:
    0 1px 0 rgba(42, 111, 189, .55),
    0 2px 0 rgba(42, 111, 189, .12),
    0 1px 32px rgba(10, 24, 52, .6);
  /* ③ 掃描動畫 */
  overflow: hidden;
}

/* ③ header 掃描光 */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(42, 111, 189, .08) 30%,
    rgba(42, 111, 189, .16) 50%,
    rgba(42, 111, 189, .08) 70%,
    transparent 100%
  );
  background-size: 300% 100%;
  animation: headerScan 6s linear infinite;
  opacity: .7;
}

@keyframes headerScan {
  0%   { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* ④ 品牌印章：紅印風 + 光暈 */
.brand-seal {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(155, 46, 39, .72);
  border-radius: 4px;
  color: #e05a50;
  font-family: var(--font-brush);
  font-size: 22px;
  box-shadow:
    0 0 0 1px rgba(155, 46, 39, .2),
    0 0 14px rgba(155, 46, 39, .28),
    inset 0 0 8px rgba(155, 46, 39, .08);
  transition: box-shadow .3s;
}

.brand:hover .brand-seal {
  box-shadow:
    0 0 0 1px rgba(155, 46, 39, .4),
    0 0 24px rgba(155, 46, 39, .48),
    inset 0 0 10px rgba(155, 46, 39, .12);
}

.brand-name {
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  font-size: 25px;
  letter-spacing: .05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

/* ⑤ nav 連結：Noto Serif TC（同品牌名）+ 底線滑動 */
.site-nav a {
  position: relative;
  padding: 8px 7px;
  color: rgba(255, 255, 255, .75);
  font-family: 'Noto Serif TC', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: color .18s, text-shadow .18s;
}

.site-nav a:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(180, 220, 255, .7), 0 0 28px rgba(120, 180, 255, .4);
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 13px;
  right: 13px;
  height: 1px;
  background: rgba(42, 111, 189, .9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(242, 178, 61, .13);
  border-color: rgba(242, 178, 61, .32);
  box-shadow: inset 0 0 0 1px rgba(242, 178, 61, .1), 0 0 20px rgba(242, 178, 61, .1);
}

.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), border-color var(--tr);
}

/* ⑥ status dot：系統運作中呼吸綠點 */
.nav-status {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ecf8e;
  margin-right: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(62, 207, 142, .5);
  animation: statusPulse 2.4s ease-out infinite;
}

@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(62, 207, 142, .55); }
  70%  { box-shadow: 0 0 0 6px rgba(62, 207, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0); }
}

/* ── LINE 官方色 CTA ── */
.header-cta {
  position: relative;
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--line-green);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 4px;
  padding: 10px 22px;
  box-shadow: 0 12px 28px rgba(6, 199, 85, .28);
  overflow: visible;
}

.header-cta::before,
.header-cta::after {
  display: none;
}

.header-cta:hover {
  background: var(--line-green-dark);
  box-shadow: 0 16px 34px rgba(6, 199, 85, .34);
  transform: translateY(-1px);
}

.btn-primary {
  position: relative;
  color: #173c73;
  background: var(--accent);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 12px 28px rgba(242, 178, 61, .28);
  border-radius: 999px;
}

.btn-primary:hover {
  background: var(--accent-2);
}

.line-btn {
  color: #fff;
  background: var(--line-green);
  border-color: rgba(255, 255, 255, .22);
  font-family: 'Noto Serif TC', serif;
  letter-spacing: .06em;
  box-shadow: 0 14px 32px rgba(6, 199, 85, .28);
}

.line-btn:hover {
  background: var(--line-green-dark);
  box-shadow: 0 18px 40px rgba(6, 199, 85, .34);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .28);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ══════════════════════════════
   手機選單：古代書冊風
══════════════════════════════ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: stretch;
  /* 宣紙米色底 */
  background:
    radial-gradient(ellipse at 50% 0%, rgba(183, 135, 52, .09), transparent 60%),
    linear-gradient(90deg, rgba(139, 90, 20, .06) 1px, transparent 1px),
    linear-gradient(0deg,  rgba(139, 90, 20, .05) 1px, transparent 1px),
    #f3ede0;
  background-size: auto, 32px 32px, 32px 32px, auto;
  transform-origin: top center;
  animation: none;
}

.mobile-nav.open {
  display: flex;
  animation: scrollUnfurl .38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes scrollUnfurl {
  from { clip-path: inset(0 0 100% 0); opacity: .6; }
  to   { clip-path: inset(0 0 0% 0);   opacity: 1; }
}

/* 左側書脊 */
.scroll-spine {
  flex: 0 0 18px;
  background:
    linear-gradient(180deg,
      #8b5a14 0%,
      #b07830 20%,
      #6b4010 50%,
      #b07830 80%,
      #8b5a14 100%);
  box-shadow: 2px 0 8px rgba(60, 30, 0, .25);
}

/* 上下書軸（裝飾條） */
.scroll-top-roll,
.scroll-bottom-roll {
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  z-index: 2;
  background: linear-gradient(90deg,
    #8b5a14, #c49040 15%, #f0c878 40%, #c49040 65%, #8b5a14 85%, #6b4010);
  box-shadow: 0 2px 8px rgba(60, 30, 0, .3);
}

.scroll-top-roll    { top: 0; }
.scroll-bottom-roll { bottom: 0; }

/* 主內容區 */
.mobile-nav-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 28px 24px;
  overflow-y: auto;
}

/* 頂部品牌列 */
.mobile-nav-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(139, 90, 20, .22);
}

.mobile-seal {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 2px solid rgba(155, 46, 39, .65);
  border-radius: 4px;
  color: #9b2e27;
  font-family: var(--font-brush);
  font-size: 24px;
  box-shadow: 0 0 14px rgba(155, 46, 39, .2), inset 0 0 6px rgba(155, 46, 39, .08);
}

.mobile-nav-head strong {
  display: block;
  color: #2a1a08;
  font-family: 'Noto Serif TC', serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .06em;
}

.mobile-nav-head p {
  margin: 2px 0 0;
  color: rgba(80, 50, 10, .55);
  font-family: var(--font-brush);
  font-size: 16px;
  letter-spacing: .1em;
}

.mobile-close {
  margin-left: auto;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139, 90, 20, .3);
  border-radius: 4px;
  background: rgba(255, 248, 230, .6);
  color: rgba(80, 50, 10, .7);
  cursor: pointer;
}

.mobile-close svg { width: 18px; height: 18px; }

/* 目錄分隔 */
.mobile-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: rgba(139, 90, 20, .55);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mobile-divider::before,
.mobile-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 90, 20, .35), transparent);
}

/* 選單連結 */
.mobile-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(139, 90, 20, .12);
  color: #2a1a08;
  text-decoration: none;
  transition: background .15s, padding-left .15s;
}

.mobile-link:hover {
  padding-left: 10px;
  background: rgba(183, 135, 52, .08);
}

.link-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid rgba(139, 90, 20, .3);
  border-radius: 2px;
  background: rgba(255, 248, 220, .7);
  color: rgba(139, 90, 20, .8);
  font-family: var(--font-brush);
  font-size: 16px;
}

.mobile-link span:last-child {
  font-family: 'Noto Serif TC', serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .06em;
}

/* LINE 諮詢按鈕 */
.mobile-cta-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 14px 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 4px;
  background: var(--line-green);
  color: #fff;
  font-family: 'Noto Serif TC', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(6, 199, 85, .24);
}

/* 底部署名 */
.mobile-tagline {
  margin: auto 0 0;
  padding-top: 20px;
  text-align: center;
  color: rgba(139, 90, 20, .4);
  font-family: var(--font-brush);
  font-size: 16px;
  letter-spacing: .14em;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: clamp(64px, 8vw, 106px) 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 178, 61, .16), transparent 28%),
    radial-gradient(circle at 92% 72%, rgba(217, 154, 34, .105), transparent 32%),
    linear-gradient(90deg, rgba(139, 90, 20, .04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 90, 20, .032) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 88px 88px, 88px 88px, auto;
  overflow: hidden;
}

.hero-grid,
.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-grid {
  opacity: .26;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(217, 154, 34, .06) 48% 49%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(242, 178, 61, .045) 48% 49%, transparent 49% 100%);
  background-size: 260px 260px, 330px 330px;
}

.hero::before {
  background-image:
    radial-gradient(circle at 20% 24%, rgba(217, 154, 34, .09) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 66%, rgba(242, 178, 61, .065) 0 1px, transparent 1.8px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
  background-size: 29px 29px, 41px 41px, 100% 100%;
  opacity: .46;
}

.hero::after {
  content: "策士";
  inset: auto 3vw 7vh auto;
  width: auto;
  height: auto;
  color: rgba(217, 154, 34, .16);
  font-family: var(--font-brush);
  font-size: clamp(160px, 23vw, 360px);
  line-height: .82;
  letter-spacing: -.08em;
  transform: rotate(-7deg);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(82px);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-a {
  width: 460px;
  height: 460px;
  top: -130px;
  right: -110px;
  background: rgba(217, 154, 34, .08);
}

.hero-glow-b {
  width: 380px;
  height: 380px;
  left: 4vw;
  bottom: -150px;
  background: rgba(242, 178, 61, .085);
  animation-delay: 1.2s;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(217, 154, 34, .26), transparent);
  animation: scan 6s linear infinite;
  opacity: .38;
}

.hero-char {
  position: absolute;
  top: -64px;
  right: 7vw;
  color: rgba(217, 154, 34, .14);
  font-family: var(--font-brush);
  font-size: clamp(260px, 32vw, 500px);
  line-height: 1;
  transform: rotate(-6deg);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 44px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(430px, .92fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.script-label {
  margin: 0 0 14px;
  padding-top: 6px;
  color: var(--bronze);
  font-family: var(--font-brush);
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.05;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .script-label,
.work-section .script-label,
.ai-section .script-label,
.final-cta .script-label {
  color: var(--accent);
}

.work-section .eyebrow,
.ai-section .eyebrow,
.final-cta .eyebrow {
  color: var(--blue);
}

.hero .eyebrow {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.8vw, 74px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.brush-word {
  display: inline-block;
  margin-inline: .08em;
  color: var(--blue);
  font-family: var(--font-brush);
  font-size: 1.18em;
  font-weight: 400;
  text-shadow: none;
  transform: translateY(.08em) rotate(-1deg);
}

.brush-inline {
  display: inline-block;
  margin-inline: .08em;
  color: var(--blue);
  font-family: var(--font-brush);
  font-size: 1.18em;
  font-weight: 400;
  line-height: 1;
  transform: translateY(.08em) rotate(-1deg);
}

.hero .brush-inline,
.final-cta .brush-inline {
  color: var(--white);
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: #35506b;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
  width: fit-content;
  max-width: 100%;
  padding: 10px;
  border: 1px solid rgba(42, 111, 189, .32);
  background: rgba(255, 255, 255, .44);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .46),
    0 14px 34px rgba(23, 60, 115, .08);
  backdrop-filter: blur(8px);
}

.hero-points span {
  padding: 7px 12px;
  border: 1px solid rgba(42, 111, 189, .36);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(23, 60, 115, .06);
  opacity: 0;
  animation: tagBounceIn .52s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-points span:nth-child(1) { animation-delay: .55s; }
.hero-points span:nth-child(2) { animation-delay: .72s; }
.hero-points span:nth-child(3) { animation-delay: .89s; }
.hero-points span:nth-child(4) { animation-delay: 1.06s; }

@keyframes tagBounceIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.88);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero .btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .58);
  border-color: rgba(23, 60, 115, .2);
}

.hero .btn-ghost:hover {
  border-color: rgba(23, 60, 115, .38);
  box-shadow: 0 14px 32px rgba(23, 60, 115, .12);
}

.search-lab {
  border: 1px solid rgba(42, 111, 189, .18);
  background:
    radial-gradient(circle at 12% 20%, rgba(217, 154, 34, .065), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(42, 111, 189, .08), transparent 26%),
    linear-gradient(90deg, rgba(23, 60, 115, .026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 60, 115, .022) 1px, transparent 1px),
    rgba(255, 255, 255, .78);
  background-size: auto, 52px 52px, 52px 52px, auto;
  box-shadow:
    0 30px 80px rgba(23, 60, 115, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .58);
  backdrop-filter: blur(16px);
}

.ai-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ai-title b {
  color: var(--ink);
}

.google-serp {
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(23, 60, 115, .16);
  backdrop-filter: none;
}

.google-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 9px 14px;
  border-bottom: 1px solid #edf0f4;
  background: #f8fafd;
}

.google-browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dadce0;
}

.google-browser-bar i:nth-child(1) { background: #ea4335; }
.google-browser-bar i:nth-child(2) { background: #fbbc04; }
.google-browser-bar i:nth-child(3) { background: #34a853; }

.google-browser-bar span {
  margin-left: 8px;
  color: #5f6368;
  font-size: 16px;
  font-weight: 700;
}

.google-search-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 20px 12px;
}

.google-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.g-blue { color: #4285f4; }
.g-red { color: #ea4335; }
.g-yellow { color: #fbbc05; }
.g-green { color: #34a853; }

.google-search-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #dfe1e5;
  border-radius: 999px;
  color: #202124;
  background: #fff;
  box-shadow: 0 1px 6px rgba(32, 33, 36, .18);
  overflow: hidden;
}

.google-lens {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid #9aa0a6;
  border-radius: 50%;
}

.google-lens::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #9aa0a6;
  transform: rotate(45deg);
}

.google-search-box strong {
  overflow: hidden;
  color: #202124;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.google-query-rotator {
  position: relative;
  display: block;
  height: 1.45em;
  min-width: 0;
}

.google-query-rotator span {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  transform: translateY(110%);
  animation: googleQueryCycle 7.2s cubic-bezier(.22, 1, .36, 1) infinite;
}

.google-query-rotator span:nth-child(2) {
  animation-delay: 2.4s;
}

.google-query-rotator span:nth-child(3) {
  animation-delay: 4.8s;
}

.google-search-box em {
  color: #1a73e8;
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}

.google-tabs {
  display: flex;
  gap: 22px;
  padding: 0 20px;
  border-bottom: 1px solid #ebedf0;
}

.google-tabs span {
  position: relative;
  padding: 11px 0 10px;
  color: #5f6368;
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  font-weight: 700;
}

.google-tabs .active {
  color: #1a73e8;
}

.google-tabs .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #1a73e8;
}

.google-results-meta {
  padding: 11px 20px 4px;
  color: #70757a;
  font-size: 16px;
}

.google-ai-overview {
  margin: 10px 20px 18px;
  padding: 17px 18px;
  border: 1px solid #e5e9f2;
  border-radius: 16px;
  background: #f8fbff;
  transform-origin: center top;
  animation: googleAiOverviewFrame 7.2s cubic-bezier(.22, 1, .36, 1) infinite;
  will-change: transform, box-shadow;
}

.google-ai-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #202124;
}

.google-ai-title span {
  color: #fbbc04;
  font-size: 18px;
  line-height: 1;
}

.google-ai-title b {
  font-size: 16px;
  font-weight: 800;
}

.google-ai-overview p {
  margin: 0;
  color: #3c4043;
  font-size: 16px;
  line-height: 1.72;
  animation: googleAiBodyFocus 7.2s cubic-bezier(.22, 1, .36, 1) infinite;
  will-change: filter, opacity;
}

.google-ai-sources,
.google-sitelinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.google-ai-sources span,
.google-sitelinks span {
  padding: 6px 10px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  color: #3c4043;
  background: #fff;
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  font-weight: 700;
}

.google-ai-sources span {
  opacity: 0;
  transform: translateY(9px) scale(.96);
  animation: googleAiSourceOne 7.2s cubic-bezier(.22, 1, .36, 1) infinite;
  will-change: opacity, transform;
}

.google-ai-sources span:nth-child(2) {
  animation-name: googleAiSourceTwo;
}

.google-ai-sources span:nth-child(3) {
  animation-name: googleAiSourceThree;
}

.google-result {
  margin: 0 20px 18px;
  padding: 0 0 2px;
  color: #4d5156;
}

.google-result cite {
  display: block;
  margin-bottom: 4px;
  color: #202124;
  font-size: 16px;
  font-style: normal;
  line-height: 1.45;
}

.google-result h3 {
  margin: 0 0 4px;
  color: #1a0dab;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.28;
}

.google-result p {
  margin: 0;
  color: #4d5156;
  font-size: 16px;
  line-height: 1.62;
}

.google-results-stage {
  position: relative;
  min-height: 382px;
  margin: 0 20px 22px;
  padding: 0 0 10px;
  overflow: hidden;
}

.google-results-stage .google-result {
  margin: 0 0 12px;
}

.google-competitor {
  position: relative;
  min-height: 112px;
  padding: 13px 16px 14px;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(60, 64, 67, .07);
  animation: competitorCovered 7.2s cubic-bezier(.22, 1, .36, 1) infinite;
}

.google-competitor:nth-child(2) {
  animation-delay: .08s;
}

.google-competitor:nth-child(3) {
  animation-delay: .16s;
}

.google-rank-label {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #5f6368;
  background: #f1f3f4;
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  font-weight: 800;
}

.google-result-target {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  padding: 14px 16px 16px;
  border: 1px solid rgba(26, 115, 232, .22);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(26, 115, 232, .12);
  animation: googleResultRise 7.2s cubic-bezier(.22, 1, .36, 1) infinite;
  will-change: transform, opacity;
}

.google-result-target::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid rgba(26, 115, 232, .18);
  border-radius: inherit;
  pointer-events: none;
  animation: googleResultFocus 3.8s ease-in-out infinite;
}

@keyframes googleQueryCycle {
  0% { opacity: 0; transform: translateY(110%); }
  8%, 28% { opacity: 1; transform: translateY(0); }
  36%, 100% { opacity: 0; transform: translateY(-110%); }
}

@keyframes googleResultRise {
  0%, 8% {
    opacity: 0;
    transform: translateY(244px) scale(.985);
    box-shadow: 0 10px 24px rgba(26, 115, 232, .08);
  }

  12% {
    opacity: 1;
    transform: translateY(244px) scale(.985);
    box-shadow: 0 10px 24px rgba(26, 115, 232, .08);
  }

  28%, 70% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 18px 44px rgba(26, 115, 232, .2);
  }

  84% {
    opacity: 0;
    transform: translateY(0) scale(1);
    box-shadow: 0 18px 44px rgba(26, 115, 232, .16);
  }

  85%, 100% {
    opacity: 0;
    transform: translateY(244px) scale(.985);
    box-shadow: 0 10px 24px rgba(26, 115, 232, .08);
  }
}

@keyframes googleAiOverviewFrame {
  0%, 18% {
    transform: scale(.992);
    box-shadow: none;
  }

  28%, 70% {
    transform: scale(1);
    box-shadow: 0 14px 34px rgba(26, 115, 232, .1);
  }

  84% {
    transform: scale(.992);
    box-shadow: none;
  }

  85%, 100% {
    transform: scale(.992);
    box-shadow: none;
  }
}

@keyframes googleAiBodyFocus {
  0%, 18% {
    opacity: .56;
    filter: blur(2.8px) saturate(.72);
  }

  28%, 70% {
    opacity: 1;
    filter: blur(0) saturate(1);
  }

  84%, 100% {
    opacity: .56;
    filter: blur(2.8px) saturate(.72);
  }
}

@keyframes googleAiSourceOne {
  0%, 32% {
    opacity: 0;
    transform: translateY(9px) scale(.96);
  }

  38%, 70% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  84%, 100% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
}

@keyframes googleAiSourceTwo {
  0%, 37% {
    opacity: 0;
    transform: translateY(9px) scale(.96);
  }

  43%, 70% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  84%, 100% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
}

@keyframes googleAiSourceThree {
  0%, 42% {
    opacity: 0;
    transform: translateY(9px) scale(.96);
  }

  48%, 70% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  84%, 100% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
}

@keyframes competitorCovered {
  0%, 24%, 88%, 100% {
    opacity: 1;
    transform: translateY(0);
    filter: none;
  }

  34%, 78% {
    opacity: .28;
    transform: translateY(0);
    filter: saturate(.7);
  }
}

@keyframes googleResultFocus {
  0%, 100% { opacity: .25; }
  50% { opacity: .9; }
}

.section {
  position: relative;
  padding: clamp(74px, 8vw, 116px) 0;
  overflow: hidden;
}.pain-section,
.services-section,
.brand-wall-section,
.training-section{
  position: relative;
}.pain-section > .container,
.services-section > .container,
.brand-wall-section > .container,
.training-section > .container{
  position: relative;
  z-index: 1;
}.pain-section::after,
.services-section::after,
.brand-wall-section::after,
.work-section::after,
.ai-section::after,
.training-section::after,
.final-cta::after{
  content: var(--section-mark, "");
  position: absolute;
  right: var(--mark-right, clamp(18px, 8vw, 120px));
  top: var(--mark-top, clamp(22px, 6vw, 86px));
  z-index: 0;
  pointer-events: none;
  color: rgba(217, 154, 34, .135);
  font-family: var(--font-brush);
  font-size: var(--mark-size, clamp(128px, 20vw, 300px));
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.06em;
  transform: rotate(var(--mark-rotate, -7deg));
  white-space: nowrap;
}
.pain-section { --section-mark: ""; --mark-top: 28px; --mark-right: 5vw; --mark-size: clamp(140px, 19vw, 280px); }
.services-section { --section-mark: "布策"; --mark-top: 48px; --mark-right: 6vw; --mark-size: clamp(138px, 19vw, 286px); }
.work-section { --section-mark: "功本"; --mark-top: 40px; --mark-right: 5vw; --mark-size: clamp(130px, 18vw, 270px); }
.brand-wall-section { --section-mark: "群策"; --mark-top: 44px; --mark-right: 5vw; --mark-size: clamp(130px, 18vw, 270px); }
.ai-section { --section-mark: "人器"; --mark-top: 36px; --mark-right: 5vw; --mark-size: clamp(138px, 19vw, 286px); }
.training-section { --section-mark: "授法"; --mark-top: 42px; --mark-right: 5vw; --mark-size: clamp(132px, 18vw, 270px); }
.final-cta { --section-mark: "定策"; --mark-top: 20px; --mark-right: 5vw; --mark-size: clamp(128px, 18vw, 260px); }

.section-head {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head-light h2,
.section-head-light p:not(.eyebrow):not(.script-label) {
  color: var(--ink);
}

.section-head-light p:not(.eyebrow):not(.script-label) {
  color: var(--muted);
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.13;
  font-weight: 900;
}

h3 {
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.24;
}

.section-head p:not(.eyebrow):not(.script-label) {
  color: var(--muted);
  font-family: "Noto Serif TC", serif;
  font-size: 18px;
  font-weight: 600;
}

.pain-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(23, 60, 115, .032) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 30%, rgba(217, 154, 34, .038) 0 1px, transparent 2px),
    linear-gradient(90deg, rgba(23, 60, 115, .026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 60, 115, .022) 1px, transparent 1px),
    var(--paper);
  background-size: 31px 31px, 43px 43px, 96px 96px, 96px 96px, auto;
}

.pain-section .section-head {
  max-width: none;
  padding: clamp(26px, 4vw, 42px);
  color: var(--white);
  background: var(--ink);
}

.pain-section .section-head h2,
.pain-section .section-head p:not(.eyebrow):not(.script-label) {
  color: var(--white);
}

.pain-section .section-head p:not(.eyebrow):not(.script-label) {
  max-width: none;
  color: rgba(255, 255, 255, .72);
}

.pain-section .script-label {
  color: var(--white);
}

.pain-section .eyebrow {
  color: rgba(255, 255, 255, .62);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pain-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(42, 111, 189, .12);
  background:
    radial-gradient(circle at 90% 12%, rgba(242, 178, 61, .08), transparent 28%),
    linear-gradient(90deg, rgba(42, 111, 189, .026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(42, 111, 189, .022) 1px, transparent 1px),
    rgba(255, 255, 255, .86);
  background-size: auto, 42px 42px, 42px 42px, auto;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: var(--tr);
}

.pain-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s ease;
}

.pain-card::after {
  content: attr(data-role);
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 10px;
  border: 1px solid rgba(42, 111, 189, .16);
  border-radius: 999px;
  color: rgba(23, 60, 115, .56);
  background: rgba(255, 255, 255, .62);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .06em;
}

.pain-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(42, 111, 189, .24);
}

.pain-card:hover::before {
  transform: scaleX(1);
}

.pain-card .pain-number {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.pain-icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--blue);
  opacity: .72;
}

.pain-card h3 {
  margin-bottom: 14px;
}

.pain-card p,
.service-panel p,
.check-list li,
.training-cards p,
.operator-flow p,
.operator-card strong {
  color: var(--muted);
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.82;
}

.pain-card p {
  margin-bottom: 22px;
}

.pain-meta {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding: 14px 15px;
  border: 1px solid rgba(42, 111, 189, .12);
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 3px 0 0 rgba(242, 178, 61, .72);
}

.pain-meta span {
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pain-meta b {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.pain-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 60, 115, .08);
}

.pain-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(23, 60, 115, .16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  font-size: 16px;
  font-weight: 900;
  transition: var(--tr);
}

.pain-footer a::after {
  content: "→";
  margin-left: 8px;
  color: var(--blue);
  transition: transform var(--tr);
}

.pain-footer a:hover {
  border-color: rgba(242, 178, 61, .7);
  background: var(--accent);
  color: #081b33;
  box-shadow: 0 12px 26px rgba(242, 178, 61, .24);
}

.pain-footer a:hover::after {
  transform: translateX(3px);
}

.pain-footer small {
  color: rgba(23, 60, 115, .42);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: right;
}

.services-section,
.brand-wall-section,
.training-section {
  background:
    radial-gradient(circle at 14% 20%, rgba(23, 60, 115, .028) 0 1px, transparent 1.8px),
    radial-gradient(circle at 80% 72%, rgba(217, 154, 34, .034) 0 1px, transparent 2px),
    linear-gradient(90deg, rgba(23, 60, 115, .024) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 60, 115, .02) 1px, transparent 1px),
    var(--paper);
  background-size: 35px 35px, 49px 49px, 104px 104px, 104px 104px, auto;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.service-tab {
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: var(--tr);
}

.service-tab.active,
.service-tab:hover {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.service-panel {
  display: none;
  grid-template-columns: minmax(0, .96fr) minmax(360px, .8fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  position: relative;
  padding: clamp(32px, 4.4vw, 58px);
  border: 0;
  border-left: 6px solid var(--blue);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.service-panel::before {
  content: "SERVICE MODULE";
  position: absolute;
  right: 24px;
  top: 18px;
  color: rgba(23, 60, 115, .12);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .16em;
}

.service-panel.active {
  display: grid;
}
.service-panel.from-next {
  animation: panelFromNext .38s cubic-bezier(.25, .8, .25, 1) both;
}
.service-panel.from-prev {
  animation: panelFromPrev .38s cubic-bezier(.25, .8, .25, 1) both;
}

@keyframes panelFromNext {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes panelFromPrev {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── 輪播箭頭 ── */
.service-carousel {
  position: relative;
}
.service-arrow {
  position: absolute;
  top: calc(50% + 28px);
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(23, 60, 115, .22);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(23, 60, 115, .12);
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
  overflow: hidden;
}
/* 金色光暈底層 */
.service-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(242,178,61,.18), transparent 70%);
  opacity: 0;
  transition: opacity .2s;
}
.service-arrow:hover {
  background: var(--blue);
  color: var(--accent);
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(23, 60, 115, .28);
  transform: translateY(-50%) scale(1.1);
}
.service-arrow:hover::before { opacity: 1; }
/* SVG 箭頭圖示 */
.service-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
  transition: transform .2s;
}
.service-arrow-prev:hover svg { transform: translateX(-2px); }
.service-arrow-next:hover svg { transform: translateX(2px); }
.service-arrow-prev { left: -56px; }
.service-arrow-next { right: -56px; }

.service-panel h3 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 42px);
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 14px 12px 38px;
  border: 0;
  background: #f8fafc;
  box-shadow: 0 10px 26px rgba(23, 60, 115, .055);
  transition: var(--tr);
}

.check-list li:hover {
  border-color: rgba(42, 111, 189, .28);
  background: #ffffff;
  transform: translateX(4px);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 20px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.system-map {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  background: #173c73;
  color: var(--white);
  overflow: hidden;
}

.system-map::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .52;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 38px 38px;
}

.system-map::after {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(255, 255, 255, .13);
  pointer-events: none;
}

.system-map > span,
.system-map > b {
  position: absolute;
  z-index: 1;
}

.system-map > b {
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  color: var(--white);
  text-align: center;
  box-shadow: none;
}

.system-map > span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  animation: floatNode 4s ease-in-out infinite;
}

.system-map > span:nth-child(1) { top: 45px; left: 38px; }
.system-map > span:nth-child(2) { top: 50px; right: 34px; animation-delay: .4s; }
.system-map > span:nth-child(3) { bottom: 52px; left: 54px; animation-delay: .8s; }
.system-map > span:nth-child(4) { bottom: 50px; right: 42px; animation-delay: 1.2s; }

.system-map-basic {
  min-height: 430px;
  padding: 28px;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 52%, rgba(242, 178, 61, .16), transparent 25%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .12), transparent 20%),
    linear-gradient(90deg, rgba(255, 255, 255, .075) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
    var(--ink);
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 28px 70px rgba(23, 60, 115, .22);
}

.system-map-basic::before {
  opacity: .32;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 34px 34px, 34px 34px, 18px 18px;
}

.system-map-basic::after {
  inset: 28px;
  border-color: rgba(255, 255, 255, .14);
}

.map-title,
.map-core,
.map-node,
.map-results,
.map-orbit,
.map-pulse {
  position: absolute;
  z-index: 2;
}

.map-title {
  top: 26px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.map-title span {
  color: rgba(255, 255, 255, .46);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.map-title b {
  color: rgba(255, 255, 255, .88);
  font-size: 16px;
}

.map-orbit {
  inset: 92px 72px 72px;
  border: 1px solid rgba(255, 255, 255, .12);
}

.map-orbit::before,
.map-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-orbit::before {
  width: min(46%, 230px);
  aspect-ratio: 1;
  box-shadow: 0 0 50px rgba(42, 111, 189, .18);
}

.map-orbit::after {
  width: min(72%, 390px);
  aspect-ratio: 1;
  border-style: dashed;
  animation: orbitRotate 18s linear infinite;
}

.map-core {
  left: 50%;
  top: 51%;
  width: 188px;
  height: 188px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(242, 178, 61, .5);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(242, 178, 61, .2), transparent 64%),
    rgba(255, 255, 255, .055);
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, .035),
    0 0 48px rgba(242, 178, 61, .18);
}

.map-core strong {
  display: block;
  color: var(--white);
  font-size: 18px;
}

.map-core small {
  color: rgba(255, 255, 255, .6);
  font-size: 16px;
  line-height: 1.55;
}

.map-node {
  width: 190px;
  min-height: 96px;
  padding: 13px 14px 13px 46px;
  border: 1px solid rgba(255, 255, 255, .16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .045));
  box-shadow:
    0 16px 34px rgba(4, 18, 36, .18),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  animation: floatNode 4.4s ease-in-out infinite;
}

.map-node::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 178, 61, .76), transparent);
}

.map-node i {
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #081b33;
  background: var(--accent);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.map-node b {
  display: block;
  color: var(--white);
  font-size: 16px;
  line-height: 1.35;
}

.map-node small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .58);
  font-size: 16px;
  line-height: 1.55;
}

.map-node-google {
  left: 52px;
  top: 112px;
}

.map-node-google::before {
  right: -70px;
  top: 52px;
}

.map-node-web {
  right: 52px;
  top: 112px;
  animation-delay: .35s;
}

.map-node-web::before {
  left: -70px;
  top: 52px;
  transform: rotate(180deg);
}

.map-node-line {
  left: 52px;
  bottom: 82px;
  animation-delay: .7s;
}

.map-node-line::before {
  right: -70px;
  top: 42px;
}

.map-node-ads {
  right: 52px;
  bottom: 82px;
  animation-delay: 1.05s;
}

.map-node-ads::before {
  left: -70px;
  top: 42px;
  transform: rotate(180deg);
}

.map-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(242, 178, 61, .13), 0 0 24px rgba(242, 178, 61, .35);
  animation: mapPulse 3.2s ease-in-out infinite;
}

.pulse-a {
  left: 32%;
  top: 50%;
}

.pulse-b {
  right: 32%;
  top: 50%;
  animation-delay: 1.2s;
}

.map-results {
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.map-results span {
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .065);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
}

.work-section,
.ai-section,
.final-cta {
  color: var(--text);
  margin-bottom: 0;
  padding-bottom: 80px;
  background:
    radial-gradient(circle at 78% 20%, rgba(23, 60, 115, .06), transparent 28%),
    radial-gradient(circle at 12% 72%, rgba(217, 154, 34, .055), transparent 26%),
    linear-gradient(90deg, rgba(23, 60, 115, .03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 60, 115, .024) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 96px 96px, 96px 96px, auto;
  position: relative;
  overflow: hidden;
}

/* section-head 靠左，其餘子元素維持各自對齊 */
.work-section .section-head,
.ai-section .section-head {
  text-align: left;
}

.work-section::before,
.ai-section::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .72;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(23, 60, 115, .035) 48% 49%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(217, 154, 34, .03) 48% 49%, transparent 49% 100%);
  background-size: 260px 260px, 330px 330px;
}

.work-section > *,
.ai-section > *,
.final-cta > * {
  position: relative;
  z-index: 1;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) repeat(2, minmax(240px, .86fr));
  grid-auto-rows: 338px;
  gap: 18px;
  align-items: stretch;
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: auto;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(42, 111, 189, .16);
  box-shadow: 0 22px 54px rgba(23, 60, 115, .16);
}

.work-card-large {
  grid-row: span 2;
}

.work-card img {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 16px;
  object-fit: contain;
  background:
    linear-gradient(90deg, rgba(42, 111, 189, .024) 1px, transparent 1px),
    linear-gradient(0deg, rgba(42, 111, 189, .02) 1px, transparent 1px),
    #ffffff;
  background-size: 30px 30px;
  transition: transform .55s ease;
}

.work-card-large img {
  padding: 18px;
}

.work-card::after {
  display: none;
}

.work-card:hover img {
  transform: scale(1.015);
}

.work-card figcaption {
  flex: 0 0 auto;
  position: static;
  min-height: 134px;
  padding: 20px 22px 22px;
  border-top: 1px solid rgba(42, 111, 189, .16);
  background: #eaf4ff;
  color: var(--ink);
}

.work-card figcaption h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.work-card-large figcaption h3 {
  font-size: 20px;
}

.work-card figcaption p {
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #39566f;
  opacity: 1;
  line-height: 1.55;
}

.work-card figcaption span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .14em;
}

.work-card h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(21px, 2.1vw, 31px);
  line-height: 1.25;
}

.work-card:not(.work-card-large) h3 {
  font-size: clamp(18px, 1.55vw, 24px);
}

.work-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .65);
  font-size: 16px;
  line-height: 1.65;
}

.brand-proof-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: -12px auto 34px;
}

.brand-wall-section .section-head {
  max-width: var(--max);
  text-align: center;
}

.brand-wall-title {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(30px, 3.4vw, 48px);
  text-align: center;
  white-space: nowrap;
}

.brand-proof-stat {
  padding: 18px 16px;
  border: 1px solid rgba(42, 111, 189, .16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(42, 111, 189, .026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(42, 111, 189, .022) 1px, transparent 1px),
    rgba(255, 255, 255, .86);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: var(--soft-shadow);
  text-align: center;
}

.brand-proof-stat strong {
  display: block;
  color: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 900;
  line-height: 1;
}

.brand-proof-stat > span {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.brand-grid figure {
  display: grid;
  grid-template-rows: 158px auto;
  gap: 14px;
  margin: 0;
  padding: 22px 20px 20px;
  border: 0;
  background: var(--white);
  text-align: center;
  box-shadow: var(--soft-shadow);
  transition: var(--tr);
  overflow: hidden;
}

.brand-grid figure:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 98, 212, .36);
}

.brand-grid img {
  width: 100%;
  height: 158px;
  object-fit: contain;
  padding: 18px;
  border: 1px solid rgba(42, 111, 189, .13);
  background:
    linear-gradient(90deg, rgba(42, 111, 189, .018) 1px, transparent 1px),
    linear-gradient(0deg, rgba(42, 111, 189, .016) 1px, transparent 1px),
    #ffffff;
  background-size: 32px 32px;
  transform: none;
}

.brand-grid .logo-dark img {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .12), transparent 36%),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 32px 32px, 32px 32px, auto;
  padding: 26px;
}

.brand-grid .logo-green img {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .10), transparent 36%),
    #2d6a2d;
  padding: 26px;
}

.brand-grid figcaption {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.ai-layout,
.training-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(390px, .9fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.ai-section .section-head h2,
.ai-section .section-head p:not(.eyebrow):not(.script-label) {
  color: var(--ink);
}

.ai-section .section-head p:not(.eyebrow):not(.script-label) {
  color: var(--muted);
}

.ai-section .brush-inline {
  color: var(--accent);
  text-shadow: 0 10px 34px rgba(242, 178, 61, .22);
}

.ai-operator {
  display: grid;
  gap: 16px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.operator-flow {
  display: grid;
  gap: 14px;
  background: transparent;
}

.operator-flow div {
  position: relative;
  padding: 24px 24px 22px 78px;
  border: 1px solid rgba(42, 111, 189, .13);
  background:
    radial-gradient(circle at 92% 16%, rgba(242, 178, 61, .08), transparent 24%),
    linear-gradient(90deg, rgba(42, 111, 189, .02) 1px, transparent 1px),
    linear-gradient(0deg, rgba(42, 111, 189, .018) 1px, transparent 1px),
    #ffffff;
  background-size: auto, 42px 42px, 42px 42px, auto;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: var(--tr);
}

.operator-flow div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.operator-flow b {
  position: absolute;
  left: 24px;
  top: 26px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(42, 111, 189, .18);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(247, 244, 236, .8);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(23, 60, 115, .07);
}

.operator-flow span {
  display: block;
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.operator-flow p {
  margin: 0 0 12px;
  color: var(--muted);
}

.operator-flow ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.operator-flow li {
  position: relative;
  padding-left: 18px;
  color: rgba(23, 60, 115, .68);
  font-size: 16px;
  line-height: 1.55;
}

.operator-flow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

.operator-card {
  padding: 24px;
  border: 1px solid rgba(42, 111, 189, .14);
  background:
    linear-gradient(135deg, rgba(23, 60, 115, .96), rgba(42, 111, 189, .9)),
    var(--blue);
  box-shadow: 0 22px 54px rgba(23, 60, 115, .18);
}

.operator-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #081b33;
  background: var(--accent);
  font-size: 16px;
  font-weight: 900;
}

.operator-card strong {
  display: block;
  color: rgba(255, 255, 255, .92);
  font-size: 22px;
}

.training-cards {
  display: grid;
  gap: 14px;
}

.training-cards article {
  padding: 26px;
  border: 0;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.training-cards h3 {
  margin-bottom: 8px;
}

.final-glow {
  display: none;
}

.final-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding-top: 18px;
}

.final-inner h2 {
  max-width: 860px;
  color: var(--ink);
}

.final-inner p:not(.eyebrow):not(.script-label) {
  max-width: 700px;
  color: var(--muted);
  font-family: "Noto Serif TC", serif;
  font-size: 18px;
  font-weight: 600;
}

.final-cta .btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .62);
  border-color: rgba(23, 60, 115, .18);
}

.final-cta .btn-primary {
  min-height: 48px;
  padding-inline: 28px;
  box-shadow: 0 18px 44px rgba(242, 178, 61, .35);
}

.final-actions {
  justify-content: center;
  margin-top: 16px;
}

/* ── Footer ── */
.site-footer {
  padding: 60px 0 0;
  color: rgba(255, 255, 255, .55);
  background:
    linear-gradient(90deg, rgba(42, 111, 189, .07) 1px, transparent 1px),
    linear-gradient(0deg,  rgba(42, 111, 189, .06) 1px, transparent 1px),
    #06111f;
  background-size: 40px 40px, 40px 40px, auto;
  border-top: 1px solid rgba(42, 111, 189, .22);
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(42, 111, 189, .16);
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 2px;
}

.footer-brand p {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, .38);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(42, 111, 189, .12);
  margin-bottom: 28px;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .44);
  font-size: 16px;
  text-decoration: none;
  transition: color .2s;
}

.footer-col a:hover {
  color: rgba(42, 111, 189, .9);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  color: rgba(255, 255, 255, .24);
}

.footer-bottom p { margin: 0; }

/* Footer proposal board */
.footer-proposal-stage {
  padding: 72px 0 0;
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0) 0%, rgba(247, 244, 236, .92) 18%, rgba(247, 244, 236, .92) 100%);
}

.footer-choice-label {
  width: min(100% - 44px, var(--max));
  margin: 0 auto 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
}

.footer-choice-label span {
  color: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-choice-label strong {
  color: rgba(23, 60, 115, .72);
  font-family: "Noto Serif TC", serif;
  font-size: 18px;
  letter-spacing: .04em;
}

.footer-concept {
  margin: 0 0 34px;
  padding: 0;
  color: rgba(232, 241, 255, .72);
  background:
    radial-gradient(circle at 78% 12%, rgba(111, 169, 238, .18), transparent 34%),
    radial-gradient(circle at 24% 88%, rgba(216, 169, 83, .12), transparent 34%),
    linear-gradient(90deg, rgba(111, 169, 238, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(111, 169, 238, .055) 1px, transparent 1px),
    linear-gradient(180deg, #0b2444 0%, #071b34 64%, #051326 100%);
  background-size: auto, auto, 56px 56px, 56px 56px, auto;
  border-top: 1px solid rgba(111, 169, 238, .28);
  border-bottom: 1px solid rgba(216, 169, 83, .22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 28px 70px rgba(5, 19, 38, .18);
}

.footer-concept .container {
  position: relative;
  z-index: 2;
  padding-top: 34px;
}

.footer-scarf {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background: url("./assets/footer-lunjin-scarf.svg") center / contain no-repeat;
  opacity: .42;
  filter:
    drop-shadow(0 22px 26px rgba(0, 0, 0, .24))
    drop-shadow(0 0 28px rgba(174, 215, 255, .14));
  animation: footerScarfFloat 7.2s ease-in-out infinite;
}

.footer-version {
  margin: 0 0 18px;
  color: rgba(242, 178, 61, .92);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-command,
.footer-main,
.footer-b-grid,
.footer-hero-line {
  position: relative;
  z-index: 2;
}

.footer-command {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.15fr) auto;
  align-items: center;
  gap: 28px;
  padding: 12px 0 30px;
  border-bottom: 1px solid rgba(111, 169, 238, .18);
}

.footer-brand-block,
.footer-hero-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-block strong,
.footer-b-brand strong {
  display: block;
  color: #ffffff;
  font-family: "Noto Serif TC", serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.25;
  text-shadow: 0 0 20px rgba(111, 169, 238, .28);
}

.footer-brand-block p {
  margin: 2px 0 0;
  color: rgba(232, 241, 255, .58);
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
}

.footer-script {
  margin: 0;
  color: #f2b23d;
  font-family: var(--font-script);
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: 1;
  letter-spacing: .02em;
  text-align: center;
  text-shadow:
    0 0 18px rgba(242, 178, 61, .2),
    0 8px 20px rgba(0, 0, 0, .22);
}

.footer-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .18), transparent),
    linear-gradient(135deg, var(--line-green), var(--line-green-dark));
  box-shadow:
    0 18px 40px rgba(6, 199, 85, .24),
    inset 0 1px 0 rgba(255, 255, 255, .28);
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 52px;
  padding: 34px 0 18px;
}

.footer-statement span {
  color: rgba(159, 195, 238, .7);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .16em;
}

.footer-statement h2,
.footer-b-brand h2 {
  margin: 12px 0 12px;
  color: #ffffff;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.28;
  letter-spacing: .04em;
}

.footer-statement p {
  margin: 0;
  max-width: 540px;
  color: rgba(232, 241, 255, .66);
  font-size: 17px;
}

.footer-concept .footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  border: 0;
}

.footer-concept .footer-col {
  padding-top: 14px;
  border-top: 1px solid rgba(111, 169, 238, .16);
}

.footer-concept .footer-col h4 {
  color: rgba(255, 255, 255, .88);
  font-family: "Noto Serif TC", serif;
  font-size: 17px;
  letter-spacing: .1em;
  text-transform: none;
}

.footer-concept .footer-col a {
  color: rgba(232, 241, 255, .58);
  font-size: 16px;
}

.footer-concept .footer-col a:hover {
  color: #ffffff;
}

.footer-col-soon {
  color: rgba(232, 241, 255, .3);
  font-size: 16px;
  cursor: default;
  letter-spacing: inherit;
}

.footer-concept .footer-bottom {
  margin-top: 28px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(111, 169, 238, .16);
  color: rgba(232, 241, 255, .38);
}

.footer-concept-a .footer-scarf {
  right: -120px;
  top: 24px;
  width: min(54vw, 720px);
  height: 260px;
  transform: rotate(-7deg);
}

.footer-concept-b {
  background:
    radial-gradient(circle at 50% 0%, rgba(111, 169, 238, .24), transparent 36%),
    radial-gradient(circle at 22% 38%, rgba(216, 169, 83, .12), transparent 30%),
    linear-gradient(90deg, rgba(111, 169, 238, .075) 1px, transparent 1px),
    linear-gradient(0deg, rgba(111, 169, 238, .055) 1px, transparent 1px),
    linear-gradient(180deg, #0f315d 0%, #08203d 54%, #051326 100%);
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
}

.footer-concept-b .footer-scarf {
  left: 50%;
  top: 18px;
  width: min(70vw, 860px);
  height: 280px;
  opacity: .34;
  transform: translateX(-50%) rotate(2deg);
}

.footer-hero-line {
  justify-content: center;
  gap: 22px;
  min-height: 150px;
  padding: 16px 0 24px;
  border-bottom: 1px solid rgba(111, 169, 238, .18);
}

.footer-concept-b .footer-script {
  font-size: clamp(48px, 7vw, 96px);
}

.footer-b-grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 46px;
  padding: 34px 0 12px;
}

.footer-b-brand h2 {
  max-width: 520px;
}

@keyframes footerScarfFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@media (max-width: 980px) {
  .footer-command,
  .footer-main,
  .footer-b-grid {
    grid-template-columns: 1fr;
  }

  .footer-command {
    justify-items: start;
    gap: 18px;
  }

  .footer-script {
    text-align: left;
  }

  .footer-concept .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-hero-line {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-concept-b .footer-script {
    flex-basis: 100%;
  }
}

@media (max-width: 680px) {
  .footer-proposal-stage {
    padding-top: 42px;
  }

  .footer-choice-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .footer-concept {
    margin-bottom: 26px;
  }

  .footer-concept .container {
    padding-top: 26px;
  }

  .footer-scarf {
    opacity: .28;
  }

  .footer-concept-a .footer-scarf,
  .footer-concept-b .footer-scarf {
    left: 12%;
    right: auto;
    top: 20px;
    width: 92vw;
    height: 220px;
  }

  .footer-command {
    padding-bottom: 22px;
  }

  .footer-main,
  .footer-b-grid {
    gap: 28px;
    padding-top: 26px;
  }

  .footer-concept .footer-links {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-script,
  .footer-concept-b .footer-script {
    font-size: clamp(38px, 15vw, 58px);
  }

  .footer-line {
    width: 100%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: .68; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes scan {
  0% { transform: translateY(-80px); }
  100% { transform: translateY(760px); }
}

@keyframes rankClimb {
  0%, 13% {
    transform: translateY(0); opacity: 1;
    box-shadow: 0 12px 30px rgba(23,60,115,.14), 0 0 0 1px rgba(42,111,189,.22);
  }
  16% {
    transform: translateY(-78px); opacity: 1;
    box-shadow: 0 12px 30px rgba(23,60,115,.18), 0 0 0 2px rgba(42,111,189,.5), 0 0 40px rgba(42,111,189,.35);
  }
  16.1%, 25% {
    transform: translateY(-78px); opacity: 1;
    box-shadow: 0 12px 30px rgba(23,60,115,.18), 0 0 0 2px rgba(42,111,189,.5), 0 0 40px rgba(42,111,189,.35);
  }
  28% {
    transform: translateY(-156px); opacity: 1;
    box-shadow: 0 14px 36px rgba(23,60,115,.22), 0 0 0 2px rgba(42,111,189,.7), 0 0 60px rgba(42,111,189,.48);
  }
  28.1%, 37% {
    transform: translateY(-156px); opacity: 1;
    box-shadow: 0 14px 36px rgba(23,60,115,.22), 0 0 0 2px rgba(42,111,189,.7), 0 0 60px rgba(42,111,189,.48);
  }
  40% {
    transform: translateY(-234px); opacity: 1;
    box-shadow: 0 22px 52px rgba(23,60,115,.32), 0 0 0 3px rgba(42,111,189,1), 0 0 30px rgba(42,111,189,.95), 0 0 80px rgba(42,111,189,.72), 0 0 160px rgba(42,111,189,.40);
  }
  40.1%, 63% {
    transform: translateY(-234px); opacity: 1;
    box-shadow: 0 22px 52px rgba(23,60,115,.32), 0 0 0 3px rgba(42,111,189,1), 0 0 30px rgba(42,111,189,.95), 0 0 80px rgba(42,111,189,.72), 0 0 160px rgba(42,111,189,.40);
  }
  70% {
    transform: translateY(-234px); opacity: 0;
    box-shadow: none;
  }
  70.1% {
    transform: translateY(0); opacity: 0;
    box-shadow: none;
  }
  80%, 100% {
    transform: translateY(0); opacity: 1;
    box-shadow: 0 12px 30px rgba(23,60,115,.14), 0 0 0 1px rgba(42,111,189,.22);
  }
}

@keyframes rankBarGrow {
  0%, 37%   { width: 34%; filter: none; }
  40%, 63%  { width: 82%; filter: drop-shadow(0 0 6px rgba(42, 111, 189, .9)); }
  70%, 100% { width: 34%; filter: none; }
}

@keyframes oldRankFade {
  0%, 37%   { opacity: 1; }
  40%, 70%  { opacity: 0; }
  80%, 100% { opacity: 1; }
}

@keyframes newRankFade {
  0%, 37%   { opacity: 0; }
  40%, 63%  { opacity: 1; }
  70%, 100% { opacity: 0; }
}

@keyframes rankTextColor {
  0%, 37%   { color: var(--ink); }
  40%, 63%  { color: var(--blue); }
  70%, 100% { color: var(--ink); }
}

@keyframes rankTextGrow {
  0%, 37%   { font-size: inherit; }
  40%, 63%  { font-size: 115%; }
  70%, 100% { font-size: inherit; }
}

@keyframes finalGlow {
  0%, 100% { opacity: .68; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes boardSweep {
  0% { background-position: -280px 0, 0 0; }
  100% { background-position: 280px 0, 0 0; }
}

@media (max-width: 1100px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .hero-inner,
  .service-panel,
  .ai-layout,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .work-card-large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: auto;
  }

  .work-card img {
    flex: 0 0 auto;
    height: 240px;
  }

  .work-card-large img {
    height: 360px;
  }

  .pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }  .work-card-large {
    grid-column: 1 / -1;
  }

  .work-card img,
  .work-card-large img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .consultant-profile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container,
  .hero-inner {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    padding-inline: 16px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .hero-actions,
  .final-actions {
    display: grid;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .search-lab {
    margin-top: 10px;
  }

  .google-search-head {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 16px 10px;
  }

  .google-logo {
    font-size: 24px;
  }

  .google-tabs {
    gap: 16px;
    overflow-x: auto;
    padding-inline: 16px;
  }

  .google-results-meta,
  .google-result {
    margin-inline: 16px;
  }

  .google-results-meta {
    padding-inline: 16px;
  }

  .google-ai-overview {
    margin-inline: 16px;
  }  .pain-grid,
  .work-grid,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-proof-stats {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card-large {
    min-height: auto;
  }

  .work-card img,
  .work-card-large img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .work-card figcaption {
    min-height: 0;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-grid figure {
    grid-template-rows: 132px auto;
    padding: 18px 14px 16px;
  }

  .brand-grid img {
    height: 132px;
    padding: 14px;
  }  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .hero {
    background:
      radial-gradient(circle at 82% 18%, rgba(217, 154, 34, .055), transparent 34%),
      linear-gradient(90deg, rgba(139, 90, 20, .018) 1px, transparent 1px),
      linear-gradient(0deg, rgba(139, 90, 20, .014) 1px, transparent 1px),
      var(--paper);
    background-size: auto, 84px 84px, 84px 84px, auto;
  }

  .hero-char {
    right: -28vw;
    top: 20px;
    opacity: .7;
  }

  .client-quotes {
    grid-template-columns: 1fr;
  }

  .work-card-large {
    grid-column: auto;
  }

  .brand-wall-title {
    white-space: normal;
    font-size: clamp(24px, 6.5vw, 36px);
  }
}

@media (max-width: 440px) {
  .google-search-box {
    grid-template-columns: auto 1fr;
  }

  .google-search-box em {
    display: none;
  }

  .google-result h3 {
    font-size: 18px;
  }  .footer-links {
    gap: 20px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 52px);
  }
}

/* ── SEO system map redesign ────────────────────────────── */
.system-map-seo {
  display: flex;
  flex-direction: column;
  place-items: unset;
  padding: 0;
}
.seo-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.seo-dash-header span {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .14em;
  color: rgba(255,255,255,.45);
}
.seo-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  flex-shrink: 0;
  animation: seoBlink 2s ease-in-out infinite;
}
@keyframes seoBlink { 0%,100% { opacity:1; } 50% { opacity:.25; } }
.seo-flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 16px;
  flex: 1;
}
.seo-fstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  min-width: 94px;
}
.seo-fstep i {
  font-style: normal;
  font-family: "Manrope", sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .1em;
  color: var(--accent);
  padding: 3px 8px;
  border: 1px solid rgba(242,178,61,.35);
  background: rgba(242,178,61,.1);
}
.seo-fstep b {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}
.seo-fstep span {
  font-size: 16px;
  color: rgba(255,255,255,.48);
}
.seo-fstep-arrow {
  width: 24px; height: 12px;
  color: rgba(255,255,255,.3);
  flex-shrink: 0;
}
.seo-metrics-row {
  display: flex;
  border-top: 1px solid rgba(255,255,255,.1);
}
.seo-metrics-row > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-right: 1px solid rgba(255,255,255,.1);
  gap: 3px;
}
.seo-metrics-row > div:last-child { border-right: 0; }
.seo-metrics-row b {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}
.seo-metrics-row span {
  font-size: 16px;
  color: rgba(255,255,255,.48);
}
.seo-keyword-row {
  display: flex;
  gap: 6px;
  padding: 10px 16px 14px;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,.08);
}
.seo-keyword-row span {
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-size: 16px;
  color: rgba(255,255,255,.58);
  font-family: "Manrope", sans-serif;
  letter-spacing: .05em;
}

/* ── Training system map redesign ──────────────────────── */
.system-map-training {
  display: flex;
  flex-direction: column;
  place-items: unset;
  padding: 0;
}
.tr-map-header {
  padding: 14px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tr-map-header span {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .14em;
  color: rgba(255,255,255,.42);
}
.tr-map-header b {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}
.tr-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.1);
  flex: 1;
}
.tr-module {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: #173c73;
  transition: background .18s;
}
.tr-module:hover { background: #1a4585; }
.tr-module i {
  font-style: normal;
  font-family: "Manrope", sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .1em;
  color: var(--accent);
  padding: 3px 8px;
  border: 1px solid rgba(242,178,61,.35);
  background: rgba(242,178,61,.1);
  width: fit-content;
}
.tr-module b {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.88);
}
.tr-module small {
  font-size: 16px;
  color: rgba(255,255,255,.46);
}
.tr-output {
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.tr-output span {
  font-size: 16px;
  font-family: "Manrope", sans-serif;
  letter-spacing: .06em;
  color: rgba(255,255,255,.65);
}

/* ── Training credentials card redesign ────────────────── */
.training-cards article.tc-cred {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px;
  border: 0;
  border-left: 3px solid var(--blue);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: var(--tr);
}
.training-cards article.tc-cred:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(23,60,115,.14);
}
.tc-badge {
  flex-shrink: 0;
  width: 76px;
  min-width: 76px;
  height: 54px;
  padding-inline: 8px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .04em;
  border-radius: 4px;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
}
.tc-badge-gov { background: #2d6a4f; }
.tc-badge-exp { background: var(--ink); }
.tc-body h3 { margin: 0 0 5px; font-size: 16px; }
.tc-body p  { margin: 0; font-size: 16px; color: var(--muted); }

.ai-inline {
  display: inline-block;
  margin-inline: .05em;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-weight: 900;
}

.final-cta .line-btn {
  color: #fff;
  background: var(--line-green);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 18px 44px rgba(6, 199, 85, .32);
}

.final-cta .line-btn:hover {
  background: var(--line-green-dark);
  box-shadow: 0 22px 52px rgba(6, 199, 85, .36);
}/* Small labels follow the same typeface as the navigation. */
.eyebrow,
.mobile-divider,
.mobile-nav-head p,
.mobile-link span:last-child,
.mobile-cta-link,
.header-cta,
.service-panel::before,
.pain-meta span,
.pain-footer small,
.work-card figcaption span,
.map-title span,
.map-node small,
.map-core small,
.seo-dash-header span,
.seo-fstep i,
.seo-keyword-row span,
.tr-map-header span,
.tr-module i,
.tr-module small,
.tr-output span,
.tc-badge,
.footer-col h4{
  font-family: "Noto Serif TC", serif;
}

/* ── Deep/light background trial v1 ─────────────────────── */
body {
  background:
    radial-gradient(circle at 18% 12%, rgba(217, 154, 34, .035) 0 1px, transparent 1.8px),
    linear-gradient(90deg, rgba(139, 90, 20, .022) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 90, 20, .018) 1px, transparent 1px),
    #f7f4ec;
  background-size: 38px 38px, 104px 104px, 104px 104px, auto;
}

.hero {
  color: #f8fbff;
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 178, 61, .18), transparent 30%),
    linear-gradient(90deg, rgba(242, 178, 61, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(242, 178, 61, .032) 1px, transparent 1px),
    #06111f;
  background-size: auto, 88px 88px, 88px 88px, auto;
}

.hero-grid {
  opacity: .18;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(242, 178, 61, .08) 48% 49%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(217, 154, 34, .05) 48% 49%, transparent 49% 100%);
}

.hero::before {
  background-image:
    radial-gradient(circle at 18% 24%, rgba(242, 178, 61, .09) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 66%, rgba(217, 154, 34, .065) 0 1px, transparent 1.8px);
  opacity: .42;
}

.hero::after,
.hero-char {
  color: rgba(242, 178, 61, .16);
}

.hero h1 {
  color: #ffffff;
}

.hero .script-label,
.hero .eyebrow,
.hero .brush-word {
  color: var(--accent);
}

.hero-lead {
  color: rgba(255, 255, 255, .78);
}

.hero-points {
  border-color: rgba(242, 178, 61, .3);
  background: rgba(255, 255, 255, .07);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 18px 44px rgba(0, 0, 0, .16);
}

.hero-points span {
  color: rgba(255, 255, 255, .86);
  border-color: rgba(242, 178, 61, .34);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.hero .btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .28);
}

.hero .btn-ghost:hover {
  border-color: rgba(242, 178, 61, .7);
  box-shadow: 0 16px 34px rgba(242, 178, 61, .16);
}

.scan-line {
  background: linear-gradient(90deg, transparent, rgba(242, 178, 61, .36), transparent);
}

.pain-section,
.work-section,
.brand-wall-section,
.training-section {
  background:
    radial-gradient(circle at 86% 18%, rgba(242, 178, 61, .07), transparent 28%),
    linear-gradient(90deg, rgba(139, 90, 20, .026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 90, 20, .02) 1px, transparent 1px),
    #f7f4ec;
  background-size: auto, 104px 104px, 104px 104px, auto;
}

.services-section,
.ai-section,
.final-cta {
  color: rgba(255, 255, 255, .78);
  background:
    radial-gradient(circle at 84% 18%, rgba(242, 178, 61, .13), transparent 30%),
    linear-gradient(90deg, rgba(242, 178, 61, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(242, 178, 61, .032) 1px, transparent 1px),
    #06111f;
  background-size: auto, 96px 96px, 96px 96px, auto;
}

.services-section::before,
.ai-section::before,
.final-cta::before {
  opacity: .2;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(242, 178, 61, .08) 48% 49%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(217, 154, 34, .045) 48% 49%, transparent 49% 100%);
}

.services-section::after,
.ai-section::after,
.final-cta::after,
.pain-section::after,
.work-section::after,
.brand-wall-section::after,
.training-section::after {
  color: rgba(242, 178, 61, .15);
}

.services-section .section-head h2,
.ai-section .section-head h2,
.final-inner h2 {
  color: #ffffff;
}

.services-section .section-head p:not(.eyebrow):not(.script-label),
.ai-section .section-head p:not(.eyebrow):not(.script-label),
.final-inner p:not(.eyebrow):not(.script-label) {
  color: rgba(255, 255, 255, .72);
}

.services-section .eyebrow,
.ai-section .eyebrow,
.final-cta .eyebrow {
  color: var(--accent);
}

.services-section .service-tab {
  color: rgba(255, 255, 255, .74);
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07);
}

.services-section .service-tab.active,
.services-section .service-tab:hover {
  color: #06111f;
  border-color: var(--accent);
  background: var(--accent);
}

.final-cta .btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .24);
}

/* ── Warm paper background trial v2 ─────────────────────── */
body {
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(139, 90, 20, .018) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 90, 20, .014) 1px, transparent 1px),
    #f8f5ed;
  background-size: 112px 112px, 112px 112px, auto;
}

.hero {
  color: var(--ink);
  background:
    linear-gradient(90deg, #f8f5ed 0 58%, rgba(255, 248, 232, .9) 58% 100%),
    radial-gradient(circle at 84% 24%, rgba(242, 178, 61, .12), transparent 32%),
    linear-gradient(90deg, rgba(139, 90, 20, .026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 90, 20, .02) 1px, transparent 1px);
  background-size: auto, auto, 96px 96px, 96px 96px;
}

.hero-grid {
  opacity: .12;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(217, 154, 34, .05) 48% 49%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(217, 154, 34, .032) 48% 49%, transparent 49% 100%);
}

.hero::before {
  background-image:
    radial-gradient(circle at 20% 24%, rgba(217, 154, 34, .055) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 66%, rgba(217, 154, 34, .042) 0 1px, transparent 1.8px);
  opacity: .34;
}

.hero::after,
.hero-char {
  color: rgba(217, 154, 34, .12);
}

.hero h1 {
  color: var(--ink);
}

.hero .script-label {
  color: var(--bronze);
}

.hero .eyebrow,
.hero .brush-word {
  color: var(--blue);
}

.hero-lead {
  color: #35506b;
}

.hero-points {
  border-color: rgba(42, 111, 189, .22);
  background: rgba(255, 255, 255, .58);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .5),
    0 14px 34px rgba(23, 60, 115, .08);
}

.hero-points span {
  color: var(--ink);
  border-color: rgba(42, 111, 189, .24);
  background: rgba(255, 255, 255, .78);
}

.hero .btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .68);
  border-color: rgba(23, 60, 115, .18);
}

.scan-line {
  background: linear-gradient(90deg, transparent, rgba(217, 154, 34, .22), transparent);
}

.pain-section,
.work-section,
.brand-wall-section,
.training-section,
.services-section,
.ai-section,
.final-cta {
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(139, 90, 20, .018) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 90, 20, .014) 1px, transparent 1px),
    #f8f5ed;
  background-size: 112px 112px, 112px 112px, auto;
}

.services-section,
.ai-section,
.final-cta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(247, 244, 236, .98)),
    linear-gradient(90deg, rgba(139, 90, 20, .02) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 90, 20, .016) 1px, transparent 1px),
    #f4efe3;
  background-size: auto, 112px 112px, 112px 112px, auto;
}

.work-section::before,
.ai-section::before,
.final-cta::before,
.services-section::before {
  opacity: .1;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(217, 154, 34, .06) 48% 49%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(217, 154, 34, .035) 48% 49%, transparent 49% 100%);
}

.pain-section::after,
.services-section::after,
.work-section::after,
.brand-wall-section::after,
.ai-section::after,
.training-section::after,
.final-cta::after {
  color: rgba(217, 154, 34, .11);
}

.services-section .section-head h2,
.ai-section .section-head h2,
.final-inner h2 {
  color: var(--ink);
}

.services-section .section-head p:not(.eyebrow):not(.script-label),
.ai-section .section-head p:not(.eyebrow):not(.script-label),
.final-inner p:not(.eyebrow):not(.script-label) {
  color: var(--muted);
}

.services-section .eyebrow,
.ai-section .eyebrow,
.final-cta .eyebrow {
  color: var(--blue);
}

.services-section .service-tab {
  color: var(--muted);
  border-color: var(--line);
  background: rgba(255, 255, 255, .72);
}

.services-section .service-tab.active,
.services-section .service-tab:hover {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.final-cta .btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  border-color: rgba(23, 60, 115, .18);
}

/* ── Homepage credibility + visual-system polish v3 ────── */
body {
  background: var(--paper);
}

.site-header {
  background: rgba(10, 24, 52, .97);
  background-image: none;
}

.site-header::before {
  display: none;
}

.header-cta,
.btn,
.mobile-cta-link {
  border-radius: 999px;
}

.btn-primary:not(.line-btn) {
  color: #ffffff;
  background: var(--blue);
  border-color: rgba(42, 111, 189, .24);
  box-shadow: 0 14px 34px rgba(42, 111, 189, .24);
}

.btn-primary:not(.line-btn):hover {
  background: var(--ink);
  box-shadow: 0 18px 42px rgba(23, 60, 115, .26);
}

.hero {
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 154, 34, .06), transparent 34%),
    linear-gradient(90deg, rgba(139, 90, 20, .018) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 90, 20, .014) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 92px 92px, 92px 92px, auto;
}

.hero-grid {
  opacity: .1;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(217, 154, 34, .045) 48% 49%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(139, 90, 20, .026) 48% 49%, transparent 49% 100%);
}

.hero::before {
  opacity: .22;
  background-image:
    radial-gradient(circle at 22% 24%, rgba(217, 154, 34, .05) 0 1px, transparent 1.6px),
    radial-gradient(circle at 74% 64%, rgba(139, 90, 20, .032) 0 1px, transparent 1.8px);
}

.hero::after {
  content: "";
  display: none;
}

.hero-char {
  top: -18px;
  right: -3vw;
  color: rgba(217, 154, 34, .095);
  font-size: clamp(220px, 28vw, 420px);
}

.hero-glow-a {
  background: rgba(217, 154, 34, .055);
}

.hero-glow-b {
  background: rgba(242, 178, 61, .055);
}

.hero .script-label,
.work-section .script-label,
.ai-section .script-label,
.final-cta .script-label {
  color: var(--bronze);
}

.hero .eyebrow,
.work-section .eyebrow,
.ai-section .eyebrow,
.final-cta .eyebrow {
  color: var(--blue);
}

.hero h1,
.services-section .section-head h2,
.ai-section .section-head h2,
.final-inner h2 {
  color: var(--ink);
}

.hero-lead,
.services-section .section-head p:not(.eyebrow):not(.script-label),
.ai-section .section-head p:not(.eyebrow):not(.script-label),
.final-inner p:not(.eyebrow):not(.script-label) {
  color: var(--muted);
}

.pain-section,
.services-section,
.work-section,
.brand-wall-section,
.ai-section,
.training-section,
.final-cta {
  color: var(--text);
  background: var(--paper);
}

.services-section,
.ai-section,
.final-cta {
  background: #f8f5ed;
}

.pain-section::before,
.services-section::before,
.work-section::before,
.brand-wall-section::before,
.ai-section::before,
.training-section::before,
.final-cta::before {
  display: none;
}

.pain-section::after,
.services-section::after,
.work-section::after,
.brand-wall-section::after,
.ai-section::after,
.training-section::after,
.final-cta::after {
  color: rgba(42, 111, 189, .055);
}

.brand-proof-stat strong {
  color: var(--bronze);
}

.pain-card {
  min-height: 330px;
}

.pain-footer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
}

.work-card-large {
  grid-column: span 2;
  grid-row: auto;
}

.work-card img,
.work-card-large img {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 16px;
  object-fit: contain;
  background:
    linear-gradient(90deg, rgba(42, 111, 189, .024) 1px, transparent 1px),
    linear-gradient(0deg, rgba(42, 111, 189, .02) 1px, transparent 1px),
    #ffffff;
  background-size: 30px 30px;
}

.work-card figcaption {
  min-height: 132px;
}

.client-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.client-quotes figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 22px 22px 20px;
  border: 1px solid rgba(42, 111, 189, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--soft-shadow);
}

.client-quotes blockquote {
  flex: 1 1 auto;
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.client-quotes figcaption {
  margin-top: 18px;
  color: var(--blue);
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  font-weight: 900;
}

.consultant-profile {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  margin-top: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(42, 111, 189, .16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.consultant-photo {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(42, 111, 189, .12);
}

.consultant-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 58% 45%;
}

.consultant-copy h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.25;
}

.consultant-copy p:not(.eyebrow) {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

/* ── Command header upgrade ─────────────────────────────── */
.site-header {
  min-height: 78px;
  gap: 22px;
  padding-block: 12px;
  background:
    linear-gradient(90deg, rgba(111, 169, 238, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(111, 169, 238, .055) 1px, transparent 1px),
    linear-gradient(180deg, #0b2444 0%, #071b34 68%, #051326 100%);
  background-size: 56px 56px, 56px 56px, auto;
  border-bottom: 1px solid rgba(111, 169, 238, .32);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .08) inset,
    0 18px 42px rgba(5, 19, 38, .38),
    0 2px 0 rgba(242, 178, 61, .28);
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .72;
  background:
    linear-gradient(105deg, transparent 0 18%, rgba(84, 155, 236, .16) 35%, transparent 52%),
    linear-gradient(90deg, transparent 0 78%, rgba(242, 178, 61, .08) 78% 79%, transparent 79% 100%);
  background-size: 260% 100%, 360px 100%;
  animation: headerCommandSweep 8s linear infinite;
}

.site-header::after {
  content: "";
  position: absolute;
  left: max(18px, calc((100vw - var(--max)) / 2));
  right: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(111, 169, 238, .9), rgba(242, 178, 61, .95), transparent);
  box-shadow: 0 0 18px rgba(111, 169, 238, .45);
}

@keyframes headerCommandSweep {
  0% { background-position: 160% 0, 0 0; }
  100% { background-position: -80% 0, 360px 0; }
}

.brand {
  gap: 12px;
  position: relative;
  isolation: isolate;
  padding: 6px 16px 6px 8px;
  border: 1px solid rgba(111, 169, 238, .22);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
    rgba(255, 255, 255, .035);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .045),
    0 10px 26px rgba(0, 0, 0, .16);
}

.brand > * {
  position: relative;
  z-index: 2;
}

.brand::before {
  display: none;
}

.brand::after {
  display: none;
}

.brand-seal {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  color: #ff6b5f;
  border-color: rgba(224, 90, 80, .86);
  background:
    linear-gradient(135deg, rgba(155, 46, 39, .2), rgba(155, 46, 39, .055)),
    rgba(4, 13, 26, .36);
  box-shadow:
    0 0 0 1px rgba(224, 90, 80, .22),
    0 0 20px rgba(224, 90, 80, .24),
    inset 0 0 12px rgba(224, 90, 80, .08);
}

.brand-avatar {
  padding: 2px;
  overflow: hidden;
  border-radius: 999px;
  border-color: rgba(216, 169, 83, .82);
  background:
    radial-gradient(circle at 48% 36%, rgba(255, 255, 255, .22), transparent 50%),
    linear-gradient(135deg, rgba(216, 169, 83, .35), rgba(22, 67, 120, .18)),
    rgba(4, 13, 26, .42);
  box-shadow:
    0 0 0 1px rgba(216, 169, 83, .24),
    0 0 20px rgba(111, 169, 238, .22),
    0 0 18px rgba(216, 169, 83, .18),
    inset 0 0 10px rgba(255, 255, 255, .08);
}

.brand-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.brand:hover .brand-avatar {
  box-shadow:
    0 0 0 1px rgba(216, 169, 83, .38),
    0 0 26px rgba(111, 169, 238, .32),
    0 0 22px rgba(216, 169, 83, .28),
    inset 0 0 12px rgba(255, 255, 255, .1);
}

.footer-brand .brand-avatar {
  width: 46px;
  height: 46px;
}

.brand-name {
  color: rgba(255, 255, 255, .96);
  text-shadow: 0 0 18px rgba(111, 169, 238, .28);
}

.site-nav {
  position: relative;
  isolation: isolate;
  gap: 0;
  margin-left: auto;
  padding: 5px;
  border: 1px solid rgba(111, 169, 238, .2);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)),
    rgba(4, 15, 31, .5);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .035),
    0 12px 32px rgba(0, 0, 0, .18);
}

.site-nav > * {
  position: relative;
  z-index: 2;
}

.site-nav::before {
  content: "";
  position: absolute;
  left: -205px;
  top: 50%;
  z-index: 1;
  width: 172px;
  height: 82px;
  pointer-events: none;
  opacity: .92;
  transform: translateY(-50%) rotate(-3deg);
  transform-origin: 22% 64%;
  background: url("./assets/kongming-feather-fan.svg") center / contain no-repeat;
  filter:
    drop-shadow(0 0 18px rgba(200, 225, 255, .55))
    drop-shadow(0 0 8px rgba(160, 200, 255, .35))
    drop-shadow(0 6px 10px rgba(0, 0, 0, .28));
  animation: fanFloat 4.8s ease-in-out infinite;
}

.site-nav::after {
  display: none;
}

@keyframes fanFloat {
  0%, 100% {
    transform: translateY(-50%) rotate(-4deg);
  }
  50% {
    transform: translateY(calc(-50% - 3px)) rotate(-1deg);
  }
}

.nav-status {
  width: 8px;
  height: 8px;
  margin: 0 10px 0 8px;
  background: #6fffb8;
  box-shadow:
    0 0 0 4px rgba(111, 255, 184, .08),
    0 0 18px rgba(111, 255, 184, .5);
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(232, 241, 255, .72);
  letter-spacing: .08em;
  text-shadow: none;
  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.site-nav a::after {
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(242, 178, 61, .58);
}

.site-nav a:hover {
  color: #fff;
  background: rgba(42, 111, 189, .22);
  border-color: rgba(111, 169, 238, .22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035), 0 0 24px rgba(42, 111, 189, .18);
  transform: translateY(-1px);
}

.header-cta {
  min-height: 46px;
  padding-inline: 24px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, .28);
  background:
    linear-gradient(135deg, var(--line-green), var(--line-green-dark));
  box-shadow:
    0 16px 34px rgba(6, 199, 85, .32),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}

.header-cta:hover {
  border-color: rgba(255, 255, 255, .42);
  box-shadow:
    0 20px 44px rgba(6, 199, 85, .38),
    0 0 0 3px rgba(6, 199, 85, .12),
    inset 0 1px 0 rgba(255, 255, 255, .3);
}

.menu-btn {
  border: 1px solid rgba(111, 169, 238, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.menu-btn {
  position: relative;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(242, 178, 61, .2), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035)),
    rgba(4, 15, 31, .58);
}

.menu-btn::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 45% 42%, rgba(255, 223, 147, .16), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, .06), transparent 62%);
}

.menu-btn::after {
  content: none;
}

.menu-btn span {
  position: relative;
  z-index: 1;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #eef7ff, #ffffff, #c6dcf4);
  box-shadow: 0 0 8px rgba(221, 238, 255, .28);
}

/* Brighter command-header text, matching the website-design page. */
.site-header .site-nav a {
  color: rgba(255, 255, 255, .9);
  font-weight: 800;
  text-shadow: 0 0 14px rgba(230, 240, 255, .2);
}

.site-header .site-nav a:hover {
  color: #ffffff;
  text-shadow:
    0 0 12px rgba(230, 240, 255, .48),
    0 0 28px rgba(111, 169, 238, .28);
}

/* Mobile command menu: matches the desktop header and carries a vertical marketing fan. */
.mobile-nav {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(111, 169, 238, .18), transparent 34%),
    linear-gradient(90deg, rgba(111, 169, 238, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(111, 169, 238, .055) 1px, transparent 1px),
    linear-gradient(180deg, #0b2444 0%, #071b34 68%, #051326 100%);
  background-size: auto, 56px 56px, 56px 56px, auto;
}

.mobile-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .7;
  background:
    linear-gradient(105deg, transparent 0 18%, rgba(84, 155, 236, .16) 35%, transparent 52%),
    linear-gradient(90deg, transparent 0 76%, rgba(242, 178, 61, .08) 76% 77%, transparent 77% 100%);
  background-size: 260% 100%, 360px 100%;
  animation: headerCommandSweep 8s linear infinite;
}

.mobile-nav::after {
  content: "";
  position: absolute;
  top: 188px;
  right: -28px;
  z-index: 0;
  width: min(48vw, 210px);
  height: min(78vw, 360px);
  pointer-events: none;
  opacity: .82;
  background: url("./assets/mobile-marketing-feather-fan.svg") center / contain no-repeat;
  filter:
    drop-shadow(0 18px 24px rgba(0, 0, 0, .3))
    drop-shadow(0 0 18px rgba(210, 234, 255, .22));
  transform-origin: 50% 86%;
  animation: mobileFanFloat 5.8s ease-in-out infinite;
}

@keyframes mobileFanFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
  50% { transform: translate3d(0, -16px, 0) rotate(2deg); }
}

.scroll-spine,
.scroll-top-roll,
.scroll-bottom-roll {
  display: none;
}

.mobile-nav-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 28px 22px;
}

.mobile-nav-head {
  border-bottom-color: rgba(111, 169, 238, .24);
}

.mobile-seal {
  color: #ff6b5f;
  border-color: rgba(224, 90, 80, .86);
  background:
    linear-gradient(135deg, rgba(155, 46, 39, .2), rgba(155, 46, 39, .055)),
    rgba(4, 13, 26, .36);
  box-shadow:
    0 0 0 1px rgba(224, 90, 80, .22),
    0 0 20px rgba(224, 90, 80, .24),
    inset 0 0 12px rgba(224, 90, 80, .08);
}

.mobile-seal.brand-avatar {
  padding: 2px;
  overflow: hidden;
  border-radius: 999px;
  border-color: rgba(216, 169, 83, .82);
  background:
    radial-gradient(circle at 48% 36%, rgba(255, 255, 255, .22), transparent 50%),
    linear-gradient(135deg, rgba(216, 169, 83, .35), rgba(22, 67, 120, .18)),
    rgba(4, 13, 26, .42);
  box-shadow:
    0 0 0 1px rgba(216, 169, 83, .24),
    0 0 20px rgba(111, 169, 238, .22),
    0 0 18px rgba(216, 169, 83, .18),
    inset 0 0 10px rgba(255, 255, 255, .08);
}

.mobile-nav-head strong {
  color: rgba(255, 255, 255, .96);
  text-shadow: 0 0 18px rgba(111, 169, 238, .28);
}

.mobile-nav-head p,
.mobile-divider,
.mobile-tagline {
  color: rgba(232, 241, 255, .64);
  font-family: 'Noto Serif TC', serif;
}

.mobile-close {
  border-color: rgba(111, 169, 238, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.mobile-divider::before,
.mobile-divider::after {
  background: linear-gradient(90deg, transparent, rgba(111, 169, 238, .38), transparent);
}

.mobile-divider,
.mobile-link {
  width: min(72vw, 350px);
}

.mobile-link {
  padding: 15px 4px;
  border-bottom-color: rgba(111, 169, 238, .18);
  color: rgba(255, 255, 255, .9);
}

.mobile-link:hover {
  background: rgba(42, 111, 189, .2);
}

.link-num {
  border-color: rgba(242, 178, 61, .5);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(242, 178, 61, .08);
  font-family: 'Noto Serif TC', serif;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 0 18px rgba(242, 178, 61, .12);
}

.mobile-link span:last-child {
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 0 14px rgba(230, 240, 255, .18);
}

.mobile-cta-link {
  justify-content: center;
  width: min(72vw, 320px);
  margin: 18px 0 0;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--line-green), var(--line-green-dark));
  box-shadow:
    0 14px 30px rgba(6, 199, 85, .3),
    inset 0 1px 0 rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 19px;
  text-shadow: none;
}

.mobile-cta-link svg {
  display: none;
}

.mobile-cta-link::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url("./assets/feather-fan-line-icon.svg") center / contain no-repeat;
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, .18))
    drop-shadow(0 0 8px rgba(0, 0, 0, .18));
}

@media (max-width: 430px) {
  .mobile-nav-inner {
    padding-inline: 18px 8px;
  }

  .mobile-divider,
  .mobile-link {
    width: min(70vw, 292px);
  }

  .mobile-cta-link {
    width: min(70vw, 286px);
  }

  .mobile-nav::after {
    top: 220px;
    right: -58px;
    width: 184px;
    height: 312px;
    opacity: .66;
  }

  .footer-concept-b .footer-hero-line {
    grid-template-columns: 62px 1fr;
    gap: 12px 14px;
  }

  .footer-concept-b .footer-hero-line .brand-avatar {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .footer-concept-b .footer-script {
    font-size: clamp(34px, 12vw, 50px);
  }
}

/* Final footer selection: version B, tuned for mobile. */
.footer-choice-label,
.footer-concept-a,
.footer-legacy,
.footer-concept-b .footer-version {
  display: none !important;
}

.footer-proposal-stage {
  padding: 0;
  background: transparent;
}

.footer-concept-b {
  margin: 0;
}

.footer-concept-b .container {
  padding-top: 44px;
}

.footer-concept-b .footer-hero-line .brand-avatar {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
}

.footer-concept-b .footer-b-brand strong {
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .footer-concept-b .container {
    padding-top: 28px;
  }

  .footer-concept-b .footer-scarf {
    left: 8%;
    top: 48px;
    width: 108vw;
    height: 210px;
    opacity: .3;
    transform: rotate(0deg);
  }

  .footer-concept-b .footer-hero-line {
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: center;
    gap: 14px 18px;
    min-height: 0;
    padding: 18px 0 24px;
  }

  .footer-concept-b .footer-hero-line .brand-avatar {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  .footer-concept-b .footer-script {
    flex-basis: auto;
    align-self: center;
    margin: 0;
    font-size: clamp(38px, 11.5vw, 58px);
    line-height: 1.08;
    text-align: left;
  }

  .footer-concept-b .footer-line {
    grid-column: 1 / -1;
    width: min(100%, 260px);
    min-height: 46px;
    justify-self: start;
  }

  .footer-concept-b .footer-b-grid {
    display: block;
    padding: 26px 0 10px;
  }

  .footer-concept-b .footer-b-brand {
    margin-bottom: 28px;
  }

  .footer-concept-b .footer-b-brand h2 {
    max-width: none;
    margin-bottom: 0;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.36;
  }

  .footer-concept-b .footer-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px;
    width: 100%;
    min-width: 0;
  }

  .footer-concept-b .footer-col {
    min-width: 0;
    padding: 16px 0 0;
  }

  .footer-concept-b .footer-col h4,
  .footer-concept-b .footer-col a {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.7;
  }

  .footer-concept-b .footer-col h4 {
    margin-bottom: 8px;
  }

  .footer-concept-b .footer-col a {
    margin-bottom: 7px;
  }

  .footer-concept-b .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

/* ── Late-defined base rules: mobile overrides (must come after base rules ~line 4182+) ── */
@media (max-width: 1100px) {
  .consultant-profile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .work-card-large {
    grid-column: auto;
  }

  .client-quotes {
    grid-template-columns: 1fr;
  }

  h2 {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* ── Service panel maps: full-width square on mobile ── */
  .service-panel {
    padding: 22px 18px;
  }

  .system-map {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .system-map-seo {
    aspect-ratio: auto;
    min-height: 360px;
  }

  .system-map-training {
    aspect-ratio: auto;
    min-height: 360px;
  }

  .seo-flow-steps {
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 12px;
  }

  .seo-fstep {
    min-width: 0;
    flex: 1 1 calc(50% - 8px);
    padding: 10px 8px;
  }

  .seo-fstep-arrow {
    display: none;
  }

  .tr-modules {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Footer mobile improvements ── */
@media (max-width: 760px) {
  /* Compact brand/script line */
  .footer-concept-b .footer-script {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.15;
  }

  /* 2-column nav grid (服務項目 + 了解更多 side by side) */
  .footer-concept-b .footer-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 16px !important;
  }

  /* 聯絡我們 spans full width */
  .footer-concept-b .footer-links .footer-col:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 16px;
    margin-top: 4px;
  }

  /* Smaller tagline headline */
  .footer-concept-b .footer-b-brand h2 {
    font-size: clamp(20px, 5.5vw, 26px);
    line-height: 1.45;
    margin-top: 4px;
  }

  /* Less top padding on brand section */
  .footer-concept-b .footer-b-brand {
    margin-bottom: 20px;
  }

  /* Link text */
  .footer-concept-b .footer-col a,
  .footer-concept-b .footer-col span {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 5px;
  }

  .footer-concept-b .footer-col h4 {
    font-size: 18px;
    margin-bottom: 12px;
  }
}

/* 

/* ── Footer scarf: 古意煙霧繚繞效果 ────────────────────── */

/* 主繞巾：放大範圍，加入煙霧動態 */
.footer-concept-b .footer-scarf {
  left: 50%;
  top: -40px;
  width: min(110vw, 1300px);
  height: 420px;
  opacity: 0;
  transform: translateX(-50%) rotate(1.5deg);
  filter:
    blur(0.8px)
    drop-shadow(0 0 60px rgba(111, 169, 238, .32))
    drop-shadow(0 40px 60px rgba(0, 0, 0, .28))
    drop-shadow(0 0 120px rgba(140, 190, 255, .18));
  animation: ancientScarfDrift 11s ease-in-out infinite;
}

/* 第一層霧氣 */
.footer-concept-b .footer-scarf::before {
  content: "";
  position: absolute;
  inset: -60px -80px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 160% 80% at 30% 55%, rgba(111, 169, 238, .13), transparent 60%),
    radial-gradient(ellipse 120% 70% at 72% 40%, rgba(80, 140, 220, .10), transparent 55%),
    radial-gradient(ellipse 100% 60% at 55% 80%, rgba(60, 120, 200, .07), transparent 50%);
  filter: blur(22px);
  animation: mistLayerA 13s ease-in-out infinite;
}

/* 第二層更柔的霧氣 */
.footer-concep