/* ==========================================================================
   合誼管理顧問股份有限公司 HE YI MANAGEMENT CONSULTING CO., LTD.
   品牌設計系統 — 色彩取自企業標誌（松綠・金・藏青・米白）
   ========================================================================== */

:root {
  /* 品牌色 */
  --pine:        #1B4433;
  --pine-deep:   #0C271B;
  --pine-mid:    #123526;
  --gold:        #C4A24D;
  --gold-soft:   #E8D9AE;
  --gold-bright: #D9B866;
  --navy:        #16405E;

  /* 中性色 */
  --cream:       #F6F3EA;
  --paper:       #FFFFFF;
  --ink:         #22302A;
  --sage:        #5C6F64;
  --line:        #E3DDCC;
  --line-soft:   #EEE9DB;

  /* 構面識別 */
  --env:         #2E7D5B;
  --soc:         #B9862F;
  --gov:         #1D4568;

  /* 陰影 */
  --shadow-sm:   0 1px 2px rgba(28, 48, 38, .05), 0 2px 8px rgba(28, 48, 38, .06);
  --shadow-md:   0 2px 6px rgba(28, 48, 38, .06), 0 12px 32px rgba(28, 48, 38, .10);
  --shadow-lg:   0 4px 12px rgba(28, 48, 38, .08), 0 24px 56px rgba(28, 48, 38, .14);

  /* 字體 */
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans:  "Noto Sans TC", "PingFang TC", -apple-system, sans-serif;

  /* 版面 */
  --wrap: 1160px;
  --radius: 14px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

::selection { background: var(--pine); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-tight { max-width: 880px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.32; letter-spacing: .01em; }
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

.section { padding: clamp(4.2rem, 9vw, 7rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.35rem); color: var(--pine); margin-bottom: 14px; }
.section-lead { color: var(--sage); font-size: 1.04rem; }

.en-caption { font-family: var(--sans); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--sage); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .04em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--pine-deep); box-shadow: 0 6px 20px rgba(196,162,77,.35); }
.btn-primary:hover { background: var(--gold-bright); box-shadow: 0 10px 28px rgba(196,162,77,.45); }
.btn-outline { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-mid); box-shadow: var(--shadow-md); }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 243, 234, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 64px; width: auto; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.14rem; color: var(--pine); line-height: 1.3; letter-spacing: .02em; }
.brand-en { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .18em; color: var(--sage); font-weight: 500; margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 16px; font-size: .92rem; font-weight: 500; color: var(--ink);
  border-radius: 8px; transition: color .18s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.main-nav a:hover { color: var(--pine); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--pine); font-weight: 700; }
.nav-cta {
  margin-left: 14px; padding: 10px 22px !important;
  background: var(--pine); color: #fff !important; border-radius: 999px; font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--pine-mid); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--pine); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--pine-mid) 0%, var(--pine-deep) 58%, #081D12 100%);
  color: #fff;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(rgba(196,162,77,.14) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border: 1px solid rgba(196,162,77,.45); border-radius: 999px;
  font-size: .8rem; letter-spacing: .14em; color: var(--gold-soft); margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); }
.hero h1 { font-size: clamp(2.35rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: .02em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.14rem); color: rgba(255,255,255,.88); max-width: 540px; margin-bottom: 34px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-figure { position: relative; }
.hero-figure svg { width: 100%; height: auto; filter: drop-shadow(0 24px 48px rgba(0,0,0,.35)); }
.hero-figure-note { text-align: center; font-size: .72rem; letter-spacing: .2em; color: rgba(255,255,255,.35); margin-top: 14px; text-transform: uppercase; }

/* 首頁形象大圖預留位置（Hero 版）— 比照「關於合誼」頁 figure-slot 樣式 */
.hero-banner-slot {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px dashed rgba(196,162,77,.5);
  background: rgba(255,255,255,.04);
  aspect-ratio: 1920 / 800;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: rgba(255,255,255,.7);
}
.hero-banner-slot .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(196,162,77,.18); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
}
.hero-banner-slot .ph-tag {
  font-size: .8rem; border: 1px solid rgba(196,162,77,.45); background: rgba(12,39,27,.4);
  padding: 4px 14px; border-radius: 999px; color: var(--gold-soft);
}
.hero-banner-slot .ph-size { font-size: .78rem; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }

/* ---------- Page Hero（內頁） ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--pine-mid), var(--pine-deep));
  color: #fff; padding: clamp(3.2rem, 6vw, 4.8rem) 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(rgba(196,162,77,.12) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .45;
}
.page-hero .wrap { position: relative; }
.page-hero .kicker { color: var(--gold-soft); }
.page-hero p.lead { color: rgba(255,255,255,.84); max-width: 640px; margin-top: 14px; font-weight: 300; font-size: 1.05rem; }

/* ---------- 理念三柱 ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.pillar:nth-child(2)::before { background: linear-gradient(90deg, var(--env), #7FBF9E); }
.pillar:nth-child(3)::before { background: linear-gradient(90deg, var(--navy), #6E93B8); }
.pillar h3 { font-size: 1.28rem; color: var(--pine); margin-bottom: 10px; }
.pillar .en { font-size: .68rem; letter-spacing: .22em; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 12px; }
.pillar p { font-size: .92rem; color: var(--sage); }

/* ---------- 方法論 ---------- */
.method { background: var(--pine-deep); color: #fff; border-radius: 22px; padding: clamp(2.4rem, 5vw, 3.8rem); position: relative; overflow: hidden; }
.method::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(rgba(196,162,77,.1) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .4;
}
.method-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
.method-step {
  position: relative; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 24px 22px; background: rgba(255,255,255,.04);
  transition: border-color .2s ease, background .2s ease;
}
.method-step + .method-step::before {
  content: ""; position: absolute; left: -14px; top: 50%; width: 14px; height: 2px;
  background: linear-gradient(90deg, rgba(196,162,77,.15), var(--gold-bright));
}
.method-step + .method-step::after {
  content: ""; position: absolute; left: -7px; top: 50%; width: 7px; height: 7px;
  border-top: 2px solid var(--gold-bright); border-right: 2px solid var(--gold-bright);
  transform: translateY(-50%) rotate(45deg);
}
.method-step:hover { border-color: rgba(196,162,77,.5); background: rgba(255,255,255,.07); }
.method-step .num { font-family: var(--serif); font-size: 2.1rem; color: var(--gold-bright); line-height: 1; display: block; margin-bottom: 14px; }
.method-step h4 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.method-step h4 .flow { font-size: .68rem; color: var(--gold-soft); letter-spacing: .18em; display: block; margin-top: 3px; font-weight: 400; font-family: var(--sans); }
.method-step p { font-size: .84rem; color: rgba(255,255,255,.7); line-height: 1.75; }
@media (max-width: 1024px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .method-step + .method-step::before, .method-step + .method-step::after { display: none; }
}

.method-title { font-size: clamp(1.5rem, 2.8vw, 1.9rem); text-align: center; position: relative; }
.method-sub { text-align: center; color: rgba(255,255,255,.72); max-width: 620px; margin: 12px auto 0; font-size: .95rem; font-weight: 300; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.svc-num { font-family: var(--serif); font-size: 1.9rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 16px; }
.svc-card h3 { font-size: 1.12rem; color: var(--pine); margin-bottom: 10px; line-height: 1.5; }
.svc-card p { font-size: .88rem; color: var(--sage); flex: 1; }
.svc-more { margin-top: 18px; font-size: .82rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; display: inline-flex; align-items: center; gap: 6px; }
.svc-card:hover .svc-more .arr { transform: translateX(4px); }
.svc-more .arr { transition: transform .18s ease; display: inline-block; }

/* ---------- 升級路徑 ---------- */
.path-flow { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; align-items: stretch; }
.path-node {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 12px 16px; text-align: center;
  font-size: .82rem; font-weight: 600; color: var(--ink); line-height: 1.5;
  transition: transform .2s ease, box-shadow .2s ease;
}
.path-node:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--gold-soft); }
.path-node .step { display: block; font-family: var(--serif); font-size: .72rem; color: var(--gold); margin-bottom: 6px; letter-spacing: .1em; }
.path-node.final { background: var(--pine); color: #fff; border-color: var(--pine); }
.path-node.final .step { color: var(--gold-bright); }
.path-note { margin-top: 26px; text-align: center; color: var(--sage); font-size: .95rem; }
.path-note strong { color: var(--pine); }

/* ---------- E/S/G 構面 ---------- */
.esg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.esg-card {
  background: var(--paper); border-radius: 18px; padding: 34px 30px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.esg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.esg-card::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; }
.esg-card.env::before { background: var(--env); }
.esg-card.soc::before { background: var(--soc); }
.esg-card.gov::before { background: var(--gov); }
.esg-letter { font-family: var(--serif); font-size: 3.4rem; line-height: 1; display: block; margin-bottom: 4px; }
.esg-card.env .esg-letter { color: var(--env); }
.esg-card.soc .esg-letter { color: var(--soc); }
.esg-card.gov .esg-letter { color: var(--gov); }
.esg-name { font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 2px; }
.esg-en { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; display: block; }
.esg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.esg-tags span {
  font-size: .78rem; padding: 5px 12px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); color: var(--ink);
}
.esg-card.env .esg-tags span { background: #EEF5F0; border-color: #CDE3D6; }
.esg-card.soc .esg-tags span { background: #FAF3E3; border-color: #EADFC0; }
.esg-card.gov .esg-tags span { background: #EBF1F7; border-color: #C9DAE8; }

/* ---------- 金句 ---------- */
.quote-band {
  background: linear-gradient(135deg, var(--pine-mid), var(--pine-deep));
  border-radius: 22px; padding: clamp(2.8rem, 6vw, 4.6rem);
  color: #fff; position: relative; overflow: hidden;
}
.quote-band::before {
  content: "\201C"; position: absolute; top: -30px; left: 24px;
  font-family: var(--serif); font-size: 12rem; color: rgba(196,162,77,.18); line-height: 1;
}
.quote-band .inner { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.quote-band blockquote { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.75; font-weight: 500; }
.quote-band blockquote em { font-style: normal; color: var(--gold-bright); }
.quote-band figcaption { margin-top: 22px; font-size: .92rem; color: rgba(255,255,255,.66); }

/* ---------- 輔導機制 ---------- */
.coach-grid { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 18px; align-items: stretch; }
.coach-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px 30px; }
.coach-card.heyi { background: var(--pine); color: #fff; border-color: var(--pine); }
.coach-role { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; font-weight: 700; }
.coach-card.heyi .coach-role { color: var(--gold-bright); }
.coach-card h3 { font-size: 1.3rem; margin-bottom: 14px; color: var(--pine); }
.coach-card.heyi h3 { color: #fff; }
.coach-card p { font-size: .92rem; color: var(--sage); }
.coach-card.heyi p { color: rgba(255,255,255,.82); }
.coach-card ul { margin-top: 14px; display: grid; gap: 10px; }
.coach-card li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink); line-height: 1.75; }
.coach-card.heyi li { color: rgba(255,255,255,.9); }
.coach-card li::before { content: "—"; color: var(--gold); font-weight: 700; }
/* 對接橋：具方向性與圖示的視覺橋 */
.coach-bridge {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-width: 100px;
}
.coach-bridge .arrow-line {
  position: relative; width: 100%; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--line) 0%, var(--gold) 50%, var(--pine) 100%);
}
.coach-bridge .arrow-line::before,
.coach-bridge .arrow-line::after {
  content: ""; position: absolute; top: 50%; width: 9px; height: 9px;
  border-top: 3px solid; border-right: 3px solid; transform: translateY(-50%);
}
.coach-bridge .arrow-line.to-right::after { right: -3px; border-color: var(--pine); transform: translateY(-50%) rotate(45deg); }
.coach-bridge .arrow-line.to-left::before { left: -3px; border-color: var(--gold); transform: translateY(-50%) rotate(-135deg); }
.coach-bridge .hub {
  width: 86px; height: 86px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #2A5C46, var(--pine) 70%);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(196,162,77,.14), 0 0 0 16px rgba(196,162,77,.05), var(--shadow-md);
  flex-shrink: 0;
}
.coach-bridge .hub svg { width: 40px; height: 40px; }
.coach-bridge .lbl {
  font-size: .78rem; font-weight: 700; letter-spacing: .3em; color: var(--pine);
  writing-mode: vertical-rl; background: var(--cream); border: 1px solid var(--gold-soft);
  padding: 10px 5px; border-radius: 999px;
}

/* ---------- 八大好處 ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.benefit .num { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); display: block; margin-bottom: 10px; }
.benefit h4 { font-size: .98rem; color: var(--pine); margin-bottom: 8px; line-height: 1.55; }
.benefit p { font-size: .83rem; color: var(--sage); line-height: 1.75; }

/* ---------- 團隊 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease;
}
.member-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.member-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream); position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member-photo.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-bottom: 1px solid var(--line); }
.member-photo.placeholder .initial {
  font-family: var(--serif); font-size: 4.2rem; color: #D8D2C2; line-height: 1;
}
.member-photo.placeholder .ph-tag { font-size: .72rem; letter-spacing: .1em; color: var(--sage); border: 1px dashed #CFC8B4; padding: 3px 12px; border-radius: 999px; background: #fff; }
.member-photo.placeholder .ph-size { font-size: .7rem; color: #B9B29E; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.member-body { padding: 22px 20px; flex: 1; display: flex; flex-direction: column; }
.member-body h3 { font-size: 1.18rem; color: var(--ink); margin-bottom: 2px; }
.member-body .en { font-size: .72rem; letter-spacing: .14em; color: var(--sage); text-transform: uppercase; margin-bottom: 8px; }
.member-body .role { font-size: .86rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.member-body .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.member-body .tags span { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--sage); }

/* 顧問列 */
.advisor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.advisor-card { display: flex; gap: 24px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.advisor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.advisor-photo { width: 132px; flex-shrink: 0; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--cream); }
.advisor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.advisor-photo.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px dashed #CFC8B4; }
.advisor-photo.placeholder .initial { font-family: var(--serif); font-size: 2.4rem; color: #D8D2C2; }
.advisor-photo.placeholder .ph-size { font-size: .62rem; color: #B9B29E; letter-spacing: .05em; }
.advisor-info h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 2px; }
.advisor-info .role { font-size: .84rem; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.advisor-info p { font-size: .86rem; color: var(--sage); line-height: 1.8; }

/* 詳細履歷區（團隊頁展開） */
.resume { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 34px 36px; }
.resume h3 { font-size: 1.5rem; color: var(--pine); margin-bottom: 4px; }
.resume .role-line { color: var(--gold); font-weight: 700; font-size: .95rem; margin-bottom: 22px; }
.resume dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 18px; }
.resume dt { font-weight: 700; color: var(--pine); font-size: .9rem; }
.resume dd { font-size: .9rem; color: var(--ink); line-height: 1.85; }
.resume dd ul { display: grid; gap: 4px; }
.resume .sep { grid-column: 1 / -1; height: 1px; background: var(--line-soft); margin: 10px 0; }

/* ---------- 關於頁 ---------- */
.about-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 2.05; color: var(--ink); font-weight: 300; }
.about-lead strong { font-weight: 600; color: var(--pine); }
.about-quote {
  border-left: 3px solid var(--gold); padding: 6px 0 6px 26px; margin: 34px 0;
  font-family: var(--serif); font-size: 1.25rem; color: var(--pine); line-height: 1.9;
}
.about-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 40px; align-items: start; }
.figure-slot {
  border: 1px dashed #CFC8B4; border-radius: var(--radius); background: #FBF9F2;
  aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--sage); position: sticky; top: 110px;
}
.figure-slot .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--pine); color: var(--gold-bright); display: flex; align-items: center; justify-content: center; }
.figure-slot .ph-tag { font-size: .8rem; border: 1px solid var(--line); background: #fff; padding: 4px 14px; border-radius: 999px; }
.figure-slot .ph-size { font-size: .78rem; color: #B9B29E; font-variant-numeric: tabular-nums; }

/* ---------- 聯絡頁 ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 34px; align-items: start; }
.info-card { background: var(--pine); color: #fff; border-radius: 18px; padding: 36px 32px; }
.info-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 20px; }
.info-card .row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.info-card .row:last-child { border-bottom: 0; }
.info-card .row .lbl { color: var(--gold-bright); font-weight: 700; white-space: nowrap; }
.info-card .row .val { color: rgba(255,255,255,.85); }
.info-card .row .val .pending { font-size: .78rem; color: var(--gold-soft); display: block; margin-top: 3px; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 38px 36px; }
.form-card h3 { font-size: 1.3rem; color: var(--pine); margin-bottom: 6px; }
.form-card .form-note { font-size: .84rem; color: var(--sage); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--pine); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .92rem; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--cream);
  color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,162,77,.18); background: #fff;
}
.form-actions { margin-top: 8px; }
.form-hint { margin-top: 14px; font-size: .78rem; color: var(--sage); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--pine-mid), var(--pine-deep)); border-radius: 22px; padding: clamp(2.6rem, 6vw, 4rem); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(196,162,77,.12) 1px, transparent 1px); background-size: 22px 22px; opacity: .4; }
.cta-band .inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.72); margin-bottom: 30px; font-weight: 300; }

/* ---------- 預覽站聲明 ---------- */
.preview-note {
  border: 1px solid var(--gold-soft); background: #FBF7EC; border-radius: 12px;
  padding: 14px 20px; font-size: .84rem; color: #8A7433; display: flex; gap: 10px; align-items: flex-start;
}
.preview-note .ic { flex-shrink: 0; margin-top: 2px; }

/* ---------- 頁尾 ---------- */
.site-footer { background: var(--pine-deep); color: rgba(255,255,255,.72); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; padding: clamp(3rem, 6vw, 4.4rem) 0 2.8rem; }
.footer-brand img { height: 68px; width: auto; margin-bottom: 18px; }
.footer-brand .name { font-family: var(--serif); font-size: 1.12rem; color: #fff; margin-bottom: 4px; }
.footer-brand .en { font-size: .66rem; letter-spacing: .18em; color: rgba(255,255,255,.5); text-transform: uppercase; }
.footer-brand p { font-size: .84rem; margin-top: 16px; color: rgba(255,255,255,.55); max-width: 320px; line-height: 1.9; }
.footer-col h4 { color: var(--gold-bright); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--sans); font-weight: 700; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .88rem; color: rgba(255,255,255,.72); transition: color .18s ease; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-size: .76rem; color: rgba(255,255,255,.42); flex-wrap: wrap; }

/* ---------- Reveal 動畫 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .svc-card:hover, .pillar:hover, .benefit:hover, .member-card:hover { transform: none; }
}

/* ---------- 響應式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 480px; margin: 0 auto; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .esg-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .path-flow { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .figure-slot { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: 1fr; }
  .coach-bridge { flex-direction: row; }
  .coach-bridge .line { width: auto; height: 1px; flex: 1; }
  .coach-bridge .lbl { writing-mode: horizontal-tb; }
}
@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .path-flow { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .advisor-grid { grid-template-columns: 1fr; }
  .advisor-card { flex-direction: column; }
  .advisor-photo { width: 100%; max-width: 220px; }
  .brand-name { font-size: .98rem; }
  .brand-en { display: none; }
  .resume { padding: 26px 22px; }
  .resume dl { grid-template-columns: 1fr; gap: 4px; }
  .resume dt { margin-top: 10px; }

  /* 手機導覽 */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 90px 26px 40px; gap: 4px;
    box-shadow: -12px 0 40px rgba(12,39,27,.18);
    transform: translateX(105%); transition: transform .3s cubic-bezier(.16,1,.3,1);
    z-index: 55; overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 14px 10px; font-size: 1.02rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .main-nav a::after { display: none; }
  .nav-cta { margin: 18px 0 0; text-align: center; justify-content: center; }
}