/* Hallmark · shape: landing page (tasteskill software page) · genre: modern-minimal · theme: custom (locked in design.md, brand dealt by tasteskill: cool-grey-cobalt, geist)
 * paper: oklch(95.4% 0.005 265) · accent: oklch(44.5% 0.27 268) · display: Geist · body: Geist
 * nav: fixed bar, the dots mark and wordmark, five section words, one mega panel of the six academies, Vào học · signature: the learner's Bàn học as live HTML and the five-step ring around real work · states: none (a static page; every moving part rests under reduced motion)
 * axes: light/grotesk-sans/chromatic-blue · posture: product first · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, the drawn screens carry many words; kept the page's own copy to one line under each heading and let the screens show the rest */
/* Hallmark · waive 24b · spacing comes from the tasteskill kit rhythm (section gaps and heights its gate measured) · re-spacing to the 4px scale would undo that PASS */

/* DURIA, trang giới thiệu: chỉ phần CSS của trang (bên trong các hình, các màn hình dựng bằng HTML, và --p-h của nhóm thẻ).
   Phần còn lại là bộ tasteskill trong /gioi-thieu/assets và bộ màu chung /chung/tokens.css.
   Site gửi CSP default-src 'self': trang không có <style>, không có style="" và không có ảnh data:. */

/* page tokens (DURIA additions beside /chung/tokens.css): the ink on a saturated fill (an academy's tile, the mark on a dark
   avatar, the signed tick) */
:root { --p-on-fill: var(--p-accent-ink); }
/* Hallmark floor: the page never scrolls sideways; a disabled control reads as one (the kit has :focus-visible and :active) */
html, body { overflow-x: clip; }
:disabled { cursor: not-allowed; opacity: .55; }

/* ---------------------------------------------------------------- the mark
   system.css draws the dealt mark from a data: URL, which the site's CSP blocks: the same shape from its own file */
.mark[data-mark="dots"] { --mark: url("/chung/dau-hieu.svg"); }
/* inside a drawn screen the product's mark is the ink, so each screen keeps its one accent for its state */
.ui .mark, .pc .mark { background: var(--u-ink, var(--p-ink)); }
.bh__logo .mark { background: var(--p-accent); }

/* ---------------------------------------------------------------- hero: the collage pieces (heroes.json, triptych)
   sized in % of the collage, their text in container units with a 13px floor, so a phone shows the same picture smaller */
.ly-collage { container-type: inline-size; }
.ly-collage .ly-piece { box-shadow: var(--shadow-lift); }
.ly-collage .pc { display: flex; flex-direction: column; gap: 1.5cqw; padding: 3.2cqw 3.4cqw; background: var(--p-card); color: var(--p-ink);
      font: 400 max(13px, 2.1cqw)/1.4 var(--font-text); }
.pc strong, .pc b { font-weight: 500; }
.pc i { font-style: normal; }
.pc-lbl { font-size: max(13px, 1.9cqw); font-weight: 500; color: var(--p-muted); }
.pc-ttl { font: 500 max(14px, 3cqw)/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--p-ink); }
.pc-sub { display: block; font-size: max(13px, 1.8cqw); color: var(--p-muted); }
.pc-row { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.pc-row--start { justify-content: flex-start; }
.pc-chip { flex: none; padding: .4cqw 1.6cqw; border-radius: 99px; font-size: max(13px, 1.8cqw); font-weight: 500; white-space: nowrap;
           background: color-mix(in oklab, var(--p-ink) 7%, var(--p-card)); color: var(--p-ink); }
.pc-chip--good { background: color-mix(in oklab, var(--p-good) 13%, var(--p-card)); color: var(--p-good); }
.pc-chip--wait { background: var(--p-accent-soft); color: var(--p-accent); }
.pc-meta { display: flex; align-items: center; gap: 2cqw; color: var(--p-muted); }
.pc-btn { align-self: flex-start; padding: 1.1cqw 2.6cqw; border-radius: 1.4cqw; background: var(--p-ink); color: var(--p-card);
          font-size: max(13px, 1.9cqw); font-weight: 500; white-space: nowrap; }
.pc-btn--ghost { background: transparent; color: var(--p-ink); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 18%, transparent); }
.pc-btns { display: flex; gap: 1.6cqw; margin-top: auto; }
.pc-text { padding: 1.6cqw 2cqw; border-radius: 1.4cqw; background: color-mix(in oklab, var(--p-ink) 4%, var(--p-card)); line-height: 1.5; }
.pc-lesson .pc-btn { margin-top: auto; }
.ly-collage .pc-tag { flex-direction: row; align-items: center; gap: 2.4cqw; }
.pc-sq { flex: none; width: 5cqw; height: 5cqw; border-radius: 1.2cqw; background: var(--v-ai-ung-dung); }
.pc-tag__txt { display: grid; gap: .4cqw; }
/* the five steps on the ink, the current one in the accent */
.ly-collage .pc-cycle { background: var(--p-inv-bg); color: var(--p-inv-ink); justify-content: space-between; }
.pc-cycle .pc-lbl { color: var(--p-inv-muted); }
.pc-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pc-steps::before, .pc-steps::after { content: ""; position: absolute; top: 1.5cqw; height: 2px; margin-top: -1px; }
.pc-steps::before { left: 10%; right: 10%; background: color-mix(in oklab, var(--p-inv-ink) 22%, transparent); }
.pc-steps::after { left: 10%; width: 20%; background: var(--p-inv-ink); }
.pc-steps > span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.2cqw;
                   font-size: max(13px, 1.9cqw); font-weight: 500; color: var(--p-inv-muted); }
.pc-steps i { width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--p-inv-bg);
              box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--p-inv-ink) 38%, transparent); }
.pc-steps .is-done, .pc-steps .is-now { color: var(--p-inv-ink); }
.pc-steps .is-done i { background: var(--p-inv-ink); box-shadow: none; }
.pc-steps .is-now i { background: var(--p-accent); box-shadow: 0 0 0 2px var(--p-inv-ink); }
/* a workflow of three boxes */
.pc-nodes { display: flex; align-items: center; margin-top: auto; }
.pc-nodes > span { flex: 1 1 0; min-width: 0; padding: .7cqw 1.2cqw; max-height: 28px; overflow: hidden; white-space: nowrap; text-overflow: clip; border-radius: 1.4cqw; text-align: center; font-weight: 500;
                   font-size: max(13px, 1.9cqw); background: color-mix(in oklab, var(--p-ink) 5%, var(--p-card)); }
.pc-nodes > span.is-ai { background: var(--p-ink); color: var(--p-card); }
.pc-nodes > b { flex: 0 0 2.6cqw; height: 2px; background: color-mix(in oklab, var(--p-ink) 26%, transparent); }
/* a ticked line: the tick drawn in CSS (the kit's data: masks are blocked by the CSP) */
.pc-check { position: relative; padding-left: 4.4cqw; font-size: max(13px, 2cqw); }
.pc-check::before { content: ""; position: absolute; left: 0; top: 50%; width: 3cqw; height: 3cqw; margin-top: -1.5cqw; border-radius: 50%; background: var(--p-good); }
.pc-check::after { content: ""; position: absolute; left: 1.05cqw; top: 50%; width: .8cqw; height: 1.5cqw; margin-top: -1.05cqw;
                   border: solid var(--p-card); border-width: 0 .42cqw .42cqw 0; transform: rotate(45deg); }
.pc-check.is-open::before { background: transparent; box-shadow: inset 0 0 0 2px color-mix(in oklab, currentColor 40%, transparent); }
.pc-check.is-open::after { display: none; }
.ly-collage .pc-improve { background: var(--p-inv-bg); color: var(--p-inv-ink); }
.pc-improve .pc-lbl { color: var(--p-inv-muted); }
.pc-improve .pc-ttl { color: var(--p-inv-ink); }
.pc-improve .pc-check::after { border-color: var(--p-inv-bg); }
.pc-av { flex: none; display: grid; place-items: center; width: 4.4cqw; height: 4.4cqw; max-width: 28px; max-height: 28px; border-radius: 50%; font-weight: 500;
         font-size: max(13px, 1.9cqw); background: color-mix(in oklab, var(--p-accent) 14%, var(--p-card)); color: var(--p-accent); }
.pc-proj { display: grid; gap: 1.2cqw; padding: 2cqw; border-radius: 1.6cqw; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--p-ink) 10%, transparent); }
.pc-proj .pc-chip { justify-self: start; }
.pc-trail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1cqw; margin-top: auto; }
.pc-trail i { height: 1cqw; min-height: 4px; border-radius: 99px; background: var(--p-ink); }
.pc-trail i.is-now { background: var(--p-accent); }
.ly-collage .pc-acad { gap: 1.2cqw; }
.pc-ac { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.6cqw; align-items: center; font-weight: 500; }
.pc-ac::before { content: ""; width: 2.4cqw; height: 2.4cqw; min-width: 8px; min-height: 8px; border-radius: .6cqw; grid-row: span 2; }
.pc-ac i { grid-column: 2; font-size: max(13px, 1.7cqw); font-weight: 400; color: var(--p-muted); }
.pc-ac i.is-open { color: var(--p-accent); }
.pc-ac--1::before { background: var(--v-nen-tang); }
.pc-ac--2::before { background: var(--v-ai-ung-dung); }
.pc-ac--3::before { background: var(--v-du-lieu); }
.pc-ac--4::before { background: var(--v-ai-builder); }
/* the pieces' places; the last one of each set ends at 96% x 96%, where the pause disc sits, so its last row keeps that corner clear */
.s1a { left: 4%;  top: 4%;  width: 54%; height: 28%; }
.s1b { left: 52%; top: 12%; width: 40%; height: 15%; }
.s1c { left: 4%;  top: 36%; width: 92%; height: 22%; }
.s1d { left: 22%; top: 62%; width: 74%; height: 34%; }
.s2a { left: 4%;  top: 4%;  width: 74%; height: 36%; }
.s2b { left: 4%;  top: 46%; width: 42%; height: 34%; }
.s2c { left: 52%; top: 46%; width: 44%; height: 50%; }
.s3a { left: 4%;  top: 4%;  width: 60%; height: 44%; }
.s3b { left: 4%;  top: 54%; width: 42%; height: 26%; }
.s3c { left: 52%; top: 54%; width: 44%; height: 42%; }
.s3d { left: 68%; top: 4%;  width: 28%; height: 44%; }
:is(.s1d, .s2c, .s3c) > :last-child { margin-right: 44px; }
@media (max-width: 1023px) {
  /* the collage is narrower than on a desktop: the tag stands beside the lesson, not over it */
  .s1b { left: 61%; top: 4%; width: 35%; height: 22%; }
}
@media (max-width: 639px) {
  /* a phone holds set one: its words fit the smaller pieces */
  .s1b .pc-sub, .s1d .pc-chip, .s1d .pc-text__more { display: none; }
  .s1a { width: 54%; height: 40%; } .s1c { top: 48%; height: 19%; } .s1d { left: 26%; top: 71%; width: 70%; height: 25%; }
  .s1d .pc-text { padding: 0; background: none; }
}

/* ---------------------------------------------------------------- #ban-hoc: the app-frame, Bàn học as live HTML */
#ban-hoc .bh-head { align-items: start; }
.bh-head__text { display: grid; gap: var(--s-4); justify-items: start; }
.bh.ui { --fx-bg: var(--p-card); position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); margin-top: var(--s-7); overflow: hidden;
         background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--r-lg); box-shadow: var(--u-shadow); }
.bh.ui::after { content: ""; position: absolute; inset: auto 0 0 0; height: 56px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
.bh__bar { display: flex; align-items: center; gap: 28px; height: 56px; padding: 0 24px; border-bottom: 1px solid var(--u-line); }
.bh__logo { display: inline-flex; align-items: center; gap: 8px; font: 500 16px/1 var(--font-display); letter-spacing: -0.02em; }
.bh__logo .mark { width: 18px; height: 18px; }
.bh__tabs { display: flex; gap: 4px; }
.bh__tabs { align-self: stretch; }
.bh__tabs > span { display: flex; align-items: center; padding: 0 10px; font-weight: 500; color: var(--u-muted); box-shadow: inset 0 -2px 0 transparent; }
.bh__tabs > .is-on { color: var(--u-ink); box-shadow: inset 0 -2px 0 var(--u-ink); }
.bh__sp { flex: 1; }
.bh__search { display: inline-flex; align-items: center; gap: 8px; width: 220px; height: 28px; padding: 0 12px; border-radius: 8px;
              color: var(--u-muted); background: var(--u-fill); box-shadow: inset 0 0 0 1px var(--u-line); }
.bh__search svg, .bh__time svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bh__av { display: grid; place-items: center; width: 28px; height: 28px; font-size: 12px; border-radius: 50%; font-weight: 500;
          background: var(--u-tint); color: var(--u-accent-text); }
.bh__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; gap: 20px 24px; padding: 28px 32px; min-height: 0; }
.bh__hello { grid-column: 1 / span 8; display: grid; gap: 4px; }
.bh__hi { font: 500 28px/1.15 var(--font-display); letter-spacing: -0.03em; }
.bh__course { font-size: 14px; color: var(--u-muted); }
.bh__tag { grid-column: 9 / span 4; justify-self: end; align-self: start; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px;
           border-radius: 99px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--u-line-2); }
.bh__tag i { width: 10px; height: 10px; border-radius: 3px; background: var(--v-ai-ung-dung); }
/* the five steps on a dark ink panel: Learn done, Practice current in the accent, the rest ahead */
.bh__cycle { grid-column: 1 / -1; display: grid; gap: 22px; padding: 22px 28px 24px; border-radius: 14px; background: var(--p-inv-bg); color: var(--p-inv-ink); }
.bh__cap { font-weight: 500; color: var(--p-inv-muted); }
.bh__nodes { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bh__nodes::before, .bh__nodes::after { content: ""; position: absolute; top: 15px; height: 2px; }
.bh__nodes::before { left: 10%; right: 10%; background: color-mix(in oklab, var(--p-inv-ink) 18%, transparent); }
.bh__nodes::after { left: 10%; width: 20%; background: var(--p-inv-ink); }
.bh__node { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; text-align: center; }
.bh__node > i { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 6px; border-radius: 50%; background: var(--p-inv-bg);
                box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--p-inv-ink) 30%, transparent); }
.bh__node > i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bh__node > b { font: 500 15px/1.2 var(--font-text); }
.bh__node > span { font-size: 13px; color: var(--p-inv-muted); }
.bh__node.is-done > i { background: var(--p-inv-ink); color: var(--p-inv-bg); box-shadow: none; }
.bh__node.is-now > i { background: var(--p-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--p-accent) 38%, var(--p-inv-bg)); }
.bh__node.is-now > span { color: var(--p-inv-ink); }
.bh__node:not(.is-done, .is-now) > b { color: color-mix(in oklab, var(--p-inv-ink) 72%, var(--p-inv-bg)); }
.bh__card { display: grid; align-content: start; gap: 8px; padding: 20px 22px; border-radius: 14px; background: var(--u-fill); box-shadow: inset 0 0 0 1px var(--u-line); }
.bh__next { grid-column: 1 / span 7; grid-template-columns: minmax(0, 1fr) auto; }
.bh__next > :not(.bh__go) { grid-column: 1; }
.bh__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; padding: 10px 16px; border-radius: 9px; font-weight: 500; background: var(--u-ink); color: var(--u-bg); }
.bh__proj { grid-column: 8 / span 5; }
.bh__lbl { font-weight: 500; color: var(--u-muted); }
.bh__ttl { font: 500 18px/1.3 var(--font-text); letter-spacing: -0.01em; }
.bh__meta { display: flex; align-items: center; gap: 12px; color: var(--u-muted); }
.bh__time { display: inline-flex; align-items: center; gap: 6px; }
.bh__chip { padding: 2px 10px; border-radius: 99px; font-weight: 500; color: var(--u-ink); background: var(--u-fill-3); }
.bh__sub { color: var(--u-muted); }
.bh__status { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 3px 10px; border-radius: 99px;
              font-weight: 500; color: var(--p-warn); background: color-mix(in oklab, var(--p-warn) 12%, var(--u-bg)); }
.bh__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .bh__search { width: 160px; }
  .bh__next { grid-column: 1 / span 6; } .bh__proj { grid-column: 7 / span 6; }
}
@media (max-width: 1023px) {
  #ban-hoc .bh-head > * { grid-column: 1 / -1; }
  .bh__search { display: none; }
  .bh__next, .bh__proj { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .bh__bar { gap: 12px; height: 48px; padding: 0 16px; }
  .bh__tabs { display: none; }
  .bh__body { gap: 14px 12px; padding: 18px 16px; }
  .bh__hello { grid-column: 1 / -1; }
  .bh__hi { font-size: 22px; }
  .bh__tag { display: none; }
  .bh__cycle { gap: 14px; padding: 16px 10px 18px; }
  .bh__cap { padding-left: 6px; }
  .bh__node > i { width: 26px; height: 26px; margin-bottom: 2px; }
  .bh__nodes::before, .bh__nodes::after { top: 12px; }
  .bh__node > b { font-size: 13px; }
  .bh__node > span { display: none; }
  .bh__card { padding: 16px; }
}

/* ---------------------------------------------------------------- the nav panel's card: the first course, held still */
.mn-at { --ax: 24px; --ay: 24px; }
.mn-title { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.mn-course { width: 300px; display: grid; gap: 8px; padding: 14px 16px 18px; background: var(--u-bg); border-radius: 12px; }
.mn-course__top { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.mn-course__top i { margin-left: auto; font-style: normal; font-size: 12px; color: var(--u-accent-text); }
.mn-sq { width: 10px; height: 10px; border-radius: 3px; background: var(--v-ai-ung-dung); }
.mn-course__ttl { font: 500 15px/1.3 var(--font-text); }
.mn-course__meta { color: var(--u-muted); }

/* ---------------------------------------------------------------- #vong-hoc: the timeline in a lit frame, then the counter row */
.vh-grid { align-items: stretch; }
.vh-text { gap: var(--s-7); }
/* the ring stays a circle (23/11: it was an oval). diagram.js sets the orbit's radii from its box less half the widest
   pill (about 98px) across and half a pill's height (32px) down, so the box is centred in the frame and 66px wider than tall */
.vh-frame { padding: 0; min-height: 320px; }
.vh-frame > .dg { position: absolute; inset: 0; }
/* on a phone the frame is a tall column and the pills are wide, so the orbit keeps the whole frame (an upright oval
   leaves the pills room); from 640 the frame is wide enough for a true circle */
@media (min-width: 640px) {
  .vh-frame { container-type: size; }
  .vh-frame > .dg { --dg-h: min(100cqh, 100cqw - 66px); margin: auto; width: calc(var(--dg-h) + 66px); height: var(--dg-h); }
}
.vh-stats { display: grid; gap: var(--s-5); }
.vh-stat { display: grid; align-content: start; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.vh-stat > p:not(.vh-num) { max-width: 36ch; }
.vh-num { font: var(--display-weight) var(--t-stat)/1.1 var(--font-display); letter-spacing: var(--display-tracking); }
.vh-num > .t-stat { font: inherit; letter-spacing: inherit; }
/* the three counts take more of the column beside the ring (more air and a lead-size line, the numbers stay under the
   heading's size), so the column reads as one block, not a heading over a far-off list */
@media (min-width: 1024px) {
  .vh-stats { gap: var(--s-6); }
  .vh-stat { padding-top: var(--s-6); }
  .vh-stat > p:not(.vh-num) { font-size: var(--t-lead); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .vh-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  #vong-hoc h2 .muted { display: none; }
  .vh-text { gap: var(--s-6); }
  .vh-frame { min-height: 300px; }
}

/* ---------------------------------------------------------------- #hoc-vien: six academies, each with its colour mark */
.hv { --hv: var(--v-nen-tang); }
.hv--ai-ung-dung { --hv: var(--v-ai-ung-dung); }
.hv--du-lieu { --hv: var(--v-du-lieu); }
.hv--ai-builder { --hv: var(--v-ai-builder); }
.hv--ai-doanh-nghiep { --hv: var(--v-ai-doanh-nghiep); }
.hv--lanh-dao { --hv: var(--v-lanh-dao); }
#hoc-vien .section-head { max-width: none; }
.hv__badge { display: flex; align-items: flex-start; justify-content: space-between; height: 96px; margin-bottom: var(--s-5); padding: 16px;
             border-radius: var(--r-md); background: color-mix(in oklab, var(--hv) 13%, var(--card)); }
.hv__tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--hv); color: var(--p-on-fill); }
.hv__tile svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hv__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.hv__head h3 { min-width: 0; margin: 0; font: 560 18px/26px var(--font-text); letter-spacing: -0.012em; color: var(--ink); }
.hv__state { flex: none; padding: 2px 10px; border-radius: 99px; font: 500 var(--t-label)/1.4 var(--font-text); color: var(--ink);
             background: color-mix(in oklab, var(--ink) 7%, var(--card)); }
.hv__state.is-open { color: var(--p-accent-ink); background: var(--p-accent); }
@media (min-width: 640px) and (max-width: 1023px) {
  /* three academies a row as open tiles (the mark over the words, no box), so the six stay on one tablet screen */
  .hv-grid > .hv { grid-column: span 4; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
  .hv__badge { height: 80px; margin-bottom: var(--s-4); }
  .hv__head { flex-wrap: wrap; row-gap: var(--s-1); }
}
@media (max-width: 639px) {
  #hoc-vien { --hm: 2; }
  .hv-grid > .hv { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: var(--s-4); align-content: start; padding: 16px; }
  .hv-grid > .hv > .hv__badge { grid-row: 1 / span 2; height: auto; min-height: 120px; margin: 0; }
  .hv__head { flex-wrap: wrap; row-gap: var(--s-1); }
  .hv-grid > .hv > :not(.hv__badge) { grid-column: 2; }
}

/* ---------------------------------------------------------------- #viec-that: the statement under liquid-type */
/* the statement set large on two lines, the owner's line at the section's foot (the h2 stays first, at --padt) */
#viec-that .mo-lt__type { font-size: clamp(52px, 15.8vw, 228px); line-height: 1.02; max-width: none; }
#viec-that .wrap { justify-content: space-between; }
.vt-line { margin-top: var(--s-6); max-width: 46ch; }
@media (max-width: 639px) { #viec-that .mo-lt__type { font-size: clamp(44px, 14vw, 64px); } }

/* ---------------------------------------------------------------- #vai-tro: who does what, four cards on the card ground */
/* backgrounds.css centres a grounded .section's words and pads it with its own band; on this page every section keeps the
   system's box (--padt above the h2, --padb below, its screens), so the band gives only its colour */
#vai-tro { padding: var(--padt) 0 calc(var(--padb) + var(--bar)); display: block; min-height: 0; }
@media (min-width: 640px) and (max-width: 1279px) { #vai-tro { display: flex; flex-direction: column; min-height: calc(var(--h, 1) * 100svh); } }
@media (max-width: 639px) { #vai-tro { display: grid; align-content: stretch; min-height: calc(var(--hm, var(--h, 1)) * 100lvh); } }
#vai-tro .panel { --p-h: 336px; }
@media (min-width: 1024px) and (max-width: 1279px) { #vai-tro .panel { --p-h: 300px; } }
.vt-p1 { --calm-k: 0%; }
.vt-p1 > .dg { position: absolute; inset: 0; z-index: 1; }
/* the learner's workflow is a held still (data-dg-still): its nodes change state at once, so nothing fades in as the card arrives */
.vt-dg *, .vt-dg *::before, .vt-dg *::after { transition-duration: 0ms !important; }
.vt-doc { --ax: 32px; --ay: 32px; }
.vt-doc > .ui-doc { width: 520px; }
/* two notifications, both above the panel's fade */
.vt-notify { --fit-max: 380px; --ax: max(24px, 50% - 190px); --ay: 96px; --ay-sm: 24px; }
.vt-notify .ui-note__av { width: 28px; height: 28px; }
.vt-toggles { --ax: 32px; --ay: 40px; --ay-sm: 24px; }
.vt-toggles > .ui-toggles { width: 380px; }
.vt-mark { display: grid; place-items: center; }
.vt-mark .mark { width: 16px; height: 16px; background: var(--p-on-fill); }
@media (max-width: 639px) {
  .vt-doc > .ui-doc { width: auto; }
  .vt-toggles > .ui-toggles { width: auto; }
}

/* ---------------------------------------------------------------- #du-an: the split, the one data-visual frame (gradient-mesh) */
.da-grid { align-items: stretch; }
.da-text { align-items: flex-start; }
.da-facts { align-self: stretch; display: grid; margin: 0; }
.da-facts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.da-facts dt { font-weight: 500; }
.da-facts dd { margin: 0; color: var(--ink); }
.da-win-at { --ax: 48px; --ay: 48px; width: max(620px, 100% - 48px + 64px); }
.da-win { width: 100%; }
.da-win__bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--u-line); }
.da-win__crumb { color: var(--u-muted); white-space: nowrap; }
.da-win__crumb i { font-style: normal; margin: 0 4px; }
.da-win__crumb b { font-weight: 500; color: var(--u-ink); }
.da-win__body { display: grid; gap: 6px; padding: 20px 22px 28px; }
.da-win__head { display: flex; align-items: center; gap: 12px; }
.da-win__ttl { font: 500 18px/1.3 var(--font-text); letter-spacing: -0.01em; }
.da-win__sub { color: var(--u-muted); margin-bottom: 10px; }
.da-chip { flex: none; padding: 2px 10px; border-radius: 99px; font-weight: 500; }
.da-chip--wait { color: var(--u-accent-text); background: var(--u-tint); }
.da-chip--good { color: var(--p-good); background: color-mix(in oklab, var(--p-good) 12%, var(--u-bg)); }
.da-steps { display: grid; }
.da-steps > li { position: relative; display: grid; grid-template-columns: 26px 120px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 44px; }
.da-steps > li + li { border-top: 1px solid var(--u-line); }
.da-steps i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--u-line-2); }
.da-steps .is-done i { background: var(--u-ink); box-shadow: none; }
.da-steps .is-done i::after { content: ""; display: block; width: 4px; height: 8px; margin: 3px 0 0 7px; border: solid var(--u-bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.da-steps .is-now i { background: var(--u-accent); box-shadow: 0 0 0 4px var(--u-tint); }
.da-steps__name { font-weight: 500; }
.da-steps__who { color: var(--u-muted); }
.da-win__block { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--u-line); }
.da-win__lbl { font-weight: 500; color: var(--u-muted); }
.da-win__note { max-width: 46ch; color: var(--u-text-2); }
.da-file { display: flex; align-items: center; gap: 10px; }
.da-file svg { width: 16px; height: 16px; fill: none; stroke: var(--u-muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* the sign-off dialog over the window's lower right, its button above the frame's fade */
.da-sign-at { --bx: 24px; --by: 88px; }
@media (max-width: 639px) {
  .da-frame { --ratio: 80%; }
  .da-win-at { width: auto; }
  .da-steps > li { grid-template-columns: 22px minmax(0, 1fr); }
  .da-steps__who { grid-column: 2; margin-top: -10px; padding-bottom: 8px; }
}

/* ---------------------------------------------------------------- #portfolio: the portfolio page rising out of a lit frame */
.pf-head { align-items: start; }
.pf-frame { margin-top: var(--s-7); padding: 0; min-height: 320px; }
.pf-at { --ax: 48px; --ay: 48px; --fit-max: 960px; }
.pf.ui { --fx-bg: var(--p-card); width: 100%; max-width: 960px; margin-inline: auto; height: auto; }
.pf__top { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--u-line); }
.pf__av { display: grid; place-items: center; width: 28px; height: 28px; font-size: 12px; border-radius: 50%; font-weight: 500; background: var(--u-tint); color: var(--u-accent-text); }
.pf__who { display: grid; gap: 2px; }
.pf__name { font: 500 16px/1.2 var(--font-text); }
.pf__role { color: var(--u-muted); }
.pf__sp { flex: 1; }
.pf__trail { display: flex; gap: 14px; }
.pf__trail i, .faq-course__steps i { display: inline-flex; align-items: center; gap: 6px; font-style: normal; color: var(--u-muted); }
.pf__trail i::before, .faq-course__steps i::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--u-line-2); }
.pf__trail i.is-done, .faq-course__steps i.is-done { color: var(--u-ink); }
.pf__trail i.is-done::before, .faq-course__steps i.is-done::before { background: var(--u-ink); box-shadow: none; }
.pf__trail i.is-now, .faq-course__steps i.is-now { color: var(--u-ink); font-weight: 500; }
.pf__trail i.is-now::before, .faq-course__steps i.is-now::before { background: var(--u-accent); box-shadow: 0 0 0 3px var(--u-tint); }
.pf__proj { display: grid; gap: 6px; padding: 22px 24px 28px; }
.pf__projhead { display: flex; align-items: center; gap: 12px; }
.pf__ttl { font: 500 20px/1.3 var(--font-text); letter-spacing: -0.01em; }
.pf__sub { color: var(--u-muted); }
.pf__cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pf__cell { display: grid; align-content: start; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--u-fill); box-shadow: inset 0 0 0 1px var(--u-line); }
.pf__lbl { font-weight: 500; color: var(--u-muted); }
.pf__val { line-height: 1.45; }
.pf__ok { color: var(--p-good); font-weight: 500; }
.pf__next { display: grid; gap: 8px; padding: 22px 24px 40px; border-top: 1px solid var(--u-line); }
.pf__ttl--sm { font-size: 17px; }
.pf__row { display: flex; align-items: center; gap: 10px; color: var(--u-text-2); }
.pf__row i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--u-line-2); }
.pf__row i.is-done { background: var(--u-ink); box-shadow: none; }
.pf__sign { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--u-fill); }
.pf__signico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--p-good); color: var(--p-on-fill); }
.pf__signico svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1023px) {
  #portfolio .pf-head > * { grid-column: 1 / -1; }
  .pf__trail { display: none; }
  .pf__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .pf__top { padding: 14px 16px; }
  .pf__proj { padding: 16px; }
  .pf__cells { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- #faq */
.faq-grid { align-items: stretch; }
.faq-grid > .faq { align-self: start; }
.faq-head { display: flex; flex-direction: column; gap: var(--s-4); }
@media (max-width: 1023px) { .faq-grid > * { grid-column: 1 / -1; } .faq-head { margin-bottom: var(--s-6); } }


/* ---------------------------------------------------------------- the close: the name set by hand per width (five letters run short of the .wrap at 216px) */
.close__word { font-size: clamp(72px, 20.5vw, 296px); }
@media (max-width: 639px) {
  /* a phone: the four role panels at the system's phone height, so the two screens hold them */
  #vai-tro .panel { --p-h: 160px; }
}

/* the main action, one look everywhere: the hero's and the close's at the triptych's size (layout.css), the nav's one size smaller */
.close--word .btn--primary { height: 64px; padding-inline: var(--s-6); font-size: var(--t-lead); }
@media (min-width: 640px) and (max-width: 1023px) { .close--word .btn--primary { height: 56px; font-size: var(--t-body); } }
@media (max-width: 639px) { .close--word .btn--primary { height: 56px; } }
/* Geist's Vietnamese ascent is 1.005em: at line-height .86 the line box clips its top; 1 keeps it whole */
.close__word { line-height: 1; }

/* ---------------------------------------------------------------- #faq: the first course's card under the questions' head */
.faq-panel { --p-h: 300px; margin-top: var(--s-4); flex: 1 1 auto; }
.faq-at { --fit-max: 400px; --ax: max(24px, 50% - 200px); --ay: 32px; }
.faq-course { display: grid; gap: 10px; padding: 18px 20px 24px; }
.faq-course__top { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.faq-course__top i { margin-left: auto; font-style: normal; font-size: 12px; color: var(--u-accent-text); }
.faq-course__ttl { font: 500 16px/1.3 var(--font-text); }
.faq-course__meta { color: var(--u-muted); }
.faq-course__steps { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 4px 0; }
.faq-course__row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding-top: 10px; border-top: 1px solid var(--u-line); }
.faq-course__lbl { font-weight: 500; color: var(--u-muted); }

/* a phone: the three splits run as two screens (.g2m), the words on the first, the picture filling the second */
@media (max-width: 639px) {
  #vong-hoc .vh-grid, #du-an .da-grid, #faq .faq-grid { display: contents; }
  #vong-hoc .vh-frame, #du-an .da-frame { min-height: 0; height: auto; }
  #faq .faq-head { margin-bottom: 0; display: flex; flex-direction: column; }
  #faq .faq-panel { flex: 1 1 auto; --p-h: 240px; }
  /* the questions take their whole phone screen, so the gap to the close matches the page's */
  #faq .faq > .faq__item { padding-bottom: var(--s-5); }
  #faq .faq > .faq__item:not(:first-child) { padding-top: var(--s-5); }
}
/* the tablet stacks the questions under their head and the card: two screens there */
@media (min-width: 640px) and (max-width: 1023px) { #faq { --h: 2; } }

/* ---------------------------------------------------------------- big screens (23/11, owner: empty areas, stretched frames)
   The container stops at 1280px wide, so on a taller screen (1920x1080, 2000x1200, 2560x1440) a section one screen tall
   only stretched its frames and left ground empty. From 901px of height, one screen is counted as 900px, as at 1440x900
   where every section was checked; the next section starts under it. */
@media (min-width: 1280px) and (min-height: 901px) {
  :root {
    --man: 900px;
    --ly-screen: calc(var(--man) - var(--ly-nav));
    --ly-fit: calc(var(--man) - var(--padt, 120px) - var(--padb, 72px) - var(--bar, 0px));
    --ly-hero-h: calc(var(--man) - var(--nav, 72px) - var(--hgap, 48px) - var(--hpadb, 64px) - var(--bar, 0px));
  }
  main > :is(section, .section), footer.closing { height: calc(var(--h, 1) * var(--man)); }
  main > :is(.hero, .section--hero) { height: var(--man); }
}
/* the hero from 1280 as the kit sets it from 1024: the headline and its button on the left, the screens on the right,
   so no button stands alone at the right edge of an empty third */
@media (min-width: 1280px) {
  .hero--triptych .hero__grid { grid-template-rows: 1fr auto 1fr; }
  .hero--triptych .hero__grid > :first-child { grid-column: 1 / span 5; grid-row: 1; align-self: end; }
  .hero--triptych .ly-collage { grid-column: 7 / span 6; grid-row: 1 / span 3; }
  .hero--triptych .hero__cta { grid-column: 1 / span 5; grid-row: 2; justify-content: flex-start; margin-top: var(--s-6); }
}
/* one height for Vào học wherever it is the big action (the hero and the close), the nav copy one size smaller */
@media (min-width: 1024px) { .hero--triptych .hero__cta .btn { height: 64px; font-size: var(--t-lead); } }
