/* Pol Liria site: one compact system for every page.
   Full-width blocks on a wide grid, one section header, one card family, no text over pictures,
   text at 400 or 500 only and never under 14px. */

:root {
  --gut: clamp(20px, 4vw, 64px);
  --container: 1720px;
  --sec: clamp(64px, 7.5vw, 112px);
  --gap: clamp(16px, 1.8vw, 24px);
  --rad: 20px;
  --rad-sm: 14px;
  --t-body: 16px;
  --line: color-mix(in oklab, var(--ink) 14%, transparent);
}
@media (min-width: 640px) { :root { --gut: clamp(20px, 4vw, 64px); } }
@media (min-width: 1024px) { :root { --gut: clamp(20px, 4vw, 64px); } }

body { font: 400 var(--t-body)/1.6 var(--font-text); -webkit-font-smoothing: antialiased; }
:is(h1, h2, h3) { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(42px, 4.6vw, 80px); line-height: 1.04; letter-spacing: var(--display-tracking-xl); }
h2 { font-size: clamp(32px, 3.2vw, 52px); line-height: 1.08; }
h3 { font-size: 22px; line-height: 1.25; }
p { text-wrap: pretty; }

/* the kit's one-screen section box is off: blocks take the height of what they hold */
main > :is(section, .section) { height: auto !important; min-height: 0 !important; padding: 0; }
main > :is(section, .section) > .wrap { height: auto; display: block; }
main > :is(section, .section) > .wrap:is(.contact, .facts__row) { display: grid; }
main > :is(section, .section) > .wrap.cta-band__row { display: flex; }
main > section.blk { padding-block: var(--sec); }
main > section.blk--tight { padding-top: var(--s-6); }
main > section.hero-x { padding-top: var(--nav); }
main > section.page-head { padding: calc(var(--nav) + clamp(48px, 6vw, 96px)) 0 var(--s-6); }
main > section.page-head > .wrap { display: grid; }

/* ---------------------------------------------------------------- header and brand lockup */
.nav__logo { gap: var(--s-3); }
.nav__logo .logo { width: 28px; height: 28px; flex: none; }
.wordmark { font: 500 20px/1 var(--font-display); text-transform: uppercase; letter-spacing: 0; }
.logo--paper { display: none; }
:root[data-theme="dark"] .logo--ink { display: none; }
:root[data-theme="dark"] .logo--paper { display: block; }
@media (max-width: 419px) { .wordmark { font-size: 17px; } .nav__logo { gap: var(--s-2); } }
@media (max-width: 359px) { .nav:not(.is-open) .nav__actions > .btn { display: none; } }

.theme-toggle { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: color-mix(in oklab, var(--ink) 8%, transparent); }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
.lang { display: inline-flex; gap: 2px; margin-right: var(--s-3); }
.lang__btn { min-width: 40px; height: 44px; padding: 0 var(--s-2); border: 0; background: transparent; color: var(--muted); font: 500 14px/1 var(--font-text); cursor: pointer; }
.lang__btn:hover { color: var(--ink); }
.lang__btn[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
@media (max-width: 1023px) { .lang { margin-right: 0; } }

/* ---------------------------------------------------------------- the one section header */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-6) var(--s-8); flex-wrap: wrap; margin-bottom: clamp(32px, 3.5vw, 56px); }
.sec-head__text { display: grid; gap: var(--s-4); max-width: 820px; }
.sec-head__lead { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.55; color: var(--ink); max-width: 60ch; margin: 0; }
.sec-head__action { flex: none; }
/* the label: a number in a ring, from the circle of the logo, then the section's name in the slab */
.sec-label { display: inline-flex; align-items: center; gap: var(--s-3); margin: 0; font: 500 14px/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.sec-label__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 13px; letter-spacing: 0; }

/* ---------------------------------------------------------------- blocks */
.blk { padding-block: var(--sec); }
.blk--tight { padding-top: var(--s-6); }
.blk--alt { background: var(--p-surface); }
.blk--dark { background: var(--bg); color: var(--ink); }

/* ---------------------------------------------------------------- hero: words on the left, the reel to the right edge */
.hero-x { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(100svh, 940px); padding-top: var(--nav); }
.hero-x__text { align-self: center; display: grid; gap: var(--s-5); padding: var(--s-8) var(--s-8) var(--s-8) max(var(--gut), (100vw - var(--container)) / 2); }
.hero-x__kicker { margin: 0; font: 500 15px/1.3 var(--font-text); color: var(--accent); }
.hero-x__lead { margin: 0; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; max-width: 34em; }
.hero-x .btn-row { margin-top: var(--s-3); }
.hero-x__media { position: relative; display: block; overflow: hidden; border-radius: var(--rad) 0 0 var(--rad); margin-block: var(--s-5); background: #0d0d0c; }
.hero-x__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-x__media:hover > img { transform: scale(1.03); }
.hero-x__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: rgb(240 247 245 / .94); color: var(--brand-teal); box-shadow: 0 10px 40px -10px rgb(0 0 0 / .45); transition: transform .3s, background .3s, color .3s; }
.hero-x__media:hover .hero-x__play { transform: scale(1.08); background: var(--brand-teal); color: #f0f7f5; }
@media (max-width: 1023px) {
  .hero-x { grid-template-columns: 1fr; min-height: 0; }
  .hero-x__text { padding: var(--s-8) var(--gut) var(--s-6); }
  .hero-x__media { aspect-ratio: 16 / 10; margin: 0 var(--gut) var(--s-6); border-radius: var(--rad); }
}

/* ---------------------------------------------------------------- quick facts */
.facts { border-block: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; height: auto; align-items: start; }
.facts__row > div { padding: var(--s-6) var(--s-5) var(--s-6) 0; display: grid; align-content: start; gap: var(--s-1); }
.facts__row > div + div { border-left: 1px solid var(--line); padding-left: var(--s-6); }
.facts dt { font: 500 clamp(24px, 2vw, 32px)/1.1 var(--font-display); }
.facts dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (max-width: 1023px) {
  .facts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts__row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- services: three open columns */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.svc { display: grid; align-content: start; gap: var(--s-3); }
.svc__media { aspect-ratio: 4 / 3; border-radius: var(--rad); overflow: hidden; background: var(--p-surface); margin-bottom: var(--s-3); }
.svc__media > img { width: 100%; height: 100%; object-fit: cover; }
.svc:first-child .svc__media > img { object-position: 50% 62%; }
@media (max-width: 1023px) { .svc:first-child .svc__media > img { object-position: 50% 30%; } }
.svc__n { margin: 0; font: 500 14px/1 var(--font-display); color: var(--accent); letter-spacing: .06em; }
.svc__title { font-size: clamp(22px, 1.7vw, 26px); }
.svc__desc { margin: 0; max-width: 42ch; }
.svc__tools { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-2) 0 0; }
@media (max-width: 1023px) { .svc-grid { grid-template-columns: 1fr; gap: var(--s-8); } .svc__media { aspect-ratio: 16 / 9; } }

/* ---------------------------------------------------------------- chips */
.chip { white-space: nowrap; display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--s-3); border-radius: 999px; font: 500 13px/1 var(--font-text); background: color-mix(in oklab, var(--accent) 14%, transparent); color: color-mix(in oklab, var(--accent) 78%, var(--ink)); }
.chip--quiet { background: transparent; border: 1px solid var(--line); color: var(--ink); }

/* ---------------------------------------------------------------- the video card: the film, a play button, then the words */
.vgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.vgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vgrid--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1200px) { .vgrid--all { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) { .vgrid--all { grid-template-columns: 1fr; } }
@media (max-width: 1023px) { .vgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vgrid--3 > :last-child { display: none; } }
@media (max-width: 639px) { .vgrid--3 { grid-template-columns: 1fr; } .vgrid--3 > :last-child { display: block; } }
.vcard-item[hidden] { display: none; }
.vcard { --vcard-bg: var(--p-surface); display: flex; flex-direction: column; height: 100%; padding: 8px; border-radius: var(--rad); background: var(--vcard-bg); color: var(--ink); text-decoration: none; border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.blk--alt .vcard { --vcard-bg: var(--p-bg); }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--rad-sm); overflow: hidden; background: #0d0d0c; }
.vcard__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.vcard__play { position: absolute; left: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgb(240 247 245 / .94); color: var(--brand-teal); box-shadow: 0 8px 24px -8px rgb(0 0 0 / .5); transition: transform .3s, background .3s, color .3s; }
.vcard__body { display: grid; gap: var(--s-3); padding: var(--s-5) var(--s-4) var(--s-4); }
.vcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.vcard__year { margin-left: auto; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.vcard__title { font-size: clamp(20px, 1.5vw, 24px); }
.vcard__desc { font-size: 16px; line-height: 1.55; color: var(--muted); }
@media (hover: hover) {
  .vcard:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--accent) 45%, transparent); box-shadow: 0 22px 44px -26px rgb(0 0 0 / .45); }
  .vcard:hover .vcard__media > img { transform: scale(1.05); }
  .vcard:hover .vcard__play { transform: scale(1.1); background: var(--brand-teal); color: #f0f7f5; }
}
.vcard:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.vgrid__empty { margin: var(--s-6) 0 0; color: var(--muted); }

/* ---------------------------------------------------------------- vertical films: a wall from edge to edge */
.reel-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.reel-wall > video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
@media (max-width: 719px) { .reel-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- Stealth: one large picture, two smaller with their words under them */
.bento { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); }
.bento figure { margin: 0; display: grid; align-content: start; gap: var(--s-3); }
.bento img { width: 100%; border-radius: var(--rad); object-fit: cover; }
.bento__a { grid-row: span 2; }
.bento__a img { height: 100%; min-height: 360px; }
.bento__b img, .bento__c img { aspect-ratio: 16 / 9; }
.bento figcaption { font-size: 15px; line-height: 1.5; color: var(--muted); }
.bento figcaption strong { display: block; font: 500 18px/1.3 var(--font-display); color: var(--ink); margin-bottom: 2px; }
@media (max-width: 1023px) { .bento { grid-template-columns: 1fr; } .bento__a { grid-row: auto; } .bento__a img { aspect-ratio: 16 / 9; height: auto; min-height: 0; } }

/* ---------------------------------------------------------------- the four steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.steps > li { display: grid; align-content: start; gap: var(--s-3); padding-top: var(--s-5); border-top: 2px solid var(--ink); }
.steps__n { font: 500 clamp(40px, 3.6vw, 56px)/1 var(--font-display); color: var(--accent); }
.steps p { margin: 0; max-width: 34ch; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-8); } }
@media (max-width: 559px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- contact: the details on the dark panel, the form beside it */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); }
.contact__panel, .contact__form { border-radius: calc(var(--rad) + 4px); padding: clamp(28px, 3.5vw, 56px); }
.contact__panel { display: grid; align-content: start; gap: var(--s-5); background: var(--bg); color: var(--ink); }
.contact__lead { margin: 0; font-size: 18px; line-height: 1.55; }
.contact__list { display: grid; gap: var(--s-4); margin: var(--s-3) 0 0; }
.contact__list > div { display: grid; gap: 2px; }
.contact__list dt { font-size: 14px; font-weight: 500; color: var(--muted); }
.contact__list dd { margin: 0; font-size: 18px; }
.contact__list a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.tools { margin-top: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.tools > p { margin: 0 0 var(--s-3); font-size: 14px; font-weight: 500; color: var(--muted); }
.tools ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.tools img { display: block; width: 36px; height: 36px; }
.ground-inverse .ic-ink { filter: invert(1); }
.contact__form { background: var(--p-surface); align-content: start; }
.form .hp { display: none; }
.form textarea { min-height: 200px; resize: vertical; }
.form label { font-size: 15px; font-weight: 500; }
@media (max-width: 1023px) { .contact { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */
.site-foot { padding: var(--s-9) 0 var(--s-6); border-top: 1px solid var(--line); }
.site-foot__top { display: flex; justify-content: space-between; gap: var(--s-8); flex-wrap: wrap; }
.site-foot__brand { display: grid; gap: var(--s-3); align-content: start; }
.site-foot__tag { margin: 0; font: 500 16px/1.3 var(--font-display); color: var(--muted); }
.site-foot__cols { display: grid; grid-template-columns: repeat(3, minmax(160px, auto)); gap: var(--s-8); }
.site-foot__cols h3 { font: 500 14px/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: var(--s-4); }
.site-foot__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.site-foot__cols a { color: var(--ink); text-decoration: none; font-size: 15px; display: inline-block; padding-block: 4px; }
.site-foot__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-foot__legal { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-foot__legal a { color: var(--muted); }
@media (max-width: 719px) { .site-foot__cols { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- the work page */
.page-head { padding: calc(var(--nav) + clamp(48px, 6vw, 96px)) 0 var(--s-6); }
.page-head .wrap { display: grid; gap: var(--s-5); }
.page-head__lead { margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; max-width: 60ch; }
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.filter { min-height: 44px; padding: 0 var(--s-5); border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 15px/1 var(--font-text); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cta-band__row { display: flex; align-items: end; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; }
.cta-band__row p { margin: var(--s-3) 0 0; font-size: 18px; }
.cta-band__row > div { max-width: 760px; }

/* ---------------------------------------------------------------- the player: the video card, opened large
   Same language as the cards: the page's ground and line, the film inset with its own radius, chips, the slab title.
   It follows day and night, and it is sized to the screen's height so the film and its words fit without scrolling. */
.player {
  --ar: 16 / 9;
  --pw: min(100vw - 2 * var(--gut), 1280px, (100svh - 400px) * (var(--ar)) + 18px);
  width: max(var(--pw), min(100vw - 32px, 520px)); max-width: none; max-height: calc(100svh - 32px);
  margin: auto; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible;
  overscroll-behavior: contain;
}
.player::backdrop { background: rgb(15 15 14 / .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.player__card { display: flex; flex-direction: column; max-height: calc(100svh - 32px); padding: 8px; border-radius: calc(var(--rad) + 4px); background: var(--p-bg); border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgb(0 0 0 / .6); overflow: hidden; }
.player__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) var(--s-3) var(--s-4) var(--s-4); }
.player__heading { display: grid; gap: var(--s-2); min-width: 0; }
.player__meta { display: flex; align-items: center; gap: var(--s-3); margin: 0; }
.player__cats { display: inline-flex; flex-wrap: wrap; gap: var(--s-2); }
.player__year { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.player__title { font: 500 clamp(22px, 2vw, 30px)/1.15 var(--font-display); letter-spacing: var(--display-tracking); margin: 0; }
.player__close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.player__close:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.player__frame { position: relative; flex: none; aspect-ratio: var(--ar); border-radius: var(--rad-sm); overflow: hidden; background: #0d0d0c; }
/* the frame takes each film's own shape (DeepWater 1920x1037, Latte and Trattoria 1920x1013), so no band shows above or under it;
   the player is scaled 1% past the frame, which trims any hairline at the edges */
.player__frame > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0d0d0c; transform: scale(1.012); transform-origin: center; }
.player__info { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--s-6); padding: var(--s-5) var(--s-4) var(--s-4); overflow: auto; min-height: 0; }
.player__label { margin: 0 0 var(--s-2); font: 500 13px/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.player__process p:last-child { margin: 0; font-size: 16px; line-height: 1.6; max-width: 64ch; }
.player__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; }
.player[open] .player__card { animation: player-in .28s cubic-bezier(.2,.7,.2,1); }
@keyframes player-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@media (prefers-reduced-motion: reduce) { .player[open] .player__card { animation: none; } }
@media (max-width: 639px) {
  .player { width: calc(100vw - 16px); }
  .player__info { grid-template-columns: 1fr; gap: var(--s-5); }
  .player__head { padding: var(--s-2) var(--s-2) var(--s-3) var(--s-3); }
}

/* touch: no double-tap delay on controls; the kit's pressed and focus states stand in for the tap flash */
a, button, summary, video { touch-action: manipulation; }
html { -webkit-tap-highlight-color: transparent; }

/* fit-ups: the film wall ends its band; the large Stealth picture fills its row; the message field takes the form's height */
main > section#redes { padding-bottom: 0; }
.bento .bento__a { display: block; height: 100%; }
.bento__a img { height: 100%; }
.contact__form { grid-template-rows: auto minmax(0, 1fr) auto auto; align-content: stretch; }
.contact__form .field--full { display: flex; flex-direction: column; }
.contact__form .field--full textarea { flex: 1 1 auto; }
@media (min-width: 1024px) { main > section.hero-x { min-height: min(100svh, 940px) !important; } }

/* phones: every link outside running text gets a 44px tap target */
@media (max-width: 639px) {
  .site-foot__cols a, .site-foot__legal a, .contact__list a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-foot__cols ul { gap: 0; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .vcard, .vcard__media > img, .vcard__play, .hero-x__media > img, .hero-x__play, .filter { transition: none !important; }
  .vcard:hover, .vcard:hover .vcard__media > img, .hero-x__media:hover > img, .hero-x__media:hover .hero-x__play, .vcard:hover .vcard__play { transform: none !important; }
}

/* ---------------------------------------------------------------- software: the real icon and the full name, everywhere a tool is named */
.tools-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.tool { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.tool > img { flex: none; width: 22px; height: 22px; display: block; }
:root[data-theme="dark"] .ic-ink, .ground-inverse .ic-ink { filter: invert(1); }
/* in a video card: under the words, behind a hairline, pinned to the card's foot so every row lines up */
.vcard__tools { margin: auto var(--s-4) var(--s-2); padding: var(--s-4) 0 var(--s-2); border-top: 1px solid var(--line); }
/* in a service: under its text */
.svc .tools-list { margin-top: var(--s-2); }
/* in the contact panel: the whole kit, two columns */
.tools .tools-list--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-4); }
.tools .tools-list--cols .tool > img { width: 24px; height: 24px; }
@media (max-width: 380px) { .tools .tools-list--cols { grid-template-columns: 1fr; } }
/* in the player */
.player__sw .tools-list { flex-direction: column; gap: var(--s-3); }

/* ---------------------------------------------------------------- the film wall, one at a time */
.reel-wall > video { display: none; }
.reel-item { position: relative; overflow: hidden; background: #000; }
.reel-item > video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; transition: opacity .4s; }
.reel-wall:has(.is-active) .reel-item:not(.is-active) > video { opacity: .55; }
.reel-item:hover > video { opacity: 1 !important; }
.reel-item__hit { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.reel-item__hit:focus-visible { outline: 3px solid var(--brand-green); outline-offset: -3px; }
.reel-item.is-user .reel-item__hit, .reel-item.is-user .reel-item__sound { display: none; }
/* muted sign: on the film playing on its own, and on any film under the pointer */
.reel-item__sound { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(240 247 245 / .92); color: #156a84; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.reel-item.is-active .reel-item__sound, .reel-item:hover .reel-item__sound { opacity: 1; }
.reel-item:hover .reel-item__sound { transform: scale(1.08); }
/* progress of the film playing */
.reel-item__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgb(240 247 245 / .18); opacity: 0; transition: opacity .25s; pointer-events: none; }
.reel-item__bar > span { display: block; height: 100%; width: 0; background: var(--brand-green); }
.reel-item.is-active:not(.is-user) .reel-item__bar { opacity: 1; }
.reel-hint { margin: calc(-1 * clamp(16px, 2vw, 32px)) 0 clamp(24px, 2.5vw, 40px); font-size: 15px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .reel-item > video, .reel-item__sound, .reel-item__bar { transition: none; } }
