/* ALLWELL — 標題/選單 #0078cc；品牌漸變 #405da9 → #36bde9 */

:root {
  --color-brand: #405da9;
  --color-brand-accent: #36bde9;
  --color-brand-dark: #2f4780;
  --color-brand-rgb: 64, 93, 169;
  --color-brand-accent-rgb: 54, 189, 233;
  --gradient-brand: linear-gradient(135deg, #405da9 0%, #36bde9 100%);
  --gradient-brand-v: linear-gradient(180deg, #405da9 0%, #36bde9 100%);

  --color-heading: #0078cc;
  --color-menu: #0078cc;
  --color-menu-rgb: 0, 120, 204;

  --color-primary: #405da9;
  --color-accent: #36bde9;
  --color-primary-dark: #2f4780;
  --color-primary-rgb: 64, 93, 169;
  --color-accent-rgb: 54, 189, 233;

  --text: #2c2a27;
  --text-muted: #6d6761;
  --border: #e7e3dd;
  --bg-muted: #f4f1ec;
  --surface-warm: #faf8f5;
  --banner-panel-bg: rgba(255, 252, 249, 0.68);
  --banner-panel-border: rgba(44, 42, 39, 0.1);
  --white: #fff;
  --wrap: 1320px;

  /* 內容圖標準比例（sales 分欄等；其他頁共用） */
  --media-ratio: 16 / 10;
}

/* 標題：統一鮮藍 */
.site-banner__title,
.site-banner__link-title,
.ref-sec-head__title,
.ref-svc__title,
.ref-splitwide__title,
.ref-splitfeat__title,
.ref-tri__title,
.ref-aboutsplit__title,
.ref-contact__title,
.ref-clientlogos__title,
.site-head__mega-cat,
.site-head__mega-tile-group-head,
.site-head__mega-tile-group-head a,
.pg-band__title,
.pg-chapter__title,
.pg-prose__title,
.pg-services-head__title,
.pg-team-head__title,
.ref-page-block__title,
.ref-page-card__title,
.pg-tile__title,
.pg-split__title,
.pg-hero__title,
.pg-mgmt-panel__title,
.pg-mgmt-adv__title {
  color: var(--color-heading);
}

/* 英文小標（kicker） */
.pg-services-head__kicker,
.pg-team-head__kicker,
.pg-chapter__kicker,
.pg-prose__kicker,
.pg-licenses__kicker {
  display: inline-block;
  padding: 0;
  letter-spacing: 0.08em;
}

/* 主選單 */
.site-head__nav > a,
.site-head__dd-btn {
  color: var(--color-menu);
}

.site-head__nav > a:hover,
.site-head__dd-btn:hover,
.site-head__dd-btn:focus-visible {
  color: var(--color-brand-accent);
}

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

html {
  scroll-behavior: smooth;
  --mega-top: 96px;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: var(--color-primary);
  color: var(--white);
  z-index: 3000;
}

.ref-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.ref-narrow {
  max-width: 720px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Header：白底兩行（Logo → 選單 + 語言 + 搜尋） ----- */
.site-head {
  --site-head-v-gap: clamp(14px, 2.8vw, 20px);
  position: relative;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-head__inner {
  padding: 0;
}

.site-head__row--logo {
  padding: var(--site-head-v-gap) 0 0;
  border-bottom: none;
}

.site-head__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 1.6vw, 16px);
}

.site-head__logo {
  display: inline-block;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.site-head__logo img {
  display: block;
  height: auto;
  width: auto;
  max-height: clamp(28px, 4.2vw, 48px);
  max-width: min(100%, clamp(280px, 72vw, 480px));
}

.site-head__row--nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: var(--site-head-v-gap) 0 var(--site-head-v-gap);
  border-top: none;
  position: relative;
}

.site-head__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex: 1 1 auto;
  gap: 0 clamp(20px, 3.2vw, 44px);
}

.site-head__nav a {
  padding: 6px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-radius: 2px;
}

.site-head__nav a:hover {
  color: var(--color-brand-accent);
}

/* 主選單：下拉（桌面 hover/focus；手機按掣展開） */
.site-head__dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-head__dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 0;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}

.site-head__dd-btn:hover,
.site-head__dd-btn:focus-visible {
  color: var(--color-brand-accent);
  outline: none;
}

.site-head__dd-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.65;
}

.site-head__dd-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  min-width: 240px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #3d4248;
  border-radius: 2px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-head__dd-panel::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid var(--color-accent);
}

.site-head__dd-panel:not(.site-head__dd-panel--mega) a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  white-space: nowrap;
}

.site-head__dd-panel:not(.site-head__dd-panel--mega) a:hover,
.site-head__dd-panel:not(.site-head__dd-panel--mega) a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  outline: none;
}

/* 業務範疇：全寬 mega（白底、分欄、精選；桌面 fixed 頂位用 --mega-top） */
.site-head__dd-panel--mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--mega-top, 96px);
  z-index: 220;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: none;
  background: var(--white);
  border-radius: 0;
  box-shadow: 0 12px 40px rgba(15, 20, 25, 0.12);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-head__dd-panel--mega::before {
  display: none;
}

.site-head__mega-head {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.site-head__mega-head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-height: 48px;
  padding: 10px 24px;
}

.site-head__mega-crumb {
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

.site-head__mega-crumb:hover {
  color: var(--color-heading);
}

.site-head__mega-crumb-sep {
  color: #c5cad4;
  font-size: 13px;
  user-select: none;
}

.site-head__mega-close {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.site-head__mega-close:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.site-head__mega-body {
  padding: clamp(20px, 3vw, 32px) 24px clamp(24px, 4vw, 40px);
}

.site-head__mega-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

/* 子項較少：單欄內容寬度 */
@media (min-width: 961px) {
  .site-head__mega-grid:has(> .site-head__mega-cols--single) {
    grid-template-columns: minmax(0, 1fr);
    max-width: min(420px, 40vw);
  }
}

.site-head__mega-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
}

/* 子選單較少時：單欄，避免強制三欄留白 */
.site-head__mega-cols--single {
  grid-template-columns: minmax(0, min(320px, 34vw));
  max-width: 100%;
}

.site-head__mega-lead {
  margin: 0 0 14px;
  padding: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 34ch;
}

.site-head__mega-col {
  min-width: 0;
}

.site-head__dd-panel--mega .site-head__mega-cat {
  display: block;
  padding: 0 0 10px;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-heading) !important;
  white-space: normal;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.site-head__dd-panel--mega .site-head__mega-sub {
  display: block;
  padding: 6px 0;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text) !important;
  white-space: normal;
}

.site-head__dd-panel--mega a.site-head__mega-sub:hover,
.site-head__dd-panel--mega a.site-head__mega-sub:focus-visible {
  background: transparent;
  color: var(--color-accent) !important;
}

.site-head__dd-panel--mega a.site-head__mega-cat:hover,
.site-head__dd-panel--mega a.site-head__mega-cat:focus-visible {
  background: transparent;
  color: var(--color-accent) !important;
}

.site-head__dd-panel--mega .site-head__mega-cat--static {
  cursor: default;
  pointer-events: none;
}

.site-head__mega-spot {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-warm);
}

.site-head__mega-spot-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.site-head__mega-spot-title {
  margin: 14px 16px 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.site-head__mega-spot-desc {
  margin: 0 16px 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.site-head__mega-spot-more {
  display: inline-block;
  margin: 0 16px 16px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--text);
  border-radius: 2px;
  text-decoration: none;
}

.site-head__mega-spot-more:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

@media (min-width: 961px) and (max-width: 1100px) {
  /* 僅多欄業務範疇在窄桌面改直向；少項目改為「連結全寬 + 圖文卡全寬」避免擠迫 */
  .site-head__mega-grid:not(:has(> .site-head__mega-cols--single)) {
    grid-template-columns: 1fr;
  }

  .site-head__mega-grid:not(:has(> .site-head__mega-cols--single)) .site-head__mega-spot {
    max-width: 320px;
  }

  .site-head__mega-grid:has(> .site-head__mega-cols--single) {
    grid-template-columns: 1fr;
  }

  .site-head__mega-grid:has(> .site-head__mega-cols--single) .site-head__mega-spot {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .site-head__mega-grid:has(> .site-head__mega-cols--single) .site-head__mega-spot-img {
    grid-column: 1;
    grid-row: 1;
    min-height: clamp(160px, 28vw, 220px);
    aspect-ratio: 21 / 9;
  }

  .site-head__mega-grid:has(> .site-head__mega-cols--single) .site-head__mega-spot-title,
  .site-head__mega-grid:has(> .site-head__mega-cols--single) .site-head__mega-spot-desc,
  .site-head__mega-grid:has(> .site-head__mega-cols--single) .site-head__mega-spot-more {
    grid-column: 1;
  }

  .site-head__mega-grid:has(> .site-head__mega-cols--single) .site-head__mega-spot-title {
    margin: 14px 16px 6px;
  }

  .site-head__mega-grid:has(> .site-head__mega-cols--single) .site-head__mega-spot-desc {
    margin: 0 16px 14px;
    max-width: none;
  }

  .site-head__mega-grid:has(> .site-head__mega-cols--single) .site-head__mega-spot-more {
    margin: 0 16px 16px;
  }
}

@media (min-width: 961px) {
  .site-head__dd:not(.site-head__dd--mega):hover .site-head__dd-panel:not(.site-head__dd-panel--mega),
  .site-head__dd:not(.site-head__dd--mega):focus-within .site-head__dd-panel:not(.site-head__dd-panel--mega) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-head__dd--mega.is-pinned .site-head__dd-panel--mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-head__dd--mega.is-pinned .site-head__dd-btn {
    color: var(--color-menu);
    box-shadow: inset 0 -2px 0 var(--color-brand-accent);
  }
}

.site-head__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-head__lang {
  padding: 6px 28px 6px 10px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235c6470' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.site-head__lang:hover {
  color: var(--color-primary);
}

.site-head__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 2px;
}

.site-head__search:hover {
  color: var(--color-primary);
}

.site-head__burger {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 2px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.site-head__burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--color-primary);
}

@media (max-width: 960px) {
  .site-head__burger {
    display: flex;
    order: 1;
  }

  .site-head__tools {
    order: 2;
    margin-left: auto;
  }

  .site-head__nav {
    order: 3;
    flex: 1 0 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border-top: none;
  }

  body.ref-nav-open .site-head__nav {
    display: flex;
  }

  .site-head__nav > a,
  .site-head__dd-btn {
    padding: 10px 0;
    font-size: 14px;
  }

  .site-head__dd {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .site-head__dd-btn {
    justify-content: space-between;
    width: 100%;
    text-align: left;
  }

  .site-head__dd-panel {
    position: static;
    transform: none;
    left: auto;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 0 0 4px;
    padding: 4px 0 8px;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: #2f3338;
  }

  .site-head__dd-panel::before {
    display: none;
  }

  .site-head__dd.is-open .site-head__dd-panel {
    display: block;
  }

  .site-head__dd-panel:not(.site-head__dd-panel--mega) a {
    padding: 10px 12px 10px 18px;
    font-size: 13px;
    white-space: normal;
  }

  .site-head__dd-panel--mega {
    position: static;
    width: 100%;
    top: auto;
    padding: 0;
    background: #2f3338;
    box-shadow: none;
    border-bottom: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-head__mega-head {
    display: none;
  }

  .site-head__mega-body {
    padding: 4px 0;
  }

  .site-head__mega-grid {
    display: block;
  }

  .site-head__mega-cols {
    display: block;
  }

  .site-head__mega-col {
    padding: 4px 0 10px;
    margin: 0 0 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-head__mega-col:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
  }

  .site-head__mega-spot {
    display: none;
  }

  .site-head__dd-panel--mega .site-head__mega-cat {
    border-bottom: none;
    padding: 10px 12px 6px;
    color: rgba(255, 255, 255, 0.95) !important;
  }

  .site-head__dd-panel--mega .site-head__mega-sub {
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .site-head__mega-lead {
    padding: 0 12px 10px 18px;
    margin: 0 0 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72) !important;
    max-width: none;
  }

  .site-head__dd-panel--mega a.site-head__mega-sub:hover,
  .site-head__dd-panel--mega a.site-head__mega-cat:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.08);
  }
}

/* ----- Banner：底圖 40.png + 白卡靠下、部分疊出（參考瑞銀上下位置） ----- */
.site-banner {
  width: 100%;
  background: #0f1419;
  overflow: visible;
}

.site-banner__viewport {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  overflow: visible;
}

/* 首頁 banner — 白框靠下並部分疊出（還原修改前版型） */
.page-home .site-banner {
  overflow: visible;
}

.page-home .site-banner__viewport {
  min-height: clamp(340px, 48vw, 560px);
  max-height: min(600px, 90vh);
  padding: 0 clamp(12px, 2.5vw, 24px) clamp(6px, 1.2vw, 14px);
}

.page-home .site-banner__content {
  transform: translateY(calc(clamp(40px, 7.5vw, 96px) + 130px));
}

.page-home main > #explore.ref-section {
  padding-top: calc(clamp(96px, 18vw, 160px) + 130px);
  /* 底部留白對齊「白框 → 標題 → 卡片」整體節奏，避免卡片貼住下方全寬圖 */
  padding-bottom: clamp(72px, 10vw, 120px);
}

.site-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.site-banner__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.site-banner__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-banner__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.site-banner__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-banner__arrows {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(10px, 2vw, 22px);
  pointer-events: none;
}

.site-banner__arrow {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 4.5vw, 48px);
  height: clamp(40px, 4.5vw, 48px);
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(15, 20, 25, 0.38);
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-banner__arrow:hover,
.site-banner__arrow:focus-visible {
  background: rgba(15, 20, 25, 0.58);
  border-color: #fff;
  outline: none;
}

.site-banner__dots {
  position: absolute;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(12px, 2.2vw, 18px);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.site-banner__dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.site-banner__dot.is-active {
  background: #fff;
}

.site-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(1000px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3.5vw, 36px);
  min-height: clamp(168px, 22vw, 220px);
  background: #fffcf9;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--banner-panel-border);
}

.site-banner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: stretch;
}

@media (max-width: 768px) {
  .site-banner__grid {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 32px);
  }

  .site-banner__col--nav {
    border-top: 1px solid var(--border);
    padding-top: clamp(16px, 3vw, 24px);
  }
}

/* 左欄：直線 + 標題（參考瑞銀白卡） */
.site-banner__col--text {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 2.5vw, 22px);
  min-width: 0;
}

.site-banner__accent {
  flex: 0 0 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--gradient-brand-v);
}

.site-banner__copy {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.site-banner__eyebrow {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.site-banner__title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.site-banner__lead {
  margin: 0;
  font-size: clamp(0.9375rem, 1.75vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 36em;
}

.site-banner__intro {
  margin: clamp(12px, 2vw, 18px) 0 0;
  font-size: clamp(0.875rem, 1.45vw, 0.96875rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 32em;
}

/* 右欄：分隔線列表 + 箭咀 */
.site-banner__col--nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.site-banner__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-banner__links li {
  border-top: 1px solid var(--border);
}

.site-banner__links li:first-child {
  border-top: none;
}

.site-banner__links a,
.site-banner__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 2.2vw, 18px) 2px clamp(14px, 2.2vw, 18px) 0;
  color: var(--text);
  text-decoration: none;
}

.site-banner__link-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.site-banner__link-title {
  display: block;
  font-size: clamp(0.9375rem, 1.65vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.3;
}

.site-banner__link-sub {
  display: block;
  font-size: clamp(0.75rem, 1.35vw, 0.8125rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
}

.site-banner__links a:hover,
.site-banner__link:hover {
  color: inherit;
}

.site-banner__link:hover .site-banner__link-title {
  color: var(--color-brand-accent);
}

.site-banner__link:hover .site-banner__link-sub {
  color: var(--text-muted);
}

.site-banner__chev {
  flex-shrink: 0;
  align-self: center;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-top: 0;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
}

.site-banner__link:hover .site-banner__chev {
  border-color: var(--color-accent);
}

@media (max-width: 480px) {
  .page-home .site-banner__viewport {
    min-height: clamp(300px, 70vw, 420px);
    max-height: none;
  }

  .page-home .site-banner__content {
    transform: translateY(calc(clamp(28px, 6vw, 56px) + 130px));
  }

  .page-home main > #explore.ref-section {
    padding-top: calc(clamp(72px, 20vw, 120px) + 130px);
  }
}

.ref-section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.ref-section--white {
  background: var(--white);
}

.ref-section--muted {
  background: var(--bg-muted);
}

.ref-page-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 clamp(16px, 2.5vw, 24px);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.ref-page-crumb a {
  color: var(--color-menu);
  text-decoration: none;
}

.ref-page-crumb a:hover {
  text-decoration: underline;
}

.ref-page-crumb__sep {
  color: var(--border);
  user-select: none;
}

.ref-page-crumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

/* ----- 內頁 UBS 風格版面 ----- */
.page-inner .site-head {
  position: relative;
  z-index: 20;
}

/* 內頁沿用首頁 header 暖色底 */
.page-about-company .site-head {
  background: #fffcf9;
}

.page-services .site-head {
  background: #fffcf9;
}

.page-about-company .ref-svc__card {
  border-radius: 6px;
}

.page-team .site-head {
  background: #fffcf9;
}

.page-about-company #overview.pg-band,
.page-services #overview.pg-band,
.page-team #overview.pg-band,
.page-team #doj-case.pg-band,
.page-team #funds-spv.pg-band,
.page-team #shareholders.pg-band {
  padding-top: clamp(40px, 6vw, 64px);
}

.pg-services-prose > * + * {
  margin-top: clamp(32px, 5vw, 48px);
}

.pg-services-head {
  max-width: 52rem;
}

.pg-services-head__kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-menu);
}

.pg-services-head__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}

.pg-services-head__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.pg-services-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 3.5vw, 44px);
  align-items: start;
}

.pg-services-hero__media {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-warm);
  border: 1px solid var(--border);
}

.pg-services-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.pg-services-hero__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(16px, 2vw, 20px);
  align-items: start;
}

.pg-services-hero__main:has(.pg-services-hero__highlight) {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
}

.pg-services-hero__copy .ref-page-block__title {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
}

.pg-services-hero__copy .ref-page-block__text {
  margin-bottom: 16px;
  max-width: 44ch;
}

.pg-services-hero__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.pg-services-hero__list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

.pg-services-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-menu);
}

.pg-services-hero__highlight {
  padding: clamp(18px, 2.2vw, 22px);
  border-radius: 10px;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pg-services-hero__highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-menu);
  background: rgba(var(--color-menu-rgb), 0.1);
}

.pg-services-hero__highlight h4 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  color: var(--color-heading);
}

.pg-services-hero__highlight p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.pg-services-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.pg-services-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.pg-services-points li:last-child {
  border-bottom: none;
}

.pg-services-points__icon {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-menu);
}

.pg-services-points strong {
  font-size: 0.95rem;
  color: var(--text);
}

.pg-services-points p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.pg-services-fund {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 12px;
  background: rgba(var(--color-menu-rgb), 0.06);
  border: 1px solid rgba(var(--color-menu-rgb), 0.12);
}

.pg-services-fund__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(16px, 2.5vw, 22px);
}

.pg-services-fund__head .ref-page-block__title {
  margin: 0;
}

.pg-services-fund__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  background: var(--color-heading);
}

.pg-services-fund__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pg-services-fund__list li {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(var(--color-menu-rgb), 0.14);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-heading);
}

@media (max-width: 700px) {
  .pg-services-fund__list {
    grid-template-columns: 1fr;
  }
}

.pg-services-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pg-services-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface-warm);
}

.pg-services-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-menu);
  background: rgba(var(--color-menu-rgb), 0.1);
}

.pg-services-steps strong {
  display: block;
  margin-top: 3px;
  font-size: 0.9rem;
  color: var(--text);
}

.pg-services-steps p {
  margin: 4px 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-services .ref-page-card {
  border: 1px solid rgba(231, 227, 221, 0.85);
  box-shadow: none;
  border-radius: 8px;
  background: #fff;
}

.page-services .ref-page-card__title {
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .pg-services-hero {
    grid-template-columns: 1fr;
  }

  .pg-services-hero__media {
    max-width: 340px;
  }

  .pg-services-hero__main {
    grid-template-columns: 1fr;
  }

  .pg-services-steps {
    grid-template-columns: 1fr;
  }
}

.pg-services-nav {
  padding-top: clamp(28px, 4vw, 40px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.pg-services-nav__back {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.pg-services-nav__back a {
  color: var(--color-menu);
  text-decoration: none;
}

.pg-services-nav__back a:hover {
  color: var(--color-brand-accent);
}

/* 內頁 banner — 全幅背景圖 + 左側白卡（較矮） */
.site-banner--inner {
  overflow: hidden;
  background: #0f1419;
}

.site-banner--inner .site-banner__viewport {
  align-items: stretch;
  min-height: clamp(300px, 28vw, 460px);
  max-height: min(500px, 42vh);
  padding: 0;
}

.site-banner--inner .site-banner__media {
  border-radius: 0;
}

.site-banner--inner .site-banner__img {
  object-position: center 40%;
}

.site-banner--inner-card .site-banner__viewport {
  align-items: center;
  justify-content: center;
  padding: 0;
}

.site-banner--inner-card .site-banner__content-shell {
  position: relative;
  z-index: 2;
  width: 100%;
}

.site-banner--inner-card .site-banner__content--inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(720px, 100%);
  margin: 0;
  padding: clamp(32px, 4.5vw, 48px) clamp(24px, 3.5vw, 40px);
  min-height: clamp(180px, 24vw, 240px);
  background: var(--banner-panel-bg);
  border-radius: 0;
  box-shadow: 0 8px 28px rgba(44, 42, 39, 0.08);
  border: none;
  transform: none;
}

.site-banner--inner-card .site-banner__title {
  color: var(--color-heading);
}

.site-banner--inner-card .site-banner__lead {
  color: var(--text-muted);
}

.site-banner--inner-card .site-banner__intro {
  color: var(--text);
}

.site-banner--inner-card .site-banner__accent {
  background: var(--gradient-brand-v);
}

@media (max-width: 768px) {
  .site-banner--inner .site-banner__viewport {
    min-height: clamp(280px, 42vw, 380px);
    max-height: min(420px, 38vh);
  }

  .site-banner--inner-card .site-banner__content--inner {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .site-banner--inner .site-banner__viewport {
    min-height: clamp(260px, 48vw, 340px);
    max-height: none;
  }
}

/* 專業團隊：統計數字、基金往績 */
.pg-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 720px) {
  .pg-stats {
    grid-template-columns: 1fr;
  }
}

.pg-stat {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-muted);
  text-align: center;
}

.pg-stat__num {
  display: block;
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-heading);
}

.pg-stat__label {
  display: block;
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.pg-stat__sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.pg-fund-deck {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
}

.pg-fund-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pg-fund-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pg-fund-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pg-fund-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 16px);
}

@media (max-width: 1200px) {
  .pg-fund-grid--4,
  .pg-fund-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pg-fund-grid,
  .pg-fund-grid--3,
  .pg-fund-grid--4,
  .pg-fund-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pg-fund-grid,
  .pg-fund-grid--3,
  .pg-fund-grid--4,
  .pg-fund-grid--5 {
    grid-template-columns: 1fr;
  }
}

.pg-fund-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(44, 42, 39, 0.04);
  overflow: hidden;
}

.pg-fund-card--track {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.pg-fund-card__banner {
  margin: 0;
  padding: 10px 12px;
  font-size: clamp(0.75rem, 1.15vw, 0.875rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: var(--white);
  background: var(--color-heading);
  border-radius: 6px 6px 0 0;
}

.pg-fund-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 0;
  padding: clamp(18px, 2.5vw, 24px) clamp(14px, 2vw, 18px) clamp(16px, 2vw, 20px);
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(var(--color-menu-rgb), 0.28);
  border-top: none;
  border-radius: 0 0 6px 6px;
}

.pg-fund-card__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 48px;
  margin: 0 0 8px;
  object-fit: contain;
  object-position: center;
}

.pg-fund-card__logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2c2a27;
}

.pg-band--muted .pg-fund-card {
  background: var(--white);
}

.pg-fund-card--track .pg-fund-card__type {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  color: var(--text-muted);
}

.pg-fund-card--track .pg-fund-card__name {
  margin: 0;
  flex: 0 0 auto;
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-heading);
}

.pg-fund-card--track .pg-fund-card__year {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pg-fund-card__type {
  margin: 0 0 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: var(--color-menu);
}

.pg-fund-card__name {
  margin: 0 0 8px;
  flex: 1;
  font-size: clamp(0.75rem, 1.1vw, 0.8125rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-heading);
}

.pg-fund-card__year {
  margin: 0 0 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pg-fund-card__meta {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.pg-fund-card__desc {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* 卓越往績 — 相冊預留 */
.pg-gallery__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 1024px) {
  .pg-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pg-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pg-gallery__item {
  margin: 0;
}

.pg-gallery__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 4 / 3;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: var(--surface-warm);
  text-align: center;
}

.pg-band--muted .pg-gallery__placeholder {
  background: var(--white);
}

.pg-gallery__placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(var(--color-menu-rgb), 0.08);
  color: var(--color-menu);
}

.pg-gallery__placeholder-icon svg {
  width: 20px;
  height: 20px;
}

.pg-gallery__placeholder-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pg-gallery__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.pg-track-section .ref-page-note {
  margin-top: clamp(20px, 3vw, 28px);
  text-align: center;
}

.pg-track-case__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 28px);
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: 0;
  list-style: none;
}

.pg-track-case__grid li {
  margin: 0;
  min-width: 0;
}

.pg-track-case__zoom {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 4px;
  overflow: hidden;
}

.pg-track-case__zoom img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.08);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.pg-track-case__zoom-icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 20, 25, 0.62);
  color: #fff;
  opacity: 0.72;
  transform: scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease;
  pointer-events: none;
}

.pg-track-case__zoom:hover img,
.pg-track-case__zoom:focus-visible img {
  transform: scale(1.02);
  filter: brightness(0.92);
}

.pg-track-case__zoom:hover .pg-track-case__zoom-icon,
.pg-track-case__zoom:focus-visible .pg-track-case__zoom-icon {
  opacity: 1;
  transform: scale(1);
  background: rgba(15, 20, 25, 0.78);
}

.pg-track-case__ref {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text);
  word-break: break-all;
}

.pg-track-case__ref a {
  color: var(--color-menu);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pg-track-case__ref a:hover {
  color: var(--color-brand-accent);
}

@media (max-width: 720px) {
  .pg-track-case__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .pg-track-case__zoom-icon {
    opacity: 0.9;
  }
}

/* ----- 圖片放大 lightbox ----- */
html.pg-lightbox-open {
  overflow: hidden;
}

.pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
}

.pg-lightbox.is-open {
  display: flex;
}

.pg-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 25, 0.72);
  cursor: pointer;
}

.pg-lightbox__panel {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  line-height: 0;
}

.pg-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 20, 25, 0.72);
  color: #fff;
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
}

.pg-lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  background: transparent;
  border-radius: 4px;
}

.pg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.pg-tags li {
  padding: 6px 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-menu);
  background: rgba(var(--color-menu-rgb), 0.08);
  border-radius: 4px;
}

.pg-media-placeholder {
  margin: clamp(24px, 4vw, 36px) 0 0;
  padding: clamp(32px, 6vw, 48px);
  border: 1px dashed var(--border);
  border-radius: 6px;
  background: var(--bg-muted);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.pg-chapter__kicker {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-menu);
}

.pg-chapter__title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-heading);
}

.pg-chapter__lead {
  margin: 0 0 clamp(28px, 4vw, 40px);
  max-width: 36em;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted);
}

/* 內頁引言標題 */
.pg-prose__kicker {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-menu);
}

.pg-prose__title {
  margin: 0;
  max-width: 28em;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}

.pg-prose__rule {
  display: block;
  width: 56px;
  height: 3px;
  margin-top: clamp(20px, 3vw, 28px);
  border-radius: 2px;
  background: var(--gradient-brand);
}

.pg-tiles--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ref-page-list--licenses {
  max-width: 36rem;
}

/* 監管資質（公司簡介） */
.pg-licenses__head {
  margin: 0 0 clamp(28px, 4vw, 40px);
  text-align: center;
}

.pg-licenses__head .pg-band__title {
  margin-bottom: 0;
}

.pg-licenses__kicker {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-menu);
}

.pg-licenses__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.pg-licenses__figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(44, 42, 39, 0.08);
}

.pg-licenses__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 1000;
  object-fit: cover;
  object-position: center;
}

.pg-licenses__list {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pg-license-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.5vw, 24px);
}

.pg-license-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(52px, 7vw, 60px);
  height: clamp(52px, 7vw, 60px);
  border: 2px solid var(--color-heading);
  border-radius: 50%;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-heading);
  background: var(--white);
}

.pg-license-item__body {
  min-width: 0;
  padding-top: 4px;
}

.pg-license-item__type {
  margin: 0 0 8px;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.pg-license-item__name {
  margin: 0;
  font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
}

.pg-licenses__note {
  margin: clamp(24px, 3.5vw, 32px) 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .pg-licenses__layout {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 32px);
  }

  .pg-licenses__figure {
    max-width: min(420px, 100%);
    margin-inline: auto;
  }
}

/* 核心競爭優勢六格（PDF 第5頁） */
.pg-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 900px) {
  .pg-adv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pg-adv-grid {
    grid-template-columns: 1fr;
  }
}

.pg-adv-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}

.pg-band--muted .pg-adv-card {
  background: var(--white);
}

.pg-adv-card__title {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-heading);
}

.pg-adv-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

#advantages .pg-band__title {
  margin-top: 8px;
}

.pg-hero {
  position: relative;
  min-height: clamp(260px, 38vw, 420px);
  display: flex;
  align-items: flex-end;
  background: #1a2a44 center / cover no-repeat;
  background-image: var(--pg-hero-img), linear-gradient(135deg, #1a2a44 0%, #2a4a6e 100%);
}

.pg-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 28, 52, 0.82) 0%,
    rgba(10, 28, 52, 0.45) 55%,
    rgba(10, 28, 52, 0.25) 100%
  );
}

.pg-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(28px, 4vw, 48px) 24px clamp(36px, 5vw, 56px);
  color: var(--white);
}

.ref-page-crumb--hero {
  margin-bottom: clamp(16px, 2.5vw, 24px);
  color: rgba(255, 255, 255, 0.85);
}

.ref-page-crumb--hero a {
  color: rgba(255, 255, 255, 0.95);
}

.ref-page-crumb--hero [aria-current="page"] {
  color: var(--white);
}

.ref-page-crumb--hero .ref-page-crumb__sep {
  color: rgba(255, 255, 255, 0.45);
}

.pg-hero__title {
  margin: 0 0 12px;
  max-width: 16ch;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.pg-hero__lead {
  margin: 0;
  max-width: 40em;
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.pg-band {
  padding: clamp(48px, 7vw, 88px) 0;
  scroll-margin-top: 96px;
}

/* 資產管理頁：策略純圖；其餘分欄 16:9/字 18px */
.page-asset .pg-asset-slide {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(var(--color-primary-rgb), 0.12);
  background: var(--bg-muted);
}

.page-asset .pg-asset-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* 多元化投資策略：HTML 中心放射圖 */
.page-asset .pg-strategy-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 720;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.page-asset .pg-strategy-map__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.page-asset .pg-strategy-map__dot {
  position: absolute;
  z-index: 4;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #e8a06a;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.page-asset .pg-strategy-map__dot--n {
  left: 50%;
  top: 20.14%; /* 145/720 */
}

.page-asset .pg-strategy-map__dot--nw {
  left: 24.7%; /* 247/1000 */
  top: 25.97%; /* 187/720 */
}

.page-asset .pg-strategy-map__dot--w {
  left: 23.3%; /* 233/1000 */
  top: 50%;
}

.page-asset .pg-strategy-map__dot--sw {
  left: 24.7%;
  top: 74.03%; /* 533/720 */
}

.page-asset .pg-strategy-map__dot--s {
  left: 50%;
  top: 79.86%; /* 575/720 */
}

.page-asset .pg-strategy-map__dot--se {
  left: 75.3%; /* 753/1000 */
  top: 74.03%;
}

.page-asset .pg-strategy-map__dot--ne {
  left: 75.3%;
  top: 25.97%;
}

.page-asset .pg-strategy-map__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(168px, 21vw, 230px);
  height: clamp(168px, 21vw, 230px);
  padding: 18px 16px 14px;
  text-align: center;
  border-radius: 50%;
  background: #fff;
  border: 3px dashed rgba(var(--color-menu-rgb), 0.55);
  box-shadow: none;
  transform: translate(-50%, -50%);
}

.page-asset .pg-strategy-map__node {
  position: absolute;
  z-index: 2;
  width: min(260px, 27%);
  margin: 0;
  background: #fff;
}

.page-asset .pg-strategy-map__node--n {
  left: 50%;
  top: 1.5%;
  width: min(340px, 44%);
  padding: 0 8px 10px;
  text-align: center;
  transform: translateX(-50%);
}

.page-asset .pg-strategy-map__node--s {
  left: 50%;
  bottom: 1.5%;
  width: min(320px, 42%);
  padding: 10px 8px 0;
  text-align: center;
  transform: translateX(-50%);
}

.page-asset .pg-strategy-map__logo {
  display: block;
  width: auto;
  max-width: 82%;
  height: auto;
  max-height: 42px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.page-asset .pg-strategy-map__hub-label {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-heading);
}

.page-asset .pg-strategy-map__title {
  margin: 0 0 8px;
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-heading);
}

.page-asset .pg-strategy-map__text {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.6;
  color: var(--text);
}

.page-asset .pg-strategy-map__node--nw {
  left: 1.5%;
  top: 10%;
  width: min(250px, 26%);
  text-align: left;
}

.page-asset .pg-strategy-map__node--w {
  left: 1.5%;
  top: 50%;
  width: min(240px, 24%);
  text-align: left;
  transform: translateY(-50%);
}

.page-asset .pg-strategy-map__node--sw {
  left: 1.5%;
  bottom: calc(8% + 50px);
  width: min(250px, 26%);
  text-align: left;
}

.page-asset .pg-strategy-map__node--se {
  right: 1.5%;
  bottom: calc(8% + 50px);
  width: min(250px, 26%);
  text-align: right;
}

.page-asset .pg-strategy-map__node--ne {
  right: 1.5%;
  top: 12%;
  width: min(250px, 26%);
  text-align: right;
}

.page-asset .pg-split {
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.5vw, 48px);
  align-items: center;
}

.page-asset .pg-split__media,
.page-asset .pg-split__media img {
  aspect-ratio: 16 / 9;
}

.page-asset .pg-split__content,
.page-asset .pg-split__points li {
  font-size: 1.125rem; /* 18px */
  line-height: 1.7;
}

.page-asset .pg-split__copy {
  padding-top: 0;
}

@media (max-width: 900px) {
  .page-asset .pg-strategy-map {
    aspect-ratio: auto;
    min-height: 0;
    padding: 12px 0;
    display: grid;
    gap: 18px;
    background: transparent;
    border: 0;
  }

  .page-asset .pg-strategy-map__lines,
  .page-asset .pg-strategy-map__dot {
    display: none;
  }

  .page-asset .pg-strategy-map__hub,
  .page-asset .pg-strategy-map__node {
    position: static;
    width: 100%;
    transform: none;
    text-align: left;
  }

  .page-asset .pg-strategy-map__hub {
    width: 100%;
    height: auto;
    border-radius: 0;
    border: 0;
    border-bottom: 3px dashed rgba(var(--color-menu-rgb), 0.4);
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 8px 0 18px;
    background: transparent;
    box-shadow: none;
  }

  .page-asset .pg-strategy-map__logo {
    margin: 0;
    max-height: 32px;
  }

  .page-asset .pg-strategy-map__node {
    padding: 16px 0 0;
    border-top: 2px solid var(--border);
  }
}

/* 投資者關係頁：前兩段分欄；名單段用文字框 */
.page-ir .pg-split {
  align-items: start;
}

.page-ir .pg-split__media,
.page-ir .pg-split__media img {
  aspect-ratio: 1 / 1;
}

.page-ir .pg-split__media,
.page-ir .pg-ir-slide,
.page-ir .pg-ir-clients-logo,
.page-ir .pg-ir-clients-logo img,
.page-ir .pg-split__media img {
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

.page-ir .pg-split__media {
  overflow: visible;
}

.page-ir .pg-split__media--pending {
  margin: 0;
  border-radius: 6px;
  border: 1px dashed var(--border);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(var(--color-menu-rgb), 0.04) 10px,
      rgba(var(--color-menu-rgb), 0.04) 20px
    ),
    var(--bg-muted);
}

.page-ir .pg-split__media--pending::after {
  content: "圖片稍後更新";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
}

.page-ir .pg-split__content,
.page-ir .pg-split__points li {
  font-size: 1.125rem; /* 18px */
  line-height: 1.65;
}

.page-ir .pg-split__copy {
  padding-top: 4px;
}

.page-ir .pg-ir-listhead {
  margin: 0 0 clamp(18px, 2.5vw, 24px);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}

.page-ir .pg-ir-clients-logo {
  margin: 0;
}

.page-ir .pg-ir-clients-logo--stack {
  margin-top: clamp(16px, 2.5vw, 24px);
}

.page-ir .pg-ir-clients-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.page-ir .pg-ir-box__sub--spaced {
  margin-top: clamp(24px, 3.5vw, 36px);
}

.page-ir .pg-ir-partner-split {
  margin-top: clamp(8px, 1.5vw, 12px);
  align-items: start;
}

.page-ir .pg-ir-partner-split .pg-split__copy {
  padding-top: 0;
}

.page-ir .pg-ir-partner-split .pg-ir-box__lead {
  margin-bottom: 16px;
}

.page-ir .pg-ir-partner-split .pg-split__media {
  aspect-ratio: auto;
  background: transparent;
}

.page-ir .pg-ir-partner-split .pg-split__media img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
}

.page-ir .pg-ir-block {
  margin-top: clamp(36px, 5vw, 52px);
  scroll-margin-top: 96px;
}

.page-ir .pg-ir-block--flush,
.page-ir .pg-ir-block:first-of-type {
  margin-top: 0;
}

.page-ir #partners-analysts,
.page-ir #partners-media,
.page-ir #partners-media-overseas {
  scroll-margin-top: 96px;
}

.page-ir .pg-ir-block__title {
  margin: 0 0 14px;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  color: var(--color-heading);
}

.page-ir .pg-ir-box__lead {
  margin: 0 0 16px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.page-ir .pg-ir-box__sub {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-heading);
}

.page-ir .pg-ir-box__note {
  margin: 18px 0 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-ir .pg-ir-chips + .pg-ir-clients-logo,
.page-ir .pg-ir-box__lead + .pg-ir-clients-logo {
  margin-top: clamp(16px, 2.5vw, 24px);
}

.page-ir .pg-ir-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-ir .pg-ir-chips li {
  margin: 0;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.page-ir .pg-ir-slide {
  margin: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

.page-ir .pg-ir-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.page-ir .pg-ir-partner {
  margin-top: clamp(28px, 4vw, 40px);
  scroll-margin-top: 96px;
}

.page-ir .pg-ir-partner:first-of-type {
  margin-top: 0;
}

.page-ir .pg-ir-partner__title {
  margin: 0 0 16px;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  color: var(--color-heading);
}

.page-ir .pg-ir-partner-block {
  margin-top: clamp(40px, 6vw, 64px);
  scroll-margin-top: 96px;
}

.page-ir .pg-ir-namegrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

@media (max-width: 640px) {
  .page-ir .pg-ir-namegrid {
    grid-template-columns: 1fr;
  }
}

.pg-band--white {
  background: var(--white);
}

.pg-band--muted {
  background: var(--bg-muted);
}

.pg-band__title {
  margin: 0 0 clamp(24px, 4vw, 36px);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}

.pg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-services .pg-split {
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.page-services .pg-split__media,
.page-services .pg-split__copy {
  min-width: 0;
  width: 100%;
}

.page-services .pg-split__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 4px;
}

.pg-split--img-right .pg-split__media {
  order: 2;
}

.pg-split--img-right .pg-split__copy {
  order: 1;
}

@media (max-width: 900px) {
  .pg-split {
    grid-template-columns: 1fr;
  }

  .pg-split--img-right .pg-split__media,
  .pg-split--img-right .pg-split__copy {
    order: unset;
  }

  .pg-split__media {
    max-height: none;
    max-width: min(420px, 100%);
    margin-inline: auto;
  }
}

.pg-split__title {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}

.pg-split__rule {
  display: block;
  width: 48px;
  height: 3px;
  margin: 0 0 20px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.pg-split__content {
  font-size: 1.25rem; /* 20px：分欄正文標準 */
  line-height: 1.8;
  color: var(--text);
}

.pg-split__content > p {
  margin: 0 0 4px;
}

.pg-split__content .ref-page-list a {
  font-weight: 600;
  color: var(--color-menu);
  text-decoration: none;
}

.pg-split__content .ref-page-list a:hover {
  text-decoration: underline;
}

.pg-contact-tagline {
  margin: 0 0 24px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pg-split__content .ref-page-block__lead {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.pg-split__media {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(var(--color-primary-rgb), 0.12);
  aspect-ratio: var(--media-ratio);
  background: var(--bg-muted);
}

.pg-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: var(--media-ratio);
  object-fit: cover;
  object-position: center;
}

.pg-split__media--diagram {
  background: var(--white);
}

.pg-split__media--diagram img {
  object-fit: contain;
  padding: clamp(12px, 2vw, 20px);
}

.page-rto .pg-rto-figure {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 16px 48px rgba(var(--color-primary-rgb), 0.1);
}

.page-rto .pg-rto-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.pg-split__points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.pg-split__points li {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.1em;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 1.25rem; /* 20px：同分欄正文 */
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
}

.pg-split__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-heading);
}

.pg-split__points strong {
  color: var(--color-heading);
  font-weight: 700;
}

/* 分欄右側：icon + 標題/說明 */
.pg-split__icons {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.pg-split__icons li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
}

.pg-split__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--color-heading);
  background: rgba(var(--color-menu-rgb), 0.08);
}

.pg-split__icon svg {
  width: 22px;
  height: 22px;
}

.pg-split__icon-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

.pg-split__icon-label {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-heading);
}

.pg-split__icon-text {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
}

.pg-services-head--page {
  margin-bottom: clamp(28px, 4vw, 40px);
  max-width: 48rem;
}

@media (max-width: 900px) {
  .pg-split__media {
    max-height: none;
    max-width: min(420px, 100%);
    margin-inline: auto;
  }
}

.pg-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 900px) {
  .pg-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .pg-tiles,
  .pg-tiles--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pg-tiles {
    grid-template-columns: 1fr;
  }
}

.pg-tile__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pg-tile__card--link:hover {
  box-shadow: 0 12px 32px rgba(var(--color-primary-rgb), 0.14);
  transform: translateY(-2px);
}

.pg-band--muted .pg-tile__card {
  background: var(--white);
}

.pg-tile__img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  flex: 0 0 auto;
}

.pg-tile__body {
  padding: clamp(16px, 2.5vw, 22px);
}

.pg-tile__title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-heading);
}

.pg-tile__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.pg-tile__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.pg-tile__card--link:hover .pg-tile__more {
  color: var(--color-accent);
}

.pg-panel .ref-page-pillars,
.pg-panel .ref-page-list,
.pg-panel .ref-page-tags,
.pg-panel .ref-page-steps,
.pg-panel .ref-page-block__text,
.pg-panel .ref-page-note {
  max-width: none;
}

.pg-leaders {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 48px);
}

.pg-leader {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: start;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}

.pg-band--muted .pg-leader {
  background: var(--white);
}

@media (max-width: 720px) {
  .pg-leader {
    grid-template-columns: 1fr;
  }

  .pg-leader__photo {
    max-width: 200px;
  }
}

.pg-leader__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  object-fit: cover;
}

.pg-leader__name {
  margin: 0 0 8px;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  color: var(--color-heading);
}

.pg-leader__role {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-menu);
  line-height: 1.45;
}

.pg-leader__bio {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* 戰略夥伴：純文字 */
.pg-shareholders {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 48rem;
}

.pg-shareholder {
  margin: 0;
}

.pg-shareholder__copy {
  min-width: 0;
}

.pg-shareholder__name {
  margin: 0 0 12px;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-heading);
}

.pg-shareholder__bio {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* 核心管理層 — PDF 第8頁版型（站內配色） */
.pg-mgmt-profile {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(44, 42, 39, 0.06);
}

.pg-mgmt-profile__media {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-muted);
}

.pg-mgmt-profile__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.pg-mgmt-profile__name {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.pg-mgmt-profile__role {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.pg-mgmt-profile__role--emph {
  color: var(--color-menu);
}

.pg-mgmt-profile__bio {
  margin: clamp(12px, 2vw, 16px) 0 0;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.pg-mgmt-profile__intro .pg-team-card__block {
  margin-top: clamp(20px, 3vw, 28px);
}

.pg-mgmt-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
  margin-top: clamp(24px, 3.5vw, 32px);
}

.pg-mgmt-panel {
  padding: clamp(22px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(44, 42, 39, 0.04);
}

.pg-mgmt-panel__title {
  margin: 0 0 clamp(16px, 2.5vw, 20px);
  padding-bottom: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
  border-bottom: 2px solid rgba(var(--color-menu-rgb), 0.15);
}

.pg-mgmt-panel__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pg-mgmt-panel__list li {
  position: relative;
  padding: 8px 0 8px 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.pg-mgmt-panel__list li:last-child {
  border-bottom: none;
}

.pg-mgmt-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-heading);
}

.pg-mgmt-advantages {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
}

.pg-mgmt-adv {
  padding: clamp(16px, 2.5vw, 20px);
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.pg-mgmt-adv__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.pg-mgmt-adv__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .pg-mgmt-profile {
    grid-template-columns: 1fr;
  }

  .pg-mgmt-profile__media {
    max-width: 200px;
  }

  .pg-mgmt-split {
    grid-template-columns: 1fr;
  }
}

/* 核心管理層 — PDF 第9/10頁：標題 + 人物卡片 */
.pg-team-section {
  position: relative;
}

.pg-team-head {
  margin-bottom: clamp(28px, 4vw, 44px);
  max-width: 40rem;
}

.pg-team-head.pg-team-head--doj {
  max-width: none;
  width: 100%;
}

.pg-team-head--doj .pg-team-head__title {
  white-space: nowrap;
  font-size: clamp(1rem, 2.4vw, 1.75rem);
  overflow: visible;
}

.pg-team-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.pg-team-head__kicker {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-menu);
}

.pg-team-head__title {
  margin: 0;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}

.pg-team-head__rule {
  display: block;
  width: 56px;
  height: 3px;
  margin-top: clamp(18px, 2.5vw, 24px);
  border-radius: 2px;
  background: var(--gradient-brand);
}

.pg-team-head--center .pg-team-head__rule {
  margin-left: auto;
  margin-right: auto;
}

.pg-team-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pg-team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(44, 42, 39, 0.06);
  overflow: hidden;
}

.pg-team-card::before {
  content: "ALLWELL";
  position: absolute;
  right: 10px;
  bottom: 18%;
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--color-heading);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.pg-team-card--mgmt::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  z-index: 1;
}

.pg-team-card--advisor {
  background: var(--surface-warm);
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(44, 42, 39, 0.05);
}

.pg-team-card--advisor::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--gradient-brand-v);
  z-index: 1;
}

.pg-team-card__media {
  position: relative;
  margin: 0;
  background: var(--bg-muted);
  z-index: 1;
}

/* 管理團隊：直向三行 + 左欄置中直身相（約 38% 闊，四周留白） */
.pg-team-cards--stack {
  grid-template-columns: 1fr;
  max-width: none;
}

.pg-team-card--mgmt {
  flex-direction: row;
  align-items: stretch;
}

.pg-team-card--mgmt .pg-team-card__media {
  flex: 0 0 28%;
  width: 28%;
  max-width: 200px;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  padding: clamp(20px, 3vw, 28px);
  background: transparent;
  overflow: visible;
}

.pg-team-card--mgmt .pg-team-card__body {
  flex: 1;
  min-width: 0;
}

.pg-team-card--mgmt::before {
  bottom: 12%;
  right: 16px;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.pg-team-card__media--round {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2.5vw, 24px) 0;
  background: linear-gradient(180deg, rgba(var(--color-menu-rgb), 0.06) 0%, transparent 100%);
}

.pg-team-card__media--round .pg-team-card__photo {
  width: min(72%, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(44, 42, 39, 0.12);
  object-position: center top;
}

.pg-team-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.pg-team-card--mgmt .pg-team-card__media .pg-team-card__photo {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 4px 16px rgba(44, 42, 39, 0.1);
}

.pg-team-card__body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.5vw, 24px);
  z-index: 1;
}

.pg-team-card__name {
  margin: 0 0 8px;
  font-size: clamp(1.1875rem, 1.9vw, 1.375rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-heading);
}

.pg-team-card__en {
  display: block;
  margin-top: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.pg-team-card__role {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.pg-team-card__role--sub {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pg-team-card__bio {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.pg-team-card__bio + .pg-team-card__bio {
  margin-top: -4px;
}

.pg-team-card__block {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.pg-team-card__label {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-menu);
}

.pg-team-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pg-team-card__list li {
  position: relative;
  padding: 6px 0 6px 14px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(231, 227, 221, 0.7);
}

.pg-team-card__list li:last-child {
  border-bottom: none;
}

.pg-team-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-heading);
}

.pg-team-card .pg-tags {
  margin-top: 0;
  margin-bottom: 12px;
  padding-top: 0;
}

.pg-team-card__body > .pg-tags:last-child {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 12px;
}

@media (max-width: 1024px) {
  .pg-team-cards--advisors,
  .pg-team-cards:not(.pg-team-cards--stack) {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .pg-team-cards--advisors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pg-team-cards--advisors > li:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 14px);
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .pg-team-card--mgmt {
    flex-direction: column;
  }

  .pg-team-card--mgmt .pg-team-card__media {
    flex: none;
    width: 100%;
    max-width: none;
    padding: clamp(16px, 2.5vw, 20px) clamp(16px, 2.5vw, 20px) 0;
  }

  .pg-team-card--mgmt .pg-team-card__media .pg-team-card__photo {
    max-width: 140px;
    margin: 0 auto;
  }
}

.pg-contact-wrap .ref-contact-hero {
  margin: 0;
}

.pg-cta {
  padding: clamp(40px, 6vw, 64px) 0;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
}

.pg-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pg-cta__text {
  margin: 0;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 600;
  color: var(--color-heading);
}

.pg-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  background: var(--gradient-brand);
  transition: opacity 0.2s ease;
}

.pg-cta__btn:hover {
  opacity: 0.92;
  color: var(--white);
}

.ref-page.ref-section {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

/* 內頁已有 banner 標題時，隱藏 main 內重複標題 */
.site-banner--inner-card + main.ref-page > .ref-wrap > .ref-sec-head {
  display: none;
}

/* 除首頁/公司介紹外：移除左字右圖卡片，保留內容區 */
.site-banner--inner-card + main.ref-page .ref-splitwide {
  display: none;
}

.ref-page-body {
  max-width: 52rem;
}

.ref-page-body > * + * {
  margin-top: clamp(32px, 5vw, 48px);
}

/* 內頁內容間距再拉開，避免段落太貼 */
.site-banner--inner-card + main.ref-page .ref-page-body {
  margin-top: clamp(20px, 3vw, 34px);
}

.site-banner--inner-card + main.ref-page .ref-page-body > * + * {
  margin-top: clamp(42px, 6vw, 64px);
}

.site-banner--inner-card + main.ref-page .ref-page-block__title {
  margin-bottom: 16px;
}

.site-banner--inner-card + main.ref-page .ref-page-block__text {
  margin-bottom: 18px;
  line-height: 1.9;
}

.ref-page-block__title {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}

.ref-page-block__lead {
  margin: 0 0 16px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.ref-page-block__text {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.ref-page-block__text:last-child {
  margin-bottom: 0;
}

.ref-page-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 720px) {
  .ref-page-pillars {
    grid-template-columns: 1fr;
  }
}

.ref-page-pillar {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-muted);
}

.ref-page-pillar__label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-menu);
}

.ref-page-pillar__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.ref-page-pillars--icon {
  margin-top: clamp(24px, 3.5vw, 40px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.ref-page-pillars--icon .ref-page-pillar {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(18px, 2.5vw, 28px);
  padding: 0;
  text-align: left;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.ref-page-pillars--icon .ref-page-pillar:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.ref-page-pillars--icon .ref-page-pillar__icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex: 0 0 clamp(56px, 8vw, 72px);
  width: clamp(56px, 8vw, 72px);
  margin: 0;
  padding-top: 2px;
  color: var(--text);
  background: none;
}

.ref-page-pillars--icon .ref-page-pillar__icon svg {
  width: clamp(52px, 7.5vw, 68px);
  height: clamp(52px, 7.5vw, 68px);
}

.ref-page-pillars--icon .ref-page-pillar__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  padding-top: 0;
}

.ref-page-pillars--icon .ref-page-pillar__label {
  margin: 0 0 8px;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-heading);
}

.ref-page-pillars--icon .ref-page-pillar__text {
  margin: 0;
  font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
}

@media (max-width: 720px) {
  .ref-page-pillars--icon {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.ref-page-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ref-page-body--cards {
  max-width: none;
}

.ref-page-cards--balanced {
  grid-template-columns: repeat(var(--aw-card-cols, 3), minmax(0, 1fr));
}

.ref-page-cards--balanced .ref-page-card {
  height: 100%;
}

.ref-page-cards--scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.ref-page-cards--scroll .ref-page-card {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
}

@media (max-width: 900px) {
  .ref-page-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ref-page-cards--balanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ref-page-cards {
    grid-template-columns: 1fr;
  }

  .ref-page-cards--balanced {
    grid-template-columns: 1fr;
  }

  .ref-page-cards--scroll .ref-page-card {
    flex-basis: min(280px, 86vw);
  }
}

.ref-page-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.ref-page-card::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.16)),
    url("../img/1920x1000/1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ref-page-card:nth-child(3n + 2)::before {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.16)),
    url("../img/1920x1000/11.jpg");
}

.ref-page-card:nth-child(3n)::before {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.16)),
    url("../img/1920x1000/12.jpg");
}

.ref-page-card__title {
  margin: 0 0 8px;
  padding: clamp(14px, 2vw, 18px) clamp(14px, 2vw, 18px) 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
}

.ref-page-card > .ref-page-card__title:last-child {
  margin-bottom: 0;
  padding-bottom: clamp(14px, 2vw, 18px);
}

.ref-page-card__text {
  margin: 0;
  padding: 0 clamp(14px, 2vw, 18px) clamp(14px, 2vw, 18px);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.ref-page-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ref-page-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1.6;
}

.ref-page-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

.ref-page-list li:last-child {
  border-bottom: none;
}

.ref-page-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-heading);
}

.ref-page-note {
  margin: 12px 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.ref-page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ref-page-tags li {
  padding: 6px 12px;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-muted);
  color: var(--text);
}

.ref-contact-hero {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
}

.ref-contact-hero__tagline {
  margin: 0 0 20px;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-heading);
}

.ref-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
}

@media (max-width: 720px) {
  .ref-contact-grid {
    grid-template-columns: 1fr;
  }
}

.ref-contact-item__label {
  margin: 0 0 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ref-contact-item__value {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.ref-contact-item__value a {
  color: var(--color-menu);
  text-decoration: none;
}

.ref-contact-item__value a:hover {
  text-decoration: underline;
}

/* 聯繫我們頁（左字右地圖） */
.page-contact .pg-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  min-height: clamp(460px, 58vh, 560px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(44, 42, 39, 0.06);
}

.page-contact .pg-contact-panel__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 52px);
}

.page-contact .pg-contact-panel__title {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-heading);
}

.page-contact .pg-contact-panel__intro {
  margin: 0 0 14px;
  font-size: 1.1875rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.page-contact .pg-contact-panel__intro + .pg-contact-list {
  margin-top: 18px;
}

.page-contact .pg-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-contact .pg-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.page-contact .pg-contact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-contact .pg-contact-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--text-muted);
}

.page-contact .pg-contact-list__icon svg {
  width: 24px;
  height: 24px;
}

.page-contact .pg-contact-list__text {
  flex: 1;
  min-width: 0;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
  text-decoration: none;
}

a.pg-contact-list__text:hover {
  color: var(--color-menu);
}

.page-contact .pg-contact-panel__map {
  min-height: 100%;
  background: var(--bg-muted);
}

.page-contact .pg-contact-panel__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(460px, 58vh, 560px);
  border: 0;
}

@media (max-width: 900px) {
  .page-contact .pg-contact-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .page-contact .pg-contact-panel__map iframe {
    min-height: 320px;
  }
}

.aw-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.aw-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aw-form__field--full {
  grid-column: 1 / -1;
}

.aw-form__field span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.aw-form__field input,
.aw-form__field select,
.aw-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.aw-form__field textarea {
  resize: vertical;
}

.aw-form__actions {
  margin-top: 18px;
}

.aw-form__submit {
  appearance: none;
  border: 0;
  border-radius: 6px;
  background: var(--gradient-brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 11px 22px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .aw-form__grid {
    grid-template-columns: 1fr;
  }
}

.ref-page-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: refstep;
}

.ref-page-steps li {
  position: relative;
  padding: 14px 0 14px 44px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  counter-increment: refstep;
}

.ref-page-steps li::before {
  content: counter(refstep);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  border-radius: 50%;
  background: var(--gradient-brand);
}

.ref-page-steps li:last-child {
  border-bottom: none;
}

.ref-page-body a {
  color: var(--color-menu);
}

.ref-page-person + .ref-page-person {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.ref-sec-head {
  margin-bottom: clamp(28px, 4vw, 40px);
  max-width: 48rem;
}

.ref-sec-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.ref-sec-head__title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ref-sec-head__intro {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: none;
}

.ref-sec-head--center .ref-sec-head__intro {
  margin-left: auto;
  margin-right: auto;
}

/* ----- 服務三/四卡 + 箭咀 ----- */
.ref-svc__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.ref-svc__card {
  position: relative;
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ref-svc__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ref-svc__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ref-svc__photo--1 {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12)),
    url("../img/800x800/1.png");
}

.ref-svc__photo--2 {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12)),
    url("../img/800x800/2.png");
}

.ref-svc__photo--3 {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12)),
    url("../img/800x800/1.png");
}

.ref-svc__photo--4 {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12)),
    url("../img/800x800/5.jpg");
}

.ref-svc__photo--5 {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12)),
    url("../img/800x800/1.png");
}

.ref-svc__photo--6 {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12)),
    url("../img/800x800/3.jpg");
}

.ref-svc__hover-pane {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 22px 18px;
  background: var(--gradient-brand);
  color: var(--white);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ref-svc__hover-title {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

.ref-svc__hover-text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
}

.ref-svc__title {
  margin: 0;
  padding: 20px 18px 22px;
  font-size: 1.125rem;
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .ref-svc__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(var(--color-primary-rgb), 0.22);
    border-color: rgba(var(--color-primary-rgb), 0.35);
  }

  .ref-svc__card:hover .ref-svc__hover-pane {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ref-svc__card {
    transition: none;
  }

  .ref-svc__hover-pane {
    transition-duration: 0.01ms;
  }

  @media (hover: hover) and (pointer: fine) {
    .ref-svc__card:hover {
      transform: none;
      box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.16);
    }
  }
}

.ref-svc__arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.ref-svc__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 22px;
  line-height: 1;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 2px;
}

.ref-svc__arrow:hover {
  border-color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.06);
}

/* ----- 全寬 50% 圖 + 50% 字（公司定位/使命/客戶） ----- */
.ref-splitwide {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.ref-splitwide__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(240px, 30vw, 420px);
  overflow: hidden;
}

.ref-splitwide__visual {
  position: relative;
  min-height: clamp(240px, 30vw, 420px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.ref-splitwide__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ref-splitwide--taller .ref-splitwide__row {
  min-height: calc(clamp(240px, 30vw, 420px) + 64px);
}

.ref-splitwide--taller .ref-splitwide__visual {
  min-height: calc(clamp(240px, 30vw, 420px) + 64px);
}

.ref-splitwide__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(var(--color-primary-rgb), 0) 35%,
    rgba(var(--color-primary-rgb), 0.22) 100%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
}

.ref-splitwide__visual--1 {
  background-image: url("../img/1920x1000/2.png");
}

.ref-splitwide__visual--2 {
  background-image: url("../img/1920x1000/13.jpg");
}

.ref-splitwide__visual--3 {
  background-image: url("../img/1920x1000/7.png");
}

.ref-splitwide__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: clamp(20px, 3.5vw, 48px) clamp(22px, 4vw, 56px);
  text-align: left;
  transition: box-shadow 0.4s ease;
}

.ref-splitwide--text-tint .ref-splitwide__copy {
  background: var(--bg-muted);
}

.ref-splitwide--text-white .ref-splitwide__copy {
  background: #ffffff;
}

.ref-splitwide__title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.ref-splitwide__rule {
  display: block;
  width: 52px;
  height: 4px;
  margin: 0 0 20px;
  background: var(--gradient-brand);
  border-radius: 1px;
  transition: width 0.4s ease;
}

.ref-splitwide__body {
  margin: 0 0 22px;
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 42em;
  text-align: justify;
  text-justify: inter-ideograph;
}

.ref-splitwide__more {
  align-self: flex-start;
  margin-top: 4px;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
  text-decoration: none;
}

.ref-splitwide__more:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-primary);
}

@media (hover: hover) and (pointer: fine) {
  .ref-splitwide:hover .ref-splitwide__visual::after {
    opacity: 1;
  }

  .ref-splitwide:hover .ref-splitwide__copy {
    box-shadow: inset 0 0 0 1px rgba(var(--color-primary-rgb), 0.12);
  }

  .ref-splitwide:hover .ref-splitwide__rule {
    width: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ref-splitwide__visual::after,
  .ref-splitwide__copy,
  .ref-splitwide__rule {
    transition: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .ref-splitwide:hover .ref-splitwide__visual::after {
      opacity: 0;
    }

    .ref-splitwide:hover .ref-splitwide__copy {
      box-shadow: none;
    }

    .ref-splitwide:hover .ref-splitwide__rule {
      width: 52px;
    }
  }
}

@media (max-width: 768px) {
  .ref-splitwide__row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ref-splitwide--img-right .ref-splitwide__visual {
    order: -1;
  }

  .ref-splitwide__visual {
    min-height: clamp(200px, 44vw, 320px);
  }

  .ref-splitwide--taller .ref-splitwide__visual {
    min-height: calc(clamp(200px, 44vw, 320px) + 64px);
  }

  .ref-splitwide__copy {
    padding: clamp(24px, 6vw, 40px) clamp(18px, 5vw, 28px);
  }
}

.ref-more {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
  text-decoration: none;
}

.ref-more:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-primary);
}

/* ----- 左文 + 雙圖錯位 ----- */
.ref-splitfeat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

@media (max-width: 720px) {
  .ref-splitfeat {
    grid-template-columns: 1fr;
  }

  .ref-splitfeat__lead {
    max-width: none;
  }

  .ref-splitfeat__visual {
    width: 100%;
  }
}

.ref-splitfeat__title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
}

.ref-splitfeat__lead {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 32em;
  text-align: justify;
  text-justify: inter-ideograph;
}

.ref-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 2px;
  border: 2px solid transparent;
}

.ref-btn--primary {
  background: var(--color-primary);
  color: var(--white) !important;
}

.ref-btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--white) !important;
}

.ref-splitfeat__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.ref-splitfeat__img {
  display: block;
  width: 100%;
  height: clamp(300px, 44vw, 420px);
  min-height: 300px;
  border-radius: 2px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 40px rgba(var(--color-primary-rgb), 0.15);
}

.ref-splitfeat__img--1 {
  transform: translateY(-28px);
}

.ref-splitfeat__img--2 {
  transform: translateY(34px);
}

/* #insights 雙圖：捲動入場 fade down / fade up */
.ref-splitfeat__visual--motion .ref-splitfeat__img--1,
.ref-splitfeat__visual--motion .ref-splitfeat__img--2 {
  opacity: 0;
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.ref-splitfeat__visual--motion .ref-splitfeat__img--1 {
  transform: translateY(calc(-28px - 48px));
}

.ref-splitfeat__visual--motion .ref-splitfeat__img--2 {
  transform: translateY(calc(34px + 48px));
  transition-delay: 0.12s;
}

.ref-splitfeat__visual--motion.is-inview .ref-splitfeat__img--1 {
  opacity: 1;
  transform: translateY(-28px);
}

.ref-splitfeat__visual--motion.is-inview .ref-splitfeat__img--2 {
  opacity: 1;
  transform: translateY(34px);
}

@media (max-width: 900px) {
  .ref-splitfeat__img--1,
  .ref-splitfeat__img--2 {
    transform: none;
  }

  .ref-splitfeat__visual--motion .ref-splitfeat__img--1 {
    transform: translateY(-40px);
  }

  .ref-splitfeat__visual--motion .ref-splitfeat__img--2 {
    transform: translateY(40px);
  }

  .ref-splitfeat__visual--motion.is-inview .ref-splitfeat__img--1,
  .ref-splitfeat__visual--motion.is-inview .ref-splitfeat__img--2 {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ref-splitfeat__visual--motion .ref-splitfeat__img--1,
  .ref-splitfeat__visual--motion .ref-splitfeat__img--2 {
    opacity: 1;
    transition: none;
  }

  .ref-splitfeat__visual--motion .ref-splitfeat__img--1 {
    transform: translateY(-28px);
  }

  .ref-splitfeat__visual--motion .ref-splitfeat__img--2 {
    transform: translateY(34px);
    transition-delay: 0;
  }

  @media (max-width: 900px) {
    .ref-splitfeat__visual--motion .ref-splitfeat__img--1,
    .ref-splitfeat__visual--motion .ref-splitfeat__img--2 {
      transform: none;
    }
  }
}

/* ----- 三欄 ----- */
.ref-tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

@media (max-width: 900px) {
  .ref-tri {
    grid-template-columns: 1fr;
  }
}

.ref-tri__thumb {
  height: 140px;
  margin-bottom: 16px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.ref-tri__thumb--b {
  background: linear-gradient(135deg, #2f4780 0%, #36bde9 100%);
}

.ref-tri__thumb--c {
  background: linear-gradient(135deg, #36bde9 0%, #405da9 100%);
}

.ref-tri__title {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 700;
}

.ref-tri__col p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.ref-microlegal {
  margin: 0;
  padding: 20px 24px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
  background: var(--surface-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ref-aboutsplit {
  padding: clamp(48px, 7vw, 96px) 0;
}

@keyframes ref-aboutsplit-fade-in {
  0% {
    opacity: 0;
    transform: scale(1.06) translate3d(-16px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
}

@keyframes ref-aboutsplit-bounce-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 48px, 0);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, -12px, 0);
  }
  70% {
    transform: translate3d(0, 6px, 0);
  }
  85% {
    transform: translate3d(0, -3px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.ref-aboutsplit--motion:not(.is-inview) .ref-aboutsplit__img {
  opacity: 0;
  transform: scale(1.06) translate3d(-16px, 0, 0);
}

.ref-aboutsplit--motion.is-inview .ref-aboutsplit__img {
  animation: ref-aboutsplit-fade-in 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ref-aboutsplit--motion:not(.is-inview) .ref-aboutsplit__copy > * {
  opacity: 0;
}

.ref-aboutsplit--motion.is-inview .ref-aboutsplit__copy > * {
  animation: ref-aboutsplit-bounce-in 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ref-aboutsplit--motion.is-inview .ref-aboutsplit__copy > .ref-aboutsplit__water {
  animation-delay: 0.2s;
}

.ref-aboutsplit--motion.is-inview .ref-aboutsplit__copy > .ref-aboutsplit__title {
  animation-delay: 0.38s;
}

.ref-aboutsplit--motion.is-inview .ref-aboutsplit__copy > .ref-aboutsplit__tag {
  animation-delay: 0.56s;
}

.ref-aboutsplit--motion.is-inview .ref-aboutsplit__copy > .ref-aboutsplit__body:nth-child(4) {
  animation-delay: 0.74s;
}

.ref-aboutsplit--motion.is-inview .ref-aboutsplit__copy > .ref-aboutsplit__body:nth-child(5) {
  animation-delay: 0.92s;
}

.ref-aboutsplit--motion.is-inview .ref-aboutsplit__copy > .ref-aboutsplit__body:nth-child(6) {
  animation-delay: 1.1s;
}

.ref-aboutsplit--motion.is-inview .ref-aboutsplit__copy > .ref-aboutsplit__hr {
  animation-delay: 1.28s;
}

.ref-aboutsplit--motion.is-inview .ref-aboutsplit__copy > .ref-aboutsplit__stats {
  animation-delay: 1.46s;
}

@media (prefers-reduced-motion: reduce) {
  .ref-aboutsplit--motion:not(.is-inview) .ref-aboutsplit__img,
  .ref-aboutsplit--motion:not(.is-inview) .ref-aboutsplit__copy > * {
    opacity: 1;
    transform: none;
  }

  .ref-aboutsplit--motion.is-inview .ref-aboutsplit__img,
  .ref-aboutsplit--motion.is-inview .ref-aboutsplit__copy > * {
    animation: none;
    transform: none;
  }
}

.ref-aboutsplit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

@media (max-width: 900px) {
  .ref-aboutsplit__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(20px, 3vw, 32px);
  }

  .ref-aboutsplit__copy {
    padding: clamp(4px, 1vw, 8px) 0;
  }
}

@media (max-width: 720px) {
  .ref-aboutsplit__grid {
    grid-template-columns: 1fr;
  }

  .ref-aboutsplit__figure {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .ref-aboutsplit__copy {
    padding: clamp(8px, 1.5vw, 12px) 0;
  }
}

.ref-aboutsplit__figure {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: none;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ebe6df;
  aspect-ratio: 1 / 1;
}

.ref-aboutsplit__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-aboutsplit__copy {
  position: relative;
  padding: clamp(8px, 1.5vw, 12px) 0 clamp(8px, 1.5vw, 12px) clamp(24px, 5.5vw, 72px);
}

.ref-aboutsplit__water {
  position: absolute;
  left: 0;
  top: clamp(-8px, -1vw, 0px);
  z-index: 0;
  font-size: clamp(3.5rem, 14vw, 7.5rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(var(--color-menu-rgb), 0.08);
  pointer-events: none;
  user-select: none;
}

.ref-aboutsplit__title,
.ref-aboutsplit__tag,
.ref-aboutsplit__body,
.ref-aboutsplit__hr,
.ref-aboutsplit__stats {
  position: relative;
  z-index: 1;
}

.ref-aboutsplit__title {
  margin: 0 0 14px;
  padding-top: clamp(12px, 2vw, 28px);
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.ref-aboutsplit__tag {
  margin: 0 0 12px;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}

.ref-aboutsplit__body {
  margin: 0 0 14px;
  font-size: clamp(0.9375rem, 1.45vw, 1.0625rem);
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 40em;
}

.ref-aboutsplit__tag + .ref-aboutsplit__body {
  margin-top: 4px;
}

.ref-aboutsplit__hr {
  margin: clamp(22px, 4vw, 32px) 0 clamp(20px, 3.5vw, 28px);
  border: none;
  border-top: 1px solid var(--border);
}

.ref-aboutsplit__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 28px);
  text-align: center;
}

.ref-aboutsplit__stat {
  margin: 0;
  min-width: 0;
}

.ref-aboutsplit__num {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 5.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-heading);
}

.ref-aboutsplit__lbl {
  margin: 0 0 4px;
  font-size: clamp(0.75rem, 2.8vw, 0.9375rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.ref-aboutsplit__lbl2 {
  margin: 0;
  font-size: clamp(0.6875rem, 2.4vw, 0.8125rem);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ----- 聯絡 + 下拉 ----- */
.ref-contact {
  padding: clamp(56px, 7vw, 88px) 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.ref-contact__title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
}

.ref-contact__sub {
  margin: 0 0 28px;
  color: var(--text-muted);
}

.ref-contact__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .ref-contact__row {
    grid-template-columns: 1fr;
  }
}

.ref-select-wrap {
  display: block;
}

.ref-select-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.ref-select {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}

.ref-select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.ref-contact__cta {
  display: inline-flex;
}

/* ----- Footer ----- */
.ref-footer {
  --footer-bg: var(--color-primary-dark);
  --footer-bg-deep: #1e3260;
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.9);
  padding: clamp(36px, 5vw, 48px) 0 0;
  font-size: 1rem;
}

.ref-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 40px);
  align-items: start;
}

@media (max-width: 900px) {
  .ref-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ref-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.ref-footer__col {
  min-width: 0;
}

.ref-footer__h {
  margin: 0 0 16px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.ref-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ref-footer__list li {
  margin-bottom: 12px;
}

.ref-footer__list li:last-child {
  margin-bottom: 0;
}

.ref-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ref-footer a:hover {
  color: var(--color-accent);
}

.ref-footer__legal {
  margin: clamp(32px, 4.5vw, 44px) 0 0;
  padding-top: clamp(28px, 3.5vw, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: clamp(0.8125rem, 1.1vw, 0.875rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  text-align: justify;
  text-justify: inter-ideograph;
}

.ref-footer__copybar {
  margin-top: clamp(28px, 3.5vw, 36px);
  padding: 16px 24px;
  background: var(--footer-bg-deep);
}

.ref-footer__copy {
  margin: 0;
  max-width: var(--wrap, 1320px);
  margin-inline: auto;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ----- 客戶/媒體標誌（占位） ----- */
.ref-clientlogos {
  background: var(--white);
}

.ref-clientlogos__head {
  margin: 0 auto clamp(24px, 4vw, 40px);
  max-width: 48rem;
  text-align: center;
}

.ref-clientlogos__eyebrow {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.ref-clientlogos__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.ref-clientlogos__lead {
  margin: 0;
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.ref-clientlogos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: clamp(14px, 2.5vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ref-clientlogos__grid li {
  margin: 0;
}

.ref-clientlogos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-warm);
  text-decoration: none;
  color: var(--text-muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ref-clientlogos__item:hover {
  border-color: rgba(var(--color-primary-rgb), 0.35);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
}

.ref-clientlogos__placeholder {
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
}

/* ----- 首頁：整體再柔和一點（暖底、圓角、陰影） ----- */
.page-home {
  background: var(--surface-warm);
}

.page-home .site-head {
  background: #fffcf9;
}

.page-home .site-banner__content {
  background: #fffcf9;
  border-color: rgba(44, 42, 39, 0.06);
  box-shadow: 0 8px 28px rgba(44, 42, 39, 0.06);
}

.page-home .site-banner__accent {
  background: var(--gradient-brand-v);
}

.page-home .ref-section--white {
  background: var(--surface-warm);
}

.page-home .ref-section--muted {
  background: var(--bg-muted);
}

.page-home .ref-splitwide--text-white .ref-splitwide__copy {
  background: #fffcf9;
}

.page-home .ref-svc__card,
.page-home .ref-aboutsplit__figure,
.page-home .ref-clientlogos__item {
  border-radius: 6px;
}

.page-home .ref-svc__hover-pane {
  background: var(--gradient-brand);
}

.page-home .ref-splitwide__rule {
  background: var(--gradient-brand);
}

.page-home a:hover {
  color: var(--color-brand-accent);
}

/* ----- 全站廣告：右下角浮層 + 彈窗 ----- */
html.aw-ad-modal-open {
  overflow: hidden;
}

.aw-ad-float {
  position: fixed;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 1200;
  width: min(280px, 54vw);
  padding: 10px;
  border-radius: 10px;
  background: #f4eee4;
  box-shadow: 0 10px 28px rgba(15, 20, 25, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.aw-ad-float.is-revealed {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.aw-ad-float.is-hidden {
  display: none;
}

.aw-ad-float__close {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: #fff;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.aw-ad-float__trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.aw-ad-float__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  vertical-align: top;
}

.aw-ad-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
}

.aw-ad-modal.is-open {
  display: flex;
}

.aw-ad-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 25, 0.62);
  cursor: pointer;
}

.aw-ad-modal__panel {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: min(92vw, 960px);
  max-height: 90vh;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  background: transparent;
  line-height: 0;
}

.aw-ad-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 20, 25, 0.72);
  color: #fff;
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
}

.aw-ad-modal__link {
  display: block;
  line-height: 0;
}

.aw-ad-modal__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 960px);
  max-height: 90vh;
  object-fit: contain;
  background: transparent;
}

@media (max-width: 560px) {
  .aw-ad-float {
    width: min(200px, 52vw);
  }

  .aw-ad-modal__panel {
    max-width: 94vw;
    max-height: 88vh;
  }

  .aw-ad-modal__img {
    max-width: 94vw;
    max-height: 88vh;
  }
}

/* ----- Legal pages（免責/私隱） ----- */
.legal-doc {
  max-width: 52rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}

.legal-doc p {
  margin: 0 0 1em;
}

.legal-doc__section-title {
  margin: clamp(28px, 4vw, 40px) 0 14px;
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  font-weight: 700;
  color: var(--color-heading);
}

.legal-doc > .legal-doc__section-title:first-child {
  margin-top: 0;
}

.legal-doc__num {
  display: inline-block;
  min-width: 2.75em;
  margin-right: 0.25em;
  font-weight: 700;
  color: var(--color-heading);
}

.legal-doc__sublist {
  margin: 0 0 1em;
  padding: 0 0 0 1.5rem;
  list-style: none;
}

.legal-doc__sublist li {
  margin: 0 0 0.45em;
  padding-left: 0.25em;
}

.legal-doc__address {
  display: block;
  margin: 0 0 1em;
  padding: 14px 16px;
  font-style: normal;
  line-height: 1.7;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.legal-doc--en {
  margin-top: clamp(48px, 7vw, 72px);
  padding-top: clamp(36px, 5vw, 48px);
  border-top: 1px solid var(--border);
}

.legal-doc__lang-head {
  margin: 0 0 24px;
}

.legal-doc__lang-title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.02em;
}


