/* PaperKite — arkusze, polaroid i czerwony latawiec */
:root {
  --sky: #d7e6f5;
  --paper: #fffaf3;
  --ink: #1e2430;
  --red: #e23d2c;
  --muted: #5c6574;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pk {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: clip;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: var(--red); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--paper); }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 720; letter-spacing: -.04em; line-height: .92; }
h1 { font-size: clamp(3rem, 1rem + 5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 1rem + 2.6vw, 3.3rem); }
p { max-width: 60ch; }
p + p { margin-top: .75em; }
.fine, .fineprint, .small, .lead, .vat, .mono { color: var(--muted); }
.path, .am-kicker, .tag, .foot-title { font-family: Caveat, cursive; color: var(--red); font-size: 1.45rem; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 80; background: var(--red); color: var(--paper); padding: .45rem .8rem; }
.skip:focus { top: .5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.8rem; padding: 0 1.15rem; background: var(--red); color: var(--paper);
  text-decoration: none; border-radius: 999px 999px 999px .35rem;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }

.sheetbar {
  position: sticky; top: .45rem; z-index: 40;
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem;
  margin: .7rem; padding: .7rem .9rem;
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--red);
}
.brand { display: flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--ink); font-family: "Bricolage Grotesque", sans-serif; font-weight: 720; font-size: 1.45rem; letter-spacing: -.04em; }
.brand svg { width: 1.7rem; height: 1.7rem; color: var(--red); }
.menu { display: flex; flex-wrap: wrap; gap: .85rem; }
.menu a { color: var(--ink); text-decoration: none; font-family: "Bricolage Grotesque", sans-serif; }
.menu a[aria-current="page"] { color: var(--red); }
.top-actions { margin-left: auto; display: flex; gap: .4rem; }
.cart-link, .kasa-link {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 2.4rem; padding: 0 .8rem;
  background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 999px;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
}
.kasa-link { background: var(--red); transform: rotate(-2deg); }
.cart-link b { background: var(--paper); color: var(--ink); border-radius: 999px; min-width: 1.2rem; height: 1.2rem; display: inline-grid; place-items: center; font-size: .75rem; }
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; }
.burger { display: none; width: 2.4rem; height: 2.4rem; place-content: center; gap: 5px; }
.burger span { width: 1.15rem; height: 2px; background: var(--ink); }
.ticker { margin: 0 .7rem; max-width: none; background: var(--paper); padding: .45rem .8rem; font-size: .95rem; box-shadow: 4px 4px 0 rgba(30, 36, 48, .15); }
.cookie-bar { position: fixed; right: .8rem; bottom: .8rem; z-index: 50; width: min(22rem, calc(100vw - 1.6rem)); background: var(--paper); color: var(--ink); padding: 1rem; box-shadow: 6px 6px 0 var(--red); transform: rotate(-1deg); }
.cookie-actions { display: flex; gap: .4rem; margin-top: .7rem; }

main { padding-bottom: 2rem; }
.am-cover.postcard {
  display: grid; grid-template-columns: 1fr .9fr; gap: 2rem; align-items: center;
  padding: 2rem 6vw 2.4rem;
}
.am-cover-shot { margin: 0; background: var(--paper); padding: .7rem .7rem 1.8rem; transform: rotate(3.2deg); box-shadow: 0 18px 40px rgba(30, 36, 48, .16); }
.am-cover-shot img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.am-lead { margin-top: .7rem; }
.am-facts { margin: 0 6vw 1rem; background: var(--paper); padding: .7rem 1rem; transform: rotate(-1deg); box-shadow: 5px 5px 0 var(--ink); }
.am-shop, .am-film, .voices-sec, .faq-block, .block, .phead { padding: 1rem 5vw 0; }
.am-shop-head, .block-head { margin-bottom: .8rem; }
.mag-grid, .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem 1rem; }
.film-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mag-card, .tile, .film-card { background: var(--paper); padding: .55rem .55rem .85rem; box-shadow: 0 12px 0 rgba(30, 36, 48, .05); }
.mag-card:nth-child(3n+1), .tile:nth-child(3n+1) { transform: rotate(-1.5deg); }
.mag-card:nth-child(3n+2), .tile:nth-child(3n+2) { transform: rotate(.8deg); }
.mag-card:nth-child(3n), .tile:nth-child(3n) { transform: rotate(1.7deg); }
.film-card:nth-child(odd) { transform: rotate(-2deg); }
.film-card:nth-child(even) { transform: rotate(2deg); }
.mag-img img, .tile-img img, .film-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mag-card h3, .tile-body h3, .film-card h3 { font-size: 1.25rem; margin-top: .45rem; }
.mag-card h3 a, .tile-body h3 a, .film-card h3 a { color: inherit; text-decoration: none; }
.mag-card p, .tile-body p, .film-card p { color: var(--muted); font-size: .92rem; }
.mag-foot, .tile-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .45rem; }
.mag-foot span, .tile-price {
  font-family: Caveat, cursive; background: var(--red); color: var(--paper);
  border-radius: 999px; padding: .05rem .55rem; font-size: 1.25rem;
}
.index-add { width: 2.1rem; height: 2.1rem; border-radius: 999px; background: var(--ink); color: var(--paper); }
.index-add.is-added { background: var(--red); }
.am-dark {
  display: grid; grid-template-columns: 1.1fr .9fr; background: var(--paper); color: var(--ink);
  margin: 1.6rem 5vw; box-shadow: 12px 12px 0 var(--red);
}
.am-dark-inner { padding: 1.4rem; display: grid; gap: .7rem; align-content: center; }
.am-dark h2, .am-dark p { color: var(--ink); }
.am-dark img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.am-steam {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center;
  margin: 1.4rem 5vw; padding: 1.2rem; background: var(--paper);
  transform: rotate(-.7deg); box-shadow: 10px 10px 0 var(--ink);
}
.am-steam-copy { display: grid; gap: .7rem; justify-items: start; }
.am-steam-fig { margin: 0; }
.am-steam-fig img { width: 100%; aspect-ratio: 1; object-fit: cover; transform: rotate(2deg); }
.am-quote { width: min(40rem, calc(100% - 3rem)); margin: 1.6rem auto; background: var(--paper); padding: 1.4rem 1.3rem; transform: rotate(-1.6deg); box-shadow: 8px 8px 0 var(--red); }
.am-quote blockquote p { font-family: Caveat, cursive; font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--ink); max-width: none; line-height: 1; }
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.voice { background: #fff4a8; padding: 1rem; box-shadow: 4px 4px 0 rgba(30, 36, 48, .15); }
.voice:nth-child(odd) { transform: rotate(-1.4deg); }
.voice:nth-child(even) { transform: rotate(1.3deg); background: var(--paper); }
.voice blockquote p { font-family: Caveat, cursive; font-size: 1.55rem; }
.not-band { padding: 1rem 5vw; }
.not-card { background: var(--red); color: var(--paper); padding: 1.3rem; display: grid; gap: .6rem; justify-items: start; transform: rotate(-.6deg); box-shadow: 8px 8px 0 var(--ink); }
.not-card h2, .not-card p, .not-card a { color: var(--paper); }
.not-card .btn-ghost { color: var(--paper); box-shadow: 3px 3px 0 var(--paper); background: transparent; }
.faq { background: var(--paper); margin-bottom: .45rem; padding: 0 .8rem; }
.faq summary { cursor: pointer; list-style: none; padding: .75rem 0; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-a { color: var(--muted); padding-bottom: .7rem; }
.phead { padding-top: 1.4rem; }
.lede { margin-top: .4rem; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .7rem; }
.chips a { background: var(--paper); color: var(--ink); text-decoration: none; padding: .2rem .7rem; box-shadow: 3px 3px 0 var(--red); font-family: "Bricolage Grotesque", sans-serif; }
.doc { margin: .6rem 5vw 0; background: var(--paper); padding: 1.2rem; box-shadow: 8px 8px 0 var(--red); display: block; }
.toc ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; }
.toc a { font-family: Caveat, cursive; font-size: 1.3rem; text-decoration: none; color: var(--ink); }
.prose h2 { margin: 1.3rem 0 .45rem; font-size: 1.8rem; }
.data-list > div { display: grid; grid-template-columns: 9rem 1fr; gap: .5rem; padding: .55rem 0; border-bottom: 1px dashed rgba(30, 36, 48, .3); }
.split, .contact { margin: .8rem 5vw 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; align-items: start; }
.split .prose, .contact-card { background: var(--paper); padding: 1rem; box-shadow: 7px 7px 0 var(--ink); }
.split-fig, .contact-fig { margin: 0; background: var(--paper); padding: .55rem .55rem 1.4rem; transform: rotate(2deg); }
.split-fig img, .contact-fig img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.miles, .rules { list-style: none; padding: 0; display: grid; gap: .6rem; margin-top: .8rem; }
.big-p { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(1.4rem, 2vw, 2rem); letter-spacing: -.03em; margin-bottom: .8rem; }
.pdp { margin: .4rem 5vw 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.2rem; align-items: start; }
.pdp-media { margin: 0; background: var(--paper); padding: .65rem .65rem 1.6rem; transform: rotate(-2.2deg); box-shadow: 0 14px 30px rgba(30, 36, 48, .12); }
.pdp-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-info { background: var(--paper); padding: 1rem; display: grid; gap: .55rem; box-shadow: 8px 8px 0 var(--red); }
.pdp-docs { grid-column: 1 / -1; background: var(--paper); padding: .4rem 1rem 1rem; }
.tagline { font-family: Caveat, cursive; font-size: 1.8rem; color: var(--red); }
.buybox { display: grid; gap: .45rem; }
.price { font-family: "Bricolage Grotesque", sans-serif; font-size: 2.3rem; }
.perks { list-style: none; padding: 0; color: var(--muted); display: grid; gap: .25rem; }
.spec-block { border-top: 1px dashed rgba(30, 36, 48, .35); }
.spec-block summary { cursor: pointer; list-style: none; padding: .7rem 0; font-family: "Bricolage Grotesque", sans-serif; }
.spec-block summary::-webkit-details-marker { display: none; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: .4rem 0; vertical-align: top; }
.spec th { width: 8.5rem; color: var(--muted); font-weight: 500; }
.callout { background: #fff4a8; padding: .7rem; margin-top: .6rem; }
.cart-layout, .checkout-wrap { margin: 0 5vw; display: grid; grid-template-columns: 1.4fr .8fr; gap: 1rem; align-items: start; }
.cart-line { display: grid; grid-template-columns: 4.4rem 1fr auto; gap: .7rem; align-items: center; background: var(--paper); padding: .5rem; margin-bottom: .45rem; }
.cart-line img { width: 4.4rem; height: 4.4rem; object-fit: cover; }
.qty { display: inline-flex; background: var(--sky); border-radius: 999px; }
.qty button { width: 1.9rem; height: 1.9rem; }
.remove { color: var(--red); margin-left: .4rem; }
.summary { background: var(--paper); padding: 1rem; transform: rotate(1deg); box-shadow: 6px 6px 0 var(--ink); }
.sum-row, .sum-lines li { display: flex; justify-content: space-between; gap: .5rem; padding: .25rem 0; }
.sum-lines { list-style: none; padding: 0; }
.empty { background: var(--paper); padding: 1.4rem; display: grid; gap: .6rem; justify-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.field { display: grid; gap: .25rem; }
.field-wide, .ship-field { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: .6rem .7rem; border: 0; background: var(--sky); border-radius: .4rem; }
.radio, .check { display: flex; gap: .4rem; align-items: flex-start; }
.err { color: var(--red); }
.checkout { padding-top: .4rem; }
.checkout-main { background: var(--paper); padding: 1rem; box-shadow: 8px 8px 0 var(--red); }
.checkout-jump { margin: .8rem 5vw 0; display: grid; gap: .45rem; justify-items: start; }
.modal { position: fixed; inset: 0; background: rgba(30, 36, 48, .45); display: grid; place-items: center; z-index: 70; padding: 1rem; }
.modal-card { background: var(--paper); padding: 1.2rem; max-width: 28rem; display: grid; gap: .6rem; box-shadow: 8px 8px 0 var(--red); }
.foot { margin: 1.6rem .7rem 1rem; }
.sheet { background: var(--paper); padding: 1.3rem 1.1rem 1.5rem; box-shadow: 10px 10px 0 var(--red); }
.foot-word { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(2.8rem, 8vw, 5.5rem); letter-spacing: -.05em; line-height: .85; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.foot-col { display: grid; gap: .2rem; align-content: start; font-style: normal; }
.foot-col a { color: var(--ink); text-decoration: none; }
.foot-col a:hover { color: var(--red); }
.foot-legal { margin-top: 1rem; color: var(--muted); font-size: .82rem; display: grid; gap: .4rem; }
.foot-legal p { max-width: none; }
.dock { display: none; }

@media (max-width: 900px) {
  body.pk { padding-bottom: 4.2rem; }
  .sheetbar { margin: .4rem; }
  .menu { display: none; width: 100%; flex-direction: column; }
  .nav-toggle:checked ~ .menu { display: flex; }
  .burger { display: grid; }
  .top-actions { margin-left: 0; }
  .am-cover.postcard, .am-dark, .am-steam, .split, .contact, .pdp, .cart-layout, .checkout-wrap, .form-grid, .foot-grid, .voice-grid, .mag-grid, .grid { grid-template-columns: 1fr 1fr; }
  .film-row { grid-template-columns: 1fr 1fr; }
  .am-cover.postcard, .pdp, .split, .contact, .am-dark, .am-steam, .cart-layout, .checkout-wrap, .form-grid, .foot-grid, .voice-grid { grid-template-columns: 1fr; }
  .dock { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; inset: auto 0 0 0; background: var(--paper); box-shadow: 0 -4px 0 var(--red); z-index: 60; }
  .dock a { color: var(--ink); text-decoration: none; min-height: 3.2rem; display: grid; place-items: center; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; }
  .cookie-bar { bottom: 4.4rem; }
  .data-list > div { grid-template-columns: 1fr; }
  .checkout-main, .cart-layout, .checkout-wrap, .doc, .split, .contact, .pdp, .am-shop, .am-film, .not-band { margin-left: .7rem; margin-right: .7rem; }
}
@media (max-width: 640px) {
  .mag-grid, .grid { grid-template-columns: 1fr 1fr; }
}
