:root {
  --bg: #f6f2ea;
  --paper: #fffdf9;
  --ink: #1d2422;
  --muted: #66706b;
  --teal: #0b5963;
  --teal-2: #144c53;
  --orange: #f28c28;
  --orange-ink: #a85a0e;
  --line: #d9d6ce;
  --soft: #ebe7de;
  --shadow: 0 24px 70px rgba(25, 44, 40, .10);
  --radius: 26px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.h1, .h2, .h3, .display { text-wrap: balance; }
.lead, .prose p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; }
.display { font-size: clamp(3rem, 8vw, 7.2rem); line-height: 1; letter-spacing: -.05em; margin: 0; font-weight: 800; }
.h1 { font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: 1.12; letter-spacing: -.04em; margin: 0; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1.18; letter-spacing: -.03em; margin: 0 0 18px; }
.h3 { font-size: 1.25rem; line-height: 1.32; margin: 0 0 10px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: #39423e; }
.small { font-size: .94rem; color: var(--muted); }
.muted { color: var(--muted); }
strong { font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(15px);
  background: rgba(246, 242, 234, .88);
  border-bottom: 1px solid rgba(29, 36, 34, .08);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--teal); color: white; display: grid; place-items: center; font-size: .78rem; box-shadow: inset 0 -5px 0 rgba(242, 140, 40, .9); }
.brand-sub { display: block; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: .94rem; }
.nav-links a:hover { color: var(--teal); }
.nav-links a[aria-current="page"]:not(.nav-cta) { color: var(--teal); font-weight: 700; box-shadow: inset 0 -2px 0 var(--orange); }
.footer-mission { max-width: 480px; margin-top: 16px; }
.nav-cta { padding: 11px 15px; background: var(--ink); color: white; border-radius: 999px; font-weight: 700; }
.menu-btn { display: none; border: 0; background: transparent; font-size: 1.6rem; }

.hero { padding: 72px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy .tagline { font-size: clamp(1.5rem, 2.8vw, 2.7rem); line-height: 1.25; font-weight: 700; margin: 22px 0; max-width: 820px; }
.hero-copy .tagline em { color: var(--teal); font-style: normal; }
.hero-copy p { max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; padding: 13px 20px; font-weight: 700; border: 1px solid var(--ink); }
.btn-primary { background: var(--ink); color: white; }
.btn-secondary { background: transparent; }
.btn:hover { transform: translateY(-1px); }
.hero-art { position: relative; min-height: 520px; }
.network-card { position: absolute; inset: 20px 0 0 0; background: var(--teal); color: white; border-radius: 38px; box-shadow: var(--shadow); overflow: hidden; }
.network-card:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 20%, rgba(242,140,40,.35), transparent 30%), radial-gradient(circle at 20% 80%, rgba(255,255,255,.14), transparent 35%); }
.net-node { position: absolute; width: 116px; height: 116px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); display: grid; place-items: center; text-align: center; padding: 14px; font-size: .83rem; font-weight: 700; z-index: 2; }
.net-center { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; background: var(--orange); border: 0; color: #25190d; font-size: 1.08rem; box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.net-1 { top: 34px; left: 50%; transform: translateX(-50%); }
.net-2 { top: 135px; right: 34px; }
.net-3 { bottom: 42px; right: 70px; }
.net-4 { bottom: 42px; left: 70px; }
.net-5 { top: 135px; left: 34px; }
.line { position: absolute; background: rgba(255,255,255,.34); height: 1px; transform-origin: left center; z-index: 1; }
.line-a { width: 180px; left: 49%; top: 38%; transform: rotate(-90deg); }
.line-b { width: 175px; left: 54%; top: 49%; transform: rotate(-25deg); }
.line-c { width: 175px; left: 52%; top: 57%; transform: rotate(28deg); }
.line-d { width: 175px; right: 52%; top: 57%; transform: rotate(152deg); }
.line-e { width: 175px; right: 54%; top: 49%; transform: rotate(205deg); }
.hero-proof { position: absolute; right: -18px; bottom: -20px; width: 220px; background: var(--paper); color: var(--ink); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); z-index: 5; }
.hero-proof strong { display: block; font-size: 2.1rem; line-height: 1; color: var(--teal); }

.section { padding: 92px 0; }
.section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--ink); color: white; }
.section.dark .muted, .section.dark .small { color: #bfc8c4; }
.section-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 52px; align-items: start; margin-bottom: 48px; }
.section-head p { margin-top: 0; }
.quote-panel { border-left: 5px solid var(--orange); padding: 26px 30px; background: rgba(242,140,40,.08); border-radius: 0 20px 20px 0; font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.45; font-weight: 600; }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.story-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: rgba(255,255,255,.35); }
.story-card .num { font-size: .78rem; letter-spacing: .12em; color: var(--orange); font-weight: 800; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; min-height: 220px; }
.card.darkish { background: #123d43; border-color: rgba(255,255,255,.12); color: white; }
.card .icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--teal); font-weight: 800; margin-bottom: 24px; }
.card ul { padding-left: 18px; margin-bottom: 0; }
.card li { margin: 6px 0; }

.five-houses { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.five-houses img { border-radius: 26px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.five-list { display: grid; gap: 12px; }
.five-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 15px 0; border-bottom: 1px solid var(--line); }
.five-index { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: white; display: grid; place-items: center; font-weight: 800; }

.timeline { position: relative; margin-top: 22px; }
.timeline:before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 34px 62px; }
.timeline-dot { position: absolute; left: 7px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); border: 6px solid var(--bg); outline: 2px solid var(--orange); }
.timeline-item h3 { margin-bottom: 6px; }

.ecosystem { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.eco-card { border: 1px solid var(--line); background: var(--paper); border-radius: 20px; padding: 23px; }
.eco-card .role { color: var(--teal); font-weight: 700; font-size: .88rem; margin-bottom: 8px; }

.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flow span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; font-size: .92rem; font-weight: 700; }
.flow b { color: var(--orange); }

.project-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: 30px; padding: 30px; }
.project-visual { min-height: 330px; border-radius: 22px; background: linear-gradient(140deg, var(--teal), #0d3338); display: flex; align-items: flex-end; padding: 28px; color: white; overflow: hidden; position: relative; }
.project-visual:after { content: "MƯỜNG CƠI"; position: absolute; right: -10px; top: 12px; font-size: 5rem; font-weight: 800; color: rgba(255,255,255,.06); writing-mode: vertical-rl; }
.project-visual p { max-width: 420px; position: relative; z-index: 2; }
.project-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.meta-box { border: 1px solid var(--line); border-radius: 16px; padding: 15px; }
.meta-box strong { display: block; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }

.blog-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.blog-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.blog-card.featured { background: var(--teal); color: white; }
.blog-card .topic { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--orange); }
.blog-card.featured .muted { color: #c4d6d7; }

.cta-band { padding: 66px 0; background: var(--orange); color: #24190f; }
.cta-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; }
.cta-options { display: grid; gap: 10px; }
.cta-option { background: rgba(255,255,255,.45); border: 1px solid rgba(36,25,15,.2); border-radius: 16px; padding: 15px 16px; font-weight: 700; }

.footer { padding: 58px 0 30px; background: #17201e; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 34px; }
.footer a { color: #d6dfdc; }
.footer .small { color: #aeb8b4; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; }

.page-hero { padding: 78px 0 54px; }
.page-hero .h1 { max-width: 880px; }
.page-intro { max-width: 820px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.prose { max-width: 820px; font-size: 1.05rem; }
.prose h2 { font-size: 2rem; margin-top: 48px; margin-bottom: 14px; letter-spacing: -.025em; }
.prose h3 { margin-top: 32px; }
.prose blockquote { margin: 30px 0; border-left: 4px solid var(--orange); padding: 8px 0 8px 22px; font-size: 1.25rem; font-weight: 600; color: #27302c; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 16px 18px; }
.faq summary { font-weight: 700; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1/-1; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea, select { width: 100%; border: 1px solid #cfcac0; background: white; border-radius: 13px; padding: 12px 13px; font: inherit; }
textarea { min-height: 130px; }
.notice { background: #fff4e8; border: 1px solid #f2d0a9; border-radius: 16px; padding: 16px; }
.status-pill { display: inline-block; border-radius: 999px; padding: 5px 9px; font-size: .72rem; font-weight: 800; background: #e6f2ef; color: #0b5963; }

@media (max-width: 980px) {
  .hero-grid, .section-head, .five-houses, .project-feature, .cta-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 500px; }
  .cards-4, .ecosystem { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card.featured { grid-column: 1/-1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav { min-height: 68px; }
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 14px; right: 14px; padding: 18px; flex-direction: column; align-items: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero { padding-top: 48px; }
  .hero-art { min-height: 430px; }
  .network-card { border-radius: 26px; }
  .net-node { width: 92px; height: 92px; font-size: .72rem; }
  .net-center { width: 120px; height: 120px; }
  .net-2 { right: 18px; }
  .net-5 { left: 18px; }
  .net-3 { right: 40px; }
  .net-4 { left: 40px; }
  .hero-proof { right: 0; width: 190px; }
  .section { padding: 66px 0; }
  .story-grid, .cards-3, .cards-4, .ecosystem, .blog-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: auto; }
  .project-meta { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .display { font-size: clamp(3.2rem, 18vw, 5rem); }
}
@media (max-width: 460px) {
  .hero-art { min-height: 390px; }
  .net-node { width: 78px; height: 78px; padding: 9px; font-size: .63rem; }
  .net-center { width: 100px; height: 100px; font-size: .85rem; }
  .net-1 { top: 28px; }
  .net-2, .net-5 { top: 120px; }
  .net-3, .net-4 { bottom: 32px; }
}

/* ===== V2 overview additions ===== */
.hero-v2 { padding-top: 64px; }
.accent-word { color: var(--teal); }
.hero-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.hero-tags span { border:1px solid var(--line); background:rgba(255,255,255,.42); border-radius:999px; padding:7px 11px; font-size:.79rem; font-weight:700; color:#46514c; }
.network-card-v2 .network-label { position:absolute; top:18px; left:20px; font-size:.72rem; letter-spacing:.14em; font-weight:800; color:rgba(255,255,255,.72); z-index:4; }
.net-center small { display:block; font-size:.58rem; margin-top:4px; letter-spacing:.06em; text-transform:uppercase; }
.trust-strip { background:#efe9df; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.trust-grid > div { padding:22px 18px; border-right:1px solid var(--line); }
.trust-grid > div:first-child { padding-left:0; }
.trust-grid > div:last-child { border-right:0; }
.trust-grid strong { display:block; color:var(--teal); font-size:1rem; }
.trust-grid span { display:block; color:var(--muted); font-size:.78rem; margin-top:3px; }
.profile-feature { display:grid; grid-template-columns:1.05fr .95fr; gap:28px; align-items:stretch; }
.profile-panel { border:1px solid var(--line); border-radius:30px; padding:34px; background:var(--paper); box-shadow:0 16px 45px rgba(29,36,34,.05); }
.text-link { display:inline-flex; margin-top:14px; color:var(--teal); font-weight:800; }
.profile-facts { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.fact-card { background:var(--teal); color:#fff; border-radius:24px; padding:22px; min-height:160px; display:flex; flex-direction:column; }
.fact-card:nth-child(2), .fact-card:nth-child(3) { background:#153e43; }
.fact-card b { color:var(--orange); font-size:.8rem; letter-spacing:.09em; }
.fact-card strong { margin-top:auto; font-size:1.1rem; }
.fact-card span { color:#cbdada; font-size:.82rem; margin-top:4px; }
.fact-card.has-img { position:relative; padding:0; min-height:0; overflow:hidden; aspect-ratio:1122/1402; }
.fact-card.has-img img { width:100%; height:100%; object-fit:cover; display:block; transform:scale(1.06); }
.fact-card.has-img b, .fact-card.has-img strong, .fact-card.has-img span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.five-dark .five-item { border-color:rgba(255,255,255,.12); }
.five-dark .five-index { background:var(--orange); color:#27180a; }
.model-visual { background:#fff; border-radius:28px; padding:18px; box-shadow:0 24px 70px rgba(0,0,0,.16); }
.model-visual img { border-radius:18px; }
.model-caption { color:#58625e; font-size:.8rem; padding:12px 4px 0; }
.five-dark .model-visual { background:none; padding:0; box-shadow:none; }
.five-dark .model-visual img { width:100%; height:auto; border:0; background:none; box-shadow:0 24px 70px rgba(0,0,0,.25); }
.five-houses.has-wide { grid-template-columns:1fr; }
.five-houses.has-wide .five-list { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.method-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:center; margin-top:38px; }
.method-row span { border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:8px 11px; color:#f1f5f3; font-size:.82rem; }
.method-row b { color:var(--orange); }
.capability-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.cap-card { border:1px solid var(--line); border-radius:22px; padding:24px; background:var(--paper); }
.cap-card > span { display:inline-grid; place-items:center; width:38px; height:38px; border-radius:12px; background:#e9f1ef; color:var(--teal); font-weight:800; }
.cap-card h3 { margin:22px 0 8px; }
.cap-card p { color:var(--muted); font-size:.93rem; margin:0; }
.center-action { text-align:center; margin-top:30px; }
.btn-light { background:#fff; color:#17201e; border-color:#fff; }
.farm-roadmap { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; counter-reset:road; }
.farm-roadmap > div { position:relative; border:1px solid var(--line); background:var(--paper); border-radius:18px; padding:18px; min-height:130px; }
.farm-roadmap b { display:block; color:var(--orange); font-size:.78rem; letter-spacing:.08em; margin-bottom:20px; }
.farm-roadmap strong { display:block; }
.farm-roadmap span { display:block; color:var(--muted); font-size:.78rem; margin-top:5px; }
.ai-board { border:1px solid var(--line); background:#0b5963; color:#fff; border-radius:30px; padding:34px; }
.ai-flow { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px; padding-bottom:28px; border-bottom:1px solid rgba(255,255,255,.16); }
.ai-flow span { border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.06); border-radius:999px; padding:10px 14px; font-weight:700; }
.ai-flow b { color:var(--orange); }
.ai-principles { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:28px; }
.ai-principles div { background:rgba(255,255,255,.07); border-radius:18px; padding:18px; }
.ai-principles strong { display:block; color:#fff; font-size:1.2rem; }
.ai-principles span { color:#c6dbdc; font-size:.86rem; }
.ecosystem-dark .eco-card { background:#123d43; color:#fff; border-color:rgba(255,255,255,.12); }
.ecosystem-dark .eco-card p { color:#c2d0cc; }
.ecosystem-dark .role { color:var(--orange); }
.network-groups { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.network-groups > div { border:1px solid var(--line); border-radius:22px; padding:22px; background:var(--paper); }
.group-title { display:block; font-size:.76rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); font-weight:800; margin-bottom:14px; }
.name-cloud { display:flex; flex-wrap:wrap; gap:8px; }
.name-cloud span { background:#eef2ef; color:#34413b; border-radius:999px; padding:8px 11px; font-size:.82rem; font-weight:700; }
.corridor-section { background:#e7efed; }
.corridor { display:grid; grid-template-columns:.9fr 1.1fr; gap:34px; align-items:center; }
.corridor-map { display:grid; grid-template-columns:1fr .85fr 1fr; gap:12px; align-items:stretch; }
.country-card { background:#fff; border:1px solid #cfd9d5; border-radius:22px; padding:24px; min-height:220px; display:flex; flex-direction:column; justify-content:center; }
.country-card span { color:var(--orange); font-size:.76rem; letter-spacing:.12em; font-weight:800; }
.country-card b { font-size:1.25rem; line-height:1.25; margin:12px 0; }
.country-card small { color:var(--muted); }
.corridor-line { display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; color:var(--teal); }
.corridor-line i { display:block; width:100%; height:2px; background:var(--teal); position:relative; margin:10px 0; }
.corridor-line i:after { content:""; position:absolute; right:0; top:-4px; width:0; height:0; border-top:5px solid transparent; border-bottom:5px solid transparent; border-left:8px solid var(--teal); }
.corridor-line small { color:var(--muted); }
.project-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:16px; }
.project-card { border:1px solid var(--line); background:var(--paper); border-radius:24px; padding:24px; min-height:270px; }
.project-main { background:var(--teal); color:#fff; }
.project-main p { color:#d2e1e1; }
.project-kicker { color:var(--orange); font-size:.76rem; text-transform:uppercase; letter-spacing:.1em; font-weight:800; }
.project-card h3 { font-size:1.55rem; line-height:1.15; }
.project-chips { display:flex; flex-wrap:wrap; gap:6px; margin:20px 0; }
.project-chips span { border:1px solid rgba(255,255,255,.24); border-radius:999px; padding:5px 9px; font-size:.72rem; }
.project-main .text-link { color:#fff; }
.pillar-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.pillar-grid a { border:1px solid var(--line); background:var(--paper); border-radius:18px; padding:20px; display:flex; flex-direction:column; min-height:150px; transition:.18s ease; }
.pillar-grid a:hover { transform:translateY(-3px); box-shadow:0 14px 36px rgba(29,36,34,.08); }
.pillar-grid span { color:var(--orange); font-size:.76rem; font-weight:800; }
.pillar-grid b { margin-top:auto; font-size:1.1rem; }
.pillar-grid small { color:var(--muted); margin-top:5px; }
.principles-section { padding:78px 0; background:#17201e; color:#fff; }
.principles-grid { display:grid; grid-template-columns:.7fr 1.3fr; gap:34px; align-items:start; }
.principle-list { display:grid; gap:10px; }
.principle-list div { display:grid; grid-template-columns:44px 1fr; gap:12px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.principle-list b { color:var(--orange); }
.cta-option b { display:block; }
.cta-option span { display:block; font-size:.8rem; font-weight:500; margin-top:3px; }

@media (max-width:980px){
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .trust-grid > div { border-bottom:1px solid var(--line); }
  .profile-feature,.corridor,.principles-grid { grid-template-columns:1fr; }
  .capability-grid,.farm-roadmap,.network-groups,.pillar-grid { grid-template-columns:repeat(2,1fr); }
  .project-grid { grid-template-columns:1fr 1fr; }
  .project-main { grid-column:1/-1; }
}
@media (max-width:760px){
  .trust-grid,.profile-facts,.capability-grid,.farm-roadmap,.ai-principles,.network-groups,.corridor-map,.project-grid,.pillar-grid { grid-template-columns:1fr; }
  .trust-grid > div { border-right:0; padding-left:0; }
  .project-main { grid-column:auto; }
  .corridor-map { gap:8px; }
  .corridor-line { min-height:90px; }
  .corridor-line i { width:60%; }
  .ai-board { padding:24px 18px; }
}

/* Xuất thân · Quê quán */
.origin-grid { display:grid; grid-template-columns:.95fr 1.05fr; gap:72px; align-items:start; }
.origin-intro { position:sticky; top:118px; }
.origin .h2 { text-wrap:balance; max-width:14ch; }
.origin-text { color:#3f4844; font-size:1.06rem; line-height:1.7; margin:0 0 22px; max-width:52ch; }
.origin-facts { display:grid; grid-template-columns:1fr 1.2fr .85fr; margin:0 0 34px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.origin-facts div { padding:14px 16px 14px 0; }
.origin-facts div + div { padding-left:16px; border-left:1px solid var(--line); }
.origin-facts dt { color:var(--muted); font-size:.74rem; letter-spacing:.08em; text-transform:uppercase; font-weight:700; }
.origin-facts dd { margin:2px 0 0; font-weight:700; line-height:1.35; }
.origin-quote { margin:0; padding-left:22px; border-left:3px solid var(--orange); }
.origin-quote blockquote { margin:0; font-family:Lora,Cambria,"Times New Roman",serif; font-style:italic; font-size:clamp(1.25rem,1.9vw,1.6rem); line-height:1.5; color:var(--ink); }
.origin-quote figcaption { margin-top:12px; color:var(--muted); font-size:.92rem; font-weight:700; }
.origin-timeline { list-style:none; margin:0; padding:0; position:relative; }
.origin-timeline:before { content:""; position:absolute; left:19px; top:20px; bottom:20px; width:2px; background:var(--line); }
.origin-timeline li { position:relative; padding:0 0 36px 64px; }
.origin-timeline li:last-child { padding-bottom:0; }
.origin-num { position:absolute; left:0; top:0; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:var(--paper); border:2px solid var(--line); color:var(--teal); font-size:.82rem; font-weight:800; }
.origin-timeline li:last-child .origin-num { background:var(--teal); border-color:var(--teal); color:#fff; }
.origin-step { display:block; color:var(--orange); text-transform:uppercase; letter-spacing:.1em; font-size:.74rem; font-weight:800; padding-top:2px; }
.origin-timeline h3 { margin:4px 0 6px; font-size:1.18rem; line-height:1.3; letter-spacing:-.01em; }
.origin-timeline p { margin:0; color:#58625d; max-width:56ch; }
@media (max-width:980px){
  .origin-grid { grid-template-columns:1fr; gap:48px; }
  .origin-intro { position:static; }
  .origin .h2 { max-width:none; }
}
@media (max-width:760px){
  .origin { padding-top:56px; }
  .origin-facts { grid-template-columns:1fr; }
  .origin-facts div, .origin-facts div + div { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-left:0; }
  .origin-facts div + div { border-top:1px solid var(--line); }
  .origin-facts dd { margin:0; text-align:right; }
  .origin-timeline:before { left:15px; top:16px; bottom:16px; }
  .origin-timeline li { padding:0 0 30px 48px; }
  .origin-num { width:32px; height:32px; font-size:.74rem; }
}

/* Sợi dây 5 nhà */
.five-link-head { margin-bottom:40px; }
.five-link-head .h2 { text-wrap:balance; }
.five-link-head .lead { margin:0; max-width:820px; }
.five-link-houses { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,1fr); gap:14px; position:relative; }
.five-link-houses li { background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:22px 16px; text-align:center; position:relative; }
.five-link-houses li:after { content:""; position:absolute; left:50%; bottom:-29px; width:2px; height:28px; background:var(--line); }
.five-link-houses h3 { margin:0 0 6px; font-size:1.05rem; line-height:1.3; }
.section.alt .five-link-houses li { background:var(--bg); }
.five-link-houses p { margin:0; color:var(--muted); font-size:.9rem; line-height:1.5; }
.five-link-hub { position:relative; display:flex; justify-content:center; margin-top:28px; padding-top:0; }
.five-link-hub:before { content:""; position:absolute; top:0; left:10%; right:10%; height:2px; background:var(--line); }
.five-link-hub span { position:relative; margin-top:22px; padding:12px 30px; border-radius:999px; background:var(--teal); color:#fff; font-weight:800; letter-spacing:.14em; text-transform:uppercase; font-size:.92rem; box-shadow:inset 0 -4px 0 var(--orange); }
.five-link-hub span:before { content:""; position:absolute; left:50%; top:-22px; width:2px; height:22px; background:var(--line); }
.five-link-foot { max-width:760px; margin:30px auto 0; text-align:center; }
.five-link-def { margin:0 0 14px; font-size:1.08rem; color:#39423e; }
.five-link-result { margin:0 0 26px; color:var(--muted); }
.five-link-result strong { color:var(--ink); }
.five-link-foot .notice { text-align:left; margin:0; }
@media (max-width:980px){
  .five-link-houses { grid-template-columns:repeat(3,1fr); }
  .five-link-houses li:after, .five-link-hub:before, .five-link-hub span:before { display:none; }
}
@media (max-width:760px){
  .five-link-houses { grid-template-columns:1fr 1fr; }
  .five-link-houses li:last-child { grid-column:1/-1; }
  .five-link-head { margin-bottom:28px; }
}

/* Review pass: contrast, spacing, interactive cards */
.eyebrow { display:block; margin-bottom:10px; }
.section.dark .lead, .principles-section .lead { color:#c3ccc8; }
.section.dark .eyebrow, .principles-section .eyebrow { color:#f6a95c; }
.footer .brand-sub { color:#9aa6a1; }
.card-link { display:flex; flex-direction:column; transition:border-color .2s, box-shadow .2s, transform .2s; }
.card-link .text-link { margin-top:auto; padding-top:14px; }
.card-link:hover { border-color:var(--teal); box-shadow:var(--shadow); transform:translateY(-2px); }
.form-msg { margin:0; padding:12px 14px; border-radius:12px; background:#e6f2ef; color:var(--teal-2); font-weight:600; }
.blog-card, .btn, .text-link { transition:transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform:translateY(-1px); }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior:auto; } *, *:before, *:after { transition:none !important; } }

/* Orange text on light backgrounds: darker tone for legibility (AA) */
.eyebrow, .story-card .num, .blog-card .topic, .country-card span, .project-kicker, .origin-step { color:var(--orange-ink); }
.section.dark .eyebrow, .principles-section .eyebrow, .blog-card.featured .topic, .project-main .project-kicker, .project-card.project-main .project-kicker { color:#f6a95c; }
.cta-band .eyebrow { color:#24190f; }

/* Hero with portrait (index) */
.hero-photo-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:48px; align-items:center; }
.hero-portrait { margin:0; justify-self:end; width:100%; max-width:380px; }
.hero-portrait img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; object-position:center 20%; border-radius:var(--radius); border:1px solid var(--line); box-shadow:var(--shadow); background:var(--paper); }
@media (max-width:980px){ .hero-photo-grid { gap:32px; } }
@media (max-width:760px){
  .hero-photo-grid { grid-template-columns:1fr; }
  .hero-portrait { order:-1; justify-self:start; max-width:260px; }
}

/* Bài viết: ảnh bìa & ảnh trong bài (tạo từ trang admin) */
.post-cover { margin:0 auto 36px; max-width:980px; }
.post-cover img { display:block; width:100%; height:auto; max-height:520px; object-fit:cover; border-radius:var(--radius); border:1px solid var(--line); }
.prose figure { margin:32px 0; }
.prose figure img, .prose img { display:block; max-width:100%; height:auto; border-radius:18px; }
.prose figcaption { margin-top:10px; font-size:.88rem; color:var(--muted); }
.prose ul, .prose ol { padding-left:1.3em; }
.prose li { margin:6px 0; }
.prose .notice { margin:24px 0; }

/* Nội dung quản lý bằng admin (data/*.json) */
.project-visual:after { content: attr(data-label); }
.project-visual.has-img { background-size: cover; background-position: center; }
.project-feature + .project-feature { margin-top: 24px; }
.project-feature .text-link { margin-top: 4px; }
.cms-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; margin-bottom: 16px; background: var(--soft); }
.eco-logo { height: 52px; width: auto; max-width: 180px; object-fit: contain; margin-bottom: 14px; }
.card .project-kicker { margin-bottom: 6px; }
.blog-card .small { margin: 8px 0 0; }
.blog-card.featured .small { color: #c4d6d7; }

/* Logo */
.brand-logo { height: 44px; width: auto; flex: none; }
.footer .brand-logo { height: 52px; }

/* Form Cùng Hợp Lực */
.form-note { margin: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg.is-error { background: #fbe9e7; color: #8c1d18; }
.form-grid [aria-invalid="true"] { border-color: #b3261e; }
