/* FXC LAB / Form in motion
   HTML nadaje strukturę, a CSS buduje kompozycję i ruch.
   Kolejność: baza, menu, hero, portfolio, usługi, studio, kontakt, animacje, mobile. */


/* 1. Wspólna siatka, kolory i typografia */
:root {
  --background: #0a0a0a;
  --surface: #111111;
  --text: #f5f5f2;
  --muted: #999996;
  --line: #303030;
  --paper: #deded9;
  --gutter: clamp(24px, 4.6vw, 88px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --scroll-progress: 0;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--background); background: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
[hidden] { display: none !important; }
.section-shell { padding-inline: var(--gutter); }
.section-space { padding-block: clamp(88px, 10vw, 180px); }
.eyebrow { font-size: 10px; font-weight: 500; line-height: 1.7; letter-spacing: .08em; }
h2 { font-size: clamp(44px, 5.4vw, 104px); line-height: 1.1; letter-spacing: -.05em; word-spacing: .045em; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.025em; }
.line > span { display: block; }
.line + .line { --line-delay: .1s; }
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: 15px 0 10px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
}
.text-link > span:last-child { transition: transform .45s var(--ease); }
.text-link:hover > span:last-child { transform: translate(4px, -4px); }
[data-magnetic] { transform: translate(var(--magnet-x, 0px), var(--magnet-y, 0px)); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 15px; background: var(--text); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 90; width: 100%; height: 2px; background: var(--text); transform: scaleX(var(--scroll-progress)); transform-origin: left; pointer-events: none; }

/* 2. Pozioma nawigacja */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 104px;
  padding-inline: var(--gutter);
  background: rgba(10, 10, 10, .92);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s;
}
.site-header.is-scrolled { background: rgba(10, 10, 10, .86); backdrop-filter: blur(16px); border-color: var(--line); }
.studio-logo { display: block; width: clamp(200px, 12.8vw, 224px); flex-shrink: 0; line-height: 0; }
.studio-logo picture, .studio-logo img { display: block; width: 100%; height: auto; }
.studio-logo img { transition: opacity .3s var(--ease); }
.studio-logo:hover img { opacity: .82; }
.header-note { font-size: 9px; color: var(--muted); letter-spacing: .035em; margin-right: auto; margin-left: 5vw; }
#site-nav { display: flex; align-items: center; gap: clamp(25px, 3.2vw, 60px); }
#site-nav a { display: inline-flex; gap: 7px; position: relative; padding: 15px 0; font-size: 12px; }
#site-nav a::after { content: ""; position: absolute; right: 0; bottom: 6px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
#site-nav a:hover::after, #site-nav a:focus-visible::after, #site-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
#site-nav sup { color: var(--muted); font-size: 7px; }
#site-nav .nav-contact { gap: 28px; padding: 13px 18px; border: 1px solid #696969; transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
#site-nav .nav-contact::after { display: none; }
#site-nav .nav-contact:hover, #site-nav .nav-contact:focus-visible { color: var(--background); background: var(--text); }
.menu-toggle { display: none; }

/* 3. Hero: tekst nad przezroczystą kompozycją ze szkła. */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 104px); display: flex; flex-direction: column; padding-top: 24px; }
.hero-top { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.hero-composition { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.08fr); align-items: center; gap: clamp(18px, 3.1vw, 58px); padding-block: clamp(44px, 4.5vw, 82px) 48px; flex: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 78% 38%, rgba(180,180,180,.07), transparent 55%), linear-gradient(160deg, #080808, #0d0d0d 58%, #141414); }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero-title-note { display: block; margin-top: 26px; font-size: clamp(15px, 1.4vw, 22px); line-height: 1.5; letter-spacing: -.025em; word-spacing: normal; color: #b7b7b1; }
.hero-animation-slot {
  position: relative;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  display: grid;
  place-items: center;
  pointer-events: auto;
}
.hero-brand-reveal {
  --hero-reveal: 0;
  --hero-reveal-right: 100%;
  --hero-symbol-opacity: 1;
  --hero-symbol-scale: 1;
  --hero-symbol-x: 0px;
  --hero-symbol-rotate: 0deg;
  --hero-full-opacity: 0;
  --hero-full-scale: .88;
  --hero-full-x: 58px;
  --hero-aura-opacity: .14;
  --hero-scan-opacity: 0;
  --hero-pointer-x: 50%;
  --hero-pointer-y: 50%;
  position: relative;
  width: min(100%, 860px);
  min-height: clamp(500px, 39vw, 650px);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: clamp(16px, 1.8vw, 30px) 0 16px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  isolation: isolate;
  cursor: crosshair;
}
.hero-brand-stage {
  position: relative;
  width: 100%;
  min-height: clamp(430px, 34vw, 570px);
  display: block;
  overflow: visible;
}
.hero-brand-symbol,
.hero-brand-full {
  position: absolute;
  top: 50%;
  left: 50%;
  will-change: transform, opacity, clip-path;
}
.hero-brand-symbol {
  width: clamp(370px, 30vw, 555px);
  height: auto;
  transform: translate(calc(-50% + var(--hero-symbol-x)), -50%) scale(var(--hero-symbol-scale)) rotate(var(--hero-symbol-rotate));
  opacity: var(--hero-symbol-opacity);
  filter: drop-shadow(0 28px 52px rgba(0,0,0,.44));
  transition: opacity .32s ease, transform .52s var(--ease), filter .45s ease;
  z-index: 3;
}
.hero-brand-full {
  width: min(96%, 790px);
  transform: translate(calc(-50% + var(--hero-full-x)), -50%) scale(var(--hero-full-scale));
  transform-origin: 50% 50%;
  clip-path: inset(0 var(--hero-reveal-right) 0 0);
  opacity: var(--hero-full-opacity);
  transition: clip-path .2s linear, opacity .28s ease, transform .45s var(--ease);
  z-index: 2;
}
.hero-brand-full img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.3));
}
.hero-brand-aura {
  position: absolute;
  left: var(--hero-pointer-x);
  top: var(--hero-pointer-y);
  width: clamp(220px, 21vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240,244,247,.11) 0%, rgba(184,192,198,.045) 36%, transparent 72%);
  filter: blur(9px);
  opacity: var(--hero-aura-opacity);
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 0;
}
.hero-brand-scan {
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: var(--hero-pointer-x);
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(242,246,248,.48) 30%, rgba(242,246,248,.68) 50%, rgba(242,246,248,.34) 70%, transparent);
  box-shadow: 0 0 18px rgba(235,240,243,.13);
  opacity: var(--hero-scan-opacity);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
}
.hero-brand-hint {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #7d7d79;
  font-size: 8px;
  letter-spacing: .12em;
  transition: color .35s ease, border-color .35s ease, opacity .35s ease;
}
.hero-brand-hint > span:last-child { font-size: 14px; letter-spacing: 0; }
.hero-brand-reveal:hover .hero-brand-hint,
.hero-brand-reveal:focus-visible .hero-brand-hint,
.hero-brand-reveal.is-revealed .hero-brand-hint { color: #c7c7c2; border-color: rgba(255,255,255,.24); }
.hero-brand-reveal:focus-visible { outline-offset: 2px; }
.hero-brand-reveal.is-revealed {
  --hero-reveal: 1;
  --hero-reveal-right: 0%;
  --hero-symbol-opacity: 0;
  --hero-symbol-scale: .62;
  --hero-symbol-x: -82px;
  --hero-symbol-rotate: -1.2deg;
  --hero-full-opacity: 1;
  --hero-full-scale: 1;
  --hero-full-x: 0px;
  --hero-aura-opacity: .58;
  --hero-scan-opacity: .42;
}

.hero-title { font-size: clamp(52px, 6.1vw, 117px); line-height: 1.02; letter-spacing: -.066em; word-spacing: .04em; }
.hero-title .line { overflow: hidden; padding-bottom: .095em; }
.hero-title .line > span { white-space: nowrap; }
.quiet-dot { color: #858580; }
.hero-description { display: grid; grid-template-columns: 1fr 2.1fr; gap: 26px; margin-top: clamp(28px, 3vw, 48px); }
.hero-index { font-size: 10px; color: var(--muted); padding-top: 6px; }
.hero-description p { font-size: clamp(13px, 1.14vw, 20px); line-height: 1.8; max-width: 350px; color: #b7b7b1; }
.hero-description .text-link { margin-top: 19px; min-width: 190px; }
/* Rzeźba jest częścią tła, bez karty, ramki i podpisów.
   Przezroczyste warstwy SVG symulują światło na zaokrąglonych szklanych krawędziach. */
.hero-art {
  position: absolute;
  inset: -14% -15% -10% 28%;
  z-index: 0;
  min-width: 0;
  pointer-events: none;
  transform: translateY(var(--hero-shift, 0px));
  mask-image: linear-gradient(to right, transparent, #000 22%, #000 100%);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(ellipse at 55% 48%, rgba(245,245,242,.07), transparent 65%);
}
.glass-sculpture {
  width: 100%;
  height: 100%;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}
.aperture-field { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.aperture-layer { transform-box: view-box; transform-origin: center; transform: rotate(var(--angle)) scale(var(--scale)); animation: aperture-breathe 9s cubic-bezier(.45, 0, .55, 1) var(--phase) infinite alternate; }
.aperture-layer > use { stroke-linejoin: round; }
.glass-rim { stroke: url(#glass-rim); stroke-width: 12; }
.glass-body { stroke: url(#glass-body); stroke-width: 9.5; }
.glass-light { stroke: url(#glass-light); stroke-width: 1.15; }
.hero-bottom { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); min-height: 81px; font-size: 9px; color: var(--muted); }
.hero-bottom > p { display: flex; align-items: center; gap: 9px; }
.availability-dot { width: 5px; height: 5px; background: #c5c5c0; border-radius: 50%; box-shadow: 0 0 0 4px rgba(245,245,242,.05); }
.hero-bottom > a { display: flex; align-items: center; gap: 28px; font-size: 8px; letter-spacing: .05em; }
.scroll-arrow { font-size: 18px; display: inline-block; animation: scroll-cue 2s var(--ease) infinite; }
.hero-bottom-note { font-size: 8px; }

/* 4. Marquee. Transform przesuwa grupę o dokładnie połowę jej szerokości. */
.marquee {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - 8px);
  margin: clamp(18px, 2vw, 30px) 4px;
  padding-block: clamp(12px, 1.15vw, 20px);
  border: 1px solid rgba(255, 245, 230, .28);
  border-radius: 0;
  background: linear-gradient(90deg,
    rgba(255, 248, 238, .42),
    rgba(255, 244, 231, .38) 24%,
    rgba(255, 240, 224, .34) 50%,
    rgba(255, 245, 233, .37) 76%,
    rgba(255, 249, 241, .42));
  color: rgba(255, 251, 244, .99);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -1px 0 rgba(255,250,242,.08),
    0 0 0 1px rgba(255, 244, 229, .04);
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
}
.marquee::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255, 252, 245, .11),
    rgba(255, 247, 236, .04) 18%,
    rgba(255, 243, 228, .02) 50%,
    rgba(255, 247, 236, .04) 82%,
    rgba(255, 252, 245, .10));
  opacity: 1;
}
.marquee-track { position: relative; z-index: 1; display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; gap: clamp(22px, 2vw, 34px); padding-right: clamp(22px, 2vw, 34px); }
.marquee-group span { font-size: clamp(22px, 2.7vw, 50px); letter-spacing: -.04em; line-height: 1; font-weight: 500; white-space: nowrap; }
.marquee-group i { font-style: normal; font-size: clamp(24px, 2.55vw, 47px); font-weight: 400; opacity: .8; color: rgba(255, 248, 238, .95); }

/* 5. Portfolio — trzy równe kolumny, bez obrazów zastępczych i martwych linków. */
.section-heading { display: grid; grid-template-columns: 1fr 2.3fr; gap: 24px 36px; margin-bottom: 44px; }
.section-heading > .eyebrow { margin-top: 13px; color: var(--muted); }
.section-note { grid-column: 2; font-size: 12px; line-height: 1.8; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.project { min-width: 0; }
.project-link { display: block; }
.project-art { position: relative; overflow: hidden; height: clamp(240px, 25vw, 340px); isolation: isolate; }
.iku-art { display: flex; flex-direction: column; padding: clamp(18px, 2vw, 32px); background: #d5d5d0; color: #0a0a0a; }
.iku-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #bdbdb8; transform: translateY(100%); transition: transform .8s var(--ease); }
.project-link:hover .iku-art::before { transform: none; }
.iku-card-top { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .04em; }
.iku-card-top > span:last-child { font-size: 24px; line-height: .7; }
.iku-wordmark { margin-block: auto; padding-block: 24px; }
.iku-wordmark > span { display: block; font-weight: 600; letter-spacing: -.07em; line-height: 1; transition: transform .7s var(--ease); }
.iku-wordmark > span:first-child { font-size: clamp(64px, 7vw, 124px); }
.iku-wordmark > span:last-child { font-size: clamp(22px, 2.5vw, 44px); }
.project-link:hover .iku-wordmark > span { transform: translateX(5px); }
.iku-address { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #9e9e99; padding-top: 15px; font-size: 10px; }
.iku-address > span:last-child { font-size: 16px; white-space: nowrap; }
.project-meta { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; padding-top: 18px; }
.project-meta h3 { font-size: clamp(19px, 1.7vw, 28px); letter-spacing: -.035em; }
.project-meta p { grid-column: 1; font-size: 11px; color: var(--muted); line-height: 1.6; }
.project-meta > span { grid-column: 2; grid-row: 1 / 3; font-size: 9px; align-self: center; color: var(--muted); }
.project-hover { position: absolute; right: 18px; bottom: 65px; font-size: 9px; padding: 11px 14px; background: #0a0a0a; color: #f5f5f2; transform: translateY(12px); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.project-link:hover .project-hover, .project-link:focus-visible .project-hover { transform: none; opacity: 1; }
.soon-art { display: flex; flex-direction: column; padding: clamp(18px, 2vw, 32px); border: 1px solid var(--line); background: #101010; }
.soon-number, .soon-caption { color: var(--muted); font-size: 10px; line-height: 1.5; }
.soon-number { letter-spacing: .04em; }
.soon-art h3 { margin-block: auto; padding-block: 24px; font-size: clamp(44px, 5.4vw, 96px); font-weight: 400; letter-spacing: -.065em; }
.soon-art h3 span { color: #666; }
.soon-caption { padding-top: 15px; border-top: 1px solid var(--line); }

/* 6. Usługi — płynne otwieranie paneli przez grid-template-rows */
/* 6. Services — restrained architectural glass, preserving accordion motion. */
.services {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(56px, 7vw, 126px);
  background: var(--surface);
}
.services-heading,
.service-list { position: relative; z-index: 1; }
.services-heading .eyebrow { color: var(--muted); margin-bottom: 32px; }
.services-heading h2 { font-size: clamp(40px, 4.4vw, 84px); }
.services-heading > p:last-child {
  margin-top: 35px;
  font-size: 13px;
  line-height: 1.9;
  color: #aaa;
  max-width: 280px;
}
.service-list {
  align-self: start;
  padding: 0 clamp(18px, 1.65vw, 28px);
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 20px 50px rgba(0,0,0,.12);
  -webkit-backdrop-filter: blur(9px) saturate(108%);
  backdrop-filter: blur(9px) saturate(108%);
}
.service-list::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16) 28%, rgba(255,255,255,.07) 70%, transparent);
  opacity: .7;
}
.service-item {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.12);
  transition: background .42s var(--ease), border-color .42s var(--ease);
}
.service-item:first-child { border-top: 0; }
.service-item:last-child { border-bottom: 0; }
.service-item.is-open {
  background: rgba(255,255,255,.022);
}
.service-item.is-open::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: rgba(255,255,255,.42);
  box-shadow: 0 0 14px rgba(255,255,255,.08);
}
.service-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 22px;
  gap: 20px;
  align-items: start;
  background: none;
  border: 0;
  text-align: left;
  padding: 28px 0;
}
.service-toggle > span:nth-child(2) {
  display: inline-block;
  max-width: 10.5ch;
  font-size: clamp(20px, 1.9vw, 33px);
  letter-spacing: -.04em;
  line-height: 1.06;
  transition: transform .45s var(--ease), opacity .45s ease;
}
.service-toggle:hover > span:nth-child(2) { transform: translateX(7px); }
.service-number {
  padding-top: 9px;
  font-size: 9px;
  color: var(--muted);
}
.service-symbol {
  align-self: center;
  font-size: 24px;
  font-weight: 400;
  opacity: .92;
  transition: transform .5s var(--ease), opacity .35s ease;
}
.is-open .service-symbol { transform: rotate(45deg); }
.service-toggle small {
  display: block;
  font-size: 7px;
  letter-spacing: .06em;
  color: var(--muted);
  margin-top: 10px;
}
.service-panel { display: grid; grid-template-rows: 1fr; }
.js .service-panel { grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease), opacity .4s; opacity: .3; }
.js .is-open .service-panel { grid-template-rows: 1fr; opacity: 1; }
.service-panel > div { overflow: hidden; min-height: 0; }
.service-panel p {
  padding-left: 44px;
  padding-bottom: 18px;
  font-size: 13px;
  line-height: 1.85;
  color: #b8b8b3;
  max-width: 360px;
}
.service-panel div > span {
  display: block;
  padding: 0 0 28px 44px;
  color: #8a8a8a;
  font-size: 8px;
  letter-spacing: .025em;
}

/* 7. Lab i proces. Jasny rozdział z oszczędnym liquid glass. */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 18%, rgba(255,255,255,.78), transparent 28%),
    radial-gradient(circle at 88% 32%, rgba(182,190,194,.36), transparent 30%),
    linear-gradient(135deg, #dadbd6 0%, #e8e8e3 43%, #d2d5d2 100%);
  color: var(--background);
}
.about::before,
.about::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(9px);
  opacity: .72;
}
.about::before {
  width: clamp(270px, 31vw, 610px);
  aspect-ratio: 1;
  left: -8%;
  top: 31%;
  background: radial-gradient(circle at 36% 32%, rgba(255,255,255,.86), rgba(207,214,216,.38) 46%, rgba(255,255,255,0) 72%);
}
.about::after {
  width: clamp(320px, 36vw, 690px);
  aspect-ratio: 1;
  right: -12%;
  bottom: -12%;
  background: radial-gradient(circle at 48% 44%, rgba(255,255,255,.7), rgba(169,179,184,.26) 48%, rgba(255,255,255,0) 74%);
}
.about ::selection { background: var(--background); color: var(--text); }
.about-top, .about-bottom, .process-heading, .process-list { position: relative; z-index: 1; }
.about-top { display: grid; grid-template-columns: .7fr 2fr; gap: 36px; }
.about-top > .eyebrow { max-width: 130px; color: #595954; padding-top: 14px; }
.about-top h2 { font-size: clamp(42px, 5.8vw, 111px); }
.about-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 5vw, 86px); margin-top: 75px; align-items: center; }
.studio-stamp, .about-copy, .process-heading, .process-list li {
  border: 1px solid rgba(255,255,255,.72);
  background: linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,.16));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    inset 0 -1px 0 rgba(20,20,20,.04),
    0 18px 50px rgba(31,35,35,.08);
  -webkit-backdrop-filter: blur(22px) saturate(128%);
  backdrop-filter: blur(22px) saturate(128%);
}
.studio-stamp {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  justify-self: start;
  flex-direction: column;
  align-items: center;
  width: clamp(220px, 21vw, 350px);
  padding: clamp(28px, 3.3vw, 46px);
  border-radius: 30px;
  transform-style: preserve-3d;
  transform: perspective(980px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) rotateZ(-5deg) translateY(0) scale(1);
  transition: transform .72s var(--ease), box-shadow .72s var(--ease), background .72s var(--ease), border-color .72s var(--ease);
  will-change: transform;
}
.studio-stamp::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -35%;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255,255,255,.78) 0, rgba(255,255,255,.3) 14%, rgba(211,221,225,.12) 28%, transparent 52%),
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.58), transparent 36%);
  opacity: .45;
  transform: translateZ(-1px) scale(.96);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.studio-stamp::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 54%;
  height: 190%;
  top: -45%;
  left: -75%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), rgba(255,255,255,.08), transparent);
  filter: blur(4px);
  transform: rotate(18deg);
  opacity: 0;
  transition: left .95s var(--ease), opacity .35s ease;
  pointer-events: none;
}
.studio-stamp:hover {
  transform: perspective(980px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) rotateZ(-1.5deg) translateY(-11px) scale(1.025);
  border-color: rgba(255,255,255,.94);
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.19));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 -1px 0 rgba(22,22,22,.035),
    0 38px 86px rgba(31,35,35,.16),
    0 10px 30px rgba(255,255,255,.16);
}
.studio-stamp:hover::before { opacity: .82; transform: translateZ(-1px) scale(1.08); }
.studio-stamp:hover::after { left: 128%; opacity: .82; }
.studio-stamp-symbol {
  position: relative;
  z-index: 2;
  width: min(100%, 235px);
  height: auto;
  transform: translateZ(28px) scale(1);
  transform-origin: center;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  transition: transform .72s var(--ease), filter .72s var(--ease);
}
.studio-stamp:hover .studio-stamp-symbol {
  transform: translateZ(48px) translateY(-7px) scale(1.055);
  filter: drop-shadow(0 17px 22px rgba(0,0,0,.16));
}
.studio-stamp-meta {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  margin-top: 18px;
  transform: translateZ(36px);
}
.studio-stamp-meta > small {
  font-size: 7px;
  letter-spacing: .09em;
  transition: transform .55s var(--ease), opacity .45s ease;
}
.studio-stamp-wordmark {
  display: grid;
  place-items: center;
  width: clamp(78px, 7.4vw, 112px);
  height: 22px;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transform: translateY(14px);
  transition: opacity .45s ease .05s, transform .6s var(--ease), clip-path .6s var(--ease);
}
.studio-stamp-wordmark img {
  width: 100%;
  height: auto;
  filter: brightness(.38) contrast(1.4) saturate(.2);
}
.studio-stamp:hover .studio-stamp-meta > small { transform: translateY(-2px); opacity: .72; }
.studio-stamp:hover .studio-stamp-wordmark {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}
.about-copy {
  padding: clamp(26px, 3.2vw, 46px);
  border-radius: 34px;
}
.about-copy > p { font-size: clamp(17px, 1.65vw, 28px); line-height: 1.7; max-width: 660px; }
.about-copy > p + p { margin-top: 24px; font-size: 13px; color: #50504c; }
.about-copy > span { display: block; margin-top: 26px; font-size: 8px; letter-spacing: .04em; }
.process-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 100px;
  padding: 18px 22px;
  border-radius: 999px;
}
.process-heading .eyebrow { color: #555550; }
.process-heading h3 { font-size: 15px; }
.process-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.process-list li {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 24px 24px 26px;
  border-radius: 24px;
  transition: transform .55s var(--ease), background .55s var(--ease), box-shadow .55s var(--ease);
}
.process-list li::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 95%;
  left: -58%;
  top: -42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.72), rgba(255,255,255,0) 68%);
  opacity: .4;
  transform: rotate(18deg);
  transition: transform .8s var(--ease), opacity .6s var(--ease);
  pointer-events: none;
}
.process-list li:hover {
  transform: translateY(-7px);
  background: linear-gradient(135deg, rgba(255,255,255,.58), rgba(255,255,255,.21));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 28px 64px rgba(31,35,35,.13);
}
.process-list li:hover::before { transform: translate(65%, 52%) rotate(18deg); opacity: .65; }
.process-list li > span { position: relative; z-index: 1; color: #595954; font-size: 10px; }
.process-list h4 { position: relative; z-index: 1; font-size: clamp(24px, 2.4vw, 44px); margin-top: 42px; letter-spacing: -.045em; }
.process-list p { position: relative; z-index: 1; font-size: 11px; line-height: 1.8; color: #555550; max-width: 250px; margin-top: 18px; }

/* 8. Zaproszenie i formularz: dwa ekrany przełączane poziomo. */
.project-flow { position: relative; overflow: hidden; background: var(--background); }
.project-flow-viewport { position: relative; overflow: hidden; }
.project-flow-screen { width: 100%; }
.project-flow-screen--form { background: var(--surface); }
.js .project-flow-viewport { transition: height .9s var(--ease); }
.js .project-flow-screen { transition: transform 1s var(--ease), opacity .72s var(--ease); will-change: transform, opacity; }
.js .project-flow-screen--invite { position: relative; transform: translateX(0); opacity: 1; }
.js .project-flow-screen--form { position: absolute; inset: 0 auto auto 0; transform: translateX(104%); opacity: 0; pointer-events: none; }
.js .project-flow.is-form-open .project-flow-screen--invite { transform: translateX(-104%); opacity: .08; pointer-events: none; }
.js .project-flow.is-form-open .project-flow-screen--form { transform: translateX(0); opacity: 1; pointer-events: auto; }
.project-invitation { padding-block: clamp(95px, 12vw, 220px); }
.project-invitation > .eyebrow { color: var(--muted); margin-bottom: 35px; }
.invitation-row { display: flex; justify-content: space-between; align-items: center; gap: 45px; }
.invitation-row h2 { font-size: clamp(50px, 7.3vw, 140px); }
.round-link { position: relative; isolation: isolate; display: grid; place-items: center; width: clamp(90px, 12vw, 225px); height: clamp(90px, 12vw, 225px); flex-shrink: 0; overflow: hidden; border: 1px solid #777; border-radius: 50%; background: transparent; transition: background .5s, color .5s, border-color .5s, box-shadow .55s var(--ease); }
.round-link::before { content: ""; position: absolute; z-index: -1; inset: 11%; border: 1px solid rgba(245,245,242,.22); border-radius: inherit; opacity: 0; transform: scale(.72); transition: opacity .45s var(--ease), transform .7s var(--ease); }
.round-link > span { font-size: clamp(52px, 6.5vw, 120px); line-height: 1; transition: rotate .6s var(--ease), transform .6s var(--ease); }
.round-link:hover { background: var(--paper); color: var(--background); border-color: var(--paper); box-shadow: 0 20px 70px rgba(245,245,242,.08); }
.round-link:hover::before { opacity: .38; transform: scale(1.12); border-color: rgba(10,10,10,.25); }
.round-link:hover > span { rotate: 45deg; transform: translateX(3%); }
.project-invitation > .text-link { margin-top: 32px; }
.contact { display: grid; grid-template-columns: clamp(90px, 10vw, 180px) minmax(230px, .78fr) minmax(360px, 1.15fr); gap: clamp(30px, 4.8vw, 88px); align-items: start; background: var(--surface); }
.project-flow-back { align-self: center; justify-self: start; width: clamp(82px, 9vw, 155px); height: clamp(82px, 9vw, 155px); }
.project-flow-back > span { font-size: clamp(44px, 5vw, 86px); }
.project-flow-back > span { transform-origin: 50% 50%; }
.project-flow-back:hover > span, .project-flow-back:focus-visible > span { rotate: 45deg; transform: translateX(-10%); }
.contact-copy .eyebrow { color: var(--muted); margin-bottom: 35px; }
.contact-copy h2 { font-size: clamp(50px, 6vw, 112px); }
.contact-copy > p:not(.eyebrow) { max-width: 285px; color: #aaa; font-size: 13px; line-height: 1.9; margin-top: 28px; }
.contact-copy .text-link { margin-top: 21px; }
.contact-form { padding-top: 5px; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; }
.field { margin-bottom: 34px; }
.field label { display: block; font-size: 11px; margin-bottom: 8px; }
.field label > span { color: var(--muted); font-size: 9px; }
.field input, .field select, .field textarea { width: 100%; display: block; border: 0; border-radius: 0; border-bottom: 1px solid #545450; background: transparent; color: var(--text); font-size: 12px; line-height: 1.65; padding: 13px 0; transition: border-color .3s; }
.field input::placeholder, .field textarea::placeholder { color: #81817d; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 1px 0 var(--text); }
.field select { cursor: pointer; }
.field select option { color: var(--text); background: var(--surface); }
.field textarea { resize: vertical; min-height: 120px; max-height: 500px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-footer > span { font-size: 8px; color: var(--muted); }
.submit-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 40px; padding: 17px 21px; background: var(--paper); color: var(--background); border: 1px solid var(--paper); font-size: 12px; transition: background .35s, color .35s; }
.submit-button:hover:not(:disabled) { background: transparent; color: var(--text); }
.submit-button > span { font-size: 19px; transition: transform .4s var(--ease); }
.submit-button:hover > span { transform: translate(4px, -4px); }
#form-status { font-size: 10px; line-height: 1.8; color: var(--muted); min-height: 36px; margin-top: 19px; }
#form-status[data-state="error"] { color: var(--text); border-left: 2px solid currentColor; padding-left: 12px; }
.contact-form noscript { font-size: 12px; line-height: 1.7; }


html:not(.js) .project-flow-screen--form { margin-top: 1px; }

/* 9. Stopka */
.site-footer { padding-block: 60px 25px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; font-size: 12px; line-height: 1.8; }
.footer-top > p { color: var(--muted); }
.footer-links { display: flex; align-items: start; gap: 35px; }
.footer-links a { border-bottom: 1px solid transparent; padding-bottom: 7px; }
.footer-links a:hover { border-color: currentColor; }
#social-status { min-height: 0; font-size: 11px; color: var(--muted); line-height: 1.8; }
#social-status:not(:empty) { margin-top: 20px; }
.footer-wordmark-row { display: grid; grid-template-columns: minmax(0, 1fr) clamp(390px, 28vw, 560px); gap: clamp(4px, 1vw, 18px); align-items: center; padding-top: 65px; }
.footer-wordmark { min-width: 0; width: 100%; line-height: 0; filter: drop-shadow(0 14px 32px rgba(255,255,255,.035)); }
.footer-wordmark img { display: block; width: 100%; height: auto; }
.footer-sculpture { position: relative; width: 100%; aspect-ratio: 1; align-self: center; justify-self: end; margin-bottom: 0; opacity: .94; pointer-events: none; transform: translate(-7%, -1%) rotate(7deg) scale(1.52); transform-origin: center; filter: drop-shadow(0 28px 56px rgba(0,0,0,.34)); }
.footer-sculpture::before { content: ""; position: absolute; inset: 12%; background: radial-gradient(circle, rgba(245,245,242,.055), transparent 68%); }
.footer-sculpture .glass-sculpture { position: absolute; inset: 0; width: 100%; height: 100%; }
.footer-sculpture .aperture-layer { animation-duration: 11s; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; gap: 25px; align-items: center; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 20px; color: var(--muted); font-size: 8px; letter-spacing: .02em; }
.footer-bottom > span:last-child { justify-self: end; }
.footer-controls { justify-self: center; display: inline-flex; align-items: center; gap: clamp(24px, 2.5vw, 44px); padding: 0 clamp(16px, 1.8vw, 28px); }
.footer-controls a, #motion-toggle { position: relative; border: 0; background: none; padding: 7px 0 9px; transition: color .3s ease, transform .35s var(--ease), opacity .3s ease; }
.footer-controls a { font-size: clamp(11px, .74vw, 13px); font-weight: 500; letter-spacing: -.015em; color: rgba(245,245,242,.94); }
.footer-controls a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(.28); transform-origin: left; opacity: .42; transition: transform .45s var(--ease), opacity .3s ease; }
.footer-controls a:hover { color: #fff; transform: translateY(-2px); }
.footer-controls a:hover::after { transform: scaleX(1); opacity: .78; }
#motion-toggle { cursor: pointer; font-size: 9px; letter-spacing: .01em; color: #8d8d88; border-bottom: 1px solid rgba(141,141,136,.28); }
#motion-toggle:hover { color: #cfcfca; transform: translateY(-1px); border-bottom-color: rgba(207,207,202,.62); }
#project-cursor { display: none; }

/* 10. Animacje: kompozycja działa też przed uruchomieniem JavaScript. */
.js .entrance, .js .reveal { opacity: 0; translate: 0 38px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .is-loaded .entrance, .js .reveal.is-visible { opacity: 1; translate: 0 0; }
.js .hero-title .line > span { transform: translateY(115%); transition: transform 1.2s var(--ease); }
.js .is-loaded .hero-title .line > span { transform: none; transition-delay: var(--line-delay, 0s); }
.js .text-reveal .line > span { transform: translateY(115%); transition: transform 1.05s var(--ease); transition-delay: var(--line-delay, 0s); }
.js .text-reveal.is-visible .line > span { transform: none; }
@keyframes aperture-breathe {
  from { transform: rotate(var(--angle)) scale(var(--scale)); }
  to { transform: rotate(calc(var(--angle) + var(--turn))) scale(var(--scale)); }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes scroll-cue { 0%, 100% { transform: translateY(-3px); } 55% { transform: translateY(4px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes detail-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
.is-background *, .is-background *::before, .is-background *::after { animation-play-state: paused !important; }
.motion-paused .entrance, .motion-paused .reveal { opacity: 1 !important; translate: 0 0 !important; }
.motion-paused .line > span { transform: none !important; }
.motion-paused .glass-sculpture, .motion-paused .hero-art, .motion-paused [data-parallax], .motion-paused [data-magnetic] { transform: none !important; }
.motion-paused .studio-stamp { transform: rotate(-5deg) !important; }
.motion-paused .studio-stamp::after { display: none !important; }
.motion-paused .studio-stamp-wordmark { opacity: 1 !important; clip-path: inset(0) !important; transform: none !important; }
.motion-paused #project-cursor { display: none !important; }
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  #project-cursor { display: grid; position: fixed; top: 0; left: 0; z-index: 80; width: 76px; height: 76px; place-items: center; border-radius: 50%; background: #f5f5f2; color: #0a0a0a; font-size: 9px; font-weight: 600; letter-spacing: .06em; pointer-events: none; transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0); translate: -50% -50%; opacity: 0; scale: .55; transition: opacity .25s, scale .4s var(--ease); }
  #project-cursor.is-visible { opacity: 1; scale: 1; }
}

/* 11. Laptop i tablet: zmiana proporcji, bez ściskania całej strony. */
@media (min-width: 1921px) {
  .section-shell, .site-header { padding-inline: max(88px, calc((100vw - 1744px) / 2)); }
}
@media (max-width: 1180px) {
  .header-note { display: none; }
  .hero-composition { grid-template-columns: 1.25fr 1fr; gap: 35px; }
  .hero-title { font-size: 6.1vw; }
  .hero-description { grid-template-columns: 1fr; gap: 15px; margin-top: 40px; }
  .hero-index { display: none; }
  .hero-bottom-note { display: none; }
  .services { grid-template-columns: .9fr 1.1fr; gap: 50px; }
  .service-list { padding-inline: 18px; border-radius: 12px; }
  .service-toggle { gap: 15px; }
  .service-toggle > span:nth-child(2) { font-size: 22px; max-width: 10.5ch; }
  .service-panel p, .service-panel div > span { padding-left: 40px; }
  .about-top { grid-template-columns: 1fr 3fr; }
  .about-top h2 { font-size: 5.4vw; }
  .contact { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; }
  .project-flow-back { grid-column: 1 / -1; }
  .form-row { gap: 20px; }
}

/* 12. Telefon: IKU na pełną szerokość, dwie małe zapowiedzi, bez kursora. */
@media (max-width: 760px) {
  :root { --gutter: 25px; }
  html { scroll-padding-top: 84px; }
  .site-header { height: 80px; gap: 20px; }
  .studio-logo { width: 42px; }
  .studio-logo picture, .studio-logo img { width: 42px; height: 42px; object-fit: contain; }
  .js .menu-toggle { display: flex; position: relative; z-index: 2; flex-direction: column; justify-content: center; gap: 7px; border: 0; background: none; width: 44px; height: 44px; padding: 10px 5px; }
  .menu-toggle > span { width: 28px; height: 1px; background: var(--text); transition: transform .45s var(--ease); }
  .menu-open .menu-toggle > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle > span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .js #site-nav { position: fixed; top: 80px; bottom: 0; left: 0; width: 100%; padding: 40px var(--gutter) 65px; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; background: var(--background); visibility: hidden; opacity: 0; transform: translateY(-15px); transition: visibility .35s, opacity .35s, transform .5s var(--ease); }
  /* Blur na rodzicu zmienia obszar odniesienia position: fixed (również Safari).
     Otwarte menu ma własne nieprzezroczyste tło i wysokość widocznego ekranu. */
  .js .menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--background); }
  .js .menu-open #site-nav { visibility: visible; opacity: 1; transform: none; bottom: auto; height: calc(100vh - 80px); height: calc(100dvh - 80px); padding-bottom: max(32px, env(safe-area-inset-bottom)); overscroll-behavior-y: contain; }
  .js #site-nav a { font-size: clamp(36px, 8vw, 56px); padding: 24px 0; gap: 18px; border-bottom: 1px solid var(--line); }
  .js #site-nav sup { font-size: 10px; margin-top: 8px; }
  .js #site-nav .nav-contact { border: 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .js #site-nav a::after { display: none; }
  body.menu-open { overflow: hidden; }
  .section-space { padding-block: 78px; }
  .hero { min-height: calc(100svh - 80px); padding-top: 19px; }
  .hero-top .eyebrow { font-size: 7px; max-width: 145px; }
  .hero-top .eyebrow:last-child { text-align: right; max-width: 130px; }
  .hero-composition { grid-template-columns: 1fr; gap: 46px; padding-top: 55px; padding-bottom: 35px; }
  .hero-title { font-size: 11.4vw; line-height: 1.06; letter-spacing: -.06em; word-spacing: .055em; }
  .hero-description { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-top: 26px; }
  .hero-index { display: block; font-size: 8px; }
  .hero-description p { font-size: 12px; max-width: 340px; }
  .hero-description .text-link { font-size: 11px; min-width: 0; width: 100%; margin-top: 15px; }
  .hero-art { inset: 6% -65% 0 4%; opacity: .56; transform: none; mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.3) 30%, #000 72%); }
  .glass-sculpture { transform: none; }
  .aperture-layer { animation-duration: 12s; }
  .hero-bottom { min-height: 71px; font-size: 8px; }
  .hero-bottom > a { font-size: 7px; gap: 15px; }
  .marquee { padding-block: 23px; }
  .marquee-track { animation-duration: 38s; }
  .marquee-group { gap: 23px; padding-right: 23px; }
  .marquee-group span, .marquee-group i { font-size: 35px; }
  .section-heading { grid-template-columns: 1fr; gap: 27px; margin-bottom: 38px; }
  .section-heading > .eyebrow { margin-top: 0; }
  .section-heading h2 { font-size: 8.8vw; }
  .section-note { grid-column: 1; font-size: 11px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .project-iku { grid-column: 1 / -1; }
  .project-art { height: auto; min-height: 270px; }
  .iku-art { padding: 24px; }
  .iku-wordmark > span:first-child { font-size: clamp(76px, 22vw, 130px); }
  .iku-wordmark > span:last-child { font-size: clamp(28px, 7vw, 44px); }
  .project-hover { display: none; }
  .soon-art { aspect-ratio: auto; min-height: 190px; padding: 16px; }
  .soon-art h3 { font-size: clamp(36px, 8.5vw, 60px); }
  .soon-number, .soon-caption { font-size: 9px; }
  .project-soon .project-meta { display: block; padding-top: 12px; }
  .project-soon .project-meta > span { display: none; }
  .services { grid-template-columns: 1fr; gap: 44px; }
  .services-heading h2 { font-size: 10.3vw; }
  .services-heading > p:last-child { max-width: 300px; font-size: 12px; margin-top: 25px; }
  .services-heading .eyebrow { margin-bottom: 25px; }
  .service-list { padding-inline: 14px; border-radius: 10px; }
  .service-toggle { padding-block: 24px; grid-template-columns: 20px 1fr 20px; gap: 13px; }
  .service-toggle > span:nth-child(2) { font-size: clamp(21px, 5.3vw, 32px); max-width: 10ch; }
  .service-number { font-size: 8px; padding-top: 8px; }
  .service-symbol { font-size: 22px; }
  .service-panel p { font-size: 12px; padding-left: 33px; max-width: 100%; }
  .service-panel div > span { font-size: 7px; padding-left: 33px; }
  .about-top { grid-template-columns: 1fr; gap: 29px; }
  .about-top > .eyebrow { max-width: none; padding: 0; font-size: 8px; }
  .about-top h2 { font-size: 8.25vw; }
  .about-bottom { grid-template-columns: 1fr; gap: 42px; margin-top: 45px; }
  .studio-stamp { display: none; }
  .about-copy { padding: 22px; border-radius: 24px; }
  .about-copy > p { font-size: 17px; }
  .about-copy > p + p { font-size: 12px; }
  .about-copy > span { font-size: 7px; }
  .process-heading { display: block; margin-top: 60px; padding: 17px 19px; border-radius: 22px; }
  .process-heading h3 { font-size: 14px; margin-top: 10px; }
  .process-list { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .process-list li, .process-list li:first-child { min-height: 0; display: grid; grid-template-columns: 37px 1fr; gap: 12px 20px; padding: 22px; border-radius: 22px; }
  .process-list li > span { grid-column: 1; padding-top: 8px; font-size: 8px; }
  .process-list h4 { grid-column: 2; margin: 0; font-size: 27px; }
  .process-list p { grid-column: 2; margin: 0; max-width: 330px; font-size: 12px; }
  .project-invitation { padding-block: 84px; }
  .project-invitation > .eyebrow { font-size: 8px; }
  .invitation-row { position: relative; display: block; }
  .invitation-row h2 { font-size: 9.5vw; }
  .round-link { width: 62px; height: 62px; margin-top: 28px; }
  .round-link > span { font-size: 37px; }
  .project-invitation > .text-link { margin-top: 23px; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .project-flow-back { width: 62px; height: 62px; margin: 0 0 4px; }
  .project-flow-back > span { font-size: 37px; }
  .contact-copy .eyebrow { font-size: 8px; margin-bottom: 25px; }
  .contact-copy h2 { font-size: 12vw; }
  .contact-copy > p:not(.eyebrow) { font-size: 12px; max-width: 300px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .field { margin-bottom: 28px; }
  .field label { font-size: 12px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .footer-top { flex-direction: column; gap: 25px; font-size: 11px; }
  .footer-links { gap: 27px; }
  .footer-wordmark-row { grid-template-columns: minmax(0, 1fr) clamp(175px, 40vw, 270px); gap: 4px; padding-top: 45px; align-items: center; }
  .footer-wordmark { width: 100%; }
  .footer-sculpture { margin-bottom: 0; opacity: .9; transform: translateX(-5%) rotate(5deg) scale(1.28); }
  .footer-bottom { grid-template-columns: 1fr; font-size: 7px; margin-top: 15px; padding-top: 20px; gap: 14px; text-align: center; }
  .footer-bottom > span:first-child, .footer-bottom > span:last-child, .footer-controls { justify-self: center; }
  .footer-controls { order: -1; flex-wrap: wrap; gap: 18px; }
  [data-magnetic], [data-parallax] { transform: none; }
  html:not(.js) .site-header { height: auto; position: static; flex-wrap: wrap; padding-block: 25px; }
  html:not(.js) #site-nav { flex-wrap: wrap; gap: 20px; }
  html:not(.js) #site-nav a { font-size: 11px; }
}
@media (max-width: 360px) {
  :root { --gutter: 21px; }
  .hero-description { grid-template-columns: 1fr; }
  .hero-index { display: none; }
  .hero-description .text-link { width: auto; gap: 50px; }
  .hero-art { inset-inline: -2% -75%; }
  .iku-address { flex-wrap: wrap; gap: 12px; }
  .form-footer { gap: 12px; }
  .submit-button { padding-inline: 15px; gap: 24px; }
  .footer-wordmark-row { grid-template-columns: minmax(0, 1fr) 40vw; gap: 2px; }
  .footer-wordmark { width: 100%; }
}


/* Ustawienie systemowe ma pierwszeństwo przed dekoracyjnymi efektami. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
  .js .entrance, .js .reveal { opacity: 1; translate: 0 0; }
  .js .hero-title .line > span, .js .text-reveal .line > span { transform: none; }
  [data-magnetic], [data-parallax], .hero-art, .glass-sculpture { transform: none !important; }
  .studio-stamp { transform: rotate(-5deg) !important; }
  .studio-stamp::after { display: none !important; }
  .studio-stamp-wordmark { opacity: 1 !important; clip-path: inset(0) !important; transform: none !important; }
  #project-cursor { display: none !important; }
}


/* Prywatność formularza */
.privacy-note {
  margin-top: 18px;
  max-width: 560px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}
@media (max-width: 760px) {
  .privacy-note { font-size: 11px; line-height: 1.5; margin-top: 16px; }
  .footer-links a, .footer-controls a, #motion-toggle { min-height: 44px; display: inline-flex; align-items: center; }
}
/* Hero i szklana markiza — wariant z folderu fxc-lab test. */
.motion-paused .hero-brand-reveal { --hero-reveal: 1 !important; --hero-reveal-right: 0% !important; --hero-symbol-opacity: 0 !important; --hero-symbol-scale: .62 !important; --hero-symbol-x: -82px !important; --hero-full-opacity: 1 !important; --hero-full-scale: 1 !important; --hero-full-x: 0px !important; --hero-aura-opacity: .45 !important; --hero-scan-opacity: 0 !important; }
.motion-paused .hero-brand-scan { opacity: 0 !important; }
@media (max-width: 1180px) {
  .hero-composition { grid-template-columns: 1.08fr 1fr; gap: 24px; }
  .hero-title { font-size: 6.1vw; }
  .hero-description { grid-template-columns: 1fr; gap: 15px; margin-top: 40px; }
  .hero-index { display: none; }
  .hero-bottom-note { display: none; }
}
@media (max-width: 760px) {
  .hero { min-height: calc(100svh - 80px); padding-top: 19px; }
  .hero-top .eyebrow { font-size: 7px; max-width: 145px; }
  .hero-top .eyebrow:last-child { text-align: right; max-width: 130px; }
  .hero-composition { grid-template-columns: 1fr; gap: 46px; padding-top: 55px; padding-bottom: 35px; }
  .hero-animation-slot { min-height: 340px; margin-right: 0; }
  .hero-brand-reveal { width: 100%; min-height: 360px; padding: 8px 0 0; cursor: pointer; }
  .hero-brand-stage { min-height: 315px; }
  .hero-brand-symbol { width: min(78vw, 330px); }
  .hero-brand-full { width: min(92vw, 620px); }
  .hero-brand-hint { font-size: 7px; padding-top: 12px; }
  .hero-brand-hint > span:first-child::before { content: "TAP / "; }
  .hero-title { font-size: 11.4vw; line-height: 1.06; letter-spacing: -.06em; word-spacing: .055em; }
  .hero-description { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-top: 26px; }
  .hero-index { display: block; font-size: 8px; }
  .hero-description p { font-size: 12px; max-width: 340px; }
  .hero-description .text-link { font-size: 11px; min-width: 0; width: 100%; margin-top: 15px; }
  .hero-art { inset: 6% -65% 0 4%; opacity: .56; transform: none; mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.3) 30%, #000 72%); }
  .hero-bottom { min-height: 71px; font-size: 8px; }
  .hero-bottom > a { font-size: 7px; gap: 15px; }
  .marquee { width: calc(100% - 8px); margin: 10px 4px; padding-block: 12px; border-radius: 0; }
  .marquee-track { animation-duration: 38s; }
  .marquee-group { gap: 20px; padding-right: 20px; }
  .marquee-group span { font-size: 24px; }
  .marquee-group i { font-size: 23px; }
}
@media (max-width: 360px) {
  .hero-description { grid-template-columns: 1fr; }
  .hero-index { display: none; }
  .hero-description .text-link { width: auto; gap: 50px; }
  .hero-art { inset-inline: -2% -75%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-brand-reveal { --hero-reveal: 1 !important; --hero-reveal-right: 0% !important; --hero-symbol-opacity: 0 !important; --hero-symbol-scale: .62 !important; --hero-symbol-x: -82px !important; --hero-full-opacity: 1 !important; --hero-full-scale: 1 !important; --hero-full-x: 0px !important; --hero-aura-opacity: .35 !important; --hero-scan-opacity: 0 !important; }
  .hero-brand-scan { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-reveal { --hero-reveal: 1 !important; --hero-reveal-right: 0% !important; --hero-symbol-opacity: 0 !important; --hero-symbol-scale: .62 !important; --hero-symbol-x: -82px !important; --hero-full-opacity: 1 !important; --hero-full-scale: 1 !important; --hero-full-x: 0px !important; --hero-aura-opacity: .35 !important; --hero-scan-opacity: 0 !important; }
  .hero-brand-scan { display: none !important; }
}
/* Formularz: nagłówek odsłania się przy każdym otwarciu, po rozpoczęciu przesunięcia panelu. */
.footer-links--top { margin-left: auto; }
.js #contact-title .line > span {
  transform: translateY(115%);
  opacity: 0;
  transition: none;
}
.js .is-form-open #contact-title .line > span {
  transform: translateY(0);
  opacity: 1;
  transition: transform .95s var(--ease), opacity .7s ease;
  transition-delay: .35s;
}
.js .is-form-open #contact-title .line:nth-child(2) > span { transition-delay: .5s; }
.js .motion-paused #contact-title .line > span { transform: none; opacity: 1; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .js #contact-title .line > span { transform: none; opacity: 1; transition: none; }
}

/* Strzałki SVG: kierunek zapisany w geometrii, niezależnie od animacji i fontów iOS. */
.ui-arrow {
  display: inline-block;
  width: 1em;
  height: 1em;
  min-width: 14px;
  min-height: 14px;
  flex: 0 0 auto;
  vertical-align: -.15em;
  line-height: 1;
}
.ui-arrow > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.round-link .ui-arrow > svg { stroke-width: 1.25; }
.footer-controls a, .footer-links a { gap: 6px; }
.text-link > .ui-arrow, .submit-button > .ui-arrow { transition: transform .45s var(--ease); }
.text-link:hover > .ui-arrow, .submit-button:hover > .ui-arrow { transform: translate(4px, -4px); }
.text-link:hover > .ui-arrow-se { transform: translate(4px, 4px); }

/* 12. Language switch — compact, brand-neutral and shared by desktop/mobile nav. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.mobile-lang-switch { display: none; }
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #777772;
  padding: 15px 0;
  font: inherit;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .3s ease, opacity .3s ease;
}
.lang-switch button:hover,
.lang-switch button:focus-visible { color: #d8d8d3; }
.lang-switch button[aria-pressed="true"] { color: var(--text); }
.lang-switch .lang-divider { color: #4c4c48; font-size: 8px; }

/* Polish copy is naturally wider; keep the same composition without clipping. */
html[lang="pl"] .hero-title { font-size: clamp(49px, 5.65vw, 108px); }
html[lang="pl"] #about-title { letter-spacing: -.055em; }

@media (max-width: 760px) {
  /* Language stays visible in the mobile header instead of being hidden inside the menu. */
  .mobile-lang-switch {
    display: inline-flex;
    margin-left: auto;
    gap: 5px;
    align-self: center;
  }
  .mobile-lang-switch button {
    min-width: 24px;
    min-height: 40px;
    padding: 0 2px;
    font-size: 9px;
    letter-spacing: .09em;
  }
  .mobile-lang-switch .lang-divider { font-size: 8px; }
  .js #site-nav > .lang-switch { display: none; }
  html[lang="pl"] .hero-title { font-size: clamp(45px, 12vw, 68px); }
}
