/* Dotknij Nieba — główny arkusz stylów.
   Skonsolidowana wersja: bez łańcucha nadpisań v11b.css / v12.css. */

@font-face{font-family:"Cello Sans";src:local("Cello Sans VF"),local("CelloSansVF-Regular"),url("fonts/CelloSans-Variable.ttf");font-style:normal;font-weight:200 800;font-display:swap}

@font-face{font-family:"Cello Sans";src:local("Cello Sans VF"),local("CelloSansVF-Italic"),url("fonts/CelloSans-VariableItalic.ttf");font-style:italic;font-weight:200 800;font-display:swap}

:root{--bg:#05070b;--bg2:#0b0e14;--card:#10151e;--text:#f5f6f7;--muted:#aeb6c2;--line:rgba(255,255,255,.12);--accent:#8cc9ff;--max:1220px;--radius:24px}

*{box-sizing:border-box}

html{scroll-behavior:smooth;background:var(--bg)}

body{margin:0;background:var(--bg);color:var(--text);font-family:"Cello Sans",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;overflow-x:hidden}

img,video{display:block;max-width:100%}

a{color:inherit;text-decoration:none}

button{font:inherit}

.skip-link{position:fixed;top:-100px;left:16px;z-index:999;background:white;color:black;padding:10px 14px;border-radius:8px}

.skip-link:focus{top:16px}

.wrap{width:min(calc(100% - 40px),var(--max));margin-inline:auto}

.section{padding:110px 0}

.dark{background:var(--bg2)}

.topbar{position:fixed;z-index:50;top:0;left:0;right:0;height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - var(--max))/2));transition:.3s;background:linear-gradient(to bottom,rgba(0,0,0,.6),transparent)}

.topbar.scrolled{background:rgba(5,7,11,.9);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}

.brand{display:flex;gap:10px;align-items:center;font-weight:720;letter-spacing:.02em}

.topbar nav{display:flex;gap:22px;font-size:.92rem;color:#e8ebef}

.topbar nav a{opacity:.82}

.topbar nav a:hover{opacity:1}

.menu-toggle{display:none;border:1px solid var(--line);background:rgba(0,0,0,.25);color:white;border-radius:999px;padding:8px 14px}

.hero{min-height:100svh;position:relative;display:grid;place-items:center;overflow:hidden}

.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

.eyebrow,.kicker{text-transform:uppercase;letter-spacing:.19em;font-size:.76rem;font-weight:800;color:#d8e6f3}

.hero h1{font-size:clamp(3rem,8vw,6.8rem);line-height:.92;margin:.12em 0 .23em;letter-spacing:-.055em}

.hero h1 em{font-family:inherit;font-weight:400;font-style:italic}

.lead{font-size:clamp(1.05rem,2vw,1.35rem);max-width:780px;margin:0 auto;color:#e2e6ea}

.hero-actions{display:flex;justify-content:center;gap:12px;margin-top:30px;flex-wrap:wrap}

.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:999px;border:1px solid var(--line);font-weight:700}

.button.primary{background:white;color:#080b10}

.button.ghost{background:rgba(3,5,8,.35);backdrop-filter:blur(10px)}

.scroll-cue{position:absolute;z-index:3;bottom:26px;font-size:1.5rem;opacity:.75;animation:bob 1.8s ease-in-out infinite}

@keyframes bob{50%{transform:translateY(7px)}}

.split{display:grid;grid-template-columns:1fr 1.05fr;gap:70px;align-items:center}

.split.reverse{grid-template-columns:1.05fr .95fr}

.portrait img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center;border-radius:var(--radius);box-shadow:0 30px 80px rgba(0,0,0,.35)}

.copy h2,.section-head h2,.contact h2{font-size:clamp(2.1rem,4.3vw,4.7rem);line-height:1.03;letter-spacing:-.04em;margin:.25em 0 .42em}

.copy p,.section-head>p,.contact p{color:var(--muted);font-size:1.08rem}

.facts{display:flex;gap:8px;flex-wrap:wrap;margin-top:28px}

.facts span{border:1px solid var(--line);border-radius:999px;padding:7px 12px;color:#dae0e6;font-size:.88rem}

.section-head{display:grid;grid-template-columns:1.3fr .7fr;gap:50px;align-items:end;margin-bottom:48px}

.section-head h2{margin-bottom:0}

.section-head>p{margin:0 0 8px}

.activity-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}

.activity{position:relative;min-height:420px;border-radius:var(--radius);overflow:hidden;background:var(--card);border:1px solid var(--line)}

.activity img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s}

.activity:hover img{transform:scale(1.035)}

.activity:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(4,6,9,.95),rgba(4,6,9,.05) 65%)}

.activity div{position:absolute;z-index:2;left:26px;right:26px;bottom:23px}

.activity h3{font-size:1.6rem;margin:0 0 5px}

.activity p{margin:0;color:#d5d9de}

.wide-photo{height:min(78vh,820px);position:relative;overflow:hidden}

.wide-photo img{width:100%;height:115%;object-fit:cover;position:absolute;top:-7%;left:0}

.wide-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,5,8,.84),rgba(3,5,8,.12) 65%)}

.wide-photo blockquote{position:absolute;z-index:2;left:max(20px,calc((100vw - var(--max))/2));bottom:12%;width:min(700px,calc(100% - 40px));font-family:inherit;font-size:clamp(1.7rem,3.3vw,3.7rem);line-height:1.1;margin:0}

.perseid-collage{display:grid;grid-template-columns:1.5fr 1fr;grid-template-rows:1fr 1fr;gap:14px}

.perseid-collage figure{margin:0;position:relative;min-height:290px;overflow:hidden;border-radius:var(--radius)}

.perseid-collage .big{grid-row:1/3}

.perseid-collage .image-lightbox{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in}

.perseid-collage img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .45s}

.perseid-collage .image-lightbox:hover img{transform:scale(1.025)}

.perseid-portrait img{object-position:center 55%}

.perseid-collage figcaption{position:absolute;bottom:12px;left:12px;background:rgba(5,7,11,.68);backdrop-filter:blur(8px);padding:7px 10px;border-radius:10px;font-size:.82rem}

.perseid-video{margin:18px 0 0}

.perseid-video video{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);background:#000;border:1px solid var(--line)}

.perseid-video figcaption{color:var(--muted);padding:9px 5px}

.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}

.filter{border:1px solid var(--line);color:#d7dbe0;background:transparent;border-radius:999px;padding:8px 13px;cursor:pointer}

.filter.active{background:white;color:#080b10;border-color:white}

.gallery{columns:4 250px;column-gap:12px}

.gallery-item{break-inside:avoid;margin:0 0 12px;transition:.25s}

.gallery-item[hidden]{display:none}

.gallery-item button{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;overflow:hidden;border-radius:16px}

.gallery-item img{width:100%;height:auto;transition:transform .45s}

.gallery-item button:hover img{transform:scale(1.025)}

.gallery-item figcaption{font-size:.78rem;color:#aab2bc;padding:6px 3px 4px}

.diy{background:linear-gradient(180deg,#080b10,#0c1118)}

.diy-photo{margin:0;position:relative;overflow:hidden;border-radius:var(--radius);border:1px solid var(--line);min-height:540px;background:#080b10}

.diy-photo img{width:100%;height:100%;min-height:540px;object-fit:cover;object-position:center 42%}

.diy-photo figcaption{position:absolute;left:18px;bottom:16px;background:rgba(5,7,11,.72);backdrop-filter:blur(10px);padding:8px 12px;border-radius:10px;font-size:.84rem}

.muted{font-size:.92rem!important;opacity:.7}

.video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}

.video-grid figure{margin:0}

.video-grid video{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);background:black;border:1px solid var(--line)}

.video-grid figcaption{color:var(--muted);padding:9px 5px}

.media-section{background:#f2f4f6;color:#0a1118}

.media-section .kicker{color:#49657f}

.media-section .section-head>p{color:#506172}

.media-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}

.media-card{overflow:hidden;border-radius:var(--radius);background:white;border:1px solid rgba(9,17,26,.12);box-shadow:0 18px 55px rgba(31,48,65,.08)}

.media-card img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#06080c}

.media-card div{padding:24px}

.media-card h3{font-size:1.6rem;line-height:1.1;margin:.25rem 0 .6rem}

.media-card p{color:#506172;margin:0}

.media-card .kicker{font-size:.7rem;margin:0 0 6px}

.contact{background:linear-gradient(135deg,#eef2f6,#bcd4eb);color:#09111a}

.contact-card{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center}

.contact .kicker{color:#34516d}

.contact p{color:#34485a}

.contact-actions{border-left:1px solid rgba(9,17,26,.2);padding-left:35px}

.contact code{background:rgba(9,17,26,.08);padding:2px 5px;border-radius:4px}

footer{padding:28px 0;color:#aeb6c2;border-top:1px solid var(--line)}

.footer-row{display:flex;justify-content:space-between;gap:20px;align-items:center}

.footer-right{display:flex;gap:24px;align-items:center}

.footer-right a{color:white}

.lightbox{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;border:0;padding:50px 20px 20px;background:rgba(2,3,5,.93);color:white}

.lightbox::backdrop{background:rgba(0,0,0,.86)}

.lightbox img{max-width:min(94vw,1500px);max-height:82vh;margin:auto;object-fit:contain}

.lightbox p{text-align:center;color:#d2d6db}

.lightbox-close{position:fixed;right:22px;top:16px;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#111820;color:white;font-size:1.6rem;cursor:pointer}

.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}

.reveal.visible{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce) {
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  .scroll-cue{animation:none}
  .activity img,.gallery-item img{transition:none}
}

@media (max-width:850px) {
  .topbar nav{display:none;position:absolute;top:64px;right:16px;padding:16px;background:rgba(5,7,11,.96);backdrop-filter:blur(16px);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:12px;min-width:180px}
  .topbar nav.open{display:flex}
  .menu-toggle{display:block}
  .split,.split.reverse,.section-head,.contact-card{grid-template-columns:1fr;gap:34px}
  .portrait img{aspect-ratio:5/4}
  .section{padding:80px 0}
  .activity-grid{grid-template-columns:1fr}
  .activity{min-height:380px}
  .perseid-collage{grid-template-columns:1fr;grid-template-rows:auto}
  .perseid-collage .big{grid-row:auto}
  .perseid-collage figure{min-height:330px}
  .video-grid{grid-template-columns:1fr}
  .media-grid{grid-template-columns:1fr}
  .diy-photo,.diy-photo img{min-height:430px}
  .contact-actions{border-left:0;border-top:1px solid rgba(9,17,26,.2);padding-left:0;padding-top:24px}
  .footer-row,.footer-right{align-items:flex-start;flex-direction:column;gap:10px}
  .wide-photo{height:68vh}
}

@media (max-width:520px) {
  .wrap{width:min(calc(100% - 26px),var(--max))}
  .hero h1{font-size:3.15rem}
  .hero-content{width:calc(100% - 26px)}
  .activity{min-height:330px}
  .gallery{columns:2 140px}
  .copy h2,.section-head h2,.contact h2{font-size:2.35rem}
  .topbar{height:64px}
  .wide-photo blockquote{left:13px;width:calc(100% - 26px)}
}

.youtube-player{position:relative;display:block;width:100%;padding:0;border:0;background:#06080c;cursor:pointer;aspect-ratio:16/9;overflow:hidden}

.youtube-player img{width:100%;height:100%;object-fit:cover;transition:transform .45s,filter .45s}

.youtube-player:hover img{transform:scale(1.025);filter:brightness(.78)}

.youtube-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:68px;height:48px;border-radius:14px;background:rgba(220,0,0,.94);color:#fff;font-size:1.35rem;line-height:1;padding-left:4px;box-shadow:0 10px 30px rgba(0,0,0,.35)}

.youtube-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

.youtube-copy{padding:22px 24px 24px}

.youtube-copy h3{font-size:1.45rem;line-height:1.12;margin:.25rem 0 .55rem}

.youtube-copy p{color:#506172;margin:0}

.youtube-copy .kicker{font-size:.68rem;margin:0 0 6px}

.youtube-alt{display:inline-block;margin-top:12px;color:#274e74;font-size:.88rem;text-decoration:underline;text-underline-offset:3px}

.media-more{max-width:800px;margin:28px auto 0;text-align:center;color:#647587;font-size:.95rem}

.email-button{display:flex;flex-direction:column;gap:2px;width:fit-content;max-width:100%;margin-top:22px;padding:14px 19px;border-radius:16px;background:#0a1118;color:#fff;box-shadow:0 12px 30px rgba(9,17,26,.16);transition:transform .2s,box-shadow .2s}

.email-button:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(9,17,26,.22)}

.email-button span{font-weight:800}

.email-button small{font-size:.9rem;opacity:.82;overflow-wrap:anywhere}

.copy-email{margin-top:10px;padding:8px 12px;border-radius:999px;border:1px solid rgba(9,17,26,.22);background:rgba(255,255,255,.35);color:#0a1118;cursor:pointer}

.copy-email:disabled{opacity:.45;cursor:default}

.copy-email.copied{background:#0a1118;color:#fff}

.contact-note {
  font-size: .9rem !important;
  max-width: 520px;
  margin-top: 16px !important;
}

.media-more a{color:#274e74;text-decoration:underline;text-underline-offset:3px;font-weight:700}

.media-more a:hover{color:#0a2f52}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,rgba(5,7,11,.84) 0%,rgba(5,7,11,.30) 37%,rgba(5,7,11,.05) 68%,rgba(5,7,11,.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px),950px);
  margin-top: 64px;
  text-align: center;
  text-shadow: 0 2px 22px rgba(0,0,0,.45);
}

.diy-video-wrap{margin-top:34px}

.diy-video-wrap>.kicker{margin-bottom:14px}

.diy-video-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}

.diy-video-grid figure{margin:0;max-width:720px}

.diy-video-grid video{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);background:#000;border:1px solid var(--line)}

.diy-video-grid figcaption{color:var(--muted);padding:9px 5px}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  grid-auto-flow: dense;
  align-items: stretch;
}

.youtube-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: white;
  border: 1px solid rgba(9,17,26,.12);
  box-shadow: 0 18px 55px rgba(31,48,65,.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.youtube-card .youtube-copy{flex:1}

.youtube-card.featured{grid-column:span 2;grid-row:span 2}

.youtube-card.featured .youtube-player{aspect-ratio:16/10;min-height:390px}

.youtube-card.featured .youtube-copy{padding:28px 30px 30px}

.youtube-card.featured .youtube-copy h3{font-size:2rem}

.youtube-card.featured .youtube-copy p:not(.kicker){font-size:1.04rem}

.youtube-card.featured .youtube-play{width:82px;height:58px;font-size:1.6rem;border-radius:17px}

.site-disclaimer{margin-top:24px;padding-top:22px;border-top:1px solid var(--line);color:#7f8995;font-size:.78rem;line-height:1.55;max-width:var(--max)}

.site-disclaimer strong{color:#aeb6c2;font-weight:700}

@media (max-width:1050px) {
  .youtube-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .youtube-card.featured{grid-column:span 2;grid-row:auto}
  .youtube-card.featured .youtube-player{min-height:0;aspect-ratio:16/9}
}

@media (max-width:850px) {
  .youtube-grid{grid-template-columns:1fr}
  .youtube-card.featured{grid-column:auto;grid-row:auto}
  .diy-video-grid{grid-template-columns:1fr}
}

@media (max-width:520px) {
  .youtube-card.featured .youtube-copy h3{font-size:1.6rem}
}

.hero-logo-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(430px,78vw);
  aspect-ratio: 1/1;
  padding: 0;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0,0,0,1);
  border: 1px solid rgba(202,170,105,.72);
  box-shadow:
    0 0 0 1px rgba(255,225,165,.07),
    0 24px 70px rgba(0,0,0,.42),
    inset 0 0 30px rgba(202,170,105,.035);
}

.hero-logo {
  width: 100%;
  max-width: none;
  margin: 0;
  mix-blend-mode: screen;
  filter: none;
}

.bio-details{
  margin-top:28px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.bio-details summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 0;
  font-weight:800;
  letter-spacing:.01em;
}

.bio-details summary::-webkit-details-marker{display:none}

.bio-details summary::after{
  content:"+";
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid var(--line);
  border-radius:50%;
  font-size:1.15rem;
  font-weight:500;
  transition:transform .25s ease,background .25s ease;
}

.bio-details[open] summary::after{content:"−";transform:rotate(180deg);background:rgba(255,255,255,.06)}

.bio-details summary:hover::after{background:rgba(255,255,255,.08)}

.bio-details-content{padding:0 0 24px;color:var(--muted);max-width:760px}

.bio-details-content p{margin:0 0 1em}

.bio-details-content p:last-child{margin-bottom:0}

.bio-details-content strong{color:var(--text)}

.archive-block{
  margin-top:54px;
  padding-top:42px;
  border-top:1px solid rgba(9,17,26,.13);
}

.archive-head{max-width:860px;margin-bottom:22px}

.archive-head h3{font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.06;margin:.15em 0 .35em;letter-spacing:-.025em}

.archive-head>p:last-child{color:#506172;margin:0}

.archive-youtube-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

.archive-youtube-grid .archive-featured{grid-column:span 2}

.archive-youtube-grid .archive-featured .youtube-player{aspect-ratio:16/9}

.archive-youtube-grid .archive-featured .youtube-copy h3{font-size:1.7rem}

@media (max-width:1050px) {
  .archive-youtube-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .archive-youtube-grid .archive-featured{grid-column:span 2}
}

@media (max-width:850px) {
  .archive-youtube-grid{grid-template-columns:1fr}
  .archive-youtube-grid .archive-featured{grid-column:auto}
}

.full-bio{max-width:900px;padding-bottom:34px}

.full-bio h4{
  margin:1.75em 0 .55em;
  color:var(--text);
  font-size:1.12rem;
  line-height:1.25;
  letter-spacing:.01em;
}

.full-bio h4:first-child{margin-top:.35em}

.full-bio p{line-height:1.72;margin-bottom:1.05em}

.fb-section{
  background:linear-gradient(180deg,#f5f7fa 0%,#eef2f6 100%);
  border-top:1px solid rgba(9,17,26,.08);
}

.fb-live-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(340px,500px);
  gap:clamp(42px,7vw,92px);
  align-items:center;
}

.fb-live-copy{max-width:640px}

.fb-live-copy h2{
  margin:.16em 0 .42em;
  font-size:clamp(2.25rem,5vw,4.4rem);
  line-height:.98;
  letter-spacing:-.04em;
}

.fb-live-copy>p:last-of-type{color:#506172;line-height:1.72;font-size:1.04rem}

.fb-direct-link{
  display:inline-flex;
  align-items:center;
  gap:.55em;
  margin-top:16px;
  padding:13px 18px;
  border:1px solid rgba(9,17,26,.15);
  border-radius:999px;
  color:#0b1118;
  text-decoration:none;
  font-weight:800;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}

.fb-direct-link:hover{transform:translateY(-2px);background:#fff;border-color:rgba(9,17,26,.26)}

.fb-live-card{
  position:relative;
  width:100%;
  min-height:650px;
  overflow:hidden;
  border-radius:24px;
  background:#fff;
  box-shadow:0 24px 70px rgba(24,39,54,.13);
  border:1px solid rgba(9,17,26,.08);
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.fb-live-card .fb-page{width:100%;min-height:650px;text-align:center}

.fb-live-card iframe{max-width:100%!important}

.fb-widget-loading{
  position:absolute;
  inset:0;
  z-index:0;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:12px;
  color:#718091;
  text-align:center;
  pointer-events:none;
  transition:opacity .3s ease;
}

.fb-widget-loading span{
  width:34px;height:34px;border-radius:50%;
  border:2px solid rgba(9,17,26,.12);border-top-color:rgba(9,17,26,.55);
  animation:fbspin .8s linear infinite;
}

.fb-live-card.fb-ready .fb-widget-loading{opacity:0}

.fb-live-card .fb-page,.fb-live-card .fb-page span,.fb-live-card .fb-page iframe{position:relative;z-index:1}

@keyframes fbspin{to{transform:rotate(360deg)}}

.fb-noscript{padding:28px;color:#506172}

@media (max-width:950px) {
  .fb-live-grid{grid-template-columns:1fr;gap:30px}
  .fb-live-copy{max-width:760px}
  .fb-live-card{max-width:500px;min-height:620px;margin:0 auto}
}

@media (max-width:560px) {
  .fb-live-card{border-radius:18px;min-height:580px}
  .fb-live-card .fb-page{min-height:580px}
  .fb-direct-link{width:100%;justify-content:center;text-align:center}
}

@media (prefers-reduced-motion:reduce) {
  .fb-widget-loading span{animation:none}
  .fb-direct-link{transition:none}
}

.cv-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 92% 8%,rgba(155,52,116,.10),transparent 28%),
    radial-gradient(circle at 8% 92%,rgba(34,96,135,.08),transparent 30%),
    #f5f3ef;
  color:#10151b;
  border-top:1px solid rgba(9,17,26,.08);
  border-bottom:1px solid rgba(9,17,26,.08);
}

.cv-section .kicker{color:#665868}

.cv-heading{margin-bottom:clamp(28px,5vw,58px)}

.cv-heading>p{color:#56616d}

.project-grid{
  display:grid;
  grid-template-columns:minmax(0,1.75fr) minmax(280px,.85fr);
  grid-template-rows:1fr 1fr;
  gap:clamp(16px,2vw,24px);
  align-items:stretch;
}

.project-card{
  position:relative;
  overflow:hidden;
  min-width:0;
  border:1px solid rgba(9,17,26,.10);
  border-radius:28px;
  background:#fff;
  box-shadow:0 18px 50px rgba(23,31,40,.08);
}

.project-zoo{
  grid-row:1 / span 2;
  display:grid;
  grid-template-rows:minmax(330px,1fr) auto;
  background:#070b10;
  color:#fff;
  border-color:rgba(255,255,255,.09);
  box-shadow:0 30px 80px rgba(10,15,22,.18);
}

.project-zoo-media{position:relative;min-height:0;overflow:hidden;background:#071015}

.project-image-button{
  display:block;
  width:100%;height:100%;padding:0;margin:0;border:0;background:none;cursor:zoom-in;
}

.project-image-button img{
  display:block;width:100%;height:100%;min-height:330px;object-fit:cover;object-position:center 43%;
  transition:transform .65s cubic-bezier(.2,.65,.3,1),filter .35s ease;
}

.project-image-button:hover img{transform:scale(1.018);filter:brightness(1.03)}

.project-zoo-media::after{
  content:"";position:absolute;inset:auto 0 0;height:42%;pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(7,11,16,.68));
}

.project-zoo-inset{
  position:absolute;right:clamp(14px,2.3vw,28px);bottom:clamp(14px,2.3vw,28px);z-index:2;
  width:clamp(112px,23%,190px);aspect-ratio:4/5;overflow:hidden;border-radius:18px;
  border:3px solid rgba(255,255,255,.86);background:#111;
  box-shadow:0 14px 38px rgba(0,0,0,.34);transform:rotate(2deg);
}

.project-zoo-inset img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}

.project-copy{padding:clamp(24px,3.2vw,38px)}

.project-copy .kicker{margin-bottom:8px}

.project-zoo .project-copy .kicker{color:rgba(255,255,255,.62)}

.project-copy h3{
  margin:.05em 0 .35em;font-size:clamp(1.75rem,3.2vw,3rem);line-height:.98;letter-spacing:-.035em;
}

.project-zoo .project-copy h3{font-size:clamp(2.35rem,5vw,4.6rem)}

.project-copy p{margin:0;color:#586572;line-height:1.68}

.project-zoo .project-copy p{max-width:820px;color:rgba(255,255,255,.78)}

.project-link{
  display:inline-flex;align-items:center;gap:.45em;margin-top:18px;color:inherit;text-decoration:none;
  font-weight:800;border-bottom:1px solid currentColor;padding-bottom:2px;
}

.project-zoo .project-link{color:#fff;border-bottom-color:rgba(255,255,255,.45)}

.project-link:hover{opacity:.7}

.project-text-card{display:flex;min-height:0;isolation:isolate}

.project-text-card .project-copy{position:relative;z-index:2;align-self:end;width:100%}

.project-number{
  position:absolute;right:18px;top:6px;z-index:0;font-size:clamp(5.5rem,10vw,9.4rem);line-height:1;
  font-weight:900;letter-spacing:-.08em;color:rgba(19,30,42,.055);user-select:none;
}

.project-step{
  background:
    radial-gradient(circle at 92% 5%,rgba(25,111,159,.17),transparent 45%),
    linear-gradient(145deg,#f8fbfd,#eaf3f7);
}

.project-unseen{
  background:
    radial-gradient(circle at 94% 5%,rgba(132,60,135,.18),transparent 44%),
    linear-gradient(145deg,#fbf8fc,#efe9f3);
}

.project-orbit{
  position:absolute;width:210px;height:210px;right:-75px;top:-92px;border:1px solid rgba(85,45,96,.16);border-radius:50%;
  box-shadow:0 0 0 26px rgba(85,45,96,.035),0 0 0 58px rgba(85,45,96,.025);
}

.experience-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,24px);
  margin-top:clamp(16px,2vw,24px);
}

.experience-card{
  min-width:0;overflow:hidden;border-radius:25px;background:#fff;border:1px solid rgba(9,17,26,.10);
  box-shadow:0 15px 44px rgba(23,31,40,.065);
}

.experience-media{position:relative;overflow:hidden;aspect-ratio:4/3;background:#10151b}

.experience-media img{display:block;width:100%;height:100%;object-fit:cover}

.experience-media.duo img:first-child{position:absolute;inset:0;width:100%;height:100%;object-position:center}

.experience-media.duo img:last-child{
  position:absolute;right:14px;bottom:14px;width:31%;height:46%;object-fit:cover;border-radius:13px;
  border:2px solid rgba(255,255,255,.9);box-shadow:0 10px 25px rgba(0,0,0,.3);
}

.experience-media.edu-stack img:first-child{position:absolute;inset:0;width:100%;height:100%}

.experience-media.edu-stack img:last-child{
  position:absolute;right:12px;bottom:12px;width:40%;height:44%;object-fit:cover;border-radius:14px;
  border:2px solid rgba(255,255,255,.92);box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.experience-media.stage-pair{display:grid;grid-template-columns:1.2fr .8fr;gap:3px}

.experience-media.stage-pair img{min-width:0}

.experience-copy{padding:clamp(20px,2.4vw,30px)}

.experience-copy h3{margin:.15em 0 .5em;font-size:clamp(1.45rem,2.4vw,2.15rem);line-height:1.06;letter-spacing:-.025em}

.experience-copy p{margin:0;color:#5a6671;line-height:1.62}

.education-places{margin:0 0 12px!important;color:#222c36!important;font-size:.92rem;font-weight:800;line-height:1.5!important}

.publications-block{
  margin-top:clamp(48px,7vw,86px);padding-top:clamp(38px,5vw,62px);
  border-top:1px solid rgba(9,17,26,.13);
}

.publications-intro{max-width:900px}

.publications-intro h3{margin:.12em 0 .36em;font-size:clamp(2rem,4vw,3.55rem);line-height:.98;letter-spacing:-.035em}

.publications-intro>p:last-child{max-width:820px;color:#56616d;line-height:1.72}

.publication-details{margin-top:26px;border-top:1px solid rgba(9,17,26,.13);border-bottom:1px solid rgba(9,17,26,.13)}

.publication-details summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:18px 0;font-weight:850;color:#121920;
}

.publication-details summary::-webkit-details-marker{display:none}

.publication-details summary::after{
  content:"+";display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:50%;
  border:1px solid rgba(9,17,26,.16);font-size:1.2rem;font-weight:500;transition:transform .2s ease,background .2s ease;
}

.publication-details[open] summary::after{content:"−";transform:rotate(180deg);background:#fff}

.publication-list{list-style:none;margin:0;padding:0 0 22px}

.publication-list li{
  display:grid;grid-template-columns:72px minmax(0,1fr);gap:18px;padding:15px 0;
  border-top:1px solid rgba(9,17,26,.08);
}

.publication-list li:first-child{border-top:0}

.pub-year{font-variant-numeric:tabular-nums;font-weight:900;color:#7a6a77}

.publication-list a{color:#151d25;text-decoration:none;font-weight:760;line-height:1.45}

.publication-list a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

.publication-list small{display:block;margin-top:4px;color:#6a7580;line-height:1.5}

.ads-link{
  display:inline-flex;align-items:center;gap:.5em;margin-top:22px;padding:12px 17px;border:1px solid rgba(9,17,26,.16);
  border-radius:999px;color:#151d25;text-decoration:none;font-weight:850;background:rgba(255,255,255,.54);
}

.ads-link:hover{background:#fff}

.diy-history{
  display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr);gap:clamp(26px,5vw,70px);
  align-items:center;margin-top:clamp(48px,7vw,86px);
}

.diy-history-copy h3{margin:.15em 0 .45em;font-size:clamp(1.8rem,3.2vw,3rem);line-height:1;letter-spacing:-.03em}

.diy-history-copy p:last-child{color:var(--muted);line-height:1.7}

.diy-history-images{display:grid;grid-template-columns:1.1fr .9fr;gap:12px;align-items:stretch}

.diy-history-images button{
  display:block;min-width:0;padding:0;border:0;border-radius:22px;overflow:hidden;background:#080b10;cursor:zoom-in;
}

.diy-history-images button:first-child{aspect-ratio:4/3}

.diy-history-images button:last-child{aspect-ratio:3/4}

.diy-history-images img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}

.diy-history-images button:hover img{transform:scale(1.02)}

.diy-video-grid-v12{grid-template-columns:repeat(2,minmax(0,1fr))!important}

.diy-video-grid-v12 figure{min-width:0}

.diy-video-grid-v12 video{width:100%;height:auto;display:block;background:#05070b}

.mount-video video{aspect-ratio:16/9;object-fit:cover}

.mount-detail{
  display:grid;grid-template-columns:minmax(150px,250px) minmax(0,1fr);gap:clamp(20px,3vw,34px);align-items:center;
  margin-top:22px;padding:clamp(18px,2.6vw,28px);border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.035);
}

.mount-detail img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:15px}

.mount-detail p{margin:0;color:var(--muted);line-height:1.68}

.mount-detail strong{color:var(--text)}

.fb-section-v12{
  background:linear-gradient(180deg,#f5f7fa 0%,#eef2f6 100%);
  border-top:1px solid rgba(9,17,26,.08);
}

.fb-section-v12 .fb-showcase{
  position:relative;min-height:clamp(300px,39vw,440px);overflow:hidden;border-radius:30px;background:#07101a;
  box-shadow:0 28px 80px rgba(20,34,49,.16);isolation:isolate;
}

.fb-showcase-cover{
  position:absolute;inset:0;background-image:url("media/_MG_6496-Poprawione-NR.png");background-size:cover;
  background-position:center 48%;transform:scale(1.015);z-index:-3;
}

.fb-showcase-shade{
  position:absolute;inset:0;z-index:-2;
  background:
    linear-gradient(90deg,rgba(3,8,14,.92) 0%,rgba(3,8,14,.67) 45%,rgba(3,8,14,.20) 78%,rgba(3,8,14,.08) 100%),
    linear-gradient(0deg,rgba(3,8,14,.78) 0%,rgba(3,8,14,.05) 62%);
}

.fb-showcase-content{
  min-height:inherit;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(20px,3vw,34px);
  align-items:end;padding:clamp(28px,5vw,54px);color:#fff;
}

.fb-showcase-avatar{
  width:clamp(88px,10vw,124px);aspect-ratio:1;object-fit:cover;object-position:center 22%;border-radius:50%;
  border:4px solid rgba(255,255,255,.9);box-shadow:0 12px 35px rgba(0,0,0,.32);background:#0b1118;
}

.fb-showcase-copy{max-width:720px}

.fb-showcase-copy .kicker{color:rgba(255,255,255,.72)}

.fb-showcase-copy h2{margin:.1em 0 .3em;max-width:760px;font-size:clamp(2.15rem,5vw,4.4rem);line-height:.95;letter-spacing:-.045em}

.fb-showcase-copy>p:last-child{max-width:690px;margin:0;color:rgba(255,255,255,.84);font-size:1.03rem;line-height:1.65}

.fb-showcase-button{
  align-self:end;justify-self:end;display:inline-flex;align-items:center;gap:.55em;padding:14px 19px;border-radius:999px;
  background:#fff;color:#07101a;text-decoration:none;font-weight:850;white-space:nowrap;box-shadow:0 10px 30px rgba(0,0,0,.18);
  transition:transform .2s ease,box-shadow .2s ease;
}

.fb-showcase-button:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(0,0,0,.24)}

.fb-posts-layout{
  display:grid;grid-template-columns:minmax(0,.8fr) minmax(340px,500px);gap:clamp(42px,7vw,92px);
  align-items:start;margin-top:clamp(42px,6vw,70px);
}

.fb-posts-copy{max-width:620px;padding-top:10px;color:#0b1723}

.fb-section-v12 .fb-posts-copy .kicker{color:#51677b}

.fb-posts-copy h3{margin:.15em 0 .45em;color:#0b1723;font-size:clamp(2rem,4vw,3.55rem);line-height:1;letter-spacing:-.035em}

.fb-posts-copy>p:last-of-type{color:#405466;line-height:1.72;font-size:1.04rem}

.fb-section-v12 .fb-direct-link{color:#0b1723}

.fb-section-v12 .fb-live-card{min-height:620px;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(24,39,54,.13);border:1px solid rgba(9,17,26,.08)}

.fb-section-v12 .fb-live-card .fb-page{min-height:620px}

@media (max-width:1050px) {
  .project-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,.9fr)}
  .experience-grid{grid-template-columns:1fr 1fr}
  .experience-stage{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr)}
  .experience-stage .experience-media{aspect-ratio:auto;min-height:280px}
  .fb-showcase-content{grid-template-columns:auto minmax(0,1fr)}
  .fb-showcase-button{grid-column:2;justify-self:start}
}

@media (max-width:900px) {
  .project-grid{grid-template-columns:1fr;grid-template-rows:auto}
  .project-zoo{grid-row:auto}
  .project-text-card{min-height:280px}
  .experience-grid{grid-template-columns:1fr}
  .experience-stage{grid-column:auto;display:block}
  .experience-stage .experience-media{aspect-ratio:4/3;min-height:0}
  .diy-history{grid-template-columns:1fr}
  .diy-history-copy{max-width:760px}
  .fb-posts-layout{grid-template-columns:1fr;gap:28px}
  .fb-posts-copy{max-width:760px}
  .fb-section-v12 .fb-live-card{max-width:500px;width:100%;margin:0 auto}
}

@media (max-width:720px) {
  .project-card,.experience-card{border-radius:22px}
  .project-zoo{grid-template-rows:minmax(280px,54vw) auto}
  .project-image-button img{min-height:280px}
  .project-zoo-inset{width:118px;border-radius:14px}
  .experience-media.stage-pair{grid-template-columns:1fr 1fr}
  .publication-list li{grid-template-columns:56px minmax(0,1fr);gap:12px}
  .diy-video-grid-v12{grid-template-columns:1fr!important}
  .mount-detail{grid-template-columns:1fr}
  .mount-detail img{max-height:280px}
}

@media (max-width:650px) {
  .fb-section-v12 .fb-showcase{border-radius:22px;min-height:460px}
  .fb-showcase-shade{background:linear-gradient(0deg,rgba(3,8,14,.94) 0%,rgba(3,8,14,.74) 47%,rgba(3,8,14,.18) 100%)}
  .fb-showcase-content{grid-template-columns:1fr;align-content:end;gap:16px;padding:28px 24px}
  .fb-showcase-avatar{width:86px}
  .fb-showcase-button{grid-column:auto;justify-self:start}
  .fb-showcase-copy h2{font-size:clamp(2rem,10vw,3.2rem)}
}

@media (max-width:560px) {
  .project-zoo-inset{width:102px;right:12px;bottom:12px}
  .experience-media.duo img:last-child{width:34%;height:43%;right:10px;bottom:10px}
  .experience-media.edu-stack img:last-child{width:43%;height:42%;right:10px;bottom:10px}
  .diy-history-images{grid-template-columns:1fr 1fr;gap:8px}
  .diy-history-images button{border-radius:15px}
  .publication-list li{grid-template-columns:1fr;gap:5px}
  .pub-year{font-size:.85rem}
  .ads-link{width:100%;justify-content:center;text-align:center}
  .fb-section-v12 .fb-live-card{min-height:580px;border-radius:18px}
  .fb-section-v12 .fb-live-card .fb-page{min-height:580px}
}

@media (prefers-reduced-motion:reduce) {
  .project-image-button img,.diy-history-images img,.fb-showcase-button{transition:none}
}

.hero-author{
  display:flex;align-items:baseline;justify-content:center;gap:.65em;flex-wrap:wrap;
  margin:0 auto .55rem;text-transform:none;letter-spacing:.055em;font-size:clamp(.88rem,1.35vw,1.04rem);
  color:rgba(255,255,255,.92);text-shadow:0 2px 16px rgba(0,0,0,.55);
}

.hero-author strong{font-weight:850;color:#fff}

.hero-author span{font-weight:520;color:rgba(255,255,255,.72)}

.portrait-id{
  display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap;
  margin:14px 4px 0;font-size:.92rem;line-height:1.35;
}

.portrait-id strong{font-weight:820;color:var(--text)}

.portrait-id span{color:var(--muted);font-size:.86rem}

@media (max-width:520px) {
  .hero-author{gap:.35em .55em;font-size:.9rem}
  .portrait-id{margin-top:12px}
}
