/* v23 — Premium Editorial × Progressive Genetics Platform */
:root{
  --editorial-ink:#17212b;
  --editorial-navy:#17324a;
  --editorial-blue:#4f7696;
  --editorial-blue-dark:#284d69;
  --editorial-blue-pale:#e7eef3;
  --editorial-stone:#f3f1ec;
  --editorial-paper:#fbfaf7;
  --editorial-white:#ffffff;
  --editorial-line:#d9dee2;
  --editorial-muted:#6e7880;
  --editorial-shadow:0 16px 44px rgba(23,50,74,.08);
  --editorial-shadow-lg:0 28px 80px rgba(23,50,74,.14);
  --editorial-radius:18px;
  --editorial-serif:"Instrument Serif", Georgia, "Times New Roman", serif;
  --editorial-sans:"Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
html{background:var(--editorial-paper)}
body{
  background:var(--editorial-paper)!important;
  color:var(--editorial-ink)!important;
  font-family:var(--editorial-sans)!important;
  font-size:15px;
  letter-spacing:-.008em;
}
body::selection{background:#dce8f0;color:var(--editorial-navy)}
a{transition:color .18s ease,opacity .18s ease,transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}
h1,h2,.animal-name,.landing-card h2,.empty-shortlist h3{
  font-family:var(--editorial-serif)!important;
  font-weight:400!important;
  letter-spacing:-.025em!important;
}
h1{line-height:.96!important}
h2{line-height:1.02!important}
h3,h4{font-family:var(--editorial-sans)!important}
.eyebrow{
  color:var(--editorial-blue-dark)!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.18em!important;
}
.page{max-width:1320px!important;padding:34px 32px 56px!important}

/* Navigation */
.site-header.sale-header{
  min-height:76px!important;
  padding:12px clamp(18px,3vw,42px)!important;
  background:rgba(251,250,247,.92)!important;
  border-bottom:1px solid rgba(23,50,74,.10)!important;
  box-shadow:none!important;
  backdrop-filter:blur(20px) saturate(120%)!important;
}
.logo-brand img{width:168px!important;max-height:48px!important}
.header-nav.sale-nav{gap:4px!important;align-items:center!important}
.nav-link,.login-button{
  border:0!important;
  background:transparent!important;
  color:#55626c!important;
  border-radius:999px!important;
  padding:9px 12px!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
  box-shadow:none!important;
}
.nav-link:hover,.login-button:hover{background:#edf1f3!important;color:var(--editorial-navy)!important;transform:none!important}
.nav-link.active{background:var(--editorial-navy)!important;color:#fff!important}
.login-button.logged-in{background:var(--editorial-blue-pale)!important;color:var(--editorial-navy)!important}
.shortlist-count{background:#dce6ed!important;color:var(--editorial-navy)!important}
.nav-link.active .shortlist-count{background:rgba(255,255,255,.18)!important;color:#fff!important}

/* Homepage — editorial hero */
.landing-body{background:var(--editorial-paper)!important}
.landing-body .site-header.sale-header{
  position:absolute!important;
  inset:0 0 auto 0!important;
  z-index:20!important;
  background:linear-gradient(180deg,rgba(251,250,247,.96) 0%,rgba(251,250,247,.82) 100%)!important;
}
.landing-hero{
  min-height:92vh!important;
  align-items:end!important;
  background:#cfd8de!important;
}
.landing-hero-img{
  object-position:center 42%!important;
  filter:saturate(.82) contrast(.96) brightness(.98)!important;
}
.landing-overlay{
  background:
    linear-gradient(90deg,rgba(15,31,44,.72) 0%,rgba(15,31,44,.34) 44%,rgba(15,31,44,.03) 74%),
    linear-gradient(0deg,rgba(15,31,44,.60) 0%,rgba(15,31,44,.04) 48%)!important;
}
.landing-content{
  max-width:1320px!important;
  grid-template-columns:minmax(300px,520px) minmax(320px,580px)!important;
  gap:clamp(40px,8vw,120px)!important;
  align-items:end!important;
  padding:150px 34px 64px!important;
}
.hero-logo-wrap{max-width:500px!important;align-self:end!important}
.hero-logo-wrap img{filter:brightness(0) invert(1) drop-shadow(0 14px 34px rgba(0,0,0,.24))!important;opacity:.96}
.hero-actions-only{justify-self:end!important;max-width:560px!important;color:#fff!important;text-shadow:none!important}
.landing-kicker{
  margin-bottom:14px;
  color:rgba(255,255,255,.78);
  font-size:11px;
  font-weight:800;
  letter-spacing:.20em;
  text-transform:uppercase;
}
.landing-manifesto{
  display:block!important;
  margin:0 0 24px!important;
  color:#fff!important;
  font-family:var(--editorial-serif)!important;
  font-size:clamp(28px,3vw,42px)!important;
  line-height:1.02!important;
  letter-spacing:-.02em!important;
  max-width:530px!important;
}
.hero-actions-only .hero-actions{justify-content:flex-start!important;gap:9px!important}
.primary-action,.secondary-action{
  border-radius:999px!important;
  padding:12px 17px!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.015em!important;
}
.primary-action{background:#fff!important;color:var(--editorial-navy)!important;border:1px solid #fff!important}
.primary-action:hover{background:#e9eef1!important;border-color:#e9eef1!important;transform:translateY(-1px)}
.secondary-action.light{background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.36)!important;color:#fff!important;backdrop-filter:blur(8px)}
.secondary-action.light:hover{background:rgba(255,255,255,.20)!important;transform:translateY(-1px)}
.landing-panel{
  max-width:1320px!important;
  margin:0 auto!important;
  padding:54px 32px 68px!important;
}
.landing-panel::before{
  content:"THE SALE, DIGITALLY";
  display:block;
  margin-bottom:18px;
  color:var(--editorial-blue-dark);
  font-size:10px;
  font-weight:800;
  letter-spacing:.20em;
}
.landing-stat-grid{
  border-top:1px solid var(--editorial-line);
  border-bottom:1px solid var(--editorial-line);
  gap:0!important;
  margin-bottom:34px!important;
}
.landing-stat{
  background:transparent!important;
  border:0!important;
  border-right:1px solid var(--editorial-line)!important;
  border-radius:0!important;
  padding:22px 18px!important;
  box-shadow:none!important;
}
.landing-stat:last-child{border-right:0!important}
.landing-stat b{font-family:var(--editorial-serif)!important;font-weight:400!important;font-size:43px!important;color:var(--editorial-navy)!important}
.landing-stat span{font-size:10px!important;letter-spacing:.09em!important;text-transform:uppercase!important;font-weight:700!important;color:var(--editorial-muted)!important}
.landing-card-grid{gap:14px!important}
.landing-card{
  position:relative;
  min-height:250px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:var(--editorial-white)!important;
  border:1px solid var(--editorial-line)!important;
  border-radius:var(--editorial-radius)!important;
  padding:26px!important;
  box-shadow:none!important;
  overflow:hidden;
}
.landing-card::after{
  content:"↗";
  position:absolute;
  right:22px;
  top:20px;
  color:var(--editorial-blue-dark);
  font-size:20px;
}
.landing-card:hover{transform:translateY(-4px)!important;border-color:#b9c8d2!important;box-shadow:var(--editorial-shadow)!important}
.landing-card span{font-size:10px!important;color:var(--editorial-blue-dark)!important;letter-spacing:.18em!important}
.landing-card h2{font-size:34px!important;color:var(--editorial-navy)!important;margin:42px 0 9px!important}
.landing-card p{font-size:13px!important;line-height:1.6!important;color:var(--editorial-muted)!important;max-width:32ch}

/* Subpage introductions */
.subpage-hero.compact-hero{
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--editorial-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:26px 0 26px!important;
  margin-bottom:28px!important;
}
.subpage-hero h1{font-size:clamp(46px,6vw,76px)!important;color:var(--editorial-navy)!important;margin:7px 0 12px!important}
.subpage-hero p{color:var(--editorial-muted)!important;font-size:14px!important;line-height:1.65!important}
.ranking-view-tabs{
  background:#eef2f4!important;
  border:0!important;
  border-radius:12px!important;
  padding:4px!important;
  box-shadow:none!important;
}
.ranking-view-toggle{border:0!important;border-radius:9px!important;padding:9px 13px!important;color:#67737c!important;background:transparent!important}
.ranking-view-toggle.active{background:#fff!important;color:var(--editorial-navy)!important;box-shadow:0 3px 10px rgba(23,50,74,.08)!important}
.filter-panel,.ranking-filter-panel,.animal-filter-panel{
  background:transparent!important;
  border:0!important;
  border-top:1px solid var(--editorial-line)!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:14px 0 0!important;
  margin-top:16px!important;
}
.filter-group>span{color:#82909a!important;font-size:9px!important}
.filter-toggle,.stage-toggle,.age-toggle,.filter-panel .breed-toggle{
  background:#f0f3f5!important;
  border:0!important;
  color:#59656e!important;
  padding:7px 10px!important;
  font-weight:700!important;
}
.filter-toggle.active,.stage-toggle.active,.age-toggle.active,.filter-panel .breed-toggle.active{
  background:var(--editorial-navy)!important;
  color:#fff!important;
  box-shadow:none!important;
}

/* Shared section system */
.control-panel,.proof-control-card,.proof-card,.progeny-card,.disclaimer,.rankings-section,.animal-search-section,
.production-card,.expected-pa-card,.photo-section,.industry-interest-card,.embryo-card,.shortlist-panel{
  background:var(--editorial-white)!important;
  border:1px solid var(--editorial-line)!important;
  border-radius:var(--editorial-radius)!important;
  box-shadow:none!important;
}
.rankings-section,.animal-search-section,.shortlist-panel{padding:28px!important;margin:0 0 20px!important}
.section-title-row{align-items:flex-start!important;margin-bottom:22px!important}
.section-title-row p{font-size:12px!important;line-height:1.55!important;max-width:480px!important}
.section-head,.proof-head{margin-bottom:18px!important}
.section-head h2,.proof-head h2{font-size:34px!important;color:var(--editorial-navy)!important}
.section-note{font-size:13px!important;line-height:1.6!important;color:var(--editorial-muted)!important}
.section-collapse-toggle{
  background:transparent!important;
  border:1px solid #cdd6dc!important;
  color:var(--editorial-navy)!important;
  box-shadow:none!important;
  font-weight:700!important;
  padding:7px 11px!important;
}
.section-collapse-toggle:hover{background:#f2f4f5!important}
.pill,.ranking-pill,.badge,.breed-chip{font-weight:700!important;letter-spacing:.01em!important}
.pill,.ranking-pill{background:var(--editorial-navy)!important}

/* Rankings */
.ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.ranking-card{
  background:#fff!important;
  border:1px solid var(--editorial-line)!important;
  border-radius:16px!important;
  box-shadow:none!important;
}
.ranking-card-head{padding:20px 20px 14px!important;border-bottom:1px solid #e5e9ec!important}
.ranking-card h3{font-size:24px!important;color:var(--editorial-navy)!important}
.ranking-rows{padding:8px 10px 12px!important}
.ranking-row{border-radius:10px!important;padding:10px 9px!important}
.ranking-row:hover{background:#f1f4f6!important;border-color:transparent!important;transform:translateX(2px)}
.rank-no{background:transparent!important;border:1px solid #d6dde2!important;color:#687681!important}
.rank-animal b{font-size:13px!important;color:var(--editorial-navy)!important}
.rank-value{color:var(--editorial-blue-dark)!important;font-family:var(--editorial-serif)!important;font-size:23px!important;font-weight:400!important}
.expected-ranking-card{background:#f8fafb!important}

/* Animal index */
.search-wrap{margin-bottom:22px!important}
#search{
  background:#f5f6f6!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  box-shadow:none!important;
  padding:15px 16px!important;
}
#search:focus{background:#fff!important;border-color:#b8c8d3!important;box-shadow:0 0 0 3px rgba(79,118,150,.10)!important}
.animal-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.animal-card{
  background:#fff!important;
  border:1px solid var(--editorial-line)!important;
  border-radius:16px!important;
  padding:15px!important;
  box-shadow:none!important;
}
.animal-card:hover{transform:translateY(-3px)!important;border-color:#b5c4ce!important;box-shadow:var(--editorial-shadow)!important}
.animal-card-photo{height:190px!important;border-radius:11px!important;margin:-1px -1px 16px!important}
.animal-name{font-size:22px!important;line-height:1.03!important;color:var(--editorial-navy)!important;margin-bottom:8px!important}
.animal-meta{font-size:11px!important;line-height:1.5!important;color:#7a858e!important}
.breed-chip{background:#edf1f3!important;color:var(--editorial-navy)!important;border:0!important}
.card-filter-meta span{background:transparent!important;border:1px solid #d8dfe4!important;color:#64717b!important;border-radius:8px!important;font-size:9px!important;text-transform:uppercase!important;letter-spacing:.06em!important}
.quick-metrics{border-top:1px solid #e4e8eb!important;padding-top:12px!important;margin-top:14px!important}
.quick-metrics span{background:transparent!important;border:0!important;border-right:1px solid #e5e9ec!important;border-radius:0!important;padding:4px 6px!important}
.quick-metrics span:last-child{border-right:0!important}
.quick-metrics b{font-family:var(--editorial-serif)!important;font-weight:400!important;font-size:18px!important;color:var(--editorial-navy)!important}
.badge{background:#f0f3f5!important;color:#52616d!important;border:0!important;border-radius:7px!important}
.card-shortlist-button,.profile-shortlist-button{
  background:var(--editorial-navy)!important;
  border-color:var(--editorial-navy)!important;
  box-shadow:none!important;
  font-weight:700!important;
}
.card-shortlist-button.saved,.profile-shortlist-button.saved{background:#5f788b!important;border-color:#5f788b!important}

/* Animal profile — identity first, data second */
.animal-hero{
  position:relative;
  background:linear-gradient(135deg,#f7f6f2 0%,#eef2f4 100%)!important;
  border:1px solid var(--editorial-line)!important;
  border-top:1px solid var(--editorial-line)!important;
  border-radius:20px!important;
  padding:clamp(26px,4vw,52px)!important;
  box-shadow:none!important;
  align-items:center!important;
  min-height:360px;
}
.animal-hero::before{background:radial-gradient(circle at 88% 0%,rgba(255,255,255,.9),transparent 38%)!important}
.animal-hero h1{font-size:clamp(44px,6.2vw,82px)!important;color:var(--editorial-navy)!important;max-width:900px!important;margin:9px 0 15px!important}
.animal-hero .subline{font-size:14px!important;color:#68747c!important;letter-spacing:.01em!important}
.chips{gap:6px!important}
.chip{
  background:rgba(255,255,255,.62)!important;
  border:1px solid #d6dde1!important;
  border-radius:8px!important;
  padding:6px 8px!important;
  font-size:10px!important;
  color:#5f6c75!important;
}
.chip b{color:var(--editorial-navy)!important;font-weight:800!important}
.profile-badges{gap:6px!important;margin-top:16px!important}
.profile-badge{
  border:0!important;
  border-radius:7px!important;
  padding:7px 9px!important;
  background:#e8edf0!important;
  color:#435361!important;
  box-shadow:none!important;
  font-size:9px!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
}
.profile-badge.top-badge{background:#dce8ef!important;color:#294d67!important}
.profile-badge.expected-badge{background:var(--editorial-navy)!important;color:#fff!important}
.profile-shortlist-link{color:var(--editorial-blue-dark)!important;font-size:12px!important}
.qr-panel{
  width:170px!important;
  min-width:170px!important;
  border:1px solid #d6dde2!important;
  border-radius:15px!important;
  box-shadow:none!important;
  background:rgba(255,255,255,.72)!important;
}
.qr-panel img{width:128px!important;height:128px!important}
.qr-url{font-size:8px!important}

/* Data presentation */
.proof-control-card{padding:20px 22px!important}
.proof-control-card h2{font-size:30px!important}
.proof-control{min-width:280px!important}
#proofSelect{border-radius:10px!important;border-color:#ccd5db!important;font-weight:700!important}
.proof-button-row{background:#eef2f4!important;border-radius:10px!important;padding:4px!important;gap:3px!important}
.proof-toggle{border:0!important;border-radius:8px!important;background:transparent!important;color:#67747d!important;box-shadow:none!important}
.proof-toggle.active{background:#fff!important;color:var(--editorial-navy)!important;box-shadow:0 3px 10px rgba(23,50,74,.08)!important}
.metrics{gap:8px!important}
.metric{
  background:#f7f8f8!important;
  border:0!important;
  border-radius:11px!important;
  padding:14px!important;
}
.metric-label{font-size:9px!important;letter-spacing:.10em!important;color:#7c8992!important}
.metric-value{font-family:var(--editorial-serif)!important;font-weight:400!important;color:var(--editorial-navy)!important;font-size:33px!important}
.metric-sub{font-size:10px!important}
.data-grid{gap:10px!important}
.data-card{border:1px solid #e0e5e8!important;border-radius:12px!important;padding:15px!important}
.data-card h4{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.10em!important;color:#596b78!important}
table{font-size:12px!important}
th,td{border-bottom-color:#edf0f2!important;padding:7px 0!important}
.trait-panel{border-color:#e0e5e8!important;border-radius:12px!important}
.trait-bar{background:#e3e9ed!important}
.trait-fill{background:var(--editorial-blue)!important}

/* Photography */
.photo-section{padding:24px!important}
.photo-gallery.carousel-ready .photo-tile,.photo-gallery.carousel-ready .photo-tile.primary{
  border-radius:14px!important;
  box-shadow:none!important;
  border:1px solid #dde3e7!important;
}
.photo-carousel-control{
  width:42px!important;height:42px!important;
  background:rgba(251,250,247,.92)!important;
  border:0!important;
  box-shadow:0 8px 24px rgba(23,50,74,.16)!important;
}
.photo-carousel-count{background:rgba(23,33,43,.76)!important;font-weight:700!important}
.animal-card-photo img,.photo-tile img{filter:saturate(.92) contrast(.98)}

/* Industry, embryo and production modules */
.production-card,.expected-pa-card,.industry-interest-card,.embryo-card,.progeny-card,.disclaimer{padding:24px!important;margin:18px 0!important}
.production-card,.expected-pa-card,.industry-interest-card,.embryo-card{background:#fff!important}
.production-card::before,.expected-pa-card::before,.industry-interest-card::before,.embryo-card::before{display:none!important}
.production-metric,.pa-metric{background:#f7f8f8!important;border:0!important}
.service-summary span{border:0!important;background:#f0f3f5!important;border-radius:8px!important}
.industry-interest-list{gap:8px!important}
.industry-interest-item{border:1px solid #e0e5e8!important;border-radius:12px!important}
.industry-interest-mark{background:var(--editorial-navy)!important}
.embryo-recipient{border-radius:11px!important}
.disclaimer{background:#f4f2ed!important;color:#68737b!important}

/* Shortlist */
.shortlist-item{border-radius:14px!important;border-color:var(--editorial-line)!important;box-shadow:none!important}
.empty-shortlist{background:#f5f6f6!important;border-color:#cfd7dc!important;border-radius:14px!important}
.buyer-modal-card{border-radius:18px!important;box-shadow:var(--editorial-shadow-lg)!important}

/* Sponsors and footer */
.sale-sponsor-section{
  margin-top:0!important;
  background:#f0f1ef!important;
  border-top:1px solid var(--editorial-line)!important;
  padding:44px 22px!important;
}
.sale-sponsor-section .sponsor-footer-block{max-width:1180px!important}
.sale-sponsor-section .sponsor-heading{font-size:9px!important;color:#77838b!important;letter-spacing:.19em!important}
.sale-sponsor-section .sponsor-grid{gap:12px!important}
.sale-sponsor-section .sponsor-link{
  height:88px!important;
  min-height:88px!important;
  border:1px solid #d8dde0!important;
  border-radius:12px!important;
  box-shadow:none!important;
  background:#fff!important;
}
.sale-sponsor-section .sponsor-link:hover{transform:translateY(-2px)!important;box-shadow:0 10px 28px rgba(23,50,74,.08)!important}
.build-credit{background:#e8e9e7!important;border-top:1px solid #d7dbdd!important}
.build-credit-inner{font-size:9px!important;color:#727e86!important;letter-spacing:.12em!important}
.build-credit-logo{border-radius:9px!important;box-shadow:none!important;border-color:#d5dade!important}
.sale-footer{background:var(--editorial-navy)!important;color:#dce4e9!important;font-size:10px!important;letter-spacing:.04em!important}

/* Responsive */
@media(max-width:1080px){
  .animal-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .landing-content{grid-template-columns:1fr!important;gap:26px!important}
  .hero-actions-only{justify-self:start!important}
}
@media(max-width:760px){
  .page{padding:20px 14px 36px!important}
  .site-header.sale-header{padding:10px 14px!important;min-height:64px!important}
  .logo-brand img{width:142px!important}
  .header-nav.sale-nav{gap:1px!important;overflow-x:auto!important;flex-wrap:nowrap!important;width:100%!important;justify-content:flex-start!important;margin-top:7px!important;scrollbar-width:none!important}
  .header-nav.sale-nav::-webkit-scrollbar{display:none}
  .nav-link,.login-button{flex:0 0 auto!important;font-size:10px!important;padding:7px 9px!important}
  .landing-body .site-header.sale-header{position:absolute!important;display:block!important}
  .landing-hero{min-height:92vh!important}
  .landing-hero-img{object-position:63% center!important}
  .landing-overlay{background:linear-gradient(0deg,rgba(15,31,44,.75) 0%,rgba(15,31,44,.20) 62%,rgba(15,31,44,.02) 100%)!important}
  .landing-content{min-height:92vh!important;padding:126px 18px 32px!important;align-content:space-between!important}
  .hero-logo-wrap{max-width:330px!important;align-self:start!important}
  .hero-actions-only{align-self:end!important}
  .landing-manifesto{font-size:30px!important}
  .hero-actions-only .hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
  .hero-actions-only .hero-actions a:first-child{grid-column:1/-1!important}
  .landing-panel{padding:38px 14px 48px!important}
  .landing-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .landing-stat:nth-child(2){border-right:0!important}
  .landing-stat:nth-child(-n+2){border-bottom:1px solid var(--editorial-line)!important}
  .landing-card-grid{grid-template-columns:1fr!important}
  .landing-card{min-height:210px!important}
  .subpage-hero h1{font-size:48px!important}
  .ranking-grid{grid-template-columns:1fr!important}
  .animal-list{grid-template-columns:1fr!important}
  .animal-card-photo{height:220px!important}
  .animal-hero{display:block!important;min-height:auto!important;padding:28px 20px!important}
  .animal-hero h1{font-size:48px!important}
  .qr-panel{margin-top:22px!important;width:100%!important;display:grid!important;grid-template-columns:108px 1fr!important;align-items:center!important;text-align:left!important}
  .qr-panel img{width:96px!important;height:96px!important}
  .proof-control-card{display:block!important}
  .proof-control{min-width:0!important;margin-top:18px!important}
  .metrics,.production-metrics,.pa-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .data-grid{grid-template-columns:1fr!important}
  .section-head h2,.proof-head h2{font-size:29px!important}
  .sale-sponsor-section{padding:30px 12px!important}
  .sale-sponsor-section .sponsor-link{height:64px!important;min-height:64px!important}
}
@media(max-width:420px){
  .landing-stat b{font-size:36px!important}
  .hero-actions-only .hero-actions{grid-template-columns:1fr!important}
  .hero-actions-only .hero-actions a:first-child{grid-column:auto!important}
  .animal-hero h1{font-size:42px!important}
  .metrics,.production-metrics,.pa-metrics{grid-template-columns:1fr!important}
}


/* v24 — The Sale editorial narrative and practical information */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.home-editorial-story{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);gap:clamp(28px,5vw,72px);align-items:end;padding:8px 0 46px;margin-bottom:30px;border-bottom:1px solid var(--editorial-line)}
.home-story-copy h2{font-size:clamp(40px,5vw,66px)!important;max-width:18ch;margin:9px 0 18px;color:var(--editorial-navy)}
.home-story-copy p{max-width:68ch;color:var(--editorial-muted);font-size:14px;line-height:1.8}
.home-story-copy blockquote{margin:24px 0 20px;padding:0;color:var(--editorial-blue-dark);font-family:var(--editorial-serif);font-size:clamp(28px,3vw,42px);line-height:1.04}
.editorial-text-link{display:inline-flex;align-items:center;gap:9px;margin-top:8px;color:var(--editorial-navy);font-size:12px;font-weight:800;text-decoration:none;border-bottom:1px solid #afbdc7;padding-bottom:5px}
.editorial-text-link:hover{gap:13px;border-color:var(--editorial-navy)}
.home-sale-facts{background:var(--editorial-navy);color:#fff;border-radius:var(--editorial-radius);padding:28px;box-shadow:var(--editorial-shadow-lg)}
.home-sale-facts .eyebrow{color:#b8ccda!important}.sale-date-large{font-family:var(--editorial-serif);font-size:clamp(52px,6vw,76px);line-height:.85;letter-spacing:-.035em;margin:18px 0 24px}.home-sale-facts p{font-size:13px;line-height:1.75;color:#d9e3ea}.home-sale-facts .navy-outline{background:#fff!important;border-color:#fff!important;color:var(--editorial-navy)!important;display:inline-flex;margin-top:8px}
.landing-card-grid.editorial-four{grid-template-columns:repeat(4,minmax(0,1fr))!important}.landing-card-grid.editorial-four .landing-card{min-height:272px}.landing-card-grid.editorial-four .landing-card h2{font-size:30px!important}

.sale-story-hero{position:relative;min-height:74vh;display:flex;align-items:end;overflow:hidden;background:#b8c4cc}
.sale-story-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 46%;filter:saturate(.78) contrast(.96)}
.sale-story-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,27,40,.78) 0%,rgba(12,27,40,.42) 48%,rgba(12,27,40,.08) 78%),linear-gradient(0deg,rgba(12,27,40,.68) 0%,rgba(12,27,40,.03) 60%)}
.sale-story-hero-copy{position:relative;z-index:2;width:min(1320px,100%);margin:0 auto;padding:clamp(120px,16vw,210px) 32px 58px;color:#fff}
.light-eyebrow{color:#c9d8e3!important}.sale-story-hero-copy h1{font-size:clamp(58px,8vw,112px)!important;max-width:10ch;margin:12px 0 20px;color:#fff}.sale-story-hero-copy p{margin:0;color:#e5edf2;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.sale-story-page{width:min(1320px,100%);margin:0 auto;padding:72px 32px 82px}
.sale-story-lead{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:54px;padding-bottom:56px;border-bottom:1px solid var(--editorial-line)}
.sale-story-lead h2{grid-column:1/-1;font-size:clamp(48px,6vw,82px)!important;max-width:18ch;margin:4px 0 0;color:var(--editorial-navy)}
.story-deck{grid-column:2;font-size:17px;line-height:1.75;color:var(--editorial-muted);margin:0;max-width:56ch}
.sale-story-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:clamp(44px,7vw,96px);align-items:start;padding:76px 0}
.story-article{max-width:70ch}.story-article p{font-size:15px;line-height:1.9;color:#59656e}.story-article h3{margin:40px 0 12px;color:var(--editorial-navy);font-size:13px;letter-spacing:.14em;text-transform:uppercase}.mantra-quote{display:grid;gap:6px;margin:30px 0;padding:28px 0;border-top:1px solid var(--editorial-line);border-bottom:1px solid var(--editorial-line);font-family:var(--editorial-serif);font-size:clamp(28px,3vw,42px);line-height:1.05;color:var(--editorial-navy)}
.story-image{margin:0;position:sticky;top:110px}.story-image img{width:100%;height:auto;display:block;border-radius:var(--editorial-radius);box-shadow:var(--editorial-shadow-lg);filter:saturate(.85)}.story-image figcaption{margin-top:10px;color:#89949c;font-size:10px;letter-spacing:.09em;text-transform:uppercase}
.custodian-section{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(46px,8vw,110px);padding:76px 0;border-top:1px solid var(--editorial-line);border-bottom:1px solid var(--editorial-line)}
.custodian-quote{font-family:var(--editorial-serif);font-size:clamp(54px,7vw,96px);line-height:.92;color:var(--editorial-blue-dark);max-width:9ch}.custodian-copy p{font-size:15px;line-height:1.86;color:#59656e}.custodian-copy .eyebrow{margin-bottom:18px}
.genetics-opportunity{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:clamp(42px,7vw,94px);align-items:start;padding:76px 0}.genetics-opportunity h2{font-size:clamp(42px,5vw,70px)!important;max-width:16ch;margin:9px 0 20px;color:var(--editorial-navy)}.genetics-opportunity p{max-width:68ch;font-size:14px;line-height:1.8;color:var(--editorial-muted)}.story-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.genetics-statements{display:grid;border-top:1px solid var(--editorial-line)}.genetics-statements>div{display:grid;grid-template-columns:130px 1fr;align-items:baseline;gap:16px;padding:20px 0;border-bottom:1px solid var(--editorial-line)}.genetics-statements b{font-family:var(--editorial-serif);font-size:32px;font-weight:400;color:var(--editorial-navy)}.genetics-statements span{font-size:11px;font-weight:700;color:var(--editorial-muted);text-transform:uppercase;letter-spacing:.08em}
.sale-practical{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.7fr);gap:clamp(40px,7vw,90px);align-items:start;padding:68px;border-radius:var(--editorial-radius);background:var(--editorial-stone)}.sale-practical h2{font-size:clamp(44px,5vw,68px)!important;max-width:11ch;margin:8px 0 18px;color:var(--editorial-navy)}.sale-practical-copy p{font-size:14px;line-height:1.8;color:var(--editorial-muted);max-width:58ch}.sale-detail-card{background:#fff;border:1px solid var(--editorial-line);border-radius:var(--editorial-radius);padding:24px}.detail-row{display:grid;grid-template-columns:92px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid var(--editorial-line)}.detail-row:first-child{padding-top:0}.detail-row span{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8a959d}.detail-row strong{font-size:13px;line-height:1.6;color:var(--editorial-navy)}.full-width-action{display:flex!important;justify-content:center;margin-top:20px;width:100%}
.sale-resources{padding:76px 0}.resource-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.resource-card{background:#fff;border:1px solid var(--editorial-line);border-radius:var(--editorial-radius);padding:26px;min-height:260px;display:flex;flex-direction:column}.resource-card>span{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--editorial-blue-dark)}.resource-card h3{margin:48px 0 10px;font-family:var(--editorial-serif)!important;font-size:30px;font-weight:400;color:var(--editorial-navy)}.resource-card p{font-size:12px;line-height:1.65;color:var(--editorial-muted)}.resource-card b{margin-top:auto;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#93a0aa}.coming-soon{background:linear-gradient(180deg,#fff 0%,#f5f6f4 100%)}
.closing-invitation{padding:72px 0 28px;border-top:1px solid var(--editorial-line);text-align:center}.closing-invitation h2{font-size:clamp(48px,6vw,82px)!important;max-width:18ch;margin:12px auto 18px;color:var(--editorial-navy)}.closing-invitation p{color:var(--editorial-muted);font-size:15px}

@media(max-width:1100px){.landing-card-grid.editorial-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sale-story-grid,.genetics-opportunity{grid-template-columns:1fr}.story-image{position:static;max-width:720px}.custodian-section{grid-template-columns:1fr}.custodian-quote{max-width:14ch}.sale-practical{padding:44px}.resource-card-grid{grid-template-columns:1fr 1fr}.resource-card:last-child{grid-column:1/-1}}
@media(max-width:760px){.home-editorial-story{grid-template-columns:1fr}.home-story-copy h2{font-size:44px!important}.home-sale-facts{padding:22px}.landing-card-grid.editorial-four{grid-template-columns:1fr!important}.sale-story-hero{min-height:68vh}.sale-story-hero-copy{padding:130px 18px 34px}.sale-story-hero-copy h1{font-size:58px!important}.sale-story-page{padding:48px 18px 62px}.sale-story-lead{grid-template-columns:1fr;gap:14px;padding-bottom:38px}.sale-story-lead h2,.story-deck{grid-column:1}.sale-story-lead h2{font-size:48px!important}.sale-story-grid{padding:48px 0;gap:32px}.mantra-quote{font-size:30px}.custodian-section{padding:48px 0}.custodian-quote{font-size:58px}.genetics-opportunity{padding:48px 0}.genetics-opportunity h2{font-size:44px!important}.genetics-statements>div{grid-template-columns:108px 1fr}.sale-practical{grid-template-columns:1fr;padding:28px 22px}.sale-practical h2{font-size:44px!important}.resource-card-grid{grid-template-columns:1fr}.resource-card:last-child{grid-column:auto}.sale-resources{padding:50px 0}.closing-invitation h2{font-size:46px!important}.header-nav.sale-nav .nav-link,.header-nav.sale-nav .login-button{flex:0 0 auto}}

/* v25 — decluttered animal profiles */
.animal-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,390px)!important;
  gap:clamp(24px,4vw,54px)!important;
  align-items:center!important;
}
.profile-glance{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:22px;
  border:1px solid rgba(23,50,74,.12);
  border-radius:16px;
  background:rgba(255,255,255,.68);
  backdrop-filter:blur(8px);
}
.profile-glance-head{padding-bottom:14px;border-bottom:1px solid #dfe5e8;margin-bottom:12px}
.profile-glance-title{font-family:var(--editorial-serif);font-size:27px;line-height:1;color:var(--editorial-navy)}
.profile-glance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.profile-glance-item{padding:12px 10px;border-bottom:1px solid #e4e9ec;border-right:1px solid #e4e9ec}
.profile-glance-item:nth-child(2n){border-right:0}
.profile-glance-item:nth-last-child(-n+2){border-bottom:0}
.profile-glance-item span{display:block;font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:#7b8891;font-weight:800}
.profile-glance-item b{display:block;margin-top:3px;font-family:var(--editorial-serif);font-size:30px;line-height:1;color:var(--editorial-navy);font-weight:400}
.profile-glance-empty{color:var(--editorial-muted);font-size:12px}
.profile-shortlist-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:9px!important}
.share-profile-button{
  appearance:none;
  border:1px solid #bfcbd2;
  background:rgba(255,255,255,.72);
  color:var(--editorial-navy);
  border-radius:9px;
  padding:10px 13px;
  font:700 11px/1 var(--editorial-sans);
  cursor:pointer;
}
.share-profile-button:hover{background:#fff;border-color:#8fa4b2}

.genetic-details-card{
  background:var(--editorial-white);
  border:1px solid var(--editorial-line);
  border-radius:var(--editorial-radius);
  box-shadow:none;
  padding:24px;
  margin:18px 0;
}
.genetic-details-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.genetic-detail{display:flex;justify-content:space-between;gap:10px;padding:10px 11px;background:#f5f7f8;border-radius:9px;font-size:11px}
.genetic-detail span{color:#77838c}
.genetic-detail b{color:var(--editorial-navy);font-weight:800;text-align:right}
.sale-highlights-card .industry-interest-list{grid-template-columns:repeat(2,minmax(0,1fr))}

/* More restrained section rhythm on profiles */
.animal-hero + .photo-section,
.animal-hero + .industry-interest-card,
.animal-hero + .proof-control-card{margin-top:20px!important}
.proof-control-card{margin-top:18px!important}
.proof-card{margin:12px 0!important}
.animal-hero .profile-badges{max-width:780px}
.animal-hero .chips{margin-top:15px!important}
.animal-hero .chip{font-size:9px!important;padding:6px 8px!important}
.progeny-card .empty-progeny{display:none!important}

@media(max-width:980px){
  .animal-hero{grid-template-columns:1fr!important}
  .profile-glance{max-width:none}
  .genetic-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .animal-hero{display:block!important}
  .profile-glance{margin-top:22px;padding:17px}
  .profile-glance-title{font-size:24px}
  .profile-glance-item b{font-size:26px}
  .sale-highlights-card .industry-interest-list{grid-template-columns:1fr}
  .genetic-details-grid{grid-template-columns:1fr}
  .share-profile-button{flex:1 1 auto}
}

/* v26 — editorial image bank and simplified homepage hero */
.landing-content{
  grid-template-columns:minmax(320px,620px)!important;
  justify-content:end!important;
}
.hero-actions-only{justify-self:start!important;max-width:620px!important}
.editorial-split{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  min-height:520px;
  margin:0 0 34px;
  overflow:hidden;
  border:1px solid var(--editorial-line);
  border-radius:24px;
  background:var(--editorial-white);
}
.editorial-split-next{grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr)}
.editorial-split-media{min-height:520px;background:#d8dee1}
.editorial-split-media img{width:100%;height:100%;display:block;object-fit:cover}
.editorial-split-story .editorial-split-media img{object-position:center 46%}
.editorial-next-media img{object-position:center 48%}
.editorial-split-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(36px,6vw,78px);
}
.editorial-split-copy h2{
  margin:10px 0 20px;
  max-width:11ch;
  color:var(--editorial-navy)!important;
  font-size:clamp(42px,4.6vw,68px)!important;
}
.editorial-split-copy p{
  max-width:50ch;
  margin:0 0 24px;
  color:var(--editorial-muted);
  font-size:14px;
  line-height:1.75;
}
.farm-gallery-section{
  margin:0 0 44px;
  padding:38px 0 0;
  border-top:1px solid var(--editorial-line);
}
.farm-gallery-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:28px;
  margin-bottom:22px;
}
.farm-gallery-heading h2{
  margin:6px 0 0;
  color:var(--editorial-navy)!important;
  font-size:clamp(44px,5vw,70px)!important;
}
.farm-gallery-heading p{max-width:38ch;margin:0;color:var(--editorial-muted);line-height:1.65}
.farm-gallery-grid{
  display:grid;
  grid-template-columns:1.35fr .8fr .8fr;
  grid-template-rows:240px 240px;
  gap:12px;
}
.farm-gallery-grid figure{margin:0;overflow:hidden;border-radius:16px;background:#dce2e5}
.farm-gallery-grid figure:first-child{grid-row:1 / span 2}
.farm-gallery-grid img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .5s ease}
.farm-gallery-grid figure:hover img{transform:scale(1.025)}
.farm-gallery-grid figure:nth-child(2) img{object-position:center 44%}
.farm-gallery-grid figure:nth-child(3) img{object-position:center 45%}
.farm-gallery-grid figure:nth-child(4) img{object-position:center 47%}
.farm-gallery-grid figure:nth-child(5) img{object-position:center 43%}
@media(max-width:760px){
  .landing-content{grid-template-columns:1fr!important;padding:126px 20px 38px!important}
  .editorial-split,.editorial-split-next{grid-template-columns:1fr;min-height:0;border-radius:18px}
  .editorial-split-next .editorial-split-copy{order:2}
  .editorial-split-next .editorial-split-media{order:1}
  .editorial-split-media{min-height:330px}
  .editorial-split-copy{padding:32px 24px 36px}
  .editorial-split-copy h2{font-size:42px!important;max-width:13ch}
  .farm-gallery-heading{display:block}
  .farm-gallery-heading p{margin-top:12px}
  .farm-gallery-grid{grid-template-columns:1fr 1fr;grid-template-rows:280px 180px 180px}
  .farm-gallery-grid figure:first-child{grid-column:1 / span 2;grid-row:auto}
}


/* v27 animal-page information hierarchy */
.animal-section-nav{position:sticky;top:72px;z-index:35;display:flex;gap:.35rem;overflow-x:auto;padding:.55rem .7rem;margin:0 0 1.1rem;background:rgba(248,247,244,.94);backdrop-filter:blur(12px);border:1px solid rgba(16,36,58,.10);border-radius:999px;scrollbar-width:none}
.animal-section-nav::-webkit-scrollbar{display:none}
.animal-section-nav a{flex:0 0 auto;padding:.48rem .76rem;border-radius:999px;color:#43505b;font-size:.76rem;font-weight:700;letter-spacing:.02em;text-decoration:none}
.animal-section-nav a:hover,.animal-section-nav a:focus{background:#e9eff4;color:#10243a}
.proof-freshness{margin-top:.6rem!important;font-size:.76rem!important;color:#66737e!important;letter-spacing:.01em}
.single-proof-label{display:inline-flex;align-items:center;padding:.62rem .9rem;border-radius:999px;background:#10243a;color:white;font-size:.78rem;font-weight:750}
.proof-detail-disclosure,.compact-details{margin-top:1rem;border-top:1px solid rgba(16,36,58,.11);padding-top:.3rem}
.proof-detail-disclosure>summary,.compact-details>summary{cursor:pointer;list-style:none;padding:.85rem 0;color:#315f88;font-weight:750;font-size:.82rem;letter-spacing:.015em}
.proof-detail-disclosure>summary::-webkit-details-marker,.compact-details>summary::-webkit-details-marker{display:none}
.proof-detail-disclosure>summary::after,.compact-details>summary::after{content:'+';float:right;font-size:1.15rem;font-weight:400}
.proof-detail-disclosure[open]>summary::after,.compact-details[open]>summary::after{content:'−'}
.profile-glance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:900px){.profile-glance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.animal-section-nav{top:78px;max-width:max-content;margin-left:auto;margin-right:auto}}
@media(max-width:720px){.animal-section-nav{top:62px;margin-left:-.15rem;margin-right:-.15rem;border-radius:14px}.profile-glance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v28 — intentional mobile experience and curated animal index */
.mobile-header-actions{display:none;align-items:center;gap:8px;margin-left:auto}
.mobile-menu-toggle,.mobile-shortlist-link{border:1px solid rgba(16,36,58,.15);background:rgba(255,255,255,.78);color:#10243a;border-radius:999px;padding:9px 12px;font:700 11px/1 Manrope,sans-serif;text-decoration:none}
.mobile-shortlist-link .shortlist-count{margin-left:4px;background:#10243a;color:#fff;border-radius:999px;padding:2px 6px}
.landing-subline{max-width:52ch;margin:12px 0 22px;color:rgba(255,255,255,.86);font-size:14px;line-height:1.65}
.hero-text-action{display:inline-flex;color:white;text-decoration:none;font-weight:700;font-size:13px;padding:8px 2px;border-bottom:1px solid rgba(255,255,255,.45)}
.hero-text-action:hover{border-color:#fff}

.animal-category-shortcuts{max-width:1280px;margin:0 auto 28px;padding:0 0 8px}
.category-shortcuts-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px}
.category-shortcuts-head h2{margin:4px 0 0;font-size:clamp(34px,4vw,54px)!important}
.category-shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.category-shortcut{appearance:none;text-align:left;border:1px solid rgba(16,36,58,.12);background:#fff;border-radius:15px;padding:18px;cursor:pointer;transition:.2s ease;min-height:98px}
.category-shortcut:hover{transform:translateY(-2px);border-color:#8096a5;box-shadow:0 10px 28px rgba(16,36,58,.08)}
.category-shortcut strong{display:block;font-family:Instrument Serif,serif;font-size:24px;font-weight:400;color:#10243a;line-height:1.05}
.category-shortcut span{display:block;margin-top:8px;color:#6d7881;font-size:11px;line-height:1.45}
.search-sort-wrap{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;align-items:end}
.sort-control{display:grid;gap:6px}.sort-control span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#6d7881}
.sort-control select{width:100%;min-height:48px;border:1px solid #d4dde2;border-radius:11px;background:#fff;padding:0 38px 0 13px;color:#10243a;font:700 12px Manrope,sans-serif}
.active-filter-summary{font-size:11px;color:#315f88;font-weight:700;margin-top:4px}
.card-availability{margin:10px 0 0;color:#73808a;font-size:10px;font-weight:700;letter-spacing:.02em}
.load-more-animals{display:block;margin:32px auto 0;border:1px solid #10243a;background:#10243a;color:#fff;border-radius:999px;padding:13px 24px;font:700 12px Manrope,sans-serif;cursor:pointer}
.load-more-animals[hidden]{display:none}
.animal-card:not(.with-photo){background:linear-gradient(180deg,#fff,#f7f8f8)}
.animal-card.with-photo{grid-row:span 2}
.animal-card .quick-metrics:empty{display:none}

@media(max-width:760px){
  .site-header.sale-header{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;padding:12px 16px!important;gap:8px!important;position:sticky;top:0;z-index:100}
  .site-header .logo-brand img{max-width:145px!important;height:auto!important}
  .mobile-header-actions{display:flex}
  .header-nav.sale-nav{display:none!important;grid-column:1/-1;flex-direction:column!important;align-items:stretch!important;gap:4px!important;padding:10px 0 4px!important;overflow:visible!important}
  .site-header.menu-open .header-nav.sale-nav{display:flex!important}
  .header-nav.sale-nav .nav-link,.header-nav.sale-nav .login-button{width:100%!important;text-align:left!important;border-radius:9px!important;padding:11px 12px!important;background:transparent!important;border:0!important}
  .header-nav.sale-nav .shortlist-nav-link{display:none!important}
  .landing-hero{min-height:calc(100svh - 70px)!important}
  .landing-content{padding:28px 22px 44px!important;display:flex!important;align-items:flex-start!important}
  .landing-copy.hero-actions-only{padding-top:18px!important;max-width:100%!important}
  .landing-kicker{font-size:10px!important;letter-spacing:.18em!important}
  .landing-manifesto{display:block!important;margin:12px 0 0!important;max-width:9.5ch!important;font-family:Instrument Serif,serif!important;font-size:48px!important;line-height:.93!important;color:#fff!important}
  .landing-subline{max-width:36ch;margin:14px 0 20px;font-size:12px;line-height:1.55}
  .hero-actions{display:flex!important;flex-wrap:wrap!important;gap:9px 18px!important;align-items:center!important}
  .hero-actions .primary-action{flex:0 0 auto!important;width:auto!important;padding:12px 18px!important}
  .hero-text-action{font-size:12px}
  .landing-hero-img{object-position:57% center!important}
  .animal-category-shortcuts{padding:0 18px;margin-bottom:20px}
  .category-shortcuts-head{display:block}.category-shortcuts-head h2{font-size:38px!important}
  .category-shortcut-grid{display:flex;overflow-x:auto;gap:10px;padding:2px 2px 10px;scroll-snap-type:x mandatory;scrollbar-width:none}
  .category-shortcut-grid::-webkit-scrollbar{display:none}.category-shortcut{flex:0 0 72%;scroll-snap-align:start;min-height:112px}
  .search-sort-wrap{grid-template-columns:1fr}.sort-control{grid-template-columns:50px 1fr;align-items:center}.sort-control span{margin:0}
  .animal-filter-panel{margin:0 0 18px!important;overflow-x:auto!important;display:flex!important;gap:14px!important;scrollbar-width:none}
  .animal-filter-panel .filter-group{flex:0 0 auto!important}
  .animal-list{grid-template-columns:1fr!important}
  .animal-card.with-photo{grid-row:auto}
  .animal-card.with-photo .animal-card-photo{height:260px!important}
}

/* v29 families, compare and buyer tools */
.compare-count{display:inline-grid;place-items:center;min-width:1.45rem;height:1.45rem;border-radius:999px;background:#e8eef3;font-size:.72rem;margin-left:.25rem}.compare-toggle,.card-compare-button,.profile-compare-button{font:inherit;border:1px solid #9eacb7;background:transparent;color:#173148;border-radius:999px;padding:.62rem .9rem;cursor:pointer}.compare-toggle.saved{background:#173148;color:#fff}.card-compare-button{margin-top:.55rem;width:100%}.profile-compare-button{width:auto}.families-intro,.compare-intro{max-width:850px;padding:5rem 0 2rem}.families-intro h1,.compare-intro h1{font-family:var(--editorial-serif);font-size:clamp(3rem,7vw,6rem);font-weight:400;line-height:.95;margin:.4rem 0 1.25rem}.families-intro p,.compare-intro p{font-size:1.1rem;max-width:720px}.family-editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:2rem 0 6rem}.family-editorial-card{display:grid;grid-template-columns:42% 1fr;background:#fff;border:1px solid #d8dee3;text-decoration:none;color:inherit;overflow:hidden}.family-editorial-card img{width:100%;height:100%;min-height:280px;object-fit:cover}.family-editorial-card>div{padding:2rem}.family-editorial-card h2,.family-section h2{font-family:var(--editorial-serif);font-size:2.5rem;font-weight:400;margin:.35rem 0}.family-section{padding:5rem 0;border-top:1px solid #d5dbe0}.family-section-head{display:flex;justify-content:space-between;gap:2rem;align-items:end}.family-section-head p{max-width:720px}.relationship-model{background:#eef2f4;padding:1.5rem;margin:2rem 0}.relationship-model-body{display:flex;gap:1rem;align-items:center;overflow:auto;padding:.8rem 0}.relationship-edge{display:flex;align-items:center;gap:.65rem;white-space:nowrap}.relationship-edge a,.generation-column a{color:#173148;font-weight:700}.relationship-edge span,.generation-column>span{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:#61717d}.generation-column{display:grid;gap:.45rem;min-width:260px}.generation-arrow{font-size:2rem;color:#80909b}.relationship-note{font-size:.78rem;color:#687783}.family-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.family-member-card{background:#fff;border:1px solid #d8dee3;text-decoration:none;color:inherit;overflow:hidden}.family-member-card img,.family-data-placeholder{width:100%;height:220px;object-fit:cover}.family-data-placeholder{display:grid;place-items:center;background:#e8edf0;color:#61717d}.family-member-card>div{padding:1.1rem}.family-member-card h3{margin:.25rem 0;font-size:1rem}.family-member-card p{font-size:.8rem;color:#687783}.family-metrics{display:flex;flex-wrap:wrap;gap:.35rem}.family-metrics span{font-size:.7rem;background:#eef2f4;padding:.28rem .42rem}.compare-empty{padding:4rem;background:#fff;border:1px solid #d8dee3;text-align:center}.compare-toolbar{display:flex;justify-content:space-between;margin:1rem 0}.compare-table-wrap{overflow:auto}.compare-table{width:100%;border-collapse:collapse;background:#fff}.compare-table th,.compare-table td{padding:1rem;border:1px solid #d8dee3;vertical-align:top;min-width:180px}.compare-table thead th{min-width:240px}.compare-table thead img{width:100%;height:180px;object-fit:cover;display:block;margin-bottom:.75rem}.compare-table thead a{font-family:var(--editorial-serif);font-size:1.6rem;color:#173148}.compare-table small{display:block;margin-top:.3rem}.compare-value{font-size:1.7rem;font-weight:800}.shortlist-note-label{display:grid;gap:.4rem;margin-top:1rem;font-size:.75rem;font-weight:700}.shortlist-note-label textarea{min-height:80px;padding:.7rem;border:1px solid #cbd4da;font:inherit}.pack-head{padding:4rem 0 2rem}.pack-animal{padding:2rem 0;border-top:1px solid #ccd5db}.pack-note{background:#eef2f4;padding:1rem;margin:1rem 0}.custodian-closing{margin-top:5rem;background:#142b3f;color:#fff;text-align:center;padding:7rem 1.5rem}.custodian-closing-inner{max-width:850px;margin:auto}.custodian-closing blockquote{font-family:var(--editorial-serif);font-size:clamp(3rem,7vw,6rem);line-height:.95;margin:1rem 0}.custodian-closing p{font-size:1.1rem}.closing-actions{display:flex;justify-content:center;gap:.8rem;margin-top:2rem}.custodian-closing .navy-outline{border-color:#fff;color:#fff}
@media(max-width:760px){.family-editorial-grid{grid-template-columns:1fr}.family-editorial-card{grid-template-columns:1fr}.family-editorial-card img{min-height:230px}.family-member-grid{grid-template-columns:1fr}.family-section-head{display:block}.compare-table th,.compare-table td{min-width:150px;padding:.75rem}.compare-table thead th{min-width:190px}.compare-table thead img{height:125px}.closing-actions{flex-direction:column}.families-intro,.compare-intro{padding-top:3rem}}

/* v30 family experience */
.family-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:2rem 0 4rem}.family-overview-card{display:grid;grid-template-columns:180px 1fr;min-height:220px;background:#fff;border:1px solid rgba(16,36,58,.12);text-decoration:none;color:inherit;overflow:hidden}.family-overview-card img{width:100%;height:100%;object-fit:cover}.family-overview-card>div{padding:1.5rem}.family-overview-card h2{margin:.35rem 0;font-family:var(--editorial-serif);font-size:2rem}.family-overview-card p{color:#586572}.family-feature{padding:4rem 0;border-top:1px solid rgba(16,36,58,.14)}.family-feature-head{display:flex;justify-content:space-between;gap:2rem;align-items:flex-end;margin-bottom:2rem}.family-feature-head h2{font-size:3rem;margin:.25rem 0}.family-feature-head p{max-width:720px;color:#586572}.family-lineage{background:#eef3f6;padding:1.5rem;margin:0 0 2rem}.family-lineage-head{display:flex;justify-content:space-between;gap:2rem;align-items:end;margin-bottom:1rem}.family-lineage-head p{max-width:360px;color:#66727c}.lineage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.lineage-branch{background:#fff;padding:1.15rem;border-left:3px solid #315f88}.lineage-dam{font-weight:800;color:#10243a;text-decoration:none}.lineage-label{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:#71808c;margin:.65rem 0 .4rem}.lineage-progeny{display:flex;flex-wrap:wrap;gap:.45rem}.lineage-progeny a,.branch-more{font-size:.82rem;background:#f4f6f7;padding:.4rem .55rem;color:#243747;text-decoration:none}.family-showcase-head{display:flex;justify-content:space-between;align-items:center;margin:1.5rem 0 1rem}.family-showcase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.family-showcase-card{background:#fff;border:1px solid rgba(16,36,58,.1);text-decoration:none;color:inherit;overflow:hidden}.family-showcase-card img,.family-profile-placeholder{width:100%;aspect-ratio:4/3;object-fit:cover}.family-profile-placeholder{display:grid;place-items:center;background:#edf1f3;color:#71808c}.family-showcase-card>div{padding:1rem}.family-showcase-card h3{margin:.3rem 0;font-size:1rem}.family-showcase-card p{font-size:.82rem;color:#68747e}.family-showcase-card .family-metrics{display:flex;flex-wrap:wrap;gap:.35rem}.family-showcase-card .family-metrics span{font-size:.72rem;background:#eef3f6;padding:.3rem .4rem}.family-lineage-simple{max-width:760px}.text-link{font-weight:700;color:#315f88}@media(max-width:800px){.family-overview-grid{grid-template-columns:1fr}.family-overview-card{grid-template-columns:110px 1fr;min-height:160px}.family-overview-card>div{padding:1rem}.family-overview-card h2{font-size:1.5rem}.family-feature-head,.family-lineage-head{display:block}.family-feature-head h2{font-size:2.3rem}.lineage-grid{grid-template-columns:1fr}.family-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.family-showcase-grid{grid-template-columns:1fr}.family-overview-card{grid-template-columns:95px 1fr}}

/* v31 family pedigree + genomics */
.family-index-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0 44px}.family-index-card{background:#fff;border:1px solid rgba(19,41,61,.12);border-radius:18px;padding:22px;text-decoration:none;color:inherit;transition:.2s ease}.family-index-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(16,36,58,.08)}.family-index-card h2{margin:4px 0 8px}.family-count{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:#667785}.family-section{padding:54px 0;border-top:1px solid rgba(19,41,61,.12)}.family-section-head{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:end;margin-bottom:24px}.family-section-head p{max-width:760px}.branch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.branch-card{background:#fff;border:1px solid rgba(19,41,61,.12);border-radius:18px;padding:20px}.branch-dam{border-bottom:1px solid rgba(19,41,61,.1);padding-bottom:14px;margin-bottom:14px}.branch-label,.ped-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:#71808b}.branch-dam h3,.offspring-card h4{margin:5px 0}.offspring-grid{display:grid;gap:10px}.offspring-card{background:#f6f8fa;border-radius:13px;padding:14px}.pedigree-line{color:#526675;font-size:.9rem}.pedigree-metrics{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.pedigree-metrics span{background:#e9eff4;border-radius:999px;padding:5px 9px;font-size:.78rem;color:#17344c}.family-representatives{margin-top:28px}.representative-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.pedigree-genetics-card{background:#fff;border:1px solid rgba(19,41,61,.12);border-radius:16px;padding:17px}.pedigree-genetics-card h3{font-size:1rem;margin:5px 0}.pedigree-row{display:grid;grid-template-columns:90px 1fr;gap:10px;padding:8px 0;border-top:1px solid rgba(19,41,61,.08);font-size:.86rem}.pedigree-row:first-of-type{border-top:0}.pedigree-genetics-section{margin-top:22px}.pedigree-family-link{display:inline-flex;margin-top:12px}.animal-pedigree-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.animal-pedigree-node{background:#f6f8fa;border-radius:14px;padding:15px}.animal-pedigree-node strong{display:block;margin-top:5px}.animal-pedigree-node a{text-decoration:none}.family-compact-note{font-size:.9rem;color:#60717d}
@media(max-width:900px){.family-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.representative-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-grid{grid-template-columns:1fr}.animal-pedigree-grid{grid-template-columns:1fr}}
@media(max-width:600px){.family-index-grid{grid-template-columns:1fr}.family-section{padding:38px 0}.family-section-head{grid-template-columns:1fr}.representative-grid{grid-template-columns:1fr}.pedigree-metrics{gap:5px}}

/* v32 Families editorial hierarchy */
.family-landing-intro{max-width:760px;margin:0 auto 42px;text-align:center}.family-landing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:36px 0 72px}.family-editorial-card{position:relative;min-height:390px;border-radius:22px;overflow:hidden;background:#10243a;color:#fff;display:flex;align-items:flex-end;text-decoration:none;box-shadow:0 18px 45px rgba(16,36,58,.12)}.family-editorial-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.family-editorial-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,20,32,.04) 20%,rgba(8,20,32,.88) 100%)}.family-editorial-card .family-card-copy{position:relative;z-index:2;padding:28px}.family-editorial-card h2{font-size:34px;margin:4px 0 10px;color:#fff}.family-editorial-card p{color:rgba(255,255,255,.82);line-height:1.55;margin:0 0 16px}.family-editorial-card .family-count{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.72)}.family-detail-hero{padding:70px 0 48px}.family-detail-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:44px;align-items:center}.family-detail-image{height:460px;border-radius:24px;overflow:hidden}.family-detail-image img{width:100%;height:100%;object-fit:cover}.family-detail-copy h1{font-size:clamp(44px,6vw,78px);line-height:.98;margin:10px 0 20px}.family-overview-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:28px 0}.family-overview-strip div{border-top:1px solid #cbd4dc;padding-top:14px}.family-overview-strip b{display:block;font-size:24px}.family-overview-strip span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#667582}.family-branch-section,.family-reps-section{padding:54px 0;border-top:1px solid #dce3e8}.family-section-title{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:26px}.family-section-title h2{margin:0;font-size:42px}.family-tree-clean{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.family-tree-clean .branch-card{margin:0}.family-tree-clean .offspring-grid{display:flex;flex-wrap:wrap;gap:8px}.family-tree-clean .offspring-card{padding:12px 14px;flex:1 1 180px}.family-rep-clean{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.family-rep-clean .pedigree-genetics-card{margin:0}.family-detail-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}@media(max-width:900px){.family-landing-grid{grid-template-columns:repeat(2,1fr)}.family-detail-grid{grid-template-columns:1fr}.family-detail-image{height:360px}.family-tree-clean,.family-rep-clean{grid-template-columns:1fr 1fr}}@media(max-width:620px){.family-landing-grid{grid-template-columns:1fr;gap:16px}.family-editorial-card{min-height:330px}.family-detail-hero{padding:36px 0 28px}.family-detail-copy h1{font-size:48px}.family-detail-image{height:300px}.family-overview-strip{grid-template-columns:1fr 1fr}.family-tree-clean,.family-rep-clean{grid-template-columns:1fr}.family-section-title{align-items:start;flex-direction:column}.family-section-title h2{font-size:34px}}


/* v33 Families alignment and hierarchy reset */
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.page-hero.compact{padding:72px 0 28px;border-bottom:1px solid var(--editorial-line,#d8dee3)}
.page-hero.compact .container{max-width:1180px}
.page-hero.compact h1{max-width:820px;margin:.35rem 0 .8rem;font-size:clamp(3.25rem,6vw,5.4rem);line-height:.96}
.page-hero.compact p{max-width:700px;margin:0;color:#5f6d78;font-size:1.05rem}
.family-landing-intro{max-width:760px;margin:34px 0 30px;text-align:left;color:#5f6d78}
.family-landing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 72px}
.family-editorial-card{min-height:0;display:block;background:#fff;color:#13283a;border:1px solid #d8dee3;border-radius:18px;box-shadow:none;overflow:hidden}
.family-editorial-card:after{display:none}
.family-editorial-card img{position:static;display:block;width:100%;height:210px;object-fit:cover}
.family-editorial-card .family-card-copy{padding:22px 22px 24px}
.family-editorial-card .family-count{color:#70808b;font-size:11px}
.family-editorial-card h2{color:#13283a;font-size:32px;margin:6px 0 8px}
.family-editorial-card p{color:#61707b;line-height:1.55;margin:0 0 14px;min-height:72px}
.family-editorial-card .text-link{color:#256fae;font-weight:800}
.family-editorial-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(16,36,58,.09);border-color:#bcc9d3}

.family-detail-hero{padding:62px 0 48px;border-bottom:1px solid #dce3e8}
.family-detail-grid{grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);gap:56px;align-items:center}
.family-detail-copy{max-width:680px}
.family-detail-copy h1{font-size:clamp(3.5rem,6vw,5.5rem);line-height:.94;margin:12px 0 18px}
.family-detail-copy>p{font-size:1.06rem;line-height:1.65;color:#5f6d78;max-width:650px}
.family-detail-image{height:390px;border-radius:18px;border:1px solid #d8dee3}
.family-overview-strip{gap:22px;margin:30px 0 20px}
.family-overview-strip b{font-size:28px;color:#13283a}
.family-detail-actions{margin-top:20px}
.family-branch-section,.family-reps-section{padding:58px 0}
.family-section-title{align-items:flex-start;margin-bottom:24px}
.family-section-title h2{font-size:clamp(2.4rem,4vw,3.5rem);line-height:1}
.family-section-title p{max-width:500px;color:#65737e;line-height:1.55}
.family-tree-clean{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.family-tree-clean .branch-card{background:#fff;border:1px solid #d8dee3;border-radius:16px;padding:0;overflow:hidden;box-shadow:none}
.family-tree-clean .branch-dam{padding:20px 20px 16px;background:#f7f9fa;border-bottom:1px solid #e3e8ec}
.family-tree-clean .branch-dam h3{font-size:1.2rem;margin:5px 0 6px}
.family-tree-clean .offspring-grid{display:block;padding:8px 20px 16px}
.family-tree-clean .offspring-card{padding:12px 0;border:0;border-bottom:1px solid #edf0f2;background:transparent}
.family-tree-clean .offspring-card:last-child{border-bottom:0}
.pedigree-metrics{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.pedigree-metrics span{background:#edf3f7;border-radius:999px;padding:5px 8px;font-size:11px}
.family-rep-clean{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.family-rep-clean .pedigree-genetics-card{background:#fff;border:1px solid #d8dee3;border-radius:16px;padding:18px;box-shadow:none}
.family-rep-clean .pedigree-genetics-card h3{font-size:1.05rem;line-height:1.3;margin:6px 0 12px}
.pedigree-row{font-size:.83rem;padding:6px 0;border-top:1px solid #edf0f2}
.family-reps-section{background:#f4f7f8}

@media(max-width:980px){
 .container{width:min(100% - 28px,1180px)}
 .family-landing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .family-detail-grid{grid-template-columns:1fr;gap:30px}
 .family-detail-image{height:330px;order:-1}
 .family-tree-clean,.family-rep-clean{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
 .container{width:min(100% - 24px,1180px)}
 .page-hero.compact{padding:42px 0 18px}
 .page-hero.compact h1{font-size:3.1rem}
 .family-landing-intro{margin:24px 0 22px}
 .family-landing-grid{grid-template-columns:1fr;gap:14px}
 .family-editorial-card img{height:190px}
 .family-editorial-card p{min-height:0}
 .family-detail-hero{padding:30px 0 28px}
 .family-detail-copy h1{font-size:3.2rem}
 .family-detail-image{height:250px}
 .family-overview-strip{grid-template-columns:repeat(3,1fr);gap:10px}
 .family-overview-strip b{font-size:22px}
 .family-overview-strip span{font-size:9px}
 .family-section-title{display:block}
 .family-section-title p{margin-top:10px}
 .family-tree-clean,.family-rep-clean{grid-template-columns:1fr}
 .family-branch-section,.family-reps-section{padding:40px 0}
}


/* v34 — Families typography and system consistency */
.families-page,.family-detail-page{font-family:var(--editorial-sans)!important}
.page-hero.compact h1,.family-editorial-card h2,.family-detail-copy h1,.family-section-title h2{font-family:var(--editorial-serif)!important;font-weight:400!important;letter-spacing:-.025em!important}
.family-editorial-card p,.family-detail-copy>p,.family-section-title p,.pedigree-line,.pedigree-row,.family-count,.family-overview-strip span{font-family:var(--editorial-sans)!important}
.family-editorial-card h2{line-height:1.02!important}
.family-tree-clean .branch-dam h3,.family-tree-clean .offspring-card h4,.family-rep-clean .pedigree-genetics-card h3{font-family:var(--editorial-sans)!important;font-weight:700!important;letter-spacing:-.01em!important}
.family-detail-copy .text-link,.family-editorial-card .text-link{font-family:var(--editorial-sans)!important}

/* v35 families: intentional editorial hierarchy + deduplicated relationship visual */
.family-detail-hero .family-detail-grid{align-items:stretch}.family-detail-image{min-height:420px}.family-detail-image img{width:100%;height:100%;object-fit:cover}.family-photo-placeholder{height:100%;min-height:420px;background:linear-gradient(145deg,#e8eef2,#f7f5f0);display:flex;align-items:flex-end;padding:28px;color:#536675;font-size:.85rem;text-transform:uppercase;letter-spacing:.12em}.family-pov{padding:38px 0 20px}.family-pov-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:30px;align-items:start}.family-pov h2{margin:.25rem 0 .75rem}.family-pov-copy{max-width:720px}.family-pov-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.family-pov-stat{border-top:1px solid rgba(19,41,61,.18);padding:14px 0}.family-pov-stat b{display:block;font-family:var(--font-display,'Instrument Serif',serif);font-size:2rem;font-weight:400}.family-pov-stat span{font-size:.72rem;text-transform:uppercase;letter-spacing:.11em;color:#6e7e89}.family-lens-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.family-lens-row span{background:#e9eff4;border-radius:999px;padding:7px 11px;font-size:.78rem;color:#17344c}.lineage-wrap{display:grid;gap:22px}.lineage-root{border:1px solid rgba(19,41,61,.14);border-radius:18px;background:#fff;overflow:hidden}.lineage-node{position:relative}.lineage-node-main{padding:20px 22px}.lineage-node[data-depth="0"]>.lineage-node-main{background:#f4f7f8}.lineage-node h3,.lineage-node h4{margin:3px 0 5px}.lineage-node h3{font-size:1.22rem}.lineage-node h4{font-size:1rem}.lineage-reg{font-size:.72rem;letter-spacing:.08em;color:#758490}.lineage-children{margin-left:30px;border-left:1px solid rgba(35,78,112,.24);padding-left:22px}.lineage-child{border-top:1px solid rgba(19,41,61,.10)}.lineage-child:before{content:"";position:absolute;width:22px;border-top:1px solid rgba(35,78,112,.24);left:-22px;top:30px}.lineage-empty{padding:20px;border:1px solid rgba(19,41,61,.12);border-radius:16px;background:#fff}.family-section-title .family-purpose{max-width:620px}.family-featured-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}.family-featured-photo{position:relative;min-height:240px;border-radius:16px;overflow:hidden;background:#e8eef2}.family-featured-photo img{width:100%;height:100%;object-fit:cover}.family-featured-photo span{position:absolute;left:12px;bottom:12px;background:rgba(12,31,48,.86);color:#fff;padding:7px 10px;border-radius:999px;font-size:.76rem}.family-representatives{margin-top:42px}.representative-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.family-index-card img{aspect-ratio:16/10;object-fit:cover;width:100%;border-radius:14px;margin-bottom:14px}.family-index-card .no-family-photo{aspect-ratio:16/10;border-radius:14px;background:linear-gradient(145deg,#e8eef2,#f7f5f0);margin-bottom:14px}
@media(max-width:900px){.family-pov-grid{grid-template-columns:1fr}.family-detail-image{min-height:320px}.family-featured-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.representative-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.family-pov{padding-top:28px}.family-pov-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.lineage-children{margin-left:14px;padding-left:15px}.lineage-node-main{padding:16px}.family-featured-photos,.representative-grid{grid-template-columns:1fr}.family-detail-image{min-height:260px}}

.lineage-name-id{font-size:.7rem;color:#758490;font-family:var(--font-body,Manrope,sans-serif);font-weight:500}


/* v36 — global premium editorial × elite genetics consistency pass */
:root{
  --editorial-serif:"Instrument Serif", Georgia, serif;
  --editorial-sans:"Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --editorial-navy:#10243a;
  --editorial-blue-dark:#315f88;
  --editorial-ink:#1c2833;
  --editorial-muted:#65727d;
  --editorial-canvas:#f7f6f2;
  --editorial-white:#fff;
  --editorial-line:#dce3e7;
  --editorial-radius:18px;
  --editorial-shadow:0 16px 38px rgba(16,36,58,.09);
}
html{background:var(--editorial-canvas)}
body{font-family:var(--editorial-sans)!important;background:var(--editorial-canvas)!important;color:var(--editorial-ink)!important}
h1,h2,.display-title,.animal-name,.rank-value,.sale-date-large,.custodian-closing blockquote{font-family:var(--editorial-serif)!important;font-weight:400!important}
h3,h4,h5,h6,p,li,button,input,select,textarea,table,.chip,.badge,.pill,.eyebrow,.nav-link{font-family:var(--editorial-sans)!important}
.page,.sale-story-page,.family-page-shell{width:min(100% - 40px,1320px)!important;margin-inline:auto!important}
.site-header.sale-header{
  min-height:72px!important;
  padding:12px clamp(18px,3vw,46px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  background:rgba(247,246,242,.94)!important;
  border-bottom:1px solid rgba(16,36,58,.10)!important;
  backdrop-filter:blur(16px) saturate(140%)!important;
}
.logo-brand{display:flex!important;align-items:center!important;flex:0 0 auto!important}
.logo-brand img{width:126px!important;height:auto!important;display:block!important}
.header-nav.sale-nav{margin-left:auto!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important}
.nav-link,.login-button{border-radius:999px!important;font-size:11px!important;font-weight:700!important;padding:9px 12px!important;line-height:1!important;white-space:nowrap!important}
.nav-link.active{background:var(--editorial-navy)!important;color:#fff!important}
.login-button{background:#e8eef2!important;color:var(--editorial-navy)!important;border:0!important}

/* Uniform mobile controls: two equal icon buttons aligned right */
.mobile-header-actions{display:none!important;margin-left:auto!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex:0 0 auto!important}
.mobile-action-button{
  position:relative!important;
  width:42px!important;height:42px!important;min-width:42px!important;
  padding:0!important;margin:0!important;
  display:inline-grid!important;place-items:center!important;
  border:1px solid rgba(16,36,58,.14)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.88)!important;
  color:var(--editorial-navy)!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.mobile-action-button svg{width:19px!important;height:19px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.mobile-shortlist-link .shortlist-count{
  position:absolute!important;right:-4px!important;top:-5px!important;
  min-width:18px!important;height:18px!important;padding:0 4px!important;margin:0!important;
  display:grid!important;place-items:center!important;
  border-radius:999px!important;background:var(--editorial-navy)!important;color:#fff!important;
  border:2px solid var(--editorial-canvas)!important;font:700 9px/1 var(--editorial-sans)!important;
}
.mobile-menu-toggle[aria-expanded="true"]{background:var(--editorial-navy)!important;color:#fff!important}

/* Shared visual rhythm */
.eyebrow{font-size:10px!important;font-weight:800!important;letter-spacing:.18em!important;color:var(--editorial-blue-dark)!important}
.primary-action,.secondary-action,.editorial-text-link,.text-link{font-weight:700!important}
.control-panel,.proof-control-card,.proof-card,.progeny-card,.disclaimer,.rankings-section,.animal-search-section,.production-card,.expected-pa-card,.photo-section,.industry-interest-card,.embryo-card,.shortlist-panel{
  border-color:var(--editorial-line)!important;border-radius:var(--editorial-radius)!important;box-shadow:none!important
}
.section-head h2,.proof-head h2,.section-title-row h2{line-height:1.02!important}

/* Families inherit exactly the same editorial hierarchy */
.families-page,.family-detail-page{font-family:var(--editorial-sans)!important}
.family-index-hero,.family-detail-hero,.family-pov,.family-lineage-section,.family-representatives-section{color:var(--editorial-ink)!important}
.family-index-hero h1,.family-detail-copy h1,.family-section-title h2,.family-pov h2{font-family:var(--editorial-serif)!important;color:var(--editorial-navy)!important;font-weight:400!important}
.family-index-card,.family-pathway,.pedigree-genetics-card,.family-photo-card{
  background:#fff!important;border:1px solid var(--editorial-line)!important;border-radius:var(--editorial-radius)!important;box-shadow:none!important
}
.family-index-card:hover,.pedigree-genetics-card:hover{border-color:#b8c5ce!important;box-shadow:var(--editorial-shadow)!important;transform:translateY(-2px)!important}
.family-index-card h2,.family-pathway h3,.pedigree-genetics-card h3{font-family:var(--editorial-serif)!important;font-weight:400!important;color:var(--editorial-navy)!important}

@media(max-width:980px){
  .site-header.sale-header{align-items:center!important;display:flex!important}
  .header-nav.sale-nav{display:none!important}
  .mobile-header-actions{display:flex!important}
  .logo-brand img{width:112px!important}
}
@media(max-width:620px){
  .site-header.sale-header{padding:10px 16px!important;min-height:64px!important;flex-direction:row!important}
  .logo-brand img{width:106px!important}
  .page,.sale-story-page,.family-page-shell{width:min(100% - 28px,1320px)!important}
  .mobile-action-button{width:40px!important;height:40px!important;min-width:40px!important}
}

/* v37 family image integrity */
.family-card-placeholder{height:190px;display:grid;place-items:center;padding:24px;text-align:center;background:linear-gradient(135deg,#e9eef2,#f7f5f1);color:#526878;font-family:var(--editorial-sans);font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid #d8dee3}
@media(max-width:620px){.family-card-placeholder{height:180px}}

/* Animal genomic Excel export */
.animal-export-action{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:22px}.animal-export-action span{font-size:.82rem;color:var(--muted,#62707d);max-width:430px}.animal-export-action .button{white-space:nowrap}@media(max-width:720px){.animal-export-action{align-items:flex-start;gap:10px}.animal-export-action .button{width:100%;text-align:center}.animal-export-action span{font-size:.76rem}}

/* v39 — final colour and typography consistency pass
   Premium editorial × elite genetics platform */
:root{
  --editorial-navy:#10243A;
  --editorial-blue-dark:#315F88;
  --editorial-blue:#315F88;
  --editorial-blue-pale:#E9EFF4;
  --editorial-ink:#1D252C;
  --editorial-muted:#687783;
  --editorial-canvas:#F8F7F4;
  --editorial-paper:#F8F7F4;
  --editorial-stone:#F1F3F3;
  --editorial-white:#FFFFFF;
  --editorial-line:#DCE3E8;
  --editorial-shadow:0 14px 36px rgba(16,36,58,.08);
  --editorial-shadow-lg:0 24px 60px rgba(16,36,58,.13);

  /* Keep legacy components on the same design tokens. */
  --navy:#10243A;
  --navy-2:#193B58;
  --blue:#315F88;
  --blue-2:#5F7F99;
  --blue-soft:#E9EFF4;
  --steel:#687783;
  --ink:#1D252C;
  --muted:#687783;
  --line:#DCE3E8;
  --bg:#F8F7F4;
  --card:#FFFFFF;
  --soft:#EEF2F4;
  --shadow:0 14px 36px rgba(16,36,58,.08);
}

html,body{background:var(--editorial-canvas)!important;color:var(--editorial-ink)!important}
body{font-family:var(--editorial-sans)!important}
p,li,td,th,label,input,select,textarea{color:var(--editorial-ink)}
.muted,.animal-meta,.metric-sub,.proof-control-copy p,.section-title-row p,.family-purpose,.family-copy,.data-disclaimer-card p{color:var(--editorial-muted)!important}

/* Editorial headings and technical labels use one consistent hierarchy. */
h1,h2,.display-title,.animal-name,.sale-date-large,.custodian-closing blockquote{color:var(--editorial-navy)!important}
h3,h4,h5,h6{color:var(--editorial-ink)!important}
.eyebrow,.metric-label,.filter-group>span,.family-label,.lineage-reg,.card-kicker,.data-label{
  color:var(--editorial-blue-dark)!important;
}

/* Links should read as intentional editorial actions, never default browser blue. */
a:not(.nav-link):not(.primary-action):not(.secondary-action):not(.animal-card):not(.ranking-row):not(.family-index-card){color:var(--editorial-blue-dark)}
a:not(.nav-link):not(.primary-action):not(.secondary-action):hover{color:var(--editorial-navy)}

/* Navigation */
.site-header.sale-header{background:rgba(248,247,244,.95)!important;border-color:rgba(16,36,58,.10)!important}
.nav-link,.login-button{color:#55636E!important}
.nav-link:hover,.login-button:hover{background:#EEF2F4!important;color:var(--editorial-navy)!important}
.nav-link.active{background:var(--editorial-navy)!important;color:#fff!important}
.login-button,.login-button.logged-in{background:var(--editorial-blue-pale)!important;color:var(--editorial-navy)!important}
.shortlist-count{background:#DCE6ED!important;color:var(--editorial-navy)!important}

/* Cards and panels */
.control-panel,.proof-control-card,.proof-card,.progeny-card,.disclaimer,.rankings-section,.animal-search-section,
.shortlist-panel,.production-card,.expected-pa-card,.industry-interest-card,.data-disclaimer-card,
.family-index-card,.family-detail-card,.lineage-root,.representative-card{
  background:#fff!important;
  border-color:var(--editorial-line)!important;
  box-shadow:var(--editorial-shadow)!important;
}
.animal-card,.ranking-card,.data-card,.metric,.production-data-card,.pa-table-card{
  background:#fff!important;
  border-color:var(--editorial-line)!important;
}
.animal-card:hover,.family-index-card:hover{border-color:#B9C9D5!important;box-shadow:0 18px 42px rgba(16,36,58,.12)!important}

/* Pills, badges and filters stay restrained and unified. */
.chip,.card-filter-meta span,.breed-chip,.profile-badge,.production-note-chip,.pa-chip{
  background:var(--editorial-blue-pale)!important;
  border-color:#D4E0E8!important;
  color:var(--editorial-navy)!important;
}
.badge,.ranking-pill,.pill,.pa-pill{background:var(--editorial-navy)!important;color:#fff!important;border-color:var(--editorial-navy)!important}
.filter-toggle,.stage-toggle,.age-toggle,.breed-toggle,.proof-toggle,.ranking-view-toggle{
  background:#fff!important;border-color:var(--editorial-line)!important;color:var(--editorial-navy)!important;
}
.filter-toggle.active,.stage-toggle.active,.age-toggle.active,.breed-toggle.active,.proof-toggle.active,.ranking-view-toggle.active{
  background:var(--editorial-navy)!important;border-color:var(--editorial-navy)!important;color:#fff!important;
  box-shadow:0 8px 20px rgba(16,36,58,.16)!important;
}

/* Data emphasis uses the same restrained mid-blue everywhere. */
.metric-value,.rank-value,.pa-metric .metric-value,.production-metric .metric-value,.pa-table tbody td strong{
  color:var(--editorial-blue-dark)!important;
}
.quick-metrics span,.rank-no,.card-filter-meta span{background:#F1F4F6!important}
.quick-metrics b,.rank-no{color:var(--editorial-navy)!important}

/* Buttons */
.profile-shortlist-button,.card-shortlist-button,.navy-action,.primary-button,.export-button{
  background:var(--editorial-navy)!important;border-color:var(--editorial-navy)!important;color:#fff!important;
}
.navy-outline,.secondary-button{background:#fff!important;border-color:var(--editorial-line)!important;color:var(--editorial-navy)!important}

/* Family pages inherit the platform—not a separate microsite. */
.family-page-shell,.family-index-page,.family-detail-page{background:var(--editorial-canvas)!important;color:var(--editorial-ink)!important}
.family-index-card .family-card-copy,.family-pov-copy,.family-purpose{color:var(--editorial-muted)!important}
.family-lens-row span{background:var(--editorial-blue-pale)!important;color:var(--editorial-navy)!important}
.lineage-node[data-depth="0"]>.lineage-node-main{background:#F3F5F5!important}
.lineage-children{border-left-color:#C8D4DC!important}
.lineage-child:before{border-top-color:#C8D4DC!important}
.family-featured-photo span{background:rgba(16,36,58,.88)!important;color:#fff!important}
.family-photo-placeholder,.no-family-photo{background:linear-gradient(145deg,#E9EFF4,#F8F7F4)!important;color:var(--editorial-muted)!important}

/* Footer and sponsor treatment */
.sponsor-strip{background:#fff!important;border-color:var(--editorial-line)!important}
.site-footer{background:var(--editorial-navy)!important;color:rgba(255,255,255,.78)!important}
.site-footer a{color:#fff!important}

/* Avoid any legacy green/pink status colours disrupting the platform tone. */
.interest-badge,.cogent-badge,.embryo-badge,.service-badge{
  background:var(--editorial-blue-pale)!important;
  border-color:#D4E0E8!important;
  color:var(--editorial-navy)!important;
}

@media(max-width:760px){
  .site-header.sale-header{background:rgba(248,247,244,.97)!important}
  .mobile-action-button{background:#fff!important;border-color:var(--editorial-line)!important;color:var(--editorial-navy)!important}
}

/* v40 — strict editorial visibility and colour hierarchy audit
   Premium editorial × elite genetic tool
   Rule: editorial photography may be dramatic, but copy must always remain immediately legible. */
:root{
  --theme-navy:#10243A;
  --theme-blue:#315F88;
  --theme-pale:#E9EFF4;
  --theme-paper:#F8F7F4;
  --theme-ink:#1D252C;
  --theme-muted:#687783;
  --theme-line:#DCE3E8;
  --theme-white:#FFFFFF;
  --theme-on-dark:#FFFFFF;
  --theme-on-dark-muted:#E7EEF3;
}

/* Light editorial surfaces */
body,.page,.sale-story-page,.family-page-shell,.family-index-page,.family-detail-page{
  background:var(--theme-paper)!important;
  color:var(--theme-ink)!important;
}
h1,h2,.display-title,.animal-name,.sale-date-large{
  color:var(--theme-navy)!important;
}
p,li,td,th,label{color:var(--theme-ink)}
.muted,.animal-meta,.metric-sub,.section-title-row p,.family-purpose,.family-copy,.story-deck,
.story-article p,.custodian-copy p,.genetics-opportunity p,.sale-practical-copy p{
  color:var(--theme-muted)!important;
}
.eyebrow,.metric-label,.filter-group>span,.family-label,.lineage-reg,.card-kicker,.data-label{
  color:var(--theme-blue)!important;
}

/* Dark photographic surfaces: explicit exceptions to the light-page heading rule. */
.landing-hero .landing-kicker,
.landing-hero .landing-manifesto,
.landing-hero .landing-subline,
.landing-hero .hero-text-action,
.sale-story-hero-copy,
.sale-story-hero-copy h1,
.sale-story-hero-copy p,
.sale-story-hero-copy .eyebrow,
.family-editorial-card,
.family-editorial-card h2,
.family-editorial-card p,
.family-editorial-card .family-count,
.family-featured-photo span,
.custodian-closing,
.custodian-closing h1,
.custodian-closing h2,
.custodian-closing h3,
.custodian-closing blockquote,
.custodian-closing p,
.home-sale-facts,
.home-sale-facts h1,
.home-sale-facts h2,
.home-sale-facts h3,
.home-sale-facts p,
.site-footer,.site-footer p,.site-footer a,
.sale-footer,.sale-footer p,.sale-footer a{
  color:var(--theme-on-dark)!important;
}
.landing-hero .landing-subline,
.sale-story-hero-copy p,
.family-editorial-card p,
.family-editorial-card .family-count,
.custodian-closing p,
.home-sale-facts p,
.site-footer,.sale-footer{
  color:var(--theme-on-dark-muted)!important;
}
.landing-hero .landing-kicker,
.sale-story-hero-copy .eyebrow,
.home-sale-facts .eyebrow,
.custodian-closing .eyebrow{
  color:#D6E3EC!important;
}

/* Sale hero — stronger editorial contrast without flattening the photograph. */
.sale-story-overlay{
  background:
    linear-gradient(90deg,rgba(7,19,30,.88) 0%,rgba(7,19,30,.60) 43%,rgba(7,19,30,.16) 78%),
    linear-gradient(0deg,rgba(7,19,30,.78) 0%,rgba(7,19,30,.08) 62%)!important;
}
.sale-story-hero-copy h1{
  color:#fff!important;
  text-shadow:0 3px 28px rgba(0,0,0,.28)!important;
}
.sale-story-hero-copy p{
  color:#F1F5F7!important;
  text-shadow:0 2px 14px rgba(0,0,0,.32)!important;
}
.sale-story-hero-copy .eyebrow{color:#D7E4EC!important}

/* Homepage hero — retain image dominance while keeping every action readable. */
.landing-overlay{
  background:
    linear-gradient(90deg,rgba(8,22,34,.78) 0%,rgba(8,22,34,.42) 48%,rgba(8,22,34,.08) 76%),
    linear-gradient(0deg,rgba(8,22,34,.68) 0%,rgba(8,22,34,.04) 56%)!important;
}
.landing-manifesto{
  color:#fff!important;
  text-shadow:0 3px 24px rgba(0,0,0,.30)!important;
}
.landing-subline,.landing-kicker,.hero-text-action{
  text-shadow:0 2px 14px rgba(0,0,0,.28)!important;
}
.hero-text-action{color:#fff!important}

/* Dark editorial panels and actions */
.home-sale-facts,.custodian-closing{background:var(--theme-navy)!important}
.custodian-closing blockquote{color:#fff!important}
.custodian-closing .navy-outline{
  background:transparent!important;
  border-color:rgba(255,255,255,.72)!important;
  color:#fff!important;
}
.custodian-closing .navy-outline:hover{background:#fff!important;color:var(--theme-navy)!important}

/* Cards: restrained, high-contrast and consistent. */
.animal-card,.ranking-card,.data-card,.metric,.production-data-card,.pa-table-card,
.control-panel,.proof-control-card,.proof-card,.progeny-card,.disclaimer,.rankings-section,
.animal-search-section,.shortlist-panel,.production-card,.expected-pa-card,.industry-interest-card,
.data-disclaimer-card,.family-index-card,.family-detail-card,.lineage-root,.representative-card,
.resource-card,.sale-detail-card,.category-shortcut{
  background:#fff!important;
  border-color:var(--theme-line)!important;
  color:var(--theme-ink)!important;
}
.animal-card h2,.animal-card h3,.ranking-card h2,.ranking-card h3,.data-card h3,
.family-index-card h2,.family-index-card h3,.resource-card h3,.category-shortcut strong{
  color:var(--theme-navy)!important;
}

/* Technical emphasis: one blue, never pale text on pale backgrounds. */
.metric-value,.rank-value,.pa-metric .metric-value,.production-metric .metric-value,
.pa-table tbody td strong,.quick-metrics b,.rank-no{
  color:var(--theme-blue)!important;
}
.chip,.card-filter-meta span,.breed-chip,.profile-badge,.production-note-chip,.pa-chip,
.family-lens-row span,.interest-badge,.cogent-badge,.embryo-badge,.service-badge{
  background:var(--theme-pale)!important;
  border-color:#CAD8E2!important;
  color:var(--theme-navy)!important;
}
.badge,.ranking-pill,.pill,.pa-pill,
.filter-toggle.active,.stage-toggle.active,.age-toggle.active,.breed-toggle.active,
.proof-toggle.active,.ranking-view-toggle.active{
  background:var(--theme-navy)!important;
  border-color:var(--theme-navy)!important;
  color:#fff!important;
}

/* Buttons and links must have unambiguous states. */
.primary-action,.profile-shortlist-button,.card-shortlist-button,.navy-action,.primary-button,.export-button,.load-more-animals{
  background:var(--theme-navy)!important;
  border-color:var(--theme-navy)!important;
  color:#fff!important;
}
.primary-action:hover,.profile-shortlist-button:hover,.card-shortlist-button:hover,.navy-action:hover,
.primary-button:hover,.export-button:hover,.load-more-animals:hover{
  background:#193B58!important;
  border-color:#193B58!important;
  color:#fff!important;
}
.secondary-action,.navy-outline,.secondary-button{
  background:#fff!important;
  border-color:#BFCBD4!important;
  color:var(--theme-navy)!important;
}
.secondary-action:hover,.navy-outline:hover,.secondary-button:hover{
  border-color:var(--theme-navy)!important;
  color:var(--theme-navy)!important;
}

/* Navigation and focus visibility */
.nav-link,.login-button{color:#4E5E69!important}
.nav-link.active{background:var(--theme-navy)!important;color:#fff!important}
.mobile-action-button{background:#fff!important;border-color:#C9D3DA!important;color:var(--theme-navy)!important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid #88AFC9!important;
  outline-offset:3px!important;
}

/* Sponsor and footer surfaces */
.sale-sponsor-section,.sponsor-strip,.sponsor-footer-block,.build-credit{background:#fff!important;color:var(--theme-ink)!important}
.sponsor-heading,.build-credit span{color:var(--theme-muted)!important}
.site-footer,.sale-footer{background:var(--theme-navy)!important}

@media(max-width:760px){
  .sale-story-overlay{
    background:
      linear-gradient(0deg,rgba(7,19,30,.84) 0%,rgba(7,19,30,.40) 58%,rgba(7,19,30,.12) 100%)!important;
  }
  .landing-overlay{
    background:
      linear-gradient(0deg,rgba(8,22,34,.78) 0%,rgba(8,22,34,.32) 58%,rgba(8,22,34,.08) 100%)!important;
  }
  .sale-story-hero-copy h1,.landing-manifesto{color:#fff!important}
}

/* v41 — context-specific contrast lock.
   The palette remains strict; foreground colours are set by the actual surface,
   not by component names inherited from earlier dark-card iterations. */

/* Homepage sale facts: dark navy surface. */
.home-sale-facts,
.home-sale-facts .sale-date-large,
.home-sale-facts strong {
  color:#FFFFFF!important;
}
.home-sale-facts p { color:#E7EEF3!important; }
.home-sale-facts .eyebrow { color:#D6E3EC!important; }
.home-sale-facts .secondary-action {
  background:#FFFFFF!important;
  border-color:#FFFFFF!important;
  color:#10243A!important;
}

/* Families landing cards are now light editorial cards, not dark photographic panels. */
.families-page .family-editorial-card {
  background:#FFFFFF!important;
  color:#1D252C!important;
  border-color:#DCE3E8!important;
}
.families-page .family-editorial-card h2 { color:#10243A!important; }
.families-page .family-editorial-card p { color:#687783!important; }
.families-page .family-editorial-card .family-count { color:#687783!important; }
.families-page .family-editorial-card .text-link { color:#315F88!important; }

/* Family detail pages: all light-surface editorial copy retains the main hierarchy. */
.family-detail-page .family-detail-copy h1,
.family-detail-page .family-section-title h2,
.family-detail-page .branch-card h3,
.family-detail-page .pedigree-genetics-card h3,
.family-detail-page .representative-card h3 {
  color:#10243A!important;
}
.family-detail-page .family-detail-copy p,
.family-detail-page .family-section-title p,
.family-detail-page .pedigree-line,
.family-detail-page .pedigree-row,
.family-detail-page .relationship-note {
  color:#687783!important;
}

/* Explicit dark-surface exception remains limited to true photographic/dark panels. */
.family-featured-photo,
.family-featured-photo h2,
.family-featured-photo h3,
.family-featured-photo p,
.family-featured-photo span {
  color:#FFFFFF!important;
}

/* v45 */
.lot-badge,.profile-lot-badge{display:inline-flex;padding:.36rem .65rem;border:1px solid #c9d4dc;border-radius:999px;background:#e9eff4;color:#10243a;font:700 .72rem/1 Manrope,sans-serif;letter-spacing:.08em;text-transform:uppercase}.profile-lot-badge{margin-bottom:.75rem}.animal-sequence-nav{max-width:1180px;margin:2rem auto;padding:1rem 1.25rem;border-block:1px solid #d6dee5;display:grid;grid-template-columns:1fr auto 1fr;gap:1rem}.animal-sequence-nav a{color:#10243a;text-decoration:none;font-weight:700}.animal-sequence-nav a:last-child{text-align:right}.sequence-all{text-align:center;color:#315f88!important}.editorial-footer{background:#10243a;color:#fff}.editorial-footer-inner{max-width:1180px;margin:auto;padding:3.5rem 1.5rem;display:grid;grid-template-columns:1.3fr 1fr .8fr;gap:3rem}.footer-brand img{max-width:150px;filter:brightness(0) invert(1);margin-bottom:1rem}.footer-brand p{color:#d6e0e7}.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.footer-links span,.footer-digital span{display:block;color:#9fb1bf;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:800;margin-bottom:.8rem}.footer-links a{display:block;color:#fff;text-decoration:none;margin:.55rem 0}.footer-digital img{background:#fff;border-radius:10px;padding:.65rem;max-width:190px}.editorial-footer-base{border-top:1px solid rgba(255,255,255,.15);padding:1rem;text-align:center;color:#b9c6cf;font-size:.8rem}.open-evening-section{max-width:1180px;margin:5rem auto;padding:0 1.5rem;display:grid;grid-template-columns:.85fr 1.15fr;gap:3rem}.open-evening-media img{width:100%;border-radius:22px;box-shadow:0 18px 55px rgba(16,36,58,.12)}.open-evening-copy h2{font-size:clamp(3rem,6vw,5.5rem);margin:.25rem 0 1rem}.interest-form{margin-top:2rem;padding:1.5rem;border:1px solid #d6dee5;border-radius:18px;background:#fff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.interest-form label{display:block;font-weight:700;color:#10243a;margin-bottom:1rem}.interest-form input,.interest-form textarea{display:block;width:100%;margin-top:.45rem;padding:.85rem 1rem;border:1px solid #c9d4dc;border-radius:10px;font:inherit;background:#f8f7f4}.hidden-field{position:absolute;left:-9999px}.form-note{font-size:.8rem;color:#687783}.sale-day-page{max-width:1040px;margin:auto;padding:2rem 1.5rem 5rem}.sale-day-hero{padding:4rem 0 2rem;border-bottom:1px solid #d6dee5}.sale-day-hero h1{font:400 clamp(4rem,10vw,8rem)/.9 'Instrument Serif',serif;color:#10243a;margin:.4rem 0 1rem}.sale-day-tools{position:sticky;top:82px;z-index:10;background:#f8f7f4;padding:1rem 0;display:flex;gap:1rem;align-items:center}.sale-day-tools input{flex:1;padding:1rem;border:1px solid #c9d4dc;border-radius:999px;font:inherit}.sale-day-list{display:grid;gap:.75rem}.sale-day-card{display:grid;grid-template-columns:105px 1fr auto;gap:1.25rem;align-items:center;padding:1.25rem;border:1px solid #d6dee5;border-radius:14px;background:#fff;text-decoration:none;color:#1d252c}.sale-day-lot{font:400 1.8rem 'Instrument Serif',serif;color:#10243a}.sale-day-card h2{font:400 1.7rem 'Instrument Serif',serif;color:#10243a;margin:0}.sale-day-card p{margin:.25rem 0;color:#687783;font-size:.82rem}.sale-day-metrics{display:flex;flex-wrap:wrap;gap:.4rem}.sale-day-metrics span{background:#e9eff4;color:#10243a;border-radius:999px;padding:.25rem .55rem;font-size:.75rem}.sale-day-arrow{font-size:1.5rem;color:#315f88}@media(max-width:760px){.editorial-footer-inner,.open-evening-section{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.animal-sequence-nav{grid-template-columns:1fr}.animal-sequence-nav a:last-child,.sequence-all{text-align:left}.sale-day-card{grid-template-columns:72px 1fr}.sale-day-arrow{display:none}.sale-day-tools{top:70px;flex-direction:column;align-items:stretch}}

/* v50 footer contrast and HalcyonDigital treatment */
.editorial-footer{color:#fff!important}
.editorial-footer .footer-brand p{color:#f1f5f7!important}
.editorial-footer .footer-links span,
.editorial-footer .footer-digital span{color:#c7d4dc!important}
.editorial-footer .footer-links a{color:#fff!important;font-weight:650!important}
.editorial-footer .footer-links a:hover,
.editorial-footer .footer-links a:focus{color:#dce8ef!important;text-decoration:underline;text-underline-offset:.22em}
.editorial-footer .footer-digital img{
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  filter:brightness(0) invert(1)!important;
  opacity:1!important;
}
.editorial-footer-base{color:#dbe4ea!important}

/* v51 ranking length control */
.ranking-limit-group{min-width:180px}
@media(max-width:760px){.ranking-limit-group{min-width:0}}
