/* =========================================================
   Branding & visuals: work outside product design.
   Page chrome uses the shared tokens (lavender, accent-line); each project keeps
   its own colours inside its images, swatches and bands.
   ========================================================= */
.sub main { padding-top: var(--bar-h); }
/* Same accent as the rest of the site: black lines in brand mode, violet only with the "Violet proposal" toggle */
.b-p, .b-hero, .b-index { --violet: var(--accent-line); }
figcaption { margin-top: .6rem; font-size: .875rem; color: var(--ink-soft); }
.b-fig { margin: 0; min-width: 0; }
.b-copy { display: grid; gap: 1rem; max-width: 38rem; }
.b-copy p { margin: 0; }
.b-copy a, .b-facts a { color: inherit; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.b-sub { margin: clamp(2.5rem, 6vw, 4rem) 0 1.25rem; }

/* ---------- Zoomable images ---------- */
.b-z { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; overflow: hidden; }
.b-z img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.b-z::after { content: ""; position: absolute; right: .75rem; bottom: .75rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 1.15rem no-repeat; box-shadow: inset 0 0 0 1.5px var(--ink); opacity: 0; transform: scale(.7); transition: opacity .25s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.b-z:hover img { transform: scale(1.025); }
.b-z:hover::after, .b-z:focus-visible::after { opacity: 1; transform: none; }
.b-z:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
@media (hover: none) { .b-z::after { opacity: 1; transform: none; width: 2.25rem; height: 2.25rem; } }

/* ---------- Hero ---------- */
.b-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: clamp(2.5rem, 6vw, 3rem); padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(3.5rem, 8vw, 6rem); }
.b-hero .lines { z-index: -1; }
.b-hero-text { display: grid; gap: 1.25rem; justify-items: start; align-content: center; }
.back { font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: .25em; }
.b-title { font-size: clamp(3rem, 10vw, 8.5rem); line-height: .9; }
.b-lead { max-width: 34ch; font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.4; }
.b-hero .kicker { background: var(--white); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* spark keeps the site-wide orange from home.css */

/* Three real pieces, loosely stacked like prints on a desk */
.b-stack { position: relative; width: min(100%, 42rem); aspect-ratio: 1 / 1; justify-self: center; }
.b-stack .b-tape { z-index: 5; right: clamp(1rem, 6%, 2.5rem); top: -1.1rem; transform: rotate(-4deg); }
.b-hero .b-stack .b-doodle { inset: auto; left: -12%; bottom: -11%; width: 27%; height: auto; z-index: 4; }
.b-doodle .l-orange { stroke-width: 5; }

/* Hero illustration: her own marks, assembled once on load.
   Brand colours are the originals from each project's files. */
.b-illo { overflow: visible; }
.bi { position: absolute; display: block; height: auto; }
.bi-krzywa { left: 4%; top: 6%; width: 60%; fill: #A46454; }
.bi-sagre { left: 1%; top: 29%; width: 61%; padding: 6% 6.5%; background: #EDDBD1; box-shadow: 0 1.25rem 2.5rem -1.25rem rgba(0, 0, 0, .35); --rot: -4deg; transform: rotate(var(--rot)); }
.bi-sagre svg { display: block; width: 100%; height: auto; fill: #C54F1D; }
.bi-przystan { right: -1%; top: 58%; width: 53%; mix-blend-mode: multiply; --rot: 3deg; transform: rotate(var(--rot)); }
.bi-flower { left: 3%; bottom: 3%; width: 28%; fill: #27358A; }
.bi-cut { filter: drop-shadow(0 .6rem .8rem rgba(0, 0, 0, .18)); }
.bi-hand { right: -9%; top: -3%; width: 43%; --rot: -8deg; --fx: 30%; --fy: -40%; transform: rotate(var(--rot)); }
.bi-birds { right: 8%; top: 35%; width: 20%; --rot: 4deg; --fx: 10%; --fy: -60%; transform: rotate(var(--rot)); }
.bi-daisy { left: 55%; top: 21%; width: 18%; --rot: 12deg; --fx: -20%; --fy: -50%; transform: rotate(var(--rot)); }
.bi-fig { left: 36%; bottom: 2%; width: 19%; --rot: -10deg; --fx: -10%; --fy: 60%; transform: rotate(var(--rot)); }
.bi-pear { right: 2%; bottom: -5%; width: 17%; --rot: 6deg; --fx: 30%; --fy: 50%; transform: rotate(var(--rot)); }
.b-stack .b-tape { z-index: 6; }

/* Timeline (about 3.5s, plays once) */
.bi-krzywa path { animation: bi-rise .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.25s + var(--k) * 70ms); }
.bi-sagre { animation: bi-card .7s cubic-bezier(.2, .9, .3, 1.1) .5s both; }

.bi-przystan { animation: bi-card .7s cubic-bezier(.2, .9, .3, 1.1) 1.1s both, bi-wipe 1.1s cubic-bezier(.5, 0, .3, 1) 1.3s both; }
.bi-flower { transform-origin: 50% 50%; animation: bi-bloom 1.1s cubic-bezier(.2, .9, .3, 1.15) 1.6s both; }
.bi-cut { animation: bi-drop .9s cubic-bezier(.2, .9, .3, 1.12) both; }
.bi-hand { animation-delay: 2.1s; }
.bi-birds { animation-delay: 2.35s; }
.bi-daisy { animation-delay: 2.5s; }
.bi-fig { animation-delay: 2.65s; }
.bi-pear { animation-delay: 2.8s; }
@keyframes bi-rise { from { opacity: 0; transform: translateY(18%); } to { opacity: 1; transform: none; } }
@keyframes bi-card { from { opacity: 0; transform: translateY(14%) rotate(calc(var(--rot) * -2)) scale(.94); } to { opacity: 1; transform: rotate(var(--rot)); } }
@keyframes bi-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bi-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bi-bloom { from { opacity: 0; transform: scale(.2) rotate(-120deg); } to { opacity: 1; transform: none; } }
@keyframes bi-drop { from { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(calc(var(--rot) * -3)); } to { opacity: 1; transform: rotate(var(--rot)); } }
@media (prefers-reduced-motion: reduce) { .b-illo *, .b-illo { animation: none !important; } }
:root[data-motion="off"] .b-illo, :root[data-motion="off"] .b-illo * { animation: none !important; }
/* ---------- Index ---------- */
.b-index { padding: 0 var(--gutter) clamp(3rem, 7vw, 5rem); }
.b-index ol { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.b-index li { border-bottom: 1.5px solid var(--ink); }
.b-index a { position: relative; display: grid; grid-template-columns: 2.5rem 1fr; gap: .1rem 1rem; align-items: baseline; padding: 1rem .25rem; min-height: 3rem; color: inherit; text-decoration: none; }
.b-ix-n { grid-row: span 2; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; }
.b-ix-name { font-size: clamp(1.75rem, 5.5vw, 4rem); line-height: 1; transition: color .25s, transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.b-ix-what { font-size: .9375rem; color: var(--ink-soft); }
.b-ix-thumb { display: none; }
.b-index a:hover .b-ix-name, .b-index a:focus-visible .b-ix-name { color: var(--lavender); transform: translateX(.4rem); }
.b-index a:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
@media (hover: hover) and (min-width: 900px) {
  .b-ix-thumb { display: block; position: absolute; right: 8%; top: 50%; width: 15rem; height: auto; pointer-events: none; opacity: 0; transform: translateY(-50%) rotate(-4deg) scale(.85); transition: opacity .25s, transform .4s cubic-bezier(.3, 1.4, .5, 1); box-shadow: 0 1rem 2rem -1rem rgba(0, 0, 0, .4); z-index: 2; }
  .b-index a:hover .b-ix-thumb, .b-index a:focus-visible .b-ix-thumb { opacity: 1; transform: translateY(-50%) rotate(-4deg); }
}

/* ---------- Project shell ---------- */
.b-p { padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); scroll-margin-top: var(--bar-h); }
/* No rule between the project index and the first project */
.b-p#sagre { border-top: 0; }
.b-p > * { min-width: 0; }
.b-p .b-sub { margin: clamp(.5rem, 2vw, 1rem) 0 -1rem; }
.b-p-head { display: grid; gap: 1rem 2rem; align-items: end; }
.b-p-n { font-size: clamp(3.5rem, 9vw, 7rem); line-height: .8; color: var(--lavender); }
.b-p-title h2 { font-size: clamp(2.25rem, 6vw, 4.75rem); line-height: .95; }
.b-p-lead { margin-top: .6rem; max-width: 36ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); }
.b-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 0; }
.b-facts:empty { display: none; }
.b-facts div { display: grid; gap: .2rem; }
.b-facts dt { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.b-facts dd { margin: 0; }
.b-quote { margin: 0; max-width: 22ch; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.15; }

/* ---------- 01 Sagre: type-led ---------- */
.sg-band { margin: 0 calc(-1 * var(--gutter)); padding: clamp(3rem, 10vw, 8rem) var(--gutter) clamp(1.5rem, 4vw, 2.5rem); background: #EDDBD1; display: grid; justify-items: center; }
.sg-logo { width: min(100%, 52rem); height: auto; fill: #C54F1D; }
/* Sagre logo draws itself with the same mask, easing and pen speed as the pani łukasz signature (.sig in home.css) */
.sg-band figcaption { justify-self: start; margin-top: clamp(2rem, 6vw, 4rem); color: #4B3621; }
.sg-concept { display: grid; gap: 2rem; align-items: start; }
.sg-orn { margin: 0; width: min(100%, 15rem); }
.sg-orn img { width: 100%; height: auto; }
.sg-tiles { margin: 0; }
.sg-tiles ul, .b-swatches ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.sg-tiles ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sg-tiles li { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 12%; background: var(--bg); position: relative; }
.sg-tiles li img { width: 100%; height: auto; }
.sg-tiles li span { position: absolute; left: .75rem; bottom: .6rem; font-size: .75rem; font-weight: 700; color: var(--ink); background: var(--white); padding: .15rem .4rem; }
.b-swatches { margin: 0; }
.b-swatches ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b-swatches li { display: grid; align-content: end; min-height: 6.5rem; padding: .9rem; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); font: 600 .8125rem/1.3 var(--text); font-variant-numeric: tabular-nums; }
.b-swatches li span { font-weight: 800; font-size: .9375rem; }
.b-swatches li.dark { color: var(--white); }
.sg-pages, .sg-apps { display: grid; gap: 1.25rem; }
.sg-pages .b-z img, .pz-detail .b-z img, .pz-side .b-z img, .pz-logo .b-z img { box-shadow: inset 0 0 0 1px #DADCE0; outline: 1px solid #DADCE0; outline-offset: -1px; }

/* ---------- 02 Krzywa: collage campaigns ---------- */
.kz-intro { display: grid; gap: 2rem; align-items: center; }
.kz-logo { margin: 0; padding: clamp(2rem, 6vw, 3.5rem); background: #DDC6B8; }
.kz-logo img { width: 100%; height: auto; }
/* Animated collage hero: the original PSD layers, stacked in their real order */
.kz-anim { position: relative; margin: 0 calc(-1 * var(--gutter)); padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) clamp(1.25rem, 3vw, 2rem); background: #D9C7B9; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: center; overflow: hidden; }
.kz-stage { grid-column: 1 / -1; justify-self: center; position: relative; width: min(100%, 50rem, 78svh); aspect-ratio: 1400 / 1347; }
.kz-l { position: absolute; inset: 0; width: 100%; height: 100%; transform: translate(calc(var(--px, 0) * var(--d) * 1.6%), calc(var(--py, 0) * var(--d) * 1.6%)); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.kz-anim figcaption { justify-self: start; margin-top: clamp(1.25rem, 3vw, 2rem); color: #4B3A30; }
.kz-pause { margin-top: clamp(1.25rem, 3vw, 2rem); min-height: 2.75rem; padding: 0 1.1rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 700; font-size: .875rem; cursor: pointer; }
.kz-pause:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
/* Before it scrolls into view: pieces sit off to the sides */
.kz-anim.is-armed .kz-l { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1.06); }
.kz-anim.is-in .kz-l { opacity: 1; transition: transform 1.3s cubic-bezier(.2, .9, .25, 1.08) calc(var(--i) * 120ms), opacity .6s ease calc(var(--i) * 120ms); }
/* Then a slow drift, each layer on its own rhythm */
.kz-anim.is-live .kz-l { animation: kz-drift calc(7s + var(--i) * .9s) ease-in-out calc(var(--i) * -1.3s) infinite alternate; }
.kz-anim.is-paused .kz-l { animation-play-state: paused; }
@keyframes kz-drift { from { translate: 0 0; rotate: 0deg; } to { translate: calc(var(--d) * .9%) calc(var(--d) * -1.1%); rotate: calc(var(--r) * .08); } }
.kz-run, .kz-formats, .kz-more, .cl-big, .cl-wall, .mk-grid { list-style: none; margin: 0; padding: 0; }
.kz-run { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.kz-run li { min-width: 0; }
.kz-formats { display: flex; gap: 1rem; align-items: flex-end; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.kz-formats li { flex: 0 0 auto; scroll-snap-align: start; }
.kz-formats li:nth-child(1) { width: min(62vw, 22rem); }
.kz-formats li:nth-child(2) { width: min(50vw, 17.5rem); }
.kz-formats li:nth-child(3) { width: min(38vw, 12rem); }
/* Campaigns and the three formats share one row on desktop */
.kz-pair { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.kz-col { display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
.kz-col .b-sub { margin: 0; }
.kz-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.kz-link { margin: 0; }
.kz-link svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* ---------- 03 Przystań: calm line system ---------- */
/* The venue photo opens the section as its hero */
.pz-hero { margin: 0; }
.pz-hero img { width: 100%; }
/* Przystań badge on the venue photo: the four rows of waves are cut from the logo and sway, out of step */
.pz-wavy { position: relative; display: block; }
.pz-wavy > img:first-child { display: block; width: 100%; height: auto; }
.pz-wavy .pz-wave { position: absolute; height: auto; outline: none; box-shadow: none; transition: none; animation: pz-wave 3.2s ease-in-out infinite; animation-delay: calc(var(--w) * -.8s); }
.pz-wavy .pz-wave:nth-of-type(odd) { animation-direction: alternate-reverse; }
@keyframes pz-wave { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(4%, -14%); } 50% { transform: translate(8%, 0); } 75% { transform: translate(4%, 14%); } }
.pz-wavy { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.b-z:hover .pz-wavy > img:first-child { transform: none; }
.b-z:hover .pz-wavy { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .pz-wavy .pz-wave { animation: none; } }
:root[data-motion="off"] .pz-wavy .pz-wave { animation: none; }
.pz-detail, .pz-system, .pz-side, .pz-apps { display: grid; gap: 1.25rem; align-items: start; }
.pz-pal { max-width: 26rem; }
/* Compact on phones: system and applications in two columns */
.pz-system { grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); }
.pz-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 04 More marks ---------- */
/* More marks: a compact gallery. One feature image, four tiles, all cut to the same 3:2 frame */
.mk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mk-grid .mk-wide { grid-column: span 2; }
.mk-grid .b-z { background: #F2F2F2; }
.mk-grid .b-z img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.mk-grid figcaption { margin-top: .45rem; font-size: .8125rem; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* ---------- 05 Collages ---------- */
.cl-big { columns: 2; column-gap: .75rem; }
.cl-big li { break-inside: avoid; margin-bottom: 1rem; }
.cl-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }

/* ---------- Closing ---------- */
/* Project navigation: copied from case.css so the page ends like the case studies */
.cs-pnav { margin-top: clamp(5rem, 10vw, 9rem); padding: clamp(3rem, 7vw, 5rem) var(--gutter); background: var(--lavender); display: grid; gap: 1.5rem; }
.cs-pnav h2 { font-size: clamp(2rem, 5vw, 3.75rem); line-height: .95; max-width: 16ch; }
.cs-pnav .cs-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.pill-link.ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cs-pnav .pill-link > span { display: grid; line-height: 1.2; padding-block: .45rem; }
.cs-pnav .pill-link small { font-size: .75rem; font-weight: 600; opacity: .8; }

/* ---------- Lightbox ---------- */
.b-lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(255, 255, 255, .97); }
.b-lb::backdrop { background: rgba(0, 0, 0, .4); }
.b-lb[open] { display: grid; grid-template-rows: 1fr auto; }
.b-lb-stage { display: grid; place-items: center; overflow: auto; padding: 4.5rem var(--gutter) 1rem; min-height: 0; }
.b-lb-stage img { max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; }
.b-lb-cap { margin: 0; padding: 0 var(--gutter) 1.25rem; text-align: center; font-size: .9375rem; }
.b-lb-close { position: absolute; top: .75rem; right: var(--gutter); min-height: 2.75rem; padding: 0 1.25rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 700; cursor: pointer; z-index: 1; }
.b-lb-close:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .sg-tiles ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .b-swatches ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kz-run { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kz-more { grid-template-columns: 1fr 1.4fr 1.2fr 1.1fr; }
  .cl-big { columns: 3; }
  .cl-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pz-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pz-detail .pz-logo { grid-column: span 2; max-width: 36rem; }
}
@media (min-width: 900px) {
  .b-hero { grid-template-columns: 1.1fr 1fr; align-items: center; min-height: calc(88svh - var(--bar-h)); }
  .b-p-head { grid-template-columns: auto minmax(0, 1fr) auto; }
  .b-p-head .b-facts { max-width: 24rem; }
  .sg-concept { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto; gap: 3rem; }
  .sg-pages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sg-apps { grid-template-columns: 1.55fr 1fr; align-items: end; }
  .kz-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
  /* Poster big on the left, the bare collage offset lower on the right */
  .kz-formats { overflow: visible; justify-content: flex-start; }
  .kz-pair { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
  .kz-formats { gap: .75rem; }
  .kz-formats li:nth-child(1) { width: 38%; }
  .kz-formats li:nth-child(2) { width: 32%; }
  .kz-formats li:nth-child(3) { width: 22%; }
  /* Palette, icons and logos in one row; venue, plates and shelter in one row */
  .pz-system { grid-template-columns: minmax(0, .32fr) minmax(0, 2fr); gap: 1.25rem; }
  .pz-side { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.25rem; }
  .pz-detail { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.1fr); }
  .pz-detail .pz-logo { grid-column: auto; max-width: none; }
  .pz-apps { width: min(100%, 52rem); align-items: end; }
  /* Feature image spans both rows and fills their height */
  .mk-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .mk-grid .mk-wide { grid-column: auto; grid-row: span 2; display: flex; flex-direction: column; }
  .mk-grid .mk-wide .b-z { flex: 1; }
  .mk-grid .mk-wide .b-z img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .cl-big { columns: 4; }
  .cl-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cs-pnav { grid-template-columns: 1fr auto; align-items: end; }
}

@media (prefers-reduced-motion: reduce) {
  .kz-l { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .b-z img, .b-ix-name, .b-ix-thumb { transition: none !important; }
  .b-z:hover img { transform: none; }
}
[data-motion="off"] .b-z img, [data-motion="off"] .b-ix-thumb { transition: none !important; }

/* Inline links in the facts list get a comfortable tap area */
.b-facts a { display: inline-block; padding: .35rem 0; margin: -.35rem 0; }
[data-motion="off"] .kz-l { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
