/* ============================================================================
   THIÊN HOÀNG HOLDINGS - Design System
   Brand (v3): Navy hoàng gia sang trọng tối giản + champagne accent
   Building Sustainable Value For Generations
   ============================================================================ */

/* ----------------------------- DESIGN TOKENS ----------------------------- */
:root {
  /* - Brand navy scale (v3) - */
  --plum-950: #06121F;   /* deepest navy, near-black */
  --plum-900: #0B1F33;   /* primary navy */
  --plum-800: #0C2138;
  --plum-700: #122E4A;
  --plum-600: #143A5C;   /* deep royal blue */
  --purple:   #143A5C;   /* brand primary (navy) */
  --purple-bright: #1E5384;
  --amethyst: #5E7DA6;   /* highlight / link on dark */
  --lavender: #B7C4D8;   /* muted text on dark */
  --lilac-50: #EAEFF5;   /* pale tint */

  /* - Champagne / gold (used sparingly) - */
  --gold:      #C8A46B;
  --gold-soft: #E5C68A;
  --gold-deep: #9C7E48;

  /* - Neutrals - */
  --ivory:   #F6F1E8;
  --cream:   #ECE5D3;
  --cream-deep: #DCCFB3;
  --ink:     #14202E;   /* primary text on light (navy ink) */
  --ink-soft:#4A5765;   /* secondary text on light */
  --white:   #FFFFFF;

  /* - Lines - */
  --line:        rgba(14, 27, 41, 0.12);
  --line-soft:   rgba(14, 27, 41, 0.07);
  --line-gold:   rgba(200, 168, 106, 0.45);
  --line-dark:   rgba(183, 196, 216, 0.16);

  /* - Functional - */
  --bg:        var(--ivory);
  --text:      var(--ink);

  /* - Typography - */
  --font-display: "Cormorant Garamond", "Be Vietnam Pro", Georgia, serif;
  --font-body: "Be Vietnam Pro", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", monospace;

  /* - Layout - */
  --container: 1280px;
  --container-wide: 1440px;
  --radius: 4px;
  --radius-lg: 10px;
  --gutter: 24px;
  --section-pad: 110px;

  /* - Motion - */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.35s var(--ease);
}

/* ----------------------------- RESET ----------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ----------------------------- TYPOGRAPHY ----------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.0rem); }
h2 { font-size: clamp(2.0rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--purple); font-weight: 500; }
p { margin: 0; }
strong { font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--ink-soft); }

/* ----------------------------- LAYOUT ----------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container--wide { max-width: var(--container-wide); }
section { padding: var(--section-pad) 0; }
.section-tight { padding: 56px 0; }
.measure { max-width: 720px; }
.measure-sm { max-width: 560px; }

.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }

/* Backgrounds */
.bg-ivory  { background: var(--ivory); }
.bg-cream  { background: var(--cream); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-plum   { background: var(--plum-900); color: var(--lavender); }
.bg-plum-grad {
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(30, 83, 132, 0.35) 0%, transparent 55%),
    radial-gradient(90% 90% at 0% 110%, rgba(20, 58, 92, 0.40) 0%, transparent 60%),
    linear-gradient(160deg, var(--plum-950) 0%, var(--plum-800) 60%, var(--plum-900) 100%);
  color: var(--lavender);
}
.bg-plum h1, .bg-plum h2, .bg-plum h3, .bg-plum h4,
.bg-plum-grad h1, .bg-plum-grad h2, .bg-plum-grad h3, .bg-plum-grad h4 { color: var(--white); }
.bg-plum h1 em, .bg-plum h2 em, .bg-plum-grad h1 em, .bg-plum-grad h2 em { color: var(--gold-soft); }
.bg-plum .eyebrow, .bg-plum-grad .eyebrow { color: var(--amethyst); }

/* ----------------------------- NAVIGATION ----------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246, 241, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--t), border var(--t);
}
.nav__inner {
  max-width: var(--container-wide); margin: 0 auto; padding: 0 32px;
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand svg { height: 38px; width: auto; }
.nav__brand img { height: 46px; width: auto; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand-text strong {
  font-family: var(--font-display); font-size: 1.18rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--ink);
}
.nav__brand-text small {
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
}
.nav__links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav__link {
  font-size: 0.86rem; font-weight: 500; color: var(--ink-soft);
  letter-spacing: 0.01em; position: relative; padding: 4px 0; transition: color var(--t);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold); transition: width var(--t);
}
.nav__link:hover, .nav__link.active { color: var(--purple); }
.nav__link.active::after, .nav__link:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.lang-switch button {
  padding: 5px 12px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--ink-soft); transition: all var(--t);
}
.lang-switch button.active { background: var(--purple); color: var(--white); }
.nav__toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--ink); }
.nav__toggle svg { width: 24px; height: 24px; }

/* Mobile drawer */
.nav__drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--plum-950);
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  display: flex; flex-direction: column; padding: 100px 32px 40px; gap: 6px;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.nav__drawer.open { transform: translateX(0); }
.nav__drawer a {
  font-family: var(--font-display); font-size: 1.7rem; color: var(--lavender);
  padding: 12px 0; border-bottom: 1px solid var(--line-dark); transition: color var(--t);
}
.nav__drawer a:hover { color: var(--gold-soft); }

/* ----------------------------- BUTTONS ----------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em;
  border-radius: var(--radius); transition: all var(--t); cursor: pointer;
  border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--purple); color: var(--white); }
.btn--primary:hover { background: var(--plum-700); box-shadow: 0 10px 30px -10px rgba(20, 58, 92, 0.6); }
.btn--gold { background: var(--gold); color: var(--plum-900); }
.btn--gold:hover { background: var(--gold-soft); box-shadow: 0 10px 30px -10px rgba(200, 168, 106, 0.7); }
.btn--outline { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn--outline:hover { background: var(--purple); color: var(--white); }
.btn--ghost { padding: 8px 0; color: var(--purple); font-weight: 600; }
.btn--ghost:hover { color: var(--gold-deep); }
/* on dark */
.bg-plum .btn--outline, .bg-plum-grad .btn--outline { border-color: var(--lavender); color: var(--white); }
.bg-plum .btn--outline:hover, .bg-plum-grad .btn--outline:hover { background: var(--white); color: var(--plum-900); }
.bg-plum .btn--ghost, .bg-plum-grad .btn--ghost { color: var(--gold-soft); }

/* ----------------------------- HERO ----------------------------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  padding: 140px 0 90px; overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; max-width: 940px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px;
  border: 1px solid var(--line-dark); border-radius: 100px; margin-bottom: 30px;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavender);
  background: rgba(255,255,255,0.03);
}
.hero__pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero__title { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.08; margin-bottom: 28px; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--lavender); max-width: 660px; margin-bottom: 38px; line-height: 1.7; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lavender);
  display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.7;
}
.hero__scroll .line { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); }
/* decorative imperial ring */
.hero__ornament {
  position: absolute; z-index: 1; right: -180px; top: 50%; transform: translateY(-50%);
  width: 720px; height: 720px; opacity: 0.5; pointer-events: none;
}

/* ----------------------------- METRICS ----------------------------- */
.metric { text-align: left; }
.metric__value {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600;
  color: var(--purple); line-height: 1; letter-spacing: -0.02em;
}
.bg-plum .metric__value, .bg-plum-grad .metric__value { color: var(--gold-soft); }
.metric__value sup { font-size: 0.45em; color: var(--gold); }
.metric__label { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-top: 10px; }
.bg-plum .metric__label, .bg-plum-grad .metric__label { color: var(--white); }
.metric__sub { font-size: 0.82rem; color: var(--ink-soft); margin-top: 3px; }
.bg-plum .metric__sub, .bg-plum-grad .metric__sub { color: var(--lavender); }
.metric--bordered { padding-left: 22px; border-left: 1px solid var(--line-gold); }

/* ----------------------------- CARDS ----------------------------- */
.card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 38px 32px; transition: all var(--t); position: relative; overflow: hidden; height: 100%;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--gold)); transform: scaleX(0);
  transform-origin: left; transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -28px rgba(11, 31, 51, 0.32); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--lilac-50); color: var(--purple); margin-bottom: 24px; transition: all var(--t);
}
.card:hover .card__icon { background: var(--purple); color: var(--white); }
.card__icon svg { width: 28px; height: 28px; stroke-width: 1.4; }
.card__num {
  font-family: var(--font-display); font-size: 1rem; color: var(--gold-deep); font-weight: 600;
  letter-spacing: 0.1em; margin-bottom: 14px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.65; }
.card__link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-weight: 600; font-size: 0.88rem; }
.card__link svg { width: 16px; height: 16px; transition: transform var(--t); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Glass card on dark */
.card--glass {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); backdrop-filter: blur(8px);
}
.card--glass h3 { color: var(--white); }
.card--glass p { color: var(--lavender); }
.card--glass .card__icon { background: rgba(154,107,214,0.16); color: var(--amethyst); }
.card--glass:hover .card__icon { background: var(--gold); color: var(--plum-900); }

/* ----------------------------- PROCESS / STEPS ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.step { position: relative; padding: 0 18px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; right: -10px; width: 20px; height: 1px; background: var(--line-gold);
}
.step__num {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600; color: var(--purple); margin-bottom: 20px; background: var(--white);
}
.bg-plum .step__num, .bg-plum-grad .step__num { color: var(--gold-soft); background: transparent; border-color: var(--line-dark); }
.step h4 { margin-bottom: 8px; font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; }
.bg-plum .step h4, .bg-plum-grad .step h4 { color: var(--white); }
.step p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.6; }
.bg-plum .step p, .bg-plum-grad .step p { color: var(--lavender); }

/* ----------------------------- VALUE PILLARS / LIST ----------------------------- */
.pillar { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.pillar__mark {
  flex-shrink: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--gold-deep); width: 44px;
}
.pillar h4 { margin-bottom: 6px; }
.pillar p { color: var(--ink-soft); font-size: 0.95rem; }
.bg-plum .pillar { border-color: var(--line-dark); }
.bg-plum .pillar h4 { color: var(--white); }
.bg-plum .pillar p { color: var(--lavender); }

/* feature list with check */
.flist { display: grid; gap: 14px; }
.flist li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--ink-soft); }
.flist li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--lilac-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A2C8C' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.bg-plum .flist li { color: var(--lavender); }
.bg-plum .flist li::before { background-color: rgba(154,107,214,0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23DFC79A' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }

/* ----------------------------- TIMELINE ----------------------------- */
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-gold); }
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--gold);
}
.tl-item__date { font-family: var(--font-mono); font-size: 0.8rem; color: var(--purple); font-weight: 600; letter-spacing: 0.05em; }
.tl-item h4 { margin: 6px 0 6px; }
.tl-item p { color: var(--ink-soft); font-size: 0.95rem; }
.bg-plum .tl-item::before { background: var(--plum-900); }
.bg-plum .tl-item__date { color: var(--gold-soft); }
.bg-plum .tl-item h4 { color: var(--white); }
.bg-plum .tl-item p { color: var(--lavender); }

/* ----------------------------- PARTNERS / LOGOS ----------------------------- */
.logo-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.logo-chip {
  padding: 16px 28px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  font-size: 0.85rem; letter-spacing: 0.06em; color: var(--lavender); transition: all var(--t);
}
.logo-chip:hover { color: var(--gold-soft); border-color: var(--line-gold); }

/* ----------------------------- PAGE HERO (inner pages) ----------------------------- */
.page-hero { padding: 170px 0 80px; position: relative; overflow: hidden; }
.breadcrumb { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--lavender); margin-bottom: 22px; }
.breadcrumb a { color: var(--lavender); transition: color var(--t); }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb span { color: var(--gold-soft); }
.page-hero h1 { max-width: 880px; margin-bottom: 22px; }
.page-hero p { max-width: 640px; font-size: 1.1rem; color: var(--lavender); }

/* ----------------------------- ACCENT BLOCKS ----------------------------- */
.quote-block {
  border-left: 2px solid var(--gold); padding: 8px 0 8px 34px;
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-style: italic;
  line-height: 1.4; color: var(--ink);
}
.bg-plum .quote-block, .bg-plum-grad .quote-block { color: var(--white); }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--narrow { grid-template-columns: 0.9fr 1.1fr; }

.tag { display: inline-block; padding: 5px 14px; border-radius: 100px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; background: var(--lilac-50); color: var(--purple); }

/* image placeholder (gradient art) */
.media {
  border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 320px;
  background:
    radial-gradient(100% 100% at 20% 10%, rgba(30,83,132,0.5), transparent 60%),
    linear-gradient(150deg, var(--plum-800), var(--plum-600));
}
.media__label {
  position: absolute; bottom: 22px; left: 24px; color: var(--lavender); font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ----------------------------- FORMS ----------------------------- */
.form { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); transition: border var(--t), box-shadow var(--t);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(20,58,92,0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 0.78rem; color: var(--ink-soft); }
.form-success {
  padding: 16px 20px; background: var(--lilac-50); border: 1px solid var(--line-gold);
  border-radius: var(--radius); color: var(--purple); font-size: 0.9rem; display: none;
}
.form-success.show { display: block; }

/* contact info card */
.info-card { padding: 30px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); }
.info-card h4 { color: var(--white); margin-bottom: 6px; }
.info-card p { color: var(--lavender); font-size: 0.92rem; }
.info-card a { color: var(--gold-soft); }

/* ----------------------------- FOOTER ----------------------------- */
.footer { background: var(--plum-950); color: var(--lavender); padding: 80px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer__brand svg { height: 44px; margin-bottom: 20px; }
.footer__brand img { height: 70px; width: auto; margin-bottom: 16px; }
.footer__wordmark { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.08em; color: #fff !important; margin-bottom: 14px !important; max-width: none !important; }
.footer__brand p { font-size: 0.92rem; color: var(--lavender); max-width: 320px; line-height: 1.7; }
.footer__col h5 { color: var(--white); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer__col a { display: block; font-size: 0.9rem; color: var(--lavender); padding: 6px 0; transition: color var(--t); }
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 14px; font-size: 0.8rem; color: rgba(183,196,216,0.6); }
.footer__bottom a:hover { color: var(--gold-soft); }

/* ----------------------------- ANIMATION ----------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* lang visibility */
[data-en] [lang], .en-only { display: none; }
body.lang-en [data-vi-hide] { display: none; }

/* ============================================================================
   ALTERNATIVE THEME - "Refined" (Tinh tế)
   Aubergine + Brass + Sand. Activated by body.theme-refined.
   ============================================================================ */
body.theme-refined {
  --plum-950: #150B1B;
  --plum-900: #1F1228;
  --plum-800: #2D1A38;
  --plum-700: #3A2640;
  --plum-600: #503352;
  --purple:   #5C4063;
  --purple-bright: #7C5A82;
  --amethyst: #A48FA9;
  --lavender: #CFC3CE;
  --lilac-50: #EFE9F0;
  --gold:      #B8945A;
  --gold-soft: #D4BC92;
  --gold-deep: #957338;
  --ivory:   #F1ECE0;
  --cream:   #E5DDC9;
  --cream-deep: #D9CFB6;
  --ink:     #2A2128;
  --ink-soft:#59515C;
  --line:        rgba(42,33,40,0.10);
  --line-soft:   rgba(42,33,40,0.06);
  --line-gold:   rgba(184,148,90,0.42);
  --line-dark:   rgba(207,195,206,0.16);
  --font-display: "Playfair Display","Cormorant Garamond","Be Vietnam Pro",Georgia,serif;
  --font-body:    "Manrope","Be Vietnam Pro","Inter",system-ui,-apple-system,sans-serif;
}
body.theme-refined .bg-plum-grad {
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(124,90,130,0.30) 0%, transparent 55%),
    radial-gradient(90% 90% at 0% 110%, rgba(92,64,99,0.35) 0%, transparent 60%),
    linear-gradient(160deg, #150B1B 0%, #2D1A38 60%, #1F1228 100%);
}
body.theme-refined h1 em,
body.theme-refined h2 em,
body.theme-refined h3 em { font-weight: 600; }
body.theme-refined .card::before { background: linear-gradient(90deg, var(--purple), var(--gold)); }

/* Smooth cross-fade between themes */
body, .bg-ivory, .bg-cream, .bg-cream-deep, .bg-plum, .bg-plum-grad,
.card, .nav, .footer, h1, h2, h3, h4, p, a, .btn, .eyebrow, .metric__value,
.metric__label, .pillar h4, .pillar__mark, .swatch, .step__num {
  transition: background-color 0.5s var(--ease), background 0.5s var(--ease),
              color 0.4s var(--ease), border-color 0.4s var(--ease);
}

/* Theme toggle pill (nav) */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); cursor: pointer; transition: all var(--t);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--purple); }
.theme-toggle__dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--gold) 100%);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.04);
  transition: transform var(--t);
}
body.theme-refined .theme-toggle__dot { transform: rotate(180deg); }

/* utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; } .mt-4 { margin-top: 72px; }
.mb-1 { margin-bottom: 16px; } .mb-2 { margin-bottom: 32px; } .mb-3 { margin-bottom: 48px; } .mb-4 { margin-bottom: 72px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold-deep); }
.text-purple { color: var(--purple); }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ----------------------------- RESPONSIVE ----------------------------- */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .step:not(:last-child)::after { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--narrow { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
/* Collapse the full nav into the drawer for tablets & narrow laptops (covers iPad portrait 768 & landscape 1024). */
@media (max-width: 1100px) {
  .nav__links, .nav__cta .lang-switch, .nav__cta .theme-toggle, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  :root { --section-pad: 64px; }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 22px; }
  .hero { min-height: auto; padding: 130px 0 80px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__ornament { display: none; }
  .hero__scroll { display: none; }
}

/* ============================================================================
   NAV DROPDOWN (Investor sub-menu)
   ============================================================================ */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > .nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__item > .nav__link::after {
  content: ""; position: static; width: 6px; height: 6px; border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor; transform: rotate(45deg); margin-left: 2px; margin-top: -3px;
  background: none; transition: transform var(--t); opacity: 0.7;
}
.nav__submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 248px;
  background: var(--plum-900); /* fallback for browsers without color-mix */
  background: color-mix(in srgb, var(--plum-900) 96%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 10px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--t), transform var(--t);
  z-index: 120;
}
.nav__submenu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px; }
.nav__item:hover .nav__submenu, .nav__item:focus-within .nav__submenu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(2px);
}
.nav__item:hover > .nav__link::after { transform: rotate(225deg); margin-top: 1px; }
.nav__submenu a {
  display: flex; flex-direction: column; gap: 1px; padding: 9px 14px; border-radius: var(--radius);
  font-size: 0.84rem; font-weight: 500; color: var(--lavender); transition: all var(--t);
}
.nav__submenu a small { font-size: 0.66rem; color: rgba(183,196,216,0.55); letter-spacing: 0.02em; }
.nav__submenu a:hover { background: var(--purple-bright); color: #fff; } /* fallback */
.nav__submenu a:hover { background: color-mix(in srgb, var(--purple-bright) 26%, transparent); color: #fff; }
.nav__submenu a:hover small { color: var(--gold-soft); }

/* drawer sub-group (collapsible — display toggle is bulletproof inside a flex-column drawer). */
.nav__drawer .nav__drawer-sub {
  padding-left: 16px; border-left: 1px solid var(--line-dark); margin: 0;
  display: none;
}
.nav__drawer .nav__drawer-sub.open {
  display: flex; flex-direction: column; margin: 2px 0 6px;
}
.nav__drawer .nav__drawer-sub a { font-size: 1.05rem; padding: 9px 0; border-bottom: none; color: var(--lavender); }
.nav__drawer .nav__drawer-sub a:hover { color: var(--gold-soft); }
.nav__drawer-head {
  font-family: var(--font-display); font-size: 1.7rem; color: var(--lavender);
  padding: 12px 0 2px; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__drawer-head::after {
  content: ""; width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 0.3s var(--ease); opacity: 0.7;
  margin-right: 4px;
}
.nav__drawer-head.open::after { transform: rotate(-135deg); }

/* ============================================================================
   INVESTOR RELATIONS - sub-page components
   ============================================================================ */
/* sub-section navigation cards (on IR overview) */
.ir-subnav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ir-subnav__card {
  display: block; padding: 26px 24px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background: var(--white); transition: all var(--t); position: relative; overflow: hidden;
}
.ir-subnav__card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(11,31,51,0.32); border-color: transparent; }
.ir-subnav__card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.ir-subnav__card:hover::before { transform: scaleX(1); }
.ir-subnav__card h4 { margin-bottom: 6px; }
.ir-subnav__card p { font-size: 0.88rem; color: var(--ink-soft); }
.ir-subnav__card .ir-subnav__count { font-family: var(--font-mono); font-size: 0.76rem; color: var(--gold-deep); font-weight: 600; }

/* generic document list (disclosures, governance) */
.doc-year { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--purple); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.doc-year::after { content: ""; flex: 1; height: 1px; background: var(--line-gold); }
.doc-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 40px; }
.doc-row {
  display: flex; align-items: center; gap: 18px; padding: 16px 4px; border-bottom: 1px solid var(--line-soft);
}
.doc-row__date { flex-shrink: 0; width: 96px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); }
.doc-row__body { flex: 1; min-width: 0; }
.doc-row__title { font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.doc-row__tag { display: inline-block; margin-top: 4px; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.doc-dl {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--line); font-size: 0.78rem; font-weight: 600; color: var(--purple); transition: all var(--t);
}
.doc-dl:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.doc-dl svg { width: 15px; height: 15px; }
.doc-meta { font-size: 0.72rem; color: var(--ink-soft); margin-left: 8px; font-family: var(--font-mono); }

/* financial reports table */
.fin-table { width: 100%; border-collapse: collapse; margin-bottom: 36px; }
.fin-table thead th { text-align: left; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 14px; border-bottom: 2px solid var(--line-gold); }
.fin-table td { padding: 14px; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; vertical-align: middle; }
.fin-table tr:hover td { background: var(--lilac-50); }

/* AGM year cards */
.agm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.agm-card { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 28px; background: var(--plum-900); }
.agm-card__year { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--gold-soft); margin-bottom: 16px; }
.agm-card a.agm-doc { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); color: var(--lavender); font-size: 0.9rem; transition: color var(--t); }
.agm-card a.agm-doc:last-child { border-bottom: none; }
.agm-card a.agm-doc:hover { color: var(--gold-soft); }
.agm-card a.agm-doc span.dl { color: var(--amethyst); font-size: 0.76rem; font-weight: 600; flex-shrink: 0; }

/* annual report cover cards */
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.report-cover { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); background: var(--white); transition: all var(--t); }
.report-cover:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(11,31,51,0.35); }
.report-cover__art {
  position: relative; aspect-ratio: 3/4; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff;
  background: radial-gradient(120% 90% at 80% 0%, rgba(30,83,132,0.55), transparent 60%), linear-gradient(160deg, var(--plum-800), var(--plum-600));
}
.report-cover__art .ry { font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; line-height: 1; color: var(--gold-soft); }
.report-cover__art .rt { font-size: 0.84rem; color: var(--lavender); margin-top: 6px; letter-spacing: 0.04em; }
.report-cover__foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.report-cover__foot .doc-dl { border-color: var(--line); }

/* governance formal list */
.gov-list { display: grid; gap: 12px; }
.gov-item { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--white); transition: all var(--t); }
.gov-item:hover { border-color: var(--line-gold); box-shadow: 0 16px 36px -24px rgba(11,31,51,0.28); }
.gov-item__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; background: var(--lilac-50); color: var(--purple); display: flex; align-items: center; justify-content: center; }
.gov-item__icon svg { width: 22px; height: 22px; }
.gov-item__body { flex: 1; }
.gov-item__body h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.gov-item__body p { font-size: 0.82rem; color: var(--ink-soft); }

/* IR section tabs */
.ir-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 0; margin-bottom: 44px; }
.ir-tabs a {
  padding: 10px 18px; font-size: 0.84rem; font-weight: 600; color: var(--ink-soft);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all var(--t); white-space: nowrap;
}
.ir-tabs a:hover { color: var(--purple); }
.ir-tabs a.active { color: var(--purple); border-bottom-color: var(--gold); }

/* ----- IR stock info ----- */
.stock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stock-figure {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 6px;
}
.stock-figure__label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.stock-figure__value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--purple); }
.stock-chart { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; }
.stock-chart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 56px 24px; color: var(--ink-soft); background: var(--white);
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
}

/* ----- IR shareholder structure ----- */
.sh-chart { display: flex; flex-direction: column; gap: 16px; margin: 12px 0 8px; }
.sh-row__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 0.9rem; }
.sh-row__head strong { font-family: var(--font-mono); color: var(--purple); }
.sh-track { height: 12px; background: var(--cream-deep); border-radius: 100px; overflow: hidden; }
.sh-fill { height: 100%; border-radius: 100px; transition: width 0.6s var(--ease); min-width: 2px; }
.sh-table { width: 100%; border-collapse: collapse; }
.sh-table th, .sh-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.sh-table th { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.sh-table__total td { border-top: 2px solid var(--line); border-bottom: none; font-weight: 700; color: var(--purple); }

/* ----- IR disclosure email-alert box ----- */
.ir-alert-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: center;
  margin-top: 48px; padding: 28px 32px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--cream); scroll-margin-top: 100px;
}
.ir-alert-box h3 { margin-bottom: 6px; }
.ir-alert-box p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.ir-alert-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.ir-alert-form input[type=email] {
  flex: 1; min-width: 200px; padding: 12px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); font-size: 0.92rem;
}
.ir-alert-form input[type=email]:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(20,58,92,0.12); }
@media (max-width: 768px) { .stock-grid { grid-template-columns: 1fr 1fr; } .ir-alert-box { grid-template-columns: 1fr; } }

/* ============================================================================
   NEWS / ARTICLE COVER IMAGES - framed & restrained, so off-tone uploads
   still sit cleanly within the layout (small, bordered, matte frame).
   ============================================================================ */
.article-thumb {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px; background: var(--white); margin-bottom: 20px; transition: border-color var(--t);
}
.article-thumb__inner {
  aspect-ratio: 16 / 10; border-radius: 3px; overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--cream), var(--cream-deep));
}
.article-thumb__inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-thumb__inner::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(14,27,41,0.06); pointer-events: none; }
.card:hover .article-thumb { border-color: var(--line-gold); }

.article-figure {
  margin: 4px auto 34px; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; background: var(--white); max-width: 540px;
}
.article-figure__inner {
  border-radius: 3px; overflow: hidden; max-height: 360px; position: relative;
  background: linear-gradient(150deg, var(--cream), var(--cream-deep));
}
.article-figure__inner img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; display: block; }
.article-figure__inner::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(14,27,41,0.06); pointer-events: none; }
.article-figure figcaption { font-size: 0.78rem; color: var(--ink-soft); text-align: center; padding: 9px 4px 2px; letter-spacing: 0.02em; }

/* author byline */
.byline { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.byline__avatar {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--gold));
}
.byline__name { font-weight: 600; color: var(--ink); font-size: 0.96rem; }
.byline__meta { font-size: 0.82rem; color: var(--ink-soft); margin-top: 1px; }

/* related articles (compact) */
.related { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 30px; }
.related__head { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.related__list { display: grid; gap: 0; }
.related__item { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.related__item:last-child { border-bottom: none; }
.related__date { flex-shrink: 0; width: 84px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-soft); }
.related__body { flex: 1; min-width: 0; }
.related__title { color: var(--ink); font-weight: 500; font-size: 0.98rem; line-height: 1.5; transition: color var(--t); }
.related__item:hover .related__title { color: var(--purple); }
.related__topic { display: block; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-top: 3px; }

/* FAQ accordion */
.faq-group { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--purple); margin: 34px 0 12px; }
.faq-group:first-of-type { margin-top: 0; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary.faq-q {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq-item summary.faq-q::-webkit-details-marker { display: none; }
.faq-item summary.faq-q::after {
  content: ""; position: absolute; right: 6px; top: 22px; width: 9px; height: 9px;
  border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg); transition: transform var(--t);
}
.faq-item[open] summary.faq-q::after { transform: rotate(-135deg); }
.faq-item summary.faq-q:hover { color: var(--purple); }
.faq-a { padding: 0 36px 20px 0; color: var(--ink-soft); line-height: 1.7; font-size: 0.97rem; }

/* news search toolbar */
.news-toolbar { display: flex; justify-content: flex-end; margin-bottom: 28px; }
.news-search { display: flex; max-width: 440px; width: 100%; }
.news-search input {
  flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--line); border-right: none;
  border-radius: var(--radius) 0 0 var(--radius); background: var(--white); color: var(--ink); font-size: 0.92rem;
}
.news-search input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(20,58,92,0.12); }
.news-search button {
  padding: 0 20px; border: 1px solid var(--purple); background: var(--purple); color: #fff;
  border-radius: 0 var(--radius) var(--radius) 0; font-weight: 600; font-size: 0.85rem; cursor: pointer; white-space: nowrap;
}
.news-search button:hover { background: var(--plum-700); }
.news-result-note { font-size: 0.88rem; color: var(--ink-soft); margin: -4px 0 26px; }
.news-result-note strong { color: var(--ink); }

/* pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 50px; }
.pagination a, .pagination span.dots {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); transition: all var(--t);
}
.pagination a:hover { border-color: var(--purple); color: var(--purple); }
.pagination a.active { background: var(--purple); border-color: var(--purple); color: #fff; }
.pagination a.disabled { opacity: 0.4; pointer-events: none; }
.pagination span.dots { border: none; }

/* ============================================================================
   AI ASSISTANT WIDGET
   ============================================================================ */
.thh-chat { position: fixed; right: 22px; bottom: 22px; z-index: 200; }
.thh-chat__launch {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--purple), var(--gold)); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -10px rgba(11,31,51,0.5);
  transition: transform var(--t);
}
.thh-chat__launch:hover { transform: scale(1.06); }
.thh-chat__launch svg { width: 26px; height: 26px; }
.thh-chat__panel {
  position: absolute; right: 0; bottom: 70px; width: min(360px, calc(100vw - 44px)); height: 480px; max-height: calc(100vh - 120px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 30px 70px -24px rgba(14,27,41,0.45);
}
.thh-chat__head {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
  background: var(--plum-900); color: #fff; font-weight: 600; font-size: 0.95rem;
}
.thh-chat__head button { background: none; border: none; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; opacity: 0.8; }
.thh-chat__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--ivory); }
.thh-chat__msg { max-width: 85%; padding: 10px 13px; border-radius: 12px; font-size: 0.9rem; line-height: 1.55; }
.thh-chat__msg a { color: var(--purple); text-decoration: underline; word-break: break-all; }
.thh-chat__msg--user { align-self: flex-end; background: var(--purple); color: #fff; border-bottom-right-radius: 3px; }
.thh-chat__msg--user a { color: #fff; }
.thh-chat__msg--assistant { align-self: flex-start; background: var(--white); border: 1px solid var(--line-soft); color: var(--ink); border-bottom-left-radius: 3px; }
.thh-chat__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-soft); background: var(--white); }
.thh-chat__input input { flex: 1; padding: 10px 14px; border: 1px solid var(--line); border-radius: 100px; font-size: 0.9rem; }
.thh-chat__input input:focus { outline: none; border-color: var(--purple); }
.thh-chat__input button { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer; background: var(--purple); color: #fff; display: flex; align-items: center; justify-content: center; }
.thh-chat__input button svg { width: 18px; height: 18px; }

/* ============================================================================
   ADMIN-SELECTABLE THEMES - applied as body.theme-<key> (default imperial = :root).
   Each theme re-maps the design tokens so the whole site recolors cohesively.
   ============================================================================ */
body.theme-bordeaux {
  --plum-950:#1A0608; --plum-900:#260A0D; --plum-800:#3A1116; --plum-700:#4E171D; --plum-600:#651E26;
  --purple:#7B1E2E; --purple-bright:#9E2A3C; --amethyst:#C97A84; --lavender:#E6CBCE; --lilac-50:#F7ECE9;
  --gold:#C9A063; --gold-soft:#E2C690; --gold-deep:#A87E3E;
  --ivory:#FBF7F1; --cream:#F4ECE0; --cream-deep:#EADFCE; --ink:#241317; --ink-soft:#5C474B;
  --line:rgba(36,19,23,0.12); --line-soft:rgba(36,19,23,0.07); --line-gold:rgba(201,160,99,0.5); --line-dark:rgba(230,203,206,0.16);
  --font-display:"Playfair Display","Cormorant Garamond","Be Vietnam Pro",Georgia,serif;
}
body.theme-bordeaux .bg-plum-grad {
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(158,42,60,0.35) 0%, transparent 55%),
    radial-gradient(90% 90% at 0% 110%, rgba(123,30,46,0.45) 0%, transparent 60%),
    linear-gradient(160deg, #1A0608 0%, #3A1116 60%, #260A0D 100%);
}

body.theme-emerald {
  --plum-950:#04130E; --plum-900:#071C15; --plum-800:#0C2A20; --plum-700:#10382B; --plum-600:#164A38;
  --purple:#1F6B4F; --purple-bright:#2E8B66; --amethyst:#7FBFA3; --lavender:#CFE5DA; --lilac-50:#E8F3EE;
  --gold:#C9A063; --gold-soft:#E2C690; --gold-deep:#A87E3E;
  --ivory:#F7F8F4; --cream:#ECF0E7; --cream-deep:#DEE6D7; --ink:#10231B; --ink-soft:#46554E;
  --line:rgba(16,35,27,0.12); --line-soft:rgba(16,35,27,0.07); --line-gold:rgba(201,160,99,0.5); --line-dark:rgba(207,229,218,0.16);
}
body.theme-emerald .bg-plum-grad {
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(46,139,102,0.32) 0%, transparent 55%),
    radial-gradient(90% 90% at 0% 110%, rgba(31,107,79,0.42) 0%, transparent 60%),
    linear-gradient(160deg, #04130E 0%, #0C2A20 60%, #071C15 100%);
}

body.theme-midnight {
  --plum-950:#060B16; --plum-900:#0A1120; --plum-800:#101B33; --plum-700:#162542; --plum-600:#1F3358;
  --purple:#27406E; --purple-bright:#36589A; --amethyst:#8EA6CE; --lavender:#CDD8EA; --lilac-50:#E9EEF6;
  --gold:#C9A063; --gold-soft:#E2C690; --gold-deep:#A87E3E;
  --ivory:#F6F7FA; --cream:#EBEEF3; --cream-deep:#DCE2EB; --ink:#121826; --ink-soft:#475063;
  --line:rgba(18,24,38,0.12); --line-soft:rgba(18,24,38,0.07); --line-gold:rgba(201,160,99,0.5); --line-dark:rgba(205,216,234,0.16);
}
body.theme-midnight .bg-plum-grad {
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(54,88,154,0.32) 0%, transparent 55%),
    radial-gradient(90% 90% at 0% 110%, rgba(39,64,110,0.42) 0%, transparent 60%),
    linear-gradient(160deg, #060B16 0%, #101B33 60%, #0A1120 100%);
}

@media (max-width: 1024px) {
  .ir-subnav { grid-template-columns: repeat(2, 1fr); }
  .report-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ir-subnav, .agm-grid, .report-grid { grid-template-columns: 1fr; }
  .doc-row { flex-wrap: wrap; gap: 8px 14px; }
  .doc-row__date { width: auto; }
  .fin-table thead { display: none; }
  .fin-table td { display: block; border: none; padding: 4px 0; }
  .fin-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
}

