@charset "UTF-8";
/* ==========================================================================
   Su Misura — design system
   Source: DESIGN system.md ("Numbered" style reference)
   Ink-black canvas, white ink, weight 400 display type, bronze as surface only,
   no cards / radius / shadows, underlined text links as the only affordance.
   ========================================================================== */

:root {
  /* colour */
  --ink: #111111;
  --paper: #ffffff;
  --smoke: #4f4f4f;
  --bronze: #bc9873;
  --photo: #000000;

  /* type */
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;   /* was Instrument Serif until the 2026-11-17 redesign */

  --text-caption: 12px;
  --text-small: 13px;
  --text-body: 16px;
  --text-sub: clamp(20px, 1.75vw, 25px);
  --text-heading: clamp(34px, 3.75vw, 54px);
  --text-display: clamp(44px, 5.15vw, 74px);
  --text-mega: clamp(56px, 10.4vw, 170px);

  /* space */
  --gutter: 20px;
  --indent: 0px;
  --section: clamp(72px, 7.2vw, 120px);
  --gap: 20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 64px;
}

@media (min-width: 768px) {
  :root { --gutter: clamp(32px, 8.26vw, 119px); --indent: clamp(0px, 8.26vw, 119px); --gap: 24px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--text-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* body hands its overflow to the viewport, so body itself never clips. main does: words that slide in from the
   right ([data-skew]) would otherwise widen the page before they arrive, and phones zoom the whole page out. */
main { overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 400; }
strong, b { font-weight: 500; }
::selection { background: var(--bronze); color: var(--ink); }
:focus-visible { outline: 1px solid var(--paper); outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--paper); color: var(--ink); padding: 10px 14px; font-size: var(--text-small); }
.skip-link:focus { top: 16px; }

/* film grain — analogue texture over everything */
.grain {
  position: fixed; inset: -50%; z-index: 250; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- type ---------- */
.t-caption { font-size: var(--text-caption); line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase; }
.t-small { font-size: var(--text-small); line-height: 1.45; }
.t-body { font-size: var(--text-body); line-height: 1.55; }
.t-body-lg { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; }
.t-sub { font-size: var(--text-sub); line-height: 1.2; letter-spacing: -0.005em; }
.t-heading { font-size: var(--text-heading); line-height: 1.12; letter-spacing: -0.015em; }
.t-display { font-size: var(--text-display); line-height: 1.02; letter-spacing: -0.025em; }
.t-mega { font-size: var(--text-mega); line-height: 0.88; letter-spacing: -0.035em; }
.t-serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
.t-tabular { font-variant-numeric: tabular-nums; }
.measure { max-width: 34em; }
.measure-narrow { max-width: 26em; }
.prose p + p { margin-top: 1.1em; }
.prose ul { margin-top: 1em; }
.prose li { padding-left: 1.4em; position: relative; }
.prose li + li { margin-top: 0.5em; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 0.7em; height: 1px; background: currentColor; }
.prose a, a.u-link, .u-link { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; }
.prose h2 { font-size: var(--text-sub); line-height: 1.2; margin: 2.2em 0 0.8em; }
.prose h3 { font-size: 18px; line-height: 1.3; margin: 1.8em 0 0.6em; }

/* underlined text link — the only affordance */
.u-link { display: inline-block; transition: opacity 0.3s; }
@media (hover: hover) {
  .u-link:hover, .prose a:hover { animation: u-wipe 0.7s var(--ease-in-out); }
}
@keyframes u-wipe {
  0% { background-size: 100% 1px; background-position: 100% 100%; }
  49% { background-size: 0 1px; background-position: 100% 100%; }
  50% { background-size: 0 1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}
.link-arrow::after { content: " →"; display: inline-block; transition: transform 0.5s var(--ease-out); }
@media (hover: hover) { .link-arrow:hover::after { transform: translateX(6px); } }
/* on touch screens the small text links and arrow buttons get a finger-sized hit area (44 px+ tall, the Apple/Google
   minimum) without moving anything: an invisible box around them */
@media (pointer: coarse) {
  .u-link, .footer__links a, .rail__nav button, .brand, .menu-toggle, .filters button, .consent__actions button { position: relative; }
  .u-link::before, .footer__links a::before, .rail__nav button::before, .brand::before, .menu-toggle::before,
  .filters button::before, .consent__actions button::before {
    content: ""; position: absolute; inset: -11px -6px;
  }
}

/* ---------- layout ---------- */
.container { padding-inline: var(--gutter); }
.indent { padding-left: var(--indent); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.rule { border: 0; border-top: 1px solid var(--smoke); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.stack > * + * { margin-top: var(--stack, 24px); }
.eyebrow { display: flex; gap: 16px; align-items: baseline; margin-bottom: clamp(28px, 3vw, 48px); }
.eyebrow__num { opacity: 1; }
.bleed { width: 100%; }
.media { position: relative; overflow: hidden; background: var(--photo); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-23 { aspect-ratio: 2 / 3; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-916 { aspect-ratio: 9 / 16; }
.figcap { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 120; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter); color: var(--paper);
  transition: transform 0.6s var(--ease-out), background-color 0.4s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0)); opacity: 0; transition: opacity .4s;
}
.site-header.is-scrolled { background: rgba(17, 17, 17, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.menu-open .site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { font-size: var(--text-small); letter-spacing: 0.22em; text-transform: uppercase; justify-self: start; white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; }
/* the original Su Misura monogram, drawn in the current text colour */
.brand__mark, .footer__mono, .seal__mono { display: block; flex: none; background: currentColor; -webkit-mask: url("brand/su-misura-mark.png") center / contain no-repeat; mask: url("brand/su-misura-mark.png") center / contain no-repeat; }
.brand__mark { width: 36px; height: 36px; transition: transform .9s var(--ease-out); }
@media (hover: hover) { .brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); } }
@media (max-width: 520px) { .brand__name { display: none; } .brand__mark { width: 34px; height: 34px; } }
.menu-toggle { justify-self: center; font-size: var(--text-small); letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 4px; display: inline-flex; gap: 10px; align-items: center; }
.menu-toggle__lines { width: 18px; height: 7px; position: relative; display: inline-block; }
.menu-toggle__lines::before, .menu-toggle__lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-toggle__lines::before { top: 0; }
.menu-toggle__lines::after { top: 6px; }
.menu-open .menu-toggle__lines::before { top: 3px; transform: rotate(18deg); }
.menu-open .menu-toggle__lines::after { top: 3px; transform: rotate(-18deg); }
.header-cta { justify-self: end; font-size: var(--text-small); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.header-cta .hide-sm { display: none; }
@media (min-width: 768px) { .header-cta .hide-sm { display: inline; } }
@media (max-width: 520px) { .header-cta .u-link span.long { display: none; } }

/* ---------- menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 110; background: var(--ink);
  display: grid; grid-template-rows: minmax(min-content, 1fr) auto; padding: calc(var(--header-h) + 24px) var(--gutter) 28px;
  visibility: hidden; clip-path: inset(0 0 100% 0);
  /* a phone held sideways is shorter than the nine links: the menu scrolls on its own, the page behind does not */
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.menu-open .menu { visibility: visible; }
html.menu-open { overflow: hidden; }
.menu__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; min-height: 0; }
@media (min-width: 1000px) { .menu__inner { grid-template-columns: 1.4fr 1fr; } }
.menu__list { counter-reset: m; }
.menu__item { overflow: hidden; }
.menu__link { display: flex; align-items: baseline; gap: 18px; font-size: clamp(26px, min(4.4vw, 6vh), 62px); line-height: 1.1; letter-spacing: -0.02em; padding-block: 2px; }
.menu__link .num { font-size: var(--text-caption); letter-spacing: .14em; min-width: 2.2em; transform: translateY(-0.2em); }
.menu__link span.label { display: inline-block; transition: transform .6s var(--ease-out);
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; letter-spacing: -0.012em; line-height: 1.2;
  padding-right: .08em; }   /* room for the ogonek of ę and the accent of ś inside the item's clip */   /* italic serif (client, 2026-11-16) */
@media (hover: hover) { .menu__link:hover span.label { transform: translateX(14px); } }
.menu__link[aria-current="page"] span.label { background: linear-gradient(currentColor, currentColor) 0 100%/100% 1px no-repeat; }
.menu__visual { display: none; position: relative; aspect-ratio: 4/5; max-height: 68vh; justify-self: end; width: min(100%, 460px); overflow: hidden; background: #000; }
@media (min-width: 1000px) { .menu__visual { display: block; } }
.menu__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); opacity: 0; transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); transform: scale(1.06); }
.menu__visual img.is-active { opacity: 1; transform: scale(1); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; border-top: 1px solid var(--smoke); padding-top: 20px; }

/* ---------- page transition ---------- */
/* only shown between internal page loads — first visits paint immediately */
.curtain { position: fixed; inset: 0; z-index: 200; background: var(--ink); pointer-events: none; transform: translateY(101%); transition: transform 0.7s var(--ease-in-out); }
.is-arriving .curtain { transform: none; }
.is-arriving.is-ready .curtain { transform: translateY(-101%); }
.is-leaving .curtain, .is-leaving.is-ready .curtain { transform: none; transition-duration: 0.45s; }
html:not(.js) .curtain { display: none; }

/* ==========================================================================
   HOME — hero: a full-bleed portrait (cursor travel cuts to the next photo, after numbered.com) with the
   name set across its foot (after thecassandravale.com): a rule, the H1 as a small caps line, a rule,
   SU MISURA in condensed capitals edge to edge, and a white band with the address. On load the photo
   zooms out while the caps line rises, the name flips up and the band rises; on scroll the photo
   trails at a little over a quarter of the scroll speed while the type scrolls with the page.
   ========================================================================== */
.nhero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); color: #fff; }
.nhero__panel { position: absolute; inset: 0; overflow: hidden; }
.nhero__media, .nhero__drift { position: absolute; inset: 0; }
.nhero__media { will-change: transform; }
.nhero__shot { position: absolute; inset: 0; margin: 0; visibility: hidden; background: #000; }
.nhero__shot.is-on { visibility: visible; }
.nhero__shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 35%); }
/* touch screens loop on their own (main.js adds .nhero--loop): the next photo fades in over the last one, which stays
   underneath until it is covered (so it never dips to black), and each photo eases out of a slight zoom while it shows */
.nhero--loop .nhero__shot, .nhero--va2 .nhero__shot { visibility: visible; opacity: 0; z-index: 0; transition: opacity 1.3s cubic-bezier(.4, 0, .2, 1); }
.nhero--loop .nhero__shot.is-prev, .nhero--va2 .nhero__shot.is-prev { opacity: 1; z-index: 1; transition: none; }
.nhero--loop .nhero__shot.is-on, .nhero--va2 .nhero__shot.is-on { opacity: 1; z-index: 2; }
.nhero--loop .nhero__shot img, .nhero--va2 .nhero__shot img { transform: scale(1.07); transition: transform 7s cubic-bezier(.2, .6, .3, 1); }
.nhero--loop .nhero__shot.is-on img, .nhero--loop .nhero__shot.is-prev img, .nhero--va2 .nhero__shot.is-on img, .nhero--va2 .nhero__shot.is-prev img { transform: none; }
.nhero--loop .nhero__shot.is-prev img, .nhero--va2 .nhero__shot.is-prev img { transition: none; }
/* ---------- the home hero is variant A2 (chosen by the client, 2026-11-16): A's own hero looping on every screen with
   the touch loop's crossfade and slow push-in (the .nhero--loop rules above also cover .nhero--va2); main.js 6c runs it. ---------- */

/* upright screens use each photo's own focus point for phones (--pos-m) */
@media (max-width: 767px), (orientation: portrait) {
  .nhero__shot img { object-position: var(--pos-m, var(--pos, 50% 35%)); }
}
.nhero__panel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, 0) 36%), linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .22) 32%, rgba(0, 0, 0, 0) 56%); }
/* the type at the foot: the site's own pair, the serif name between small tracked capitals (as in the header) */
.nhero__stack { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; container-type: inline-size; pointer-events: none; }
.nhero__line, .nhero__band { margin: 0; font-family: var(--sans); font-weight: 500; font-size: var(--text-caption); line-height: 1.2;
  letter-spacing: .14em; text-transform: uppercase; text-align: center; white-space: nowrap; }
.nhero__line { position: relative; display: flex; justify-content: center; padding: .85em var(--gutter) .8em; border-block: 1px solid rgba(255, 255, 255, .72); }
.nhero__h1 { margin: 0; font: inherit; letter-spacing: inherit; }
.nhero__count { position: absolute; right: var(--gutter); top: 50%; margin: 0; transform: translateY(-50%); font-variant-numeric: tabular-nums; opacity: .85; }
.nhero__flip { perspective: 2000px; }
/* the name: Instrument Serif at the size it always had (a fifth of the width, at most 420px), centred. Line height
   .789 puts the tops of the letters on the top of the line box (Instrument Serif: capitals 0.734em, ascent 0.989,
   descent 0.31), and the margins leave an even small gap to the rule above and the band below. */
.nhero__mark { margin: .045em 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(92px, 20.5cqw, 420px);
  line-height: .789; letter-spacing: -0.035em; text-align: center; white-space: nowrap; transform-origin: 50% 50%; will-change: transform, opacity; }
.nhero__band { padding: .85em var(--gutter) .8em; background: var(--paper); color: var(--ink); }
@media (max-width: 767px) {
  .nhero__mark { font-size: 23.5cqw; }
  .nhero__count { display: none; }
  .zg__title .line:last-child { padding-left: 10vw; }
}
/* intro, as on thecassandravale.com: the photo zooms out from 1.25 over 2.5s; the caps line rises 50px and fades in, the
   name flips up from 45 degrees 100ms later and the band rises 300ms after the line (0.9s each, ease-out). main.js
   starts it (adds .is-in) once the serif and the first photo are ready, so nothing jumps when the font
   arrives; if the script never runs, the type still appears after 3s. */
@media (prefers-reduced-motion: no-preference) {
  .js .nhero:not(.is-in) .nhero__drift { transform: scale(1.25); }
  .js .nhero:not(.is-in) :is(.nhero__line, .nhero__mark, .nhero__band) { opacity: 0; animation: nh-show 0s 3s forwards; }
  .nhero.is-in .nhero__drift { animation: nh-zoom 2.5s cubic-bezier(.1, .55, .4, 1) both; }
  .nhero.is-in .nhero__line { animation: nh-rise .9s cubic-bezier(.33, 1, .68, 1) both; }
  .nhero.is-in .nhero__mark { animation: nh-flip .9s cubic-bezier(.33, 1, .68, 1) .1s both; }
  .nhero.is-in .nhero__band { animation: nh-rise .9s cubic-bezier(.33, 1, .68, 1) .3s both; }
}
@keyframes nh-zoom { from { transform: scale(1.25); } to { transform: none; } }
@keyframes nh-rise { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }
@keyframes nh-flip { from { opacity: 0; transform: rotateX(-45deg) translateY(120px); } to { opacity: 1; transform: none; } }
@keyframes nh-show { to { opacity: 1; } }
@keyframes rise { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise-title { from { transform: translateY(130%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }

/* ---------- statement (scroll-lit words) ---------- */
.statement { padding-block: calc(var(--section) * 1.1) var(--section); }
.statement__text { font-size: clamp(30px, 3.75vw, 54px); line-height: 1.14; letter-spacing: -0.018em; max-width: 21em; }
.statement__aside { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 24px; }
@media (min-width: 900px) { .statement__aside { grid-template-columns: repeat(12, 1fr); } .statement__aside > :first-child { grid-column: 1 / span 4; } .statement__aside > :last-child { grid-column: 6 / span 5; } }
/* the caption carries a workbench photo, so the column beside the paragraph is never empty */
.statement__side { display: grid; gap: clamp(20px, 2.2vw, 36px); align-content: start; }
.statement__media { aspect-ratio: 5 / 3; }

/* ---------- services: clothing rail (vanilla port of 21st.dev "Product Rail Gallery") ---------- */
.svc-head { display: grid; gap: 20px; margin-bottom: clamp(12px, 1.6vw, 28px); position: relative; z-index: 2; }
.svc-head .eyebrow { margin-bottom: clamp(20px, 2.4vw, 36px); }
@media (min-width: 900px) { .svc-head { grid-template-columns: 1fr auto; align-items: end; } .svc-head__note { text-align: right; max-width: 24em; padding-bottom: .5em; } }
.rail-sec { position: relative; overflow: hidden; padding-bottom: clamp(40px, 4vw, 64px); }
.rail-sec::before { content: ""; position: absolute; left: 0; right: 0; top: 18%; height: 70%; background: radial-gradient(56% 60% at 50% 34%, rgba(255, 255, 255, .075), transparent 72%); pointer-events: none; }

/* base = no JS: a row of garments above the full list of services */
.rail { position: relative; display: flex; gap: 12px; overflow-x: auto; padding: 16px var(--gutter) 8px; }
.rail__item { position: relative; flex: 0 0 clamp(140px, 20vw, 240px); aspect-ratio: 2/3; padding: 0; }
.rail__swing, .rail__turn, .rail__drape { position: absolute; inset: 0; display: block; }
.rail__drape img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; -webkit-user-drag: none; }
.rail__rod, .rail__tag, .rail__nav { display: none; }
.rail__info { display: grid; gap: 36px; margin-top: 36px; }
@media (min-width: 900px) { .rail__info { grid-template-columns: repeat(4, 1fr); } }
.rail__card { display: grid; justify-items: start; align-content: start; gap: 10px; }
.rail__count { display: flex; align-items: center; gap: 12px; }
.rail__count i { display: block; width: 44px; height: 1px; background: var(--bronze); }
.rail__name { font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -0.03em; }
.rail__price { opacity: .72; }
.rail__desc { max-width: 32em; line-height: 1.5; opacity: .84; }

/* live = garments hang on a bronze rail; the chosen one turns to face you (positions come from main.js) */
.rail--live .rail { display: block; overflow: visible; overflow-x: clip; padding: 0; height: 560px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rail--live .rail__rod { display: block; position: absolute; left: 0; right: 0; top: calc(var(--rail-y, 40px) - 4px); height: 8px; background: linear-gradient(to bottom, #f3e2ca 0%, #dcbd97 20%, var(--bronze) 46%, #8a6a4b 76%, #4f3c2a 100%); box-shadow: 0 8px 18px rgba(0, 0, 0, .6); }
.rail__rod i { position: absolute; top: -11px; width: 14px; height: 30px; background: linear-gradient(to right, #9c7a57, #5e4732); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.rail__rod i:first-child { left: 10px; } .rail__rod i:last-child { right: 10px; }
.rail--car .rail__rod i { display: none; }
.rail--live .rail__item { position: absolute; left: 0; top: calc(var(--rail-y, 40px) - var(--h, 520px) * .014); width: calc(var(--h, 520px) * 2 / 3); height: var(--h, 520px); flex: none; aspect-ratio: auto; cursor: pointer; outline: none; will-change: transform; }
.rail--live .rail__swing { transform-origin: 50% 1.4%; }
.rail--live .rail__swing::before { content: ""; position: absolute; z-index: 2; left: 47.9%; top: .4%; width: 4.2%; height: 4.75%; background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2044'%3E%3Cpath%20d='M12%2044V15C12%205%2021.5%203%2021.5%2010.5'%20fill='none'%20stroke='rgb(40,40,40)'%20stroke-width='3.4'%20stroke-linecap='round'%20transform='translate(.7%20.9)'/%3E%3Cpath%20d='M12%2044V15C12%205%2021.5%203%2021.5%2010.5'%20fill='none'%20stroke='rgb(196,196,196)'%20stroke-width='2.4'%20stroke-linecap='round'/%3E%3Cpath%20d='M11.4%2040V15.5C11.4%207.5%2017%205.4%2019.6%206.6'%20fill='none'%20stroke='rgb(255,255,255)'%20stroke-opacity='.55'%20stroke-width='.7'%20stroke-linecap='round'/%3E%3Crect%20x='9.2'%20y='38'%20width='5.6'%20height='6'%20fill='rgb(170,170,170)'/%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }
.rail--live .rail__turn { transform: perspective(1100px) rotateY(-68deg); transform-origin: 50% 50%; }
.rail--live .rail__drape { transform-origin: 50% 0; }
.rail--live .rail__item:focus-visible .rail__drape { outline: 1px solid var(--paper); outline-offset: 8px; }
.rail--live .rail__tag { display: block; position: absolute; left: 50%; top: 7.5%; transform-origin: 3px 0; transform: rotate(-10deg); pointer-events: none; }
.rail__tag::before { content: ""; display: block; width: 1px; height: 18px; margin-left: 3px; background: rgba(255, 255, 255, .45); }
.rail__tag span { display: block; transform: translateX(calc(-50% + 3px)); white-space: nowrap; padding: 8px 8px 6px; background: var(--bronze); color: var(--ink); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1; box-shadow: 0 4px 10px rgba(0, 0, 0, .45); }
.rail--live .rail__info { grid-template-columns: 1fr; gap: 0; margin-top: 0; text-align: center; }
.rail--live .rail__card { grid-area: 1 / 1; justify-items: center; visibility: hidden; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease-out), transform .7s var(--ease-out), visibility 0s .45s; }
.rail--live .rail__card.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity .7s var(--ease-out) .1s, transform .9s var(--ease-out) .1s, visibility 0s; }
.rail--live .rail__name { font-size: clamp(38px, 4.8vw, 80px); line-height: .96; letter-spacing: -0.04em; }
.rail--live .rail__desc { max-width: 34em; font-size: var(--text-body-lg, 18px); }
.rail--live .rail__nav { display: flex; justify-content: center; gap: 36px; margin-top: 26px; }
.rail__nav button { display: block; padding: 8px 4px; opacity: .6; transition: opacity .2s, transform .3s var(--ease-out); }
.rail__nav button:hover, .rail__nav button:focus-visible { opacity: 1; }
.rail__nav button[data-dir="-1"]:hover { transform: translateX(-4px); }
.rail__nav button[data-dir="1"]:hover { transform: translateX(4px); }
.rail__nav svg { display: block; width: 38px; height: 12px; }

/* ---------- Realizacje: Metamorfoza biznesowa. Two before/after diptychs side by side, the pair photos edge to
   edge like one print (after numbered.com's case pairs and emilymeyer.com's row of full-length portraits).
   Photos are shown at or below their 514 px source, so they stay sharp. ---------- */
.meta__head { display: grid; gap: clamp(18px, 2vw, 28px); margin-bottom: clamp(36px, 4vw, 64px); }
.meta__head .t-display { margin: 0; }
.meta__lead { max-width: 26em; }
@media (min-width: 900px) {
  .meta__head { grid-template-columns: minmax(0, 1fr) minmax(0, 26em); align-items: end; column-gap: var(--gap); }
  .meta__head .eyebrow { grid-column: 1 / -1; }
  .meta__lead { padding-bottom: .4em; }
}
.meta__row { display: grid; gap: clamp(56px, 8vw, 96px) clamp(24px, 4vw, 72px); }
@media (min-width: 900px) { .meta__row { grid-template-columns: 1fr 1fr; } }
.meta__case { position: relative; }
.meta__pair { display: grid; grid-template-columns: 1fr 1fr; }
.meta__shot { margin: 0; }
.meta__shot .media { aspect-ratio: 514 / 849; background: #f3f3f3; }
.meta__shot figcaption { margin-top: clamp(14px, 1.4vw, 22px); text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 2.8vw, 48px); line-height: 1; letter-spacing: -0.01em; }
.meta__no { position: absolute; z-index: 2; left: clamp(12px, 1.2vw, 18px); top: clamp(12px, 1.2vw, 18px); display: flex; gap: 10px; color: var(--ink); pointer-events: none; }

/* ---------- Management: the owners as two mirrored rows, one per person. Equal 4:5 prints from the same
   studio; each portrait sits beside its own name, the role label level with the top of the print and the
   name and bio settled on its lower edge. ---------- */
.duo { display: grid; gap: clamp(96px, 14vw, 140px); }
.duo__photo { margin: 0 0 clamp(36px, 4vw, 56px); }
.duo__photo .media { aspect-ratio: 4 / 5; background: #d0c7bc; }
.duo__text .eyebrow { margin-bottom: clamp(18px, 2vw, 28px); }
.duo__name { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 7.4vw, 124px); line-height: .86; letter-spacing: -0.035em;
  width: min-content; padding-left: .6em; text-indent: -.6em; margin-bottom: clamp(26px, 2.6vw, 40px); }
.duo__name > * { text-indent: 0; } /* the split words are boxes of their own: only the line, not each word, hangs */
.duo__bio { max-width: 34em; }
.duo__bio .t-sub { line-height: 1.34; }
@media (min-width: 900px) {
  .duo { --duo-gap: clamp(56px, 9vw, 150px); --duo-w: min(600px, calc((100vw - 2 * var(--gutter) - var(--duo-gap)) / 2));
    row-gap: clamp(110px, 11vw, 190px); justify-items: center; }
  .duo__person { display: grid; grid-template-columns: repeat(2, var(--duo-w)); column-gap: var(--duo-gap); }
  .duo__photo { margin: 0; align-self: start; }
  .duo__text { display: flex; flex-direction: column; justify-content: space-between; }
  .duo__person--flip .duo__photo { grid-column: 2; grid-row: 1; }
  .duo__person--flip .duo__text { grid-column: 1; grid-row: 1; }
}
@media (min-width: 1800px) { .duo { --duo-gap: 8.4vw; --duo-w: 34vw; } .duo__name { font-size: 6.6vw; } }

/* ---------- Oferta: three full-length studio looks under the price list (garnitur, marynarka, smoking),
   shown whole at 2:3, each captioned with its price from the list. On phones the row swipes sideways. ---------- */
.shirts__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.shirts__item { margin: 0; }
.shirts__item .media { aspect-ratio: 2 / 3; }
.shirts__label { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--smoke); letter-spacing: .04em; }
@media (max-width: 899px) {
  .shirts__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .shirts__row::-webkit-scrollbar { display: none; }
  .shirts__item { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ---------- full-bleed photo band ---------- */
.band { position: relative; height: clamp(420px, 92vh, 1000px); overflow: hidden; background: #000; }
.band__img { position: absolute; inset: -12% 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.band--calm .band__img { inset: -5% 0; }
/* a photo with little room above the head: no overscan, the zoom (main.js, data-zoom-drift) is pinned to the top edge */
.band--top .band__img { inset: 0; transform-origin: 50% 0%; will-change: transform; }
.band__cap { position: absolute; left: var(--gutter); top: clamp(20px, 3vw, 40px); z-index: 2; }
.band__cap--bottom { top: auto; bottom: clamp(20px, 3vw, 40px); }
.band--short { height: clamp(320px, 60vh, 640px); }
/* "Lekkość": the pier photo is first seen through one huge word, then flown into (main.js, motion only) */
.wind__veil { display: none; }
.wind--live { height: 100svh; min-height: 520px; }
.wind--live .band__img { inset: 0; }
.wind--live .band__img img { transform-origin: 50% 46%; will-change: transform; }
.wind--live .wind__veil { display: block; position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

/* bronze accent band — surface only, never text */
.bronze-band { position: relative; height: clamp(260px, 48vh, 520px); background: var(--bronze); overflow: hidden; }
.bronze-band img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: 50% 46%; }

/* ---------- split editorial ---------- */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .split__media { grid-column: 1 / span 5; }
  .split__body { grid-column: 7 / span 5; padding-top: clamp(0px, 6vw, 120px); }
  .split--rev .split__media { grid-column: 8 / span 5; grid-row: 1; }
  .split--rev .split__body { grid-column: 1 / span 6; grid-row: 1; padding-left: var(--indent); }
  .split--wide .split__media { grid-column: 1 / span 7; }
  .split--wide .split__body { grid-column: 9 / span 4; }
  /* a photo pair (Made in Italy, Personalizacja): larger photos, copy centred against them, so neither side trails off */
  .split--italy, .split--pair { align-items: center; }
  .split--italy .split__media, .split--pair .split__media { grid-column: 1 / span 6; }
  .split--italy .split__body, .split--pair .split__body { grid-column: 8 / span 5; padding-top: 0; }
}
.split__media-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap); align-items: end; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--smoke); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px 20px 28px 0; border-bottom: 1px solid var(--smoke); }
@media (min-width: 900px) { .stat { border-bottom: 0; } .stat + .stat { padding-left: 24px; border-left: 1px solid var(--smoke); } }
.stat__value { font-size: clamp(44px, 5.15vw, 74px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 14px; max-width: 16em; }

/* ---------- zero gravity ---------- */
.zg { position: relative; padding-block: var(--section); overflow: hidden; }
/* the next section (process, pinned) brings its own top space: a full section padding here left a ~190px hole */
.zg { padding-bottom: clamp(24px, 2.6vw, 44px); }
.zg__title { font-size: clamp(64px, 14vw, 240px); line-height: .84; letter-spacing: -0.045em; white-space: nowrap; }
.zg__title .line { display: block; }
.zg__title .line:last-child { padding-left: 18vw; }
/* the running film (left, tucked under "Gravity" as the jacket was) and the Running jacket with its embroidery inset (right).
   Layout after Mobbin refs The Performance Lab / Aino Agency: one tall moving frame, one smaller offset still, copy between. */
.zg__title { position: relative; z-index: 2; }
.zg__stage { display: grid; gap: clamp(36px, 8vw, 56px); }
.zg__film { margin: 0; position: relative; z-index: 1; }
.zg__frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #000; }
.zg__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  filter: brightness(.93) contrast(1.06) saturate(.86); transition: opacity .45s var(--ease-out); }
/* a soft dip at the loop point, so the runner's restart far away is not a hard cut */
.zg__frame.is-cut video { opacity: .2; }
/* shade under the title that runs over the top of the frame, and at the foot for the track */
.zg__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0) 26%), linear-gradient(to top, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 22%); }
/* the track: a hairline ruler like the tape on the right edge, one tick per second, a bronze mark at the playhead */
.zg__track { margin-top: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; column-gap: 14px;
  font-size: var(--text-caption); letter-spacing: .14em; text-transform: uppercase; }
.zg__label { opacity: .55; }
.zg__rule { position: relative; height: 9px;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, .42) 0 1px, transparent 1px calc(100% / 13)) left bottom / 100% 5px no-repeat,
    linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)) left bottom / 100% 1px no-repeat; }
.zg__rule b { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--bronze); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.zg__rule i { position: absolute; bottom: 0; left: calc(var(--p, 0) * 100%); width: 1px; height: 11px; background: var(--bronze); }
.zg__time { font-variant-numeric: tabular-nums; opacity: .7; }
.zg__toggle { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.zg__body { display: grid; gap: 24px; align-content: start; }
.zg__look { margin: 0; position: relative; }
.zg__photo { aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.zg__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* the embroidery close-up sits over the photo's lower right corner, cut out with a page-coloured frame */
.zg__plate { position: relative; }
.zg__detail { position: absolute; right: -2%; bottom: -18%; width: 34%; aspect-ratio: 4 / 5; overflow: hidden; background: #000;
  outline: 6px solid var(--ink); }
.zg__detail img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 55%; }
.zg__caps { display: block; margin-right: 40%; }
.zg__caps .closeup__cap:first-child { margin-top: 18px; }
.zg__caps .closeup__cap { margin-top: 12px; }
@media (min-width: 900px) {
  .zg__stage { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(40px, 5vw, 80px); margin-top: calc(-1 * clamp(36px, 5.6vw, 100px)); }
  .zg__film { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .zg__body { grid-column: 7 / span 5; grid-row: 1; padding-top: clamp(80px, 9vw, 150px); }
  .zg__look { grid-column: 7 / span 6; grid-row: 2; align-self: end; }
}
/* Phones and tablets: title, then the film edge to edge (4:5) with "Gravity" over its top, track, copy, the jacket */
@media (max-width: 899px) {
  .zg__title { font-size: 20vw; }
  .zg__film { margin: -8vw calc(-1 * var(--gutter)) 0; }
  .zg__frame { aspect-ratio: 4 / 5; }
  .zg__track { padding-inline: var(--gutter); }
  .zg__detail { width: 38%; right: 0; outline-width: 5px; }
  .zg__caps { margin-right: 0; padding-top: 12vw; }   /* full width, below the inset's overhang */
}

/* ---------- horizontal process ---------- */
.hscroll { position: relative; overflow: hidden; }
.hscroll__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.hscroll__track { display: flex; gap: var(--gap); padding-inline: var(--gutter); will-change: transform; }
.step { flex: 0 0 min(78vw, 420px); border-top: 1px solid var(--paper); padding-top: 18px; }
.step__num { display: flex; justify-content: space-between; }
.step__title { margin-top: clamp(40px, 6vw, 96px); font-size: var(--text-heading); line-height: 1.05; letter-spacing: -0.02em; }
.step__text { margin-top: 18px; max-width: 24em; }
.step__media { margin-top: 28px; aspect-ratio: 4/5; overflow: hidden; background: #000; }
.step__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 899px) { .hscroll__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .hscroll__track::-webkit-scrollbar { display: none; } .step { scroll-snap-align: start; } }
/* desktop: without the pinned scroll (reduced motion) the steps can still be scrolled sideways */
@media (min-width: 900px) { .hscroll:not(.hscroll--live) .hscroll__track { overflow-x: auto; scrollbar-width: thin; padding-bottom: 12px; } }
/* pinned: the whole section is exactly one screen tall, so every photo is fully in view before the sideways scroll starts */
@media (min-width: 900px) {
  .hscroll--live { height: 100svh; display: flex; flex-direction: column; padding-block: calc(var(--header-h) + clamp(4px, 1vh, 16px)) clamp(24px, 4vh, 48px); }
  .hscroll--live .hscroll__head { flex: none; margin-bottom: clamp(18px, 3vh, 44px); }
  .hscroll--live .hscroll__head .eyebrow { margin-bottom: clamp(12px, 2vh, 28px); }
  .hscroll--live .hscroll__head h2 { font-size: min(var(--text-display), 7.4vh); }
  .hscroll--live .hscroll__track { flex: 1; min-height: 0; align-items: stretch; }
  .hscroll--live .step { display: flex; flex-direction: column; min-height: 0; }
  .hscroll--live .step__title { margin-top: clamp(14px, 3vh, 44px); font-size: min(var(--text-heading), 6vh); }
  .hscroll--live .step__text { margin-top: clamp(8px, 1.4vh, 18px); }
  .hscroll--live .step__media { flex: 1; min-height: 120px; aspect-ratio: auto; margin-top: clamp(12px, 2.4vh, 28px); }
}

/* ---------- gallery wall ----------
   A clipped frame; every column is taller than the frame and neighbours travel in
   opposite directions on scroll, so the frame is always full — no gaps above or below. */
.wall-sec { padding-bottom: clamp(16px, 2vw, 40px); }
.wall { --wall-gap: 6px; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--wall-gap); padding-inline: var(--wall-gap); height: 252vw; overflow: hidden; margin-top: calc(-1 * clamp(20px, 6vw, 110px)); -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.18) 4%, rgba(0,0,0,.5) 8%, rgba(0,0,0,.82) 12%, #000 16%, #000 84%, rgba(0,0,0,.82) 88%, rgba(0,0,0,.5) 92%, rgba(0,0,0,.18) 96%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.18) 4%, rgba(0,0,0,.5) 8%, rgba(0,0,0,.82) 12%, #000 16%, #000 84%, rgba(0,0,0,.82) 88%, rgba(0,0,0,.5) 92%, rgba(0,0,0,.18) 96%, transparent 100%); }
@media (min-width: 900px) { .wall { --wall-gap: 10px; grid-template-columns: repeat(4, 1fr); height: 128vw; } }
/* walls with three photos per column (wedding page) are shorter, so their columns always reach the bottom */
.wall--3 { height: 168vw; }
@media (min-width: 900px) { .wall--3 { height: 84vw; } }
.wall__col { display: flex; flex-direction: column; gap: var(--wall-gap); align-self: start; will-change: transform; }
@media (max-width: 899px) { .wall__col:nth-child(n+3) { display: none; } }
.wall figure { position: relative; overflow: hidden; background: #000; aspect-ratio: var(--r, 3/4); }
.wall img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: var(--pos, 50% 22%); transition: scale 1.2s var(--ease-out); will-change: transform; }
@media (hover: hover) { .wall figure:hover img { scale: 1.04; } }
.wall-head { position: relative; z-index: 2; pointer-events: none; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--smoke); padding-block: clamp(18px, 2.4vw, 34px); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex-shrink: 0; align-items: center; }
.marquee__item { font-size: clamp(34px, 5.15vw, 74px); line-height: 1; letter-spacing: -0.025em; white-space: nowrap; padding-inline: clamp(18px, 2.4vw, 40px); }
.marquee__sep { width: clamp(8px, 0.8vw, 12px); height: clamp(8px, 0.8vw, 12px); background: var(--bronze); flex: none; }

/* ---------- tiles (2/3-up categories) ---------- */
.tiles { display: grid; gap: 8px; padding-inline: 8px; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(3, 1fr); } .tiles--2 { grid-template-columns: repeat(2, 1fr); } }
.tile { position: relative; display: block; overflow: hidden; background: #000; aspect-ratio: 3/4; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.4s var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 50%); }
.tile__label { position: absolute; left: 0; right: 0; bottom: clamp(20px, 3vw, 36px); z-index: 2; text-align: center; }
.tile__label span { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.01em; background: linear-gradient(currentColor, currentColor) 0 100%/100% 1px no-repeat; padding-bottom: 4px; }
.tile__meta { position: absolute; top: 18px; left: 18px; z-index: 2; }
@media (hover: hover) { .tile:hover img { transform: scale(1.05); } }

/* ---------- video reels ---------- */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: min(66vw, 360px); gap: 8px; overflow-x: auto; padding-inline: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reels::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .reels { grid-auto-flow: row; grid-template-columns: repeat(var(--cols, 4), 1fr); overflow: visible; } }
.reel { scroll-snap-align: start; }
.reel__frame { position: relative; aspect-ratio: 9/16; overflow: hidden; background: #000; }
.reel__frame video, .reel__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__cap { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; }

/* ---------- quote ---------- */
.quote { text-align: left; }
.quote__text { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.02em; max-width: 17em; }
.quote__by { margin-top: 28px; }

/* ---------- CTA ---------- */
.cta { padding-block: calc(var(--section) * 1.1) calc(var(--section) * .8); }
.cta__big { display: inline-block; font-size: var(--text-mega); line-height: .9; letter-spacing: -0.04em; }
.cta__big .arrow { display: inline-block; transition: transform .8s var(--ease-out); }
@media (hover: hover) { .cta__big:hover .arrow { transform: translate(0.12em, -0.12em); } }
.cta__grid { margin-top: clamp(40px, 5vw, 80px); display: grid; gap: 28px; border-top: 1px solid var(--smoke); padding-top: 24px; }
@media (min-width: 768px) { .cta__grid { grid-template-columns: repeat(3, 1fr); } }
.cta__grid dt { margin-bottom: 10px; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); }
.page-hero__label { margin-bottom: clamp(20px, 3vw, 40px); }
.page-hero__title { font-family: var(--serif); font-size: clamp(64px, 13.2vw, 220px); line-height: .86; letter-spacing: -0.035em; }
.page-hero__title--long { font-size: clamp(52px, 9vw, 150px); }
/* the line hides the title while it rises in, so it needs room for descenders (j, g, ę, y reach about 0.24em below
   the baseline in Instrument Serif); the negative margin keeps the spacing below exactly as before */
.page-hero__title .line { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.16em; }
.page-hero__title .line > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .page-hero__title .line > span { animation: rise-title 1.3s var(--ease-out) both; animation-delay: calc(.2s + var(--i, 0) * .1s); }
  .page-hero__lead, .page-hero__label { animation: fade 1.2s var(--ease-out) .6s both; }
}
.page-hero__row { margin-top: clamp(32px, 4vw, 64px); display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .page-hero__row { grid-template-columns: repeat(12, 1fr); } .page-hero__lead { grid-column: 6 / span 6; } .page-hero__aside { grid-column: 1 / span 3; grid-row: 1; } }
.page-hero__media { margin-top: clamp(40px, 6vw, 96px); height: clamp(380px, 86vh, 980px); position: relative; overflow: hidden; background: #000; }
.page-hero__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.page-hero__media--contain { height: auto; }
/* photo framed tight to its top edge: no parallax overscan, so nothing is trimmed above */
.page-hero__media--still img { inset: 0; height: 100%; }
@media (max-width: 767px), (orientation: portrait) { .page-hero__media img { object-position: var(--pos-m, var(--pos, 50% 50%)); } }

.content-block { display: grid; gap: 28px; }
@media (min-width: 900px) { .content-block { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); } .content-block__head { grid-column: 1 / span 4; } .content-block__body { grid-column: 6 / span 6; } }
.content-block__head h2 { font-size: var(--text-heading); line-height: 1.08; letter-spacing: -0.02em; }
/* on a rail: the heading column stays in view below the header while a long body (the price list) scrolls past */
@media (min-width: 900px) { .content-block--rail .content-block__head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }

/* price list */
.prices { border-top: 1px solid var(--smoke); }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--smoke); }
.price__name { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.2; }
.price__value { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* three-column feature row (no cards: hairline separated) */
.cols { display: grid; gap: 0; border-top: 1px solid var(--smoke); }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(var(--n, 3), 1fr); } .cols > * + * { border-left: 1px solid var(--smoke); } }
.col { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--smoke); }
@media (min-width: 900px) { .col { border-bottom: 0; } .cols > * + * { padding-left: 24px; } }
.col h3 { font-size: var(--text-sub); line-height: 1.2; margin: 26px 0 14px; }

/* FAQ */
.faq { border-top: 1px solid var(--smoke); }
.faq__item { border-bottom: 1px solid var(--smoke); }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding-block: 22px; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; }
.faq__q h3 { font-size: inherit; line-height: inherit; }
.faq__icon { flex: none; width: 14px; height: 14px; position: relative; transform: translateY(-2px); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.js .faq__a { height: 0; }
.faq__a-inner { padding-bottom: 26px; max-width: 40em; }

/* timeline (process page) */
.timeline { display: grid; gap: 0; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); } .timeline__visual { grid-column: 1 / span 5; } .timeline__steps { grid-column: 7 / span 6; } }
.timeline__sticky { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4/5; overflow: hidden; background: #000; }
@media (max-width: 899px) { .timeline__visual { display: none; } }
.timeline__sticky img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .8s var(--ease-out), transform 1.4s var(--ease-out); }
.timeline__sticky img.is-active { opacity: 1; transform: none; }
/* ---------- PROCES: "Z bliska" — a large photo and a smaller one set lower beside it, each with a numbered figure
   caption (after the staggered pairs on ouraring.com and the "Fig." captions on incommonwith.com) ---------- */
.closeup .t-display { margin: 0 0 clamp(36px, 5vw, 80px); }
.closeup__grid { display: grid; gap: clamp(40px, 9vw, 64px); }
.closeup__item { margin: 0; }
.closeup__cap { display: block; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--smoke); font-size: var(--text-small); line-height: 1.5; }
.closeup__cap .t-caption { opacity: .55; }
.closeup__cap b { font-weight: 500; }
@media (max-width: 899px) { .closeup__item--side { width: 78%; margin-left: auto; } }
@media (min-width: 900px) {
  .closeup__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .closeup__item--main { grid-column: 1 / span 7; }
  .closeup__item--side { grid-column: 9 / span 4; align-self: end; }   /* starts lower, ends on the same line: no gap under either */
}
.tstep { min-height: 62vh; padding-block: 28px 48px; border-top: 1px solid var(--smoke); display: grid; align-content: start; gap: 16px; opacity: .35; transition: opacity .6s; }
.tstep.is-active, html:not(.js) .tstep { opacity: 1; }
@media (max-width: 899px) { .tstep { min-height: 0; opacity: 1; } }
/* phones/tablets: the sticky photo column is hidden, so each step carries its own photo */
.tstep__media { display: none; }
@media (max-width: 899px) {
  .tstep__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #000; margin-bottom: 6px; }
  .tstep__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
}
@media (min-width: 600px) and (max-width: 899px) {
  .tstep { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto 1fr; column-gap: var(--gap); }
  .tstep__media { grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 4 / 5; margin: 0; }
  .tstep > :not(.tstep__media) { grid-column: 2; }
}
/* a tall portrait tablet: shorter steps, or each one leaves most of the screen empty beside the photo */
@media (min-width: 900px) and (orientation: portrait) { .tstep { min-height: 44vh; } }
.tstep h3 { font-size: var(--text-heading); line-height: 1.05; letter-spacing: -0.02em; }

/* gallery page */
.filters { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: clamp(28px, 3vw, 48px); }
.filters button { font-size: var(--text-small); letter-spacing: .14em; text-transform: uppercase; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100%/0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.filters button[aria-pressed="true"] { background-size: 100% 1px; }
.masonry { columns: 2; column-gap: 8px; padding-inline: 8px; }
@media (min-width: 900px) { .masonry { columns: 3; } }
@media (min-width: 1400px) { .masonry { columns: 4; } }
.masonry figure { break-inside: avoid; margin-bottom: 8px; overflow: hidden; background: #000; position: relative; }
.masonry figure.is-hidden { display: none; }
.masonry img { width: 100%; height: auto; }
.masonry figcaption { position: absolute; left: 12px; bottom: 10px; right: 12px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .6s var(--ease-out); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (hover: hover) { .masonry figure:hover figcaption { opacity: 1; transform: none; } }

/* contact */
.contact-cards { display: grid; border-top: 1px solid var(--smoke); }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } .contact-cards > * + * { border-left: 1px solid var(--smoke); padding-left: 24px; } }
.contact-card { padding: 26px 20px 30px 0; border-bottom: 1px solid var(--smoke); }
@media (min-width: 768px) { .contact-card { border-bottom: 0; } }
.contact-card h2 { font-size: var(--text-small); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.contact-card p { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; letter-spacing: -0.015em; }
.form { display: grid; gap: 28px 24px; }
@media (min-width: 768px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--text-caption); letter-spacing: .14em; text-transform: uppercase; }
.field input, .field textarea { font: inherit; font-size: 18px; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid var(--smoke); padding: 10px 0 12px; border-radius: 0; transition: border-color .3s; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: var(--smoke); }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: var(--text-small); line-height: 1.5; }
.check input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1px solid var(--paper); margin: 3px 0 0; flex: none; display: grid; place-items: center; }
.check input:checked::after { content: ""; width: 8px; height: 8px; background: var(--paper); }
.form__submit { justify-self: start; font-size: var(--text-sub); background: linear-gradient(currentColor, currentColor) 0 100%/100% 1px no-repeat; padding-bottom: 6px; }
.form__status { font-size: var(--text-small); min-height: 1.5em; }

/* ---------- Kontakt (after numbered.com/contact, emilymeyer.com/inquiry and the close of thecassandravale.com) ---------- */
/* the word set across the whole measure, then a large statement beside small labelled contact lists */
.kx-hero { padding-bottom: clamp(64px, 8vw, 140px); }
/* the title takes the size of every other subpage title (.page-hero__title); it used to fill the width */
.kx-hero__grid { margin-top: clamp(36px, 4.5vw, 72px); display: grid; gap: 44px; border-top: 1px solid var(--smoke); padding-top: clamp(26px, 2.8vw, 44px); }
.kx-hero__lead { font-size: clamp(26px, 2.7vw, 46px); line-height: 1.12; letter-spacing: -0.02em; max-width: 16em; }
.kx-list { align-self: start; }
.kx-item { display: grid; grid-template-columns: minmax(6.5em, 30%) 1fr; gap: 16px; align-items: baseline; padding-block: 15px 17px; border-bottom: 1px solid var(--smoke); }
.kx-item:first-child { padding-top: 4px; }
.kx-item h2 { font-size: var(--text-caption); letter-spacing: .14em; text-transform: uppercase; font-weight: 400; opacity: .55; }
.kx-item p { font-size: clamp(19px, 1.6vw, 27px); line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.kx-note { margin-top: 18px; opacity: .55; }
@media (min-width: 900px) {
  .kx-hero__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .kx-hero__lead { grid-column: 1 / span 7; }
  .kx-list { grid-column: 8 / -1; }
}
/* the atelier table photo, at 16:9, with the house line set over it. The photo is bright daylight, so the
   shade is deep enough for white type over the open sample book (where the line falls on smaller screens) */
.kx-band { height: clamp(380px, 56.25vw, 1080px); }
.kx-band::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .74), rgba(0, 0, 0, .3) 42%, rgba(0, 0, 0, .06) 72%); }
@media (max-width: 899px) { .kx-band::after { background: linear-gradient(to top, rgba(0, 0, 0, .84), rgba(0, 0, 0, .52) 46%, rgba(0, 0, 0, .12) 80%); } }
.kx-band__quote { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(26px, 3.6vw, 60px); max-width: 11em;
  font-family: var(--serif); font-style: italic; font-size: clamp(36px, 4.8vw, 88px); line-height: .98; letter-spacing: -0.02em; text-shadow: 0 1px 22px rgba(0, 0, 0, .45); }
/* the form: large serif labels resting on hairlines (they lift into small captions once you type) */
.kx-form__grid { display: grid; gap: 48px; }
.kx-form__text { margin-top: 22px; max-width: 24em; opacity: .82; }
@media (min-width: 900px) {
  .kx-form__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .kx-form__intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .form--editorial { grid-column: 6 / -1; }
}
.form--editorial { gap: 0 var(--gap); counter-reset: fld; }
/* side-by-side fields only where the long labels ("Nazwisko (nieobowiązkowe)") still fit on one line */
@media (min-width: 768px) and (max-width: 1279px) { .form--editorial { grid-template-columns: 1fr; } }
.form--editorial .field { position: relative; display: block; border-bottom: 1px solid var(--smoke); counter-increment: fld; transition: border-color .4s; }
.form--editorial .field::after { content: counter(fld, decimal-leading-zero); content: counter(fld, decimal-leading-zero) / ""; position: absolute; right: 0; top: 8px; font-size: var(--text-caption); letter-spacing: .14em; opacity: .4; pointer-events: none; }
.form--editorial .field:focus-within { border-bottom-color: var(--paper); }
.form--editorial .field input, .form--editorial .field textarea { display: block; border: 0; padding: 46px 2.4em 14px 0; font-size: clamp(18px, 1.35vw, 22px); line-height: 1.35; }
.form--editorial .field textarea { min-height: 170px; }
.form--editorial .field label { position: absolute; left: 0; top: 30px; font-family: var(--serif); font-size: clamp(30px, 2.5vw, 42px); line-height: 1.1; letter-spacing: -0.01em;
  text-transform: none; pointer-events: none; transform-origin: 0 0; transition: transform .55s var(--ease-out), opacity .35s; }
.form--editorial .field :is(input, textarea):is(:focus, :not(:placeholder-shown)) + label { transform: translateY(-14px) scale(.46); opacity: .62; }
.form--editorial .check { margin-top: 34px; font-size: 14px; }
.form--editorial .check input { width: 22px; height: 22px; margin-top: 0; }
.form--editorial .check input:checked::after { width: 12px; height: 12px; }
.form--editorial .form__submit { justify-self: stretch; margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 28px; border: 1px solid var(--paper); background: none; font-size: var(--text-sub); transition: background-color .45s var(--ease-out), color .45s var(--ease-out); }
.form--editorial .form__arrow { transition: transform .6s var(--ease-out); }
.form--editorial .form__submit:is(:hover, :focus-visible) { background: var(--paper); color: var(--ink); }
.form--editorial .form__submit:is(:hover, :focus-visible) .form__arrow { transform: translateX(8px); }
.form--editorial .form__status { margin-top: 16px; }
/* the address set as type */
.kx-visit__grid { display: grid; gap: 30px; }
.kx-visit__h { font-size: var(--text-heading); line-height: 1.08; letter-spacing: -0.02em; max-width: 9em; }
.kx-visit__addr { font-size: var(--text-caption); letter-spacing: .14em; line-height: 1; }
.kx-visit__brand { display: inline-block; margin-bottom: 18px; opacity: .55; }
.kx-visit__street { font-family: var(--serif); font-size: clamp(60px, 9vw, 170px); line-height: .9; letter-spacing: -0.035em; }
.kx-visit__map { margin-top: 26px; }
@media (min-width: 900px) {
  /* two columns that run independently: heading then shop window on the left; the address set as type, the text
     and the facts on the right. The address spans the first two rows, so the photo starts right under the heading. */
  .kx-visit__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: clamp(32px, 2.8vw, 48px); }
  .kx-visit__h { grid-column: 1 / span 4; grid-row: 1; }
  .kx-visit__addr { grid-column: 5 / -1; grid-row: 1 / span 2; }
  .kx-visit__grid .kx-visit__photo { grid-column: 1 / span 4; grid-row: 2 / span 2; align-self: start; max-width: none; }
  .kx-visit__grid .kx-visit__photo .media { aspect-ratio: 4 / 5; }
  .kx-visit__body { grid-column: 5 / span 7; grid-row: 3; display: flex; flex-direction: column; gap: clamp(32px, 2.8vw, 48px); }
}
/* visit facts, set like a credits list: caption on the left, the answer on the right, hairlines between */
.kx-facts { margin: 32px 0 0; border-top: 1px solid var(--smoke); }
.kx-facts > div { display: grid; grid-template-columns: minmax(96px, 9.5em) 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--smoke); }
.kx-facts dt { opacity: .6; }
.kx-facts dd { margin: 0; font-size: var(--text-body); line-height: 1.5; }
@media (min-width: 900px) { .kx-facts { margin-top: 0; } .kx-facts > div { padding: 18px 0; } }
/* the real shop window, small and to the side of the address: it shows the visitor what to look for */
.kx-visit__photo { margin: 0; max-width: 340px; }
.kx-visit__photo .media { aspect-ratio: 3 / 4; overflow: hidden; background: #000; }
.kx-visit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.kx-visit__photo figcaption { margin-top: 12px; opacity: .6; }
@media (max-width: 899px) { .kx-visit__photo { max-width: 64%; margin-top: 10px; } }
/* the map: a figure-ground plan drawn for the site (site-src/tools/make_map.py). Buildings are a shade above
   the ink, pedestrian streets are stitched in bronze, the atelier's building is the one bronze block. */
.kmap { margin: clamp(48px, 5.4vw, 96px) 0 0; }
.kmap__frame { --kw: max(100cqw, 1200px); position: relative; overflow: hidden; container-type: inline-size; aspect-ratio: 16 / 9; background: #0c0c0c; }
.kmap__link { position: absolute; inset: 0; display: block; }
.kmap__svg { position: absolute; left: 50%; top: 50%; width: var(--kw); max-width: none; height: auto; aspect-ratio: 16 / 9; transform: translate(-50%, -50%);
  font-family: var(--sans); transition: transform 1.6s var(--ease-out); }
@media (hover: hover) { .kmap__link:hover .kmap__svg { transform: translate(-50%, -50%) scale(1.035); } }
.kmap__bld { fill: #1c1c1c; stroke: rgba(255, 255, 255, .07); stroke-width: .6; }
.kmap__home { fill: var(--bronze); }
.kmap__hatch { stroke: rgba(255, 255, 255, .13); stroke-width: 1; }
.kmap__road { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.kmap__road--main { stroke: rgba(255, 255, 255, .2); stroke-width: 1.4; }
.kmap__road--side { stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
.kmap__road--walk { stroke: rgba(188, 152, 115, .62); stroke-width: 1.3; stroke-dasharray: 5 5; }
.kmap__ring { fill: none; stroke: rgba(255, 255, 255, .42); stroke-width: 1; stroke-dasharray: 2 7; }
.kmap__note { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; fill: rgba(255, 255, 255, .6); }
.kmap__streets text { font-size: 13.5px; letter-spacing: .14em; text-anchor: middle; dominant-baseline: central; fill: rgba(255, 255, 255, .62);
  paint-order: stroke; stroke: #0c0c0c; stroke-width: 4px; stroke-linejoin: round; }
.kmap__metro circle { fill: var(--paper); }
.kmap__m { font-size: 12.5px; font-weight: 500; text-anchor: middle; fill: var(--ink); }
.kmap__mname { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; fill: var(--paper); paint-order: stroke; stroke: #0c0c0c; stroke-width: 4px; stroke-linejoin: round; }
.kmap__arrow { fill: none; stroke: var(--paper); stroke-width: 1.2; }
.kmap__dot { fill: var(--paper); stroke: #0c0c0c; stroke-width: 2; }
.kmap__pulse { fill: none; stroke: var(--paper); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: kmap-pulse 2.8s var(--ease-out) infinite; }
@keyframes kmap-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(5); opacity: 0; } }
.kmap__lead { fill: none; stroke: var(--paper); stroke-width: 1; }
.kmap__name { font-family: var(--serif); font-size: 46px; letter-spacing: -0.02em; fill: var(--paper); paint-order: stroke; stroke: #0c0c0c; stroke-width: 7px; stroke-linejoin: round; }
.kmap__addr { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; fill: var(--paper); paint-order: stroke; stroke: #0c0c0c; stroke-width: 4px; }
.kmap__cta { position: absolute; right: clamp(12px, 1.6vw, 24px); bottom: clamp(12px, 1.6vw, 24px); display: inline-flex; gap: 14px; align-items: center;
  padding: 14px 20px; border: 1px solid var(--paper); background: var(--ink); font-size: var(--text-body); transition: background-color .45s var(--ease-out), color .45s var(--ease-out); }
.kmap__link:is(:hover, :focus-visible) .kmap__cta { background: var(--paper); color: var(--ink); }
.kmap__north { position: absolute; right: clamp(14px, 1.6vw, 24px); top: clamp(14px, 1.6vw, 24px); display: grid; justify-items: center; gap: 6px; pointer-events: none; }
.kmap__north::before { content: ""; width: 1px; height: 30px; background: currentColor; }
.kmap__north::after { content: ""; position: absolute; top: 0; left: 50%; width: 7px; height: 7px; border-left: 1px solid; border-top: 1px solid; transform: translate(-50%, 0) rotate(45deg); transform-origin: center; margin-top: 1px; }
.kmap__scale { position: absolute; left: clamp(14px, 1.6vw, 24px); bottom: clamp(14px, 1.6vw, 24px); display: grid; gap: 7px; pointer-events: none; }
.kmap__scale i { display: block; width: calc(var(--kw) / 12); height: 6px; border: 1px solid currentColor; border-top: 0; }
.kmap__cap { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; opacity: .7; }
.kmap__cap .u-link { background: none; padding-bottom: 0; }
@media (max-width: 899px) {
  .kmap__frame { --kw: 1040px; aspect-ratio: 4 / 3; }      /* never taller than the 585 px the map has at this size */
  .kmap__svg { left: 40%; }               /* the pin sits left of centre, so its name plate fits */
  .kmap__addr-x { display: none; }
  .kmap__cap { flex-wrap: wrap; gap: 6px 16px; }
  .kmap__streets text { font-size: 16px; }
  .kmap__mname, .kmap__addr { font-size: 15px; }
  .kmap__note { font-size: 13.5px; }
  .kmap__cta { padding: 12px 16px; }
}
@media (max-width: 599px) {
  .kmap__frame { aspect-ratio: 4 / 5; max-height: 560px; }
}
/* the close: the work as a feed, the handle set across the page beneath it */
.kx-insta { padding-top: var(--section); }
.kx-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
@media (min-width: 768px) { .kx-feed { grid-template-columns: repeat(6, 1fr); } }
.kx-feed__item { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.kx-feed__item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transition: transform 1.4s var(--ease-out); }
@media (hover: hover) { .kx-feed:hover .kx-feed__item img { transform: scale(1.04); } }
.kx-insta__foot { display: grid; gap: 22px; padding-block: clamp(30px, 3.4vw, 56px) var(--section); }
.kx-insta__handle { font-size: calc((100vw - 2 * var(--gutter)) / 6.05); line-height: .92; letter-spacing: -0.045em; white-space: nowrap; justify-self: start; }
.kx-insta__text { max-width: 26em; opacity: .82; }
@media (min-width: 900px) { .kx-insta__text { justify-self: end; text-align: right; } }

/* legal */
.legal { max-width: 46em; }
.legal p { margin-top: 1em; }
.legal p strong:only-child { display: block; margin-top: 1.6em; font-size: 18px; }

/* ---------- footer ---------- */
/* Mirrored about the centre line: address and contact on the left, the monogram in the middle, the site map on
   the right (set flush right), then the whole wordmark and a copyright row split left/right. */
.site-footer { border-top: 1px solid var(--smoke); padding: clamp(56px, 5.6vw, 88px) var(--gutter) 24px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 24px; text-align: center; }
.footer__brand, nav.footer__col { grid-column: 1 / -1; }
.footer__brand { display: flex; flex-direction: column; align-items: center; }
.footer__brand p { max-width: 20em; }
.footer__mono { width: clamp(64px, 6vw, 92px); height: clamp(64px, 6vw, 92px); color: var(--paper); margin-bottom: clamp(18px, 1.8vw, 28px); }
.footer__title { margin-bottom: 18px; }
.footer__links li + li { margin-top: 8px; }
.footer__links a { font-size: 15px; background: none; padding-bottom: 2px; }
.footer__links--cols { display: grid; grid-template-columns: auto auto; justify-content: center; column-gap: clamp(28px, 3vw, 48px); }
.footer__links--cols li + li { margin-top: 0; }
.footer__links--cols li { margin-bottom: 8px; }
@media (hover: hover) { .footer__links a:hover { background: linear-gradient(currentColor, currentColor) 0 100%/100% 1px no-repeat; animation: none; } }
.footer__bottom { margin-top: clamp(20px, 2vw, 32px); display: flex; flex-direction: column; align-items: center; gap: 10px; border-top: 1px solid var(--smoke); padding-top: 20px; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr minmax(0, 1.5fr) 1fr 1fr; column-gap: clamp(24px, 3vw, 56px); align-items: start; text-align: left; }
  .footer__col:nth-of-type(2) { grid-column: 1; grid-row: 1; }
  .footer__col:nth-of-type(3) { grid-column: 2; grid-row: 1; }
  .footer__brand { grid-column: 3; grid-row: 1; text-align: center; }
  nav.footer__col { grid-column: 4 / span 2; grid-row: 1; text-align: right; }
  .footer__links--cols { justify-content: end; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- consent ---------- */
.consent { position: fixed; z-index: 140; left: 12px; right: 12px; bottom: 12px; max-width: 420px; background: var(--ink); border: 1px solid var(--smoke); padding: 20px; display: none; }
.consent.is-visible, .consent-pending .consent { display: block; }   /* consent-pending: set in <head> when no choice is stored, so the note shows with the first paint (2026-11-25, speed) */
.consent p { font-size: var(--text-small); line-height: 1.5; }
.consent__actions { margin-top: 16px; display: flex; gap: 24px; }
.consent__actions button { font-size: var(--text-small); letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(currentColor, currentColor) 0 100%/100% 1px no-repeat; padding-bottom: 3px; }
@media (pointer: coarse) {
  .filters { row-gap: 18px; }
  .consent__actions { gap: 28px; margin-top: 20px; flex-wrap: wrap; }
}
/* a phone held sideways: the cookie note stays a slim strip instead of covering a third of the screen */
@media (max-height: 520px) and (orientation: landscape) {
  .consent { max-width: 640px; padding: 12px 18px; }
  .consent.is-visible, .consent-pending .consent { display: flex; align-items: center; gap: 22px; }
  .consent p { font-size: 13px; line-height: 1.4; }
  .consent__actions { margin-top: 0; flex: none; flex-wrap: nowrap; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-content: center; padding-top: var(--header-h); }

/* ---------- process timeline without JS ---------- */
html:not(.js) .timeline__sticky img:first-child { opacity: 1; transform: none; }

/* ---------- gallery: justified columns (built by JS) — every column ends on the same line ---------- */
.masonry--js { columns: auto; display: flex; align-items: stretch; gap: 8px; }
.masonry__col { flex: var(--w, 1) 1 0px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.masonry--js figure { margin: 0; flex: var(--r, 1.33) 1 auto; aspect-ratio: 1 / var(--r, 1.33); min-height: 0; }
.masonry--js img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   ATELIER ORNAMENTS — tailor's marks drawn in code (no raster assets)
   ===================================================================== */

/* ---------- maker's seal: rotating ring of text around the SM monogram ---------- */
.seal { position: absolute; z-index: 3; width: clamp(96px, 9.5vw, 150px); aspect-ratio: 1; pointer-events: none; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seal__ring { animation: seal-spin 28s linear infinite; }
.seal__disc { fill: var(--bronze); }
.seal__stitch { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 5 4; opacity: .55; }
/* Italian flag accents (official tricolour): the inner ring in three thirds, the separators as coloured dots */
.seal { --it-g: #009246; --it-w: #f4f5f0; --it-r: #ce2b37; }
.seal__tri circle { fill: none; stroke-width: 2.4; }
.seal__tri-g { stroke: var(--it-g); }
.seal__tri-w { stroke: var(--it-w); }
.seal__tri-r { stroke: var(--it-r); }
.seal__dot { font-size: 17px; }
.seal__dot--g { fill: var(--it-g); }
.seal__dot--w { fill: var(--it-w); }
.seal__dot--r { fill: var(--it-r); }
.seal__text { font-family: var(--sans); font-size: 13.2px; font-weight: 500; fill: var(--ink); }
.seal__mono { position: absolute; left: 50%; top: 50%; width: 52%; height: 52%; transform: translate(-50%, -50%); color: var(--ink); }
@keyframes seal-spin { to { transform: rotate(360deg); } }
.split__media-pair { position: relative; }
.seal--pair { top: calc(-1 * clamp(10px, 1.5vw, 24px)); right: calc(-1 * clamp(10px, 2vw, 32px)); }
.cta { position: relative; }
.seal--cta { top: clamp(28px, 3vw, 44px); right: var(--gutter); }
@media (max-width: 767px) { .seal--cta { width: 76px; top: 6px; } }

/* ---------- stitch divider: a needle pulls a running stitch across the page ---------- */
.stitch__in { position: relative; height: 20px; --p: 1; }
.stitch__thread { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, var(--smoke) 0 9px, transparent 9px 15px); clip-path: inset(0 calc(100% - var(--p) * (100% - 72px) - 10px) 0 0); }
.stitch__needle { position: absolute; top: 50%; left: calc(var(--p) * (100% - 72px)); width: 72px; height: 10px; margin-top: -5px; fill: var(--bronze); }

/* ---------- pattern draft: construction lines of a jacket front, drawn on scroll ---------- */
.statement { position: relative; isolation: isolate; }
.draft { display: none; }
@media (min-width: 900px) {
  .draft { display: block; position: absolute; z-index: -1; right: -4vw; bottom: 3%; width: clamp(280px, 28vw, 440px); height: auto; pointer-events: none; overflow: visible; }
}
.draft__lines path { fill: none; stroke: var(--smoke); stroke-width: 1.3; stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linecap: round; stroke-linejoin: round; }
.draft__guides path { fill: none; stroke: var(--smoke); stroke-width: 1; stroke-dasharray: 3 7; stroke-opacity: .7; }
.draft__roll { fill: none; stroke: var(--bronze); stroke-width: 1.2; stroke-dasharray: 8 5; }
.draft__dots circle { fill: var(--bronze); }
.draft__txt text { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; fill: var(--paper); fill-opacity: .4; }

/* ---------- tape-measure rail: the page measured in centimetres ---------- */
.tape, .tape-mark, .tape-read { display: none; }
@media (min-width: 1100px) and (hover: hover) {
  .js .tape { display: block; position: fixed; z-index: 30; right: 0; top: 0; bottom: 0; width: 26px; overflow: hidden; pointer-events: none; mix-blend-mode: difference; opacity: .5; }
  .tape__strip { position: absolute; left: 0; right: 0; top: 50%; height: 1801px; will-change: transform;
    background:
      repeating-linear-gradient(to bottom, #fff 0 1px, transparent 1px 120px) right top / 16px 100% no-repeat,
      repeating-linear-gradient(to bottom, #fff 0 1px, transparent 1px 60px) right top / 10px 100% no-repeat,
      repeating-linear-gradient(to bottom, #fff 0 1px, transparent 1px 12px) right top / 5px 100% no-repeat; }
  .tape__n { position: absolute; right: 8px; margin-top: 4px; font-size: 8px; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
  .js .tape-mark { display: block; position: fixed; z-index: 31; right: 0; top: 50%; width: 34px; height: 1px; background: var(--bronze); pointer-events: none; }
  .js .tape-read { display: block; position: fixed; z-index: 31; right: 42px; top: 50%; transform: translateY(-50%); font-size: 10px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: #fff; opacity: .7; pointer-events: none; mix-blend-mode: difference; }
}

/* ---------- tailor's chalk: a stroke under the closing call to action ---------- */
.cta__big { position: relative; }
.cta__big::after { content: ""; position: absolute; left: 0; right: 1.05em; bottom: -0.1em; height: 0.17em; background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201100%2026'%20preserveAspectRatio='none'%3E%3Cpath%20fill='white'%20d='M4%2015%20C200%205%20430%2016%20640%209%20S960%206%201096%2011%20C960%2011%20800%2013%20640%2015%20S200%2013%204%2015%20Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-out) .2s; pointer-events: none; }
.cta__big.is-inview::after, html:not(.js) .cta__big::after { clip-path: inset(0 0 0 0); }

/* ---------- crop marks + plate caption on selected photographs ---------- */
.fig { position: relative; }
.fig::before { content: ""; position: absolute; inset: -13px; z-index: 2; pointer-events: none; --m: 22px; --c: var(--smoke);
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--m) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px var(--m) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--m) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px var(--m) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--m) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1px var(--m) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--m) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1px var(--m) no-repeat; }
.fig::after { content: attr(data-fig); position: absolute; left: 0; top: calc(100% + 24px); font-size: var(--text-caption); line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); opacity: .6; white-space: nowrap; }
@media (max-width: 899px) { .fig { margin-bottom: 30px; } }

/* ---------- selvedge: the woven edge of a cloth, printed along the bronze band ---------- */
.bronze-band::before { content: ""; position: absolute; left: 0; right: 0; bottom: 36px; height: 1px; z-index: 2; background: repeating-linear-gradient(90deg, var(--paper) 0 8px, transparent 8px 14px); opacity: .55; box-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.bronze-band::after { content: "SU MISURA \B7  SZYTE NA MIAR\118  \B7  MANTOVA \B7  WARSZAWA \B7  SU MISURA \B7  SZYTE NA MIAR\118  \B7  MANTOVA \B7  WARSZAWA \B7  SU MISURA \B7  SZYTE NA MIAR\118  \B7  MANTOVA \B7  WARSZAWA \B7  SU MISURA \B7  SZYTE NA MIAR\118  \B7  MANTOVA \B7  WARSZAWA \B7  SU MISURA \B7  SZYTE NA MIAR\118  \B7  MANTOVA \B7  WARSZAWA \B7  SU MISURA \B7  SZYTE NA MIAR\118  \B7  MANTOVA \B7  WARSZAWA \B7  SU MISURA \B7  SZYTE NA MIAR\118  \B7  MANTOVA \B7  WARSZAWA \B7  SU MISURA \B7  SZYTE NA MIAR\118  \B7  MANTOVA \B7  WARSZAWA \B7  SU MISURA \B7  SZYTE NA MIAR\118  \B7  MANTOVA \B7  WARSZAWA \B7  "; position: absolute; left: 0; right: 0; bottom: 13px; z-index: 2; white-space: nowrap; overflow: hidden; font-size: 10px; line-height: 1; letter-spacing: .42em; color: var(--paper); opacity: .82; text-shadow: 0 1px 3px rgba(0, 0, 0, .75); pointer-events: none; }

/* ---------- footer: the whole outlined wordmark, centred, rising into its frame as the page ends.
   line-height .84 makes the box hug the letters (Instrument Serif: caps .74em above the baseline); the size makes
   the word exactly as wide as the columns above it (it sets about 3.05em wide). ---------- */
.footer__mark { margin: clamp(36px, 4vw, 64px) calc(var(--gutter) * -1) 0; overflow: hidden; pointer-events: none; user-select: none; }
.footer__mark span { display: block; font-family: var(--serif); font-size: calc((100vw - 2 * var(--gutter)) / 3.1); line-height: .84; letter-spacing: -0.035em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .42); }

/* ---------- testimonial ---------- */
.testi__grid { display: grid; gap: 24px; }
.testi__mark { display: block; font-family: var(--serif); font-size: clamp(160px, 24vw, 360px); line-height: 1; height: .42em; margin-top: -.08em; overflow: hidden; color: var(--bronze); }
.testi__text { font-size: var(--text-heading); line-height: 1.12; letter-spacing: -0.02em; }
.testi__by { margin-top: clamp(12px, 2vw, 28px); padding-top: 18px; border-top: 1px solid var(--smoke); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (min-width: 900px) {
  .testi__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 0; align-items: start; }
  .testi__mark { grid-column: 1 / span 3; grid-row: 1 / span 2; }
  .testi__body, .testi__by { grid-column: 5 / span 8; }
}

/* ---------- jacket anatomy: numbered points on the photograph + list ---------- */
.anatomy__dots { position: absolute; inset: 0; z-index: 2; list-style: none; margin: 0; padding: 0; }
.anatomy__dots li { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--bronze); color: var(--ink); display: grid; place-items: center; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1; cursor: default; transition: transform .5s var(--ease-out), opacity .4s; }
.anatomy__dots li::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--bronze); animation: dot-ping 3.2s var(--ease-out) infinite; animation-delay: calc(var(--i, 0) * .35s); }
@keyframes dot-ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(2.3); opacity: 0; } }
.anatomy__dots li.is-on { transform: scale(1.3); }
.anatomy__list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--smoke); }
.anatomy__list li { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--smoke); transition: opacity .4s; }
.anatomy__list h3 { font-size: 18px; font-weight: 500; line-height: 1.3; }
.anatomy__list p { margin-top: 4px; opacity: .75; }
.is-picking .anatomy__list li:not(.is-on), .is-picking .anatomy__dots li:not(.is-on) { opacity: .35; }
@media (min-width: 900px) and (min-height: 760px) { [data-anatomy] .split__media { position: sticky; top: calc(var(--header-h) + 28px); } }
@media (min-width: 900px) { [data-anatomy] .split__body { padding-top: 0; } }

/* ---------- large screens (≥1800px): scale the 1440 design proportionally ---------- */
@media (min-width: 1800px) {
  :root {
    --text-caption: 0.84vw; --text-small: 0.9vw; --text-body: 1.11vw; --text-sub: 1.74vw;
    --text-heading: 3.75vw; --text-display: 5.15vw; --text-mega: 10.4vw;
    --gutter: 8.26vw; --indent: 8.26vw; --gap: 1.66vw; --section: 6.4vw; --header-h: 4.45vw;
  }
  .t-body-lg, .field input, .field textarea { font-size: 1.25vw; }
  .statement__text { font-size: 3.75vw; }
  .menu__link { font-size: min(4.3vw, 6vh); }
  .stat__value, .marquee__item { font-size: 5.15vw; }
  .quote__text { font-size: 4.4vw; }
  .tile__label span, .contact-card p { font-size: 2.2vw; }
  .price__name { font-size: 1.74vw; }
  .faq__q { font-size: 1.65vw; }
  .prose h3 { font-size: 1.25vw; }
  .footer__links a { font-size: 1.04vw; }
  .page-hero__title { font-size: 13.2vw; }
  .page-hero__title--long { font-size: 9vw; }
  .zg__title { font-size: 14vw; }
  .step { flex-basis: 29vw; }
  .menu__visual { width: 32vw; }
  .reels { grid-auto-columns: 25vw; }
  .faq__icon { width: 1vw; height: 1vw; }
  .consent { max-width: 28vw; padding: 1.4vw; left: 0.8vw; bottom: 0.8vw; }
  .consent__actions { gap: 1.6vw; }
  .seal { width: 9.5vw; }
  .draft { width: 28vw; }
  .fig::before { inset: -0.9vw; --m: 1.5vw; }
  .fig::after { top: calc(100% + 1.6vw); }
  .bronze-band::before { bottom: 2.5vw; }
  .bronze-band::after { font-size: 0.7vw; bottom: 0.9vw; }
  .testi__mark { font-size: 24vw; }
  .anatomy__dots li { width: 1.8vw; height: 1.8vw; margin: -0.9vw 0 0 -0.9vw; font-size: 0.76vw; }
  .anatomy__list li { grid-template-columns: 3vw 1fr; padding-block: 1.1vw; }
  .anatomy__list h3 { font-size: 1.25vw; }
}

/* =====================================================================
   Design pass, 12 Nov 2026 (backup: backups/2026-11-12-przed-audytem-designu).
   The site's generic patterns rewritten as editorial ones. Kept at the end of the file so they win.
   ===================================================================== */

/* 1. Key figures as one running sentence, not a row of big numbers (after the serif figures in Faire's
      "Millions of products sold each year"). Each figure is a serif italic numeral; labels run on in grey. */
.stats { display: block; max-width: 23em; border-top: 1px solid var(--smoke); padding-top: clamp(26px, 2.8vw, 42px);
  font-size: clamp(24px, 2.75vw, 44px); line-height: 1.24; letter-spacing: -0.015em; }
.stats .stat { display: inline; padding: 0; border: 0; }
.stats .stat__value { display: inline; margin-right: .16em; font-family: var(--serif); font-style: italic; font-size: 1.3em; line-height: 1;
  letter-spacing: -0.02em; color: var(--paper); font-variant-numeric: lining-nums; }
.stats .stat__label { display: inline; margin: 0; max-width: none; font-size: inherit; line-height: inherit; color: rgba(255, 255, 255, .6); }
/* the bronze square is drawn behind four no-break spaces, so it can never start a line on its own */
.stats .stat:not(:last-child) .stat__label::after { content: "\00a0\00a0\00a0\00a0";
  background: linear-gradient(var(--bronze), var(--bronze)) 62% 60% / .2em .2em no-repeat; }

/* 2. Feature columns become an index: one row per point, number | heading | text (after the service
      indexes of Anima and Koto). Rows with only a sentence set it at heading size. */
.cols > .col { display: grid; gap: 10px 24px; padding: clamp(22px, 2.4vw, 36px) 0; border-bottom: 1px solid var(--smoke); }
.cols > .col > .t-caption { opacity: .5; }
.cols > .col h3 { margin: 0; font-size: clamp(26px, 2.5vw, 40px); line-height: 1.08; letter-spacing: -0.02em; }
.cols > .col > p.t-small { margin: 0; font-size: var(--text-body); line-height: 1.6; color: rgba(255, 255, 255, .72); max-width: 30em; }
.cols > .col > p.t-sub { margin: 0 !important; font-size: clamp(24px, 2.5vw, 40px); line-height: 1.12; letter-spacing: -0.02em; max-width: 22em; }
@media (min-width: 900px) {
  .cols { display: block; }
  .cols > .col, .cols > * + * { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: baseline;
    border-left: 0; padding-left: 0; }
  .cols > .col > p.t-sub { grid-column: 1 / -1; }
}

/* 3. Quotes in the serif, with the opening mark hung in the margin (after Swap's quote); no giant bronze glyph */
.testi__mark { display: none; }
.testi__text, .quote__text { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 78px); line-height: 1.04;
  letter-spacing: -0.012em; text-indent: -.4em; max-width: 16em; }
.testi__text > *, .quote__text > * { text-indent: 0; }   /* split word boxes must not each take the hanging indent */
.testi__by { margin-top: clamp(26px, 3vw, 44px); padding-top: 0; border-top: 0; justify-content: flex-start; gap: 10px 28px; }
.testi__by span:first-child::before { content: ""; display: inline-block; width: 40px; height: 1px; margin-right: 14px; vertical-align: .3em; background: var(--bronze); }
.testi__by span + span { opacity: .55; }
@media (min-width: 900px) {
  .testi__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .testi__body, .testi__by { grid-column: 3 / span 10; }
}

/* 4. "More from the atelier": an index of large serif names; on a mouse the row's photo follows the
      cursor (after 21st.dev "Hover Image List" and MindMarket's sector list); on touch a thumbnail. */
.tiles--index { display: block; padding-inline: var(--gutter); }
.tiles--index .tile { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 6px 18px; aspect-ratio: auto;
  overflow: visible; background: none; padding-block: clamp(16px, 1.8vw, 26px); border-bottom: 1px solid var(--smoke); transition: opacity .4s; }
.tiles--index .tile:first-of-type { border-top: 1px solid var(--smoke); }
.tiles--index .tile img { position: static; grid-column: 1; grid-row: 1 / span 2; width: 64px; height: 80px; object-fit: cover; transform: none !important; }
.tiles--index .tile::after { content: "↗"; position: static; inset: auto; grid-column: 3; grid-row: 1 / span 2; background: none;
  font-size: clamp(22px, 2.2vw, 36px); transition: transform .6s var(--ease-out); }
.tiles--index .tile__label { position: static; grid-column: 2; grid-row: 1; text-align: left; }
.tiles--index .tile__label span { font-family: var(--serif); font-size: clamp(38px, 6.6vw, 112px); line-height: .98; letter-spacing: -0.03em;
  background: none; padding: 0; }
.tiles--index .tile__meta { position: static; grid-column: 2; grid-row: 2; opacity: .55; }
@media (min-width: 900px) { .tiles--index .tile { grid-template-columns: 104px minmax(0, 1fr) auto; } .tiles--index .tile img { width: 104px; height: 130px; } }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .tiles--index .tile { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: clamp(24px, 3vw, 56px); }
  .tiles--index .tile img { display: none; }
  .tiles--index .tile__label { grid-column: 1; grid-row: 1; }
  .tiles--index .tile__meta { grid-column: 2; grid-row: 1; }
  .tiles--index .tile::after { grid-row: 1; }
}
@media (hover: hover) {
  .tiles--index:hover .tile { opacity: .32; }
  .tiles--index .tile:hover, .tiles--index .tile:focus-visible { opacity: 1; }
  .tiles--index .tile:hover::after { transform: translate(6px, -6px); }
}
.tiles-preview { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(220px, 19vw, 340px); aspect-ratio: 3 / 4; overflow: hidden;
  pointer-events: none; opacity: 0; transition: opacity .35s; background: #000; }
.tiles-preview.is-on { opacity: 1; }
.tiles-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.tiles-preview img.is-on { opacity: 1; }

/* 5. FAQ: numbered questions at a reading size, answers aligned under the question text (after the dark
      FAQ of Locomotive and the serif one of Face Formula) */
.faq { --faq-q: clamp(20px, 1.7vw, 28px); --faq-n: 2.6em; counter-reset: q; }
.faq__item { counter-increment: q; }
.faq__q { font-size: var(--faq-q); padding-block: clamp(20px, 1.9vw, 30px); align-items: center; }
.faq__q h3 { display: grid; grid-template-columns: var(--faq-n) minmax(0, 1fr); align-items: baseline; }
.faq__q h3::before { content: counter(q, decimal-leading-zero); content: counter(q, decimal-leading-zero) / ""; font-size: var(--text-caption); letter-spacing: .14em; opacity: .45; transition: opacity .4s, color .4s; }
.faq__item.is-open .faq__q h3::before { opacity: 1; color: var(--bronze); }
.faq__a-inner { padding-left: calc(var(--faq-q) * 2.6); color: rgba(255, 255, 255, .78); }
@media (max-width: 599px) { .faq { --faq-n: 2.1em; } .faq__a-inner { padding-left: 0; } }
/* a still-life band shown at the photo's own 16:9 (capped), so the subject is not cut to a strip */
.band--still { height: clamp(300px, 50vw, 880px); }
@media (hover: hover) { .faq__q:hover h3::before { opacity: 1; } }

/* 6. Short "how to" blocks: the answer set at reading-statement size, so the column is not left half empty */
.content-block--note .content-block__body > p:first-child, .content-block--note .content-block__body > .prose > p:first-child { font-size: var(--text-sub); line-height: 1.32; letter-spacing: -0.005em; }
.content-block--note .content-block__body { border-top: 1px solid var(--smoke); padding-top: clamp(20px, 2vw, 30px); }

/* 7. Descriptive paragraphs read at 14 px, not 13 (the uppercase interface labels keep their size) */
p.t-small, .t-small p { font-size: 14px; line-height: 1.5; }

@media (min-width: 1800px) {
  p.t-small, .t-small p { font-size: 0.97vw; }
  .stats { font-size: 2.45vw; }
  .testi__text, .quote__text { font-size: 4.3vw; }
  .tiles--index .tile__label span { font-size: 6.2vw; }
  .faq { --faq-q: 1.55vw; }
  .cols > .col h3, .cols > .col > p.t-sub { font-size: 2.2vw; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .seal__ring { animation: none; }
  .anatomy__dots li::after { display: none; }
}

/* =====================================================================================================================
   REDESIGN 2026-11-17: the client's feedback "skromniej" (more modest). Benchmarks: Dąbrowski & Góral, Balamonte,
   Zack Roman, Buczyński and the old sumisura.pl Kontakt page. Smaller headings that do not shout; an italic, "written"
   serif (Cormorant Garamond) for headings, leads, quotes and the menu, while long paragraphs stay upright for reading;
   a visible menu bar on desktop; no hairlines in the hero; no seal; no photos chasing the cursor.
   This block overrides the rules above (same selectors, later in the file). The previous version is archived in
   backups/2026-11-17-przed-redesignem/.
   ===================================================================================================================== */

/* ---------- 1. type system ---------- */
:root {
  --text-sub: clamp(17px, 1.3vw, 20px);
  --text-heading: clamp(26px, 2.2vw, 36px);
  --text-display: clamp(32px, 3vw, 48px);
  --text-mega: clamp(40px, 4.4vw, 70px);
  --it: italic;
}
/* every heading style: the italic serif, never heavy, no tight tracking (Cormorant is drawn for normal spacing) */
.t-heading, .t-display, .t-mega, .cta__big, .step__title, .tstep h3, .kx-visit__h, .zg__title, .page-hero__title,
.statement__text, .quote__text, .testi__text, .duo__name, .rail__name, .marquee__item, .stat__value, .meta__shot figcaption,
.kx-hero__lead, .kx-band__quote, .kx-visit__street, .kx-insta__handle, .tiles--index .tile__label span, .cols > .col h3, .footer__mark span,
.content-block__head h2 {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0;
}
.t-heading { line-height: 1.15; }
.t-display { line-height: 1.08; }
.t-mega { line-height: 1.02; }
.t-sub { line-height: 1.45; }
.statement__text { font-size: clamp(22px, 2vw, 30px); line-height: 1.42; max-width: 30em; }
.page-hero__title { font-size: clamp(44px, 5.2vw, 82px); line-height: 1; }
.page-hero__title--long { font-size: clamp(38px, 4.4vw, 68px); }
.zg__title { font-size: clamp(46px, 6.2vw, 104px); line-height: .98; }
.zg__title .line:last-child { padding-left: 11vw; }
.duo__name { font-size: clamp(36px, 3.8vw, 58px); line-height: 1; }
.rail__name { font-size: clamp(22px, 2vw, 30px); }
.rail--live .rail__name { font-size: clamp(26px, 2.6vw, 40px); }
.marquee__item { font-size: clamp(24px, 2.6vw, 40px); }
.stat__value { font-size: clamp(32px, 3.2vw, 48px); }
.stats { font-size: clamp(19px, 1.8vw, 28px); }
.meta__shot figcaption { font-size: clamp(20px, 1.7vw, 26px); }
.quote__text, .testi__text { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.3; }
.testi__mark { font-size: clamp(90px, 10vw, 150px); }
.cols > .col h3 { font-size: clamp(22px, 1.9vw, 30px); }
.cols > .col > p.t-sub { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; }
.tiles--index .tile__label span { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.15; }
.cta__big { font-size: var(--text-mega); line-height: 1.05; letter-spacing: 0; }
.cta__big::after { bottom: -0.04em; height: 0.12em; }
.footer__mark span { font-size: clamp(56px, 9vw, 150px); line-height: 1; -webkit-text-stroke-width: 1px; }
.kx-insta__handle { font-size: clamp(34px, 5vw, 80px); }

/* ---------- 2. header: the name, the appointment link and, on desktop, every page in one quiet row ---------- */
.site-nav { display: none; }
.site-nav ul { margin: 0; padding: 0; list-style: none; }
@media (min-width: 1200px) {
  :root { --header-h: 108px; }
  .site-header { grid-template-rows: 66px 42px; align-content: start; }
  .site-header .brand { grid-row: 1; grid-column: 2; justify-self: center; }
  .site-header .header-cta { grid-row: 1; grid-column: 3; }
  .site-header .menu-toggle { display: none; }
  .site-header::before { opacity: 1; inset: 0 0 -70px 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, .18) 60%, rgba(0, 0, 0, 0)); }
  .site-header.is-scrolled::before { opacity: 0; }
  .site-nav { display: block; grid-row: 2; grid-column: 1 / -1; align-self: stretch; border-top: 1px solid rgba(255, 255, 255, .12); }
  .site-nav ul { height: 100%; display: flex; justify-content: center; align-items: center; gap: clamp(20px, 2.2vw, 38px); }
  .site-nav a { position: relative; display: inline-block; padding-block: 8px; font-size: 11.5px; font-weight: 500; letter-spacing: .15em;
    text-transform: uppercase; white-space: nowrap; opacity: .78; transition: opacity .3s; }
  .site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease-out); }
  .site-nav a:is(:hover, :focus-visible), .site-nav a[aria-current="page"] { opacity: 1; }
  .site-nav a:is(:hover, :focus-visible)::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
}
.kmap__name { font-style: italic; letter-spacing: 0; }
/* narrow desktops: nine links fill 1200px edge to edge, so tighter gaps and tracking keep a margin either side */
@media (min-width: 1200px) and (max-width: 1339px) {
  .site-nav ul { gap: 17px; }
  .site-nav a { letter-spacing: .11em; }
}

/* ---------- 3. hero: no hairlines through the middle; the name smaller and in the italic serif ---------- */
.nhero__line { border-block: 0; padding-block: .6em .4em; }
.nhero__mark { font-style: italic; font-size: clamp(64px, 11cqw, 200px); line-height: .86; letter-spacing: 0; margin-top: 0; }
@media (max-width: 767px) { .nhero__mark { font-size: 17cqw; } }

/* ---------- 4. sections ---------- */
/* Zero Gravity: the smaller title still runs over the top of the film, a little */
@media (min-width: 900px) { .zg__stage { margin-top: calc(-1 * clamp(14px, 2vw, 34px)); } }
@media (max-width: 899px) { .zg__title { font-size: 15vw; } }
/* Kontakt, after the old sumisura.pl page the client sent: a small centred title with an ornament, the three
   contact details side by side under serif labels, and a plain form with its labels above boxed fields */
.kx-hero { text-align: center; }
.kx-hero .page-hero__label { justify-content: center; }
.kx-hero__title::after { content: ""; display: block; width: 120px; height: 12px; margin: 22px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 6h48M72 6h48' stroke='%23bc9873' stroke-width='1'/%3E%3Cpath d='M60 1.5l4.5 4.5L60 10.5 55.5 6z' fill='none' stroke='%23bc9873'/%3E%3C/svg%3E") center / contain no-repeat; }
.kx-hero__grid { display: block; border-top: 0; margin-top: clamp(26px, 3vw, 44px); padding-top: 0; }
.kx-hero__lead { max-width: 30em; margin-inline: auto; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.4; }
.kx-list { margin-top: clamp(36px, 4vw, 60px); display: grid; gap: 28px; }
@media (min-width: 768px) { .kx-list { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; } }
.kx-item { display: block; border-bottom: 0; padding: 0; }
.kx-item h2 { margin-bottom: 8px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.6vw, 24px); letter-spacing: 0; text-transform: none; opacity: 1; }
.kx-item p { font-size: 15px; line-height: 1.5; letter-spacing: .01em; opacity: .85; }
.kx-note { grid-column: 1 / -1; margin-top: 6px; }
.kx-band__quote { font-size: clamp(28px, 3vw, 46px); line-height: 1.12; }
.form--editorial .field { display: flex; flex-direction: column-reverse; gap: 8px; margin-bottom: 18px; border-bottom: 0; }
.form--editorial .field::after { display: none; }
.form--editorial .field label { position: static; transform: none !important; opacity: 1 !important; font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.2; letter-spacing: 0; }
.form--editorial .field input, .form--editorial .field textarea { padding: 13px 15px; font-size: 15px; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .03); transition: border-color .3s; }
.form--editorial .field textarea { min-height: 150px; }
.form--editorial .field:focus-within :is(input, textarea) { border-color: var(--paper); }
.form--editorial .form__submit { justify-self: start; padding: 15px 26px; min-width: 240px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.kx-visit__street { font-size: clamp(32px, 3.2vw, 50px); line-height: 1.05; }

/* ---------- 5. menu and the index list: small italic names beside small still photos; nothing follows the cursor ---------- */
@media (min-width: 1000px) { .menu__inner { grid-template-columns: 1fr; } }
.menu__list { max-width: 720px; }
.menu__link { align-items: center; gap: 16px; font-size: clamp(22px, min(2.4vw, 4.2vh), 34px); padding-block: 4px; }
.menu__link .num { transform: none; }
.menu__link span.label { font-size: 1em; }
@media (hover: hover) { .menu__link:hover span.label { transform: translateX(6px); } }
.menu__thumb { flex: none; width: 1.3em; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.menu__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
@media (hover: hover) and (pointer: fine) {
  .tiles--index .tile { grid-template-columns: 72px minmax(0, 1fr) auto auto; }
  .tiles--index .tile img { display: block; grid-column: 1; grid-row: 1; width: 72px; height: 90px; }
  .tiles--index .tile__label { grid-column: 2; }
  .tiles--index .tile__meta { grid-column: 3; }
  .tiles--index .tile::after { grid-column: 4; }
}

/* ---------- 6. second pass, after checking every request again on the built pages ---------- */
/* the two examples the client named ("Umów spotkanie ↗" and "Kontakt") and the other display lines come down another
   step: the old Kontakt page he sent has a small title, not a poster */
:root { --text-mega: clamp(34px, 3.3vw, 52px); }
.cta__big { font-size: clamp(30px, 2.8vw, 44px); }
.kx-insta__handle { font-size: clamp(30px, 3vw, 46px); }
.page-hero__title { font-size: clamp(38px, 3.9vw, 60px); }
.page-hero__title--long { font-size: clamp(34px, 3.3vw, 50px); }
.page-hero__title.kx-hero__title { font-size: clamp(34px, 3vw, 46px); }
.zg__title { font-size: clamp(40px, 4.6vw, 72px); }
@media (max-width: 899px) { .zg__title { font-size: 12vw; } }
.duo__name { font-size: clamp(30px, 2.9vw, 44px); }
.kx-visit__street { font-size: clamp(28px, 2.6vw, 40px); }
/* every heading in the content is the italic serif (the FAQ questions, Oferta's jacket details and the policy pages were
   still the upright sans); the small uppercase captions stay labels */
main :is(h2, h3, h4):not(.t-caption) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.faq__q h3::before { font-family: var(--sans); font-style: normal; }
.prose h2 { font-size: clamp(24px, 2vw, 30px); line-height: 1.2; }
.prose h3, .anatomy__list h3 { font-size: clamp(20px, 1.5vw, 23px); line-height: 1.25; }
/* short leads (one or two sentences, the values in the fact lists, the price names, the stats line) join them; long
   paragraphs (the Zero Gravity text, the owners' bios) stay upright and come down to reading size */
.t-sub { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: clamp(19px, 1.45vw, 22px); line-height: 1.4; }
.prose.t-sub, .duo__bio .t-sub { font-family: var(--sans); font-style: normal; font-size: clamp(16px, 1.1vw, 17px); line-height: 1.65; letter-spacing: .005em; }
.cols > .col > p.t-sub { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.4; }
.price__name { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 1.7vw, 26px); letter-spacing: 0; }
.stats { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.45; }

/* ---------- 7. client changes 2026-11-19 ---------- */
/* Kontakt: the client's phone photo under the form intro (the joint photo of the owners is in Dojazd) */
.kx-form__photo { margin: clamp(32px, 3.4vw, 56px) 0 0; max-width: 300px; }
.kx-form__photo .media { aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.kx-form__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.kx-form__photo figcaption { margin-top: 12px; opacity: .6; }
@media (max-width: 899px) { .kx-form__photo { max-width: 64%; } }
.kx-visit__photo img { object-position: 50% 22%; }
/* whole photo inside a frame of another shape (Proces step 06: head to shoes) */
.timeline__sticky img.is-whole, .tstep__media img.is-whole { object-fit: contain; }

/* ---------- 8. Management page, 2026-11-19: the owners together, role index, facts under each bio, trainings ---------- */
.pair { display: grid; gap: clamp(44px, 7vw, 72px); }
.pair__lead { margin-top: clamp(22px, 2.4vw, 34px); opacity: .86; }
.pair__photo { margin: 0; }
.pair__photo .media { aspect-ratio: 4 / 5; background: #d0c7bc; --pos: 50% 18%; }
.roles { margin-top: clamp(32px, 3.4vw, 52px); border-top: 1px solid var(--smoke); }
.roles__row { display: grid; grid-template-columns: 1fr auto 1.4em; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--smoke); }
.roles__name { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.1; }
.roles__role { opacity: .6; text-align: right; }
.roles__arrow { justify-self: end; color: var(--bronze); transition: transform .5s var(--ease-out); }
.roles__row:is(:hover, :focus-visible) .roles__arrow { transform: translateY(5px); }
@media (min-width: 900px) {
  .pair { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
  .pair__text { grid-column: 1 / span 5; padding-bottom: 6px; }
  .pair__photo { grid-column: 8 / -1; }
}
.duo__bio .duo__facts { margin-top: clamp(28px, 2.6vw, 40px); }
.duo__facts dd { font-size: 15px; line-height: 1.5; }
.duo__facts dd a { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; }
#edyta, #kamil, #szkolenia, #razem { scroll-margin-top: calc(var(--header-h) + 32px); }
.cols__more { margin-top: clamp(26px, 2.6vw, 40px); }
.train { display: grid; gap: clamp(30px, 5vw, 56px); }
.train__topics { margin-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--smoke); counter-reset: train; }
.train__topics li { display: grid; grid-template-columns: 3.4em 1fr; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--smoke);
  font-family: var(--serif); font-style: italic; font-size: clamp(21px, 1.7vw, 27px); line-height: 1.15; counter-increment: train; }
.train__topics li::before { content: counter(train, decimal-leading-zero); font-family: var(--sans); font-style: normal; font-size: var(--text-caption); letter-spacing: .14em; opacity: .5; }
.train__note { margin-top: 22px; opacity: .6; }
.train__cta { margin-top: 22px; }
@media (min-width: 900px) {
  .train { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .train__head { grid-column: 1 / span 5; }
  .train__body { grid-column: 7 / -1; max-width: 40em; }
}

/* ---------- 9. Management: Filozofia pull-quote and "Jak pracujemy" index with photo frame (2026-11-19) ---------- */
.quote--portrait { text-align: center; padding-bottom: clamp(8px, 1.4vw, 24px); }
.quote--portrait .eyebrow { justify-content: center; }
.quote__block { margin: 0 auto; }
.quote__block::before { content: ""; display: block; width: 120px; height: 12px; margin: 0 auto clamp(28px, 3vw, 46px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 6h48M72 6h48' stroke='%23bc9873' stroke-width='1'/%3E%3Cpath d='M60 1.5l4.5 4.5L60 10.5 55.5 6z' fill='none' stroke='%23bc9873'/%3E%3C/svg%3E") center / contain no-repeat; }
.quote--portrait .quote__text { max-width: 24em; text-wrap: balance; margin-inline: auto; padding: 0; text-indent: 0; font-size: clamp(28px, 3.3vw, 52px); line-height: 1.16; letter-spacing: -0.015em; }
.quote__accent { display: block; color: var(--bronze); }
.quote__sig { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: clamp(30px, 3vw, 48px); }
.quote__face { flex: none; display: block; width: 72px; aspect-ratio: 4 / 5; overflow: hidden; background: #d0c7bc; }
.quote__face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.quote__who { display: grid; gap: 7px; justify-items: center; }
.quote__name { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.5vw, 23px); line-height: 1; }
.quote__role { opacity: .6; }

.ways__grid { position: relative; margin-top: clamp(36px, 4.6vw, 68px); }
.ways__list { border-top: 1px solid var(--smoke); }
.way { display: grid; grid-template-columns: 84px 1fr; column-gap: 20px; align-items: start; border-bottom: 1px solid var(--smoke); padding: 24px 0 26px; }
.way__media { aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.way__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.way__body { position: relative; display: grid; gap: 10px; }
.way__num { display: flex; gap: 14px; }
.way__num span { opacity: .6; }
.way__title { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(23px, 2.3vw, 36px); line-height: 1.1; letter-spacing: 0; }
.way__text { margin: 0; font-size: var(--text-body); line-height: 1.6; color: rgba(255, 255, 255, .72); max-width: 30em; }
@media (min-width: 600px) and (max-width: 899px) { .way { grid-template-columns: 132px 1fr; column-gap: 28px; } }
@media (min-width: 900px) {
  .ways__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
  .ways__grid::after { content: ""; grid-column: 8 / -1; grid-row: 1; aspect-ratio: 4 / 5; }   /* keeps room for the frame */
  .ways__list { grid-column: 1 / span 6; grid-row: 1; }
  .way { display: block; padding: 0; cursor: default; }
  .way__body { padding: clamp(24px, 2.5vw, 38px) 0 clamp(26px, 2.7vw, 40px); }
  .way__body::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--bronze); transition: width .9s var(--ease-out); }
  .way.is-active .way__body::before { width: 100%; }
  .way__body > * { opacity: .42; transition: opacity .5s; }
  .way.is-active .way__body > * { opacity: 1; }
  .way__media { --colw: calc((100% - 11 * var(--gap)) / 12); position: absolute; top: 0; right: 0; width: calc(var(--colw) * 5 + var(--gap) * 4);
    opacity: 0; transition: opacity .7s var(--ease-out); }
  .way__media img { transform: scale(1.05); transition: transform 1.4s var(--ease-out); }
  .way.is-active .way__media { opacity: 1; z-index: 1; }
  .way.is-active .way__media img { transform: none; }
}

/* Kontakt: the form intro (heading, text, photo) stays in place instead of riding along while the form scrolls (user, 2026-11-19) */
@media (min-width: 900px) { .kx-form__intro { position: static; top: auto; } }

/* kx-visit: two rows instead of three (user, 2026-11-19). Row 1: heading | address. Row 2: the tall 4:5 photo | text,
   four facts and two actions, spread over the photo's height so no empty block is left beside it. */
@media (min-width: 900px) {
  .kx-visit__addr { grid-row: 1; }
  .kx-visit__grid .kx-visit__photo { grid-row: 2; }
  .kx-visit__body { grid-row: 2; align-self: stretch; justify-content: space-between; }
}
.kx-visit__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.kx-btn { flex: 1 1 250px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 17px 24px; border: 1px solid var(--paper);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; transition: background-color .45s var(--ease-out), color .45s var(--ease-out); }
.kx-btn:is(:hover, :focus-visible) { background: var(--paper); color: var(--ink); }
.kx-btn__arrow { transition: transform .6s var(--ease-out); }
.kx-btn:is(:hover, :focus-visible) .kx-btn__arrow { transform: translateX(6px); }
.kx-btn:is(:hover, :focus-visible) .kx-btn__arrow--up { transform: translateY(-5px); }
@media (max-width: 899px) { .kx-visit__actions { margin-top: 28px; } }
#napisz { scroll-margin-top: calc(var(--header-h) + 32px); }

/* kx-form: photo panel (user, 2026-11-19). From 900px the photo fills the left five columns over the block's full
   height; heading, text and form share the right six. Below 900px the order is heading, photo, form. */
@media (min-width: 900px) {
  .kx-form__grid { row-gap: clamp(30px, 2.8vw, 46px); }
  .kx-form__grid > .kx-form__photo { grid-column: 1 / span 5; grid-row: 1 / span 2; align-self: stretch; display: flex; margin: 0; max-width: none; }
  .kx-form__grid > .kx-form__photo .media { position: relative; flex: 1; aspect-ratio: auto; min-height: 480px; }
  .kx-form__grid > .kx-form__photo img { position: absolute; inset: 0; object-position: 50% 28%; }
  .kx-form__intro { grid-column: 7 / -1; grid-row: 1; }
  .form--editorial { grid-column: 7 / -1; grid-row: 2; }
  .form--editorial .form__submit { margin-top: 26px; }
}
@media (max-width: 899px) {
  .kx-form__intro { order: 1; }
  .kx-form__grid > .kx-form__photo { order: 2; margin: 0; max-width: none; }
  .kx-form__grid > .kx-form__photo .media { aspect-ratio: 4 / 5; }
  .form--editorial { order: 3; }
}

/* =====================================================================================================================
   10. PHONES AND TABLETS (2026-11-22): the user asked for every page to be fully responsive and free of design errors.
   Audited on 14 sizes with touch emulation (320 to 1366 px, upright and sideways). Desktop layouts (1200 px and up) stay
   as they were, except for the three small errors in 10.1, which showed there too.
   ===================================================================================================================== */

/* ---------- 10.1 errors that showed on every size ---------- */
.link-arrow::after { content: "\00a0→"; margin-left: .12em; }   /* a plain leading space collapses in an inline-block: the arrow stuck to the last letter */
@media (hover: none) { .link-arrow::after { display: inline; } }   /* touch: the arrow stays on the line of the last word */
.kx-item:first-child { padding-top: 0; }                        /* "Telefon" hung 4px lower than "Email" and "Adres" */
.reel__cap { flex-direction: column; gap: 1px; padding-inline: 2px; }   /* side by side, one film's note ran into the next film's title */
.reel__cap span + span { opacity: .6; }
@media (min-width: 1100px) and (hover: hover) { .reels > .reel:last-child .reel__cap { padding-right: 34px; } }   /* clear of the tape measure */
.band--top::after { content: ""; position: absolute; inset: 0 0 auto; height: min(34%, 280px); z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .46), rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, 0)); }   /* white caption on a pale sky */

/* ---------- 10.2 every phone and tablet ---------- */
@media (max-width: 1199px) {
  :root { --indent: 0px; }                                      /* copy lines up with the headings instead of hanging to the right of them */
  .draft { display: none; }                                     /* the pattern drawing ran through the paragraph beside it */
  main :is(p, li, dd, figcaption) { text-wrap: pretty; }        /* no single word left on the last line */
  main :is(h1, h2, h3) { text-wrap: balance; }
  /* sideways rows rest on the page margin, not on the edge of the screen */
  .hscroll__track { scroll-padding-inline: var(--gutter); }
  .reels { scroll-padding-inline: 8px; }
  /* two short lines per film: side by side, the end of one caption ran into the start of the next */
  /* copy set at 13px reads too small on a touch screen */
  p.t-small, .prose.t-small, .cols > .col > p.t-small, .price__value, .shirts__label, .closeup__cap, .reel__cap, .form--editorial .check, .consent p { font-size: 14px; }
  .form--editorial .field input, .form--editorial .field textarea { font-size: 16px; }   /* under 16px iPhones zoom the page on focus */
  .cta__big, .kx-insta__handle { padding-block: 6px; }
  .hscroll__head { flex-wrap: wrap; gap: 14px 24px; }           /* a small link drops under its heading instead of squeezing it */
  .hscroll__head > * { max-width: 100%; }
  .hscroll__head .u-link, .wall-head .u-link { white-space: nowrap; }
  .wall-head { flex-wrap: wrap; }
  .stat__value { white-space: nowrap; }                         /* "30 km" never splits */
  .legal { max-width: 40em; }                                   /* the policies ran to 100 characters a line */
}
@media (max-width: 1099px) { .reels { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: 12px; } }
@media (pointer: coarse) { .form--editorial .field input, .form--editorial .field textarea { font-size: 16px; } }
/* a large tablet held sideways gets the desktop menu row: taller touch areas, the same look */
@media (pointer: coarse) and (min-width: 1200px) { .site-nav a { padding-block: 13px; font-size: 12px; } .site-nav a::after { bottom: 8px; } }
/* the map's compass and scale sit on a plate, so street names never run through them */
.kmap__north, .kmap__scale { z-index: 1; }
@media (max-width: 1199px) {
  .kmap__north, .kmap__scale { background: #0c0c0c; box-shadow: 0 0 0 8px #0c0c0c; }
  .kmap__scale { padding-top: 2px; }
  .kmap__streets text:is([x="937"], [x="193"]) { display: none; }   /* Ordynacka and Patelnia: under the metro label and under the scale */
}

/* the open menu: on a low screen the list scrolls, and it ran under the logo and the close button */
@media (max-width: 1199px) {
  .menu-open .site-header { background: var(--ink); }
  .menu__inner { padding-bottom: 18px; }
}
/* a tablet's menu is set for a tablet, not for a phone */
@media (min-width: 600px) and (max-width: 1199px) and (min-height: 600px) {
  .menu__link { font-size: clamp(26px, min(3.9vw, 3.9vh), 38px); padding-block: 6px; gap: 20px; }
  .menu__list { max-width: none; }
}
/* a phone's menu fills the screen: larger names and pictures (client, 2026-11-23); both follow the screen height so a short phone still fits */
@media (max-width: 599px) {
  .menu__link { font-size: clamp(24px, min(7.6vw, 3.8vh), 32px); gap: 18px; padding-block: 2px; }
  .menu__thumb { width: auto; height: clamp(40px, 6.8vh, 62px); }
}
/* the smallest phones: the close button kept touching the appointment link */
@media (max-width: 359px) {
  .menu-toggle, .header-cta { letter-spacing: .08em; }
  .menu-toggle { gap: 8px; }
  .kx-facts > div { display: block; }
  .kx-facts dt { margin-bottom: 6px; }
}

/* footer: nine links never leave one alone in a column */
@media (max-width: 599px) { .footer__links--cols li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 600px) and (max-width: 899px) { .footer__links--cols { grid-template-columns: repeat(3, auto); column-gap: clamp(28px, 6vw, 60px); } }
@media (min-width: 900px) and (max-width: 1199px) {
  .footer__grid { grid-template-columns: .82fr 1.1fr 1.25fr 1.1fr 1.1fr; column-gap: 18px; }
  .footer__brand p { text-wrap: balance; }
  .footer__links a { font-size: 14px; white-space: nowrap; }
  .footer__links--cols { column-gap: 22px; }
}

/* ---------- 10.3 phones ---------- */
@media (max-width: 599px) {
  .kx-visit__photo { max-width: none; margin-top: 18px; }       /* the photo fills the column instead of leaving a third of it empty */
  .kx-visit__photo .media { aspect-ratio: 4 / 5; }
}
/* Proces, step 06: the whole photo in its own shape, without black bars beside it */
@media (max-width: 899px) { .tstep__media:has(img.is-whole) { aspect-ratio: 2 / 3; } }

/* ---------- 10.4 tablets held upright (700-899px): the desktop compositions, in two columns ---------- */
@media (min-width: 700px) and (max-width: 767px) { :root { --gutter: 40px; --gap: 24px; } }
@media (min-width: 600px) and (max-width: 767px) { .kx-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 12px; } }
@media (min-width: 700px) and (max-width: 899px) {
  /* titles and leads */
  .page-hero__row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .page-hero__aside { grid-column: 1 / span 6; grid-row: 1; white-space: nowrap; }
  .page-hero__lead { grid-column: 7 / -1; padding-left: 10px; }
  .svc-head { grid-template-columns: 1fr auto; align-items: end; }
  .svc-head__note { text-align: right; max-width: 18em; padding-bottom: .5em; }
  .meta__head { grid-template-columns: minmax(0, 1fr) minmax(0, 24em); align-items: end; column-gap: var(--gap); }
  .meta__head .eyebrow { grid-column: 1 / -1; }
  .meta__lead { padding-bottom: .4em; }

  /* heading on the left, list or text on the right */
  .content-block { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .content-block__head { grid-column: 1 / span 4; }
  .content-block__body { grid-column: 5 / -1; }
  .train { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .train__head { grid-column: 1 / span 5; }
  .train__body { grid-column: 6 / -1; }
  .cols > .col, .cols > * + * { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); align-items: baseline; column-gap: var(--gap); }
  .cols > .col > p.t-sub { grid-column: 1 / -1; }
  .cta__grid { grid-template-columns: repeat(3, 1fr); }
  .shirts__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-inline: 0; padding-inline: 0; overflow: visible; }
  .shirts__label { flex-wrap: wrap; gap: 2px 12px; }

  /* home: the workbench beside the paragraph; the running film in its own shape beside the copy and the jacket */
  .statement__aside { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .statement__aside > :first-child { grid-column: 1 / span 6; }
  .statement__aside > :last-child { grid-column: 7 / -1; align-self: end; padding-left: 8px; }
  .statement__media { aspect-ratio: 4 / 5; }
  .zg__title { font-size: 8.4vw; }
  .zg__stage { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; margin-top: -2.2vw; }
  .zg__film { grid-column: 1 / span 6; grid-row: 1 / span 2; margin: 0; }
  .zg__frame { aspect-ratio: 9 / 16; }
  .zg__track { padding-inline: 0; }
  .zg__body { grid-column: 7 / -1; grid-row: 1; padding: 72px 0 0 8px; }
  .zg__look { grid-column: 7 / -1; grid-row: 2; align-self: end; padding-left: 8px; }
  .zg__caps { padding-top: 11vw; }

  /* photo and text side by side */
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
  .split__media { grid-column: 1 / span 6; }
  .split__body { grid-column: 7 / -1; padding: 0 0 0 10px; }
  .split--rev .split__media { grid-column: 7 / -1; grid-row: 1; }
  .split--rev .split__body { grid-column: 1 / span 6; grid-row: 1; padding: 0 10px 0 0; }
  .split[data-anatomy] { align-items: start; }
  /* a wide photo or a pair keeps the full width; its heading and text share the row below */
  .split--wide, .split--italy, .split--pair { row-gap: 36px; }
  :is(.split--wide, .split--italy, .split--pair) .split__media { grid-column: 1 / -1; }
  :is(.split--wide, .split--italy, .split--pair) .split__body { grid-column: 1 / -1; padding: 0; display: grid; align-items: start;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap); }
  :is(.split--wide, .split--italy, .split--pair) .split__body > .eyebrow { grid-column: 1 / -1; margin-bottom: 22px; }
  :is(.split--wide, .split--italy, .split--pair) .split__body > h2 { grid-column: 1; grid-row: auto / span 3; }
  :is(.split--wide, .split--italy, .split--pair) .split__body > :not(.eyebrow):not(h2) { grid-column: 2; margin-top: 4px !important; }
  .split--pair .split__body > p.t-small { margin-top: 20px !important; }

  /* Proces: the two close-ups as on desktop */
  .closeup__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .closeup__item--main { grid-column: 1 / span 7; }
  .closeup__item--side { grid-column: 8 / -1; width: auto; margin-left: 0; align-self: end; }

  /* Management */
  .pair { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .pair__text { grid-column: 1 / span 6; padding: 0 10px 6px 0; }
  .pair__photo { grid-column: 7 / -1; }
  .roles__row { grid-template-columns: 1fr 1.4em; gap: 4px 14px; }
  .roles__role { grid-column: 1; grid-row: 2; text-align: left; }
  .roles__arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  /* each owner: portrait beside the name and the first paragraph, the rest in two columns, the facts in three */
  .duo__person { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); grid-template-rows: auto auto 1fr; }
  .duo__text, .duo__copy, .duo__bio { display: contents; }
  .duo__photo { grid-column: 1 / span 6; grid-row: 1 / span 3; margin: 0; align-self: start; }
  .duo__text > .eyebrow { grid-column: 7 / -1; grid-row: 1; margin-bottom: 14px; padding-left: 10px; }
  .duo__name { grid-column: 7 / -1; grid-row: 2; margin-bottom: 18px; margin-left: 10px; }
  .duo__bio > p.t-sub { grid-column: 7 / -1; grid-row: 3; padding-left: 10px; }
  .duo__bio > p.t-small { grid-row: 4; margin-top: 40px !important; }
  .duo__bio > p.t-small:nth-of-type(2) { grid-column: 1 / span 6; padding-right: 10px; }
  .duo__bio > p.t-small:nth-of-type(3) { grid-column: 7 / -1; padding-left: 10px; }
  .duo__person--flip .duo__photo { grid-column: 7 / -1; }
  .duo__person--flip .duo__text > .eyebrow, .duo__person--flip .duo__bio > p.t-sub { grid-column: 1 / span 6; padding: 0 10px 0 0; }
  .duo__person--flip .duo__name { grid-column: 1 / span 6; margin-left: 0; }
  .duo__bio .duo__facts { grid-column: 1 / -1; grid-row: 5; margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); border-bottom: 1px solid var(--smoke); }
  .duo__facts > div { display: block; border-bottom: 0; }
  .duo__facts dt { margin-bottom: 8px; }

  /* Kontakt: heading beside the photo, the form in two columns under them */
  .kx-form__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: center; }
  .kx-form__intro { grid-column: 1 / span 6; padding-right: 10px; }
  .kx-form__grid > .kx-form__photo { grid-column: 7 / -1; }
  .form--editorial { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .form--editorial .full { grid-column: 1 / -1; }
  /* Dojazd: photo and facts side by side, the two buttons across */
  .kx-visit__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 34px; grid-template-rows: auto auto 1fr auto; }
  .kx-visit__h { grid-column: 1 / span 6; grid-row: 1; }
  .kx-visit__addr { grid-column: 7 / -1; grid-row: 1; padding-left: 10px; }
  .kx-visit__body { display: contents; }
  .kx-visit__grid .kx-visit__photo { grid-column: 1 / span 6; grid-row: 2 / span 2; max-width: none; margin: 0; }
  .kx-visit__photo .media { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .kx-visit__body > div:first-child { grid-column: 7 / -1; grid-row: 2; padding-left: 10px; }
  .kx-visit__body > .kx-facts { grid-column: 7 / -1; grid-row: 3; margin: 0 0 0 10px; }
  .kx-visit__body > .kx-facts > div { grid-template-columns: 6.6em 1fr; padding: 13px 0; }
  .kx-visit__body > .kx-visit__actions { grid-column: 1 / -1; grid-row: 4; margin-top: 0; }
  .kx-feed { grid-template-columns: repeat(6, 1fr); }
  .kx-insta__foot { grid-template-columns: auto 1fr; align-items: baseline; column-gap: var(--gap); }
  .kx-insta__text { justify-self: end; }
}

/* ---------- 10.5 large tablets and small laptops (900-1199px) ---------- */
@media (min-width: 900px) and (max-width: 1199px) {
  .page-hero__aside { grid-column: 1 / span 5; white-space: nowrap; }
  .statement__aside > :first-child { grid-column: 1 / span 5; }
  .statement__aside > :last-child { grid-column: 7 / -1; }
  .kx-insta__foot { grid-template-columns: auto 1fr; align-items: baseline; }
  /* the whole map, not a crop of it: the cut left half a metro name at two edges and one under the scale */
  .kmap__frame { --kw: 100cqw; }
  .kmap__streets text { font-size: 17px; }
  .kmap__mname, .kmap__addr { font-size: 15.5px; }
  .kmap__note { font-size: 14px; }
}
/* Proces on a tall tablet: every step carries its own photo, as on smaller tablets; one small photo pinned beside
   six short texts left most of the screen empty */
@media (min-width: 900px) and (orientation: portrait) {
  .timeline { display: block; }
  .timeline__visual { display: none; }
  .tstep { min-height: 0; opacity: 1; padding-block: 36px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto 1fr; column-gap: clamp(32px, 5vw, 72px); }
  .tstep__media { display: block; grid-column: 1; grid-row: 1 / span 3; aspect-ratio: 4 / 5; overflow: hidden; background: #000; margin: 0; }
  .tstep__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
  .tstep__media:has(img.is-whole) { aspect-ratio: 2 / 3; }
  .tstep > :not(.tstep__media) { grid-column: 2; }
}

/* ---------- 10.6 phones held sideways: nothing is taller than the screen ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .nhero, .wind--live { min-height: 300px; }
  .band { height: clamp(280px, 92vh, 480px); }
  .kx-band { height: clamp(280px, 88vh, 440px); }
  .bronze-band { height: clamp(200px, 60vh, 280px); }
  .page-hero { padding-top: calc(var(--header-h) + 26px); }
  .page-hero__media { height: clamp(260px, 84vh, 420px); margin-top: 32px; }
  .zg__frame { aspect-ratio: 4 / 5; }
  .notfound { padding-block: calc(var(--header-h) + 20px) 32px; }
}
