/* ============================================================================
   Malaysia Capital Institute (马来西亚资本学院)
   Design system: institutional navy + capital gold, classical-meets-modern 2026.
   ========================================================================= */
:root {
  --navy-900: #071634;
  --navy-800: #0a1f44;
  --navy-700: #0e2a5c;
  --navy-600: #163a7a;
  --navy-050: #eef2f8;
  --gold-600: #a9822f;
  --gold-500: #c8a24a;
  --gold-400: #d9bd77;
  --gold-100: #f2e8d2;
  --ivory: #f8f6f1;
  --paper: #ffffff;
  --ink: #12203a;
  --muted: #5a6a86;
  --line: #e4e2da;
  --line-navy: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px -28px rgba(7, 22, 52, 0.45);
  --shadow-soft: 0 12px 40px -24px rgba(7, 22, 52, 0.35);
  --radius: 16px;
  --maxw: 1220px;
  --serif-cjk: "Noto Serif SC", "Songti SC", serif;
  --serif-lat: "Playfair Display", "Noto Serif SC", serif;
  --sans-cjk: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans-lat: "Inter", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans-cjk);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-400); color: var(--navy-900); }

.wrap { width: min(92%, var(--maxw)); margin-inline: auto; }
.eyebrow {
  font-family: var(--sans-lat); font-weight: 600; font-size: 12px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-600);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold-500); }
.eyebrow.center::after { content: ""; width: 30px; height: 1px; background: var(--gold-500); }
h1, h2, h3 { font-family: var(--serif-cjk); font-weight: 700; line-height: 1.25; letter-spacing: 0.01em; color: var(--navy-900); }
.section-title { font-size: clamp(28px, 4vw, 46px); margin: 18px 0 14px; }
.section-lede { color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); max-width: 62ch; }
.lat { font-family: var(--serif-lat); }

/* ---- buttons ---- */
.btn {
  --bg: var(--gold-500); --fg: var(--navy-900);
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--sans-cjk); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(200, 162, 74, 0.6); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: transparent; color: #fff; border-color: var(--line-navy); }
.btn.ghost:hover { background: rgba(255,255,255,0.08); box-shadow: none; }
.btn.dark { background: var(--navy-800); color: #fff; }
.btn.dark:hover { box-shadow: 0 16px 30px -14px rgba(10,31,68,0.6); }

/* ============================ NAV ============================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; transition: background .4s, padding .4s, box-shadow .4s;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: min(92%, var(--maxw)); }
.nav.scrolled { background: rgba(248,246,241,0.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt .en { font-family: var(--serif-lat); font-weight: 700; font-size: 15px; letter-spacing: .16em; color: var(--navy-900); }
.brand-txt .zh { font-size: 12px; letter-spacing: .28em; color: var(--gold-600); }
.nav.on-dark:not(.scrolled) .brand-txt .en { color: #fff; }
.nav.on-dark:not(.scrolled) .navlinks a { color: rgba(255,255,255,0.86); }
.navlinks { display: flex; align-items: center; gap: 30px; }
.navlinks a { font-size: 14.5px; font-weight: 500; position: relative; color: var(--ink); transition: color .3s; }
.navlinks a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold-500); transition: width .35s var(--ease); }
.navlinks a:hover { color: var(--gold-600); }
.navlinks a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.menu-btn span { display: block; width: 26px; height: 2px; background: currentColor; margin: 5px auto; transition: .3s; }
.nav.on-dark:not(.scrolled) .menu-btn { color: #fff; }

/* ============================ HERO ============================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,22,52,0.82) 0%, rgba(7,22,52,0.45) 52%, rgba(7,22,52,0.15) 100%),
    linear-gradient(180deg, rgba(7,22,52,0.5) 0%, rgba(7,22,52,0.28) 45%, rgba(7,22,52,0.6) 100%),
    radial-gradient(1200px 700px at 80% 22%, rgba(200,162,74,0.16), transparent 60%);
}
.hero-inner { padding: 140px 0 90px; max-width: 940px; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px;
  font-family: var(--sans-lat); letter-spacing: .3em; text-transform: uppercase;
  font-size: 12.5px; color: var(--gold-400); font-weight: 600;
}
.hero .kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold-400); }
.hero h1 { color: #fff; font-size: clamp(40px, 7vw, 86px); line-height: 1.08; letter-spacing: .02em; }
.hero h1 .accent { color: var(--gold-400); }
.hero .sub { margin: 26px 0 12px; font-size: clamp(16px, 1.7vw, 20px); color: rgba(255,255,255,0.82); max-width: 58ch; }
.hero .en-tag { font-family: var(--serif-lat); font-style: italic; font-size: clamp(18px,2vw,24px); color: rgba(255,255,255,0.7); margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line-navy); }
.hero-pills span { font-size: 14px; color: rgba(255,255,255,0.78); display: inline-flex; align-items: center; gap: 9px; }
.hero-pills span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); }
.scrollcue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-align: center; }
.scrollcue .line { width: 1px; height: 42px; margin: 10px auto 0; background: linear-gradient(var(--gold-400), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(.4); opacity:.4 } 50% { transform: scaleY(1); opacity:1 } }

/* ============================ STATS ============================ */
.stats { background: var(--navy-900); color: #fff; padding: 54px 0; position: relative; }
.stats::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 300px at 20% 0%, rgba(200,162,74,0.12), transparent 60%); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-family: var(--serif-lat); font-weight: 700; font-size: clamp(38px, 5vw, 60px); color: var(--gold-400); line-height: 1; }
.stat .num .suffix { font-size: .5em; }
.stat .label { margin-top: 12px; font-size: 14.5px; color: rgba(255,255,255,0.8); letter-spacing: .04em; }
.stat + .stat { border-left: 1px solid var(--line-navy); }

/* ============================ SECTION SHELL ============================ */
section.block { padding: clamp(70px, 9vw, 130px) 0; }
.block.alt { background: var(--paper); }
.head { margin-bottom: 54px; max-width: 760px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .eyebrow { justify-content: center; }

/* ---- about ---- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.about-copy p { color: var(--muted); margin-bottom: 18px; font-size: 16.5px; }
.about-copy .lead { color: var(--ink); font-size: clamp(18px,1.7vw,21px); font-weight: 500; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 30px; }
.about-facts div { background: var(--paper); padding: 20px 22px; }
.about-facts dt { font-family: var(--sans-lat); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
.about-facts dd { margin-top: 6px; font-weight: 500; color: var(--ink); }
.about-visual { position: relative; }
.about-visual img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.about-visual .badge {
  position: absolute; left: -26px; bottom: 34px; background: var(--navy-800); color: #fff;
  padding: 22px 26px; border-radius: 14px; box-shadow: var(--shadow); max-width: 260px;
  border-left: 3px solid var(--gold-500);
}
.about-visual .badge b { font-family: var(--serif-lat); color: var(--gold-400); font-size: 15px; letter-spacing: .1em; }
.about-visual .badge p { font-size: 14px; color: rgba(255,255,255,0.82); margin-top: 6px; }

/* ---- president quote ---- */
.message { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; position: relative; overflow: hidden; }
.message::before { content: "“"; position: absolute; top: -40px; left: 4%; font-family: var(--serif-lat); font-size: 320px; color: rgba(200,162,74,0.12); line-height: 1; }
.message .wrap { position: relative; }
.message .eyebrow { color: var(--gold-400); }
.message blockquote { font-family: var(--serif-cjk); font-weight: 700; font-size: clamp(22px, 3.1vw, 38px); line-height: 1.5; margin: 22px 0 30px; max-width: 20ch; }
.message .body { color: rgba(255,255,255,0.82); max-width: 65ch; font-size: 16.5px; }
.message .body p { margin-bottom: 14px; }
.sign { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-navy); }
.sign .name { font-family: var(--serif-lat); font-size: 17px; color: var(--gold-400); }
.sign .role { font-size: 14px; color: rgba(255,255,255,0.7); }
.message-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 60px; align-items: center; }
.message-portrait { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; }
.message-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---- vision / mission / purpose ---- */
.vmp-vision {
  background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: clamp(34px,5vw,64px);
  position: relative; overflow: hidden; margin-bottom: 26px; border: 1px solid var(--line-navy);
}
.vmp-vision::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(200,162,74,0.18), transparent 65%); }
.vmp-vision .eyebrow { color: var(--gold-400); }
.vmp-vision h3 { color: #fff; font-size: clamp(24px, 3vw, 40px); margin-top: 16px; max-width: 24ch; line-height: 1.35; }
.mp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mission-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.mission-list { display: grid; gap: 14px; margin-top: 20px; }
.mission-item { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.mission-item:last-child { border-bottom: 0; }
.mission-item .k { font-family: var(--serif-cjk); font-weight: 700; color: var(--navy-800); font-size: 19px; flex: none; width: 52px; }
.mission-item .k small { display: block; font-family: var(--sans-lat); font-size: 10px; letter-spacing: .12em; color: var(--gold-600); font-weight: 600; }
.mission-item p { color: var(--muted); font-size: 15px; }
.purpose-card { background: linear-gradient(160deg, var(--gold-100), #fff); border: 1px solid var(--gold-400); }
.purpose-card .big { font-family: var(--serif-cjk); font-weight: 700; font-size: clamp(19px,1.8vw,24px); color: var(--navy-900); line-height: 1.6; }

/* ---- pillars ---- */
.pillars-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.pillars-tabs button {
  font-family: var(--sans-cjk); cursor: pointer; border: 1px solid var(--line); background: var(--paper);
  padding: 14px 24px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: .3s;
  display: inline-flex; align-items: center; gap: 12px;
}
.pillars-tabs button .no { font-family: var(--serif-lat); color: var(--gold-600); }
.pillars-tabs button[aria-selected="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.pillars-tabs button[aria-selected="true"] .no { color: var(--gold-400); }
.pillar-panel { display: none; }
.pillar-panel.active { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; animation: fadeUp .6s var(--ease); }
.pillar-panel .p-copy .no { font-family: var(--serif-lat); font-size: 64px; color: var(--gold-500); line-height: .9; }
.pillar-panel .p-copy h3 { font-size: clamp(24px,2.6vw,34px); margin: 8px 0 8px; }
.pillar-panel .p-copy .fn { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--gold-600); background: var(--gold-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.pillar-panel .p-copy p { color: var(--muted); }
.p-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p-mod {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px;
  display: flex; gap: 14px; align-items: flex-start; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.p-mod:hover { transform: translateY(-4px); border-color: var(--gold-400); box-shadow: var(--shadow-soft); }
.p-mod .mno { font-family: var(--serif-lat); font-weight: 700; color: var(--gold-500); font-size: 18px; flex: none; }
.p-mod span { font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.5; }

/* ---- values (Insight / Integrity / Impact) ---- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px;
  position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s;
}
.value-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.value-card:hover::before { transform: scaleX(1); }
.value-card .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-050); color: var(--navy-700); margin-bottom: 22px; }
.value-card .ic svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 23px; }
.value-card .en { font-family: var(--serif-lat); color: var(--gold-600); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin: 4px 0 14px; }
.value-card p { color: var(--muted); font-size: 15px; }

/* ---- focus areas (CMP3) ---- */
.focus { background: var(--navy-900); color: #fff; }
.focus .head .section-title, .focus .head .eyebrow { color: #fff; }
.focus .head .eyebrow { color: var(--gold-400); }
.focus .head .section-lede { color: rgba(255,255,255,0.75); }
.cmp-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 18px; border: 1px solid var(--line-navy); border-radius: 999px; font-size: 14px; color: rgba(255,255,255,0.85); }
.cmp-badge b { color: var(--gold-400); font-family: var(--serif-lat); }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.focus-item {
  border: 1px solid var(--line-navy); border-radius: 14px; padding: 26px 22px; background: rgba(255,255,255,0.03);
  transition: background .3s, transform .3s var(--ease), border-color .3s; min-height: 150px; display: flex; flex-direction: column;
}
.focus-item:hover { background: rgba(200,162,74,0.1); border-color: var(--gold-500); transform: translateY(-5px); }
.focus-item .fno { font-family: var(--serif-lat); color: var(--gold-400); font-size: 14px; letter-spacing: .1em; }
.focus-item h4 { font-family: var(--serif-cjk); color: #fff; font-size: 18px; margin-top: auto; font-weight: 700; }
.focus-item p { font-size: 13px; color: rgba(255,255,255,0.62); margin-top: 8px; }

/* ---- why now (gap vs future) ---- */
.gap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.gap-col { border-radius: var(--radius); padding: 40px; }
.gap-col.now { background: var(--paper); border: 1px solid var(--line); }
.gap-col.future { background: var(--navy-800); color: #fff; }
.gap-col h3 { font-size: 22px; margin-bottom: 6px; }
.gap-col.future h3 { color: #fff; }
.gap-col .tag { font-family: var(--sans-lat); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.gap-col.now .tag { color: var(--muted); }
.gap-col.future .tag { color: var(--gold-400); }
.gap-list { margin-top: 22px; display: grid; gap: 14px; }
.gap-list li { list-style: none; display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.gap-list li .m { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; }
.gap-col.now .m { background: #f4e3e3; color: #b0554e; }
.gap-col.future .m { background: rgba(200,162,74,0.22); color: var(--gold-400); }
.gap-col.now li { color: var(--muted); }
.gap-col.future li { color: rgba(255,255,255,0.85); }

/* ---- audience ---- */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.aud-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; transition: .35s var(--ease); }
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold-400); }
.aud-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-050); color: var(--navy-700); display: grid; place-items: center; margin-bottom: 16px; }
.aud-card .ic svg { width: 24px; height: 24px; }
.aud-card h4 { font-size: 17px; font-family: var(--serif-cjk); }
.aud-card p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ---- CTA ---- */
.cta { position: relative; color: #fff; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,22,52,0.9), rgba(7,22,52,0.82)); }
.cta h2 { color: #fff; font-size: clamp(28px, 4.2vw, 52px); max-width: 22ch; margin-inline: auto; }
.cta p { color: rgba(255,255,255,0.82); max-width: 56ch; margin: 20px auto 0; font-size: 17px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.cta-meta { margin-top: 46px; display: flex; gap: 12px 40px; justify-content: center; flex-wrap: wrap; color: rgba(255,255,255,0.75); font-size: 14.5px; }
.cta-meta span { display: inline-flex; gap: 10px; align-items: center; }
.cta-meta svg { width: 18px; height: 18px; color: var(--gold-400); }

/* ---- footer ---- */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-navy); }
.footer .brand-txt .en { color: #fff; }
.footer p { font-size: 14.5px; margin-top: 18px; max-width: 40ch; }
.footer h5 { color: #fff; font-family: var(--sans-cjk); font-size: 15px; letter-spacing: .05em; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; transition: color .3s; }
.footer ul a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom .lat { letter-spacing: .1em; }

/* ============================ MOTION ============================ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s 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; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ============================ MULTI-PAGE COMPONENTS ============================ */
.navlinks a.active { color: var(--gold-600); }
.navlinks a.active::after { width: 100%; }
.nav.on-dark:not(.scrolled) .navlinks a.active { color: var(--gold-400); }

/* language toggle (injected by app.js on every page) */
.lang-toggle { font-family: var(--sans-lat); font-weight: 600; font-size: 13px; letter-spacing: .05em; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); transition: color .3s, border-color .3s, background .3s; white-space: nowrap; }
.lang-toggle:hover { border-color: var(--gold-500); color: var(--gold-600); background: var(--gold-100); }
.nav.on-dark:not(.scrolled) .lang-toggle { color: #fff; border-color: var(--line-navy); }
.nav.on-dark:not(.scrolled) .lang-toggle:hover { color: var(--gold-400); background: rgba(255,255,255,0.08); }
@media (max-width: 980px) { .nav-cta .lang-toggle { display: inline-block; } }

/* page hero / banner (inner pages) */
.page-hero { position: relative; color: #fff; padding: 170px 0 90px; overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,22,52,0.82), rgba(7,22,52,0.68)), radial-gradient(1000px 500px at 80% 10%, rgba(200,162,74,0.2), transparent 60%); }
.breadcrumb { font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--gold-400); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 60px); }
.page-hero .lat { font-family: var(--serif-lat); font-style: italic; color: var(--gold-400); font-size: clamp(15px,1.6vw,19px); display: block; margin-top: 12px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 60ch; margin-top: 18px; font-size: 17px; }

/* home teasers — link cards to inner pages */
.teasers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.teaser-card {
  position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 32px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; color: var(--ink);
}
.teaser-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.teaser-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.teaser-card:hover::after { transform: scaleX(1); }
.teaser-card .tno { font-family: var(--serif-lat); font-size: 15px; color: var(--gold-600); letter-spacing: .1em; }
.teaser-card h3 { font-size: 23px; margin: 14px 0 10px; }
.teaser-card p { color: var(--muted); font-size: 15px; flex: 1; }
.teaser-card .go { margin-top: 18px; font-weight: 600; color: var(--navy-700); display: inline-flex; align-items: center; gap: 8px; }
.teaser-card .go .arrow { transition: transform .3s var(--ease); }
.teaser-card:hover .go .arrow { transform: translateX(5px); }

/* generic split + rich text used on inner pages */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.rich p { color: var(--muted); margin-bottom: 16px; font-size: 16.5px; }
.rich p.lead { color: var(--ink); font-size: clamp(18px,1.7vw,21px); font-weight: 500; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-info .row { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.contact-info .row .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--navy-050); color: var(--navy-700); display: grid; place-items: center; }
.contact-info .row .ic svg { width: 22px; height: 22px; }
.contact-info .row dt { font-family: var(--sans-lat); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
.contact-info .row dd { font-weight: 500; margin-top: 4px; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory); color: var(--ink); width: 100%;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(200,162,74,0.18); background: #fff; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* compact CTA band reused on inner pages */
.cta-band { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: var(--radius); padding: clamp(36px,5vw,60px); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(200,162,74,0.18), transparent 65%); }
.cta-band h2 { color: #fff; font-size: clamp(24px,3vw,38px); max-width: 24ch; margin: 0 auto 14px; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 52ch; margin: 0 auto 26px; }
.section-num { font-family: var(--serif-lat); color: var(--gold-500); font-size: 15px; letter-spacing: .12em; }

@media (max-width: 980px) {
  .teasers-grid { grid-template-columns: 1fr; }
  .split, .contact-grid, .form-row { grid-template-columns: 1fr; }
  .split.rev .split-media { order: -1; }
}

/* mobile menu panel */
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: var(--navy-900); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 40px; transform: translateX(100%); transition: transform .5s var(--ease); }
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--serif-cjk); font-size: 30px; padding: 10px 0; border-bottom: 1px solid var(--line-navy); }
.mobile-menu .close { position: absolute; top: 24px; right: 24px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .navlinks, .nav-cta .btn { display: none; }
  .menu-btn { display: block; }
  .about-grid, .message-grid, .mp-row, .gap-grid, .pillar-panel.active { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line-navy); padding-top: 30px; }
  .values-grid { grid-template-columns: 1fr; }
  .focus-grid, .aud-grid { grid-template-columns: 1fr 1fr; }
  .about-visual .badge { left: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .message-portrait { max-width: 320px; }
}
@media (max-width: 560px) {
  .focus-grid, .aud-grid, .p-modules { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-bg img { transform: none; }
}
