:root {
  --forest: #07150f;
  --forest-soft: #10271c;
  --cream: #f4ecd2;
  --muted: #c5bda3;
  --gold: #d7bd66;
  --line: rgba(215, 189, 102, .28);
  font-family: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--cream);
  background: radial-gradient(circle at 50% -10%, #294d35 0, transparent 36%), var(--forest);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 20; padding: 12px 16px; color: #111; background: var(--gold); }
.skip-link:focus { top: 12px; }
.site-head {
  position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line);
  background: rgba(7, 21, 15, .94); backdrop-filter: blur(12px);
}
.head-inner, .container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.head-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { color: var(--gold); font-size: clamp(1.2rem, 3vw, 1.65rem); font-weight: 700; text-decoration: none; }
.head-nav { display: flex; gap: 18px; font-family: ui-sans-serif, system-ui, sans-serif; font-size: .9rem; }
.head-nav a { text-underline-offset: 5px; }
.hero { padding: clamp(70px, 10vw, 128px) 0 58px; text-align: center; }
.eyebrow { color: var(--gold); font: 700 .78rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { text-wrap: balance; }
h1 { max-width: 850px; margin: 16px auto; font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: .98; }
.hero p {
  max-width: 690px; margin: 0 auto; color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(.98rem, 1.7vw, 1.15rem); line-height: 1.7;
}
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; padding-bottom: 90px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--forest-soft); }
.post-card-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: clamp(22px, 4vw, 34px); }
.date { color: var(--gold); font: 700 .78rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.post-category {
  display: inline-block; margin: 0 10px 8px 0; padding: 5px 9px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--gold);
  font: 700 .68rem/1.1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
}
.post-card h2 { margin: 12px 0; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--gold); }
.post-card p { color: var(--muted); font: 400 1rem/1.72 Inter, ui-sans-serif, system-ui, sans-serif; }
.read-more { display: inline-block; margin-top: 8px; color: var(--gold); font: 700 .9rem/1.2 ui-sans-serif, system-ui, sans-serif; text-underline-offset: 5px; }
.empty { margin-bottom: 90px; padding: 45px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.article { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: clamp(65px, 9vw, 110px) 0 90px; }
.article h1 { margin: 14px 0 18px; }
.article-lead {
  color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.02rem, 2vw, 1.2rem); line-height: 1.72;
}
.article-image { width: 100%; aspect-ratio: 16 / 10; max-height: 650px; margin: 42px 0; border: 1px solid var(--line); border-radius: 12px; object-fit: cover; }
.article-body {
  margin-top: 42px; font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1rem, 1.65vw, 1.1rem); line-height: 1.82;
}
.article-body p { margin: 0 0 1.5em; }
.article-body h2 { margin: 1.7em 0 .65em; color: var(--cream); font-size: clamp(1.7rem, 4vw, 2.65rem); line-height: 1.1; }
.article-body h3 { margin: 1.6em 0 .6em; color: var(--gold); font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.2; }
.article-body ul, .article-body ol { margin: 0 0 1.6em; padding-left: 1.5em; }
.article-body li { margin: .45em 0; padding-left: .2em; }
.article-body blockquote {
  margin: 2em 0; padding: .4em 0 .4em clamp(20px, 4vw, 38px);
  border-left: 3px solid var(--gold); color: #e7ddb9; font-size: 1.15em; font-style: italic;
}
.article-body blockquote p { margin: 0; }
.article-body hr { margin: 3em 0; border: 0; border-top: 1px solid var(--line); }
.article-body a { color: var(--gold); text-underline-offset: 5px; }
.article-gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 24px); margin: clamp(42px, 7vw, 72px) 0;
}
.article-gallery figure {
  margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px;
  background: var(--forest-soft);
}
.article-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.article-gallery figcaption {
  padding: 12px 15px; color: var(--muted);
  font: 400 .88rem/1.55 Inter, ui-sans-serif, system-ui, sans-serif;
}
.article-cta { margin: clamp(38px, 6vw, 60px) 0; }
.article-cta a {
  display: inline-flex; align-items: center; min-height: 50px; padding: 13px 20px;
  border: 1px solid var(--gold); border-radius: 5px; color: #102015; background: var(--gold);
  font: 700 .78rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
}
.back { display: inline-block; margin-top: 30px; color: var(--gold); text-underline-offset: 5px; }
.site-foot { padding: 35px 0; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-family: ui-sans-serif, system-ui, sans-serif; font-size: .88rem; }
a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Wideo — pionowe kadry układają się jak leśna taśma filmowa. */
.video-page {
  padding-top: 70px;
  background:
    radial-gradient(circle at 50% 8%, rgba(70, 112, 70, .32), transparent 30rem),
    linear-gradient(180deg, #07150f 0%, #0c2117 55%, #07150f 100%);
}
.video-page .skip-link { z-index: 300; }
.video-nav {
  position: fixed; inset: 0 0 auto; z-index: 200; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: rgba(8, 18, 8, .82);
  border-bottom: 1px solid rgba(200, 162, 65, .12);
  backdrop-filter: blur(18px);
}
.video-nav-logo {
  position: relative; top: 6px; display: flex; align-items: center;
  min-height: 44px; flex-shrink: 0; color: #e8c96a;
  font: 400 36px/1 "Great Vibes", cursive; letter-spacing: .02em;
  text-decoration: none; animation: videoLogoShimmer 3.4s ease-in-out infinite;
  transition: transform .35s ease, text-shadow .35s ease;
}
.video-nav-logo:hover {
  transform: scale(1.06);
  text-shadow: 0 0 26px rgba(200, 162, 65, .35), 0 0 46px rgba(232, 201, 106, .5);
}
.video-nav-right { display: flex; align-items: center; gap: 14px; }
.video-nav-order {
  display: flex; align-items: center; min-height: 44px; padding: 9px 16px;
  border: 1px solid rgba(200, 162, 65, .55); color: #e8c96a;
  font: 400 11px/1.2 Cinzel, serif; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  animation: videoNavGlow 2.6s ease-in-out infinite;
  transition: color .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.video-nav-order:hover {
  border-color: #c8a241; color: #1a1208; background: #c8a241;
  box-shadow: 0 0 30px rgba(232, 201, 106, .6);
}
.video-ham {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 44px; height: 44px; padding: 6px;
  border: 0; background: none; cursor: pointer;
}
.video-ham span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: rgba(244, 235, 208, .8); transition: transform .3s ease, opacity .3s ease;
}
.video-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.video-ham.open span:nth-child(2) { opacity: 0; }
.video-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.video-mobile-nav {
  position: fixed; inset: 70px 0 auto; z-index: 190;
  max-height: 0; padding: 0; overflow: hidden;
  background: #232e10;
  transition: max-height .4s ease, padding .3s ease;
}
.video-mobile-nav.open {
  max-height: calc(100vh - 70px);
  max-height: calc(100svh - 70px);
  padding: 16px 0 24px; overflow-y: auto; overscroll-behavior: contain;
}
.video-mobile-nav a {
  display: flex; align-items: center; min-height: 48px; padding: 14px 6vw;
  border-bottom: 1px solid rgba(200, 162, 65, .08);
  color: rgba(244, 235, 208, .8);
  font: 400 11px/1.35 Cinzel, serif; letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; transition: color .2s ease, background .2s ease;
}
.video-mobile-nav a:hover,
.video-mobile-nav a[aria-current="page"] {
  color: #e8c96a; background: rgba(200, 162, 65, .06);
}
@keyframes videoLogoShimmer {
  0%, 100% { text-shadow: 0 0 14px rgba(200, 162, 65, .35); }
  50% { text-shadow: 0 0 26px rgba(232, 201, 106, .55), 0 0 6px rgba(200, 162, 65, .35); }
}
@keyframes videoNavGlow {
  0%, 100% { box-shadow: 0 0 14px rgba(232, 201, 106, .35), 0 8px 22px rgba(0, 0, 0, .3); }
  50% { box-shadow: 0 0 36px rgba(232, 201, 106, .7), 0 8px 26px rgba(0, 0, 0, .35); }
}
.video-hero { position: relative; overflow: hidden; padding-bottom: clamp(72px, 9vw, 112px); }
.video-hero::after {
  content: ""; position: absolute; left: 50%; bottom: 30px; width: min(780px, 86vw); height: 10px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--gold) 2px, transparent 2.6px) 0 50% / 24px 10px repeat-x;
  opacity: .42;
}
.video-library { padding-bottom: clamp(74px, 10vw, 128px); }
.reel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 32px); }
.reel-card {
  position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(23, 52, 36, .96), rgba(10, 28, 19, .98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .32);
  transition: transform .25s ease, border-color .25s ease;
}
.reel-card::before {
  content: attr(data-scene); position: absolute; z-index: 3; top: 12px; left: 12px;
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid rgba(244, 236, 210, .5); border-radius: 50%;
  color: #fff8df; background: rgba(7, 21, 15, .78);
  font: 700 .7rem/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em;
}
.reel-card:hover { transform: translateY(-5px); border-color: rgba(215, 189, 102, .62); }
.reel-stage { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #020403; }
.reel-stage video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel-poster {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
.reel-stage.playing .reel-poster { display: none; }
.reel-copy { padding: clamp(20px, 3vw, 28px); }
.reel-kicker {
  margin: 0 0 9px; color: var(--gold);
  font: 700 .7rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .17em; text-transform: uppercase;
}
.reel-copy h3 { min-height: 3.3em; margin: 0; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.1; }
.reel-copy details {
  margin-top: 20px; border-top: 1px solid var(--line); color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.reel-copy summary {
  padding: 15px 0 9px; cursor: pointer; color: var(--cream);
  font: 700 .76rem/1.3 ui-sans-serif, system-ui, sans-serif; letter-spacing: .06em;
}
.reel-copy details p { margin: 5px 0 0; font-size: .98rem; line-height: 1.6; }
.reels-portal {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: clamp(30px, 7vw, 90px); overflow: hidden;
  margin-bottom: clamp(72px, 10vw, 120px); padding: clamp(34px, 6vw, 70px);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 21, 15, .88), rgba(7, 21, 15, .7)),
    url("/assets/forest-magic.webp") center 42% / cover;
}
.reels-portal h2 { margin: 10px 0 12px; font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1; }
.reels-portal p {
  max-width: 650px; margin: 0; color: var(--muted);
  font: 400 1.02rem/1.7 Inter, ui-sans-serif, system-ui, sans-serif;
}
.profile-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 22px; border: 1px solid var(--gold);
  color: #102015; background: var(--gold); text-decoration: none;
  font: 700 .78rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}
.profile-button:hover { transform: translateY(-2px); background: #ead27e; }

@media (max-width: 720px) {
  .posts { grid-template-columns: 1fr; }
  .head-nav a:first-child { display: none; }
  .article-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .reel-grid { grid-template-columns: 1fr; width: min(390px, 100%); margin-inline: auto; }
  .reel-copy h3 { min-height: 0; }
  .reels-portal { grid-template-columns: 1fr; }
  .profile-button { justify-self: start; }
}
@media (max-width: 560px) {
  .head-inner { align-items: flex-start; padding-block: 16px; }
  .head-nav { justify-content: flex-end; flex-wrap: wrap; gap: 10px 14px; }
  .head-nav a { font-size: .78rem; }
}
@media (max-width: 400px) {
  .video-nav-order { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel-card, .profile-button, .video-nav-logo, .video-nav-order { transition: none; animation: none; }
  .reel-card:hover, .profile-button:hover { transform: none; }
}
