@import url("design-tokens.css");
@import url("fonts-be-vietnam.css");

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/unbounded.woff2") format("woff2");
}

/* ===== Design tokens (swap values here) =====
   Official identity 13/11. Palette ratio ~60 black / 30 white / 10 red.
   Red is accent only. The black-to-red gradient is reserved for large blocks.
   Type: Unbounded (self-hosted, Vietnamese subset, variable 200–900)
   at 700 headings / 500 emphasis / 400 body; Arial fallback.
   CJK pages use Noto Sans KR / SC stacks.
   The Chu Gia Hoa Viên (3V Farm) page keeps its original content styling
   via body.page-bds; only the shared header, language switcher, and footer
   follow global token swaps. */

:root {
  --color-black: #040707;
  --color-white: #FFFFFF;
  --color-red: #AC1E23;
  --color-bg: var(--color-black);
  --color-bg-elevated: #101313;
  --color-fg: var(--color-white);
  --color-fg-muted: rgba(255, 255, 255, 0.72);
  --color-accent: var(--color-red);
  --color-accent-hover: #C2252B;
  --color-paper: var(--color-white);
  --color-ink: var(--color-black);
  --color-ink-muted: #2a2d2d;
  --color-line-dark: rgba(4, 7, 7, 0.14);
  --color-line-light: rgba(255, 255, 255, 0.18);
  --color-shadow: rgba(4, 7, 7, 0.32);
  --gradient-brand: linear-gradient(180deg, #040707 0%, #AC1E23 100%);

  /* Backward-compatible aliases */
  --black: var(--color-black);
  --white: var(--color-white);
  --red: var(--color-red);
  --ink-soft: var(--color-ink-muted);
  --line: var(--color-line-dark);
  --line-light: var(--color-line-light);

  --font-display: "Unbounded", Arial, sans-serif;
  --font-body: "Be Vietnam Pro", Arial, sans-serif;
  --font-ko: "Noto Sans KR", "Noto Sans CJK KR", "Apple SD Gothic Neo", "Malgun Gothic", "Gothic A1", sans-serif;
  --font-zh: "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-weight-body: 400;
  --font-weight-emphasis: 500;
  --font-weight-heading: 700;
  --fs-body: 1rem;
  --lh-body: 1.65;
  --ls-display: -0.02em;
  --ls-kicker: 0.14em;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 0.22s;
  --duration-reveal: 0.85s;
  --duration-hero: 22s;

  --max: 1280px;
  --header-logo: 168px;
  --logo-min-width: 120px;
  /* Clear space around the lockup = half of the rendered mark height (50/168). */
  --logo-clear-space: calc(var(--header-logo) * 50 / 168 / 2);
}

/* Isolate the resort page content from later palette swaps */
body.page-bds {
  --color-bg: #040707;
  --color-fg: #FFFFFF;
  --color-accent: #AC1E23;
  --color-accent-hover: #8f191e;
  --black: #040707;
  --white: #FFFFFF;
  --red: #AC1E23;
  --ink-soft: #2a2d2d;
  --line: rgba(4, 7, 7, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-heading);
}

strong, b, em, .hero-tagline, .brand-lead, .kicker, .detail-kicker {
  font-weight: var(--font-weight-emphasis);
}

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

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.about :focus-visible,
.card :focus-visible,
.achievements :focus-visible {
  outline-color: var(--black);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: var(--white);
  color: var(--black);
  padding: 0.45rem 0.7rem;
  font-weight: 500;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

html:not([lang="vi"]) .vi,
html:not([lang="en"]) .en,
html:not([lang="ko"]) .ko,
html:not([lang="zh-Hans"]) .zh {
  display: none !important;
}

html[lang="ko"] body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Unbounded", Arial, sans-serif;
  word-break: keep-all;
  line-height: 1.75;
}

html[lang="zh-Hans"] body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Unbounded", Arial, sans-serif;
  line-height: 1.75;
}

html[lang="en"] .slogan-en,
.slogan-ko,
.slogan-zh {
  margin: 0;
  font-weight: 600;
  font-size: 1em;
  line-height: 1.45;
}

html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3 {
  line-height: 1.35;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--black);
  border-bottom: 1px solid var(--line-light);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: max(0.85rem, var(--logo-clear-space)) 0;
}

.logo-header {
  width: var(--header-logo);
  min-width: var(--logo-min-width);
  height: auto;
  margin-block: 0;
  margin-inline-end: var(--logo-clear-space);
  filter: none;
  box-shadow: none;
  outline: none;
  /* The SVG lockup is the original vector; do not add drop shadows. */
}

.lang {
  display: inline-grid;
  grid-template-columns: repeat(4, 2.55rem);
  width: max-content;
  flex: none;
  border: 1px solid var(--line-light);
}

.lang button {
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 2.5rem;
  margin: 0;
  padding: 0 0.15rem;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.lang button[data-set-lang="ko"],
.lang button[data-set-lang="zh"] {
  font-size: 0.58rem;
  font-weight: var(--font-weight-emphasis);
  letter-spacing: 0;
}

.lang button[data-set-lang="ko"] {
  font-family: "Noto Sans KR", "Noto Sans CJK KR", "Apple SD Gothic Neo", "Malgun Gothic", "Gothic A1", sans-serif;
}

.lang button[data-set-lang="zh"] {
  font-family: "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

@media (max-width: 480px) {
  .header-bar {
    gap: 0.4rem;
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .logo-header {
    width: var(--logo-min-width);
    margin-inline-end: 0;
  }

  .lang {
    grid-template-columns: repeat(4, 2.05rem);
  }

  .lang button {
    min-height: 2.15rem;
    font-size: 0.64rem;
  }

  .lang button[data-set-lang="ko"],
  .lang button[data-set-lang="zh"] {
    font-size: 0.48rem;
  }
}

.lang button[aria-pressed="true"] {
  background: var(--white);
  color: var(--black);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.15rem 1.05rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 0.85rem;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 0.45rem 0;
}

.nav a:hover,
.nav a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.hero {
  padding: 3.2rem 0 3.6rem;
}

.hero-lockup {
  width: min(88vw, 1000px);
  min-width: 160px;
  margin-inline: auto;
}

.logo-hero {
  width: 100%;
  max-width: 560px;
  min-width: var(--logo-min-width);
  height: auto;
  filter: none;
  box-shadow: none;
  outline: none;
}

.hero-tagline {
  margin: 0.85rem 0 0;
  text-align: center;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.7vw, 1.2rem);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #f2f2f2;
}

.slogan-panel {
  width: 100%;
  margin: 1.5rem auto 0;
  background: transparent;
  color: var(--white);
  text-align: center;
  padding: 0;
  font-size: clamp(20px, 3vw, 36px);
}

.slogan-vi {
  margin: 0;
  font-weight: var(--font-weight-emphasis);
  font-size: 1em;
  line-height: 1.35;
}

.slogan-en {
  margin: 0.55rem 0 0;
  font-weight: 400;
  font-size: 0.56em;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.accent {
  color: var(--red);
}

.keep {
  white-space: nowrap;
}

.hero-domain {
  margin: 1rem 0 0;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.rule {
  width: 4.5rem;
  height: 4px;
  background: var(--red);
  margin: 1.15rem auto 0;
  border: 0;
}

.section {
  padding: 4.25rem 0;
}

.kicker {
  margin: 0 0 0.55rem;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about .kicker,
.achievements .kicker {
  color: var(--red);
}

h2 {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lede,
.prose p {
  max-width: 68ch;
}

.about {
  background: var(--white);
  color: var(--black);
}

.pillars {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillars li {
  border-top: 3px solid var(--red);
  padding-top: 0.7rem;
  font-weight: 500;
  line-height: 1.4;
}

.centerpiece .intro {
  max-width: 62ch;
  margin-bottom: 1.6rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.card {
  background: var(--white);
  color: var(--black);
  padding: 1.4rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
}

.card-mark {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.member-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: calc(100% - 2.4rem);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 860px) {
  .member-logo {
    height: 72px;
  }
}

.idx {
  margin: 0;
  flex: none;
  color: var(--red);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.card h3 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.card p {
  margin: 0;
}

.card .desc {
  flex: 1;
  line-height: 1.45;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 48px;
  margin-top: 0.4rem;
  padding: 0.7rem 1rem;
  background: var(--red);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}

.card-link:hover {
  background: #8f191e;
}

.card-link::after {
  content: " ↗";
}

.eco-pair {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.4rem;
}

@media (min-width: 860px) {
  .eco-pair {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

.eco-card {
  border-top: 3px solid var(--red);
  padding-top: 1rem;
}

.eco-card h3 {
  margin: 0 0 0.35rem;
  color: var(--red);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
}

.eco-tagline {
  margin: 0 0 0.35rem;
  font-weight: 500;
  line-height: 1.4;
}

.eco-card h4 {
  margin: 1rem 0 0.35rem;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eco-card p {
  margin: 0 0 0.55rem;
}

.eco-card ul {
  margin: 0.2rem 0 0;
  padding-left: 1.15rem;
}

.eco-card li {
  margin: 0.4rem 0;
}

.eco-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.75rem;
}

@media (min-width: 860px) {
  .eco-grid {
    grid-template-columns: 1fr;
  }
}

.eco-grid h3,
.eco-name {
  color: var(--red);
}

.eco-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.eco-grid p {
  margin: 0 0 0.55rem;
}

.tag {
  font-weight: 500;
}

.eco-card .tag {
  margin-top: 0.85rem;
}

.note {
  margin: 1.4rem 0 0;
  max-width: 68ch;
  color: #e6e6e6;
  font-size: 0.92rem;
}

.achievements {
  background: var(--white);
  color: var(--black);
}

.stats {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 0.6rem;
}

@media (min-width: 800px) {
  .stats {
    grid-template-columns: minmax(0, 22rem);
  }
}

.stat {
  border-top: 3px solid var(--red);
  padding-top: 0.75rem;
}

.stat-num {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.stat p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.block {
  margin-top: 2.4rem;
}

.block h3 {
  margin: 0 0 0.7rem;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
}

.heading-red {
  color: var(--red);
}

.hits-label {
  margin: 1.15rem 0 0.7rem;
  font-weight: 500;
}

.hits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .hits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hits {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.hits .stat-num {
  color: var(--red);
}

.hit-title {
  margin: 0.65rem 0 0;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}

.hit-artist {
  margin: 0.2rem 0 0;
}

.figures {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .figures {
    grid-template-columns: 1fr 1fr;
  }
}

.figures li {
  border: 1px solid var(--line);
  padding: 0.85rem 0.9rem;
}

.figures strong {
  display: block;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 0.8rem;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

caption {
  text-align: left;
  font-weight: 500;
  padding-bottom: 0.6rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.4;
}

th {
  font-weight: 500;
}

.events {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.events li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  max-width: 78ch;
}

.events strong {
  font-weight: 500;
}

.source {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.site-footer {
  padding: 2.6rem 0 2rem;
  border-top: 1px solid var(--line-light);
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.logo-footer {
  width: 180px;
  height: auto;
}

.site-footer address {
  font-style: normal;
}

.site-footer p,
.site-footer address {
  margin: 0 0 0.45rem;
}

.site-footer a {
  color: var(--white);
  font-weight: 500;
}

.legal {
  margin-top: 1.4rem;
  color: #d0d0d0;
  font-size: 0.82rem;
}

.missing {
  padding: 4rem 0 5rem;
}

.missing h1 {
  margin: 1.2rem 0 0.6rem;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
}

.home-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 0.6rem;
  padding: 0.7rem 1rem;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* --- Draft additions: business areas, brand grid, modal --- */

.fields-jump {
  margin: 1.6rem 0 0;
}

.fields-jump a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.12rem;
}

.fields-jump a:hover,
.fields-jump a:focus-visible {
  color: var(--red);
}

.fields .kicker {
  color: var(--red);
}

.anchor-alias {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: 7rem;
}

#linh-vuc,
#thuong-hieu,
#gioi-thieu,
#thanh-tuu,
#lien-he,
#dau-tu-dien-anh,
#am-nhac,
[id^="brand-"] {
  scroll-margin-top: 7rem;
}

.field-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.field-list > li {
  border-top: 3px solid var(--red);
  padding: 1.05rem 0 1.35rem;
}

.field-list h3 {
  margin: 0 0 0.45rem;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.field-num {
  color: var(--red);
  margin-right: 0.35rem;
}

.field-members {
  font-weight: 500;
  font-size: 0.92em;
  margin-left: 0.3em;
}

.field-members a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 0.05rem;
}

.field-members a:hover,
.field-members a:focus-visible,
.field-list p a:hover,
.field-list p a:focus-visible {
  color: var(--red);
}

.field-list p {
  margin: 0;
  max-width: 68ch;
  line-height: 1.55;
}

.field-list p a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}

.brands-grid {
  margin-top: 0.2rem;
}

@media (min-width: 600px) and (max-width: 859px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.brand-aka {
  display: block;
  margin-top: 0.2rem;
  color: var(--red);
  font-weight: 500;
  font-size: 0.72em;
  letter-spacing: 0.06em;
}

.logo-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  max-width: calc(100% - 2.4rem);
}

.logo-trigger:focus-visible,
.brand-modal-close:focus-visible,
.field-members a:focus-visible,
.field-list p a:focus-visible,
.fields-jump a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.logo-trigger .member-logo {
  max-width: 100%;
}

.member-logo.monogram {
  height: 56px;
  width: auto;
}

@media (min-width: 860px) {
  .member-logo.monogram {
    height: 64px;
  }
}

.brand-modal[hidden] {
  display: none;
}

.brand-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.brand-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 7, 0.72);
}

.brand-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  max-height: min(90vh, 40rem);
  overflow: auto;
  background: var(--white);
  color: var(--black);
  padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.brand-modal-close {
  appearance: none;
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.6rem;
  border: 0;
  background: transparent;
  color: var(--black);
  font: inherit;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.brand-modal-logo {
  margin: 0 2.5rem 0.8rem 0;
}

.brand-modal-logo .member-logo,
.brand-modal-logo img,
.brand-modal-logo picture {
  display: block;
  height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-modal-dialog h3 {
  margin: 0 0 0.6rem;
  padding-right: 4rem;
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.brand-modal-intro {
  margin: 0 0 0.4rem;
  line-height: 1.5;
}

.brand-modal-dialog .card-link {
  margin-top: 1rem;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .site-header {
  z-index: 0;
  visibility: hidden;
}


/* --- 5-item nav: one line on desktop, hamburger on small screens --- */

@media (max-width: 859px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    appearance: none;
    min-height: 44px;
    padding: 0 0.65rem;
    border: 1px solid var(--line-light);
    background: transparent;
    color: var(--white);
    font: inherit;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    cursor: pointer;
  }

  .nav-toggle-bars {
    display: block;
    width: 1rem;
    height: 0.7rem;
    background:
      linear-gradient(var(--white), var(--white)) 0 0 / 100% 2px no-repeat,
      linear-gradient(var(--white), var(--white)) 0 50% / 100% 2px no-repeat,
      linear-gradient(var(--white), var(--white)) 0 100% / 100% 2px no-repeat;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background:
      linear-gradient(var(--white), var(--white)) 0 50% / 100% 2px no-repeat;
  }

  .nav-toggle:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
  }

  .nav {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.25rem 1rem 0.85rem;
    border-top: 1px solid var(--line-light);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    white-space: normal;
    padding: 0.7rem 0;
    font-size: 0.9rem;
    letter-spacing: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  .nav-toggle-text {
    /* keep the word "Menu" — it is short in all 4 languages */
  }

  .header-tools {
    gap: 0.3rem;
    flex: none;
  }

  .nav-toggle {
    padding: 0 0.45rem;
    gap: 0.3rem;
    letter-spacing: 0;
  }
}


/* --- Area "Xem thêm" + detail pages --- */

.field-actions {
  margin: 0.75rem 0 0;
}

.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--red);
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.more-link:hover,
.more-link:focus-visible {
  background: var(--red);
  color: var(--white);
}

.more-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.detail-main {
  padding: 2.4rem 0 4.5rem;
}

.back-link {
  margin: 0 0 1.4rem;
}

.back-link a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.1rem;
}

.back-link a:hover,
.back-link a:focus-visible {
  color: var(--red);
}

.detail-kicker {
  margin: 0 0 0.55rem;
  color: var(--red);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-main h1 {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.detail-prose {
  max-width: 68ch;
}

.detail-prose p {
  margin: 0 0 0.85rem;
  line-height: 1.6;
}

.detail-prose a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}

.detail-prose a:hover,
.detail-prose a:focus-visible {
  color: var(--red);
}

.detail-block {
  margin-top: 2.2rem;
}

.detail-block h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

.media-slots,
.stat-slots {
  display: grid;
  gap: 0.85rem;
  margin: 0.6rem 0 0;
}

@media (min-width: 700px) {
  .media-slots {
    grid-template-columns: 1fr 1fr;
  }
  .stat-slots {
    grid-template-columns: repeat(3, 1fr);
  }
}

.media-slot,
.stat-slot {
  margin: 0;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.media-slot-frame {
  min-height: 11rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-slot figcaption,
.stat-slot p,
.placeholder-note {
  margin: 0;
  padding: 0.65rem 0.8rem 0.8rem;
  color: #c8c8c8;
  font-size: 0.88rem;
  line-height: 1.45;
}

.stat-slot {
  padding: 0.9rem 0.9rem 0.7rem;
  min-height: 7.5rem;
}

.stat-slot .stat-slot-value {
  display: block;
  margin: 0.35rem 0 0.45rem;
  color: var(--red);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}

.stat-slot .stat-slot-label {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-brands {
  display: grid;
  gap: 1rem;
  margin-top: 0.6rem;
}

@media (min-width: 800px) {
  .detail-brands {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-brands .card {
  min-height: 0;
}

.detail-brands .card-link::after {
  content: " ↗";
}

.detail-brands .card-home {
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
}

.detail-brands .card-home:hover {
  background: var(--black);
  color: var(--white);
}

.detail-brands .card-home::after {
  content: "";
}

/* Hide empty photo/stat placeholders when no confirmed material exists */
.detail-block:has(> .placeholder-note),
.detail-block:has(.stat-slot-value[aria-hidden="true"]) {
  display: none;
}

/* Area 3 product teaser */
.app-teaser {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.app-teaser li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.app-teaser-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.app-teaser-icon-text {
  display: none;
}

.app-teaser-name {
  margin: 0 0 0.15rem;
  font-weight: 600;
}

.app-teaser p {
  margin: 0;
  font-size: 0.92em;
  line-height: 1.4;
}

.badge-dev {
  display: inline-block;
  margin-left: 0.35em;
  padding: 0.12em 0.45em;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-weight: 500;
  font-size: 0.68em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.card .badge-dev,
.app-card .badge-dev {
  border-color: rgba(4, 7, 7, 0.35);
}

/* Product cards on the technology detail page */
.app-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .app-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.app-card {
  padding: 1.15rem 1.15rem 1.2rem;
  background: var(--white);
  color: var(--black);
}

.app-card-head {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
}

.app-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.app-status {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: #444;
}

.app-card p {
  margin: 0;
  line-height: 1.5;
}

.store-links {
  margin: 0.9rem 0 0;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  background: var(--black);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}

.store-btn:hover,
.store-btn:focus-visible {
  background: var(--red);
}

/* Photo galleries */
.photo-grid {
  display: grid;
  gap: 0.85rem;
  margin: 0.6rem 0 0;
}

@media (min-width: 700px) {
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .photo-grid-portraits {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .photo-grid:not(.photo-grid-portraits) {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.photo-card {
  margin: 0;
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111;
}

.photo-grid-portraits .photo-card img {
  aspect-ratio: 3 / 4;
  object-position: top;
}

.photo-card-wide {
  margin: 0;
}

.photo-card-wide img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #111;
}

.photo-card figcaption {
  margin: 0.45rem 0 0;
  color: #c8c8c8;
  font-size: 0.88rem;
  line-height: 1.4;
}

.photo-card-wide figcaption {
  max-width: 75ch;
}

#brand-chu-gia .member-logo,
.detail-brands img.member-logo[src*="chu-gia"] {
  height: 96px;
}

.sub-brand {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0.55rem 0 0;
  font-size: 0.92em;
  line-height: 1.4;
}

.sub-brand-logo {
  flex: none;
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: left center;
}


/* ===== Brand cards: visual heroes ===== */
#thuong-hieu .brand-card {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #111;
  padding: 0;
  min-height: 28rem;
  isolation: isolate;
}

#thuong-hieu .brand-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#thuong-hieu .brand-card-media img,
#thuong-hieu .brand-card-media picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#thuong-hieu .brand-card-media picture,
#thuong-hieu .brand-card-media img {
  height: 100%;
}

#thuong-hieu .brand-card-media img {
  object-position: center 20%;
}

#brand-chu-gia .brand-card-media img,
#brand-dba .brand-card-media img {
  object-position: center center;
}

#thuong-hieu .brand-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 7, 0.15) 0%, rgba(4, 7, 7, 0.42) 42%, rgba(4, 7, 7, 0.92) 100%);
}

#thuong-hieu .brand-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  min-height: 28rem;
  padding: 1.15rem 1.15rem 1.2rem;
}

#thuong-hieu .brand-card .card-mark {
  align-items: flex-start;
}

#thuong-hieu .brand-card .idx {
  color: #ffd4d4;
}

#thuong-hieu .logo-chip {
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 2.4rem);
  padding: 0.35rem 0.5rem;
  background: #fff;
}

#thuong-hieu .logo-chip .member-logo,
#thuong-hieu .logo-trigger .member-logo {
  height: 48px;
}

@media (min-width: 860px) {
  #thuong-hieu .logo-chip .member-logo,
  #thuong-hieu .logo-trigger .member-logo {
    height: 58px;
  }
  #brand-chu-gia .logo-chip .member-logo {
    height: 72px;
  }
}

#thuong-hieu .logo-trigger {
  max-width: 100%;
}

#thuong-hieu .brand-card h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

#thuong-hieu .brand-card .brand-aka {
  color: #ffd0d0;
}

#thuong-hieu .brand-card .desc {
  flex: 0 1 auto;
  max-width: 42ch;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #f0f0f0;
}

#thuong-hieu .brand-card .sub-brand {
  color: #e8e8e8;
}

#thuong-hieu .brand-card .sub-brand-logo {
  height: 22px;
  filter: none; /* keep original CISUM / logo color */
}

#thuong-hieu .brand-more {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
}

#thuong-hieu .brand-more a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}

#thuong-hieu .brand-more a:hover,
#thuong-hieu .brand-more a:focus-visible {
  color: #ffd0d0;
}

.brand-spots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.brand-spots li {
  margin: 0;
}

.brand-spots img {
  width: 100%;
  height: 4.2rem;
  object-fit: cover;
  background: #111;
}

.brand-spots span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: #ddd;
}

/* ===== Resort detail ===== */
.detail-resort {
  padding-top: 1.5rem;
}

.resort-hero {
  position: relative;
  min-height: min(70vh, 620px);
  margin: 0 0 2.2rem;
  color: var(--white);
  overflow: hidden;
}

.resort-hero-media {
  position: absolute;
  inset: 0;
}

.resort-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.resort-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 7, 0.16) 0%, rgba(4, 7, 7, 0.42) 40%, rgba(4, 7, 7, 0.82) 72%, rgba(4, 7, 7, 0.94) 100%);
}

.resort-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(70vh, 620px);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.resort-hero-copy .detail-kicker {
  color: #ffd0d0;
}

.resort-hero-name {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.15;
}

.resort-hero-copy h1 {
  margin: 0 0 0.4rem;
}

.resort-hero-loc {
  margin: 0;
  font-size: 1rem;
  color: #e8e8e8;
}

.site-map {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.85rem 0.85rem 1.1rem;
  background: #f4efe3;
  color: #243226;
  border: 1px solid rgba(36, 50, 38, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.site-map-canvas {
  position: relative;
}

.site-map-trigger {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.site-map-trigger:focus-visible {
  outline: 2px solid #2a3b24;
  outline-offset: 3px;
}

.site-map-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.site-map-scroll picture,
.site-map-scroll img {
  display: block;
  width: 100%;
  height: auto;
}

.site-map-hint {
  align-self: flex-end;
  margin: 0.45rem 0 0;
  padding: 0.22rem 0.55rem;
  background: rgba(12, 18, 13, 0.78);
  color: #fffef8;
  font-size: 0.75rem;
  line-height: 1.3;
  pointer-events: none;
}

@media (min-width: 700px) {
  .site-map-hint {
    display: none;
  }
}

html[lang="vi"] .site-map-legend {
  display: none;
}

.site-map-legend-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #243226;
}

.legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 600px) {
  .legend-list {
    columns: 2;
    column-gap: 1.2rem;
  }
}

.legend-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0 0 0.45rem;
  break-inside: avoid;
  font-size: 0.86rem;
  line-height: 1.35;
  color: #243226;
}

.legend-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1c2a1d;
  background: #fffef8;
  border: 1.5px solid #2a3b24;
  box-shadow: 0 1px 2px rgba(26, 36, 24, 0.18);
}

.site-map-note {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #4a5548;
}

.photo-group-title {
  margin: 1.35rem 0 0.7rem;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 600;
}

.photo-group-title:first-of-type {
  margin-top: 0.2rem;
}

/* Planned concept block */
.concept-badge[hidden] {
  display: none;
}

.concept-badge {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid #e2c36b;
  color: #e2c36b;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.concept-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
  margin: 0 0 1rem;
  padding: 1.5rem 1.2rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(226, 195, 107, 0.16), transparent 55%),
    linear-gradient(160deg, #1a2418 0%, #0c120d 100%);
  border: 1px dashed rgba(226, 195, 107, 0.45);
  text-align: center;
}

.concept-slot p {
  margin: 0;
  max-width: 40ch;
  color: #e8e0c8;
}

.video-card {
  position: relative;
  display: block;
  margin-top: 0.7rem;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.video-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-card-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.85rem;
  background: var(--red);
  color: var(--white);
  font-weight: 500;
}

.video-card:hover .video-card-label,
.video-card:focus-visible .video-card-label {
  background: #8f191e;
}

/* Lightbox */
.photo-card.js-lightbox,
.photo-card:has(.js-lightbox) {
  cursor: zoom-in;
}

button.js-lightbox {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

button.js-lightbox:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(4, 7, 7, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-inner {
  position: relative;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-inner img {
  max-width: 96vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-caption {
  margin: 0.7rem 0 0;
  color: #ddd;
  font-size: 0.92rem;
  text-align: center;
  max-width: 70ch;
}

.lightbox-close,
.lightbox-nav {
  appearance: none;
  border: 0;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
}

.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: var(--red);
  color: var(--white);
}

body.lightbox-open,
body.lightbox-open .site-header {
  /* hide sticky header while lightbox is open (same pattern as modal) */
}
body.lightbox-open {
  overflow: hidden;
}
body.lightbox-open .site-header {
  visibility: hidden;
}

.map-lightbox {
  padding: 3.2rem 0.55rem 0.55rem;
  align-items: stretch;
  justify-content: stretch;
}

.map-lightbox-stage {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  cursor: grab;
  background: #0c120d;
  max-height: calc(100vh - 3.8rem);
}

.map-lightbox-stage.is-dragging {
  cursor: grabbing;
}

.map-lightbox-stage img {
  display: block;
  width: 1600px;
  max-width: none;
  height: auto;
  margin: 0 auto;
  user-select: none;
  -webkit-user-drag: none;
}

@media (min-width: 900px) {
  .map-lightbox-stage img {
    width: min(2400px, 180vw);
  }
}


#thuong-hieu,
#vuon-hoa,
#aura,
.detail-block,
.section {
  scroll-margin-top: 5.5rem;
}


/* ===== About HQ photo ===== */
.about-layout {
  display: grid;
  gap: 1.5rem 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .about-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.78fr);
  }

  .about-layout .prose p {
    max-width: none;
  }
}

.about-hq {
  margin: 0;
}

.about-hq img {
  display: block;
  width: 100%;
  height: auto;
  background: #eee;
}

.about-hq figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ===== DBA stats strip + modal charts ===== */
#thuong-hieu .brand-stats {
  margin: 0.15rem 0 0;
}

#thuong-hieu .brand-stats-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd4d4;
}

#thuong-hieu .brand-stats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

#thuong-hieu .brand-stats li {
  margin: 0;
  padding: 0.15rem 0 0.15rem 0.55rem;
  border-left: 2px solid var(--red);
  font-size: 0.78rem;
  line-height: 1.35;
  color: #eee;
}

.brand-modal-intro .brand-stats-detail {
  margin-top: 1rem;
}

.brand-modal-intro .brand-stats-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-modal-intro .brand-stats-detail figure {
  margin: 0.75rem 0 0;
}

.brand-modal-intro .brand-stats-detail img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-modal-intro .brand-stats-detail figcaption {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

#brand-big-arts .brand-card-media img,
#brand-c-global .brand-card-media img {
  object-position: center top;
}

#brand-aura .brand-card-media img {
  object-position: center 30%;
}

#brand-aura .logo-chip .member-logo {
  height: 52px;
}

@media (min-width: 860px) {
  #brand-aura .logo-chip .member-logo {
    height: 64px;
  }
}

.photo-grid-aura {
  margin: 0.85rem 0 0.4rem;
}

@media (min-width: 700px) {
  .photo-grid-aura {
    grid-template-columns: repeat(2, 1fr);
  }
}

.concept-slot img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-card-portrait img {
  aspect-ratio: 3 / 4;
  object-position: top;
}

.photo-grid.photo-grid-aura {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .photo-grid.photo-grid-aura {
    grid-template-columns: 1fr 1fr;
  }
}


/* About: headquarters photo only */
.about-photos {
  display: block;
}

.about-hq {
  margin: 0;
  max-width: 28rem;
}

@media (min-width: 860px) {
  .about-hq {
    max-width: none;
  }
}

.about-team {
  margin: 0;
}

.about-team img {
  display: block;
  width: 100%;
  height: auto;
  background: #eee;
}

.about-team figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Hero day/night cross-fade (BDS page + Chu Gia brand card) */
.hero-rotate picture {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  z-index: 0;
}

.hero-rotate picture.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-rotate img,
.hero-rotate picture {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-rotate img {
  object-fit: cover;
}

.hero-rotate img.hero-night {
  object-position: center 42%;
}

.resort-hero-media::after,
#thuong-hieu .brand-card-media::after {
  z-index: 2;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotate picture {
    transition: none;
  }
}


.about-prose h3 {
  margin: 1.15rem 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about-prose h3:first-of-type {
  margin-top: 1.25rem;
}

.about-prose p {
  margin: 0 0 0.55rem;
}

/* ===== Round 2: home hero, about pacing, artists, contact, showcases ===== */
.home-hero {
  position: relative;
  min-height: min(78vh, 760px);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.home-hero-media {
  position: absolute;
  inset: 0;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 7, 0.35) 0%, rgba(4, 7, 7, 0.45) 40%, rgba(4, 7, 7, 0.88) 78%, #040707 100%);
}

.home-hero .hero-lockup {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 3.2rem;
}

.home-hero .hero-tagline {
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}

.about-lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
  max-width: 46ch;
  margin: 0 0 1.6rem;
}

.about-pillar {
  margin: 0 0 1.55rem;
  padding: 0 0 0.15rem;
  border-top: 2px solid var(--red);
}

.about-pillar h3 {
  margin: 0.7rem 0 0.55rem;
}

.about-pillar p {
  margin: 0 0 0.6rem;
  max-width: 62ch;
}

.about-pillar p:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact-section {
  background: #f6f1e8;
  color: #1a1a1a;
  padding: 4rem 0;
}

.contact-section h2 {
  color: #111;
}

.contact-grid {
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.contact-map {
  margin: 0;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.contact-map svg,
.contact-map img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-map figcaption {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #444;
}

.contact-offices {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.contact-offices strong {
  color: var(--red);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem 1.15rem 1.3rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.contact-form label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 0.95rem;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

.contact-form button[type="submit"] {
  appearance: none;
  border: 0;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 600;
  min-height: 2.8rem;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus-visible {
  background: #8f191e;
}

.form-status {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.form-status[data-state="ok"] { color: #1a5c32; }
.form-status[data-state="err"] { color: #8f191e; }

/* Artists */
.artist-company {
  margin: 2rem 0 0;
}

.artist-company h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.artist-company .company-note {
  margin: 0 0 1rem;
  max-width: 68ch;
  color: #d8d8d8;
  font-size: 0.95rem;
}

.artist-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) {
  .artist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1020px) {
  .artist-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .artist-grid.artist-grid-lead {
    grid-template-columns: repeat(5, 1fr);
  }
}

.artist-card {
  margin: 0;
  background: #111;
}

.artist-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: #1a1a1a;
}

.artist-card figcaption {
  padding: 0.55rem 0.15rem 0.2rem;
}

.artist-card strong {
  display: block;
  font-size: 0.92rem;
}

.artist-role {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: #c8c8c8;
  font-weight: 400;
}

/* App / product showcases */
.showcase-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 800px) {
  .showcase-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.showcase-card {
  margin: 0;
  background: #111;
  padding: 0.8rem 0.8rem 1rem;
}

.showcase-card img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: contain;
  background: #0a0a0a;
}

.showcase-card figcaption {
  margin-top: 0.7rem;
}

.showcase-card strong {
  display: block;
  margin-bottom: 0.25rem;
}

.detail-main.detail-resort {
  padding-top: 1.1rem;
}

.page-lead {
  margin: 0.35rem 0 0;
  max-width: 46ch;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #f0f0f0;
}

/* ===== Round 2 refinements: tokens, motion, cinematic area heroes ===== */

body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.site-header {
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid var(--color-line-light);
}

.lang button {
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.detail-kicker {
  color: var(--color-red);
  letter-spacing: var(--ls-kicker);
}

.detail-main h1,
.section h2,
.contact-section h2 {
  letter-spacing: var(--ls-display);
}

/* Cinematic heroes for area pages other than Chu Gia Hoa Viên */
.detail-cinematic {
  padding-top: 1.1rem;
}

.page-hero {
  position: relative;
  min-height: min(68vh, 600px);
  margin: 0 0 2.4rem;
  color: var(--color-fg);
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-drift var(--duration-hero) var(--ease-out) both;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--color-bg) 28%, transparent) 0%,
      color-mix(in srgb, var(--color-bg) 42%, transparent) 38%,
      color-mix(in srgb, var(--color-bg) 88%, transparent) 78%,
      var(--color-bg) 100%);
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(68vh, 600px);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.page-hero-copy .detail-kicker {
  color: var(--color-red);
}

.page-hero-copy h1 {
  margin: 0;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.home-hero-media img {
  animation: hero-drift var(--duration-hero) var(--ease-out) both;
}

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

/* Scroll reveals — opt-in only, never applied on the resort page content */
.reveal {
  opacity: 0;
  transform: translateY(1.05rem);
  transition:
    opacity var(--duration-reveal) var(--ease-out),
    transform var(--duration-reveal) var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.about-pillar {
  border-top-color: var(--color-accent);
}

.contact-section {
  background: var(--color-bg-elevated);
  color: var(--color-fg);
  border-block: 1px solid var(--color-line-light);
}

.contact-section h2 {
  color: var(--color-fg);
}

.contact-map {
  background: var(--color-paper);
  color: var(--color-ink);
  border: 1px solid var(--color-line-dark);
  box-shadow: 0 18px 40px var(--color-shadow);
}

.contact-map figcaption {
  color: var(--color-ink-muted);
}

.contact-offices {
  color: var(--color-fg);
}

.contact-offices strong {
  color: var(--color-red);
}

.contact-form {
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-line-dark);
  box-shadow: 0 18px 40px var(--color-shadow);
}

.contact-form input,
.contact-form textarea {
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-line-dark);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--color-red);
}

.contact-form button[type="submit"] {
  background: var(--color-accent);
  color: var(--color-fg);
  letter-spacing: 0.04em;
  transition: background var(--duration-fast) var(--ease-out);
}

.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus-visible {
  background: var(--color-accent-hover);
}

.artist-card,
.showcase-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line-light);
}

.artist-company .company-note,
.artist-role,
.page-lead {
  color: var(--color-fg-muted);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  margin: 0.8rem 0 0;
  padding: 0;
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid .gallery-card:first-child {
    grid-column: 1 / -1;
  }
}

.gallery-card {
  margin: 0;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line-light);
}

.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.gallery-card figcaption {
  padding: 0.7rem 0.85rem 0.85rem;
  font-size: 0.88rem;
  color: var(--color-fg-muted);
}

.product-visual {
  margin: 0.85rem 0 1rem;
  padding: 1rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line-light);
}

.product-visual img {
  width: auto;
  max-width: 100%;
  max-height: 28rem;
  margin-inline: auto;
  object-fit: contain;
}

.product-visual figcaption {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--color-fg-muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-hero-media img,
  .page-hero-media img {
    animation: none;
  }
}

.brand-slogan {
  margin: 0.65rem 0 0;
  font-weight: var(--font-weight-emphasis);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 38em;
}

.brand-slogan .accent {
  color: var(--color-red);
}

/* ===== Round 2b premium-tech polish ===== */
:root {
  --header-h: 76px;
}

html {
  scroll-padding-top: calc(var(--header-h) + 0.6rem);
}

#gioi-thieu,
#linh-vuc,
#thuong-hieu,
#thanh-tuu,
#lien-he,
#nghe-si,
#noi-dung {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

/* Single-row fixed header: transparent over heroes, solid + blur on scroll */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    backdrop-filter var(--duration-fast) var(--ease-out);
}

.site-header.is-solid,
.site-header.is-open,
body.nav-open .site-header {
  background: color-mix(in srgb, var(--color-black) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom-color: var(--color-line-light);
}

.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0;
  height: var(--header-h);
}

.logo-header {
  width: var(--header-logo);
  min-width: var(--logo-min-width);
  height: auto;
  margin: 0;
  filter: none;
  box-shadow: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
}

/* Nav in the same row, centered */
.site-header .nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 1.35rem;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.site-header .nav a {
  color: var(--color-white);
  font-weight: var(--font-weight-emphasis);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0;
}

/* Language switcher: same visual size, wider equal cells on desktop */
.lang {
  display: inline-grid;
  grid-template-columns: repeat(4, 3.15rem);
  width: max-content;
  flex: none;
  border: 1px solid var(--color-line-light);
}

.lang button {
  font-size: 0.78rem;
  font-weight: var(--font-weight-emphasis);
  min-height: 2.4rem;
  letter-spacing: 0.01em;
}

.lang button[data-set-lang="ko"],
.lang button[data-set-lang="zh"] {
  font-size: 0.78rem;
  font-weight: var(--font-weight-emphasis);
}

@media (max-width: 1099px) {
  :root {
    --header-h: 3.9rem;
  }

  .header-bar {
    display: flex;
    justify-content: space-between;
    width: min(var(--max), calc(100% - 1.25rem));
    gap: 0.5rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    min-width: 2.6rem;
    min-height: 2.6rem;
    padding: 0;
    border: 1px solid var(--color-line-light);
    background: transparent;
    color: var(--color-white);
    z-index: 45;
  }

  .nav-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .nav-toggle-bars {
    display: block;
    width: 1rem;
    height: 0.7rem;
    background:
      linear-gradient(#fff, #fff) 0 0 / 100% 2px no-repeat,
      linear-gradient(#fff, #fff) 0 50% / 100% 2px no-repeat,
      linear-gradient(#fff, #fff) 0 100% / 100% 2px no-repeat;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: linear-gradient(#fff, #fff) 0 50% / 100% 2px no-repeat;
  }

  .site-header .nav {
    position: fixed;
    inset: 0;
    z-index: 42;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    margin: 0;
    padding: 5.5rem 1.5rem 2rem;
    background: #040707;
    border: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s var(--ease-out), visibility 0.28s var(--ease-out);
  }

  body.nav-open .site-header .nav,
  .site-header.is-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-header .nav a {
    font-size: 1.35rem;
    font-weight: var(--font-weight-heading);
    letter-spacing: 0.02em;
    padding: 0.85rem 0.5rem;
    border: 0;
    white-space: normal;
    text-align: center;
  }

  .lang {
    grid-template-columns: repeat(4, 2.7rem);
  }

  .lang button {
    min-height: 2.2rem;
    font-size: 0.7rem;
  }

  .lang button[data-set-lang="ko"],
  .lang button[data-set-lang="zh"] {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .logo-header {
    width: var(--logo-min-width);
    margin-inline-end: 0;
  }
}

/* Home hero: full viewport, sign visible, no logo plate */
.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.home-hero-media {
  position: absolute;
  inset: 0;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  animation: hero-drift var(--duration-hero) var(--ease-out) both;
}

.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(4, 7, 7, 0.42) 0%,
      rgba(4, 7, 7, 0.12) 28%,
      rgba(4, 7, 7, 0.28) 58%,
      rgba(4, 7, 7, 0.88) 100%);
  pointer-events: none;
}

.home-hero .hero-lockup {
  position: relative;
  z-index: 1;
  width: min(90vw, 52rem);
  margin: 0 auto;
  padding: 0 1.25rem calc(4.2rem + env(safe-area-inset-bottom));
  text-align: center;
  background: none;
}

.home-hero .logo-hero {
  width: min(100%, 22rem);
  max-width: 22rem;
  min-width: var(--logo-min-width);
  margin-inline: auto;
  height: auto;
  filter: none;
  box-shadow: none;
  background: none;
}

.home-hero .hero-tagline {
  margin: 1.35rem auto 0;
  max-width: 22em;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.15vw, 1.55rem);
  line-height: 1.45;
  letter-spacing: 0.12em;
  color: var(--color-white);
  text-wrap: balance;
}

.hero-rule {
  width: 3.25rem;
  height: 1px;
  margin: 1.35rem auto 0;
  border: 0;
  background: var(--color-red);
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.6rem;
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: var(--font-weight-emphasis);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll-mark {
  display: block;
  width: 1px;
  height: 2.1rem;
  background: linear-gradient(180deg, var(--color-red), transparent);
  animation: scroll-cue 2s var(--ease-out) infinite;
}

@keyframes scroll-cue {
  0% { transform: scaleY(0.4); opacity: 0.2; transform-origin: top; }
  40% { transform: scaleY(1); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(1); opacity: 0; transform-origin: top; }
}

/* Section rhythm */
.section,
.contact-section {
  padding: 6.5rem 0;
}

.section .kicker,
.contact-section .kicker,
.detail-kicker {
  color: var(--color-red);
  letter-spacing: var(--ls-kicker);
}

.section h2,
.contact-section h2 {
  margin: 0 0 1.15rem;
}

.section h2::after,
.contact-section h2::after,
.detail-block h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin-top: 0.85rem;
  background: var(--color-red);
}

/* Image hover zoom + gradient captions */
.gallery-card,
.photo-card,
.artist-card,
.showcase-card,
.brand-card-media,
.featured-card {
  overflow: hidden;
}

.gallery-card img,
.photo-card img,
.artist-card img,
.showcase-card img,
.featured-card img,
.brand-card-media img {
  transform: scale(1);
  transition: transform 0.7s var(--ease-out);
}

.gallery-card:hover img,
.photo-card:hover img,
.artist-card:hover img,
.showcase-card:hover img,
.featured-card:hover img,
.brand-card:hover .brand-card-media img {
  transform: scale(1.045);
}

.gallery-card {
  position: relative;
}

.gallery-card figcaption,
.featured-card figcaption {
  background: linear-gradient(180deg, transparent, rgba(4, 7, 7, 0.88));
}

.gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.9rem 0.85rem;
  color: var(--color-white);
}

/* Featured artists */
.featured-artists {
  margin: 0 0 3.2rem;
}

.featured-grid {
  display: grid;
  gap: 1.1rem;
  margin: 1.1rem 0 0;
}

@media (min-width: 800px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.featured-card {
  margin: 0;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line-light);
}

.featured-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.featured-card figcaption {
  position: relative;
  padding: 0.85rem 0.15rem 0.35rem;
}

.featured-card strong {
  display: block;
  font-size: 1.05rem;
}

.artist-company-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.artist-company-head .company-logo,
.artist-company-head img.company-logo {
  width: auto;
  height: 2.2rem;
  max-width: 8.5rem;
  object-fit: contain;
  object-position: left center;
  background: none;
}

.artist-company-head h3 {
  margin: 0;
}

.artist-company-head .company-note {
  margin: 0.2rem 0 0;
}

/* Contact: dark two-column */
.contact-section {
  background: var(--color-black);
  color: var(--color-white);
  border-block: 1px solid var(--color-line-light);
}

.contact-section h2 {
  color: var(--color-white);
}

.contact-grid {
  display: grid;
  gap: 1.6rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
  }
}

.contact-pane,
.contact-map,
.contact-form {
  background: #0a0c0c;
  color: var(--color-white);
  border: 1px solid var(--color-line-light);
  box-shadow: none;
  height: 100%;
}

.contact-map {
  margin: 0;
  padding: 1rem 1rem 0.85rem;
  background: #040707;
}

.contact-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.contact-map figcaption,
.contact-offices,
.contact-map figcaption {
  color: var(--color-fg-muted);
}

.contact-offices strong {
  color: var(--color-red);
}

.contact-form {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 1.4rem 1.45rem;
  align-content: start;
}

.contact-form label {
  color: var(--color-fg-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  color: var(--color-white);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  padding: 0.65rem 0 0.55rem;
  font-size: 1rem;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--color-red);
}

.contact-form button[type="submit"] {
  margin-top: 0.85rem;
  background: var(--color-red);
  color: var(--color-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-fg-muted);
}

.contact-offices {
  margin: 0.85rem 0 0;
}

/* Footer */
.site-footer {
  padding: 3.2rem 0 2.6rem;
  border-top: 1px solid var(--color-line-light);
  background: var(--color-black);
}

.logo-footer {
  filter: none;
  box-shadow: none;
  min-width: var(--logo-min-width);
}

/* Area pages: cinematic hero under the header */
.page-hero {
  min-height: min(86vh, 760px);
  margin: 0 0 3.2rem;
}

.page-hero-top {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--header-h) + 0.6rem);
  z-index: 2;
}

.page-hero-top .back-link {
  margin: 0;
}

.page-hero-copy {
  min-height: min(86vh, 760px);
  padding-top: calc(var(--header-h) + 2.5rem);
}

/* BDS: keep content, only clear the fixed header */
body.page-bds .detail-main {
  padding-top: calc(var(--header-h) + 0.6rem);
}

body.page-area .detail-cinematic {
  padding-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-mark,
  .home-hero-media img,
  .gallery-card img,
  .artist-card img,
  .featured-card img {
    animation: none;
    transition: none;
  }
  .gallery-card:hover img,
  .artist-card:hover img,
  .featured-card:hover img {
    transform: none;
  }
}

.featured-heading {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.company-logo-frame {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 3rem;
  padding: 0.35rem 0.55rem;
  background: #ffffff;
  border-radius: 2px;
}

.company-logo-frame .company-logo,
.artist-company-head .company-logo-frame img {
  height: 2.15rem;
  width: auto;
  max-width: 7.8rem;
  background: none;
  padding: 0;
}

.page-hero-top .back-link a {
  color: var(--color-white);
  text-shadow: 0 1px 14px rgba(4, 7, 7, 0.7);
  background: rgba(4, 7, 7, 0.38);
  padding: 0.28rem 0.6rem;
  border-bottom: 0;
  box-decoration-break: clone;
}
.page-hero-top .back-link a:hover,
.page-hero-top .back-link a:focus-visible {
  color: var(--color-white);
  background: rgba(4, 7, 7, 0.62);
}

/* ===== Round 2c: Huyền tokens v1.1 + mockup alignment (owner rules win) ===== */

/* Body face: Be Vietnam Pro on public pages; BĐS content stays Unbounded. */
body:not(.page-bds) {
  font-family: var(--cl-font-body, "Be Vietnam Pro", Arial, sans-serif);
  font-size: var(--cl-fs-body-lg, 16px);
  line-height: var(--cl-lh-lead, 1.7);
}
body:not(.page-bds) h1,
body:not(.page-bds) h2,
body:not(.page-bds) h3,
body:not(.page-bds) h4,
body:not(.page-bds) .kicker,
body:not(.page-bds) .detail-kicker,
body:not(.page-bds) .hero-tagline,
body:not(.page-bds) .nav a,
body:not(.page-bds) .field-card h3,
body:not(.page-bds) .featured-card strong,
body:not(.page-bds) .artist-card strong {
  font-family: var(--cl-font-display, "Unbounded", Arial, sans-serif);
}
html[lang="ko"] body:not(.page-bds) { --cl-font-body: "Be Vietnam Pro", var(--font-ko); }
html[lang="zh-Hans"] body:not(.page-bds) { --cl-font-body: "Be Vietnam Pro", var(--font-zh); }

html { background: #040707; }
body { background: var(--cl-bg, #040707); }

:root {
  --header-h: 76px;
  --max: 1280px;
  --font-body: "Be Vietnam Pro", Arial, sans-serif;
  --color-accent-hover: #C2252B;
  --cl-plate: #F7F6F4;
}

/* ----- Language switcher: equal cells, visually similar label size ----- */
.lang {
  display: inline-grid;
  grid-template-columns: repeat(4, 4.6rem);
  width: max-content;
  border: 1px solid var(--cl-border-strong, rgba(255,255,255,0.16));
}
.lang button,
.lang button[data-set-lang="ko"],
.lang button[data-set-lang="zh"] {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  min-height: 40px;
  line-height: 1;
}
.lang button[data-set-lang="ko"] {
  font-family: "Noto Sans KR", "Noto Sans CJK KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
.lang button[data-set-lang="zh"] {
  font-family: "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

@media (max-width: 1100px) {
  .lang { grid-template-columns: repeat(4, 4.15rem); }
}

@media (max-width: 859px) {
  .lang { grid-template-columns: repeat(4, 2.85rem); }
  .lang button,
  .lang button[data-set-lang="ko"],
  .lang button[data-set-lang="zh"] {
    font-size: 12px;
    min-height: 36px;
  }
}

@media (max-width: 480px) {
  .lang { grid-template-columns: repeat(4, 2.7rem); }
  .lang button,
  .lang button[data-set-lang="ko"],
  .lang button[data-set-lang="zh"] {
    font-size: 12px;
    min-height: 34px;
  }
}

/* Solid header on area + BĐS pages (hero sits below the bar, as in the mockups). */
body.page-area .site-header,
body.page-bds .site-header {
  background: rgba(4, 7, 7, 0.92);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom-color: var(--cl-border, rgba(255,255,255,0.08));
}

body.page-area .detail-main.detail-cinematic {
  padding-top: var(--header-h);
}

/* Nav hover/current: white + 1px red underline */
.site-header .nav a {
  border-bottom: 1px solid transparent;
  color: var(--cl-text-2, rgba(255,255,255,0.72));
}
.site-header .nav a:hover,
.site-header .nav a[aria-current="page"],
.site-header .nav a.is-active {
  color: var(--cl-white, #fff);
  border-bottom-color: var(--cl-red, #AC1E23);
}

/* ----- Home about: airy two-column, HQ portrait + caption ----- */
#gioi-thieu .about-layout {
  display: grid;
  gap: var(--cl-space-16, 4rem) var(--cl-space-16, 4rem);
  align-items: start;
}
@media (min-width: 860px) {
  #gioi-thieu .about-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.8fr);
  }
}
#gioi-thieu .about-lead {
  font-size: var(--cl-fs-lead, 1.15rem);
  line-height: var(--cl-lh-lead, 1.7);
  max-width: 34em;
  color: var(--cl-text-2, rgba(255,255,255,0.72));
}
#gioi-thieu .about-hq figcaption {
  margin-top: 0.65rem;
  font-size: var(--cl-fs-caption, 12px);
  line-height: 1.45;
  color: var(--cl-text-2, rgba(255,255,255,0.72));
}
#gioi-thieu .about-pillar {
  border-top: 1px solid var(--cl-border, rgba(255,255,255,0.08));
}

/* ----- Lĩnh vực: 2×3 illustrated cards ----- */
#linh-vuc .field-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--cl-space-6, 1.5rem);
}
@media (min-width: 800px) {
  #linh-vuc .field-list {
    grid-template-columns: 1fr 1fr;
  }
}
#linh-vuc .field-list > li,
#linh-vuc .field-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--cl-surface-2, #101516);
  color: var(--cl-white, #fff);
  isolation: isolate;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1);
  border: 0;
}
#linh-vuc .field-card:hover { transform: translateY(-2px); }
#linh-vuc .field-media,
#linh-vuc .field-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#linh-vuc .field-media img:not(.pattern) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
#linh-vuc .field-card:hover .field-media img:not(.pattern) { transform: scale(1.04); }
#linh-vuc .field-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4,7,7,0.12) 12%, rgba(4,7,7,0.58) 52%, rgba(4,7,7,0.94) 100%);
  pointer-events: none;
}
#linh-vuc .field-card .field-body {
  position: relative;
  z-index: 2;
  padding: 1.6rem 1.5rem 1.5rem;
}
#linh-vuc .field-card h3 {
  margin: 0 0 0.45rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
  color: #fff;
}
#linh-vuc .field-card .field-num {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cl-metal, #E2C36B);
  font-weight: 500;
  width: 100%;
  margin: 0 0 0.2rem;
}
#linh-vuc .field-card .field-members {
  width: 100%;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--cl-text-3, rgba(255,255,255,0.5));
  font-weight: 400;
}
#linh-vuc .field-card .field-members a { color: inherit; text-decoration: none; border: 0; }
#linh-vuc .field-card .field-members a:hover { color: #fff; }
#linh-vuc .field-card p {
  margin: 0 0 0.7rem;
  max-width: 38em;
  color: var(--cl-text-2, rgba(255,255,255,0.72));
  font-size: 0.98rem;
  line-height: 1.6;
}
#linh-vuc .field-card .field-actions { margin: 0; }
#linh-vuc .field-card .more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--cl-font-display, "Unbounded", Arial, sans-serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--cl-red, #AC1E23);
  padding: 0 0 0.15rem;
  min-height: 0;
}
#linh-vuc .field-card .more-link:hover {
  color: var(--cl-metal, #E2C36B);
  border-bottom-color: var(--cl-metal, #E2C36B);
  background: none;
}
#linh-vuc .field-placeholder {
  display: flex;
  align-items: flex-start;
  background:
    radial-gradient(ellipse at 70% 10%, rgba(172,30,35,0.22), transparent 50%),
    var(--cl-surface-2, #101516);
}
#linh-vuc .field-placeholder img.pattern {
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 80%;
  height: auto;
  object-fit: contain;
  opacity: 0.35;
  pointer-events: none;
}
@media (max-width: 799px) {
  #linh-vuc .field-list > li,
  #linh-vuc .field-card { min-height: 360px; }
}

/* ----- Achievements: kill the cream strip that flashed under the header on #lien-he ----- */
.achievements {
  background: var(--cl-bg, #040707);
  color: var(--cl-text, #fff);
}
.achievements .stat,
.achievements .stat p,
.achievements .note,
.achievements .hits .hit-title {
  color: inherit;
}

/* ----- Brand logo plates (light plate so dark marks read on black) ----- */
.logo-chip,
.company-logo-frame,
#thuong-hieu .logo-chip,
body:not(.page-bds) .detail-brands .card-mark picture,
body:not(.page-bds) .detail-brands .card-mark > img,
body:not(.page-bds) .detail-brands .member-logo {
  background: var(--cl-plate);
}
.logo-chip,
.company-logo-frame,
body:not(.page-bds) .detail-brands .card-mark picture {
  padding: 0.45rem 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ----- Dark branded unit / product cards (area pages, not BĐS) ----- */
body:not(.page-bds) .card,
body:not(.page-bds) .app-card {
  background: var(--cl-surface-2, #101516);
  color: var(--cl-text, #fff);
  border: 1px solid var(--cl-border, rgba(255,255,255,0.08));
  transition: background 200ms cubic-bezier(.2,.7,.2,1), transform 360ms cubic-bezier(.2,.7,.2,1);
}
body:not(.page-bds) .card:hover,
body:not(.page-bds) .app-card:hover {
  background: var(--cl-surface-3, #171D1F);
  transform: translateY(-2px);
}
body:not(.page-bds) .app-status,
body:not(.page-bds) .card .desc,
body:not(.page-bds) .card p {
  color: var(--cl-text-2, rgba(255,255,255,0.72));
}
body:not(.page-bds) .card .badge-dev,
body:not(.page-bds) .app-card .badge-dev {
  border-color: rgba(255,255,255,0.35);
  color: var(--cl-text-2, rgba(255,255,255,0.72));
}
body:not(.page-bds) .store-btn {
  background: var(--cl-red, #AC1E23);
  color: #fff;
}
body:not(.page-bds) .store-btn:hover,
body:not(.page-bds) .store-btn:focus-visible {
  background: var(--cl-red-hover, #C2252B);
}

/* Giải trí brand blocks: horizontal logo plate + copy, slogan lives here */
body.page-area .detail-brands {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
}
body.page-area .detail-brands .card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 2rem;
  align-items: start;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--cl-border, rgba(255,255,255,0.08));
  border-radius: 0;
  padding: 2.5rem 0;
  min-height: 0;
  box-shadow: none;
}
body.page-area .detail-brands .card:hover {
  background: transparent;
  transform: none;
}
body.page-area .detail-brands .card-mark {
  grid-row: 1 / span 6;
  align-items: center;
  justify-content: center;
}
body.page-area .detail-brands .card-mark picture,
body.page-area .detail-brands .card-mark .logo-plate {
  width: 140px;
  min-height: 88px;
  padding: 0.7rem;
  background: var(--cl-plate);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.page-area .detail-brands .member-logo,
body.page-area .detail-brands .card-mark img {
  max-width: 120px;
  max-height: 68px;
  height: auto;
  width: auto;
  background: transparent !important;
  padding: 0;
}
body.page-area .detail-brands .idx { display: none; }
body.page-area .detail-brands .card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}
body.page-area .brand-slogan {
  grid-column: 2;
  margin: 1rem 0 0;
  font-family: var(--cl-font-display, "Unbounded", Arial, sans-serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  line-height: 1.4;
  color: #fff;
  max-width: 22em;
}
body.page-area .brand-slogan .accent { color: var(--cl-red, #AC1E23); }
@media (max-width: 700px) {
  body.page-area .detail-brands .card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  body.page-area .detail-brands .card-mark { grid-row: auto; }
  body.page-area .brand-slogan { grid-column: auto; }
}

/* ----- Area page heroes: below header, crumb, title + deck over photo ----- */
.page-crumb {
  margin: 0;
  padding: 1.15rem 0 0.85rem;
}
.page-crumb a {
  display: inline-flex;
  font-family: var(--cl-font-display, "Unbounded", Arial, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cl-text-2, rgba(255,255,255,0.72));
  text-decoration: none;
  border-bottom: 1px solid var(--cl-red, #AC1E23);
  padding-bottom: 0.12rem;
  background: none;
  text-shadow: none;
}
.page-crumb a:hover,
.page-crumb a:focus-visible {
  color: #fff;
  background: none;
}

body.page-area .page-hero {
  position: relative;
  min-height: min(72vh, 640px);
  margin: 0 0 3.2rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
body.page-area .page-hero-top { display: none; } /* replaced by .page-crumb */
body.page-area .page-hero-copy {
  min-height: min(72vh, 640px);
  padding-top: 4rem;
  padding-bottom: 2.6rem;
  justify-content: flex-end;
}
body.page-area .page-hero-copy .page-lead {
  margin: 0.55rem 0 0;
  max-width: 28em;
  font-size: var(--cl-fs-lead, 1.15rem);
  line-height: var(--cl-lh-lead, 1.7);
  color: var(--cl-text-2, rgba(255,255,255,0.72));
  text-shadow: 0 1px 14px rgba(4,7,7,0.55);
}
body.page-area .page-hero-media::after {
  background: linear-gradient(180deg, rgba(4,7,7,0.15) 10%, rgba(4,7,7,0.82) 100%);
}

/* Placeholder hero (Công nghệ — no approved field photograph) */
.page-hero-placeholder {
  background:
    radial-gradient(ellipse at 70% 10%, rgba(172,30,35,0.28), transparent 52%),
    #040707;
}
.page-hero-placeholder .page-hero-media img.hero-pattern,
.page-hero-placeholder .hero-pattern {
  width: min(72vw, 820px);
  height: auto;
  position: absolute;
  right: -8%;
  bottom: -18%;
  opacity: 0.28;
  object-fit: contain;
  animation: heroDrift 28s cubic-bezier(.2,.7,.2,1) infinite alternate;
}
@keyframes heroDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, -2%, 0) scale(1.04); }
}

/* Even MCN / gallery grid — no full-width first tile */
body.page-area .gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  body.page-area .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  body.page-area .gallery-grid .gallery-card:first-child {
    grid-column: auto;
  }
}
@media (min-width: 1020px) {
  body.page-area .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
body.page-area .gallery-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ----- Contact map: fill the column, larger markers/labels ----- */
.contact-grid { align-items: stretch; }
.contact-map {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  background: #040707;
}
.contact-map svg.vn-map,
.contact-map .vn-map {
  width: 100%;
  flex: 1 1 auto;
  min-height: 28rem;
  height: auto;
}
.vn-map .map-label,
.vn-map text[font-weight="500"] {
  font-size: 18px;
}
.vn-map .map-label-sub,
.vn-map text[font-weight="400"] {
  font-size: 14px;
}
.office-markers .pulse-ring { r: 16; }
.office-markers circle:not(.pulse-ring) { r: 11; }

/* ----- Home hero typography closer to the mockup, photo kept (owner) ----- */
.home-hero .hero-tagline {
  letter-spacing: 0.02em;
  font-weight: 500;
  font-size: var(--cl-fs-hero-tag, clamp(1.05rem, 2vw, 1.5rem));
}
.home-hero .logo-hero {
  width: min(100%, 28rem);
  max-width: 28rem;
}

/* Subtle pattern drift in the lower right of the photo hero — must not hide the rooftop sign */
.home-hero-pattern {
  position: absolute;
  inset: auto -8% -18% auto;
  width: min(52vw, 620px);
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
  animation: heroDrift 28s cubic-bezier(.2,.7,.2,1) infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-pattern,
  .page-hero-placeholder .hero-pattern,
  .field-card,
  .field-card .field-media img,
  .card,
  .app-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Footer lockup */
.logo-footer { width: 140px; height: auto; }


/* App teasers inside the Công nghệ field card */
#linh-vuc .field-card .app-teaser {
  margin: 0.4rem 0 0.85rem;
}
#linh-vuc .field-card .app-teaser p,
#linh-vuc .field-card .app-teaser-name {
  color: var(--cl-text-2, rgba(255,255,255,0.72));
}
#linh-vuc .field-card .badge-dev {
  border-color: rgba(255,255,255,0.4);
  color: var(--cl-text-2, rgba(255,255,255,0.72));
}


/* Home Giới thiệu was still on the old paper band — make it dark like the mockups */
body.page-home .about,
#gioi-thieu.about,
#gioi-thieu {
  background: var(--cl-bg, #040707);
  color: var(--cl-text, #fff);
}
body.page-home .about :focus-visible {
  outline-color: var(--cl-white, #fff);
}
#gioi-thieu h2,
#gioi-thieu h3,
#gioi-thieu .about-pillar h3 {
  color: var(--cl-white, #fff);
}
#gioi-thieu .about-lead,
#gioi-thieu .about-pillar p,
#gioi-thieu .about-prose p,
#gioi-thieu .about-hq figcaption,
#gioi-thieu .fields-jump a {
  color: var(--cl-text-2, rgba(255,255,255,0.72));
}
#gioi-thieu .fields-jump a {
  border-bottom: 1px solid var(--cl-red, #AC1E23);
  text-decoration: none;
}
#gioi-thieu .fields-jump a:hover { color: #fff; }
#gioi-thieu .about-pillar {
  border-top-color: var(--cl-border, rgba(255,255,255,0.08));
}


/* Keep hash targets fully clear of the fixed header */
#gioi-thieu,
#linh-vuc,
#thuong-hieu,
#thanh-tuu,
#lien-he,
#nghe-si,
#noi-dung {
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

/* Show the whole Việt Nam map (HN + HCM + Hoàng Sa + Trường Sa) in the card */
.contact-map .vn-map,
.contact-map svg {
  width: 100%;
  height: auto;
  max-height: min(38rem, 70vh);
  object-fit: contain;
}

/* ----- Unit cards: photo / product visual, or no empty left slot ----- */
body.page-area .detail-brands .card:has(.card-visual) {
  grid-template-columns: minmax(11rem, 220px) 1fr;
}
body.page-area .detail-brands .card:not(:has(.member-logo)):not(:has(.card-visual)) {
  grid-template-columns: 1fr;
}
body.page-area .detail-brands .card-mark:has(.card-visual) picture {
  width: 100%;
  min-height: 0;
  padding: 0;
  background: transparent;
  display: block;
}
body.page-area .detail-brands .card-mark img.card-visual,
body.page-area .detail-brands .card-visual {
  display: block;
  width: 100%;
  height: auto;
  max-width: none !important;
  max-height: none !important;
  background: #0a0a0a;
}
body.page-area .detail-brands .card-visual-device {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  padding: 0.6rem 0.4rem;
}
body.page-area .detail-brands .card-visual-photo {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 0;
}
@media (max-width: 700px) {
  body.page-area .detail-brands .card:has(.card-visual) {
    grid-template-columns: 1fr;
  }
  body.page-area .detail-brands .card-visual-device,
  body.page-area .detail-brands .card-visual-photo {
    max-height: 16rem;
    width: 100%;
  }
}

/* ----- Compact staff-portal login (header + mobile overlay) ----- */
.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: none;
  height: 40px;
  padding: 0 0.8rem;
  border: 1px solid var(--cl-border-strong, rgba(255,255,255,0.16));
  color: var(--cl-text-2, rgba(255,255,255,0.72));
  text-decoration: none;
  font-family: var(--cl-font-body, "Be Vietnam Pro", Arial, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
  background: transparent;
}
.btn-login:hover,
.btn-login:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.04);
}
.btn-login .login-icon {
  width: 16px;
  height: 16px;
  flex: none;
}
.btn-login-mobile { display: none; }

/* 860–1279: icon only, so long “Lĩnh vực kinh doanh” + equal lang cells stay intact */
@media (max-width: 1279px) and (min-width: 1100px) {
  .btn-login-desk {
    width: 40px;
    min-width: 40px;
    padding: 0;
  }
  .btn-login-desk .login-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

@media (max-width: 1099px) {
  .btn-login-desk { display: none; }
  .btn-login-mobile {
    display: inline-flex;
    margin-top: 1.6rem;
    height: auto;
    padding: 0.7rem 1.3rem;
    font-size: 1rem;
    border-color: rgba(255,255,255,0.28);
  }
}

@media (max-width: 480px) {
  .header-tools { gap: 0.45rem; }
}


/* Full-screen menu: backdrop-filter on the header traps position:fixed descendants */
@media (max-width: 1099px) {
  body.nav-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #040707;
  }
  body.nav-open .site-header .nav,
  .site-header.is-open .nav,
  .site-header .nav {
    /* reinforced when this query applies together with the header overlay rules */
  }
  body.nav-open .site-header .nav,
  .site-header.is-open .nav {
    height: 100dvh;
    width: 100vw;
    max-height: none;
    inset: 0;
  }
}


/* ----- Round 3: no cream flash / hairline under the header on #lien-he ----- */
#thanh-tuu.achievements,
#thanh-tuu,
section.achievements {
  background: #040707;
  color: #fff;
}
.contact-section {
  border-block: 0;
  border-top: 0;
}
.site-header,
.site-header.is-solid,
.site-header.is-open,
body.nav-open .site-header,
body.page-area .site-header,
body.page-bds .site-header {
  /* Don't animate the 1px header rule — it flashed on hash jumps to #lien-he */
  transition-property: background, backdrop-filter, -webkit-backdrop-filter;
}


/* Minh Huy portrait is a low-res source (231×289). Do not upscale past native size. */
.artist-card-lowres img {
  width: auto;
  max-width: min(100%, 231px);
  height: auto;
  aspect-ratio: 231 / 289;
  object-fit: contain;
  object-position: center top;
  margin-inline: 0 auto;
  display: block;
}


/* ========================================================================
   Round 3c — home hero orbs (CSS only, no photo) + motion
   Owner reference 20/11 08:38: deep black, glowing red spheres, logo + line
   ======================================================================== */

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #040707;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #040707;
  overflow: hidden;
  pointer-events: none;
}

/* Kill the old photo scrim */
.home-hero-media::after {
  content: none;
  display: none;
}

.home-hero-media picture,
.home-hero-media > img,
.home-hero-pattern {
  display: none !important;
}

.hero-orbs {
  position: absolute;
  inset: -12%;
  z-index: 0;
  will-change: transform;
}

/* Rim-lit spheres built from radial gradients — no live blur on the
   moving layers, so transform/opacity animation stays cheap on mobile. */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

/* Large left sphere: body sits off-canvas left, rim light on the right edge */
.hero-orb-a {
  width: 155vmin;
  height: 155vmin;
  left: -50%;
  top: 50%;
  translate: 0 -50%;
  background:
    radial-gradient(circle at 74% 46%,
      rgba(255, 90, 90, 0) 0%,
      rgba(255, 90, 90, 0) 46%,
      rgba(255, 92, 92, 0.55) 51%,
      rgba(255, 80, 82, 0.95) 55.5%,
      rgba(200, 36, 42, 0.7) 59%,
      rgba(172, 30, 35, 0.38) 63%,
      rgba(40, 8, 10, 0.12) 69%,
      transparent 76%),
    radial-gradient(circle at 42% 50%,
      #070303 0%,
      #0c0405 44%,
      rgba(90, 16, 20, 0.55) 58%,
      rgba(172, 30, 35, 0.32) 66%,
      transparent 76%);
  box-shadow:
    12vmin 0 22vmin rgba(172, 30, 35, 0.28),
    3vmin 0 10vmin rgba(200, 40, 48, 0.22);
  animation: orb-breathe-a 22s ease-in-out infinite alternate;
}

/* Smaller right sphere: dark core, bright inner crescent on the left */
.hero-orb-b {
  width: 100vmin;
  height: 100vmin;
  right: -16%;
  top: -10%;
  background:
    radial-gradient(circle at 28% 52%,
      rgba(255, 90, 90, 0) 0%,
      rgba(255, 90, 90, 0) 40%,
      rgba(255, 96, 96, 0.5) 46%,
      rgba(255, 96, 96, 0.95) 51%,
      rgba(200, 36, 42, 0.65) 55%,
      rgba(172, 30, 35, 0.3) 60%,
      rgba(20, 4, 6, 0.1) 67%,
      transparent 75%),
    radial-gradient(circle at 58% 46%,
      #080303 0%,
      #0c0405 40%,
      rgba(80, 14, 18, 0.45) 58%,
      rgba(172, 30, 35, 0.22) 66%,
      transparent 76%);
  box-shadow:
    -9vmin 2vmin 18vmin rgba(172, 30, 35, 0.24);
  animation: orb-breathe-b 26s ease-in-out infinite alternate;
}

/* Soft wash between the two orbs */
.hero-orb-ambient {
  position: absolute;
  inset: 10% 15% 10% 20%;
  background:
    radial-gradient(ellipse 50% 45% at 28% 52%,
      rgba(172, 30, 35, 0.22) 0%,
      transparent 70%),
    radial-gradient(ellipse 40% 40% at 72% 38%,
      rgba(172, 30, 35, 0.16) 0%,
      transparent 70%);
  pointer-events: none;
  animation: orb-ambient 18s ease-in-out infinite alternate;
}

@keyframes orb-breathe-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(2.4%, -1.6%, 0) scale(1.04); }
}
@keyframes orb-breathe-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2.2%, 2%, 0) scale(1.05); }
}
@keyframes orb-ambient {
  from { opacity: 0.7; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.06); }
}

.home-hero .hero-lockup {
  position: relative;
  z-index: 1;
  width: min(90vw, 44rem);
  margin: 0 auto;
  padding: calc(var(--header-h, 4.5rem) + 0.5rem) 1.25rem 2rem;
  text-align: center;
  background: none;
}

.home-hero .logo-hero {
  width: min(100%, 30rem);
  max-width: 30rem;
  min-width: var(--logo-min-width, 10rem);
  height: auto;
  margin-inline: auto;
  filter: none;
  box-shadow: none;
  background: none;
  display: block;
}

.home-hero .hero-tagline {
  margin: clamp(1.75rem, 1.2rem + 2.4vw, 3.5rem) auto 0;
  max-width: 28em;
  font-weight: 500;
  font-size: var(--cl-fs-hero-tag, clamp(1.05rem, 2vw, 1.45rem));
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
}

.home-hero .hero-rule,
.home-hero .hero-scroll {
  display: none !important;
}

/* Staggered fade-in of logo then tagline */
.home-hero .logo-hero,
.home-hero .hero-tagline {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
.home-hero.is-ready .logo-hero {
  animation: hero-lockup-in 0.9s cubic-bezier(.2, .7, .2, 1) 0.08s forwards;
}
.home-hero.is-ready .hero-tagline {
  animation: hero-lockup-in 0.9s cubic-bezier(.2, .7, .2, 1) 0.32s forwards;
}
@keyframes hero-lockup-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Header: slightly slower, tasteful fade into the solid state.
   Border-color stays out of the transition (avoids the #lien-he flash). */
.site-header,
.site-header.is-solid,
.site-header.is-open,
body.nav-open .site-header,
body.page-area .site-header,
body.page-bds .site-header {
  transition-property: background, backdrop-filter, -webkit-backdrop-filter;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(.2, .7, .2, 1);
}

/* Hover lift / glow on cards and brand logos — desktop pointer only */
@media (hover: hover) and (pointer: fine) {
  #linh-vuc .field-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(172, 30, 35, 0.18);
  }
  .artist-card {
    transition: transform 0.4s cubic-bezier(.2, .7, .2, 1);
  }
  .artist-card:hover {
    transform: translateY(-4px);
  }
  .brand-card,
  .card.brand-card {
    transition: transform 0.4s cubic-bezier(.2, .7, .2, 1), box-shadow 0.4s cubic-bezier(.2, .7, .2, 1);
  }
  .brand-card:hover,
  .card.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(172, 30, 35, 0.16);
  }
  .logo-chip,
  .member-logo,
  .brand-card .member-logo,
  .company-logo {
    transition: transform 0.4s cubic-bezier(.2, .7, .2, 1), filter 0.4s cubic-bezier(.2, .7, .2, 1);
  }
  .logo-chip:hover,
  .brand-card:hover .member-logo,
  .logo-trigger:hover .member-logo {
    transform: translateY(-2px);
    filter: drop-shadow(0 8px 18px rgba(172, 30, 35, 0.4));
  }
  .about-pillar {
    transition: transform 0.4s cubic-bezier(.2, .7, .2, 1);
  }
  .about-pillar:hover {
    transform: translateY(-3px);
  }
}

/* Staggered child reveal inside already-observed sections */
.reveal:not(.is-in) .field-card,
.reveal:not(.is-in) .artist-card,
.reveal:not(.is-in) .brand-card,
.reveal:not(.is-in) .about-pillar,
.reveal:not(.is-in) .stat {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
.reveal.is-in .field-card,
.reveal.is-in .artist-card,
.reveal.is-in .brand-card,
.reveal.is-in .about-pillar,
.reveal.is-in .stat {
  animation: reveal-child 0.7s cubic-bezier(.2, .7, .2, 1) both;
}
.reveal.is-in .field-card:nth-child(1),
.reveal.is-in .artist-card:nth-child(1),
.reveal.is-in .brand-card:nth-child(1),
.reveal.is-in .about-pillar:nth-child(1),
.reveal.is-in .stat:nth-child(1) { animation-delay: 0.04s; }
.reveal.is-in .field-card:nth-child(2),
.reveal.is-in .artist-card:nth-child(2),
.reveal.is-in .brand-card:nth-child(2),
.reveal.is-in .about-pillar:nth-child(2),
.reveal.is-in .stat:nth-child(2) { animation-delay: 0.10s; }
.reveal.is-in .field-card:nth-child(3),
.reveal.is-in .artist-card:nth-child(3),
.reveal.is-in .brand-card:nth-child(3),
.reveal.is-in .about-pillar:nth-child(3),
.reveal.is-in .stat:nth-child(3) { animation-delay: 0.16s; }
.reveal.is-in .field-card:nth-child(4),
.reveal.is-in .artist-card:nth-child(4),
.reveal.is-in .brand-card:nth-child(4),
.reveal.is-in .about-pillar:nth-child(4),
.reveal.is-in .stat:nth-child(4) { animation-delay: 0.22s; }
.reveal.is-in .field-card:nth-child(5),
.reveal.is-in .artist-card:nth-child(5),
.reveal.is-in .brand-card:nth-child(5),
.reveal.is-in .about-pillar:nth-child(5),
.reveal.is-in .stat:nth-child(5) { animation-delay: 0.28s; }
.reveal.is-in .field-card:nth-child(6),
.reveal.is-in .artist-card:nth-child(6),
.reveal.is-in .brand-card:nth-child(6),
.reveal.is-in .about-pillar:nth-child(6),
.reveal.is-in .stat:nth-child(6) { animation-delay: 0.34s; }
.reveal.is-in .field-card:nth-child(n+7),
.reveal.is-in .artist-card:nth-child(n+7),
.reveal.is-in .brand-card:nth-child(n+7),
.reveal.is-in .about-pillar:nth-child(n+7),
.reveal.is-in .stat:nth-child(n+7) { animation-delay: 0.40s; }

@keyframes reveal-child {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Do not stagger-animate resort page content */
body.page-bds .reveal:not(.is-in) .field-card,
body.page-bds .reveal:not(.is-in) .artist-card,
body.page-bds .reveal:not(.is-in) .brand-card,
body.page-bds .reveal:not(.is-in) .about-pillar,
body.page-bds .reveal:not(.is-in) .stat,
body.page-bds .reveal.is-in .field-card,
body.page-bds .reveal.is-in .artist-card,
body.page-bds .reveal.is-in .brand-card,
body.page-bds .reveal.is-in .about-pillar,
body.page-bds .reveal.is-in .stat {
  opacity: 1;
  transform: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb-a,
  .hero-orb-b,
  .hero-orb-ambient,
  .home-hero .logo-hero,
  .home-hero .hero-tagline,
  .home-hero.is-ready .logo-hero,
  .home-hero.is-ready .hero-tagline,
  .reveal:not(.is-in) .field-card,
  .reveal:not(.is-in) .artist-card,
  .reveal:not(.is-in) .brand-card,
  .reveal:not(.is-in) .about-pillar,
  .reveal:not(.is-in) .stat,
  .reveal.is-in .field-card,
  .reveal.is-in .artist-card,
  .reveal.is-in .brand-card,
  .reveal.is-in .about-pillar,
  .reveal.is-in .stat {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  #linh-vuc .field-card:hover,
  .artist-card:hover,
  .brand-card:hover,
  .about-pillar:hover {
    transform: none !important;
  }
}

@media (max-width: 700px) {
  .hero-orb-a {
    width: 160vmin;
    height: 160vmin;
    left: -78%;
  }
  .hero-orb-b {
    width: 110vmin;
    height: 110vmin;
    right: -38%;
    top: -6%;
  }
  .home-hero .logo-hero {
    width: min(100%, 18.5rem);
    max-width: 18.5rem;
  }
  .home-hero .hero-tagline {
    font-size: clamp(0.95rem, 4.2vw, 1.15rem);
    margin-top: clamp(1.75rem, 1.2rem + 2.4vw, 3.5rem);
  }
}


/* ========================================================================
   Round 3e — Huyền bug list (approved items only) + motion-spec (light)
   Owner overrides: keep CSS orb home hero; keep Vi / Eng / 한국어 / 中文
   ======================================================================== */

/* 4. Full-bleed header; content keeps inline padding */
.site-header {
  width: 100%;
  left: 0;
  right: 0;
}
.site-header .header-bar,
.header-bar {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(1.1rem, 2.6vw, 2.4rem);
  box-sizing: border-box;
}
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}

/* 3. No white / light rule under the header (progress line is separate) */
.site-header,
.site-header.is-solid,
.site-header.is-open,
body.nav-open .site-header,
body.page-area .site-header,
body.page-bds .site-header {
  border-bottom: 0 !important;
  border-bottom-color: transparent !important;
  box-shadow: none;
}

/* 1 + 7. A single Đăng nhập, always in the top bar, after the language switcher */
.btn-login-mobile,
.btn-login-desk { display: none !important; }
.header-tools .btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: none;
  flex-shrink: 0;
  white-space: nowrap;
  height: 2.5rem;
  padding: 0 0.8rem;
  z-index: 45;
}
@media (max-width: 1099px) {
  /* Compact but still visible — do not hide into the overlay */
  .header-tools .btn-login {
    display: inline-flex;
    height: 2.25rem;
    padding: 0 0.65rem;
    font-size: 0.72rem;
    margin-top: 0;
  }
}
@media (max-width: 520px) {
  /* Icon-only so the 4 equal lang boxes + logo still fit at 390 */
  .header-tools .btn-login {
    width: 2.25rem;
    min-width: 2.25rem;
    padding: 0;
    gap: 0;
  }
  .header-tools .btn-login .login-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}

/* Language: keep owner labels; equal-width boxes, one row, no wrap */
.lang {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(2.85rem, 1fr));
  width: max-content;
  flex: none;
}
.lang button,
.lang button[data-set-lang="ko"],
.lang button[data-set-lang="zh"] {
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
  text-align: center;
}
@media (max-width: 520px) {
  .lang { grid-template-columns: repeat(4, minmax(2.45rem, 1fr)); }
  .lang button,
  .lang button[data-set-lang="ko"],
  .lang button[data-set-lang="zh"] {
    font-size: 11px;
    min-height: 2.25rem;
    padding-inline: 0.15rem;
  }
}

/* Scroll-progress line (motion-spec) — not a header border */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #AC1E23, #E5484D 60%, #E2C36B);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  pointer-events: none;
  z-index: 3;
}

/* Nav underline sweep (transform only) */
.site-header .nav a {
  position: relative;
}
.site-header .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: #AC1E23;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}
.site-header .nav a:hover::after,
.site-header .nav a:focus-visible::after,
.site-header .nav a[aria-current="page"]::after,
.site-header .nav a.is-active::after {
  transform: scaleX(1);
}
/* The previous 1px border-bottom current-state rule must not fight the sweep */
.site-header .nav a,
.site-header .nav a:hover,
.site-header .nav a[aria-current="page"],
.site-header .nav a.is-active {
  border-bottom-color: transparent;
}

/* 5. Clip orbs so they cannot paint into later sections */
.home-hero,
.home-hero-media,
.hero-orbs,
#gioi-thieu,
#linh-vuc,
.section.fields,
.page-hero,
.page-hero-media {
  overflow: clip;
}
.home-hero,
.home-hero-media {
  overflow: hidden; /* fallback where clip is unsupported */
  overflow: clip;
}

/* 5. Fill field-card media and the about HQ portrait (720×1280) so they are not left-offset */
#linh-vuc .field-media,
#linh-vuc .field-media picture,
#linh-vuc .field-media img,
#linh-vuc .field-media img:not(.pattern) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}
#gioi-thieu .about-photos,
#gioi-thieu .about-hq {
  max-width: none;
  width: 100%;
  justify-self: stretch;
}
#gioi-thieu .about-hq img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: center top;
  background: #101516;
}

/* Motion: logo light sweep (one-shot) */
.home-hero .hero-lockup h1 {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.home-hero.is-ready .hero-lockup h1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.32) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: logo-sweep 1.55s cubic-bezier(.2, .7, .2, 1) 0.45s both;
  pointer-events: none;
}
@keyframes logo-sweep {
  from { transform: translateX(-130%); }
  to   { transform: translateX(130%); }
}

/* Motion: tagline word stagger (opacity + translate only) */
.home-hero .hero-tagline .hero-word {
  display: inline-block;
}
.home-hero.is-ready .hero-tagline .hero-word {
  opacity: 0;
  transform: translate3d(0, 0.7em, 0);
  animation: hero-word-in 0.85s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: calc(0.72s + var(--i, 0) * 70ms);
}
@keyframes hero-word-in {
  from { opacity: 0; transform: translate3d(0, 0.7em, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Motion: Ken Burns on photo sections — NEVER on the CSS-orb home hero */
.has-motion .kb-photo {
  transform-origin: center center;
  will-change: transform;
  animation: ken-burns 16s ease-in-out infinite alternate;
}
@keyframes ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Stronger card hover zoom (motion-spec ~1.07) */
@media (hover: hover) and (pointer: fine) {
  #linh-vuc .field-card:hover .field-media img:not(.pattern) {
    transform: scale(1.07);
    animation-play-state: paused;
  }
}

/* Reveal: do not leave a mid-row field card dim (P1 #9) */
.reveal:not(.is-in) .field-card {
  opacity: 1;
  transform: none;
}
#linh-vuc .field-card.reveal:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
#linh-vuc .field-card.reveal.is-in {
  opacity: 1;
  transform: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .site-header .nav a::after,
  .home-hero.is-ready .hero-lockup h1::after,
  .home-hero.is-ready .hero-tagline .hero-word,
  .has-motion .kb-photo,
  #linh-vuc .field-card.reveal:not(.is-in) {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .scroll-progress { transform: none; }
}


/* ========================================================================
   Round 3f — Thương hiệu: dark glass cards, no white logo plates (item 11)
   ======================================================================== */

/* Kill every light plate behind logos — do not replace with another cream box */
#thuong-hieu .logo-chip,
#thuong-hieu .logo-trigger,
#thuong-hieu .logo-chip .member-logo,
.logo-chip,
#thuong-hieu .logo-chip,
#thuong-hieu .brand-logo,
#thuong-hieu .brand-logo .logo-trigger {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none;
  border: 0;
  padding: 0;
}

#thuong-hieu .brand-card-media,
#thuong-hieu .card-mark .idx,
#thuong-hieu .brand-stats,
#thuong-hieu .brand-stats-detail {
  display: none !important;
}

#thuong-hieu.centerpiece,
#thuong-hieu {
  background: #040707;
  overflow: visible;
}

#thuong-hieu .brands-grid,
#thuong-hieu .cards.brands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 0.4rem;
  background: none;
}
@media (min-width: 700px) {
  #thuong-hieu .brands-grid,
  #thuong-hieu .cards.brands-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  #thuong-hieu .brands-grid,
  #thuong-hieu .cards.brands-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

#thuong-hieu .brand-card,
#thuong-hieu .card.brand-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  margin: 0;
  padding: 1.7rem 1.55rem 1.5rem;
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(8, 12, 12, 0.78);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.28);
  color: #fff;
}
#thuong-hieu .brand-card-body {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
#thuong-hieu .brand-logo,
#thuong-hieu .brand-logo .logo-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 88px;
  height: auto;
  margin: 0 0 0.35rem;
  cursor: pointer;
  background: transparent !important;
}
#thuong-hieu .brand-logo .logo-trigger {
  appearance: none;
  border: 0;
  text-align: left;
}
#thuong-hieu .brand-logo img,
#thuong-hieu .brand-logo .member-logo,
#thuong-hieu .brand-logo picture {
  display: block;
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  background: none !important;
}
#thuong-hieu .brand-card h3 {
  margin: 0 0 0.28rem;
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
#thuong-hieu .brand-sector {
  margin: 0 0 0.55rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E5484D;
}
#thuong-hieu .brand-card .desc,
#thuong-hieu .brand-card .brand-lead,
#thuong-hieu .brand-card .eco-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.5;
}
#thuong-hieu .brand-card .sub-brand {
  margin-top: 0.75rem;
  background: none;
}
#thuong-hieu .brand-card .sub-brand-logo {
  max-height: 22px;
  width: auto;
  background: none;
  filter: none; /* keep original CISUM / logo color */
}
#thuong-hieu .brand-card .brand-more a,
#thuong-hieu .brand-card .brand-slogan {
  color: rgba(255, 255, 255, 0.72);
}
#thuong-hieu .brand-intro,
#thuong-hieu .card-site {
  /* keep in DOM for the modal; do not show on the glass card */
}

@media (hover: hover) and (pointer: fine) {
  #thuong-hieu .brand-card:hover,
  #thuong-hieu .card.brand-card:hover {
    transform: translateY(-4px);
    border-color: rgba(172, 30, 35, 0.5);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 0 36px rgba(172, 30, 35, 0.34),
      0 18px 44px rgba(0, 0, 0, 0.45);
  }
}

/* Slim logo marquee */
#thuong-hieu .brand-logo-marquee {
  overflow: hidden;
  margin: 0.85rem 0 1.35rem;
  padding: 0.15rem 0 0.2rem;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
#thuong-hieu .brand-logo-marquee .track {
  display: flex;
  width: max-content;
}
#thuong-hieu .brand-logo-marquee .row {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
  padding-right: 0.75rem;
}
.has-motion #thuong-hieu .brand-logo-marquee .track {
  animation: brand-marquee 48s linear infinite;
}
#thuong-hieu .brand-logo-marquee:hover .track {
  animation-play-state: paused;
}
@keyframes brand-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
#thuong-hieu .brand-logo-marquee .item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(8, 12, 12, 0.7);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
#thuong-hieu .brand-logo-marquee .item img {
  height: 22px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
  display: block;
  background: none;
}

/* Modal is dark so the on-dark marks stay visible */
.brand-modal-dialog {
  background: #0b0e0e;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.brand-modal-close,
.brand-modal-dialog h3,
.brand-modal-intro {
  color: #fff;
}
.brand-modal-logo img,
.brand-modal-logo .member-logo {
  background: none;
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  #thuong-hieu .brand-logo-marquee .track,
  .has-motion #thuong-hieu .brand-logo-marquee .track {
    animation: none !important;
  }
  #thuong-hieu .brand-card:hover {
    transform: none;
  }
}

/* 3f follow-up: kill leftover photo-card min-heights and fixed logo heights */
#thuong-hieu .brand-card,
#thuong-hieu .card.brand-card {
  min-height: 0;
  height: auto;
  padding: 1.7rem 1.55rem 1.5rem;
}
#thuong-hieu .brand-card-body,
#thuong-hieu .card.brand-card .brand-card-body {
  min-height: 0 !important;
  height: auto;
  justify-content: flex-start;
  padding: 0;
  gap: 0;
}
#thuong-hieu .brand-logo .logo-trigger .member-logo,
#thuong-hieu .brand-logo .member-logo,
#thuong-hieu .logo-trigger .member-logo,
#thuong-hieu .brand-card .member-logo,
#brand-aura .logo-chip .member-logo,
#brand-chu-gia .logo-chip .member-logo,
#thuong-hieu .brand-logo img {
  height: auto !important;
  max-height: 88px !important;
  max-width: 220px;
  width: auto;
}
#thuong-hieu .brand-card .sub-brand-logo {
  filter: none;
  height: 22px;
  max-height: 22px;
}

#thuong-hieu .brands-grid > .brand-card,
#thuong-hieu .cards.brands-grid > .brand-card {
  height: 100%;
}


/* Round 3g — original-color logos on dark glass (no invert/grayscale), Big Arts stays white via on-dark asset */
#thuong-hieu .brand-logo img,
#thuong-hieu .brand-logo .member-logo,
#thuong-hieu .brand-logo-marquee .item img,
#thuong-hieu .sub-brand-logo,
#thuong-hieu .brand-card .sub-brand-logo,
.brand-modal-logo img,
.brand-modal-logo .member-logo {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  -webkit-filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}
#thuong-hieu .sub-brand-logo,
#thuong-hieu .brand-card .sub-brand-logo {
  filter: none;
  -webkit-filter: none;
}
#brand-chu-gia .brand-logo img,
#brand-chu-gia .brand-logo .member-logo {
  /* original forest-green lockup: a soft green glow for contrast, no light box */
  filter: drop-shadow(0 0 14px rgba(46, 140, 80, 0.35)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}
