:root{
  --cream:#fff6c8;
  --cream-2:#fff0a8;
  --ink:#3a1fa3;
  --ink-soft:#5a43b8;
  --script:"Mrs Saint Delafield","Brush Script MT",cursive;
  --mono:"Cutive Mono","Courier New",monospace;
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;background:var(--cream)}
body{
  background:var(--cream);color:var(--ink);
  font-family:var(--mono);font-size:1rem;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
:focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:2px}
.sprite{position:absolute;width:0;height:0}
.script{font-family:var(--script);font-weight:400;line-height:.9}

/* NAGŁÓWEK */
.top{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.2rem clamp(1rem,4vw,3rem)}
.brand{font-family:var(--script);font-size:2rem;text-decoration:none}
.top nav{display:flex;gap:1.5rem;font-size:.9rem}
.top nav a{text-decoration:none;border-bottom:1px solid transparent}
.top nav a:hover{border-color:var(--ink)}

/* HERO */
.hero{
  position:relative;min-height:calc(100vh - 5rem);
  display:grid;grid-template-columns:1fr minmax(240px,420px) 1fr;
  grid-template-areas:"title title title" "left still right" "sl still sr";
  align-items:center;justify-items:center;
  padding:0 clamp(1rem,4vw,3rem) 3rem;
}
.hero h1{
  grid-area:title;font-size:clamp(4.5rem,15vw,11rem);
  text-align:center;padding-top:1rem;
  animation:rise 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.side{text-align:center;font-size:.95rem;letter-spacing:.04em;text-transform:uppercase;line-height:1.5}
.side.left{grid-area:left;align-self:end}
.side.right{grid-area:right;align-self:end}
.swirl{width:110px;height:14px;color:var(--ink)}
.swirl.sl{grid-area:sl;align-self:start}
.swirl.sr{grid-area:sr;align-self:start}
.swirl.mid{display:block;margin:.5rem auto 2rem}

.still{grid-area:still;grid-row:2 / span 2;display:flex;align-items:flex-end;justify-content:center;gap:clamp(.5rem,2vw,1.5rem)}
.still svg{color:var(--ink);overflow:visible}
.still .g1{width:48px;height:150px;transform:translateY(-10px)}
.still .vs{width:130px;height:174px}
.still .cd{width:58px;height:155px}
.still svg{animation:rise 1.2s .5s cubic-bezier(.2,.7,.2,1) both}
.still .vs{animation-delay:.7s}
.still .cd{animation-delay:.9s}

@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}

/* SEKCJE */
.section{padding:5rem clamp(1rem,4vw,3rem);text-align:center}
.section h2{font-size:clamp(3.2rem,8vw,5.5rem)}
.narrow{max-width:640px;margin:0 auto}
.narrow p{font-size:1.05rem}

/* PRODUKTY */
.grid{
  max-width:1100px;margin:0 auto;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:2.5rem 2rem;
}
.card{display:flex;flex-direction:column;align-items:center;gap:.4rem}
.photo{
  width:100%;aspect-ratio:4/5;display:grid;place-items:center;overflow:hidden;
  border:2px solid var(--ink);border-radius:46% 46% 6px 6px / 30% 30% 6px 6px;
  background:var(--cream-2);margin-bottom:.8rem;
  transition:transform .35s ease;
}
.photo img{width:100%;height:100%;object-fit:cover}
.photo svg{width:42%;height:60%;color:var(--ink)}
.card:hover .photo{transform:translateY(-6px) rotate(-1deg)}
.card h3{font-size:1.1rem;font-weight:400}
.desc{font-size:.9rem;color:var(--ink-soft);max-width:26ch}
.price{font-size:1.3rem}
.btn{
  display:inline-block;margin-top:.5rem;padding:.55rem 1.6rem;
  border:2px solid var(--ink);border-radius:999px;
  text-decoration:none;font-size:.9rem;letter-spacing:.06em;
  transition:background .2s,color .2s;
}
a.btn:hover{background:var(--ink);color:var(--cream)}
.btn.off{border-style:dashed;opacity:.55}
.sold .photo{opacity:.55}

/* STOPKA */
footer{padding:3rem 1rem 2.5rem;text-align:center;border-top:2px dashed var(--ink);margin:2rem clamp(1rem,4vw,3rem) 0}
.foot-name{font-size:3rem;margin-bottom:.5rem}
.small{font-size:.8rem;color:var(--ink-soft)}
footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1.5rem;margin-top:.6rem}

/* STRONA GŁÓWNA: nazwa jest już w sekcji startowej, więc nie powtarzamy jej w nagłówku */
.top.home{justify-content:flex-end}
.top.home .brand{display:none}

/* TABLET */
@media (max-width:1000px){
  .grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
}

/* TELEFON */
@media (max-width:720px){
  .top{flex-direction:column;gap:.2rem;padding:.9rem 1rem .3rem}
  .top.home{align-items:center}
  .top nav{gap:1.4rem;font-size:.85rem}
  .brand{font-size:1.8rem;line-height:1.1}

  .hero{
    grid-template-columns:1fr 1fr;
    grid-template-areas:"title title" "still still" "left right" "sl sr";
    gap:1.2rem 1rem;min-height:auto;padding-bottom:2rem;
  }
  .hero h1{padding-top:.5rem}
  .still{grid-area:still;margin-top:.5rem}
  .still .g1{width:42px;height:130px}
  .still .vs{width:112px;height:150px}
  .still .cd{width:50px;height:134px}
  .side.left,.side.right{align-self:start;font-size:.78rem}

  .section{padding:3rem 1rem}
  .section h2{font-size:3.2rem}
  .swirl.mid{margin-bottom:1.5rem}

  .grid{grid-template-columns:repeat(2,1fr);gap:1.8rem 1rem}
  .photo{aspect-ratio:1/1.15;margin-bottom:.5rem;border-width:1.5px}
  .card h3{font-size:.95rem;line-height:1.3}
  .desc{font-size:.78rem;line-height:1.4}
  .price{font-size:1.1rem}
  .btn{padding:.45rem 1.1rem;font-size:.8rem}
  .card:hover .photo{transform:none}

  .legal{padding-top:1.5rem}
  footer{margin:1rem 1rem 0;padding:2rem .5rem}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
}

/* STRONY PRAWNE */
.legal{max-width:720px;margin:0 auto;padding:3rem clamp(1rem,4vw,2rem) 4rem}
.legal h1{font-size:clamp(3.5rem,10vw,6rem);text-align:center}
.legal .swirl.mid{margin-bottom:1rem}
.legal .updated{text-align:center;font-size:.85rem;color:var(--ink-soft);margin-bottom:3rem}
.legal h2{font-size:1.15rem;font-weight:400;margin:2.5rem 0 .8rem;padding-bottom:.4rem;border-bottom:2px dashed var(--ink)}
.legal p,.legal li{margin-bottom:.7rem;max-width:68ch}
.legal ol,.legal ul{padding-left:1.4rem;margin-bottom:1rem}
.legal .form{border:2px solid var(--ink);border-radius:6px;padding:1.2rem 1.4rem;background:var(--cream-2);margin:1rem 0}
.legal .form p{margin-bottom:.4rem}

/* KOMPUTER: zwarta sekcja startowa (bez dużych pustych przestrzeni) */
@media (min-width:721px){
  .hero{
    max-width:1100px;margin:0 auto;min-height:0;
    grid-template-columns:1fr auto 1fr;
    column-gap:clamp(1.5rem,4vw,4rem);row-gap:0;
    padding:0 2rem 4rem;
  }
  .hero h1{font-size:clamp(5rem,11vw,9.5rem);padding-top:0}
  .still{margin-top:.5rem;gap:1.5rem}
  .still .g1{width:56px;height:175px}
  .still .vs{width:148px;height:198px}
  .still .cd{width:66px;height:178px}
  .side{font-size:1.05rem}
  .side.left{justify-self:end;text-align:right}
  .side.right{justify-self:start;text-align:left}
  .swirl.sl{justify-self:end}
  .swirl.sr{justify-self:start}
}
