/* ============================================================
   JM ENIGMA · 天盛資本 — corporate site
   Fusion direction: cinematic full-bleed (Majoris) +
   editorial image/text rows (Hysan / GAW Capital).
   Deep navy + gold, real photography throughout.
   ============================================================ */

:root {
  --navy: #16233b;
  --navy-deep: #0e1626;
  --navy-soft: #1d2c46;
  --cream: #f6f3ec;
  --cream-2: #efeadd;
  --gold: #b0894a;
  --gold-light: #d8b878;
  --ink: #2b3543;
  --slate: #3a4656;
  --muted: #54606f;
  --border: #e7e1d4;
  --border-soft: #e3ddd0;
  --line-dark: rgba(255, 255, 255, 0.12);

  --serif-display: 'Cormorant Garamond', 'Noto Serif SC', serif;
  --serif-sc: 'Noto Serif SC', 'Cormorant Garamond', serif;
  --sans: 'Noto Sans SC', system-ui, sans-serif;
  --label: 'Archivo', sans-serif;

  --maxw: 1360px;
  --gutter: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
::selection { background: var(--navy); color: var(--cream); }
img { max-width: 100%; display: block; }

@keyframes jmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- shared type ---- */
.eyebrow {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.eyebrow.on-dark { color: var(--gold-light); }
.section-title {
  font-family: var(--serif-display);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.14;
  letter-spacing: .005em;
  margin: 0;
}
.rule { width: 64px; height: 1px; background: var(--gold); margin: 0 0 26px; }
.rule.center { margin-left: auto; margin-right: auto; }

/* =================== NAV =================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background .45s, border-color .45s, box-shadow .45s;
  border-bottom: 1px solid transparent;
}
/* 透明狀態下疊在 hero 影像上，單靠白字對比度不足（客戶回饋「整體看上去不是很清晰」）。
   加一道由上而下的暗色遮罩，讓 logo 與導覽文字在任何背景圖上都達 WCAG AA。 */
.site-nav::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,14,26,0.72) 0%, rgba(8,14,26,0.42) 55%, rgba(8,14,26,0) 100%);
  pointer-events: none;
  transition: opacity .45s;
}
.site-nav.solid::before { opacity: 0; }
.site-nav.solid {
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 34px -22px rgba(22,35,59,0.4);
}
.nav-inner {
  position: relative; z-index: 1;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 1.8vw, 32px);
}
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand-logo { height: 56px; width: auto; flex: none; display: block; transition: opacity .45s; }
/* 白版疊在深色 hero 上，深色版用於滾動後的米色實底。 */
.brand-logo-dark { display: none; }
.site-nav.solid .brand-logo-light { display: none; }
.site-nav.solid .brand-logo-dark { display: block; }
.brand-zh { font-family: var(--serif-sc); font-size: clamp(14px, 1vw, 17px); letter-spacing: .40em; color: var(--gold-light); white-space: nowrap; transition: color .45s; }
.site-nav.solid .brand-zh { color: var(--gold); }

.nav-links { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(20px, 2.5vw, 52px); }
/* 字号/字距/间距随视口连续缩放；nowrap 保证任何宽度下都不会把「關於我們」拆成两行。 */
.nav-link {
  font-family: var(--label); font-size: clamp(12.8px, .92vw, 14.8px); letter-spacing: clamp(.08em, .11vw, .17em);
  text-transform: uppercase; color: rgba(255,255,255,0.86); transition: color .3s;
  white-space: nowrap;
}
.site-nav.solid .nav-link { color: #3a4452; }
.nav-link:hover { color: var(--gold-light); }
.site-nav.solid .nav-link:hover { color: var(--gold); }
.lang-btn {
  font-family: var(--label); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: #fff;
  background: transparent; border: 1px solid rgba(255,255,255,0.55);
  padding: 9px 16px; cursor: pointer; border-radius: 1px;
  transition: background .3s, color .3s, border-color .3s;
}
.lang-btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
.site-nav.solid .lang-btn { color: var(--navy); border-color: var(--navy); }
.site-nav.solid .lang-btn:hover { background: var(--navy); color: #fff; }

/* =================== HERO =================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  background: var(--navy-deep); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.6s cubic-bezier(.2,.6,.2,1) both; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,22,38,0.55) 0%, rgba(14,22,38,0.25) 32%, rgba(14,22,38,0.82) 100%),
    radial-gradient(120% 80% at 80% 10%, rgba(176,137,74,0.20), transparent 55%);
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 14px);
}
.hero-inner { position: relative; width: 100%; padding-top: 0; padding-bottom: 110px; }
.hero-content { max-width: 960px; }
.hero-eyebrow {
  font-family: var(--label); font-size: 13px; letter-spacing: .38em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 28px;
}
.hero-title {
  font-family: var(--serif-display); font-weight: 500; color: #fff;
  font-size: clamp(44px, 7vw, 110px); line-height: 1.02;
  letter-spacing: .004em; margin: 0;
}
.hero-sub {
  max-width: 620px; margin: 32px 0 0; font-size: 17.5px; line-height: 1.95;
  color: rgba(255,255,255,0.82); font-weight: 300;
}
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.btn-gold {
  font-family: var(--label); font-size: 12.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--navy); background: var(--gold-light);
  padding: 17px 34px; transition: background .4s, transform .4s, box-shadow .4s;
}
.btn-gold:hover { background: #e7cf96; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(216,184,120,0.55); }
.link-underline {
  font-family: var(--label); font-size: 12.5px; letter-spacing: .16em;
  text-transform: uppercase; color: #fff;
  border-bottom: 1px solid rgba(216,184,120,0.65); padding-bottom: 5px;
  transition: border-color .4s, letter-spacing .4s;
}
.link-underline:hover { border-color: #e7cf96; letter-spacing: .22em; }
.hero-scroll {
  position: absolute; left: var(--gutter); bottom: 38px;
  font-family: var(--label); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 12px;
}
.hero-scroll::after { content: ''; width: 46px; height: 1px; background: rgba(255,255,255,0.4); }

/* =================== STATS =================== */
.stats { background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 30px 50px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: none; }
.stat-n { font-family: var(--serif-display); font-weight: 500; font-size: 52px; color: var(--gold-light); line-height: 1; }
.stat-l { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,0.66); letter-spacing: .02em; }

/* =================== ABOUT =================== */
.about { background: var(--cream); padding: 130px 0; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: start; }
.about .section-title { font-size: clamp(30px, 3.6vw, 52px); }
.about-p { font-size: 16.5px; line-height: 1.98; color: var(--slate); margin: 0 0 22px; }
.about-p:last-of-type { margin-bottom: 0; }
.tenets {
  margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--border-soft);
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.tenet { display: flex; gap: 13px; align-items: baseline; }
.tenet-dot { width: 6px; height: 6px; flex: none; background: var(--gold); transform: rotate(45deg); margin-top: 7px; }
.tenet span:last-child { font-size: 15px; color: var(--ink); line-height: 1.6; }

/* =================== CINEMATIC DIVIDER (road) =================== */
.divider {
  position: relative; min-height: 62vh; display: flex; align-items: center; justify-content: center;
  background: var(--navy-deep); overflow: hidden; text-align: center;
}
.divider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.divider-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,22,38,0.5), rgba(14,22,38,0.72)); }
.divider-inner { position: relative; max-width: 900px; padding: 0 var(--gutter); }
.divider-quote { font-family: var(--serif-display); font-weight: 500; font-style: italic; color: #fff; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.3; margin: 0; }
.divider-by { margin-top: 24px; font-family: var(--label); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }

/* =================== CULTURE (editorial narrative rows — alternating full-bleed) =================== */
.culture { background: #fff; border-top: 1px solid var(--border); padding: clamp(92px, 10vw, 124px) 0 0; }
.culture .culture-head { text-align: center; max-width: 760px; margin: 0 auto clamp(52px, 6vw, 80px); padding: 0 var(--gutter); }
.culture-head .section-title { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.16; }
.culture-head .rule.center { margin-left: auto; margin-right: auto; }
.cn-rows { display: flex; flex-direction: column; }
.cn-row { display: grid; grid-template-columns: 55fr 45fr; min-height: clamp(440px, 52vw, 600px); }
.cn-row:nth-child(even) { grid-template-columns: 45fr 55fr; }
.cn-row:nth-child(even) .cn-media { order: 2; }
.cn-media { position: relative; overflow: hidden; background: var(--cream); }
.cn-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.97) contrast(1.02); transition: transform 1.5s cubic-bezier(.2,.6,.2,1); }
.cn-row:hover .cn-media img { transform: scale(1.045); }
.cn-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 5.5vw, 90px) clamp(38px, 5.5vw, 84px); background: var(--cream); }
.cn-row:nth-child(even) .cn-text { background: #fff; }
.cn-no { font-family: var(--serif-display); font-size: clamp(50px, 6vw, 90px); font-weight: 400; color: rgba(176,137,74,0.28); line-height: .85; margin-bottom: 22px; }
.cn-k { font-family: var(--label); font-size: 11.5px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.cn-t { font-family: var(--serif-sc); font-weight: 600; font-size: clamp(28px, 3.2vw, 44px); color: var(--navy); line-height: 1.14; margin: 0 0 22px; }
.cn-d { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.78; color: var(--muted); margin: 0; max-width: 480px; }
/* 願景 / 使命 的長段說明 */
.cn-body { margin: 22px 0 0; max-width: 520px; font-size: 14.5px; line-height: 1.95; color: var(--muted); }
/* 核心價值觀的四條子項 */
.cn-sub { list-style: none; margin: 24px 0 0; padding: 0; max-width: 540px; display: flex; flex-direction: column; gap: 18px; }
.cn-sub li { padding-left: 18px; border-left: 2px solid rgba(176,137,74,0.34); }
.cn-sub strong { display: block; font-family: var(--serif-sc); font-weight: 600; font-size: 15.5px; color: var(--navy); margin-bottom: 6px; letter-spacing: .01em; }
.cn-sub span { display: block; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* =================== DIVISIONS (editorial alternating rows) =================== */
.divisions { background: var(--cream); padding: clamp(92px, 10vw, 124px) 0 clamp(84px, 9vw, 116px); }
.div-head { padding-top: 120px; padding-bottom: 70px; }
.div-head-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; }
.div-head .section-title, .div-head-grid .section-title { font-size: clamp(32px, 4vw, 58px); line-height: 1.08; max-width: 720px; }
.div-intro { max-width: 440px; font-size: 15.5px; line-height: 1.95; color: var(--muted); margin: 0; }

.div-list { display: flex; flex-direction: column; }
.div-row { display: grid; grid-template-columns: 1.12fr 0.88fr; min-height: 540px; border-top: 1px solid var(--border); }
.div-row-media { position: relative; overflow: hidden; background: var(--navy); }
.div-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s cubic-bezier(.2,.6,.2,1); }
.div-row:hover .div-row-media img { transform: scale(1.055); }
.div-row-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14,22,38,0.32), transparent 55%); }
.div-row-num {
  position: absolute; top: 26px; left: 30px; z-index: 2;
  font-family: var(--serif-display); font-weight: 600; font-size: 30px;
  color: rgba(255,255,255,0.9);
}
.div-row-flag {
  position: absolute; top: 30px; right: 0; z-index: 2; background: var(--gold); color: #fff;
  font-family: var(--label); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 18px;
}
.div-row-text { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.div-row:nth-child(even) .div-row-text { background: var(--cream-2); }
.div-row-en { font-family: var(--label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.div-row-title { font-family: var(--serif-sc); font-weight: 600; font-size: clamp(24px, 2.3vw, 32px); color: var(--navy); margin: 0 0 20px; line-height: 1.32; }
.div-row-body { font-size: 15.5px; line-height: 1.95; color: var(--muted); margin: 0 0 28px; max-width: 520px; }
.div-row-link { font-family: var(--label); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; gap: 10px; }
.div-row-link .arrow { color: var(--gold); display: inline-block; transition: transform .4s cubic-bezier(.2,.6,.2,1); }
.div-row:hover .div-row-link .arrow { transform: translateX(7px); }
/* reverse layout puts media on the right */
.div-row.reverse .div-row-media { order: 2; }
.div-row.reverse .div-row-media::after { background: linear-gradient(240deg, rgba(14,22,38,0.32), transparent 55%); }
/* designed tile (division without a photo) */
.div-row-media.tile {
  background:
    radial-gradient(120% 100% at 20% 10%, rgba(176,137,74,0.28), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 16px),
    linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  display: flex; align-items: center; justify-content: center;
}
.div-row-media.tile .tile-mark { font-family: var(--serif-display); font-size: clamp(64px, 9vw, 140px); color: rgba(216,184,120,0.18); font-weight: 600; letter-spacing: .04em; }

/* --- division card grid (image10 style) --- */
/* 八個板塊排成 4×2 完整矩形（綠地天盛基金有獨立入口，不進網格）。
   三欄時 8 張會排成 3+3+2、末行落單，正是客戶回饋的「排版不齊」。 */
.div-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.4vw, 24px); margin-top: clamp(44px, 5vw, 72px); }
.div-card { position: relative; display: block; text-decoration: none; background: var(--navy); overflow: hidden; transition: box-shadow .5s cubic-bezier(.2,.6,.2,1), transform .5s cubic-bezier(.2,.6,.2,1); }
.div-card:hover { box-shadow: 0 30px 60px -34px rgba(22,35,59,0.5); transform: translateY(-4px); }
.div-card-media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--navy); }
.div-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.div-card:hover .div-card-media img { transform: scale(1.06); }
/* 文字浮層的底襯：下半部漸深，保證標題在任何圖片上都可讀。 */
.div-card-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14,22,38,0.10) 0%, rgba(14,22,38,0.18) 42%, rgba(14,22,38,0.86) 100%); transition: background .5s; }
.div-card:hover .div-card-veil { background: linear-gradient(180deg, rgba(14,22,38,0.30) 0%, rgba(14,22,38,0.44) 42%, rgba(14,22,38,0.92) 100%); }
.div-card-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px 20px 22px; }
.div-card-cap::before { content: ''; position: absolute; left: 20px; top: 0; width: 32px; height: 2px; background: var(--gold); }
.div-card-flag { position: absolute; top: 15px; right: 15px; z-index: 2; font-family: var(--label); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--gold-light); padding: 6px 12px; }
.div-card-en { display: block; font-family: var(--label); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 7px; }
.div-card-title { font-family: var(--serif-sc); font-weight: 600; font-size: clamp(17px, 1.25vw, 21px); color: #fff; margin: 0; line-height: 1.32; letter-spacing: .01em; text-wrap: balance; }
.div-card-arrow { display: block; margin-top: 12px; font-family: var(--serif-display); font-size: 20px; color: var(--gold-light); transition: transform .4s cubic-bezier(.2,.6,.2,1); }
.div-card:hover .div-card-arrow { transform: translateX(6px); }
.home-divisions { border-top: 1px solid var(--border); }
.home-divisions-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 42px 72px; align-items: end; }
.home-divisions-head .eyebrow, .home-divisions-head .rule { grid-column: 1 / -1; }
.home-divisions-head .rule { margin-top: -28px; }
.home-divisions-head .section-title { margin: 0; max-width: 760px; font-size: clamp(32px, 4vw, 58px); line-height: 1.08; }
.home-divisions-head .div-intro { max-width: 500px; }
/* 只用偶數欄（4 / 2 / 1），8 張卡在任一斷點都排滿矩形，不會出現落單。
   1200px 以下四欄會擠到約 230px，長標題（人工智能與算力基礎設施）會斷行，故提前降為兩欄。 */
@media (max-width: 1200px) {
  .div-cards { grid-template-columns: repeat(2, 1fr); }
  .div-card-media { aspect-ratio: 4/3; }
}

/* =================== GROUP STRUCTURE =================== */
.structure { background: var(--navy); padding: 120px 0; }
.struct-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.struct-title { font-family: var(--serif-display); font-weight: 500; color: #fff; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.16; margin: 0 0 22px; }
.struct-intro { font-size: 15.5px; line-height: 1.95; color: rgba(255,255,255,0.68); margin: 0; }
.struct-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
.struct-item { padding: 26px 8px 26px 0; border-bottom: 1px solid var(--line-dark); display: flex; align-items: center; gap: 18px; transition: padding-left .35s; }
.struct-item:hover { padding-left: 8px; }
.struct-n { font-family: var(--serif-display); font-size: 16px; color: var(--gold-light); width: 30px; }
.struct-t { font-size: 15.5px; color: #eef1f5; }

/* =================== GLOBAL PRESENCE =================== */
.presence { background: var(--cream); padding: 120px 0; }
.presence-head { text-align: center; margin-bottom: 56px; }
.presence-head .section-title { font-size: clamp(28px, 3.4vw, 48px); }
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.office { background: #fff; border: 1px solid var(--border); padding: 42px 36px; transition: transform .5s, box-shadow .5s; }
.office:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(22,35,59,0.4); }
.office-tag { font-family: var(--serif-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.office-city { font-family: var(--serif-sc); font-weight: 600; font-size: 24px; color: var(--navy); margin: 10px 0 18px; }
.office-addr { font-size: 14.5px; line-height: 1.85; color: var(--muted); margin: 0; }

/* =================== NEWS =================== */
.news { background: #fff; border-top: 1px solid var(--border); padding: 120px 0; }
.news-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 30px; flex-wrap: wrap; }
.news-head .section-title { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.14; }
.news-viewall { font-family: var(--label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 5px; transition: color .3s; }
.news-viewall:hover { color: var(--gold); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.news-card { display: block; }
.news-card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 24px; background: var(--navy); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.6,.2,1); }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-meta { font-family: var(--label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.news-title { font-family: var(--serif-sc); font-weight: 600; font-size: 20px; color: var(--navy); margin: 0; line-height: 1.5; transition: color .3s; }
.news-card:hover .news-title { color: var(--gold); }

/* =================== CAREERS (full-bleed) =================== */
.careers { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; background: var(--navy-deep); }
.careers img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.careers-scrim { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(14,22,38,0.86) 0%, rgba(14,22,38,0.58) 55%, rgba(14,22,38,0.4) 100%); }
.careers-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 96px var(--gutter); width: 100%; }
.careers-box { max-width: 640px; }
.careers-title { font-family: var(--serif-display); font-weight: 500; color: #fff; font-size: clamp(32px, 4vw, 56px); line-height: 1.1; margin: 0 0 24px; }
.careers-body { font-size: 16px; line-height: 1.95; color: rgba(255,255,255,0.8); margin: 0 0 36px; }

/* =================== CONTACT =================== */
.contact { background: var(--cream); padding: 120px 0 104px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.contact-grid > *, .contact-page-grid > * { min-width: 0; }
.contact .section-title { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.14; margin-bottom: 30px; }
.contact-email { font-family: var(--serif-display); font-size: 28px; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 5px; transition: color .3s; }
.contact-email:hover { color: var(--gold); }
.newsletter-card { min-width: 0; background: #fff; border: 1px solid var(--border); padding: 44px; }
.newsletter-title { font-family: var(--serif-sc); font-weight: 600; font-size: 22px; color: var(--navy); margin: 0 0 8px; }
.newsletter-body { font-size: 14.5px; line-height: 1.85; color: var(--muted); margin: 0 0 26px; }
.newsletter-form { display: flex; min-width: 0; max-width: 100%; border: 1px solid #d8cfbb; }
.newsletter-form input { flex: 1 1 auto; min-width: 0; width: 100%; border: none; padding: 16px 18px; font-family: var(--sans); font-size: 14px; color: var(--navy); background: transparent; outline: none; }
.newsletter-form button { background: var(--navy); color: #fff; border: none; font-family: var(--label); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding: 0 28px; cursor: pointer; transition: background .3s; }
.newsletter-form button:hover { background: var(--navy-soft); }

/* =================== FOOTER =================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 80px 0 44px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.footer-logo { height: 34px; width: auto; display: block; }
.footer-disclaimer { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.5); max-width: 400px; margin: 0; }
.footer-coltitle { font-family: var(--label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.footer-col-links { display: flex; flex-direction: column; gap: 13px; }
.footer-col-links a, .footer-col-links span { font-size: 14px; color: rgba(255,255,255,0.72); transition: color .3s; }
.footer-col-links a:hover { color: var(--gold-light); }
.footer-copy { padding-top: 28px; font-size: 12.5px; color: rgba(255,255,255,0.42); letter-spacing: .02em; }

/* =================== REVEAL =================== */
[data-revealable] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1.1s cubic-bezier(.2,.65,.2,1), transform 1.1s cubic-bezier(.2,.65,.2,1);
  will-change: opacity, transform;
}
[data-revealable].is-visible { opacity: 1; transform: none; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .struct-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .cn-text { padding: clamp(44px, 6vw, 64px) clamp(34px, 5vw, 56px); }
  .offices-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .div-row { grid-template-columns: 1fr; min-height: 0; }
  .div-row .div-row-media { order: 0 !important; aspect-ratio: 16/9; }
  .div-row.reverse .div-row-media { order: 0; }
  .div-head-grid { gap: 28px; }
  .div-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links .nav-link { display: none; }
  .cn-row, .cn-row:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
  .cn-row:nth-child(even) .cn-media { order: 0; }
  .cn-media { aspect-ratio: 16 / 10; }
  .cn-text { padding: 40px 26px 46px; }
  .cn-d { max-width: none; }
}
@media (max-width: 680px) {
  :root { --gutter: 22px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-width: 0; padding: 34px 14px 38px; }
  .stat-n { font-size: 42px; overflow-wrap: anywhere; }
  .stat-l { overflow-wrap: anywhere; }
  .stat:nth-child(odd) { border-left: none; }
  .offices-grid, .news-grid { grid-template-columns: 1fr; }
  .struct-list { grid-template-columns: 1fr; }
  .div-row-text { padding: 44px 26px; }
  .div-cards { grid-template-columns: 1fr; }
  .about, .culture, .structure, .presence, .news, .contact { padding-top: 84px; padding-bottom: 84px; }
  .div-head { padding-top: 96px; }
  .tenets { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   SUB-PAGES (detail / news / article / about / careers / contact)
   ============================================================ */
.link-dark { font-family: var(--label); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; gap: 9px; }
.wrap.narrow { max-width: 860px; }
.page-section { padding: 110px 0; }
.lede { font-size: 18px; line-height: 1.95; color: var(--slate); margin: 26px 0 0; }

/* page hero (sub-page banner) */
.page-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; background: var(--navy-deep); overflow: hidden; }
.page-hero.img { min-height: 66vh; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.4s cubic-bezier(.2,.6,.2,1) both; }
.page-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,22,38,0.55) 0%, rgba(14,22,38,0.35) 40%, rgba(14,22,38,0.82) 100%), radial-gradient(120% 80% at 80% 12%, rgba(176,137,74,0.2), transparent 55%); }
.page-hero.tilebg { background: radial-gradient(120% 100% at 18% 8%, rgba(176,137,74,0.26), transparent 60%), repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 16px), linear-gradient(160deg, var(--navy-soft), var(--navy-deep)); }
.page-hero-inner { position: relative; width: 100%; padding-bottom: 64px; padding-top: 130px; }
.page-hero-eyebrow { font-family: var(--label); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.page-hero-title { font-family: var(--serif-display); font-weight: 500; color: #fff; font-size: clamp(36px, 5vw, 76px); line-height: 1.06; margin: 0; max-width: 1000px; }
.page-hero-title.article-title { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.18; }
.page-hero-sub { max-width: 620px; margin: 24px 0 0; font-size: 16.5px; line-height: 1.9; color: rgba(255,255,255,0.82); font-weight: 300; }

/* breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-family: var(--label); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.62); }
.breadcrumb a { color: rgba(255,255,255,0.82); transition: color .3s; }
.breadcrumb a:hover { color: var(--gold-light); }
.bc-sep { color: rgba(255,255,255,0.4); }

/* division detail */
.detail-wrap { background: var(--cream); padding: 100px 0 90px; }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 70px; align-items: start; }
.detail-lead { font-size: 19px; line-height: 2; color: var(--slate); margin: 0; }
.detail-title { max-width: 820px; margin: 42px 0 30px; font-family: var(--serif-sc); font-weight: 600; font-size: clamp(28px, 3vw, 44px); line-height: 1.32; color: var(--navy); text-wrap: balance; }
.detail-subheading { font-family: var(--serif-sc); font-size: clamp(20px, 1.55vw, 25px); line-height: 1.5; color: var(--navy); margin: 42px 0 16px; }
.detail-title + .detail-subheading { margin-top: 8px; }
.detail-p { max-width: 780px; font-size: clamp(15px, 1.05vw, 16.5px); line-height: 1.95; color: var(--ink); margin: 0 0 24px; }
.detail-bullet { display: flex; align-items: flex-start; gap: 14px; padding-left: 2px; }
.detail-bullet-dot { width: 7px; height: 7px; flex: none; margin-top: 12px; background: var(--gold); transform: rotate(45deg); }
.detail-bullet strong { color: var(--navy); font-weight: 700; }
.detail-side { border-left: 1px solid var(--border-soft); padding-left: 40px; }
.detail-sec { margin-top: 46px; padding-top: 38px; border-top: 1px solid var(--border-soft); }
.detail-h { font-family: var(--serif-sc); font-weight: 600; font-size: clamp(20px, 1.6vw, 26px); color: var(--navy); margin: 0 0 20px; letter-spacing: .01em; }
.detail-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.point { display: flex; gap: 14px; align-items: baseline; }
.point-dot { width: 7px; height: 7px; flex: none; background: var(--gold); transform: rotate(45deg); margin-top: 7px; }
.point span:last-child { font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.detail-figure { position: relative; aspect-ratio: 21/9; overflow: hidden; background: var(--navy); }
.detail-figure img { width: 100%; height: 100%; object-fit: cover; }

/* other divisions strip */
.other-div { background: #fff; border-top: 1px solid var(--border); padding: 100px 0; }
.other-head { margin-bottom: 46px; }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.other-card { display: block; }
.other-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.other-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.6,.2,1); }
.other-card:hover .other-media img { transform: scale(1.06); }
.other-tile { font-family: var(--serif-display); font-size: 56px; font-weight: 600; color: rgba(216,184,120,0.3); }
.other-no { font-family: var(--label); font-size: 11px; letter-spacing: .16em; color: var(--gold); margin: 16px 0 6px; }
.other-name { font-family: var(--serif-sc); font-weight: 600; font-size: 18px; color: var(--navy); line-height: 1.4; }

/* CTA band */
.cta-band { position: relative; background: var(--navy); overflow: hidden; }
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 84px 0; flex-wrap: wrap; }
.cta-title { font-family: var(--serif-display); font-weight: 500; color: #fff; font-size: clamp(26px, 3vw, 42px); line-height: 1.16; margin: 14px 0 14px; }
.cta-body { font-size: 15.5px; line-height: 1.9; color: rgba(255,255,255,0.72); margin: 0; max-width: 560px; }

/* article */
.article-wrap { background: var(--cream); padding: 96px 0 90px; }
.article-body { max-width: 760px; }
.article-body p { font-size: 17px; line-height: 2.05; color: var(--slate); margin: 0 0 26px; }
.article-back { margin-top: 20px; }

/* 404 page */
.notfound { position: relative; min-height: 88vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--navy-deep); overflow: hidden; }
.notfound .hero-scrim { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 14px); }
.notfound-inner { position: relative; padding: 130px var(--gutter) 80px; }
.notfound-code { font-family: var(--serif-display); font-weight: 500; font-size: clamp(90px, 16vw, 200px); line-height: 1; color: var(--gold-light); }
.notfound-msg { font-size: 17px; line-height: 1.9; color: rgba(255,255,255,0.78); margin: 18px 0 36px; }

/* keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* contact offices (shared with contact page) */
.contact-offices { display: grid; gap: 20px; }
.contact-page-body { padding-bottom: 80px; }
.contact-page-grid { grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(52px, 6vw, 90px); }
/* 每個辦公室卡片右側配一張靜態地圖，點擊在新分頁開啟外部地圖。
   不內嵌 Google Maps iframe：倫敦辦公室令其在 EU/UK GDPR 下須先取得同意才可載入。 */
.c-office { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(280px, .9fr); align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--border); overflow: hidden; }
.c-office-text { padding: 28px 30px; }
.c-office .tg { font-family: var(--label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.c-office .ct { font-family: var(--serif-sc); font-weight: 600; font-size: 19px; color: var(--navy); margin: 8px 0; }
.c-office .ad { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin: 0; }
.c-office-map { position: relative; display: block; min-height: 220px; overflow: hidden; border-left: 1px solid var(--border); background: var(--cream-2); }
.c-office-map img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2,.6,.2,1); }
.c-office-map:hover img { transform: scale(1.06); }
.c-office-open {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .35s;
  background: rgba(14,22,38,0.88); color: #fff;
  font-family: var(--label); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 14px; white-space: nowrap;
}
.c-office-map:hover .c-office-open, .c-office-map:focus-visible .c-office-open { opacity: 1; }

@media (max-width: 720px) {
  .c-office { grid-template-columns: 1fr; }
  .c-office-map { min-height: 220px; border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 1024px) {
  .contact-page-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 44px; }
  .detail-side { border-left: none; padding-left: 0; border-top: 1px solid var(--border-soft); padding-top: 36px; }
  .other-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .page-hero-inner { padding-top: 110px; padding-bottom: 44px; }
  .page-section { padding: 80px 0; }
  .other-grid { grid-template-columns: 1fr; }
  .cta-band-inner { padding: 64px 0; }
}

/* ============================================================
   ROUND 2 — dropdown nav, CEO, milestones, greenland, team, ESG, map
   ============================================================ */
.nav-links { gap: clamp(20px, 2.5vw, 52px); }
.nav-item { position: relative; display: flex; align-items: center; flex: none; }
.nav-item .caret { font-size: 9px; margin-left: 5px; opacity: .7; }
.nav-sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 188px; background: rgba(246,243,236,0.98); backdrop-filter: blur(12px); border: 1px solid var(--border); box-shadow: 0 22px 44px -24px rgba(22,35,59,0.45); padding: 10px 0; opacity: 0; visibility: hidden; transition: opacity .26s, transform .26s; z-index: 70; }
.site-nav:not(.solid) .nav-sub { background: rgba(14,22,38,0.96); border-color: rgba(255,255,255,0.12); }
.nav-item.has-sub:hover .nav-sub, .nav-item.has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-sub a { display: block; padding: 9px 22px; font-family: var(--label); font-size: 12.5px; letter-spacing: .08em; color: #3a4452; white-space: nowrap; transition: color .25s, background .25s; }
.site-nav:not(.solid) .nav-sub a { color: rgba(255,255,255,0.85); }
.nav-sub a:hover { color: var(--gold); background: rgba(176,137,74,0.08); }

/* 公司簡介 —— 導覽列「公司」的落點，排在執行長致詞之前 */
.company { background: #fff; padding: 120px 0 90px; border-bottom: 1px solid var(--border); }
.company-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; align-items: start; }
.company-head { position: sticky; top: 120px; }
.company-body .about-p { margin-bottom: 24px; }

.ceo { background: var(--cream); padding: 120px 0 90px; }
.ceo-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
/* 圖在上、文字在下：分隔線置於標題與照片之間（全寬），照片下方接職銜＋簽名。 */
.ceo-portrait { margin: 40px 0 0; padding-top: 34px; border-top: 1px solid var(--border-soft); }
/* 透明底人像：直接坐落於米色頁面，不加外框與投影。 */
.ceo-portrait img { display: block; width: 100%; max-width: 300px; height: auto; }
.ceo-sign { margin-top: 26px; padding-top: 0; border-top: none; }
/* 簽名圖原為白墨，疊在米色底上等同隱形。已改用深藍版，不再降低不透明度。 */
.ceo-sign img { display: block; width: min(190px, 100%); height: auto; margin-bottom: 0; margin-top: 6px; }
.ceo-name { font-family: var(--serif-display); font-size: 26px; color: var(--navy); font-weight: 600; }
.ceo-role { font-size: 13px; color: #6b6457; margin-top: 4px; letter-spacing: .03em; }
.ceo-block + .ceo-block { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--border-soft); }
.ceo-h { font-family: var(--serif-sc); font-weight: 600; font-size: clamp(19px, 1.5vw, 23px); color: var(--navy); margin: 0 0 18px; line-height: 1.4; letter-spacing: .01em; }

@media (max-width: 980px) {
  .company-grid { grid-template-columns: 1fr; gap: 44px; }
  .company-head { position: static; }
}

.milestones { background: #fff; border-top: 1px solid var(--border); padding: 110px 0; }
.ms-line { position: relative; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
/* 底層灰軸 */
.ms-line::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--border); transform: translateX(-50%); }
/* 金色進度軸：隨滾動由上而下生長（--ms-progress 由 JS 更新 0→1） */
.ms-line::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--gold), var(--gold-light)); transform: translateX(-50%) scaleY(var(--ms-progress, 0)); transform-origin: 50% 0; transition: transform .15s linear; }
.ms-item { position: relative; width: 50%; padding: 0 48px 56px 0; box-sizing: border-box; }
.ms-item.right { margin-left: 50%; padding: 0 0 56px 48px; }
.ms-dot { position: absolute; top: 8px; right: -7px; width: 14px; height: 14px; background: var(--gold); transform: rotate(45deg); z-index: 2; }
.ms-item.right .ms-dot { right: auto; left: -7px; }

/* ---- 里程碑滾動入場：卡片兩側滑入 + 菱形節點回彈彈入（複刻舊站 slide 動效） ---- */
/* data-revealable 由 JS 加上；未載入 JS 時卡片保持可見（漸進增強）。 */
.ms-item[data-revealable] { opacity: 1; transform: none; }
.ms-card { transition: opacity .85s cubic-bezier(.2,.65,.2,1), transform .85s cubic-bezier(.2,.65,.2,1); }
.ms-item[data-revealable] .ms-card { opacity: 0; transform: translateX(-46px); }
.ms-item.right[data-revealable] .ms-card { transform: translateX(46px); }
.ms-item[data-revealable].is-visible .ms-card { opacity: 1; transform: none; }
.ms-dot { transition: transform .6s cubic-bezier(.34,1.56,.64,1) .12s; }
.ms-item[data-revealable] .ms-dot { transform: rotate(45deg) scale(0); }
.ms-item.right[data-revealable] .ms-dot { transform: rotate(45deg) scale(0); }
.ms-item[data-revealable].is-visible .ms-dot { transform: rotate(45deg) scale(1); }
.ms-card { background: var(--cream); border: 1px solid var(--border-soft); padding: 26px 28px 30px; }
.ms-year { font-family: var(--serif-display); font-weight: 600; font-size: clamp(28px, 3vw, 34px); line-height: 1.18; color: var(--navy); margin: 0 0 16px; }
.ms-img { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 18px; background: var(--cream-2); }
.ms-img img { width: 100%; height: 100%; object-fit: cover; }
.ms-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ms-list li { font-size: 14.5px; line-height: 1.6; color: var(--slate); padding-left: 16px; position: relative; }
.ms-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

.gl-sec { background: var(--cream); padding: 80px 0; border-top: 1px solid var(--border); }
.gl-sec:nth-child(even) { background: #fff; }
.gl-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.gl-sec.reverse .gl-media { order: 2; }
.gl-media { aspect-ratio: 4/3; overflow: hidden; background: var(--navy); border: 1px solid var(--border); }
.gl-media img { width: 100%; height: 100%; object-fit: cover; }
.gl-title { font-family: var(--serif-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 36px); color: var(--navy); margin: 0 0 22px; }
.gl-body { font-size: 16px; line-height: 1.95; color: var(--slate); margin: 0; }
.gl-table { width: 100%; border-collapse: collapse; }
.gl-table th, .gl-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--border-soft); vertical-align: top; font-size: 14.5px; line-height: 1.6; }
.gl-table th { width: 34%; color: var(--gold); font-weight: 600; font-family: var(--serif-sc); padding-right: 18px; }
.gl-table td { color: var(--slate); }
.gl-pts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.gl-pts li { display: flex; flex-direction: column; gap: 5px; }
.gl-pts strong { font-family: var(--serif-sc); font-size: 16px; color: var(--navy); }
.gl-pts span { font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.gl-steps { display: flex; flex-direction: column; gap: 18px; }
.gl-step { display: flex; gap: 18px; align-items: baseline; }
.gl-step-n { font-family: var(--serif-display); font-weight: 600; font-size: 22px; color: var(--gold); flex: none; }
.gl-step strong { display: block; font-family: var(--serif-sc); font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.gl-step span { font-size: 14.5px; line-height: 1.75; color: var(--muted); }

.gl-facts { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.08); }
.gl-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.gl-fact { padding: 38px 28px 42px; border-left: 1px solid rgba(255,255,255,0.12); }
.gl-fact:first-child { border-left: none; }
.gl-fact-n { font-family: var(--serif-display); font-size: clamp(32px, 4vw, 54px); line-height: 1; color: var(--gold-light); }
.gl-fact-l { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.68); }

.team-roles { background: var(--cream); padding: 90px 0; }
.roles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.role-card { background: #fff; border: 1px solid var(--border); padding: 34px 34px 36px; border-left: 3px solid var(--gold); }
.role-t { font-family: var(--serif-sc); font-weight: 600; font-size: 20px; color: var(--navy); margin: 0 0 14px; }
.role-d { font-size: 14.5px; line-height: 1.85; color: var(--muted); margin: 0; }
.team-members { background: #fff; border-top: 1px solid var(--border); padding: 90px 0; }
.members-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.member-card { text-align: center; }
.member-photo { aspect-ratio: 3/4; background: var(--cream); border: 1px dashed var(--border-soft); display: flex; align-items: center; justify-content: center; padding: 20px; }
.member-photo span { font-family: var(--label); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #a89f8d; line-height: 1.6; }
.member-name { margin-top: 14px; font-family: var(--serif-display); font-size: 19px; color: var(--navy); }

.esg-sec { background: var(--cream); padding: 84px 0; border-top: 1px solid var(--border); }
.esg-sec:nth-child(even) { background: #fff; }
.esg-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.esg-sec.reverse .esg-media { order: 2; }
.esg-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--navy); }
.esg-media img { width: 100%; height: 100%; object-fit: cover; }
.esg-no { position: absolute; top: 20px; left: 24px; z-index: 2; font-family: var(--serif-display); font-weight: 600; font-size: 30px; color: rgba(255,255,255,0.9); }
.esg-k { font-family: var(--label); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.esg-t { font-family: var(--serif-display); font-weight: 600; font-size: clamp(26px, 3vw, 40px); color: var(--navy); margin: 0 0 14px; }
.esg-goal { font-size: 16px; line-height: 1.8; color: var(--slate); margin: 0 0 26px; font-weight: 500; }
.esg-pts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.esg-pts li { display: flex; flex-direction: column; gap: 5px; padding-left: 18px; position: relative; }
.esg-pts li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.esg-pts strong { font-family: var(--serif-sc); font-size: 15.5px; color: var(--navy); }
.esg-pts span { font-size: 14px; line-height: 1.75; color: var(--muted); }
.esg-overview { background: var(--cream); padding: 88px 0 70px; border-top: 1px solid var(--border); }
.sustain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sustain-card { background: #fff; border: 1px solid var(--border); overflow: hidden; transition: transform .5s, box-shadow .5s, border-color .5s; }
.sustain-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(22,35,59,0.36); border-color: rgba(176,137,74,0.42); }
.sustain-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--navy); }
.sustain-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.6,.2,1); }
.sustain-card:hover .sustain-img img { transform: scale(1.06); }
.sustain-body { padding: 30px 30px 34px; }
.sustain-k { font-family: var(--label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.sustain-t { font-family: var(--serif-sc); font-weight: 600; font-size: 22px; color: var(--navy); margin: 0 0 14px; line-height: 1.35; }
.sustain-d { font-size: 14.5px; line-height: 1.85; color: var(--muted); margin: 0; }
.sustain-link { display: inline-flex; gap: 8px; margin-top: 22px; font-family: var(--label); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.esg-detail { background: var(--cream); padding: clamp(82px, 9vw, 124px) 0; }
.esg-detail-wrap { max-width: 980px; }
.esg-detail-intro { max-width: 780px; margin-bottom: clamp(54px, 7vw, 84px); }
.esg-detail-intro p { margin: 28px 0 0; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.9; color: var(--slate); }
.esg-detail-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.esg-detail-points li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 26px; padding: clamp(34px, 4.5vw, 52px) 0; border-bottom: 1px solid var(--border); }
.esg-detail-no { font-family: var(--serif-display); font-size: 25px; color: var(--gold); }
.esg-detail-points h2 { margin: 0 0 14px; font-family: var(--serif-sc); font-size: clamp(21px, 2vw, 28px); line-height: 1.42; color: var(--navy); }
.esg-detail-points p { margin: 0; font-size: 16px; line-height: 1.95; color: var(--slate); }
.esg-detail-closing { max-width: 820px; margin-top: clamp(48px, 6vw, 72px); padding-left: 28px; border-left: 3px solid var(--gold); }
.esg-detail-closing p { margin: 0 0 30px; font-family: var(--serif-sc); font-size: clamp(19px, 1.8vw, 25px); line-height: 1.8; color: var(--navy); }
.esg-outlook { background: var(--navy-deep); padding: 92px 0; text-align: center; }
.esg-quote { font-family: var(--serif-display); font-style: italic; font-weight: 500; font-size: clamp(26px, 3.3vw, 42px); color: #fff; margin: 16px 0 22px; }
.esg-outlook-body { max-width: 720px; margin: 0 auto; font-size: 16px; line-height: 1.95; color: rgba(255,255,255,0.74); }

.news-list { border-top: 1px solid var(--border); }
.news-list-row { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) 260px 42px; gap: 30px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--border); }
.news-list-date span { display: block; font-family: var(--serif-display); font-size: 28px; color: var(--navy); line-height: 1; }
.news-list-date small { display: block; margin-top: 9px; font-family: var(--label); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.news-list-copy h3 { font-family: var(--serif-sc); font-weight: 600; font-size: clamp(20px, 2.1vw, 28px); color: var(--navy); line-height: 1.35; margin: 0 0 10px; transition: color .3s; }
.news-list-copy p { font-size: 14.5px; line-height: 1.8; color: var(--muted); margin: 0; }
.news-list-img { aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.news-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.6,.2,1); }
.news-list-arrow { font-family: var(--serif-display); font-size: 24px; color: var(--gold); transition: transform .3s; }
.news-list-row:hover .news-list-copy h3 { color: var(--gold); }
.news-list-row:hover .news-list-img img { transform: scale(1.05); }
.news-list-row:hover .news-list-arrow { transform: translateX(6px); }

/* --- newsroom hysan-style list --- */
.wrap.narrow-lg { max-width: 1040px; }
.nh-filter { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 2px solid var(--navy); }
.nh-fields { display: flex; gap: 30px; flex-wrap: wrap; }
.nh-field { display: flex; flex-direction: column; gap: 8px; }
.nh-field span { font-family: var(--label); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.nh-field select { font-family: var(--serif-sc); font-size: 16px; color: var(--navy); background: transparent; border: none; border-bottom: 1px solid var(--border); padding: 6px 30px 8px 2px; min-width: 150px; cursor: pointer; -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: right 10px center, right 5px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.nh-field select:focus { outline: none; border-bottom-color: var(--gold); }
.nh-count { font-family: var(--label); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nh-list { margin-top: 4px; }
.nh-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 40px; gap: 28px; align-items: center; padding: 30px 6px 30px 2px; border-bottom: 1px solid var(--border); text-decoration: none; transition: padding .35s cubic-bezier(.2,.6,.2,1), background .35s; }
.nh-row:hover { background: linear-gradient(90deg, rgba(176,137,74,0.06), transparent 70%); padding-left: 16px; }
.nh-date { font-family: var(--serif-display); font-size: 21px; color: var(--gold); letter-spacing: .02em; }
.nh-tag { display: inline-block; font-family: var(--label); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: 4px 10px; margin-bottom: 12px; }
.nh-title { font-family: var(--serif-sc); font-weight: 600; font-size: clamp(18px, 1.8vw, 23px); color: var(--navy); line-height: 1.4; margin: 0; transition: color .3s; }
.nh-row:hover .nh-title { color: var(--gold-dark, #8a6a2f); }
.nh-arrow { font-family: var(--serif-display); font-size: 22px; color: var(--gold); text-align: right; transition: transform .35s; }
.nh-row:hover .nh-arrow { transform: translateX(6px); }
.nh-empty { padding: 40px 0; text-align: center; color: var(--muted); font-size: 15px; }


@media (max-width: 980px) {
  .ceo-grid { grid-template-columns: 1fr; gap: 44px; }
  .gl-grid, .esg-grid { grid-template-columns: 1fr; gap: 36px; }
  .gl-sec.reverse .gl-media, .esg-sec.reverse .esg-media { order: 0; }
  .gl-facts-grid, .sustain-grid { grid-template-columns: 1fr 1fr; }
  .news-list-row { grid-template-columns: 110px minmax(0, 1fr) 180px 30px; gap: 22px; }
  .roles-grid { grid-template-columns: 1fr; }
  .members-grid { grid-template-columns: 1fr 1fr; }
  .ms-line::before { left: 18px; }
  .ms-line::after { left: 18px; }
  .ms-item, .ms-item.right { width: 100%; margin-left: 0; padding: 0 0 40px 48px; }
  .ms-dot, .ms-item.right .ms-dot { left: 11px; right: auto; }
  /* 單列時兩側卡片統一從左滑入 */
  .ms-item.right[data-revealable] .ms-card { transform: translateX(-46px); }
  .ms-item.right[data-revealable].is-visible .ms-card { transform: none; }
}
@media (max-width: 720px) {
  .gl-facts-grid, .sustain-grid { grid-template-columns: 1fr; }
  .gl-fact { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); }
  .gl-fact:first-child { border-top: none; }
  .news-list-row { grid-template-columns: 1fr; gap: 16px; }
  .news-list-img { order: -1; }
  .news-list-arrow { display: none; }
  .nh-row { grid-template-columns: 88px minmax(0, 1fr) 24px; gap: 16px; padding: 22px 2px; }
  .nh-date { font-size: 16px; }
  .nh-arrow { font-size: 18px; }
}
@media (max-width: 860px) {
  .nav-links .nav-item { display: none; }
}

/* ============================================================
   JM Enigma 2 — stable pages, disclosure navigation and profiles
   ============================================================ */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 104px; }
:where(a, button, select, input):focus-visible { outline: 3px solid #d7ad63; outline-offset: 4px; }

.nav-toggle { display: none; }
.nav-disclosure {
  width: 28px; height: 28px; margin-left: 2px; padding: 0;
  border: 0; background: transparent; color: rgba(255,255,255,.86); cursor: pointer;
}
.site-nav.solid .nav-disclosure { color: var(--navy); }
.nav-disclosure span { display: inline-block; transition: transform .22s ease; }
.nav-disclosure[aria-expanded="true"] span { transform: rotate(180deg); }
.nav-item.has-sub.is-open .nav-sub,
.nav-item.has-sub:hover .nav-sub,
.nav-item.has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.businesses-page { padding-top: 72px; }
.businesses-intro { max-width: 760px; margin: 0 0 48px; }
.company-title { font-size: clamp(28px,3.2vw,44px); }
.ceo-page-heading { font-size: clamp(28px,3.2vw,44px); }
.ceo-role-primary { margin: 0 0 22px; color: var(--navy); font-family: var(--serif-sc); font-size: 18px; }
.ceo-sign img { width: min(190px, 100%); height: auto; object-fit: contain; }
.detail-hero > img, .detail-figure > img { width: 100%; height: 100%; object-fit: cover; }

.member-card-link { position: relative; display: block; text-align: left; color: inherit; }
.member-card-link .member-photo { padding: 0; border-style: solid; overflow: hidden; }
.member-card-link .member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.member-card-link:hover .member-photo img { transform: scale(1.035); }
.member-card-copy { padding-right: 28px; }
.member-role { margin-top: 5px; color: var(--muted); font-size: 13px; }
.member-arrow { position: absolute; right: 0; bottom: 3px; color: var(--gold); font-size: 22px; transition: transform .25s ease; }
.member-card-link:hover .member-arrow { transform: translateX(5px); }
.member-card-reserved { color: var(--muted); }
.member-profile { background: var(--cream); padding: clamp(78px, 9vw, 124px) 0; }
.member-profile-grid { display: grid; grid-template-columns: minmax(280px, .78fr) 1.22fr; gap: clamp(44px, 7vw, 100px); align-items: start; }
.member-profile-photo { overflow: hidden; background: var(--navy); }
.member-profile-photo img { display: block; width: 100%; height: auto; }
.member-profile-role { font-family: var(--serif-display); font-size: clamp(28px, 3vw, 44px); color: var(--navy); margin: 0 0 28px; }

.nh-row { grid-template-columns: 138px minmax(0, 1fr) 32px; }
.nh-date { display: flex; flex-direction: column; gap: 10px; align-self: start; padding-top: 6px; }
.nh-event { font-family: var(--sans); font-size: 11px; line-height: 1.5; color: var(--muted); }
.nh-title a { color: inherit; text-decoration: none; }
.nh-title a::after { content: ''; position: absolute; inset: 0; }
.nh-row { position: relative; }
.nh-main { position: relative; z-index: 1; }
.nh-source { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; }
.nh-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); }
.nh-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.nh-row:hover .nh-media img { transform: scale(1.035); }

.route-error { min-height: 74vh; display: flex; align-items: center; padding: 160px 0 90px; background: var(--navy-deep); color: #fff; }
.route-error-inner { text-align: center; }
.route-error h1, .notfound-title { margin: 12px 0 18px; font-family: var(--serif-display); font-size: clamp(38px, 6vw, 72px); }
.route-error p { margin: 0 auto 32px; color: rgba(255,255,255,.76); }
.notfound-title { color: #fff; }

@media (max-width: 700px) {
  .brand-zh { display: none; }
}

/* 橫向導覽真實需要約 1240px；低於 1180px 一律切換為選單，避免導覽項被逐字折行。 */
@media (max-width: 1180px) {
  .nav-inner { height: 76px; }
  .brand-logo { height: 36px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.5);
    padding: 9px 12px; font-family: var(--label); letter-spacing: .1em; cursor: pointer;
  }
  .site-nav.solid .nav-toggle { color: var(--navy); border-color: var(--navy); }
  .nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after { display: block; width: 18px; height: 1px; background: currentColor; content: ''; transition: transform .2s; }
  .nav-toggle-icon { position: relative; }
  .nav-toggle-icon::before { position: absolute; top: -5px; }
  .nav-toggle-icon::after { position: absolute; top: 5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-5px) rotate(-45deg); }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 76px; max-height: calc(100vh - 76px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 14px var(--gutter) 24px;
    background: #0e1626; border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .site-nav.solid .nav-links { background: #f6f3ec; border-color: var(--border); }
  .nav-links.is-open { display: flex; }
  .nav-links .nav-item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-nav.solid .nav-links .nav-item { border-color: var(--border); }
  .nav-links .nav-link { display: block; flex: 1; padding: 15px 0; font-size: 14px; }
  .nav-disclosure { width: 44px; height: 44px; }
  .nav-sub, .nav-item.has-sub:hover .nav-sub, .nav-item.has-sub:focus-within .nav-sub {
    position: static; display: none; flex: 0 0 100%; min-width: 0; transform: none; opacity: 1; visibility: visible;
    padding: 0 0 12px 16px; border: 0; box-shadow: none; background: transparent; backdrop-filter: none;
  }
  .nav-item.has-sub.is-open .nav-sub { display: block; transform: none; }
  .nav-sub a { padding: 10px 0; }
  .lang-btn { margin-top: 16px; align-self: flex-start; }
}

@media (max-width: 860px) {
  .member-profile-grid { grid-template-columns: 1fr; }
  .member-profile-photo { max-width: 560px; }
  .nh-row { grid-template-columns: 110px minmax(0, 1fr) 28px; gap: 18px; }
  .home-divisions-head { grid-template-columns: 1fr; gap: 24px; }
  .home-divisions-head .eyebrow, .home-divisions-head .rule { grid-column: auto; }
  .home-divisions-head .rule { margin-top: -12px; }
}

@media (max-width: 680px) {
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero-title { font-size: clamp(40px, 13vw, 64px); }
  .nh-row { grid-template-columns: 1fr 24px; gap: 14px; padding: 24px 2px; }
  .nh-date { grid-column: 1; flex-direction: row; align-items: baseline; flex-wrap: wrap; }
  .nh-main { grid-column: 1; }
  .nh-date { grid-row: 1; }
  .nh-main { grid-row: 2; }
  .nh-arrow { grid-column: 2; grid-row: 2; }
  .detail-wrap { padding: 76px 0 68px; }
  .detail-title { margin-top: 34px; }
  .esg-detail-points li { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
  .contact-email { font-size: 23px; overflow-wrap: anywhere; }
  .newsletter-card { padding: 30px 24px; }
  .newsletter-form button { padding: 0 16px; }
  .members-grid { grid-template-columns: 1fr; }
}

/* =================== 寬螢幕／投影 =================== */
/* 內容欄寬與導覽尺度隨大螢幕上調，避免在會議室投影時變成正中一條窄帶。 */
@media (min-width: 1680px) {
  :root { --maxw: 1520px; --gutter: 60px; }
  .nav-inner { height: 100px; }
  .brand-logo { height: 64px; }
  [id] { scroll-margin-top: 120px; }
}
@media (min-width: 2200px) {
  :root { --maxw: 1660px; --gutter: 76px; }
  .nav-inner { height: 108px; }
  .brand-logo { height: 72px; }
  [id] { scroll-margin-top: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
