/* Tech Connect site styles.
   Visual system: TED.com's editorial language adapted to Tech Connect (Direction contract, 17/11/2026).
   One file for all 18 pages (eng review D2). Colors only through the custom properties below. */

/* ---------- Fonts: Inter, self-hosted latin + vietnamese subsets (eng review, Section 4) ---------- */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-vietnamese-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback (TED's "Inter Fallback") so text does not jump when Inter arrives. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --gray-1: #f6f6f6;
  --gray-2: #ececec;
  --line: #d9d9d9;
  --gray-5: #696969;
  --gray-6: #494949;
  --gray-7: #262626;
  --ink: #121212;
  --black: #000000;
  --on-dark-2: #b5b5b5;
  --red: #c4151c;          /* Tech Connect red in TED's red slot; white on it is 6.05:1 */
  --red-900: #9b0f15;      /* pressed / hover */
  --red-on-dark: #e8484e;  /* red text on #121212 / #000 bands, 4.88:1 (eng review D7) */
  --focus: #1c54e5;

  --font: "Inter Variable", "Inter Fallback", ui-sans-serif, system-ui, sans-serif;

  /* Type scale (TED semantic styles) */
  --t-display: clamp(2.5rem, 1.6rem + 2.6vw, 4rem);
  --t-page: clamp(2.25rem, 1.6rem + 2vw, 3.5rem);
  --t-h2: clamp(1.625rem, 1.3rem + 1vw, 2rem);
  --t-h3: 1.5rem;
  --t-title: 1.25rem;
  --t-card: 1.125rem;
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-caption: 0.8125rem;
  --t-label: 0.75rem;

  /* Spacing: 4px unit */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.25rem;
  --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem; --s-20: 5rem; --s-24: 6rem;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 64px;
  --radius: 4px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.5;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--red);
}
p, figcaption, address, li { text-wrap: pretty; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.band-dark :focus-visible { outline-color: var(--white); }
[tabindex="-1"]:focus { outline: none; }
html { scrollbar-color: var(--gray-5) var(--gray-1); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: var(--s-3) var(--s-4); border-radius: var(--radius);
}
.skip-link:focus { top: var(--s-4); }
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* In-page targets land below the sticky header (design review decision 16). */
[id] { scroll-margin-top: calc(var(--header-h) + var(--s-6)); }

.band-dark { background: var(--ink); color: var(--white); }

.only-narrow { display: none; }
@media (max-width: 767px) {
  .only-wide { display: none; }
  .only-narrow { display: inline; }
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: 0 var(--s-5);
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: var(--t-small); font-weight: 700; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-900); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--gray-7); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--white); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.link-more {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-small); font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em;
  min-height: 44px;
}
.link-more:hover { text-decoration: none; }
.link-more .icon { transition: transform 150ms var(--ease); }
.link-more:hover .icon { transform: translateX(3px); }
main a:not([class]):visited, .link-list a:visited { color: var(--gray-6); }
/* .band-dark sits inside <main>, so the dark-band override is written band-first (FINDING-009). */
main .band-dark a:not([class]):visited, .band-dark .link-list a:visited { color: var(--on-dark-2); }

.caption { font-size: var(--t-caption); line-height: 1.3; color: var(--gray-5); }
.caption--red { color: var(--red); font-weight: 600; }
.band-dark .caption { color: var(--on-dark-2); }
.band-dark .caption--red { color: var(--red-on-dark); }

/* ---------- Header (shared, sticky, compacts on scroll; decisions 16 and D19) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--gray-2);
  transition: border-color 150ms var(--ease);
}
.site-header.is-compact { border-bottom-color: var(--line); }
/* The bar keeps one height while scrolling: shrinking a sticky header pulls the whole page up under the reader
   (design review FINDING-001). Scrolled state = border, solid ground and the docked menu only. */
.site-header__inner { display: flex; align-items: center; gap: var(--s-6); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--s-4); text-decoration: none; flex: none; }
.brand__logo { width: auto; height: 44px; } /* same height as the 44px header button */
/* No tagline in the header: measured at 1100-1920, logo + tagline + nav + CTA overflow the 1200px
   container by 41px at every width (D19). The tagline lives in the footer and the meta description. */

/* ---------- Header: menu centred while at the top, docked beside the button once scrolled ---------- */
@media (min-width: 1100px) {
  .site-header--centered .site-nav__list { transition: transform 320ms var(--ease-out); }
  .site-header--centered:not(.is-compact) .site-nav__list { transform: translateX(var(--nav-shift, 0px)); }
  .site-header--centered.is-measuring .site-nav__list { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header--centered .site-nav__list { transition: none; }
}

/* ---------- Header over the homepage photo (headerOverlay). JS only: without it the header stays the solid sticky bar. ---------- */
.brand__logo--on-dark { display: none; }
.js .site-header--overlay {
  position: fixed; inset: 0 0 auto 0;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.js .site-header--overlay:not(.is-compact) { background: transparent; border-bottom-color: transparent; color: var(--white); }
.js body:not(.menu-open) .site-header--overlay:not(.is-compact) .brand__logo { display: none; }
.js body:not(.menu-open) .site-header--overlay:not(.is-compact) .brand__logo--on-dark { display: block; }
.js body.menu-open .site-header--overlay { background: var(--white); color: var(--ink); }
.js body:not(.menu-open) .site-header--overlay:not(.is-compact) :focus-visible { outline-color: var(--white); }
/* The open sub-menu is a white panel even over the photo: its focus ring goes back to the blue token (FINDING-002). */
.js body:not(.menu-open) .site-header--overlay:not(.is-compact) .sub-menu :focus-visible { outline-color: var(--focus); }
@media (min-width: 1100px) {
  .js .site-header--overlay:not(.is-compact) .site-nav__link:hover,
  .js .site-header--overlay:not(.is-compact) .site-nav__item.has-sub:hover,
  .js .site-header--overlay:not(.is-compact) .site-nav__item.has-sub.is-open { background: rgba(255, 255, 255, 0.14); }
  .js .site-header--overlay:not(.is-compact) .site-nav__item.has-sub .site-nav__link:hover { background: none; }
  .js .site-header--overlay:not(.is-compact) .sub-menu { color: var(--ink); }
}
@media (max-width: 1099px) {
  .js body:not(.menu-open) .site-header--overlay:not(.is-compact) .menu-toggle { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
}


.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-4); }
.site-nav__list { display: flex; align-items: center; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__link {
  display: flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border-radius: var(--radius); transition: background-color 150ms var(--ease);
}
.site-nav__link:hover { background: var(--gray-1); }
.site-nav__link[aria-current] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.sub-toggle {
  display: none; align-items: center; justify-content: center;
  width: 32px; height: 44px; margin-left: -8px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius);
}
.js .sub-toggle { display: inline-flex; }
.sub-toggle .icon { transition: transform 150ms var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-toggle:hover { background: var(--gray-1); }
.sub-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--ink); padding: var(--s-2);
}
.sub-menu.is-open { display: block; }
/* Desktop: the label and its chevron read and behave as one control. One hover ground covers both, the chevron
   sits tight to the label, and an invisible bridge spans the gap down to the panel so the pointer can travel into it. */
@media (min-width: 1100px) {
  .site-nav__item.has-sub { border-radius: var(--radius); transition: background-color 150ms var(--ease); }
  .site-nav__item.has-sub .site-nav__link { padding-right: var(--s-1); }
  .site-nav__item.has-sub .sub-toggle { width: 28px; margin-left: 0; padding-right: var(--s-1); }
  .site-nav__item.has-sub .site-nav__link:hover, .site-nav__item.has-sub .sub-toggle:hover { background: none; }
  .site-nav__item.has-sub:hover, .site-nav__item.has-sub.is-open { background: var(--gray-1); }
  .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
}
.sub-menu a { display: block; padding: var(--s-3); font-size: var(--t-small); font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.sub-menu a:hover { background: var(--gray-1); }
.sub-menu a[aria-current="page"] { color: var(--red); }

.menu-toggle, .header-cta-mobile { display: none; }

/* Below the measured width the full-screen menu takes over (D19). */
@media (max-width: 1099px) {
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: var(--s-2); margin-left: auto; order: 3;
    min-height: 44px; padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer;
    font-size: var(--t-small); font-weight: 600;
  }
  .menu-toggle__close { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex; align-items: center; gap: var(--s-2); }
  .menu-toggle__open { display: inline-flex; align-items: center; gap: var(--s-2); }
  .js .header-cta-mobile { display: inline-flex; order: 2; margin-left: auto; min-height: 44px; padding: 0 var(--s-4); }
  .js .header-cta-mobile + .menu-toggle, .js .menu-toggle { margin-left: 0; }
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; margin: 0;
    display: none; flex-direction: column; align-items: stretch; gap: var(--s-6);
    padding: var(--s-6) var(--gutter) var(--s-12); background: var(--white); overflow-y: auto;
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__list { flex-direction: column; align-items: stretch; }
  .js .site-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--gray-2); }
  .js .site-nav__link { flex: 1; min-height: 56px; font-size: 1rem; padding: 0; }
  .js .site-nav__link[aria-current] { box-shadow: none; color: var(--red); }
  .js .sub-toggle { width: 56px; height: 56px; margin: 0; }
  .js .sub-menu { position: static; flex-basis: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 var(--s-3); }
  .js .site-nav__cta { align-self: flex-start; }
  body.menu-open { overflow: hidden; }
  /* Without JS the navigation is a plain list of links (decision 16). */
  .no-js .site-header__inner { height: auto; flex-wrap: wrap; padding-block: var(--s-3); }
  .no-js .site-nav { flex-basis: 100%; flex-wrap: wrap; margin: 0; }
  .no-js .site-nav__list { flex-wrap: wrap; }
}
@media (max-width: 479px) {
  .js .menu-toggle__open > span, .js .menu-toggle__close > span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
}

/* ---------- Section heads (TED: 1px rule above, heading left, link right) ---------- */
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-6);
  padding-top: var(--s-4); border-top: 1px solid var(--ink);
}
.band-dark .section-head { border-top-color: rgba(255, 255, 255, 0.85); }
.section-head__title { font-size: var(--t-h2); line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; max-width: 22ch; }
.section-lead { margin-top: var(--s-4); max-width: 62ch; font-size: 1.0625rem; line-height: 1.55; color: var(--gray-6); }
.band-dark .section-lead { color: var(--on-dark-2); }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--gray-2); }
.media img, .media picture { width: 100%; height: 100%; }
.media img { object-fit: cover; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
/* A key visual or wordmark keeps its own proportions; cropping would cut the lettering. */
.media--natural { background: none; }
.media--natural img { height: auto; object-fit: contain; }
.chip {
  position: absolute; right: var(--s-3); bottom: var(--s-3);
  padding: 2px var(--s-2); border-radius: 2px;
  background: var(--gray-7); color: var(--white);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}

/* Grid tracks use minmax(0, Nfr): a bare fr track lets an image's min-content width push the grid past its box
   (design review FINDING-005). */
/* ---------- Region 1: full-bleed hero (homepage redesign after step 7, modelled on cyera.com; prototyped as /demo A2) ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); isolation: isolate; }
.hero__media { position: relative; overflow: hidden; }
.hero__picture, .hero__img { display: block; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 30%; }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; }
.hero__title {
  font-size: clamp(2.25rem, 1.4rem + 3vw, 4.25rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.04em;
  text-wrap: balance; max-width: 20ch;
}
.hero__support { margin-top: var(--s-5); max-width: 52ch; font-size: 1.125rem; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-8); margin-top: var(--s-8); }
.hero__cta { min-height: 52px; padding: 0 var(--s-6); font-size: 1rem; }
.hero__link {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px;
  color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.hero__link:hover { text-decoration-thickness: 2px; }
.hero__link .icon { transition: transform 150ms var(--ease); }
.hero__link:hover .icon { transform: translateX(3px); }
.hero :focus-visible { outline-color: var(--white); }

/* Phones and small tablets: photo on top, copy below on the dark band (no text over faces). */
@media (max-width: 767px) {
  .hero__media { aspect-ratio: 4 / 3; }
  .hero__scrim { background: linear-gradient(to bottom, rgba(18, 18, 18, 0) 55%, var(--ink) 100%); }
  .hero__content { padding-block: var(--s-4) var(--s-12); }
  .hero__support { margin-top: var(--s-3); font-size: 1rem; }
  .hero__actions { margin-top: var(--s-6); }
  .hero__credit { display: none; }
}

/* From 768px the copy sits on the photo. */
@media (min-width: 768px) {
  .hero__media { position: absolute; inset: 0; }
  .hero__content { position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
}

/* Stage layout: transparent header over the photo, copy bottom-left on a scrim, credit bottom-right. */
@media (min-width: 768px) {
  .hero--stage { height: clamp(560px, 84svh, 880px); }
  .hero--stage .hero__content { height: 100%; padding-bottom: var(--s-16); }
  .hero--stage .hero__title { max-width: 15ch; }
  .hero--stage .hero__support { max-width: 46ch; }
  .hero--stage .hero__scrim {
    background:
      linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0, rgba(0, 0, 0, 0) 180px),
      linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 58%),
      linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 38%, rgba(0, 0, 0, 0) 74%);
  }
  .hero--stage .hero__credit {
    position: absolute; right: max(var(--gutter), calc((100vw - var(--container)) / 2)); bottom: var(--s-16);
    display: flex; align-items: center; gap: var(--s-3);
    font-size: var(--t-caption); color: rgba(255, 255, 255, 0.78); max-width: 46ch; text-align: right; text-wrap: balance;
  }
  .hero--stage .hero__credit .chip { position: static; flex: none; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .hero--stage .hero__credit { display: none; }
}
/* Under the transparent header on phones: the photo starts at the top edge. */
@media (max-width: 767px) {
  .js .hero--stage .hero__media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 96px; z-index: 1; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)); }
}

/* Red lamp chip: the ON AIR light of the Connection Stage, used on the hero caption only. */
.lamp {
  display: inline-flex; align-items: center; gap: var(--s-2); flex: none;
  padding: 2px var(--s-2); border-radius: 2px; background: var(--red); color: var(--white);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.lamp__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--white); }
/* Hero reel: four frames cross-fade every 6s; caption with a red lamp chip and one red progress hairline per frame
   (chosen 18/11/2026). Only the first frame shows without JS or under reduced motion. */
.reel__frame { position: absolute; inset: 0; opacity: 0; transition: opacity 1200ms var(--ease); }
.reel__frame:first-child { position: relative; }
.reel__frame.is-active { opacity: 1; }
.reel__frame picture, .reel__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .reel__frame:first-child { position: absolute; } }
.reel__credit { flex-direction: column; align-items: flex-end !important; gap: var(--s-3) !important; }
.reel__captions { display: grid; justify-items: end; }
.reel__caption {
  grid-area: 1 / 1; display: flex; align-items: center; gap: var(--s-3);
  opacity: 0; visibility: hidden; transition: opacity 600ms var(--ease), visibility 0s linear 600ms;
}
.reel__caption.is-active { opacity: 1; visibility: visible; transition: opacity 600ms var(--ease) 300ms, visibility 0s; }
.reel__caption .chip { position: static; flex: none; }
.reel__bars { display: none; gap: var(--s-2); width: 220px; }
.js .reel__bars { display: flex; }
.reel__bar { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.reel__bar > span { display: block; height: 100%; background: var(--red-on-dark); transform: scaleX(0); transform-origin: left; }
.reel__bar.is-done > span { transform: scaleX(1); }
.reel__bar.is-running > span { animation: reel-fill var(--reel-ms, 6000ms) linear forwards; }
@keyframes reel-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .reel__frame { transition: none; }
  .js .reel__bars { display: none; }
}

/* Region 1b, "Dự án và Hệ sinh thái": title with two links + arrow buttons, then a strip of horizontal cards that runs to the
   right edge of the viewport (Cyera-style). Scrolling is native; the buttons move it one card at a time. */
.dock { background: var(--gray-1); padding: var(--s-8) 0; border-bottom: 1px solid var(--gray-2); overflow-x: clip; }
.dock__grid { display: grid; gap: var(--s-5); }
.dock__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); }
.dock__title { font-size: var(--t-h3); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.dock__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; text-decoration-color: var(--line); transition: text-decoration-color 150ms var(--ease), color 150ms var(--ease); }
.dock__title a:hover { color: var(--red); text-decoration-color: currentColor; }
.dock__nav { display: flex; gap: var(--s-2); flex: none; }
.dock__btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: var(--white); color: var(--ink); border: 1px solid var(--gray-2); border-radius: var(--radius); cursor: pointer;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.dock__btn:hover { border-color: var(--ink); }
.dock__btn[data-dock-prev] .icon { transform: rotate(180deg); }

/* The strip bleeds past the container on the right; the band clips it so the page never scrolls sideways.
   Without JS the viewport is a native scroller; with JS (data-ready) it clips and the track moves by transform. */
.dock__viewport {
  --bleed: max(var(--gutter), (100vw - var(--container)) / 2);
  margin-right: calc(-1 * var(--bleed)); padding-right: var(--bleed);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
}
.dock__viewport[data-ready] { overflow: hidden; padding-right: 0; scroll-snap-type: none; touch-action: pan-y; cursor: grab; }
.dock__viewport[data-ready].is-dragging { cursor: grabbing; }
.dock__viewport[data-ready].is-dragging a { pointer-events: none; }
.dock__track { display: flex; gap: var(--s-4); }
.dock__viewport[data-ready] .dock__track { will-change: transform; transition: transform 900ms var(--ease-out); }
.dock__viewport[data-ready] .dock__track.no-anim { transition: none; }
.no-js .dock__viewport { padding-bottom: var(--s-3); }
@media (prefers-reduced-motion: reduce) {
  .dock__viewport[data-ready] .dock__track { transition-duration: 1ms; }
}
.dock__item { flex: 0 0 min(84vw, 420px); scroll-snap-align: start; }
.dock-card {
  display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: var(--s-4); height: 100%;
  padding: var(--s-3); background: var(--white); border: 1px solid var(--gray-2); text-decoration: none;
  transition: border-color 150ms var(--ease);
}
.dock-card:hover { border-color: var(--ink); }
.dock-card__media { aspect-ratio: 4 / 3; align-self: start; }
.dock-card__media img { object-position: var(--img-focus, 50% 50%); }
.dock-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dock-card__title { font-size: 1.0625rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.dock-card__more {
  display: inline-flex; align-items: center; gap: var(--s-2); margin-top: auto; padding-top: var(--s-3);
  font-size: var(--t-small); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.dock-card__more .icon { transition: transform 150ms var(--ease); }
.dock-card:hover .dock-card__more .icon { transform: translateX(3px); }

@media (min-width: 768px) {
  .dock__item { flex-basis: 440px; }
  .dock-card { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s-5); }
  .dock-card__title { font-size: 1.25rem; }
}
@media (min-width: 1100px) {
  .dock { padding: var(--s-10) 0; }
  .dock__grid { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s-8); align-items: stretch; }
  .dock__intro { flex-direction: column; align-items: flex-start; justify-content: space-between; padding-right: var(--s-6); border-right: 1px solid var(--gray-2); }
}

/* Hairline bar that fills over the 4s before each move (dockProgress). */
.dock__progress { grid-column: 1 / -1; height: 1px; background: var(--gray-2); overflow: hidden; }
.dock__bar { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.dock__bar.is-running { animation: dock-fill 4000ms linear forwards; }
@keyframes dock-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 1100px) { .dock__progress { grid-column: 2; } }
@media (prefers-reduced-motion: reduce) { .dock__progress { display: none; } }

/* ---------- Region 2: needs ---------- */
.needs { padding: var(--s-12) 0; }
.needs__grid { display: grid; gap: var(--s-10); margin-top: var(--s-8); }
.needs__heading { font-size: var(--t-h3); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; }
.needs__text { margin-top: var(--s-3); max-width: 52ch; color: var(--gray-6); }
.needs__col .link-list { margin: var(--s-5) 0 var(--s-3); }
@media (min-width: 768px) {
  .needs { padding: var(--s-10) 0 var(--s-16); }
  .needs__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
  .needs__col + .needs__col { padding-left: var(--s-10); border-left: 1px solid var(--line); }
  /* Both contact links share one baseline, whatever the length of the list above them. */
  .needs__col { display: flex; flex-direction: column; align-items: flex-start; }
  .needs__col > .link-list { align-self: stretch; }
  .needs__col > .link-more { margin-top: auto; }
  .needs__col:first-child { padding-right: var(--s-10); }
}
.link-list { border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 52px; padding: var(--s-3) var(--s-1); font-size: 1.0625rem; font-weight: 600; text-decoration: none;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.link-list a:hover { background: var(--gray-1); color: var(--red); }
.band-dark .link-list, .band-dark .link-list li { border-color: rgba(255, 255, 255, 0.2); }
.band-dark .link-list a:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); }

/* ---------- Region 3: journey ---------- */
.journey { padding: var(--s-12) 0 0; }
.journey__band { margin-top: var(--s-8); border-top: 1px solid var(--ink); }
.journey__stage { display: grid; gap: var(--s-2) var(--s-8); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.journey__name { display: flex; align-items: baseline; gap: var(--s-3); font-size: var(--t-title); font-weight: 600; letter-spacing: -0.02em; }
.journey__n { min-width: 1.75rem; font-size: var(--t-small); font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.journey__text { color: var(--gray-6); max-width: 46ch; }
.journey__extra:empty { display: none; }
.other-side__title { font-weight: 600; }
.other-side__text { margin-top: var(--s-1); color: var(--gray-6); max-width: 46ch; }
@media (min-width: 900px) {
  .journey { padding-top: var(--s-16); }
  .journey__stage { grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); align-items: start; }
}
.leaders { padding: var(--s-10) 0 var(--s-12); display: grid; gap: var(--s-5); }
.leaders__label { font-size: var(--t-small); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.leaders__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); max-width: 720px; }
@media (min-width: 600px) { .leaders__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .leaders { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); align-items: start; padding-bottom: var(--s-16); }
  .leaders .link-more { grid-column: 2; }
}

/* ---------- Portraits (transparent cut-outs on a light tile) ---------- */
.portrait { display: grid; gap: var(--s-2); }
.portrait__photo { aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
.portrait__photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait__photo--initials { display: grid; place-items: center; background: var(--gray-1, #f2f2f2); color: var(--gray-5); font-weight: 600; container-type: inline-size; }
.portrait__photo--initials span { font-size: 28cqi; letter-spacing: 0.02em; }
.portrait figcaption { display: grid; gap: 2px; }
.portrait__name { font-size: var(--t-small); font-weight: 600; line-height: 1.3; }
.portrait__line { font-size: var(--t-caption); line-height: 1.35; color: var(--gray-5); }
.portrait--xs .portrait__name { font-size: var(--t-caption); }
.portrait--xs .portrait__line { font-size: var(--t-label); }
.portrait--xs .caption--red { display: none; }
/* Portraits on the team page cap at 280px; the ~550px advisor sources stay sharp at 2x. */
.portrait--lg .portrait__photo { max-width: 280px; }
.portrait--lg .portrait__name { font-size: var(--t-title); letter-spacing: -0.02em; }

/* ---------- Loop: one vertical red rule, Kết nối → Seal the Deals (eng review D18) ---------- */
.loop-seg { position: relative; }
.loop-seg::before {
  content: ""; position: absolute; left: calc(var(--gutter) / -2 - 1px); top: 0; bottom: 0; width: 2px;
  background: var(--red);
  transform-origin: top; transform: scaleY(0);
}
.band-dark .loop-seg::before { background: var(--red-on-dark); }
.loop-seg--start::before { top: calc(var(--s-6) + 0.75rem); }
.loop-seg--end::before { bottom: auto; height: var(--s-16); }
.loop-seg--end::after {
  content: ""; position: absolute; left: calc(var(--gutter) / -2 - 4px); top: calc(var(--s-16) - 4px);
  width: 8px; height: 8px; border-radius: 50%; background: var(--red-on-dark);
  transform: scale(0); transition: transform 200ms var(--ease-out) 650ms;
}
.js .loop.is-drawn .loop-seg::before {
  transform: scaleY(1);
  transition: transform 140ms linear calc(var(--seg, 0) * 140ms);
}
.js .loop.is-drawn .loop-seg--end::before { transition-timing-function: var(--ease-out); }
.js .loop.is-drawn .loop-seg--end::after { transform: scale(1); }
/* No JS or reduced motion: the rule is simply drawn. */
.no-js .loop-seg::before, .no-js .loop-seg--end::after { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .loop-seg::before, .loop-seg--end::after { transform: none !important; transition: none !important; }
}

/* ---------- Region 4: story (dark band) ---------- */
.story { padding: 0 0 var(--s-16); }
.story__lead-in { padding-top: var(--s-12); padding-bottom: var(--s-8); }
.feature { display: grid; gap: var(--s-5); padding-bottom: var(--s-10); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.feature__title { font-size: var(--t-h2); line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; }
.feature__title a, .editorial__title a { text-decoration: none; }
.feature__title a:hover, .editorial__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.feature .caption { margin-top: var(--s-2); }
.feature__text { margin-top: var(--s-3); max-width: 52ch; font-size: 1.0625rem; line-height: 1.55; color: var(--on-dark-2); }
.story__grid { display: grid; gap: var(--s-10); margin-top: var(--s-10); }
@media (min-width: 900px) {
  .story__lead-in { padding-top: var(--s-16); }
  .feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-10); align-items: start; }
  .story__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-12); }
  .story__grid > * + * { position: relative; }
  .story__grid > * + *::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--s-12) / -2); width: 1px; background: rgba(255, 255, 255, 0.2); }
}

/* ---------- Editorial blocks (programs, projects) ---------- */
.editorial { display: grid; align-content: start; gap: var(--s-2); }
.editorial .media { margin-bottom: var(--s-3); }
.editorial__title { font-size: var(--t-title); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.editorial__text { font-size: var(--t-small); line-height: 1.5; color: var(--gray-6); }
.band-dark .editorial__text { color: var(--on-dark-2); }
.editorial__fact { font-size: var(--t-caption); color: var(--gray-5); }

/* ---------- Region 5: work ---------- */
.work { padding: var(--s-12) 0 var(--s-16); }
.work__grid { display: grid; gap: var(--s-10); margin-top: var(--s-8); }
@media (min-width: 768px) {
  .work { padding-top: var(--s-16); }
  .work__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-12); }
  .work__grid > * + * { position: relative; }
  .work__grid > * + *::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--s-12) / -2); width: 1px; background: var(--line); }
}
.wall-title { text-wrap: balance; margin-top: var(--s-16); padding-top: var(--s-4); border-top: 1px solid var(--ink); font-size: var(--t-small); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.logo-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s-6); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.logo-wall__item {
  display: grid; place-items: center; height: 104px; padding: var(--s-5);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.logo-wall__item img { max-height: 40px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter 150ms var(--ease), opacity 150ms var(--ease); }
.logo-wall__item:hover img { filter: none; opacity: 1; }
/* Source files with an opaque black background (Qualcomm, TopCV): inverted inside the grayscale wall so the box reads white. */
.logo-wall__item img.logo--invert, .logo-wall__item:hover img.logo--invert { filter: grayscale(1) invert(1); mix-blend-mode: multiply; }
/* A square mark (Hanoma) gets more height so its ink weighs about the same as the wordmarks. */
.logo-wall__item img.logo--square { max-height: 64px; }
.logo-wall__name { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--gray-6); text-align: center; }
@media (min-width: 600px) { .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .logo-wall { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* ---------- Region 6: contact close ---------- */
.close { padding: var(--s-16) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.close__inner { display: grid; gap: var(--s-5); }
.close__title { font-size: var(--t-page); line-height: 1.05; font-weight: 600; letter-spacing: -0.04em; max-width: 18ch; text-wrap: balance; }
.close__text { max-width: 52ch; font-size: 1.0625rem; color: var(--on-dark-2); }
.close__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-3); }
@media (min-width: 1024px) {
  .close { padding: var(--s-20) 0; }
  .close__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .close__title { grid-row: 1 / span 2; }
}

/* ---------- Footer ---------- */
.site-footer { padding: var(--s-12) 0 var(--s-8); font-size: var(--t-small); }
.site-footer__grid { display: grid; gap: var(--s-8); }
.site-footer__logo { width: auto; height: 40px; }
.site-footer__tagline { margin-top: var(--s-3); color: var(--on-dark-2); max-width: 28ch; }
.site-footer__nav ul { display: grid; gap: var(--s-1); }
.site-footer__nav a, .site-footer__contact a { display: inline-flex; min-height: 32px; align-items: center; color: var(--white); text-decoration: none; }
.site-footer__nav a:hover, .site-footer__contact a:hover { text-decoration: underline; }
.site-footer__heading { font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: var(--s-3); }
.site-footer__contact address { display: grid; gap: var(--s-2); color: var(--on-dark-2); }
/* Bottom row: company lines on the left, the designer credit pinned right (stacks below on small screens). */
.site-footer__bottom { display: grid; gap: var(--s-3); margin-top: var(--s-10); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, 0.16); color: var(--on-dark-2); font-size: var(--t-caption); }
.site-footer__legal { display: grid; gap: var(--s-1); }
.site-footer__credit { font-size: var(--t-label); }
.site-footer__credit a { display: inline-flex; align-items: center; gap: 2px; min-height: 32px; color: var(--white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
.site-footer__credit a:hover { text-decoration-color: currentColor; }
.site-footer__credit .icon { width: 1em; height: 1em; }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); }
  .site-footer__nav ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-6); }
  .site-footer__bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--s-8); }
}

/* ---------- Inner pages ---------- */
.page-hero { padding: var(--s-8) 0 var(--s-12); border-bottom: 1px solid var(--gray-2); }
.page-hero__grid { display: grid; gap: var(--s-8); }
.page-hero__title { font-size: var(--t-page); line-height: 1.04; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; max-width: 18ch; }
.page-hero__lead { margin-top: var(--s-5); max-width: 58ch; font-size: 1.125rem; line-height: 1.55; color: var(--gray-6); }
@media (min-width: 1024px) {
  .page-hero { padding: var(--s-12) 0 var(--s-16); }
  .page-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s-12); align-items: end; }
  .page-hero__grid--text { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}
.crumbs { margin-bottom: var(--s-5); font-size: var(--t-caption); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--gray-5); }
.crumbs a { color: var(--gray-6); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
/* Touch screens: small text links get a 44px hit area. Breadcrumbs grow the target with padding offset by a
   negative margin, so the hero does not move; footer links simply get taller (FINDING-011). */
@media (pointer: coarse) {
  .crumbs a { display: inline-block; padding-block: 14px; margin-block: -14px; }
  .site-footer__nav a, .site-footer__contact a, .site-footer__credit a { min-height: 44px; }
}

.section { padding: var(--s-12) 0; }
@media (min-width: 768px) { .section { padding: var(--s-16) 0; } }
.section + .section { padding-top: 0; }
.prose { max-width: 66ch; font-size: 1.0625rem; line-height: 1.65; color: var(--gray-6); }
.prose p + p { margin-top: var(--s-4); }
.prose--wide { margin-top: var(--s-6); }

.item-list { display: grid; margin-top: var(--s-8); border-top: 1px solid var(--line); }
.item-list__item { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s-2); }
.item-list__title { font-size: var(--t-card); font-weight: 600; letter-spacing: -0.015em; }
.item-list__item p { color: var(--gray-6); max-width: 60ch; }
@media (min-width: 768px) {
  .item-list__item { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-8); }
}
.band-dark .item-list, .band-dark .item-list__item { border-color: rgba(255, 255, 255, 0.2); }
.band-dark .item-list__item p { color: var(--on-dark-2); }

.steps { display: grid; margin-top: var(--s-8); border-top: 1px solid var(--ink); counter-reset: none; }
.steps__item { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--s-1) var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.steps__n { font-size: var(--t-small); font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; padding-top: 2px; }
.steps__text { font-size: var(--t-card); font-weight: 600; }
.steps__desc { grid-column: 2; color: var(--gray-6); font-size: var(--t-small); }
@media (min-width: 1024px) {
  .steps--row { grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
  .steps--row .steps__item { grid-template-columns: minmax(0, 1fr); padding: var(--s-5) var(--s-5) var(--s-5) 0; border-bottom: 0; }
  .steps--row .steps__item + .steps__item { padding-left: var(--s-5); border-left: 1px solid var(--line); }
  .steps--row .steps__desc { grid-column: 1; }
}

.grid-2, .grid-3 { display: grid; gap: var(--s-10); margin-top: var(--s-8); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-10) var(--s-8); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-10) var(--s-8); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8) var(--s-5); margin-top: var(--s-8); }
@media (min-width: 768px) { .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Four people: 2×2 until there is room for one row, never a 3+1 orphan. */
@media (min-width: 768px) { .people-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .people-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.person-bio { margin-top: var(--s-2); font-size: var(--t-small); line-height: 1.5; color: var(--gray-6); }
@media (min-width: 768px) { 
.callout { margin-top: var(--s-8); padding: var(--s-5) var(--s-6); background: var(--gray-1); border-radius: var(--radius); max-width: 72ch; color: var(--gray-6); }
.callout strong { color: var(--ink); }
.callout--stack { display: grid; gap: var(--s-3); }
.split { display: grid; gap: var(--s-10); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-12); } }
.statement { font-size: var(--t-h3); line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.label { font-size: var(--t-small); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: var(--s-3); }
.bullets { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.bullets li { padding-left: var(--s-5); position: relative; color: var(--gray-6); max-width: 64ch; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 2px; background: var(--red); }
.band-dark .bullets li { color: var(--on-dark-2); }
.band-dark .bullets li::before { background: var(--red-on-dark); }
.section--dark, .section + .section--dark { padding: var(--s-16) 0; }
.section--dark + .section { padding-top: var(--s-12); }

/* ---------- Contact page ---------- */
.contact { display: grid; gap: var(--s-12); }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-16); } }
.form { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 600px) { .form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--t-small); font-weight: 600; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: var(--s-3) var(--s-4);
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 150ms var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-5); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { font-size: var(--t-small); font-weight: 600; color: var(--red); }
.field__error:empty { display: none; }
.form__note { padding: var(--s-4); background: var(--gray-1); border-left: 0; border-radius: var(--radius); font-size: var(--t-small); color: var(--gray-6); }
.form__note strong { color: var(--ink); }
.form__consent { font-size: var(--t-caption); color: var(--gray-5); max-width: 60ch; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.js .form__nojs, .no-js [data-requires-js] { display: none; }
.form__nojs { padding: var(--s-4); background: var(--gray-1); border-radius: var(--radius); font-size: var(--t-small); }
.form-result { padding: var(--s-6); border-radius: var(--radius); border: 1px solid var(--ink); display: grid; gap: var(--s-3); }
.form-result[hidden] { display: none; }
.form + .form-result, .form-result + .form-result { margin-top: var(--s-8); }
.form-result__title { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; }
.form-result__text { color: var(--gray-6); }
.form-result--error { border-color: var(--red); }
.form-result pre {
  margin: 0; padding: var(--s-4); background: var(--gray-1); border-radius: var(--radius);
  font: inherit; font-size: var(--t-small); white-space: pre-wrap; word-break: break-word; max-height: 240px; overflow: auto;
}
.contact-card { display: grid; gap: var(--s-5); align-content: start; }
.contact-card__row { display: grid; gap: var(--s-1); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.contact-card__label { font-size: var(--t-label); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-5); }
.contact-card__value { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); font-size: var(--t-card); font-weight: 600; }
.contact-card__value a { text-decoration: none; }
.contact-card__value a:hover { text-decoration: underline; }
.copy-btn {
  display: inline-flex; align-items: center; gap: var(--s-1); min-height: 32px; padding: 0 var(--s-2);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer;
  font-size: var(--t-caption); font-weight: 600; color: var(--gray-6);
}
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.copy-btn.is-copied { border-color: var(--ink); color: var(--ink); }
.no-js .copy-btn { display: none; }
@media (pointer: coarse) { .copy-btn { min-height: 44px; padding: 0 var(--s-3); } }
.wall-title--first { margin-top: 0; }
/* Strategic partnerships (NSSC, VnEconomy) sit with the client proof, one weight above caption text. */
.wall-partners { margin-top: var(--s-2); font-size: var(--t-small); color: var(--gray-6); }
.figure-cap { margin-top: var(--s-3); }
/* A gallery of one: the photo takes 7 columns and its caption sits beside it, bottom-aligned,
   instead of a half-empty two-up row (design review FINDING-004). */
@media (min-width: 768px) {
  .grid-2 > figure:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: end; }
  .grid-2 > figure:only-child .figure-cap { margin-top: 0; padding-top: var(--s-3); border-top: 1px solid var(--ink); font-size: var(--t-small); max-width: 36ch; }
}

/* ---------- Articles: "Bài viết mới trên VnEconomy" (Hệ sinh thái pages; brief .impeccable/surfaces/he-sinh-thai.md) ----------
   Whole blocks are single links to vneconomy.vn (new tab), so they may be cards; no shadows, no image zoom.
   Three layouts, one per page: feature (Chuyên mục), split (Hệ sinh thái), wide (Seal the Deals). */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); }
.article-meta time { color: var(--gray-5); }
.article-meta__icon { width: 1em; height: 1em; color: var(--gray-5); }
.article-lead, .article-row { color: var(--ink); text-decoration: none; }
.article-lead__title, .article-row__title {
  text-wrap: balance; text-decoration-thickness: 1px; text-underline-offset: 0.18em;
}
.article-lead:hover .article-lead__title, .article-row:hover .article-row__title { text-decoration-line: underline; }
.article-row__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}

/* A — feature: one lead article beside four ruled rows (TED's featured talk + list). */
.articles__feature { display: grid; gap: var(--s-8); margin-top: var(--s-8); }
.article-lead { display: grid; gap: var(--s-3); align-content: start; }
.article-lead .media { margin-bottom: var(--s-1); }
.article-lead__title { font-size: var(--t-h2); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; }
.article-rows { border-top: 1px solid var(--line); }
.article-rows li { border-bottom: 1px solid var(--line); }
.article-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-4); align-items: start; padding: var(--s-4) 0; }
.article-row__body { display: grid; gap: var(--s-2); }
.article-row__title { font-size: 1rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
@media (min-width: 1024px) {
  .articles__feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-10); align-items: start; }
  .article-row { grid-template-columns: 112px minmax(0, 1fr); }
  .article-rows li:first-child .article-row { padding-top: 0; }
  .article-rows { border-top: 0; }
}

.article-lead__summary {
  font-size: 1rem; line-height: 1.55; color: var(--gray-6); max-width: 62ch;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}

/* A2 — split: lead text left, large photo right; a 1px rule, then four columns divided by vertical rules (TED topic row). */
.article-split, .article-wide__lead, .article-col { color: var(--ink); text-decoration: none; }
.article-split { display: grid; gap: var(--s-5); margin-top: var(--s-8); }
.article-split__copy, .article-wide__copy { display: grid; gap: var(--s-3); align-content: center; }
.article-split__title {
  font-size: var(--t-h2); line-height: 1.12; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance;
  text-decoration-thickness: 1px; text-underline-offset: 0.15em;
}
.article-split__media { order: -1; }
.article-cols { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: var(--s-8); border-top: 1px solid var(--line); }
.article-cols li { padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.article-col { display: grid; gap: var(--s-3); align-content: start; }
.article-col__title {
  font-size: var(--t-card); line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance;
  text-decoration-thickness: 1px; text-underline-offset: 0.18em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.article-split:hover .article-split__title, .article-wide__lead:hover .article-split__title,
.article-col:hover .article-col__title { text-decoration-line: underline; }
/* Columns are equal; the vertical rule is drawn in the middle of the 48px gap, so every photo has the same width. */
.article-cols li { position: relative; }
@media (min-width: 600px) {
  .article-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-12); }
  .article-cols li { padding: var(--s-6) 0 var(--s-2); border-bottom: 0; }
  .article-cols li:nth-child(even)::before {
    content: ""; position: absolute; top: var(--s-6); bottom: 0; left: calc(var(--s-12) / -2); border-left: 1px solid var(--line);
  }
}
@media (min-width: 1024px) {
  .article-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-10); align-items: center; }
  .article-split__media { order: 0; }
  .article-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .article-cols--4 li:not(:first-child)::before {
    content: ""; position: absolute; top: var(--s-6); bottom: 0; left: calc(var(--s-12) / -2); border-left: 1px solid var(--line);
  }
}

/* A3 — wide: a wide lead photo across the container; under it the lead text (half) beside two ruled columns (TED topic page). */
.article-wide { margin-top: var(--s-8); }
.article-wide__lead { display: grid; gap: var(--s-5); }
.article-wide__media { aspect-ratio: 16 / 9; }
.article-wide .article-cols { margin-top: var(--s-6); }
@media (min-width: 768px) { .article-wide__media { aspect-ratio: 21 / 9; } }
/* The lead link spans the whole grid through subgrid (so it stays one real, focusable link); its photo fills row 1
   and its text sits in row 2, column 1; the two smaller articles take row 2, column 2, on top of the link's empty half. */
@media (min-width: 1024px) {
  .article-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--s-12); }
  .article-wide__lead { grid-column: 1 / -1; grid-row: 1 / 3; grid-template-columns: subgrid; grid-template-rows: subgrid; row-gap: 0; }
  .article-wide__media { grid-column: 1 / -1; grid-row: 1; }
  .article-wide__copy { grid-column: 1; grid-row: 2; align-content: start; padding-top: var(--s-6); }
  .article-wide .article-cols { grid-column: 2; grid-row: 2; position: relative; margin-top: 0; border-top: 0; }
  .article-wide .article-cols li { padding-top: var(--s-6); }
  .article-wide .article-cols li:first-child::before {
    content: ""; position: absolute; top: var(--s-6); bottom: 0; left: calc(var(--s-12) / -2); border-left: 1px solid var(--line);
  }
}
