/* Pegasus Great Danes — design system
   Warm ivory paper, charcoal ink, antique brass. Newsreader for display, Source Sans 3 for reading,
   Parisienne for a single handwritten accent. */

:root {
  --paper: #fbf8f2;
  --ivory: #f4eee3;
  --sand: #e9e0d0;
  --line: #ddd2bf;
  --ink: #1b1e1c;
  --ink-soft: #4a4f4b;
  --muted: #6a6d68;
  --forest: #3a3226;      /* warm dark brown for links and ghost buttons */
  --forest-deep: #26211a;
  --night: #1b1916;
  --night-2: #25221e;
  --brass: #7d6536;        /* text-safe on paper and ivory */
  --brass-btn: #8b7344;    /* button fill, 4.5:1 with white */
  --brass-btn-hover: #776033;
  --brass-light: #a08350;  /* large numerals and rules */
  --brass-bright: #c6a668; /* on dark */
  --on-dark: #eee8dc;
  --on-dark-soft: #b9b4a9;

  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Parisienne", "Snell Roundhand", cursive;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 9vw, 128px);
  --radius: 2px;
  --shadow: 0 1px 2px rgb(27 30 28 / 6%), 0 8px 24px rgb(27 30 28 / 8%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: var(--brass-bright); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); }
.small { font-size: 0.9rem; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9em;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass);
  margin: 0 0 1.4rem;
}
.eyebrow::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { content: ""; width: 48px; height: 1px; background: currentColor; opacity: 0.7; }
.on-dark .eyebrow, .hero .eyebrow { color: var(--brass-bright); }

.rule { width: 72px; height: 2px; background: var(--brass); border: 0; margin: 1.6rem 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 760px; }
.section { padding-block: var(--section); }
.section.tight { padding-block: calc(var(--section) * 0.6); }
.section.ivory { background: var(--ivory); }
.on-dark { background: var(--night); color: var(--on-dark); }
.on-dark .lede, .on-dark .muted { color: var(--on-dark-soft); }
.on-dark a { color: var(--on-dark); }
.center { text-align: center; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }

.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 48px; padding: 0.8em 1.6em;
  font: 600 0.98rem/1.2 var(--font-body); letter-spacing: 0.02em;
  border: 1px solid var(--brass-btn); border-radius: var(--radius);
  background: var(--brass-btn); color: #fff; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--brass-btn-hover); border-color: var(--brass-btn-hover); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn.ghost:hover { background: var(--forest); color: #fff; }
.btn.brass { background: var(--brass-bright); border-color: var(--brass-bright); color: var(--night); }
.btn.brass:hover { background: #d8bb80; border-color: #d8bb80; }
.btn.light { background: transparent; border-color: rgb(238 232 220 / 55%); color: var(--on-dark); }
.btn.light:hover { background: var(--on-dark); color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--forest); display: inline-flex; gap: 0.5em; align-items: center; }
.link-arrow:hover { text-decoration: underline; }
.on-dark .link-arrow { color: var(--brass-bright); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(251 248 242 / 94%); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { width: 64px; height: auto; flex: none; }
.brand .mirror { display: flex; transform: scaleX(-1); }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1; padding-bottom: 8px; border-bottom: 1px solid var(--brass-light); }
.brand-name { font-family: var(--font-display); font-size: 1.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); font-weight: 400; }
.brand-sub { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-top: 2px; }
.nav ul { list-style: none; display: flex; gap: clamp(16px, 2.2vw, 34px); margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 0.98rem; color: var(--ink-soft); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); }
.header-cta { min-height: 44px; padding: 0.6em 1.2em; }
.menu-toggle { display: none; flex: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: 92px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav li a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav .mobile-cta { display: block; margin-top: 16px; }
  .nav .mobile-cta a { border: 0; }
}
@media (min-width: 1021px) { .nav .mobile-cta { display: none; } }
@media (max-width: 1180px) and (min-width: 1021px) { .brand .mirror { display: none; } }
@media (max-width: 560px) {
  .site-header .wrap { min-height: 76px; gap: 12px; }
  .nav { inset: 76px 0 auto 0; }
  .brand { gap: 6px; } .brand svg { width: 40px; } .brand .mirror { display: none; }
  .brand-name { font-size: 1.3rem; } .brand-sub { font-size: 0.92rem; } .brand-text { padding-bottom: 5px; }
}

/* Hero */
.hero { position: relative; background: var(--night); color: var(--on-dark); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(86vh, 820px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 8vw, 112px) clamp(24px, 5vw, 72px) clamp(56px, 8vw, 112px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 12ch; }
.hero .lede { color: var(--on-dark-soft); max-width: 36ch; margin-bottom: 2rem; }
.hero-media { position: relative; min-height: 420px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgb(21 25 23 / 0%) 28%); z-index: 1; pointer-events: none; }
.hero-caption { position: absolute; right: 20px; bottom: 16px; z-index: 2; font-size: 0.78rem; letter-spacing: 0.08em; color: rgb(238 232 220 / 75%); text-align: right; }
.hero-caption strong { color: #fff; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgb(238 232 220 / 18%); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-soft); list-style: none; padding-left: 0; }
.hero-proof li::before { content: "◆"; color: var(--brass-bright); font-size: 0.6em; margin-right: 0.8em; vertical-align: 0.2em; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; min-height: 0; aspect-ratio: 4 / 3.4; }
  .hero-media::before { background: linear-gradient(0deg, var(--night) 0%, rgb(21 25 23 / 0%) 35%); }
  .hero-copy { padding: 8px var(--gutter) 56px; }
  .hero-caption { right: var(--gutter); bottom: auto; top: 14px; }
}

/* Page hero (interior) */
.page-hero { background: var(--ivory); border-bottom: 1px solid var(--line); padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 60ch; }
.page-hero.dark { background: var(--night); color: var(--on-dark); border: 0; }
.page-hero.dark h1 { color: #fff; }
.page-hero.dark .lede { color: var(--on-dark-soft); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: inherit; }
.page-hero.dark .breadcrumb { color: var(--on-dark-soft); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); border-bottom: 1px solid var(--line); background: var(--paper); max-width: var(--wrap); margin-inline: auto; }
.stats-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-band .stats { border-bottom: 0; }
.stat { text-align: center; padding: clamp(28px, 4vw, 44px) 12px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 3.9rem); line-height: 1; color: var(--brass-light); }
.stat-label { display: block; margin-top: 12px; font-size: 1.15rem; color: var(--ink); }
@media (max-width: 560px) { .stat { padding: 22px 6px; } .stat-label { font-size: 0.92rem; } }

.credential-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding: 20px var(--gutter); background: var(--ivory); border-bottom: 1px solid var(--line); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); list-style: none; margin: 0; }
.credential-strip li { display: flex; align-items: center; gap: 10px; }
.credential-strip li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--brass); }

/* Split layouts */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split.reverse > :first-child { order: 2; }
.split figure { margin: 0; }
@media (max-width: 860px) { .split, .split.wide-media { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.frame { position: relative; }
.frame img { width: 100%; }
.frame.portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.frame.landscape img { aspect-ratio: 3 / 2; object-fit: cover; }
.frame.offset::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brass); z-index: -1; }
figcaption, .caption { font-size: 0.85rem; color: var(--muted); margin-top: 12px; line-height: 1.45; }
.on-dark figcaption { color: var(--on-dark-soft); }
.credit { font-size: 0.75rem; color: var(--muted); }

/* Legacy (father / son) */
.legacy { max-width: 900px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.legacy figure { margin: 0; }
.legacy .frame img { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 25%; }
.legacy-link { display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-soft); }
.legacy-link span.line { width: 1px; height: 64px; background: var(--brass); }
.legacy figcaption { text-align: center; margin-top: 18px; color: var(--ink); font-size: 1rem; }
.legacy figcaption strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; display: block; }
.legacy figcaption span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 760px) { .legacy { grid-template-columns: 1fr; } .legacy-link { flex-direction: row; } .legacy-link span.line { width: 48px; height: 1px; } }

/* Quote */
.quote { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.3; font-style: italic; margin: 0; }
.quote-attr { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-top: 1.4rem; display: block; font-style: normal; font-family: var(--font-body); }
.on-dark .quote-attr { color: var(--brass-bright); }
.breeder-voice { border-left: 2px solid var(--brass); padding-left: clamp(18px, 3vw, 32px); }
.breeder-voice p { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.55; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 32px clamp(16px, 2vw, 28px) 8px 0; }
.pillar + .pillar { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.pillar .num { font-family: var(--font-display); color: var(--brass); font-size: 1rem; letter-spacing: 0.1em; }
.pillar h3 { margin-top: 10px; }
.pillar p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar:nth-child(3) { padding-left: 0; border-left: 0; } .pillar:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Cards */
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }

.dog-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.dog-card .media { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; }
.dog-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.6s ease; }
.dog-card:hover .media img { transform: scale(1.03); }
.dog-card .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: color-mix(in srgb, var(--forest) 35%, transparent); }
.dog-card .placeholder svg { width: 46%; }
.dog-card .body { padding: 18px 2px 4px; }
.dog-card h3 { margin: 0 0 4px; font-size: 1.6rem; }
.dog-card .reg { font-size: 0.86rem; color: var(--muted); line-height: 1.4; margin-bottom: 8px; }
.dog-card .summary { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }
.dog-card .tag { position: absolute; left: 12px; top: 12px; background: rgb(21 25 23 / 78%); color: #fff; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 9px; }
.dog-card.compact .media { aspect-ratio: 1; }
.dog-card.compact h3 { font-size: 1.3rem; }

.card { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); }
.on-dark .card { background: var(--night-2); border-color: rgb(238 232 220 / 12%); }

/* Litters */
.litter { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border: 1px solid var(--line); background: var(--paper); }
.litter + .litter { margin-top: 28px; }
.litter .media { background: var(--sand); }
.litter .media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.litter .body { padding: clamp(24px, 3.5vw, 44px); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: var(--ivory); border: 1px solid var(--line); color: var(--ink-soft); margin-bottom: 18px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.status.pending::before { background: #b9873a; }
.status.planned::before { background: #5b7a5e; }
.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.parents dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.parents dd { margin: 0; }
.parents .call { font-family: var(--font-display); font-size: 1.4rem; display: block; }
.parents .reg { font-size: 0.86rem; color: var(--muted); display: block; line-height: 1.4; }
.parents .chic { font-size: 0.82rem; color: var(--ink-soft); display: block; margin-top: 6px; }
.puppy-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.puppy-row figure { margin: 0; }
.puppy-row img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.puppy-row figcaption { font-size: 0.78rem; text-align: center; margin-top: 4px; }
.updated { font-size: 0.82rem; color: var(--muted); }
.on-dark .status { background: transparent; border-color: rgb(238 232 220 / 25%); color: var(--on-dark); }
.litter-brief { margin-bottom: 28px; }
.litter-brief h3 { margin-bottom: 6px; }
.litter-brief p { margin: 0; }
@media (max-width: 860px) { .litter { grid-template-columns: 1fr; } .litter .media img { max-height: 380px; } }
@media (max-width: 480px) { .parents { grid-template-columns: 1fr; } .puppy-row { grid-template-columns: repeat(3, 1fr); } }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 28px 24px 12px 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 2rem; color: var(--brass); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--ink-soft); font-size: 1rem; }
.on-dark .steps { border-color: rgb(238 232 220 / 18%); }
.on-dark .steps li::before { color: var(--brass-bright); }
.on-dark .steps p { color: var(--on-dark-soft); }

/* Results */
.results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.results li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px 28px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.results .when { font-family: var(--font-display); font-size: 1.2rem; color: var(--brass); }
.results .what { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.3; }
.results .where { display: block; font-family: var(--font-body); font-size: 0.92rem; color: var(--muted); margin-top: 2px; }
.results .who a { font-weight: 600; color: var(--forest); text-decoration: none; white-space: nowrap; }
.results .who a:hover { text-decoration: underline; }
.on-dark .results, .on-dark .results li { border-color: rgb(238 232 220 / 14%); }
.on-dark .results .when { color: var(--brass-bright); }
.on-dark .results .who a { color: var(--brass-bright); }
@media (max-width: 640px) { .results li { grid-template-columns: 1fr; gap: 4px; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 112px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 0 40px; padding: 0 0 36px; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 108px; top: 10px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--brass); }
.timeline .yr { font-family: var(--font-display); font-size: 1.15rem; color: var(--brass); text-align: right; padding-right: 20px; }
.timeline h3 { font-size: 1.35rem; margin-bottom: 4px; }
.timeline p { color: var(--ink-soft); margin: 0; }
@media (max-width: 560px) { .timeline::before { left: 4px; } .timeline li { grid-template-columns: 1fr; padding-left: 28px; } .timeline li::after { left: 0; } .timeline .yr { text-align: left; padding: 0; } }

/* Lineage diagram */
.lineage { display: grid; gap: 0; justify-items: center; }
.lineage .gen { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lineage .node { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; min-width: 220px; }
.lineage .node:hover { border-color: var(--brass); }
.lineage .node img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.lineage .node .n { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; display: block; }
.lineage .node .r { font-size: 0.78rem; color: var(--muted); display: block; }
.lineage .join { width: 1px; height: 28px; background: var(--brass); }
.lineage .label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin: 6px 0 8px; }

/* Dog profile */
.profile-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--night); color: var(--on-dark); }
.profile-hero .media { position: relative; min-height: 460px; background: var(--night-2); }
.profile-hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.profile-hero .media .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(238 232 220 / 18%); }
.profile-hero .media .placeholder svg { width: 40%; }
.profile-hero .copy { padding: clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.profile-hero h1 { color: #fff; font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 0.2em; }
.profile-hero .reg { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--on-dark-soft); line-height: 1.4; }
.profile-hero .summary { margin-top: 1.4rem; font-size: 1.15rem; color: var(--on-dark); max-width: 44ch; }
.profile-hero .breadcrumb { color: var(--on-dark-soft); }
@media (max-width: 860px) { .profile-hero { grid-template-columns: 1fr; } .profile-hero .media { min-height: 0; aspect-ratio: 4 / 3.6; } .profile-hero .copy { padding: 36px var(--gutter) 48px; } }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 0; border-top: 1px solid var(--line); margin: 0 0 2rem; }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.facts dd { margin: 4px 0 0; font-size: 1rem; }
.facts dd a { color: var(--forest); font-weight: 600; }
.highlights { list-style: none; padding: 0; margin: 0 0 2rem; }
.highlights li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.highlights li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--brass); }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); }
@media (max-width: 900px) { .profile-layout { grid-template-columns: 1fr; } }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.thumbs a { display: block; background: var(--sand); }
.thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* Gallery */
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; }
.masonry a { display: block; }
.masonry figcaption { margin-top: 6px; }

/* Credentials */
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.badge-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); background: var(--paper); }
.badge-card .logo { height: 72px; display: flex; align-items: center; }
.badge-card .logo img { max-height: 72px; width: auto; }
.badge-card h3 { font-size: 1.25rem; margin: 0; }
.badge-card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* Glossary */
.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 40px; margin: 0; }
.glossary div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 600; }
.glossary dt abbr { text-decoration: none; font-family: var(--font-display); font-size: 1.2rem; color: var(--brass); margin-right: 8px; }
.glossary dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.98rem; }

.roll { columns: 2 340px; column-gap: 48px; list-style: none; padding: 0; margin: 0; }
.roll li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); }
.roll .call { font-family: var(--font-display); font-size: 1.25rem; }
.roll .reg { display: block; font-size: 0.88rem; color: var(--muted); }
.roll a { text-decoration: none; }
.roll a:hover .call { text-decoration: underline; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--font-display); font-size: 1.3rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--font-body); font-size: 1.6rem; color: var(--brass); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; color: var(--ink-soft); max-width: 68ch; }

/* Forms */
.form { display: grid; gap: 28px; }
.form fieldset { border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); margin: 0; background: var(--paper); }
.form legend { font-family: var(--font-display); font-size: 1.4rem; padding: 0 8px; margin-left: -8px; }
.field { display: grid; gap: 6px; margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
.field label, .field .label { font-weight: 600; }
.field .hint { font-size: 0.9rem; color: var(--muted); margin-top: -2px; }
.req { color: var(--brass); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #b9ae9b; border-radius: var(--radius);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.choices label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 1px solid #c9bfae; border-radius: 99px; background: #fff; font-weight: 400; cursor: pointer; }
.choices input { width: 18px; height: 18px; accent-color: var(--brass-btn); margin: 0; }
.choices label:has(input:checked) { border-color: var(--brass-btn); background: color-mix(in srgb, var(--brass-btn) 10%, #fff); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brass-btn); flex: none; }
.hp { display: none; }

/* CTA band */
.cta-band { background: var(--night); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(48px, 7vw, 88px); }
.cta-band h2 { color: #fff; margin: 0 0 0.3em; }
.cta-band p { color: rgb(255 255 255 / 80%); margin: 0; max-width: 52ch; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-dark-soft); padding-block: 72px 32px; font-size: 0.95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand { color: var(--on-dark); display: flex; gap: 14px; align-items: center; margin-bottom: 18px; text-decoration: none; }
.footer-brand svg { width: 48px; color: var(--brass-bright); }
.footer-brand span { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-bright); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(238 232 220 / 12%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; letter-spacing: 0.06em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Prose (archive / long text) */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.8rem; margin-top: 2em; }
.prose p { font-size: 1.1rem; }
.notice { border: 1px solid var(--line); border-left: 3px solid var(--brass); background: var(--ivory); padding: 18px 22px; margin: 0 0 2rem; }
.notice p:last-child { margin: 0; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.subnav a { font-size: 0.9rem; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; background: var(--paper); }
.subnav a:hover { border-color: var(--brass); }
.page-hero.dark .subnav a { background: transparent; border-color: rgb(238 232 220 / 25%); }
.more { margin: 36px 0 0; }
.name-mark { max-width: 280px; margin-inline: auto; color: var(--ink); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.photos-head { margin-top: 56px; }
.results.compact li { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
.results.compact .when { font-size: 1rem; }
.results.compact .what { font-size: 1.15rem; }
.results.compact .who { display: none; }
.choices-group { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.choices-group > legend { padding: 0; margin-bottom: 8px; font-family: var(--font-body); font-size: 1rem; }
.litter .media.contain { background: var(--night); display: flex; align-items: center; }
.litter .media.contain img { object-fit: contain; height: auto; min-height: 0; }
.puppy-row + .updated { margin-top: 16px; }
@media (max-width: 860px) {
  .frame.offset::after { display: none; }
  .hero .eyebrow::after { display: none; }
  .hero-caption { top: auto; bottom: 12px; }
}
.form .choices-group { border: 0; padding: 0; background: none; }
.split.top { align-items: start; }

/* ---------- Light photographic hero (home + interior pages) ---------- */
.hero-light { position: relative; display: flex; align-items: center; min-height: min(80vh, 700px); background: var(--paper); overflow: hidden; }
.hero-light .hero-photo { position: absolute; inset: 0; }
.hero-light .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 60%); }
.hero-light .hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgb(251 248 242 / 62%) 0%, rgb(251 248 242 / 38%) 30%, rgb(251 248 242 / 0%) 55%); }
.hero-light .hero-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 18%; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgb(251 248 242 / 55%), transparent); }
.hero-light .wrap { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 104px); }
.hero-text { max-width: 780px; }
.hero-light h1 { font-size: clamp(2.6rem, 4.7vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; margin: 0; }
.hero-light h1 .line { display: block; }
@media (max-width: 1100px) { .hero-light h1 .line { display: inline; } .hero-light h1 { max-width: 13ch; } }
.hero-light .rule { width: 108px; margin: 28px 0 26px; background: var(--brass-light); }
.hero-light .lede { font-size: clamp(1.2rem, 1.7vw, 1.55rem); color: var(--ink); max-width: 30ch; margin-bottom: 2rem; }
.hero-light .breadcrumb { margin-bottom: 1rem; }
.hero-script { position: absolute; right: clamp(20px, 5vw, 72px); bottom: clamp(28px, 5vw, 64px); z-index: 2; margin: 0;
  font-family: var(--font-script); font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.05; color: var(--ink); text-align: center; transform: rotate(-8deg);
  text-shadow: 0 0 18px rgb(251 248 242 / 85%); }
.hero-script::after { content: ""; display: block; width: 44px; height: 2px; background: var(--brass-light); margin: 12px auto 0; }
.page-hero-photo { min-height: min(56vh, 520px); }
.page-hero-photo .hero-photo { left: auto; width: 52%; }
.page-hero-photo .hero-photo::before { background: linear-gradient(90deg, var(--paper) 0%, rgb(251 248 242 / 70%) 16%, rgb(251 248 242 / 0%) 50%); }
.page-hero-photo h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 14ch; }
.page-hero-photo .lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-soft); max-width: 46ch; margin-bottom: 0; }
@media (max-width: 860px) {
  .hero-light { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-light .hero-photo { position: relative; width: 100%; aspect-ratio: 4 / 3.4; }
  .hero-light .hero-photo::before { background: linear-gradient(0deg, var(--paper) 0%, rgb(251 248 242 / 0%) 34%); }
  .hero-light .hero-photo::after { display: none; }
  .hero-light .wrap { padding-block: 4px 48px; }
  .hero-script { display: none; }
  .page-hero-photo .hero-photo { width: 100%; aspect-ratio: 16 / 10; }
}

/* Short brass rule above a heading, as in the editorial sections */
.kicker { display: block; width: 60px; height: 2px; background: var(--brass-light); margin-bottom: 22px; }
.title-xl { font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; }

/* Image column that bleeds to the viewport edge */
.split .bleed-right { margin: 0 calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2)) 0 0; }
.bleed-right img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: var(--focus, 50% 0%); }
@media (max-width: 860px) { .split .bleed-right { margin: 0 calc(-1 * var(--gutter)); } }
