/* ==========================================================================
   Nicole Saban – portfolio
   Wartości 1:1 z pliku Figma „Dzień 6 – Portfolio Nicole” (strona „Ciemny – Portfolio (prototyp)”).
   Desktop: ramki 1440 px (treść 1120 px). Telefon: ramki 390 px (treść 350 px).
   ========================================================================== */

/* ---------- Fonty (hostowane lokalnie, bez Google Fonts) ---------- */
@font-face{font-family:"Newsreader";font-style:normal;font-weight:200 800;font-display:swap;src:url(../fonts/newsreader-latin-ext-opsz-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:"Newsreader";font-style:normal;font-weight:200 800;font-display:swap;src:url(../fonts/newsreader-latin-opsz-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}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:200 800;font-display:swap;src:url(../fonts/newsreader-latin-ext-opsz-italic.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:"Newsreader";font-style:italic;font-weight:200 800;font-display:swap;src:url(../fonts/newsreader-latin-opsz-italic.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}
@font-face{font-family:"Outfit";font-weight:400;font-display:swap;src:url(../fonts/outfit-latin-ext-400-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:"Outfit";font-weight:400;font-display:swap;src:url(../fonts/outfit-latin-400-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}
@font-face{font-family:"Outfit";font-weight:500;font-display:swap;src:url(../fonts/outfit-latin-ext-500-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:"Outfit";font-weight:500;font-display:swap;src:url(../fonts/outfit-latin-500-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}
@font-face{font-family:"Outfit";font-weight:600;font-display:swap;src:url(../fonts/outfit-latin-ext-600-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:"Outfit";font-weight:600;font-display:swap;src:url(../fonts/outfit-latin-600-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}
@font-face{font-family:"Outfit";font-weight:700;font-display:swap;src:url(../fonts/outfit-latin-ext-700-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:"Outfit";font-weight:700;font-display:swap;src:url(../fonts/outfit-latin-700-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}
@font-face{font-family:"Outfit";font-weight:800;font-display:swap;src:url(../fonts/outfit-latin-ext-800-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:"Outfit";font-weight:800;font-display:swap;src:url(../fonts/outfit-latin-800-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}
/* Kroje używane tylko w logotypach klientów (pętla logo) */
@font-face{font-family:"Fraunces";font-weight:600;font-display:swap;src:url(../fonts/fraunces-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Space Grotesk";font-weight:700;font-display:swap;src:url(../fonts/space-grotesk-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Lora";font-weight:500;font-display:swap;src:url(../fonts/lora-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-weight:600;font-display:swap;src:url(../fonts/inter-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"DM Serif Display";font-weight:400;font-display:swap;src:url(../fonts/dm-serif-display-latin-400-normal.woff2) format("woff2")}

/* ---------- Zmienne (paleta #171717 #C19292 #CCC3BB #E5DED9) ---------- */
:root{
  --bg:#171717;
  --text:#E5DED9;
  --text-2:#CCC3BB;
  --inverse:#171717;
  --accent:#C19292;
  --panel:rgba(229,222,217,.04);
  --panel-hover:rgba(229,222,217,.08);
  --card:rgba(229,222,217,.06);
  --footer:rgba(229,222,217,.03);
  --border:rgba(204,195,187,.2);
  --serif:"Newsreader",Georgia,"Times New Roman",serif;
  --sans:"Outfit",system-ui,-apple-system,"Segoe UI",sans-serif;
  --w:1120px;
  --gap:56px;
  --ease:cubic-bezier(.22,1,.36,1);
  /* Pudrowy róż – stała poświata przycisków i mocniejsza po najechaniu */
  --glow:0 0 0 1px rgba(193,146,146,.45),0 0 18px 0 rgba(193,146,146,.35);
  --glow-hover:0 0 0 1px rgba(193,146,146,.75),0 0 28px 2px rgba(193,146,146,.55);
  color-scheme:dark;
}

/* ---------- Baza ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Newsreader: rozmiar optyczny automatyczny (opsz = rozmiar fontu) – tak renderuje Figma */
body{font-optical-sizing:auto}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:17px;line-height:1.65;letter-spacing:.3px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
h1,h2,h3,p,ul,ol,dl,dd,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:16px;top:-60px;z-index:100;background:var(--text);color:var(--inverse);padding:10px 16px;border-radius:10px;font-weight:500;transition:top .2s}
.skip:focus{top:16px}

/* ---------- Typografia (style tekstu „Ciemny/…”) ---------- */
.serif{font-family:var(--serif);font-weight:400}
.t-display{font-family:var(--serif);font-weight:400;font-size:80px;line-height:1;letter-spacing:-.02em}
.t-hero{font-family:var(--serif);font-weight:400;font-size:72px;line-height:74px;letter-spacing:-.015em}
.t-h1{font-family:var(--serif);font-weight:400;font-size:56px;line-height:1.05;letter-spacing:-.015em}
.t-h2{font-family:var(--serif);font-weight:400;font-size:42px;line-height:1.1;letter-spacing:-.01em}
.t-h3{font-family:var(--serif);font-weight:400;font-size:26px;line-height:1.2;letter-spacing:-.005em}
.t-lead{font-size:21px;line-height:1.5;letter-spacing:.3px}
.t-body{font-size:17px;line-height:1.65;letter-spacing:.3px}
.t-small{font-size:14px;line-height:1.5;letter-spacing:.6px}
.t-menu{font-size:20px;line-height:1.3;letter-spacing:.3px;font-weight:500}
.t-eyebrow{font-size:13px;line-height:1.4;letter-spacing:.18em;font-weight:600;text-transform:uppercase;color:var(--accent)}
.c-2{color:var(--text-2)}
.c-acc{color:var(--accent)}
em.acc{font-style:italic;color:var(--accent)}

/* ---------- Układ strony ---------- */
.page{display:flex;flex-direction:column;align-items:center;gap:var(--gap);padding-top:48px;position:relative}
.page--home{padding-top:40px}
.main{display:contents}
.main:focus{outline:none}
.wrap{width:min(var(--w),100% - 48px)}
.m-only{display:none}
.full{width:100%}

/* ---------- Nagłówek strony (Header) ---------- */
.site-header{display:flex;justify-content:space-between;align-items:center;padding:8px 0}
.logo{display:flex;align-items:center;gap:14px}
/* Logo Nicole Designer (SVG, kolor #E5DED9) – desktop 88 px wys., telefon 60 px, stopka 96 px */
.logo-img{display:block;height:88px;width:auto;flex:none}
.logo-img--footer{height:96px}
.header-contact{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.header-mail{font-size:14px;line-height:1.5;letter-spacing:.6px;text-transform:uppercase}
.header-mail:hover{color:var(--accent)}
.socials{display:flex;gap:10px}
.social{width:44px;height:44px;border-radius:10px;background:var(--panel);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1.5;letter-spacing:.6px;transition:background .25s,border-color .25s,box-shadow .25s}
.social:hover{background:var(--panel-hover)}
.m-header{display:none}

/* ---------- Przyciski (Przycisk/Button) ---------- */
.btn{display:inline-flex;align-items:center;gap:12px;padding:13px 22px;border:2px solid var(--text);border-radius:10px;font-weight:500;font-size:17px;line-height:1.2;letter-spacing:.3px;white-space:nowrap;transition:background-color .25s,color .25s,border-color .25s,box-shadow .25s;cursor:pointer}
.btn .ico{width:24px;height:24px;flex:none}
.btn--outline{background:transparent;color:var(--text)}
.btn--outline:hover{background:rgba(193,146,146,.08)}
.btn--fill{background:var(--text);color:var(--inverse)}
.btn--fill:hover{background:#F0EAE6;border-color:#F0EAE6}
.btn-row{display:flex;gap:16px;flex-wrap:wrap}
.btn-row--between{justify-content:space-between}

/* ---------- Etykieta (Tag) / Filtr (Chip) ---------- */
.tag{display:inline-flex;align-items:center;padding:6px 14px;border:1.5px solid var(--accent);border-radius:999px;color:var(--accent);font-size:14px;line-height:1.5;letter-spacing:.6px;white-space:nowrap}
.tags{display:flex;gap:12px;flex-wrap:wrap}
.chip{display:inline-flex;align-items:center;height:44px;padding:0 18px;border:1px solid var(--border);background:var(--panel);border-radius:999px;font-weight:500;font-size:17px;line-height:1.2;letter-spacing:.3px;white-space:nowrap;transition:background-color .25s,color .25s,border-color .25s,box-shadow .25s}
.chip.is-active{background:var(--text);color:var(--inverse);border-color:transparent;padding:0 18px}
button.chip:not(.is-active):hover{background:var(--panel-hover)}
.chips{display:flex;flex-wrap:wrap;gap:12px}

/* ---------- Separator ---------- */
.sep{height:6px;border-radius:3px;background:var(--panel);border:1px solid var(--border)}

/* ---------- Wiersz menu (Nav row) ---------- */
.nav-rows{display:flex;flex-direction:column;gap:10px}
.nav-row{display:flex;align-items:center;gap:20px;padding:20px 24px;border:1px solid var(--border);border-radius:14px;background:var(--panel);transition:background-color .2s}
.nav-row:hover{background:var(--panel-hover)}
.nav-row .ico{flex:none}
.nav-row span{flex:1;font-size:20px;line-height:1.3;letter-spacing:.3px;font-weight:500}

/* ---------- Karty ---------- */
.card{background:var(--card);border:1px solid var(--border)}
.panel{background:var(--panel);border:1px solid var(--border)}
.shadow{box-shadow:0 12px 32px rgba(0,0,0,.35)}

/* ==========================================================================
   OTWARCIE STRONY GŁÓWNEJ: Hero + pętla logotypów + oferta
   ========================================================================== */
.opener{width:100%;display:flex;flex-direction:column;background:var(--bg)}

/* Hero – „To, co widać, ma znaczenie.” (1440×614) */
.hero{position:relative;width:100%;max-width:1440px;height:614px;margin:0 auto;overflow:hidden;background:var(--bg)}
.hero-photo{position:absolute;right:0;top:0;width:500px;height:614px;mix-blend-mode:lighten}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-fade{display:none}
.hero-title{position:absolute;left:131px;top:196px;color:var(--text)}
.hero-desc{position:absolute;left:131px;top:384px;width:622px;font-size:18px;line-height:32px;letter-spacing:0;color:var(--text-2)}

/* Pętla logotypów (Marquee) */
.marquee{position:relative;height:128px;overflow:hidden;border-top:1px solid #292827;border-bottom:1px solid #292827;background:var(--bg);display:flex;align-items:center}
.marquee-track{display:flex;width:max-content;animation:marquee var(--mq-dur,32s) linear infinite;will-change:transform}
.marquee-set{display:flex;align-items:center;gap:88px;padding-right:88px;font-size:26px}
.mlogo{display:flex;align-items:center;gap:10px;color:#9F9892;font-size:1em;line-height:normal;letter-spacing:0;white-space:nowrap}
.mlogo svg{flex:none;fill:currentColor}
.mlogo .ring,.mlogo .wave{fill:none;stroke:currentColor}
.mlogo--fraunces{font-family:"Fraunces",serif;font-weight:600}
.mlogo--grotesk{font-family:"Space Grotesk",sans-serif;font-weight:700}
.mlogo--outfit-m{font-family:var(--sans);font-weight:500}
.mlogo--outfit-b{font-family:var(--sans);font-weight:700}
.mlogo--news-i{font-family:var(--serif);font-style:italic;font-weight:400}
.mlogo--lora{font-family:"Lora",serif;font-weight:500}
.mlogo--inter{font-family:"Inter",sans-serif;font-weight:600}
.mlogo--dmserif{font-family:"DM Serif Display",serif;font-weight:400}
.marquee::before,.marquee::after{content:"";position:absolute;top:0;bottom:0;width:200px;z-index:1;pointer-events:none}
.marquee::before{left:0;background:linear-gradient(90deg,#171717,rgba(23,23,23,0))}
.marquee::after{right:0;background:linear-gradient(270deg,#171717,rgba(23,23,23,0))}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.marquee-track{animation-duration:calc(var(--mq-dur,32s) * 4)}}

/* Oferta – stos kart (jak w rolce) 1440×880 */
.offer{position:relative;width:100%;max-width:1440px;height:880px;margin:0 auto;overflow:hidden;background:var(--bg)}
.offer-glow{position:absolute;left:700px;top:40px;width:820px;height:820px;border-radius:50%;background:radial-gradient(closest-side,rgba(193,146,146,.22),rgba(193,146,146,0));pointer-events:none}
.offer-text{position:absolute;left:131px;top:50%;transform:translateY(-50%);width:540px;display:flex;flex-direction:column;gap:24px}
.offer-eyebrow{font-size:13px;line-height:normal;letter-spacing:.18em;font-weight:600;color:var(--accent);text-transform:uppercase}
.offer-title{font-family:var(--serif);font-weight:400;font-size:72px;line-height:74px;letter-spacing:-.015em;color:var(--text)}
.offer-lead{font-size:18px;line-height:30px;letter-spacing:0;color:var(--text-2)}
.offer-label{font-size:15px;line-height:normal;letter-spacing:0;font-weight:500;color:rgba(229,222,217,.85)}
.tools{display:flex;gap:10px}
.tool{width:48px;height:48px;border-radius:12px;background:var(--bg);border:1px solid #444240;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:15px;line-height:normal;letter-spacing:0;color:rgba(229,222,217,.9)}
.tool--s{font-size:13px}
.offer-stage{position:absolute;left:730px;top:107px;width:600px}

/* stos */
.deck{--cw:600px;--ch:330px;--step:190px;--peek:28px;--exit:-170px;--shrink:48px;position:relative;width:var(--cw);height:calc(var(--step) + var(--ch) + 2 * var(--peek));touch-action:pan-y;user-select:none}
.deck-ghost{position:absolute;left:calc(var(--shrink));top:calc(var(--step) + 2 * var(--peek));width:calc(var(--cw) - 2 * var(--shrink));height:var(--ch);border-radius:28px;background:var(--bg);border:1px solid #53504E;z-index:2}
.scard{position:absolute;left:0;top:0;width:var(--cw);height:var(--ch);display:flex;flex-direction:column;justify-content:space-between;padding:34px 38px;border-radius:28px;overflow:hidden;
  background:var(--bg);border:1px solid #413F3D;box-shadow:0 10px 30px rgba(0,0,0,.5);color:var(--text);
  transition:transform 1s var(--ease),width 1s var(--ease),opacity 1s var(--ease),background-color 1s var(--ease),border-color 1s var(--ease),box-shadow 1s var(--ease)}
.scard *{transition:color 1s var(--ease),background-color 1s var(--ease),border-color 1s var(--ease),opacity 1s var(--ease)}
.scard-top{display:flex;flex-direction:column;gap:14px}
.scard-row{display:flex;align-items:center;gap:12px}
.scard-ico{width:40px;height:40px;border-radius:12px;flex:none;position:relative;background:rgba(229,222,217,.05);border:1px solid rgba(229,222,217,.5)}
.scard-ico::after{content:"";position:absolute;left:13px;top:13px;width:12px;height:12px;border-radius:50%;background:var(--accent);transition:background-color 1s var(--ease)}
.scard-title{font-family:var(--serif);font-weight:400;font-size:38px;line-height:normal;letter-spacing:-.01em;white-space:nowrap}
.scard-desc{font-size:17px;line-height:26px;letter-spacing:0;color:rgba(229,222,217,.6)}
.scard-tags{display:flex;flex-wrap:wrap;gap:8px}
.scard-tags span{padding:8px 14px;border-radius:999px;font-weight:500;font-size:14px;line-height:normal;letter-spacing:0;color:rgba(229,222,217,.7);background:rgba(229,222,217,.04);border:1px solid rgba(229,222,217,.2)}
/* role w stosie */
.scard[data-role="exit"]{transform:translate(0,var(--exit));opacity:0;z-index:1}
.scard[data-role="peek"]{transform:translate(calc(var(--shrink) / 2),calc(var(--step) + var(--peek))) rotate(-1.5deg);width:calc(var(--cw) - var(--shrink));background:#1D1D1C;border-color:#726D69;z-index:3}
.scard[data-role="top"]{transform:translate(0,0);z-index:4}
.scard[data-role="front"]{transform:translate(0,var(--step));z-index:5;background:var(--accent);border-color:rgba(229,222,217,.35);box-shadow:0 30px 80px -10px rgba(193,146,146,.45);color:var(--inverse)}
.scard[data-role="front"] .scard-desc{color:rgba(23,23,23,.92)}
.scard[data-role="front"] .scard-ico{background:rgba(23,23,23,.08);border-color:rgba(23,23,23,.45)}
.scard[data-role="front"] .scard-ico::after{background:var(--inverse)}
.scard[data-role="front"] .scard-tags span{color:var(--inverse);background:rgba(23,23,23,.08);border-color:rgba(23,23,23,.45)}
.deck-nav{display:flex;justify-content:flex-end;gap:12px;margin-top:34px}
.deck-btn{width:56px;height:56px;border-radius:999px;display:flex;align-items:center;justify-content:center;transition:transform .2s,background-color .25s,box-shadow .25s}
.deck-btn--prev{border:1px solid #53504E;color:var(--text)}
.deck-btn--prev:hover{background:rgba(229,222,217,.06)}
.deck-btn--next{background:var(--accent);color:var(--inverse)}
.deck-btn--next:hover{transform:translateX(2px)}
.deck-btn:active{transform:scale(.96)}

/* ---------- Poświata wszystkich przycisków ---------- */
.btn,.deck-btn,.social,button.chip,.to-top{box-shadow:var(--glow)}
.btn:hover,.btn:focus-visible,.deck-btn:hover,.deck-btn:focus-visible,.social:hover,.social:focus-visible,button.chip:hover,button.chip:focus-visible,.to-top:hover,.to-top:focus-visible{box-shadow:var(--glow-hover)}
.deck-btn--next:hover{background:#CBA0A0}
@media (prefers-reduced-motion:reduce){.btn,.deck-btn,.social,button.chip,.to-top{transition:none}}
@media (prefers-reduced-motion:reduce){.scard,.scard *{transition-duration:.01ms!important}}

/* ==========================================================================
   STRONA GŁÓWNA – pozostałe sekcje
   ========================================================================== */
.intro{display:flex;flex-direction:column;gap:20px;padding:24px 0 8px}
.intro .t-display{max-width:900px}
.intro .t-lead{max-width:720px}

/* Powitanie (About card) */
.about-card{display:flex;align-items:center;gap:48px;padding:40px;border-radius:28px}
.photo-ph{position:relative;flex:none;width:320px;height:340px;border-radius:18px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#272625,#262524);font-size:14px;line-height:1.5;letter-spacing:.6px}
.about-text{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.about-text .t-lead{color:var(--text)}

/* Sekcje z miniaturami */
.works{display:flex;flex-direction:column;align-items:center;gap:28px;scroll-margin-top:32px}
.works-head{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;width:calc(100% - 4px)}
.thumb{display:flex;flex-direction:column;gap:12px}
.thumb-img{position:relative;aspect-ratio:356/267;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;isolation:isolate}
.mock-bg{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.thumb-title{font-size:14px;line-height:1.5;letter-spacing:.6px;color:var(--text-2);transition:color .2s}
.thumb-overlay{position:absolute;inset:0;background:rgba(23,23,23,.62);display:flex;align-items:center;justify-content:center;font-weight:500;font-size:17px;line-height:1.2;letter-spacing:.3px;color:var(--text);opacity:0;transition:opacity .25s}
a.thumb:hover .thumb-overlay,a.thumb:focus-visible .thumb-overlay{opacity:1}
a.thumb:hover .thumb-title{color:var(--text)}
.ph-circle{width:106px;height:106px;border-radius:50%;background:rgba(229,222,217,.18)}
.ph-text{font-size:14px;line-height:1.5;letter-spacing:.6px;color:var(--text)}

/* Telefon w miniaturze (100×185) */
.phone{width:100px;height:185px;padding:7.585px;border-radius:19.72px;background:#171717;flex:none}
.phone-screen{width:100%;height:100%;border-radius:13.65px;background:#E5DED9;padding:10.62px 9.1px 0;display:flex;flex-direction:column;gap:7.585px;overflow:hidden}
.phone-screen i{display:block;height:18px;border-radius:4.55px;background:#CCC3BB;flex:none}
.phone-screen i.b0{height:11px;background:#1C1C1C}
.phone-screen i.b1{height:24px}

/* Jak pracuję (Process) */
.process{display:flex;flex-direction:column;align-items:center;gap:28px}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;width:100%;align-items:start}
.step{display:flex;flex-direction:column;gap:12px;padding:28px;border-radius:20px}
.step-top{display:flex;justify-content:space-between;align-items:center}
.step-num{font-family:var(--serif);font-size:26px;line-height:1.2;letter-spacing:-.005em;color:var(--accent)}

/* Wezwanie do działania (CTA) */
.cta{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:48px;border-radius:24px;border:1px solid var(--border);background:var(--bg)}
.cta-text{display:flex;flex-direction:column;gap:10px;max-width:787px}

/* Do góry */
.to-top{position:absolute;right:48px;bottom:calc(var(--footer-h,422px) + 40px);width:56px;height:56px;border-radius:10px;background:var(--text);color:var(--inverse);display:flex;align-items:center;justify-content:center;transition:transform .2s,box-shadow .25s}
.to-top:hover{transform:translateY(-2px)}

/* ---------- Stopka (Footer) ---------- */
.site-footer{width:100%;background:var(--footer)}
.footer-in{width:min(var(--w),100% - 48px);margin:0 auto;padding:72px 0 48px;display:flex;flex-direction:column;gap:40px}
.footer-cols{display:grid;grid-template-columns:repeat(4,232px);justify-content:space-between;gap:64px}
.footer-col{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.footer-brand{gap:14px}
.footer-col a{font-size:17px;line-height:1.65;letter-spacing:.3px;transition:color .2s}
.footer-col a:hover{color:var(--accent)}
.footer-line{height:1px;background:var(--border)}
.footer-bottom{display:flex;justify-content:space-between;gap:24px;font-size:14px;line-height:1.5;letter-spacing:.6px;color:var(--text-2)}
.m-footer{display:none}

/* ==========================================================================
   PODSTRONY
   ========================================================================== */
.back{display:flex}

/* Case study */
.cs-head{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.cs-head .t-display{max-width:980px}
.cs-head .t-lead{max-width:820px}
.meta{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.meta-item{display:flex;flex-direction:column;gap:6px;padding:24px;border-radius:18px}
.cs-hero{border-radius:28px;overflow:hidden}
.cs-hero img{width:100%;height:auto}
.timeline{display:flex;flex-direction:column;gap:20px}
.phases{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.phase{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:16px}
.phase b{font-weight:400;font-size:14px;line-height:1.5;letter-spacing:.6px;color:var(--accent)}
.phase span{font-weight:500;font-size:20px;line-height:1.3;letter-spacing:.3px}
.cs-sec{display:flex;gap:48px;padding:44px;border-radius:28px}
.cs-num{flex:none;width:65px;font-family:var(--serif);font-size:56px;line-height:60px;letter-spacing:-.015em;color:var(--accent)}
.cs-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:14px}
.ba{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ba-item{display:flex;flex-direction:column;gap:10px}
.ba-item img{width:100%;height:auto}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:start}
.stats--4{grid-template-columns:repeat(4,1fr)}
.stat{display:flex;flex-direction:column;gap:4px;padding:20px;border-radius:16px}
.stat .t-h2{color:var(--accent)}
.cs-note{padding:24px 32px;border:1px solid var(--border);border-radius:18px}

/* O mnie */
.me-card{display:flex;align-items:flex-start;gap:56px;padding:48px;border-radius:28px}
.me-card .photo-ph{width:400px;height:480px}
.me-text{flex:1;display:flex;flex-direction:column;gap:18px}
.me-text .t-lead{color:var(--text)}
.block{display:flex;flex-direction:column;gap:16px}
.block--18{gap:18px}
.exp{display:flex;gap:32px;padding:24px 28px;border-radius:18px}
.exp-year{flex:none;width:200px;font-weight:500;font-size:20px;line-height:1.3;letter-spacing:.3px;color:var(--accent)}
.exp-desc{flex:1;display:flex;flex-direction:column;gap:4px}
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:start}

/* Grafika */
.page-head{display:flex;flex-direction:column;gap:16px}
.page-head .t-lead{max-width:820px}
.filters{display:flex;gap:10px;flex-wrap:wrap}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 32px}
.tile{display:flex;flex-direction:column;gap:14px}
.tile[hidden]{display:none}
.tile-img{position:relative;aspect-ratio:352/264;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;isolation:isolate}
.tile-img .ph-circle{width:110px;height:110px}
.tile .t-small{margin-top:0}
.tile-cap{display:flex;flex-direction:column;gap:14px}
.gallery-empty{grid-column:1/-1;color:var(--text-2)}

/* Kontakt */
.contact{display:flex;gap:56px;opacity:.8}
.contact-left{flex:0 0 491px;display:flex;flex-direction:column;gap:18px}
.contact-title{font-family:var(--serif);font-weight:400;font-size:54px;line-height:58px;letter-spacing:-.015em}
.channel{display:flex;align-items:center;gap:14px;font-weight:500;font-size:20px;line-height:1.3;letter-spacing:.3px}
.channel a:hover{color:var(--accent)}
.form{flex:1;display:flex;flex-direction:column;gap:20px;padding:40px;border-radius:28px}
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:14px;line-height:1.5;letter-spacing:.6px;color:var(--text-2)}
.field input,.field textarea{width:100%;font:inherit;font-size:17px;line-height:28px;letter-spacing:.3px;color:var(--text);background:var(--panel);border:1px solid var(--border);border-radius:10px;padding:14px 16px;outline:none;transition:border-color .2s,box-shadow .2s;appearance:none}
.field textarea{height:140px;resize:vertical;min-height:140px}
.field input::placeholder,.field textarea::placeholder{color:var(--text-2);opacity:1}
.field input:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.field.has-error input,.field.has-error textarea{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.field-error{font-size:14px;line-height:1.5;letter-spacing:.6px;color:var(--accent)}
.form-note{font-size:14px;line-height:1.5;letter-spacing:.6px;color:var(--text-2)}
.form-note a{text-decoration:underline;text-underline-offset:3px}
.form-alert{padding:14px 16px;border-radius:10px;border:1px solid var(--accent);font-size:17px;line-height:1.5}
.form-alert--ok{border-color:var(--border);background:var(--panel)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Polityka / 404 */
.prose{display:flex;flex-direction:column;gap:18px;max-width:820px}
.prose h2{margin-top:16px}
.prose p,.prose li{color:var(--text-2)}
.prose ul{list-style:disc;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.prose a{color:var(--text);text-decoration:underline;text-underline-offset:3px}

/* ---------- Menu mobilne (ekran 08) ---------- */
.m-menu{position:fixed;inset:0;z-index:50;background:var(--bg);padding:24px 20px 40px;display:flex;flex-direction:column;gap:24px;overflow-y:auto;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.m-menu.is-open{opacity:1;visibility:visible}
.m-menu-head{display:flex;justify-content:space-between;align-items:center;min-height:54px}
.m-menu-mail{text-align:center;color:var(--text-2);font-size:17px;line-height:1.65;letter-spacing:.3px}
body.menu-open{overflow:hidden}

/* ==========================================================================
   RESPONSYWNOŚĆ
   ========================================================================== */
@media (max-width:1439px){
  .hero-photo{width:clamp(380px,34.72vw,500px)}
  .hero-title,.hero-desc{left:clamp(48px,9.1vw,131px)}
  .hero-desc{width:min(622px,calc(100vw - clamp(380px,34.72vw,500px) - clamp(48px,9.1vw,131px) - 24px))}
}
@media (max-width:1379px){
  .offer{height:auto;padding:96px 0}
  .offer-glow{left:50%;top:auto;bottom:-120px;transform:translateX(-50%)}
  .offer-text{position:relative;left:auto;top:auto;transform:none;margin:0 auto}
  .offer-stage{position:relative;left:auto;top:auto;margin:64px auto 0}
  .footer-cols{grid-template-columns:repeat(2,1fr);gap:40px 64px}
}
@media (max-width:1180px){
  .hero-title{font-size:60px;line-height:62px}
  .thumbs,.gallery{gap:20px}
  .meta{grid-template-columns:repeat(2,1fr)}
  .phases{grid-template-columns:repeat(3,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .me-card .photo-ph{width:320px;height:400px}
  .contact-left{flex-basis:420px}
}

/* ---------- Telefon (ramki 390 px) ---------- */
@media (max-width:860px){
  :root{--gap:28px}
  body{font-size:17px}
  .wrap,.footer-in{width:calc(100% - 40px);max-width:560px}
  .page{padding-top:24px}
  .page--home{padding-top:24px}

  .d-only{display:none!important}
  .m-only{display:revert}
  /* nagłówek mobilny */
  .site-header{display:none}
  .m-header{display:flex;justify-content:space-between;align-items:center;min-height:54px}
  .m-header{min-height:60px}
  .m-header .logo-img{height:60px}

  /* typografia */
  .t-display{font-size:56px;line-height:1.05;letter-spacing:-.015em}
  .t-h1{font-size:42px;line-height:1.1;letter-spacing:-.01em}
  .t-lead{font-size:19px}

  /* hero mobile (390×706) */
  .hero{height:auto;max-width:none}
  .hero-photo{position:relative;right:auto;width:100%;height:auto;aspect-ratio:390/470;max-height:640px}
  .hero-photo img{object-position:50% 20%}
  .hero-fade{display:block;position:absolute;left:0;right:0;height:200px;top:calc(min(100vw * 470 / 390, 640px) - 200px);background:linear-gradient(180deg,rgba(23,23,23,0),#171717)}
  .hero-title{position:relative;left:auto;top:auto;width:min(560px,calc(100% - 40px));margin:-60px auto 0;font-size:46px;line-height:48px;z-index:1}
  .hero-desc{position:relative;left:auto;top:auto;width:min(560px,calc(100% - 40px));margin:22px auto 48px;font-size:16px;line-height:26px;z-index:1}

  /* pętla mobile (390×84) */
  .marquee{height:84px}
  .marquee-set{gap:56px;padding-right:56px;font-size:19px}
  .mlogo{gap:8px}
  .marquee::before,.marquee::after{width:60px}

  /* oferta mobile (390×1005) */
  .offer{height:auto;padding:56px 20px 64px}
  .offer-glow{width:520px;height:520px;left:50%;top:auto;bottom:120px;transform:translateX(-50%)}
  .offer-text{width:100%;max-width:560px;gap:18px;margin:0 auto}
  .offer-eyebrow{font-size:12px}
  .offer-title{font-size:46px;line-height:48px}
  .offer-lead{font-size:16px;line-height:26px}
  .offer-label{font-size:14px}
  .tools{gap:8px}
  .tool{width:40px;height:40px;border-radius:10px;font-size:13px}
  .tool--s{font-size:11px}
  .offer-stage{width:350px;margin:48px auto 0}
  .deck{--cw:350px;--ch:270px;--step:130px;--peek:20px;--exit:-120px;--shrink:32px}
  .deck-ghost{border-radius:24px}
  .scard{padding:24px;border-radius:24px;box-shadow:0 8px 20px rgba(0,0,0,.5)}
  .scard[data-role="front"]{box-shadow:0 20px 50px -8px rgba(193,146,146,.45)}
  .scard-top{gap:10px}
  .scard-row{gap:10px}
  .scard-ico{width:32px;height:32px;border-radius:10px}
  .scard-ico::after{left:10px;top:10px;width:10px;height:10px}
  .scard-title{font-size:27px}
  .scard-desc{font-size:15px;line-height:22px}
  .scard-tags{gap:6px}
  .scard-tags span{padding:6px 11px;font-size:12px}
  .deck-nav{gap:10px;margin-top:26px}
  .deck-btn{width:52px;height:52px}

  /* strona główna mobile */
  .intro{gap:14px;padding:0}
  .intro .t-display{font-size:56px}
  .intro .t-lead{display:none}
  .nav-rows--home{gap:8px}
  .about-card{flex-direction:column;align-items:flex-start;gap:18px;padding:22px;border-radius:24px;box-shadow:none}
  .about-card .photo-ph{width:100%;height:260px}
  .about-card .t-h1{font-size:36px;line-height:39px}
  .about-card .about-lead,.about-card .tags{display:none}
  .about-text{gap:18px}
  .works-head{text-align:center}
  .thumbs{grid-template-columns:1fr;gap:22px;width:100%}
  .thumb{gap:11px}
  .thumb-title{font-size:13px;letter-spacing:.56px}
  .phone{transform:scale(.983)}
  .steps{grid-template-columns:1fr;gap:14px}
  .process .t-h2{font-size:40px}
  .cta{flex-direction:column;align-items:flex-start;padding:28px;gap:32px}
  .cta .t-h1{font-size:42px;line-height:1.1;letter-spacing:-.01em}
  .to-top{display:none}

  /* stopka mobile */
  .site-footer .footer-in{display:none}
  .m-footer{display:flex;flex-direction:column;align-items:center;gap:14px;padding:40px 20px;text-align:center}
  .m-footer a{font-size:17px;line-height:1.65;letter-spacing:.3px}
  .m-footer p{font-size:14px;line-height:1.5;letter-spacing:.6px;color:var(--text-2);max-width:350px}

  /* podstrony mobile */
  .btn{white-space:normal}
  .cs-head{gap:14px}
  .meta{grid-template-columns:1fr 1fr;gap:12px}
  .meta-item{padding:18px;border-radius:16px}
  .meta-item .t-h3{font-size:20px}
  .cs-hero{border-radius:22px}
  .phases{grid-template-columns:1fr 1fr;gap:10px}
  .phase{padding:14px}
  .phase span{font-size:17px}
  .cs-sec{flex-direction:column;gap:12px;padding:24px;border-radius:24px}
  .cs-num{font-size:40px;line-height:44px;width:auto}
  .ba,.stats,.stats--4,.values{grid-template-columns:1fr}
  .stats--4{grid-template-columns:1fr 1fr}
  .cs-note{padding:20px}
  .btn-row--between{flex-direction:column;align-items:flex-start}
  .me-card{flex-direction:column;gap:24px;padding:22px;border-radius:24px}
  .me-card .photo-ph{width:100%;height:auto;aspect-ratio:400/480;max-height:420px}
  .exp{flex-direction:column;gap:8px;padding:20px}
  .exp-year{width:auto}
  .gallery{grid-template-columns:1fr;gap:28px}
  .contact{flex-direction:column;gap:32px}
  .contact-left{flex-basis:auto}
  .contact-title{font-size:42px;line-height:46px}
  .channel{font-size:17px;word-break:break-word}
  .form{padding:24px;border-radius:24px}
  .form .t-h2{font-size:34px}
}
@media (max-width:370px){
  .offer{padding-left:20px;padding-right:20px}
  .offer-stage{width:100%}
  .deck{--cw:min(350px,calc(100vw - 40px))}
  .scard-title{font-size:24px}
  .t-display,.intro .t-display{font-size:48px}
}

/* ---------- Case study: okładka, przepływ i ekrany aplikacji ---------- */
.cs-cover{margin:0;border-radius:28px;overflow:hidden;border:1px solid var(--border);box-shadow:0 40px 80px -40px rgba(0,0,0,.7),0 0 40px -10px rgba(193,146,146,.25)}
.cs-cover img{width:100%;height:auto}
.screen-phone{display:block;padding:6px;border-radius:30px;background:#0c0c0c;border:1px solid rgba(229,222,217,.14);box-shadow:0 24px 48px -24px rgba(0,0,0,.8),0 0 0 1px rgba(193,146,146,.10);transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
.screen-phone img{width:100%;height:auto;border-radius:24px}
.screen-phone:hover,.screen-phone:focus-visible{transform:translateY(-6px);box-shadow:0 30px 56px -24px rgba(0,0,0,.85),var(--glow)}
.screen-phone:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.flow-label{margin-top:10px}
.flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:28px;counter-reset:f}
.flow-step{position:relative;display:flex;flex-direction:column;gap:12px}
.flow-step:not(:last-child)::after{content:"";position:absolute;top:44%;right:-22px;width:16px;height:16px;border-top:2px solid var(--accent);border-right:2px solid var(--accent);transform:rotate(45deg);opacity:.8}
.flow-cap{display:flex;gap:10px;align-items:baseline;margin:0;font-size:15px;line-height:1.4;color:var(--text-2)}
.flow-cap b{font-family:var(--serif);font-weight:400;font-size:22px;color:var(--accent)}
.cs-gallery{display:flex;flex-direction:column;gap:28px}
.cs-gallery-head{display:flex;flex-direction:column;gap:10px;max-width:820px}
.screens{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:28px 20px}
.screen{flex:0 0 calc((100% - 80px) / 5);display:flex;flex-direction:column;gap:12px;text-align:center}
.screen .t-small{margin:0}
.lightbox{max-width:min(92vw,520px);max-height:94vh;padding:0;border:0;background:transparent;color:var(--text);overflow:visible}
.lightbox::backdrop{background:rgba(10,10,10,.82);backdrop-filter:blur(6px)}
.lightbox figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:12px}
.lightbox img{max-height:calc(94vh - 120px);width:auto;border-radius:34px;border:6px solid #0c0c0c;box-shadow:0 0 0 1px rgba(229,222,217,.14),var(--glow)}
.lightbox-close{margin:0 0 12px auto}
.lightbox[open]{animation:lb-in .35s var(--ease)}
@keyframes lb-in{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.screen-phone,.lightbox[open]{transition:none;animation:none}}
@media (max-width:1180px){.screen{flex-basis:calc((100% - 60px) / 4)}}
@media (max-width:860px){
  .cs-cover{border-radius:22px}
  .flow{grid-template-columns:1fr 1fr;gap:20px 14px}
  .flow-step::after{display:none}
  .cs-gallery{gap:20px}
  .screens{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin:0 -20px;padding:4px 20px 18px;scrollbar-width:none}
  .screens::-webkit-scrollbar{display:none}
  .screen{flex:0 0 62%;scroll-snap-align:center}
}

/* ==========================================================================
   Zmiany z Figmy (październik): przyciski, powitanie nad ofertą, foldery
   ========================================================================== */

/* Jeden styl wszystkich przycisków – różowa ramka i poświata (komponenty
   „Przycisk”, „Przycisk ikony”, „Przycisk mały”) */
:root{
  --btn-bg:rgba(193,146,146,.06);
  --btn-bg-hover:rgba(193,146,146,.16);
  --btn-line:#D49898;
  --btn-line-hover:#E2AEAE;
  --btn-glow:0 0 8px 0 rgba(193,146,146,.40),0 0 26px 2px rgba(193,146,146,.55);
  --btn-glow-hover:0 0 10px 1px rgba(193,146,146,.60),0 0 40px 6px rgba(193,146,146,.85);
}
.btn,.btn--outline,.btn--fill,.deck-btn,.deck-btn--prev,.deck-btn--next,.social,.to-top{
  background:var(--btn-bg);color:var(--text);border:2px solid var(--btn-line);box-shadow:var(--btn-glow);
  transition:background-color .25s,border-color .25s,box-shadow .25s,transform .2s;
}
.btn:hover,.btn:focus-visible,.btn--fill:hover,.btn--outline:hover,.deck-btn:hover,.deck-btn:focus-visible,.deck-btn--next:hover,.deck-btn--prev:hover,.social:hover,.social:focus-visible,.to-top:hover,.to-top:focus-visible{
  background:var(--btn-bg-hover);border-color:var(--btn-line-hover);box-shadow:var(--btn-glow-hover);color:var(--text);
}
.social{border-radius:10px}
.to-top{border-radius:10px}
.deck-btn{border-radius:999px}

/* Powitanie („Cześć, tu Nicole!”) nad ofertą */
.about-sec{background:var(--bg);padding:96px 0 16px;display:flex;justify-content:center}
.about-sec .about-card{margin:0 auto}

/* Kafel projektu – folder wysuwany po najechaniu */
.thumb-img{container-type:inline-size;transition:box-shadow .45s var(--ease)}
.thumb-pic,.thumb-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
.thumb-overlay{display:none}
.folder{position:absolute;left:0;right:0;bottom:0;aspect-ratio:356/180;transform:translateY(calc(100% + 4px));transition:transform .45s var(--ease);color:var(--text);text-align:left;z-index:2;pointer-events:none}
.folder-shape{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 -8px 12px rgba(0,0,0,.45))}
.folder-shape path{fill:#1C1C1C;stroke:rgba(212,152,152,.35);stroke-width:1;vector-effect:non-scaling-stroke}
.folder-title{position:absolute;left:6.18cqw;top:3.93cqw;font-family:var(--serif);font-size:6.74cqw;line-height:1.1667;white-space:nowrap}
.folder-desc{position:absolute;left:6.18cqw;top:14.04cqw;width:87.64cqw;font-size:3.93cqw;line-height:1.4286;letter-spacing:.003em;color:var(--text-2)}
.folder-foot{position:absolute;left:6.18cqw;top:33.15cqw;width:87.64cqw;height:11.24cqw;display:flex;align-items:center;justify-content:space-between}
.folder-count{display:flex;align-items:baseline;gap:2.25cqw}
.folder-count b{font-family:var(--serif);font-weight:400;font-size:9.55cqw;line-height:1.0588}
.folder-count span{font-size:3.93cqw;letter-spacing:.003em;opacity:.75}
.folder-meta{font-weight:500;font-size:4.21cqw}
@media (hover:hover) and (min-width:861px){
  a.thumb:hover .thumb-img,a.thumb:focus-visible .thumb-img{box-shadow:0 0 30px 0 rgba(193,146,146,.5)}
  a.thumb:hover .folder,a.thumb:focus-visible .folder{transform:none}
}
@media (prefers-reduced-motion:reduce){.folder,.thumb-img{transition:none}}
@media (max-width:860px){
  .about-sec{padding:48px 0 0}
  .folder{display:none}
}

/* ==========================================================================
   v1.5 – zdjęcia, kolorowe ikony, grafiki i galerie 1:1 z Figmy
   ========================================================================== */
/* Hero: zdjęcie po lewej (ramka 1440: zdjęcie x 188, tekst x 570) */
.hero-photo{left:calc(50% - 532px);right:auto}
.hero-title{left:calc(50% - 150px);top:179px}
.hero-desc{left:calc(50% - 150px);top:337px;width:600px}
@media (max-width:1439px){
  .hero-photo{width:500px}
  .hero-title,.hero-desc{left:calc(50% - 150px)}
  .hero-desc{width:min(600px,calc(50% + 150px - 32px))}
}
@media (max-width:1100px){
  .hero-photo{left:calc(50% - 470px);width:420px;height:516px;top:49px}
  .hero-title,.hero-desc{left:calc(50% - 90px)}
  .hero-desc{width:calc(50% + 90px - 32px)}
}
@media (max-width:860px){
  .hero-photo{left:auto;top:auto;width:100%;height:auto}
  .hero-photo img{object-position:50% 0}
  .hero-title,.hero-desc{left:auto;top:auto}
  .hero-desc{width:min(560px,calc(100% - 40px))}
}

/* Narzędzia i profile – kolorowe ikony */
.tool .bico{width:24px;height:24px}
.social .bico{width:20px;height:20px}
@media (max-width:860px){.tool .bico{width:20px;height:20px}}

/* Zdjęcia Nicole (karta powitania i O mnie) */
.photo{position:relative;flex:none;display:block;width:320px;height:340px;border-radius:18px;overflow:hidden;background:#262524}
.photo img{width:100%;height:100%;object-fit:cover;display:block}
.me-card .photo{width:400px;height:480px}
@media (max-width:1180px){.me-card .photo{width:320px;height:400px}}
@media (max-width:860px){
  .about-card .photo{width:100%;height:260px}
  .me-card .photo{width:100%;height:auto;aspect-ratio:400/480;max-height:420px}
}

/* Przed i po – obrazy z projektu */
.ba-img{display:block;width:100%;height:auto;aspect-ratio:451/220;object-fit:cover;object-position:50% 0;border-radius:16px;background:#0c0c0c}

/* Galeria ekranów na komputer (ramka „Przeglądarka”: 542×391, padding 8, promień 20) */
.screens--web{display:grid;grid-template-columns:repeat(2,minmax(0,542px));justify-content:center;gap:28px 24px}
.screens--web .screen{flex:none;width:auto}
.screens--web .screen:last-child:nth-child(odd){grid-column:1 / -1;justify-self:center;width:min(542px,100%)}
.screen-web{display:block;padding:8px;border-radius:20px;background:#0c0c0c;border:1px solid rgba(229,222,217,.14);box-shadow:0 24px 48px -24px rgba(0,0,0,.8),0 0 0 1px rgba(193,146,146,.10);transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
.screen-web img{display:block;width:100%;height:auto;aspect-ratio:1440/1024;border-radius:12px}
.screen-web:hover,.screen-web:focus-visible{transform:translateY(-6px);box-shadow:0 30px 56px -24px rgba(0,0,0,.85),var(--glow)}
.screen-web:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.lightbox--web{max-width:min(94vw,1240px)}
.lightbox--web img{max-width:100%;max-height:calc(94vh - 120px);border-radius:16px}
@media (prefers-reduced-motion:reduce){.screen-web{transition:none}}
@media (max-width:860px){
  .screens--web{display:flex;grid-template-columns:none}
  .screens--web .screen,.screens--web .screen:last-child:nth-child(odd){flex:0 0 86%;width:auto}
  .screen-web{padding:6px;border-radius:16px}
  .screen-web img{border-radius:10px}
}
