/* ============================================================
   ALASKASONS — Jukon | arkusz stylów
   Etap 1: design system + nawigacja + hero
   ============================================================ */

/* ---------- Tokeny ---------- */
:root {
  /* Kolory marki (z logo) */
  --graphite:       #2E3138;
  --graphite-light: #474B53;
  --cream:          #F5F3EE;
  --amber:          #D98E32;
  --amber-bright:   #E8A24B;
  --gray:           #8A8E94;
  --dark-bg:        #23262B;
  --dark-bg-2:      #1C1F23;

  /* Role */
  --bg:             var(--cream);
  --bg-alt:         #ECE8E0;
  --ink:            var(--graphite);
  --ink-soft:       #5A5E66;
  --line:           rgba(46, 49, 56, .12);

  /* Typografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Rytm */
  --wrap:      1180px;
  --wrap-tight: 920px;
  --gut:       clamp(1.25rem, 4vw, 3rem);
  --nav-h:     76px;

  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(28, 31, 35, .07);
  --shadow-md: 0 18px 50px rgba(28, 31, 35, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.01em;
}

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

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
}

/* ---------- Przyciski ---------- */
.btn {
  --pad-y: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: var(--pad-y) 1.6rem;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 10px 26px rgba(217, 142, 50, .32);
}
.btn--primary:hover { background: var(--amber-bright); box-shadow: 0 14px 32px rgba(217, 142, 50, .42); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 243, 238, .35);
}
.btn--ghost:hover { border-color: var(--cream); background: rgba(245, 243, 238, .08); }

/* ============================================================
   NAWIGACJA
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              backdrop-filter .35s var(--ease);
}
/* delikatna poświata u góry — czytelność linków nad jasnym niebem */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(18, 20, 23, .72), rgba(18, 20, 23, 0));
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.nav.is-scrolled::before { opacity: 0; }

.nav.is-scrolled {
  background: rgba(28, 31, 35, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(245, 243, 238, .07), 0 10px 30px rgba(0, 0, 0, .25);
}

.nav__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand { display: flex; align-items: center; gap: .7rem; }
.nav__mark  { width: 34px; height: auto; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.nav__name {
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .22em;
  color: var(--cream);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}
.nav__tagline {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #B6BAC0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__links a {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(245, 243, 238, .82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
  transition: color .2s var(--ease);
}
.nav.is-scrolled .nav__links a,
.nav.is-scrolled .nav__name,
.nav.is-scrolled .nav__tagline { text-shadow: none; }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--cream); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
  padding: .55rem 1.15rem;
  border: 1.5px solid var(--amber);
  border-radius: 999px;
  color: var(--amber) !important;
  font-weight: 600;
  transition: background-color .25s var(--ease), color .25s var(--ease) !important;
}
.nav__cta:hover { background: var(--amber); color: #fff !important; }

/* hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: none; border: none; cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  margin-inline: auto;
  background: var(--cream);
  border-radius: 2px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav.is-scrolled .nav__burger span { box-shadow: none; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* prawa strona nawigacji: linki + przełącznik języka + hamburger */
.nav__right { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }

/* przełącznik języka PL / EN */
.lang-switch {
  display: inline-flex;
  border: 1.5px solid rgba(245, 243, 238, .32);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-switch__btn {
  padding: .32rem .62rem;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: rgba(245, 243, 238, .75);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang-switch__btn:not(.is-active):hover { color: var(--cream); }
.lang-switch__btn.is-active { background: var(--amber); color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 46fr 54fr;
  min-height: 100svh;
  background: var(--dark-bg);
}

.hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 3rem) var(--gut) 3rem;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(217, 142, 50, .10), transparent 55%),
    linear-gradient(180deg, var(--dark-bg), var(--dark-bg-2));
  overflow: hidden;
}

.hero__content { max-width: 30rem; }

.hero__kicker {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1.1rem;
}

.hero__title {
  font-size: clamp(4.5rem, 3rem + 9vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--cream);
  line-height: .92;
  margin-bottom: 1.4rem;
}

.hero__lead {
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  color: rgba(245, 243, 238, .78);
  margin: 0 0 1.8rem;
  max-width: 27rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem .65rem;
  margin-bottom: 2.2rem;
}
.hero__meta li {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(245, 243, 238, .9);
  padding: .4rem .85rem;
  border: 1px solid rgba(245, 243, 238, .18);
  border-radius: 999px;
  background: rgba(245, 243, 238, .04);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__scroll {
  position: absolute;
  left: var(--gut); bottom: 1.7rem;
  display: flex; align-items: center; gap: .6rem;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gray);
}
.hero__scroll-line {
  width: 40px; height: 1px; background: var(--gray);
  transform-origin: left;
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleX(.4); opacity: .5; }
  50%      { transform: scaleX(1);  opacity: 1; }
}

.hero__media { position: relative; overflow: hidden; background: var(--dark-bg); }

/* pokaz slajdów — przenikanie 3 zdjęć z delikatnym Ken Burns */
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity, transform;
  animation: heroFade 21s ease-in-out infinite;
}
/* indywidualne kadrowanie + bazowe powiększenie (--s) tak, by Jukon był wyśrodkowany */
.hero__slide:nth-child(1) {       /* lato — łąka */
  --s: 1.06;
  object-position: center 52%;
  transform-origin: 48% 58%;
  animation-delay: 0s;
}
.hero__slide:nth-child(2) {       /* zima — Muszyna */
  --s: 1.08;
  object-position: center 60%;
  transform-origin: 50% 68%;
  animation-delay: -14s;
}
.hero__slide:nth-child(3) {       /* wiosna — bieg, Tatry */
  --s: 1.24;
  object-position: center 58%;
  transform-origin: 72% 78%;
  animation-delay: -7s;
}

.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  /* czysta krawędź panelu z delikatnym zmiękczeniem (bez pasma nad niebem) */
  background: linear-gradient(90deg,
    rgba(35, 38, 43, 1) 0%,
    rgba(35, 38, 43, 0) 4%);
  pointer-events: none;
}

/* ---------- Animacje wejścia ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* przenikanie slajdów + Ken Burns; --s = bazowe powiększenie danego zdjęcia */
@keyframes heroFade {
  0%   { opacity: 1; transform: scale(calc(var(--s) * 1.00)); }
  28%  { opacity: 1; transform: scale(calc(var(--s) * 1.05)); }
  34%  { opacity: 0; transform: scale(calc(var(--s) * 1.06)); }
  60%  { opacity: 0; transform: scale(calc(var(--s) * 0.96)); }
  94%  { opacity: 0; transform: scale(calc(var(--s) * 0.99)); }
  100% { opacity: 1; transform: scale(calc(var(--s) * 1.00)); }
}
.hero__kicker, .hero__title, .hero__lead, .hero__meta, .hero__actions, .hero__scroll {
  opacity: 0;
  animation: rise .9s var(--ease) forwards;
}
.hero__kicker  { animation-delay: .15s; }
.hero__title   { animation-delay: .28s; }
.hero__lead    { animation-delay: .44s; }
.hero__meta    { animation-delay: .58s; }
.hero__actions { animation-delay: .70s; }
.hero__scroll  { animation-delay: .95s; }

/* ============================================================
   SEKCJE — zalążki (do wypełnienia w kolejnych etapach)
   ============================================================ */
.section--stub { min-height: 60vh; display: grid; align-items: center; }
.stub-note {
  color: var(--gray);
  font-style: italic;
  margin-top: 1rem;
}

/* ---------- Wspólne elementy treści ---------- */
.section-head { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin-top: 1.1rem; }

.lead {
  font-size: clamp(1.1rem, 1.04rem + .35vw, 1.32rem);
  line-height: 1.6;
  color: var(--ink);
}

/* ---------- Animacja pojawiania się ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   O JUKONIE
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.about__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__body > * + * { margin-top: 1.25rem; }

.datasheet {
  margin-top: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.datasheet__title { font-size: 1.1rem; margin-bottom: .75rem; }
.datasheet__list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem 0;
  border-bottom: 1px solid var(--line);
}
.datasheet__list > div:last-child { border-bottom: none; }
.datasheet dt { color: var(--ink-soft); font-size: .95rem; }
.datasheet dd { margin: 0; font-weight: 600; text-align: right; }

.parents { margin-top: clamp(2.5rem, 5vw, 4rem); }
.parents__title { font-size: 1.45rem; margin-bottom: 1.25rem; }
.parents__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.parent {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.parent__role {
  display: inline-block;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); font-weight: 700; margin-bottom: .55rem;
}
.parent__name { font-size: 1.18rem; line-height: 1.2; }
.parent__titles { color: var(--ink-soft); font-size: .92rem; margin: .45rem 0 1.1rem; }
.parent__titles:has(+ .parent__honor) { margin-bottom: .65rem; }
.parent__honor {
  display: flex; align-items: flex-start; gap: .45rem;
  font-size: .86rem; font-weight: 600; line-height: 1.35; color: var(--graphite);
  background: rgba(217, 142, 50, .1);
  border: 1px solid rgba(217, 142, 50, .3);
  border-radius: 10px;
  padding: .55rem .7rem;
  margin: 0 0 1.1rem;
}
.parent__honor-star { color: var(--amber); font-size: 1rem; line-height: 1.2; flex-shrink: 0; }

/* rodzice rodzica (dziadkowie Jukona) — stopka karty */
.parent__lineage {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.parent__lineage-label {
  display: block;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gray); font-weight: 700; margin-bottom: .6rem;
}
.lineage { list-style: none; display: grid; grid-template-columns: 1fr 1fr; }
.lineage li { display: flex; flex-direction: column; gap: .1rem; padding-right: 1rem; }
.lineage li:last-child { padding-right: 0; padding-left: 1rem; border-left: 1px solid var(--line); }
.lineage__role { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.lineage__name { font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.lineage__title { font-size: .72rem; color: var(--amber); font-weight: 600; margin-top: .1rem; }

/* pełny rodowód — rozwijany (<details>) */
.ped { margin-top: 1.6rem; }
.ped__toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  cursor: pointer; list-style: none;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  padding: .6rem 1.1rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.ped__toggle::-webkit-details-marker { display: none; }
.ped__toggle:hover { border-color: var(--amber); background: #fff; }
.ped__chevron { transition: transform .3s var(--ease); flex-shrink: 0; }
.ped[open] .ped__chevron { transform: rotate(180deg); }
.ped__scroll { overflow-x: auto; margin-top: 1.4rem; padding-bottom: .6rem; }
.ped__head, .ped__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(168px, 1fr));
  gap: .5rem;
  min-width: 720px;
}
.ped__head { margin-bottom: .55rem; }
.ped__head span {
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); font-weight: 700;
}
.ped__grid { grid-template-rows: repeat(16, minmax(2.3rem, auto)); }
.ped__cell {
  display: flex; align-items: center;
  font-size: .8rem; line-height: 1.22; color: var(--ink-soft);
  padding: .4rem .65rem;
  background: rgba(255, 255, 255, .45);
  border: 1px solid var(--line); border-radius: 8px;
}
.ped__cell--lead { font-weight: 600; color: var(--ink); background: #fff; }
.ped__cell--leaf { font-size: .74rem; }
.ped__note { margin-top: 1rem; font-size: .78rem; color: var(--gray); }

.badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badges li {
  font-size: .8rem; font-weight: 600;
  padding: .35rem .72rem; border-radius: 999px;
  background: rgba(217, 142, 50, .12);
  color: #93600F;
  border: 1px solid rgba(217, 142, 50, .28);
}
.badges--light li {
  background: rgba(245, 243, 238, .1);
  color: var(--cream);
  border-color: rgba(245, 243, 238, .25);
}

/* ============================================================
   ZDROWIE
   ============================================================ */
.health__grid {
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.results { display: flex; flex-direction: column; gap: .65rem; margin: 1.6rem 0; }
.result {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.result__name { font-weight: 600; }
.result__name small {
  display: block; font-weight: 500; color: var(--ink-soft);
  font-size: .76rem; letter-spacing: .05em; text-transform: uppercase;
}
.result__val {
  font-weight: 700; font-size: .88rem;
  padding: .38rem .85rem; border-radius: 999px; white-space: nowrap;
}
.result--ok .result__val { background: #2F7D55; color: #fff; }
.result__val--soon { background: rgba(46, 49, 56, .07); color: var(--ink-soft); }
.note { color: var(--ink-soft); font-style: italic; }

.health__aside {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.health__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.health__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.genetics { background: var(--graphite); color: var(--cream); border-radius: var(--radius); padding: 1.6rem 1.75rem; }
.genetics__title { color: #fff; font-size: 1.15rem; margin-bottom: .6rem; }
.genetics p { color: rgba(245, 243, 238, .8); font-size: .95rem; margin-bottom: 1.1rem; }

/* ============================================================
   OSIĄGNIĘCIA
   ============================================================ */
.ach__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline__item { position: relative; padding-left: 2.4rem; padding-bottom: 2.2rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute; left: 0; top: .3rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(217, 142, 50, .18);
}
.timeline__item::after {
  content: "";
  position: absolute; left: 7px; top: 1.5rem; bottom: 0; width: 2px;
  background: var(--line);
}
.timeline__item:last-child::after { display: none; }
.timeline__date {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; color: var(--amber); margin-bottom: .35rem;
}
.timeline__title { font-size: 1.3rem; }
.timeline__sub { color: var(--ink-soft); margin: .3rem 0 0; }
.timeline__place { display: block; font-size: .9rem; color: var(--ink-soft); margin-top: .35rem; }
/* lekki stagger pojawiania się */
.timeline__item.reveal:nth-child(2) { transition-delay: .1s; }
.timeline__item.reveal:nth-child(3) { transition-delay: .2s; }

.ach__aside { display: flex; flex-direction: column; gap: 1.25rem; }
.quote {
  margin: 0;
  background: #fff;
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-sm);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem; line-height: 1.45; font-style: italic;
  color: var(--ink);
}
.quote figcaption { margin-top: 1.1rem; font-size: .85rem; color: var(--ink-soft); }
.quote__grade {
  display: block; font-family: var(--font-sans); font-style: normal;
  font-weight: 700; color: #93600F; margin-bottom: .25rem;
}
.ach__status {
  background: rgba(217, 142, 50, .1);
  border: 1px solid rgba(217, 142, 50, .25);
  border-radius: var(--radius);
  padding: 1.15rem 1.4rem;
  font-size: .98rem;
}

.ach__photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.ach__photos figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.ach__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

/* ============================================================
   GALERIA
   ============================================================ */
.gallery__filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.filter {
  font: inherit; font-size: .9rem; font-weight: 600;
  padding: .55rem 1.15rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink-soft);
  cursor: pointer; transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.filter:hover { border-color: var(--amber); color: var(--ink); }
.filter.is-active { background: var(--graphite); color: var(--cream); border-color: var(--graphite); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.g-item {
  position: relative;
  padding: 0; border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-alt);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.07); }
.g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20, 22, 25, .55), transparent 50%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: .85rem .95rem;
  color: #fff; font-size: .85rem; font-weight: 500; text-align: left;
  transform: translateY(10px); opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.g-item:hover .g-item__cap, .g-item:focus-visible .g-item__cap { opacity: 1; transform: none; }
.g-item.is-hidden { display: none; }
/* animacja po zmianie filtra */
@keyframes gPop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.g-item.is-popping { animation: gPop .45s var(--ease) both; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(18, 20, 23, .93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  margin: 0; display: flex; flex-direction: column; align-items: center;
  max-width: min(92vw, 720px);
}
.lightbox__figure img {
  max-width: 100%; max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transform: scale(.95); opacity: .6;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.lightbox.is-open .lightbox__figure img { transform: scale(1); opacity: 1; }
.lightbox__figure figcaption {
  color: rgba(245, 243, 238, .85); text-align: center;
  margin-top: 1.1rem; font-size: .95rem;
}
.lightbox__close, .lightbox__nav {
  position: absolute; border: none; cursor: pointer;
  background: rgba(245, 243, 238, .12); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.lightbox__close {
  top: 1.2rem; right: 1.4rem;
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.7rem; line-height: 1;
}
.lightbox__nav {
  top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; font-size: 2.1rem; line-height: 1;
}
.lightbox__close:hover { background: rgba(245, 243, 238, .26); }
.lightbox__nav:hover { background: rgba(245, 243, 238, .26); }
.lightbox__prev { left: clamp(.5rem, 2vw, 2rem); }
.lightbox__next { right: clamp(.5rem, 2vw, 2rem); }
.lightbox__counter {
  position: absolute; bottom: 1.3rem; left: 50%; transform: translateX(-50%);
  color: rgba(245, 243, 238, .6); font-size: .8rem; letter-spacing: .1em;
}
body.no-scroll { overflow: hidden; }

/* ============================================================
   O HODOWLI
   ============================================================ */
.kennel__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.kennel__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.kennel__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kennel__body > * + * { margin-top: 1.25rem; }

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.principle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.principle__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(217, 142, 50, .12); color: var(--amber);
  margin-bottom: 1.1rem;
}
.principle__icon svg { width: 26px; height: 26px; }
.principle h3 { font-size: 1.18rem; line-height: 1.25; margin-bottom: .5rem; }
.principle p { color: var(--ink-soft); font-size: .95rem; }

/* ============================================================
   KONTAKT (sekcja ciemna)
   ============================================================ */
.section--dark { background: var(--dark-bg); color: var(--cream); }
.section--dark .section__title { color: var(--cream); }
.section-head--center { max-width: 46rem; margin-inline: auto; text-align: center; }
.lead--invert { color: rgba(245, 243, 238, .8); }

.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
}
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .25rem;
  background: rgba(245, 243, 238, .05);
  border: 1px solid rgba(245, 243, 238, .12);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
a.contact-card:hover { border-color: var(--amber); background: rgba(245, 243, 238, .08); transform: translateY(-3px); }
.contact-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(217, 142, 50, .16); color: var(--amber); margin-bottom: .7rem;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.contact-card__value { font-size: 1.05rem; font-weight: 600; color: var(--cream); }

.contact__terms { text-align: center; color: rgba(245, 243, 238, .7); font-size: .95rem; margin-bottom: 2rem; }
.contact__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; }

/* ============================================================
   STOPKA
   ============================================================ */
.footer { background: var(--dark-bg-2); color: rgba(245, 243, 238, .7); padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem; align-items: start;
  padding-bottom: 2.5rem;
}
.footer__brand { display: flex; align-items: center; gap: .85rem; }
.footer__mark { width: 44px; }
.footer__name { display: block; font-weight: 700; letter-spacing: .2em; color: var(--cream); }
.footer__tagline { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-top: .25rem; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: .6rem; }
.footer__nav a, .footer__contact a { color: rgba(245, 243, 238, .7); font-size: .92rem; transition: color .2s var(--ease); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--amber); }
.footer__bottom { border-top: 1px solid rgba(245, 243, 238, .1); }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.4rem;
  padding: 1.4rem 0; font-size: .82rem; color: var(--gray);
}
.footer__legal { display: flex; flex-direction: column; gap: .4rem; }

/* badge „created by FormatWS" */
.madeby {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  width: 104px; height: 104px;
  background: linear-gradient(140deg, var(--graphite-light) 0%, var(--graphite) 100%);
  border: 1px solid rgba(245, 243, 238, .12);
  border-radius: var(--radius);
  text-align: center; line-height: 1.2;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.madeby__by { font-size: .72rem; font-weight: 600; color: var(--gray); }
.madeby__brand { font-size: 1.04rem; font-weight: 700; letter-spacing: .03em; color: var(--cream); transition: color .25s var(--ease); }
.madeby:hover { transform: translateY(-3px); border-color: var(--amber); box-shadow: 0 12px 26px rgba(0, 0, 0, .32); }
.madeby:hover .madeby__brand { color: var(--amber-bright); }

/* linki w stopce: polityka prywatności / ustawienia cookies */
.footer__links { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-top: .35rem; }
.footer__links a { color: var(--gray); transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--amber); }

/* baner zgody na cookies */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 760px; margin-inline: auto;
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  padding: 1.1rem 1.3rem;
  background: rgba(28, 31, 35, .97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 243, 238, .12);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
}
.cookie[hidden] { display: none; }
.cookie__text { flex: 1 1 280px; font-size: .85rem; line-height: 1.5; color: rgba(245, 243, 238, .82); }
.cookie__text a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie__btn { padding: .5rem 1.15rem; font-size: .85rem; }

/* modal: polityka prywatności */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  background: rgba(20, 22, 25, .6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal[hidden] { display: none; }
.modal__box {
  position: relative;
  width: 100%; max-width: 580px; max-height: 85vh; overflow-y: auto;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.modal__close {
  position: absolute; top: .8rem; right: 1rem;
  width: 38px; height: 38px;
  background: none; border: none; cursor: pointer;
  font-size: 1.9rem; line-height: 1; color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.modal__close:hover { color: var(--amber); }
.modal__title { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 1.1rem; }
.modal__body p { font-size: .92rem; line-height: 1.65; color: var(--ink-soft); margin-bottom: .9rem; }
.modal__body p:last-child { margin-bottom: 0; }

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */
@media (max-width: 900px) {
  :root { --nav-h: 66px; }

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gut) 2rem;
    background: rgba(28, 31, 35, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(-130%);
    transition: transform .4s var(--ease);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__links a {
    padding: .95rem .2rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(245, 243, 238, .08);
  }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta {
    margin-top: 1rem;
    text-align: center;
    border-width: 1.5px;
  }
  .nav__burger { display: flex; }

  /* hero stack */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 52svh auto;
  }
  .hero { display: flex; flex-direction: column; }
  .hero__media { order: -1; height: 56svh; }

  /* na mobile zdjęcie kadruje się w pionie — centrujemy Jukona, mniejszy zoom */
  .hero__slide { transform-origin: center 50%; }
  .hero__slide:nth-child(1) { --s: 1.02; object-position: center 50%; }
  .hero__slide:nth-child(2) { --s: 1.02; object-position: center 58%; }
  .hero__slide:nth-child(3) { --s: 1.06; object-position: center 60%; }

  /* górny scrim pod nawigację + krótki dolny zlew z panelem (nie zakrywa psa) */
  .hero__media::after {
    background: linear-gradient(180deg,
      rgba(35, 38, 43, .82) 0%,
      rgba(35, 38, 43, .3)  11%,
      rgba(35, 38, 43, 0)   22%,
      rgba(35, 38, 43, 0)   84%,
      rgba(35, 38, 43, 1)   100%);
  }
  .hero__panel {
    padding: 2.5rem var(--gut) 3rem;
    justify-content: flex-start;
  }
  .hero__content { max-width: none; }
  .hero__scroll { display: none; }

  /* sekcje treści — jedna kolumna */
  .about__grid, .health__grid, .ach__grid { grid-template-columns: 1fr; }
  .about__photo, .health__aside { position: static; }
  .parents__grid, .ach__photos { grid-template-columns: 1fr; }
  .about__photo img, .health__photo img, .ach__photos img { aspect-ratio: 4 / 3; }

  /* galeria — 2 kolumny */
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .g-item__cap { font-size: .78rem; padding: .6rem .65rem; }
  /* na dotyku podpis i przyciemnienie zawsze widoczne */
  .g-item::after { opacity: .9; }
  .g-item__cap { opacity: 1; transform: none; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.7rem; }

  /* hodowla + stopka */
  .kennel__grid { grid-template-columns: 1fr; }
  .kennel__photo img { aspect-ratio: 4 / 3; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 1.2rem; }
  .footer__legal { align-items: center; gap: .4rem; }
}

@media (min-width: 600px) and (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 460px) {
  .hero__title { font-size: clamp(3.6rem, 18vw, 5rem); }
  .btn { width: 100%; }
  .hero__actions { width: 100%; }
}

/* ---------- Dostępność: mniej ruchu ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__kicker, .hero__title, .hero__lead,
  .hero__meta, .hero__actions, .hero__scroll { opacity: 1; }

  /* bez pokazu slajdów — tylko pierwsze zdjęcie, statycznie */
  .hero__slide { animation: none; opacity: 0; transform: scale(var(--s)); }
  .hero__slide:nth-child(1) { opacity: 1; }

  /* pokaż treść bez animacji wjazdu */
  .reveal { opacity: 1; transform: none; transition: none; }
}
