@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #172d43;
  --navy-deep: #0e1d2d;
  --copper: #ba7a52;
  --copper-deep: #965a37;
  --copper-light: #dba682;
  --paper: #f4f2ee;
  --ink-soft: #4b5c6d;
  --line: rgba(23, 45, 67, .14);
  --line-light: rgba(255, 255, 255, .13);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wipe: cubic-bezier(.7, 0, .2, 1);
  --wrap: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --sec: clamp(80px, 9vw, 136px);
  --slant: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
strong { font-weight: 600; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
::selection { background: var(--copper); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* ---------- Typografia ---------- */
.tag {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .38em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 26px;
}
.tag::before { content: ""; width: 46px; height: 9px; flex: none; background: var(--copper); clip-path: var(--slant); }
.dark .tag { color: rgba(255, 255, 255, .82); }
.h2 { font-size: clamp(36px, 4.6vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; }
.dark .h2 { color: #fff; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; }
.section-head { margin-bottom: clamp(48px, 6vw, 84px); }
.section-head.split { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.section-lead { font-size: 17px; color: var(--ink-soft); max-width: 480px; }
.dark .section-lead { color: rgba(255, 255, 255, .7); }

/* ---------- Przyciski ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 34px 18px 28px; font-weight: 600; font-size: 15px; letter-spacing: .03em;
  text-decoration: none; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform .55s var(--wipe); }
.btn:hover::after { transform: translateX(0); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-copper { background: var(--copper); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
.btn-copper::after { background: var(--copper-deep); }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn-line::after { background: #fff; }
.btn-line:hover { color: var(--navy); }

/* ---------- Wejście ---------- */
.intro { display: none; }
.show-intro .intro { position: fixed; inset: 0; z-index: 200; background: var(--navy-deep); display: grid; place-items: center; pointer-events: none; animation: introOut .9s var(--wipe) 1.25s forwards; }
.intro-mark { width: min(220px, 46vw); overflow: visible; }
.intro-mark path { fill: #fff; opacity: 0; }
.intro-mark .i1 { animation: piece .7s var(--ease-out) .05s forwards; --from: translate(-40px, 0); }
.intro-mark .i3 { animation: piece .7s var(--ease-out) .2s forwards; --from: translate(0, -40px); }
.intro-mark .i4 { animation: piece .7s var(--ease-out) .35s forwards; --from: translate(-40px, 0); }
.intro-mark .i2 { fill: var(--copper); animation: piece .7s var(--ease-out) .55s forwards; --from: translate(40px, 0); }
@keyframes piece { from { opacity: 0; transform: var(--from); } to { opacity: 1; transform: none; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.show-intro { --intro: 1.3s; }
.hero-title .line > span, .hero-img, .hero .guides span { animation-delay: calc(var(--d, 0s) + var(--intro, 0s)) !important; }
.hero-title .line > span { --d: .2s; }
.hero-title .line:nth-child(2) > span { --d: .35s; }
.hero-title .line:nth-child(3) > span { --d: .5s; }
.hero-title .line:nth-child(4) > span { --d: .65s; }
.js .hero .reveal { transition-delay: calc(var(--d, .6s) + var(--intro, 0s)) !important; }
.js .hero .reveal[data-delay="3"] { --d: .55s; }
.js .hero .reveal[data-delay="4"] { --d: .7s; }
.js .hero .reveal[data-delay="5"] { --d: .9s; }
.js .hero .reveal[data-delay="6"] { --d: 1s; }
.js .hero .reveal[data-delay="7"] { --d: 1.1s; }
.js .hero .tag.reveal { --d: .1s; }

/* ---------- Linie siatki ---------- */
.guides { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; z-index: 1; }
.guides span { border-left: 1px solid var(--line-light); opacity: .4; transform-origin: top; animation: lineIn 1.8s var(--ease-out) both; }
.guides span:last-child { position: absolute; right: var(--pad); top: 0; bottom: 0; }
.guides span:nth-child(2) { animation-delay: .12s; }
.guides span:nth-child(3) { animation-delay: .24s; }
.guides span:nth-child(4) { animation-delay: .36s; }
@keyframes lineIn { from { transform: scaleY(0); } }

/* ---------- Nagłówek ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 96px; transition: height .4s var(--ease); }
.top.is-solid { background: rgba(255, 255, 255, .97); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.top.is-solid .top-in { height: 72px; }
.top.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand-mark { width: 54px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; text-transform: uppercase; }
.b1 { font-size: 9.5px; font-weight: 600; letter-spacing: .44em; }
.b2 { font-size: 21px; font-weight: 800; letter-spacing: .02em; margin: 3px 0; }
.b3 { font-size: 7.5px; font-weight: 600; letter-spacing: .34em; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 42px); }
.menu a { position: relative; text-decoration: none; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; }
.menu a:not(.menu-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px; background: var(--copper); clip-path: var(--slant); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.menu a:not(.menu-cta):hover::after, .menu a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-cta { padding: 12px 22px !important; background: var(--copper); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background .3s; }
.menu-cta:hover { background: var(--copper-deep); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-img { width: 100%; height: 116%; object-fit: cover; object-position: 50% 40%; animation: heroIn 2.6s var(--ease-out) both; }
@keyframes heroIn { from { scale: 1.14; filter: saturate(.5) brightness(.6); } to { scale: 1; filter: none; } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 29, 45, .9) 0%, rgba(14, 29, 45, .68) 40%, rgba(14, 29, 45, .12) 78%, rgba(14, 29, 45, 0) 100%),
    linear-gradient(0deg, rgba(14, 29, 45, .85) 0%, rgba(14, 29, 45, 0) 35%),
    linear-gradient(180deg, rgba(14, 29, 45, .55) 0%, rgba(14, 29, 45, 0) 20%);
}
.hero-in { position: relative; z-index: 2; align-self: end; width: 100%; padding-top: clamp(110px, 14vh, 150px); padding-bottom: clamp(36px, 6vh, 72px); }
.hero-title { font-size: clamp(40px, min(5.8vw, 9.2vh), 92px); line-height: 1; font-weight: 800; letter-spacing: -.025em; max-width: 13em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease-out) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: .35s; }
.hero-title .line:nth-child(2) > span { animation-delay: .5s; }
.hero-title .line:nth-child(3) > span { animation-delay: .65s; }
.hero-title em { font-style: normal; color: var(--copper-light); }
@keyframes rise { to { transform: translateY(0); } }
.hero-lead { margin-top: 28px; max-width: 580px; font-size: clamp(17px, 1.35vw, 19px); color: rgba(255, 255, 255, .84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-foot { position: relative; z-index: 2; border-top: 1px solid var(--line-light); background: rgba(14, 29, 45, .4); backdrop-filter: blur(8px); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; align-items: baseline; gap: 14px; padding: 24px 20px; border-left: 1px solid var(--line-light); }
.stat b { font-size: clamp(26px, 2.5vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.stat > span { font-size: 12px; color: rgba(255, 255, 255, .7); letter-spacing: .08em; text-transform: uppercase; }
.stat-cue { align-items: center; }
.scroll-cue { width: 24px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; position: relative; flex: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--copper-light); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Pasek nazw ---------- */
.ticker { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; height: 52px; display: flex; align-items: center; }
.ticker-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: ticker 80s linear infinite; }
.ticker-track span { font-size: 12.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; color: var(--navy); }
.ticker-track i { width: 22px; height: 6px; background: var(--copper); clip-path: var(--slant); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Zdjęcia: odsłanianie ---------- */
.pic { display: block; position: relative; text-decoration: none; cursor: zoom-in; }
.pic-frame { display: block; position: relative; overflow: hidden; background: var(--paper); aspect-ratio: 16 / 10; clip-path: inset(10% 0 10% 0); transition: clip-path 1.4s var(--ease-out); }
.pic-frame.tall { aspect-ratio: 4 / 5; }
.pic-frame.wide { aspect-ratio: 21 / 9; }
.pic-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); transition: transform 1.8s var(--ease-out), filter .6s var(--ease); }
.pic-frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: -20%; width: 140%; background: var(--copper); clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); transform: translateX(-110%); pointer-events: none; }
.pic.is-in .pic-frame { clip-path: inset(0 0 0 0); }
.pic.is-in .pic-frame img { transform: scale(1); }
.pic.is-in .pic-frame::after { animation: wipe 1.15s var(--wipe) both; }
@keyframes wipe { 0% { transform: translateX(-110%); } 100% { transform: translateX(110%); } }
.pic:hover .pic-frame img { transform: scale(1.04); filter: brightness(.9); }

.cap { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-top: 18px; }
.cap-no { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--copper-deep); }
.cap b { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -.01em; }
.cap i { font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Realizacje ---------- */
.work { padding: var(--sec) 0; }
.feature-full { margin-bottom: clamp(70px, 9vw, 130px); }
.feature-full .pic-frame { aspect-ratio: auto; height: min(82vh, 860px); }
.feature-full .pic-frame img { height: 116%; margin-top: -8%; }
.feature-pair { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(24px, 6vw, 96px); margin-bottom: clamp(56px, 7vw, 104px); align-items: start; }
.feature-pair.reverse { grid-template-columns: 4fr 7fr; }
.fp-low { margin-top: clamp(48px, 7vw, 112px); }
.feature-wide { margin-bottom: clamp(80px, 10vw, 150px); }
.feature-wide .pic-frame img { height: 120%; margin-top: -10%; }

.index-wrap { margin-top: clamp(40px, 5vw, 80px); }
.index-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.index-note { font-size: 14px; color: var(--ink-soft); }
.index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.index a { display: grid; grid-template-columns: 70px 1.3fr 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; transition: padding .45s var(--ease), color .3s; }
.index a::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 6px; margin-top: -3px; background: var(--copper); clip-path: var(--slant); opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .45s var(--ease); }
.index a:hover { padding-left: 30px; }
.index a:hover::before { opacity: 1; transform: none; }
.ix-no { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--copper-deep); }
.ix-name { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.01em; }
.ix-type { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); justify-self: end; }
.credit { margin-top: 26px; font-size: 13px; color: var(--ink-soft); }

.preview { position: fixed; left: 0; top: 0; z-index: 40; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .3s var(--ease); box-shadow: 0 30px 60px -20px rgba(14, 29, 45, .45); }
.preview img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .6s var(--ease-out); }
.preview.is-on { opacity: 1; }
.preview.is-on img { transform: scale(1); }

/* ---------- Pracownia ---------- */
.about { background: var(--paper); padding: var(--sec) 0; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-body .h2 { margin-bottom: 32px; }
.about-body > p + p { margin-top: 20px; color: var(--ink-soft); }
.sheet { position: relative; aspect-ratio: 4 / 5; background: #fff; overflow: hidden; }
.sheet::before { content: ""; position: absolute; inset: 16px; border: 1px solid var(--line); z-index: 1; pointer-events: none; }
.sheet-art { position: absolute; inset: -6% 0; background: var(--navy); -webkit-mask: url("img/rzut.webp") center / 94% auto no-repeat; mask: url("img/rzut.webp") center / 94% auto no-repeat; }
.sheet figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; background: var(--navy); color: #fff; padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.sheet figcaption b { font-size: 16px; font-weight: 600; }
.sheet figcaption span { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--copper-light); }
.rail { list-style: none; margin: clamp(70px, 8vw, 120px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; border-top: 1px solid var(--line); }
.rail::before { content: ""; position: absolute; left: 0; top: -2px; height: 3px; width: calc(var(--rail, 0) * 100%); background: var(--copper); }
.rail li { padding: 30px 28px 0 0; position: relative; }
.rail li::before { content: ""; position: absolute; left: 0; top: -7px; width: 22px; height: 12px; background: var(--navy); clip-path: var(--slant); }
.rail-when { display: block; font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.02em; color: var(--copper-deep); margin-bottom: 10px; }
.rail h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.rail p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Usługi ---------- */
.services { padding: var(--sec) 0; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.svc-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 24px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); transition: padding .45s var(--ease), background .4s; cursor: default; }
.svc-row:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(186, 122, 82, .07), rgba(186, 122, 82, 0) 70%); }
.svc-no { font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--copper-deep); }
.svc-row h3 { font-size: clamp(24px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.svc-row p { color: var(--ink-soft); font-size: 16px; max-width: 520px; }
.display { font-size: clamp(48px, 7vw, 112px); line-height: .98; font-weight: 800; letter-spacing: -.03em; margin-bottom: clamp(48px, 6vw, 84px); }
.hide-sm { display: inline; }

/* ---------- Proces ---------- */
.process { background: var(--paper); padding: var(--sec) 0; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; border-top: 1px solid var(--line); }
.flow::before { content: ""; position: absolute; left: 0; top: -2px; height: 3px; width: calc(var(--rail, 0) * 100%); background: var(--copper); }
.flow li { padding: 34px 28px 0 0; position: relative; }
.flow li::before { content: ""; position: absolute; left: 0; top: -7px; width: 22px; height: 12px; background: var(--navy); clip-path: var(--slant); }
.flow-no { display: block; font-size: clamp(44px, 4.6vw, 68px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--copper); margin-bottom: 22px; }
.flow h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.flow p { color: var(--ink-soft); font-size: 15.5px; }
.drawing { margin-top: clamp(56px, 7vw, 96px); position: relative; }
.drawing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper), rgba(244, 242, 238, 0) 10%, rgba(244, 242, 238, 0) 90%, var(--paper)); pointer-events: none; }
.drawing-art { height: clamp(90px, 15vw, 210px); background: var(--navy); opacity: .5; -webkit-mask: url("img/schemat.webp") center / auto 100% repeat-x; mask: url("img/schemat.webp") center / auto 100% repeat-x; }
.js-scrub .drawing-art { clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0); }

/* ---------- Archiwum ---------- */
.archive { background: var(--navy); color: #fff; padding: var(--sec) 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.card { background: var(--navy); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; transition: background .5s var(--ease); }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--copper); clip-path: var(--slant); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.card:hover { background: #1c3550; }
.card:hover::after { transform: scaleX(1); }
.card-big { grid-row: span 2; justify-content: flex-start; }
.card-y { font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.02em; color: var(--copper-light); line-height: 1; }
.card-k { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.card h3 { font-size: 20px; font-weight: 600; margin-top: 12px; }
.card-big h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.card p { color: rgba(255, 255, 255, .72); font-size: 15.5px; }
.card-fig { margin-top: auto; padding-top: 40px; font-size: clamp(90px, 10vw, 150px); font-weight: 800; letter-spacing: -.05em; line-height: .85; color: #fff; display: flex; align-items: flex-end; gap: 14px; }
.card-fig small { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--copper-light); padding-bottom: 10px; }

/* ---------- Kontakt ---------- */
.contact { position: relative; background: var(--navy-deep); color: #fff; padding: calc(var(--sec) * 1.2) 0 var(--sec); overflow: hidden; }
.contact .guides span { animation: none; }
.contact-in { position: relative; z-index: 2; }
.contact-title { font-size: clamp(46px, 7.6vw, 120px); line-height: .98; font-weight: 800; letter-spacing: -.03em; }
.contact-lead { margin-top: 30px; max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, .75); }
.mail { display: inline-flex; align-items: center; gap: 20px; margin-top: 50px; text-decoration: none; font-size: clamp(26px, 4vw, 56px); font-weight: 600; letter-spacing: -.02em; color: var(--copper-light); position: relative; padding-bottom: 10px; }
.mail::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--copper); transform-origin: left; transition: transform .55s var(--wipe); }
.mail:hover::after { transform: scaleX(.25); }
.mail .arrow { transition: transform .4s var(--ease); }
.mail:hover .arrow { transform: translateX(10px); }
.contact-cols { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line-light); }
.contact-cols > div { padding: 28px 20px 0 0; }
.contact-cols > div + div { padding-left: 20px; border-left: 1px solid var(--line-light); }
@media (hover: none) { .index-note { display: none; } }
.contact-cols h3 { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 12px; }
.contact-cols p { color: rgba(255, 255, 255, .8); font-size: 15.5px; }

/* ---------- Stopka ---------- */
.foot { background: var(--navy-deep); color: rgba(255, 255, 255, .55); border-top: 1px solid var(--line-light); }
.foot .brand { color: #fff; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 34px; padding-bottom: 34px; flex-wrap: wrap; }
.foot p { font-size: 13px; max-width: 620px; }

/* ---------- Podgląd zdjęć ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(9, 19, 30, .95); display: grid; place-items: center; padding: 60px 90px; opacity: 0; transition: opacity .35s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { max-width: 1400px; width: 100%; transform: scale(.97); transition: transform .45s var(--ease-out); }
.lightbox.is-open figure { transform: none; }
.lightbox img { width: 100%; max-height: calc(100svh - 170px); object-fit: contain; }
.lightbox figcaption { display: flex; gap: 16px; align-items: baseline; margin-top: 18px; color: #fff; }
.lightbox figcaption b { font-size: 20px; font-weight: 600; }
.lightbox figcaption span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-light); }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; width: 52px; height: 52px; font-size: 22px; cursor: pointer; transition: background .3s, border-color .3s; }
.lightbox button:hover { background: var(--copper); border-color: var(--copper); }
.lb-close { top: 20px; right: 20px; font-size: 30px !important; }
.lb-prev { left: 18px; top: 50%; margin-top: -26px; }
.lb-next { right: 18px; top: 50%; margin-top: -26px; }

/* ---------- Pojawianie się ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
.js .hero .reveal { transition-duration: 1.2s; }
.js .hero .reveal[data-delay="3"] { transition-delay: .95s; }
.js .hero .reveal[data-delay="4"] { transition-delay: 1.1s; }
.js .hero .reveal[data-delay="5"] { transition-delay: 1.3s; }
.js .hero .reveal[data-delay="6"] { transition-delay: 1.4s; }
.js .hero .reveal[data-delay="7"] { transition-delay: 1.5s; }
html:not(.js) .pic-frame { clip-path: none; }
html:not(.js) .pic-frame img { transform: none; }

/* ---------- Mniejsze ekrany ---------- */
@media (max-width: 1080px) {
  .index a { grid-template-columns: 56px 1.4fr 1fr; }
  .contact-cols { grid-template-columns: repeat(2, 1fr); }
  .contact-cols > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card-big { grid-row: span 1; grid-column: span 2; }
}
@media (max-width: 900px) {
  .top-in, .top.is-solid .top-in { height: 64px; }
  .brand-mark { width: 44px; height: 31px; }
  .b2 { font-size: 18px; }
  .burger { display: block; z-index: 2; }
  .menu { position: fixed; inset: 0; background: var(--navy-deep); color: #fff; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding: 0 var(--pad); clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-out); }
  .menu a { font-size: 30px; letter-spacing: -.01em; text-transform: none; font-weight: 600; }
  .menu-cta { font-size: 20px !important; margin-top: 12px; }
  .nav-open .menu { clip-path: inset(0 0 0 0); }
  .nav-open .top { color: #fff; background: transparent; box-shadow: none; }
  .nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
  .nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
  .section-head.split { grid-template-columns: 1fr; gap: 22px; }
  .about-grid { grid-template-columns: 1fr; }
  .about .sheet { order: 2; aspect-ratio: 1 / 1; }
  .rail { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .feature-pair, .feature-pair.reverse { grid-template-columns: 1fr; gap: 48px; }
  .fp-low { margin-top: 0; }
  .feature-full .pic-frame { height: 62vh; }
  .svc-row { grid-template-columns: 56px 1fr; }
  .svc-row p { grid-column: 2; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-cue { display: none; }
  .preview { display: none; }
}
@media (max-width: 760px) {
  .guides { display: none; }
  .hide-sm { display: none; }
  .rail, .flow { grid-template-columns: 1fr; row-gap: 0; border-top: 0; border-left: 1px solid var(--line); margin-left: 6px; }
  .rail::before, .flow::before { left: -2px; top: 0; width: 3px; height: calc(var(--rail, 0) * 100%); }
  .rail li, .flow li { padding: 0 0 36px 26px; }
  .rail li::before, .flow li::before { left: -7px; top: 6px; width: 12px; height: 12px; }
  .flow-no { font-size: 40px; margin-bottom: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .tag { font-size: 11px; letter-spacing: .2em; gap: 12px; }
  .tag::before { width: 32px; height: 7px; }
  .hero-in { padding-top: 100px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat { flex-direction: column; gap: 2px; padding: 16px 14px; }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .stat:nth-child(3) { display: none; }
  .pic-frame.wide { aspect-ratio: 4 / 3; }
  .index a { grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 16px 0; }
  .ix-type { grid-column: 2; justify-self: start; }
  .index a:hover { padding-left: 0; }
  .svc-row { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .svc-row h3 { margin-top: 4px; }
  .svc-row p { grid-column: 1; }
  .svc-row:hover { padding-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .card-big { grid-column: span 1; }
  .contact-cols { grid-template-columns: 1fr; border-top: 0; }
  .contact-cols > div, .contact-cols > div + div { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-title .line > span { transform: none; }
  .ticker-track { animation: none; }
  .intro { display: none !important; }
}
