/*
 * Blocks of the owner's website wireframe (23/11/2026; ./blocks.js). Built on the el- tokens, so the soft style
 * (./soft.css) restyles them through --radius-md, --bg-subtle, --line and the type scale.
 */

/* 01 Hero — the animation (vendor/ebig-hero) owns the dark ground, the title and the orbit stage; this styles what the
   page adds under it. The hero is always dark, so its buttons take the animation's own ink / ground. */
.els-ehero { position: relative; }
.els-ehero.is-static, .els-ehero:not(.eh) { background: #050608; color: #fff; padding: clamp(56px, 8vw, 120px) 16px clamp(48px, 6vw, 96px); text-align: center; }
.els-ehero:not(.eh) .eh-title { margin: 0 auto; max-width: 1100px; font-size: clamp(40px, 6.2vw, 92px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; }
.els-ehero__cta { position: relative; z-index: 3; display: grid; justify-items: center; gap: var(--el-sm); margin-top: var(--el-md); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.els-ehero__cta .el-actions { justify-content: center; }
.els-ehero .el-btn:not(.el-btn--onband) { background: var(--eh-ink, #fff); color: var(--eh-bg, #050608); }
.els-ehero .el-btn:not(.el-btn--onband):hover { background: color-mix(in srgb, var(--eh-ink, #fff) 86%, var(--eh-bg, #050608)); }
.els-ehero .el-btn--onband { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); background: transparent; }
.els-ehero .el-btn--onband:hover { background: rgba(255, 255, 255, 0.1); }
.els-ehero__lead { font-size: 1.125rem; color: #fff; margin: var(--el-xs) 0 0; }
.els-ehero__note { font-size: 0.9rem; color: rgba(255, 255, 255, 0.66); margin: 0; }

/* 03 Three parts */
.els-media { display: grid; gap: var(--el-md); }
.els-media__item { display: grid; gap: var(--el-sm); align-content: start; justify-items: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); min-width: 0; }
.els-media__item figure { width: 100%; margin-bottom: var(--el-xs); }
.els-closing { font-size: var(--el-fs-h4); line-height: 1.3; text-align: center; text-wrap: balance; max-width: 30ch; margin-inline: auto; }

/* 04 Text grid */
.els-textgrid { list-style: none; padding: 0; display: grid; gap: var(--el-lg) var(--el-md); }
.els-textgrid li { display: grid; gap: var(--el-xs); align-content: start; padding-top: var(--el-sm); border-top: 1px solid var(--line); min-width: 0; }

/* 04 Shot grid — big tile 2×2, then tiles; a text tile closes the grid across the row. Three columns, two under 1100px,
   one under 560px. On a band (dark) the tiles are a lighter step of the band; `.el-page` lifts these over soft.css, which loads later. */
.els-shotgrid__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--el-sm); }
.els-shotgrid__cell { display: grid; grid-template-rows: auto 1fr; gap: 4px; min-width: 0; padding: var(--el-sm); border-radius: var(--radius-md); background: var(--bg-subtle); overflow: hidden; }
.els-shotgrid__line { color: var(--ink-muted); }
.els-shotgrid__media { margin-top: var(--el-xs); min-height: 0; }
.els-shotgrid__media .el-shot { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.els-shotgrid__cell.is-big { grid-column: span 2; grid-row: span 2; }
.els-shotgrid__cell.is-big .el-h6 { font-size: 1.25rem; }
.els-shotgrid__cell.is-big .el-shot { aspect-ratio: auto; min-height: 260px; }
.els-shotgrid__cell.is-text { grid-column: 1 / -1; grid-template-rows: auto; align-content: center; }
.el-page .el-band.els-shotgrid .el-body-lg, .el-page .el-band .els-shotgrid__line { color: var(--on-band-muted); }
.el-page .el-band .els-shotgrid__cell { background: color-mix(in srgb, var(--on-band) 7%, var(--band)); }
.el-page .el-band .els-shotgrid__media .el-shot { border-color: color-mix(in srgb, var(--on-band) 14%, var(--band)); }
.el-page .el-band.els-shotgrid .el-link { color: var(--on-band); text-decoration-color: var(--on-band-muted); }
.el-page .el-band.els-shotgrid .el-link:hover { text-decoration-color: var(--on-band); }
.els-cardgrid__icon { display: block; margin-bottom: var(--el-xs); }
.el-doodle { display: block; flex: none; max-width: 100%; height: auto; }
.els-shotgrid__copy { display: grid; gap: 4px; align-content: start; min-width: 0; }
@media (max-width: 1100px) {
  .els-shotgrid__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .els-shotgrid__cell.is-big { grid-row: auto; }
  .els-shotgrid__cell.is-big .el-shot { min-height: 0; aspect-ratio: 16 / 10; }
  /* the text tile stays a strip across the row; a tile that would then sit alone before it takes the row too */
  .els-shotgrid__cell:nth-child(even):has(+ .is-text) { grid-column: 1 / -1; }
  .els-shotgrid__cell:nth-child(even):has(+ .is-text) .el-shot { aspect-ratio: 16 / 7; }
}
@media (max-width: 560px) {
  .els-shotgrid__grid { grid-template-columns: minmax(0, 1fr); }
  .els-shotgrid__cell.is-big { grid-column: auto; }
}

/* 05 AI split */
.els-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--el-gap-xl); align-items: center; }
.els-split__list { list-style: none; padding: 0; display: grid; gap: var(--el-md); }
.els-split__list li { display: grid; gap: 6px; padding-left: var(--el-sm); border-left: 2px solid var(--line); }
.els-split__media { min-width: 0; }
.els-split__media .el-shot { box-shadow: var(--shadow-media); }
.els-guarantees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--el-sm); }
.els-guarantees p { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); font-size: 0.95rem; }
.els-guarantees svg { width: 20px; height: 20px; color: var(--ink); margin-top: 2px; }
.els-guarantees b { font-weight: 600; }
@media (max-width: 900px) { .els-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .els-guarantees { grid-template-columns: minmax(0, 1fr); } }

/* 06 Capability picker */
.els-picker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--el-gap-xl); align-items: start; }
.els-picker__list { list-style: none; padding: 0; display: grid; gap: 8px; }
.els-picker__row { border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--el-dur-1) ease, background-color var(--el-dur-1) ease; }
.els-picker__row.is-open { box-shadow: inset 0 0 0 2px var(--ink); background: var(--bg); }
.els-picker__head { display: block; width: 100%; text-align: left; padding: 18px 20px; border: 0; background: none; color: var(--ink); font: 600 1rem/1.4 var(--font-sans); cursor: pointer; border-radius: var(--radius-md); }
.els-picker__row:not(.is-open) .els-picker__head:hover { background: var(--bg-subtle); }
.els-picker__panel { display: grid; gap: 10px; padding: 0 20px 20px; }
.els-picker__media { position: sticky; top: calc(var(--nav-height) + 24px); min-width: 0; }
.els-picker__media .el-shot { box-shadow: var(--shadow-media); }
.els-placeholder { display: grid; place-content: center; gap: 6px; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--radius-md); border: 1.5px dashed var(--line-strong); background: var(--bg-subtle); color: var(--ink-muted); text-align: center; padding: var(--el-md); }
.els-placeholder span { font-weight: 600; color: var(--ink); }
/* Scroll story: ~one screen of scrolling per item; the step being read is full strength, the others quiet */
.els-scrolly { display: grid; grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr); gap: clamp(24px, 3vw, 48px); }
.els-scrolly__steps { list-style: none; margin: 0; padding: 0; display: grid; }
.els-scrolly__step { position: relative; display: grid; gap: 6px; align-content: center; min-height: min(60vh, 540px); padding: 20px 0 20px 18px; border-left: 2px solid var(--line); opacity: .42; transition: opacity var(--el-dur-2, .3s) ease, border-color var(--el-dur-2, .3s) ease; }
.els-scrolly__step.is-on { opacity: 1; border-left-color: var(--ink); }
.els-scrolly__menu { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--ink-muted); }
.els-scrolly__menu b { font-weight: 500; color: var(--ink); }
.els-scrolly__inline { display: none; }
.els-scrolly__stage { position: sticky; top: calc(var(--nav-height) + max(24px, (100vh - var(--nav-height) - 620px) / 2)); align-self: start; margin: 0; min-width: 0; }
.els-scrolly__slot { position: relative; }
.els-scrolly__slot > * { animation: els-scrolly-in .35s ease both; }
/* the frame behind each screen: one of the Ebig backgrounds (assets/backgrounds, owner 25/11/2026), set per item as --bg
   and drifting slightly with --p; the panel colour shows only until the image loads */
.els-scrolly__frame { position: relative; isolation: isolate; overflow: hidden; padding: clamp(14px, 6%, 56px);   /* wider margin round the screen, owner 25/11/2026 */ border-radius: 20px; background-color: var(--bg-subtle); }
.els-stage-bg { position: absolute; inset: -4%; z-index: -1; background: var(--bg, none) center / cover no-repeat; pointer-events: none; transform: translate(calc(var(--p, 0) * -2%), calc(var(--p, 0) * 2%)) scale(1.04); transition: background-image .6s ease, transform .7s ease-out; }
.els-scrolly__frame .el-shot { position: relative; border: 0; box-shadow: var(--shadow-media); }   /* no borders on screens or frames (owner 24/11) */
@keyframes els-scrolly-in { from { opacity: 0; } to { opacity: 1; } }
.els-scrolly__phones { display: flex; align-items: center; justify-content: center; gap: 7%; aspect-ratio: 16 / 10; max-width: 100%; padding: 4% 6%; }
/* The bezel is 10 units of the 461×1000 screen on every side (aspect 481/1020), so the whole screenshot shows: a % padding is a share of
   the PARENT's width, which made the screen narrower than the shot and object-fit cropped ~4px off each side (owner 24/11: "chụp sao bị sát"). */
.els-scrolly__device { position: relative; height: 100%; aspect-ratio: 481 / 1020; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 16% / 7.6%; background: #050505; box-shadow: var(--shadow-media), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.els-scrolly__device + .els-scrolly__device { height: 90%; }
/* recordings play one at a time in a single phone, full height (owner 25/11/2026) */
.els-scrolly__phones.is-single { padding: 2% 0; } .els-scrolly__phones.is-single .els-scrolly__device { height: 100%; }
.els-scrolly__device img, .els-scrolly__device video { display: block; width: 95.84%; height: auto; aspect-ratio: 461 / 1000; object-fit: cover; object-position: top; border-radius: 14.4% / 6.6%; }
.els-scrolly__device::after { content: ""; position: absolute; top: 2.6%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); border-radius: 99px; background: #050505; }
@media (max-width: 900px) {
  .els-scrolly { grid-template-columns: minmax(0, 1fr); }
  .els-scrolly__stage { display: none; }
  .els-scrolly__steps { gap: var(--el-lg, 40px); }
  .els-scrolly__step { min-height: 0; padding: 0; border-left: 0; opacity: 1; }
  .els-scrolly__inline { display: block; margin-top: 8px; }
}
@media (max-width: 900px) { .els-picker { grid-template-columns: minmax(0, 1fr); } .els-picker__media { position: static; } }

/* 07 Workflows by department */
.els-dept__stories { display: grid; gap: var(--el-sm); justify-items: start; }
.els-dept__stories .els-tabpanel { justify-items: start; }
.els-scenario { display: flex; flex-wrap: wrap; align-items: center; gap: 10px var(--el-sm); padding: var(--el-sm) var(--el-md); border-radius: var(--radius-md); background: var(--bg-subtle); font-size: 1.05rem; max-width: 100%; }
.els-dept { list-style: none; padding: 0; display: grid; gap: var(--el-sm); }
.els-dept__card { display: grid; gap: var(--el-xs); align-content: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); min-width: 0; }
.els-dept__card .els-card__meta { font-variant-numeric: tabular-nums; }
.els-dept__top { display: flex; align-items: center; justify-content: space-between; gap: var(--el-xs); margin-bottom: var(--el-xs); }
.els-dept__card.is-more { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); grid-template-columns: minmax(0, 1fr); }
.els-dept__card.is-more p { max-width: 60ch; }

/* 08 Growth ladder: rising steps on wide screens, a plain list on narrow ones */
.els-ladder { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--el-xs); align-items: end; }
.els-ladder__step { display: grid; gap: 6px; align-content: start; min-height: calc(170px + var(--i) * 30px); padding: var(--el-sm); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); background: var(--bg); min-width: 0; }
.els-ladder__step.is-here { box-shadow: inset 0 0 0 2px var(--ink); }
.els-ladder__step .el-tag { justify-self: start; margin-top: auto; }
.els-ladder__n { font: 500 0.78rem/1 var(--font-mono); color: var(--ink-faint); }
.els-ladder h3 { overflow-wrap: anywhere; }
@media (max-width: 1000px) { .els-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } .els-ladder__step { min-height: 0; } }
@media (max-width: 600px) { .els-ladder { grid-template-columns: minmax(0, 1fr); } }

/* 09 Set-up steps */
/* Set-up (owner 26/11/2026): a row of numbered steps joined by a line, the recording full width under it. */
.els-setup__steps { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.els-setup__step { position: relative; display: grid; align-content: start; gap: 6px; min-width: 0; }
.els-setup__step::before { content: ""; position: absolute; top: 18px; left: 44px; right: calc(-1 * clamp(12px, 1.6vw, 24px)); height: 1px; background: linear-gradient(90deg, var(--line), color-mix(in srgb, var(--brand) 40%, var(--line))); }
.els-setup__step:last-child::before { content: none; }
.els-setup__n { width: 36px; height: 36px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; font: 600 0.95rem/1 var(--font-mono); color: var(--ink); background: color-mix(in srgb, var(--brand) 16%, var(--bg-subtle)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, var(--line)); }
.els-setup__t { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.els-setup__media { min-width: 0; margin: clamp(28px, 4vw, 48px) 0 0; }
.els-setup__media .els-scrolly__frame { padding: clamp(14px, 4.5%, 56px); }
.els-setup__media .el-shot { display: block; width: 100%; height: auto; }
.els-setup__actions { justify-content: center; margin-top: clamp(24px, 3vw, 36px); }
@media (max-width: 1100px) { .els-setup__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } .els-setup__step:nth-child(3n)::before { content: none; } }
@media (max-width: 640px) {
  .els-setup__steps { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .els-setup__step { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; }
  .els-setup__n { grid-row: span 2; margin: 0; }
  .els-setup__step::before, .els-setup__step:nth-child(3n)::before { content: ""; top: 44px; bottom: -14px; left: 18px; right: auto; width: 1px; height: auto; background: var(--line); }
  .els-setup__step:last-child::before { content: none; }
}

/* 11 Computer and phone */
.els-devices { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--el-gap-xl); align-items: center; }
.els-devices__copy { display: grid; gap: var(--el-md); align-content: start; justify-items: start; }
.els-devices__platforms { justify-content: flex-start; }
.els-devices__media { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--el-sm); align-items: end; min-width: 0; }
.els-devices__web .el-shot { box-shadow: var(--shadow-media); }
.els-devices__phone img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), var(--shadow-media); }
@media (max-width: 900px) { .els-devices { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .els-devices__media { grid-template-columns: repeat(2, minmax(0, 1fr)); } .els-devices__web { grid-column: 1 / -1; } }


/* Stats stay two by two on phones (the [data-cols] rule would make one column below 560px). */
@media (max-width: 560px) { .el-page .els-statsbar[data-cols] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Nav (23/11/2026): the wireframe's nav has two items, so its links stay visible down to 821px; below that the menu
   button takes over. landing.css hid the links from 1100px while the button only came at 720px, leaving 721–1100px
   with no way to the products menu. */
@media (max-width: 1100px) and (min-width: 821px) {
  .els-nav .el-nav__links { display: flex; }
  .els-nav .els-mega:not([hidden]) { display: block; }
}
@media (max-width: 820px) {
  .els-nav .el-nav__links { display: none; }
  .els-nav .el-nav__end > :not(.el-nav__toggle) { display: none; }
  .els-nav .el-nav__toggle { display: inline-grid; }
  .els-nav .el-nav__panel:not([hidden]) { display: grid; }
}

/* ---------- sub-pages (23/11/2026) ---------- */
.els-phero { padding-block: var(--el-section-sm) var(--el-md); }
.els-phero__in { display: grid; gap: var(--el-md); justify-items: start; }
.els-phero__in .el-h1 { max-width: 20ch; }
.els-phero__in > .el-body-lg { max-width: 40em; }
.els-phero__points { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--el-md); width: min(100%, 980px); }
.els-phero__points li { display: grid; gap: 4px; align-content: start; padding-top: var(--el-sm); border-top: 2px solid var(--ink); }
.els-phero__points b { font-weight: 600; font-size: 1.05rem; }
.els-phero__points span { color: var(--ink-muted); font-size: 0.95rem; }
.els-phero__media { width: 100%; margin-top: var(--el-sm); }
.els-phero__media .el-shot { box-shadow: var(--shadow-media); }
@media (max-width: 760px) { .els-phero__points { grid-template-columns: minmax(0, 1fr); } }

.els-cardgrid { list-style: none; padding: 0; display: grid; gap: var(--el-sm); }
.els-cardgrid__item { display: grid; gap: var(--el-xs); align-content: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); min-width: 0; }
.els-cardgrid__item .els-card__meta { font-variant-numeric: tabular-nums; }

.els-stages { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--el-sm); }
.els-stage { display: grid; gap: var(--el-xs); align-content: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); min-width: 0; }
.els-stage__n { font: 500 0.8rem/1 var(--font-mono); color: var(--ink-faint); }
.els-stage__items { margin: var(--el-xs) 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 0.9rem; color: var(--ink-muted); }
@media (max-width: 1100px) { .els-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .els-stages { grid-template-columns: minmax(0, 1fr); } }

.els-flowex { display: grid; gap: var(--el-md); }
.els-flowex__phase { display: grid; gap: var(--el-sm); padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg-subtle); }
.els-flowex .els-run { margin-top: 0; }
.els-flowex__what { display: grid; gap: 2px; min-width: 0; }
.els-flowex__what span { color: var(--ink-muted); font-size: 0.9rem; }

.els-levels { list-style: none; padding: 0; display: grid; gap: var(--el-sm); }
.els-level { display: grid; gap: var(--el-xs); align-content: start; padding: var(--el-lg); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.els-level .el-checks { margin-top: var(--el-xs); font-size: 0.95rem; }

.els-statement .el-intro .el-body-lg { max-width: 40em; text-wrap: balance; }   /* centred: lines of even length, no lone last word (owner 24/11 "chữ bị rơi") */
/* running text on the landing never leaves one word alone on its last line */
.el-page :is(p, li) { text-wrap: pretty; }
.els-fineprint ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px var(--el-lg); color: var(--ink-muted); font-size: 0.9rem; }
.els-fineprint { padding-bottom: var(--el-section-sm); }

.els-contact { border: 0; margin: 0; padding: var(--el-lg); border-radius: var(--radius-md); background: var(--bg-subtle); display: grid; gap: var(--el-md); min-width: 0; }
.els-contact legend { padding: 0; float: left; width: 100%; }
.els-contact__choices { display: grid; gap: var(--el-sm); clear: both; }
.els-contact__choice { display: grid; gap: var(--el-xs); align-content: start; justify-items: start; padding: var(--el-card-pad); border-radius: var(--radius-md); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.els-contact__choice .el-btn { margin-top: var(--el-xs); }
.els-contact__mail { color: var(--ink-muted); }

/* Pricing estimate: − count + (wireframe 23/11/2026) */
.els-stepper { display: inline-flex; align-items: center; gap: var(--el-sm); padding: 4px; border-radius: var(--radius-pill); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.els-stepper__btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-subtle); color: var(--ink); font: 500 1.25rem/1 var(--font-sans); cursor: pointer; display: grid; place-items: center; }
.els-stepper__btn:hover:not(:disabled) { background: var(--line); }
.els-stepper__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.els-stepper .els-plan__seats { min-width: 3ch; text-align: center; font-size: 1.15rem; }

/* Chat demo (owner 24/11/2026, "kiểu micro"): what the Assistant does on the left, a small live scene on the right */
.els-cd { display: grid; grid-template-columns: minmax(240px, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.els-cd__list { position: relative; display: grid; gap: 4px; }
.els-cd__item { position: relative; display: grid; gap: 4px; padding: 14px 0 14px 22px; border: 0; background: none; color: var(--ink-faint); font: inherit; text-align: left; cursor: pointer; border-radius: 6px; }
.els-cd__item:hover { color: var(--ink-muted); }
.els-cd__item:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.els-cd__item.is-on { color: var(--ink); }
.els-cd__title { font-size: var(--el-fs-h4); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
.els-cd__sub { font-size: 1rem; line-height: 1.4; color: var(--ink-faint); }
.els-cd__item.is-on .els-cd__sub { color: var(--ink-muted); }
.els-cd__bar { position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; overflow: hidden; }
.els-cd__item.is-on .els-cd__bar { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.els-cd__item.is-on .els-cd__bar::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: top; transform: scaleY(var(--p, 0)); }
.els-cd__stage { position: relative; isolation: isolate; overflow: hidden; margin: 0; min-width: 0; padding: clamp(14px, 3vw, 36px); border-radius: 20px; background-color: color-mix(in srgb, var(--brand) 9%, var(--bg-subtle)); }
.els-cl__media { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: min(560px, 62vh); }
.els-cl__media .el-shot { width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; border: 0; border-radius: 12px; box-shadow: var(--shadow-media); }
.els-cl__media .els-scrolly__phones { position: absolute; inset: 0; aspect-ratio: auto; padding: 2% 0; align-items: center; }
.els-cd__stage.els-cl { padding-top: 64px; }
.els-cl .els-cd__toggle { top: 14px; right: 14px; }
.els-cl__media .els-scrolly__device { height: 96%; } .els-cl__media .els-scrolly__device + .els-scrolly__device { height: 86%; }
/* Recorded phones, one at a time (owner 25/11/2026: two side by side were too small): the phone takes the stage's whole
   height, its padding included, so the stage itself is the containing block. */
.els-cl__media:has(> .els-scrolly__phones.is-single) { position: static; }
.els-cl__media .els-scrolly__phones.is-single { inset: 18px 0; padding: 0; }
.els-cl__media .els-scrolly__phones.is-single .els-scrolly__device { height: 100%; }
.els-scrolly__device[hidden] { display: none; }
.els-cd__toggle { position: absolute; z-index: 2; top: calc(clamp(14px, 3vw, 36px) + 8px); right: calc(clamp(14px, 3vw, 36px) + 12px); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: conic-gradient(var(--brand) calc(var(--p, 0) * 360deg), color-mix(in srgb, var(--ink) 16%, transparent) 0); }
.els-cd__toggle::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--bg); }
.els-cd__toggle::after { content: ""; position: relative; width: 10px; height: 11px; background: linear-gradient(90deg, var(--ink) 0 35%, transparent 35% 65%, var(--ink) 65%); }
.els-cd__toggle.is-paused::after { width: 0; height: 0; margin-left: 3px; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--ink); }
.els-cd__toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* A long clip list (8–10 items) is taller than the stage: the list shows only titles, with the line under the one
   playing, so list and stage start together and end about together — no stage left far below a short list, no empty
   band (owner 26/11/2026, "lỗi bố cục này"; replaces the sticky stage of 25/11). */
@media (min-width: 901px) {
  .els-cd:has(> .els-cl) { align-items: start; }
  .els-cd:has(> .els-cl) .els-cd__item { padding-block: 10px; }
  .els-cd:has(> .els-cl) .els-cd__bar { top: 10px; bottom: 10px; }
  .els-cd:has(> .els-cl) .els-cd__item:not(.is-on) .els-cd__sub { display: none; }
}
@media (max-width: 900px) {
  .els-cd { grid-template-columns: minmax(0, 1fr); }
  .els-cd__list { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .els-cd__item { flex: none; padding: 10px 14px 12px; }
  .els-cd__title { font-size: 1rem; font-weight: 500; }
  .els-cd__sub { display: none; }
  .els-cd__bar { left: 14px; right: 14px; top: auto; bottom: 2px; width: auto; height: 2px; }
  .els-cd__item.is-on .els-cd__bar::after { transform-origin: left; transform: scaleX(var(--p, 0)); }
  /* narrow: the clip fills the frame at a readable size, aimed at where the work happens (item `focus`) */
  .els-cl__media { height: 440px; }
  .els-cl__media .el-shot { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 0 0); }
  .els-cd__stage.els-cl { padding-top: 56px; }
}

/* Long-form document (DocBody, owner 25/11/2026): contents list beside a reading column; tables scroll in their own box */
.els-doc__in { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.els-doc__toc { position: sticky; top: calc(var(--nav-height) + 24px); display: grid; gap: 2px; font-size: .92rem; }
.els-doc__toc .el-eyebrow { margin-bottom: 8px; font-size: .85rem; }
.els-doc__toc a { display: block; padding: 6px 10px; border-left: 2px solid var(--line); color: var(--ink-muted); text-decoration: none; line-height: 1.35; }
.els-doc__toc a:hover { color: var(--ink); }
.els-doc__toc a[aria-current] { color: var(--ink); border-left-color: var(--brand); }
.els-doc__toc a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.els-doc__body { display: grid; gap: clamp(40px, 5vw, 64px); min-width: 0; max-width: 820px; }
.els-doc__part { display: grid; gap: 16px; min-width: 0; scroll-margin-top: calc(var(--nav-height) + 16px); }
.els-doc__part > p { color: var(--ink-muted); max-width: 70ch; }
.els-doc__part > p b, .els-doc__list b { color: var(--ink); font-weight: 600; }
.els-doc__list { display: grid; gap: 8px; padding-left: 1.3em; color: var(--ink-muted); max-width: 70ch; }
.els-doc__table { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.els-doc__table:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.els-doc__table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.els-doc__table th, .els-doc__table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.els-doc__table tr:last-child > * { border-bottom: 0; }
.els-doc__table thead th { font-weight: 600; color: var(--ink-muted); font-size: .8rem; background: var(--bg-subtle); white-space: nowrap; }
.els-doc__table tbody th { font-weight: 600; min-width: 9rem; }
.els-doc__table td { color: var(--ink-muted); min-width: 12rem; }
@media (max-width: 900px) {
  .els-doc__in { grid-template-columns: minmax(0, 1fr); }
  .els-doc__toc { position: static; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 4px 12px; }
  .els-doc__toc .el-eyebrow { grid-column: 1 / -1; }
}


/* Docs (/docs, owner 25/11/2026): menu + search on the left, the article, "On this page" on the right */
.els-docs { padding-block: clamp(24px, 4vw, 48px) var(--el-section-sm); }
.els-docs__in { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr) minmax(160px, 200px); gap: clamp(20px, 4vw, 56px); align-items: start; }
.els-docs__side { position: sticky; top: calc(var(--nav-height) + 16px); max-height: calc(100vh - var(--nav-height) - 32px); overflow-y: auto; display: grid; gap: 14px; padding-right: 4px; }
.els-docs__find { display: block; }
.els-docs__search { width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; font-size: .9rem; }
.els-docs__search:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.els-docs__nav { display: grid; gap: 14px; font-size: .9rem; }
.els-docs__grp { display: grid; gap: 1px; }
.els-docs__grp > p { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint, var(--ink-muted)); font-weight: 600; padding: 0 10px 4px; }
.els-docs__nav a { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 4px 10px; border-radius: 8px; color: var(--ink-muted); text-decoration: none; line-height: 1.35; }
.els-docs__nav a:hover { color: var(--ink); background: var(--bg-subtle); }
.els-docs__nav a[aria-current="page"] { color: var(--ink); background: var(--bg-subtle); font-weight: 500; }
.els-docs__nav a:focus-visible, .els-docs__toc a:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.els-docs__home { font-weight: 500; }
.els-docs__menu > summary { display: none; }
.els-docs__draft { font-size: .68rem; padding: 0 6px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--ink-muted); white-space: nowrap; }
.els-docs__main { min-width: 0; max-width: 820px; }
.els-docs__page { display: grid; gap: 16px; }
.els-docs__page > h2 { margin-top: 12px; scroll-margin-top: calc(var(--nav-height) + 16px); }
.els-docs__page > p:not(.el-eyebrow):not(.el-body-lg) { color: var(--ink-muted); max-width: 70ch; }
.els-docs__page > p b { color: var(--ink); font-weight: 600; }
.els-docs__tag { margin-left: 10px; vertical-align: 2px; font-size: .7rem; font-weight: 500; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--ink-muted); white-space: nowrap; }
.els-docs__tag.is-proposed { border-color: var(--danger); color: var(--danger); }
.els-docs__page > .els-docs__updated { font-size: .85rem; color: var(--ink-faint, var(--ink-muted)); }
.els-docs__note { border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; padding: 10px 14px; max-width: 70ch; }
.els-docs__pn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 24px; }
.els-docs__pn a { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
.els-docs__pn a:hover { border-color: var(--line-strong); }
.els-docs__pn a span { font-size: .8rem; color: var(--ink-muted); }
.els-docs__pn a.is-next { text-align: right; }
.els-docs__toc { position: sticky; top: calc(var(--nav-height) + 24px); display: grid; gap: 6px; font-size: .82rem; }
.els-docs__toc p { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint, var(--ink-muted)); font-weight: 600; }
.els-docs__toc a { color: var(--ink-muted); text-decoration: none; line-height: 1.35; }
.els-docs__toc a:hover { color: var(--ink); }
.els-docs__start { display: grid; gap: 14px; }
.els-docs__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.els-docs__card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px; align-content: start; }
.els-docs__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.els-docs__card li { display: grid; gap: 2px; }
.els-docs__card a { color: var(--ink); font-weight: 500; text-decoration: none; }
.els-docs__card a:hover { text-decoration: underline; }
.els-docs__card li span { font-size: .85rem; color: var(--ink-muted); line-height: 1.45; }
.els-docs__results { display: grid; gap: 10px; }
.els-docs__hit { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.els-docs__hit span { color: var(--ink-muted); font-size: .9rem; }
.els-docs__hit:hover { border-color: var(--line-strong); }
.els-docs__empty { display: grid; gap: 10px; }
@media (max-width: 1100px) {
  .els-docs__in { grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); }
  .els-docs__toc { display: none; }
}
@media (max-width: 760px) {
  .els-docs__in { grid-template-columns: minmax(0, 1fr); }
  .els-docs__side { position: static; max-height: none; overflow: visible; }
  .els-docs__menu { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
  .els-docs__menu > summary { display: list-item; cursor: pointer; font-weight: 500; padding: 2px 0; }
  .els-docs__menu[open] > summary { margin-bottom: 10px; }
}

/* Film (owner 25/11/2026): a product film with sound and subtitles — the browser's own player, 16:9, the page's media
   frame; with several films a list beside it (under it on narrow screens). */
.els-film { display: grid; gap: var(--el-md); }
.els-film--list { grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); align-items: start; }
.els-film__frame { margin: 0; min-width: 0; border-radius: var(--radius-md); overflow: hidden; position: relative; background: #000; box-shadow: var(--shadow-media); aspect-ratio: 16 / 9; }
.els-film__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.els-film__video::cue { font-size: clamp(14px, 1.6vw, 22px); line-height: 1.35; background: rgba(0, 0, 0, .72); }
.els-film__list { display: grid; gap: 4px; align-content: start; min-width: 0; }
.els-film__item { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border: 0; border-left: 2px solid var(--line); background: none; color: var(--ink-muted); font: inherit; cursor: pointer; border-radius: 0 8px 8px 0; min-width: 0; }
.els-film__item:hover { color: var(--ink); background: var(--bg-subtle); }
.els-film__item[aria-pressed="true"] { color: var(--ink); border-left-color: var(--brand); background: var(--bg-subtle); }
.els-film__item:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.els-film__title { font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
.els-film__meta { font-size: .88rem; color: var(--ink-muted); }
/* a muted loop cut from a product film keeps the film's 16:9 instead of the screenshots' 16:10 */
.el-shot.el-clip--film { aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
@media (max-width: 900px) {
  .els-film--list { grid-template-columns: minmax(0, 1fr); }
  .els-film__list { grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .els-film__item { border-left: 0; border-top: 2px solid var(--line); border-radius: 0 0 8px 8px; }
  .els-film__item[aria-pressed="true"] { border-top-color: var(--brand); }
}

/* Alternating rows without a screen: one row of cards (owner 26/11/2026, no empty "Screenshot to come" boxes). */
.els-featcards { display: grid; gap: var(--el-sm, 16px); list-style: none; margin: 0; padding: 0; }
.els-featcards--1 { grid-template-columns: minmax(0, 1fr); }
.els-featcards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.els-featcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.els-featcard { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-subtle); }
.els-featcard .el-checks { margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .els-featcards--2, .els-featcards--3 { grid-template-columns: minmax(0, 1fr); } }

/* A story made only of phones (/products/mobile) shows the whole phone as tall as the screen allows: the stage is the
   screen's height and the phone fills it (owner 26/11/2026, "cho iphone to hẳn lên", then "trình bày như hiện tại xấu thế"
   about a phone cut and faded at the edge — the whole device stays visible). */
@media (min-width: 901px) {
  .els-scrolly--phones .els-scrolly__stage { top: calc(var(--nav-height) + 20px); }
  .els-scrolly--phones .els-scrolly__frame { height: min(calc(100vh - var(--nav-height) - 40px), 900px); max-width: 640px; margin-inline: auto; padding: clamp(16px, 3%, 32px); }
  .els-scrolly--phones .els-scrolly__slot, .els-scrolly--phones .els-scrolly__slot > .els-scrolly__phones { height: 100%; }
  .els-scrolly--phones .els-scrolly__phones { aspect-ratio: auto; padding: 0; }
  /* each item as tall as the stage, so the last one is read while the stage is still pinned (it was pushed off the top) */
  .els-scrolly--phones .els-scrolly__step { min-height: min(calc(100vh - var(--nav-height) - 40px), 900px); }
  .els-scrolly--phones .els-scrolly__steps { padding-bottom: 48px; }
}
/* On a narrow screen the phone sits in a taller box, so it is not a thumbnail (owner 26/11/2026, "cho iphone to hẳn lên"). */
@media (max-width: 900px) { .els-scrolly__inline .els-scrolly__phones.is-single { aspect-ratio: 4 / 5; } }

/* How a workflow runs, drawn (owner 26/11/2026): phases as bands over a row of step cards joined by arrows. */
.els-flowd { position: relative; margin: 0; padding: clamp(20px, 3vw, 40px); border-radius: 24px; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 12%, transparent) 1px, transparent 0) 0 0 / 22px 22px, var(--bg-subtle); }
.els-flowd::before { content: ""; position: absolute; inset: -30% 30% auto -10%; height: 80%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent); pointer-events: none; }
.els-flowd__bands, .els-flowd__steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); column-gap: 36px; }
.els-flowd__bands { margin-bottom: 16px; }
.els-flowd__band { grid-column: var(--from) / var(--to); display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-muted); }
.els-flowd__band::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.els-flowd__steps { list-style: none; margin: 0; padding: 0; align-items: stretch; }
.els-flowd__step { position: relative; display: flex; min-width: 0; }
/* the arrow to the next step */
.els-flowd__step:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: 100%; width: 36px; height: 2px; background: var(--line); }
.els-flowd__step:not(:last-child)::before { content: ""; position: absolute; top: 30px; left: calc(100% + 28px); width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 7px; border-color: transparent transparent transparent var(--line); z-index: 1; }
.els-flowd__step.is-done:not(:last-child)::after { background: color-mix(in srgb, #3fbf7f 70%, var(--line)); }
.els-flowd__step.is-done:not(:last-child)::before { border-left-color: color-mix(in srgb, #3fbf7f 70%, var(--line)); }
.els-flowd__card { flex: 1; display: grid; align-content: start; gap: 6px; min-width: 0; padding: 16px 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); box-shadow: 0 12px 30px -18px rgb(0 0 0 / .45); }
.els-flowd__step.is-now .els-flowd__card { border-color: color-mix(in srgb, var(--brand) 70%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent), 0 18px 40px -18px color-mix(in srgb, var(--brand) 55%, transparent); }
.els-flowd__step.is-todo .els-flowd__card { background: color-mix(in srgb, var(--bg) 60%, transparent); }
.els-flowd__step.is-optional .els-flowd__card { border-style: dashed; }
.els-flowd__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.els-flowd__mark { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); }
.els-flowd__mark.is-done { border: 0; background: #3fbf7f; color: #fff; } .els-flowd__mark.is-done svg { width: 14px; height: 14px; }
.els-flowd__mark.is-now { border-color: var(--brand); box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent); animation: els-flowd-pulse 1.8s ease-out infinite; }
@keyframes els-flowd-pulse { to { box-shadow: 0 0 0 10px transparent; } }
.els-flowd__state { font-size: 0.75rem; color: var(--ink-faint); white-space: nowrap; }
.els-flowd__step.is-now .els-flowd__state { color: var(--brand); font-weight: 600; }
.els-flowd__name { font-size: 1rem; line-height: 1.3; }
.els-flowd__role { justify-self: start; max-width: 100%; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; color: var(--ink-muted); background: color-mix(in srgb, var(--ink) 7%, transparent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.els-flowd__text { font-size: 0.875rem; line-height: 1.45; color: var(--ink-muted); }
/* below 1100 px the row would squeeze: the cards go top to bottom, joined by a line on the left; bands become labels */
@media (max-width: 1100px) {
  .els-flowd__bands { display: none; }
  .els-flowd__steps { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .els-flowd__step.is-phase-start { margin-top: 10px; }
  .els-flowd__step:not(:last-child)::after { top: 100%; left: 26px; width: 2px; height: 22px; }
  .els-flowd__step:not(:last-child)::before { top: calc(100% + 14px); left: 22px; border-width: 7px 5px 0 5px; border-color: var(--line) transparent transparent transparent; }
  .els-flowd__step.is-done:not(:last-child)::before { border-left-color: transparent; border-top-color: color-mix(in srgb, #3fbf7f 70%, var(--line)); }
}
/* Set-up steps on the workflow diagram's panel (owner 26/11/2026) */
.els-flowd--setup { margin: 0; }
.els-flowd--setup .els-setup__n { margin: 0; }
.els-flowd--setup .els-flowd__top { margin-bottom: 2px; }
.els-flowd--setup .els-flowd__step:not(:last-child)::after { top: 36px; background: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.els-flowd--setup .els-flowd__step:not(:last-child)::before { top: 32px; border-left-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
@media (max-width: 1100px) {
  .els-flowd--setup .els-flowd__step:not(:last-child)::after { top: 100%; }
  .els-flowd--setup .els-flowd__step:not(:last-child)::before { top: calc(100% + 14px); border-left-color: transparent; border-top-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
}
.els-feature-frame { padding: clamp(14px, 4%, 40px); }
.els-feature-frame .el-shot { position: relative; border: 0; box-shadow: var(--shadow-media); }
.els-feature-frame img.el-shot { aspect-ratio: auto; width: auto; max-width: 100%; height: auto; max-height: 760px; }   /* a still keeps its own shape: no padding that shrinks its type */
/* A clip cut to one pane of the app keeps that pane's shape (owner 26/11/2026, "tất cả ảnh phải nét như webflow"; Figma
   and Webflow show a part of a screen large rather than a whole screen small). In a feature row it takes its own aspect
   (--clip-ar, from pages/landing/clip-sizes.js), up to 760 px tall; in the working-day stage every clip is 16:10 and
   fills a 16:10 frame, so the stage neither jumps between items nor shows empty ground. */
.els-feature-frame { display: grid; place-items: center; padding: clamp(12px, 3%, 24px); }
.els-feature-frame video.el-clip { aspect-ratio: var(--clip-ar, 16 / 10); width: auto; max-width: 100%; height: auto; max-height: 760px; border: 0; }
.els-feature-frame video.el-clip:not([style*="--clip-ar"]) { width: 100%; }
.els-scrolly__slot:has(> video.el-clip) { display: grid; place-items: center; aspect-ratio: 16 / 10; }   /* the clips of a stage are all 16:10 now (camera, 27/11/2026): no empty band under them (owner "nhìn thừa như này xấu lắm") */
.els-scrolly__frame:has(video.el-clip) { padding: clamp(10px, 3%, 28px); }
.els-scrolly__frame video.el-clip { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 18px 40px rgb(0 0 0 / .45)); }
/* the feature frame is also a .els-scrolly__frame: its own rule wins there (the clip at its own shape, not letterboxed) */
.els-scrolly__frame.els-feature-frame video.el-clip { aspect-ratio: var(--clip-ar, 16 / 10); width: auto; max-width: 100%; height: auto; max-height: 760px; object-fit: fill; filter: drop-shadow(0 18px 40px rgb(0 0 0 / .45)); }
/* The home's cards and the picker show one component at its own size: the still fills the frame from its top (27/11/2026) */
.els-media__item figure .el-shot, .els-picker__media img.el-shot { object-fit: cover; object-position: top center; }
