/* ==========================================================
   Studio PM Garage — meble na wymiar
   ========================================================== */
:root {
  --bg: #2b2a28;          /* grafit z logo */
  --bg-2: #232220;
  --surface: #33322f;
  --line: rgba(242, 239, 234, 0.14);
  --text: #f2efea;
  --muted: #b5afa6;
  --accent: #c9a27a;      /* dąb — tylko linie wymiarowe i główny przycisk */
  --accent-2: #8a6a43;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 350; font-variation-settings: "opsz" 96; line-height: 1.08; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
h3 { font-variation-settings: "opsz" 36; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--alt { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(40px, 5.5vw, 72px); max-width: 14ch; }
.section-head p { color: var(--muted); max-width: 42ch; margin: 0; }
em.accent { font-style: italic; color: var(--accent); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border: 1px solid var(--accent);
  font-size: 15px; font-weight: 600; letter-spacing: 0;
  color: var(--bg); background: var(--accent);
  transition: background .4s var(--ease), color .4s var(--ease);
  cursor: pointer; font-family: var(--sans);
}
.btn:hover { background: transparent; color: var(--accent); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; color: var(--text); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.link-arrow:hover { color: var(--accent); }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Nagłówek ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(18, 17, 16, .88); backdrop-filter: blur(14px); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { font-family: var(--serif); font-size: 26px; letter-spacing: .02em; }
.logo b { font-weight: 600; color: var(--accent); }
.nav { display: flex; gap: 40px; align-items: center; }
.nav a { font-size: 15px; font-weight: 500; color: var(--muted); position: relative; padding: 6px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width .4s var(--ease); }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after, .nav a:hover::after { width: 100%; }
.nav .btn { padding: 12px 22px; color: var(--bg); }
.nav .btn::after { display: none; }
.nav .btn:hover { color: var(--accent); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 10px; right: 10px; height: 1px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }
.burger::before { top: 15px; } .burger span { top: 21px; } .burger::after { top: 27px; }
.nav-open .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span { opacity: 0; }
.nav-open .burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .nav a { font-size: 18px; }
  .nav-open .nav { opacity: 1; pointer-events: auto; }
}

/* ---------- Placeholder zdjęć ----------
   Każde zdjęcie siedzi w .ph — gdy plik nie istnieje, widać elegancki
   gradient z podpisem. Wystarczy wgrać zdjęcia do /img. */
.ph {
  position: relative; overflow: hidden; background-color: var(--bg-2);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100% 25%, 25% 100%; background-position: 0 -1px, -1px 0;
}
.ph::before {
  content: attr(data-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 6px 14px; background: var(--bg-2); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted); white-space: nowrap;
}
.ph[data-label=""]::before { display: none; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }

/* ---------- Hero: rysunek z logo + linie wymiarowe ---------- */
.hero { padding: 160px 0 120px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.hero h1 { font-size: clamp(48px, 6.4vw, 92px); max-width: 11ch; margin-bottom: 28px; }
.hero__lead { max-width: 44ch; color: var(--muted); font-size: 18px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 15px; }
.hero__facts li { position: relative; padding-left: 18px; }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--accent); transform: rotate(-45deg); }
.hero__drawing { position: relative; margin: 0 48px 56px 0; }
.hero__drawing img { width: 100%; height: auto; opacity: .92; }

/* linia wymiarowa jak na rysunku technicznym: kreska, ukośne znaczniki na końcach, wymiar */
.dim { position: absolute; color: var(--accent); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dim::before, .dim::after { content: ""; position: absolute; background: currentColor; }
.dim b { position: absolute; font-weight: 500; background: var(--bg); padding: 0 8px; }
.dim--x { left: 0; right: 0; bottom: -40px; height: 1px; background: currentColor; transform-origin: left; animation: drawx 1.1s .7s var(--ease) both; }
.dim--x::before, .dim--x::after { top: -7px; width: 1px; height: 15px; transform: rotate(45deg); }
.dim--x::before { left: 0; } .dim--x::after { right: 0; }
.dim--x b { left: 50%; top: -11px; transform: translateX(-50%); }
.dim--y { top: 0; bottom: 0; right: -40px; width: 1px; background: currentColor; transform-origin: bottom; animation: drawy 1.1s .9s var(--ease) both; }
.dim--y::before, .dim--y::after { left: -7px; height: 1px; width: 15px; transform: rotate(45deg); }
.dim--y::before { top: 0; } .dim--y::after { bottom: 0; }
.dim--y b { top: 50%; left: -2px; transform: translate(-50%, -50%) rotate(-90deg); }
@keyframes drawx { from { transform: scaleX(0); } }
@keyframes drawy { from { transform: scaleY(0); } }
@media (max-width: 900px) {
  .hero { padding: 128px 0 88px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__drawing { max-width: 520px; }
}
@media (prefers-reduced-motion: reduce) { .dim--x, .dim--y { animation: none; } }

.page-hero { padding: 200px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(52px, 8vw, 112px); }
.page-hero p { color: var(--muted); max-width: 52ch; margin-top: 28px; font-size: 18px; }

/* ---------- Statystyki ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 48px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 64px); color: var(--accent); line-height: 1; }
.stat span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Intro (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.split h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 32px; }
.split p { color: var(--muted); }
.split .ph { aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Usługi ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--bg); padding: 48px 40px; transition: background .5s; }
.service:hover { background: var(--surface); }
.service__num { font-family: var(--serif); font-size: 20px; color: var(--accent); margin-bottom: 48px; display: block; }
.service h3 { font-size: 32px; margin-bottom: 16px; }
.service p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* ---------- Wyróżnione realizacje ---------- */
.featured { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.featured .card:nth-child(1) { grid-column: span 7; }
.featured .card:nth-child(2) { grid-column: span 5; margin-top: 120px; }
.featured .card:nth-child(3) { grid-column: 2 / span 5; }
.featured .card:nth-child(4) { grid-column: span 6; margin-top: 40px; }
.card { display: block; }
.card .ph { aspect-ratio: 4 / 3; }
.card:hover .ph img { transform: scale(1.05); }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 20px; gap: 16px; }
.card__meta h3 { font-size: 28px; }
.card__meta span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .featured .card:nth-child(n) { grid-column: auto; margin-top: 0; }
}

/* ---------- Proces ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { border-top: 1px solid var(--line); padding-top: 32px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -1px; left: 0; width: 48px; border-top: 1px solid var(--accent); padding-top: 32px; font-family: var(--serif); font-size: 18px; color: var(--accent); }
.step h3 { font-size: 26px; margin: 48px 0 12px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Cytat ---------- */
.quote { text-align: center; max-width: 920px; margin: 0 auto; }
.quote blockquote { margin: 0 0 32px; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.3; }
.quote cite { font-style: normal; color: var(--accent); }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(44px, 7vw, 96px); margin-bottom: 40px; }

/* ---------- Galeria ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.filter { background: none; border: 1px solid var(--line); color: var(--muted); padding: 10px 20px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: all .3s; }
.filter:hover { color: var(--text); border-color: var(--muted); }
.filter.active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.gallery { columns: 3 320px; column-gap: 20px; }
.gallery__item { break-inside: avoid; margin-bottom: 20px; cursor: zoom-in; display: block; width: 100%; border: 0; padding: 0; background: none; color: inherit; text-align: left; font: inherit; }
.gallery__item .ph { aspect-ratio: var(--ratio, 4 / 5); }
.gallery__item .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.7)); opacity: 0; transition: opacity .5s; }
.gallery__item:hover .ph img { transform: scale(1.05); }
.gallery__item:hover .ph::after { opacity: 1; }
.gallery__cap { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; opacity: 0; transform: translateY(10px); transition: all .5s var(--ease); }
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
.gallery__cap h3 { font-size: 24px; }
.gallery__cap span { font-size: 14px; color: var(--accent); }
.gallery__item.is-hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,9,8,.96); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s; padding: 64px 16px; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; }
.lightbox .ph { aspect-ratio: 3 / 2; max-height: 76vh; }
.lightbox .ph img { object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; color: var(--muted); flex-wrap: wrap; }
.lightbox figcaption h3 { color: var(--text); font-size: 28px; }
.lb-btn { position: absolute; background: none; border: 1px solid var(--line); color: var(--text); width: 52px; height: 52px; cursor: pointer; font-size: 20px; transition: border-color .3s, color .3s; }
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }

/* ---------- YouTube ---------- */
.yt-feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; margin-bottom: 96px; }
.yt-feature h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 20px; }
.yt-feature p { color: var(--muted); }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--surface); overflow: hidden; cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; opacity: .85; }
.video:hover img { transform: scale(1.04); opacity: 1; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); display: grid; place-items: center; backdrop-filter: blur(6px); background: rgba(18,17,16,.35); transition: background .4s, border-color .4s; }
.video__play::after { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.video:hover .video__play { background: var(--accent); border-color: var(--accent); }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.videos h3 { font-size: 24px; margin-top: 18px; }
.videos p { color: var(--muted); font-size: 14px; }
.yt-channel { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; border: 1px solid var(--line); padding: 48px; margin-top: 96px; }
.yt-channel h3 { font-size: 36px; }
@media (max-width: 900px) { .yt-feature, .videos { grid-template-columns: 1fr; } .yt-channel { padding: 32px 24px; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 8vw, 120px); }
.contact__info dl { margin: 0; }
.contact__info dt { font-size: 14px; color: var(--muted); margin-top: 32px; }
.contact__info dd { margin: 8px 0 0; font-family: var(--serif); font-size: 28px; line-height: 1.3; }
.contact__info dd a:hover { color: var(--accent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text);
  font: inherit; padding: 12px 0; outline: none; transition: border-color .3s; border-radius: 0;
}
.field select option { background: var(--bg); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.form__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.form__status { grid-column: 1 / -1; color: var(--accent); min-height: 1.5em; margin: 0; }
.map { margin-top: 96px; aspect-ratio: 21 / 8; min-height: 320px; border: 1px solid var(--line); filter: saturate(.85); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .contact, .form { grid-template-columns: 1fr; } }

/* ---------- Stopka ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 14px; color: var(--muted); font-weight: 500; margin: 0 0 20px; }
.footer p, .footer li { color: var(--muted); font-size: 15px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Animacje wejścia ---------- */
.hero .reveal { animation: rise 1s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: .08s; } .hero .reveal:nth-child(3) { animation-delay: .16s; } .hero .reveal:nth-child(4) { animation-delay: .24s; }
.hero__drawing { animation: rise 1.2s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  .hero .reveal, .hero__drawing { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Logo graficzne (img/logo.png) — gdy plik istnieje, zastępuje napis ---------- */
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 60px; width: auto; }
.footer .logo__img { height: 84px; }
.logo__img + .logo__text { display: none; }
.contact__info dd .link-arrow { font-family: var(--sans); font-size: 15px; display: inline-block; margin-top: 12px; }

/* ---------- Obszar działania ---------- */
.area { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.area h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 32px; }
.area p { color: var(--muted); max-width: 44ch; }
.area__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.area__list li { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.area__list li:first-child { color: var(--accent); }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }

/* ---------- Opinie ---------- */
.reviews { border-top: 1px solid var(--line); }
.reviews .section-head { margin-bottom: 48px; }
.reviews__summary { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--muted); }
.reviews__summary strong { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; color: var(--text); }
.reviews__links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 10px; }
.reviews__stars { color: var(--accent); letter-spacing: .12em; font-size: 18px; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { margin: 0; scroll-snap-align: start; border: 1px solid var(--line); padding: 36px 32px; display: flex; flex-direction: column; gap: 20px; background: var(--bg-2); }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.7; flex: 1; }
.review figcaption { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.review figcaption b { color: var(--text); font-weight: 500; }
.reviews__nav { display: flex; gap: 12px; margin-top: 32px; }
.reviews__nav .lb-btn { position: static; transform: none; }
.reviews__nav[hidden] { display: none; }
@media (max-width: 900px) { .reviews__track { grid-auto-columns: 85%; } }
.review blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; flex: 0 1 auto; }
.review.is-open blockquote { -webkit-line-clamp: unset; }
.review figcaption { margin-top: auto; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--text); font: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; cursor: pointer; }

/* ---------- YouTube Shorts (pionowe) ---------- */
.shorts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.video--short { aspect-ratio: 9 / 16; }
.shorts h3 { font-size: 20px; margin-top: 14px; }
@media (max-width: 1100px) { .shorts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .shorts { grid-template-columns: 1fr 1fr; } }

/* ---------- Dopracowanie: filmy zamiast pustych zdjęć, sekcje tekstowe ---------- */
[data-photos][hidden] { display: none; }
.split { align-items: start; }
.split > h2 { margin: 0; }
.hero { padding-bottom: 64px; }
.videos .video { border: 1px solid var(--line); }
.video img { opacity: 1; }
