/* Hallmark · v2.0.0 · theme: custom · idea: "the machine runs on screen before the steel is cut" · vibe: "dark workshop steel, amber signal, sunlight legible" · paper: #141815 from the logo · accent: #FFB300 logo core, posture signal (Zalo actions only) · faces: Chakra Petch 700 display, Be Vietnam Pro body (brand, Vietnamese glyphs) · hero: split, head and actions left, the real 3D film right · job: message on Zalo · nav: wordmark and a call link · footer: three columns and two boundary lines · signature: the scissor lift film playing in the hero · axes: dark/grotesk-heavy/warm · copy: verbatim (FAQ and the 4-point intake are the live Messenger auto-reply) */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V3 · weakest: V, one-page service run is close to the template; the film is the hero and the grid, not icons, and the close is the real Zalo intake, not a form */
/* Hallmark · waive 79 · the 3D film fills the hero to y 785 at 1440x900; the gap is under the text column only, beside the film */
/* Hallmark · waive 77 · the film grid holds one published new-style film tonight; it grows as each film is posted, no stand-in films allowed */
/* Hallmark · dismissed 44b · file-tier render loaded file:// without /style.css; the served page at 1280x800 shows head, lede and Zalo action above the fold */

:root {
  --color-paper: #141815;
  --color-raised: #1b211d;
  --color-line: #3a423c;
  --color-ink: #eef1ee;
  --color-muted: #b9c0ba;
  --color-steel-hi: #dde1dd;
  --color-steel-mid: #9aa19b;
  --color-steel-lo: #525953;
  --color-accent: #ffb300;
  --color-accent-hover: #ffc533;
  --color-accent-ink: #141815;
  --color-focus: #ffd666;
  --color-shade: #0c0f0d;

  --font-display: "Chakra Petch", "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-small: 0.9375rem;
  --text-body: 1.0625rem;
  --text-lede: 1.25rem;
  --text-title: 1.3125rem;
  --text-section: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  --text-hero: clamp(2.25rem, 1.4rem + 4vw, 4rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7.5rem;

  --radius-s: 6px;
  --radius-m: 12px;
  --wrap: 1240px;
  --bar-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  overflow-wrap: break-word;
  min-width: 0;
  color: var(--color-ink);
  text-wrap: balance;
}
p { margin: 0; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
html { scrollbar-color: var(--color-steel-lo) var(--color-paper); caret-color: var(--color-accent); }
.nav-call, .chan a, .btn { font-variant-numeric: tabular-nums; }

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

.skip {
  position: absolute; left: var(--space-4); top: var(--space-2);
  transform: translateY(-200%);
  background: var(--color-accent); color: var(--color-accent-ink);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-s); z-index: 20;
}
.skip:focus-visible { transform: none; outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* nav */
.nav { border-bottom: 1px solid var(--color-line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.brand-mark { width: 36px; height: 39px; }
.brand-mark .f1 { fill: var(--color-steel-hi); stroke: var(--color-steel-hi); }
.brand-mark .f2 { fill: var(--color-steel-mid); stroke: var(--color-steel-mid); }
.brand-mark .f3 { fill: var(--color-steel-lo); stroke: var(--color-steel-lo); }
.brand-mark .fy { fill: var(--color-accent); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.brand-name b, .chan-ten b { color: var(--color-accent); font-weight: 700; }
.nav-call { font-weight: 600; text-decoration: none; padding: var(--space-3) 0; white-space: nowrap; color: var(--color-ink); }
.nav-call:hover { color: var(--color-accent); }
.brand:focus-visible, .nav-call:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-s); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--space-5);
  border-radius: var(--radius-s); border: 2px solid transparent;
  font-family: var(--font-body); font-size: var(--text-body); font-weight: 600;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-zalo { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-zalo:hover { background: var(--color-accent-hover); }
.btn-line { background: transparent; color: var(--color-ink); border-color: var(--color-steel-mid); }
.btn-line:hover { border-color: var(--color-ink); background: var(--color-raised); }

/* hero */
.hero { padding-block: var(--space-6) var(--space-8); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.hero-text h1 { font-size: var(--text-hero); max-width: 14ch; }
.lede { font-size: var(--text-lede); color: var(--color-muted); margin-top: var(--space-4); max-width: 32ch; line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.actions .btn-zalo { flex: 1 1 100%; }
.actions .btn-line { flex: 1 1 0; }
.hero-film { margin: 0; justify-self: center; width: min(100%, 300px); }
.hero-film figcaption { font-size: var(--text-small); color: var(--color-muted); margin-top: var(--space-3); }

/* film card */
.film {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-m);
  overflow: hidden; background: var(--color-raised); border: 1px solid var(--color-line);
}
.film img, .film video { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3);
  display: flex; align-items: center; gap: var(--space-3);
  min-height: 48px; padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2);
  background: var(--color-accent); color: var(--color-accent-ink);
  border-radius: var(--radius-s); font-weight: 600; text-decoration: none; line-height: 1.25;
  transition: background-color 160ms var(--ease);
}
.play::before {
  content: ""; flex: none; width: 28px; height: 28px; margin-left: var(--space-1);
  background: var(--color-accent-ink);
  clip-path: polygon(20% 8%, 92% 50%, 20% 92%);
}
.play:hover { background: var(--color-accent-hover); }
.play:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.film.dang-chay .play { display: none; }

/* sections */
.sec-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); }
.sec-head h2, .hoi-list h2, .gui h2 { font-size: var(--text-section); }
.sec-head p { color: var(--color-muted); max-width: 60ch; }

.kho { padding-block: var(--space-8); background: var(--color-raised); border-block: 1px solid var(--color-line); }
.loc { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.chip {
  min-height: 44px; padding: 0 var(--space-4); border-radius: 999px;
  border: 2px solid var(--color-line); background: var(--color-paper); color: var(--color-ink);
  font-family: var(--font-body); font-size: var(--text-small); font-weight: 600; cursor: pointer;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.chip:hover { border-color: var(--color-steel-mid); }
.chip:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.chip:active { transform: translateY(1px); }
.chip:disabled { opacity: 0.5; cursor: not-allowed; }
.chip[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }

.luoi {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-4);
}
.the h3 { font-size: var(--text-title); margin-top: var(--space-4); }
.the p { color: var(--color-muted); font-size: var(--text-small); margin-top: var(--space-2); }
.the .play { font-size: var(--text-small); }
.tiktok { display: inline-block; margin-top: var(--space-2); padding-block: var(--space-2); font-size: var(--text-small); font-weight: 600; color: var(--color-ink); text-underline-offset: 3px; }
.tiktok:hover { color: var(--color-accent); }
.tiktok:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-s); }
.kho-them { margin-top: var(--space-7); font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); max-width: 40ch; line-height: 1.35; }

.goi { padding-block: var(--space-9) var(--space-8); }
.goi-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
.goi-mot { border-top: 3px solid var(--color-steel-mid); padding-top: var(--space-5); }
.goi-mot:last-child { border-top-color: var(--color-accent); }
.goi-mot h3 { font-size: var(--text-title); }
.hop { color: var(--color-muted); margin-top: var(--space-2); }
.goi-mot dl { margin: var(--space-5) 0 0; display: grid; gap: var(--space-2); }
.goi-mot dt { font-weight: 600; margin-top: var(--space-3); }
.goi-mot dd { margin: 0; color: var(--color-muted); }

.buoc { padding-block: var(--space-8); border-top: 1px solid var(--color-line); }
.buoc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); counter-reset: none; }
.buoc-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--space-4); align-items: start; }
.so {
  grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px;
  border: 2px solid var(--color-steel-mid); border-radius: var(--radius-s);
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
}
.buoc-list li:nth-child(2) .so { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
.buoc-list h3 { font-size: var(--text-title); padding-top: var(--space-1); }
.buoc-list p { color: var(--color-muted); margin-top: var(--space-1); }

.hoi { padding-block: var(--space-9) var(--space-8); background: var(--color-raised); border-top: 1px solid var(--color-line); }
.hoi-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
.hoi-list h2 { margin-bottom: var(--space-5); }
details { border-top: 1px solid var(--color-line); }
details:last-child { border-bottom: 1px solid var(--color-line); }
summary {
  cursor: pointer; list-style: none; padding: var(--space-4) var(--space-6) var(--space-4) 0; position: relative;
  font-weight: 600; font-size: var(--text-body); min-height: 48px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: var(--space-2); top: 50%;
  width: 10px; height: 10px; margin-top: calc(-1 * var(--space-2));
  border-right: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg); transition: transform 160ms var(--ease);
}
details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-s); }
details p { color: var(--color-muted); padding-bottom: var(--space-4); max-width: 62ch; }

.gui { background: var(--color-paper); border: 2px solid var(--color-accent); border-radius: var(--radius-m); padding: var(--space-6) var(--space-5); }
.gui-list { margin: var(--space-5) 0 0; padding-left: var(--space-5); display: grid; gap: var(--space-2); }
.gui-list li::marker { font-family: var(--font-display); font-weight: 700; color: var(--color-accent); }
.chot { margin-top: var(--space-5); color: var(--color-muted); }
.btn-to { width: 100%; min-height: 52px; margin-top: var(--space-5); font-size: var(--text-lede); }
.chep { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-3); }
.chep .btn { flex: 1 1 auto; }
.chep-tt { font-weight: 600; color: var(--color-accent); }
.chep-tt:empty { display: none; }
.ghi-nho { margin-top: var(--space-4); font-size: var(--text-small); color: var(--color-muted); }

/* footer */
.chan { padding-block: var(--space-8) var(--space-7); border-top: 1px solid var(--color-line); font-size: var(--text-small); color: var(--color-muted); }
.chan-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.chan p + p { margin-top: var(--space-2); }
.chan a { color: var(--color-ink); text-underline-offset: 3px; display: inline-block; padding-block: var(--space-1); white-space: nowrap; }
.chan a:hover { color: var(--color-accent); }
.chan a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-s); }
.chan-ten { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); color: var(--color-ink); }
.kenh { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-content: start; }
.ranh { grid-column: 1 / -1; border-top: 1px solid var(--color-line); padding-top: var(--space-5); max-width: 75ch; }

/* sticky contact bar (phone) */
.thanh {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-2);
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--color-shade); border-top: 1px solid var(--color-line);
}

/* one film only: poster beside its text, not a lone half-width tile */
.luoi:has(> .the:only-child) { grid-template-columns: minmax(0, 1fr); }
.luoi > .the:only-child { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-4); align-items: start; }
.luoi > .the:only-child .film { grid-row: span 4; }
.luoi > .the:only-child h3 { margin-top: 0; }

@media (max-width: 399px) {
  .nav-call { display: none; }
}

@media (min-width: 720px) {
  .luoi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buoc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
  .chan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .actions .btn-zalo, .actions .btn-line { flex: 0 0 auto; }
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .thanh { display: none; }
  .hero { padding-block: var(--space-6); min-height: calc(100svh - 65px); display: grid; align-items: center; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-8); }
  .hero-film { width: min(360px, calc((100svh - 220px) * 9 / 16)); justify-self: end; }
  .luoi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .luoi:has(> .the:only-child) { grid-template-columns: minmax(0, 1fr); }
  .luoi > .the:only-child { grid-template-columns: 300px minmax(0, 46ch); column-gap: var(--space-6); }
  .buoc-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .buoc-list li { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-3); }
  .so { grid-row: auto; }
  .hoi-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .goi, .hoi { padding-block: var(--space-9); }
  .kho, .buoc { padding-block: var(--space-9); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .chip, .play, summary::after { transition: none; }
  .btn:active, .chip:active { transform: none; }
}
