/* APEX Group Holding — site styles */
:root {
  --blue: #2750A9;
  --blue-deep: #0A2F6B;
  --navy: #0B1D45;
  --gold: #C9A45A;
  --gold-light: #F2E59A;
  --bronze: #7A5A24;
  --charcoal: #3D3D3F;
  --sand: #DCD2BC;
  --sand-soft: #F6F2E9;
  --white: #FFFFFF;
  --text: #2B2B2E;
  --muted: #6B6B70;
  --gold-grad: linear-gradient(135deg, #8A6A2E 0%, #E9D58A 38%, #F2E59A 50%, #C9A45A 68%, #7A5A24 100%);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Segoe UI", Arial, sans-serif;
  --khmer: "Kantumruy Pro", "Battambang", sans-serif;
  --wrap: 1180px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Language switching ---------- */
html[data-lang="en"] [lang="km"] { display: none !important; }
html[data-lang="km"] [lang="en"] { display: none !important; }
html[data-lang="km"] body { font-family: var(--khmer), var(--sans); line-height: 1.9; }
html[data-lang="km"] h1, html[data-lang="km"] h2, html[data-lang="km"] h3,
html[data-lang="km"] .eyebrow, html[data-lang="km"] .btn, html[data-lang="km"] .nav a {
  font-family: var(--khmer), var(--serif);
  letter-spacing: 0;
  text-transform: none;
}
html[data-lang="km"] h1 { line-height: 1.45; }
html[data-lang="km"] h2 { line-height: 1.5; }

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

/* ---------- Header ---------- */
.topbar { height: 6px; background: var(--gold-grad); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 29, 69, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 164, 90, 0.25);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: #E8E3D5; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-light); }

.dropdown { position: relative; }
.dropdown > button {
  background: none; border: 0; cursor: pointer; color: #E8E3D5;
  font: 600 13px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 0;
}
html[data-lang="km"] .dropdown > button { font-family: var(--khmer); letter-spacing: 0; }
.dropdown > button::after { content: " \25BE"; color: var(--gold); }
.dropdown-menu {
  position: absolute; top: calc(100% + 18px); left: -20px; min-width: 260px;
  background: var(--navy); border: 1px solid rgba(201,164,90,.35); border-top: 2px solid var(--gold);
  padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .2s ease;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 10px 20px; letter-spacing: .08em; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: rgba(201,164,90,.12); color: var(--gold-light); }

.lang-switch { display: flex; border: 1px solid rgba(201,164,90,.55); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  background: transparent; border: 0; color: #E8E3D5; cursor: pointer;
  font: 600 12px var(--sans); padding: 7px 13px; letter-spacing: .06em;
}
.lang-switch button.km { font-family: var(--khmer); font-size: 13px; padding-top: 5px; padding-bottom: 5px; }
.lang-switch button.active { background: var(--gold-grad); color: var(--navy); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--gold); margin: 6px 0; transition: .25s; }

/* ---------- Buttons & type ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: 700 13px var(--sans); letter-spacing: .16em; text-transform: uppercase;
  padding: 16px 30px; border-radius: var(--radius); border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-gold { background: var(--gold-grad); color: var(--navy); box-shadow: 0 8px 24px rgba(201,164,90,.25); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,164,90,.4); }
.btn-outline { border-color: rgba(242,229,154,.7); color: var(--gold-light); }
.btn-outline:hover { background: rgba(242,229,154,.1); }
.btn-dark { background: var(--navy); color: var(--gold-light); }
.btn-dark:hover { background: var(--blue); }

h1, h2, h3 { font-family: var(--serif); margin: 0; font-weight: 700; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.08; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; color: var(--navy); }
h3 { font-size: 24px; line-height: 1.3; color: var(--navy); }
.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 12px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--bronze);
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.on-dark .eyebrow { color: var(--gold); }
.center { text-align: center; }
.lead { font-size: 19px; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1200px 600px at 75% 20%, rgba(39,80,169,.9), transparent 60%),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 55%, var(--navy) 100%);
  padding: 120px 0 230px;
}
.hero::before {
  content: ""; position: absolute; top: -20%; right: -8%; width: 620px; height: 620px;
  background: url("assets/favicon.png") center / contain no-repeat;
  opacity: .07; transform: rotate(-8deg);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 820px; }
.hero p.sub { font-size: 20px; max-width: 640px; color: #DDE3F2; margin: 26px 0 40px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; }
.skyline {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 170px; z-index: 1;
  background: url("assets/skyline-white.png") bottom center / auto 100% repeat-x;
}
.skyline.white { background-image: url("assets/skyline-white.png"); }
.hero.page-hero { padding: 100px 0 200px; }
.hero.page-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.hero .member-of {
  display: inline-block; margin-top: 22px; padding: 8px 16px; border: 1px solid rgba(201,164,90,.5);
  border-radius: 999px; font-size: 13px; letter-spacing: .1em; color: var(--gold-light);
}

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.bg-sand { background: var(--sand-soft); }
.bg-navy { background: var(--navy); color: #E2E6F0; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split p { color: var(--muted); }
.stat-panel {
  position: relative; background: var(--navy); color: var(--white); padding: 56px 48px; border-radius: var(--radius);
  overflow: hidden;
}
.stat-panel::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--gold-grad); }
.stat-panel img { width: 200px; margin-bottom: 28px; }
.stat-panel p { color: #C9D0E2; margin: 0; }
.stat-panel .pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.pill { border: 1px solid rgba(201,164,90,.5); color: var(--gold-light); padding: 6px 14px; border-radius: 999px; font-size: 13px; }

/* Company cards */
.companies { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 60px; }
.company-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 440px; padding: 44px; color: var(--white); text-decoration: none;
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
.company-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(11,29,69,.25); }
.company-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background-color: var(--blue-deep); background-size: cover; background-position: center; transition: transform .6s ease; }
.company-card:hover::before { transform: scale(1.05); }
.company-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,29,69,0) 0%, rgba(11,29,69,.1) 35%, rgba(11,29,69,.9) 78%); }
.company-card.energy::before { background-image: url("assets/energy.svg"); }
.company-card.downtown::before { background-image: url("assets/downtown.svg"); }
.company-card .tag { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
html[data-lang="km"] .company-card .tag { letter-spacing: 0; }
.company-card h3 { color: var(--white); font-size: 34px; margin-bottom: 12px; }
.company-card p { color: #D3D9E8; margin: 0 0 24px; max-width: 420px; }
.company-card .more { font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.company-card .more::after { content: " \2192"; transition: margin .2s; }
.company-card:hover .more::after { margin-left: 6px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid rgba(201,164,90,.35); }
.value { padding: 40px 30px 10px; border-right: 1px solid rgba(201,164,90,.2); }
.value:last-child { border-right: 0; }
.value .num { font: 700 42px var(--serif); line-height: 1; margin-bottom: 18px; }
.value h3 { font-size: 21px; margin-bottom: 10px; }
.value p { color: #B9C2D8; font-size: 15.5px; margin: 0; }

/* CEO */
.ceo { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
.ceo-photo { position: relative; }
.ceo-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: var(--radius); }
.ceo-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.ceo blockquote { margin: 0; font: italic 400 clamp(22px, 2.4vw, 30px)/1.5 var(--serif); color: var(--navy); }
html[data-lang="km"] .ceo blockquote { font-family: var(--khmer); font-style: normal; font-size: 22px; line-height: 1.9; }
.ceo blockquote::before { content: "\201C"; display: block; font-size: 90px; line-height: .6; color: var(--gold); margin-bottom: 8px; }
.ceo .sig { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--sand); }
.ceo .sig strong { display: block; font: 700 20px var(--serif); color: var(--navy); }
.ceo .sig span { color: var(--bronze); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
html[data-lang="km"] .ceo .sig span { letter-spacing: 0; text-transform: none; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: var(--white);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  padding: 100px 0;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--gold-grad); opacity: .08; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: #D6DDEE; max-width: 620px; margin: 0 auto 36px; font-size: 19px; }

/* Features (subsidiary pages) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.feature {
  background: var(--white); padding: 40px 34px; border-radius: var(--radius);
  border: 1px solid #ECE6D8; border-top: 3px solid var(--gold);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11,29,69,.08); }
.feature .icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); margin-bottom: 22px; }
.feature .icon svg { width: 26px; height: 26px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; }
.feature h3 { font-size: 22px; margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 50px; }
.mv .card { padding: 48px 42px; background: var(--navy); color: #D0D7E8; border-radius: var(--radius); position: relative; overflow: hidden; }
.mv .card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-grad); }
.mv .card h3 { color: var(--gold-light); margin-bottom: 14px; }
.mv .card p { margin: 0; font-size: 18px; }

.leader-card { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; margin-top: 50px; background: var(--white); border: 1px solid #ECE6D8; border-radius: var(--radius); padding: 28px; }
.leader-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: var(--radius); }
.leader-card .role { color: var(--bronze); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; font-weight: 700; }
html[data-lang="km"] .leader-card .role { letter-spacing: 0; text-transform: none; }
.leader-card h3 { font-size: 32px; margin: 6px 0 14px; }
.leader-card p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; }
.contact-info .item { display: flex; gap: 18px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid #ECE6D8; }
.contact-info .item .icon { flex: 0 0 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; }
.contact-info .item svg { width: 22px; height: 22px; stroke: var(--bronze); fill: none; stroke-width: 1.6; }
.contact-info .item small { display: block; color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.contact-info .item a { font-weight: 600; color: var(--navy); text-decoration: none; font-size: 18px; word-break: break-all; }
form.contact-form { background: var(--white); padding: 48px; border-radius: var(--radius); border: 1px solid #ECE6D8; box-shadow: 0 30px 60px rgba(11,29,69,.06); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #DDD6C6; border-radius: var(--radius);
  font: 16px var(--sans); color: var(--text); background: #FCFBF8; transition: border-color .2s, box-shadow .2s;
}
html[data-lang="km"] .field input, html[data-lang="km"] .field select, html[data-lang="km"] .field textarea { font-family: var(--khmer), var(--sans); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,90,.18); }
.field textarea { min-height: 150px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #EEF6EE; color: #2D5E2D; border: 1px solid #BFDABF; }
.form-status.err { display: block; background: #FBEEEE; color: #8A2D2D; border: 1px solid #E5C3C3; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy); color: #AEB7CC; padding: 0 0 30px; }
.footer-sky { height: 110px; background: var(--white) url("assets/skyline-navy.png") bottom center / auto 100% repeat-x; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding: 60px 0 50px; }
.footer-grid img { width: 170px; margin-bottom: 18px; }
.footer-grid h4 { font: 700 13px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
html[data-lang="km"] .footer-grid h4 { font-family: var(--khmer); letter-spacing: 0; text-transform: none; font-size: 15px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: #D1D7E5; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(201,164,90,.2); padding-top: 26px; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(2) { border-right: 0; }
  .ceo { grid-template-columns: 340px 1fr; gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 90px; left: 0; right: 0; bottom: 0; background: var(--navy);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 20px 24px 40px;
    transform: translateX(100%); transition: transform .3s ease, visibility .3s; overflow-y: auto; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav > a, .nav .dropdown { width: 100%; padding: 16px 0; border-bottom: 1px solid rgba(201,164,90,.15); font-size: 15px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: transparent; padding: 6px 0 0 14px; }
  .lang-switch { margin-top: 24px; }
  section { padding: 80px 0; }
  .split, .companies, .ceo, .mv, .contact-grid, .leader-card, .features { grid-template-columns: 1fr; gap: 40px; }
  .ceo-photo { max-width: 380px; }
  .leader-card img { max-width: 320px; }
  .hero { padding: 90px 0 170px; }
  .skyline { height: 120px; }
  .company-card { min-height: 380px; padding: 32px; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1px solid rgba(201,164,90,.2); padding: 30px 0; }
  .row-2 { grid-template-columns: 1fr; }
  form.contact-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 48px; }
  .stat-panel { padding: 40px 28px; }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold-light); color: var(--navy); padding: 10px 18px; font-weight: 700; border-radius: var(--radius);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn:focus-visible, .company-card:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .code { font: 700 clamp(90px, 16vw, 180px)/1 var(--serif); }

/* ---------- Footer legal ---------- */
.tm-notice { font-size: 13px; color: #8E98B0; border-top: 1px solid rgba(201,164,90,.2); padding-top: 22px; margin: 0 0 18px; max-width: 900px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal-links a { color: #C3CBDD; text-decoration: none; }
.legal-links a:hover { color: var(--gold-light); }
.legal-links .no-cookie::before { content: "\25CF"; color: var(--gold); margin-right: 6px; font-size: 9px; vertical-align: 2px; }
.footer-bottom { border-top: 0; padding-top: 0; }
.form-privacy { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.form-privacy a { color: var(--bronze); }

/* ---------- Legal page ---------- */
.glance { background: var(--navy); color: #D0D7E8; padding: 90px 0; }
.glance h2 { color: var(--white); }
.glance .lead { color: #B9C2D8; margin-top: 14px; }
.glance .eyebrow { color: var(--gold); }
.glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; border-top: 1px solid rgba(201,164,90,.35); }
.glance-item { padding: 34px 26px 6px; border-right: 1px solid rgba(201,164,90,.2); display: grid; gap: 16px; align-content: start; }
.glance-item:last-child { border-right: 0; }
.glance-item .icon { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; }
.glance-item svg, .cookie-badge svg { width: 24px; height: 24px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; stroke-linecap: round; }
.glance-item h3 { color: var(--white); font-size: 20px; margin-bottom: 8px; }
.glance-item p { margin: 0; font-size: 15.5px; color: #B9C2D8; }

.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 70px; align-items: start; }
.legal-toc { position: sticky; top: 110px; display: grid; gap: 4px; border-left: 2px solid var(--gold); padding-left: 20px; }
.legal-toc .toc-title { font: 700 12px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); margin-bottom: 8px; }
html[data-lang="km"] .legal-toc .toc-title { letter-spacing: 0; font-family: var(--khmer); font-size: 14px; }
.legal-toc a { text-decoration: none; color: var(--navy); padding: 6px 0; font-weight: 600; font-size: 15px; }
.legal-toc a:hover { color: var(--bronze); }
.legal-toc .toc-date { margin-top: 14px; font-size: 13px; color: var(--muted); }

.legal-content { max-width: 760px; }
.legal-sec { padding: 0 0 56px; margin-bottom: 56px; border-bottom: 1px solid #ECE6D8; scroll-margin-top: 110px; }
.legal-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-num { font: 700 15px var(--serif); color: var(--gold); margin-bottom: 6px; letter-spacing: .1em; }
.legal-sec h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 20px; text-wrap: balance; }
.legal-sec h3 { font-size: 20px; margin: 30px 0 8px; }
.legal-sec p, .legal-sec li { color: #4A4A50; }
.legal-sec ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 12px; }
.legal-sec li::marker { color: var(--gold); }
.legal-sec strong { color: var(--navy); }

.tm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 26px; }
.tm-mark { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--sand-soft); border-left: 3px solid var(--gold); border-radius: var(--radius); }
.tm-mark.logo { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; }
.tm-mark.logo img { width: 40px; height: 40px; }
.tm-name { font: 700 19px var(--serif); color: var(--navy); }
.tm-owner { font-size: 14px; color: var(--muted); }

.callout { margin-top: 18px; padding: 20px 24px; border: 1px solid #E5DAC0; border-radius: var(--radius); background: #FFFDF7; }
.callout strong { display: block; margin-bottom: 4px; }
.callout p { margin: 0; }

.cookie-badge { display: flex; gap: 18px; align-items: center; padding: 22px 26px; background: var(--navy); border-radius: var(--radius); margin-bottom: 22px; }
.cookie-badge > svg { flex: 0 0 auto; width: 40px; height: 40px; }
.cookie-badge strong { display: block; color: var(--gold-light) !important; font: 700 22px var(--serif); }
html[data-lang="km"] .cookie-badge strong { font-family: var(--khmer); }
.cookie-badge span { color: #C9D0E2; font-size: 15px; }

.legal-contact { display: grid; gap: 4px; padding: 22px 26px; border: 1px solid #ECE6D8; border-radius: var(--radius); }
.legal-contact a { color: var(--bronze); font-weight: 600; }

@media (max-width: 1024px) {
  .glance-grid { grid-template-columns: 1fr 1fr; }
  .glance-item:nth-child(2) { border-right: 0; }
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { position: static; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .legal-toc .toc-title, .legal-toc .toc-date { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .glance-grid { grid-template-columns: 1fr; }
  .glance-item { border-right: 0; border-bottom: 1px solid rgba(201,164,90,.2); padding: 26px 0; }
  .tm-list { grid-template-columns: 1fr; }
}
.cookie-badge strong span { font-size: inherit; color: inherit; }
.cookie-badge > div > span { display: block; margin-top: 2px; }

/* ---------- Vision band (home) ---------- */
.vision-band { padding: 100px 0; background: var(--white); border-top: 1px solid #ECE6D8; }
.vision-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 70px; align-items: center; }
.vision-quote { margin: 0; font: 400 clamp(26px, 2.9vw, 38px)/1.35 var(--serif); color: var(--navy); text-wrap: balance; }
html[data-lang="km"] .vision-quote { font-family: var(--khmer); font-size: clamp(21px, 2.1vw, 27px); line-height: 1.85; }
.mission-box { background: var(--navy); color: #D0D7E8; padding: 44px 40px; border-radius: var(--radius); position: relative; overflow: hidden; }
.mission-box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-grad); }
.mission-box .eyebrow { color: var(--gold); }
.mission-box p { margin: 0 0 22px; font-size: 17.5px; }
.text-link { color: var(--gold-light); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
html[data-lang="km"] .text-link { letter-spacing: 0; text-transform: none; font-size: 15px; }
.text-link::after { content: " \2192"; }

/* ---------- Mission statements ---------- */
.missions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.mission { position: relative; background: var(--white); border: 1px solid #ECE6D8; border-radius: var(--radius); padding: 36px 32px; }
.mission .icon { width: 50px; height: 50px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; margin-bottom: 20px; }
.mission .icon svg, .checklist svg { width: 24px; height: 24px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mission .m-num { position: absolute; top: 30px; right: 30px; font: 700 15px var(--serif); color: var(--gold); letter-spacing: .1em; }
.mission h3 { font-size: 21px; margin-bottom: 10px; }
.mission p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Government + network ---------- */
.gov-net { background: var(--sand-soft); }
.gov-net-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.network-sec .gov-net-grid { grid-template-columns: 1.1fr 1fr; }
.globe img { width: 100%; max-width: 560px; margin: 0 auto; height: auto; }
.gov-net p, .network-sec p { color: var(--muted); }
.net-block { margin-top: 44px; padding-top: 36px; border-top: 1px solid #E3D9C2; }
.net-block h3 { font-size: 26px; margin-bottom: 10px; }
.gov-net .pill { color: var(--bronze); border-color: rgba(122,90,36,.35); background: var(--white); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.checklist svg { flex: 0 0 auto; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--navy); margin-top: 1px; }
.gov-band { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 60%, var(--navy) 100%); color: #DDE3F2; }
.gov-band h2 { color: var(--white); }
.gov-band p { color: #D3DAEC; font-size: 18px; }
.gov-band .checklist li { color: var(--white); }
.gov-band .checklist svg { background: transparent; border: 1px solid var(--gold); }
.net-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.net-item { padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--sand-soft); font-weight: 600; color: var(--navy); border-radius: var(--radius); }

@media (max-width: 1024px) {
  .missions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .vision-grid, .gov-net-grid, .network-sec .gov-net-grid { grid-template-columns: 1fr; gap: 44px; }
  .globe img { max-width: 420px; }
  .network-sec .globe { order: -1; }
}
@media (max-width: 560px) {
  .missions, .net-list { grid-template-columns: 1fr; }
  .mission-box { padding: 32px 26px; }
}

/* ---------- Policy pages ---------- */
.policy-intro { padding: 0 0 40px; margin-bottom: 48px; border-bottom: 1px solid #ECE6D8; font-size: 18px; color: #4A4A50; }
.policy-intro p:first-child { margin-top: 0; }
.legal-sec a, .policy-intro a { color: var(--bronze); }
.toc-related { margin-top: 18px; padding-top: 16px; border-top: 1px solid #ECE6D8; display: grid; gap: 2px; }
.toc-related a { font-size: 14px; font-weight: 600; color: var(--bronze) !important; }
.legal-toc a { font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid #ECE6D8; border-radius: var(--radius); }
.policy-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.policy-table th { background: var(--navy); color: var(--gold-light); text-align: left; padding: 12px 14px; font-weight: 700; }
.policy-table td { padding: 14px; border-top: 1px solid #ECE6D8; vertical-align: top; color: #4A4A50; }
.policy-table tr:nth-child(even) td { background: var(--sand-soft); }
.policy-cards { display: grid; gap: 14px; margin: 22px 0 28px; }
.policy-card { display: flex; gap: 20px; align-items: flex-start; padding: 24px 26px; border: 1px solid #ECE6D8; border-left: 3px solid var(--gold); border-radius: var(--radius); text-decoration: none; transition: box-shadow .2s, transform .2s; background: var(--white); }
.policy-card:hover { box-shadow: 0 16px 34px rgba(11,29,69,.08); transform: translateY(-2px); }
.policy-card .icon { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.policy-card svg { width: 22px; height: 22px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; stroke-linecap: round; }
.policy-card h3 { margin: 0 0 6px !important; font-size: 21px; }
.policy-card p { margin: 0 0 8px; color: var(--muted) !important; }
.more-link { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
html[data-lang="km"] .more-link { letter-spacing: 0; text-transform: none; font-size: 14px; }
.more-link::after { content: " \2192"; }

/* ---------- Leader portrait (About) ---------- */
.leader { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; margin-top: 60px; }
.leader-portrait { position: relative; margin: 0; max-width: 560px; width: 100%; justify-self: end; }
.leader-portrait::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: 0; }
.leader-portrait img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 1041 / 1299; object-fit: cover; object-position: top; border-radius: var(--radius); box-shadow: 0 30px 70px rgba(11,29,69,.28); }
.leader-portrait figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 70px 28px 24px; border-radius: 0 0 var(--radius) var(--radius); background: linear-gradient(180deg, rgba(11,29,69,0) 0%, rgba(11,29,69,.92) 70%); display: grid; gap: 2px; }
.leader-portrait figcaption::before { content: ""; width: 44px; height: 3px; background: var(--gold-grad); margin-bottom: 12px; }
.leader-portrait figcaption strong { font: 700 26px var(--serif); color: var(--white); }
.leader-portrait figcaption > span { color: var(--gold-light); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
html[data-lang="km"] .leader-portrait figcaption strong { font-family: var(--khmer); }
html[data-lang="km"] .leader-portrait figcaption > span { letter-spacing: 0; text-transform: none; font-size: 15px; }
.leader-text .role { color: var(--bronze); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; font-weight: 700; }
html[data-lang="km"] .leader-text .role { letter-spacing: 0; text-transform: none; font-size: 15px; }
.leader-text h3 { font-size: clamp(36px, 4vw, 52px); margin: 8px 0 4px; }
.leader-name-km { font-family: var(--khmer), var(--serif); color: var(--bronze); font-size: 18px; margin-bottom: 22px; }
html[data-lang="km"] .leader-name-km { display: none !important; }
.leader-text > p { color: var(--muted); font-size: 18px; margin: 0 0 26px; }
.leader-text blockquote { margin: 0 0 30px; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font: italic 400 22px/1.5 var(--serif); color: var(--navy); }
html[data-lang="km"] .leader-text blockquote { font-family: var(--khmer); font-style: normal; font-size: 19px; line-height: 1.85; }
.leader-facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid #ECE6D8; }
.leader-facts li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #ECE6D8; }
.leader-facts li > span { color: var(--muted); font-size: 14px; }
.leader-facts strong { color: var(--navy); }
@media (max-width: 900px) {
  .leader { grid-template-columns: 1fr; gap: 60px; }
  .leader-portrait { justify-self: center; max-width: 460px; }
}
@media (max-width: 560px) {
  .leader-portrait::before { inset: 16px -12px -16px 12px; }
  .leader-facts li { grid-template-columns: 1fr; gap: 2px; }
}
.leader-portrait figcaption strong span, .leader-facts strong span { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }

/* ---------- Readability pass (2026-10-07) ---------- */
:root { --muted: #55555C; }
body { font-size: 18px; }
.lead { font-size: 20px; }
.split p, .gov-net p, .network-sec p { font-size: 18px; }
.value p, .glance-item p { font-size: 16.5px; }
.feature p, .mission p { font-size: 17px; }
.company-card p { font-size: 17px; }
.mv .card p { font-size: 19px; }
.legal-sec p, .legal-sec li { font-size: 17px; }
.policy-table { font-size: 15px; }
.tm-notice { font-size: 14px; color: #A3ACC2; }
.form-privacy { font-size: 14px; }
.footer-grid { font-size: 16px; }
.footer-bottom { font-size: 14.5px; }
.eyebrow { font-size: 12.5px; }

/* Leader section: larger, easier to read */
.leader-text .role { font-size: 15px; }
.leader-text h3 { font-size: clamp(44px, 5vw, 64px); line-height: 1.05; margin: 10px 0 8px; }
.leader-name-km { font-size: 24px; margin-bottom: 26px; }
.leader-text > p { font-size: 21px; line-height: 1.7; color: #3F3F45; }
.leader-text blockquote { font-size: 27px; line-height: 1.45; padding-left: 28px; }
html[data-lang="km"] .leader-text blockquote { font-size: 22px; }
html[data-lang="km"] .leader-text > p { font-size: 19px; line-height: 1.95; }
.leader-facts li { grid-template-columns: 150px 1fr; padding: 18px 0; }
.leader-facts li > span { font-size: 16px; }
.leader-facts strong { font-size: 18px; }
.leader-portrait figcaption strong { font-size: 32px; }
.leader-portrait figcaption > span { font-size: 15px; }
@media (max-width: 560px) {
  body { font-size: 17px; }
  .leader-text h3 { font-size: 42px; }
  .leader-text > p { font-size: 19px; }
  .leader-text blockquote { font-size: 23px; }
}
/* pass 2: minimum label sizes */
.nav a, .dropdown > button { font-size: 14px; }
.dropdown-menu a { font-size: 15px; }
.lang-switch button { font-size: 13.5px; }
.lang-switch button.km { font-size: 15px; }
.eyebrow { font-size: 13.5px; letter-spacing: .28em; }
.btn { font-size: 14px; }
.company-card .tag { font-size: 13.5px; }
.company-card .more, .text-link, .more-link { font-size: 14px; }
.pill { font-size: 14px; }
.footer-grid h4 { font-size: 14px; }
.field label { font-size: 14px; }
.contact-info .item small { font-size: 14px; }
.legal-toc .toc-title { font-size: 13.5px; }
.legal-toc .toc-date { font-size: 14px; }
.hero .member-of { font-size: 14px; }
html[data-lang="km"] .nav a, html[data-lang="km"] .dropdown > button { font-size: 15.5px; }
html[data-lang="km"] .eyebrow, html[data-lang="km"] .btn { font-size: 15px; }
@media (max-width: 560px) {
  .legal-toc { grid-template-columns: 1fr; }
  .legal-toc a { overflow-wrap: anywhere; }
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
}
.legal-content, .legal-toc { min-width: 0; }
/* pass 3: card text contrast */
.company-card::after { background: linear-gradient(180deg, rgba(11,29,69,.05) 0%, rgba(11,29,69,.35) 30%, rgba(11,29,69,.94) 62%); }
.company-card h3, .company-card p { text-shadow: 0 1px 12px rgba(11,29,69,.6); }
@media (max-width: 900px) {
  .company-card { min-height: 420px; }
  .company-card::after { background: linear-gradient(180deg, rgba(11,29,69,0) 0%, rgba(11,29,69,.5) 30%, rgba(11,29,69,.96) 55%); }
}

/* ---------- Links to subsidiary websites ---------- */
.ext { display: inline-block; font-size: .95em; line-height: 1; transform: translateY(-1px); }
.company-card .card-main { color: inherit; text-decoration: none; }
.company-card .card-main::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.company-card .card-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.company-card .card-actions a { text-decoration: none; }
.company-card .visit { font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--gold-grad); padding: 10px 16px; border-radius: var(--radius); }
.company-card .visit:hover { filter: brightness(1.06); }
html[data-lang="km"] .company-card .visit { letter-spacing: 0; text-transform: none; font-size: 15px; }
.company-card:focus-within { outline: 3px solid var(--gold-light); outline-offset: 4px; }
a.pill { text-decoration: none; transition: background .2s; }
a.pill:hover { background: rgba(242,229,154,.12); }
.foot-ext { font-size: 13.5px; color: var(--gold) !important; margin-left: 6px; white-space: nowrap; }
.foot-ext:hover { color: var(--gold-light) !important; }

.hero .actions { margin-top: 6px; }
.site-band { background: var(--navy); color: #D0D7E8; padding: 90px 0; position: relative; overflow: hidden; }
.site-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-grad); }
.site-band h2 { color: var(--white); margin-bottom: 14px; }
.site-band p { color: #C3CBDD; font-size: 18px; margin: 0; max-width: 560px; }
.site-band-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.site-band-cta { display: grid; justify-items: start; gap: 12px; }
.site-url { color: var(--gold); font-size: 15px; letter-spacing: .04em; overflow-wrap: anywhere; }
.group-strip { padding: 50px 0; background: var(--sand-soft); border-bottom: 1px solid #E8DFCB; }
.group-strip-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; }
.group-strip img { width: 120px; height: auto; }
.group-strip p { margin: 0; color: var(--text); font-size: 17.5px; }
.text-link.dark { color: var(--bronze); }

.sub-sites { display: grid; gap: 8px; padding: 26px 0 0; }
.sub-sites small { color: var(--muted); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
html[data-lang="km"] .sub-sites small { letter-spacing: 0; text-transform: none; }
.sub-sites a { font-weight: 700; color: var(--navy); text-decoration: none; font-size: 18px; }
.sub-sites a:hover { color: var(--bronze); }

@media (max-width: 900px) {
  .site-band-grid, .group-strip-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   v3: apex-defence.co sizing + company-profile sections
   ========================================================= */

/* Home hero: centred, full-width like apex-defence.co */
.home-hero { padding: 150px 0 260px; text-align: center; }
.home-hero h1 { margin: 0 auto; max-width: 980px; font-size: clamp(46px, 7vw, 92px); }
.home-hero p.sub { margin: 28px auto 44px; max-width: 720px; font-size: 21px; }
.home-hero .actions { justify-content: center; }
.home-hero .eyebrow { justify-content: center; }
.home-hero .skyline { height: 200px; }

/* Partner With Us: white so the Cambodian skyline banner below blends in */
.cta-band { background: var(--white); color: var(--navy); padding: 110px 0 70px; }
.cta-band::before { display: none; }
.cta-band h2 { color: var(--navy); font-size: clamp(34px, 4.4vw, 56px); }
.cta-band p { color: var(--blue-deep); font-size: 20px; }
.cta-band + .site-footer .footer-sky, .footer-sky { background-color: var(--white); }

/* Founder: full-bleed split, portrait fills half the screen */
.founder-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); min-height: min(900px, 96vh); }
.founder-photo { margin: 0; position: relative; overflow: hidden; min-height: 560px; }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.founder-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,29,69,0) 70%, rgba(11,29,69,.55) 100%); }
.founder-text { display: flex; align-items: center; padding: 90px clamp(28px, 6vw, 110px); color: #D6DCEA; position: relative; }
.founder-text::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 3px; background: var(--gold-grad); }
.founder-inner { max-width: 620px; }
.founder-text .eyebrow { color: var(--gold); }
.founder-name { color: var(--white); font-size: clamp(46px, 5.4vw, 76px); line-height: 1.02; margin: 4px 0 10px; }
.founder-role { color: var(--gold-light); font-size: 18px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 34px; }
.founder-role .founder-alt { letter-spacing: 0; text-transform: none; font-family: var(--khmer), var(--serif); font-weight: 400; color: var(--gold); }
html[data-lang="km"] .founder-role { letter-spacing: 0; text-transform: none; font-size: 19px; }
.founder-text blockquote { margin: 0 0 30px; font: italic 400 clamp(24px, 2.4vw, 32px)/1.45 var(--serif); color: var(--white); }
.founder-text blockquote::before { content: "\201C"; display: block; font-size: 84px; line-height: .55; color: var(--gold); margin-bottom: 6px; }
html[data-lang="km"] .founder-text blockquote { font-family: var(--khmer); font-style: normal; font-size: 23px; line-height: 1.85; }
.founder-bio { font-size: 19px; line-height: 1.75; color: #C9D0E2; margin: 0 0 28px; }
.leader-facts.on-navy { border-top-color: rgba(201,164,90,.3); margin-bottom: 8px; }
.leader-facts.on-navy li { border-bottom-color: rgba(201,164,90,.2); }
.leader-facts.on-navy li > span { color: #A9B3CA; }
.leader-facts.on-navy strong { color: var(--white); }
@media (max-width: 900px) {
  .founder-split { grid-template-columns: 1fr; min-height: 0; }
  .founder-photo { min-height: 0; aspect-ratio: 4 / 5; }
  .founder-photo::after { background: linear-gradient(180deg, rgba(11,29,69,0) 75%, rgba(11,29,69,.85) 100%); }
  .founder-text { padding: 56px 24px 70px; }
  .founder-text::before { display: none; }
}

/* Vision framework hub */
.framework { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 55%, var(--navy) 100%); color: #D6DCEA; position: relative; overflow: hidden; }
.framework::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 700px; height: 700px; background: url("assets/favicon.png") center / contain no-repeat; opacity: .05; }
.framework h2 { color: var(--white); }
.framework .eyebrow { color: var(--gold); }
.hub { display: grid; place-items: center; margin: 56px 0 10px; position: relative; }
.hub-ring { width: 300px; height: 300px; border-radius: 50%; padding: 3px; background: var(--gold-grad); box-shadow: 0 0 0 14px rgba(242,229,154,.06), 0 0 0 28px rgba(242,229,154,.04); }
.hub-core { width: 100%; height: 100%; border-radius: 50%; background: var(--navy); display: grid; place-content: center; text-align: center; padding: 30px; gap: 6px; }
.hub-small { font-size: 13.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.hub-core strong { font: 700 32px/1.15 var(--serif); color: var(--white); }
.hub-sub { color: #C3CBDD; font-size: 16px; }
html[data-lang="km"] .hub-small { letter-spacing: 0; text-transform: none; font-size: 15px; }
html[data-lang="km"] .hub-core strong { font-family: var(--khmer); font-size: 24px; line-height: 1.5; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; position: relative; }
.pillars::before { content: ""; position: absolute; left: 16%; right: 16%; top: -50px; height: 50px; border: 1px solid rgba(201,164,90,.55); border-bottom: 0; border-radius: 8px 8px 0 0; }
.pillar { background: rgba(255,255,255,.04); border: 1px solid rgba(201,164,90,.3); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 34px 32px; }
.pillar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.pillar-num { font: 700 44px/1 var(--serif); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pillar .icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; }
.pillar svg, .org-node .icon svg, .s-circle svg, .c-card .icon svg { width: 26px; height: 26px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { color: var(--white); font-size: 25px; margin-bottom: 14px; }
.pillar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pillar li { padding-left: 22px; position: relative; color: #CBD2E3; font-size: 17px; }
.pillar li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Group structure */
.structure-sec { background: var(--white); }
.org { margin-top: 56px; display: grid; justify-items: center; }
.org-top { background: var(--navy); border-radius: var(--radius); padding: 28px 46px; display: grid; justify-items: center; gap: 12px; box-shadow: 0 24px 50px rgba(11,29,69,.18); position: relative; }
.org-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-grad); border-radius: 0 0 var(--radius) var(--radius); }
.org-top span { color: var(--gold-light); font-size: 14.5px; letter-spacing: .06em; }
.org-lines { width: 50%; height: 56px; border: 2px solid var(--gold); border-bottom: 0; border-radius: 6px 6px 0 0; margin-top: 28px; position: relative; }
.org-lines::before { content: ""; position: absolute; left: 50%; top: -30px; height: 28px; border-left: 2px solid var(--gold); }
.org-children { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; width: 100%; max-width: 980px; }
.org-node { display: block; text-decoration: none; background: var(--sand-soft); border: 1px solid #E5DAC0; border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 30px 32px; transition: transform .2s, box-shadow .2s; }
.org-node:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11,29,69,.1); }
.org-node-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.org-node .icon { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; flex: 0 0 auto; }
.org-node strong { display: block; font: 700 26px var(--serif); color: var(--navy); }
.org-node-head span { color: var(--bronze); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.org-node ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text); font-size: 17.5px; }
.org-node li::marker { color: var(--gold); }

/* Sustainable development */
.sustain { background: linear-gradient(180deg, #EEF3F0 0%, #F6F2E9 100%); position: relative; padding-bottom: 0; }
.sustain-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; margin: 56px 0 70px; }
.s-item { text-align: center; }
.s-circle { width: 118px; height: 118px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, var(--blue) 0%, var(--navy) 80%); box-shadow: 0 0 0 6px rgba(255,255,255,.9), 0 0 0 7px rgba(201,164,90,.5), 0 18px 34px rgba(11,29,69,.18); }
.s-circle svg { width: 46px !important; height: 46px !important; }
.s-item h3 { font-size: 19px; margin-bottom: 6px; }
.s-item p { font-size: 15.5px; color: var(--muted); margin: 0; }
.sustain-sky { height: 120px; background: url("assets/skyline-white.png") bottom center / auto 100% repeat-x; filter: brightness(0) saturate(100%) invert(56%) sepia(12%) saturate(900%) hue-rotate(75deg) brightness(92%); opacity: .35; }

/* Living community */
.community { background: var(--white); }
.community-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: start; }
.community-intro { position: sticky; top: 120px; }
.community-intro p { color: var(--muted); font-size: 19px; }
.community-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.c-card { padding: 30px; border-radius: var(--radius); border: 1px solid #ECE6D8; background: var(--white); display: grid; gap: 16px; transition: box-shadow .2s; }
.c-card:hover { box-shadow: 0 18px 36px rgba(11,29,69,.08); }
.c-card .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; }
.c-card h3 { font-size: 22px; margin-bottom: 6px; }
.c-card p { margin: 0; color: var(--muted); font-size: 17px; }

@media (max-width: 1024px) {
  .sustain-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pillars, .org-children, .community-grid { grid-template-columns: 1fr; }
  .pillars::before, .org-lines { display: none; }
  .org-children { margin-top: 26px; gap: 20px; }
  .community-intro { position: static; }
  .home-hero { padding: 110px 0 190px; }
}
@media (max-width: 560px) {
  .sustain-grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .s-circle { width: 96px; height: 96px; }
  .community-cards { grid-template-columns: 1fr; }
  .hub-ring { width: 250px; height: 250px; }
  .org-top { padding: 24px; }
}
.founder-split { padding: 0; }
.foot-ext { display: block; margin: 2px 0 0; }

/* Founder photo: always show the whole photo, never crop */
.founder-split { grid-template-columns: clamp(340px, 46vw, 820px) minmax(0, 1fr); min-height: 0; align-items: stretch; }
.founder-photo { min-height: 0; aspect-ratio: 1041 / 1299; height: auto; align-self: start; background: var(--navy); }
.founder-photo img { position: static; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.founder-photo::after { display: none; }
.founder-text { align-self: center; }
@media (max-width: 900px) {
  .founder-split { grid-template-columns: 1fr; }
  .founder-photo { aspect-ratio: 1041 / 1299; width: 100%; }
}
.founder-photo { align-self: center; }

/* ---------- v4: three subsidiaries ---------- */
.companies { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.company-card { min-height: 480px; padding: 36px 32px; }
.company-card h3 { font-size: 30px; }
.company-card.commerce::before { background-image: url("assets/commerce.svg"); }
.company-card .card-actions { gap: 12px 20px; }
.org-children { grid-template-columns: repeat(3, 1fr); max-width: 1180px; gap: 26px; }
.org-lines { width: 68%; }
.org-lines::after { content: ""; position: absolute; left: 50%; top: 0; height: 56px; border-left: 2px solid var(--gold); }
.led-by { margin-top: 14px; color: var(--bronze); font-weight: 600; font-size: 16px; }

/* Roadmap */
.roadmap-sec { background: var(--navy); color: #D0D7E8; }
.roadmap-sec h2 { color: var(--white); }
.roadmap-sec .eyebrow { color: var(--gold); }
.roadmap { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 20px; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 6%; right: 6%; top: 36px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(201,164,90,.25)); }
.rm-step { position: relative; text-align: center; padding: 0 8px; }
.rm-dot { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy); border: 2px solid rgba(201,164,90,.5); display: grid; place-items: center; position: relative; z-index: 1; }
.rm-dot svg { width: 30px; height: 30px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rm-step.now .rm-dot { background: var(--gold-grad); border-color: var(--gold-light); box-shadow: 0 0 0 8px rgba(242,229,154,.12); }
.rm-step.now .rm-dot svg { stroke: var(--navy); }
.rm-tag { display: inline-block; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.rm-step.now .rm-tag { color: var(--gold-light); }
html[data-lang="km"] .rm-tag { letter-spacing: 0; text-transform: none; font-size: 15px; }
.rm-step h3 { color: var(--white); font-size: 21px; margin-bottom: 6px; }
.rm-step p { color: #B9C2D8; font-size: 16px; margin: 0; }

/* Development projects */
.projects-sec { background: var(--white); }
.project-main { margin-top: 50px; border: 1px solid #ECE6D8; border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 40px; background: var(--sand-soft); }
.project-head h3 { font-size: 38px; margin: 10px 0 10px; }
.project-head p { color: var(--muted); font-size: 18px; max-width: 760px; margin: 0; }
.status { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
html[data-lang="km"] .status { letter-spacing: 0; text-transform: none; font-size: 14px; }
.status.live { background: var(--navy); color: var(--gold-light); }
.status.soon { background: rgba(201,164,90,.18); color: var(--bronze); }
.units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.unit { background: var(--white); border: 1px solid #E5DAC0; border-radius: var(--radius); padding: 22px; }
.unit h3 { font-size: 22px; margin-bottom: 12px; }
.unit dl { margin: 0; display: grid; gap: 8px; }
.unit dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #F0EADB; padding-bottom: 6px; }
.unit dt { color: var(--muted); font-size: 15px; }
.unit dd { margin: 0; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; text-align: right; }
.coming { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.coming-card { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border: 1px dashed rgba(201,164,90,.7); border-radius: var(--radius); }
.coming-card .icon { flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.coming-card .icon svg { width: 26px; height: 26px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; }
.coming-card h3 { font-size: 24px; margin: 8px 0 6px; }
.coming-card p { margin: 0; color: var(--muted); }

@media (max-width: 1024px) {
  .companies { grid-template-columns: 1fr 1fr; }
  .units { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .companies, .org-children, .coming { grid-template-columns: 1fr; }
  .roadmap { grid-auto-flow: row; grid-template-columns: 1fr; gap: 26px; }
  .roadmap::before { left: 35px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(201,164,90,.25)); }
  .rm-step { text-align: left; display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; padding: 0; }
  .rm-dot { margin: 0; grid-row: span 3; }
  .project-main { padding: 26px 20px; }
}
@media (max-width: 560px) {
  .units { grid-template-columns: 1fr; }
}
.rm-tag, .status { font-size: 14px; }

/* ===== v6: pill rows + framed founder layout ===== */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill-row .pill { display: inline-flex; align-items: center; white-space: nowrap; line-height: 1.3; padding: 8px 16px; }

.founder-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 0; align-items: center; padding: clamp(80px, 9vw, 130px) 0; min-height: 0; }
.founder-photo { justify-self: end; align-self: center; width: min(100%, 540px); aspect-ratio: auto; height: auto; min-height: 0; margin: 0 clamp(40px, 5vw, 80px) 0 24px; padding: 14px; background: linear-gradient(145deg, #E9D58A, #C9A45A 45%, #7A5A24); border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.45); overflow: visible; position: relative; }
.founder-photo::before { content: ""; position: absolute; inset: -14px; border: 1px solid rgba(201,164,90,.45); border-radius: 6px; pointer-events: none; }
.founder-photo::after { display: none; }
.founder-photo img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 885 / 1104; object-fit: cover; border: 3px solid var(--navy); border-radius: 2px; }
.founder-text { justify-self: start; align-self: center; padding: 30px 24px 30px clamp(40px, 5vw, 80px); }
.founder-text::before { left: 0; top: 0; bottom: 0; width: 3px; }
.founder-inner { max-width: 600px; }
@media (max-width: 900px) {
  .founder-split { grid-template-columns: 1fr; padding: 64px 0 70px; row-gap: 44px; }
  .founder-photo { justify-self: center; width: min(calc(100% - 48px), 420px); margin: 0; padding: 10px; }
  .founder-photo::before { inset: -10px; }
  .founder-text { justify-self: stretch; padding: 0 24px; }
  .founder-text::before { display: none; }
}

/* ===== v7: thin gold frame (matches centre line), centred portrait ===== */
.founder-photo { padding: 3px; width: min(100%, 520px); border-radius: 2px; background: var(--gold-grad); box-shadow: 0 26px 50px rgba(0,0,0,.4); }
.founder-photo::before { display: none; }
.founder-photo img { aspect-ratio: 885 / 1104; border: 0; border-radius: 0; }
@media (max-width: 900px) { .founder-photo { padding: 3px; width: min(calc(100% - 48px), 460px); } }

/* ===== v8: modern sans quote in founder banner ===== */
.founder-text blockquote { font: 300 clamp(22px, 2.1vw, 29px)/1.5 var(--sans); font-style: normal; letter-spacing: -.005em; color: var(--white); margin: 0 0 32px; }
.founder-text blockquote::before { content: ""; display: block; width: 56px; height: 2px; background: var(--gold-grad); margin: 0 0 22px; font-size: 0; line-height: 0; }
html[data-lang="km"] .founder-text blockquote { font: 400 22px/1.85 var(--khmer); }
.founder-text blockquote { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.6; }
