/* Витрина Породотеки — экспорт 1795430050-0fb6: tokens.css и публичные блоки bundle.css.
   Цветовые токены и рецепты шести шаблонов сохранены; ниже — адаптация к Django и доступности. */
:root, [data-theme="atelier"] {
  --paper: #f4eee4;
  --paper-raised: #fbf8f2;
  --paper-sunk: #e9e0d1;
  --ink: #231c16;
  --ink-muted: #64564a;
  --line: #d8cab5;
  --line-strong: #93806a;
  --accent: #7d3f22;
  --on-accent: #fff8f0;
  --accent-text: #7d3f22;
  --deep: #18241f;
  --on-deep: #f3ece1;
  --on-deep-muted: #b3c0b7;
  --highlight: #bcd6c8;
  --mark: #c9a27a;
  --on-mark: #231c16;
  --status-open: #2a6540;
  --status-open-soft: #dde8db;
  --status-reserved: #7f4e0e;
  --status-reserved-soft: #f1e2c6;
  --focus: #c2581f;
  --scrim: rgba(16,22,19,0.72);
  --shadow-card: 0 1px 0 rgba(35,28,22,0.06), 0 12px 32px -18px rgba(35,28,22,0.35);
  --shadow-float: 0 24px 60px -24px rgba(0,0,0,0.45);
}
[data-theme="champion"] {
  --paper: #0f100e;
  --paper-raised: #1a1b18;
  --paper-sunk: #161714;
  --ink: #f2eee5;
  --ink-muted: #a9a497;
  --line: #2f302b;
  --line-strong: #6e6c62;
  --accent: #d8b26a;
  --on-accent: #19150b;
  --accent-text: #e2c07e;
  --deep: #23241f;
  --on-deep: #f2eee5;
  --on-deep-muted: #b3ae9f;
  --highlight: #e2c07e;
  --mark: #d8b26a;
  --on-mark: #19150b;
  --status-open: #79c98f;
  --status-open-soft: #17291c;
  --status-reserved: #e6b65c;
  --status-reserved-soft: #2c2412;
  --focus: #f2cd7c;
  --scrim: rgba(8,8,7,0.72);
  --shadow-card: 0 0 0 1px rgba(242,238,229,0.06);
}
[data-theme="nest"] {
  --paper: #fbf3ea;
  --paper-raised: #ffffff;
  --paper-sunk: #f5e5d4;
  --ink: #2e211b;
  --ink-muted: #6a5448;
  --line: #ecd8c4;
  --line-strong: #9c7f6b;
  --accent: #b0442a;
  --on-accent: #ffffff;
  --accent-text: #a03d1f;
  --deep: #4e2a20;
  --on-deep: #fff1e6;
  --on-deep-muted: #e6c6b4;
  --highlight: #ffbf94;
  --mark: #f6c445;
  --on-mark: #2e211b;
  --status-open: #276338;
  --status-open-soft: #e2f0df;
  --status-reserved: #7f4b0b;
  --status-reserved-soft: #fbe6c4;
  --focus: #d1502a;
  --scrim: rgba(46,33,27,0.62);
  --shadow-card: 0 2px 0 rgba(46,33,27,0.05), 0 18px 40px -20px rgba(110,60,30,0.35);
}
[data-theme="field"] {
  --paper: #eceee4;
  --paper-raised: #f7f8f1;
  --paper-sunk: #dde2d2;
  --ink: #17231b;
  --ink-muted: #4c5a49;
  --line: #c8cfba;
  --line-strong: #7f8b75;
  --accent: #1d3a2a;
  --on-accent: #e9f3c4;
  --accent-text: #2a5a3b;
  --deep: #13281f;
  --on-deep: #eef2e4;
  --on-deep-muted: #b6c3b0;
  --highlight: #cfe36d;
  --mark: #cfe36d;
  --on-mark: #13281f;
  --status-open: #28653a;
  --status-open-soft: #dbe8d3;
  --status-reserved: #7a500d;
  --status-reserved-soft: #efe3c3;
  --focus: #c46a22;
  --scrim: rgba(10,24,17,0.70);
  --shadow-card: 0 1px 0 rgba(23,35,27,0.06), 0 12px 30px -18px rgba(19,40,31,0.4);
}
[data-theme="pop"] {
  --paper: #f7f6f1;
  --paper-raised: #ffffff;
  --paper-sunk: #e8ecfb;
  --ink: #0e1430;
  --ink-muted: #4a5172;
  --line: #d6daea;
  --line-strong: #7d85a4;
  --accent: #2350e6;
  --on-accent: #ffffff;
  --accent-text: #2350e6;
  --deep: #2350e6;
  --on-deep: #ffffff;
  --on-deep-muted: #dde4fe;
  --highlight: #ffd84a;
  --mark: #ffd84a;
  --on-mark: #0e1430;
  --status-open: #16754a;
  --status-open-soft: #dcf3e4;
  --status-reserved: #8c5200;
  --status-reserved-soft: #fff0c2;
  --focus: #e2531a;
  --scrim: rgba(14,20,48,0.62);
  --shadow-card: 0 0 0 1.5px #0e1430;
}
[data-theme="nordic"] {
  --paper: #f2f3f3;
  --paper-raised: #ffffff;
  --paper-sunk: #e5e8ea;
  --ink: #1b2025;
  --ink-muted: #576069;
  --line: #d4d9dd;
  --line-strong: #808992;
  --accent: #1b2025;
  --on-accent: #ffffff;
  --accent-text: #3d5d78;
  --deep: #2a3540;
  --on-deep: #eef2f5;
  --on-deep-muted: #b8c4ce;
  --highlight: #f3c7b3;
  --mark: #f3c7b3;
  --on-mark: #1b2025;
  --status-open: #286647;
  --status-open-soft: #dcebe2;
  --status-reserved: #7a500d;
  --status-reserved-soft: #f2e4c8;
  --focus: #d06a3a;
  --scrim: rgba(20,26,31,0.6);
  --shadow-card: 0 1px 0 rgba(27,32,37,0.05);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-0: 0px;
  --radius-xs: 2px;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 24px;
  --radius-pill: 999px;
  --content-max: 1240px;
  --text-max: 620px;
  --gutter: 40px;
  --font-round: "Golos Text", Onest, Arial, sans-serif;
}
.display-atelier {
  font-family: var(--font-serif);
  font-size: 104px;
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.display-champion {
  font-family: var(--font-wide);
  font-size: 80px;
  line-height: 0.94;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.display-nest {
  font-family: var(--font-round);
  font-size: 84px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.display-field {
  font-family: var(--font-sans);
  font-size: 92px;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.display-pop {
  font-family: var(--font-wide);
  font-size: 112px;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.display-nordic {
  font-family: var(--font-sans);
  font-size: 88px;
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.045em;
}
.section-title {
  font-family: var(--font-sans);
  font-size: 56px;
  line-height: 1.0;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.card-title {
  font-family: var(--font-sans);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.numeral {
  font-family: var(--font-sans);
  font-size: 48px;
  line-height: 1.0;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.lead {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}
.small {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}
.button {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

/* Шрифты: Onest и Unbounded — из /assets/css/fonts.css; Cormorant Garamond и Golos Text — здесь. */
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/_services/breeder/43703a4709d3aac71ef1cc73aaf039209e99aed7/assets/fonts/golos-text-700.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/_services/breeder/43703a4709d3aac71ef1cc73aaf039209e99aed7/assets/fonts/golos-text-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }

/* Витрина Породотеки — компоненты лендинга питомника.
   Цвета приходят из tokens.css (по data-theme), а «рецепт» шаблона — гарнитура заголовка,
   регистр, скругления, способ выделения слова — задан ниже на тех же [data-theme].
   Шаблон = тема: один атрибут data-theme на корне сайта меняет весь лендинг. */

/* ---------- 1. Рецепты шаблонов (не цвета: их нет в tokens.json) ---------- */
:root, [data-theme] {
  --pd-body: var(--font-sans);
  --pd-display: var(--font-serif);
  --pd-display-weight: 500;
  --pd-display-tracking: -0.02em;
  --pd-display-case: none;
  --pd-display-leading: .94;
  --pd-display-scale: 1;
  --pd-em-style: italic;
  --pd-em-color: var(--accent-text);
  --pd-em-color-deep: var(--highlight);
  --pd-em-bg: none;
  --pd-em-pad: 0;
  --pd-r-btn: var(--radius-xs);
  --pd-r-card: var(--radius-xs);
  --pd-r-photo: var(--radius-xs);
  --pd-r-field: var(--radius-xs);
  --pd-btn-case: none;
  --pd-btn-tracking: 0;
  --pd-eyebrow-rule: 1;
}
[data-theme="champion"] {
  --pd-display: var(--font-wide);
  --pd-display-weight: 650;
  --pd-display-tracking: -0.035em;
  --pd-display-case: uppercase;
  --pd-display-leading: .95;
  --pd-display-scale: .74;
  --pd-em-style: normal;
  --pd-r-btn: var(--radius-0); --pd-r-card: var(--radius-0); --pd-r-photo: var(--radius-0); --pd-r-field: var(--radius-0);
  --pd-btn-case: uppercase; --pd-btn-tracking: .08em;
}
[data-theme="nest"] {
  --pd-body: var(--font-round);
  --pd-display: var(--font-round);
  --pd-display-weight: 800;
  --pd-display-tracking: -0.035em;
  --pd-display-leading: .98;
  --pd-display-scale: .84;
  --pd-em-style: normal;
  --pd-em-color: inherit;
  --pd-em-color-deep: inherit;
  --pd-em-bg: linear-gradient(transparent 60%, var(--mark) 60%, var(--mark) 92%, transparent 92%);
  --pd-r-btn: var(--radius-pill); --pd-r-card: var(--radius-l); --pd-r-photo: var(--radius-l); --pd-r-field: var(--radius-m);
}
[data-theme="field"] {
  --pd-display: var(--font-sans);
  --pd-display-weight: 800;
  --pd-display-tracking: -0.045em;
  --pd-display-case: uppercase;
  --pd-display-leading: .9;
  --pd-display-scale: .86;
  --pd-em-style: normal;
  --pd-r-btn: var(--radius-s); --pd-r-card: var(--radius-m); --pd-r-photo: var(--radius-m); --pd-r-field: var(--radius-s);
  --pd-btn-case: uppercase; --pd-btn-tracking: .06em;
}
[data-theme="pop"] {
  --pd-display: var(--font-wide);
  --pd-display-weight: 800;
  --pd-display-tracking: -0.05em;
  --pd-display-leading: .9;
  --pd-display-scale: .96;
  --pd-em-style: normal;
  --pd-em-color: var(--on-mark);
  --pd-em-color-deep: var(--on-mark);
  --pd-em-bg: linear-gradient(transparent 14%, var(--mark) 14%, var(--mark) 90%, transparent 90%);
  --pd-em-pad: 0 .12em;
  --pd-r-btn: var(--radius-pill); --pd-r-card: var(--radius-l); --pd-r-photo: var(--radius-l); --pd-r-field: var(--radius-m);
}
[data-theme="nordic"] {
  --pd-display: var(--font-sans);
  --pd-display-weight: 300;
  --pd-display-tracking: -0.045em;
  --pd-display-leading: .98;
  --pd-display-scale: .96;
  --pd-em-style: normal;
  --pd-em-color: var(--ink-muted);
  --pd-em-color-deep: var(--on-deep-muted);
  --pd-r-btn: var(--radius-0); --pd-r-card: var(--radius-0); --pd-r-photo: var(--radius-0); --pd-r-field: var(--radius-0);
  --pd-eyebrow-rule: 0;
}

/* ---------- 2. Основа ---------- */
body.pd { margin: 0; }
.pd { container-type: inline-size; background: var(--paper); color: var(--ink); font: 400 16px/1.62 var(--pd-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: anywhere; }
.pd *, .pd *::before, .pd *::after { box-sizing: border-box; }
.pd :where(h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote) { margin: 0; }
.pd :where(ul, ol) { padding: 0; list-style: none; }
.pd img { display: block; max-width: 100%; }
:where(.pd) a { color: inherit; text-decoration: none; }
/* Два кольца: видимый фокус на любой светлой, тёмной и фотографической подложке. */
.pd :where(a, button, summary, input, textarea, select, label):focus-visible { outline: 3px solid #111216; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.pd :where(h1, h2, h3, h4, p, a, span, dt, dd, li, article, figure, aside, section, div) { min-width: 0; }
.pd :where(section, article, main, footer, [id]) { scroll-margin-block: 112px 120px; }
.pd-on-deep { --focus: var(--highlight); background: var(--deep); color: var(--on-deep); }
.pd-wrap { width: min(var(--content-max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
@container (max-width: 720px) { .pd-wrap { width: calc(100% - 40px); } }

.pd-display { font-family: var(--pd-display); font-weight: var(--pd-display-weight); letter-spacing: var(--pd-display-tracking);
  text-transform: var(--pd-display-case); line-height: var(--pd-display-leading); text-wrap: balance; }
.pd-display em { font-style: var(--pd-em-style); color: var(--pd-em-color); background: var(--pd-em-bg); padding: var(--pd-em-pad);
  border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pd-on-deep .pd-display em, .pd-over-photo .pd-display em { color: var(--pd-em-color-deep); }
[data-theme="nest"] .pd-on-deep .pd-display em, [data-theme="nest"] .pd-over-photo .pd-display em { background: none; color: var(--highlight); }
.pd-eyebrow { font: 600 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.pd-on-deep .pd-eyebrow, .pd-over-photo .pd-eyebrow { color: var(--on-deep-muted); }
.pd-lead { font-size: 20px; line-height: 30px; max-width: var(--text-max); color: var(--ink-muted); }
.pd-on-deep .pd-lead, .pd-over-photo .pd-lead { color: var(--on-deep-muted); }
.pd-muted { color: var(--ink-muted); }
.pd-small { font-size: 14px; line-height: 22px; }

/* ---------- 3. Кнопки, ссылки ---------- */
.pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 26px;
  border-radius: var(--pd-r-btn); border: 1.5px solid transparent; font: 600 15px/20px var(--font-sans);
  letter-spacing: var(--pd-btn-tracking); text-transform: var(--pd-btn-case); cursor: pointer; white-space: normal; text-align: center; max-width: 100%;
  transition: transform .18s ease, background-color .18s ease; text-decoration: none; }
.pd-btn:hover { transform: translateY(-1px); }
.pd-btn:active { transform: translateY(0); }
.pd-btn--primary { background: var(--accent); color: var(--on-accent); }
.pd-btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.pd-btn--inverse { background: var(--on-deep); color: var(--deep); }
.pd-btn--outline-inverse { background: transparent; color: var(--on-deep); border-color: var(--on-deep); }
.pd-btn--small { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.pd-btn--block { width: 100%; }
.pd-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; filter: none; }
.pd-btn .pd-arrow { font-size: 18px; line-height: 1; font-weight: 400; }
.pd-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 15px;
  border-bottom: 1px solid currentColor; padding-bottom: 2px; align-self: center; }
.pd-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 4. Статусы, чипы, стикер ---------- */
.pd-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: var(--radius-pill);
  font: 600 12px/1.3 var(--font-sans); letter-spacing: .02em; max-width: calc(100% - 28px); }
.pd-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pd-status--open { background: var(--status-open-soft); color: var(--status-open); }
.pd-status--open::before { animation: pd-pulse 2.2s ease-out 2; }
.pd-status--reserved { background: var(--status-reserved-soft); color: var(--status-reserved); }
.pd-status--home { background: var(--paper-sunk); color: var(--ink-muted); }
.pd-status--home::before { border-radius: 2px; transform: rotate(45deg); width: 6px; height: 6px; }
@keyframes pd-pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .pd-status--open::before { animation: none; } .pd-btn { transition: none; } }

.pd-chip { max-width: 100%; display: inline-flex; align-items: center; min-height: 32px; padding: 3px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); font: 500 13px/20px var(--font-sans); color: var(--ink); }
a.pd-chip { min-height: 44px; }
.pd-on-deep .pd-chip { border-color: var(--on-deep-muted); color: var(--on-deep); }

.pd-avail { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: var(--radius-pill);
  background: var(--paper-raised); color: var(--ink); font: 500 14px/20px var(--font-sans); box-shadow: var(--shadow-card); }
.pd-avail b { font-weight: 700; }
.pd-avail .pd-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--status-open); flex: none; color: var(--status-open);
  animation: pd-pulse 2.2s ease-out 2; }
.pd-avail--quiet .pd-dot { background: var(--ink-muted); animation: none; }

.pd-sticker { display: grid; place-items: center; text-align: center; width: 148px; aspect-ratio: 1; border-radius: 50%;
  background: var(--mark); color: var(--on-mark); font: 700 15px/1.15 var(--pd-display); letter-spacing: -.01em;
  transform: rotate(-9deg); padding: 18px; box-shadow: var(--shadow-float); }
.pd-sticker b { display: block; font-size: 44px; line-height: 1; margin-bottom: 4px; font-weight: 800; }
[data-theme="pop"] .pd-sticker { clip-path: polygon(50% 0, 61% 12%, 75% 6%, 79% 21%, 94% 25%, 88% 39%, 100% 50%, 88% 61%, 94% 75%, 79% 79%, 75% 94%, 61% 88%, 50% 100%, 39% 88%, 25% 94%, 21% 79%, 6% 75%, 12% 61%, 0 50%, 12% 39%, 6% 25%, 21% 21%, 25% 6%, 39% 12%); border-radius: 0; box-shadow: none; width: 168px; }

/* ---------- 5. Шапка ---------- */
.pd-header { position: relative; z-index: 5; }
.pd-header__row { padding-block: 12px; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.pd-header--line .pd-header__row { border-bottom: 1px solid var(--line); }
.pd-on-deep.pd-header--line .pd-header__row { border-bottom-color: color-mix(in srgb, var(--on-deep) 18%, transparent); }
.pd-brand { flex: 1 1 240px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.pd-brand__mark { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1.5px solid currentColor;
  border-radius: var(--pd-r-btn); font: var(--pd-display-weight) 22px/1 var(--pd-display); text-transform: uppercase; }
[data-theme="nest"] .pd-brand__mark, [data-theme="pop"] .pd-brand__mark { border-radius: 50%; background: var(--mark); color: var(--on-mark); border-color: var(--mark); }
.pd-brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.pd-brand__name { display: block; overflow-wrap: anywhere; font: var(--pd-display-weight) 21px/1.05 var(--pd-display); letter-spacing: var(--pd-display-tracking); text-transform: var(--pd-display-case); }
[data-theme="champion"] .pd-brand__name, [data-theme="pop"] .pd-brand__name { font-size: 16px; }
.pd-brand__sub { display: block; margin-top: 4px; font: 500 12px/1.3 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.pd-on-deep .pd-brand__sub { color: var(--on-deep-muted); }
.pd-header__row > .pd-btn { flex: none; max-width: 240px; }
.pd-nav { flex: none; display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 500; }
.pd-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.pd-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
@container (max-width: 860px) { .pd-nav { display: none; } }

/* ---------- 6. Секции ---------- */
.pd-section { padding-block: var(--space-9); }
.pd-section--sunk { background: var(--paper-sunk); }
@container (max-width: 720px) { .pd-section { padding-block: var(--space-8); } }
.pd-sh { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 48px; margin-bottom: var(--space-7); }
.pd-sh__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pd-sh__eyebrow::after { content: ""; height: 1px; width: 64px; background: currentColor; opacity: calc(.4 * var(--pd-eyebrow-rule)); }
.pd-sh__title { font-size: calc(clamp(38px, 5.2cqi, 64px) * max(var(--pd-display-scale), .8)); }
.pd-sh__lead { margin-top: 18px; color: var(--ink-muted); max-width: var(--text-max); font-size: 17px; line-height: 27px; }
.pd-on-deep .pd-sh__lead { color: var(--on-deep-muted); }
.pd-sh--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.pd-sh--center .pd-sh__lead { margin-inline: auto; }
@container (max-width: 720px) { .pd-sh { grid-template-columns: 1fr; margin-bottom: var(--space-6); } }

/* ---------- 7. Первые экраны (по шаблону) ---------- */
.pd-hero h1 { font-size: calc(clamp(52px, 8.6cqi, 116px) * var(--pd-display-scale)); }
.pd-hero__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 36px; }
.pd-hero__lead { margin-top: 26px; }
.pd-photo { position: relative; overflow: hidden; border-radius: var(--pd-r-photo); background: var(--paper-sunk); }
.pd-photo img { width: 100%; height: 100%; object-fit: cover; }
.pd-photo--empty { display: grid; place-items: center; color: var(--ink-muted); }
.pd-photo--empty span { font: var(--pd-display-weight) 64px/1 var(--pd-display); opacity: .5; text-transform: uppercase; }
.pd-photo figcaption { position: absolute; left: 14px; bottom: 12px; font: 500 12px/1.4 var(--font-sans); color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* 7a. Ателье — редакционный разворот */
.pd-hero--editorial { background: linear-gradient(var(--deep) 0 calc(100% - 96px), var(--paper) calc(100% - 96px)); color: var(--on-deep); --focus: var(--highlight); }
.pd-hero--editorial .pd-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 72px; padding-top: 64px; }
.pd-hero--editorial .pd-hero__copy { padding-bottom: 150px; display: flex; flex-direction: column; }
.pd-hero--editorial .pd-eyebrow { color: var(--on-deep-muted); padding-bottom: 18px; border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 30%, transparent); margin-bottom: 52px; }
.pd-hero--editorial .pd-display em { color: var(--highlight); }
.pd-hero--editorial .pd-lead { color: var(--on-deep-muted); }
.pd-hero--editorial .pd-hero__art { position: relative; padding: 0 0 0 0; }
.pd-hero--editorial .pd-hero__art::before { content: ""; position: absolute; inset: 40px -40px 56px -56px; background: color-mix(in srgb, var(--on-deep) 7%, var(--deep)); }
.pd-hero--editorial .pd-hero__art .pd-photo { position: relative; aspect-ratio: 4 / 5.3; box-shadow: var(--shadow-float); }
.pd-hero--editorial .pd-avail { margin-top: 40px; align-self: flex-start; }
@container (max-width: 860px) {
  .pd-hero--editorial { background: var(--deep); }
  .pd-hero--editorial .pd-hero__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .pd-hero--editorial .pd-hero__copy { padding-bottom: 0; order: 2; }
  .pd-hero--editorial .pd-hero__art { order: 1; }
  .pd-hero--editorial .pd-hero__art::before { display: none; }
  .pd-hero--editorial { padding-bottom: 48px; }
  .pd-hero--editorial .pd-eyebrow { margin-bottom: 24px; }
}

/* 7b. Чемпион — титулы первым делом */
.pd-hero--trophy { padding-block: 48px 88px; }
.pd-hero--trophy .pd-hero__top { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pd-hero--trophy h1 { margin-top: 44px; font-size: calc(clamp(48px, 9.4cqi, 128px) * var(--pd-display-scale)); }
.pd-hero--trophy h1 em { color: var(--accent-text); }
.pd-hero--trophy .pd-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, .8fr); gap: 48px; margin-top: 52px; align-items: start; }
.pd-hero--trophy .pd-photo { aspect-ratio: 4 / 5; }
.pd-hero--trophy .pd-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent); pointer-events: none; }
.pd-hero--without-stats .pd-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.pd-trophies { display: grid; gap: 0; }
.pd-trophies li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.pd-trophies li:last-child { border-bottom: 1px solid var(--line); }
.pd-trophies b { font: 650 44px/1 var(--font-wide); letter-spacing: -.04em; color: var(--accent-text); }
.pd-trophies span { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
@container (max-width: 860px) { .pd-hero--trophy .pd-hero__grid { grid-template-columns: 1fr; } .pd-hero--trophy .pd-hero__top { flex-wrap: wrap; } }

/* 7c. Гнездо — тёплый коллаж */
.pd-hero--collage { padding-block: 40px 96px; overflow: hidden; }
.pd-hero--collage .pd-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pd-hero--collage .pd-eyebrow { display: inline-flex; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--paper-raised); color: var(--ink); letter-spacing: .08em; margin-bottom: 28px; box-shadow: var(--shadow-card); }
.pd-collage { position: relative; height: 600px; }
.pd-collage .pd-photo { position: absolute; box-shadow: var(--shadow-card); }
.pd-collage .pd-photo:nth-child(1) { left: 0; top: 0; width: 64%; height: 74%; }
.pd-collage .pd-photo:nth-child(2) { right: 0; top: 18%; width: 40%; height: 44%; }
.pd-collage .pd-photo:nth-child(3) { right: 8%; bottom: 0; width: 46%; height: 34%; }
.pd-collage--single { height: auto; min-height: 360px; }
.pd-collage--single .pd-photo:nth-child(1) { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 4.5; }
.pd-collage .pd-sticker { position: absolute; left: 44%; bottom: 4%; }
@container (max-width: 860px) { .pd-hero--collage .pd-hero__grid { grid-template-columns: 1fr; } .pd-collage { height: 440px; } }

/* 7d. Поле — фото на весь экран */
.pd-hero--immersive { position: relative; min-height: 700px; display: flex; align-items: flex-end; color: var(--on-deep); background: var(--deep); overflow: hidden; --focus: var(--highlight); }
.pd-hero--immersive > .pd-photo { position: absolute; inset: 0; border-radius: 0; }
.pd-hero--immersive > .pd-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,24,17,.86), rgba(10,24,17,.78)); }
.pd-hero--immersive .pd-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 48px; align-items: end; padding-block: 160px 64px; width: min(var(--content-max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.pd-hero--immersive h1 { font-size: calc(clamp(52px, 9cqi, 124px) * var(--pd-display-scale)); }
.pd-hero--immersive .pd-display em { color: var(--highlight); }
.pd-hero--immersive .pd-eyebrow { color: var(--on-deep); margin-bottom: 22px; }
.pd-hero--immersive .pd-lead { color: var(--on-deep); }
.pd-hero--immersive .pd-btn--primary { --focus: var(--highlight); }
.pd-float-card { background: var(--paper-raised); color: var(--ink); border-radius: var(--pd-r-card); padding: 22px; box-shadow: var(--shadow-float); }
.pd-float-card__row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pd-float-card__row > div { flex: 1 1 150px; }
.pd-float-card__row .pd-photo { width: 64px; height: 64px; flex: none; border-radius: var(--pd-r-btn); }
.pd-float-card h2 { font: 700 17px/1.25 var(--font-sans); }
.pd-float-card p { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.pd-float-card .pd-btn { margin-top: 18px; }
@container (max-width: 860px) { .pd-hero--immersive .pd-hero__grid { grid-template-columns: 1fr; padding-top: 220px; } .pd-hero--immersive { min-height: 0; } }

/* 7e. Афиша — плакат с фото-окнами. Полоса входит один раз; бесконечного движения нет. */
.pd-hero--poster { padding-block: 40px 0; overflow: hidden; }
.pd-hero--poster h1 { font-size: calc(clamp(56px, 11.4cqi, 160px) * var(--pd-display-scale)); line-height: .92; }
.pd-hero--poster h1 em { padding: 0 .1em; }
.pd-inline-photo { display: inline-block; vertical-align: -.06em; height: .78em; width: 1.6em; border-radius: var(--radius-pill); overflow: hidden; margin: 0 .06em; background: var(--paper-sunk); }
.pd-inline-photo img { width: 100%; height: 100%; object-fit: cover; }
.pd-inline-photo--round { width: .78em; }
.pd-hero--poster .pd-hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 40px; align-items: center; margin-top: 44px; padding-bottom: 56px; }
.pd-hero--poster .pd-hero__actions { margin-top: 0; }
.pd-hero--poster .pd-hero__lead { margin-top: 0; color: var(--ink); }
.pd-ticker { background: var(--deep); color: var(--on-deep); overflow: hidden; white-space: nowrap; border-block: 1.5px solid var(--ink); }
.pd-ticker__track { display: inline-flex; gap: 36px; padding: 16px 0; font: 700 18px/1 var(--font-wide); text-transform: uppercase; letter-spacing: -.01em; animation: pd-ticker 1.2s var(--pd-ease) both; }
.pd-ticker__track span::after { content: "✦"; margin-left: 36px; color: var(--highlight); }
@keyframes pd-ticker { from { transform: translateX(36px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pd-ticker__track { animation: none; } }
@container (max-width: 860px) { .pd-hero--poster .pd-hero__row { grid-template-columns: 1fr; } .pd-hero--poster .pd-sticker { display: none; } }

/* 7f. Север — тишина и воздух */
.pd-hero--quiet { padding-top: var(--space-10); text-align: center; }
.pd-hero--quiet h1 { max-width: 15ch; margin-inline: auto; margin-top: 28px; font-size: calc(clamp(52px, 9cqi, 128px) * var(--pd-display-scale)); }
.pd-hero--quiet .pd-hero__lead { margin-inline: auto; }
.pd-hero--quiet .pd-hero__actions { justify-content: center; }
.pd-hero--quiet .pd-hero__wide { margin-top: 88px; aspect-ratio: 21 / 9; }
/* Вертикальная или небольшая обложка — самостоятельный кадр рядом с текстом. */
.pd-hero--immersive.pd-hero--framed { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; min-height: 0; padding: 64px var(--gutter); }
.pd-hero--immersive.pd-hero--framed > .pd-photo { position: relative; inset: auto; grid-column: 2; grid-row: 1; min-height: 320px; display: grid; place-items: center; background: color-mix(in srgb, var(--on-deep) 8%, var(--deep)); }
.pd-hero--immersive.pd-hero--framed > .pd-photo::after { display: none; }
.pd-hero--immersive.pd-hero--framed > .pd-photo img { width: auto; height: auto; max-height: 640px; object-fit: contain; }
.pd-hero--immersive.pd-hero--framed .pd-hero__grid { grid-column: 1; grid-row: 1; grid-template-columns: 1fr; width: 100%; padding: 0; }
.pd-hero--quiet.pd-hero--framed .pd-hero__wide { width: min(100%, 640px); margin-inline: auto; aspect-ratio: auto; min-height: 240px; padding: 24px; display: grid; place-items: center; }
.pd-hero--quiet.pd-hero--framed .pd-hero__wide img { width: auto; height: auto; max-height: 640px; object-fit: contain; }
@container (max-width: 860px) {
  .pd-hero--immersive.pd-hero--framed { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px 20px; }
  .pd-hero--immersive.pd-hero--framed > .pd-photo { grid-column: 1; grid-row: 2; min-height: 240px; }
  .pd-hero--quiet { padding-top: 64px; }
  .pd-hero--quiet .pd-hero__wide { margin-top: 48px; }
}
.pd-hero--quiet .pd-avail { box-shadow: none; border: 1px solid var(--line); background: transparent; }

/* ---------- 8. Полоса доверия ---------- */
.pd-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-block: 1px solid var(--line); }
.pd-trust li { padding: 26px 24px 24px 0; display: grid; gap: 6px; align-content: start; }
.pd-trust li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.pd-trust b { font: var(--pd-display-weight) 40px/1 var(--pd-display); letter-spacing: var(--pd-display-tracking); text-transform: var(--pd-display-case); }
[data-theme="champion"] .pd-trust b, [data-theme="pop"] .pd-trust b { font-size: 30px; }
.pd-trust span { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.pd-trust .pd-seal { display: flex; gap: 12px; align-items: center; }
.pd-seal__icon { width: 40px; height: 40px; flex: none; color: var(--status-open); }
.pd-trust .pd-seal b { display: block; margin-bottom: 4px; font: 700 15px/1.25 var(--font-sans); letter-spacing: 0; text-transform: none; }
@container (max-width: 720px) {
  .pd-trust { grid-template-columns: 1fr 1fr; }
  .pd-trust li, .pd-trust li + li { padding: 18px 12px; border-left: 0; border-top: 1px solid var(--line); }
  .pd-trust .pd-seal { grid-column: 1 / -1; }
}

/* ---------- 9. Помёт и карточки щенков ---------- */
.pd-litter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 18px 22px; margin-bottom: 28px;
  border: 1px solid var(--line); border-radius: var(--pd-r-card); background: var(--paper-raised); }
.pd-litter-bar__parents { display: flex; align-items: center; gap: 10px; font-weight: 600; }
/* Клички родителей — ссылки в строке: зона нажатия 44 px без сдвига строки. */
.pd-litter-bar__parents a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.pd-litter-bar__parents .pd-photo { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--paper-raised); }
.pd-litter-bar__parents .pd-photo + .pd-photo { margin-left: -18px; }
.pd-litter-bar__meta { color: var(--ink-muted); font-size: 14px; }
.pd-litter-bar__count { margin-left: auto; }
.pd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 380px)); gap: var(--space-5); }
@container (max-width: 720px) { .pd-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; } }
@container (max-width: 420px) { .pd-grid { grid-template-columns: 1fr; } }

.pd-puppy { display: flex; flex-direction: column; background: var(--paper-raised); border-radius: var(--pd-r-card); overflow: hidden;
  box-shadow: var(--shadow-card); transition: transform .25s ease; }
.pd-puppy:hover { transform: translateY(-3px); }
.pd-puppy .pd-photo { aspect-ratio: 4 / 4.4; border-radius: 0; }
.pd-puppy .pd-photo img { transition: transform .6s ease; }
.pd-puppy:hover .pd-photo img { transform: scale(1.04); }
.pd-puppy .pd-status { position: absolute; left: 14px; top: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.pd-puppy__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.pd-puppy__name { font: var(--pd-display-weight) 28px/1.05 var(--pd-display); letter-spacing: var(--pd-display-tracking); text-transform: var(--pd-display-case); }
.pd-puppy__name a { display: inline-block; padding-block: 8px; margin-block: -8px; }
[data-theme="champion"] .pd-puppy__name, [data-theme="pop"] .pd-puppy__name { font-size: 21px; }
.pd-puppy__meta { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.pd-puppy__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.pd-price { font: 700 17px/1.2 var(--font-sans); color: var(--accent-text); white-space: nowrap; }
.pd-price small { display: block; font: 500 12px/1.3 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }

.pd-puppy--home .pd-photo img { filter: grayscale(.5); }

/* ---------- 10. Родители ---------- */
.pd-parent .pd-photo { aspect-ratio: 4 / 4.6; }
.pd-parent__role { margin-top: 22px; }
.pd-parent__name { margin-top: 8px; font: var(--pd-display-weight) 40px/1 var(--pd-display); letter-spacing: var(--pd-display-tracking); text-transform: var(--pd-display-case); }
[data-theme="champion"] .pd-parent__name, [data-theme="pop"] .pd-parent__name { font-size: 28px; }
.pd-parent__titles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pd-parent__desc { margin-top: 14px; font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.pd-preview-bar__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.pd-parent dl { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 8px 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.pd-parent dt { color: var(--ink-muted); }
.pd-parent .pd-link { margin-top: 14px; font-size: 14px; }

/* ---------- 11. Как растут малыши ---------- */
.pd-timeline { display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: 0; counter-reset: step; }
.pd-timeline li { position: relative; padding: 30px 24px 0 0; border-top: 2px solid var(--line); }
.pd-timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--paper); }
.pd-section--sunk .pd-timeline li::before { box-shadow: 0 0 0 4px var(--paper-sunk); }
.pd-timeline .pd-timeline__when { margin-top: 0;  font: var(--pd-display-weight) 30px/1 var(--pd-display); letter-spacing: var(--pd-display-tracking); color: var(--accent-text); text-transform: var(--pd-display-case); }
[data-theme="champion"] .pd-timeline .pd-timeline__when, [data-theme="pop"] .pd-timeline .pd-timeline__when { font-size: 22px; }
.pd-timeline h3 { margin-top: 14px; font: 700 17px/1.3 var(--font-sans); }
.pd-timeline p { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
@container (max-width: 860px) { .pd-timeline { grid-template-columns: 1fr; gap: 0; }
  .pd-timeline li { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 28px 28px; }
  .pd-timeline li::before { top: 2px; left: -7px; } }

/* ---------- 12. Путь домой ---------- */
.pd-steps { display: grid; gap: 0; counter-reset: s; }
.pd-steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 4px 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pd-steps li:first-child { border-top: 1px solid var(--line); }
.pd-steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: var(--pd-display-weight) 32px/1 var(--pd-display); color: var(--accent-text); letter-spacing: var(--pd-display-tracking); }
[data-theme="champion"] .pd-steps li::before, [data-theme="pop"] .pd-steps li::before { font-size: 24px; }
.pd-steps h3 { font: 700 18px/1.3 var(--font-sans); }
.pd-steps p { font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.pd-included { padding: 32px; border-radius: var(--pd-r-card); background: var(--paper-raised); box-shadow: var(--shadow-card); position: sticky; top: 24px; }
.pd-included h3 { font: var(--pd-display-weight) 30px/1.05 var(--pd-display); letter-spacing: var(--pd-display-tracking); text-transform: var(--pd-display-case); margin-bottom: 20px; }
[data-theme="champion"] .pd-included h3, [data-theme="pop"] .pd-included h3 { font-size: 22px; }
.pd-included li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 10px 0; font-size: 15px; line-height: 23px; border-top: 1px solid var(--line); }
.pd-included li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--status-open-soft);
  box-shadow: inset 0 0 0 1.5px var(--status-open); }
.pd-included .pd-btn { margin-top: 22px; }

/* ---------- 13. Отзывы семей ---------- */
.pd-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-5); }
.pd-review { display: flex; flex-direction: column; gap: 22px; padding: 30px; border-radius: var(--pd-r-card); background: var(--paper-raised); box-shadow: var(--shadow-card); }
.pd-review blockquote { font: var(--pd-display-weight) 24px/1.28 var(--pd-display); letter-spacing: -.01em; }
[data-theme="champion"] .pd-review blockquote, [data-theme="pop"] .pd-review blockquote { font: 500 18px/1.45 var(--font-sans); }
[data-theme="field"] .pd-review blockquote, [data-theme="nordic"] .pd-review blockquote { font-weight: 400; text-transform: none; font-size: 20px; letter-spacing: -.01em; }
.pd-review blockquote::before { content: "«"; } .pd-review blockquote::after { content: "»"; }
.pd-review__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.pd-review__who .pd-photo { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.pd-review__who b { display: block; font-size: 15px; }
.pd-review__who span { font-size: 13px; color: var(--ink-muted); }
.pd-verified { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font-sans); color: var(--status-open); }
.pd-verified svg { width: 14px; height: 14px; }

/* ---------- 14. Вопросы ---------- */
.pd-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.pd-faq__list details { border-bottom: 1px solid var(--line); }
.pd-faq__list details:first-child { border-top: 1px solid var(--line); }
.pd-faq__list summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 72px; padding: 16px 0;
  font: 600 18px/1.35 var(--font-sans); cursor: pointer; list-style: none; }
.pd-faq__list summary::-webkit-details-marker { display: none; }
.pd-faq__list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); font: 300 22px/1 var(--font-sans); transition: transform .2s; }
.pd-faq__list details[open] summary::after { transform: rotate(45deg); }
.pd-faq__list p { padding: 0 56px 24px 0; color: var(--ink-muted); }
@container (max-width: 860px) { .pd-faq { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 14a. Дневник и результаты ---------- */
.pd-journal__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.pd-journal__item { padding: 24px 0; border-top: 1px solid var(--line); }
.pd-journal__meta, .pd-journal__feed .meta { font: 600 12px/16px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.pd-journal__item h3, .pd-journal__feed h3 { margin-top: 10px; font: 700 18px/1.35 var(--font-sans); overflow-wrap: anywhere; }
.pd-journal__item h3 a, .pd-journal__feed h3 a { color: inherit; text-decoration: none; }
.pd-journal__item h3 a:hover, .pd-journal__feed h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pd-journal__text { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.pd-journal__more { margin-top: 28px; }
.pd-journal__feed article { padding: 24px 0; border-top: 1px solid var(--line); max-width: var(--text-max); }
.pd-journal__feed article p:not(.meta) { margin-top: 8px; font-size: 15px; line-height: 24px; }
.pd-journal__feed nav { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }

/* ---------- 15. Лист ожидания / заявка ---------- */
.pd-waitlist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: center; }
.pd-waitlist h2 { font-size: calc(clamp(40px, 5.6cqi, 72px) * max(var(--pd-display-scale), .8)); }
.pd-waitlist .pd-lead { margin-top: 22px; }
.pd-waitlist__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pd-form { display: grid; gap: 14px; padding: 30px; border-radius: var(--pd-r-card); background: var(--paper-raised); color: var(--ink); box-shadow: var(--shadow-float); --focus: var(--accent); }
.pd-form h3 { font: 700 20px/1.3 var(--font-sans); }
.pd-field { display: grid; gap: 6px; font: 600 13px/1.3 var(--font-sans); }
.pd-field input, .pd-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--pd-r-field); border: 1.5px solid var(--line-strong);
  background: var(--paper-raised); color: var(--ink); font: 400 16px/1.4 var(--pd-body); }
.pd-field input::placeholder { color: var(--ink-muted); }
.pd-field input:focus { border-color: var(--ink); }
.pd-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pd-seg label { position: relative; }
.pd-seg input { position: absolute; opacity: 0; inset: 0; }
.pd-seg span { display: grid; place-items: center; min-height: 44px; border-radius: var(--pd-r-field); border: 1.5px solid var(--line-strong); font: 500 14px/1.2 var(--font-sans); cursor: pointer; }
.pd-seg input:checked + span { background: var(--ink); color: var(--paper-raised); border-color: var(--ink); }
.pd-seg input:focus-visible + span { outline: 3px solid #111216; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.pd-form__note { font-size: 12px; line-height: 18px; color: var(--ink-muted); }
@container (max-width: 860px) { .pd-waitlist { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- 16. Подвал и мобильная панель ---------- */
.pd-footer { padding-block: 64px 36px; }
.pd-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 18%, transparent); }
.pd-footer h4, .pd-footer__h { font: 600 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-deep-muted); margin-bottom: 14px; }
.pd-footer li { padding: 4px 0; }
.pd-footer a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }
.pd-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; color: var(--on-deep-muted); }
.pd-footer__base a { text-decoration: underline; text-underline-offset: 3px; }
@container (max-width: 720px) { .pd-footer__grid { grid-template-columns: 1fr; } }
.pd-actionbar { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px; border-radius: calc(var(--pd-r-btn) + 6px);
  background: var(--paper-raised); box-shadow: var(--shadow-float); border: 1px solid var(--line); }
[data-theme="nest"] .pd-actionbar, [data-theme="pop"] .pd-actionbar { border-radius: 28px; }
.pd-actionbar__note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 2px 6px 0; font-size: 13px; color: var(--ink-muted); }
.pd-actionbar__note .pd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--status-open); }

/* ======================================================================
   18. Движение. Характер у каждого шаблона свой; без JS всё видно сразу,
   при prefers-reduced-motion — без сдвигов.
   ====================================================================== */
:root, [data-theme] { --pd-dur: 1s; --pd-ease: cubic-bezier(.2, .7, .1, 1); --pd-rise: 28px; --pd-from-scale: 1; --pd-from-rot: 0deg; --pd-from-clip: inset(0 0 0 0); --pd-stagger: 90ms; }
[data-theme="atelier"] { --pd-dur: 1.15s; --pd-rise: 26px; }
[data-theme="champion"] { --pd-dur: .8s; --pd-ease: cubic-bezier(.77, 0, .18, 1); --pd-rise: 0px; --pd-from-clip: inset(0 100% 0 0); --pd-stagger: 70ms; }
[data-theme="nest"] { --pd-dur: .85s; --pd-ease: cubic-bezier(.34, 1.45, .64, 1); --pd-rise: 22px; --pd-from-scale: .94; }
[data-theme="field"] { --pd-dur: 1.1s; --pd-ease: cubic-bezier(.16, 1, .3, 1); --pd-rise: 44px; }
[data-theme="pop"] { --pd-dur: .65s; --pd-ease: cubic-bezier(.34, 1.56, .64, 1); --pd-rise: 34px; --pd-from-rot: -2.5deg; --pd-stagger: 60ms; }
[data-theme="nordic"] { --pd-dur: 1.6s; --pd-ease: cubic-bezier(.25, .1, .25, 1); --pd-rise: 10px; --pd-stagger: 140ms; }

/* Слова и обложка появляются с движением на больших экранах.
   На телефоне название, фото и кнопка видны сразу после загрузки. */
.pd-w { max-width: 100%; display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .07em .1em 0; margin: 0; }
.pd-w > span { display: inline-block; max-width: 100%; }
@media (min-width: 721px) and (prefers-reduced-motion: no-preference) {
  .pd-hero .pd-w > span { animation: pd-word calc(var(--pd-dur) * 1.15) var(--pd-ease) both; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }
  .pd-hero .pd-hero__fade { animation: pd-fade .9s var(--pd-ease) both; animation-delay: calc(var(--i, 3) * 110ms + 300ms); }
  .pd-hero .pd-photo--hero { animation: pd-curtain 1.3s cubic-bezier(.77, 0, .18, 1) .15s both; }
  .pd-hero--immersive > .pd-photo--hero { animation: none; }
  .pd-hero .pd-photo--hero img { animation: pd-zoom 2.8s cubic-bezier(.16, 1, .3, 1) .15s both; }
  .pd-hero .pd-sticker { animation: pd-sticker .9s cubic-bezier(.34, 1.56, .64, 1) 1.1s both; }
  .pd-hero .pd-inline-photo { animation: pd-window 1s cubic-bezier(.77, 0, .18, 1) both; animation-delay: calc(var(--i, 0) * 120ms + 500ms); }
}
@media (prefers-reduced-motion: no-preference) {
  /* Секции появляются при прокрутке — scroll-driven animations, без скрипта */
  @supports (animation-timeline: view()) {
    [data-reveal]:focus-within { animation: none; }
    [data-reveal] { animation: pd-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .pd-header { animation: pd-stuck linear both; animation-timeline: scroll(nearest); animation-range: 0 90px; }
  }
}
@keyframes pd-word { from { transform: translateY(108%); } }
@keyframes pd-fade { from { opacity: 0; transform: translateY(14px); } }
@keyframes pd-curtain { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pd-zoom { from { transform: scale(1.16); } }
@keyframes pd-sticker { from { transform: rotate(-60deg) scale(0); } to { transform: rotate(-9deg) scale(1); } }
@keyframes pd-window { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes pd-reveal { from { transform: translateY(var(--pd-rise)) scale(var(--pd-from-scale)) rotate(var(--pd-from-rot)); clip-path: var(--pd-from-clip); }
  to { transform: none; clip-path: inset(0 0 0 0); } }
@keyframes pd-stuck { to { box-shadow: 0 12px 30px -22px rgba(0, 0, 0, .45); } }
/* Липкая шапка */
.pd-header { position: sticky; top: 0; background: var(--paper); transition: box-shadow .3s ease, background-color .3s ease; }
.pd-header.pd-on-deep { background: var(--deep); }

/* ======================================================================
   19. Слово заводчика — главная персонализация
   ====================================================================== */
.pd-letter { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.pd-letter__portrait { position: relative; }
.pd-letter__portrait .pd-photo { aspect-ratio: 4 / 5; position: relative; z-index: 1; }
.pd-letter__portrait::before { content: ""; position: absolute; inset: 24px 0 -24px 24px; border: 1px solid var(--line-strong); border-radius: var(--pd-r-photo); }
[data-theme="nest"] .pd-letter__portrait::before, [data-theme="pop"] .pd-letter__portrait::before { border: 0; background: var(--mark); }
.pd-letter__mono { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: var(--pd-r-photo); background: var(--deep); color: var(--highlight);
  font: var(--pd-display-weight) clamp(120px, 18cqi, 220px)/1 var(--pd-display); text-transform: uppercase; position: relative; z-index: 1; }
.pd-letter__quote { font: var(--pd-display-weight) clamp(28px, 3.4cqi, 44px)/1.12 var(--pd-display); letter-spacing: var(--pd-display-tracking); text-wrap: balance; }
[data-theme="champion"] .pd-letter__quote, [data-theme="pop"] .pd-letter__quote { font-size: clamp(22px, 2.5cqi, 32px); line-height: 1.18; }
[data-theme="field"] .pd-letter__quote { text-transform: none; font-weight: 700; }
.pd-letter__quote:not(.pd-letter__quote--plain)::before { content: "“"; display: block; font: 400 1.9em/.6 var(--font-serif); color: var(--accent-text); margin-bottom: .1em; }
.pd-letter__story { margin-top: 26px; color: var(--ink-muted); max-width: var(--text-max); }
.pd-letter__story p + p { margin-top: 12px; }
.pd-letter__sign { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-letter__signature { font: italic 500 42px/1 var(--font-serif); color: var(--accent-text); letter-spacing: -.01em; }
.pd-letter__who { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.pd-letter__who b { display: block; color: var(--ink); font-size: 15px; }
@container (max-width: 860px) { .pd-letter { grid-template-columns: 1fr; gap: 48px; } .pd-letter__portrait { max-width: 420px; } }

/* ======================================================================
   20. Галерея
   ====================================================================== */
.pd-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 14cqi, 190px); gap: 12px; }
.pd-gallery figure { position: relative; overflow: hidden; border-radius: var(--pd-r-photo); background: var(--paper-sunk); grid-column: span 2; }
.pd-gallery figure:nth-child(6n + 1) { grid-column: span 3; grid-row: span 2; }
.pd-gallery figure:nth-child(6n + 2) { grid-column: span 3; }
.pd-gallery figure:nth-child(6n + 3) { grid-column: span 3; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.pd-gallery figure:hover img { transform: scale(1.05); }
.pd-gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 14px 10px; font-size: 13px; color: #fff; background: rgba(10, 16, 20, .84); opacity: 1; transition: opacity .3s; }
.pd-gallery figure:hover figcaption, .pd-gallery figure:focus-within figcaption { opacity: 1; }
[data-theme="nordic"] .pd-gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); grid-auto-rows: clamp(180px, 24cqi, 320px); gap: 4px; }
[data-theme="nordic"] .pd-gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
@container (max-width: 720px) { .pd-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .pd-gallery figure, .pd-gallery figure:nth-child(n) { grid-column: span 1; grid-row: span 1; } .pd-gallery figure:nth-child(3n + 1) { grid-column: span 2; grid-row: span 2; } }

.pd-footer .pd-footer__base a.pd-credit { color: var(--on-deep-muted); text-decoration: none; }
.pd-footer .pd-footer__base a.pd-credit:hover { text-decoration: none; }

.pd-gallery figure:nth-child(6n + 4):last-child { grid-column: 1 / -1; }
/* Хвост мозаики без пустот при любом числе фото. */
@container (min-width: 721px) {
  .pd-gallery figure:nth-child(6n + 4):nth-last-child(4), .pd-gallery figure:nth-child(6n + 5):nth-last-child(3),
  .pd-gallery figure:nth-child(6n):nth-last-child(2), .pd-gallery figure:nth-child(6n + 1):last-child:not(:first-child) { grid-column: span 3; grid-row: span 2; }
  .pd-gallery figure:nth-child(6n + 2):last-child { grid-row: span 2; }
  .pd-gallery figure:nth-child(6n + 4):nth-last-child(2), .pd-gallery figure:nth-child(6n + 5):last-child { grid-column: span 3; }
}
@container (max-width: 720px) {
  .pd-gallery figure:nth-child(n):last-child { grid-column: span 1; grid-row: span 1; }
  .pd-gallery figure:nth-child(3n + 1):last-child { grid-column: span 2; grid-row: span 2; }
  .pd-gallery figure:nth-child(3n + 2):last-child { grid-column: span 2; }
}

/* ======================================================================
   23. Сайт на Django: служебные элементы и секции с данными кабинета
   ====================================================================== */
.pd-skip { position: fixed; z-index: 100; top: -120px; left: 16px; padding: 14px 20px; background: #fff; color: #111 !important; }
.pd-skip:focus { top: 12px; }
.pd-preview-bar { position: sticky; top: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding: 8px 20px; background: #111216; color: #fff; font: 500 13px/1.4 var(--font-sans); }
.pd-preview-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.pd-preview-bar .pd-preview-bar__publish { padding: 0 16px; border-radius: 999px; background: #ff6a2a; color: #111216; text-decoration: none; font-weight: 650; }
.pd-preview-bar form { margin: 0; } .pd-preview-bar button { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 20px; background: #FF6A2A; color: #111216; font: 600 13px/1 var(--font-sans); cursor: pointer; }
.pd-studio-context { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.pd-studio-preview .pd-preview-bar__publish { gap: 6px; }
@media (max-width: 560px) {
  .pd-studio-preview { position: relative; gap: 0 12px; padding: 2px 16px 8px; }
  .pd-studio-context, .pd-studio-preview .pd-preview-bar__actions { width: 100%; justify-content: space-between; }
}
.pd-preview-bar ~ .pd-header { position: relative; top: auto; }
.pd-person-notice { margin: 0; padding: 12px 20px; background: var(--status-reserved-soft); color: var(--status-reserved); font-size: 14px; text-align: center; text-wrap: balance; }
.pd-prose p + p { margin-top: 10px; }
.pd-dogs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 48px; }
.pd-dogs:has(> :nth-child(4)) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.pd-dogs .pd-photo { aspect-ratio: 4 / 4.6; }
.pd-parent dl:empty { display: none; }
.pd-parent-titles { display: grid; gap: 6px; margin: -12px 0 24px; font-size: 14px; color: var(--ink-muted); }
.pd-parent-titles b { color: var(--ink); }
.pd-litter-bar + .pd-litter-bar { margin-top: -16px; }
.pd-empty { display: grid; gap: 14px; justify-items: start; padding: clamp(20px, 4cqi, 40px); border-radius: var(--pd-r-card); background: var(--paper-raised); box-shadow: var(--shadow-card); }
.pd-empty h3 { font-size: clamp(28px, 5cqi, 40px); }
.pd-letter__sub { margin: 22px 0 8px; font: 700 15px/1.3 var(--font-sans); color: var(--ink); }
.pd-conditions { margin-top: 28px; padding: 24px; border-radius: var(--pd-r-card); background: var(--paper-sunk); font-size: 15px; }
.pd-conditions h3 { font: 700 15px/1.3 var(--font-sans); margin: 14px 0 4px; } .pd-conditions h3:first-child { margin-top: 0; }
.pd-breed-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; font-size: 14px; color: var(--ink-muted); }
.pd-breed-links p { flex-basis: 100%; }
.pd-decoration { margin-top: 28px; } .pd-decoration img { border-radius: var(--pd-r-photo); } .pd-decoration figcaption { font-size: 12px; color: var(--ink-muted); margin-top: 6px; }
.pd-timeline .pd-prose { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.pd-services li { grid-template-columns: 64px 1fr auto; }
.pd-services .pd-price { grid-column: 3; grid-row: 1 / span 2; align-self: center; text-align: right; }
.pd-reach-line { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pd-reach-line span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.pd-reach-line strong { font-size: 18px; }
.pd-contact-link svg { width: 16px; height: 16px; margin-right: 6px; flex: none; }
.pd-chip.pd-contact-link { gap: 4px; }
.pd-footer__note { margin-top: 16px; font-size: 14px; color: var(--on-deep-muted); }
.pd-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
@container (max-width: 720px) { .pd-services li { grid-template-columns: 48px 1fr; } .pd-services .pd-price { grid-column: 2; grid-row: auto; text-align: left; } }
/* Без атрибутов style: собственный домен питомника запрещает их политикой CSP. */
[data-i="0"] { --i: 0; } [data-i="1"] { --i: 1; } [data-i="2"] { --i: 2; } [data-i="3"] { --i: 3; } [data-i="4"] { --i: 4; } [data-i="5"] { --i: 5; }
[data-i="6"] { --i: 2; } [data-i="7"] { --i: 3; } [data-i="8"] { --i: 4; } [data-i="9"] { --i: 2; } [data-i="10"] { --i: 3; } [data-i="11"] { --i: 4; }
.pd-timeline[data-steps="1"] { --steps: 1; } .pd-timeline[data-steps="2"] { --steps: 2; } .pd-timeline[data-steps="3"] { --steps: 3; } .pd-timeline[data-steps="4"] { --steps: 4; }
.pd-mt-6 { margin-top: 6px; } .pd-mt-8 { margin-top: 8px; } .pd-mt-22 { margin-top: 22px; } .pd-mt-28 { margin-top: 28px; }
.pd-mb-18 { margin-bottom: 18px; } .pd-mb-22 { margin-bottom: 22px; } .pd-mb-24 { margin-bottom: 24px; }
.pd-care-litter { margin: 28px 0 18px; }
.pd-puppy__media { position: relative; }
.pd-puppy__media > a.pd-photo { display: block; aspect-ratio: 4 / 4.4; border-radius: 0; }
.pd-puppy__media > a.pd-photo:focus-visible { outline: none; }
.pd-puppy__media > a.pd-photo:focus-visible::after { content: ""; position: absolute; inset: 3px; border: 3px solid #111216; box-shadow: 0 0 0 3px #fff; pointer-events: none; }
a.pd-avail:hover { box-shadow: var(--shadow-float); }
.pd-footer .pd-contact-link { display: inline-flex; align-items: center; }
.pd-litter-bar__parents a { text-decoration: underline; text-underline-offset: 3px; }
/* Телефон: связь под пальцем до раздела контактов, без перекрытия подвала. */
.pd-mobile-bar { display: none; }
@media (max-width: 720px) {
  .pd-mobile-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 10px; padding: 8px;
    border-radius: calc(var(--pd-r-btn) + 8px); background: var(--paper-raised); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
  [data-theme="nest"] .pd-mobile-bar, [data-theme="pop"] .pd-mobile-bar { border-radius: 30px; }
  .pd-mobile-bar .pd-btn--primary { flex: 1 1 160px; } .pd-mobile-bar .pd-btn { min-height: 48px; padding-inline: 16px; }
  .pd-site:has(#contact:target) .pd-mobile-bar, .pd-site:has(#contact:focus-within) .pd-mobile-bar { visibility: hidden; }
  @supports (animation-timeline: view()) {
    .pd-site { timeline-scope: --pd-contact, --pd-footer; }
    #contact { view-timeline-name: --pd-contact; }
    .pd-footer { view-timeline-name: --pd-footer; }
    .pd-mobile-bar { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); margin: 0;
      animation: pd-hide-bar 1s step-end, pd-hide-bar 1s step-end;
      animation-timeline: --pd-contact, --pd-footer; animation-range: entry 0% exit 100%; }
  }
}
@keyframes pd-hide-bar { from, to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .pd *, .pd *::before, .pd *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pd-btn:hover, .pd-puppy:hover, .pd-puppy:hover .pd-photo img, .pd-gallery figure:hover img { transform: none; }
  /* Скрытие панели — доступность, а не движение; без него панель остаётся в потоке. */
  .pd-mobile-bar { position: static; margin: 12px 10px; }
}
@container (max-width: 520px) {
  .pd-header__row > .pd-btn { display: none; }
  .pd-brand__name { font-size: 18px; }
  .pd-hero__actions .pd-btn { width: 100%; }
}
