/* =========================================================
   KIRA Việt Nam - style chung cho toàn bộ website
   Màu lấy từ logo (tím) và bộ profile công ty (đỏ tín hiệu)
   ========================================================= */

:root {
  /* Màu */
  --ink: #120a2e;          /* nền chính, tím than lấy từ phần tối của logo */
  --ink-2: #1b1145;        /* nền phụ, khối nổi */
  --ink-3: #2a1d66;        /* viền, đường kẻ trên nền tối */
  --violet: #4b33b0;       /* tím logo */
  --lilac: #b9a8ff;        /* chữ phụ trên nền tối */
  --signal: #e3262b;       /* đỏ tín hiệu, dùng cho nút chính và chấm LIVE */
  --paper: #f5f3fc;        /* nền sáng */
  --text-dark: #1a1433;    /* chữ trên nền sáng */
  --white: #ffffff;

  /* Chữ */
  --font-display: "Unbounded", "Be Vietnam Pro", sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;

  /* Khoảng cách */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --band: clamp(72px, 10vw, 140px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }

:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Nút ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-signal { background: var(--signal); color: var(--white); }
.btn-signal:hover { background: #c71d22; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- Thanh điều hướng ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(18, 10, 46, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--ink-3);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255,255,255,.82);
  border-radius: 999px;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links .btn { margin-left: 10px; padding: 10px 20px; font-size: 15px; color: var(--white); }
.nav-links .btn:hover { background: #c71d22; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: currentColor; transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 80px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-3);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--ink-3); }
  .nav-links .btn { margin: 18px 0 0; justify-content: center; border-bottom: 0; border-radius: 999px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(.35) contrast(1.05);
}
.hero::before {          /* phủ màu tím lên ảnh studio */
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(18,10,46,.55) 0%, rgba(18,10,46,.35) 35%, rgba(18,10,46,.92) 78%, var(--ink) 100%),
    linear-gradient(90deg, rgba(18,10,46,.9) 0%, rgba(18,10,46,.2) 70%);
  mix-blend-mode: normal;
}

/* Chùm đèn: lấy từ tia sáng trên chữ Ā của logo KIRA */
.hero-rays {
  position: absolute;
  z-index: -1;
  top: 9%;
  right: 2%;
  width: min(46vw, 620px);
  height: auto;
  overflow: visible;
  color: var(--white);
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(185,168,255,.55));
}
.hero-rays .ray {
  stroke: currentColor;
  stroke-width: 9;
  stroke-linecap: round;
}
.hero-rays .bar { fill: currentColor; }
.hero-rays .beam { filter: blur(14px); }

.hero-inner {
  padding-top: 140px;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.live-tally {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
}
.live-tally::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(227,38,43,.6);
  animation: tally 2s 2.4s ease-out 3;
}
@keyframes tally {
  0% { box-shadow: 0 0 0 0 rgba(227,38,43,.6); }
  100% { box-shadow: 0 0 0 14px rgba(227,38,43,0); }
}
.hero h1 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.2vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.hero h1 .line { display: block; }
.hero h1 .line:nth-child(-n+2) {
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255,255,255,.92);
}
/* Mỗi chữ cái nằm trong một khung che, để chữ trồi lên từ dưới */
.hero h1 .word { display: inline-block; white-space: nowrap; }
.hero h1 .mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .12em; margin: -.06em -.02em -.12em; }
.hero h1 .char { display: inline-block; will-change: transform; }

.hero-lead {
  margin-top: 28px;
  max-width: 58ch;
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255,255,255,.86);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-tags {
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-tags ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 28px;
  list-style: none;
  padding-block: 20px;
  font-size: 15px;
  color: var(--lilac);
}

/* ---------- Khung chung cho các khối ---------- */
.band { padding-block: var(--band); }
.band-paper { background: var(--paper); color: var(--text-dark); }
.band-deep { background: var(--ink-2); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.section-head p {
  max-width: 52ch;
  color: rgba(255,255,255,.75);
}
.band-paper .section-head p { color: #4a4366; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Giới thiệu ngắn ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.intro-photo {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.intro p { margin-top: 20px; color: #4a4366; max-width: 56ch; }
.intro-models {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.intro-models div {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid #e2dcf7;
}
.intro-models strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--violet);
}
.intro-models span { display: block; margin-top: 6px; font-size: 15px; color: #4a4366; line-height: 1.5; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .intro-models { grid-template-columns: 1fr; }
}

/* ---------- Dịch vụ ---------- */
.services { border-top: 1px solid var(--ink-3); }
.service {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 6vw, 88px);
  padding-block: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--ink-3);
}
.service-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.9);
  /* Lớp màu trắng được kéo dần từ trái sang phải khi cuộn (main.js) */
  background-image: linear-gradient(90deg, var(--white) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
}
.no-motion .service-name,
html:not(.motion-ready) .service-name { background-position: 0 0; }
.service-desc { margin-top: 20px; max-width: 46ch; color: rgba(255,255,255,.75); }
.service-media {
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-width: 520px;
}
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-list {
  list-style: none;
  padding: 0;
  align-self: center;
}
.service-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-3);
  font-size: 18px;
  font-weight: 500;
}
.service-list li:last-child { border-bottom: 0; }
.service-list small { color: var(--lilac); font-size: 15px; font-weight: 400; }
.service-steps { list-style: none; padding: 0; counter-reset: step; align-self: center; }
.service-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-3);
  font-size: 17px;
}
.service-steps li:last-child { border-bottom: 0; }
.service-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--lilac);
  color: var(--lilac);
  font-family: var(--font-display);
  font-size: 14px;
}
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; }
}

/* ---------- Studio ---------- */
.studio {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.studio-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.studio-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.studio-photos .tall { grid-row: span 2; aspect-ratio: 3 / 4; }
.studio-photos .wide { aspect-ratio: 4 / 3; }
.studio h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.studio p { margin-top: 18px; color: rgba(255,255,255,.78); max-width: 50ch; }
.studio-places { list-style: none; padding: 0; margin-top: 28px; }
.studio-places li {
  padding: 18px 0;
  border-top: 1px solid var(--ink-3);
}
.studio-places strong { display: block; font-size: 18px; }
.studio-places span { color: var(--lilac); font-size: 15px; }
@media (max-width: 860px) {
  .studio { grid-template-columns: 1fr; }
}

/* ---------- Dự án tiêu biểu ---------- */
.cases-controls { display: flex; gap: 10px; justify-self: end; }
.cases-controls button {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  background: transparent;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}
.cases-controls button:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.cases-controls button:disabled { opacity: .3; cursor: default; background: transparent; }

.cases-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 17vw, 256px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  padding-bottom: 12px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.cases-rail::-webkit-scrollbar { display: none; }
@media (min-width: 1240px) {
  .cases-rail { padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); }
}
.case {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--ink-3);
}
.case-shot {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.case-shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,10,46,0) 45%, rgba(18,10,46,.95) 100%);
}
.case-result {
  position: absolute;
  z-index: 1;
  left: 18px; right: 18px; bottom: 14px;
}
.case-result b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.03em;
}
.case-result span { display: block; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.85); }
.case-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-body h3 { font-size: 17px; font-weight: 700; line-height: 1.35; }
.case-type { font-size: 14px; color: var(--lilac); }
.case-facts { list-style: none; padding: 0; margin-top: auto; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.78); }
.case-facts li { padding: 7px 0; border-top: 1px solid var(--ink-3); }

/* ---------- Đối tác: hai dải chạy ngang ngược chiều ---------- */
.marquees { display: grid; gap: 14px; }
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  padding: 0 14px 0 0;
  margin: 0;
  list-style: none;
  animation: marquee 48s linear infinite;
}
.marquee-reverse .partners { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .partners { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.partners li {
  flex-shrink: 0;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid #d9d2f3;
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 22px);
  white-space: nowrap;
  color: var(--text-dark);
  transition: background-color .2s, color .2s, border-color .2s;
}
.partners li:hover { background: var(--violet); border-color: var(--violet); color: var(--white); }

/* ---------- Hệ sinh thái chương trình ---------- */
.shows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink-3);
  border-left: 1px solid var(--ink-3);
}
.show {
  padding: 28px 26px 32px;
  border-right: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
}
.show h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.01em;
}
.show-aud {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(185,168,255,.14);
  color: var(--lilac);
  font-size: 13px;
  font-weight: 500;
}
.show p { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.74); line-height: 1.55; }
.platforms { margin-top: 28px; font-size: 15px; color: var(--lilac); }

/* ---------- Lý do chọn KIRA ---------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.reason h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.25;
  padding-top: 20px;
  border-top: 3px solid var(--signal);
}
.reason p { margin-top: 14px; color: #4a4366; }
@media (max-width: 860px) {
  .reasons { grid-template-columns: 1fr; }
}

/* ---------- Kêu gọi liên hệ ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}
.cta-photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.5);
}
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(18,10,46,.96) 0%, rgba(42,29,102,.86) 55%, rgba(75,51,176,.6) 100%);
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.03em;
  max-width: 12ch;
}
.cta p { margin-top: 22px; max-width: 54ch; font-size: 18px; color: rgba(255,255,255,.85); }
.cta .hero-actions { opacity: 1; animation: none; }

/* ---------- Chân trang ---------- */
.site-footer {
  padding-block: 64px 32px;
  background: #0b0620;
  font-size: 15px;
  color: rgba(255,255,255,.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.footer-grid img { height: 36px; width: auto; }
.footer-grid h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { padding: 4px 0; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-about { margin-top: 18px; max-width: 40ch; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-3);
  font-size: 14px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   TRANG CON: Giới thiệu, Package, Tin tức, Tuyển dụng, Liên hệ
   ========================================================= */

/* ---------- Đầu trang con ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 168px;
  padding-bottom: clamp(56px, 8vw, 96px);
}
.page-hero-photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.4);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,10,46,.75) 0%, rgba(18,10,46,.88) 70%, var(--ink) 100%),
    linear-gradient(90deg, rgba(18,10,46,.85) 0%, rgba(18,10,46,.35) 100%);
}
.page-hero .crumbs {
  display: flex; gap: 8px; flex-wrap: wrap;
  list-style: none; padding: 0;
  font-size: 14px; color: var(--lilac);
}
.page-hero .crumbs a { text-decoration: none; color: rgba(255,255,255,.75); }
.page-hero .crumbs a:hover { color: var(--white); text-decoration: underline; }
.page-hero .crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.35); }
.page-hero h1 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  max-width: 16ch;
}
.page-hero h1 .line { display: block; }
.page-hero h1 .word { display: inline-block; white-space: nowrap; }
.page-hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255,255,255,.92);
}
.page-hero .page-lead {
  margin-top: 24px;
  max-width: 60ch;
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255,255,255,.84);
}
.page-hero .hero-actions { margin-top: 32px; }

/* ---------- Khối văn bản hai cột ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.prose p { margin-top: 18px; max-width: 58ch; }
.band-paper .prose p { color: #4a4366; }
.band:not(.band-paper) .prose p { color: rgba(255,255,255,.78); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Hai mô hình hoạt động ---------- */
.models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.model {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
}
.model h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -.02em;
}
.model > p { margin-top: 14px; color: rgba(255,255,255,.76); max-width: 48ch; }
.model ul { list-style: none; padding: 0; margin-top: 24px; }
.model li { padding: 14px 0; border-top: 1px solid var(--ink-3); }
.model li strong { display: block; font-size: 17px; }
.model li span { color: var(--lilac); font-size: 15px; }
@media (max-width: 860px) { .models { grid-template-columns: 1fr; } }

/* ---------- Mạng lưới truyền thông ---------- */
.networks { display: grid; gap: 20px; }
.network {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) repeat(3, minmax(0, 1fr));
  gap: 20px 32px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  background: var(--white);
  border: 1px solid #e2dcf7;
}
.network h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: var(--violet);
}
.network-platform h4 { font-size: 14px; font-weight: 700; color: #6b6488; margin: 0 0 8px; }
.network-platform p { margin: 0; color: var(--text-dark); font-size: 15px; line-height: 1.5; }
.network-platform b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin-right: 6px;
}
@media (max-width: 860px) { .network { grid-template-columns: 1fr 1fr; } .network h3 { grid-column: 1 / -1; } }
@media (max-width: 480px) { .network { grid-template-columns: 1fr; } }

/* ---------- Lưới dự án sản xuất ---------- */
.works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.work { display: flex; flex-direction: column; gap: 14px; }
.work-shot { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.work:hover .work-shot img { transform: scale(1.05); }
.work h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.work p { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.5; }
.work .work-type { font-size: 14px; color: var(--lilac); }
.band-paper .work p { color: #4a4366; }
.band-paper .work .work-type { color: var(--violet); }
@media (max-width: 960px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .works { grid-template-columns: 1fr; } }

/* ---------- Gói dịch vụ ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.package {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 28px;
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
}
.package-tag {
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(185,168,255,.14);
  color: var(--lilac);
  font-size: 13px;
  font-weight: 500;
}
.package h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.package-fit { margin-top: 12px; color: rgba(255,255,255,.76); max-width: 46ch; }
.package h4 { margin: 26px 0 6px; font-size: 14px; font-weight: 700; color: var(--lilac); }
.package ul { list-style: none; padding: 0; margin: 0; }
.package li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-top: 1px solid var(--ink-3);
  font-size: 16px;
}
.package li::before {
  content: "";
  position: absolute; left: 2px; top: 19px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}
.package-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 28px;
}
.package-price { font-size: 15px; color: rgba(255,255,255,.7); }
.package-price b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--white); }
.package.is-featured { background: var(--violet); border-color: var(--violet); }
.package.is-featured .package-tag { background: rgba(255,255,255,.18); color: var(--white); }
.package.is-featured .package-fit,
.package.is-featured .package-price { color: rgba(255,255,255,.85); }
.package.is-featured h4 { color: rgba(255,255,255,.85); }
.package.is-featured li { border-top-color: rgba(255,255,255,.22); }
.package.is-featured li::before { border-color: var(--white); }
@media (max-width: 860px) { .packages { grid-template-columns: 1fr; } }

/* ---------- Quy trình hợp tác ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  padding: 0;
  counter-reset: step;
  border-top: 1px solid #d9d2f3;
}
.steps li {
  counter-increment: step;
  padding: 28px 24px 8px 0;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 18px;
}
.steps h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.steps p { margin-top: 8px; font-size: 15px; color: #4a4366; line-height: 1.55; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Câu hỏi thường gặp ---------- */
.faq { border-top: 1px solid var(--ink-3); }
.faq details { border-bottom: 1px solid var(--ink-3); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  font-size: 20px; font-weight: 400;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 70ch; color: rgba(255,255,255,.76); }

/* ---------- Tin tức ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid #d9d2f3;
  background: var(--white);
  color: var(--text-dark);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.filters button:hover { border-color: var(--violet); }
.filters button[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: var(--white); }

.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
}
.post { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.post[hidden] { display: none; }
.post-shot { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #e2dcf7; }
.post-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.post:hover .post-shot img { transform: scale(1.05); }
.post-cat { font-size: 14px; font-weight: 500; color: var(--violet); }
.post h3 { font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--text-dark); }
.post:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.post p { font-size: 15px; color: #4a4366; line-height: 1.55; }
.post.is-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.post.is-lead .post-shot { aspect-ratio: 16 / 9; }
.post.is-lead h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; }
.post.is-lead > div:last-child { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .posts { grid-template-columns: 1fr; } .post.is-lead { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Trang bài viết ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article-cover { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 40px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article p { margin-top: 20px; font-size: 18px; line-height: 1.75; color: #3b3458; }
.article h2 {
  margin-top: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--text-dark);
}
.article ul { margin-top: 16px; padding-left: 0; list-style: none; }
.article li { position: relative; padding: 8px 0 8px 22px; font-size: 18px; line-height: 1.6; color: #3b3458; }
.article li::before { content: ""; position: absolute; left: 0; top: 20px; width: 10px; height: 2px; background: var(--signal); }
.article-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.article-figures div { padding: 20px; border-radius: 18px; background: var(--white); border: 1px solid #e2dcf7; }
.article-figures b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--violet); line-height: 1.1; }
.article-figures span { display: block; margin-top: 6px; font-size: 14px; color: #4a4366; line-height: 1.45; }
.article-back { display: inline-flex; margin-top: 48px; color: var(--violet); font-weight: 700; text-decoration: none; }
.article-back:hover { text-decoration: underline; }
@media (max-width: 560px) { .article-figures { grid-template-columns: 1fr; } }

/* ---------- Tuyển dụng ---------- */
.perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.perk h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.25;
  padding-top: 20px;
  border-top: 3px solid var(--signal);
}
.perk p { margin-top: 12px; color: #4a4366; }
@media (max-width: 860px) { .perks { grid-template-columns: 1fr; } }

.jobs { border-top: 1px solid var(--ink-3); }
.job { border-bottom: 1px solid var(--ink-3); }
.job summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px 28px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}
.job summary::-webkit-details-marker { display: none; }
.job-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: -.01em; }
.job-meta { color: var(--lilac); font-size: 15px; white-space: nowrap; }
.job summary::after {
  content: "+";
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  font-size: 22px;
  transition: transform .25s, background-color .25s;
}
.job[open] summary::after { transform: rotate(45deg); background: rgba(255,255,255,.08); }
.job-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 48px;
  padding: 0 0 32px;
}
.job-body h4 { font-size: 15px; font-weight: 700; color: var(--lilac); margin: 0 0 8px; }
.job-body ul { list-style: none; padding: 0; margin: 0; }
.job-body li { position: relative; padding: 6px 0 6px 20px; color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.55; }
.job-body li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 2px; background: var(--signal); }
.job-body .btn { justify-self: start; }
@media (max-width: 700px) {
  .job summary { grid-template-columns: 1fr auto; }
  .job-meta { grid-column: 1; grid-row: 2; white-space: normal; }
  .job summary::after { grid-row: 1 / span 2; grid-column: 2; }
  .job-body { grid-template-columns: 1fr; }
}

/* ---------- Biểu mẫu ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } }
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 28px;
  background: var(--white);
  color: var(--text-dark);
}
.form h2 {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.form .form-note { grid-column: 1 / -1; margin-top: -8px; font-size: 15px; color: #6b6488; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 700; }
.field .opt { font-weight: 400; color: #6b6488; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid #d9d2f3;
  background: #faf9ff;
  color: var(--text-dark);
  font: inherit;
  font-size: 16px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(75,51,176,.18); }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--signal); }
.field-error { font-size: 14px; color: #c71d22; min-height: 0; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid #d9d2f3;
  font-weight: 500;
  cursor: pointer;
}
.choices input { width: auto; accent-color: var(--violet); }
.choices label:has(input:checked) { border-color: var(--violet); background: rgba(75,51,176,.08); color: var(--violet); }
.form .btn { grid-column: 1 / -1; justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.form-status { grid-column: 1 / -1; font-size: 15px; }
.form-status.is-ok { padding: 14px 18px; border-radius: 14px; background: #eef9f1; color: #1d6b39; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; }
.contact-list li { padding: 22px 0; border-top: 1px solid var(--ink-3); }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list h3 { font-size: 14px; font-weight: 700; color: var(--lilac); margin-bottom: 6px; }
.contact-list a, .contact-list p { font-size: 19px; font-weight: 500; text-decoration: none; line-height: 1.45; }
.contact-list a:hover { text-decoration: underline; }
.map {
  margin-top: 12px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Hiệu ứng: trạng thái ban đầu trước khi chuyển động chạy ---------- */
/* Chỉ ẩn khi có JavaScript; nếu thư viện không tải được, nội dung vẫn hiện bình thường */
.js .hero [data-hero],
.js .hero h1,
.js .hero-rays,
.js .page-hero [data-hero],
.js .page-hero h1 { visibility: hidden; }

html.lenis { scroll-behavior: auto; }

/* Khung che dùng cho chữ trồi lên ở tiêu đề các khối */
.mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.char { display: inline-block; }

/* Khối dự án khi tự trôi: tắt hít thẻ để trôi liên tục */
.cases-rail.is-drifting { scroll-snap-type: none; scroll-behavior: auto; }
.case-shot img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.case:hover .case-shot img { transform: scale(1.06); }

/* Đường đỏ phía trên mỗi lý do được vẽ ra khi cuộn tới */
.reason h3 { border-top: 0; position: relative; }
.reason h3::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--signal);
  transform-origin: left center;
  transform: scaleX(var(--line, 1));
}

/* Thanh điều hướng ẩn khi cuộn xuống, hiện lại khi cuộn lên */
.site-header { transition: background-color .3s, border-color .3s, transform .35s ease; }
.site-header.is-hidden { transform: translateY(-100%); }

/* Điện thoại: chùm tia sáng nhỏ lại, nằm góc trên để không đè lên chữ */
@media (max-width: 720px) {
  .hero-rays { width: 36vw; top: 84px; right: 8%; opacity: .75; }
  .hero-inner { padding-top: 220px; }
}

/* ---------- Giảm chuyển động cho người dùng cần ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .partners { animation: none; }
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .marquee .partners[aria-hidden="true"] { display: none; }
  .partners { flex-wrap: wrap; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
