/*
Theme Name: Hania Ski
Description: Minimalistyczny, profesjonalny motyw dla narciarki Hanii Łodzińskiej — animowany slider na stronie głównej, duże zdjęcia, blog (Aktualności), sekcja kontaktu i social media.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hania-ski
Tags: blog, one-column, custom-logo, custom-menu, featured-images, photography
*/

/* =========================================================
   1. Tokeny i reset
   ========================================================= */
:root {
  --ink: #0c1116;
  --ink-soft: #39414a;
  --muted: #6b7280;
  --line: #e6e8eb;
  --paper: #ffffff;
  --paper-soft: #f6f7f9;
  --night: #0b0f14;
  --accent: #2f6bff;
  --accent-ink: #1e4fe0;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }

::selection { background: var(--accent); color: #fff; }

/* =========================================================
   2. Narzędzia wspólne
   ========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 44px);
}

.section { padding-block: clamp(84px, 11vw, 150px); }
.section-soft { background: var(--paper-soft); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.kicker.on-dark { color: rgba(255, 255, 255, .78); }

.h1, .h2, .h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.h1 { font-size: clamp(44px, 7.2vw, 92px); }
.h2 { font-size: clamp(32px, 4.6vw, 56px); }
.h3 { font-size: clamp(22px, 2.4vw, 28px); }

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  max-width: 62ch;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head .lead { margin-bottom: 4px; }

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn .btn-arrow { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Animacja pojawiania się przy przewijaniu */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* Dostępność */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* =========================================================
   3. Nagłówek i nawigacja
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.site-header.over-hero {
  background: transparent;
  color: #fff;
  border-bottom-color: transparent;
}
.site-header.over-hero.is-scrolled {
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  border-bottom-color: var(--line);
}
body.nav-open .site-header {
  background: transparent;
  color: var(--ink);
  border-bottom-color: transparent;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: var(--header-h);
  padding-inline: clamp(20px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; letter-spacing: .14em; font-size: 15px; white-space: nowrap; }
.brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: .46em; opacity: .55; margin-top: 3px; }
.custom-logo { max-height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  gap: clamp(22px, 3vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
}
.nav-list a {
  position: relative;
  padding: 6px 0;
  opacity: .85;
  transition: opacity .25s;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-list a:hover { opacity: 1; }
.nav-list a:hover::after { width: 100%; }

/* Social media — okrągłe ikony, spójne w całym motywie */
.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: clamp(18px, 2vw, 28px);
}
.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(12, 17, 22, .22);
  opacity: .9;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), opacity .25s;
}
.site-header.over-hero .nav-social a { border-color: rgba(255, 255, 255, .38); }
.nav-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}
.nav-social svg { width: 16px; height: 16px; fill: currentColor; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: currentColor;
  transition: transform .35s var(--ease);
}
body.nav-open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
body.nav-open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; position: relative; z-index: 60; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 8vw 60px;
    background: #ffffff;
    color: var(--ink);
    transform: translateY(-102%);
    transition: transform .55s var(--ease);
  }
  body.nav-open .site-nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; gap: 6px; }
  .nav-list a { font-size: clamp(30px, 8vw, 44px); font-weight: 800; letter-spacing: -.02em; opacity: 1; }
  .nav-list a::after { display: none; }
  .nav-social { margin: 38px 0 0; gap: 12px; }
  .nav-social a { width: 48px; height: 48px; border-color: rgba(12, 17, 22, .32); }
  .nav-social svg { width: 20px; height: 20px; }
}

/* =========================================================
   4. Hero slider
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
}
.hero-slide.active { opacity: 1; pointer-events: auto; z-index: 2; }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-slide.active .hero-img { animation: kenburns 7.5s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.12) translateY(1.5%); }
  to   { transform: scale(1) translateY(0); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 14, .48) 0%, rgba(6, 9, 14, .16) 48%, rgba(6, 9, 14, .18) 100%),
    linear-gradient(180deg, rgba(6, 9, 14, .5) 0%, rgba(6, 9, 14, .12) 45%, rgba(6, 9, 14, .62) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 30px) clamp(20px, 4vw, 44px) 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-kicker {
  margin: 0 0 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero-title {
  margin: 0;
  font-size: clamp(46px, 7.6vw, 96px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.hero-text {
  margin: 24px 0 0;
  max-width: 54ch;
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, .84);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-anim { opacity: 0; transform: translateY(34px); }
.hero-slide.active .hero-content > .hero-anim { animation: rise .95s var(--ease) forwards; }
.hero-slide.active .hero-content > .hero-anim:nth-child(1) { animation-delay: .15s; }
.hero-slide.active .hero-content > .hero-anim:nth-child(2) { animation-delay: .28s; }
.hero-slide.active .hero-content > .hero-anim:nth-child(3) { animation-delay: .42s; }
.hero-slide.active .hero-content > .hero-anim:nth-child(4) { animation-delay: .56s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-foot {
  position: absolute;
  z-index: 4;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 44px) 34px;
}
.hero-dots { display: flex; gap: 10px; }
.hero-dot {
  position: relative;
  width: 58px; height: 3px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
  overflow: hidden;
}
.hero-dot .fill {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dot.active .fill { animation: dotfill 6.5s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-count {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .85);
  white-space: nowrap;
}
.hero-scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.hero-scroll svg { width: 16px; height: 16px; stroke: currentColor; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 700px) {
  .hero-scroll { display: none; }
  .hero-foot { padding-bottom: 26px; }
  .hero-dot { width: 44px; }
}

/* =========================================================
   5. Sponsorzy (pasek pod sliderem)
   ========================================================= */
.sponsors {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.sponsors__inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: 30px;
}
.sponsors__label {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.sponsors__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 40px);
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sponsors__item {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 800;
  letter-spacing: .06em;
  color: #9aa3ad;
  transition: color .3s var(--ease);
}
.sponsors__item a { color: inherit; }
.sponsors__item:hover { color: var(--ink); }

@media (max-width: 720px) {
  .sponsors__inner { flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 24px; }
  .sponsors__list { justify-content: flex-start; }
}

/* =========================================================
   6. O Hani
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 66% 26%;
  border-radius: var(--radius-lg);
}
.about-badge {
  position: absolute;
  right: clamp(-14px, -1vw, -20px);
  bottom: 30px;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 24px 48px -18px rgba(12, 17, 22, .45);
}
.about-badge strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: .04em; }
.about-badge span { font-size: 10.5px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; opacity: .65; }
.about-text .h2 { margin-bottom: 22px; }
.about-text p { color: var(--ink-soft); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   6. Galeria
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-soft);
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute;
  left: 18px; bottom: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.g-item:hover figcaption { opacity: 1; transform: none; }
.g-a { grid-column: span 7;  height: clamp(280px, 40vw, 540px); }
.g-b { grid-column: span 5;  height: clamp(280px, 40vw, 540px); }
.g-c { grid-column: span 4;  height: clamp(240px, 30vw, 420px); }
.g-d { grid-column: span 4;  height: clamp(240px, 30vw, 420px); }
.g-e { grid-column: span 4;  height: clamp(240px, 30vw, 420px); }
.g-f { grid-column: span 5;  height: clamp(240px, 32vw, 440px); }
.g-g { grid-column: span 7;  height: clamp(240px, 32vw, 440px); }

@media (max-width: 820px) {
  .g-a, .g-b, .g-c, .g-d, .g-e, .g-f, .g-g { grid-column: span 12; height: clamp(240px, 62vw, 420px); }
}

/* TOP kadry sezonu — elegancka mozaika na stronie głównej */
.top-photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.tp-1 { grid-column: span 4; height: clamp(300px, 42vw, 560px); }
.tp-2 { grid-column: span 2; height: clamp(300px, 42vw, 560px); }
.tp-3 { grid-column: span 2; height: clamp(220px, 30vw, 420px); }
.tp-4 { grid-column: span 4; height: clamp(220px, 30vw, 420px); }
.tp-5 { grid-column: span 3; height: clamp(220px, 30vw, 420px); }
.tp-6 { grid-column: span 3; height: clamp(220px, 30vw, 420px); }
.tp-7 { grid-column: span 3; height: clamp(220px, 30vw, 420px); }
.tp-8 { grid-column: span 3; height: clamp(220px, 30vw, 420px); }

@media (max-width: 820px) {
  .tp-1, .tp-2, .tp-3, .tp-4, .tp-5, .tp-6, .tp-7, .tp-8 { grid-column: span 12; height: clamp(240px, 62vw, 420px); }
}

/* 1,5% podatku / zbiórka */
.tax { background: var(--paper); }
.tax-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}
.tax-steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: taxstep;
  display: grid;
  gap: 16px;
}
.tax-steps li {
  position: relative;
  padding: 4px 0 4px 58px;
  color: var(--ink-soft);
}
.tax-steps li::before {
  counter-increment: taxstep;
  content: counter(taxstep);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}
.tax-steps strong { color: var(--ink); }

.tax-card {
  background: var(--night);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 52px);
  box-shadow: 0 32px 64px -28px rgba(12, 17, 22, .5);
}
.tax-card__label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.tax-card__krs {
  margin: 0 0 10px;
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
}
.tax-card__goal {
  margin: 0 0 26px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  line-height: 1.4;
}
.btn-tax {
  background: var(--accent);
  color: #fff;
}
.btn-tax:hover { background: var(--accent-ink); }
.tax-card__note {
  margin: 22px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .tax-grid { grid-template-columns: 1fr; }
}

/* Kafle sezonów galerii */
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(16px, 2.5vw, 26px);
}
.season-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-soft);
}
.season-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.season-tile:hover img { transform: scale(1.05); }
.season-tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(6, 9, 14, 0) 30%, rgba(6, 9, 14, .74) 100%);
}
.season-tile__body {
  position: absolute;
  left: clamp(20px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 28px);
  right: clamp(20px, 3vw, 32px);
  color: #fff;
}
.season-tile__kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.season-tile__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.season-tile__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.season-tile__meta .btn-arrow { transition: transform .3s var(--ease); }
.season-tile:hover .season-tile__meta .btn-arrow { transform: translateX(4px); }

/* Zdjęcia wybranego sezonu (strona galerii) */
.season-photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.season-photo {
  position: relative;
  margin: 0;
  grid-column: span 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-soft);
}
.season-photo:nth-child(6n + 1) { grid-column: span 4; }
.season-photo:nth-child(6n + 4) { grid-column: span 4; }
.season-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.season-photo:hover img { transform: scale(1.04); }
.season-photo figcaption {
  position: absolute;
  left: 16px; bottom: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.season-photo:hover figcaption { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .season-photo,
  .season-photo:nth-child(6n + 1),
  .season-photo:nth-child(6n + 4) { grid-column: span 6; }
}

/* =========================================================
   7. Wpisy (karty + lista bloga + paginacja)
   ========================================================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 34px);
}
.post-card { display: flex; flex-direction: column; }
.post-card .thumb {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-soft);
}
.post-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.post-card:hover .thumb img { transform: scale(1.06); }
.post-meta {
  margin: 20px 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-meta .dot { margin: 0 8px; color: var(--accent); }
.post-card h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.post-card h3 a { transition: color .25s; }
.post-card h3 a:hover { color: var(--accent-ink); }
.post-card .excerpt {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.posts-more { margin-top: clamp(40px, 5vw, 60px); text-align: center; }

.empty-state {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 90px) clamp(24px, 5vw, 60px);
  text-align: center;
  color: var(--muted);
}
.empty-state .h3 { color: var(--ink); margin-bottom: 10px; }

.pagination { margin-top: clamp(48px, 6vw, 72px); }
.nav-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px; height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  transition: border-color .25s, background .25s, color .25s;
}
.page-numbers:hover { border-color: var(--ink); }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 1000px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .posts-grid { grid-template-columns: 1fr; } }

.posts-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .posts-grid--2 { grid-template-columns: 1fr; } }

/* Wyróżniony wpis (najnowszy) — duże zdjęcie obok treści */
.post-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(26px, 3.5vw, 48px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.post-featured__media {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-soft);
}
.post-featured__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.post-featured__media:hover img { transform: scale(1.04); }
.post-featured .post-meta { margin-top: 0; }
.post-featured__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.post-featured__title a { transition: color .25s; }
.post-featured__title a:hover { color: var(--accent-ink); }
.post-featured .excerpt { color: var(--muted); margin-bottom: 24px; }

@media (max-width: 900px) {
  .post-featured { grid-template-columns: 1fr; }
}

/* Filtry kategorii */
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.cat-chip {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.cat-chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.cat-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Galeria zdjęć w treści wpisu */
.prose .wp-block-gallery,
.prose .wp-block-gallery.alignwide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 2em 0;
  padding: 0;
}
.prose .wp-block-gallery .blocks-gallery-item,
.prose .wp-block-gallery figure { margin: 0; }
.prose .wp-block-gallery img { width: 100%; border-radius: var(--radius); }
.prose .wp-block-image img { border-radius: var(--radius); }

/* =========================================================
   8. Baner z cytatem (CTA)
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.cta .bg {
  position: absolute;
  inset: 0;
  background: url("assets/img/cta.jpg") center / cover no-repeat;
}
.cta .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, .5), rgba(8, 12, 18, .78));
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding-block: clamp(110px, 15vw, 200px);
}
.cta blockquote {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.cta cite {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

/* =========================================================
   9. Kontakt
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}
.contact-list { margin: 36px 0 0; padding: 0; list-style: none; }
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item .ci-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item a, .contact-item .ci-value {
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .25s;
}
.contact-item a:hover { color: var(--accent-ink); }
.contact-social { display: flex; gap: 18px; margin-top: 34px; }
.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: all .3s var(--ease);
}
.contact-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
.contact-social svg { width: 20px; height: 20px; fill: currentColor; }

.contact-form { background: var(--paper-soft); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); }
.contact-form .field { margin-bottom: 18px; }
.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  transition: border-color .25s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--ink); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .hp-field { position: absolute; left: -9999px; }

.notice {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-weight: 600;
  font-size: 15px;
}
.notice-ok { background: #e9f9ef; color: #12703a; border: 1px solid #bfe9cf; }
.notice-err { background: #fdeeee; color: #b3261e; border: 1px solid #f5c6c2; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================================
   10. Stopka
   ========================================================= */
.site-footer {
  background: var(--night);
  color: #fff;
  padding-top: clamp(64px, 9vw, 110px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
}
.footer-word { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.footer-tag { margin-top: 14px; color: rgba(255, 255, 255, .6); max-width: 34ch; }
.footer-h {
  margin: 6px 0 18px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .82); transition: color .25s; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .22);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.footer-social a:hover {
  background: #fff;
  border-color: #fff;
  color: var(--night);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 72px);
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom a { color: rgba(255, 255, 255, .8); }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   11. Podstrony: hero pas, pojedynczy wpis, archiwa
   ========================================================= */
.page-hero {
  padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(44px, 6vw, 80px);
  background: var(--paper-soft);
}
.page-hero .h2 { margin-bottom: 16px; }
.page-hero .lead { margin-bottom: 0; }

.single-hero {
  position: relative;
  height: min(76vh, 720px);
  min-height: 420px;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}
.single-hero img { width: 100%; height: 100%; object-fit: cover; }
.single-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 14, .3), rgba(6, 9, 14, .72));
}
.single-hero .container {
  position: absolute;
  inset: auto 0 calc(var(--header-h) / 2 + 12px) 0;
  padding-block: 0;
}
.single-hero .post-meta { color: rgba(255, 255, 255, .8); }
.single-hero .h1 { font-size: clamp(32px, 5vw, 68px); max-width: 22ch; }

.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
}
.prose > p:first-child { font-size: 20px; color: var(--ink-soft); }
.prose p { margin: 0 0 1.4em; }
.prose h2, .prose h3 { margin: 1.9em 0 .6em; letter-spacing: -.02em; line-height: 1.2; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 23px; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); }
.prose blockquote {
  margin: 1.8em 0;
  padding: .2em 0 .2em 1.4em;
  border-left: 3px solid var(--accent);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink-soft);
}
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }

.entry-footer {
  max-width: 760px;
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.entry-footer a {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: background .25s, color .25s;
}
.entry-footer a:hover { background: var(--ink); color: #fff; }

/* Formularz wyszukiwania */
.search-form { display: flex; gap: 10px; align-items: stretch; }
.search-form label { flex: 1; margin: 0; }
.search-form input[type="search"] {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--ink); }
.search-form .search-submit {
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background .3s;
}
.search-form .search-submit:hover { background: var(--accent); }

.post-nav {
  max-width: 760px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.post-nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 26px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .3s var(--ease);
}
.post-nav a:hover { border-color: var(--ink); transform: translateY(-2px); }
.post-nav .nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-nav .nav-title { font-weight: 800; font-size: 17px; letter-spacing: -.01em; line-height: 1.3; }
.post-nav .next { text-align: right; align-items: flex-end; }

@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }

/* Komentarze */
.comments-area { max-width: 760px; margin: 72px auto 0; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment { border-top: 1px solid var(--line); padding: 22px 0; }
.comment-list .comment .children { list-style: none; padding-left: 28px; }
.comment-meta { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.comment-form p { margin-bottom: 18px; }
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--paper-soft);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.comment-form .submit {
  background: var(--ink); color: #fff;
  border: 0; border-radius: 999px;
  padding: 15px 30px;
  font-weight: 700; cursor: pointer;
  transition: background .3s;
}
.comment-form .submit:hover { background: var(--accent); }

/* 404 */
.error-404 { text-align: center; padding-block: clamp(80px, 14vw, 180px); }
.error-404 .code {
  font-size: clamp(90px, 16vw, 200px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(180deg, var(--ink) 30%, #b9c2cc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   12. WordPress — drobne dopasowania
   ========================================================= */
.alignwide { max-width: min(1400px, 92vw); margin-inline: auto; }
.alignfull { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 13.5px; color: var(--muted); }
body.page .prose, body.page .entry-content { max-width: 760px; margin-inline: auto; }

/* =========================================================
   13. Ograniczenie animacji (dostępność)
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-anim { opacity: 1; transform: none; }
}

/* =========================================================
   Filmy (wersja na Cloudflare: strona /filmy i film we wpisie)
   ========================================================= */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 3vw, 34px);
}
.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.post-video { max-width: 760px; margin: 8px auto 0; }
@media (max-width: 760px) {
  .videos-grid { grid-template-columns: 1fr; }
}
