/* elitesoft — a product's own showcase (inc/showcase.php). The before/after is the centre:
 * the client's projects, a line to drag with the small ELITESOFT mark on its handle. */

/* the running line of the client's page, slow and quiet */
.sc-tick { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sc-tick__run { display: flex; width: max-content; animation: sc-run 60s linear infinite; }
.sc-tick span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 500 clamp(15px, 1.3vw, 19px)/1 var(--display); letter-spacing: .01em; color: var(--ink-soft); white-space: nowrap; }
.sc-tick span::after { content: ''; width: 7px; height: 7px; background: var(--tungsten); transform: rotate(45deg); }
@keyframes sc-run { to { transform: translateX(-50%); } }

/* categories */
.sc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sc-tabs button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: none; color: var(--ink-soft); font: 600 var(--t-sm) var(--sans); cursor: pointer; transition: border-color var(--d-fast) ease, background-color var(--d-fast) ease, color var(--d-fast) ease; }
.sc-tabs button span { min-width: 22px; padding: 2px 6px; border-radius: 4px; background: rgba(238, 234, 227, .08); font-size: 12px; font-variant-numeric: tabular-nums; text-align: center; }
.sc-tabs button[aria-selected=true] { border-color: var(--tungsten); background: rgba(242, 176, 94, .12); color: var(--ink); }
.sc-tabs button[aria-selected=true] span { background: var(--tungsten); color: var(--tungsten-ink); }
@media (hover: hover) and (pointer: fine) { .sc-tabs button:hover { color: var(--ink); border-color: rgba(238, 234, 227, .34); } }

/* before / after */
.sc-set[hidden] { display: none; }
.ba { position: relative; margin: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px -30px rgba(0, 0, 0, .8); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; isolation: isolate; }
.ba__img { display: block; width: 100%; height: auto; transition: opacity 160ms ease; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before .ba__img { width: 100%; height: 100%; object-fit: cover; }
.ba.is-swap .ba__img { opacity: .15; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px rgba(0, 0, 0, .18), 0 0 18px rgba(0, 0, 0, .35); z-index: 2; }
.ba__handle { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .28), 0 10px 28px rgba(0, 0, 0, .45); cursor: grab; transition: transform var(--d-press) var(--ease-out), box-shadow var(--d-fast) ease; }
.ba__handle::before, .ba__handle::after { content: ''; position: absolute; top: 50%; margin-top: -6px; border: 6px solid transparent; }
.ba__handle::before { right: calc(100% + 6px); border-right-color: #fff; }
.ba__handle::after { left: calc(100% + 6px); border-left-color: #fff; }
.ba__mark { width: 36px; height: 36px; border-radius: 4px; pointer-events: none; }
.ba.is-drag, .ba.is-drag .ba__handle { cursor: grabbing; }
.ba.is-drag .ba__handle { transform: scale(1.06); }
.ba__handle:focus-visible { outline: 3px solid var(--tungsten); outline-offset: 4px; }
.ba__tag { position: absolute; top: 14px; z-index: 1; padding: 6px 10px; border-radius: 4px; background: rgba(7, 9, 12, .62); color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .02em; pointer-events: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; background: rgba(242, 176, 94, .92); color: var(--tungsten-ink); }
.ba__credit { margin: 14px 0 0; color: var(--muted); font-size: var(--t-sm); }
.ba__credit b { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  /* taller on phones: both pictures cropped the same way, so they still match */
  .ba { aspect-ratio: 5 / 4; }
  .ba > .ba__img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
  .ba__handle { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .ba__mark { width: 30px; height: 30px; }
  .ba__tag { top: 10px; font-size: 11px; }
  .sc-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .sc-tabs button { flex: none; }
}

/* the projects of a category */
.sc-picks { list-style: none; margin: 18px 0 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sc-pick { display: grid; gap: 8px; width: 100%; padding: 0; border: 0; background: none; color: var(--ink-soft); text-align: left; cursor: pointer; scroll-snap-align: start; font: 500 13px/1.3 var(--sans); }
.sc-pick img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-xs); box-shadow: 0 0 0 1px var(--line-2); opacity: .7; transition: opacity var(--d-fast) ease, box-shadow var(--d-fast) ease; }
.sc-pick[aria-pressed=true] { color: var(--ink); }
.sc-pick[aria-pressed=true] img { opacity: 1; box-shadow: 0 0 0 2px var(--tungsten); }
.sc-pick:focus-visible { outline: none; }
.sc-pick:focus-visible img { box-shadow: 0 0 0 3px var(--tungsten); }
@media (hover: hover) and (pointer: fine) { .sc-pick:hover img { opacity: 1; } }

.sc-thanks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px 48px; margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.sc-thanks h3 { font-size: clamp(24px, 2.4vw, 34px); max-width: 16ch; }
.sc-thanks p { margin: 0; color: var(--ink-soft); }
@media (max-width: 800px) { .sc-thanks { grid-template-columns: minmax(0, 1fr); } }

/* showreel and samples */
.sc-show .vid { aspect-ratio: 1400 / 568; }
.sc-samples { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sc-samples a { display: block; border-radius: var(--r-xs); overflow: hidden; }
.sc-samples img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sc-samples a:hover img { transform: scale(1.04); } }
@media (max-width: 760px) { .sc-samples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc-try { margin: 24px 0 0; text-align: center; max-width: none; }

/* vision and figures */
.sc-vision__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.sc-vision__img { margin: 0; }
.sc-vision__img img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); }
.sc-vision__txt .h2 { margin-bottom: 22px; }
.sc-vision__txt p { color: var(--ink-soft); }
.sc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 32px 0 0; border: 1px solid var(--line-2); background: var(--line-2); border-radius: var(--r-xs); overflow: hidden; }
.sc-stats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 18px 18px 16px; background: var(--ground); }
.sc-stats dd { margin: 0; font: 700 clamp(28px, 3vw, 44px)/1 var(--display); letter-spacing: -0.02em; color: var(--tungsten); font-variant-numeric: tabular-nums; }
.sc-stats dt { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 860px) { .sc-vision__in { grid-template-columns: minmax(0, 1fr); } .sc-vision__img { max-width: 520px; } }
@media (max-width: 480px) { .sc-stats { grid-template-columns: minmax(0, 1fr); } }

/* the band with the client's night view */
.sc-band { position: relative; display: grid; place-items: center; min-height: min(78svh, 680px); overflow: hidden; isolation: isolate; text-align: center; }
.sc-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sc-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 55%, rgba(7, 9, 12, .55), rgba(7, 9, 12, .86)); }
.sc-band__in { padding: 80px 0; display: grid; justify-items: center; gap: 16px; }
.sc-band h2 { font-size: clamp(32px, 5vw, 72px); letter-spacing: -0.03em; max-width: 18ch; }
.sc-band p { margin: 0; color: var(--ink-soft); font-size: var(--t-lg); }
.sc-band .btn { margin-top: 10px; }

/* two videos */
.sc-videos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sc-videos__grid .vid { aspect-ratio: 16 / 9; }
@media (max-width: 760px) { .sc-videos__grid { grid-template-columns: minmax(0, 1fr); } }

/* what clients say */
.sc-quotes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sc-quote { margin: 0; padding: 26px 24px 22px; border: 1px solid var(--line-2); border-radius: var(--r-xs); display: grid; align-content: space-between; gap: 18px; background: rgba(18, 23, 30, .55); }
.sc-quote blockquote { margin: 0; }
.sc-quote blockquote p { margin: 0; font: 500 clamp(17px, 1.35vw, 20px)/1.45 var(--display); color: var(--ink); }
.sc-quote blockquote p::before { content: '«'; color: var(--tungsten); }
.sc-quote blockquote p::after { content: '»'; color: var(--tungsten); }
.sc-quote figcaption { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 860px) { .sc-quotes__grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .sc-tick__run { animation: none; }
  .ba__img, .ba__handle, .sc-samples img, .sc-pick img, .sc-tabs button { transition: none; }
}

/* ---- section-based showcases (inc/showcase-more.php): RFEM 6, SUAPP AI, SUAPP ELF ---- */

/* numbered steps of the work (RFEM 6) */
.sc-tabs--steps button span { min-width: 0; padding: 0; background: none; color: var(--muted); font: 600 12px/1 var(--display); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.sc-tabs--steps button[aria-selected=true] span { background: none; color: var(--tungsten); }
/* nine steps (RFEM 6) stay on one row on a laptop */
@media (min-width: 901px) { .sc-tabs--steps { gap: 6px; } .sc-tabs--steps button { gap: 7px; padding: 0 11px; font-size: 14px; } }

/* one topic: the text, then the pictures */
.sc-topic { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-top: clamp(8px, 1.5vw, 18px); }
.sc-topic[hidden] { display: none; }
.sc-topic__txt h3 { font-size: clamp(24px, 2.3vw, 34px); letter-spacing: -0.015em; margin: 0 0 14px; max-width: 20ch; }
.sc-topic__txt > p { color: var(--ink-soft); margin: 0 0 18px; }
.sc-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sc-points li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: var(--t-sm); line-height: 1.5; }
.sc-points li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; background: var(--tungsten); transform: rotate(45deg); }
.sc-topic__txt > .sc-chips, .sc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 20px 0 0; max-width: none; }
.sc-chips span { color: var(--muted); font-size: var(--t-sm); margin-right: 4px; }
.sc-chips b { padding: 5px 10px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font: 500 13px/1 var(--sans); color: var(--ink); }

/* with JavaScript the pictures are a pile of plates (product.css .p-deck) and a strip under it */
.sc-pics[hidden] { display: none; }
.sc-viewer { min-width: 0; }
/* the steps and the whole topic fit in one screen (Κώστας 2026-11-20): the plate is as tall as
 * the screen leaves after the bar on top, the steps and the strip of small ones */
.sc-viewer__stage { padding: 30px 5% 0 4%; display: flex; justify-content: center; }
.sc-deck .p-deck__face .es-photo { display: block; width: auto; max-width: 100%; height: auto; max-height: max(220px, calc(100svh - 360px)); }
.sc-thumbs { display: flex; justify-content: center; gap: 10px; margin: 28px 5% 0 4%; }
.sc-topics .sc-tabs { scroll-margin-top: calc(var(--top-h, 72px) + 16px); }
/* a low screen (a laptop): tighter words and a wider column for them, so the topic still fits */
@media (min-width: 901px) and (max-height: 860px) {
  .sc-topic { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 0; }
  .sc-topics .sc-tabs { margin-bottom: 12px; }
  .sc-topic__txt h3 { font-size: 22px; max-width: none; margin-bottom: 8px; }
  .sc-topic__txt > p { font-size: 15px; line-height: 1.5; margin-bottom: 12px; }
  .sc-points { gap: 6px; }
  .sc-points li { font-size: 14px; line-height: 1.4; }
  .sc-topic__txt > .sc-chips { margin-top: 12px; }
  .sc-viewer__stage { padding-top: 22px; }
  .sc-thumbs { margin-top: 26px; }
  .sc-thumb { flex-basis: 64px; }
  .sc-deck .p-deck__face .es-photo { max-height: max(200px, calc(100svh - 320px)); }
}
.sc-thumb { position: relative; flex: 0 1 76px; padding: 0; border: 0; border-radius: 4px; background: var(--surface); overflow: hidden; cursor: pointer; opacity: .55; box-shadow: 0 0 0 1px var(--line-2); transition: opacity var(--d-fast) ease, box-shadow var(--d-fast) ease, transform 320ms var(--ease-out); }
.sc-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.sc-thumb[aria-pressed=true] { opacity: 1; box-shadow: 0 0 0 2px var(--tungsten), 0 10px 22px -10px rgba(242, 176, 94, .6); transform: translateY(-4px); }
.sc-thumb:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .sc-thumb:hover { opacity: 1; } }
/* a topic with one picture: the same plate, alone (no pile, no strip) */
.sc-pics--1 { display: flex; justify-content: center; padding: 30px 5% 0 4%; }
.sc-pics--1 li { position: relative; isolation: isolate; line-height: 0; }
.sc-pics--1 li::before { content: ''; position: absolute; inset: -11px; z-index: -1; pointer-events: none; --c: var(--tungsten-line);
  background:
    linear-gradient(var(--c), var(--c)) left top / 16px 1px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 16px 1px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 16px 1px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 16px 1px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1px 16px no-repeat; }
.sc-pics--1 li::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -26px; height: 52px; z-index: -2; pointer-events: none; background: radial-gradient(closest-side, rgba(242, 176, 94, .34), transparent); filter: blur(16px); }
.sc-pics--1 a { border-radius: 6px; background: none; overflow: visible; animation: sc-deal 700ms var(--ease-out) 60ms backwards; }
.sc-pics--1 img { width: auto; max-width: 100%; height: auto; aspect-ratio: auto; max-height: max(220px, calc(100svh - 300px)); object-fit: contain; border-radius: 6px; box-shadow: 0 0 0 1px rgba(238, 234, 227, .22), 0 28px 60px -24px rgba(0, 0, 0, .85); }
@media (max-width: 900px) { .sc-pics--1 { padding: 28px 4% 0; } }
@media (prefers-reduced-motion: reduce) { .sc-pics--1 a { animation: none; } }
/* a topic comes in: the words rise one after the other, the pile opens like a fan
 * (CSS animations start again each time the panel is shown) */
@keyframes sc-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes sc-deal { from { opacity: 0; transform: translateY(22px) scale(.97); } }
@keyframes sc-fan { from { opacity: 0; transform: none; } }
.sc-topic__txt > h3, .sc-topic__txt > p, .sc-topic__txt .sc-points li { animation: sc-rise 620ms var(--ease-out) backwards; }
.sc-topic__txt > p { animation-delay: 70ms; }
.sc-topic__txt .sc-points li:nth-child(1) { animation-delay: 130ms; }
.sc-topic__txt .sc-points li:nth-child(2) { animation-delay: 180ms; }
.sc-topic__txt .sc-points li:nth-child(3) { animation-delay: 230ms; }
.sc-topic__txt .sc-points li:nth-child(4) { animation-delay: 280ms; }
.sc-topic__txt .sc-points li:nth-child(n+5) { animation-delay: 330ms; }
.sc-topic__txt > .sc-chips { animation-delay: 380ms; }
.sc-viewer .p-deck__face { animation: sc-deal 700ms var(--ease-out) 60ms backwards; }
.sc-viewer .p-deck__sheet { animation: sc-fan 900ms var(--ease-out) 320ms backwards; }
.sc-thumb { animation: sc-rise 520ms var(--ease-out) backwards; }
.sc-thumb:nth-child(1) { animation-delay: 380ms; } .sc-thumb:nth-child(2) { animation-delay: 430ms; } .sc-thumb:nth-child(3) { animation-delay: 480ms; } .sc-thumb:nth-child(n+4) { animation-delay: 530ms; }
/* the active step: a warm line under it */
.sc-tabs button { position: relative; }
.sc-tabs button::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--tungsten); transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--ease-out); }
.sc-tabs button[aria-selected=true]::after { transform: scaleX(1); }
@media (max-width: 900px) { .sc-viewer { order: -1; } .sc-viewer__stage { padding: 28px 4% 0; } .sc-thumbs { margin-inline: 4%; } }
@media (prefers-reduced-motion: reduce) { .sc-topic__txt > *, .sc-topic__txt .sc-points li, .sc-viewer .p-deck__face, .sc-viewer .p-deck__sheet, .sc-thumb { animation: none; } .sc-thumb, .sc-tabs button::after { transition: none; } }
.sc-pics { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sc-pics li:first-child { grid-column: 1 / -1; }
.sc-pics--3, .sc-pics--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-pics--2 li:first-child { grid-column: auto; }
.sc-pics--2 img { aspect-ratio: 4 / 3; }
.sc-pics a { display: block; border-radius: var(--r-xs); overflow: hidden; background: var(--surface); }
.sc-pics img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sc-pics li + li a:hover img { transform: scale(1.04); } }
@media (max-width: 900px) {
  .sc-topic { grid-template-columns: minmax(0, 1fr); }
  .sc-pics { order: -1; }
  .sc-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .sc-tabs button { flex: none; }
}

/* the opening band of a suite (photo, headline, one action) */
.sc-band--lead { min-height: min(72svh, 640px); }
.sc-band--lead h2 { font-size: clamp(30px, 4.4vw, 64px); max-width: 20ch; }
.sc-band--lead p { max-width: 60ch; }
.sc-band--lead .sc-band__in { padding-inline: 0; }

/* plans side by side */
.sc-plans__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.sc-plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 22px 22px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: rgba(18, 23, 30, .55); }
.sc-plan.is-top { border-color: var(--tungsten); background: rgba(242, 176, 94, .07); }
.sc-plan__top { position: absolute; top: -11px; left: 20px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--tungsten); color: var(--tungsten-ink); font: 600 12px/1 var(--sans); }
.sc-plan h3 { margin: 0; font-size: clamp(24px, 2vw, 30px); }
.sc-plan__term { margin: 0 0 14px; color: var(--muted); font-size: var(--t-sm); }
.sc-plan .sc-points { flex: 1; margin-bottom: 22px; }
.sc-plan .btn { width: 100%; }
@media (max-width: 1000px) { .sc-plans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } }
@media (max-width: 560px) { .sc-plans__grid { grid-template-columns: minmax(0, 1fr); } }

/* terms in a few lines */
.sc-facts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line-2); background: var(--line-2); border-radius: var(--r-xs); overflow: hidden; }
.sc-facts__list div { padding: 18px 18px 16px; background: var(--ground); }
.sc-facts__list dt { color: var(--muted); font-size: var(--t-sm); margin-bottom: 6px; }
.sc-facts__list dd { margin: 0; color: var(--ink); }
@media (max-width: 900px) { .sc-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sc-facts__list { grid-template-columns: minmax(0, 1fr); } }

.sc--more .sc-show .vid { aspect-ratio: 16 / 9; }
@media (prefers-reduced-motion: reduce) { .sc-pics img { transition: none; } }
.sc-topic__txt > .sc-more { margin: 22px 0 0; animation: sc-rise 620ms var(--ease-out) 420ms backwards; }
@media (prefers-reduced-motion: reduce) { .sc-topic__txt > .sc-more { animation: none; } }

/* several official videos of a product (section type «videos»): a grid of posters, each plays on click */
.sc-vids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px 24px; }
.sc-vids__item { margin: 0; min-width: 0; }
.sc-vids .vid { aspect-ratio: 16 / 9; border-radius: var(--r-lg, 14px); }
/* only the round button on the poster: the title is written under it (and stays in the button for screen readers) */
.sc-vids .vid__play { min-height: 0; padding: 8px; gap: 0; font-size: 0; border-radius: 50%; background: rgba(238, 234, 227, .9); }
.sc-vids .vid__play i { width: 54px; height: 54px; }
.sc-vids .vid__poster { transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sc-vids .vid:hover .vid__poster { transform: scale(1.03); } }
.sc-vids__t { margin: 12px 0 0; color: var(--ink-soft); font-size: var(--t-sm, 15px); line-height: 1.4; }
