/* QHDSVN — Universal Harmonic Design System v1.1 (VI / EN, 2026-10-29)
   A single semantic rhythm across primary sections, nested content, headings,
   all navigation levels, cards, archives, and the publishing interface.
   Decorative SVG backgrounds have been removed.
   Last in cascade intentionally: original templates/assets/backend stay intact.
   Source of truth and usage examples: HARMONIC_DESIGN_SYSTEM.md.
*/
:root {
  color-scheme: light;
  --h-navy-950: #06182f;
  --h-navy-900: #09284b;
  --h-navy-850: #0c3157;
  --h-navy-750: #153f64;
  --h-ivory-50: #fffdf8;
  --h-ivory-100: #f8f6ee;
  --h-ivory-150: #f1efe6;
  --h-ivory-200: #e7ebea;
  --h-ink: #173550;
  --h-muted: #4c6278;
  --h-light-ink: #f9fbff;
  --h-light-muted: #d7e1eb;
  --h-gold: #c9a150;
  --h-gold-on-dark: #f1d58c;
  --h-green: #1a684e;
  --h-green-on-dark: #9de0bd;
  --h-rule-light: rgba(20,55,82,.18);
  --h-rule-dark: rgba(245,224,174,.27);
  --h-shadow: 0 16px 40px rgba(4,28,54,.12);
  --h-font: 'Be Vietnam Pro','Segoe UI',Tahoma,Arial,'Noto Sans',sans-serif;
  --h-size-display: clamp(2.55rem,4.6vw,5.05rem);
  --h-size-h1: clamp(2.25rem,4.2vw,4.1rem);
  --h-size-h2: clamp(1.85rem,3.05vw,3.08rem);
  --h-size-h3: clamp(1.18rem,1.60vw,1.50rem);
  --h-size-h4: 1.07rem;
  --h-size-lead: clamp(1.03rem,1.24vw,1.19rem);
  --h-size-body: 1rem;
  --h-size-caption: .80rem;
  --h-size-kicker: .72rem;
  --h-s1: .25rem;
  --h-s2: .5rem;
  --h-s3: .75rem;
  --h-s4: 1rem;
  --h-s5: 1.5rem;
  --h-s6: 2rem;
  --h-s7: 3rem;
  --h-s8: 4rem;
  --h-s9: 5rem;
  --h-s10: 6.5rem;
  --h-section-pad: clamp(4rem,7.4vw,7.15rem);
  --h-section-pad-compact: clamp(3.25rem,5.2vw,5rem);
  --h-card-pad: clamp(1.35rem,2.35vw,2.1rem);
  --h-grid-gap: clamp(1.1rem,2vw,1.65rem);
  --rev-serif: var(--h-font);
  --rev-sans: var(--h-font);
  --serif: var(--h-font);
  --sans: var(--h-font);
}
/* A palette is assigned to every nesting level; nested layers always invert. */
[data-h-tone="light"] {
  --h-bg: var(--h-ivory-100);
  --h-fg: var(--h-ink);
  --h-title: #0e3252;
  --h-subtle: var(--h-muted);
  --h-accent: var(--h-green);
  --h-rule: var(--h-rule-light);
  --h-accent-gold: #85621d;
}
[data-h-tone="dark"] {
  --h-bg: var(--h-navy-900);
  --h-fg: var(--h-light-ink);
  --h-title: #fffdf8;
  --h-subtle: var(--h-light-muted);
  --h-accent: var(--h-green-on-dark);
  --h-rule: var(--h-rule-dark);
  --h-accent-gold: var(--h-gold-on-dark);
}
/* Stable, reusable semantic background for any band/panel marked in templates. */
.h-band[data-h-tone],.h-card[data-h-tone] {color:var(--h-fg)}
.h-band[data-h-tone]:not(.rev-hero):not(.inner-hero):not(.article-cover):not(.rev-inner-intro),
.h-card[data-h-tone] {background:var(--h-bg)}
.h-band{position:relative;isolation:isolate;overflow:clip}
.h-band>.shell,.h-band>.rev-info-section,.h-band>.rev-section-top,
.h-band>.rev-feature-grid {position:relative;z-index:1}
.h-band[data-h-level="section"]:is(.rev-section,.rev-info-section,.section,.rev-feature,.rev-values,.rev-videos) {
  padding-block:var(--h-section-pad);
}
.h-band[data-h-level="section"].rev-contact-band{padding-block:var(--h-section-pad-compact)}
.h-band[data-h-level="page-header"]:is(.rev-inner-intro,.inner-hero,.article-cover) {
  background:linear-gradient(115deg,rgba(5,24,48,.98),rgba(13,55,95,.94)),url("../img/hero-civic-venue-clean-v2.webp") center/cover;
  border-bottom:3px solid var(--h-gold);
  color:#fff;
}
.h-band[data-h-tone="dark"].rev-feature {
  background:linear-gradient(114deg,#071e39 4%,#0e385e 61%,#092849 100%);
}
.h-band[data-h-tone="dark"].rev-values {
  background:linear-gradient(110deg,#061b34,#0b3157 62%,#0b2445);
}
.h-band[data-h-tone="dark"].rev-videos {
  background:linear-gradient(116deg,#071e3c,#0e3760 68%,#082746);
}
.h-band[data-h-tone="light"].rev-contact-band {
  background:linear-gradient(113deg,#e9eee7,#f8f4e7 68%,#eaf0ea);
  border-top:3px solid var(--h-gold);
}
.h-band[data-h-tone="dark"].rev-contact-band {
  background:linear-gradient(110deg,#082746,#10466a 72%,#092847);
  border-top:3px solid var(--h-gold);
}
.h-band[data-h-tone="light"].rev-publications{background:#f2f2eb}
.h-band[data-h-tone="light"].rev-intro{background:#faf9f4}
.h-band[data-h-tone="light"].rev-work{background:#f4f4ec}
.h-band[data-h-tone="light"].rev-info-section{background:var(--h-ivory-100)}
.h-band[data-h-tone="dark"].rev-info-section{background:linear-gradient(115deg,#09284a,#133d63)}
.h-band[data-h-tone="dark"].section{background:linear-gradient(110deg,#092748,#123b60)}
.h-band[data-h-tone="light"].section{background:#f6f5ee}
/* Diacritics: all headings and text use the same full Vietnamese font family;
   do not split glyphs into decorative serif/sans fallback spans. */
html,body,button,input,select,textarea {font-family:var(--h-font)}
body{font-size:var(--h-size-body);line-height:1.77;font-kerning:normal;text-rendering:optimizeLegibility}
main :is(h1,h2,h3,h4),.identity-text strong,.rev-footer-top h2{
  font-family:var(--h-font);font-style:normal;word-break:normal;overflow-wrap:break-word;
  font-kerning:normal;letter-spacing:0;text-wrap:pretty;
}
main h1{font-size:var(--h-size-h1);font-weight:800;line-height:1.24}
main h2{font-size:var(--h-size-h2);font-weight:750;line-height:1.30}
main h3{font-size:var(--h-size-h3);font-weight:700;line-height:1.37}
main h4{font-size:var(--h-size-h4);font-weight:700;line-height:1.45}
main :is(p,li){line-height:1.84;overflow-wrap:break-word}
main p{font-size:var(--h-size-body)}
.h-band .rev-kicker,.h-band .eyebrow,.h-band .inner-hero-kicker{
  font:800 var(--h-size-kicker)/1.6 var(--h-font);color:var(--h-accent);letter-spacing:.09em;
}
.h-band[data-h-tone="dark"] .rev-kicker,
.h-band[data-h-tone="dark"] .rev-kicker-gold {color:var(--h-accent-gold)}
.h-band :is(.rev-section-top h2,.rev-intro-heading h2,.rev-feature-copy h2,
             .rev-contact-band h2,.rev-info-section h2,.rev-inner-intro h1,
             .section-heading h2,.inner-hero h1,.article-cover h1) {
  font-family:var(--h-font);color:var(--h-title);letter-spacing:0;font-weight:750;
  line-height:1.3;
}
.h-band[data-h-tone="dark"] :is(.rev-section-top h2,.rev-feature-copy h2,
    .rev-info-section h2,.rev-contact-band h2,.section-heading h2){color:var(--h-title)}
.h-band :is(.rev-section-top h2,.rev-intro-heading h2,.rev-feature-copy h2,
    .rev-contact-band h2,.rev-info-section h2,.section-heading h2) em {
  color:var(--h-accent-gold);font-style:normal;font-weight:750;
}
.h-band[data-h-tone="dark"] .rev-section-top>p,
.h-band[data-h-tone="dark"] .rev-feature-copy>p,
.h-band[data-h-tone="dark"] .rev-contact-band p,
.h-band[data-h-tone="dark"] .rev-intro-content p,
.h-band[data-h-tone="dark"] .rev-info-section>.shell>p,
.h-band[data-h-tone="dark"] .section-heading p {color:var(--h-subtle)}
.h-band[data-h-tone="light"] :is(.rev-section-top>p,.rev-feature-copy>p,
 .rev-contact-band p,.rev-intro-content p,.rev-info-section>.shell>p,.section-heading p){color:var(--h-subtle)}
/* Rhythmic vertical scale: title -> introduction -> subsection -> detail. */
.rev-section-top{margin-bottom:var(--h-s7);gap:var(--h-s7)}
.rev-section-top h2,.rev-intro-heading h2,.rev-feature-copy h2{margin:var(--h-s3) 0 0}
.rev-section-top>p{margin:var(--h-s4) 0 0;line-height:1.85;font-size:var(--h-size-body)}
.rev-intro-content .rev-lead{font-family:var(--h-font);font-size:var(--h-size-lead);font-weight:600;line-height:1.79}
.rev-intro-content p + p{margin-top:var(--h-s5)}
.rev-rule{margin-top:var(--h-s6)}
.rev-info-section>.shell>h2,.rev-info-grid h2{margin:var(--h-s3) 0 var(--h-s6)}
.rev-info-section>.shell>.rev-card-grid,
.rev-info-section>.shell>.rev-document-list,
.rev-info-section>.shell>.rev-info-grid{margin-top:var(--h-s6)}
.rev-card-grid,.rev-work-grid,.rev-video-grid,.articles-grid{gap:var(--h-grid-gap)}
.rev-info-grid{gap:clamp(1.75rem,5vw,4.5rem)}
.h-band[data-h-level="section"]>.shell>.rev-note,
.h-band[data-h-level="section"]>.shell>.rev-inline-cta{margin-top:var(--h-s7)}
.h-band .rev-breadcrumb,.h-band .breadcrumb{font-size:var(--h-size-caption);margin-bottom:var(--h-s5)}
.h-band .rev-breadcrumb a,.h-band .breadcrumb a{color:#e9f2fb}
.h-band .rev-breadcrumb a:hover,.h-band .breadcrumb a:hover{color:var(--h-gold-on-dark)}
.h-band :is(.rev-breadcrumb b,.breadcrumb span:last-child){color:#f0d48b}
/* Primary, secondary, tertiary navigation: D/L/D/L alternating bands. */
.rev-utility[data-h-tone="dark"]{background:var(--h-navy-950);color:#e2eaf4}
.masthead[data-h-tone="light"]{background:var(--h-ivory-50);color:var(--h-ink)}
.masthead .identity-text strong{font-size:clamp(1.03rem,1.47vw,1.42rem);line-height:1.28;letter-spacing:0;font-weight:800}
.masthead .identity-text>span{letter-spacing:.055em}
.nav-rail[data-h-tone="dark"]{background:var(--h-navy-900);border-bottom:3px solid var(--h-gold)}
.primary-nav a{font-family:var(--h-font);font-size:.83rem;font-weight:700;letter-spacing:0}
.primary-nav a[aria-current="page"]{color:#fff;background:rgba(255,255,255,.1)}
.primary-nav a:hover{color:#fff;background:rgba(255,255,255,.11)}
.nav-messages>summary{font-family:var(--h-font);color:#ffdfa0}
.nav-messages-panel[data-h-tone="light"]{background:var(--h-ivory-50);color:var(--h-ink);border-color:#c1a15b}
.nav-messages-label[data-h-level="nav-heading"]{background:#eaf0e8;color:#154f42;
  margin:0 0 var(--h-s2);padding:var(--h-s2) var(--h-s3);line-height:1.4;letter-spacing:.045em;font-weight:800}
.nav-messages .nav-messages-option{background:var(--h-ivory-50)!important;color:var(--h-ink)!important}
.nav-messages .nav-messages-option:nth-of-type(even){background:#f2f1e9!important}
.nav-messages .nav-messages-option:hover{background:#e6ede8!important}
.nav-messages .nav-messages-phone{background:var(--h-navy-900)!important;color:#fff!important;
  margin-top:var(--h-s3);padding:var(--h-s3)!important;border-radius:3px;min-height:43px!important}
.nav-messages .nav-messages-phone:hover{background:var(--h-navy-750)!important;color:#fff!important}
.lang-switch{font-family:var(--h-font);letter-spacing:0;font-weight:800}
.h-subnav[data-h-tone="light"].rev-principles-strip{background:#f0f1e9;border-color:#d5d7c9}
.h-subnav .rev-principles-label{color:#166047;letter-spacing:.08em}
.h-subnav .rev-principles-inner>div{color:#143955}
/* Hero design remains the supplied auditorium + exact supplied seal. */
.rev-hero h1,html:lang(vi) .rev-hero h1,html[lang="en"] .rev-hero h1{
  font-family:var(--h-font);font-size:var(--h-size-display);font-weight:800;letter-spacing:0;
  line-height:1.25;color:#fff;white-space:normal;text-wrap:balance;
}
.rev-hero h1 span{color:#f4d991}
.rev-hero-en{letter-spacing:.075em;font-family:var(--h-font)}
.rev-hero-description{font-size:var(--h-size-lead);line-height:1.85;color:#ecf2f9}
/* HOME: D hero / L mission / D values / L work / D milestones / L research / D videos / L contact. */
.rev-value-grid{gap:var(--h-s3);border:0}
.rev-value.h-card[data-h-tone="light"]{
  padding:var(--h-card-pad);background:#f9f7ef;border:1px solid #d7caa9;
  color:#193753;min-height:294px;box-shadow:0 10px 25px rgba(1,16,36,.13);
}
.rev-value.h-card:nth-child(even){background:#e8eee9}
.rev-value.h-card:hover{background:#fffdf7}
.rev-value .rev-value-number{font:800 var(--h-size-caption)/1.35 var(--h-font);color:#256149}
.rev-value .rev-value-glyph{background:#12395a;border-color:#c3a15c;color:#f0d17c}
.rev-value h3{color:#133350;font-size:var(--h-size-h3);line-height:1.38;margin-bottom:var(--h-s3)}
.rev-value p{color:#3e576e;font-size:.91rem;line-height:1.72;min-height:0;margin-bottom:var(--h-s5)}
.rev-value-more{color:#185c46;font-size:.79rem;margin-top:auto}
.rev-work-card.h-card[data-h-tone="dark"]{
  background:#0d3358;border:1px solid #b8a46f;color:#fff;box-shadow:var(--h-shadow);
}
.rev-work-body{border-top:3px solid #cfaa56;padding:var(--h-card-pad)}
.rev-work-card .rev-card-index{color:#f3d789;font-size:var(--h-size-kicker)}
.rev-work-card .rev-work-body h3{font-size:var(--h-size-h3);color:#fff;line-height:1.38;margin:var(--h-s4) 0 var(--h-s3)}
.rev-work-card .rev-work-body p{color:#dae6ef;font-size:.92rem;line-height:1.80}
.rev-work-card .rev-card-action{background:#e9efe9;color:#124937;border-top:1px solid #d9c89d;
  padding:var(--h-s3) var(--h-s4);margin-inline:calc(-1 * var(--h-s2));margin-bottom:calc(-1 * var(--h-s2));border-radius:2px}
.rev-work-card .rev-card-action span{color:#83601c}
.rev-feature .rev-feature-copy h2{color:#fff}
.rev-feature .rev-feature-copy>p{color:#d9e4ec;font-size:var(--h-size-body)}
.rev-feature .rev-feature-copy .rev-kicker{color:var(--h-gold-on-dark)}
.rev-feature .rev-milestone-list{border-top:0;display:grid;gap:var(--h-s2)}
.rev-feature .rev-milestone-list>div{background:#f7f5ed;border:1px solid #d9cfb8;border-radius:2px;
  padding:var(--h-s4) var(--h-s5);grid-template-columns:104px minmax(0,1fr);gap:var(--h-s4)}
.rev-feature .rev-milestone-list strong{color:#12614b;font-size:1.04rem}
.rev-feature .rev-milestone-list span{color:#27475e;font-size:.87rem}
.rev-feature .rev-btn-navy{background:#f0d18a;color:#102e4d;border-color:#edcc7c}
.rev-feature .rev-btn-navy:hover{background:#fff0b6;color:#102e4d}
.rev-report-card.h-card[data-h-tone="dark"]{background:#0d365c;border:1px solid #ba9b56;color:#fff}
.rev-report-card h3{font-size:var(--h-size-h3);line-height:1.43;color:#fff}
.rev-report-card p{color:#dce7ee}
.rev-archive-panel.h-card[data-h-tone="light"]{background:#fffdf8;border:1px solid #cbd1cf}
.rev-archive-entry:nth-of-type(even){background:#f0f3ef;margin-inline:calc(-1 * var(--h-s2));padding-inline:var(--h-s2)}
.rev-archive-entry h3{color:#143653;font-size:1rem;line-height:1.55}
.rev-video-tile.h-card[data-h-tone="light"]{background:#f8f6ee;color:#173752;border:1px solid #dbc99f}
.rev-video-tile.h-card:nth-child(even){background:#ecf0eb}
.rev-video-tile>div:last-child{padding:var(--h-card-pad)}
.rev-video-tile h3{color:#163653;font-size:var(--h-size-h3);font-weight:750;min-height:0;line-height:1.46}
.rev-video-tile>div:last-child>span:first-child{color:#145942}
.rev-video-more{color:#76591d}
.rev-contact-band[data-h-tone="light"] h2{color:#123653}
.rev-contact-band[data-h-tone="light"] h2 em{color:#836019}
.rev-contact-band[data-h-tone="light"] p{color:#3c5870}
.rev-contact-band[data-h-tone="light"] .rev-kicker{color:#17644b}
.rev-contact-band[data-h-tone="dark"] h2{color:#fff}
/* INNER PAGES: alternating information bands; panels invert every parent. */
.rev-inner-intro h1{font-family:var(--h-font);font-size:var(--h-size-h1);line-height:1.3}
.rev-inner-intro p{color:#dfe9f0;line-height:1.85}
.rev-info-section h2{font-family:var(--h-font);font-size:var(--h-size-h2);font-weight:750;line-height:1.32}
.rev-info-section:where(.h-band[data-h-tone="dark"]) :is(h2,h3,h4){color:#fffdf7}
.rev-info-section:where(.h-band[data-h-tone="dark"]) p{color:#e1e9ef}
.rev-info-section:where(.h-band[data-h-tone="light"]) :is(h2,h3,h4){color:#163955}
.rev-info-section[data-h-tone="dark"] .rev-intro-pullquote {color:#e1e9ef}
.rev-info-section[data-h-tone="dark"] .rev-intro-pullquote{border-color:#edcc80}
.rev-info-section[data-h-tone="light"] .rev-intro-pullquote{color:#173c5b}
.rev-info-section .rev-note{background:#f0e8d6;color:#384d61;border-left-color:#ba9342}
.h-card[data-h-level="subsection"]{position:relative;border:1px solid var(--h-rule);
  box-shadow:0 11px 30px rgba(8,33,56,.095)}
.h-card[data-h-tone="light"]{background:#fffdf8;color:#173751;border-color:#d8d6c6}
.h-card[data-h-tone="dark"]{background:#103657;color:#f7fbff;border-color:#b7a36f}
.rev-info-card.h-card,.rev-information-card.h-card{padding:var(--h-card-pad)}
.h-card :is(h2,h3,h4){font-family:var(--h-font);font-size:var(--h-size-h3);font-weight:750;
  color:var(--h-title);line-height:1.38;letter-spacing:0}
.h-card p,.h-card li{color:var(--h-subtle);line-height:1.82;font-size:.93rem}
.h-card[data-h-tone="dark"] :is(h3,h4){color:#fff}
.h-card[data-h-tone="dark"] :is(p,li){color:#e1e9f0}
.h-card[data-h-tone="light"] :is(h3,h4){color:#153753}
.h-card[data-h-tone="light"] :is(p,li){color:#405b70}
.h-card[data-h-tone="dark"] .rev-info-num{color:#e9cf8c}
.h-card[data-h-tone="light"] .rev-info-num{color:#1a694e}
.h-card[data-h-tone="dark"] .rev-arrow-link{color:#fff1c6;border-color:#b8a271}
.h-card[data-h-tone="dark"] .rev-arrow-link>span{color:#f6d787}
.h-card .rev-intro-pullquote{color:var(--h-title);border-color:var(--h-gold)}
.h-card[data-h-tone="dark"] .rev-intro-pullquote{color:#f8e7c1}
/* Quaternary text detail: nested light rows inside dark document lists. */
.rev-document-list.h-card[data-h-tone="dark"]{background:#0d3456;padding:var(--h-s3)}
.rev-document-row.h-card[data-h-tone="light"]{background:#fffdf7;padding:var(--h-s5);
  border:1px solid #d8ded9;box-shadow:none}
.rev-document-row.h-card:nth-child(even){background:#edf1eb}
.rev-document-row.h-card h3{font-size:clamp(1.05rem,1.42vw,1.27rem);color:#153852}
.rev-document-row.h-card p{color:#4a6074}
.rev-document-row.h-card a{color:#0e4e61;border-color:#95b0ae}
.rev-document-row.h-card a:hover{background:#133f5b;color:#fff}
.rev-timeline{margin-left:0;border:0;display:grid;gap:var(--h-s3)}
.rev-timeline-item.h-card{padding:var(--h-s5) var(--h-s6);border-left:3px solid var(--h-gold)}
.rev-timeline-item.h-card:before{left:-9px;top:24px;background:var(--h-gold);border-color:var(--h-ivory-50)}
.rev-timeline-item.h-card h3{margin:var(--h-s2) 0 var(--h-s2)}
.rev-timeline-item.h-card strong{color:var(--h-accent-gold)}
.rev-timeline-item.h-card[data-h-tone="dark"] strong{color:#f1d587}
.rev-inline-cta.h-card[data-h-tone="light"]{background:#eaf0e8;color:#173d51}
.rev-inline-cta.h-card[data-h-tone="light"] h3{color:#143a53}
.rev-inline-cta.h-card[data-h-tone="light"] p{color:#425f70}
.rev-inline-cta.h-card[data-h-tone="dark"] h3{color:#fff}
.rev-inline-cta.h-card[data-h-tone="dark"] p{color:#dce8ee}
.rev-privacy-list{line-height:1.87;color:var(--h-subtle)}
.rev-info-section[data-h-tone="dark"] .rev-privacy-list{color:#e3ecf4}
/* Legacy archive and article routes follow the same visual hierarchy. */
.inner-hero h1,.article-cover h1{font-size:var(--h-size-h1);letter-spacing:0;line-height:1.28}
.section.h-band[data-h-tone="dark"] :is(.section-heading h2,.history-grid h2,.legacy-section-media h2){color:#fff}
.section.h-band[data-h-tone="dark"] :is(.history-grid p,.timeline-item p,.section-heading p){color:#e0e9f1}
.section.h-band[data-h-tone="dark"] .eyebrow{color:#f3d791}
.section.h-band[data-h-tone="light"] :is(.section-heading h2,.history-grid h2){color:#143853}
.section.h-band[data-h-tone="dark"] .timeline-item h3{color:#fff}
.section.h-band[data-h-tone="dark"] .timeline-date{color:#f1d28b}
.section.h-band[data-h-tone="dark"] .timeline:before{background:#bfa263}
.section.h-band[data-h-tone="dark"] .history-quote{background:#f8f5eb;color:#193d57}
.section.h-band[data-h-tone="dark"] .timeline-item:before{border-color:#091f3b}
.section.h-band[data-h-tone="dark"] .text-link{color:#f4d994;border-color:#e5c77f}
.article-card.h-card[data-h-tone="dark"]{background:#10395b;border-color:#bcab81}
.article-card.h-card .article-card-inner{background:#10395b;color:#fff}
.article-card.h-card .article-card-inner h3{color:#fff;font-size:var(--h-size-h3)}
.article-card.h-card .article-card-inner p{color:#dae6ed}
.article-card.h-card .meta{color:#d1dddf}
.article-card.h-card .card-more{color:#f0d287;border-top-color:rgba(241,216,156,.28)}
.video-card.h-card[data-h-tone="dark"]{background:#113b5e;border-color:#cbb37b}
.video-card.h-card .video-card-inner{background:#113b5e;color:#fff}
.video-card.h-card .video-card-inner h3{color:#fff;font-size:var(--h-size-h3)}
.video-card.h-card .video-card-inner .meta{color:#dae6ed}
.video-card.h-card .video-action{color:#f5d692}
.section-aside.h-card[data-h-tone="dark"]{background:#0f385b;color:#fff}
.section-aside.h-card :is(h3,p){color:#fff}
.section-aside.h-card a{color:#f2d48b}
.article-layout{padding-block:var(--h-section-pad-compact);row-gap:var(--h-s7)}
.article-layout .article-body{font-size:1.03rem}
.article-layout .rich-content{line-height:1.90;color:#274057;font-size:1.03rem}
.article-layout .rich-content :is(h2,h3,h4){font-family:var(--h-font);letter-spacing:0;line-height:1.35;margin-block:var(--h-s7) var(--h-s4)}
.article-layout .rich-content p{margin-bottom:var(--h-s5)}
.article-sidebar.h-card[data-h-tone="dark"]{padding:var(--h-s5);border:1px solid #a99975}
.article-sidebar.h-card .aside-title{color:#f4d891;border-color:#bba473}
.article-sidebar.h-card .aside-item{color:#fff;border-color:rgba(239,215,161,.25)}
.article-sidebar.h-card .aside-item .meta{color:#d7e3ed}
.article-sidebar.h-card .aside-seal{background:#fffdf8;color:#153550}
.article-sidebar.h-card .aside-seal :is(p,a){color:#294b60}
.article-layout .source-note{padding:var(--h-s5);border-left:3px solid var(--h-gold);background:#e8ede7;color:#29475c}
.article-layout .source-note p{color:#405b6d}
.article-layout .rev-language-note{background:#edf3ed;color:#274b59;border-color:#21815a}
.pager{background:#11395d;border:1px solid #bd9e5d;padding:var(--h-s3);gap:var(--h-s3)}
.pager :is(a,span){color:#fff}
.pager a:hover{color:#f3d587}
/* Contact and administrator surfaces: readable even when a nested panel changes tone. */
.contact-form-box{background:#fffefa;color:#143752;border-color:#c9d4cf;padding:clamp(1.5rem,3vw,2.75rem)}
.contact-form-box h2{color:#153852;font-size:var(--h-size-h2)}
.form-field label{color:#204159;font-weight:700}
.form-field input,.form-field textarea,.form-field select{background:#fff;color:#173752}
.rev-consent{color:#405b72}
.contact-intro h2{color:#123956;font-size:var(--h-size-h2);line-height:1.32}
/* Footer closes every page with the same deep/navy rhythm. */
.rev-footer[data-h-tone="dark"]{background:#061b34;color:#fff}
.rev-footer .rev-footer-top{background:#102f50;border-color:rgba(244,214,152,.24)}
.rev-footer .rev-footer-top h2{font:750 clamp(1.65rem,2.65vw,2.65rem)/1.35 var(--h-font);color:#fff;letter-spacing:0}
.rev-footer .rev-footer-top h2 em{color:#f4d789}
.rev-footer .rev-footer-grid{gap:var(--h-s7)}
.rev-footer .rev-footer-col h3{font:800 .80rem/1.5 var(--h-font);letter-spacing:.05em;color:#f0d284}
.rev-footer .rev-footer-col a{color:#e5edf4;line-height:1.65}
.rev-footer .rev-footer-col a:hover{color:#ffe6a3}
/* Accessible interaction on both tones. */
:focus-visible{outline:3px solid #c49b41!important;outline-offset:3px}
[data-h-tone="dark"] :focus-visible{outline-color:#fae1a2!important}
::selection{background:#e9ce8e;color:#071f3a}
@media(max-width:1000px){
  :root{--h-section-pad:clamp(3.5rem,6vw,5.4rem);--h-grid-gap:1.15rem}
  .rev-values .rev-value-grid{gap:var(--h-s3)}
  .nav-messages .nav-messages-phone{width:100%}
  .rev-feature .rev-milestone-list>div{grid-template-columns:100px minmax(0,1fr)}
}
@media(max-width:680px){
  :root{--h-section-pad:clamp(3.05rem,7vw,4.35rem);--h-section-pad-compact:3.1rem;
    --h-size-display:clamp(2rem,8vw,3.05rem);--h-size-h1:clamp(1.83rem,7vw,2.75rem);
    --h-size-h2:clamp(1.65rem,6vw,2.15rem);--h-size-h3:1.2rem;--h-card-pad:1.35rem}
  .rev-hero h1,html:lang(vi) .rev-hero h1,html[lang="en"] .rev-hero h1{font-size:var(--h-size-display);line-height:1.26}
  .rev-section-top{margin-bottom:var(--h-s6)}
  .rev-section-top>p{font-size:.94rem}
  .rev-values .rev-value-grid{gap:var(--h-s2)}
  .rev-value.h-card[data-h-tone="light"]{padding:var(--h-s5);min-height:0}
  .rev-work-body{padding:var(--h-s5)}
  .rev-feature .rev-milestone-list>div{grid-template-columns:1fr;gap:var(--h-s2);padding:var(--h-s4)}
  .rev-document-list.h-card[data-h-tone="dark"]{padding:var(--h-s2)}
  .rev-document-row.h-card[data-h-tone="light"]{padding:var(--h-s4)}
  .article-sidebar.h-card[data-h-tone="dark"]{padding:var(--h-s4)}
  .rev-info-grid{gap:var(--h-s6)}
  .rev-footer .rev-footer-grid{gap:var(--h-s6)}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
/* Deep nesting examples used in BOTH VI and EN templates:
   section(D) → value panel(L) → value glyph(D),
   section(L) → program panel(D) → action inset(L),
   section(L) → document library(D) → document row(L) → file icon(D).
*/
.h-inset[data-h-tone="dark"]{background:var(--h-navy-900);color:#f3d78d}
.h-inset[data-h-tone="light"]{background:#e9efe9;color:#124937}
.rev-work-card .h-inset[data-h-tone="light"]{background:#e9efe9;color:#124937}
.rev-document-row .h-inset[data-h-tone="dark"]{background:#123b61;color:#f1d58c}
.rev-value .h-inset[data-h-tone="dark"]{background:#12395a;color:#f0d17c}
.rev-archive-entry .h-inset[data-h-tone="dark"]{background:#163c58;color:#ffe1a2;
 border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:.84rem}

@media(max-width:760px){
}
