/* CWiR — Centrum Wsparcia i Rozwoju. Dwa kolory, jedna siatka, zero dekoracji. */
:root {
  --paper-c: #f2f1ee;
  --ink-c: #111110;
  --signal: #c8371a;
  --cols: 8; --gap: 16px; --pad: 16px;
  --bar-h: 48px;
  --ease-out: cubic-bezier(.25, 1, .5, 1);
  --d-fast: .3s; --d: .5s; --d-slow: .8s; --d-reveal: 1.2s;
  --f-text: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-wide: "Archivo", "Arial Black", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --t-h2: clamp(3rem, 6.8vw, 6.125rem);
  --t-h3: clamp(1.75rem, 3.5vw, 3.125rem);
  --t-h4: clamp(1.375rem, 2.3vw, 2.0625rem);
  --t-body: 1.0625rem;
  --t-cap: .8125rem;
  --t-meta: .75rem;
  --s-5: 32px; --s-6: clamp(56px, 6vw, 72px); --s-7: clamp(88px, 9vw, 128px); --s-8: clamp(120px, 12vw, 172px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper-c: #0e0e0d; --ink-c: #f2f1ee; }
}
:root[data-theme="dark"] { --paper-c: #0e0e0d; --ink-c: #f2f1ee; }

:root, [data-tone="paper"] { --bg: var(--paper-c); --ink: var(--ink-c); }
[data-tone="ink"] { --bg: var(--ink-c); --ink: var(--paper-c); }
:root, [data-tone] {
  --ink-2: color-mix(in srgb, var(--ink) 60%, transparent);
  --ink-3: color-mix(in srgb, var(--ink) 30%, transparent);
  --line: color-mix(in srgb, var(--ink) 11%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 26%, transparent);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-text); font-size: var(--t-body); line-height: 1.35; letter-spacing: -.015em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color var(--d), color var(--d);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }

section, footer, .sec { background: var(--bg); color: var(--ink); position: relative; transition: background-color var(--d), color var(--d); }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); padding-inline: var(--pad); }

/* typografia */
.mega { font-family: var(--f-wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .87; }
.h2 { font-size: var(--t-h2); line-height: .92; letter-spacing: -.05em; font-weight: 400; }
.h3 { font-size: var(--t-h3); line-height: 1; letter-spacing: -.03em; font-weight: 400; }
.h4 { font-size: var(--t-h4); line-height: 1.1; letter-spacing: -.03em; font-weight: 400; }
.cap { font-size: var(--t-cap); line-height: 1.25; letter-spacing: -.01em; font-weight: 500; }
.meta { font-family: var(--f-mono); font-size: var(--t-meta); line-height: 1.45; letter-spacing: 0; font-weight: 400; }
.dim { color: var(--ink-2); }
.measure { max-width: 34em; }

/* link z podkreśleniem */
.ul { position: relative; display: inline-block; }
.ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: 1px; background: currentColor; transform-origin: left; transition: transform var(--d-slow) var(--ease-out); }
@media (hover: hover) { .ul:hover::after { transform: scaleX(0); } }

/* linie osi */
.axis::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); pointer-events: none; }
.rule { height: 1px; background: var(--line-strong); border: 0; }

/* ---------- HERO ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.wordmark { font-size: 31vw; line-height: .72; margin-top: -3.9vw; margin-left: -1vw; white-space: nowrap; user-select: none; }
.wordmark .i { text-transform: none; }
.hero__diag { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__diag line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__vl { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.nav { align-items: center; height: 56px; border-bottom: 1px solid var(--line-strong); position: relative; z-index: 2; margin-top: 1.2vw; }
.nav a, .bar a { font-size: var(--t-cap); font-weight: 500; position: relative; padding: 14px 0; }
.nav a::before { content: ""; position: absolute; left: 0; bottom: -4px; width: 1px; height: 7px; background: var(--ink); }
.nav .sign::before { display: none; }
.sign { font-family: var(--f-wide); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; letter-spacing: -.04em; font-size: 1rem; }
.hero__body { flex: 1; align-content: center; position: relative; z-index: 2; padding-block: var(--s-6); }
.hero__note { grid-column: 2 / span 2; align-self: start; padding-top: .5em; }
.hero__manifest { grid-column: 5 / span 4; max-width: 15.5em; }
.hero__foot { align-items: end; padding-bottom: 20px; position: relative; z-index: 2; }
.hero__foot .theme { grid-column: 1 / span 3; justify-self: start; }
.hero__foot .scroll { grid-column: 5 / span 3; display: flex; gap: 8px; align-items: end; }
.hero__foot .scroll i { width: 1px; height: 72px; background: var(--ink); display: block; transform-origin: bottom; animation: drop 2.4s var(--ease-out) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.theme { font-size: var(--t-cap); font-weight: 500; }

/* ---------- pasek stały ---------- */
.bar { position: fixed; inset: 0 0 auto 0; height: var(--bar-h); z-index: 50; background: var(--bg); color: var(--ink); align-items: center; transform: translateY(-101%); transition: transform var(--d) var(--ease-out), background-color var(--d), color var(--d); border-bottom: 1px solid var(--line-strong); }
.bar.on { transform: none; }
.bar__prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.nav > :nth-child(1), .bar > :nth-child(1) { grid-column: 1; }
.nav > :nth-child(2), .bar > :nth-child(2) { grid-column: 2 / span 2; }
.nav > :nth-child(3), .bar > :nth-child(3) { grid-column: 4; }
.nav > :nth-child(4), .bar > :nth-child(4) { grid-column: 5; }
.nav > :nth-child(5), .bar > :nth-child(5) { grid-column: 6; }
.nav > :nth-child(6), .bar > :nth-child(6) { grid-column: 7; }
.nav > :nth-child(7), .bar > :nth-child(7) { grid-column: 8; }
.menu-btn { display: none; }

/* ---------- sekcje ---------- */
.sec { padding-block: var(--s-7); }
.sec__label { grid-column: 1 / span 2; }
.sec__lead { grid-column: 5 / span 4; }
.sec__head { margin-bottom: var(--s-6); align-items: start; }

/* doświadczenie */
.years { padding-block: var(--s-8) var(--s-7); }
.years__num { grid-column: 1 / span 4; font-size: clamp(6rem, 19.5vw, 20rem); line-height: .8; margin-left: -.04em; }
.years__txt { grid-column: 5 / span 4; align-self: end; }
.years__txt p + p { margin-top: 1.2em; }
.facts { margin-top: var(--s-7); border-top: 1px solid var(--line-strong); }
.facts > div { grid-column: span 2; padding: 20px 0 0; border-left: 1px solid var(--line); padding-left: 16px; margin-left: -16px; }
.facts > div:first-child { border-left: 0; }
.facts b { display: block; font-weight: 400; font-size: var(--t-h3); letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }

/* zasady */
.rules { padding-block: 0 var(--s-7); }
.rule-row { border-top: 1px solid var(--line-strong); padding-block: 28px 44px; align-items: start; }
.rule-row:last-child { border-bottom: 1px solid var(--line-strong); }
.rule-row .n { grid-column: 1; padding-top: .9em; }
.rule-row .w { grid-column: 2 / span 3; }
.rule-row .t { grid-column: 5 / span 3; padding-top: .7em; max-width: 30em; }

/* ludzie */
.people__title { font-size: clamp(2.6rem, 11.6vw, 12rem); display: grid; grid-template-columns: 1fr auto; align-items: end; padding-inline: var(--pad); margin-bottom: var(--s-6); }
.people__title > :nth-child(1) { grid-column: 1; margin-left: -.04em; }
.people__title small { grid-column: 2; grid-row: 1; align-self: center; }
.people__title > :nth-child(3) { grid-column: 1 / -1; justify-self: end; margin-right: -.03em; }
.people__title small { font-family: var(--f-text); font-stretch: normal; font-variation-settings: normal; font-size: var(--t-cap); font-weight: 500; letter-spacing: -.01em; text-transform: none; }
.person { grid-column: span 3; }
.person:nth-of-type(1) { grid-column: 2 / span 3; }
.person:nth-of-type(2) { grid-column: 5 / span 3; }
.person__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.person__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.person h3 { margin-top: 20px; }
.person .role { margin: 6px 0 18px; }
.person p { max-width: 31em; }
.person ul { margin-top: 20px; border-top: 1px solid var(--line-strong); }
.person li { padding: 9px 0; border-bottom: 1px solid var(--line); }

/* klienci */
.wall { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); margin-inline: var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); }
.wall li { min-height: 250px; gap: 36px; padding: 22px 20px; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid var(--line); border-top: 1px solid var(--line); margin-top: -1px; }
.wall li:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.wall .prob { font-size: 1.0625rem; line-height: 1.25; letter-spacing: -.02em; max-width: 21em; margin-bottom: 14px; }
.wall .mark { height: 34px; display: flex; align-items: center; gap: 12px; opacity: .78; transition: opacity var(--d-fast); }
.wall li:hover .mark { opacity: 1; }
.wall .mark em { font-style: normal; font-size: .8125rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.1; max-width: 6.5em; }
.wall .mark img { height: 100%; width: auto; max-width: 62%; object-fit: contain; object-position: left center; filter: brightness(0); }
[data-tone="ink"] .wall .mark img, [data-tone="ink"] .strip img { filter: brightness(0) invert(1); }
.wall .mark span { font-size: 1.625rem; font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); margin: 20px var(--pad) 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.strip li { height: 120px; display: grid; place-items: center; border-left: 1px solid var(--line); }
.strip li:first-child { border-left: 0; }
.strip img { height: 26px; width: auto; max-width: 60%; object-fit: contain; filter: brightness(0); opacity: .78; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [data-tone="paper"] :is(.wall .mark, .strip) img { filter: brightness(0) invert(1); } }
:root[data-theme="dark"] [data-tone="paper"] :is(.wall .mark, .strip) img { filter: brightness(0) invert(1); }
:root[data-theme="light"] [data-tone="paper"] :is(.wall .mark, .strip) img { filter: brightness(0); }

/* realizacje */
.gate { height: 190vh; }
.gate__stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; background: var(--paper-c); }
.gate__door { position: absolute; inset: 0; background: var(--ink-c); clip-path: inset(0 44% 0 44%); will-change: clip-path; }
.gate__stick p { position: relative; color: var(--paper-c); text-align: center; mix-blend-mode: normal; }
.work { padding-block: var(--s-6); align-items: end; border-top: 1px solid var(--line); }
.work:first-of-type { border-top: 0; }
.work__img { grid-column: 1 / span 6; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line-strong); display: block; }
.work__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform var(--d-slow) var(--ease-out); }
@media (hover: hover) { .work:hover .work__img.in img { transform: scale(1.025); } }
.work__txt { grid-column: 7 / span 2; padding-bottom: 4px; }
.work--flip .work__img { grid-column: 3 / span 6; order: 2; }
.work--flip .work__txt { grid-column: 1 / span 2; order: 1; }
.work__txt h3 { margin: 14px 0 14px; }
.work__txt .m { margin: 18px 0 22px; }
.tiles { padding-block: var(--s-6) 0; align-items: start; }
.tile { grid-column: span 2; display: block; }
.tile:nth-child(1) { grid-column: 1 / span 3; }
.tile:nth-child(2) { grid-column: 4 / span 2; margin-top: 96px; }
.tile:nth-child(3) { grid-column: 6 / span 3; margin-top: 32px; }
.tile__img { overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 16 / 10; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tile .cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.tile p { margin-top: 6px; max-width: 28em; font-size: .9375rem; color: var(--ink-2); }

/* tabela enterprise */
.ledger { margin-top: var(--s-7); }
.ledger__row { border-top: 1px solid var(--line-strong); padding-block: 22px; align-items: baseline; }
.ledger__row:last-child { border-bottom: 1px solid var(--line-strong); }
.ledger__row > :nth-child(1) { grid-column: 1 / span 2; }
.ledger__row > :nth-child(2) { grid-column: 3 / span 3; }
.ledger__row > :nth-child(3) { grid-column: 6 / span 2; }
.ledger__row > :nth-child(4) { grid-column: 8; justify-self: end; }

/* usługi */
.services__title { font-size: clamp(4rem, 17vw, 15.5rem); padding-inline: var(--pad); margin-bottom: var(--s-6); margin-left: -.04em; }
.svc { border-top: 1px solid var(--line-strong); padding-block: 26px 34px; align-items: baseline; transition: background-color var(--d-fast); }
.svc:last-child { border-bottom: 1px solid var(--line-strong); }
.svc .n { grid-column: 1; }
.svc h3 { grid-column: 2 / span 3; }
.svc p { grid-column: 5 / span 3; max-width: 32em; color: var(--ink-2); }

/* proces — akordeon */
.process__note { grid-column: 1 / span 2; position: sticky; top: calc(var(--bar-h) + 24px); align-self: start; max-width: 16em; }
.acc { grid-column: 5 / span 4; border-top: 1px solid var(--line-strong); }
.acc details { border-bottom: 1px solid var(--line-strong); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { font-family: var(--f-mono); font-size: 1.25rem; line-height: 1; transition: transform var(--d) var(--ease-out); }
.acc details[open] summary .pm { transform: rotate(45deg); }
.acc .in { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; padding: 0 0 30px; }
.acc .in ul li { padding: 3px 0; }
.acc .in ul li::before { content: "✓ "; }

/* kontakt */
.contact { padding-block: var(--s-8) var(--s-7); align-items: end; }
.contact__cta { grid-column: 1 / span 4; font-size: clamp(2.5rem, 6vw, 5.5rem); letter-spacing: -.05em; line-height: .95; }
.contact__col { grid-column: span 1; }
.contact__col:nth-of-type(1) { grid-column: 5 / span 2; }
.contact__col:nth-of-type(2) { grid-column: 7 / span 2; }
.contact__col dt { margin-bottom: 6px; }
.contact__col dd { margin-bottom: 22px; font-size: 1rem; }
.foot__meta { padding-block: 18px; border-top: 1px solid var(--line-strong); align-items: center; }
.foot__meta > :nth-child(1) { grid-column: 1 / span 4; }
.foot__meta > :nth-child(2) { grid-column: 5 / span 3; }
.foot__meta > :nth-child(3) { grid-column: 8; justify-self: end; }
.foot { overflow: hidden; }
.foot .wordmark { margin-top: 3vw; margin-bottom: -5.4vw; }

/* ---------- case study ---------- */
.cs-hero { padding-top: calc(var(--bar-h) + var(--s-6)); padding-bottom: var(--s-6); }
.cs-hero .back { grid-column: 1 / span 2; }
.cs-hero h1 { grid-column: 1 / -1; font-size: clamp(2.4rem, 9.2vw, 9rem); margin: var(--s-5) 0 var(--s-5) -.04em; }
.cs-hero .lead { grid-column: 5 / span 4; max-width: 18em; }
.cs-cover { padding-inline: var(--pad); }
.cs-cover img, .cs-shot img { width: 100%; border: 1px solid var(--line-strong); }
.cs-facts { padding-block: var(--s-6); row-gap: 32px; }
.cs-facts > div { grid-column: span 2; border-top: 1px solid var(--line-strong); padding-top: 14px; }
.cs-facts dt { margin-bottom: 8px; }
.cs-block { padding-block: var(--s-6); border-top: 1px solid var(--line); align-items: start; }
.cs-block > .cap { grid-column: 1 / span 2; position: sticky; top: calc(var(--bar-h) + 24px); }
.cs-block > .body { grid-column: 5 / span 4; }
.cs-block .body .h4 { margin-bottom: 24px; }
.cs-block .body p + p { margin-top: 1em; }
.cs-block .body li { padding: 10px 0; border-top: 1px solid var(--line); }
.cs-block .body li:last-child { border-bottom: 1px solid var(--line); }
.cs-shot { padding: 0 var(--pad) var(--gap); }
.cs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: 0 var(--pad) var(--gap); align-items: start; }
.cs-pair img { width: 100%; border: 1px solid var(--line-strong); }
.cs-shot figcaption, .cs-pair figcaption { margin-top: 10px; margin-bottom: 26px; }
.cs-note { padding-block: var(--s-5); }
.cs-note p { grid-column: 5 / span 4; }
.cs-next { padding-block: var(--s-7); display: block; }
.cs-next .mega { font-size: clamp(3rem, 12vw, 11rem); padding-inline: var(--pad); margin-top: 16px; margin-left: -.04em; }
.cs-next .cap { padding-inline: var(--pad); }

/* zrzuty czarno-białe */
.cs-cover img, .cs-shot img, .cs-pair img, .work__img img { filter: grayscale(1) contrast(1.04); }
.work__img img { transition: transform var(--d-slow) var(--ease-out), clip-path 1.3s var(--ease-out), filter var(--d-slow) var(--ease-out) !important; }

/* diagram */
.cs-diagram { margin: 0 var(--pad); border: 1px solid var(--line-strong); padding: clamp(16px, 3vw, 48px); }
.cs-diagram svg { width: 100%; height: auto; display: block; }
.cs-diagram rect, .cs-diagram path { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.cs-diagram path { stroke: var(--line-strong); }
.cs-diagram rect.mid { fill: var(--ink); }
.cs-diagram text { font-family: var(--f-mono); font-size: 21px; fill: var(--ink); }
.cs-diagram rect.mid ~ text { fill: var(--bg); }
.cs-diagram text.b { font-family: var(--f-text); font-size: 30px; letter-spacing: -.03em; }
.cs-diagram figcaption { margin-top: 14px; }
a.ledger__row { transition: background-color var(--d-fast); }
@media (hover: hover) { a.ledger__row:hover { background: var(--line); } }

/* ---------- odsłony ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out); transition-delay: var(--dl, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-img img { clip-path: inset(100% 0 0 0); transform: scale(1.08); transition: clip-path 1.3s var(--ease-out), transform 1.6s var(--ease-out); }
.js .rv-img.in img { clip-path: inset(0); transform: none; }
.js .words .w { display: inline-block; opacity: 0; transform: translateY(20px) rotate(3deg); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 28ms + .1s); }
.js .words.in .w { opacity: 1; transform: none; }
.js .wm-in { animation: wm 1.3s var(--ease-out) .05s both; }
@keyframes wm { from { clip-path: inset(0 0 100% 0); transform: translateY(6%); } to { clip-path: inset(0); transform: none; } }

/* ---------- mobile ---------- */
@media (max-width: 1023px) {
  :root { --cols: 4; }
  .nav a:not(.sign), .bar a:not(.sign) { display: none; }
  .nav > :nth-child(1), .bar > :nth-child(1) { grid-column: 1; }
  .menu-btn { display: block; grid-column: 4 !important; justify-self: end; font-size: var(--t-cap); font-weight: 500; padding: 12px 0; }
  .hero__note { grid-column: 1 / span 2; margin-bottom: 40px; }
  .hero__manifest { grid-column: 1 / -1; }
  .hero__foot .theme { grid-column: 1 / span 2; }
  .hero__foot .scroll { grid-column: 3 / span 2; justify-content: flex-end; }
  .hero__foot .scroll i { height: 44px; }
  .hero__vl { display: none; }
  .sec__label, .sec__lead { grid-column: 1 / -1; }
  .sec__label { margin-bottom: 20px; }
  .years__num, .years__txt { grid-column: 1 / -1; }
  .years__txt { margin-top: 40px; }
  .facts > div { grid-column: span 2; margin-bottom: 28px; }
  .facts > div:nth-child(odd) { border-left: 0; }
  .rule-row .n { grid-column: 1 / -1; padding: 0 0 10px; }
  .rule-row .w, .rule-row .t { grid-column: 1 / -1; }
  .people__title { font-size: 12.4vw; }
  .person:nth-of-type(n) { grid-column: 1 / -1; margin-bottom: 56px; }
  .wall { grid-template-columns: 1fr !important; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip li { height: 92px; border-top: 1px solid var(--line); margin-top: -1px; }
  .strip li:nth-child(odd) { border-left: 0; }
  .wall li:nth-child(n) { border-left: 0; padding-left: 0; min-height: 0; }
  .wall .mark span { font-size: 1.25rem; }
  .wall .mark { height: 26px; }
  .gate { height: 150vh; }
  .work__img, .work--flip .work__img { grid-column: 1 / -1; order: 1; }
  .work__txt, .work--flip .work__txt { grid-column: 1 / -1; order: 2; margin-top: 20px; }
  .tile:nth-child(n) { grid-column: 1 / -1; margin-top: 0; margin-bottom: 40px; }
  .ledger__row > :nth-child(1) { grid-column: 1 / span 3; }
  .ledger__row > :nth-child(4) { grid-column: 4; grid-row: 1; }
  .ledger__row > :nth-child(2), .ledger__row > :nth-child(3) { grid-column: 1 / -1; margin-top: 8px; }
  .svc .n { grid-column: 1 / -1; margin-bottom: 8px; }
  .svc h3, .svc p { grid-column: 1 / -1; }
  .svc p { margin-top: 12px; }
  .process__note { grid-column: 1 / -1; position: static; margin-bottom: 32px; }
  .acc { grid-column: 1 / -1; }
  .acc .in { grid-template-columns: 1fr; }
  .contact__cta { grid-column: 1 / -1; margin-bottom: 56px; }
  .contact__col:nth-of-type(n) { grid-column: 1 / -1; }
  .foot__meta > :nth-child(n) { grid-column: 1 / -1; justify-self: start; padding: 3px 0; }
  .cs-hero .lead, .cs-block > .cap, .cs-block > .body, .cs-note p { grid-column: 1 / -1; }
  .cs-block > .cap { position: static; margin-bottom: 20px; }
  .cs-facts > div { margin-bottom: 24px; }
  .cs-pair { grid-template-columns: 1fr; }
}

/* menu mobilne */
.mmenu { position: fixed; inset: 0; z-index: 60; background: var(--ink-c); color: var(--paper-c); padding: 16px; display: none; flex-direction: column; justify-content: space-between; }
.mmenu.on { display: flex; }
.mmenu nav a { display: block; font-size: 2.25rem; letter-spacing: -.04em; line-height: 1.25; }
.mmenu .top { display: flex; justify-content: space-between; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .rv-img img, .js .words .w, .js .wm-in { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; animation: none !important; }
  .hero__foot .scroll i { animation: none; }
  .gate { height: auto; } .gate__stick { position: static; height: 50vh; } .gate__door { clip-path: none !important; }
}
