:root {
  --ink: #0a0f1c;
  --ink-2: #121a2e;
  --ink-soft: #1b2540;
  --gold: #cda05a;
  --gold-light: #ecd6a4;
  --paper: #fffaf3;
  --cream: #f6efe0;
  --muted-dark: #a9b3c7;
  --muted-light: #6b7280;
  --text: #1c2333;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-light: #e7ddc9;
  --shadow-card: 0 18px 50px rgba(10, 15, 28, 0.1);
  --shadow-strong: 0 34px 90px rgba(10, 15, 28, 0.4);
  --font-heading: "Montserrat", "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --radius-sm: 10px;
  --radius-lg: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 16px;
  color: var(--muted-light);
  line-height: 1.75;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

h1 em,
.manifesto em {
  font-style: italic;
  color: var(--gold);
}

h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  letter-spacing: -0.01em;
  color: #fff;
}

h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  color: var(--text);
}

h3 {
  font-size: 20px;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 80;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), #9c7433);
  color: #1c1404;
  font-family: var(--font-heading);
  font-weight: 800;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: #fff;
}

.footer-brand > div {
  display: flex;
  flex-direction: column;
}

.brand__name strong,
.footer-brand strong {
  font-family: var(--font-heading);
  font-size: 17px;
}

.brand__name em,
.footer-brand span {
  color: var(--muted-dark);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  border-radius: 999px;
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 13px;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--gold-light);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 5px;
  border-radius: 2px;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 13px;
}

.btn--primary {
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: #201705;
  box-shadow: 0 16px 34px rgba(205, 160, 90, 0.32);
}

.btn--outline {
  border-color: var(--border-light);
  background: transparent;
  color: var(--text);
}

.btn--outline.btn--light {
  border-color: var(--border-dark);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 64px;
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
}

.hero::before {
  content: "";
  position: absolute;
  top: -8rem;
  right: -10rem;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 160, 90, 0.22), transparent 66%);
  transform: translateY(var(--parallax-y, 0));
  transition: transform 0.1s linear;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.hero__lead {
  max-width: 620px;
  font-size: 17px;
  color: var(--muted-dark);
}

.hero__actions,
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.section-cta--center {
  margin-top: 40px;
  justify-content: center;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--gold-light);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__trust span {
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 14px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  min-height: 540px;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  height: 540px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: var(--ink-soft);
  box-shadow: var(--shadow-strong);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.portrait-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 40px 100px rgba(10, 15, 28, 0.5),
    0 0 0 1px rgba(205, 160, 90, 0.35);
}

.portrait-card:hover img {
  transform: scale(1.04);
}

.portrait-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 28, 0) 40%, rgba(10, 15, 28, 0.88) 100%);
}

.portrait-card__quote {
  position: absolute;
  z-index: 1;
  top: 26px;
  right: 26px;
  max-width: 200px;
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gold-light);
  text-align: right;
  text-shadow: 0 4px 16px rgba(10, 15, 28, 0.6);
}

.portrait-card__glass {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px;
}

.portrait-card__glass span,
.floating-card span {
  display: block;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portrait-card__glass strong,
.floating-card strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 24px;
  color: #fff;
}

.floating-card {
  position: absolute;
  z-index: 2;
  max-width: 190px;
  padding: 16px;
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  background: rgba(18, 26, 46, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.floating-card--top {
  top: 34px;
  left: -30px;
}

.floating-card--bottom {
  right: -20px;
  bottom: 60px;
}

.section {
  padding: 96px 0;
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
  color: #fff;
}

.section--dark h2 {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
}

.section-head--split h2 {
  margin-bottom: 0;
}

.text-link {
  font-weight: 700;
  color: var(--text);
}

.text-link--light {
  color: var(--gold-light);
}

.split-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.profile-panel,
.contact-form,
.capability-card {
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.profile-panel {
  border-radius: 28px;
  padding: 34px;
}

.profile-panel__mark {
  display: inline-grid;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: #201705;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
}

.profile-panel dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.profile-panel div {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.profile-panel dt {
  color: var(--muted-light);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-panel dd {
  margin: 6px 0 0;
  font-weight: 700;
}

.profile-panel dd a:hover {
  color: var(--gold);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.capability-card {
  border-radius: 22px;
  padding: 26px 22px;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.capability-card:hover {
  transform: translateY(-6px);
  border-color: rgba(205, 160, 90, 0.4);
  box-shadow: 0 24px 60px rgba(10, 15, 28, 0.14);
}

.capability-card span {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  transition: transform 0.25s ease;
}

.capability-card:hover span {
  transform: scale(1.12);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.event-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  border-radius: 22px;
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--ink-soft);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  border-color: rgba(205, 160, 90, 0.45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.event-card:hover h3 {
  color: var(--gold-light);
}

.event-card h3 {
  transition: color 0.25s ease;
}

.event-card--v1 {
  background: linear-gradient(150deg, #1b2540, #0a0f1c);
}
.event-card--v2 {
  background: linear-gradient(150deg, #241a3a, #0a0f1c);
}
.event-card--v3 {
  background: linear-gradient(150deg, #2a1e12, #0a0f1c);
}
.event-card--v4 {
  background: linear-gradient(150deg, #17222c, #0a0f1c);
}

.event-card__tag {
  align-self: flex-start;
  margin-bottom: auto;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.event-card h3 {
  margin: 20px 0 8px;
  color: #fff;
  font-size: 17px;
  line-height: 1.3;
}

.event-card p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 12.5px;
}

.quote-band {
  background: linear-gradient(135deg, var(--ink), var(--ink-soft));
  color: #fff;
  padding: 96px 0;
  text-align: center;
}

.manifesto {
  max-width: 780px;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: inline-flex;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 9px;
  font-weight: 700;
}

.contact-list a:hover {
  color: var(--gold);
}

.contact-form {
  border-radius: 28px;
  padding: 30px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(205, 160, 90, 0.25);
  border-color: var(--gold);
  background: #fff;
}

.form-submit {
  width: 100%;
}

.form-note {
  min-height: 20px;
  margin-top: 12px;
  font-size: 13px;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand strong {
  color: #fff;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  font-weight: 700;
  font-size: 14px;
}

.site-footer nav a:hover {
  color: var(--gold-light);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Collection listing/detail pages ("Chương trình") — generic
   .bos-blog* markup injected server-side by the platform's collection
   engine, styled here to match this theme's dark-navy/gold identity. ---- */
.bos-blog,
.bos-article {
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 24px 96px;
  min-height: 60vh;
}

.bos-blog__toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 34px;
}

.bos-blog__search input {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: #fff;
  padding: 12px 20px;
  font: inherit;
  color: var(--text);
}

.bos-blog__search input:focus {
  outline: 2px solid rgba(205, 160, 90, 0.25);
  border-color: var(--gold);
}

.bos-blog__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.bos-blog__pill {
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: #fff;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bos-blog__pill[data-active="true"] {
  border-color: var(--gold);
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: #201705;
}

.bos-blog__grid {
  display: grid;
  grid-template-columns: repeat(var(--bos-blog-columns, 3), 1fr);
  gap: 22px;
}

.bos-blog__card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.bos-blog__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(10, 15, 28, 0.16);
}

.bos-blog__card.bos-blog__featured {
  grid-column: span 2;
}

.bos-blog__coverwrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-soft);
}

.bos-blog__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bos-blog__cardbody {
  padding: 22px;
}

.bos-blog__cardbody h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--text);
}

.bos-blog__excerpt {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: var(--muted-light);
}

/* .bos-blog__nomatch's display is toggled inline by the platform's own
   filter script (theme-shell.ts's BLOG_FILTER_SCRIPT) — this is just its
   visual styling, not the show/hide logic. */
.bos-blog__nomatch {
  padding: 60px 0;
  text-align: center;
  color: var(--muted-light);
}

.bos-blog__empty {
  padding: 80px 0;
  text-align: center;
  color: var(--muted-light);
}

.bos-article {
  padding-top: 140px;
}

.bos-article > h1 {
  max-width: 880px;
  color: var(--text);
}

.bos-article__meta {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: 15px;
  color: var(--muted-light);
}

.bos-article__body {
  max-width: 780px;
  padding: 32px;
  border: 1px solid var(--border-light);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-card);
  line-height: 1.8;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .hero__grid,
  .split-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: auto;
  }

  .portrait-card {
    max-width: 440px;
    margin: 0 auto;
  }

  .floating-card {
    display: none;
  }

  .capability-grid,
  .event-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bos-blog__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .bos-blog__card.bos-blog__featured {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .site-header__actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border-dark);
    background: var(--ink);
    padding: 14px 24px 20px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .hero,
  .section,
  .quote-band {
    padding: 58px 0;
  }

  .portrait-card {
    height: 420px;
  }

  .portrait-card__quote {
    display: none;
  }

  .capability-grid,
  .event-grid,
  .bos-blog__toolbar {
    grid-template-columns: 1fr;
  }

  .bos-blog__pills {
    justify-content: flex-start;
  }

  .bos-blog__grid {
    grid-template-columns: 1fr !important;
  }

  .bos-blog__card.bos-blog__featured {
    grid-column: span 1;
  }

  .bos-blog,
  .bos-article {
    padding: 110px 18px 64px;
  }

  .bos-article__body {
    padding: 24px;
  }
}
