/* Young Gun Retrievers
   ---------------------------------------------------------------------------
   Direction: marsh water and paperwork. Deep wet green-black for the field,
   warm canvas panels for anything that is a *record* — the dog cards, the
   pedigree, the clearances. A working retriever kennel lives on documents:
   registration numbers, OFA results, pedigree certificates, hunt-test ribbons.
   So the site is built like a stud card, not a brochure.

   Type: Bitter (slab serif) carries the names and headings — it reads stamped
   rather than fashionable. Source Sans 3 for body. IBM Plex Mono for anything
   registered, dated or numbered.
   -------------------------------------------------------------------------- */

:root {
  --marsh:      #10201A;
  --marsh-2:    #172C23;
  --marsh-3:    #21382C;
  --line:       #2F4437;

  --canvas:     #EFE9DA;
  --canvas-2:   #E1D9C5;
  --canvas-3:   #C9BEA3;

  --rust:       #A8482A;
  --rust-hi:    #C4643F;
  --water:      #6E8F94;
  --wheat:      #D8C48E;

  --on-dark:    #E9E3D4;
  --on-dark-mut:#94A395;
  --on-light:   #1C241E;
  --on-light-mut:#5E6A61;

  --display: 'Bitter', Georgia, serif;
  --body:    'Source Sans 3', system-ui, -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --wrap: 1160px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --r: 2px;
}

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

body {
  margin: 0;
  background: var(--marsh);
  color: var(--on-dark);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--wheat); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--wheat); color: var(--marsh); padding: .7rem 1.2rem; font-weight: 700; }
.skip:focus { left: 0; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; }

.eyebrow {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--wheat); margin: 0 0 .9rem; font-weight: 600;
}
.lede { font-size: 1.1rem; color: var(--on-dark-mut); max-width: 52ch; }

/* --------------------------------------------------------------- masthead -- */

.masthead { background: var(--marsh); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.masthead-in {
  max-width: var(--wrap); margin: 0 auto; padding: .9rem var(--pad);
  display: flex; align-items: center; gap: 1.5rem;
}
.mark { width: 42px; height: 42px; color: var(--wheat); flex: none; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-txt { display: grid; line-height: 1; font-family: var(--display); }
.brand-txt b { font-size: 1.22rem; font-weight: 800; letter-spacing: .01em; }
.brand-txt i { font-style: normal; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--wheat); margin-top: .25rem; }

.motto {
  margin: 0 0 0 auto; text-align: right; font-family: var(--display);
  font-style: italic; font-size: .96rem; color: var(--on-dark-mut);
}
.motto em { display: block; font-style: normal; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .2rem; }

.nav { border-top: 1px solid var(--line); background: var(--marsh-2); }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: flex; flex-wrap: wrap; gap: .2rem; }
.nav a {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-mut); text-decoration: none; padding: .8rem .9rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--on-dark); }
.nav a[aria-current="page"] { color: var(--wheat); border-bottom-color: var(--rust); }

.nav-toggle { display: none; width: 42px; height: 36px; background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; padding: 8px 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--on-dark); margin: 4px 0; }

/* ---------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--mono); font-size: .76rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; padding: .85rem 1.5rem; border: 1px solid transparent;
  border-radius: var(--r); text-decoration: none; cursor: pointer; transition: background .15s, color .15s;
}
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-hi); }
.btn-ghost { border-color: var(--line); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--wheat); color: var(--wheat); }
.btn-dark { background: var(--marsh); color: var(--on-dark); border-color: var(--marsh); }
.btn-dark:hover { background: var(--marsh-3); }
.btn-light { background: var(--marsh); color: var(--canvas); }
.btn-light:hover { background: var(--marsh-3); }
.btn-block { width: 100%; }

/* ------------------------------------------------ SIGNATURE: titled names -- */
/* Prefix titles / registered name / suffix titles, ruled like a certificate. */

.dogname { display: block; font-family: var(--display); line-height: 1.12; }
.dn-pre, .dn-suf {
  font-family: var(--mono); font-weight: 600; letter-spacing: .12em;
  color: var(--rust-hi); text-transform: uppercase;
}
.dn-reg { font-weight: 700; }

.dogname.is-lg { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.dogname.is-lg .dn-pre, .dogname.is-lg .dn-suf { font-size: .38em; vertical-align: .42em; }
.dogname.is-md { font-size: 1.35rem; }
.dogname.is-md .dn-pre, .dogname.is-md .dn-suf { font-size: .55em; vertical-align: .18em; }
.dogname.is-sm { font-size: 1rem; }
.dogname.is-sm .dn-pre, .dogname.is-sm .dn-suf { font-size: .68em; vertical-align: .1em; }

.sec-light .dn-pre, .sec-light .dn-suf { color: var(--rust); }

/* title ladders */
.ladders { display: grid; gap: .45rem; }
.ladder { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.ladder-org { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; color: var(--on-dark-mut); width: 2.6rem; }
.sec-light .ladder-org { color: var(--on-light-mut); }
.ladder-steps { display: flex; gap: .3rem; }
.rung {
  font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .08em;
  padding: .2rem .5rem; border: 1px solid var(--line); border-radius: 100px;
  color: var(--on-dark-mut);
}
.sec-light .rung { border-color: var(--canvas-3); color: var(--on-light-mut); }
.rung.is-held { background: var(--rust); border-color: var(--rust); color: #fff; }

/* ------------------------------------------------------------------ hero -- */

.hero.is-bg {
  display: grid; align-items: center;
  min-height: clamp(420px, 64vh, 660px);
  border-bottom: 1px solid var(--line);
}
.hero-bg-in { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) var(--pad); }
.hero.is-bg .lede { color: var(--on-dark); }

.hero { position: relative; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--marsh-2), var(--marsh)); }
.hero-in { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--pad); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 800; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--wheat); }
.hero .lede { margin: 1.4rem 0 2rem; font-size: 1.15rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-img { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--marsh-3); aspect-ratio: 4/3; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img.is-empty { display: grid; place-items: center; color: var(--on-dark-mut); font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 2rem; }

/* --------------------------------------------------------------- sections -- */

.sec { padding: clamp(3rem, 7vw, 5rem) 0; }
.sec-light { background: var(--canvas); color: var(--on-light); }
.sec-light h1, .sec-light h2, .sec-light h3 { color: var(--on-light); }
.sec-light .lede, .sec-light p { color: var(--on-light-mut); }
.sec-light .eyebrow { color: var(--rust); }
.sec-alt { background: var(--marsh-2); }

.sec-hd { margin-bottom: 2.4rem; }
.sec-hd h2 { font-size: clamp(2rem, 4.6vw, 2.9rem); }
.sec-hd p { margin: .8rem 0 0; max-width: 56ch; }
.sec-hd.is-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }

.page-hd { background: linear-gradient(180deg, var(--marsh-2), var(--marsh)); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hd h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
.page-hd p { margin: 1rem 0 0; color: var(--on-dark-mut); max-width: 58ch; font-size: 1.06rem; }

.longform { max-width: 68ch; }
.longform p { margin: 0 0 1.15rem; }

/* --------------------------------------------------------------- dog card -- */

.dog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }

.dogcard {
  background: var(--canvas); color: var(--on-light); border-radius: var(--r);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  border: 1px solid var(--canvas-3); transition: transform .16s ease, box-shadow .16s ease;
}
.dogcard:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.dogcard-img { aspect-ratio: 4/3; background: var(--canvas-2); overflow: hidden; }
.dogcard-img img { width: 100%; height: 100%; object-fit: cover; }
.dogcard-img.is-empty { display: grid; place-items: center; color: var(--canvas-3); font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.dogcard-bd { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.dogcard .dn-pre, .dogcard .dn-suf { color: var(--rust); }
.dogcard-call { font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--on-light); }
.dogcard-meta {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-light-mut); display: flex; flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid var(--canvas-3); padding-top: .6rem; margin-top: auto;
}
.dogcard-meta span:not(:last-child)::after { content: " ·"; }

.rolechip {
  position: absolute; margin: .7rem; font-family: var(--mono); font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase; background: var(--marsh);
  color: var(--wheat); padding: .25rem .6rem; border-radius: 100px;
}
.dogcard-imgwrap { position: relative; }

/* ------------------------------------------------------------ dog profile -- */
/* Laid out like a stud card: portrait, ruled identity block, boxed records. */

.dogpro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.dogpro-gallery { display: grid; gap: .6rem; }
.dogpro-hero { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--marsh-3); aspect-ratio: 4/3; }
.dogpro-hero img { width: 100%; height: 100%; object-fit: cover; }
.dogpro-hero.is-empty { display: grid; place-items: center; color: var(--on-dark-mut); font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.dogpro-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; }
.dogpro-thumbs a { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; aspect-ratio: 1; }
.dogpro-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.idblock { border-top: 2px solid var(--rust); padding-top: 1.2rem; }
.idblock .callname { font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--wheat); margin: .6rem 0 0; }

.factgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; margin: 1.8rem 0; border: 1px solid var(--line); }
.fact { padding: .8rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact dt { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mut); }
.fact dd { margin: .25rem 0 0; font-family: var(--display); font-size: 1.05rem; font-weight: 500; }

.pedigree-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.parent {
  border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem;
  text-decoration: none; display: block;
}
.parent:hover { border-color: var(--wheat); }
.parent-role { font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: .35rem; }

.clearances { width: 100%; border-collapse: collapse; font-size: .92rem; }
.clearances th, .clearances td { text-align: left; padding: .55rem .8rem; border-bottom: 1px solid var(--canvas-3); }
.clearances th { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-mut); }
.clearances td.ref { font-family: var(--mono); font-size: .8rem; color: var(--on-light-mut); }
.clearances tr:last-child td { border-bottom: 0; }

.pedigree-sheets { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.sheet { background: #fff; border: 1px solid var(--canvas-3); border-radius: var(--r); padding: .7rem; }
.sheet img { width: 100%; height: auto; }
.sheet figcaption { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-mut); margin-top: .6rem; text-align: center; }

/* ---------------------------------------------------------------- litters -- */

.litter-list { display: grid; gap: 1.4rem; }
.litter {
  display: grid; grid-template-columns: 260px 1fr; gap: 1.6rem;
  background: var(--canvas); color: var(--on-light); border: 1px solid var(--canvas-3);
  border-radius: var(--r); overflow: hidden;
}
.litter-img { background: var(--canvas-2); }
.litter-img img { width: 100%; height: 100%; object-fit: cover; }
.litter-img.is-empty { display: grid; place-items: center; min-height: 190px; color: var(--canvas-3); font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.litter-bd { padding: 1.4rem 1.5rem 1.5rem; }
.litter-bd h3 { font-size: 1.5rem; }
.status {
  display: inline-block; font-family: var(--mono); font-size: .62rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; padding: .25rem .6rem;
  border-radius: 100px; background: var(--canvas-2); color: var(--on-light-mut); margin-bottom: .7rem;
}
.status.is-available { background: var(--rust); color: #fff; }
.status.is-expecting, .status.is-whelped { background: var(--water); color: #fff; }
.cross { display: grid; gap: .5rem; margin: 1rem 0; }
.cross-row { display: grid; grid-template-columns: 3.2rem 1fr; gap: .6rem; align-items: baseline; }
.cross-lbl { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-light-mut); }
.litter-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--on-light-mut); border-top: 1px solid var(--canvas-3); padding-top: .8rem; margin-top: 1rem; }

/* -------------------------------------------------------------- offerings -- */

.offer-list { display: grid; gap: 1rem; }
.offer {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start;
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.5rem;
  background: var(--marsh-2);
}
.sec-light .offer { background: #fff; border-color: var(--canvas-3); }
.offer h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.offer-sum { color: var(--on-dark-mut); margin: 0 0 .8rem; }
.sec-light .offer-sum { color: var(--on-light-mut); }
.offer-price { text-align: right; white-space: nowrap; }
.offer-price b { font-family: var(--display); font-size: 1.7rem; font-weight: 700; display: block; line-height: 1.1; }
.offer-price span { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mut); }
.sec-light .offer-price span { color: var(--on-light-mut); }
.offer-dur { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wheat); }
.sec-light .offer-dur { color: var(--rust); }

/* ------------------------------------------------------- events / news --- */

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }

.evlist { display: grid; gap: .1rem; }
.ev { display: grid; grid-template-columns: 5.4rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.sec-light .ev { border-color: var(--canvas-3); }
.ev-when { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--wheat); line-height: 1.4; }
.sec-light .ev-when { color: var(--rust); }
.ev-what b { font-family: var(--display); font-size: 1.05rem; font-weight: 700; display: block; }
.ev-where { font-size: .88rem; color: var(--on-dark-mut); }
.sec-light .ev-where { color: var(--on-light-mut); }

.newslist { display: grid; gap: 1.4rem; }
.newsitem { border-left: 2px solid var(--rust); padding-left: 1.1rem; }
.newsitem time { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mut); }
.sec-light .newsitem time { color: var(--on-light-mut); }
.newsitem h3 { font-size: 1.2rem; margin: .3rem 0 .4rem; }
.newsitem p { margin: 0; font-size: .95rem; white-space: pre-line; }

/* --------------------------------------------------------------- partners -- */

.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.partner { background: var(--canvas); color: var(--on-light); border: 1px solid var(--canvas-3); border-radius: var(--r); padding: 1.4rem; text-decoration: none; display: grid; gap: .6rem; }
.partner:hover { border-color: var(--rust); }
.partner-logo { height: 54px; display: grid; place-items: center; }
.partner-logo img { max-height: 54px; width: auto; }
.partner h3 { font-size: 1.15rem; }
.partner p { margin: 0; font-size: .9rem; color: var(--on-light-mut); }

/* ------------------------------------------------------------------ tiles -- */

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.tile { border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; text-decoration: none; display: block; background: var(--marsh-2); }
.tile:hover { border-color: var(--wheat); background: var(--marsh-3); }
.tile h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.tile p { margin: 0; color: var(--on-dark-mut); font-size: .94rem; }
.tile-go { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wheat); margin-top: .9rem; display: block; }

/* ------------------------------------------------------------------ forms -- */

.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mut); }
.sec-light .field label { color: var(--on-light-mut); }
.field input, .field textarea, .field select {
  font-family: var(--body); font-size: 1rem; padding: .75rem .85rem;
  background: var(--marsh); color: var(--on-dark); border: 1px solid var(--line); border-radius: var(--r);
}
.sec-light .field input, .sec-light .field textarea, .sec-light .field select {
  background: #fff; color: var(--on-light); border-color: var(--canvas-3);
}
.field input:focus, .field textarea:focus { border-color: var(--rust); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.notice { border-left: 3px solid var(--rust); background: var(--marsh-2); padding: 1rem 1.2rem; border-radius: var(--r); margin: 1.5rem 0; }
.sec-light .notice { background: #fff; }
.notice p { margin: 0; font-size: .94rem; }
.notice.is-good { border-left-color: var(--water); }

.empty-note {
  border: 1px dashed var(--line); border-radius: var(--r); padding: 2rem;
  text-align: center; color: var(--on-dark-mut); font-family: var(--mono);
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
}
.sec-light .empty-note { border-color: var(--canvas-3); color: var(--on-light-mut); }

/* ----------------------------------------------------------------- footer -- */

.footer { background: var(--marsh-2); border-top: 1px solid var(--line); padding-top: 3rem; }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem; }
.footer-mark { color: var(--wheat); }
.footer-motto { font-family: var(--display); font-style: italic; font-size: 1.15rem; margin: .8rem 0 .2rem; }
.footer-by { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mut); margin: 0; }
.footer-col h2 { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wheat); margin-bottom: .9rem; font-weight: 600; }
.footer-col a, .footer-plain { display: block; font-size: .92rem; color: var(--on-dark-mut); text-decoration: none; padding: .22rem 0; }
.footer-col a:hover { color: var(--wheat); }
.footer-cta { color: var(--rust-hi) !important; margin-top: .6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-legal { margin-top: 2.5rem; padding-block: 1.4rem; border-top: 1px solid var(--line); }
.footer-legal p { margin: 0; font-size: .8rem; color: var(--on-dark-mut); font-family: var(--mono); letter-spacing: .06em; }

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 960px) {
  .hero-in, .dogpro, .two-col { grid-template-columns: 1fr; }
  .litter { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .motto { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav-in { flex-direction: column; padding-bottom: .6rem; }
  .nav a { border-bottom: 1px solid var(--line); padding: .85rem .2rem; font-size: .82rem; }
}

@media (max-width: 620px) {
  .field-row, .pedigree-strip { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .offer-price { text-align: left; }
  .footer-in { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ------------------------------------------ client-set background photos -- */
/* Deliberately LAST in the file. `.hero` and `.page-hd` both set the
   `background` shorthand, which includes background-image — at equal
   specificity the later rule wins, so this modifier has to come after them or
   the photo silently never appears.

   The overlay is a gradient rather than a flat wash: text sits low on these
   banners, so the bottom edge needs to be darker than the top. --bg-a and
   --bg-a2 come from the darkness the client picks per section. */

.has-bg {
  background-image:
    linear-gradient(180deg, rgba(16,32,26,var(--bg-a,.62)), rgba(16,32,26,var(--bg-a2,.76))),
    var(--bg-url);
  background-size: cover;
  background-position: var(--bg-focus, center);
  background-repeat: no-repeat;
}
.has-bg h1, .has-bg h2, .has-bg h3,
.has-bg p, .has-bg .lede { text-shadow: 0 1px 14px rgba(8,16,12,.6); }
.has-bg .eyebrow { text-shadow: 0 1px 10px rgba(8,16,12,.7); }

/* ------------------------------------------------------------- gallery --- */

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; }
.shot {
  position: relative; display: block; aspect-ratio: 4/3; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--marsh-3);
}
.sec-light .shot { border-color: var(--canvas-3); background: var(--canvas-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.shot:hover img { transform: scale(1.04); }
.shot-cap {
  position: absolute; inset: auto 0 0 0; padding: .5rem .7rem;
  background: linear-gradient(180deg, transparent, rgba(16,32,26,.85));
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--on-dark);
}

/* a client logo replaces the monogram mark */
.brand-logo { height: 44px; width: auto; max-width: 190px; object-fit: contain; }
.footer .brand-logo { height: 40px; }

.footer-legal .byline { margin-top: .3rem; font-size: .78rem; }
.footer-legal .byline a { color: var(--wheat); text-decoration: none; }
.footer-legal .byline a:hover { text-decoration: underline; }

/* ------------------------------------------------------ module: bookings -- */

.bookables { display: grid; gap: 1.2rem; margin-bottom: 2.6rem; }
.bookable {
  display: grid; grid-template-columns: 220px 1fr; gap: 1.4rem;
  background: #fff; border: 1px solid var(--canvas-3); border-radius: var(--r); overflow: hidden;
}
.bookable-img img { width: 100%; height: 100%; object-fit: cover; }
.bookable-bd { padding: 1.3rem 1.4rem 1.4rem; }
.bookable-bd h3 { font-size: 1.4rem; }
.bookable-sum { margin: .4rem 0 .8rem; color: var(--on-light-mut); }
.bookable-meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; padding-top: .8rem;
  border-top: 1px solid var(--canvas-2); font-family: var(--mono); font-size: .74rem;
  letter-spacing: .05em; color: var(--on-light-mut);
}
.bookable-meta b { font-size: 1.1rem; color: var(--on-light); }
.bookform { background: #fff; border: 1px solid var(--canvas-3); border-radius: var(--r); padding: 1.6rem; }
.bookform h2 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.kv-block { display: grid; gap: .6rem; margin: 1.4rem 0; }
.kv-block dt { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-mut); }
.kv-block dd { margin: .2rem 0 0; font-size: 1.05rem; }

/* ---------------------------------------------------------- module: club -- */

.evcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.evcard {
  background: #fff; border: 1px solid var(--canvas-3); border-radius: var(--r);
  overflow: hidden; text-decoration: none; display: block; color: var(--on-light);
}
.evcard:hover { border-color: var(--rust); }
.sec:not(.sec-light) .evcard { background: var(--marsh-2); border-color: var(--line); color: var(--on-dark); }
.evcard-img { aspect-ratio: 16/9; }
.evcard-img img { width: 100%; height: 100%; object-fit: cover; }
.evcard-bd { padding: 1rem 1.1rem 1.2rem; }
.evcard-kind {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--rust);
}
.evcard h3 { font-size: 1.2rem; margin: .3rem 0 .5rem; }
.evcard-when { font-family: var(--mono); font-size: .74rem; }
.evcard-where { font-size: .86rem; color: var(--on-light-mut); margin-top: .2rem; }
.sec:not(.sec-light) .evcard-where { color: var(--on-dark-mut); }

.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .9rem; }
.member { border-left: 2px solid var(--rust); padding-left: .8rem; display: grid; gap: .15rem; }
.member b { font-family: var(--display); font-size: 1.05rem; }
.member-role { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wheat); }
.sec-light .member-role { color: var(--rust); }
.member-dogs { font-size: .84rem; color: var(--on-dark-mut); }
.sec-light .member-dogs { color: var(--on-light-mut); }

/* -------------------------------------------- modules: catalogue + store -- */

.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }
.prodcard {
  background: #fff; border: 1px solid var(--canvas-3); border-radius: var(--r);
  overflow: hidden; text-decoration: none; color: var(--on-light); display: block;
}
.prodcard:hover { border-color: var(--rust); }
.prodcard-img { aspect-ratio: 1; background: var(--canvas-2); }
.prodcard-img img { width: 100%; height: 100%; object-fit: cover; }
.prodcard-img.is-empty { display: grid; place-items: center; color: var(--canvas-3); font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.prodcard-bd { padding: .9rem 1rem 1.1rem; }
.prodcard-cat { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.prodcard h3 { font-size: 1.1rem; margin: .25rem 0 .3rem; }
.prodcard p { margin: 0; font-size: .86rem; color: var(--on-light-mut); }
.prodcard-price { font-family: var(--mono); font-weight: 600; margin-top: .6rem; }
.prodcard-price span { font-weight: 400; font-size: .78rem; color: var(--on-light-mut); }
.soldout { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }

.detail-price { font-family: var(--display); font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.detail-price span { font-family: var(--mono); font-size: .8rem; font-weight: 400; color: var(--on-dark-mut); }
.specs { display: grid; gap: .4rem; margin: 1.4rem 0; }
.specs > div { display: grid; grid-template-columns: 10rem 1fr; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.sec-light .specs > div { border-color: var(--canvas-3); }
.specs dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mut); margin: 0; }
.sec-light .specs dt { color: var(--on-light-mut); }
.specs dd { margin: 0; }
.addform { display: flex; align-items: end; gap: .8rem; margin-top: 1.4rem; }
.addform label { display: grid; gap: .3rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.addform input { width: 5rem; padding: .7rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--marsh); color: var(--on-dark); }
.sec-light .addform input { background: #fff; color: var(--on-light); border-color: var(--canvas-3); }

.carttable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--canvas-3); border-radius: var(--r); }
.carttable th { text-align: left; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-light-mut); padding: .7rem .8rem; border-bottom: 1px solid var(--canvas-2); }
.carttable td { padding: .7rem .8rem; border-bottom: 1px solid var(--canvas); vertical-align: middle; }
.carttable.is-compact td { padding: .5rem .8rem; }
.cartthumb { width: 46px; height: 46px; object-fit: cover; border-radius: var(--r); }
.qtyform { display: flex; gap: .3rem; }
.qtyform input { width: 4rem; padding: .35rem; border: 1px solid var(--canvas-3); border-radius: var(--r); }
.carttotal { margin: 1.2rem 0; max-width: 320px; margin-left: auto; }
.carttotal > div { display: flex; justify-content: space-between; padding: .35rem 0; font-family: var(--mono); font-size: .86rem; }
.carttotal .grand { border-top: 1px solid var(--canvas-3); margin-top: .3rem; padding-top: .6rem; font-size: 1.1rem; }
.cart-pill { display: inline-flex; align-items: center; gap: .35rem; }

@media (max-width: 760px) {
  .bookable { grid-template-columns: 1fr; }
  .specs > div { grid-template-columns: 1fr; }
  .carttable th:first-child, .carttable td:first-child { display: none; }
}

/* ============================================================== LOOKS ==== */
/* Structural variants driven by body classes. Colour is the theme's job;
   these change arrangement, rhythm and voice. --density scales the vertical
   rhythm so a "Compact" site genuinely fits more on a screen than "Broadside",
   rather than just using a smaller font. */

.sec        { padding: calc(clamp(3rem, 7vw, 5rem) * var(--density, 1)) 0; }
.page-hd    { padding: calc(clamp(2.5rem, 6vw, 4rem) * var(--density, 1)) 0 calc(clamp(2rem, 4vw, 3rem) * var(--density, 1)); }
h1, h2, h3, h4 { letter-spacing: var(--h-tracking, 0); }

/* headings: caps or as-typed */
.head-upper h1, .head-upper h2, .head-upper h3,
.head-upper .brand-txt b { text-transform: uppercase; }

/* --- masthead arrangements ------------------------------------------------ */

/* inline: logo and links on one row, no second bar */
.nav-inline .masthead-in { flex-wrap: nowrap; }
.nav-inline .nav { border-top: 0; background: transparent; margin-left: auto; }
.nav-inline .nav-in { padding: 0; }
.nav-inline .nav a { padding: .5rem .7rem; }
.nav-inline .motto { display: none; }
@media (max-width: 1100px) { .nav-inline .nav a { font-size: .68rem; padding: .5rem .45rem; } }

/* centred: logo on the centre line, nav centred beneath it */
.nav-centred .masthead-in { flex-direction: column; gap: .6rem; text-align: center; }
.nav-centred .brand { flex-direction: column; gap: .4rem; }
.nav-centred .brand-txt { text-align: center; justify-items: center; }
.nav-centred .motto { margin: 0; text-align: center; }
.nav-centred .nav-in { justify-content: center; }
.nav-centred .nav-toggle { position: absolute; right: var(--pad); top: 1rem; }

/* --- hero arrangements ---------------------------------------------------- */

/* stacked: text above a wide image band */
.hero-stacked .hero-in { grid-template-columns: 1fr; }
.hero-stacked .hero-img { aspect-ratio: 21/9; }

/* centred: no side image, text on the centre line */
.hero-centred .hero-in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-centred .hero .lede { margin-left: auto; margin-right: auto; }
.hero-centred .hero-cta { justify-content: center; }
.hero-centred .hero-img { display: none; }

/* full: always full-bleed, even without a background photo */
.hero-full .hero-in { grid-template-columns: 1fr; text-align: center; justify-items: center; min-height: 60vh; align-content: center; }
.hero-full .hero-img { display: none; }
.hero-full .hero .lede { margin-left: auto; margin-right: auto; }
.hero-full .hero-cta { justify-content: center; }
.hero-full .hero-bg-in { text-align: center; }
.hero-full .hero-bg-in .lede { margin-left: auto; margin-right: auto; }
.hero-full .hero-bg-in .hero-cta { justify-content: center; }

/* --- per-Look grace notes ------------------------------------------------- */

/* Almanac rules its sections off like a printed catalogue */
.look-almanac .sec + .sec { border-top: 1px solid var(--line); }
.look-almanac .sec-light + .sec-light { border-top-color: var(--canvas-3); }
.look-almanac .sec-hd h2 { border-bottom: 2px solid currentColor; display: inline-block; padding-bottom: .2rem; }

/* Ledger boxes its cards hard, no softness anywhere */
.look-ledger .card, .look-ledger .dogcard, .look-ledger .prodcard { box-shadow: none; }
.look-ledger .eyebrow { border-left: 3px solid var(--rust); padding-left: .5rem; }

/* Gallery lets imagery breathe and quietens the frames */
.look-gallery .dogcard, .look-gallery .prodcard, .look-gallery .evcard { border-color: transparent; box-shadow: 0 6px 24px rgba(0,0,0,.10); }
.look-gallery .dogcard-img, .look-gallery .prodcard-img { aspect-ratio: 3/4; }

/* Storefront: soft, lifted cards */
.look-storefront .dogcard, .look-storefront .prodcard, .look-storefront .evcard { border-color: transparent; box-shadow: 0 4px 18px rgba(0,0,0,.10); }
.look-storefront .btn { border-radius: 100px; }

/* Banner shouts */
.look-banner .hero h1 { font-size: clamp(3rem, 9vw, 6.5rem); line-height: .95; }
.look-banner .btn { border-radius: 100px; padding: 1rem 2rem; }

/* Compact tightens everything readable */
.look-compact body, body.look-compact { font-size: 15.5px; }
.look-compact .sec-hd { margin-bottom: 1.4rem; }

/* ------------------------------------------------------- module: videos --- */

.vidgrid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1.2rem; }
.vidlist { display: grid; gap: 1.4rem; }
.vidcard { display: grid; gap: .7rem; }
.vidcard.list { grid-template-columns: 320px 1fr; gap: 1.4rem; align-items: start; }
.vidcard h3 { font-size: 1.15rem; }
.vidcard.wide h3 { font-size: 1.4rem; }
.vidcard-when { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--on-dark-mut); margin-top: .2rem; }
.sec-light .vidcard-when { color: var(--on-light-mut); }
.vidcard-sum { margin: .4rem 0 0; font-size: .9rem; color: var(--on-dark-mut); }
.sec-light .vidcard-sum { color: var(--on-light-mut); }

.vidfeature { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center; }

/* Click-to-play facade: a poster and a button. The real iframe is only
   inserted when someone presses play, so a page of twenty clips costs twenty
   images instead of twenty third-party players. */
.vid-facade {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  background: var(--marsh-3); border-radius: var(--r); overflow: hidden; aspect-ratio: 16/9;
}
.vid-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vid-facade:hover img { transform: scale(1.03); }
.vid-noposter { display: block; width: 100%; height: 100%; background: var(--marsh-3); }
.vid-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(20,20,20,.78); transition: color .2s ease, transform .2s ease;
}
.vid-play svg { width: 68px; height: 48px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.vid-facade:hover .vid-play { color: var(--rust); transform: scale(1.06); }
.vid-facade:focus-visible { outline: 3px solid var(--wheat); outline-offset: 3px; }
.vid-dur {
  position: absolute; right: .5rem; bottom: .5rem; background: rgba(10,10,10,.82);
  color: #fff; font-family: var(--mono); font-size: .68rem; padding: .15rem .4rem; border-radius: 2px;
}
.vid-frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--r); display: block; }
.vid-player { width: 100%; aspect-ratio: 16/9; border-radius: var(--r); background: #000; display: block; }

@media (max-width: 900px) {
  .vidgrid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .vidcard.list { grid-template-columns: 1fr; }
  .vidfeature { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ hero video -- */
/* The hero can carry a moving picture instead of a still. Three rules keep it
   from being an annoyance rather than a welcome:
   - it is decoration, so it is muted, silent, and never the only place
     information lives;
   - the section photo stays set and acts as the poster, so the first paint is
     a photo and the video fades over it once it has something to show;
   - phones and anyone asking for reduced motion get the photo and nothing
     else. A hero loop is not worth 20MB of someone's data plan.
   The scrim moves to ::after here because a background-image sits *under* the
   video element, and text over an undimmed video is unreadable. */

.hero.has-video { position: relative; overflow: hidden; isolation: isolate; }
.hero.has-video > .hero-bg-in, .hero.has-video > .hero-in { position: relative; z-index: 2; }

.hero-vid {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: var(--bg-focus, center);
  border: 0; pointer-events: none;
  opacity: 0; transition: opacity .6s ease;
}
.hero-vid.is-ready, .hero-vid.is-embed { opacity: 1; }

/* An iframe cannot object-fit. Oversize it to 16:9 past whichever edge is
   short and centre it — the overflow is clipped by the section. */
.hero-vid.is-embed {
  width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%;
  left: 50%; top: 50%; inset: auto auto auto 50%; transform: translate(-50%, -50%);
}

.hero.has-video::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(16,32,26,var(--bg-a,.62)), rgba(16,32,26,var(--bg-a2,.76)));
}

/* When the video is suppressed the scrim goes with it — otherwise the section
   photo gets dimmed twice and reads as a black box. */
@media (max-width: 720px) {
  .hero-vid, .hero.has-video::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-vid, .hero.has-video::after { display: none; }
}

/* ------------------------------------------------------------- puppies --- */
/* Available and reserved use the same card so the page reads as one litter,
   with the reserved ones dimmed and stamped rather than restyled. A buyer
   should be able to tell in one glance which are still going. */

.pups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.pup {
  border: 1px solid var(--canvas-3); border-radius: var(--r); overflow: hidden;
  background: var(--canvas-2); display: flex; flex-direction: column;
}
.pup-img {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  background: var(--canvas-3);
  /* A flex item will not shrink below its content, so a portrait photo would
     stretch this box past the square and leave one card taller than the rest.
     Taking the image out of flow makes the square authoritative. */
  flex: none;
}
.pup-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover;
  /* Puppy photos are nearly always portrait, and the head is near the top. A
     centred square crop takes the ears off. */
  object-position: center 20%;
}
.pup-noimg {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-light-mut);
}
.pup-status {
  position: absolute; top: .6rem; right: .6rem; padding: .2rem .55rem;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--rust); color: #fff; border-radius: 2px;
}
.pup.is-gone .pup-status { background: var(--marsh-3); }
.pup.is-gone .pup-img img { filter: grayscale(.55) brightness(.94); }
.pup-body { padding: .9rem 1rem 1.1rem; }
.pup-body h3 { font-size: 1.15rem; margin: .1rem 0 .6rem; }
.pup-facts { display: grid; gap: .3rem; font-size: .86rem; }
.pup-facts div { display: flex; gap: .5rem; }
.pup-facts dt {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-light-mut); min-width: 4.2rem; padding-top: .15rem;
}
.pup-facts dd { margin: 0; }
.pup-note { margin-top: .7rem; font-size: .88rem; color: var(--on-light-mut); }
