/* Wilcza Skałka – kennel site
   Layout: photo-led pages (full-bleed hero and page banners), white space, quiet type; the dogs' photos carry the colour.
   Palette: paper white, warm stone greys, soft charcoal ink, one restrained honey-tan accent. */
:root {
  --bg: #ffffff;          /* paper */
  --soft: #f9f8f5;        /* warm stone band */
  --sand: #fcfbf8;
  --surface: #f3f1ec;     /* placeholders, panels */
  --line: #ece9e3;
  --fg: #3d413d;          /* soft charcoal ink */
  --muted: #8b8e89;
  --accent: #b8925f;      /* honey tan */
  --sage: #8a978c;        /* quiet numerals */
  --btn: #ece2d3; --btn-ink: #3d413d; --btn-hover: #b8925f;
  --on-sage: #ffffff;
  --ok: #3f7d55;  --ok-bg: #e9f3ec;
  --warn: #93641c; --warn-bg: #f7eedf;
  --off: #80837e; --off-bg: #f1f0ec;

  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --cjk: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;

  --step-1: .875rem; --step0: 1.0625rem; --step1: 1.25rem; --step2: 1.6rem; --step3: 2.1rem;
  --step4: clamp(2.4rem, 5.2vw, 3.9rem); --step5: clamp(3.2rem, 9vw, 6.8rem);
  --wrap: 76rem; --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
/* Strona celowo zawsze jasna – niezależnie od trybu ciemnego w systemie. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 var(--step0)/1.65 var(--body); -webkit-font-smoothing: antialiased; }
:lang(zh) body, :lang(zh) { font-family: var(--body), var(--cjk); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); text-underline-offset: .22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { font-family: var(--display), "Songti SC", "Noto Serif SC", serif; letter-spacing: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h-sm { font-size: var(--step2); margin-bottom: 1rem; }

/* Bands = sections of a page */
.band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band-soft { background: var(--soft); }
.band-sand { background: var(--sand); }
.section-head { display: grid; gap: .8rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 46rem; }
.section-head h2 { font-size: var(--step4); }
.section-head p { color: var(--muted); font-size: var(--step1); line-height: 1.55; }
.section-head.row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; max-width: none; }

/* Page intro (top of every subpage) */
.page-intro { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); background:
  radial-gradient(60rem 22rem at 100% 0%, color-mix(in srgb, var(--sage) 10%, transparent), transparent 70%), var(--bg); }
.page-intro h1 { font-size: var(--step5); line-height: .95; letter-spacing: -.02em; }
.page-intro .lead { margin-top: 1.3rem; font-size: var(--step1); color: var(--muted); max-width: 40rem; line-height: 1.6; }

.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.35rem; border-radius: 999px; border: 1px solid var(--sage); background: var(--sage); color: var(--on-sage); font: 600 var(--step-1)/1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-sage); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.link-more { font-weight: 600; font-size: var(--step-1); color: var(--sage); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15rem; }
.link-more:hover { color: var(--accent); }

/* ── Header ───────────────────────────── */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.2rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-size: 1.4rem; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; flex: none; color: var(--sage); }
.nav { display: flex; gap: 1.3rem; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: var(--step-1); font-weight: 500; color: var(--muted); padding-block: .3rem; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }
.lang { display: flex; gap: .1rem; border: 1px solid var(--line); border-radius: 999px; padding: .2rem; }
.lang button { border: 0; background: none; color: var(--muted); font: 600 .76rem/1 var(--body); padding: .42rem .55rem; border-radius: 999px; cursor: pointer; letter-spacing: .03em; }
.lang button[aria-pressed="true"] { background: var(--soft); color: var(--fg); }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: none; color: var(--fg); border-radius: 999px; padding: .5rem .9rem; font: 600 var(--step-1)/1 var(--body); cursor: pointer; }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; font-size: var(--step0); border-bottom: 0; border-top: 1px solid var(--line); }
  .nav a[aria-current="page"] { color: var(--accent); }
  .site-header .lang { order: 3; }
}
@media (max-width: 520px) { .brand span { display: none; } .site-header .wrap { gap: .6rem; } }

/* ── Home ─────────────────────────────── */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.hero h1 { font-size: var(--step5); line-height: .92; letter-spacing: -.025em; }
.hero .tagline { font-size: var(--step2); font-family: var(--display); color: var(--muted); margin-top: 1.1rem; max-width: 22ch; line-height: 1.18; }
.hero .reg { margin-top: 1.5rem; font-size: var(--step-1); color: var(--muted); display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.hero .reg strong { color: var(--fg); font-variant-numeric: tabular-nums; font-size: var(--step0); }
.hero .ctas { margin-top: 2rem; }
.hero-figure { position: relative; margin: 0; }
.rock { clip-path: polygon(0 9%, 14% 3%, 26% 7%, 41% 0, 55% 5%, 68% 2%, 83% 8%, 100% 4%, 100% 100%, 0 100%); }
.hero-figure .media { aspect-ratio: 4 / 5; }
.hero-figure figcaption { margin-top: .7rem; font-size: var(--step-1); color: var(--muted); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero-figure .media { aspect-ratio: 5 / 4; } }

.intro-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.lead-xl { font-family: var(--display); font-size: var(--step3); line-height: 1.22; }
.intro-side { display: grid; gap: 1.5rem; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.highlights li { padding-block: .9rem; border-top: 1px solid var(--line); display: grid; gap: .15rem; }
.highlights .r { font-weight: 600; }
.highlights .d { font-size: var(--step-1); color: var(--muted); }
@media (max-width: 820px) { .intro-split { grid-template-columns: 1fr; } }

.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); }
.door { display: grid; gap: .6rem; text-decoration: none; position: relative; align-content: start; }
.door .media { aspect-ratio: 4 / 3; border-radius: 3px; }
.door-n { font-variant-numeric: tabular-nums; font-size: var(--step-1); color: var(--accent); font-weight: 600; margin-top: .4rem; }
.door h3 { font-size: var(--step3); }
.door p { color: var(--muted); }
.door-go { font-weight: 600; font-size: var(--step-1); color: var(--sage); }
.door:hover h3, .door:hover .door-go { color: var(--accent); }
.door .media img, .door .media .ph { transition: transform .7s ease; }
.door:hover .media img, .door:hover .media .ph { transform: scale(1.04); }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } }

.cta-band { background: var(--soft); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 38rem; display: grid; gap: .7rem; }
.cta-inner h2 { font-size: var(--step3); }
.cta-inner p { color: var(--muted); }

/* Media + placeholder */
.media { width: 100%; max-width: 100%; overflow: hidden; background: var(--surface); position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: .3rem; color: var(--muted);
  background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--fg) 3%, transparent) 14px 15px),
    linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--accent) 8%, var(--surface))); }
.ph b { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 9vw, 5.5rem); line-height: 1; color: var(--sage); opacity: .7; }
.ph small { font-size: var(--step-1); }

/* Badges / pills */
.pill { display: inline-flex; align-items: center; gap: .35rem; font: 600 .76rem/1 var(--body); padding: .38rem .6rem; border-radius: 999px; background: var(--off-bg); color: var(--off); white-space: nowrap; }
.pill::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.accent { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.example { position: absolute; top: .6rem; left: .6rem; z-index: 4; font: 600 .7rem/1 var(--body); padding: .35rem .55rem; border-radius: 4px; background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--muted); border: 1px solid var(--line); }
.titles { display: flex; flex-wrap: wrap; gap: .35rem; }
.titles span { font: 600 .75rem/1 var(--body); padding: .3rem .45rem; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }

/* ── Hodowla ──────────────────────────── */
.story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.story .media { aspect-ratio: 4 / 5; border-radius: 3px; }
.story h2 { font-size: var(--step4); }
.prose { display: grid; gap: 1rem; max-width: 62ch; margin-top: 1.4rem; }
.prose p { line-height: 1.75; }
.reg-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--step-1); }
.reg-note strong { color: var(--fg); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 2rem; margin: 0; }
.values div { display: grid; gap: .35rem; align-content: start; padding: 1.4rem; background: var(--bg); border-radius: 4px; }
.v-n { font-family: var(--display); font-size: var(--step3); color: var(--accent); line-height: 1; }
.values dt { font-weight: 700; margin-top: .4rem; }
.values dd { margin: 0; color: var(--muted); }
.breeds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.breed { display: grid; gap: 1rem; align-content: start; }
.breed h3 { font-size: var(--step3); }
.spec { margin: .4rem 0 0; display: grid; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding-block: .7rem; border-bottom: 1px solid var(--line); font-size: var(--step-1); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.tests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.test { background: var(--bg); border-radius: 4px; padding: 1.3rem; display: grid; gap: .4rem; align-content: start; }
.test b { font-family: var(--display); font-weight: 400; font-size: var(--step2); color: var(--sage); }
.test p { color: var(--muted); font-size: var(--step-1); line-height: 1.6; }
@media (max-width: 860px) { .story, .breeds { grid-template-columns: 1fr; } .tests { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tests { grid-template-columns: 1fr; } .spec div { grid-template-columns: 1fr; gap: .2rem; } }

/* ── Psy ──────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2.2rem; }
.filters button { border: 1px solid var(--line); background: none; color: var(--fg); border-radius: 999px; padding: .55rem .95rem; font: 600 var(--step-1)/1 var(--body); cursor: pointer; display: inline-flex; gap: .45rem; }
.filters button span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.filters button[aria-pressed="true"] { background: var(--soft); border-color: var(--sage); }
.dog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: clamp(1.5rem, 3vw, 2.25rem); }
.dog { display: grid; gap: .65rem; align-content: start; text-align: left; border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; position: relative; }
.dog .media { aspect-ratio: 4 / 5; border-radius: 3px; }
.dog .media img { transition: transform .6s ease; }
.dog:hover .media img { transform: scale(1.03); }
.dog .kind { font-size: var(--step-1); color: var(--muted); }
.dog h3 { font-size: var(--step3); }
.dog .reg { font-size: var(--step-1); color: var(--muted); }
.dog:hover h3 { color: var(--accent); }

dialog.sheet { width: min(64rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--fg); border-radius: 6px; }
dialog.sheet::backdrop { background: rgba(30, 40, 35, .45); backdrop-filter: blur(3px); }
.sheet-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.sheet-photo { position: relative; }
.sheet-photo .media { aspect-ratio: 4 / 5; }
.sheet-thumbs { display: flex; gap: .4rem; padding: .6rem; overflow-x: auto; }
.sheet-thumbs button { border: 0; padding: 0; width: 4rem; height: 4rem; flex: none; cursor: pointer; background: var(--surface); }
.sheet-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sheet-body { padding: clamp(1.25rem, 3vw, 2.5rem); display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
.sheet-close { position: absolute; top: .7rem; right: .7rem; z-index: 5; border: 1px solid var(--line); background: var(--bg); color: var(--fg); border-radius: 999px; padding: .5rem .85rem; font: 600 var(--step-1)/1 var(--body); cursor: pointer; }
.sheet h2 { font-size: var(--step4); }
.sheet .regname { font-size: var(--step1); color: var(--muted); margin-top: .4rem; }
.facts { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: var(--step-1); color: var(--muted); }
.block h4 { margin: 0 0 .65rem; font: 700 var(--step-1)/1.2 var(--body); color: var(--muted); }
.health { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .4rem; }
.health div { border: 1px solid var(--line); border-radius: 4px; padding: .5rem .6rem; display: grid; gap: .1rem; }
.health b { font-size: .8rem; }
.health span { font-variant-numeric: tabular-nums; font-size: var(--step-1); color: var(--ok); font-weight: 600; }
.pedigree { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 4px; font-size: var(--step-1); }
.pedigree .p { padding: .55rem .7rem; border-bottom: 1px solid var(--line); display: grid; align-content: center; gap: .1rem; min-height: 3.2rem; }
.pedigree .p small { color: var(--muted); font-size: .72rem; }
.pedigree .parent { grid-row: span 2; border-right: 1px solid var(--line); font-weight: 600; }
.pedigree .p.sire { border-left: 3px solid var(--sage); }
.pedigree .p.dam { border-left: 3px solid var(--accent); }
.pedigree .p:nth-last-child(-n+2), .pedigree .parent.dam { border-bottom: 0; }
.results-list { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; font-size: var(--step-1); }
.results-list li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .8rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.results-list time { font-variant-numeric: tabular-nums; color: var(--muted); }
@media (max-width: 760px) { .sheet-inner { grid-template-columns: 1fr; } .sheet-photo .media { aspect-ratio: 5 / 4; } }

/* ── Mioty ────────────────────────────── */
.litters { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.litter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--soft); border-radius: 6px; position: relative; }
.band-sand .litter, .band-soft .litter { background: var(--bg); }
.litter > .example { left: auto; right: .8rem; }
.litter .head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; grid-column: 1 / -1; }
.litter .head h3 { font-size: var(--step4); }
.litter .head .when { font-size: var(--step-1); color: var(--muted); display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.pairing { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .8rem; align-items: start; }
.pairing .x { font-family: var(--display); font-size: var(--step3); color: var(--accent); align-self: center; padding-top: 1rem; }
.parent-card { display: grid; gap: .45rem; min-width: 0; }
.parent-card .media { aspect-ratio: 1; border-radius: 3px; }
.parent-card .media .ph b { font-size: 3rem; }
.parent-card small { color: var(--muted); font-size: .75rem; }
.parent-card strong { font-size: var(--step-1); line-height: 1.3; font-weight: 600; }
.parent-card .t { font-size: .78rem; color: var(--muted); }
.litter .info { display: grid; gap: 1.2rem; align-content: start; min-width: 0; }
.litter .notes { line-height: 1.7; }
.litter-gallery { aspect-ratio: 16 / 10; border-radius: 3px; overflow: hidden; position: relative; }
.pups { width: 100%; border-collapse: collapse; font-size: var(--step-1); }
.pups th { text-align: left; font-weight: 600; color: var(--muted); padding: .4rem .5rem .4rem 0; border-bottom: 1px solid var(--line); }
.pups td { padding: .55rem .5rem .55rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table-scroll { overflow-x: auto; }
.reserve { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.reserve h2 { font-size: var(--step3); margin-bottom: .6rem; }
.mini-steps { margin: 0; padding: 0; list-style: none; counter-reset: ms; display: grid; gap: .5rem; }
.mini-steps li { counter-increment: ms; display: flex; gap: .7rem; align-items: baseline; }
.mini-steps li::before { content: counter(ms); font-family: var(--display); color: var(--accent); font-size: var(--step1); min-width: 1rem; }
.mini-steps b { font-weight: 600; }
.archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 0 2rem; }
.archive div { border-top: 1px solid var(--line); padding: .9rem 0; display: grid; gap: .2rem; font-size: var(--step-1); }
.archive b { font-family: var(--display); font-weight: 400; font-size: var(--step1); }
@media (max-width: 860px) { .litter { grid-template-columns: 1fr; } .reserve { grid-template-columns: 1fr; } }
.empty { padding: 2rem; border: 1px dashed var(--line); border-radius: 4px; color: var(--muted); }

/* ── Osiągnięcia ──────────────────────── */
.stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 2.2rem; }
.stats div { padding: .2rem 2rem .2rem 0; display: grid; }
.stats div + div { border-left: 1px solid var(--line); padding-left: 2rem; }
.stats b { font-family: var(--display); font-weight: 400; font-size: var(--step4); line-height: 1; font-variant-numeric: tabular-nums; color: var(--sage); }
.stats small { color: var(--muted); }
.ach-year { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.25rem; border-top: 1px solid var(--line); }
.ach-year > h3 { font-size: var(--step3); font-variant-numeric: tabular-nums; color: var(--sage); }
.ach-table { width: 100%; border-collapse: collapse; font-size: var(--step-1); table-layout: fixed; }
.ach-table th:nth-child(1) { width: 4.5rem; } .ach-table th:nth-child(2) { width: 22%; } .ach-table th:nth-child(4) { width: 30%; }
.ach-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 0 .8rem .5rem 0; }
.ach-table td { padding: .7rem .8rem .7rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.ach-table td:first-child { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.ach-table .dogname { font-weight: 700; }
.ach-table .res { font-weight: 600; }
.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin: 0; }
.glossary div { background: var(--bg); border-radius: 4px; padding: 1.1rem 1.2rem; display: grid; gap: .3rem; }
.glossary dt { font-weight: 700; color: var(--sage); }
.glossary dd { margin: 0; color: var(--muted); font-size: var(--step-1); }
@media (max-width: 680px) {
  .ach-year { grid-template-columns: 1fr; gap: .5rem; }
  .ach-table { table-layout: auto; }
  .ach-table thead { display: none; }
  .ach-table tr { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; border-top: 1px solid var(--line); padding: .7rem 0; }
  .ach-table td { border: 0; padding: 0; }
  .ach-table td:nth-child(3), .ach-table td:nth-child(4) { grid-column: 1 / -1; }
  .stats div { padding-right: 1.2rem; } .stats div + div { padding-left: 1.2rem; }
}

/* ── Szczenięta ───────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; counter-reset: step; padding: 0; margin: 0; }
.steps li { list-style: none; display: grid; gap: .5rem; align-content: start; padding-top: 1rem; border-top: 2px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--display); font-size: var(--step4); line-height: 1; color: var(--accent); }
.steps b { font-size: var(--step1); }
.steps p { color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.3rem; border-top: 1px solid var(--line); }
.tl-w { font-family: var(--display); font-size: var(--step3); color: var(--sage); line-height: 1; font-variant-numeric: tabular-nums; }
.tl-w small { font-family: var(--body); font-size: var(--step-1); color: var(--muted); }
.timeline b { font-size: var(--step1); }
.timeline p { color: var(--muted); max-width: 56ch; margin-top: .3rem; }
.package { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 2rem; }
.package h2 { font-size: var(--step3); }
.package ul, .check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem 1.5rem; }
.package ul { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.package li, .check-list li { padding-left: 1.5rem; position: relative; }
.package li::before, .check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .65rem; height: .35rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.grads { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 1.25rem; }
.grads figure { margin: 0; display: grid; gap: .5rem; }
.grads .media { aspect-ratio: 1; border-radius: 3px; }
.grads figcaption { font-size: var(--step-1); }
.grads blockquote { margin: .3rem 0 0; color: var(--muted); font-style: italic; }
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; font-size: var(--step1); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .9rem; font-family: var(--display); font-size: 1.8rem; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--muted); max-width: 62ch; line-height: 1.7; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .package { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .timeline li { grid-template-columns: 1fr; gap: .5rem; } }

/* ── Hotel ────────────────────────────── */
.hotel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hotel .media { aspect-ratio: 4 / 3; border-radius: 3px; }
.capacity { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 2rem; border-top: 1px solid var(--line); }
.capacity div { padding: .9rem .6rem .9rem 0; display: grid; gap: .1rem; }
.capacity div + div { border-left: 1px solid var(--line); padding-left: .8rem; }
.capacity b { font-family: var(--display); font-weight: 400; font-size: var(--step4); line-height: 1; font-variant-numeric: tabular-nums; color: var(--sage); }
.capacity small { color: var(--muted); font-size: var(--step-1); }
.feature-list { display: grid; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.feature-list li { padding-left: 1.4rem; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: .7rem; height: 2px; background: var(--accent); }
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .hotel, .two-lists { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .capacity { grid-template-columns: repeat(2, minmax(0, 1fr)); } .capacity div:nth-child(3) { border-left: 0; padding-left: 0; } .capacity div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ── Kontakt ──────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); }
.contact dl { margin: 0; display: grid; gap: 1.3rem; }
.contact dt { font-size: var(--step-1); color: var(--muted); }
.contact dd { margin: .15rem 0 0; font-size: var(--step1); display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.contact dd.big { font-family: var(--display); font-size: var(--step3); }
.copy-btn { border: 1px solid var(--line); background: none; color: var(--muted); border-radius: 999px; padding: .3rem .65rem; font: 600 .75rem/1 var(--body); cursor: pointer; }
.social { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.directions { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
form.contact-form { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--soft); border-radius: 6px; align-content: start; }
.field { display: grid; gap: .35rem; }
.field label { font-size: var(--step-1); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: .75rem .8rem; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sage); outline-offset: 0; border-color: transparent; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-msg { font-size: var(--step-1); font-weight: 600; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--warn); }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ── Footer ───────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-size: var(--step-1); background: var(--soft); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 2rem; }
.foot-brand { display: grid; gap: .3rem; align-content: start; }
.foot-brand .big { font-family: var(--display); font-size: var(--step3); color: var(--fg); }
.foot-nav { display: grid; gap: .4rem; align-content: start; }
.foot-nav a { text-decoration: none; color: var(--muted); }
.foot-nav a:hover { color: var(--fg); }
.foot-contact { display: grid; gap: .4rem; align-content: start; }
.foot-phone { font-family: var(--display); font-size: var(--step2); text-decoration: none; }
.foot-legal { grid-column: 1 / -1; color: var(--muted); padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; gap: .5rem; flex-wrap: wrap; }
.foot-legal a { margin-left: auto; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ═════════════ MOTION & SLIDES ═════════════ */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 2px; z-index: 40; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); pointer-events: none; }
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -24px rgba(40,55,48,.35); }
.site-header .wrap { transition: min-height .3s ease; }
.site-header.scrolled .wrap { min-height: 3.5rem; }

/* Hero: one orchestrated entrance */
#top h1 .ch { display: inline-block; }
.motion #top h1 .ch { opacity: 0; transform: translateY(.45em) rotate(4deg); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 45ms + 120ms); }
.motion.loaded #top h1 .ch { opacity: 1; transform: none; }
.motion #top .tagline, .motion #top .reg, .motion #top .ctas { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.motion.loaded #top .tagline { opacity: 1; transform: none; transition-delay: .55s; }
.motion.loaded #top .reg { opacity: 1; transform: none; transition-delay: .7s; }
.motion.loaded #top .ctas { opacity: 1; transform: none; transition-delay: .85s; }
.motion .hero-figure .rock { clip-path: polygon(0 100%, 14% 100%, 26% 100%, 41% 100%, 55% 100%, 68% 100%, 83% 100%, 100% 100%, 100% 100%, 0 100%); transition: clip-path 1.4s cubic-bezier(.7,0,.2,1) .2s; }
.motion.loaded .hero-figure .rock { clip-path: polygon(0 9%, 14% 3%, 26% 7%, 41% 0, 55% 5%, 68% 2%, 83% 8%, 100% 4%, 100% 100%, 0 100%); }

/* Slider */
.slider { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: pan-y; outline: none; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease, visibility 0s linear 1.1s; visibility: hidden; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; z-index: 1; }
.slide img, .slide .ph { width: 100%; height: 100%; object-fit: cover; }
.slide.kb img, .slide.kb .ph { transform: scale(1.12) translate(var(--kx, 0), var(--ky, 0)); transition: transform 8s linear; }
.slide.kb.is-active img, .slide.kb.is-active .ph { transform: scale(1) translate(0, 0); }
.slide.kb:nth-child(2n) { --kx: -2%; --ky: 1%; } .slide.kb:nth-child(3n) { --kx: 2%; --ky: -1%; }
.ph-v1 .ph { background: repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in srgb, var(--fg) 4%, transparent) 14px 15px), linear-gradient(200deg, color-mix(in srgb, var(--moss) 18%, var(--surface)), var(--surface)); }
.ph-v2 .ph { background: repeating-linear-gradient(90deg, transparent 0 18px, color-mix(in srgb, var(--fg) 4%, transparent) 18px 19px), linear-gradient(160deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface)); }
.sl-btn { position: absolute; top: 50%; z-index: 3; width: 2.6rem; height: 2.6rem; margin-top: -1.3rem; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--bg) 82%, transparent); color: var(--fg); font: 400 1.6rem/1 var(--display); cursor: pointer; opacity: 0; transition: opacity .25s, transform .25s; }
.sl-btn.prev { left: .8rem; transform: translateX(-6px); } .sl-btn.next { right: .8rem; transform: translateX(6px); }
.slider:hover .sl-btn, .slider:focus-within .sl-btn { opacity: 1; transform: none; }
@media (hover: none) { .sl-btn { opacity: .9; transform: none; } }
.sl-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: .9rem; display: flex; justify-content: center; gap: .4rem; }
.sl-dots button { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.6); cursor: pointer; transition: width .35s ease, background-color .35s; }
.sl-dots button[aria-current] { width: 1.6rem; background: #fff; }
.sl-progress { position: absolute; z-index: 3; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; animation: slprog var(--auto, 5s) linear infinite; }
.slider.paused .sl-progress { animation-play-state: paused; }
@keyframes slprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sheet-photo .media { position: relative; }
.litter-gallery { aspect-ratio: 16 / 10; border-radius: 2px; overflow: hidden; position: relative; }

/* Parallax */
[data-parallax] > img, [data-parallax] > .ph, [data-parallax] .slides { transform: translateY(var(--py, 0)) scale(1.08); will-change: transform; }

/* Scroll reveals (only when motion allowed – class set by JS) */
.motion [data-reveal="up"] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--stagger, 0ms); }
.motion [data-reveal="up"].in { opacity: 1; transform: none; }
.motion [data-reveal="img"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1); transition-delay: var(--stagger, 0ms); }
.motion [data-reveal="img"] > img, .motion [data-reveal="img"] > .ph { transform: scale(1.25); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--stagger, 0ms); }
.motion [data-reveal="img"].in { clip-path: inset(0 0 0 0); }
.motion [data-reveal="img"].in > img, .motion [data-reveal="img"].in > .ph { transform: scale(1); }
.motion [data-parallax][data-reveal="img"].in > img, .motion [data-parallax][data-reveal="img"].in > .ph { transform: translateY(var(--py, 0)) scale(1.08); transition: transform .2s linear; }
.motion [data-reveal="count"] { opacity: 0; transition: opacity .6s ease; } .motion [data-reveal="count"].in { opacity: 1; }
[data-reveal="title"] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-reveal="title"] .w > span { display: inline-block; }
.motion [data-reveal="title"] .w > span { transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.motion [data-reveal="title"].in .w > span { transform: none; }

/* Dog card: second photo on hover */
.dog .media .alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.dog:hover .media .alt, .dog:focus-visible .media .alt { opacity: 1; }

/* "Z życia hodowli" – endless photo strip */
.life { overflow: hidden; padding-block: 0 clamp(3rem, 6vw, 5rem); }
.life-strip { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.life-strip:hover { animation-play-state: paused; }
.life-strip figure { margin: 0; width: clamp(13rem, 24vw, 20rem); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; flex: none; }
.life-strip figure:nth-child(2n) { aspect-ratio: 1; align-self: center; }
.life-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.life-strip figure:hover img { transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Dialog entrance */
dialog.sheet[open] { animation: sheetIn .45s cubic-bezier(.2,.7,.2,1); }
dialog.sheet[open]::backdrop { animation: fadeIn .35s ease; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }

/* Buttons: subtle lift */
.btn { transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
.btn:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .life-strip { animation: none; flex-wrap: wrap; width: auto; }
  .slide.kb img, .slide.kb .ph, [data-parallax] > img, [data-parallax] .slides { transform: none !important; }
}

@media (max-width: 560px) {
  .pups thead { display: none; }
  .pups tr { display: grid; grid-template-columns: auto 1fr auto; gap: .15rem .7rem; align-items: center; padding-block: .6rem; border-bottom: 1px solid var(--line); }
  .pups td { border: 0; padding: 0; }
  .pups td:nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
}


/* ═════════════ REFINEMENT: photo-led layout, calm palette ═════════════ */
.btn { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); font-weight: 600; padding: .9rem 1.45rem; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: #fff; }
.btn.ghost { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 22%, transparent); }
.btn.light { background: #fff; border-color: #fff; color: #2f322f; }
.btn.light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost-light { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.7); color: #fff; backdrop-filter: blur(4px); }
.btn.ghost-light:hover { background: #fff; color: #2f322f; }
.link-more { color: var(--fg); border-bottom-color: var(--accent); }
.brand svg { color: var(--fg); }
.band-soft { background: var(--soft); }
.band-sand { background: var(--sand); }
.site-footer { background: var(--soft); }
.ph b { color: var(--muted); opacity: .5; }

/* Home hero: full-bleed photo */
.hero { position: relative; padding: 0; min-height: clamp(30rem, 82vh, 52rem); display: grid; align-items: end; overflow: hidden; color: #fff; background: #2f322f; }
.hero .hero-media { position: absolute; inset: 0; }
.hero .hero-media .slider, .hero .hero-media .slides { height: 100%; }
.hero .hero-media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,22,20,.25) 0%, rgba(20,22,20,0) 28%, rgba(20,22,20,0) 45%, rgba(20,22,20,.62) 100%); }
.hero .wrap.hero-text { position: relative; z-index: 3; display: grid; gap: 0; width: 100%; padding-block: clamp(2.5rem, 7vw, 5rem); grid-template-columns: none; pointer-events: none; }
.hero .hero-text > * { pointer-events: auto; }
.hero h1 { color: #fff; font-size: clamp(3.4rem, 10vw, 8rem); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .tagline { color: rgba(255,255,255,.92); margin-top: .8rem; max-width: 26ch; }
.hero .reg { color: rgba(255,255,255,.85); margin: 0 0 1rem; }
.hero .reg strong { color: #fff; }
.hero .ctas { margin-top: 1.8rem; }
.hero .sl-dots { bottom: 1.4rem; left: auto; right: max(16px, calc((100vw - var(--wrap)) / 2 + 16px)); justify-content: flex-end; width: auto; }
.hero .sl-btn { display: none; }
.hero .sl-progress { height: 2px; background: rgba(255,255,255,.8); }
.motion .hero .rock, .motion.loaded .hero .rock { clip-path: none; }
.motion #top .hero-media { opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 2.2s cubic-bezier(.2,.7,.2,1); }
.motion.loaded #top .hero-media { opacity: 1; transform: none; }

/* Sub-page header: photo banner with title */
.page-intro { background: var(--bg); border-bottom: 0; }
.page-intro.has-photo { position: relative; min-height: clamp(20rem, 46vw, 34rem); display: grid; align-items: end; color: #fff; overflow: hidden; padding-block: 0; background: #2f322f; }
.page-intro.has-photo .page-photo { position: absolute; inset: 0; }
.page-intro.has-photo .page-photo img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)) scale(1.1); }
.page-intro.has-photo .page-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,20,.2), rgba(20,22,20,0) 35%, rgba(20,22,20,.66)); }
.page-intro.has-photo .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(2rem, 6vw, 4rem); }
.page-intro.has-photo h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.page-intro.has-photo .lead { color: rgba(255,255,255,.9); }
.page-intro.has-photo .stats b { color: #fff; }
.page-intro.has-photo .stats small { color: rgba(255,255,255,.8); }
.page-intro.has-photo .stats div + div { border-left-color: rgba(255,255,255,.35); }
.motion .page-intro.has-photo .page-photo img { opacity: 0; transition: opacity 1.1s ease; }
.motion.loaded .page-intro.has-photo .page-photo img { opacity: 1; }

/* Home: intro, doors as photo tiles, featured dogs */
.lead-xl { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.highlights li { border-top-color: var(--line); }
.doors { gap: clamp(.75rem, 1.5vw, 1.25rem); }
.door { position: relative; display: block; color: #fff; border-radius: 4px; overflow: hidden; min-height: clamp(22rem, 36vw, 30rem); }
.door .media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,20,0) 35%, rgba(20,22,20,.72)); z-index: 1; }
.door > :not(.media) { position: relative; z-index: 2; }
.door { display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; padding: clamp(1.2rem, 2.5vw, 1.8rem); text-decoration: none; }
.door-n { color: rgba(255,255,255,.75); margin: 0; }
.door h3 { color: #fff; }
.door p { color: rgba(255,255,255,.85); max-width: 32ch; }
.door-go { color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); align-self: flex-start; padding-bottom: .1rem; }
.door:hover h3, .door:hover .door-go { color: #fff; }
.door:hover .media img { transform: scale(1.05); }
.home-dogs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.hdog { position: relative; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 4px; overflow: hidden; color: #fff; text-align: left; font: inherit; }
.hdog .media { aspect-ratio: 3 / 4; }
.hdog .media img { transition: transform .8s ease; }
.hdog:hover .media img { transform: scale(1.05); }
.hdog::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,22,20,.65)); pointer-events: none; }
.hdog-cap { position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: .9rem; display: grid; }
.hdog-cap b { font-family: var(--display); font-weight: 400; font-size: var(--step3); line-height: 1.05; }
.hdog-cap small { color: rgba(255,255,255,.85); font-size: var(--step-1); }
@media (max-width: 900px) { .home-dogs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.life { padding-block: clamp(3rem, 7vw, 5.5rem); }
.life-title { font-size: var(--step4); margin-bottom: 1.6rem; }
.life-strip { gap: .75rem; }
.life-strip figure { width: clamp(16rem, 30vw, 26rem); border-radius: 4px; }

/* Dogs grid: bigger photos */
.dog-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); }
.dog .media { aspect-ratio: 4 / 5; border-radius: 4px; }
.dog h3 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-top: .2rem; }
.filters button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.filters button[aria-pressed="true"] span { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.titles span { border-color: var(--line); background: var(--soft); color: var(--fg); font-weight: 500; }

/* Litters: photo-forward */
.litter { background: var(--soft); border-radius: 6px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.band-soft .litter, .band-sand .litter { background: var(--bg); }
.parent-card .media { aspect-ratio: 4 / 5; border-radius: 4px; }
.pairing { gap: 1rem; }
.pairing .x { font-size: var(--step4); color: var(--accent); }
.parent-card strong { font-family: var(--display); font-weight: 400; font-size: var(--step1); }
.litter-gallery { aspect-ratio: 4 / 3; border-radius: 4px; }
.pups { border-collapse: separate; border-spacing: 0 .4rem; }
.pups thead { display: none; }
.pups td { background: var(--bg); border: 0; padding: .75rem .9rem; }
.pups td:first-child { border-radius: 6px 0 0 6px; }
.pups td:last-child { border-radius: 0 6px 6px 0; text-align: right; }
.band-soft .pups td { background: var(--soft); }

/* Achievements: list with dog avatars and result chips */
.ach-year { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 2rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.ach-y { font-size: var(--step4); color: var(--fg); font-variant-numeric: tabular-nums; position: sticky; top: 6rem; align-self: start; }
.ach-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ach { display: grid; grid-template-columns: 6.5rem 10rem minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.25rem; align-items: center; padding: 1rem 1.2rem; background: var(--soft); border-radius: 8px; position: relative; }
.ach-when { font-variant-numeric: tabular-nums; color: var(--muted); font-size: var(--step-1); }
.ach-dog { display: flex; align-items: center; gap: .7rem; border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.ach-dog:disabled { cursor: default; }
.ach-dog b { font-family: var(--display); font-weight: 400; font-size: var(--step1); }
.ach-dog:hover:not(:disabled) b { color: var(--accent); }
.ach-ava { width: 2.8rem; height: 2.8rem; border-radius: 50%; overflow: hidden; flex: none; background: var(--surface); display: grid; place-items: center; color: var(--muted); font-family: var(--display); }
.ach-ava img { width: 100%; height: 100%; object-fit: cover; }
.ach-show { display: grid; gap: .15rem; min-width: 0; }
.ach-show span { font-weight: 500; }
.ach-show small { color: var(--muted); font-size: .8rem; }
.ach-res { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip { font-size: .78rem; font-weight: 600; padding: .35rem .6rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--fg); }
.chip.lead { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.ach > .pill { position: absolute; top: .5rem; right: .6rem; }
@media (max-width: 1000px) { .ach { grid-template-columns: 5.5rem minmax(0, 1fr); } .ach-show, .ach-res { grid-column: 2; } .ach-dog { grid-column: 2; grid-row: 1; } .ach-when { grid-row: 1; } }
@media (max-width: 640px) { .ach-year { grid-template-columns: 1fr; gap: 1rem; } .ach-y { position: static; } .ach { grid-template-columns: 1fr; gap: .6rem; } .ach-show, .ach-res, .ach-dog { grid-column: 1; grid-row: auto; } }
.stats b { color: var(--fg); }
.glossary div { background: var(--bg); border: 1px solid var(--line); }
.glossary dt { color: var(--fg); font-family: var(--display); font-weight: 400; font-size: var(--step1); }

/* Breed spec & tests: lighter tables */
.spec { border-top: 0; background: var(--soft); border-radius: 8px; padding: .4rem 1.1rem; }
.spec div { border-bottom: 1px solid var(--line); }
.spec div:last-child { border-bottom: 0; }
.spec dt { font-size: .8rem; }
.test { background: var(--bg); border: 1px solid var(--line); }
.test b { color: var(--fg); }
.values div { background: var(--bg); border: 1px solid var(--line); }
.v-n { color: var(--accent); }
.story .media { border-radius: 4px; }

/* Puppies, hotel, contact */
.steps li { border-top-color: var(--fg); }
.timeline li { border-top-color: var(--line); }
.tl-w { color: var(--accent); }
.package { background: var(--soft); border-radius: 8px; padding: clamp(1.25rem, 3vw, 2.25rem); }
.capacity b { color: var(--fg); }
.hotel .media { aspect-ratio: 4 / 5; border-radius: 4px; }
form.contact-form { background: var(--soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline-color: var(--accent); }

/* Dog sheet: bigger photo */
dialog.sheet { width: min(72rem, calc(100vw - 2rem)); }
.sheet-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.sheet-photo .media { aspect-ratio: 4 / 5; }
.pedigree .p.sire { border-left-color: var(--fg); }
@media (max-width: 860px) { .litter { grid-template-columns: 1fr; } }
.dog-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }
.dog .media { aspect-ratio: 5 / 4; }
@media (max-width: 560px) { .dog .media { aspect-ratio: 4 / 5; } }
.life-strip { opacity: 1 !important; transform: none !important; }


/* ═════════════ LIGHT PASS: brighter surfaces, captions beside photos, focal-point cropping ═════════════ */
img { object-position: 50% 42%; }
.btn { border-color: var(--btn); }
.btn:hover { color: #fff; }
.btn.ghost { border-color: var(--line); background: var(--bg); }

/* Home hero: photo with a light frosted caption card instead of a dark veil */
.hero { background: var(--surface); color: var(--fg); min-height: clamp(28rem, 78vh, 50rem); }
.hero .hero-media::after { background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(255,255,255,.18)); }
.hero .wrap.hero-text { padding-block: clamp(1.5rem, 5vw, 3.5rem); }
.hero-text { justify-items: start; }
.hero .hero-text > * { max-width: 34rem; }
.hero .hero-text { position: relative; }
.hero .hero-text::before { content: ""; position: absolute; z-index: -1; left: calc(var(--gutter) - 1.6rem); bottom: calc(clamp(1.5rem, 5vw, 3.5rem) - 1.6rem); width: min(38rem, calc(100% - 2 * var(--gutter) + 3.2rem)); height: calc(100% - 2 * clamp(1.5rem, 5vw, 3.5rem) + 3.2rem);
  background: rgba(255,255,255,.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 10px; box-shadow: 0 20px 50px -30px rgba(40,45,40,.35); }
.hero h1 { color: var(--fg); text-shadow: none; font-size: clamp(3rem, 7.5vw, 5.6rem); }
.hero .tagline { color: var(--muted); }
.hero .reg { color: var(--muted); }
.hero .reg strong { color: var(--fg); }
.btn.light { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.btn.light:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: #fff; }
.btn.ghost-light { background: transparent; border: 1px solid var(--line); color: var(--fg); backdrop-filter: none; }
.btn.ghost-light:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.hero .sl-dots button { background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.hero .sl-progress { background: var(--accent); }
@media (max-width: 640px) {
  .hero { min-height: auto; display: block; }
  .hero .hero-media { position: relative; height: 62vw; min-height: 16rem; }
  .hero .hero-text::before { display: none; }
  .hero .wrap.hero-text { padding-block: 1.6rem 2.4rem; }
}

/* Sub-page header: clean photo band, title on white below */
.page-intro.has-photo { display: block; min-height: 0; color: var(--fg); background: var(--bg); padding-block: 0 clamp(1.5rem, 4vw, 3rem); }
.page-intro.has-photo .page-photo { position: relative; height: clamp(14rem, 38vw, 30rem); overflow: hidden; }
.page-intro.has-photo .page-photo::after { display: none; }
.page-intro.has-photo .page-photo img { transform: translateY(var(--py, 0)) scale(1.06); }
.page-intro.has-photo .wrap { padding-block: clamp(1.75rem, 4vw, 3rem) 0; }
.page-intro.has-photo h1 { color: var(--fg); text-shadow: none; }
.page-intro.has-photo .lead { color: var(--muted); }
.page-intro.has-photo .stats b { color: var(--fg); }
.page-intro.has-photo .stats small { color: var(--muted); }
.page-intro.has-photo .stats div + div { border-left-color: var(--line); }

/* Doors & featured dogs: captions under the photo, no dark overlay */
.door { color: var(--fg); min-height: 0; padding: 0; overflow: visible; gap: .45rem; justify-content: flex-start; }
.door::after { display: none; }
.door .media { position: relative; inset: auto; aspect-ratio: 4 / 5; border-radius: 6px; margin-bottom: .6rem; }
.door-n { color: var(--accent); }
.door h3 { color: var(--fg); }
.door p { color: var(--muted); }
.door-go { color: var(--fg); border-bottom-color: var(--accent); }
.door:hover h3 { color: var(--accent); }
.door:hover .door-go { color: var(--accent); }
@media (max-width: 820px) { .door .media { aspect-ratio: 4 / 3; } }
.hdog { color: var(--fg); overflow: visible; display: grid; gap: .55rem; }
.hdog::after { display: none; }
.hdog .media { border-radius: 6px; }
.hdog-cap { position: static; }
.hdog-cap b { font-size: var(--step2); }
.hdog-cap small { color: var(--muted); }
.hdog:hover .hdog-cap b { color: var(--accent); }

/* Photos everywhere: soft corners, consistent crops */
.dog .media, .parent-card .media, .story .media, .hotel .media, .grads .media, .life-strip figure, .litter-gallery { border-radius: 6px; }
.sheet-photo .media img, .slide img { object-fit: cover; }
.litter { background: var(--soft); }
.ach { background: var(--soft); }
.site-footer { background: var(--soft); border-top: 1px solid var(--line); }

/* ═════════════ GALLERIES, TROPHIES, LIGHTBOX, TIMELINE PHOTOS ═════════════ */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(10rem, 16vw, 15rem); grid-auto-flow: dense; gap: clamp(.5rem, 1vw, .9rem); --sy: 0; }
.tile { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 6px; overflow: hidden; position: relative; display: block; }
.tile .media { position: absolute; inset: 0; display: block; border-radius: 6px; }
.tile img { transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s; }
.tile:hover img { transform: scale(1.06); }
.tile:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.tile:nth-child(6n+4) { grid-row: span 2; }
.tile:nth-child(6n+6) { grid-column: span 2; }
.motion .tile { transform: translateY(calc(var(--sy) * var(--d, 0px))); transition: transform .25s linear; }


.motion .tile .media[data-reveal="img"] { transition-delay: calc(var(--i, 0) * 70ms); }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .tile:nth-child(6n+1), .tile:nth-child(6n+6) { grid-column: span 2; }
  .tile:nth-child(6n+1) { grid-row: span 1; }
  .motion .tile { transform: none; }
}

.trophies { columns: 3 16rem; column-gap: 1.25rem; }
.trophy { break-inside: avoid; margin: 0 0 1.25rem; display: grid; gap: .55rem; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .6rem .9rem; }
.trophy button { border: 0; padding: 0; background: var(--surface); cursor: zoom-in; border-radius: 5px; overflow: hidden; display: block; }
.trophy img { width: 100%; height: auto; transition: transform .8s ease; }
.trophy button:hover img { transform: scale(1.04); }
.trophy figcaption { font-size: var(--step-1); color: var(--fg); line-height: 1.5; padding-inline: .2rem; }

.ach-photos { grid-column: 1 / -1; display: flex; gap: .5rem; padding-top: .3rem; }
.ach-ph { width: 4.6rem; height: 4.6rem; border: 1px solid var(--line); padding: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; background: var(--bg); transition: transform .3s; }
.ach-ph:hover { transform: translateY(-2px) rotate(-1.5deg); }
.ach-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 1001px) { .ach-photos { grid-column: 2 / -1; } }

dialog.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(250,249,246,.96); display: none; }
dialog.lightbox[open] { display: grid; place-items: center; animation: fadeIn .3s ease; }
dialog.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; gap: .8rem; justify-items: center; max-width: min(92vw, 80rem); padding: 4rem max(16px, env(safe-area-inset-left, 0px)) 2rem; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 10rem); width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px -40px rgba(40,45,40,.45); opacity: 0; transform: scale(.97); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.lightbox img.in { opacity: 1; transform: none; }
.lightbox figcaption { color: var(--fg); font-size: var(--step-1); text-align: center; max-width: 60ch; }
.lb-btn { position: fixed; border: 1px solid var(--line); background: var(--bg); color: var(--fg); border-radius: 999px; cursor: pointer; font: 600 var(--step-1)/1 var(--body); }
.lb-close { top: calc(1rem + env(safe-area-inset-top, 0px)); right: max(1rem, env(safe-area-inset-right, 0px)); padding: .6rem 1rem; }
.lb-prev, .lb-next { top: 50%; width: 3rem; height: 3rem; margin-top: -1.5rem; font: 400 1.8rem/1 var(--display); }
.lb-prev { left: max(1rem, env(safe-area-inset-left, 0px)); } .lb-next { right: max(1rem, env(safe-area-inset-right, 0px)); }

.timeline { gap: clamp(2rem, 5vw, 3.5rem); }
.timeline li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; border-top: 0; padding: 0; }
.timeline li.rev .tl-img { order: 2; }
.tl-img { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; border-radius: 6px; overflow: hidden; }
.tl-img .media { display: block; aspect-ratio: 4 / 3; border-radius: 6px; }
.tl-text { display: grid; gap: .5rem; }
.tl-w { font-size: var(--step4); }
.tl-text b { font-size: var(--step2); font-family: var(--display); font-weight: 400; }
.timeline p { margin: 0; }
@media (max-width: 760px) { .timeline li { grid-template-columns: 1fr; } .timeline li.rev .tl-img { order: 0; } }

.contact-photo { margin: 0 0 2rem; display: grid; gap: .5rem; }
.contact-photo .media { aspect-ratio: 16 / 10; border-radius: 6px; }
.contact-photo figcaption { font-size: var(--step-1); color: var(--muted); }

.lang button { padding: .42rem .5rem; }
@media (max-width: 1100px) and (min-width: 1021px) { .nav { gap: .9rem; } }

/* Mosaic → gap-free masonry with natural image proportions (no awkward crops) */
.mosaic { display: block; columns: 3 15rem; column-gap: clamp(.6rem, 1.2vw, 1rem); }
.tile { display: block; width: 100%; margin: 0 0 clamp(.6rem, 1.2vw, 1rem); break-inside: avoid; grid-column: auto !important; grid-row: auto !important; }
.tile .media { position: relative; inset: auto; display: block; }
.tile img { width: 100%; height: auto; object-fit: initial; }
.motion .tile { transform: translateY(calc(var(--sy) * var(--d, 0px))); }
@media (max-width: 760px) { .mosaic { columns: 2; } .motion .tile { transform: none; } }

/* ═════════════ IDEAS ADOPTED: phone in header, see-also tiles, breeder, grouped dogs, gallery page, map ═════════════ */
.head-phone { font: 600 var(--step-1)/1 var(--body); text-decoration: none; white-space: nowrap; padding: .55rem .85rem; border-radius: 999px; background: var(--btn); color: var(--btn-ink); }
.head-phone:hover { background: var(--btn-hover); color: #fff; }
@media (max-width: 1180px) { .head-phone { display: none; } }
.nav { gap: 1.1rem; }

.see-also { padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.see-title { font-size: var(--step3); margin-bottom: 1.4rem; }
.see-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.see { position: relative; display: block; border-radius: 6px; overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 4 / 5; }
.see .media { position: absolute; inset: 0; display: block; }
.see .media img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.see:hover .media img { transform: scale(1.07); }
.see::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(25,28,25,.55)); }
.see-name { position: absolute; z-index: 2; left: .9rem; right: .9rem; bottom: .8rem; font-family: var(--display); font-size: var(--step1); line-height: 1.1; }
@media (max-width: 900px) { .see-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .see-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .see { aspect-ratio: 1; } }

.breeder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.breeder .media { aspect-ratio: 16 / 11; border-radius: 6px; }
.breeder h2 { font-size: var(--step4); margin: .3rem 0 1rem; }
.eyebrow-name { color: var(--accent); font-weight: 600; font-size: var(--step-1); }
.breeder-text { color: var(--fg); max-width: 52ch; margin-bottom: 1.6rem; line-height: 1.75; }
@media (max-width: 820px) { .breeder { grid-template-columns: 1fr; } }

.dog-grid.grouped { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); }
.dog-grid { display: block; }
.dog-grid-inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); }
.group-title { font-size: var(--step3); margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.dog-spec { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: .4rem; margin: 0; }
.dog-spec div { background: var(--soft); border-radius: 6px; padding: .5rem .7rem; }
.dog-spec dt { font-size: .75rem; color: var(--muted); }
.dog-spec dd { margin: 0; font-weight: 600; font-size: var(--step-1); }

#galAll { columns: 4 14rem; }
.map { margin-top: 1.2rem; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 18rem; border: 0; display: block; }
.map-link { display: grid; gap: .2rem; padding: 1.1rem 1.2rem; text-decoration: none; background: var(--soft); }
.map-link span { font-size: var(--step-1); color: var(--muted); }
.map-link small { color: var(--accent); font-weight: 600; }
.see-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
@media (max-width: 560px) { .see-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tl-text b { font-size: var(--step3); }

/* Hodowla – początki (Kleo) */
.origin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.origin h2 { font-size: var(--step4); margin: 0 0 1.2rem; }
.origin .prose { max-width: 54ch; margin-bottom: 1.4rem; }
.origin-photos { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(.6rem, 1.4vw, 1rem); align-items: end; }
.origin-img { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; }
.origin-img .media { display: block; aspect-ratio: 4 / 5; border-radius: 6px; }
.origin-img:nth-child(2) { margin-bottom: clamp(1.5rem, 4vw, 3.5rem); }
.origin-img .media img { transition: transform .7s ease; }
.origin-img:hover .media img { transform: scale(1.04); }
@media (max-width: 820px) { .origin { grid-template-columns: 1fr; } }
/* Film w karcie psa */
.dog-video { display: block; width: 100%; max-width: 22rem; aspect-ratio: 4 / 5; border-radius: 6px; background: #000; margin: .4rem 0 1.2rem; }

/* Aktualności */
.news { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem); }
.news-item { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.2rem, 3vw, 2.6rem); align-items: start; padding-bottom: clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); }
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-item.no-pic { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
.news-pic { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; overflow: hidden; border-radius: 6px; }
.news-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.news-pic:hover img { transform: scale(1.04); }
.news-pic.main { aspect-ratio: 4 / 3; }
.news-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-top: .5rem; }
.news-thumbs .news-pic { aspect-ratio: 1; }
.news-body time { display: block; color: var(--sage); font-size: var(--step-1); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .4rem; }
.news-body h3 { font-size: var(--step3); margin: 0 0 .8rem; line-height: 1.15; }
.news-body .prose { max-width: 56ch; }
.news-more { margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.news-more[hidden], #newsWrap[hidden] { display: none; }
@media (max-width: 760px) { .news-item { grid-template-columns: minmax(0, 1fr); } }
