@font-face { font-family: 'FG'; src: url(assets/fonts/FG-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'FG'; src: url(assets/fonts/FG-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Editor'; src: url(assets/fonts/Editor-LightItalic.woff2) format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
/* typografická škála: display (velká slova přes plochu) > h2 (nadpisy sekcí) > h3 (mezititulky) > kicker (Editor nad / pod nadpisem) > text > popisky (.lab) */
:root { --t-display: clamp(52px, 10vw, 180px); --t-h2: clamp(32px, 4.6vw, 80px); --t-h3: clamp(22px, 2.6vw, 44px); --t-kicker: clamp(20px, 2.4vw, 40px); --t-body: clamp(15px, 1.2vw, 19px); }
:root { --red: #FF2800; --navy: #0E1B2C; --blue: #004152; --paper: #fff; --grey: #E1E2E1; --gut: 28px; --bar: 56px; --e: cubic-bezier(.2,.8,.2,1); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); scroll-behavior: smooth; }
body { background: var(--paper); color: var(--navy); font-family: 'FG', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
section[id] { scroll-margin-top: var(--bar); }

/* typografický systém: nadpisy = Founders Grotesk Medium, kapitálky, těsně */
.h { font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; line-height: .96; }
.say { font-weight: 500; text-transform: none; letter-spacing: -.025em; line-height: 1; }
.lab { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25; }

/* tlačítko: ostré rohy, červená výplň zprava doleva */
.btn { position: relative; display: inline-flex; align-items: center; gap: .8em; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; border: 0; padding: 1.25em 1.8em; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--e); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn--xl { font-size: clamp(14px, 1.3vw, 18px); padding: 1.9em 2.6em; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover, .btn--light:focus-visible { color: #fff; }

/* ---------- odhalování při scrollu ---------- */
html.js .rv-fade { opacity: 0; transform: translateY(22px); }
html.js .rv-fade.in { opacity: 1; transform: none; transition: opacity .8s var(--e) calc(var(--i, 0) * 90ms), transform .9s var(--e) calc(var(--i, 0) * 90ms); }
.rv-line { display: block; overflow: hidden; padding: .3em .08em .2em; margin: -.3em -.08em -.2em; }
.rv-line + .rv-line { margin-top: -.5em; } /* sousední okraje se slučují – vrátí původní řádkování */
.rv-line > span { display: inline-block; }
html.js .rv-line > span { transform: translateY(160%); }
html.js .rv-line.in > span { transform: none; transition: transform .95s var(--e) calc(var(--i, 0) * 90ms); }
html.js .rv-clip { clip-path: inset(100% 0 0 0); }
html.js .rv-clip.in { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--e) calc(var(--i, 0) * 110ms); }
html.js .rv-clip img { transform: scale(1.25); }
html.js .rv-clip.in img { transform: scale(1); transition: transform 1.3s var(--e) calc(var(--i, 0) * 110ms); }

/* ---------- horní lišta ---------- */
.bar { position: fixed; left: 0; right: 0; top: 0; z-index: 5; height: var(--bar); background: #fff; color: var(--navy); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gut); transition: transform .5s var(--e); }
html.bar-hidden .bar { transform: translateY(-101%); }
/* naše původní logo, vlevo nahoře */
.logo { justify-self: start; display: block; color: var(--navy); line-height: 0; }
.logo svg { display: block; width: auto; height: 18px; }
.tag { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.tag p { font-size: 12px; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; }
.word { display: inline-block; overflow: hidden; height: 1.25em; vertical-align: top; color: var(--red); }
.word .stack { display: block; will-change: transform; }
.word .stack > span { display: block; width: max-content; height: 1.25em; white-space: nowrap; }
.pause { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; background: none; border: 1px solid rgba(255,255,255,.3); padding: 3px 7px; line-height: 1.2; opacity: .7; }
.pause:hover { opacity: 1; border-color: #fff; }
.bar__r { justify-self: end; display: flex; align-items: center; gap: 26px; }
.menu-btn { background: none; border: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid currentColor; }
.menu-btn i { display: inline-block; width: 12px; height: 7px; border-top: 1px solid; border-bottom: 1px solid; }
.float-cta { position: fixed; top: 12px; right: var(--gut); z-index: 6; box-shadow: 0 0 0 1px rgba(255,255,255,.35); transform: translateY(-80px); transition: transform .5s var(--e); }
html.bar-hidden .float-cta { transform: none; }

/* ---------- menu (dialog) ---------- */
dialog.menu { border: 0; padding: var(--bar) var(--gut) var(--gut); margin: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; background: var(--red); color: #fff; }
dialog.menu[open] { display: flex; flex-direction: column; justify-content: space-between; animation: menuIn .6s var(--e); }
dialog.menu::backdrop { background: transparent; }
@keyframes menuIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.menu__close { position: absolute; top: 0; right: var(--gut); height: var(--bar); background: none; border: 0; }
.menu nav a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; align-items: last baseline; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.35); }
.menu nav b { font-size: var(--t-display); padding: .2em 0 .12em; }   /* vzduch mezi písmeny a čarami */
.menu nav span { font-size: var(--t-body); max-width: 30ch; }
.menu nav a:hover b, .menu nav a:focus-visible b { color: var(--navy); }

/* ---------- featured work ---------- */
.work { padding: clamp(48px, 7vw, 110px) var(--gut) clamp(48px, 7vw, 110px); }
.work__head { margin-bottom: clamp(20px, 3vw, 44px); }
.work__head { --wh: var(--t-h2); }
.work__head h2 { font-size: var(--wh); }
/* levý okraj popisku = levý okraj kresby písmene F (přesah .055em); Editor Light Italic */
.work__note { font-size: var(--t-kicker); line-height: 1.15; margin: calc(var(--wh) * -.1) 0 0 calc(var(--wh) * .055); }   /* blízko pod nadpisem */
.work__fine { color: var(--red); }
/* mozaika s rovným obvodem: 4 sloupcové a 3 řádkové pásy, dlaždice přes ně sahají různě.
   A a F jsou dominantní. Hover zvětší pásy pod dlaždicí, ostatní se úměrně zmenší – obvod zůstává. */
.grid { display: grid; gap: 14px; height: 97vw; grid-template-columns: 4fr 2fr 3fr 3fr; grid-template-rows: 2fr 2fr 3fr 3fr; transition: grid-template-columns .7s var(--e), grid-template-rows .7s var(--e); }
.grid > li { min-width: 0; min-height: 0; }
.grid > li:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.grid > li:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
.grid > li:nth-child(3) { grid-column: 4 / 5; grid-row: 1 / 3; }
.grid > li:nth-child(4) { grid-column: 3 / 4; grid-row: 2 / 3; }
.grid > li:nth-child(5) { grid-column: 1 / 2; grid-row: 3 / 4; }
.grid > li:nth-child(6) { grid-column: 2 / 4; grid-row: 3 / 4; }
.grid > li:nth-child(7) { grid-column: 4 / 5; grid-row: 3 / 4; }
.grid > li:nth-child(8) { grid-column: 1 / 3; grid-row: 4 / 5; }
.grid > li:nth-child(9) { grid-column: 3 / 4; grid-row: 4 / 5; }
.grid > li:nth-child(10) { grid-column: 4 / 5; grid-row: 4 / 5; }
@media (hover: hover) and (min-width: 701px) {
  .grid:has(> li:nth-child(1) .tile:is(:hover, :focus-visible)) { grid-template-columns: 4.7fr 2.35fr 2.475fr 2.475fr; grid-template-rows: 2.25fr 2.25fr 2.5fr 3fr; }
  .grid:has(> li:nth-child(2) .tile:is(:hover, :focus-visible)) { grid-template-columns: 3.6fr 1.8fr 3.9fr 2.7fr; grid-template-rows: 2.55fr 1.7fr 2.75fr 3fr; }
  .grid:has(> li:nth-child(3) .tile:is(:hover, :focus-visible)) { grid-template-columns: 3.6fr 1.8fr 2.7fr 3.9fr; grid-template-rows: 2.25fr 2.25fr 2.5fr 3fr; }
  .grid:has(> li:nth-child(4) .tile:is(:hover, :focus-visible)) { grid-template-columns: 3.6fr 1.8fr 3.9fr 2.7fr; grid-template-rows: 1.7fr 2.55fr 2.75fr 3fr; }
  .grid:has(> li:nth-child(5) .tile:is(:hover, :focus-visible)) { grid-template-columns: 4.9fr 1.8fr 2.65fr 2.65fr; grid-template-rows: 1.8fr 1.8fr 3.4fr 3fr; }
  .grid:has(> li:nth-child(6) .tile:is(:hover, :focus-visible)) { grid-template-columns: 3.4fr 2.4fr 3.8fr 2.4fr; grid-template-rows: 1.8fr 1.8fr 3.4fr 3fr; }
  .grid:has(> li:nth-child(7) .tile:is(:hover, :focus-visible)) { grid-template-columns: 3.6fr 1.8fr 2.7fr 3.9fr; grid-template-rows: 1.8fr 1.8fr 3.4fr 3fr; }
  .grid:has(> li:nth-child(8) .tile:is(:hover, :focus-visible)) { grid-template-columns: 4.7fr 2.35fr 2.475fr 2.475fr; grid-template-rows: 1.8fr 1.8fr 2.8fr 3.6fr; }
  .grid:has(> li:nth-child(9) .tile:is(:hover, :focus-visible)) { grid-template-columns: 3.6fr 1.8fr 3.9fr 2.7fr; grid-template-rows: 1.8fr 1.8fr 2.8fr 3.6fr; }
  .grid:has(> li:nth-child(10) .tile:is(:hover, :focus-visible)) { grid-template-columns: 3.6fr 1.8fr 2.7fr 3.9fr; grid-template-rows: 1.8fr 1.8fr 2.8fr 3.6fr; }
}
.tile { display: block; height: 100%; }
.tile__media { position: relative; overflow: hidden; height: 100%; background: var(--grey); container-type: inline-size; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--e); }
html.js .tile:hover .rv-clip.in img, .tile:hover .tile__media img { transform: scale(1.06); transition: transform .8s var(--e); }
.tile:hover .tile__media::after, .tile:focus-visible .tile__media::after { transform: scaleX(1); }
/* po najetí: ztmavení a klasický název projektu (první velké, zbytek malé) vyjede zespodu */
.tile__media { --wp: clamp(12px, 1.6vw, 26px); }
.tile__media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(14,27,44,.62), rgba(14,27,44,0) 55%), linear-gradient(to bottom, rgba(14,27,44,.32), rgba(14,27,44,0) 30%); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.tile:hover .tile__media::before, .tile:focus-visible .tile__media::before, .tile.is-set .tile__media::before { opacity: 1; }
.tile__name { position: absolute; z-index: 2; left: var(--wp); right: var(--wp); bottom: var(--wp); overflow: hidden; padding: .34em .06em .22em; margin: -.34em -.06em -.22em; color: #fff; font-weight: 500; font-size: var(--t-h2); line-height: 1.02; letter-spacing: -.025em; text-shadow: 0 0 .6em rgba(14,27,44,.4); pointer-events: none; }   /* jako Nobody needs another brand */
.tile__name > span { display: block; transform: translateY(130%); transition: transform .35s cubic-bezier(.5,0,.8,.4); }
.tile:hover .tile__name > span, .tile:focus-visible .tile__name > span, .tile.is-set .tile__name > span { transform: none; transition: transform .75s cubic-bezier(.2,.8,.2,1) .05s; }
.tile__media::after { z-index: 3; }
.tile__title { position: absolute; z-index: 2; top: var(--wp, 16px); right: var(--wp, 16px); max-width: 62%; overflow: hidden; padding: .1em .06em .16em .12em; margin: -.1em -.06em -.16em 0; text-align: right; color: #fff; font-family: 'Editor', Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(13px, 1.15vw, 18px); line-height: 1.12; letter-spacing: 0; text-shadow: 0 0 .6em rgba(14,27,44,.4); pointer-events: none; }
.tile__title > span { display: block; opacity: 0; transition: opacity .3s ease; }   /* Editor vpravo nahoře se prolne (cross dissolve) */
.tile:hover .tile__title > span, .tile:focus-visible .tile__title > span, .tile.is-set .tile__title > span { opacity: 1; transition: opacity .7s ease .35s; }
.cta-line { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 96px); }   /* pod mozaikou jen tlačítko See some more */
/* střed tlačítka = vizuální střed věty (mezi výškou malých a velkých písmen), ne střed řádkového boxu */

/* ---------- klienti ---------- */
.clients { padding: clamp(80px, 10vw, 170px) var(--gut); background: var(--red); color: #fff; }
.clients__t { text-align: center; font-size: var(--t-h2); line-height: 1.04; max-width: 15em; margin: 0 auto clamp(56px, 7vw, 120px); }
.clients__t em { font-family: 'Editor', Georgia, serif; font-style: italic; font-weight: 300; letter-spacing: 0; font-size: .92em; }
.clients :focus-visible { outline-color: #fff; }
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: clamp(48px, 6vw, 100px); column-gap: clamp(16px, 3vw, 48px); align-items: center; }
.logos li { display: flex; align-items: center; justify-content: center; height: clamp(40px, 4.2vw, 70px); }   /* menší loga, víc vzduchu mezi nimi */
.logos img { display: block; width: auto; max-width: 72%; height: calc(100% * var(--k, 1)); object-fit: contain; filter: brightness(0) invert(1); }   /* každé logo bíle; --k = optická velikost podle tvaru */
.logos img.keep { filter: none; }
.logos li.ph { font-weight: 400; opacity: .6; }

/* ---------- the results club (rozvržení „details club“) ---------- */
.cave { padding: clamp(64px, 9vw, 150px) var(--gut) clamp(80px, 11vw, 190px); }
.emblem { width: min(860px, 100%); margin: 0 auto clamp(56px, 8vw, 130px); }
.emblem__row { display: flex; align-items: baseline; justify-content: space-between; }
.emblem__row .sm { font-size: clamp(15px, 2.6vw, 42px); }
.emblem__row .big { font-size: clamp(42px, 8.2vw, 136px); line-height: .82; }
.emblem svg { display: block; width: 100%; height: auto; overflow: visible; }
.emblem svg path, .emblem svg line { fill: none; stroke: var(--navy); stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .emblem svg path, html.js .emblem svg line { stroke-dashoffset: 1; }
html.js .emblem.draw svg path, html.js .emblem.draw svg line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--e) calc(var(--i, 0) * 140ms); }
.emblem svg circle { fill: var(--red); transform-origin: 300px 0; }
html.js .emblem svg circle { transform: scale(0); }
html.js .emblem.draw svg circle { transform: scale(1); transition: transform .7s var(--e) .9s; }
.emblem__meta { display: flex; justify-content: center; margin-top: 1.1em; position: relative; }   /* Est. 2010 na středu pod RESULTS */
/* dvojice vět: šipka se vykreslí od středu do stran, věty z ní vyjedou každá na svou stranu */

/* ---------- patička: EX vlevo, DURIS vpravo, mezi nimi odkazy ---------- */
.ftr { overflow: hidden; padding: clamp(40px, 5vw, 80px) var(--gut) 0; container-type: inline-size; }
.ftr__col { flex: none; display: flex; flex-direction: column; align-items: flex-start; }
.ftr__chat { font-size: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
/* opticky zarovnat kresbu písmen s kresbou obřího D (stejný levý přesah .055em) */
.ftr__chat > * { margin-left: calc(.055 * (var(--mark) - 1em)); }
.ftr__chat a { font-size: var(--t-display); }
/* svislá mezera „Let's talk“ → DURIS = vodorovná mezera konec „LinkedIn“ → D (měřeno na kresbu písmen):
   vodorovně .155em loga + 6,4 px dobíhající prostrkání a přesah N; svisle D přečnívá řádek o .112em
   a pod kresbou „Let's talk“ zbývá .358em jeho velikosti */
.ftr__chat a { margin-bottom: calc(.267 * var(--mark) + 6.4px - .358em); }
.ftr__chat a i { font-style: normal; display: inline-block; font-size: .4em; vertical-align: .75em; margin-left: .3em; transition: transform .4s var(--e); }
.ftr__chat a:hover { color: var(--red); }
.ftr__chat a:hover i { transform: translateX(.4em); }
/* 1em = výška obřího písma; verzálka má výšku .63em, účaří je .27em nad spodkem řádku */
.ftr { --mark: 18.2cqw; }
.ftr__row { display: flex; align-items: flex-end; justify-content: space-between; font-size: var(--mark); margin-bottom: .04em; }
.ftr__mark { flex: none; line-height: .8; }
.ftr__info { flex: 1; min-width: 0; height: .63em; margin: 0 .1em .27em; padding: 10px 0 9px; border-top: 1px solid; border-bottom: 1px solid; display: flex; flex-direction: column; justify-content: space-between; }
.ftr__lists { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; }
.ftr__lists li { line-height: 1.5; }
.ftr__lists ul:last-child { text-align: right; }
.ftr__info a:hover { color: var(--red); }
.ftr__mail { align-self: flex-start; }
.ftr__legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gut); margin: 0 calc(var(--gut) * -1); background: var(--navy); color: #fff; font-size: 11px; letter-spacing: .02em; position: relative; }
.ftr__legal .pause { flex: none; }

@media (max-width: 900px) {
  .clients { grid-template-columns: 1fr; gap: 36px; }
  .mani__in { margin-left: 0; }
  .club__cols { grid-template-columns: 1fr; gap: 18px; }
  .ftr { --mark: 22cqw; }
  .ftr__row { flex-wrap: wrap; }
  .ftr__info { order: -1; flex: 0 0 100%; height: auto; margin: 0 0 28px; gap: 22px; padding: 14px 0; }
  .ftr__col { display: contents; }
  .ftr__chat { order: -2; flex: 0 0 100%; margin: 0 0 28px; }
  .ftr__chat a { margin-bottom: 0; }
}
@media (max-width: 700px) {
  :root { --gut: 16px; --bar: 50px; }
  .logo svg { height: 15px; }
  .bar { grid-template-columns: auto 1fr; }
  .tag { display: none; }
  .bar__r { gap: 18px; }
  .grid { height: auto; gap: 10px; grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 22vw; }
  .grid > li:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 4; }
  .grid > li:nth-child(2) { grid-column: 1; grid-row: 4 / 6; }
  .grid > li:nth-child(3) { grid-column: 2; grid-row: 4 / 7; }
  .grid > li:nth-child(4) { grid-column: 1; grid-row: 6 / 9; }
  .grid > li:nth-child(5) { grid-column: 2; grid-row: 7 / 9; }
  .grid > li:nth-child(6) { grid-column: 1; grid-row: 9 / 12; }
  .grid > li:nth-child(7) { grid-column: 2; grid-row: 9 / 12; }
  .grid > li:nth-child(8) { grid-column: 1 / 3; grid-row: 12 / 15; }
  .grid > li:nth-child(9) { grid-column: 1; grid-row: 15 / 18; }
  .grid > li:nth-child(10) { grid-column: 2; grid-row: 15 / 18; }
  .logos { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .emblem__meta { margin-top: 10px; }
  .ftr__legal { flex-direction: column; align-items: flex-start; }
  .menu nav a { grid-template-columns: 1fr; gap: 0; padding-bottom: 14px; }
  .menu nav b { padding-bottom: .08em; }
  .float-cta { top: 8px; padding: 1em 1.2em; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar, .float-cta, .btn::before, .tile__name > span, .tile__title > span, .tile__media::before { transition: none !important; }
  html.js .rv-fade.in, html.js .rv-line.in > span, html.js .rv-clip.in, html.js .rv-clip.in img, html.js .emblem.draw svg *, html.js .pair.in * { transition: none; }
}

/* ==========================================================================
   v4
   ========================================================================== */
/* písmena EX / DURIS v liště se dotočí zespodu */
:root { --hm: .8em; --off: -.25em; }
.k { display: inline-block; overflow: hidden; vertical-align: baseline; position: relative; height: var(--hm); }
.k > b { display: block; font-weight: inherit; position: relative; }
.k > b > s, .k > b > u { text-decoration: none; display: block; height: var(--hm); white-space: pre; }
.k > b > s { position: absolute; left: 0; }
.k > b > * > em { display: block; font-style: normal; line-height: 1em; margin-top: var(--off); }

/* opener: červená plocha, EX a DURIS; obraz se otevře na velikost okna v hlavičce a červená se rozplyne do stránky */
body { padding-top: var(--bar); }
html.intro { overflow: hidden; }
html.intro .bar { transform: translateY(-101%); transition: none; }
.op { position: fixed; inset: 0; z-index: 30; background: var(--red); color: #fff; overflow: hidden; visibility: hidden; }
html.intro .op { visibility: visible; }
.op.out { background: rgba(255,40,0,0); transition: background-color .55s ease; }
.op__f { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: hidden; background: var(--navy); }
.op__f img { width: 100%; height: 100%; object-fit: cover; }
.op__w { position: absolute; left: 0; top: 0; height: .63em; line-height: 1; font-weight: 500; font-size: clamp(44px, 6.5vw, 124px); letter-spacing: -.01em; white-space: nowrap; transform-origin: 0 0; clip-path: inset(-.14em -.1em -.08em); }
.op__w > span { display: block; }
.op.out .op__w { color: var(--navy); transition: color .4s ease .1s; }   /* na bílé stránce jsou slova tmavá */
html.intro .film { visibility: hidden; }

/* hlavička: okno 16 : 9 přes celou šířku (nic se neořezává) */
/* po filmu hned práce */
.hero + .work { padding-top: clamp(28px, 3.2vw, 56px); }
.hero { padding: 16px var(--gut) 0; }
/* okno jde vždy přes celou šířku, zarovnané s logem a texty (Pavel); na hodně širokém okně prohlížeče zajede spodek pod kraj obrazovky */
.film { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* světlo: po dohrání filmu jezdí po výčtu, kde svítí, ukazuje slova pod ním (kreslí se do canvasu) */
.xray { position: absolute; inset: 0; overflow: hidden; visibility: hidden; touch-action: pan-y; }
.film.is-done .xray { visibility: visible; }
.xray canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* konec filmu: výčet se prolne do stojícího záběru (duotón) a přes něj PLAY SHOWREEL; tlačítko je celé okno */
.film { container-type: inline-size; }
.end { position: absolute; inset: 0; z-index: 3; display: block; width: 100%; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.film.is-still .end { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.end img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.end__d, .end__t { transition: opacity .35s ease; }
.end__t { position: absolute; left: 5cqw; bottom: 5cqw; font-weight: 500; font-size: 12.3cqw; line-height: .72; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.end:focus-visible { outline: 3px solid #fff; outline-offset: -9px; }
@media (hover: hover) { .end__d { filter: brightness(.86); transition: opacity .35s ease, filter .3s ease; } .end:hover .end__d { filter: none; } }
.end__t { opacity: 0; } .film.is-still .end__t { opacity: 1; transition: opacity .3s ease .5s; }
.film.is-go .end { transition: none; } .film.is-go .end__d, .film.is-go .end__t { opacity: 0; transition: opacity .35s ease; }
.film__ui { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: flex; gap: 6px; opacity: 0; transition: opacity .3s; }
.film__btn { color: #fff; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; background: var(--navy); border: 0; padding: 9px 12px; line-height: 1; }
.film__btn:hover { background: var(--red); }
.film:hover .film__ui, .film__ui:focus-within, .film.is-paused .film__ui { opacity: 1; }
.film.is-done .film__ui { opacity: 0; }
.film.is-done:hover .film__ui, .film.is-done .film__ui:focus-within { opacity: 1; }
.film.is-done #filmSkip { display: none; }
@media (hover: none) { .film__ui { opacity: .9; } #filmSkip { display: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* why: věta se při scrollu rozsvěcí po slovech */
/* manifest: přes celou šířku v modré ze showreelu */
.mani { background: var(--blue); color: #fff; padding: clamp(80px, 11vw, 190px) var(--gut) clamp(90px, 12vw, 200px); }
.mani__in { margin-left: 14%; }
.mani__q { font-size: var(--t-kicker); line-height: 1.1; }
.mani .who__big { margin-top: .3em; }
.mani .btn { margin-top: clamp(40px, 5vw, 84px); }
.mani :focus-visible { outline-color: #fff; }
/* klub: pod emblémem co to je (velká věta a tři sloupce), pak přihláška */
.club { width: min(1180px, 100%); margin: 0 auto; }
.club__lead { font-size: var(--t-h2); line-height: 1.04; text-align: center; max-width: 15em; margin: 0 auto; }
.club__lead em { font-family: 'Editor', Georgia, serif; font-style: italic; font-weight: 300; letter-spacing: 0; font-size: .92em; }
.club__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 80px); font-size: var(--t-body); line-height: 1.45; }
/* jedna myšlenka na sloupec; texty mají stejně znaků (~263), takže sloupce končí stejně */
.cave__cta { text-align: center; margin-top: clamp(48px, 6vw, 96px); }
/* YOUR AMBITION / OUR CRAFT: zatím mimo homepage, čeká na stránku O nás (dev/about-snippets.html) */
/* YOUR AMBITION + OUR CRAFT: our craft (červeně) vyjede doprava, your ambition za ním přijede jako magnet; jedou po pásu, pořád dokola.
   bez JS / se sníženým pohybem stojí obě vedle sebe */
.mag { position: relative; margin: clamp(80px, 11vw, 180px) calc(var(--gut) * -1) 0; padding: 0 var(--gut); height: 1.2em; overflow: hidden; font-size: clamp(22px, 5.6vw, 100px); line-height: 1.12; white-space: nowrap; }
.mag__c { color: var(--red); }
.mag.is-on > span { position: absolute; left: 0; top: 0; will-change: transform; }
.who__big { font-size: var(--t-h2); line-height: 1.05; max-width: 17.5em; margin-top: clamp(40px, 5vw, 90px); }
.who__big em { font-family: 'Editor', Georgia, serif; font-style: italic; font-weight: 300; letter-spacing: 0; font-size: .92em; }   /* malá písmena Editoru = výška malých písmen bezpatky */
.who__big em.miss { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; font-size: 1em; color: var(--red); }
/* šipka u Our manifesto: ochablá, po najetí se postaví (site.js) */
.limp { width: 1.15em; height: 1.15em; overflow: visible; flex: none; vertical-align: -.22em; }   /* ↗ všude: ochablá, po najetí se postaví */
.limp path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: butt; stroke-linejoin: miter; }
html.js .who__big span { opacity: .16; transition: opacity .35s ease; }
html.js .who__big span.lit { opacity: 1; }

/* dlaždice ožije: video leží přes fotku */
.tile__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.tile.is-live .tile__media video { opacity: 1; }
.tile__media .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.tile:hover .alt, .tile:focus-visible .alt, .tile.is-set .alt { opacity: 1; }
.logos li:last-child { opacity: .6; }

/* ---------- detail projektu ---------- */
.pj-hero { position: relative; height: clamp(380px, calc(100svh - var(--bar)), 56vw); overflow: hidden; background: var(--navy); color: #fff; }
.pj-hero img { width: 100%; height: 100%; object-fit: cover; }
.pj-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,27,44,.72), rgba(14,27,44,0) 55%); }
.pj-hero div { position: absolute; z-index: 1; left: var(--gut); right: var(--gut); bottom: clamp(20px, 3vw, 44px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pj-hero h1 { font-size: var(--t-display); line-height: .86; margin-left: -.05em; }
.ed { font-family: 'Editor', Georgia, serif; font-style: italic; font-weight: 300; letter-spacing: 0; }
.pj-hero p { font-size: var(--t-kicker); line-height: 1.1; }
.pj-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 20px var(--gut) 18px; border-bottom: 1px solid var(--navy); }
.pj-facts dt { opacity: .55; margin-bottom: 5px; }
.pj-say { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 7vw, 120px); padding: clamp(64px, 9vw, 150px) var(--gut); align-items: start; }
.pj-say h2 { font-size: var(--t-h2); }
.pj-say p + p { margin-top: 1.1em; }
.pj-say p { font-size: var(--t-body); line-height: 1.45; max-width: 46ch; }
.pj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; padding: 0 var(--gut); }
.pj-grid figure { position: relative; overflow: hidden; background: var(--grey); grid-column: span 12; }
.pj-grid figure.w6 { grid-column: span 6; } .pj-grid figure.w7 { grid-column: span 7; } .pj-grid figure.w5 { grid-column: span 5; }
.pj-grid figure > div { height: 100%; }
.pj-grid figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2648 / 1600; }
.pj-grid figure.tall img { aspect-ratio: 1292 / 1600; }
.pj-grid figure.row img { aspect-ratio: auto; height: clamp(260px, 44vw, 820px); }
.pj-grid .note { grid-column: span 12; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; padding: clamp(40px, 6vw, 96px) 0; }
.pj-grid .note b { display: block; font-weight: 500; font-size: var(--t-h3); letter-spacing: -.02em; line-height: 1.05; margin-bottom: .4em; }
.pj-grid .note p { max-width: 32ch; }
.pj-next { display: block; margin-top: clamp(64px, 9vw, 150px); padding: clamp(40px, 6vw, 96px) var(--gut); background: var(--red); color: #fff; }
.pj-next .lab { display: block; margin-bottom: clamp(18px, 2.4vw, 40px); }
.pj-next b { display: block; font-size: var(--t-display); line-height: .9; margin-left: -.05em; transition: transform .6s var(--e); }
.pj-next:hover b { transform: translateX(.12em); }
@media (max-width: 700px) {
  .pj-facts { grid-template-columns: 1fr 1fr; } .pj-say, .pj-grid .note { grid-template-columns: 1fr; }
  .pj-grid { gap: 10px; } .pj-grid figure.w7, .pj-grid figure.w5 { grid-column: span 12; }
}
@media (prefers-reduced-motion: reduce) { .tile__media video, .tile__media .alt, .pj-next b { transition: none; } }

@media (max-width: 900px) {
  .hero { padding: 0; }
}
@media (prefers-reduced-motion: reduce) { html.js .who__big span { opacity: 1; transition: none; } .op { display: none; } }

/* ---------- přihláška do klubu (dialog): tmavá plocha, pole jako linky, rozpočet jako tři velká tlačítka ---------- */
dialog.join { border: 0; padding: var(--bar) var(--gut) var(--gut); margin: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; background: var(--navy); color: #fff; overflow-y: auto; }
dialog.join[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 90px); align-content: start; animation: menuIn .6s var(--e); }
dialog.join::backdrop { background: transparent; }
.join :focus-visible { outline-color: #fff; }
.join__t { font-size: var(--t-display); padding-top: .15em; }
.join__sub { font-size: var(--t-kicker); line-height: 1.15; margin-top: .3em; }
.join__f { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; padding-top: clamp(8px, 2vw, 30px); }
.fld { display: grid; gap: 8px; }
.fld--w { grid-column: 1 / -1; }
.fld input, .fld textarea { font: inherit; font-size: clamp(18px, 1.6vw, 24px); color: #fff; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); border-radius: 0; padding: 6px 0 10px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-bottom-color: #fff; }
.fld textarea::placeholder { color: rgba(255,255,255,.4); }
.fld input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 100px var(--navy) inset; }
.budget { border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.budget legend { margin-bottom: 12px; }
.budget label { position: relative; cursor: pointer; }
.budget input { position: absolute; left: 50%; bottom: 0; width: 1px; height: 1px; opacity: 0; }
.budget span { display: block; border: 1px solid rgba(255,255,255,.4); padding: 20px 18px; font-weight: 500; font-size: clamp(16px, 1.5vw, 22px); text-transform: uppercase; letter-spacing: -.005em; transition: background-color .2s, color .2s, border-color .2s; }
.budget label:hover span { border-color: #fff; }
.budget input:checked + span { background: #fff; color: var(--navy); border-color: #fff; }
.budget input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.join__f .btn { grid-column: 1 / -1; justify-self: start; margin-top: 10px; }
.join__done { grid-column: 2; font-size: var(--t-h2); padding-top: clamp(8px, 2vw, 30px); outline: none; }
@media (max-width: 900px) { dialog.join[open] { grid-template-columns: 1fr; } .join__done { grid-column: 1; } }
@media (max-width: 700px) { .join__f, .budget { grid-template-columns: 1fr; } }

/* ===== ABOUT US (about.html) ===== */
.ab-hero { padding: clamp(48px, 7vw, 120px) var(--gut) clamp(28px, 4vw, 64px); }
.ab-hero__t { font-size: var(--t-display); line-height: .86; margin: .25em 0 0 -.05em; }
.ab-hero__ed { font-size: var(--t-h2); line-height: 1; color: var(--red); margin: .2em 0 0 38%; }

.what { padding: 0 var(--gut) clamp(80px, 10vw, 170px); }
.what__head { border-top: 1px solid var(--navy); padding-top: clamp(28px, 3vw, 48px); }
.what__head h2 { font-size: var(--t-h2); line-height: 1.04; max-width: 15em; }
.what__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(44px, 6vw, 96px); }
.dsc { padding: clamp(18px, 1.8vw, 28px) clamp(14px, 1.6vw, 28px) 0; border-top: 1px solid var(--navy); }
.dsc + .dsc { border-left: 1px solid var(--navy); }
.dsc__n { color: var(--red); }
.dsc__t { font-size: var(--t-h3); line-height: 1; margin-top: .9em; }
.dsc__k { font-size: calc(var(--t-body) * 1.15); margin-top: .5em; padding-bottom: .7em; border-bottom: 1px dashed var(--navy); }
.dsc__p { font-size: var(--t-body); line-height: 1.45; margin-top: 1.1em; min-height: 6.2em; }
.dsc__l { list-style: none; margin-top: 1.4em; font-size: 15px; }
.dsc__l li { padding: .55em 0; border-top: 1px solid var(--grey); }
.what .mag { margin-top: clamp(90px, 12vw, 200px); }

.fdr { display: grid; grid-template-columns: 5fr 7fr; background: var(--navy); color: #fff; }
.fdr__img { margin: 0; overflow: hidden; }
.fdr__img img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fdr__txt { padding: clamp(48px, 7vw, 130px) var(--gut) clamp(48px, 7vw, 130px) clamp(28px, 6vw, 110px); align-self: center; }
.fdr__t { font-size: var(--t-display); line-height: .86; margin: .25em 0 0 -.04em; text-transform: uppercase; }
.fdr__ed { font-size: var(--t-kicker); line-height: 1.1; margin-top: .35em; }
.fdr__bio { margin-top: clamp(28px, 3vw, 48px); font-size: var(--t-body); line-height: 1.5; max-width: 46ch; }
.fdr__bio p + p { margin-top: 1em; }
.fdr .btn { margin-top: clamp(28px, 3vw, 48px); }
.fdr :focus-visible { outline-color: #fff; }

.how { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); padding: clamp(80px, 10vw, 170px) var(--gut); align-items: start; }
.how__side { position: sticky; top: calc(var(--bar) + 32px); }
.how__t { font-size: var(--t-h2); line-height: 1.04; margin-top: .4em; }
.how__loop { font-size: var(--t-body); line-height: 1.5; margin-top: 1.6em; max-width: 40ch; }
.how__loop b { color: var(--red); font-weight: 500; }
.how__steps { position: relative; padding-left: clamp(40px, 4.5vw, 72px); }
.how__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grey); }
.how__rail i { position: absolute; inset: 0; background: var(--red); transform-origin: top; transform: scaleY(var(--p, 0)); }
.how__rail span { position: sticky; top: calc(var(--bar) + 32px); display: block; margin-left: 12px; writing-mode: vertical-rl; color: var(--red); white-space: nowrap; }
.how ol { list-style: none; }
.stp { position: relative; display: grid; grid-template-columns: clamp(44px, 4vw, 64px) 1fr; column-gap: 12px; padding: clamp(22px, 2.6vw, 40px) 0; border-top: 1px solid var(--navy); }
.stp:last-child { border-bottom: 1px solid var(--navy); }
.stp::before { content: ''; position: absolute; left: calc(clamp(40px, 4.5vw, 72px) * -1 - 4px); top: calc(clamp(22px, 2.6vw, 40px) + .35em); width: 10px; height: 10px; background: var(--red); }
.stp__n { color: var(--red); padding-top: .55em; }
.stp__t { font-size: var(--t-h3); line-height: 1; }
.stp__p { grid-column: 2; font-size: var(--t-body); line-height: 1.45; margin-top: .7em; max-width: 52ch; }

.agent { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; background: var(--blue); color: #fff; padding: clamp(80px, 10vw, 170px) var(--gut); }
.agent__q { font-size: var(--t-kicker); line-height: 1.1; }
.agent__t { font-size: var(--t-h2); line-height: 1.04; margin-top: .3em; max-width: 11em; }
.agent__p { font-size: var(--t-body); line-height: 1.5; margin-top: 1.4em; max-width: 44ch; }
.agent__l { list-style: none; margin-top: clamp(28px, 3vw, 44px); max-width: 44ch; }
.agent__l li { padding: .85em 0 .85em 1.6em; border-top: 1px solid rgba(255, 255, 255, .28); position: relative; }
.agent__l li::before { content: '+'; position: absolute; left: 0; color: var(--red); }
.chat { border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); }
.chat__bar { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.chat__bar span:first-child::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: var(--red); vertical-align: 1px; }
.chat__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; min-height: 26em; }
.msg { max-width: 84%; padding: 12px 14px; font-size: 15px; line-height: 1.4; }
.msg--you { align-self: flex-end; background: #fff; color: var(--navy); }
.msg--ai { align-self: flex-start; background: rgba(255, 255, 255, .12); }
.chat__note { padding: 0 18px 14px; opacity: .55; }
html.js .chat .msg { opacity: 0; transform: translateY(10px); }
html.js .chat .msg.on { opacity: 1; transform: none; transition: opacity .5s var(--e), transform .6s var(--e); }
.msg.typing::after { content: '...'; letter-spacing: .2em; }

@media (max-width: 1100px) {
  .what__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(36px, 5vw, 60px); }
  .dsc:nth-child(3) { border-left: 0; }
}
@media (max-width: 900px) {
  .fdr, .how, .agent { grid-template-columns: 1fr; }
  .fdr__txt { padding: clamp(40px, 8vw, 72px) var(--gut); }
  .how__side { position: static; }
  .ab-hero__ed { margin-left: 22%; }
}
@media (max-width: 700px) {
  .what__grid { grid-template-columns: 1fr; }
  .dsc + .dsc { border-left: 0; }
  .dsc__p { min-height: 0; }
  .ab-hero__ed { margin-left: 0; }
  .chat__body { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .chat .msg { opacity: 1; transform: none; }
  .how__rail i { transform: none; }
}

/* ===== ABOUT US round 2: red header, reel, ambition, what we deliver ===== */
.ab-head { background: var(--red); color: #fff; padding: clamp(40px, 5vw, 84px) var(--gut) clamp(40px, 5vw, 80px); }
.ab-head__lab { margin-bottom: clamp(18px, 2vw, 32px); }
.ab-head__t { font-size: clamp(30px, 5.35vw, 104px); line-height: .9; letter-spacing: -.015em; text-align: justify; text-align-last: justify; hyphens: none; }
.ab-head__ed { font-size: var(--t-kicker); line-height: 1.2; text-align: center; margin: clamp(32px, 4vw, 64px) auto 0; }
.ab-reel { background: linear-gradient(var(--red) 0 58%, #fff 58% 100%); padding: 0 var(--gut); }
.ab-reel__in { aspect-ratio: 16 / 9; overflow: hidden; transform-origin: 50% 0; transform: scale(var(--s, 1)); background: var(--navy); }
.ab-reel__in video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-amb { padding: clamp(80px, 10vw, 170px) var(--gut) clamp(70px, 9vw, 150px); }
.ab-amb .mag { margin-top: 0; font-size: clamp(30px, 8.4vw, 150px); }
.ab-amb__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 90px); margin: clamp(48px, 6vw, 100px) 0 0 auto; width: min(100%, 62%); font-size: var(--t-body); line-height: 1.5; }

.dlv { padding: 0 var(--gut) clamp(90px, 11vw, 180px); }
.dlv__t { font-size: var(--t-h2); text-align: center; margin-bottom: clamp(32px, 4vw, 64px); }
.dlv__row { display: flex; gap: 14px; height: clamp(540px, 56vw, 860px); }
.dlv__p { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--navy); color: #fff; cursor: pointer; transition: flex-grow .8s var(--e); outline-offset: -3px; }
.dlv__p.is-open { flex-grow: 4.4; cursor: default; }
.dlv__p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.5); transform: scale(1.04); transition: transform 1.2s var(--e), filter .8s var(--e); }
.dlv__p.is-open img { transform: none; filter: grayscale(1) contrast(1.05) brightness(.42); }
.dlv__name { position: absolute; left: clamp(14px, 1.4vw, 24px); bottom: clamp(16px, 1.6vw, 26px); writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(22px, 2.6vw, 44px); line-height: 1; transition: opacity .4s var(--e); }
.dlv__p.is-open .dlv__name { opacity: 0; }
.dlv__in { position: absolute; left: clamp(22px, 4vw, 64px); top: clamp(26px, 4vw, 64px); width: min(30em, 70%); opacity: 0; transform: translateY(14px); transition: opacity .4s var(--e), transform .5s var(--e); }
.dlv__p.is-open .dlv__in { opacity: 1; transform: none; transition-delay: .35s; }
.dlv__s { font-size: clamp(20px, 2.1vw, 38px); line-height: .98; max-width: 16em; }
.dlv__lab { display: inline-block; margin-top: clamp(22px, 2.6vw, 40px); padding: .55em .9em; border: 1px solid #fff; }
.dlv__l { list-style: none; margin-top: 1.2em; font-size: clamp(13px, 1vw, 16px); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 2; }
.dlv__w { position: absolute; right: clamp(16px, 2.4vw, 40px); bottom: clamp(8px, 1.4vw, 22px); font-size: clamp(56px, 9.5vw, 180px); line-height: .82; opacity: 0; transform: translateY(20%); transition: opacity .5s var(--e), transform .7s var(--e); }
.dlv__p.is-open .dlv__w { opacity: 1; transform: none; transition-delay: .3s; }
@media (max-width: 900px) {
  .ab-amb__cols { grid-template-columns: 1fr; width: 100%; }
  .dlv__row { flex-direction: column; height: auto; }
  .dlv__p, .dlv__p.is-open { flex: none; height: auto; min-height: 520px; cursor: default; }
  .dlv__name { display: none; }
  .dlv__in, .dlv__p .dlv__in { position: relative; left: auto; top: auto; width: auto; padding: 28px var(--gut) 110px; opacity: 1; transform: none; }
  .dlv__w, .dlv__p .dlv__w { opacity: 1; transform: none; font-size: 64px; }
  .dlv__p img, .dlv__p.is-open img { filter: grayscale(1) brightness(.42); transform: none; }
}
@media (max-width: 700px) {
  .ab-head__t { font-size: 8.6vw; text-align: left; text-align-last: auto; }
  .ab-reel { background: linear-gradient(var(--red) 0 50%, #fff 50% 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ab-reel__in { transform: none; }
  .dlv__p, .dlv__p img, .dlv__in, .dlv__w { transition: none; }
}

/* ===== ABOUT US round 4: paragraphs + CTA, big process head, founder band in blue, agent in navy ===== */
.ab-amb__row { display: grid; grid-template-columns: repeat(2, minmax(0, 27em)) auto; justify-content: start; align-items: end; column-gap: clamp(28px, 4vw, 72px); row-gap: 36px; margin-top: clamp(48px, 6vw, 100px); font-size: var(--t-body); line-height: 1.5; }
.ab-amb__cta { padding-left: clamp(0px, 2vw, 40px); }
.how { display: block; }
.how__t { font-size: clamp(30px, 8.4vw, 150px); line-height: .95; max-width: 11em; margin: 0 0 clamp(48px, 6vw, 100px); }
.how__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.how__loop { margin-top: 0; }
.fdr { display: block; background: var(--blue); padding: clamp(64px, 8vw, 140px) var(--gut); }
.fdr__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.fdr__img img { aspect-ratio: 4 / 5; height: auto; }
.fdr__txt { padding: 0; }
.fdr__t { font-size: var(--t-h2); line-height: 1.04; text-transform: none; margin: 0; }
.fdr__t em { font-family: 'Editor', Georgia, serif; font-style: italic; font-weight: 300; letter-spacing: 0; font-size: .92em; }
.fdr__bio { max-width: 40em; }
.fdr__sig { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 40em; margin-top: clamp(32px, 3.4vw, 56px); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .35); }
.fdr__sig .ed { display: block; font-size: var(--t-kicker); line-height: 1; }
.fdr__sig .lab { display: block; margin-top: .7em; opacity: .75; }
.fdr__li { display: block; width: 34px; height: 34px; color: #fff; transition: color .3s var(--e), transform .3s var(--e); }
.fdr__li svg { display: block; width: 100%; height: 100%; }
.fdr__li:hover, .fdr__li:focus-visible { color: var(--red); transform: translateY(-2px); }
.agent { background: var(--navy); }
@media (max-width: 1100px) { .ab-amb__row { grid-template-columns: repeat(2, minmax(0, 27em)); } .ab-amb__cta { grid-column: 1 / -1; padding-left: 0; } }
@media (max-width: 900px) { .how__grid, .fdr__in { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .ab-amb__row { grid-template-columns: minmax(0, 27em); } }

/* ===== ABOUT US round 5: founder signature with the full name, small LinkedIn icon, Founder under it ===== */
.fdr__sig { display: block; }
.fdr__name { display: flex; align-items: center; gap: 14px; }
.fdr__name .ed { font-size: var(--t-kicker); line-height: 1; }
.fdr__sig .lab { margin-top: .9em; opacity: .75; }
.fdr__li { width: 18px; height: 18px; flex: none; margin-top: .15em; }

/* ===== ABOUT US round 6: the agent block on white ===== */
.agent { background: #fff; color: var(--navy); border-top: 1px solid var(--navy); }
.agent__l li { border-top-color: rgba(14, 27, 44, .25); }
.chat { border-color: var(--navy); background: #fff; }
.chat__bar { border-bottom-color: var(--navy); }
.msg--you { background: var(--navy); color: #fff; }
.msg--ai { background: var(--grey); color: var(--navy); }
.chat__note { opacity: .6; }

/* ===== round 7: founder icon under Founder, founder text in the agent text measure; black footer ===== */
.fdr__bio { max-width: 44ch; }
.fdr__sig { max-width: 44ch; }
.fdr__li { display: block; width: 18px; height: 18px; margin-top: 16px; }
.ftr { background: #000; color: #fff; }
.ftr__legal { background: #000; border-top: 1px solid rgba(255, 255, 255, .22); }
.ftr :focus-visible { outline-color: #fff; }

/* ===== round 8: agent head big like "Seven steps", AI in red, limp arrows as list markers ===== */
.agent { display: block; }
.agent__big { font-size: clamp(30px, 8.4vw, 150px); line-height: .95; max-width: 11em; margin-bottom: clamp(48px, 6vw, 100px); }
.agent__big .ai { color: var(--red); }
.agent__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.agent__p { margin-top: 0; }
.agent__l li { padding-left: 2em; }
.agent__l li::before { content: none; }
.agent__l li .limp { position: absolute; left: 0; top: .72em; color: var(--red); }
@media (max-width: 900px) { .agent__grid { grid-template-columns: 1fr; } }
.agent__l li .arr { position: absolute; left: 0; top: .62em; color: var(--red); font-size: 1.25em; line-height: 1; }

/* ===== round 9: process head inside the sticky column, three lines, travels down with the text ===== */
.how__grid { grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 4vw, 72px); }
.how__side { position: sticky; top: calc(var(--bar) + 28px); }
.how__t { font-size: clamp(30px, 7.4vw, 136px); line-height: .95; max-width: none; margin: 0 0 clamp(28px, 3vw, 48px); }
.how__loop { max-width: 40ch; }
@media (max-width: 900px) { .how__side { position: static; } .how__t .br-d { display: none; } }

/* ===== round 10: showreel with sound in a full-screen player; agent chat colours ===== */
dialog.reel { border: 0; padding: 0; margin: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; background: #000; color: #fff; }
dialog.reel[open] { display: grid; place-items: center; }
dialog.reel::backdrop { background: #000; }
.reel video { width: min(100vw, calc(100dvh * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.reel .menu__close { z-index: 2; color: #fff; }
.film__btn--snd { background: #fff; color: var(--navy); }
.film__btn--snd:hover { background: var(--red); color: #fff; }
.msg--ai { background: var(--red); color: #fff; }
.msg--you { background: var(--grey); color: var(--navy); }

/* ===== round 11: site rule - headings, images and panels sit on the gutter, running text is indented by one column
   of a 12-column grid on both sides (desktop); no indent on phones. "We believe hard work..." columns narrower ===== */
:root { --col: calc((100vw - 2 * var(--gut)) / 12); --indent: var(--col); }
@media (max-width: 900px) { :root { --indent: 0px; } }
.ab-amb__row { padding: 0 var(--indent); grid-template-columns: repeat(2, minmax(0, 21em)) auto; }
.agent__grid { padding: 0 var(--indent); }
.how__loop { padding-left: var(--indent); }
@media (max-width: 1100px) { .ab-amb__row { grid-template-columns: repeat(2, minmax(0, 21em)); } }
@media (max-width: 700px) { .ab-amb__row { grid-template-columns: minmax(0, 24em); } }

/* ===== round 12: no "What we deliver" title; one vertical rhythm between the About blocks (same space above and below) ===== */
:root { --sp: clamp(80px, 10vw, 160px); }
.ab-amb { padding-top: var(--sp); padding-bottom: var(--sp); }
.dlv { padding-top: 0; padding-bottom: 0; }
.how { padding-top: var(--sp); padding-bottom: var(--sp); }
.fdr { padding-top: var(--sp); padding-bottom: var(--sp); }
.agent { padding-top: var(--sp); padding-bottom: var(--sp); }

/* round 13-14: founder block on the 12-column grid: photo cols 2-6, text cols 8-11, one column free on each side,
   so it scales with the screen and never leaves a hole on the right */
.fdr__in { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 0; padding: 0; }
.fdr__img { grid-column: 2 / 7; }
.fdr__txt { grid-column: 8 / 12; }
.fdr__bio, .fdr__sig { max-width: none; }
@media (max-width: 900px) { .fdr__in { grid-template-columns: 1fr; row-gap: 40px; } .fdr__img, .fdr__txt { grid-column: 1 / -1; } }

/* round 15: Join the club pushed to the right, its right edge on the body text indent */
.ab-amb__row { grid-template-columns: repeat(2, minmax(0, 21em)) minmax(0, 1fr); }
.ab-amb__cta { justify-self: end; padding-left: 0; }
@media (max-width: 1100px) { .ab-amb__row { grid-template-columns: repeat(2, minmax(0, 21em)); } .ab-amb__cta { justify-self: start; } }
@media (max-width: 700px) { .ab-amb__row { grid-template-columns: minmax(0, 24em); } }

/* ===== Results Club arrows: red arrowheads ride the arcs and slide under the horizontal line (initEmblem) ===== */
html.js .emblem.emblem--arrows svg path:not(.emblem__arrow) { transition: none; }
html.js .emblem.emblem--arrows svg path.emblem__arrow { stroke: var(--red); stroke-width: 1.6; stroke-dasharray: none; stroke-dashoffset: 0; stroke-linecap: butt; stroke-linejoin: miter; transition: none; }

/* ===== buttons: optical centring. Founders Grotesk caps sit ~0.2 em high in a line-height 1 box (big descender space),
   so the top padding gets that 0.2 em and the bottom loses it: same button height, caps in the middle ===== */
.film__btn { padding: 11px 12px 7px; }
.btn { padding: 1.45em 1.8em 1.05em; }
.btn--xl { padding: 2.1em 2.6em 1.7em; }
@media (max-width: 700px) { .float-cta { padding: 1.2em 1.2em .8em; } }
/* ===== menu: optical centring between the lines. Founders Grotesk caps sit high in their box (25 px above vs 68 px below at 1440),
   so the top padding takes 0.15 em more and the bottom gives it back: same row height, caps in the middle ===== */
.menu nav b { padding: .35em 0 0; margin-bottom: -.03em; }
@media (max-width: 700px) { .menu nav b { padding: .3em 0 0; margin-bottom: -.06em; } }
/* menu: the address big in Editor right under the links (Pavel: "velkým patkovým results@exduris.com") */
.menu__mail { align-self: flex-start; margin: clamp(22px, 3vw, 48px) 0 auto; font-size: var(--t-h2); line-height: 1.1; }
.menu__mail:hover, .menu__mail:focus-visible { color: var(--navy); }
/* homepage mosaic: the Editor project title the same size on every tile, set by the small tiles (a 3fr column = about 23 % of the width; 9.2 % of that) */
.grid .tile__title { font-size: clamp(16px, 2.15vw, 40px); }
/* ===== WORK (work.html): header, discipline filter, staggered project grid ===== */
.wk-hd { padding: clamp(36px, 5vw, 96px) var(--gut) clamp(28px, 3.6vw, 64px); }
.wk-hd__t { font-size: clamp(40px, 12.4vw, 260px); line-height: .98; letter-spacing: -.04em; }
.wk-hd__t em { color: var(--red); font-size: .92em; letter-spacing: -.01em; }
.wk-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 28px; flex-wrap: wrap; margin: 0 var(--gut) clamp(36px, 4.5vw, 80px); padding-top: 16px; border-top: 1px solid var(--navy); }
.wk-f { display: flex; flex-wrap: wrap; gap: 8px clamp(16px, 2vw, 30px); }
.wk-f button { background: none; border: 0; padding: 4px 0 3px; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.wk-f button sup { font-size: .75em; margin-left: .35em; vertical-align: .55em; line-height: 0; }
.wk-f button:hover, .wk-f button[aria-pressed="true"] { color: var(--red); }
.wk-f button[aria-pressed="true"] { border-bottom-color: currentColor; }
.wk-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 var(--gut); }
.wk-i { min-width: 0; }
.wk-i[hidden] { display: none; }
.wk { height: auto; }
.wk .tile__media { height: auto; aspect-ratio: 4 / 5; }
.wk .tile__name { font-size: min(var(--t-h2), 11cqw); }
.wk .tile__media > img:first-child { transition: transform 1.2s var(--e); }
.wk:hover .tile__media > img:first-child, .wk:focus-visible .tile__media > img:first-child { transform: scale(1.035); }
.wk-end { padding: var(--sp) var(--gut); display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 2.6vw, 40px); text-align: center; }
.wk-end__t { font-size: var(--t-h2); max-width: 12em; }
/* the Editor project title on the tiles (homepage + Work): 4x bigger (was clamp(13px, 1.15vw, 18px)) */
.tile__title { font-size: clamp(18px, min(4.6vw, 9.2cqw), 72px); line-height: 1.02; max-width: 74%; }   /* 4x, but never wider than the tile: the longest word always fits */
::view-transition-group(*) { animation-duration: .65s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
@media (max-width: 700px) {
  .wk-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wk-bar { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .wk .tile__media > img:first-child { transition: none; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }   /* honeypot for bots in the Join form */

/* ===== cookie consent banner (initConsent) and the footer Cookies button ===== */
.ftr__btns { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.ck { position: fixed; z-index: 60; left: var(--gut); bottom: var(--gut); max-width: 400px; padding: 20px 22px 22px; background: var(--navy); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.18); transform: translateY(calc(100% + 40px)); transition: transform .55s var(--e); }
.ck.is-on { transform: none; }
.ck p { font-size: 14px; line-height: 1.45; }
.ck__b { display: flex; gap: 8px; margin-top: 16px; }
.ck__b button { flex: 1; font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1; padding: 13px 14px 10px; border: 1px solid #fff; background: none; color: #fff; cursor: pointer; }
.ck__b .ck__y { background: #fff; color: var(--navy); }
.ck__b button:hover, .ck__b button:focus-visible { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .ck { transition: none; } }
/* menu without the Contact row: the address big, the brief line under it */
.menu__contact { margin: clamp(22px, 3vw, 48px) 0 auto; }
.menu__contact .menu__mail { display: inline-block; margin: 0; }
.menu__brief { font-size: var(--t-body); max-width: 34ch; margin-top: .7em; }
.fdr__li[hidden] { display: none !important; }
.menu__social { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: clamp(18px, 2vw, 28px); }
.menu__social a { border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 2px; }
.menu__social a:hover, .menu__social a:focus-visible { color: var(--navy); border-color: var(--navy); }

/* ===== MOBILE 4:5 header (phones): the window and the film are 4:5, the opener opens into it, the showreel dialog plays 4:5 ===== */
.op__f picture { display: block; width: 100%; height: 100%; }
@media (max-width: 700px) {
  .film { aspect-ratio: 4 / 5; }
}
dialog.reel.is-45 video { aspect-ratio: 4 / 5; width: min(100vw, calc(100dvh * 4 / 5)); }

/* ===== PHONE round (Pavel's phone review 2026-12-02); placed last because later desktop rounds overrode the old phone rules ===== */
@media (max-width: 900px) {
  .mani__in { margin-left: 0; }
  .club__cols { grid-template-columns: 1fr; gap: 1em; }
}
@media (max-width: 700px) {
  .ab-head__t { line-height: 1.1; }
  .how__grid { grid-template-columns: 1fr; gap: 0; }
  .how__side { display: contents; }
  .how__t { position: sticky; top: 0; z-index: 3; background: #fff; margin: 0; padding: 14px 0 12px; }
  .how__loop { margin: 16px 0 36px; max-width: none; }
}

/* ===== PRIVACY (privacy.html): plain text page on the 12-col rule ===== */
.pv-hd { padding: clamp(36px, 5vw, 96px) var(--gut) clamp(24px, 3vw, 48px); }
.pv-hd__t { font-size: var(--t-h2); }
.pv-hd__s { font-size: var(--t-kicker); line-height: 1.15; max-width: 26em; margin-top: .5em; }
.pv-body { padding: 0 var(--indent) var(--sp); max-width: calc(var(--indent) * 2 + 46em); margin-left: var(--gut); margin-right: var(--gut); font-size: var(--t-body); line-height: 1.55; }
.pv-body h2 { font-weight: 500; font-size: var(--t-h3); letter-spacing: -.02em; line-height: 1.1; margin: 1.8em 0 .5em; }
.pv-body p + p, .pv-body ul + p { margin-top: .9em; }
.pv-body ul { margin: .8em 0 0 1.1em; list-style: square; }
.pv-body li + li { margin-top: .5em; }
.pv-body a { text-decoration: underline; text-underline-offset: 3px; }
.pv-body a:hover { color: var(--red); }
.pv-table { overflow-x: auto; margin-top: .6em; }
.pv-table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92em; }
.pv-table th, .pv-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--grey); }
.pv-table th { font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.pv-upd { margin-top: 3em; opacity: .55; }
.ck p a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .pv-body { margin: 0; padding: 0 var(--gut) var(--sp); } }

/* ===== ABOUT HEAD sentence case (Pavel 2026-12-02): normal letters, justified block, optimal line breaks in initAbout ===== */
.ab-head__t { text-transform: none; letter-spacing: -.025em; line-height: .98; }
@media (max-width: 700px) {
  .ab-head__t { font-size: 10.4vw; line-height: 1.04; text-align: justify; text-align-last: justify; }
  .ab-head__t.is-rag { text-align: left; text-align-last: auto; }
}
.ftr__pv { display: inline-block; color: inherit; text-decoration: none; }
.ftr__pv:hover, .ftr__pv:focus-visible, .ftr__pv[aria-current] { opacity: 1; }

/* ===== FILM still behind the video: the opening picture instead of an empty navy box while the video loads ===== */
.film { background: var(--navy) url(assets/img/film-open.jpg) center / cover no-repeat; }
@media (max-width: 700px) { .film { background-image: url(assets/img/film-open-45.jpg); } }

/* ===== CTA buttons on phones 20 % smaller (Pavel 2026-12-03): everything in em, so font-size 14 -> 11.2 px shrinks the whole button ===== */
@media (max-width: 700px) { .btn--xl { font-size: 11.2px; } }
/* ===== MENU v3 (web_menu.py): contact at the bottom, no descriptions on phones ===== */
.menu__contact { margin: auto 0 0; padding-top: clamp(28px, 4vw, 56px); }   /* e-mail, brief a sítě dole */
@media (max-width: 700px) {
  .menu nav span { display: none; }                                       /* na mobilu bez popisků pod Work / About us */
  .menu nav b { padding-top: .464em; } .menu nav a { padding-bottom: 5.5px; }   /* verzálky přesně na střed mezi čarami (bez popisků) */
}

/* ===== PROJECT PAGE v2 (work/*.html, web_project.py): 12-col intro, equal-height rows without cropping, next band ===== */
.pj-hero img { animation: pjSettle 1.8s var(--e) both; }
@keyframes pjSettle { from { transform: scale(1.06); } }
.pj-facts { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: start; }
.pj-back { grid-column: -2; align-self: end; justify-self: end; color: var(--red); white-space: nowrap; }   /* right edge = right edge of the hero subtitle */
.pj-back::before { content: '← '; }
.pj-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.pj-say { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 0; padding: var(--sp) var(--gut); }
.pj-say h2 { grid-column: 1 / span 7; padding-right: 1em; }
.pj-say > div { grid-column: 8 / span 4; }
.pj-say p { max-width: none; }
.pj-say--mid { padding-left: var(--gut); padding-right: var(--gut); }
.pj-body { display: flex; flex-direction: column; gap: 14px; padding: 0 var(--gut); }
.pj-body figure { margin: 0; overflow: hidden; }   /* no grey placeholder, no reveal (Pavel 2026-12-03) */
.pj-body img, .pj-body video { display: block; width: 100%; height: auto; }
.pj-hero video { width: 100%; height: 100%; object-fit: cover; animation: pjSettle 1.8s var(--e) both; }
.pj-film figcaption { padding: 10px 0 0; opacity: .6; }
.pj-film { background: none !important; }
.pj-film video { background: #000; }
.pj-row { display: grid; gap: 14px; align-items: start; }
.pj-row figure { min-width: 0; }
.pj-row--stage figure { background: #EEEEEC; padding: clamp(12px, 2.2vw, 36px); }
.pj-note { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: clamp(48px, 7vw, 120px) var(--indent); }
.pj-note p { max-width: 30ch; font-size: var(--t-body); line-height: 1.45; }
.pj-note b { display: block; font-weight: 500; font-size: var(--t-h3); letter-spacing: -.02em; line-height: 1.05; margin-bottom: .4em; }
.pj-res { margin: var(--sp) var(--gut) 0; padding-top: 18px; border-top: 1px solid var(--navy); }
.pj-res__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(28px, 4vw, 64px); padding: 0 var(--indent); }
.pj-res b { display: block; font-size: var(--t-display); line-height: .9; color: var(--red); }
.pj-res span { display: block; margin-top: .6em; font-size: var(--t-body); max-width: 24ch; }
.pj-next { position: relative; overflow: hidden; margin-top: var(--sp); }
.pj-next b { position: relative; z-index: 1; }
.pj-next b i { font-style: normal; display: inline-block; transition: transform .6s var(--e); }
.pj-next:hover b { transform: none; }
.pj-next:hover b i { transform: translateX(.18em); }
.pj-next__img { position: absolute; top: 0; right: 0; height: 100%; width: 36%; object-fit: cover; clip-path: inset(0 0 0 100%); transition: clip-path .8s var(--e); }
.pj-next:hover .pj-next__img, .pj-next:focus-visible .pj-next__img { clip-path: inset(0); }
@media (max-width: 900px) {
  .pj-facts { grid-template-columns: 1fr 1fr; }
  .pj-back { grid-column: 1 / -1; justify-self: start; }
  .pj-say h2, .pj-say > div { grid-column: 1 / -1; padding-right: 0; }
  .pj-say > div { margin-top: 24px; }
  .pj-note, .pj-res__g { grid-template-columns: 1fr; }
  .pj-row { grid-template-columns: 1fr !important; }
  .pj-next__img { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pj-hero img { animation: none; } .pj-next__img, .pj-next b i { transition: none; } }
