@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Serif+SC:wght@500;600;700&family=Noto+Serif+TC:wght@500;600;700&display=swap');

/* ==========================================================================
   BLUE OAK INTERNATIONAL  ·  宏泰國際
   Premium design system
   ========================================================================== */

:root {
  /* Brand palette — navy authority + teal accent + gold luxury */
  --navy-950: #00152E;
  --navy-900: #001B3A;
  --navy-800: #002247;
  --navy-700: #002B57;
  --navy: #003464;          /* brand primary */
  --navy-600: #0A4178;
  --navy-500: #14508E;
  --blue: #1461A8;          /* bright secondary sections */
  --blue-400: #2E7CC4;
  --blue-200: #7FB0DC;

  --teal: #34B3A0;          /* brand accent */
  --teal-600: #2A9385;
  --teal-300: #6FD0C2;
  --teal-100: #D6F0EB;

  --gold: #C6A15B;          /* luxury accent */
  --gold-400: #D8BC84;
  --gold-200: #EFE2C6;

  --ink: #16202E;
  --ink-soft: #33404F;
  --slate: #5B6B80;
  --slate-300: #8A98A9;
  --mist: #F5F7FA;
  --cloud: #EBF0F6;
  --line: #DEE5EE;
  --line-soft: #EAEFF4;
  --white: #FFFFFF;

  --shadow-sm: 0 2px 10px rgba(0, 30, 70, .06);
  --shadow-md: 0 14px 40px rgba(0, 28, 66, .10);
  --shadow-lg: 0 30px 80px rgba(0, 24, 58, .16);
  --shadow-navy: 0 24px 60px rgba(0, 30, 70, .28);

  --font-sans: "Noto Sans TC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Serif TC", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-serif-cjk: "Noto Serif TC", "Noto Serif SC", "Songti SC", "STSong", serif;

  --container: 1240px;
  --container-narrow: 960px;
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* Simplified-Chinese users get the SC serif for display type */
html[data-lang="zh-Hans"] { --font-serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", Georgia, serif; --font-serif-cjk: "Noto Serif SC", "Songti SC", serif; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--teal); color: #fff; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.18; letter-spacing: .005em; color: var(--navy); }
.display {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: .01em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .74rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--teal-600);
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.eyebrow.center::after { content: ""; width: 30px; height: 1px; background: var(--gold); }
.eyebrow.light { color: var(--teal-300); }
.eyebrow.light::before, .eyebrow.light.center::after { background: var(--gold-400); }

.section-title {
  font-family: var(--font-serif-cjk);
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  color: var(--navy);
  line-height: 1.25;
  margin: .5rem 0 1.1rem;
}
html[data-lang="en"] .section-title { font-family: var(--font-serif); font-size: clamp(2rem, 3.6vw, 3.1rem); }
.lead {
  font-size: 1.08rem; color: var(--slate); max-width: 62ch; line-height: 1.85;
}
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal-600); }

/* underline flourish for a highlighted word in a heading */
.mark {
  position: relative; color: var(--navy); white-space: nowrap;
}
.mark::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .34em;
  background: linear-gradient(90deg, var(--teal-100), var(--gold-200));
  z-index: -1; border-radius: 2px;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 32px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.section.tight { padding: clamp(48px, 5vw, 76px) 0; }
.section--mist { background: var(--mist); }
.section--cloud { background: linear-gradient(180deg, var(--mist), var(--cloud)); }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 32px; font-size: .92rem; font-weight: 600; letter-spacing: .06em;
  color: var(--btn-fg); background: var(--btn-bg);
  border-radius: 2px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  box-shadow: 0 10px 26px rgba(52, 179, 160, .28);
}
.btn::after {
  content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.16);
  transform: translateX(-101%) skewX(-16deg); transition: transform .6s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(52, 179, 160, .38); }
.btn:hover::after { transform: translateX(101%) skewX(-16deg); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--navy { --btn-bg: var(--navy); box-shadow: 0 10px 26px rgba(0, 52, 100, .3); }
.btn--navy:hover { box-shadow: 0 18px 40px rgba(0, 52, 100, .4); }
.btn--gold { --btn-bg: linear-gradient(135deg, var(--gold), var(--gold-400)); color: #3a2c0e; box-shadow: 0 10px 26px rgba(198,161,91,.35); }
.btn--ghost {
  background: transparent; color: #fff; box-shadow: none;
  border: 1px solid rgba(255,255,255,.5);
}
.btn--ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.btn--outline { background: transparent; color: var(--navy); border: 1px solid var(--line); box-shadow: none; }
.btn--outline:hover { border-color: var(--teal); color: var(--teal-600); box-shadow: none; }
.btn--sm { padding: 11px 22px; font-size: .82rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--teal-600);
  letter-spacing: .04em; font-size: .92rem;
}
.link-arrow .arrow { transition: transform .35s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }
.link-arrow.light { color: #fff; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  background: linear-gradient(180deg, rgba(0,18,42,.55), rgba(0,18,42,0));
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.site-header.scrolled {
  height: 68px; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: var(--shadow-sm); border-bottom-color: var(--line);
}
/* pages with a light hero start solid */
.site-header.solid { background: var(--navy); }
.site-header.solid.scrolled { background: rgba(255,255,255,.94); }

.brand { display: flex; align-items: center; gap: 13px; color: #fff; transition: color .45s; }
.scrolled .brand, .brand.on-light { color: var(--navy); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__mark .leaf { fill: var(--teal-300); transition: fill .45s; }
.brand__mark .trunk { fill: currentColor; }
.scrolled .brand__mark .leaf { fill: var(--teal); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__cn { font-family: var(--font-serif-cjk); font-size: 1.32rem; font-weight: 600; letter-spacing: .12em; }
.brand__en { font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; opacity: .85; margin-top: 4px; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.92);
  transition: color .35s; letter-spacing: .04em;
}
.scrolled .nav a { color: var(--ink-soft); }
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a:hover, .nav a.active { color: #fff; }
.scrolled .nav a:hover, .scrolled .nav a.active { color: var(--navy); }

.header-right { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: .82rem; }
.lang-switch button {
  padding: 5px 9px; color: rgba(255,255,255,.7); font-weight: 500; border-radius: 3px;
  transition: color .3s, background .3s; letter-spacing: .05em;
}
.scrolled .lang-switch button { color: var(--slate); }
.lang-switch button:hover { color: #fff; }
.scrolled .lang-switch button:hover { color: var(--navy); }
.lang-switch button.active { color: var(--teal-300); font-weight: 700; }
.scrolled .lang-switch button.active { color: var(--teal-600); }
.lang-switch .sep { width: 1px; height: 12px; background: currentColor; opacity: .3; }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { height: 2px; background: #fff; border-radius: 2px; transition: .35s var(--ease); }
.scrolled .nav-toggle span { background: var(--navy); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding-top: var(--header-h);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 5vw));
}
.hero--tall { min-height: 100vh; }
.hero--short { min-height: 62vh; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 3.5vw)); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,20,44,.94) 0%, rgba(0,32,68,.82) 42%, rgba(0,40,84,.45) 100%);
}
.hero--center .hero__bg::after { background: linear-gradient(180deg, rgba(0,18,40,.7), rgba(0,26,54,.78)); }
.hero__inner { position: relative; z-index: 1; padding-bottom: 6vw; max-width: 760px; }
.hero--center .hero__inner { max-width: 900px; margin-inline: auto; text-align: center; }
.hero__title {
  font-family: var(--font-serif-cjk); font-weight: 600;
  font-size: clamp(2.3rem, 5.4vw, 4.15rem); line-height: 1.14; letter-spacing: .01em;
  color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
html[data-lang="en"] .hero__title { font-family: var(--font-serif); font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.hero__sub { margin-top: 26px; font-size: clamp(1rem, 1.5vw, 1.18rem); color: rgba(255,255,255,.9); max-width: 60ch; line-height: 1.85; font-weight: 300; }
.hero--center .hero__sub { margin-inline: auto; }
.hero__cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero--center .hero__cta { justify-content: center; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 8vw; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.7);
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
}
.hero__scroll .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 12px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 10px); } }

/* page hero (short, for interior pages) */
.page-hero {
  position: relative; min-height: 56vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; padding: var(--header-h) 0 clamp(48px, 6vw, 90px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 3vw));
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,20,44,.62) 0%, rgba(0,22,48,.5) 55%, rgba(0,20,44,.82) 100%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-family: var(--font-serif-cjk); font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: #fff; letter-spacing: .02em; }
html[data-lang="en"] .page-hero__title { font-family: var(--font-serif); }
.page-hero__sub { margin-top: 18px; font-size: 1.08rem; max-width: 66ch; color: rgba(255,255,255,.9); font-weight: 300; line-height: 1.8; }
.page-hero--navy { background: radial-gradient(120% 100% at 70% 0%, var(--navy-600), var(--navy-950)); }
.page-hero--navy .page-hero__bg { opacity: .5; }

/* ==========================================================================
   SHARED SECTION PARTS
   ========================================================================== */
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; }
.accent-bar { display: flex; gap: 10px; align-items: flex-start; }
.accent-bar__line { flex: none; width: 4px; align-self: stretch; min-height: 46px; background: linear-gradient(var(--teal), var(--teal-300)); border-radius: 2px; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-md); }
.split__media .badge {
  position: absolute; bottom: -22px; left: -22px; background: #fff; padding: 20px 26px; border-radius: 6px;
  box-shadow: var(--shadow-md); border-left: 3px solid var(--teal);
}
.split__media .badge .n { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 700; color: var(--navy); line-height: 1; }
.split__media .badge .l { font-size: .78rem; color: var(--slate); letter-spacing: .04em; }
.list-check { margin-top: 22px; display: grid; gap: 13px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 1rem; }
.list-check li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%232A9385' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* pills (product tags) */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill { padding: 7px 16px; background: var(--mist); border: 1px solid var(--line); border-radius: 40px; font-size: .84rem; color: var(--navy-600); font-weight: 500; transition: .3s; }
.pill:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  background: #fff; border-radius: 6px; padding: 34px 30px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft); position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card__icon { width: 60px; height: 60px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--teal-100), #fff); }
.card__icon svg { width: 30px; height: 30px; stroke: var(--teal-600); fill: none; }
.card__title { font-size: 1.28rem; color: var(--navy); margin-bottom: 12px; font-weight: 600; }
.card__text { color: var(--slate); font-size: .98rem; line-height: 1.8; }

/* image-topped feature card */
.fcard { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); border-left: 3px solid var(--teal); transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.fcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.fcard__img { aspect-ratio: 16/10; overflow: hidden; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.07); }
.fcard__body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.fcard__title { font-size: 1.16rem; color: var(--navy); margin-bottom: 10px; font-weight: 600; }
.fcard__text { color: var(--slate); font-size: .94rem; line-height: 1.78; }

/* numbered / minimal card */
.mcard { padding: 32px 28px; background: #fff; border-radius: 6px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); transition: .5s var(--ease); }
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mcard__num { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 12px; }
.mcard__title { font-size: 1.16rem; color: var(--navy); margin-bottom: 10px; }
.mcard__text { color: var(--slate); font-size: .95rem; }

/* alternating solution blocks (full-bleed color) */
.solution-block { position: relative; overflow: hidden; }
.solution-block .split { min-height: 460px; }
.solution-block .split__text { padding: clamp(40px, 6vw, 90px) 0; }
.sb--navy { background: var(--navy); color: #fff; }
.sb--navy .section-title, .sb--navy .fcard__title { color: #fff; }
.sb--navy .lead, .sb--navy p { color: rgba(255,255,255,.82); }
.sb--blue { background: linear-gradient(135deg, var(--blue), var(--navy-500)); color: #fff; }
.sb--blue .section-title { color: #fff; }
.sb--blue .lead, .sb--blue p { color: rgba(255,255,255,.85); }
.sb--navy .list-check li, .sb--blue .list-check li { color: rgba(255,255,255,.9); }
.sb--navy .list-check li::before, .sb--blue .list-check li::before { background-color: rgba(255,255,255,.15); }
.solution-block .split__media img { border-radius: 0; box-shadow: none; min-height: 460px; height: 100%; }
.solution-block.full .split { gap: 0; }
.solution-block.full .split__text { padding-inline: clamp(24px, 5vw, 70px); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { text-align: center; padding: 20px; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: var(--line); }
.stat__n { font-family: var(--font-serif); font-size: clamp(2.6rem, 5vw, 3.7rem); font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -.01em; }
.stat__n .unit { color: var(--gold); }
.stat__l { margin-top: 12px; color: var(--slate); font-size: .96rem; letter-spacing: .02em; }
.stats--light .stat__n { color: #fff; }
.stats--light .stat__l { color: rgba(255,255,255,.75); }
.stats--light .stat:not(:last-child)::after { background: rgba(255,255,255,.2); }

/* ==========================================================================
   TIMELINE (about — birth of group)
   ========================================================================== */
.timeline { position: relative; padding: 30px 0; }
.timeline__track { position: relative; height: 2px; background: var(--line); margin: 40px 0; }
.timeline__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--teal), var(--gold)); transition: width 1.6s var(--ease); }
.timeline__pt { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.timeline__pt .dot { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); box-shadow: 0 0 0 5px rgba(52,179,160,.15); }
.timeline__pt.start { left: 0; } .timeline__pt.end { left: 100%; }
.timeline__pt .yr { position: absolute; top: -42px; left: 50%; transform: translateX(-50%); font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.timeline__pt.end .yr { color: var(--gold); }
.timeline__pt.end .dot { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(198,161,91,.18); }
.timeline__body { max-width: 860px; margin: 34px auto 0; text-align: center; color: var(--slate); font-size: 1.05rem; line-height: 1.9; }

/* ==========================================================================
   ORG CHART (careers / about)
   ========================================================================== */
.org { --oc: var(--navy); text-align: center; }
.org__row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; position: relative; }
.org__row + .org__row { margin-top: 46px; position: relative; }
.org-node {
  background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: #fff; border-radius: 6px;
  padding: 14px 22px; min-width: 130px; box-shadow: var(--shadow-md); position: relative;
}
.org-node.lead { background: linear-gradient(135deg, var(--teal-600), var(--teal)); min-width: 190px; padding: 18px 26px; }
.org-node.sub { background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 96px; padding: 11px 14px; }
.org-node .abbr { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; letter-spacing: .05em; }
.org-node.sub .abbr { font-size: 1.05rem; color: var(--navy); }
.org-node .role-en { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-top: 2px; }
.org-node .role-cn { font-size: .78rem; margin-top: 3px; opacity: .95; }
.org__group { display: grid; gap: 16px; }
.org__branch { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }
.org-connector { width: 2px; height: 28px; background: var(--line); margin: 0 auto; }
/* connectors drawn simply with pseudo lines */
.org__lines { position: relative; height: 30px; }
.org__lines::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 100%; background: var(--line); }

/* agent income radial */
.radial { position: relative; width: min(440px, 90%); aspect-ratio: 1; margin: 0 auto; }
.radial__center, .radial__node {
  position: absolute; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-600)); color: #fff; box-shadow: var(--shadow-md);
}
.radial__center { width: 26%; height: 26%; left: 37%; top: 37%; background: linear-gradient(135deg, var(--teal-600), var(--teal)); z-index: 2; }
.radial__node { width: 20%; height: 20%; }
.radial__node svg { width: 42%; stroke: #fff; fill: none; }
.radial__center svg { width: 40%; stroke: #fff; fill: none; }
.radial__spoke { position: absolute; left: 50%; top: 50%; height: 2px; background: linear-gradient(90deg, var(--teal), transparent); transform-origin: left; z-index: 0; }
.income-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 46px; }
.income-legend li { display: flex; gap: 12px; }
.income-legend .k { font-weight: 700; color: var(--navy); white-space: nowrap; }
.income-legend .num { font-family: var(--font-serif); color: var(--gold); font-weight: 700; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; font-size: 1.08rem; font-weight: 600; color: var(--navy); transition: color .3s; }
.faq__q:hover { color: var(--teal-600); }
.faq__q .ic { flex: none; width: 26px; height: 26px; position: relative; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--teal); border-radius: 2px; transition: transform .4s var(--ease); }
.faq__q .ic::before { left: 0; right: 0; top: 12px; height: 2px; }
.faq__q .ic::after { top: 0; bottom: 0; left: 12px; width: 2px; }
.faq__item.open .ic::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq__a p { padding: 0 4px 26px; color: var(--slate); line-height: 1.85; }

/* ==========================================================================
   EVENTS
   ========================================================================== */
.event-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm); transition: .5s var(--ease); border: 1px solid var(--line-soft); }
.event-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.event-card__img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.event-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.event-card:hover .event-card__img img { transform: scale(1.06); }
.event-card__meta { position: absolute; top: 14px; left: 14px; background: rgba(0,52,100,.9); color: #fff; padding: 6px 13px; border-radius: 3px; font-size: .78rem; letter-spacing: .03em; backdrop-filter: blur(4px); }
.event-card__body { padding: 24px 26px 28px; }
.event-card__title { font-size: 1.18rem; color: var(--navy); margin-bottom: 10px; font-weight: 600; }
.event-card__text { color: var(--slate); font-size: .92rem; line-height: 1.75; }

/* ==========================================================================
   CONTACT CARDS + FORMS
   ========================================================================== */
.contact-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.contact-card__img { aspect-ratio: 16/9; overflow: hidden; }
.contact-card__img img { width: 100%; height: 100%; object-fit: cover; }
.contact-card__body { padding: 26px 28px; }
.contact-card__loc { display: flex; align-items: center; gap: 8px; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.contact-card__map { font-size: .8rem; color: var(--teal-600); font-weight: 600; }
.contact-card__row { display: flex; gap: 10px; margin-top: 14px; color: var(--ink-soft); font-size: .94rem; align-items: flex-start; }
.contact-card__row svg { flex: none; width: 17px; height: 17px; stroke: var(--teal-600); fill: none; margin-top: 4px; }

.form { display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 7px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--navy); letter-spacing: .03em; }
.field input, .field select, .field textarea {
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: .95rem;
  color: var(--ink); background: #fff; transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(52,179,160,.14); }
.form-note { font-size: .82rem; color: var(--slate-300); line-height: 1.6; }
.radio-row { display: flex; gap: 22px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink-soft); cursor: pointer; }
.radio-row input { accent-color: var(--teal); width: 17px; height: 17px; }

/* card panel used for careers form on navy */
.panel-dark { background: linear-gradient(135deg, var(--navy-700), var(--navy)); color: #fff; border-radius: 12px; padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow-navy); }
.panel-dark .field label { color: rgba(255,255,255,.8); }
.panel-dark .field input, .panel-dark .field select { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.panel-dark .field input::placeholder { color: rgba(255,255,255,.4); }
.panel-dark .radio-row label { color: rgba(255,255,255,.85); }
.panel-dark .form-note { color: rgba(255,255,255,.5); }

/* ==========================================================================
   LOGO GRID (partner companies)
   ========================================================================== */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.logo-wall .cell { background: #fff; aspect-ratio: 3/2; display: grid; place-items: center; padding: 16px; transition: .4s; }
.logo-wall .cell:hover { background: var(--mist); }
.logo-wall .cell span { font-weight: 600; color: var(--navy-600); font-size: .82rem; text-align: center; letter-spacing: .02em; opacity: .78; transition: .4s; }
.logo-wall .cell:hover span { opacity: 1; color: var(--navy); }
.region-tab { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700; color: var(--navy); margin: 8px 0 24px; }
.region-tab::before { content: ""; width: 34px; height: 24px; border-radius: 3px; background: var(--navy); -webkit-mask: var(--flag) center/contain no-repeat; mask: var(--flag) center/contain no-repeat; }

/* ==========================================================================
   BOOKING CTA BAND
   ========================================================================== */
.booking { position: relative; overflow: hidden; color: #fff; padding: clamp(70px, 9vw, 130px) 0; text-align: center; }
.booking__bg { position: absolute; inset: 0; z-index: -2; }
.booking__bg img { width: 100%; height: 100%; object-fit: cover; }
.booking__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,20,44,.8), rgba(0,26,54,.86)); }
.booking .panel {
  background: rgba(6, 28, 56, .55); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px);
  max-width: 620px; margin-inline: auto; border-radius: 12px; padding: clamp(36px, 5vw, 60px);
}
.booking__eyebrow { color: var(--teal-300); }
.booking__title { font-family: var(--font-serif-cjk); font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; margin: 8px 0 10px; }
html[data-lang="en"] .booking__title { font-family: var(--font-serif); }
.booking__text { color: rgba(255,255,255,.82); margin-bottom: 28px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 70px 0 34px; font-size: .92rem; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.footer-about { line-height: 1.8; max-width: 34ch; color: rgba(255,255,255,.55); }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,.62); transition: color .3s, padding .3s; }
.footer-col a:hover { color: var(--teal-300); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; color: rgba(255,255,255,.62); }
.footer-contact svg { flex: none; width: 16px; height: 16px; stroke: var(--teal-300); fill: none; margin-top: 4px; }
.site-footer .bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; flex-wrap: wrap; }
.site-footer .bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer .bottom a:hover { color: var(--teal-300); }
.copyright { color: rgba(255,255,255,.45); font-size: .84rem; }

/* ==========================================================================
   LEGAL / PRIVACY (long-form)
   ========================================================================== */
.doc { max-width: 820px; margin-inline: auto; }
.doc h2 { font-family: var(--font-serif-cjk); font-size: 1.5rem; color: var(--navy); margin: 40px 0 14px; padding-top: 10px; }
html[data-lang="en"] .doc h2 { font-family: var(--font-serif); font-size: 1.7rem; }
.doc h3 { font-size: 1.1rem; color: var(--navy-600); margin: 24px 0 10px; }
.doc p { color: var(--ink-soft); margin-bottom: 14px; line-height: 1.9; }
.doc ul { margin: 0 0 16px; display: grid; gap: 9px; }
.doc ul li { padding-left: 22px; position: relative; color: var(--ink-soft); line-height: 1.8; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.doc .updated { color: var(--slate-300); font-size: .88rem; font-style: italic; margin-bottom: 30px; }
.doc-tabs { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.doc-tab { padding: 12px 20px; font-weight: 600; color: var(--slate); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: .3s; }
.doc-tab.active, .doc-tab:hover { color: var(--navy); border-color: var(--teal); }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal].from-left { transform: translateX(-40px); }
[data-reveal].from-right { transform: translateX(40px); }
[data-reveal].from-left.in, [data-reveal].from-right.in { transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } * { scroll-behavior: auto; } }

/* ==========================================================================
   LANGUAGE VISIBILITY  (fallback; JS-driven text is primary)
   ========================================================================== */
[data-lang-only] { display: none; }
html[data-lang="zh-Hant"] [data-lang-only~="zh-Hant"],
html[data-lang="zh-Hans"] [data-lang-only~="zh-Hans"],
html[data-lang="en"] [data-lang-only~="en"] { display: revert; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .nav, .header-right .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .split, .g-2, .g-3 { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .solution-block .split__media img { min-height: 300px; }
  .stats { grid-template-columns: 1fr; gap: 8px; }
  .stat:not(:last-child)::after { display: none; }
  .stat { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .stats--light .stat { border-color: rgba(255,255,255,.15); }
  .form .row { grid-template-columns: 1fr; }
  .hero { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 8vw)); min-height: 82vh; }

  /* mobile nav drawer */
  .nav.open {
    display: flex; position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; padding: 12px 0; box-shadow: var(--shadow-md); align-items: stretch;
  }
  .nav.open a { color: var(--ink); padding: 15px 32px; border-bottom: 1px solid var(--line-soft); }
  .nav.open a::after { display: none; }
  .mobile-lang { display: flex !important; gap: 4px; padding: 16px 32px; }
  .mobile-lang button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 4px; color: var(--slate); font-weight: 600; }
  .mobile-lang button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
}
@media (min-width: 861px) { .mobile-lang { display: none; } }
@media (max-width: 560px) {
  .container { padding-inline: 22px; }
  .g-4, .logo-wall { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}
