/* =========================================================
   BRALY — design tokens (Palette A · "Braly Electric")
   ========================================================= */
:root {
  --ink: #0A0F1F;
  --night: #0D1736;
  --paper: #F4F6FB;
  --paper-2: #E8ECF4;
  --white: #FFFFFF;
  --blue: #3D6BFF;
  --blue-300: #8FB0FF;
  --blue-900: #132A7A;
  --citrus: #E4FF3C;
  --coral: #FF6A4D;
  --muted: #5B6275;
  --muted-dark: #9AA3B8;
  --line: rgba(10, 15, 31, .1);
  --line-dark: rgba(143, 176, 255, .18);
  --grad: linear-gradient(135deg, #7FA6FF 0%, #3D6BFF 42%, #1A3BB8 100%);

  /* one easy-to-read family everywhere (like codeway.co's General Sans, but with full Vietnamese support) */
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1);

  --max: 1440px;
  --gut: clamp(20px, 4.4vw, 64px);
  --r-card: 24px;
  --shadow-tile: 0 1px 1px rgba(10,15,31,.04), 0 8px 24px -8px rgba(10,15,31,.18), 0 32px 64px -24px rgba(10,15,31,.22);
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--citrus); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* film grain — removes the flat "machine-made" look */
body::after { content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .045; transform: translateZ(0);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; font-weight: inherit; color: var(--blue); }
.dark em, .on-dark em { color: var(--blue-300); }
.d-xl { font-size: clamp(52px, 8.6vw, 136px); }
.d-l { font-size: clamp(34px, 4.6vw, 68px); }
.d-m { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.2vw, 48px); letter-spacing: -0.035em; line-height: 1.05; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 52ch; }
.dark .lead { color: var(--muted-dark); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--blue); box-shadow: 10px 0 0 var(--citrus); margin-right: 10px; }
.dark .eyebrow { color: var(--muted-dark); }
.tnum { font-variant-numeric: tabular-nums; }
.note { font-size: 13px; color: var(--muted); max-width: 70ch; }
.dark .note { color: var(--muted-dark); }

/* line reveal (SplitText) */
.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }
.line-mask { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
/* SplitText line masks: headroom so stacked Vietnamese diacritics (ẫ, ầ, ồ) and descenders aren't clipped */
.ln-mask { padding: .16em 0 .08em; margin: -.16em 0 -.08em; }

/* =========================================================
   Layout
   ========================================================= */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(96px, 12vw, 192px) 0; position: relative; }
.section.tight { padding: clamp(64px, 8vw, 120px) 0; }
.dark { background: var(--night); color: #fff; }
.ink-bg { background: var(--ink); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 88px); }
.head-row .d-l { max-width: 14ch; }

/* =========================================================
   Buttons & links
   ========================================================= */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color .35s var(--ease-snap); will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease-out); }
.btn:hover::before { transform: none; }
.btn .arr { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; transition: transform .45s var(--ease-out), background .35s; }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink::before { background: var(--citrus); }
.btn-ink:hover { color: var(--ink); }
.btn-ink .arr { background: rgba(255,255,255,.14); }
.btn-ink:hover .arr { background: var(--ink); color: var(--citrus); }
.btn-citrus { background: var(--citrus); color: var(--ink); }
.btn-citrus::before { background: #fff; }
.btn-citrus .arr { background: var(--ink); color: var(--citrus); }
.btn-line { height: 56px; padding: 0 26px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; background: transparent; }
.btn-line::before { background: currentColor; }
.btn-line:hover { color: var(--paper); }
.on-dark .btn-line:hover, .dark .btn-line:hover { color: var(--ink); }
.ulink { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding: 6px 0; }
.ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease-out); }
.ulink:hover::after { transform: scaleX(0); transform-origin: left; animation: uline .6s .25s var(--ease-out) forwards; }
@keyframes uline { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.ulink svg { transition: transform .45s var(--ease-out); }
.ulink:hover svg { transform: translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.hdr { position: fixed; inset: 0 0 auto; z-index: 80; transition: transform .6s var(--ease-out), background .4s, box-shadow .4s; }
.hdr.solid { background: rgba(244,246,251,.78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr .logo img, .hdr .menu a, .hdr .lang, .hdr .lang button { transition: filter .4s, color .4s, background .4s; }
.hdr.over-dark.solid { background: rgba(13,23,54,.72); box-shadow: 0 1px 0 var(--line-dark); }
.hdr.over-dark .logo img { filter: brightness(0) invert(1); }
.hdr.over-dark .menu a { color: #fff; }
.hdr.over-dark .menu a.on { color: var(--citrus); }
.hdr.over-dark .lang { background: rgba(255,255,255,.12); }
.hdr.over-dark .lang button { color: var(--muted-dark); }
.hdr.over-dark .lang button.on { color: var(--ink); }
.hdr.over-dark .btn-ink { background: #fff; color: var(--ink); }
.hdr.over-dark .btn-ink .arr { background: var(--ink); color: #fff; }
.hdr .bar { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo img { height: 30px; width: auto; }
.menu { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.menu a { position: relative; font-size: 15px; font-weight: 500; padding: 6px 0; color: var(--ink); }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.menu a:hover::after, .menu a.on::after { transform: scaleX(1); transform-origin: left; }
.menu a.on { color: var(--blue); }
.tools { display: flex; align-items: center; gap: 16px; }
.lang { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.lang button { position: relative; z-index: 1; border: 0; background: none; padding: 7px 12px; font-size: 12px; font-weight: 700; letter-spacing: .04em; cursor: pointer; color: var(--muted); transition: color .3s; }
.lang button.on { color: var(--ink); }
.lang i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(10,15,31,.12); transition: transform .45s var(--ease-out); }
.lang[data-l="en"] i { transform: translateX(100%); }
.hdr .btn { height: 46px; padding: 0 8px 0 20px; font-size: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; transition: transform .5s var(--ease-out), opacity .3s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.nav-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 70; background: var(--ink); color: #fff; padding: 120px var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.nav-open .drawer { clip-path: inset(0 0 0 0); }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { overflow: clip; }
.drawer a { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 11vw, 64px); letter-spacing: -0.03em; line-height: 1.1; transform: translateY(100%); transition: transform .8s var(--ease-out); }
.nav-open .drawer a { transform: none; }
.drawer li:nth-child(2) a { transition-delay: .05s; } .drawer li:nth-child(3) a { transition-delay: .1s; } .drawer li:nth-child(4) a { transition-delay: .15s; } .drawer li:nth-child(5) a { transition-delay: .2s; } .drawer li:nth-child(6) a { transition-delay: .25s; }
.drawer a.on { color: var(--citrus); }
.drawer .foot-mini { color: var(--muted-dark); font-size: 14px; }
.nav-open .hdr .logo img, .nav-open .hdr .lang { filter: invert(1) hue-rotate(180deg); }
.nav-open .hdr .burger { background: var(--citrus); color: var(--ink); }

/* =========================================================
   App tile (brand unit)
   ========================================================= */
.tile { position: relative; display: block; aspect-ratio: 1; border-radius: 23%; overflow: hidden; background: #fff; box-shadow: var(--shadow-tile); }
.tile img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   HOME — Hero "App constellation"
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding: 132px 0 36px; overflow: clip; }
.hero > .wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero > .wrap { width: 100%; min-width: 0; }
.hero-copy { position: relative; z-index: 3; max-width: min(56vw, 820px); padding: clamp(24px, 6vh, 72px) 0; }
.hero h1 { font-size: clamp(48px, 6.6vw, 112px); } /* home hero stays big; inner-page titles (.phero h1) are smaller */
.hero h1 { margin: 26px 0 30px; }
.hero .lead { max-width: 44ch; }
/* desktop: keep the lead short of the icon orbit's left end (it reached the orbit around 1024px wide) */
@media (min-width: 901px) { .hero .lead { max-width: min(44ch, 46vw); } }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.hero-meta { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: auto; padding-bottom: 4px; padding-top: 22px; border-top: 1px solid var(--line); }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 40px; }
.ticks div { font-size: 14px; color: var(--muted); }
.ticks b { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); margin-right: 8px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.scroll-cue i { position: relative; width: 1.5px; height: 40px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--ink); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

.stars { position: absolute; top: 0; bottom: 0; left: max(0px, calc(50% - 800px)); right: max(0px, calc(50% - 800px)); z-index: 1; pointer-events: none; }
.hero-art { --aw: clamp(270px, 25vw, 460px); position: absolute; left: calc(76% - var(--aw) / 2); top: calc(51% - var(--aw) / 2); width: var(--aw); aspect-ratio: 1; z-index: 2; }
.art-in { position: relative; width: 100%; height: 100%; }
.orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.orbit-ring.front { z-index: 3; }
.orbit-ring path { fill: none; stroke: rgba(61,107,255,.2); stroke-width: 1.2; }
.orbit-ring.front path { stroke: rgba(61,107,255,.42); stroke-width: 1.4; }
.orb { position: absolute; left: 0; top: 0; width: clamp(64px, 5.4vw, 92px); z-index: 1; pointer-events: auto; will-change: transform, opacity; opacity: 0; }
.orb .tile { transition: transform .5s var(--ease-out), box-shadow .5s; }
.orb:hover .tile { transform: scale(1.14) rotate(-4deg); box-shadow: 0 20px 40px -14px rgba(30,60,200,.45); }
.hero-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(30,60,200,.28)); will-change: transform; }
.hero-art .glow { position: absolute; inset: -28%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(61,107,255,.30), rgba(143,176,255,.12) 45%, rgba(61,107,255,0) 72%); }
.prop { position: absolute; width: var(--s); z-index: 5; pointer-events: none; will-change: transform; }
.prop img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(30,60,200,.25)); }
.hero-b-m { display: none; }
.b3d { position: absolute; left: -20%; top: -20%; width: 140%; height: 140%; z-index: 1; pointer-events: none; }
.b3d-ready > .art-in > img, .hero-b-m.b3d-ready > img { visibility: hidden; }
/* still render of the 3D B: same box as the WebGL canvas, so swapping to live 3D causes no jump */
.hero-art img.b3d-still, .hero-b-m > img.b3d-still { position: absolute; left: -20%; top: -20%; width: 140%; height: 140%; max-width: none; object-fit: contain; filter: none; }
.star { position: absolute; width: var(--s); pointer-events: auto; will-change: transform; }
.star .p, .star .f { will-change: transform; }
.star .tile { transition: transform .5s var(--ease-out); }
.star:hover .tile { transform: scale(1.06) rotate(-3deg); }
.star.far { filter: blur(1.2px) saturate(.9); opacity: .8; }
.morph-cap { position: absolute; left: 0; right: 0; top: 14vh; z-index: 6; text-align: center; opacity: 0; pointer-events: none; }
.morph-cap h2 { font-size: clamp(36px, 4.6vw, 72px); }
/* "A few of Braly's 40+ apps" — a short plain line under the tile grid (desktop) / icon strip (phones) */
.hero-strip { display: none; }

/* =========================================================
   HOME — Numbers (dark)
   ========================================================= */
.numbers { position: relative; overflow: clip; }
.numbers::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 0%, rgba(61,107,255,.35), transparent 60%); pointer-events: none; }
.odo { display: inline-flex; align-items: flex-start; overflow: clip; height: .9em; line-height: .9; }
.odo .col { display: flex; flex-direction: column; align-items: flex-start; }
.odo .col span { height: .9em; display: block; }

/* Bento of key numbers */
.nbento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; perspective: 1400px; }
.nt { position: relative; border-radius: 28px; padding: clamp(24px, 2.6vw, 40px); overflow: hidden; isolation: isolate; background: #131D45; box-shadow: inset 0 0 0 1px rgba(143,176,255,.12); transform-style: preserve-3d; will-change: transform; }
.nt::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 62%); opacity: 0; transition: opacity .5s; }
.nt:hover::before { opacity: 1; }
.nt-num { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: .9; font-size: clamp(56px, 5.4vw, 88px); display: flex; align-items: flex-start; }
.nt-num sup { font-size: .38em; line-height: 1; margin: .1em 0 0 .05em; color: var(--blue-300); letter-spacing: -0.02em; }
.nt-k { margin-top: 12px; font-size: 15px; color: var(--muted-dark); }
.chip { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 15px 0 13px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .03em; background: rgba(255,255,255,.07); color: rgba(255,255,255,.88); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 10px 24px -14px rgba(0,0,0,.5); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); align-self: flex-start; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--citrus); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(228,255,60,.7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(228,255,60,0); } }

/* 300M+ · globe */
.nt-globe { grid-column: span 7; grid-row: span 2; min-height: 600px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(120% 95% at 88% 22%, #2E55E6 0%, #182A7C 42%, #0E1838 100%); }
/* canvas is 10% larger than the globe needs so its halo is never clipped; offsets keep the globe where it was */
.nt-globe { container-type: inline-size; }
.nt-globe .globe-wrap { position: absolute; z-index: 0; right: -27%; top: calc(-16% - 5cqw); width: 110%; aspect-ratio: 1; }
.nt-globe .globe-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.nt-globe .globe-wrap.dragging canvas { cursor: grabbing; }
.nt-globe .globe-img { display: none; width: 100%; height: 100%; object-fit: contain; }
.no-globe .nt-globe .globe-img { display: block; }
.no-globe .nt-globe canvas { display: none; }
.nt-globe > .chip, .nt-globe > div:not(.globe-wrap) { position: relative; z-index: 2; pointer-events: none; }
.nt-globe .nt-num { font-size: clamp(104px, 12.4vw, 200px); }
.nt-globe .nt-num sup { color: var(--citrus); }
.nt-globe .nt-cap { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); color: #C9D6FF; max-width: 24ch; line-height: 1.4; }

/* 40+ products · 2M+ daily users: number only, its motion is the visual (odometer / K count-up) */
.nt-apps, .nt-live { grid-column: span 5; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; }
.nt-apps .nt-num, .nt-live .nt-num { font-size: clamp(88px, 8.6vw, 140px); }
.nt-apps .nt-k, .nt-live .nt-k { margin-top: 14px; font-size: clamp(15px, 1.2vw, 18px); }
.nt-live { background: var(--citrus); color: var(--ink); box-shadow: none; }
.nt-live .nt-num sup { color: var(--ink); opacity: .55; }
.nt-live .nt-k { color: rgba(10,15,31,.68); }
.nt-live::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.5), transparent 62%); }

/* 2022 · timeline */

/* =========================================================
   HOME — Featured apps: brand-card carousel
   ========================================================= */
.bs-sec { padding: clamp(48px, 6vw, 96px) 0; }
.bs-pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 3vw, 44px); }
.bs-pin > * { flex-shrink: 0; }
.bs-pin > .wrap { width: 100%; }
.bs-pin .head-row { margin-bottom: 0; }
.bs-pin .head-row .d-l { max-width: 20ch; font-size: clamp(32px, 4vw, 60px); }
/* padding gives the hover lift and card shadow room inside the clip; negative margin keeps the layout unchanged */
.bs-strip { overflow: clip; padding: 28px 0 76px; margin: -28px 0 -76px; }
.bs-track { --side: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); display: flex; gap: 20px; width: max-content; padding: 0 var(--side); }
.bs-bar { position: relative; height: 2px; border-radius: 2px; background: rgba(10,15,31,.1); overflow: hidden; }
.bs-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
@media (min-width: 901px) {
  .bs-pin { min-height: 100vh; min-height: 100svh; padding: 92px 0 28px; }
  .bs-track .bcard { height: clamp(380px, calc(100svh - 440px), 520px); }
}

.bcard { --w: clamp(270px, 23vw, 340px); --p: 22px; --bg: #FFFFFF; --fg: var(--ink); --line: rgba(10,15,31,.08); position: relative; flex: none; width: var(--w); height: clamp(430px, 58vh, 520px); display: flex; flex-direction: column; padding: var(--p) var(--p) 0; border-radius: 28px; background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(10,15,31,.06), 0 1px 2px rgba(10,15,31,.04); overflow: hidden; isolation: isolate; transition: translate .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.bcard:hover { translate: 0 -8px; box-shadow: inset 0 0 0 1px rgba(10,15,31,.06), 0 44px 64px -40px rgba(10,15,31,.35); }
.bc-hit { position: absolute; inset: 0; z-index: 4; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.bc-hit:focus-visible { outline: none; }
.bcard:has(> .bc-hit:focus-visible) { outline: 2px solid var(--blue); outline-offset: -4px; } /* on the card, so .bc-info cannot cover the ring */
.bc-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 600; }
.bc-cat { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(10,15,31,.05); color: rgba(10,15,31,.7); }
.bc-top .bc-rate { flex: none; margin-left: 10px; }
.bc-rate { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.bc-rate b { font-weight: 700; }
.rstars { --s: 13px; display: block; width: calc(var(--s) * 5); height: var(--s); background: linear-gradient(90deg, #F2A900 calc(var(--r) / 5 * 100%), rgba(10,15,31,.16) 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6 6.6.8-4.9 4.5 1.3 6.5L12 17.2l-5.9 3.2 1.3-6.5L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 6 6.6.8-4.9 4.5 1.3 6.5L12 17.2l-5.9 3.2 1.3-6.5L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; }
.bc-media { position: relative; flex: 1; min-height: 0; margin: 0 calc(var(--p) * -1); container-type: size; }
.bc-glow { position: absolute; left: 50%; top: 50%; width: 96%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 22%, transparent), transparent 72%); opacity: 0; transition: transform 1s var(--ease-out), opacity 1s; }
.bc-icon { position: absolute; left: 50%; top: 50%; width: min(46cqw, 66cqh); height: auto; translate: -50% -50%; border-radius: 23%; box-shadow: 0 26px 36px -20px rgba(10,15,31,.38), 0 6px 14px -8px rgba(10,15,31,.2); transition: transform .9s var(--ease-out), opacity .6s; }
/* fan of 3 real screenshots (no device frame), hidden below until hover / tap */
.bc-shots { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bc-shots img { position: absolute; left: 50%; top: 5%; width: min(36cqw, 62cqh); height: auto; aspect-ratio: 9 / 16; object-fit: cover; object-position: center top; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(10,15,31,.07), 0 26px 40px -18px rgba(10,15,31,.42); opacity: 0; translate: -50% 70%; rotate: 0deg; transition: translate .85s var(--ease-out), rotate .85s var(--ease-out), opacity .45s; }
.bc-shots img:nth-child(1) { z-index: 3; }
.bc-shots img:nth-child(2) { transition-delay: .05s; }
.bc-shots img:nth-child(3) { transition-delay: .1s; }
.bcard.open .bc-icon { transform: translateY(-34%) scale(.62); opacity: 0; }
.bcard.open .bc-glow { transform: translateY(-10%) scale(1.3); opacity: 1; }
.bcard.open .bc-shots img { opacity: 1; }
.bcard.open .bc-shots img:nth-child(1) { translate: -50% 0; }
.bcard.open .bc-shots img:nth-child(2) { translate: -104% 8%; rotate: -11deg; }
.bcard.open .bc-shots img:nth-child(3) { translate: 4% 8%; rotate: 11deg; }
/* above .bc-hit so the store buttons get their own clicks; everything else in it lets clicks through to .bc-hit */
.bc-info { position: relative; z-index: 5; pointer-events: none; margin: 0 calc(var(--p) * -1); padding: 16px var(--p) var(--p); background: var(--bg); }
.bc-info::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 40px; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }
.bc-name { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1.05; }
.bc-desc { margin: 8px 0 0; min-height: 2.9em; font-size: 14px; line-height: 1.45; opacity: .62; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bc-bot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.bc-num { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.04em; line-height: .9; }
.bc-num small { display: block; margin-top: 7px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0; opacity: .65; }
.bc-stores { position: relative; z-index: 5; pointer-events: auto; display: flex; gap: 6px; }
.sbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.sbtn svg { width: 17px; height: 17px; }
.sbtn.gp { background: #fff; box-shadow: inset 0 0 0 1px rgba(10,15,31,.1), 0 4px 10px -6px rgba(10,15,31,.25); }
.sbtn.gp svg { translate: 1px 0; }
.sbtn.as { background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 6px 14px -6px rgba(0,0,0,.5); }
.sbtn.as svg { translate: 0 -1px; }
.sbtn:hover { transform: translateY(-2px) scale(1.06); }
.sbtn.gp:hover { box-shadow: inset 0 0 0 1px rgba(10,15,31,.12), 0 10px 18px -8px rgba(10,15,31,.35); }
.sbtn.as:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 12px 20px -8px rgba(0,0,0,.55); }
@media (hover: hover) and (pointer: fine) {
  .bcard:hover .bc-icon { transform: translateY(-34%) scale(.62); opacity: 0; }
  .bcard:hover .bc-glow { transform: translateY(-10%) scale(1.3); opacity: 1; }
  .bcard:hover .bc-shots img { opacity: 1; }
  .bcard:hover .bc-shots img:nth-child(1) { translate: -50% 0; }
  .bcard:hover .bc-shots img:nth-child(2) { translate: -104% 8%; rotate: -11deg; }
  .bcard:hover .bc-shots img:nth-child(3) { translate: 4% 8%; rotate: 11deg; }
}
/* last card: link to the full catalogue */
.bcard.more { --bg: var(--ink); --fg: #fff; --line: rgba(255,255,255,.12); --acc: var(--blue); box-shadow: none; }
.bcard.more .bc-cat { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.bc-mini { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-content: center; padding: 0 6%; }
.bc-mini img { width: 100%; height: auto; border-radius: 23%; transition: transform .8s var(--ease-out); }
.bcard.more:hover .bc-mini img:nth-child(odd) { transform: translateY(-8px) rotate(-6deg); }
.bcard.more:hover .bc-mini img:nth-child(even) { transform: translateY(6px) rotate(5deg); }
.bcard.more .bc-info::before { display: none; }
.bcard.more .bc-name { font-size: 28px; font-weight: 600; } .bcard.more .bc-name b { color: var(--citrus); font-weight: 700; }
.bc-go { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.bc-go i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--citrus); color: var(--ink); font-style: normal; transition: transform .5s var(--ease-out); }
.bc-go i svg { width: 16px; height: 16px; }
.bcard.more:hover .bc-go i { transform: translateX(6px); }

/* =========================================================
   Statement (word scrub)
   ========================================================= */
.statement { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; align-items: start; }
.statement + .statement { margin-top: clamp(72px, 10vw, 140px); }
.statement .k { font-family: var(--display); font-size: clamp(20px, 1.9vw, 30px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; color: var(--blue); padding-top: clamp(8px, 1.6vw, 26px); display: flex; align-items: center; gap: 16px; }
.statement .k::before { content: ""; flex: none; width: clamp(28px, 3vw, 48px); height: 2px; border-radius: 2px; background: currentColor; }
.statement h2 { font-size: clamp(34px, 5vw, 80px); }
.statement .w { display: inline-block; }

/* =========================================================
   Values — sticky stacking cards
   ========================================================= */
.stack { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.vcard { position: sticky; top: calc(110px + var(--i) * 26px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); min-height: min(520px, 72vh); margin-bottom: 40px; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--bg); color: var(--fg); transform-origin: 50% 0; overflow: hidden; }
.vcard:last-child { margin-bottom: 0; }
.vcard::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: #0A0F1F; opacity: var(--dim, 0); pointer-events: none; }
.vcard .no { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0; opacity: .7; }
.vcard h3 { font-size: clamp(34px, 4vw, 64px); margin: 18px 0 26px; }
.vcard p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; max-width: 34ch; opacity: .85; }
.vcard .ph { border-radius: 20px; overflow: hidden; min-height: 280px; }
.vcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.vcard .txt { display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 2; }
/* 3D object hugs the photo's bottom-left corner (≈40% over the photo), like before; the dim overlay (::after, z 5) still covers it */
.vobj { --ow: clamp(130px, 13vw, 190px); position: absolute; z-index: 1; right: calc(-1 * clamp(24px, 4vw, 64px) - var(--ow) * .4); bottom: -14px; width: var(--ow); height: auto; filter: drop-shadow(0 18px 20px var(--sh, rgba(10,15,31,.3))); animation: wobble 3.8s ease-in-out infinite; pointer-events: none; }
.vcard:nth-child(2) .vobj { animation-delay: -1.4s; } .vcard:nth-child(3) .vobj { animation-delay: -2.8s; } .vcard:nth-child(4) .vobj { animation-delay: -4.1s; }
@keyframes wobble { 0%, 100% { translate: 0 0; rotate: -6deg; } 22% { translate: 3px -14px; rotate: 5deg; } 48% { translate: -2px -22px; rotate: -4deg; } 74% { translate: 2px -9px; rotate: 7deg; } }

/* =========================================================
   CTA block + footer
   ========================================================= */
.cta { position: relative; overflow: clip; background: var(--grad); color: #fff; padding: clamp(96px, 14vw, 200px) 0; }
.cta::before { content: ""; position: absolute; right: -3vw; bottom: -12vw; width: 46vw; aspect-ratio: 544 / 622; background: rgba(255,255,255,.08); -webkit-mask: url("braly-b-mark.svg") no-repeat center / contain; mask: url("braly-b-mark.svg") no-repeat center / contain; pointer-events: none; }
.cta h2 { font-size: clamp(44px, 7vw, 116px); line-height: 1; }
.cta em { color: var(--citrus); }
.nw { white-space: nowrap; } /* keeps word pairs together inside split headlines */
.cta p { margin-top: 32px; font-size: clamp(18px, 1.6vw, 22px); max-width: 44ch; color: rgba(255,255,255,.82); }
.cta .acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.cta .btn-line { color: #fff; }
.cta .btn-line:hover { color: var(--blue-900); }

.ftr { background: var(--ink); color: #fff; padding-top: clamp(72px, 9vw, 120px); overflow: clip; }
.ftr .cols { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 40px; }
.ftr .tag { font-family: var(--display); font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; max-width: 14ch; }
.ftr h5 { margin: 0 0 18px; font-size: 13px; font-weight: 500; color: var(--muted-dark); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li a { transition: color .3s; }
.ftr li a:hover { color: var(--citrus); }
.ftr address { font-style: normal; color: rgba(255,255,255,.75); }
.soc { display: flex; gap: 10px; margin-top: 28px; }
.soc a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background .3s, color .3s; }
.soc a:hover { background: var(--citrus); color: var(--ink); }
.soc svg { width: 18px; height: 18px; }
.ftr .base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 72px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: var(--muted-dark); }
.ftr .base a:hover { color: #fff; }
/* full wordmark, sitting on the bottom edge with breathing room (no longer pushed below the fold of the footer) */
.wordmark { max-width: var(--max); margin: 40px auto 0; padding: 0 var(--gut) clamp(20px, 2.6vw, 40px); user-select: none; }
.wordmark svg { display: block; width: 100%; height: auto; overflow: visible; }
.wordmark .wm-stroke path { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; vector-effect: non-scaling-stroke; }
.wordmark .wm-mask path { fill: var(--ink); }
.wordmark .wm-fill path { fill: url(#wm-fill); }

/* =========================================================
   Sub-page hero
   ========================================================= */
.phero { padding: clamp(150px, 18vh, 220px) 0 clamp(56px, 7vw, 104px); }
.phero h1 { font-size: clamp(40px, 5.4vw, 84px); margin: 0; max-width: 18ch; }
.phero .lead { margin-top: 32px; }
.split-2 { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.reveal-img { border-radius: 28px; overflow: hidden; }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; }

/* About */
.about-copy p { font-size: 17px; color: var(--muted); }
.about-copy p + p { margin-top: 20px; }
.about-copy p:first-child { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.marquee { overflow: clip; }
.marquee .row { display: flex; gap: 20px; width: max-content; }
.marquee img { height: clamp(220px, 26vw, 380px); width: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; flex: none; }
.htrack-wrap { overflow: clip; }
.htrack { display: flex; gap: 20px; width: max-content; padding-right: var(--gut); }
/* tablet/phone: no pinned scroll — the milestones are a native swipe row (next card peeks in), snapping card by card */
@media (max-width: 900px) {
  .htrack-wrap { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .htrack-wrap::-webkit-scrollbar { display: none; }
  .htrack { gap: 14px; }
  .htrack .ms { width: min(78vw, 340px); min-height: 280px; padding: 26px; scroll-snap-align: start; }
}
.ms { flex: none; width: clamp(280px, 30vw, 420px); min-height: 340px; padding: 32px; border-radius: 28px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.ms:nth-child(2n) { background: var(--paper-2); }
.ms:last-child { background: var(--blue); color: #fff; }
.ms b { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 5vw, 76px); letter-spacing: -0.04em; line-height: .9; }
.ms p { font-size: 18px; line-height: 1.45; max-width: 22ch; }
.leaders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.leader { position: relative; }
.leader .ph { aspect-ratio: 4/5; border-radius: var(--r-card); background: linear-gradient(180deg, #EDEEF0, #E2E3E6); overflow: hidden; position: relative; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(10,15,31,.04); transition: translate .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.leader .ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1s var(--ease-out); }
.leader .ph::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; background: linear-gradient(to top, rgba(61,107,255,.62) 0%, rgba(127,166,255,.28) 30%, rgba(143,176,255,0) 60%); mix-blend-mode: screen; opacity: 0; transition: opacity .7s var(--ease-out); }
.leader b { display: inline-block; margin-top: 20px; padding-bottom: 4px; font-size: 20px; font-family: var(--display); letter-spacing: -0.02em; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease-out), color .4s; }
.leader small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; transition: color .4s; }
@media (hover: hover) and (pointer: fine) {
  .leader:hover .ph { translate: 0 -8px; box-shadow: inset 0 0 0 1px rgba(10,15,31,.04), 0 44px 64px -40px rgba(10,15,31,.35); }
  .leader:hover .ph img { transform: scale(1.05); }
  .leader:hover .ph::after { opacity: 1; }
  .leader:hover b { background-size: 100% 2px; }
  .leader:hover small { color: var(--blue); }
}

/* Products page */
.filterbar { position: sticky; top: 84px; z-index: 20; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 calc(var(--gut) * -1) 28px; padding: 12px var(--gut); background: rgba(244,246,251,.9); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); transition: top .6s var(--ease-out), box-shadow .3s; }
.hdr-hidden .filterbar { top: 0; }
.filterbar.stuck { box-shadow: 0 1px 0 var(--line); }
/* blocks filled by app.js keep their space until then, so the content below never jumps (CLS) */
#filterbar:empty { min-height: 70px; }
#pgrid:empty, #ngrid:empty, #jobs:empty, #article:empty, #job:empty { min-height: 100vh; }
.fchip { border: 0; cursor: pointer; padding: 12px 20px; border-radius: 999px; background: var(--paper-2); font-size: 14px; font-weight: 600; color: var(--ink); transition: background .3s, color .3s; }
.fchip:hover { background: #DCE2EE; }
.fchip.on { background: var(--ink); color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pgrid .bcard { width: auto; height: auto; min-height: 430px; aspect-ratio: 3 / 4.3; }
.pgrid .bcard.is-hidden { display: none !important; }

/* News */
.ngrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; }
.post { grid-column: span 4; display: flex; flex-direction: column; gap: 16px; }
.post.big { grid-column: span 8; grid-row: span 2; }
.post .th { border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.post.big .th { aspect-ratio: 16/11; }
.post .th img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post:hover .th img { transform: scale(1.06); }
.post time { font-size: 13px; font-weight: 500; color: var(--muted); }
.post h3 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; transition: color .3s; }
.post.big h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; }
.post:hover h3 { color: var(--blue); }
.post .ex { margin-top: -6px; font-size: 15px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Careers */
.jobs { border-top: 1px solid var(--line); }
.job { position: relative; display: grid; grid-template-columns: 6fr 2fr 2fr auto; gap: 24px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease-out), color .4s; }
.job:hover { padding-left: 24px; padding-right: 8px; }
.job h3 { font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -0.035em; font-weight: 800; line-height: 1.05; }
.job .team { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--blue); }
.job .m small { display: block; font-size: 12px; color: var(--muted); }
.job .m { font-size: 15px; }
.job .go { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .4s, color .4s, transform .6s var(--ease-out), box-shadow .4s; }
.job:hover .go { background: var(--citrus); box-shadow: none; transform: rotate(-45deg); }
.dgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.dcell { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: #fff; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; grid-column: span 4; }
.dcell:nth-child(1) { grid-column: span 7; background: var(--blue); color: #fff; }
.dcell:nth-child(2) { grid-column: span 5; background: var(--citrus); }
.dcell:nth-child(4) { background: var(--night); color: #fff; }
.dcell b { font-family: var(--display); font-weight: 800; font-size: 56px; letter-spacing: -0.04em; line-height: 1; opacity: .9; }
.dcell p { font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; max-width: 24ch; }

/* Contact */
.contact { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.channels { margin-top: 48px; display: grid; }
.channel { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.channel:last-child { border-bottom: 1px solid var(--line); }
.channel small { display: block; font-size: 13px; color: var(--muted); }
.channel a, .channel span { font-family: var(--display); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.02em; }
.channel a:hover { color: var(--blue); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: #fff; }
.fld { position: relative; padding-top: 18px; }
.fld.full { grid-column: 1 / -1; }
.fld input, .fld textarea { width: 100%; border: 0; border-bottom: 1.5px solid var(--line); background: transparent; padding: 14px 0 12px; font: inherit; font-size: 17px; color: var(--ink); border-radius: 0; transition: border-color .3s; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: 0; border-color: var(--ink); }
.fld label { position: absolute; left: 0; top: 32px; font-size: 17px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .4s var(--ease-out), color .3s; }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { transform: translateY(-26px) scale(.78); color: var(--ink); }
.fld label i { font-style: normal; color: var(--blue); }
.fld .bar2 { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.fld input:focus ~ .bar2, .fld textarea:focus ~ .bar2 { transform: scaleX(1); }
.fld textarea ~ .bar2 { bottom: 6px; }
.fld .msg { display: block; min-height: 20px; font-size: 13px; color: #D23B2C; padding-top: 6px; }
.fld.err input, .fld.err textarea { border-color: #D23B2C; }
.form .btn { margin-top: 18px; justify-self: start; }
.form-ok { grid-column: 1 / -1; margin-top: 12px; padding: 16px 18px; border-radius: 14px; background: #EEF7D9; color: #3A5410; display: none; font-size: 15px; }
.form-ok.show { display: block; }
.form-err { grid-column: 1 / -1; margin-top: 12px; padding: 16px 18px; border-radius: 14px; background: #FDECEA; color: #8A1C12; display: none; font-size: 15px; }
.form-err.show { display: block; }
.form-err a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form .hp { display: none; } /* honeypot for bots (Web3Forms botcheck) */
.form.sending .btn { opacity: .6; cursor: progress; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nt-globe { grid-column: span 12; grid-row: auto; min-height: 520px; }
  .nt-apps, .nt-live { grid-column: span 6; }
  .menu, .hdr .btn { display: none; }
  .burger { display: block; }
  .ftr .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid > * { grid-column: 1 / -1 !important; }
  .statement { grid-template-columns: 1fr; }
  .statement .k { padding-top: 0; margin-bottom: 4px; }
  .vcard { grid-template-columns: 1fr; top: calc(96px + var(--i) * 14px); }
  .vcard .ph { min-height: 200px; max-height: 240px; }
  .vobj { --ow: 92px; right: -6px; bottom: auto; top: -10px; }
  .vcard .txt h3 { padding-right: 84px; }
  .hero-b-m { display: block; position: relative; width: min(64%, 300px); aspect-ratio: 1; margin: 36px auto 0; }
  .hero-b-m > img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(30,60,200,.28)); }
  .split-2, .contact { grid-template-columns: 1fr; }
  .post, .post.big { grid-column: span 12; }
  .post.big { grid-row: auto; }
  .ngrid { gap: 40px 20px; }
  .job { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .job .m { grid-column: 1; font-size: 14px; color: var(--muted); }
  .job .m small { display: inline; margin-right: 6px; }
  .job .go { grid-column: 2; grid-row: 1 / span 3; }
  .dcell, .dcell:nth-child(1), .dcell:nth-child(2) { grid-column: span 12; }
  .side-nums .n:nth-child(n) { margin-left: 0; }
  .hero { min-height: auto; padding-top: 128px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(40px, 11.6vw, 76px); }
  .hero-strip { min-width: 0; }
  .stars, .morph-cap { display: none; }
  .hero-strip { display: grid; gap: 14px; margin: 32px calc(var(--gut) * -1) -24px; padding: 16px 0 40px; overflow: clip; }
  .hero-strip .row { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
  .hero-strip .row:nth-child(2) { animation-direction: reverse; animation-duration: 46s; }
  .hero-strip .tile { width: 84px; flex: none; }
  .hero-strip:empty { min-height: 238px; }
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .nt-apps, .nt-live { grid-column: span 12; }
  .nt-globe { min-height: 460px; }
  .nt-globe .globe-wrap { width: 121%; right: -39.5%; top: calc(-8% - 5.5cqw); }
          
  .card.xl .c-desc { max-width: 18ch; font-size: 16px; }
  .form { grid-template-columns: 1fr; }
  .ftr .cols { grid-template-columns: 1fr; }
  .leaders { gap: 14px; }
  .leader b { font-size: 17px; margin-top: 14px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: space-between; }
  .ticks { gap: 6px 24px; }
  .ticks b { font-size: 19px; }
}
@keyframes slide { to { transform: translateX(-50%); } }

@media (max-width: 560px) {
  .leaders { grid-template-columns: 1fr; gap: 28px; }
  .leader b { font-size: 19px; }
  /* stacked on phones: the CEO comes first (on wider screens he stays in the middle) */
  .leader-ceo { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .leader:hover .ph, .leader:hover .ph img { translate: none; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-split] { visibility: visible; }
}
.orb.extra { pointer-events: none; }

/* brand cards: swipe on tablets/phones, compact 2-up grid on small phones */
@media (max-width: 900px) {
  .bs-strip { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .bs-strip::-webkit-scrollbar { display: none; }
  .bs-track .bcard { --w: min(76vw, 320px); height: 460px; scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pgrid .bcard { --p: 14px; min-height: 0; aspect-ratio: 3 / 4.7; border-radius: 22px; }
  .pgrid .bc-top { font-size: 11px; } .pgrid .bc-cat { height: 24px; padding: 0 9px; }
  .pgrid .bc-info { padding-top: 10px; }
  .pgrid .bc-name { font-size: 18px; }
  .pgrid .bc-desc, .pgrid .bc-stores { display: none; }
  .pgrid .rstars { --s: 10px; } .pgrid .bc-rate { gap: 4px; font-size: 11px; }
  .pgrid .bc-cat { max-width: 58%; overflow: hidden; white-space: nowrap; display: block; line-height: 24px; }
  .pgrid .bc-bot { margin-top: 10px; padding-top: 10px; }
  .pgrid .bc-num { font-size: 26px; } .pgrid .bc-num small { font-size: 11px; }
}

@media (max-width: 600px) {
  .nt-apps, .nt-live { min-height: 200px; }
}
/* products filter: one swipeable row on phones so it never covers the grid */
@media (max-width: 700px) {
  .filterbar { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 20px; padding: 10px var(--gut); scrollbar-width: none; }
  .filterbar::-webkit-scrollbar { display: none; }
  #filterbar:empty { min-height: 61px; }
  .fchip { flex: none; padding: 10px 16px; font-size: 13px; }
}

/* =========================================================
   Story (article.html) · Job (job.html) · Legal pages
   ========================================================= */
/* back link: arrow in a ring, turns citrus on hover */
.back { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s; }
.back .arr { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transform: rotate(180deg); transition: transform .5s var(--ease-out), background .3s, box-shadow .3s; }
.back:hover { color: var(--ink); }
.back:hover .arr { background: var(--citrus); box-shadow: none; transform: rotate(180deg) translateX(4px); }
.copy { flex: none; border: 0; border-radius: 999px; padding: 6px 13px; font-size: 12px; font-weight: 700; background: var(--paper-2); color: var(--ink); cursor: pointer; transition: background .3s, color .3s; }
.copy:hover { background: var(--citrus); }

/* story page laid out like a news site: main column (title, sapo, photos between paragraphs) + "more stories" rail */
.art-page { padding-bottom: clamp(96px, 12vw, 176px); }
.art-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(260px, 360px); justify-content: space-between; gap: clamp(48px, 6vw, 112px); align-items: start; }
.job-hero .wrap { display: flex; flex-direction: column; align-items: flex-start; }
.art-date { margin-top: clamp(28px, 3.4vw, 44px); display: flex; align-items: center; gap: 12px; font-size: clamp(15px, 1.15vw, 17px); font-weight: 700; letter-spacing: .01em; color: var(--blue); }
.art-date::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); box-shadow: 13px 0 0 var(--citrus); margin-right: 13px; }
.phero h1.art-title { margin-top: 16px; font-size: clamp(32px, 3.3vw, 52px); line-height: 1.1; max-width: none; }
.art-sapo { margin-top: 22px; font-size: clamp(19px, 1.45vw, 22px); font-weight: 600; line-height: 1.55; color: var(--ink); }

/* photos: centred in the column, never cropped; tall posters are capped by height */
.art-fig { margin: clamp(32px, 4vw, 48px) 0 0; }
.prose > .art-fig { margin: 1.9em 0; }
.prose > .art-fig + * { margin-top: 0; }
.art-fig button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.art-fig img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(82vh, 860px); margin: 0 auto; border-radius: 18px; box-shadow: 0 24px 48px -30px rgba(10,15,31,.35); transition: filter .4s; }
.art-fig button:hover img { filter: brightness(1.04) saturate(1.05); }
.art-body { margin-top: clamp(32px, 4vw, 48px); }
.art-album { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.art-album h2 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; font-size: clamp(22px, 2vw, 28px); }
.art-album h2 small { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.art-album-grid { columns: 3 200px; column-gap: 10px; }
.art-album-grid button { display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--paper-2); cursor: zoom-in; break-inside: avoid; }
.art-album-grid img { width: 100%; height: auto; transition: transform .9s var(--ease-out); }
.art-album-grid button:hover img { transform: scale(1.05); }
.art-album:not(.all) .art-album-grid .x { display: none; }
.art-album-all { margin-top: 14px; color: var(--ink); }

/* right rail */
.art-side { position: sticky; top: 112px; padding-top: 8px; }
.art-side-k { padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.art-mini { list-style: none; margin: 0; padding: 0; }
.art-mini a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.art-mini img { width: 96px; aspect-ratio: 4 / 3; border-radius: 12px; object-fit: cover; background: var(--paper-2); }
.art-mini time { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.art-mini b { display: -webkit-box; margin-top: 3px; font-family: var(--display); font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.art-mini a:hover b { color: var(--blue); }
.art-side .back { margin-top: 22px; }

/* long-form text */
.prose { max-width: 68ch; font-size: clamp(17px, 1.2vw, 19px); line-height: 1.78; color: #262D40; }
.prose > * + * { margin-top: 1.05em; }
.prose > :first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; font-size: clamp(21px, 1.7vw, 26px); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.prose h3 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 28px; }
.prose li + li { margin-top: .55em; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 3px; background: var(--blue); }
.prose ol { counter-reset: ol; }
.prose ol > li { counter-increment: ol; }
.prose ol > li::before { content: counter(ol); position: absolute; left: 0; top: 0; font-weight: 700; color: var(--blue); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { color: var(--blue-900); }
.prose .tags { margin-top: 2em; font-size: 14px; font-weight: 600; color: var(--blue); word-spacing: .35em; }
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); min-width: 180px; }
.prose tr:last-child td { border-bottom: 0; }
.prose th, .prose tr:first-child td { font-weight: 700; color: var(--ink); background: var(--paper-2); }
.lang-note { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.4; color: var(--muted); }
.lang-note::before { content: "VI"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--citrus); color: var(--ink); font-size: 10px; font-weight: 800; }
.prose > .lang-note + * { margin-top: 1.6em; }

/* photo viewer */
.lbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 10, 26, .94); color: #fff; }
.lbox[open] { display: grid; place-items: center; }
.lbox::backdrop { background: transparent; }
.lbox img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: 16px; object-fit: contain; }
.lbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background .3s, color .3s; }
.lbox button:hover { background: var(--citrus); color: var(--ink); }
.lb-x { top: 20px; right: 20px; }
.lb-p, .lb-n { top: 50%; translate: 0 -50%; }
.lb-p { left: 20px; } .lb-n { right: 20px; }
.lbox.one .lb-p, .lbox.one .lb-n, .lbox.one .lb-c { display: none; }
.lb-c { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; font-size: 14px; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }

.art-more .head-row { align-items: center; }
.art-more .post { grid-column: span 4; }

/* job detail */
.job-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.job-team { margin-top: clamp(32px, 4vw, 48px); display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.phero.job-hero h1 { margin-top: 18px; font-size: clamp(38px, 5vw, 80px); max-width: 18ch; }
.job-facts { width: 100%; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.job-facts > div { padding: 22px 24px 0 0; }
.job-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.job-facts dt { font-size: 13px; color: var(--muted); }
.job-facts dd { margin: 6px 0 0; font-family: var(--display); font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.job-main { padding-top: clamp(32px, 4vw, 56px); }
.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(40px, 6vw, 112px); align-items: start; }
.jd h3 { display: flex; align-items: center; gap: 14px; padding-top: 1.4em; border-top: 1px solid var(--line); }
.jd > h3:first-child, .jd > .lang-note + h3 { padding-top: 0; border-top: 0; }
.apply { position: sticky; top: 112px; padding: clamp(26px, 2.6vw, 38px); border-radius: 30px; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.apply::before { content: ""; position: absolute; right: -60px; bottom: -80px; z-index: -1; width: 260px; aspect-ratio: 544 / 622; background: rgba(143,176,255,.08); -webkit-mask: url("braly-b-mark.svg") no-repeat center / contain; mask: url("braly-b-mark.svg") no-repeat center / contain; }
.apply h2 { font-size: clamp(26px, 2.2vw, 34px); }
.apply > p { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.72); }
.apply .apply-subj { margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(143,176,255,.2); color: #fff; font-size: 14px; line-height: 1.45; }
.apply-subj small { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted-dark); }
.apply .btn { margin-top: 18px; width: 100%; justify-content: space-between; }
.apply-meta { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid rgba(143,176,255,.18); }
.apply-meta li { padding: 14px 0; border-bottom: 1px solid rgba(143,176,255,.18); font-size: 15px; font-weight: 500; }
.apply-meta li:last-child { border-bottom: 0; padding-bottom: 0; }
.apply-meta small { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 500; color: var(--muted-dark); }
.apply-meta a { transition: color .3s; }
.apply-meta a:hover { color: var(--citrus); }
.apply-mail { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.apply .copy { background: rgba(255,255,255,.1); color: #fff; }
.apply .copy:hover { background: var(--citrus); color: var(--ink); }
.job-others .head-row { margin-bottom: clamp(32px, 4vw, 56px); }

/* legal pages */
.legal-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.phero.legal-hero h1 { font-size: clamp(40px, 5vw, 80px); }
.legal-hero .lead a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-upd { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.legal-sec { padding-bottom: clamp(96px, 12vw, 176px); }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.legal-side { position: sticky; top: 112px; }
.legal-side-k { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.legal-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.legal-side a { display: block; padding: 11px 16px; border-radius: 14px; font-size: 15px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; }
.legal-side a:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.legal-side a.on { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -16px rgba(10,15,31,.3); }
.prose.legal { font-size: 17px; max-width: 76ch; }
.prose.legal h2 { margin-top: 2.2em; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; line-height: 1.2; }
.prose.legal > h2:first-child { margin-top: 0; }
.prose.legal h2 + * { margin-top: .7em; }

@media (max-width: 1100px) {
  .art-layout { grid-template-columns: minmax(0, 1fr); }
  .art-side { position: static; max-width: 640px; }
  .job-grid { grid-template-columns: minmax(0, 1fr); }
  .apply { position: static; max-width: 640px; }
}
@media (max-width: 900px) {
  .art-more .post { grid-column: span 12; }
  .job-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-facts > div { padding: 18px 16px 18px 0; }
  .job-facts > div + div { padding-left: 0; border-left: 0; }
  .job-facts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .job-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-side { position: static; }
  .legal-side ul { display: flex; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .lb-p, .lb-n { top: auto; bottom: 14px; translate: none; }
  .lb-c { bottom: 30px; }
}
@media (max-width: 640px) {
  .art-album-grid { columns: 2; column-gap: 8px; }
  .art-album-grid button { margin-bottom: 8px; }
  .art-fig img { border-radius: 14px; }
  .art-mini a { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .art-mini img { width: 84px; }
}

/* Tiếng Việt: dấu chồng (ệ, ẫ, ồ, ự…) cần thêm khoảng giữa các dòng — bản tiếng Anh giữ khoảng cách sát của chữ tiêu đề */
html[lang="vi"] :is(h1, h2, h3, h4, .d-xl, .d-l, .d-m) { line-height: 1.22; }
html[lang="vi"] :is(.cta h2, .post.big h3, .job h3, .bc-name, .phero h1.art-title) { line-height: 1.22; }
html[lang="vi"] :is(.post h3, .statement .k, .ftr .tag, .drawer a, .prose.legal h2) { line-height: 1.32; }
html[lang="vi"] :is(.dcell p, .prose h3, .job-facts dd, .art-mini b) { line-height: 1.38; }
html[lang="vi"] .about-copy p:first-child { line-height: 1.45; }
html[lang="vi"] :is(.nt-globe .nt-cap, .lang-note, .bc-desc, .apply .apply-subj) { line-height: 1.55; }
html[lang="vi"] :is(.lead, .vcard p, .post .ex, .art-sapo) { line-height: 1.65; }
html[lang="vi"] body { line-height: 1.7; }
html[lang="vi"] .prose { line-height: 1.85; }

/* Tiếng Việt · tiêu đề trang chủ (máy tính): câu dài hơn bản EN, ở cỡ 6.6vw bị rớt 3–4 dòng và dòng cuối
   đè lên quỹ đạo icon quanh chữ B. Cỡ này giữ đúng 2 dòng "Công ty công nghệ / hàng đầu thế giới" ở 901–1920px. */
@media (min-width: 901px) {
  html[lang="vi"] .hero h1 { font-size: clamp(44px, 5.9vw, 92px); }
}
