:root {
  --bg: #1b1a1b;
  --bg-deep: #131213;
  --bg-soft: #232122;
  --surface: #2a2728;
  --ink: #fffaf3;
  --muted: #b7b0aa;
  --line: rgba(255, 250, 243, .13);
  --accent: #f69f1c;
  --accent-soft: #ffb64a;
  --accent-ink: #292425;
  --logo-charcoal: #343233;
  --display: "Space Grotesk", "Manrope", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --left-col: 39vw;
  --header-h: 112px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1 em, h2 em, h3 em, .big-copy em, .role-intro em { font-style: normal; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.accent { color: var(--accent); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Kurtyna otwarcia ---------- */
.intro-veil { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--bg-deep); animation: veilOut .65s cubic-bezier(.7,0,.3,1) 1.05s forwards; }
.intro-veil img { width: 72px; height: auto; opacity: 0; animation: veilLogo .75s cubic-bezier(.2,.7,.2,1) .1s forwards; }
.intro-veil::after { content: ""; position: absolute; left: 50%; bottom: 34%; width: 0; height: 2px; background: var(--accent); transform: translateX(-50%); animation: veilLine .6s ease .45s forwards; }
@keyframes veilLogo { from { opacity: 0; transform: translateY(16px) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes veilLine { to { width: 118px; } }
@keyframes veilOut { to { transform: translateY(-100%); } }

.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 250; height: 3px; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--accent); box-shadow: 0 0 18px rgba(246,159,28,.8); }
.cursor-glow {
  position: fixed; z-index: 0; width: 410px; height: 410px; border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%); opacity: .15;
  background: radial-gradient(circle, rgba(246,159,28,.36), transparent 68%);
  mix-blend-mode: screen;
}
.noise {
  position: fixed; inset: 0; z-index: 210; pointer-events: none; opacity: .035;
  background-image: repeating-radial-gradient(circle at 0 0, transparent 0, #fff 1px, transparent 2px, transparent 4px);
  background-size: 7px 7px;
  mix-blend-mode: soft-light;
}

.topbar {
  position: fixed; z-index: 100; top: 0; right: 0; left: var(--left-col); height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(44px, 7vw, 105px) 0 clamp(52px, 8vw, 124px);
  background: linear-gradient(180deg, rgba(27,26,27,.96) 0%, rgba(27,26,27,.68) 64%, transparent 100%);
}
.brand { display: inline-flex; align-items: center; width: clamp(120px, 10vw, 154px); transition: opacity .25s ease; }
.brand:hover { opacity: .72; }
.brand img { display: block; width: 100%; height: auto; }
.brand-symbol { display: none !important; }
.header-actions { display: flex; gap: 12px; }
.header-actions a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  color: var(--accent-ink); background: var(--ink); font-size: 12px; font-weight: 800;
  transition: transform .25s ease, background .25s ease;
}
.header-actions a:hover { transform: translateY(-4px) rotate(-5deg); background: var(--accent); }
.menu-toggle { display: none; border: 0; color: var(--ink); background: transparent; }

.site-nav {
  position: fixed; z-index: 120; right: 17px; top: 50%; display: flex; flex-direction: column; gap: 10px;
  transform: translateY(-50%);
}
.site-nav a { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 24px; }
.site-nav a span {
  position: absolute; right: 28px; width: max-content; padding: 5px 9px; border-radius: 4px;
  color: var(--accent-ink); background: var(--accent); font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.site-nav a i { display: block; width: 8px; height: 8px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; transition: .25s ease; }
.site-nav a:hover span, .site-nav a.active span { opacity: 1; transform: none; }
.site-nav a:hover i, .site-nav a.active i { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px rgba(246,159,28,.12); }

main { position: relative; z-index: 1; display: grid; grid-template-columns: var(--left-col) 1fr; }
.profile-panel {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 3vw, 54px); overflow: hidden; border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 0 10%, rgba(246,159,28,.12), transparent 34%),
    linear-gradient(140deg, rgba(255,255,255,.025), transparent 48%), var(--bg);
}
.profile-panel::after {
  content: ""; position: absolute; left: -90px; bottom: -90px; width: 260px; height: 260px;
  border: 1px solid rgba(246,159,28,.18); border-radius: 50%; box-shadow: 0 0 0 32px rgba(246,159,28,.025), 0 0 0 64px rgba(246,159,28,.018);
}
.portrait-frame {
  position: relative; align-self: center; width: min(100%, 450px); height: clamp(270px, 41vh, 410px);
  border: 1px solid rgba(255,255,255,.55); padding: 18px 18px 0;
  perspective: 1000px;
}
.portrait-frame::before {
  content: ""; position: absolute; inset: 36px -22px -22px 36px; z-index: -1;
  border: 1px solid rgba(246,159,28,.55);
}
.portrait-frame::after {
  content: "PORTRAIT / 2026"; position: absolute; right: -17px; top: 72px; padding: 4px 8px;
  color: var(--accent-ink); background: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: .15em;
  transform: rotate(90deg) translateX(100%); transform-origin: right top;
}
.portrait-image {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 34%;
  filter: saturate(.88) contrast(1.04); transition: transform .25s ease-out; will-change: transform;
}
.portrait-orbit {
  position: absolute; top: -10px; right: -10px; z-index: 4; width: 20px; height: 20px;
  border: 5px solid var(--bg); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 22px rgba(246,159,28,.7);
  animation: orbitPulse 2.3s ease-in-out infinite;
}
@keyframes orbitPulse { 50% { box-shadow: 0 0 0 10px rgba(246,159,28,0), 0 0 28px rgba(246,159,28,.85); } }
.profile-card {
  position: relative; z-index: 3; align-self: center; width: min(94%, 420px); margin-top: -26px;
  padding: clamp(24px, 2.6vw, 38px); color: var(--accent-ink); background: var(--accent);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.profile-card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 58px; height: 58px; border: solid rgba(39,35,36,.28); border-width: 1px 0 0 1px; }
.eyebrow { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .18em; font-size: 9px; font-weight: 800; }
.profile-card h1 { margin: 0 0 12px; font: 600 clamp(39px, 4.1vw, 65px)/.87 var(--display); letter-spacing: -.055em; }
.profile-card p:not(.eyebrow) { margin: 0; max-width: 34ch; font-size: 12px; font-weight: 700; line-height: 1.55; }
.profile-links { display: flex; gap: 22px; margin-top: 17px; }
.profile-links a { border-bottom: 1px solid rgba(0,0,0,.4); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.profile-links a span { margin-left: 3px; }
.profile-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 22px; margin: 22px auto 0; }
.availability { margin: 0; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.availability span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(246,159,28,.1); }
.profile-foot img { width: 72px; height: auto; opacity: .38; }

/* ---------- Lewy panel: pełnoekranowe zdjęcie ---------- */
.profile-panel.fullbleed { display: block; padding: 0; overflow: hidden; background: var(--bg-deep); }
.profile-panel.fullbleed::after { content: none; }
.pp-layers { position: absolute; inset: 0; overflow: hidden; }
.pp-bg, .pp-person { position: absolute; top: -7%; left: -7%; width: 114%; height: 114%; max-width: none; object-fit: cover; object-position: 50% 20%; transition: transform .18s ease-out; will-change: transform; }
.pp-bg { z-index: 1; }
.pp-person { z-index: 2; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.pp-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(19,18,19,.12) 0%, rgba(19,18,19,0) 26%, rgba(19,18,19,.35) 55%, rgba(19,18,19,.9) 100%); }
.pp-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(78px, 12vh, 118px); padding: 0 clamp(28px, 3vw, 54px); }
.pp-eyebrow { margin: 0 0 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 800; }
.pp-content h1 { margin: 0 0 16px; color: var(--ink); font: 700 clamp(38px, 4.3vw, 66px)/.9 var(--display); letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.pp-role { margin: 0; max-width: 32ch; color: #ddd6d0; font-size: 14px; line-height: 1.55; }
.pp-links { display: flex; gap: 26px; margin-top: 22px; }
.pp-links a { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid rgba(246,159,28,.5); color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pp-links a span { transition: transform .3s ease; }
.pp-links a:hover span { transform: translate(3px, -3px); }
.pp-foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(22px, 3.5vh, 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(28px, 3vw, 54px); }
.pp-foot .availability { margin: 0; }
.pp-logo { width: 84px; height: auto; opacity: 1; }
.pp-eyebrow, .pp-role, .pp-links { opacity: 0; transform: translateY(20px); animation: ppIn .85s cubic-bezier(.2,.7,.2,1) forwards; }
.pp-eyebrow { animation-delay: .15s; }
.pp-role { animation-delay: .5s; }
.pp-links { animation-delay: .62s; }
@keyframes ppIn { to { opacity: 1; transform: none; } }
.blur-word { display: inline-block; white-space: nowrap; }
.blur-char { display: inline-block; opacity: 0; transform: translateY(10px); filter: blur(8px); }
.blur-active .blur-char { animation: blurCharIn var(--bd, .6s) ease forwards; animation-delay: var(--cd, 0s); }
@keyframes blurCharIn { to { opacity: 1; transform: none; filter: blur(0); } }

.content-column { min-width: 0; }
.section {
  position: relative; min-height: 100vh; padding: clamp(130px, 11vw, 175px) clamp(52px, 8vw, 124px) clamp(90px, 9vw, 145px);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.section-rail { position: absolute; z-index: 0; left: 31px; top: 175px; bottom: 130px; width: 1px; background: var(--line); }
.section-rail span {
  position: absolute; top: 0; left: -5px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px rgba(246,159,28,.08), 0 0 20px rgba(246,159,28,.45);
}
.rail-fill { position: absolute; top: 0; left: -1px; width: 3px; height: 0; background: var(--accent); box-shadow: 0 0 12px rgba(246,159,28,.55); border-radius: 2px; }
.rail-fill::after { content: ""; position: absolute; left: -4px; bottom: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px rgba(246,159,28,.7); }
.rail-branch { position: absolute; left: 0; height: 2px; background: var(--accent); box-shadow: 0 0 10px rgba(246,159,28,.5); transform: scaleX(0); transform-origin: left center; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.rail-branch.drawn { transform: scaleX(1); }
.rail-branch::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(246,159,28,.7); }
.section-label {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 0;
  border: 0; background: transparent; color: var(--accent);
  text-transform: uppercase; letter-spacing: .22em; font-size: 10px; font-weight: 800;
}
.section-label span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(246,159,28,.12); }
.section h2 { margin: 0; max-width: 900px; font: 500 clamp(48px, 6vw, 90px)/.98 var(--display); letter-spacing: -.055em; }
.section h2 em { color: var(--accent); font-weight: 500; }

.hero { padding-top: clamp(145px, 11vw, 175px); padding-bottom: 0; }
.hero::before { content: none; }
.hero h2 { font-size: clamp(56px, 6.5vw, 98px); }
.hero h2 > span, .hero h2 > em { display: inline-block; }
.hero h2 em.typing::after { content: ""; display: inline-block; width: 2px; height: .78em; margin-left: 7px; background: var(--accent); animation: caretBlink .75s step-end infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.lead { max-width: 830px; margin: 22px 0 0; color: #c9c2bc; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 205px;
  padding: 15px 19px; border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .08em;
  font-size: 9px; font-weight: 800; transition: transform .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-4px); }
.button.primary { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.button.ghost:hover { color: var(--accent-ink); background: var(--ink); }
.stats-orbits { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: clamp(22px, 4vw, 62px); margin-top: clamp(40px, 5vw, 70px); }
.stat-orbit { text-align: center; }
.stat-orbit > div {
  position: relative; display: grid; place-items: center; width: clamp(118px, 11vw, 166px); aspect-ratio: 1; margin: 0 auto;
  border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p, 1) * 1turn), rgba(246,159,28,.1) 0);
  transform: rotate(-38deg); transition: filter .25s ease, transform .35s ease;
}
@property --p { syntax: "<number>"; initial-value: 1; inherits: false; }
.stats-orbits.visible .stat-orbit > div { animation: ringFill 1.2s cubic-bezier(.3,.7,.3,1) forwards; }
@keyframes ringFill { from { --p: 0; } to { --p: 1; } }
.stat-orbit:hover > div { filter: drop-shadow(0 0 18px rgba(246,159,28,.35)); transform: rotate(-28deg) scale(1.04); }
.stat-orbit > div::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--bg); }
.stat-orbit strong { position: relative; z-index: 1; font: 500 clamp(29px, 3.2vw, 48px)/1 var(--display); transform: rotate(38deg); }
.stat-orbit p { margin: 15px 0 0; color: var(--ink); font: 500 clamp(14px, 1.4vw, 18px) var(--display); }
.marquee { position: relative; z-index: 1; left: calc(-1 * clamp(52px, 8vw, 124px)); width: calc(100% + 2 * clamp(52px, 8vw, 124px)); margin-top: 80px; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); }
.marquee div { display: flex; align-items: center; gap: 26px; width: max-content; padding: 17px 0; animation: marqueeMove 20s linear infinite; }
.marquee span { color: #d7d0ca; font-size: clamp(12px, 1.25vw, 17px); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.marquee i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

.about { background: var(--bg-soft); min-height: auto; }
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 7vw; margin-top: 65px; }
.big-copy { margin: 0; font: 500 clamp(18px, 1.9vw, 27px)/1.5 var(--display); letter-spacing: -.015em; }
.body-copy { color: var(--muted); }
.body-copy p { margin: 0 0 20px; }
.value-marquee {
  position: relative; z-index: 1; left: calc(-1 * clamp(52px, 8vw, 124px)); width: calc(100% + 2 * clamp(52px, 8vw, 124px));
  margin-top: 52px; overflow: hidden; background: var(--accent); color: var(--accent-ink);
}
.value-marquee div { display: flex; align-items: center; gap: 26px; width: max-content; padding: 15px 0; animation: valueMarquee 26s linear infinite; }
.value-marquee span { font: 800 clamp(12px, 1.25vw, 17px) var(--sans); text-transform: uppercase; letter-spacing: .16em; }
.value-marquee i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ink); }
@keyframes valueMarquee { to { transform: translateX(-50%); } }

.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 70px; }
.skill-card {
  position: relative; min-height: 315px; padding: 34px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.026), transparent); transform-style: preserve-3d;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.skill-card:hover { transform: translateY(-6px); border-color: rgba(246,159,28,.8); background: rgba(246,159,28,.035); }
.card-number { color: var(--accent); font: 500 13px var(--display); }
.skill-card h3 { margin: 42px 0 14px; font: 500 clamp(25px, 2.5vw, 37px)/1.1 var(--display); }
.skill-card p { margin: 0; color: var(--muted); font-size: 13px; }
.skill-card ul, .case-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 24px 0 0; list-style: none; }
.skill-card li, .case-tags span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: #d5cdc7; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.skill-card.reveal li { opacity: 0; transform: translateY(9px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.skill-card.visible li { opacity: 1; transform: none; }
.skill-card.visible li:nth-child(2) { transition-delay: .07s; }
.skill-card.visible li:nth-child(3) { transition-delay: .14s; }
.skill-card.visible li:nth-child(4) { transition-delay: .21s; }
.skill-card::after { content: ""; position: absolute; right: -45px; top: -45px; width: 110px; height: 110px; border: 1px solid var(--line); border-radius: 50%; }

.experience { background: var(--bg-soft); }
.timeline { margin-top: 80px; border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: minmax(150px, .34fr) 1fr; gap: 36px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.timeline-item.employer { padding-bottom: 52px; }
.time-meta { display: flex; flex-direction: column; gap: 7px; }
.time-meta time { color: var(--accent); font-weight: 800; font-size: 12px; }
.time-meta span { color: var(--muted); font-size: 11px; }
.time-content h3 { margin: 0 0 14px; font: 500 clamp(24px, 2.5vw, 38px)/1.15 var(--display); }
.time-content p { margin: 0; color: var(--muted); }
.catering-stack { display: grid; gap: 18px; padding: 42px 0 58px; border-bottom: 1px solid var(--line); }
.catering-role { position: relative; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); background: var(--bg); overflow: hidden; transition: border-color .35s ease, background .35s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.catering-role:hover { border-color: rgba(246,159,28,.55); background: linear-gradient(135deg, rgba(246,159,28,.07), var(--bg) 55%); transform: translateY(-5px); }
.catering-role::after { content: attr(data-mark); position: absolute; right: -10px; top: -20px; color: rgba(255,255,255,.018); font: 600 150px/1 var(--display); }
.catering-role.featured { border-color: rgba(246,159,28,.48); background: linear-gradient(135deg, rgba(246,159,28,.08), var(--bg) 45%); }
.catering-role header { position: relative; z-index: 1; display: flex; justify-content: flex-start; gap: 16px; align-items: center; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.catering-role header > div { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.role-number { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--accent-ink); background: var(--accent); font-size: 9px; font-weight: 800; }
.catering-role h3 { position: relative; display: inline-block; margin: 0; font: 500 clamp(29px, 3.3vw, 48px)/1 var(--display); }
.from-zero { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 6px 13px; border: 1px solid rgba(246,159,28,.6); border-radius: 999px; color: var(--accent); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.from-zero i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(246,159,28,.15); }
.role-logo { width: auto; max-width: 122px; max-height: 42px; margin-left: auto; object-fit: contain; opacity: .84; }
.catering-role time { margin-left: 18px; }
.broccoli-logo { max-width: 142px; }
.ww-logo { max-width: 116px; }
.catering-role time { color: var(--accent); font-size: 11px; font-weight: 800; white-space: nowrap; }
.role-intro { position: relative; z-index: 1; max-width: 780px; margin: 25px 0; color: #d3ccc5; font: 500 clamp(17px, 1.7vw, 23px)/1.45 var(--display); }
.duties-list { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; padding: 0; margin: 0; list-style: none; counter-reset: duties; }
.duties-list li { position: relative; min-height: 62px; padding: 15px 0 15px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.62; counter-increment: duties; }
.duties-list li::before { content: counter(duties, decimal-leading-zero); position: absolute; left: 0; top: 16px; color: var(--accent); font-size: 9px; font-weight: 800; }
.duties-toggle { display: none; align-items: center; gap: 8px; margin-top: 18px; padding: 0; border: 0; background: transparent; color: var(--muted); font: 800 10px var(--sans); text-transform: uppercase; letter-spacing: .12em; cursor: pointer; transition: color .3s ease; }
.duties-toggle:hover { color: var(--accent); }
.duties-toggle span { display: inline-grid; place-items: center; width: 13px; height: 13px; transition: transform .3s ease; font-size: 13px; }
.catering-role.open .duties-toggle span { transform: rotate(45deg); }
.experience-logo { display: block; width: min(180px, 48%); max-height: 56px; margin: 0 0 20px; object-fit: contain; object-position: left center; opacity: .9; }

.brand-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 70px; perspective: 1200px; }
.brand-case { position: relative; min-height: 480px; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); overflow: hidden; isolation: isolate; background: var(--surface); transform-style: preserve-3d; transition: color .35s ease, background .35s ease, transform .2s ease; }
.brand-case:hover { color: var(--accent-ink); background: var(--accent); }
.case-visual { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: #242122; transition: transform .5s ease, filter .5s ease; }
.case-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,26,27,.1), rgba(27,26,27,.88) 73%); }
.case-visual span { position: absolute; width: 270px; aspect-ratio: 1; border-radius: 50%; border: 42px solid rgba(246,159,28,.28); top: -85px; right: -65px; box-shadow: -120px 110px 0 -80px rgba(246,159,28,.22); }
.case-visual img { position: absolute; top: 86px; left: 50%; width: 70%; max-height: 115px; object-fit: contain; transform: translateX(-50%); filter: grayscale(1) sepia(1) saturate(2.5) hue-rotate(345deg) contrast(1.15); opacity: .58; }
.ww-visual { background: linear-gradient(135deg, #343233, #171617); }
.ww-visual span { border-radius: 0; transform: rotate(32deg); border-width: 1px; box-shadow: 0 0 0 35px rgba(246,159,28,.09), 0 0 0 70px rgba(246,159,28,.05); }
.brand-case:hover .case-visual { transform: scale(1.04); filter: contrast(1.08); }
.case-top { position: relative; z-index: 2; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .1em; }
.case-arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; }
.case-title { position: relative; z-index: 2; margin-top: auto; transform: translateZ(22px); }
.case-title p { margin: 0 0 4px; opacity: .7; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }
.case-title h3 { margin: 0 0 15px; font: 500 clamp(32px, 3.3vw, 50px)/1 var(--display); }
.brand-case > p { position: relative; z-index: 2; margin: 0; color: var(--muted); }
.brand-case:hover > p { color: rgba(39,35,36,.74); }
.brand-case:hover .case-tags span { border-color: rgba(0,0,0,.35); color: inherit; }
.brand-case .case-tags { position: relative; z-index: 2; }
.text-link { display: inline-flex; gap: 14px; margin-top: 35px; padding-bottom: 5px; border-bottom: 1px solid var(--accent); color: var(--accent); text-transform: uppercase; letter-spacing: .11em; font-size: 9px; font-weight: 800; }

.portfolio-heading { margin-top: clamp(95px, 11vw, 155px); }
.portfolio-heading h3 { margin: 0; font: 500 clamp(38px, 4.6vw, 70px)/1.02 var(--display); letter-spacing: -.045em; }
.portfolio-heading h3 em { color: var(--accent); font-weight: 500; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 55px; }
.portfolio-tile {
  position: relative; min-height: 235px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  border: 1px solid var(--line); overflow: hidden; isolation: isolate; background: var(--surface);
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}
.portfolio-tile:hover { z-index: 2; transform: translateY(-7px) scale(1.015); border-color: rgba(246,159,28,.7); box-shadow: 0 24px 55px rgba(0,0,0,.3); }
.portfolio-tile::before, .portfolio-tile::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.portfolio-tile::before { inset: 0; background: linear-gradient(160deg, transparent 15%, rgba(246,159,28,.1)); }
.portfolio-tile::after { width: 150px; height: 150px; top: -62px; right: -55px; border: 30px solid rgba(246,159,28,.14); border-radius: 50%; }
.portfolio-tile > span { position: absolute; top: 16px; left: 18px; color: var(--accent); font-size: 9px; font-weight: 800; }
.portfolio-tile img { align-self: center; width: 75%; max-height: 82px; margin: auto; object-fit: contain; filter: grayscale(.15); }
.portfolio-tile h4 { margin: auto 0 4px; font: 500 clamp(25px, 2.3vw, 35px)/1 var(--display); }
.portfolio-tile p { margin: 6px 0 0; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.portfolio-tile.is-hidden { display: none; }
.portfolio-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.portfolio-tile.tile-photo::before { background: linear-gradient(180deg, rgba(20,19,20,.04) 32%, rgba(20,19,20,.88) 100%); }
.portfolio-tile.tile-photo::after { content: none; }
.portfolio-tile.tile-photo > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-height: none; margin: 0; align-self: auto; object-fit: cover; filter: none; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.portfolio-tile.tile-photo:hover > img { transform: scale(1.06); }
.portfolio-tile.tile-photo h4 { margin: 0 0 3px; font-size: clamp(19px, 1.8vw, 26px); }
.tile-broccoli { background: linear-gradient(145deg, #2d292a, #181718); }
.tile-ww { background: linear-gradient(145deg, #36231b, #1a1818); }
.tile-likeat { background: linear-gradient(145deg, #293224, #181918); }
.tile-gvolt { background: linear-gradient(145deg, #342b1d, #171717); }
.abstract-a::before { background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(246,159,28,.12) 19px 20px), linear-gradient(140deg,#252223,#171617); }
.abstract-b::before { background: radial-gradient(circle at 70% 28%, rgba(246,159,28,.34) 0 7%, transparent 8%), radial-gradient(circle at 40% 50%, rgba(246,159,28,.15), transparent 45%); }
.abstract-c::before { background: linear-gradient(125deg, transparent 30%, rgba(246,159,28,.25) 31% 33%, transparent 34% 47%, rgba(246,159,28,.13) 48% 65%, transparent 66%); }
.abstract-d::before { background: repeating-radial-gradient(circle at 76% 18%, transparent 0 21px, rgba(246,159,28,.13) 22px 23px); }
.abstract-e::before { background: conic-gradient(from 20deg at 75% 25%, rgba(246,159,28,.32), transparent 28%, rgba(246,159,28,.08), transparent 70%); }
.abstract-f::before { background: linear-gradient(45deg, transparent 48%, rgba(246,159,28,.2) 49% 51%, transparent 52%), linear-gradient(-45deg, transparent 48%, rgba(255,255,255,.05) 49% 51%, transparent 52%); background-size: 44px 44px; }
.abstract-g::before { background: linear-gradient(150deg, transparent 42%, rgba(246,159,28,.28) 43% 60%, transparent 61%); }
.abstract-h::before { background: repeating-linear-gradient(0deg, transparent 0 28px, rgba(246,159,28,.14) 29px 30px); }

.interests { position: relative; z-index: 1; padding: clamp(130px, 11vw, 175px) clamp(52px, 8vw, 124px) clamp(90px, 9vw, 145px); border-bottom: 1px solid var(--line); background: #151415; overflow: hidden; }
.interests-intro { position: relative; z-index: 1; }
.interests h2 { margin: 0; max-width: 900px; font: 500 clamp(48px, 6vw, 90px)/.98 var(--display); letter-spacing: -.055em; }
.interest-list { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.interest-list i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.interests-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.05) brightness(.55); opacity: 0; transition: opacity .55s ease; pointer-events: none; }
.interest-list span[data-img] { cursor: pointer; transition: color .3s ease; }
.interest-list span[data-img]:hover { color: var(--ink); }

.contact { min-height: 72vh; display: flex; align-items: center; color: var(--accent-ink); background: var(--accent); }
.contact-watermark { position: absolute; z-index: 1; right: 4%; top: 7%; width: min(44%, 440px); height: auto; opacity: .9; filter: brightness(0) saturate(0); transform: rotate(-8deg); will-change: transform; }
.marker-dark .marker-fill { background: var(--accent-ink); box-shadow: 0 0 24px rgba(0,0,0,.22); }
.contact-inner.visible .marker-fill { animation: markerSwipe .52s cubic-bezier(.65,0,.35,1) .5s forwards; }
.contact-inner.visible .marker-word { color: var(--accent); transition-delay: .78s; }
.contact-marquee { position: absolute; z-index: 2; left: 0; bottom: -0.2em; width: 100%; overflow: hidden; pointer-events: auto; font-size: clamp(46px, 9vw, 118px); }
.contact-marquee div { display: flex; gap: 56px; width: max-content; padding: 0; animation: contactMarquee 22s linear infinite; }
.contact-marquee span { padding-right: 56px; font: 500 clamp(46px, 9vw, 118px)/1 var(--display); letter-spacing: -.035em; color: transparent; -webkit-text-stroke: 2px rgba(41,36,37,.62); transition: color .4s ease, -webkit-text-stroke-color .4s ease; }
.contact-marquee:hover span { color: var(--accent-ink); -webkit-text-stroke-color: var(--accent-ink); }
@keyframes contactMarquee { to { transform: translateX(-50%); } }
.contact .section-rail { display: none; }
.contact .section-rail span { background: var(--accent-ink); box-shadow: 0 0 0 5px rgba(0,0,0,.08); }
.contact .section-label { border-color: rgba(0,0,0,.5); color: var(--accent-ink); }
.contact .section-label span { background: var(--accent-ink); }
.contact h2 em { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 9px; }
.contact-inner { position: relative; z-index: 2; }
.contact-inner > p:not(.section-label) { max-width: 680px; margin: 30px 0; font-size: 16px; }
.mail-link { display: inline-flex; align-items: center; gap: 16px; padding-bottom: 6px; border-bottom: 2px solid currentColor; font: 500 clamp(18px, 2.3vw, 34px) var(--display); letter-spacing: 0; overflow-wrap: anywhere; }
.mail-link > span:last-child { display: inline-block; animation: mailArrow 1.7s ease-in-out infinite; }
@keyframes mailArrow { 50% { transform: translate(5px,-5px); } }
.mail-char { display: inline-block; }
.mail-link:hover .mail-char { animation: mailWave .55s ease; animation-delay: var(--mwd, 0s); }
@keyframes mailWave { 30% { transform: translateY(-9px); } 65% { transform: translateY(2px); } }
.contact-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 50px; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }

footer { position: relative; z-index: 2; display: flex; justify-content: space-between; padding: 26px clamp(24px, 4vw, 72px); color: var(--muted); background: #0d0c0d; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
footer a { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Parallax: warstwa otoczenia ---------- */
.parallax-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.parallax-field span { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.parallax-field .ring { display: none; }
.parallax-field .blob { mix-blend-mode: screen; }
.pf-1 { top: 6%; left: -70px; width: 250px; height: 250px; }
.pf-2 { top: 56%; right: -90px; width: 340px; height: 340px; border-color: rgba(246,159,28,.10); }
.pf-3 { top: 32%; left: 44%; width: 120px; height: 120px; border-color: rgba(255,255,255,.10); }
.pf-4 { top: 72%; left: 10%; width: 280px; height: 280px; background: radial-gradient(circle, rgba(246,159,28,.20), transparent 70%); }
.pf-5 { top: 14%; right: 16%; width: 210px; height: 210px; background: radial-gradient(circle, rgba(246,159,28,.13), transparent 70%); }

/* ---------- Efekty 3D / głębia na kartach ---------- */
.skills-grid, .portfolio-grid { perspective: 1400px; }
.skill-card, .portfolio-tile, .brand-case, .catering-role.featured { will-change: transform; }
.skill-card { transition: border-color .3s ease, transform .16s ease, background .3s ease; }
.skill-card h3, .skill-card .card-number, .skill-card p, .skill-card ul { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.skill-card:hover h3 { transform: translateZ(42px); }
.skill-card:hover .card-number { transform: translateZ(26px); }
.skill-card:hover p { transform: translateZ(18px); }
.skill-card:hover ul { transform: translateZ(12px); }
.portfolio-tile { transform-style: preserve-3d; transition: transform .16s ease, border-color .32s ease, box-shadow .32s ease; }
.portfolio-tile img, .portfolio-tile h4, .portfolio-tile > span, .portfolio-tile p { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.portfolio-tile:hover img { transform: translateZ(48px) scale(1.04); }
.portfolio-tile:hover h4 { transform: translateZ(34px); }
.portfolio-tile:hover > span { transform: translateZ(24px); }
.portfolio-tile:hover p { transform: translateZ(16px); }
.catering-role.featured { transform-style: preserve-3d; transition: transform .16s ease, border-color .3s ease, background .3s ease; }
.portrait-image { transition: transform .2s ease-out; }

/* ---------- Efekt "para znad kawy" w hero ---------- */
.steam { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-copy, .hero .stats-orbits, .hero .marquee { position: relative; z-index: 1; }

/* ---------- Marker highlight (zakreślacz) w nagłówku ---------- */
.marker { position: relative; display: inline-block; }
.marker-hold { white-space: nowrap; }
.marker-fill { position: absolute; inset: .05em -.1em .07em; z-index: 0; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left center; box-shadow: 0 0 22px rgba(246,159,28,.35); }
.marker-word { position: relative; z-index: 1; color: inherit; transition: color .3s ease; }
.hero-copy.visible .marker-fill { animation: markerSwipe .52s cubic-bezier(.65,0,.35,1) .55s forwards; }
.hero-copy.visible .marker-word { color: var(--accent-ink); transition-delay: .8s; }
@keyframes markerSwipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Interaktywny neonowy ślad kursora ---------- */
.cursor-trail { position: fixed; inset: 0; z-index: 200; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.cursor-glow { display: none; }

/* ---------- Rotujące słowo w hero (text cycle) ---------- */
.hero-cycle { margin: 20px 0 0; font: 600 clamp(15px, 1.5vw, 21px) var(--sans); color: #c9c2bc; }
.text-cycle { position: relative; display: inline-flex; height: 1.35em; overflow: hidden; vertical-align: bottom; }
.tc-word { display: inline-block; white-space: nowrap; color: var(--accent); font-weight: 700; }
.tc-word.tc-out { animation: tcOut .4s cubic-bezier(.6,0,.35,1) forwards; }
.tc-word.tc-in { animation: tcIn .5s cubic-bezier(.2,.75,.2,1) forwards; }
@keyframes tcOut { to { transform: translateY(-115%); opacity: 0; } }
@keyframes tcIn { from { transform: translateY(115%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Chmura logotypów ---------- */
.logo-cloud-heading { margin-top: clamp(28px, 4vw, 50px); }
.logo-cloud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.lc-item {
  display: grid; place-items: center; padding: 28px 18px; border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255,255,255,.022), transparent);
  animation: lcFloat 6s ease-in-out infinite;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .4s ease, background .4s ease;
}
.lc-item:nth-child(2) { animation-delay: -1.5s; }
.lc-item:nth-child(3) { animation-delay: -3s; }
.lc-item:nth-child(4) { animation-delay: -4.5s; }
.lc-item img { max-height: 42px; max-width: 76%; object-fit: contain; filter: grayscale(1) brightness(1.7) opacity(.55); transition: filter .4s ease; }
.lc-item:hover { animation-play-state: paused; transform: translateY(-7px); border-color: rgba(246,159,28,.6); background: rgba(246,159,28,.045); }
.lc-item:hover img { filter: none; }
@keyframes lcFloat { 50% { transform: translateY(-7px); } }

/* ---------- Usługi: pionowe zakładki (vertical tabs) ---------- */
.services { background: var(--bg-soft); }
.vtabs { display: grid; grid-template-columns: .95fr 1.15fr; gap: clamp(30px, 5vw, 68px); margin-top: 60px; align-items: center; }
.vtabs-list { display: flex; flex-direction: column; }
.vtab {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  width: 100%; padding: 26px 0 26px 24px; border: 0; border-top: 1px solid var(--line);
  background: transparent; color: var(--muted); text-align: left; cursor: pointer; transition: color .4s ease;
}
.vtab:first-child { border-top: 0; }
.vtab-num { color: var(--accent); font: 800 11px var(--sans); letter-spacing: .06em; margin-top: 7px; }
.vtab-title { display: block; font: 500 clamp(22px, 2.4vw, 34px)/1.1 var(--display); color: inherit; letter-spacing: -.01em; transition: color .4s ease; }
.vtab-desc { display: block; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; color: var(--muted); font-size: 13px; line-height: 1.55; transition: max-height .5s ease, opacity .4s ease, margin-top .4s ease; }
.vtab:hover { color: #d8d1cb; }
.vtab.is-active { color: var(--ink); }
.vtab.is-active .vtab-title { color: var(--ink); }
.vtab.is-active .vtab-desc { max-height: 140px; opacity: 1; margin-top: 12px; }
.vtab-progress { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); overflow: hidden; }
.vtab-progress b { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: var(--accent); box-shadow: 0 0 10px rgba(246,159,28,.55); }
.vtabs-media { position: relative; aspect-ratio: 16 / 12; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.vtab-panel { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(6%) scale(1.03); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.vtab-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.vtab-panel.is-active { opacity: 1; transform: none; }
.vtab-mark { font: 500 clamp(40px, 7vw, 88px) var(--display); color: rgba(255,250,243,.92); letter-spacing: -.03em; }

/* ---------- Płynny gradient w sekcji Kontakt ---------- */
.contact-flow { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.contact-flow span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; mix-blend-mode: soft-light; will-change: transform; }
.contact-flow span:nth-child(1) { width: 55%; aspect-ratio: 1; left: -10%; top: -16%; background: radial-gradient(circle, #ffd694, transparent 70%); animation: flow1 16s ease-in-out infinite; }
.contact-flow span:nth-child(2) { width: 52%; aspect-ratio: 1; right: -12%; top: 18%; background: radial-gradient(circle, #cf5c17, transparent 70%); animation: flow2 21s ease-in-out infinite; }
.contact-flow span:nth-child(3) { width: 46%; aspect-ratio: 1; left: 24%; bottom: -22%; background: radial-gradient(circle, #fff3dd, transparent 70%); animation: flow3 18s ease-in-out infinite; }
@keyframes flow1 { 50% { transform: translate(20%, 24%) scale(1.15); } }
@keyframes flow2 { 50% { transform: translate(-18%, 12%) scale(1.1); } }
@keyframes flow3 { 50% { transform: translate(10%, -22%) scale(1.2); } }

/* ---------- Motion footer ---------- */
.site-footer { position: relative; z-index: 2; padding: 15px clamp(24px, 4vw, 72px); background: #0d0c0d; overflow: hidden; }
.footer-big { display: flex; gap: 40px; margin-bottom: 40px; white-space: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.footer-big span { font: 500 clamp(44px, 10vw, 118px)/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,250,243,.26); animation: footerMarquee 18s linear infinite; transition: -webkit-text-stroke-color .4s ease; }
.footer-big:hover span { -webkit-text-stroke-color: var(--accent); }
@keyframes footerMarquee { to { transform: translateX(calc(-100% - 40px)); } }
.footer-row { display: flex; justify-content: flex-end; align-items: center; gap: 30px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.footer-row a { color: var(--accent); }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top span { display: inline-block; transition: transform .3s ease; }
.to-top:hover span { transform: translateY(-4px); }

/* ---------- Perspektywiczne wejście kafli portfolio ---------- */
.portfolio-tile.reveal { transform: perspective(1200px) rotateX(24deg) translateY(48px); transform-origin: center bottom; }
.portfolio-tile.reveal.visible { transform: none; }

/* ---------- Responsywność nowych sekcji ---------- */
@media (max-width: 1180px) {
  .vtabs { grid-template-columns: 1fr; gap: 34px; }
  .logo-cloud { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .footer-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .vtab-title { font-size: 24px; }
  .contact-flow span { filter: blur(42px); }
}

@media (max-width: 1180px) {
  :root { --left-col: 355px; }
  .topbar { padding-inline: 48px 62px; }
  .profile-panel { padding: 30px; }
  .portrait-frame { height: 320px; }
  .profile-card { width: 96%; }
  .section { padding-inline: 58px 48px; }
  .section-rail { left: 24px; }
  .skills-grid, .brand-cases { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .duties-list { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  html { scroll-padding-top: var(--header-h); }
  .topbar { left: 0; height: var(--header-h); padding: 0 20px; border-bottom: 1px solid var(--line); background: #1b1a1b; backdrop-filter: none; }
  .brand { width: 38px; }
  .brand, .menu-toggle { position: relative; z-index: 110; }
  .brand-full { display: none !important; }
  .brand-symbol { display: block !important; width: 34px !important; height: 38px !important; }
  .header-actions { display: none; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 10px; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; z-index: 90; inset: 0; display: flex; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 105px 28px 34px; background: #161516; visibility: hidden; opacity: 0;
    transform: translateY(-10px); transition: .25s ease;
  }
  .site-nav::before { content: ""; position: absolute; right: -48px; bottom: 3%; width: 265px; height: 290px; background: url("assets/studio-kofeina-k.svg") center/contain no-repeat; opacity: .055; filter: grayscale(1); transform: rotate(8deg); }
  .site-nav::after { content: "MATEUSZ MAZURKIEWICZ · PORTFOLIO 2026"; position: absolute; left: 28px; bottom: 25px; color: var(--muted); font-size: 8px; letter-spacing: .14em; }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; }
  .site-nav a { width: 100%; height: auto; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); counter-increment: menuItem; }
  .site-nav a::before { content: "0" counter(menuItem); color: var(--accent); font-size: 8px; font-weight: 800; order: 2; }
  .site-nav { counter-reset: menuItem; }
  .site-nav a span { position: static; padding: 0; color: var(--ink); background: transparent; opacity: 1; transform: none; font: 500 clamp(31px, 9.5vw, 43px)/1.08 var(--display); text-transform: none; letter-spacing: -.035em; }
  .site-nav a i { width: 9px; height: 9px; }
  .site-nav a i { display: none; }
  main { display: block; padding-top: var(--header-h); }
  .profile-panel { position: relative; top: auto; height: auto; min-height: calc(100svh - var(--header-h)); padding: 42px 24px 50px; border-right: 0; border-bottom: 1px solid var(--line); }
  .portrait-frame { width: min(91%, 450px); height: 46vh; min-height: 315px; }
  .profile-card { width: min(88%, 420px); }
  .profile-card h1 { font-size: clamp(45px, 14vw, 67px); }
  .profile-foot { flex-direction: column; gap: 12px; }
  .section { min-height: auto; padding: 92px 25px 95px 42px; }
  .hero { padding-top: 110px; padding-bottom: 0; }
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .button { min-width: 0; flex: 1; gap: 8px; padding: 13px 13px; }
  .section-rail { left: 18px; }
  .pp-person { object-fit: cover; object-position: 50% 14%; }
  .section h2, .hero h2 { font-size: clamp(43px, 12vw, 69px); }
  .stats-orbits { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-orbit > div { width: 100%; max-width: 104px; }
  .stat-orbit strong { font-size: clamp(22px, 6vw, 30px); }
  .stat-orbit p { font-size: 11px; margin-top: 10px; }
  .marquee { left: -42px; width: calc(100% + 67px); }
  .about-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 45px; }
  .value-marquee { left: -42px; width: calc(100% + 67px); }
  .skills-grid { margin-top: 50px; }
  .timeline-item { grid-template-columns: 1fr; gap: 18px; }
  .time-meta { flex-direction: row; justify-content: space-between; }
  .catering-role { padding: 27px 22px; }
  .catering-role header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .catering-role header > div { align-items: flex-start; }
  .role-logo { flex-basis: auto; max-width: 104px; margin: 6px 0 0; }
  .catering-role time { margin-left: 0; }
  .duties-list { grid-template-columns: 1fr; }
  .catering-role:not(.open) .duties-list li:nth-child(n+5) { display: none; }
  .duties-toggle { display: inline-flex; }
  .brand-case { min-height: 360px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .portfolio-tile { min-height: 190px; padding: 16px; }
  .logo-cloud { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lc-item { padding: 18px 10px; }
  .interests { padding: 65px 25px 68px 42px; }
  .interests-intro { grid-template-columns: 1fr; gap: 10px; }
  .interest-list { gap: 10px 13px; }
  .contact-meta { flex-direction: column; }
  .cursor-glow { display: none; }
  .parallax-field { display: none; }
  .cursor-trail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-copy.reveal h2 > * { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
  .parallax-field { display: none; }
  .steam { display: none; }
  .cursor-trail { display: none; }
  .intro-veil { display: none; }
  .marker-fill { transform: scaleX(1); }
  .marker-word { color: var(--accent-ink); }
}
