:root {
  --bg: #000000;
  --bg-2: #0e0c10;
  --bg-3: #19161c;
  --text: #f3ecf8;
  --muted: #b9a9c9;
  --accent: #a685e8;
  --accent-2: #d7c4ff;
  --hot: #ff5c8a;
  --line: rgba(215, 196, 255, 0.16);
  --radius: 4px;
  --max: 1240px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3 {
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: 0.1em; font-weight: 300; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--accent); font-size: 0.8rem; letter-spacing: 0.28em;
  text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.muted { color: var(--muted); }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--alt { background: var(--bg-2); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); }
.brand img { height: 34px; width: auto; mix-blend-mode: screen; }
.brand span { font-weight: 300; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.82rem; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active { box-shadow: 0 1px 0 var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font: inherit; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; padding: 8px 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav a.active { box-shadow: inset 3px 0 0 var(--accent); }
}

/* Buttons */
.btn {
  display: inline-block; padding: 14px 30px; border: 1px solid var(--accent);
  color: var(--text); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem;
  border-radius: var(--radius); transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--accent); color: var(--bg); }
.btn--solid { background: var(--accent); color: var(--bg); font-weight: 400; }
.btn--solid:hover { background: var(--accent-2); }

/* Hero */
.hero { position: relative; min-height: min(calc(100vh - 72px), 900px); display: grid; align-items: center; overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.78) 42%, rgba(0,0,0,0.1) 100%);
}
@media (max-width: 760px) {
  .hero__img::after { background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.88) 45%, rgba(0,0,0,0.96) 100%); }
}
.hero .wrap { position: relative; width: 100%; padding-top: 60px; padding-bottom: 60px; }
.hero__content { max-width: 620px; }
.hero__content p { color: var(--muted); font-size: 1.1rem; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.page-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.page-hero p { color: var(--muted); max-width: 680px; font-size: 1.08rem; }
.page-hero__img { margin-top: 48px; aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split--rev { grid-template-columns: 1.15fr 1fr; }
.split > * { min-width: 0; }
.split__img { border-radius: var(--radius); overflow: hidden; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.prose p { white-space: pre-line; }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: block; color: var(--text); background: var(--bg-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform 0.25s, border-color 0.25s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--text); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 26px 26px 30px; }
.card__body p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.card__more { display: inline-block; margin-top: 18px; color: var(--accent); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; counter-reset: step; }
.step { border-top: 1px solid var(--line); padding-top: 22px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 2.4rem; font-weight: 200; color: var(--accent); margin-bottom: 12px;
}
.step h3 { margin-bottom: 0.5em; }
.step p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* Galleries */
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry figure { break-inside: avoid; margin: 0 0 18px; cursor: zoom-in; position: relative; border-radius: var(--radius); overflow: hidden; }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  font-size: 0.85rem; letter-spacing: 0.06em; opacity: 0; transition: opacity 0.25s;
}
.masonry figure:hover figcaption { opacity: 1; }
@media (hover: none) { .masonry figcaption { opacity: 1; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button {
  background: none; border: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 20px; border-radius: 40px; cursor: pointer;
}
.filters button.active, .filters button:hover { border-color: var(--accent); color: var(--text); }

.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 28px; }
@media (max-width: 600px) {
  .works { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .work__img { padding: 10px; }
  .work__meta h3 { font-size: 0.85rem; }
  .work__meta p { font-size: 0.78rem; }
}
.work { cursor: zoom-in; }
.work__img { aspect-ratio: 1; background: var(--bg-2); display: grid; place-items: center; padding: 18px; border-radius: var(--radius); }
.work__img img { max-height: 100%; width: auto; object-fit: contain; box-shadow: 0 18px 40px rgba(0,0,0,0.45); transition: transform 0.3s; }
.work:hover .work__img img { transform: scale(1.03); }
.work__meta { padding-top: 16px; }
.work__meta h3 { margin: 0 0 4px; font-size: 1rem; }
.work__meta p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.work__price { color: var(--accent-2) !important; margin-top: 6px !important; }
.badge { display: inline-block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; border: 1px solid var(--hot); color: var(--hot); margin-left: 8px; vertical-align: middle; }

.examples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.examples img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; }
@media (max-width: 860px) { .examples { grid-template-columns: repeat(2, 1fr); } }

/* News */
.news { display: grid; gap: 28px; }
.news-item { display: grid; grid-template-columns: 280px 1fr; gap: 32px; background: var(--bg-3); border-radius: var(--radius); overflow: hidden; }
.news-item img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.news-item__body { padding: 28px 28px 28px 0; }
.news-item__date { color: var(--accent); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }
.news-item h3 { margin: 8px 0 6px; }
.news-item__place { color: var(--accent-2); font-size: 0.92rem; margin-bottom: 10px; }
.news-item p { color: var(--muted); white-space: pre-line; margin: 0; }
.news-item--noimg { grid-template-columns: 1fr; }
.news-item--noimg .news-item__body { padding: 28px; }
@media (max-width: 760px) {
  .news-item { grid-template-columns: 1fr; gap: 0; }
  .news-item__body { padding: 24px; }
}

/* CTA */
.cta { text-align: center; padding: clamp(64px, 9vw, 110px) 24px; background:
  radial-gradient(ellipse at 50% 120%, rgba(166,133,232,0.28), transparent 60%), var(--bg-2); }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.note { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; color: var(--muted); margin-top: 40px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { font-size: 0.8rem; color: var(--accent); margin-bottom: 14px; }
.footer-grid a, .footer-grid p { display: block; color: var(--muted); margin: 0 0 6px; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; color: var(--muted); font-size: 0.8rem; opacity: 0.7; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0, 0.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 92vw; width: auto; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox__cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 0.9rem; padding: 0 20px; }
.lightbox__close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: var(--text); font-size: 2rem; font-weight: 200; cursor: pointer; }

.fade { opacity: 0; transform: translateY(18px); transition: opacity 0.7s, transform 0.7s; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ================= Motion ================= */

/* Header: shrinks after scroll, hides when scrolling down */
.site-header { transition: transform 0.4s ease, background 0.3s; }
.site-header .wrap { transition: height 0.3s; }
.site-header.is-scrolled .wrap { height: 60px; }
.site-header.is-hidden { transform: translateY(-100%); }
@media (max-width: 860px) { .site-header.is-scrolled .wrap { height: 72px; } }

/* Scroll progress */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--accent), var(--hot), #ffb36b);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* Parallax + pointer drift (vars set from JS) */
[data-parallax], [data-mouse] {
  transform: translate3d(var(--mx, 0), calc(var(--py, 0px) + var(--my, 0px)), 0) scale(1.12);
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.hero__img { overflow: hidden; }

/* Hero intro: words rise one by one */
.split-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.split-title .word > span {
  display: inline-block; transform: translateY(110%); opacity: 0;
  transition: transform 1s cubic-bezier(.2,.8,.2,1), opacity 1s;
  transition-delay: calc(var(--i) * 110ms + 150ms);
}
.is-loaded .split-title .word > span { transform: none; opacity: 1; }
.intro > :not(h1) { opacity: 0; transform: translateY(16px); transition: opacity 0.9s, transform 0.9s; transition-delay: 0.7s; }
.intro > .eyebrow { transition-delay: 0.05s; }
.is-loaded .intro > * { opacity: 1; transform: none; }
.hero__img img { animation: heroZoom 2.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes heroZoom { from { opacity: 0; filter: saturate(0.4) brightness(0.6); } to { opacity: 1; filter: none; } }

/* Floating glow blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; pointer-events: none; mix-blend-mode: screen; }
.blob--1 { width: 420px; height: 420px; background: #7d4bd8; left: -120px; bottom: -80px; animation: float1 14s ease-in-out infinite; }
.blob--2 { width: 300px; height: 300px; background: #ff4f8b; left: 30%; top: 8%; opacity: 0.3; animation: float2 18s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(120px, -90px) scale(1.15); } }
@keyframes float2 { 50% { transform: translate(-80px, 110px) scale(0.85); } }

/* Image reveal: curtain wipe */
.reveal-img { position: relative; overflow: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); }
.reveal-img.in { clip-path: inset(0 0 0 0); }

/* Cards: tilt + light that follows the pointer */
.card { transform-style: preserve-3d; transition: transform 0.2s ease-out, border-color 0.25s, opacity 0.7s; position: relative; }
.card.fade { transition: transform 0.7s, opacity 0.7s, border-color 0.25s; }
.card.fade.in { transition: transform 0.2s ease-out, opacity 0.7s, border-color 0.25s; }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(215,196,255,0.18), transparent 55%);
}
.card:hover::after { opacity: 1; }

/* Paintings strip */
.marquee { overflow: hidden; padding: 10px 0 70px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; height: 260px; border-radius: var(--radius); overflow: hidden; transition: transform 0.4s; }
.marquee__item:nth-child(even) { transform: translateY(26px); }
.marquee__item:hover { transform: translateY(-8px) rotate(-1.5deg); }
.marquee__item img { height: 100%; width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .marquee__item { height: 180px; } }

/* Gallery hovers */
.masonry figure img, .examples img { transition: transform 0.7s cubic-bezier(.2,.8,.2,1), filter 0.5s; }
.masonry figure:hover img, .examples img:hover { transform: scale(1.05); filter: saturate(1.2); }
.examples img:hover { transform: scale(1.04) rotate(-1deg); }
.work__img { transition: background 0.4s; }
.work:hover .work__img { background: var(--bg-3); }
.step::before { transition: color 0.3s, transform 0.4s; display: inline-block; }
.step:hover::before { color: var(--hot); transform: translateX(6px); }

/* Buttons: sheen sweep */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-20deg);
}
.btn:hover::after { left: 130%; transition: left 0.7s; }


/* Lightbox open animation */
.lightbox.open { animation: lbIn 0.3s ease both; }
.lightbox.open img { animation: lbImg 0.45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes lbIn { from { opacity: 0; } }
@keyframes lbImg { from { opacity: 0; transform: scale(0.94); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-img { clip-path: none; }
  .split-title .word > span, .intro > * { transform: none; opacity: 1; }
  [data-parallax], [data-mouse] { transform: none; }
}

@media (max-width: 760px) {
  .blob--1 { width: 220px; height: 220px; opacity: 0.35; }
  .blob--2 { display: none; }
  .hero__img::after { background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.92) 100%); }
}
.hero__img img { position: absolute; left: 0; top: -15%; height: 130%; }

/* Shop */
.product__img { position: relative; background: radial-gradient(circle at 50% 40%, var(--bg-3), var(--bg-2)); cursor: zoom-in; }
.product__img img { box-shadow: 0 2px 0 rgba(255,255,255,0.06), 0 22px 40px rgba(0,0,0,0.5); outline: 10px solid #f4efe9; outline-offset: -10px; }
.product__tag { position: absolute; top: 12px; left: 12px; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); background: rgba(0,0,0,0.75); padding: 4px 10px; border-radius: 20px; }
.product .work__meta p:not(.work__price) { font-size: 0.82rem; }
.btn--small { padding: 9px 20px; font-size: 0.7rem; margin-top: 12px; }
.order-box { max-width: 640px; margin: 0 auto; text-align: center; padding: 48px 32px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(ellipse at 50% 0%, rgba(166,133,232,0.22), transparent 70%); }
.nav { gap: 28px; }
@media (max-width: 1000px) and (min-width: 861px) { .nav { gap: 18px; } .nav a { font-size: 0.74rem; } }

/* Water-drop canvas replaces the hero image */
.hero__canvas { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; display: block; animation: heroZoom 2.4s cubic-bezier(.2,.8,.2,1) both; }
.hero__img::after { z-index: 1; pointer-events: none; }
.hero .blob { z-index: 1; }
.hero .wrap { z-index: 2; }

/* Pill buttons */
.btn { border-radius: 999px; }

/* Hero text centred */
.hero__content { margin: 0 auto; text-align: center; max-width: 820px; }
.hero__content p { margin-left: auto; margin-right: auto; max-width: 600px; }
.hero .hero__actions { justify-content: center; }
.hero__img::after { background: radial-gradient(ellipse 70% 65% at 50% 52%, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.25) 100%); }
@media (max-width: 760px) {
  .hero__img::after { background: radial-gradient(ellipse 120% 70% at 50% 55%, rgba(0,0,0,0.85), rgba(0,0,0,0.45)); }
}
.hero__img::after { background: radial-gradient(ellipse 55% 50% at 50% 52%, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.72) 50%, rgba(0,0,0,0.3) 100%); }
.hero__content h1, .hero__content p { text-shadow: 0 2px 24px rgba(0,0,0,0.7); }
.hero__content p { color: #d8cbe4; }
.hero__canvas { z-index: 0; } .hero__img img { z-index: 0; }

/* one-line hero title, subtitle closer */
.hero__content { max-width: 1160px; }
.hero__content h1 { font-size: clamp(2rem, 5.2vw, 4.4rem); margin-bottom: 0.25em; }
@media (min-width: 761px) { .hero__content h1 { white-space: nowrap; } }
.hero__content p { margin-top: 0; }

/* no dark patch behind the title: light, even tint + soft shadow on text only */
.hero__img::after { background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.7)); }
.product__img img[src*="/img/shop/"] { outline: none; box-shadow: 0 14px 30px rgba(0,0,0,0.4); }

/* ================= Shop ================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-header .wrap { gap: 20px; }
.nav { margin-left: auto; }
.cart-btn { position: relative; background: none; border: 1px solid var(--line); color: var(--text); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s; flex: none; }
.cart-btn:hover { border-color: var(--accent); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--hot); color: #fff; font-size: 0.68rem; font-weight: 400; line-height: 18px; text-align: center; display: none; }
.cart-btn.has-items .cart-count { display: block; animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.35); } }
@media (max-width: 860px) { .nav-toggle { margin-left: auto; } .cart-btn { order: 3; } }

.drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.drawer__bg { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer__bg { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; }
.drawer__close { background: none; border: 0; color: var(--text); font-size: 1.8rem; font-weight: 200; cursor: pointer; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 28px; border-top: 1px solid var(--line); }
.sum { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 1.05rem; }
.btn--block { display: block; width: 100%; text-align: center; }

.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.line__title { color: var(--text); font-size: 0.92rem; display: block; line-height: 1.4; }
.line__variant { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.line__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 0.92rem; }
.line__rm { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.75rem; cursor: pointer; text-decoration: underline; padding: 0; }
.line__rm:hover { color: var(--hot); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { background: none; border: 0; color: var(--text); width: 30px; height: 30px; font-size: 1rem; cursor: pointer; }
.qty span { min-width: 22px; text-align: center; font-size: 0.88rem; }
.qty--lg { margin: 0; }
.qty--lg button { width: 44px; height: 50px; font-size: 1.2rem; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; z-index: 130; background: var(--text); color: var(--bg); padding: 12px 14px 12px 22px; border-radius: 999px; display: flex; gap: 14px; align-items: center; font-size: 0.9rem; transition: all .35s cubic-bezier(.2,.8,.2,1); box-shadow: 0 12px 40px rgba(0,0,0,.4); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast button { background: var(--bg); color: var(--text); border: 0; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 0.78rem; cursor: pointer; }

/* listing */
a.product { color: var(--text); display: block; }
a.product:hover { color: var(--text); }
.product__img { overflow: hidden; }
.product__img.has-alt .alt { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; opacity: 0; transition: opacity .45s; }
.product:hover .product__img.has-alt .alt { opacity: 1; }
.product__flag { position: absolute; top: 12px; right: 12px; font-size: 0.66rem; letter-spacing: .12em; text-transform: uppercase; background: var(--hot); color: #fff; padding: 4px 10px; border-radius: 20px; }
.swatches { display: flex; gap: 6px; margin: 8px 0 2px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.product__img img[src*="/img/shop/merch/"] { outline: none; box-shadow: none; border-radius: 6px; }

/* product page */
.product-page { padding-top: 40px; }
.back { display: inline-block; color: var(--muted); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 28px; }
.pp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pp > * { min-width: 0; }
.gallery { position: sticky; top: 90px; }
.gallery__main { background: var(--bg-2); border-radius: 18px; overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; cursor: zoom-in; }
.gallery__main img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .16s, transform .4s; }
.gallery__main img.swap { opacity: 0; transform: scale(.98); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 74px; height: 74px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--bg-2); cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.gallery__thumbs button.active, .gallery__thumbs button:hover { opacity: 1; border-color: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: .3em; text-transform: none; letter-spacing: .02em; }
.pp__price { font-size: 1.6rem; color: var(--accent-2); margin-bottom: 8px; }
.opt { border: 0; padding: 0; margin: 26px 0 0; }
.opt legend { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.opt__val { color: var(--text); }
.opt__vals { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; min-width: 54px; padding: 11px 18px; text-align: center; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; transition: all .2s; }
.chip:hover span { border-color: var(--accent); }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span, .chip input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 3px; }
.chip--color i { display: block; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px transparent; transition: box-shadow .2s; }
.chip--color input:checked + i { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent-2); }
.pp__buy { display: flex; gap: 12px; margin-top: 32px; align-items: stretch; }
.pp__buy .btn { flex: 1; font-size: .82rem; padding: 16px 24px; }
.pp__buy .btn:disabled { opacity: .45; cursor: not-allowed; }
.pp__hint { color: var(--hot); min-height: 1.4em; margin: 10px 0 0; font-size: .9rem; }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.pp__desc { margin-top: 24px; color: var(--muted); }
.pp__perks { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.pp__perks li { padding: 4px 0 4px 22px; position: relative; }
.pp__perks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--accent); }
@media (max-width: 860px) { .pp { grid-template-columns: 1fr; } .gallery { position: static; } }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.checkout > * { min-width: 0; }
.checkout h3 { margin: 28px 0 14px; font-size: .9rem; color: var(--accent); }
.checkout__items h3 { margin-top: 0; }
.checkout__form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 8px 28px 30px; }
.checkout__form label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 14px; letter-spacing: .04em; }
.checkout__form input:not([type=radio]):not([type=checkbox]), .checkout__form textarea {
  display: block; width: 100%; margin-top: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 13px 14px; font: inherit; font-size: .95rem; transition: border-color .2s;
}
.checkout__form input:focus, .checkout__form textarea:focus { outline: none; border-color: var(--accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.delivery { display: grid; gap: 8px; margin-bottom: 14px; }
.radio { display: flex !important; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--text) !important; font-size: .92rem !important; margin: 0 !important; }
.radio:has(input:checked) { border-color: var(--accent); background: rgba(166,133,232,.08); }
.radio input { accent-color: var(--accent); }
.radio span { flex: 1; }
.radio b { font-weight: 400; color: var(--accent-2); }
.totals { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.totals .t-sum { color: var(--text); font-size: 1.15rem; padding-top: 10px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; color: var(--muted) !important; margin: 18px 0 !important; }
.check input { accent-color: var(--accent); margin-top: 3px; }
.small { font-size: .82rem; }
.empty { text-align: center; padding: 40px 0; grid-column: 1 / -1; }
.thanks { grid-column: 1 / -1; text-align: center; max-width: 640px; margin: 0 auto; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 20px; animation: pop .5s ease; }
.thanks__sum { text-align: left; white-space: pre-wrap; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; color: var(--muted); font: inherit; font-size: .85rem; margin-top: 28px; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .grid2 { grid-template-columns: 1fr; } .checkout__form { padding: 4px 18px 24px; } }

/* Home: shop teaser */
.shop-teaser__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.shop-teaser__head p { max-width: 560px; margin: 0; }
.shop-teaser__head .btn { flex: none; }
.shop-teaser__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shop-teaser__item { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #f3f1ee; color: var(--text); }
.shop-teaser__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.shop-teaser__item:hover img { transform: scale(1.06); }
.shop-teaser__item span {
  position: absolute; left: 12px; bottom: 12px; padding: 9px 18px; border-radius: 999px;
  background: rgba(0,0,0,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
}
.shop-teaser__item em { font-style: normal; display: inline-block; transition: transform .3s; }
.shop-teaser__item:hover em { transform: translateX(4px); }
@media (max-width: 860px) {
  .shop-teaser__head { flex-direction: column; align-items: flex-start; }
  .shop-teaser__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* Home: paintings carousel */
.cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.carousel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.carousel__head p { max-width: 560px; margin: 0; }
.carousel__nav { display: flex; gap: 10px; flex: none; }
.carousel__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); font-size: 1.1rem; cursor: pointer; transition: all .2s; }
.carousel__btn:hover:not(:disabled) { background: var(--text); color: var(--bg); border-color: var(--text); }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; outline: none;
  --pad: max(24px, calc((100vw - var(--max)) / 2 + 24px)); scroll-padding-left: var(--pad); }
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.dragging .slide { pointer-events: none; }
.carousel__track { display: flex; gap: 24px; padding: 0 var(--pad); width: max-content; }
.slide { flex: none; width: clamp(240px, 26vw, 330px); scroll-snap-align: start; color: var(--text); user-select: none; }
.slide:hover { color: var(--text); }
.slide__img { aspect-ratio: 4 / 5; background: var(--bg-2); border-radius: 14px; display: grid; place-items: center; padding: 22px; overflow: hidden; }
.slide__img img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 18px 40px rgba(0,0,0,.6); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.slide:hover .slide__img img { transform: scale(1.04); }
.slide__meta { padding-top: 16px; }
.slide__meta h3 { margin: 0 0 4px; font-size: 1rem; }
.slide__meta p { margin: 0; color: var(--muted); font-size: .86rem; }
.slide__meta .slide__price { color: var(--accent-2); margin-top: 6px; font-size: .95rem; }
.carousel__all { margin-top: 40px; text-align: center; }
@media (max-width: 760px) {
  .carousel__head { flex-direction: column; align-items: flex-start; }
  .carousel__nav { display: none; }
  .slide { width: 72vw; }
  .carousel__track { gap: 14px; }
}

/* Dark concrete backdrop (fixed layer, works on iOS too) */
:root { --bg: #0c0c0d; --bg-2: rgba(20,19,22,0.72); --bg-3: rgba(32,30,35,0.8); }
body { background: #0c0c0d; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(255,255,255,0.045), transparent 70%),
    radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.65) 100%),
    url("/img/bg/concrete.svg") center / 900px 900px repeat,
    #0c0c0d;
}
.section--alt { background: rgba(255,255,255,0.02); }
.site-header { background: rgba(10,10,11,0.82); }
.site-footer { background: rgba(0,0,0,0.35); }
.drawer__panel, .checkout__form, .gallery__main, .thanks__sum { background: #141316; }

/* hero: three buttons */
.btn--glass { background: rgba(0,0,0,0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: rgba(255,255,255,0.35); }
.btn--glass:hover { background: var(--text); color: #000; border-color: var(--text); }
@media (max-width: 600px) { .hero .hero__actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; } .hero .hero__actions .btn { text-align: center; } }

/* hero: three buttons */
.btn--glass { background: rgba(0,0,0,0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: rgba(255,255,255,0.35); }
.btn--glass:hover { background: var(--text); color: #000; border-color: var(--text); }
@media (max-width: 600px) { .hero .hero__actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; } .hero .hero__actions .btn { text-align: center; } }

/* Hero buttons as glass lenses (the WebGL canvas draws the refraction underneath) */
.hero .btn--glass { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.5); color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 8px 24px rgba(0,0,0,0.18); }
.hero.has-glass .btn--glass { background: rgba(255,255,255,0.04); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero .btn--glass:hover { background: rgba(255,255,255,0.9); color: #000; text-shadow: none; }

/* concrete closer to the reference: lighter grey middle, darker edges */
body { background: #161617; }
body::before {
  background:
    radial-gradient(ellipse 75% 60% at 50% 40%, rgba(255,255,255,0.07), transparent 72%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.78) 100%),
    url("/img/bg/concrete.svg") center / 1200px 1200px repeat,
    #1a1a1b;
}
.split__img { border-radius: 24px; }

/* ===== Paintings without frames ===== */
/* "Moje obrazy" grid: the painting itself, no dark box around it */
.works:not(.shop) .work__img { aspect-ratio: auto; padding: 0; background: none; display: block; }
.works:not(.shop) .work__img img { width: 100%; height: auto; max-height: none; border-radius: 6px; box-shadow: 0 16px 36px rgba(0,0,0,.5); }
.works:not(.shop) { align-items: start; }
.work:hover .work__img { background: none; }
/* home carousel: same height row, natural width, no box */
.slide { width: auto; }
.slide__img { aspect-ratio: auto; height: clamp(280px, 30vw, 420px); padding: 0; background: none; display: block; }
.slide__img img { height: 100%; width: auto; max-width: none; border-radius: 6px; }
.slide__meta { max-width: 340px; }
@media (max-width: 760px) { .slide { width: auto; } .slide__img { height: 62vw; } }
/* shop cards: no grey mat and no white paper border */
.shop .product__img { background: none; padding: 0; aspect-ratio: 1; }
.shop .product__img img, .shop .product__img img[src*="/img/shop/"] { outline: none; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; box-shadow: 0 14px 32px rgba(0,0,0,.45); }
.shop .product__img.has-alt .alt { inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.product__tag { top: 10px; left: 10px; }

/* Kup teraz */
.btn--buy { margin-top: 14px; background: var(--accent); color: #0c0c0d; border-color: var(--accent); font-weight: 400; }
.btn--buy:hover { background: #fff; border-color: #fff; color: #000; }
.slide__meta .btn--buy { margin-top: 12px; }
/* darker smoked-glass hero buttons */
.hero.has-glass .btn--glass { background: rgba(0,0,0,0.16); border-color: rgba(255,255,255,0.42); }
.hero .btn--glass:not(:hover) { color: #fff; }

/* paintings keep their real square corners */
.works:not(.shop) .work__img img, .slide__img img, .shop .product__img img, .shop .product__img img[src*="/img/shop/"],
.shop .product__img.has-alt .alt, .examples img, .masonry figure, .line img { border-radius: 0; }
.btn--buy.in-cart { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.35); }
.btn--buy.in-cart:hover { background: #fff; color: #000; }

/* hero glass buttons turn solid white on hover */
.hero.has-glass .btn--glass:hover, .hero .btn--glass:hover { background: #fff; border-color: #fff; color: #000; text-shadow: none; }

/* Home: three paintings to buy, on solid black */
.featured-sec { background: #000; position: relative; }
.featured__head { margin-bottom: 44px; }
.featured__head p { max-width: 560px; margin: 0; }
.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.feat__img { display: block; }
.feat__img img { width: 100%; height: auto; border-radius: 0; box-shadow: 0 18px 40px rgba(0,0,0,.6); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.feat__img:hover img { transform: scale(1.02); }
.feat__meta { padding-top: 18px; }
.feat__meta h3 { margin: 0 0 4px; font-size: 1rem; }
.feat__meta p { margin: 0; color: var(--muted); font-size: .88rem; }
.feat__meta .feat__price { color: var(--accent-2); margin-top: 6px; font-size: .95rem; }
.featured__all { margin-top: 48px; text-align: center; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; gap: 40px; } }

/* ===== All buttons look like the hero buttons: smoked glass, white on hover ===== */
.btn, .btn--solid, .btn--buy, .btn--glass {
  background: rgba(0,0,0,0.35); color: #fff; border: 1px solid rgba(255,255,255,0.42); font-weight: 300;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn:hover, .btn--solid:hover, .btn--buy:hover, .btn--glass:hover { background: #fff; color: #000; border-color: #fff; text-shadow: none; }
.btn:disabled, .btn:disabled:hover { background: rgba(0,0,0,0.35); color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.2); }
.btn--buy.in-cart { background: rgba(255,255,255,0.12); }
button.btn { font-family: inherit; cursor: pointer; }
.btn.btn--accent { background: var(--accent); border-color: var(--accent); color: #0c0c0d; font-weight: 400; }
.btn.btn--accent:hover { background: #fff; border-color: #fff; color: #000; }

/* Kup teraz — variant C: price left, quiet link with arrow right */
.buy-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(215,196,255,0.16); }
.buy-line__price { color: var(--accent-2); font-size: .95rem; }
.buy-link {
  background: none; border: 0; padding: 0 0 3px; cursor: pointer; font: inherit; font-size: .72rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; color: #fff; border-bottom: 1px solid var(--accent); transition: color .2s, border-color .2s;
}
.buy-link span { display: inline-block; margin-left: 4px; transition: transform .25s; }
.buy-link:hover { color: var(--accent-2); border-color: #fff; }
.buy-link:hover span { transform: translateX(4px); }
.buy-link.in-cart { color: var(--muted); border-color: rgba(255,255,255,.25); }

/* darker concrete that drifts with scroll (parallax: --bgy is set from JS) */
body { background: #0e0e0f; }
body::before {
  background:
    radial-gradient(ellipse 75% 60% at 50% 40%, rgba(255,255,255,0.035), transparent 72%),
    radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.85) 100%),
    url("/img/bg/concrete.svg") center var(--bgy, 0px) / 1200px 1200px repeat,
    #121213;
  filter: brightness(0.72);
}

/* parallax concrete: a GPU-moved layer under everything, vignette stays put on top of it */
.bg-concrete {
  position: fixed; left: 0; right: 0; top: 0; height: calc(100vh + 1200px); z-index: -2; pointer-events: none;
  background: url("/img/bg/concrete.svg") center top / 1200px 1200px repeat, #121213;
  filter: brightness(0.72); will-change: transform;
}
body::before {
  background:
    radial-gradient(ellipse 75% 60% at 50% 40%, rgba(255,255,255,0.03), transparent 72%),
    radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.85) 100%);
  filter: none;
}
.buy-line__price, .buy-link { font-weight: 600; }

/* ===== Painting view ===== */
[data-work] { cursor: zoom-in; }
.pmodal { position: fixed; inset: 0; z-index: 110; display: none; }
.pmodal.open { display: block; }
.pmodal__bg { position: absolute; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: lbIn .3s ease both; }
.pmodal__box {
  position: absolute; inset: 4vh 4vw; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: 0;
  background: #0b0b0c; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; overflow: hidden;
  animation: lbImg .45s cubic-bezier(.2,.8,.2,1) both;
}
.pmodal__img { display: grid; place-items: center; padding: 32px; background: #050505; min-height: 0; }
.pmodal__img img { max-width: 100%; max-height: calc(92vh - 64px); object-fit: contain; box-shadow: 0 24px 60px rgba(0,0,0,.7); }
.pmodal__info { padding: 56px 44px 40px; overflow: auto; display: flex; flex-direction: column; }
.pmodal__info h2 { margin-bottom: .2em; }
.pmodal__spec { color: var(--muted); margin: 0 0 22px; }
.pmodal__desc { font-size: 1.02rem; line-height: 1.8; color: #e6ddef; margin: 0 0 22px; }
.pmodal__facts { list-style: none; padding: 18px 0 0; margin: 0 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.pmodal__facts li { padding: 4px 0 4px 20px; position: relative; }
.pmodal__facts li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--accent); }
.pmodal__buy { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.pmodal__price { font-size: 1.6rem; font-weight: 600; color: #fff; }
.pmodal__ask { margin-top: 18px; color: var(--muted); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.pmodal__ask:hover { color: #fff; }
.pmodal__close { position: absolute; top: 14px; right: 16px; z-index: 2; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 1.5rem; font-weight: 200; cursor: pointer; }
.pmodal__nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.45); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .2s, color .2s; }
.pmodal__nav:hover, .pmodal__close:hover { background: #fff; color: #000; }
.pmodal__prev { left: 14px; }
.pmodal__next { left: calc(59% - 60px); }
@media (max-width: 860px) {
  .pmodal__box { inset: 0; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow: auto; }
  .pmodal__img { padding: 56px 16px 16px; }
  .pmodal__img img { max-height: 52vh; }
  .pmodal__info { padding: 20px 22px 32px; overflow: visible; }
  .pmodal__nav { top: 28vh; }
  .pmodal__next { left: auto; right: 14px; }
}

/* ===== Background: dark with drifting gradient orbs (replaces the concrete) ===== */
.bg-concrete { display: none; }
body { background: #0a090c; }
.bg-orbs { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; background: #0a090c; }
.bg-orbs i { position: absolute; left: 0; top: 0; border-radius: 50%; filter: blur(40px); will-change: transform; }
body::before {
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.6) 100%),
    url("/img/bg/grain.svg") 0 0 / 300px 300px repeat;
  opacity: 1; filter: none;
}
body::before { background-blend-mode: normal; }
/* four offer cards in one row */
.cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card__img { aspect-ratio: 4 / 5; }
.card__img img { object-position: center 30%; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* painting view: thumbnails + close-up, square corners */
.pmodal__box { border-radius: 0; }
.pmodal__media { display: flex; flex-direction: column; background: #050505; min-height: 0; padding: 28px; gap: 16px; }
.pmodal__img { flex: 1; padding: 0; min-height: 0; overflow: hidden; position: relative; }
.pmodal__img img { max-height: calc(92vh - 160px); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.pmodal__img.is-detail img { box-shadow: none; }
.pmodal__thumbs { display: flex; gap: 10px; justify-content: center; }
.pmodal__thumbs button { width: 68px; height: 68px; padding: 0; border: 1px solid rgba(255,255,255,.15); background: #000; overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; border-radius: 0; }
.pmodal__thumbs button.active, .pmodal__thumbs button:hover { opacity: 1; border-color: #fff; }
.pmodal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pmodal__close, .pmodal__nav { border-radius: 50%; }
@media (max-width: 860px) {
  .pmodal__box { display: block; overflow-y: auto; }
  .pmodal__media { padding: 60px 14px 14px; }
  .pmodal__img { flex: none; height: 56vh; display: grid; place-items: center; }
  .pmodal__img img { max-height: 56vh; }
  .pmodal__nav { top: calc(30vh + 30px); }
}
.bg-orbs i { filter: blur(60px); }

/* footer */
.footer-grid h3.footer-brand { font-size: 1.05rem; color: var(--text); letter-spacing: .16em; margin-bottom: 6px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; opacity: 1; }
.footer-bottom > span { opacity: .7; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: var(--muted); font-size: .8rem; }
.footer-legal a:hover { color: #fff; }
/* legal pages */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.2rem; letter-spacing: .1em; margin: 2.2em 0 .7em; }
.legal p, .legal li { color: #ddd3e6; line-height: 1.8; }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal .updated { color: var(--muted); font-size: .85rem; }
.wrap.legal { max-width: var(--max); } .legal > * { max-width: 780px; }
.featured-sec { background: rgba(0,0,0,0.35); }

/* Footer — centred (variant A) */
.site-footer { padding: 64px 0 28px; }
.footer-a { text-align: center; }
.footer-a__brand { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: .3em; color: var(--text); margin: 0 0 6px; }
.footer-a__name { color: var(--muted); margin: 0 0 28px; }
.footer-a__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 30px; margin-bottom: 26px; }
.footer-a__nav a { color: #fff; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; }
.footer-a__nav a:hover { color: var(--accent-2); }
.footer-a__icons { display: flex; justify-content: center; gap: 12px; margin-bottom: 8px; }
.footer-a__icons a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: #fff; transition: all .2s; }
.footer-a__icons a:hover { background: #fff; color: #000; border-color: #fff; }
.footer-a .footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); text-align: left; }
@media (max-width: 600px) { .footer-a .footer-bottom { flex-direction: column; text-align: center; } .footer-legal { justify-content: center; } }

/* Square corners for every painting / photo — the only rounded one is the artist's photo in the home bio */
.split__img, .page-hero__img, .card, .card__img, .gallery__main, .gallery__thumbs button, .news-item, .masonry figure,
.examples img, .work__img, .slide__img, .feat__img, .product__img, .line img, .lightbox img, .pmodal__thumbs button,
img { border-radius: 0 !important; }
body[data-page="home"] .split__img { border-radius: 24px !important; }
/* "Moje obrazy": more air between paintings */
.works:not(.shop) { gap: 88px 44px; }
@media (max-width: 600px) { .works:not(.shop) { gap: 56px 18px; } }
.section--dark { background: rgba(0,0,0,0.35); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* no tilting anywhere on hover — only a gentle zoom */
.examples img:hover { transform: scale(1.03); }
.marquee__item:hover { transform: translateY(-8px); }
.card:hover { transform: translateY(-4px); }
/* no small labels above headings anywhere */
.eyebrow { display: none !important; }
.large-note { background: rgba(166,133,232,.1); border: 1px solid rgba(166,133,232,.35); border-radius: 12px; padding: 12px 14px; color: #e6ddef; font-size: .86rem; line-height: 1.6; margin: 0 0 12px; }
.radio.is-off { opacity: .4; cursor: not-allowed; }
.radio.is-off b { color: var(--muted); font-size: .8rem; }
.pmodal__facts li.pmodal__ship { color: #e6ddef; }
.featured-sec { background: transparent; }
/* murals: show the whole top picture, no crop */
.page-hero__img--full { aspect-ratio: auto; }
.page-hero__img--full img { width: 100%; height: auto; object-fit: contain; }

/* sold-out variant (e.g. a size marked "brak" in the panel) */
.chip--out { cursor: not-allowed; }
.chip--out span { opacity: .35; text-decoration: line-through; }
.chip--out i { opacity: .3; }
.chip--out:hover span { border-color: var(--line); }

/* merch photos: t-shirts and hoodies use a fixed 3:4 frame (shoot them 3:4), bags keep their own shape */
.shop .product__img:is([data-cat="Koszulki"], [data-cat="Bluzy"]),
.gallery__main:is([data-cat="Koszulki"], [data-cat="Bluzy"]) { aspect-ratio: 3 / 4; }
.shop .product__img:is([data-cat="Koszulki"], [data-cat="Bluzy"]) img,
.gallery__main:is([data-cat="Koszulki"], [data-cat="Bluzy"]) img { width: 100%; height: 100%; object-fit: cover; }
.shop .product__img[data-cat="Torby"] { aspect-ratio: auto; }
.shop .product__img[data-cat="Torby"] > img { height: auto; object-fit: contain; }
.shop .product__img[data-cat="Torby"].has-alt .alt { object-fit: contain; }
body[data-group="merch"] .works.shop { align-items: start; }
/* product page: the main photo always fits whole inside its frame; merch photos keep their own (portrait) shape */
.gallery__main img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.gallery__main[data-cat="Torby"] { aspect-ratio: auto; }
.gallery__main[data-cat="Torby"] > img { height: auto; }
/* descriptions typed in the panel: paragraphs and "- " lists */
.pp__desc p, .pmodal__desc p { margin: 0 0 14px; }
.pp__desc ul, .pmodal__desc ul { margin: 0 0 14px; padding-left: 0; list-style: none; }
.pp__desc li, .pmodal__desc li { position: relative; padding-left: 18px; margin: 4px 0; }
.pp__desc li::before, .pmodal__desc li::before { content: "–"; position: absolute; left: 0; color: var(--accent-2); }
.pp__desc > :last-child, .pmodal__desc > :last-child { margin-bottom: 0; }
