/* Leology theme · design system 1.2.0 · Leology's homepage (template-parts/home-main.php), surface `home` (D-070).
   Revision 02 (14/11/2026): picture first. A drawn hero in the Arena hero's flat-vector family (R03), the four parts
   with real product imagery, a How-you-learn collage, a Sun band, deliberate Sun surfaces (the E-learning plate, the
   band, the sign-up panel, the primary actions) against Ultramarine and paper. Revision 03 (14/11/2026): the four
   parts as four equal plates, figure 01 a real Arena City case in progress, no circle round the brand mark, the
   founding team as a compact tree with circular portraits. Revision 04 (15/11/2026): the four parts on one row of
   picture cards that open on hover/focus (2×2 / one column below 1200 px), the team's branches as dotted route arcs.
   No card carries a thin strip along its top edge; tiles differ in size, colour and composition.
   Loaded on this page only (inc/ds.php), after ds-tokens.css and ds-shell.css (bar, footer, .leo-btn). Class
   selectors only, every one under .leo-ds--home, in layer `ds`. Colours are tokens (tints through color-mix).
   Motion: the hero's entry and ambience are CSS (no-preference only); scroll reveals start only when
   assets/js/ds-home.js sets html.leo-home-motion, so without JavaScript or with reduced motion nothing is hidden. */

@layer ds {

	/* ---- Page ------------------------------------------------------------------------------------- */
	.leo-ds--home .leo-home {
		--hm-tint-1: color-mix(in srgb, var(--b-field) 88%, #fff);
		--hm-tint-2: color-mix(in srgb, var(--b-field) 74%, #fff);
		--hm-glass: color-mix(in srgb, var(--b-field) 42%, #fff);
		--hm-rule-dark: var(--ds-color-rule-on-deep);
		overflow-x: clip;
		font: 400 16px/1.6 var(--ax-text); color: var(--b-ink); background: var(--ax-paper);
		-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	}
	/* The legacy base gives headings, paragraphs, lists and figures margins and bullets; this page sets its own. */
	.leo-ds--home .leo-home :where(h1, h2, h3, p, ul, ol, details, summary, figure) { margin: 0; }
	.leo-ds--home .leo-home :where(ul, ol) { padding: 0; list-style: none; }
	.leo-ds--home .leo-home :where(li) { list-style: none; }
	.leo-ds--home .leo-home :where(a) { text-underline-offset: 4px; }
	.leo-ds--home .leo-home :where(img) { display: block; max-width: 100%; height: auto; }

	/* Anchors land below the sticky bar (and WordPress's admin bar for an editor). */
	.leo-ds--home .leo-home :is(#early-access, #faq) { scroll-margin-top: calc(72px + var(--leo-nav-top, 0px)); }
	@media (prefers-reduced-motion: no-preference) { html:has(.leo-home) { scroll-behavior: smooth; } }

	/* On the fields the focus ring is Sun (design system §2.4); on white and on Sun it is ink (the shell). */
	.leo-ds--home :is(.leo-home-hero, .leo-home-how, .leo-home-signup, .leo-home-part--arena, .leo-home-part--com) :focus-visible { outline-color: var(--b-sun); }

	/* ---- Type roles -------------------------------------------------------------------------------- */
	.leo-ds--home :is(.leo-home-hero__title, .leo-home-h2, .leo-home-kicker, .leo-home-tag, .leo-home-part__kicker, .leo-home-part__title,
		.leo-home-part__link, .leo-home-how__num, .leo-home-how__title, .leo-home-how__badge, .leo-home-sun__line, .leo-home-aud__label,
		.leo-home-aud__title, .leo-home-textlink, .leo-home-post__cat, .leo-home-post__title, .leo-home-member__name, .leo-home-member__media--mono,
		.leo-home-signup__eyebrow, .leo-home-signup__title, .leo-home-qa__text) {
		font-family: var(--ax-display); font-stretch: 75%;
	}
	.leo-ds--home .leo-home-h2 {
		color: var(--b-field); text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word;
		font-weight: 800; font-size: clamp(36px, 4.8vw, 76px); line-height: .96; letter-spacing: -.004em;
	}
	.leo-ds--home.leo-lang-vi .leo-home-h2 { line-height: 1.06; }
	.leo-ds--home .leo-home-h2--light { color: #fff; }
	.leo-ds--home .leo-home-kicker { color: var(--b-sun); font-weight: 800; font-size: clamp(18px, 1.6vw, 22px); line-height: 1; letter-spacing: .1em; text-transform: uppercase; }

	/* A sticker: Sun on the fields, ink on Sun. */
	.leo-ds--home .leo-home-tag {
		display: inline-flex; align-items: center; width: max-content; padding: 5px 10px 6px; background: var(--b-sun); color: var(--b-ink);
		font-weight: 800; font-size: 15px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
	}
	.leo-ds--home .leo-home-tag--ink { background: var(--b-ink); color: var(--b-sun); }

	/* The quiet text link: condensed capitals, an arrow that nudges on hover. */
	.leo-ds--home .leo-home-textlink {
		display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: none;
		font-weight: 800; font-size: 19px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; color: var(--b-field); text-decoration: none;
	}
	.leo-ds--home .leo-home-textlink:hover { color: var(--b-ink); text-decoration: underline; text-decoration-thickness: 2px; }
	.leo-ds--home .leo-home-arrow { flex: none; transition: transform 240ms var(--mo-ease); }
	.leo-ds--home :is(.leo-home-textlink, .leo-home-cta, .leo-home-part):hover .leo-home-arrow,
	.leo-ds--home :is(.leo-home-textlink, .leo-home-cta):focus-visible .leo-home-arrow { transform: translate3d(5px, 0, 0); }
	.leo-ds--home .leo-home-cta { gap: 12px; }

	/* ==== 1. HERO: the field, one headline, the drawn path to the city ================================= */
	.leo-ds--home .leo-home-hero {
		--hm-ground: clamp(34px, 4.4vw, 60px);
		position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
		background: var(--b-field); color: #fff;
	}
	.leo-ds--home .leo-home-hero__inner { position: relative; z-index: 2; padding-top: clamp(40px, 7vw, 72px); }
	.leo-ds--home .leo-home-hero__copy { max-width: 40rem; }
	.leo-ds--home .leo-home-hero__title {
		color: #fff; text-transform: uppercase; overflow-wrap: break-word;
		font-weight: 800; font-size: clamp(46px, 12.6vw, 112px); line-height: .94; letter-spacing: -.006em;
	}
	.leo-ds--home.leo-lang-vi .leo-home-hero__title { line-height: 1.02; }
	/* Each line rises out of its own slot; the slot clips only below, so Vietnamese marks above are never cut. */
	.leo-ds--home .leo-home-hero__line { display: block; clip-path: inset(-.5em -.3em -.16em -.3em); }
	.leo-ds--home .leo-home-hero__line > span { display: block; text-wrap: balance; }
	.leo-ds--home .leo-home-hero__line--sun { color: var(--b-sun); }
	.leo-ds--home .leo-home-hero__lede { margin-top: clamp(18px, 2vw, 26px); max-width: 32rem; font: 500 clamp(18px, 1.5vw, 22px)/1.5 var(--ax-text); color: var(--b-on); text-wrap: pretty; }
	.leo-ds--home .leo-home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 40px); }
	@media (max-width: 599.98px) {
		.leo-ds--home .leo-home-actions { flex-direction: column; align-items: stretch; }
		.leo-ds--home .leo-home-actions .leo-btn { justify-content: center; text-align: center; }
	}
	/* On a field the primary turns white on hover (2.1). */
	.leo-ds--home .leo-home-hero .leo-btn--yellow:hover, .leo-ds--home .leo-home-hero .leo-btn--yellow:focus-visible { background: #fff; color: var(--b-ink); border-color: #fff; }

	/* The picture: below the words on phones and tablets, filling the right of the field on desktops. */
	.leo-ds--home .leo-home-hero__art { position: relative; z-index: 1; margin-top: 28px; margin-inline: auto -2px; width: min(100%, 760px); align-self: flex-end; aspect-ratio: 900 / 760; }
	.leo-ds--home .leo-home-hero__art .lhs { display: block; width: 100%; height: 100%; overflow: hidden; }
	.leo-ds--home .leo-home-hero__ground { position: relative; z-index: 1; flex: none; height: var(--hm-ground); background: var(--b-deep); border-top: 4px solid var(--hm-glass); }
	@media (min-width: 1024px) {
		.leo-ds--home .leo-home-hero { min-height: clamp(620px, calc(100svh - 68px), 960px); }
		.leo-ds--home .leo-home-hero__inner { display: flex; align-items: center; flex: 1; padding-block: clamp(48px, 6vh, 96px) calc(var(--hm-ground) + clamp(40px, 5vh, 72px)); }
		.leo-ds--home .leo-home-hero__copy { width: 48%; max-width: 42rem; }
		.leo-ds--home .leo-home-hero__title { font-size: clamp(56px, 6.4vw, 116px); }
		/* align-self back to stretch: Chrome aligns absolutely positioned boxes too, and flex-end would shrink this one to its content. */
		.leo-ds--home .leo-home-hero__art { position: absolute; right: 0; bottom: var(--hm-ground); top: clamp(24px, 4vh, 56px); width: 60%; margin: 0; aspect-ratio: auto; align-self: stretch; }
		.leo-ds--home .leo-home-hero__ground { position: absolute; left: 0; right: 0; bottom: 0; }
	}
	@media (min-width: 1600px) { .leo-ds--home .leo-home-hero__art { width: 58%; } }

	/* The scene's colours (template-parts/home-hero-art.php), all tokens. */
	.leo-ds--home .lhs-sun { fill: var(--b-sun); }
	.leo-ds--home .lhs-far rect { fill: var(--hm-tint-1); }
	.leo-ds--home .lhs-far .lhs-win-far { fill: var(--hm-tint-2); }
	.leo-ds--home .lhs-deep { fill: var(--b-deep); }
	.leo-ds--home .lhs-mid { fill: var(--hm-tint-2); }
	.leo-ds--home .lhs-paper { fill: #fff; }
	.leo-ds--home .lhs-sunface { fill: var(--b-sun); }
	.leo-ds--home .lhs-win-pale { fill: var(--hm-glass); }
	.leo-ds--home .lhs-mid ~ .lhs-win-pale { fill: color-mix(in srgb, var(--b-field) 30%, #fff); }
	.leo-ds--home .lhs-win-lit { fill: var(--b-sun); }
	.leo-ds--home .lhs-ribbon { fill: color-mix(in srgb, var(--b-field) 32%, #fff); }
	.leo-ds--home .lhs-win-paper { fill: color-mix(in srgb, var(--b-field) 28%, #fff); }
	.leo-ds--home .lhs-win-onsun { fill: #fff; }
	.leo-ds--home .lhs-code { font-family: var(--ax-display); font-stretch: 75%; font-weight: 800; font-size: 40px; fill: var(--b-field); }
	.leo-ds--home .lhs-step--goal .lhs-code { fill: var(--b-ink); }
	.leo-ds--home .lhs-screen { fill: var(--b-field); }
	.leo-ds--home .lhs-bar { fill: var(--b-sun); }
	.leo-ds--home .lhs-arrow { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: square; }
	.leo-ds--home :is(.lhs-lamp, .lhs-lantern) { fill: var(--b-sun); }
	.leo-ds--home .lhs-antenna { stroke: #fff; stroke-width: 3; }
	.leo-ds--home .lhs-route path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0 19; }
	.leo-ds--home .lhs-route-ring { stroke: var(--b-deep); stroke-width: 13; }
	.leo-ds--home .lhs-route-dot { stroke: var(--b-sun); stroke-width: 7.5; }
	.leo-ds--home .lhs-marker-ring { fill: var(--b-sun); stroke: var(--b-deep); stroke-width: 4; }
	.leo-ds--home .lhs-marker-core { fill: var(--b-deep); }

	/* ==== 2. THE FOUR PARTS (Revision 04): one row of four picture cards that open on hover or keyboard focus ====
	   Each part is one card, and the whole card is its link: a picture bled to its edges (drawn or real) and below it,
	   on paper, the index and kicker, the name, one line and the link. Phones: one column. From 640px: two columns.
	   From 1200px: one row of four. There a card opens to 2/5 of the row on hover (fine pointers only) or when the
	   keyboard reaches it, while the other three narrow to 1/5 each and drop a little. 1200px is the narrowest row
	   where a narrowed card is still 200px wide: the longest name (COMMUNITY) at 42px and the longest link ("Visit the
	   Community") stay on one line; below it, two columns of ~500px read better than four squeezed cards.
	   The pictures are cropped like photographs (SVG slice, object-fit: cover, the Blog spread sized the same way):
	   opening a card shows more of its scene, nothing in it rescales. The captions keep a narrowed card's width at
	   every moment, so no line rewraps while a card opens: the row's height never changes and the page never jumps.
	   No strip along any edge. With reduced motion: four equal cards, nothing opens or moves. */
	.leo-ds--home .leo-home-parts { padding-block: var(--ds-section-block); background: #fff; }
	.leo-ds--home .leo-home-parts .leo-home-h2 { max-width: 14em; margin-bottom: clamp(36px, 4.4vw, 64px); }
	.leo-ds--home .leo-home-parts__grid { --pg: 20px; --drop: 16px; display: grid; gap: 52px; }
	@media (min-width: 640px) {
		.leo-ds--home .leo-home-parts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--pg); row-gap: clamp(44px, 5vw, 64px); }
	}

	/* flex: 1 1 0 at every width (grid layouts ignore it), so crossing 1200 px never renders one frame of collapsed cards. */
	.leo-ds--home .leo-home-part { position: relative; display: flex; min-width: 0; flex: 1 1 0; }
	.leo-ds--home .leo-home-part__card { position: relative; isolation: isolate; flex: 1; display: flex; flex-direction: column; min-width: 0; }
	/* The picture's window; `size` containment lets the Blog spread size itself to it (cq units). */
	.leo-ds--home .leo-home-part__plate { position: relative; overflow: hidden; aspect-ratio: 4 / 3; container-type: size; }
	.leo-ds--home .leo-home-part__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding-top: clamp(18px, 1.8vw, 24px); }
	.leo-ds--home .leo-home-part__kicker { display: flex; align-items: baseline; gap: 12px; color: var(--b-field); font-weight: 800; font-size: 16px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
	.leo-ds--home .leo-home-part__num { color: var(--b-ink-3); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
	/* One word each: it never breaks. */
	.leo-ds--home .leo-home-part__title { margin-top: 10px; color: var(--b-deep); font-weight: 800; font-size: clamp(42px, 4.6vw, 60px); line-height: .9; letter-spacing: -.004em; text-transform: uppercase; white-space: nowrap; }
	.leo-ds--home .leo-home-part__text { margin-block: 12px 10px; max-width: 30rem; color: var(--b-ink-2); font: 500 17px/1.45 var(--ax-text); text-wrap: pretty; }
	/* The links of a row line up at the foot of their captions. */
	.leo-ds--home .leo-home-part__link {
		display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: auto;
		font-weight: 800; font-size: 18px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; color: var(--b-field); text-decoration: none;
		text-underline-offset: 6px; text-decoration-thickness: 2px;
	}
	.leo-ds--home .leo-home-part:is(:hover, :focus-within) .leo-home-part__link { color: var(--b-deep); text-decoration-line: underline; }
	/* The whole card is the link (its text link stretches over it); the focus ring goes round picture and caption. */
	.leo-ds--home .leo-home-part__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
	.leo-ds--home .leo-home-part__link:focus-visible { outline: 0; }
	.leo-ds--home .leo-home-part__card:has(.leo-home-part__link:focus-visible) { outline: 3px solid var(--b-ink); outline-offset: 6px; }
	@supports not selector(:has(a)) {
		.leo-ds--home .leo-home-part__link:focus-visible { outline: 3px solid var(--b-ink); outline-offset: 4px; }
	}
	/* E-learning's status: read after its line, shown as a label on the picture's top-left corner. */
	.leo-ds--home .leo-home-part__status { position: absolute; z-index: 2; top: clamp(14px, 1.4vw, 18px); left: clamp(14px, 1.4vw, 18px); }

	/* One row of four from 1200px (see above). The list is a container, so a caption can take a narrowed card's
	   width (1/5 of the row, less the gutter) and the names a size that fits it. The gutter is each card's padding,
	   not a gap, so the pointer is always over a card while it crosses the row and nothing flickers. */
	@media (min-width: 1200px) {
		.leo-ds--home .leo-home-parts__grid { display: flex; gap: 0; margin-inline: calc(var(--pg) / -2); container-type: inline-size; }
		.leo-ds--home .leo-home-part { flex: 1 1 0; padding-inline: calc(var(--pg) / 2); }
		.leo-ds--home .leo-home-part__plate { aspect-ratio: auto; height: clamp(330px, 27vw, 410px); }
		.leo-ds--home .leo-home-part__body { width: calc(20cqw - var(--pg)); }
		.leo-ds--home .leo-home-part__title { font-size: min(54px, calc((20cqw - var(--pg)) / 4.7)); }
	}
	/* Opening a card. Hover wins over the keyboard (a hovered card opens even if another one has focus). Only width
	   (flex-grow) and a vertical drop move: never wider than the row, never over another card. */
	@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
		.leo-ds--home .leo-home-part { transition: flex-grow 640ms var(--mo-ease); }
		.leo-home-motion .leo-ds--home .leo-home-parts__grid > .leo-home-part[data-reveal] {
			transition: opacity 700ms var(--mo-ease-fade) calc(var(--i, 0) * 90ms), transform 900ms var(--mo-ease) calc(var(--i, 0) * 90ms), flex-grow 640ms var(--mo-ease);
		}
		.leo-ds--home .leo-home-part__card { transition: transform 640ms var(--mo-ease); }
		.leo-ds--home .leo-home-parts__grid:not(:has(> .leo-home-part:hover)) > .leo-home-part:has(.leo-home-part__link:focus-visible) { flex-grow: 2; }
		.leo-ds--home .leo-home-parts__grid:not(:has(> .leo-home-part:hover)):has(.leo-home-part__link:focus-visible) > .leo-home-part:not(:has(.leo-home-part__link:focus-visible)) > .leo-home-part__card { transform: translate3d(0, var(--drop), 0); }
	}
	@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
		.leo-ds--home .leo-home-part:hover { flex-grow: 2; }
		.leo-ds--home .leo-home-parts__grid:has(> .leo-home-part:hover) > .leo-home-part:not(:hover) > .leo-home-part__card { transform: translate3d(0, var(--drop), 0); }
	}

	/* The pictures' grounds. */
	.leo-ds--home :is(.leo-home-part--learn, .leo-home-part--com) .leo-home-part__plate { background: var(--b-sun); }
	.leo-ds--home .leo-home-part--arena .leo-home-part__plate { background: var(--b-deep); }
	.leo-ds--home .leo-home-part--blog .leo-home-part__plate { background: var(--b-field); }
	/* The drawings (template-parts/home-art.php, art=path|community) fill the window, cropped like a photograph. */
	.leo-ds--home .leo-home-part__plate > .lha { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
	/* Arena: the Arena City render (1200 x 774), the yellow route kept in the middle of every crop. */
	.leo-ds--home .leo-home-part__plate > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 54% 50%; }

	/* E-learning (art=path): levels rising L0 to L4 in front of a pale sun, short lessons, a skills card. */
	.leo-ds--home .ljl-disc { fill: color-mix(in srgb, var(--b-sun) 42%, #fff); }
	.leo-ds--home .ljl-ring { fill: none; stroke: #fff; stroke-width: 3; stroke-opacity: .75; }
	.leo-ds--home .ljl-bit { fill: #fff; }
	.leo-ds--home .ljl-bit--field { fill: var(--b-field); }
	.leo-ds--home .ljl-floor { fill: var(--b-deep); }
	.leo-ds--home .ljl-tiles line { stroke: var(--b-field); stroke-width: 2; }
	.leo-ds--home .ljl-front { fill: var(--b-field); }
	.leo-ds--home .ljl-top { fill: color-mix(in srgb, var(--b-field) 40%, #fff); }
	.leo-ds--home .ljl-side { fill: var(--b-deep); }
	.leo-ds--home .ljl-col--goal .ljl-front { fill: var(--b-deep); }
	.leo-ds--home .ljl-col--goal .ljl-side { fill: var(--b-ink); }
	.leo-ds--home .ljl-col--goal .ljl-top { fill: #fff; }
	.leo-ds--home :is(.ljl-code, .ljl-chip-t) { font-family: var(--ax-display); font-stretch: 75%; font-weight: 800; }
	.leo-ds--home .ljl-code { font-size: 26px; fill: #fff; }
	.leo-ds--home .ljl-col--goal .ljl-code { fill: var(--b-sun); }
	.leo-ds--home .ljl-route { fill: none; stroke: var(--b-deep); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0 13; }
	.leo-ds--home .ljl-pole { stroke: var(--b-deep); stroke-width: 4; }
	.leo-ds--home .ljl-flag { fill: var(--b-field); }
	.leo-ds--home .ljl-marker { fill: var(--b-sun); stroke: var(--b-deep); stroke-width: 4; }
	.leo-ds--home .ljl-card { fill: #fff; }
	.leo-ds--home .ljl-screen { fill: var(--b-field); }
	.leo-ds--home .ljl-screen--far { fill: color-mix(in srgb, var(--b-field) 72%, #fff); }
	.leo-ds--home .ljl-play { fill: #fff; }
	.leo-ds--home .ljl-play-ico { fill: var(--b-field); }
	.leo-ds--home .ljl-play-ico--far { fill: #fff; }
	.leo-ds--home .ljl-chip { fill: var(--b-sun); }
	.leo-ds--home .ljl-chip-t { font-size: 15px; fill: var(--b-ink); }
	.leo-ds--home .ljl-track { fill: var(--b-ink); fill-opacity: .14; }
	.leo-ds--home :is(.ljl-fill, .ljl-bar) { fill: var(--b-field); transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
	.leo-ds--home .ljl-check { fill: var(--b-sun); stroke: var(--b-deep); stroke-width: 3; }
	.leo-ds--home .ljl-tick { fill: none; stroke: var(--b-deep); stroke-width: 3.5; stroke-linecap: square; }
	.leo-ds--home .ljl-skill-head { fill: var(--b-deep); }
	.leo-ds--home .ljl-dot { fill: var(--b-sun); }
	.leo-ds--home .ljl-badge { fill: var(--b-deep); }
	.leo-ds--home .ljl-star { fill: var(--b-sun); }

	/* Blog: an editorial spread of real covers on Ultramarine. The spread is 720 x 560 units (--u), sized to cover
	   the window like the drawings (the larger of the window's width and its height x 9/7). */
	.leo-ds--home .leo-home-press {
		--u: calc(max(100cqh, 100cqw * 7 / 9) / 560);
		position: absolute; left: 50%; top: 50%; width: max(100cqw, 100cqh * 9 / 7); height: max(100cqh, 100cqw * 7 / 9); transform: translate(-50%, -50%);
	}
	.leo-ds--home .leo-home-press__paper { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
	.leo-ds--home .lpr-sheet { fill: #fff; }
	.leo-ds--home .lpr-ink { fill: var(--b-ink); }
	.leo-ds--home .lpr-ink--soft { fill-opacity: .2; }
	.leo-ds--home .lpr-field { fill: color-mix(in srgb, var(--b-field) 30%, #fff); }
	.leo-ds--home .lpr-sun { fill: var(--b-sun); }
	.leo-ds--home .leo-home-press__print {
		position: absolute; overflow: hidden; box-sizing: border-box; background: #fff; border: calc(var(--u) * 7) solid #fff;
		left: calc(var(--x) / 720 * 100%); top: calc(var(--y) / 560 * 100%); width: calc(var(--w) / 720 * 100%); height: calc(var(--h) / 560 * 100%);
		transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--r, 0deg));
	}
	.leo-ds--home .leo-home-press__print img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
	.leo-ds--home .leo-home-press__print--lead { --x: 192; --y: 232; --w: 336; --h: 244; --r: -2deg; z-index: 3; }
	.leo-ds--home .leo-home-press__print--left { --x: 100; --y: 66; --w: 204; --h: 262; --r: -6deg; z-index: 1; }
	.leo-ds--home .leo-home-press__print--right { --x: 340; --y: 84; --w: 286; --h: 192; --r: 5deg; z-index: 2; }
	.leo-ds--home .leo-home-press__print--left img { object-position: 30% 50%; }
	.leo-ds--home .leo-home-press__sticker {
		position: absolute; z-index: 4; left: calc(424 / 720 * 100%); top: calc(448 / 560 * 100%); transform: rotate(var(--r, -6deg));
		padding: calc(var(--u) * 7) calc(var(--u) * 12); background: var(--b-sun); color: var(--b-ink);
		font: 800 calc(var(--u) * 24) / 1 var(--ax-display); font-stretch: 75%; letter-spacing: .06em; white-space: nowrap;
	}

	/* Community (art=community): a Talk from the back of the room. */
	.leo-ds--home :is(.ljc-cord, .ljc-mic) { stroke: var(--b-deep); stroke-width: 3; }
	.leo-ds--home :is(.ljc-shade, .ljc-frame, .ljc-lectern, .ljc-mic-head, .ljc-stage-front, .ljc-ask-box) { fill: var(--b-deep); }
	.leo-ds--home .ljc-bulb { fill: #fff; }
	.leo-ds--home :is(.ljc-screen, .ljc-desk, .ljc-dot) { fill: var(--b-field); }
	.leo-ds--home :is(.ljc-chip, .ljc-sunbar, .ljc-desk-mark) { fill: var(--b-sun); }
	.leo-ds--home .ljc-head { fill: #fff; }
	.leo-ds--home .ljc-soft { fill: #fff; fill-opacity: .42; }
	.leo-ds--home .ljc-rule { fill: #fff; fill-opacity: .7; }
	.leo-ds--home .ljc-stage { fill: color-mix(in srgb, var(--b-sun) 42%, #fff); }
	.leo-ds--home .ljc-seat--far { fill: color-mix(in srgb, var(--b-field) 52%, #fff); }
	.leo-ds--home .ljc-seat--mid { fill: var(--b-field); }
	.leo-ds--home .ljc-seat--near { fill: var(--b-deep); }
	.leo-ds--home .ljc-pan.ljc-seat--far { fill: color-mix(in srgb, var(--b-field) 72%, #fff); }
	.leo-ds--home :is(.ljc-pan, .ljc-leg).ljc-seat--mid { fill: var(--b-deep); }
	.leo-ds--home :is(.ljc-pan, .ljc-leg).ljc-seat--near { fill: var(--b-ink); }
	.leo-ds--home .ljc-paper { fill: #fff; }
	.leo-ds--home :is(.ljc-heart, .ljc-bulb-ico) { fill: var(--b-field); }
	.leo-ds--home .ljc-bulb-ico { fill: var(--b-sun); stroke: var(--b-deep); stroke-width: 3; }
	.leo-ds--home .ljc-bulb-base { fill: var(--b-deep); }
	.leo-ds--home :is(.ljc-chip-t, .ljc-ask, .ljc-quote) { font-family: var(--ax-display); font-stretch: 75%; font-weight: 800; }
	.leo-ds--home .ljc-chip-t { font-size: 18px; letter-spacing: .08em; fill: var(--b-ink); }
	.leo-ds--home .ljc-ask { font-size: 30px; fill: #fff; }
	.leo-ds--home .ljc-quote { font-size: 110px; fill: var(--b-field); }

	/* Motion in the pictures, never with reduced motion. An opened (hovered or focused) card answers: the lesson and
	   skills fill and the levels light up, the Arena City comes a little closer, the covers spread, the conversation
	   rises. Once, as the row arrives (ds-home.js), the levels rise and the marker climbs them, the covers settle,
	   the bubbles appear. The entries are animations that fill backwards only, so the hover transitions keep working. */
	@media (prefers-reduced-motion: no-preference) {
		.leo-ds--home .leo-home-part__plate > img { transition: transform 900ms var(--mo-ease); }
		.leo-ds--home .leo-home-part:is(:hover, :focus-within) .leo-home-part__plate > img { transform: scale(1.04); }

		.leo-ds--home :is(.ljl-fill, .ljl-bar) { transition: transform 900ms var(--mo-ease) calc(var(--i, 0) * 70ms); }
		.leo-ds--home .ljl-code { transition: fill 260ms var(--mo-ease-fade) calc(100ms + var(--i, 0) * 110ms); }
		.leo-ds--home .ljl-play { transition: fill 200ms var(--mo-ease-fade); }
		.leo-ds--home .leo-home-part--learn:is(:hover, :focus-within) .ljl-fill { transform: scaleX(1); }
		.leo-ds--home .leo-home-part--learn:is(:hover, :focus-within) .ljl-bar { transform: scaleX(var(--q, 1)); }
		.leo-ds--home .leo-home-part--learn:is(:hover, :focus-within) :is(.ljl-code, .ljl-play) { fill: var(--b-sun); }
		.leo-home-motion .leo-ds--home .leo-home-part--learn.is-in .ljl-col { animation: ljl-rise 820ms var(--mo-ease) calc(260ms + var(--i, 0) * 90ms) backwards; }
		.leo-home-motion .leo-ds--home .leo-home-part--learn.is-in .ljl-hop { animation: ljl-climb 2000ms linear 1150ms backwards; }
		.leo-home-motion .leo-ds--home .leo-home-part--learn.is-in :is(.ljl-route, .ljl-pole, .ljl-flag) { animation: hm-show 500ms linear 760ms backwards; }

		.leo-ds--home .leo-home-press__print { transition: transform 640ms var(--mo-ease); }
		.leo-ds--home .leo-home-press__sticker { transition: transform 420ms var(--mo-ease); }
		.leo-ds--home .leo-home-part--blog:is(:hover, :focus-within) .leo-home-press__print--lead { --ty: calc(var(--u) * -8); --r: -1deg; }
		.leo-ds--home .leo-home-part--blog:is(:hover, :focus-within) .leo-home-press__print--left { --tx: calc(var(--u) * -18); --ty: calc(var(--u) * -6); --r: -9deg; }
		.leo-ds--home .leo-home-part--blog:is(:hover, :focus-within) .leo-home-press__print--right { --tx: calc(var(--u) * 18); --ty: calc(var(--u) * -8); --r: 8deg; }
		.leo-ds--home .leo-home-part--blog:is(:hover, :focus-within) .leo-home-press__sticker { --r: -2deg; }
		.leo-home-motion .leo-ds--home .leo-home-part--blog.is-in .leo-home-press__print { animation: lpr-settle 760ms var(--mo-ease) backwards; }
		.leo-home-motion .leo-ds--home .leo-home-part--blog.is-in .leo-home-press__print--left { animation-delay: 300ms; }
		.leo-home-motion .leo-ds--home .leo-home-part--blog.is-in .leo-home-press__print--right { animation-delay: 420ms; }
		.leo-home-motion .leo-ds--home .leo-home-part--blog.is-in .leo-home-press__print--lead { animation-delay: 560ms; }
		.leo-home-motion .leo-ds--home .leo-home-part--blog.is-in .leo-home-press__sticker { animation: hm-show 300ms linear 1100ms backwards; }

		.leo-ds--home :is(.ljc-bubble, .ljc-react, .ljc-chart rect) { transform-box: fill-box; transition: transform 520ms var(--mo-ease) calc(var(--i, 0) * 80ms); }
		.leo-ds--home .ljc-chart rect { transform-origin: 50% 100%; }
		.leo-ds--home .leo-home-part--com:is(:hover, :focus-within) .ljc-bubble { transform: translate(0, -10px); }
		.leo-ds--home .leo-home-part--com:is(:hover, :focus-within) .ljc-react { transform: translate(0, -16px); }
		.leo-ds--home .leo-home-part--com:is(:hover, :focus-within) .ljc-chart rect { transform: scaleY(1.16); }
		.leo-home-motion .leo-ds--home .leo-home-part--com.is-in :is(.ljc-bubble, .ljc-react) { transform-origin: 50% 100%; animation: ljc-pop 560ms var(--mo-ease) calc(600ms + var(--i, 0) * 180ms) backwards; }
		.leo-home-motion .leo-ds--home .leo-home-part--com.is-in .ljc-react { animation-delay: calc(1100ms + var(--i, 0) * 200ms); }

		@keyframes ljl-rise { from { transform: translate(0, 300px); } }
		/* The marker hops from L0 up to L4 (its own place), one level at a time: up out of each top, down onto the next. */
		@keyframes ljl-climb {
			0% { transform: translate(-264px, 208px); opacity: 0; animation-timing-function: ease-out; }
			4% { opacity: 1; }
			12.5% { transform: translate(-231px, 150px); animation-timing-function: ease-in; }
			25% { transform: translate(-198px, 156px); animation-timing-function: ease-out; }
			37.5% { transform: translate(-165px, 98px); animation-timing-function: ease-in; }
			50% { transform: translate(-132px, 104px); animation-timing-function: ease-out; }
			62.5% { transform: translate(-99px, 46px); animation-timing-function: ease-in; }
			75% { transform: translate(-66px, 52px); animation-timing-function: ease-out; }
			87.5% { transform: translate(-33px, -6px); animation-timing-function: ease-in; }
			100% { transform: none; opacity: 1; }
		}
		@keyframes lpr-settle { from { opacity: 0; transform: translate(0, calc(var(--u) * -36)) rotate(calc(var(--r, 0deg) + 7deg)); } }
		@keyframes ljc-pop { from { opacity: 0; transform: translate(0, 18px) scale(.7); } }
	}

	/* The drawings' shared base (home-art.php). */
	.leo-ds--home .lha { display: block; width: 100%; height: auto; overflow: visible; }
	.leo-ds--home .lha-field { fill: var(--b-field); }
	.leo-ds--home .lha-paper { fill: #fff; }
	.leo-ds--home .lha-deep { fill: var(--b-deep); }
	.leo-ds--home .lha-sun { fill: var(--b-sun); }
	.leo-ds--home .lha-mid { fill: var(--hm-tint-2); }
	.leo-ds--home .lha-chip { font-family: var(--ax-display); font-stretch: 75%; font-weight: 800; font-size: 18px; fill: var(--b-ink); }
	.leo-ds--home .lha-play { fill: #fff; }
	.leo-ds--home .lha-track { fill: var(--b-ink); fill-opacity: .2; }
	.leo-ds--home .lha-progress { fill: var(--b-ink); transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(.42); }
	.leo-ds--home .lha-ink { fill: var(--b-ink); }
	.leo-ds--home .lha-ink--soft { fill-opacity: .32; }
	.leo-ds--home .lha-lit { fill: var(--b-sun); }

	/* ==== 3. HOW YOU LEARN: the deep field, three lines, the real board ================================ */
	.leo-ds--home .leo-home-how { position: relative; overflow: hidden; padding-block: var(--ds-section-block); background: var(--b-deep); color: #fff; }
	.leo-ds--home .leo-home-how__inner { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
	@media (min-width: 1100px) { .leo-ds--home .leo-home-how__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }
	.leo-ds--home .leo-home-how .leo-home-h2 { margin-top: 14px; }
	.leo-ds--home .leo-home-how__list { margin-top: clamp(28px, 3vw, 40px); }
	.leo-ds--home .leo-home-how__item { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
	.leo-ds--home .leo-home-how__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
	.leo-ds--home .leo-home-how__num { color: var(--b-sun); font-weight: 800; font-size: 40px; line-height: .9; }
	.leo-ds--home .leo-home-how__title { font-weight: 800; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.02; text-transform: uppercase; color: #fff; text-wrap: balance; }
	.leo-ds--home.leo-lang-vi .leo-home-how__title { line-height: 1.1; }
	.leo-ds--home .leo-home-how__text { margin-top: 6px; font: 400 17px/1.5 var(--ax-text); color: var(--b-on); }
	.leo-ds--home .leo-home-how__copy > .leo-btn { margin-top: clamp(28px, 3vw, 40px); }
	.leo-ds--home .leo-home-how .leo-btn--yellow:hover, .leo-ds--home .leo-home-how .leo-btn--yellow:focus-visible { background: #fff; color: var(--b-ink); border-color: #fff; }

	/* The collage: the board large, the lesson card and the case building overlapping its corners. */
	.leo-ds--home .leo-home-how__stage { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.leo-ds--home .leo-home-how__badge {
		position: absolute; z-index: 2; left: -10px; top: -10px; display: grid; place-items: center; width: 44px; height: 44px;
		background: var(--b-sun); color: var(--b-ink); font-weight: 800; font-size: 22px; line-height: 1;
	}
	.leo-ds--home .leo-home-how__board { position: relative; grid-column: 1 / -1; }
	.leo-ds--home .leo-home-how__board img { width: 100%; border: 3px solid #fff; background: #fff; }
	.leo-ds--home .leo-home-how__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 12px; font: 500 15px/1.4 var(--ax-text); color: var(--b-on); }
	.leo-ds--home .leo-home-how__lesson { position: relative; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 14px 14px 18px; background: var(--b-sun); }
	.leo-ds--home .leo-home-how__case { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
	.leo-ds--home .leo-home-how__case img { width: 100%; }
	@media (min-width: 700px) {
		.leo-ds--home .leo-home-how__stage { display: block; aspect-ratio: 1.16; }
		.leo-ds--home .leo-home-how__board { position: absolute; left: 0; top: 15%; width: 86%; }
		.leo-ds--home .leo-home-how__board .leo-home-how__badge { left: -18px; top: -18px; }
		.leo-ds--home .leo-home-how__lesson { position: absolute; left: -3%; bottom: 0; width: 34%; }
		.leo-ds--home .leo-home-how__case { position: absolute; right: -4%; top: -3%; width: 38%; align-items: flex-end; }
		.leo-ds--home .leo-home-how__case .leo-home-how__badge { left: auto; right: 4%; top: 2%; }
		.leo-ds--home .leo-home-how__cap { position: absolute; right: 0; top: calc(100% + 6px); justify-content: flex-end; text-align: right; }
	}

	/* ==== 4. THE SUN BAND: the brand line; who it is for =============================================== */
	.leo-ds--home .leo-home-sun { position: relative; overflow: hidden; padding-block: clamp(72px, 9vw, 136px) clamp(64px, 7vw, 104px); background: var(--b-sun); color: var(--b-ink); }
	.leo-ds--home .leo-home-sun__line {
		max-width: 15em; font-weight: 800; font-size: clamp(44px, 7.8vw, 136px); line-height: 1; letter-spacing: -.006em; text-transform: uppercase; text-wrap: balance; overflow-wrap: break-word;
	}
	/* Revision 03 (owner, 14/11/2026): no circle round the mark any more; it keeps its colour and stays one unit. */
	.leo-ds--home .leo-home-sun__mark { display: inline-block; color: var(--b-field); }
	.leo-ds--home.leo-lang-vi .leo-home-sun__line { line-height: 1.14; }

	.leo-ds--home .leo-home-aud { display: grid; gap: 20px; margin-top: clamp(48px, 6vw, 88px); padding-top: 28px; border-top: 3px solid var(--b-ink); }
	@media (min-width: 900px) { .leo-ds--home .leo-home-aud { grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); gap: 32px; } }
	.leo-ds--home .leo-home-aud__label { font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; color: var(--b-ink-2); }
	.leo-ds--home .leo-home-aud__list { display: grid; gap: 28px; }
	@media (min-width: 700px) { .leo-ds--home .leo-home-aud__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; } }
	.leo-ds--home .leo-home-aud__item { position: relative; }
	.leo-ds--home .leo-home-aud__title { font-weight: 800; font-size: clamp(32px, 3.2vw, 50px); line-height: .96; text-transform: uppercase; color: var(--b-deep); }
	.leo-ds--home.leo-lang-vi .leo-home-aud__title { line-height: 1.06; }
	.leo-ds--home .leo-home-aud__text { margin-top: 10px; max-width: 20rem; font: 500 18px/1.45 var(--ax-text); color: var(--b-ink-2); }
	.leo-ds--home .leo-home-aud__arrow { display: none; }
	@media (min-width: 700px) {
		.leo-ds--home .leo-home-aud__arrow {
			display: block; position: absolute; right: -48px; top: 8px; width: 40px; height: 20px; overflow: visible;
			fill: none; stroke: var(--b-field); stroke-width: 3.5; stroke-linecap: square;
		}
	}

	/* ==== 5. FROM THE BLOG: one lead, two in a column ====================================================== */
	.leo-ds--home .leo-home-blog { padding-block: var(--ds-section-block); background: #fff; }
	.leo-ds--home .leo-home-blog__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); }
	@media (min-width: 768px) { .leo-ds--home .leo-home-blog__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; } }
	.leo-ds--home .leo-home-blog__lede { margin-top: 12px; font: 500 clamp(19px, 1.6vw, 24px)/1.4 var(--ax-text); color: var(--b-ink-2); }
	.leo-ds--home .leo-home-blog__grid { display: grid; gap: 28px; }
	@media (min-width: 900px) {
		.leo-ds--home .leo-home-blog__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto 1fr; gap: 32px 40px; }
		.leo-ds--home .leo-home-post--lead { grid-row: 1 / span 3; }
	}
	.leo-ds--home .leo-home-post { position: relative; display: grid; gap: 16px; align-content: start; }
	.leo-ds--home .leo-home-post:not(.leo-home-post--lead) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: 18px; }
	.leo-ds--home .leo-home-post__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--b-grey); }
	.leo-ds--home .leo-home-post:not(.leo-home-post--lead) .leo-home-post__media { aspect-ratio: 4 / 3; }
	.leo-ds--home .leo-home-post__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 700ms var(--mo-ease); }
	.leo-ds--home .leo-home-post:hover .leo-home-post__media img { transform: scale(1.05); }
	.leo-ds--home .leo-home-post__glyph { display: grid; place-items: center; width: 100%; height: 100%; font: 800 64px/1 var(--ax-display); font-stretch: 75%; color: var(--b-field); }
	.leo-ds--home .leo-home-post__cat { font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; color: var(--b-field); }
	.leo-ds--home .leo-home-post__title { margin-top: 8px; font-weight: 700; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.06; color: var(--b-deep); text-wrap: pretty; }
	.leo-ds--home .leo-home-post--lead .leo-home-post__title { font-size: clamp(30px, 3vw, 48px); line-height: 1; }
	.leo-ds--home.leo-lang-vi .leo-home-post__title { line-height: 1.14; }
	.leo-ds--home .leo-home-post__link { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 360ms var(--mo-ease); }
	.leo-ds--home .leo-home-post:hover .leo-home-post__link { background-size: 100% 2px; }
	.leo-ds--home .leo-home-post__link::after { content: ""; position: absolute; inset: 0; }
	.leo-ds--home .leo-home-post__link:focus-visible { outline: 0; }
	.leo-ds--home .leo-home-post:has(.leo-home-post__link:focus-visible) { outline: 3px solid var(--b-ink); outline-offset: 6px; }

	/* ==== 6. THE FOUNDING TEAM: a small tree, not an org chart ============================================= */
	/* Revision 03 layout: Thảo at the top, a little larger; Anh Thư and Minh Hiền on the two lower nodes. Phones and
	   tablets: Thảo, then the two below her lines. From 1024px: the two beside and below Thảo's portrait, so the whole
	   section stays well under one screen. Portraits are circles, cover-cropped, centred on the face (per-portrait
	   --leo-focus from the template).
	   Revision 04 branches: two short arcs of one circle (wide: through the three portraits' centres; stacked: through
	   a node under Thảo's lines and the two lower centres), drawn as round Ultramarine dots, the route of the
	   homepage's drawings (hero, the path) at a quieter size: no elbows, no long rules. Each starts at a Sun node with
	   an Ultramarine-deep ring (the hero's route marker): beside Thảo's portrait when wide, under her lines stacked.
	   They are inline SVG in Thảo's item (template), sized from the same variables as the circles, so their ends
	   always stop short of the portraits and never reach text. */
	.leo-ds--home .leo-home-team {
		/* Stacked: a column per lower portrait; their circles and the gap above them scale with it, and so does the
		   drawing (viewBox 300 x 52 at a 150px column). */
		--tm-col: 150px; --tm-t: 120px;
		--tm-m: calc(var(--tm-col) * 92 / 150); --tm-rg: calc(var(--tm-col) * 52 / 150);
		padding-block: clamp(48px, 4.2vw, 60px); background: var(--b-grey);
	}
	@media (max-width: 359px) { .leo-ds--home .leo-home-team { --tm-col: 140px; } }
	@media (min-width: 600px) { .leo-ds--home .leo-home-team { --tm-col: 190px; --tm-t: 136px; } }
	.leo-ds--home .leo-home-team .leo-home-h2 { margin-bottom: clamp(24px, 2.6vw, 36px); text-align: center; }
	.leo-ds--home .leo-home-team__list {
		display: grid; grid-template-columns: minmax(0, 1fr) var(--tm-col) var(--tm-col) minmax(0, 1fr); column-gap: 0; row-gap: var(--tm-rg);
		width: min(100%, 560px); margin-inline: auto;
	}
	.leo-ds--home .leo-home-member { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding-inline: 4px; text-align: center; }
	.leo-ds--home .leo-home-member--1 { grid-column: 1 / -1; }
	.leo-ds--home .leo-home-member--2 { grid-column: 2; }
	.leo-ds--home .leo-home-member--3 { grid-column: 3; }
	/* Tablets: a lower node's lines may run a little wider than its column (one line for a role, with room between). */
	@media (min-width: 600px) and (max-width: 1023px) {
		.leo-ds--home :is(.leo-home-member--2, .leo-home-member--3) .leo-home-member__body { width: max-content; max-width: calc(var(--tm-col) + 20px); }
	}

	@media (min-width: 1024px) {
		/* The drawing's viewBox is 880 x 244: these sizes and the list's 880px (90% of 1024 is wider). */
		.leo-ds--home .leo-home-team { --tm-t: 160px; --tm-m: 120px; --tm-drop: 44px; }
		.leo-ds--home .leo-home-team__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; width: min(100%, 880px); }
		.leo-ds--home .leo-home-member--1 { grid-column: 2; grid-row: 1; }
		.leo-ds--home :is(.leo-home-member--2, .leo-home-member--3) { grid-row: 1; padding-top: calc(var(--tm-t) / 2 + var(--tm-drop)); }
		.leo-ds--home .leo-home-member--2 { grid-column: 1; }
		.leo-ds--home .leo-home-member--3 { grid-column: 3; }
		/* Thảo's lines may run wider than her column, between (never under) the two lower portraits. */
		.leo-ds--home .leo-home-member--1 .leo-home-member__body { width: max-content; max-width: calc(200% - var(--tm-m) - 56px); }
	}

	/* The branches. Stacked: in the gap under Thảo's lines, over the two columns. Wide: over the whole list, from
	   the top of Thảo's portrait to the bottom of the lower ones (her item is the middle third, hence -100%/300%). */
	.leo-ds--home .leo-home-team__branches { position: absolute; display: none; max-width: none; overflow: visible; pointer-events: none; }
	.leo-ds--home .leo-home-team__branches--stack {
		display: block; top: 100%; left: 50%; width: calc(2 * var(--tm-col)); height: var(--tm-rg); margin-left: calc(-1 * var(--tm-col));
	}
	@media (min-width: 1024px) {
		.leo-ds--home .leo-home-team__branches--stack { display: none; }
		.leo-ds--home .leo-home-team__branches--wide {
			display: block; top: 0; left: -100%; width: 300%; height: calc(var(--tm-t) / 2 + var(--tm-drop) + var(--tm-m));
		}
	}
	.leo-ds--home .leo-home-team__dots { fill: none; stroke: var(--b-field); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 1; }
	.leo-ds--home .leo-home-team__node { fill: var(--b-sun); stroke: var(--b-deep); stroke-width: 1.5; }

	/* Behind a photograph, only a faint tint while it loads (a full Ultramarine showed as a dark rim at the edge). */
	.leo-ds--home .leo-home-member__media {
		position: relative; display: block; flex: none; width: var(--tm-m); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--b-line);
		outline: 2px solid transparent; outline-offset: 0; transition: outline-color 200ms var(--mo-ease-fade), outline-offset 260ms var(--mo-ease);
	}
	.leo-ds--home .leo-home-member--1 .leo-home-member__media { width: var(--tm-t); }
	.leo-ds--home .leo-home-member:hover .leo-home-member__media { outline-color: var(--b-field); outline-offset: 5px; }
	.leo-ds--home .leo-home-member__photo {
		display: block; width: 100%; height: 100%; max-width: none; aspect-ratio: 1 / 1; border-radius: 50%;
		object-fit: cover; object-position: var(--leo-focus, 50% 50%);
	}
	/* A monogram while a portrait is pending (Anh Thư): the design system's placeholder for a missing portrait, a
	   white face with the initials in Ultramarine, here in the same circle as a photograph, with a hairline ring. */
	.leo-ds--home .leo-home-member__media--mono {
		display: grid; place-items: center; background: #fff; color: var(--b-field); box-shadow: inset 0 0 0 var(--ds-border-thin) var(--b-line-2);
		font-weight: 800; font-size: calc(var(--tm-m) * .36); line-height: 1; letter-spacing: .02em;
	}

	.leo-ds--home .leo-home-member__body { margin-top: 14px; }
	.leo-ds--home .leo-home-member__name { font-weight: 800; font-size: clamp(22px, 1.9vw, 26px); line-height: 1; text-transform: uppercase; color: var(--b-deep); }
	.leo-ds--home .leo-home-member--1 .leo-home-member__name { font-size: clamp(26px, 2.3vw, 32px); }
	.leo-ds--home.leo-lang-vi .leo-home-member__name { line-height: 1.1; }
	.leo-ds--home .leo-home-member__role { margin-top: 6px; font: 600 15px/1.4 var(--ax-text); color: var(--b-ink); text-wrap: balance; }
	.leo-ds--home .leo-home-member--1 .leo-home-member__role { font-size: 16px; }
	.leo-ds--home .leo-home-member__line { margin-top: 3px; font: 400 15px/1.45 var(--ax-text); color: var(--b-ink-2); }
	.leo-ds--home .leo-home-member__fact { display: block; }
	@media (min-width: 1024px) {
		.leo-ds--home .leo-home-member__fact { display: inline; }
		.leo-ds--home .leo-home-member__fact + .leo-home-member__fact::before { content: "·"; content: "·" / ""; margin-inline: .2em .5em; }
	}

	/* The wider circle, one line under the tree. */
	.leo-ds--home .leo-home-team__more {
		max-width: 36rem; margin: clamp(32px, 3.4vw, 44px) auto 0; text-align: center; text-wrap: balance;
		font: 500 clamp(16px, 1.3vw, 18px)/1.5 var(--ax-text); color: var(--b-ink-2);
	}

	/* Motion (only when ds-home.js allows it): the branches open from Thảo once the tree arrives. */
	@media (prefers-reduced-motion: no-preference) {
		.leo-home-motion .leo-ds--home .leo-home-team__branches { clip-path: inset(0); transition: clip-path 800ms var(--mo-ease) 450ms; }
		.leo-home-motion .leo-ds--home .leo-home-team__list:not(.is-in) .leo-home-team__branches--stack { clip-path: inset(0 0 100% 0); }
		.leo-home-motion .leo-ds--home .leo-home-team__list:not(.is-in) .leo-home-team__branches--wide { clip-path: inset(0 50%); }
	}

	/* ==== 7. EARLY ACCESS: a Sun panel on the field, the shared form, the city on the horizon =============== */
	.leo-ds--home .leo-home-signup {
		--hm-sky: clamp(84px, 10vw, 160px);
		position: relative; isolation: isolate; overflow: hidden; background: var(--b-field); color: #fff;
		padding-block: clamp(64px, 8vw, 120px) calc(var(--hm-sky) + clamp(40px, 5vw, 72px));
	}
	.leo-ds--home .leo-home-signup__inner { position: relative; z-index: 1; display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }
	@media (min-width: 960px) { .leo-ds--home .leo-home-signup__inner:has(.leo-home-signup__form > *) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
	.leo-ds--home .leo-home-signup__head { padding: clamp(28px, 3.4vw, 52px); background: var(--b-sun); color: var(--b-ink); }
	.leo-ds--home .leo-home-signup__eyebrow { font-weight: 800; font-size: 18px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: var(--b-ink-2); }
	.leo-ds--home .leo-home-signup__title { margin-top: 14px; font-weight: 800; font-size: clamp(48px, 6vw, 96px); line-height: .9; text-transform: uppercase; color: var(--b-deep); }
	.leo-ds--home.leo-lang-vi .leo-home-signup__title { line-height: 1; }
	.leo-ds--home .leo-home-signup__lede { margin-top: 20px; max-width: 30rem; font: 500 clamp(17px, 1.4vw, 20px)/1.5 var(--ax-text); color: var(--b-ink-2); text-wrap: pretty; }
	.leo-ds--home .leo-home-signup__skyline { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: var(--hm-sky); }
	.leo-ds--home .leo-home-signup__skyline .lha { width: 100%; height: 100%; }
	.leo-ds--home .leo-home-signup__skyline .lha-deep { fill: var(--b-deep); }

	/* ==== 8. FAQ: native details, a square that turns Sun when open ======================================== */
	.leo-ds--home .leo-home-faq { padding-block: var(--ds-section-block); background: #fff; interpolate-size: allow-keywords; }
	.leo-ds--home .leo-home-faq__inner { display: grid; gap: 24px; align-items: start; }
	@media (min-width: 1024px) {
		.leo-ds--home .leo-home-faq__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; }
		.leo-ds--home .leo-home-faq .leo-home-h2 { position: sticky; top: calc(96px + var(--leo-nav-top, 0px)); }
	}
	.leo-ds--home .leo-home-faq__list { border-bottom: 1.5px solid var(--b-line-2); }
	.leo-ds--home .leo-home-qa { border-top: 1.5px solid var(--b-line-2); }
	.leo-ds--home .leo-home-qa__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 20px 0; cursor: pointer; list-style: none; }
	.leo-ds--home .leo-home-qa__q::-webkit-details-marker { display: none; }
	.leo-ds--home .leo-home-qa__q::marker { content: ""; }
	.leo-ds--home .leo-home-qa__text { font-weight: 700; font-size: clamp(23px, 2.1vw, 32px); line-height: 1.08; color: var(--b-deep); text-wrap: pretty; transition: color 160ms var(--mo-ease-fade); }
	.leo-ds--home.leo-lang-vi .leo-home-qa__text { line-height: 1.16; }
	.leo-ds--home .leo-home-qa__q:hover .leo-home-qa__text { color: var(--b-field); }
	.leo-ds--home .leo-home-qa__mark { position: relative; flex: none; width: 40px; height: 40px; background: var(--b-field); color: #fff; transition: background-color 200ms var(--mo-ease-fade), color 200ms var(--mo-ease-fade), transform 260ms var(--mo-ease); }
	.leo-ds--home .leo-home-qa__mark::before, .leo-ds--home .leo-home-qa__mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 3px; margin: -1.5px 0 0 -8px; background: currentColor; transition: transform 260ms var(--mo-ease); }
	.leo-ds--home .leo-home-qa__mark::after { transform: rotate(90deg); }
	.leo-ds--home .leo-home-qa[open] .leo-home-qa__mark { background: var(--b-sun); color: var(--b-ink); }
	.leo-ds--home .leo-home-qa[open] .leo-home-qa__mark::after { transform: rotate(0deg); }
	.leo-ds--home .leo-home-qa__q:hover .leo-home-qa__mark { transform: rotate(90deg); }
	.leo-ds--home .leo-home-qa__a { max-width: 44rem; padding: 0 60px 26px 0; }
	.leo-ds--home .leo-home-qa__a p { font: 400 18px/1.65 var(--ax-text); color: var(--b-ink-2); }
	@media (max-width: 599.98px) { .leo-ds--home .leo-home-qa__a { padding-right: 0; } }

	/* ==== Motion ============================================================================================ */
	@media (prefers-reduced-motion: no-preference) {

		/* Hero entry: the words rise out of their slots; the sun rises, the city grows from the ground, the
		   steps follow L0 to L4, the route draws itself, the offices light up. No JavaScript needed. */
		.leo-ds--home .leo-home-hero__line > span { animation: hm-slot 900ms var(--mo-ease) both; }
		.leo-ds--home .leo-home-hero__line--sun > span { animation-delay: 120ms; }
		.leo-ds--home .leo-home-hero__lede { animation: hm-up 800ms var(--mo-ease) 380ms both; }
		.leo-ds--home .leo-home-hero .leo-home-actions { animation: hm-up 800ms var(--mo-ease) 520ms both; }
		.leo-ds--home .lhs-sun { transform-box: fill-box; animation: hm-sun 1400ms var(--mo-ease) 80ms both; }
		.leo-ds--home .lhs-far { animation: hm-far 1000ms var(--mo-ease) 260ms both; }
		.leo-ds--home :is(.lhs-rise, .lhs-step) { transform-box: fill-box; animation: hm-grow 900ms var(--mo-ease) both; }
		.leo-ds--home .lhs-rise { animation-delay: calc(320ms + var(--i, 0) * 110ms); }
		.leo-ds--home .lhs-step { animation-delay: calc(760ms + var(--i, 0) * 110ms); }
		.leo-ds--home .lhs-route-draw { stroke-dasharray: 1; animation: hm-draw 1500ms cubic-bezier(.45, 0, .2, 1) 1500ms both; }
		.leo-ds--home .lhs-win-lit { animation: hm-lit 500ms steps(2, jump-none) var(--d, 1.4s) both; }
		.leo-ds--home .lhs-tw { animation: hm-lit 500ms steps(2, jump-none) var(--d, 1.4s) both, hm-twinkle var(--t, 6s) ease-in-out calc(var(--d, 1.4s) + 1.2s) infinite alternate; }
		.leo-ds--home .lhs-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: hm-bar 3.6s ease-in-out calc(2.2s + var(--b, 0) * .4s) infinite alternate; }
		.leo-ds--home .lhs-lamp { animation: hm-lit 400ms steps(2, jump-none) 2.1s both; }
		.leo-ds--home .lhs-marker-wrap { animation: hm-show 300ms linear 2.8s both; }
		.leo-ds--home .leo-home-hero.is-paused :is(.lhs *, .leo-home-hero__line > span) { animation-play-state: paused; }

		/* The pause control (review 14/11/2026, WCAG 2.2.2): bottom right of the hero, as on Arena's; pressed, it holds every loop. */
		.leo-ds--home .leo-home-hero { position: relative; }
		.leo-ds--home .leo-home-hold {
			position: absolute; right: 16px; bottom: 16px; z-index: 3;
			display: inline-grid; place-items: center; box-sizing: border-box; width: 36px; height: 36px; margin: 0; padding: 0;
			border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 0; box-shadow: none;
			background: var(--b-ink); color: #fff; cursor: pointer;
			transition: background-color 160ms var(--mo-ease-fade), color 160ms var(--mo-ease-fade), border-color 160ms var(--mo-ease-fade);
		}
		.leo-ds--home .leo-home-hold[hidden] { display: none; }
		.leo-ds--home .leo-home-hold__icon { display: block; width: 14px; height: 14px; fill: currentColor; }
		.leo-ds--home .leo-home-hold[aria-pressed="true"] .leo-home-hold__icon--pause,
		.leo-ds--home .leo-home-hold:not([aria-pressed="true"]) .leo-home-hold__icon--play { display: none; }
		.leo-ds--home .leo-home-hold:hover { background: var(--b-sun); color: var(--b-ink); border-color: var(--b-sun); }
		.leo-ds--home .leo-home-hold:focus-visible { outline: 3px solid var(--b-sun); outline-offset: 2px; }
		.leo-ds--home .leo-home.is-held :is(.lhs *, .lha-progress, .leo-home-how__case img, .lha-lit) { animation-play-state: paused; }

		/* Small ambient loops: the lesson's progress, the case building breathing, the horizon's windows. */
		.leo-ds--home .lha-progress { animation: hm-progress 7s cubic-bezier(.4, 0, .2, 1) infinite; }
		.leo-ds--home .leo-home-how__case img { animation: hm-float 5.6s ease-in-out infinite alternate; }
		.leo-ds--home .lha--skyline .lha-lit { animation: hm-twinkle 5s ease-in-out var(--d, 0s) infinite alternate; }

		/* Scroll reveals (ds-home.js adds html.leo-home-motion, then .is-in as each block arrives). */
		.leo-home-motion .leo-ds--home [data-reveal] {
			transition: opacity 700ms var(--mo-ease-fade) calc(var(--i, 0) * 90ms), transform 900ms var(--mo-ease) calc(var(--i, 0) * 90ms);
		}
		.leo-home-motion .leo-ds--home [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 36px, 0); }
		.leo-home-motion .leo-ds--home .leo-home-how__board[data-reveal]:not(.is-in) { transform: translate3d(-48px, 24px, 0); }
		.leo-home-motion .leo-ds--home .leo-home-how__lesson[data-reveal] { transition-delay: 260ms; }
		.leo-home-motion .leo-ds--home .leo-home-how__lesson[data-reveal]:not(.is-in) { transform: translate3d(-24px, 64px, 0) rotate(-4deg); }
		.leo-home-motion .leo-ds--home .leo-home-how__case[data-reveal] { transition-delay: 420ms; }
		.leo-home-motion .leo-ds--home .leo-home-how__case[data-reveal]:not(.is-in) { transform: translate3d(48px, -32px, 0) rotate(5deg); }

		/* The FAQ opens by sliding where the browser can animate to auto. */
		.leo-ds--home .leo-home-qa::details-content { block-size: 0; overflow: clip; transition: block-size 340ms var(--mo-ease), content-visibility 340ms allow-discrete; }
		.leo-ds--home .leo-home-qa[open]::details-content { block-size: auto; }

		@keyframes hm-slot { from { transform: translate3d(0, 115%, 0); } to { transform: none; } }
		@keyframes hm-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
		@keyframes hm-sun { from { transform: translate(0, 260px); } to { transform: none; } }
		@keyframes hm-far { from { opacity: 0; transform: translate(0, 40px); } to { opacity: 1; transform: none; } }
		@keyframes hm-grow { from { transform: translate(0, 101%); } to { transform: none; } }
		@keyframes hm-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
		@keyframes hm-lit { from { fill-opacity: 0; } to { fill-opacity: 1; } }
		@keyframes hm-show { from { opacity: 0; } to { opacity: 1; } }
		@keyframes hm-twinkle { 0%, 55% { fill-opacity: 1; } 100% { fill-opacity: .18; } }
		@keyframes hm-bar { from { transform: scaleY(1); } to { transform: scaleY(.5); } }
		@keyframes hm-progress { 0% { transform: scaleX(.06); } 85%, 100% { transform: scaleX(1); } }
		@keyframes hm-float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -10px, 0); } }
	}
}
