/* ==========================================================================
   Swiss Shepherd – alpský minimalizmus
   ========================================================================== */

:root {
	--ink: #14181D;
	--ink-2: #1D232A;
	--snow: #F8F9FA;
	--cream: #F2EFE9;
	--cream-2: #E9E4DA;
	--red: #D52B1E;
	--red-dark: #B02318;
	--brass: #A88A55;
	--brass-light: #CDB27F;
	--muted: #5B6168;
	--muted-light: #AEB4BB;
	--line: rgba(20, 24, 29, .12);
	--line-light: rgba(248, 249, 250, .16);
	--male: #4C6A8A;
	--ok: #2F7D4A;
	--warn: #A8681A;

	--serif: "Fraunces", "Iowan Old Style", Georgia, serif;
	--sans: "Manrope", "Segoe UI", system-ui, sans-serif;

	--gutter: clamp(16px, 4vw, 56px);
	--maxw: 1320px;
	--radius: 4px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--header-h: 64px;
}

/* Základ ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 350; line-height: 1.08; letter-spacing: -.015em; font-variation-settings: "opsz" 96; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--red); color: var(--snow); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 12px 18px; background: var(--snow); color: var(--ink); font-weight: 700; border-radius: var(--radius); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.site-main:focus { outline: 0; }

.icon { flex: none; width: 1.15em; height: 1.15em; }

/* Typografia -------------------------------------------------------------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 600 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.kicker--light { color: var(--brass-light); }
.kicker--brass { color: var(--brass-light); }

.section-title { font-size: clamp(2rem, 3.6vw, 3.35rem); }
.section-lead { margin-top: 20px; max-width: 60ch; color: var(--muted); font-size: 1.08rem; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

/* Tlačidlá ---------------------------------------------------------------- */
.btn { --bg: var(--ink); --fg: var(--snow); --bd: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid var(--bd); border-radius: 999px; background: var(--bg); color: var(--fg); font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease), box-shadow .3s var(--ease); will-change: transform; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(20, 24, 29, .45); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--red { --bg: var(--red); --bd: var(--red); }
.btn--red:hover { --bg: var(--red-dark); --bd: var(--red-dark); }
.btn--dark:hover { --bg: var(--ink-2); }
.btn--ghost { --bg: transparent; --fg: var(--snow); --bd: rgba(248, 249, 250, .5); }
.btn--ghost:hover { --bg: var(--snow); --fg: var(--ink); --bd: var(--snow); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: var(--snow); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 15px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Hlavička ---------------------------------------------------------------- */
.site-header { position: fixed; z-index: 100; inset: 16px 0 auto; padding-inline: var(--gutter); pointer-events: none; transition: transform .5s var(--ease); }
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.nav-shell { pointer-events: auto; display: flex; align-items: center; gap: 24px; max-width: var(--maxw); height: var(--header-h); margin-inline: auto; padding: 0 8px 0 16px; border: 1px solid rgba(248, 249, 250, .14); border-radius: 999px; background: rgba(20, 24, 29, .38); color: var(--snow); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.site-header.is-scrolled .nav-shell { background: rgba(20, 24, 29, .86); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6); }

.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: inherit; }
.brand .mark, .brand__logo { width: 32px; height: 32px; border-radius: 3px; transition: transform .5s var(--ease); }
.brand:hover .mark { transform: rotate(90deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 500 20px/1 var(--serif); letter-spacing: .01em; }
.brand__sub { margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

.nav { margin-left: auto; }
.nav .nav__list { display: flex; gap: 4px; list-style: none; }
.nav .nav__list a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 14px; font-weight: 500; text-decoration: none; opacity: .86; transition: opacity .3s; }
.nav .nav__list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 1px; background: var(--brass-light); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav .nav__list a:hover, .nav .current-menu-item > a { opacity: 1; }
.nav .nav__list a:hover::after, .nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; margin-left: auto; border: 0; border-radius: 50%; background: rgba(248, 249, 250, .1); color: var(--snow); cursor: pointer; }
.burger__lines { position: relative; width: 20px; height: 10px; }
.burger__lines span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger__lines span:first-child { top: 0; }
.burger__lines span:last-child { top: 8.5px; }
.burger[aria-expanded="true"] .burger__lines span:first-child { top: 4.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:last-child { top: 4.25px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; z-index: 90; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 120px var(--gutter) 48px; background: var(--ink); color: var(--snow); }
.mobile-menu[hidden] { display: none; }
.mobile-menu .nav__list { list-style: none; display: grid; gap: 4px; }
.mobile-menu .nav__list a { display: block; padding: 8px 0; font: 350 clamp(2rem, 9vw, 3rem)/1.15 var(--serif); text-decoration: none; }
.mobile-menu .btn { align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--ink); color: var(--snow); isolation: isolate; }
.hero__bg { position: absolute; z-index: -2; inset: -6% 0 -14%; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__shade { position: absolute; z-index: -1; inset: 0; background:
	linear-gradient(90deg, rgba(20, 24, 29, .78) 0%, rgba(20, 24, 29, .38) 48%, rgba(20, 24, 29, .1) 100%),
	linear-gradient(180deg, rgba(20, 24, 29, .5) 0%, rgba(20, 24, 29, 0) 26%, rgba(20, 24, 29, 0) 60%, rgba(20, 24, 29, .82) 100%); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; gap: clamp(32px, 6vw, 96px); height: 100%; padding-top: 130px; padding-bottom: 132px; }
.hero__title { max-width: 17ch; font-size: clamp(2.5rem, 4.6vw, 4.75rem); font-weight: 320; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.hero__text { max-width: 52ch; margin-top: 28px; color: rgba(248, 249, 250, .82); font-size: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__portrait { position: relative; align-self: center; justify-self: end; width: min(100%, 400px); aspect-ratio: 4 / 5.4; margin-top: 40px; }
.hero__portrait::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(205, 178, 127, .65); border-radius: 2px; pointer-events: none; }
.hero__portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 2px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(248, 249, 250, .72); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li + li::before { content: ""; width: 4px; height: 4px; margin-right: 20px; border-radius: 50%; background: var(--red); }
.hero__facts strong { font: 400 20px/1 var(--serif); color: var(--snow); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--snow); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.scroll-cue__line { position: relative; width: 1px; height: 44px; overflow: hidden; background: rgba(248, 249, 250, .25); }
.scroll-cue__line::after { content: ""; position: absolute; inset: 0; background: var(--snow); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }

/* Sekcie ------------------------------------------------------------------ */
.section { padding-block: clamp(84px, 11vw, 160px); }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section--cream { background: var(--cream); }
.section--snow { background: var(--snow); }
.section--ink { background: var(--ink); color: var(--snow); }

/* Plemená */
.breeds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.breed { min-width: 0; }
.breed__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; transition: transform .4s var(--ease); }
.breed__link:hover { transform: translateY(-2px); }
.breed__media { overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--radius); background: var(--cream-2); }
.breed__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.breed__link:hover .breed__media img { transform: scale(1.03); }
.breed__body { display: flex; flex-direction: column; flex: 1; padding-top: 22px; }
.breed__num { display: flex; justify-content: space-between; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font: 400 15px/1 var(--serif); color: var(--red); }
.breed__num span { font: 600 11px/1.4 var(--sans); letter-spacing: .14em; color: var(--muted); }
.breed__name { font-size: clamp(1.4rem, 1.8vw, 1.7rem); }
.breed__native { margin: 6px 0 14px; font: italic 300 15px/1.4 var(--serif); color: var(--muted); }
.breed__text { color: var(--muted); font-size: 15px; }
.breed__facts { margin: 18px 0 22px; font-size: 14px; }
.breed__facts div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.breed__facts dt { color: var(--muted); }
.breed__facts dd { margin: 0; }
.breed .card__more { margin-top: auto; }

/* Pôvod */
.heritage__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(40px, 7vw, 120px); }
.heritage__title { font-size: clamp(1.9rem, 3.1vw, 3rem); font-weight: 300; line-height: 1.15; text-wrap: pretty; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 5vw, 72px); padding-top: 36px; border-top: 1px solid var(--line-light); }
.pillar .icon { width: 28px; height: 28px; margin-bottom: 18px; color: var(--brass-light); }
.pillar h3 { margin-bottom: 10px; font-size: 1.35rem; }
.pillar p { color: var(--muted-light); font-size: 15px; }
.heritage__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); }
.heritage__media img { width: 100%; height: 100%; object-fit: cover; }

/* Karty */
.cards { display: grid; gap: clamp(16px, 2vw, 28px); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { min-width: 0; }
.card__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--snow); color: inherit; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.section--snow .card__link { background: #fff; }
.card__link:hover { transform: translateY(-2px); border-color: transparent; box-shadow: 0 24px 50px -28px rgba(20, 24, 29, .35); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--cream-2); }
.card__media--wide { aspect-ratio: 16 / 10.5; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card__link:hover .card__media img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card__kicker { margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.card__title { font-size: 1.45rem; line-height: 1.15; }
.card__meta { margin-top: 10px; color: var(--muted); font-size: 15px; }
.card__parents { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.card__x { font-family: var(--serif); color: var(--red); }
.card__facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; list-style: none; }
.card__facts li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.card__award { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--brass); }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card__more .icon { transition: transform .35s var(--ease); }
.card__link:hover .card__more .icon, .breed__link:hover .card__more .icon, .parent:hover .card__more .icon { transform: translateX(5px); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--snow); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.card__media .badge { position: absolute; top: 14px; left: 14px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); }
.badge--chovny::before, .badge--volne::before { background: var(--ok); }
.badge--v-priprave::before, .badge--rezervovane::before { background: var(--warn); }
.badge--veteran::before, .badge--novy-domov::before { background: var(--brass); }
.badge--line { background: transparent; border: 1px solid var(--line); }
.badge--line::before { display: none; }

.empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; border: 1px dashed rgba(20, 24, 29, .25); border-radius: var(--radius); font-size: 1.1rem; }
.empty.wrap { justify-content: flex-start; border: 0; }

/* Kontakt */
.contact { position: relative; display: flex; align-items: center; min-height: 86vh; padding-block: 140px; overflow: hidden; color: var(--snow); background: var(--ink); isolation: isolate; text-align: center; }
.contact__bg { position: absolute; z-index: -2; inset: -12% 0; will-change: transform; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 29, .72), rgba(20, 24, 29, .58) 50%, rgba(20, 24, 29, .86)); }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact__title { max-width: 14ch; font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.contact__text { max-width: 52ch; margin-top: 28px; color: rgba(248, 249, 250, .82); font-size: 1.1rem; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* Hlavička podstránky ----------------------------------------------------- */
.page-head { position: relative; display: flex; align-items: flex-end; min-height: 62vh; padding: 168px 0 72px; overflow: hidden; color: var(--snow); background: var(--ink); isolation: isolate; }
.page-head--article { min-height: 70vh; }
.page-head__bg { position: absolute; z-index: -2; inset: 0; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 29, .6), rgba(20, 24, 29, .45) 45%, rgba(20, 24, 29, .9)); }
.page-head__title { max-width: 18ch; font-size: clamp(2.6rem, 6vw, 5.5rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.02; }
.page-head__text { max-width: 58ch; margin-top: 24px; color: rgba(248, 249, 250, .82); font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(248, 249, 250, .3); border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .3s, color .3s, border-color .3s, transform .2s; }
.chip:hover { border-color: var(--snow); transform: translateY(-2px); }
.chip.is-active { background: var(--snow); border-color: var(--snow); color: var(--ink); }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; list-style: none; color: rgba(248, 249, 250, .85); }
.meta-row li { display: inline-flex; align-items: center; gap: 8px; }
.meta-row .icon { color: var(--brass-light); }

/* Detail psa / vrhu ------------------------------------------------------- */
.dog-hero { padding: 140px 0 clamp(64px, 8vw, 112px); background: var(--cream); }
.dog-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 6vw, 96px); }
.dog-hero__media { position: sticky; top: 110px; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--cream-2); }
.dog-hero__media a, .dog-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dog-hero__media img { transition: transform 1s var(--ease); }
.dog-hero__media a:hover img { transform: scale(1.03); }
.dog-hero__copy { padding-top: 12px; }
.dog-hero__title { font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.02; }
.dog-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.dog-hero__lead { margin-top: 24px; color: var(--muted); font-size: 1.1rem; }
.dog-hero .btn { margin-top: 32px; }

.facts { margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.facts--large .facts__row { font-size: 1.05rem; padding: 18px 0; }

.health { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.health__item { position: relative; display: grid; gap: 6px; padding: 24px 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.health__item::after { content: ""; position: absolute; top: 24px; right: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--muted-light); }
.health__item--ok::after { background: var(--ok); box-shadow: 0 0 0 5px rgba(47, 125, 74, .14); }
.health__item--warn::after { background: var(--warn); box-shadow: 0 0 0 5px rgba(168, 104, 26, .14); }
.health__item--bad::after { background: var(--red); box-shadow: 0 0 0 5px rgba(213, 43, 30, .14); }
.health__abbr { font: 400 2rem/1 var(--serif); }
.health__name { color: var(--muted); font-size: 14px; }
.health__value { margin-top: 8px; font-size: 1.05rem; font-weight: 600; }
.health__item--none .health__value { color: var(--muted); font-weight: 500; }
.health__more { display: grid; gap: 16px; margin-top: 28px; padding: 28px; border-radius: var(--radius); background: var(--cream); }
.health__more h3 { margin-bottom: 10px; font-size: 1.25rem; }
.health__more ul { padding-left: 1.2em; }

/* Rodokmeň */
.pedigree-scroll { overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.pedigree { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 10px; margin: -10px; table-layout: fixed; }
.pedigree th { padding: 0 4px 6px; font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); text-align: left; }
.pedigree__cell { position: relative; padding: 16px 18px; border-left: 3px solid var(--male); border-radius: var(--radius); background: var(--snow); vertical-align: middle; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease); }
.pedigree__cell--female { border-left-color: var(--red); }
.pedigree__role { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pedigree__name { display: block; font: 400 1.08rem/1.25 var(--serif); }
.pedigree__info { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.pedigree td[rowspan="4"] .pedigree__name { font-size: 1.35rem; }
.pedigree.is-tracing .pedigree__cell { opacity: .38; }
.pedigree.is-tracing .pedigree__cell.is-line { opacity: 1; }
.pedigree__cell.is-line { background: var(--ink); color: var(--snow); }
.pedigree__cell.is-line .pedigree__role, .pedigree__cell.is-line .pedigree__info { color: var(--muted-light); }
.pedigree__cell.is-focus { box-shadow: 0 0 0 2px var(--brass); }

/* Text, tituly */
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose { max-width: 68ch; }
.prose--narrow { max-width: 70ch; }
.prose .section-title { margin-bottom: 28px; }
.prose p, .prose li { font-size: 1.07rem; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.5rem; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding-left: 24px; border-left: 2px solid var(--red); font: italic 300 1.4rem/1.4 var(--serif); }
.prose__lead { margin-bottom: 32px; overflow: hidden; border-radius: var(--radius); }
.titles { position: sticky; top: 110px; padding: 32px; border-radius: var(--radius); background: var(--ink); color: var(--snow); }
.titles h2, .titles h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 1.5rem; }
.titles .icon { color: var(--brass-light); }
.titles ol { list-style: none; counter-reset: t; }
.titles li { counter-increment: t; display: grid; grid-template-columns: 32px 1fr; padding: 12px 0; border-top: 1px solid var(--line-light); font-size: 15px; }
.titles li::before { content: counter(t, decimal-leading-zero); font: 400 13px/1.6 var(--serif); color: var(--brass-light); }
.awards li { grid-template-columns: 32px 1fr auto; gap: 8px; }
.awards__result { color: var(--brass-light); font-weight: 600; text-align: right; }

/* Galéria */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery-grid__item { position: relative; display: block; overflow: hidden; aspect-ratio: 1; border-radius: var(--radius); background: var(--cream-2); cursor: zoom-in; }
.gallery-grid__item--lead { grid-column: span 2; grid-row: span 2; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.gallery-grid__item:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 14, 17, .96); color: var(--snow); }
.lightbox::backdrop { background: rgba(12, 14, 17, .6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 72px 88px; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.lightbox__count { position: absolute; top: 28px; left: 32px; margin: 0; font-size: 13px; letter-spacing: .14em; color: var(--muted-light); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(248, 249, 250, .25); border-radius: 50%; background: rgba(20, 24, 29, .5); color: var(--snow); cursor: pointer; transition: background-color .3s, transform .2s; }
.lightbox__btn:hover { background: var(--snow); color: var(--ink); }
.lightbox__btn:active { transform: scale(.94); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 18px; top: 50%; margin-top: -26px; }

/* Rodičia, šteniatka */
.parents { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 40px); }
.parents__x { font: 300 clamp(2.5rem, 5vw, 4.5rem)/1 var(--serif); color: var(--red); }
.parent { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--snow); text-decoration: none; color: inherit; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.parent:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -28px rgba(20, 24, 29, .35); }
.parent__media { overflow: hidden; aspect-ratio: 4 / 5; }
.parent__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.parent:hover .parent__media img { transform: scale(1.03); }
.parent__body { display: flex; flex-direction: column; padding: 24px; }
.puppies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.puppy { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "sex name badge" "sex note badge"; align-items: center; column-gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.puppy__sex { grid-area: sex; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(76, 106, 138, .12); color: var(--male); font-size: 20px; }
.puppy__sex--f { background: rgba(213, 43, 30, .1); color: var(--red); }
.puppy__name { grid-area: name; font: 400 1.25rem/1.2 var(--serif); }
.puppy__name small { margin-left: 6px; font: 500 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.puppy__note { grid-area: note; font-size: 13.5px; color: var(--muted); }
.puppy .badge { grid-area: badge; background: var(--cream); }

.cta-band { padding-block: 64px; background: var(--ink); color: var(--snow); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { max-width: 22ch; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; }

.breed-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
.breed-intro__media { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.breed-intro__media img { width: 100%; height: 100%; object-fit: cover; }

/* Stránkovanie */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: var(--snow); }

.credits { display: grid; gap: 0; list-style: none; }
.credits li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.credits span { color: var(--muted); }

/* Pätička ----------------------------------------------------------------- */
.site-footer { padding: clamp(64px, 8vw, 112px) 0 32px; background: var(--ink); color: var(--muted-light); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.brand--footer { color: var(--snow); }
.footer__lead { max-width: 32ch; margin-top: 20px; }
.footer__title { margin-bottom: 16px; font: 600 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); }
.footer__list { list-style: none; }
.footer__list li { padding: 2px 0; }
.footer__list a { display: inline-block; padding: 9px 0; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 85% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.footer__list a:hover { color: var(--snow); background-size: 100% 1px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 13px; }
.footer__legal p { margin: 0; }
.footer__legal a { display: inline-block; padding: 12px 0; }

/* Animácie: počiatočný stav len so skriptom (js-anim) --------------------- */
.js-anim [data-reveal],
.js-anim [data-hero-item],
.js-anim .dog-hero__media,
.js-anim .dog-hero__copy > *,
.js-anim .page-head__inner > * { opacity: 0; }
/* Pri GSAP mikrointerakciách riadi zoom fotografie skript, nie CSS. */
.gsap-hover .card__link:hover .card__media img { transform: none; }
.gsap-hover .card__media img { transition: opacity .4s; }
.nav { position: relative; }
.nav__glow { position: absolute; top: 50%; left: 0; height: 36px; margin-top: -18px; border-radius: 999px; background: rgba(248, 249, 250, .1); pointer-events: none; opacity: 0; }
.js-anim [data-hero-portrait] { clip-path: inset(100% 0 0 0); }

/* Responzivita ------------------------------------------------------------ */
@media (max-width: 1199px) {
	.breeds { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
	.cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nav .nav__list a { padding: 0 10px; }
	.nav .nav__list a::after { left: 10px; right: 10px; }
}

@media (max-width: 1023px) {
	.nav, .nav-cta { display: none; }
	.burger { display: inline-flex; }
	.hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); }
	.cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.heritage__grid, .split, .dog-hero__grid, .breed-intro { grid-template-columns: 1fr; }
	.heritage__media { aspect-ratio: 16 / 10; }
	.dog-hero__media, .titles { position: static; }
	.dog-hero__media { aspect-ratio: 4 / 3.4; }
	.health { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.parents { grid-template-columns: 1fr; }
	.parents__x { justify-self: center; }
}

@media (max-width: 767px) {
	body { font-size: 16px; }
	:root { --header-h: 60px; }
	.site-header { inset: 10px 0 auto; padding-inline: 10px; }
	.hero { min-height: 600px; }
	.hero__grid { grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 150px; }
	.hero__portrait { display: none; }
	.hero__bg img { object-position: 50% 25%; }
	.hero__shade { background: linear-gradient(180deg, rgba(20, 24, 29, .55) 0%, rgba(20, 24, 29, .1) 30%, rgba(20, 24, 29, .55) 58%, rgba(20, 24, 29, .92) 100%); }
	.hero__text { font-size: 1rem; margin-top: 20px; }
	.hero__actions { margin-top: 28px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__foot { bottom: 20px; }
	.hero__facts { font-size: 11px; gap: 6px 14px; }
	.hero__facts li + li::before { margin-right: 10px; }
	.hero__facts li:nth-child(3) { display: none; }
	.scroll-cue span:first-child { display: none; }
	.breeds, .cards--3, .cards--4, .pillars, .health, .puppies { grid-template-columns: 1fr; }
	.breed__media { aspect-ratio: 4 / 3.6; }
	.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.parent { grid-template-columns: 1fr; }
	.parent__media { aspect-ratio: 16 / 11; }
	.empty { padding: 28px 22px; }
	.empty .btn, .btn--block-sm, .contact__actions .btn, .cta-band .btn { width: 100%; }
	.page-head { min-height: 52vh; padding: 132px 0 48px; }
	.dog-hero { padding-top: 104px; }
	.footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.lightbox__stage { padding: 72px 12px 96px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 22px; margin: 0; }
	.lightbox__prev { left: calc(50% - 64px); }
	.lightbox__next { right: calc(50% - 64px); }
	.puppy { grid-template-areas: "sex name" "sex note" "sex badge"; grid-template-columns: auto 1fr; row-gap: 6px; }
	.puppy .badge { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
