/* Typography, colors and controls matched to Hard Six's live Baseline theme. */
@font-face {
  font-family:"Radio Canada Big";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("./radio-canada-big-regular.woff2") format("woff2");
}
:root {
  color-scheme:light;
  --paper:#fafaf7;
  --ink:#000;
  --green:#6efe41;
  --soft-green:#eef4e7;
  --heading:"Radio Canada Big",Helvetica,Arial,sans-serif;
  --body:Helvetica,Arial,sans-serif;
  --gutter:18px;
  background:var(--paper);
  color:var(--ink);
  font:700 18px/1.2 var(--body);
}
* { box-sizing:border-box; }
body { margin:0; min-width:280px; }
a { color:inherit; text-underline-offset:4px; }
button,select { font:inherit; color:inherit; }
a:focus-visible,select:focus-visible,summary:focus-visible { outline:2px solid currentColor; outline-offset:5px; }
.skip-link { position:absolute; top:-100px; left:18px; z-index:10; background:var(--green); padding:12px 18px; }
.skip-link:focus { top:10px; }
.site-header { position:relative; display:flex; align-items:center; gap:34px; min-height:77px; padding:10px var(--gutter); border-bottom:1px solid; }
.brand-logo { flex:0 0 40px; display:block; line-height:0; }
.brand-logo img { display:block; width:40px; height:40px; object-fit:contain; }
.site-nav { display:flex; flex:1; justify-content:space-around; align-items:center; gap:20px; }
.site-header a { text-decoration:none; }
.site-header a:hover,.site-footer nav a:hover { text-decoration:underline; }
.cart-link { white-space:nowrap; }
.mobile-menu { display:none; }
main { margin:0; }
.page-intro { padding:29px var(--gutter) 36px; }
.back-link { display:inline-block; margin-bottom:30px; font-size:14.4px; text-decoration:none; }
.back-link:hover { text-decoration:underline; }
h1,h2,h3,h4 { font-family:var(--heading); font-weight:400; letter-spacing:-.05em; }
h1 { font-size:clamp(48px,6.2vw,86px); line-height:.95; margin:0 0 22px; }
.intro { max-width:830px; line-height:1.35; margin:0; }
#h6-cross-pilot [hidden] { display:none!important; }
.h6-surface { border-top:1px solid; }
.h6-layout { display:grid; grid-template-columns:minmax(0,40%) minmax(0,60%); align-items:stretch; }
.h6-mare-panel { padding:30px var(--gutter) 36px; }
.h6-topline { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-bottom:24px; font-size:14.4px; }
.h6-topline [data-count] { font-weight:400; }
.h6-mare-panel h2 { font-size:clamp(30px,3.25vw,47px); line-height:1; margin:0 0 12px; }
.h6-subtitle { font-size:16px; margin:0 0 36px; }
#h6-cross-pilot label { display:block; margin-bottom:9px; }
#h6-cross-pilot select {
  appearance:none; -webkit-appearance:none;
  display:block; width:100%; max-width:432px; min-height:44px;
  padding:7px 35px 7px 0; border:0; border-bottom:1px solid;
  border-radius:0; background-color:var(--paper);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cpath d='M2 2l8 8 8-8' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 9px center; background-size:18px 11px;
}
.h6-sire-family { max-width:432px; font-size:14.4px; font-weight:400; line-height:1.4; margin:12px 0 0; }
.h6-mare { margin-top:35px; max-width:432px; }
.h6-label { display:block; margin:0 0 9px; font-size:14.4px; font-weight:700; line-height:1.25; }
.h6-mare>.h6-label { border-bottom:1px solid; padding-bottom:12px; margin-bottom:0; }
.h6-mare dl { margin:0; }
.h6-mare dl>div { display:grid; grid-template-columns:1fr 1.5fr; gap:12px; border-bottom:1px solid; padding:12px 0; font-size:16px; }
.h6-mare dt,.h6-mare dd { margin:0; }
.h6-mare dt { font-weight:400; }
.h6-family { font-size:14.4px; font-weight:400; line-height:1.4; margin:20px 0 0; }
.h6-family strong { display:block; font-weight:700; font-size:18px; margin-bottom:4px; }
.h6-snapshot { min-width:0; border-left:1px solid; padding:30px 36px 36px; }
.h6-selected { margin:18px 0 26px; font-size:clamp(34px,3.4vw,50px); line-height:1.05; text-wrap:balance; }
.h6-selected.is-empty { font:700 16px/1.4 var(--body); letter-spacing:0; text-wrap:initial; }
.h6-metrics { display:grid; grid-template-columns:1fr 1fr; gap:24px; border-top:1px solid; border-bottom:1px solid; padding:20px 0; }
.h6-number { display:block; margin:8px 0; font:400 clamp(42px,5.1vw,72px)/1 var(--heading); letter-spacing:-.05em; }
.h6-metric-note { display:block; font-weight:400; font-size:14.4px; line-height:1.35; }
.h6-estimate-note { font-size:14.4px; font-weight:400; line-height:1.45; margin:17px 0 23px; }
.h6-pattern { margin:0 0 24px; padding:22px; background:var(--soft-green); }
.h6-inbreeding-label { margin:0 0 20px; font:700 20px/1.25 var(--body); letter-spacing:0; }
.h6-pattern-title { display:block; margin-bottom:9px; font-size:18px; }
.h6-pattern p { font-size:14.4px; font-weight:400; line-height:1.5; margin:0; }
.h6-paths { display:grid; gap:10px; margin-top:15px; }
.h6-paths b { font-weight:700; }
.h6-note { border-top:1px solid; font-size:12px; font-weight:400; line-height:1.45; margin:0; padding-top:14px; }
.method-details { border-top:1px solid; border-bottom:1px solid; }
.method-details>summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:22px; padding:23px var(--gutter); cursor:pointer; }
.method-details>summary::-webkit-details-marker,.mobile-menu>summary::-webkit-details-marker { display:none; }
.disclosure-icon { display:block; position:relative; width:22px; height:22px; flex:0 0 22px; }
.disclosure-icon:before,.disclosure-icon:after { position:absolute; content:""; background:currentColor; }
.disclosure-icon:before { top:10px; left:0; width:22px; height:1px; }
.disclosure-icon:after { top:0; left:10px; width:1px; height:22px; }
.method-details[open] .disclosure-icon:after { display:none; }
.method-content { border-top:1px solid; padding:18px var(--gutter) 30px; font-size:16px; font-weight:400; line-height:1.5; }
.method-content>p,.method-content>ul,.method-content>div { max-width:1000px; }
.method-content h4 { font-size:27px; line-height:1.1; margin:28px 0 14px; }
.method-content ul { padding-left:22px; }
.method-content li { margin-bottom:9px; }
.method-content a,.h6-paths { overflow-wrap:anywhere; }
.h6-generations { display:flex; flex-wrap:wrap; gap:8px 22px; list-style:none; padding-left:0!important; font-size:14.4px; }
.return-row { display:flex; gap:22px; align-items:center; flex-wrap:wrap; padding:30px var(--gutter) 40px; }
.return-button { display:inline-flex; justify-content:center; align-items:center; border:1px solid var(--ink); border-radius:9999px; background:var(--ink); color:var(--paper); padding:15.3px 22.5px; min-height:48px; font:400 18px/1.2 var(--heading); text-decoration:none; }
.return-button:hover { background:var(--paper); color:var(--ink); }
.return-note { font-size:14.4px; font-weight:400; }
.site-footer { display:grid; grid-template-columns:1fr 1fr; gap:30px; padding:25px var(--gutter) 18px; background:var(--paper); border-top:1px solid; }
.footer-brand { display:flex; align-items:center; gap:20px; }
.footer-brand a { display:block; line-height:0; }
.footer-brand img { display:block; width:62px; height:62px; }
.footer-brand p { font-size:18px; margin:0; max-width:280px; }
.site-footer nav { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:25px; }
.site-footer nav a { text-decoration:none; }
.footer-bottom { display:flex; grid-column:1/-1; justify-content:space-between; gap:20px; font-size:12px; font-weight:400; padding-top:20px; border-top:1px solid; }
@media(min-width:1800px) { .h6-snapshot { padding-left:50px; padding-right:50px; } }
@media(max-width:1023px) {
  :root { --gutter:9px; }
  .site-header { padding:14px var(--gutter); gap:12px; min-height:112px; }
  .brand-logo { flex-basis:80px; margin-right:auto; }
  .brand-logo img { width:80px; height:80px; }
  .site-nav { display:none; }
  .mobile-menu { display:block; }
  .mobile-menu summary { list-style:none; cursor:pointer; padding:12px 0; }
  .mobile-menu[open] summary { text-decoration:underline; }
  .mobile-menu nav { position:absolute; z-index:5; top:100%; left:0; right:0; display:grid; gap:0; padding:9px var(--gutter); border-top:1px solid; border-bottom:1px solid; background:var(--paper); }
  .mobile-menu nav a { padding:14px 0; }
  .page-intro { padding-top:24px; padding-bottom:28px; }
  .back-link { margin-bottom:25px; }
  .h6-layout { grid-template-columns:minmax(0,42%) minmax(0,58%); }
  .h6-mare-panel { padding-top:24px; }
  .h6-snapshot { padding:24px 18px; }
  .h6-metrics { gap:16px; }
  .site-footer { gap:24px; }
  .site-footer nav { gap:16px; font-size:16px; }
}
@media(max-width:700px) {
  h1 { font-size:48px; }
  .intro { font-size:16px; }
  .h6-layout { grid-template-columns:minmax(0,1fr); }
  .h6-mare-panel { padding:22px var(--gutter) 26px; }
  .h6-topline { margin-bottom:18px; }
  .h6-mare-panel h2 { font-size:35px; }
  .h6-subtitle { margin-bottom:26px; }
  #h6-cross-pilot select,.h6-sire-family,.h6-mare { max-width:none; }
  .h6-mare { margin-top:25px; }
  .h6-snapshot { border-left:0; border-top:1px solid; padding:24px var(--gutter); }
  .h6-number { font-size:55px; }
  .h6-metrics .h6-label { min-height:36px; }
  .method-details>summary { padding-top:20px; padding-bottom:20px; font-size:16px; }
  .return-row { gap:15px; }
  .return-button { width:100%; }
  .site-footer { grid-template-columns:1fr; }
  .site-footer nav { justify-content:flex-start; }
  .footer-bottom { flex-direction:column; gap:10px; }
}
@media(max-width:359px) { .h6-number { font-size:46px; } h1 { font-size:43px; } }

/* Shared color grouping for the mare directory and pedigree information. */
.home-intro { padding-top:45px; padding-bottom:42px; }
.home-intro>.h6-label { margin-bottom:20px; }
.directory-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px var(--gutter); border-top:1px solid; border-bottom:1px solid; }
.directory-heading h2 { margin:0; font-size:36px; line-height:1; }
.directory-heading>span { font-size:14.4px; font-weight:400; }
.mare-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(max(280px,25%),1fr)); }
.mare-card { min-width:0; display:flex; flex-direction:column; border-right:1px solid; border-bottom:1px solid; }
.mare-photo { display:block; overflow:hidden; background:var(--soft-green); }
.mare-photo img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; }
.mare-card-content { flex:1; display:flex; flex-direction:column; background:var(--soft-green); padding:20px var(--gutter) 24px; border-top:1px solid; }
.mare-discipline { font-size:14px; margin:0 0 14px; }
.mare-card h3 { font-size:clamp(27px,2.3vw,34px); line-height:1.05; margin:0 0 12px; }
.mare-card h3 a { text-decoration:none; }
.mare-card h3 a:hover { text-decoration:underline; }
.mare-parents { font-size:15px; font-weight:400; line-height:1.4; margin:0 0 22px; }
.mare-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px; margin-top:auto; }
.mare-actions .return-button { font-size:16px; padding:12px 18px; min-height:44px; }
.mare-product { font-size:14.4px; font-weight:400; }
.home-method { display:flex; align-items:center; justify-content:space-between; gap:25px; padding:28px var(--gutter); border-top:1px solid; font-size:14.4px; font-weight:400; line-height:1.5; }
.home-method p { margin:0; max-width:650px; }
.home-method a { flex-shrink:0; }
.h6-mare { background:var(--soft-green); padding:18px; }

/* Own performance for the selected sire and dam, separate from foal estimates. */
.h6-parent-jump { display:inline-block; margin-top:18px; font-size:14.4px; }
.h6-parents { border-top:1px solid; }
.h6-parents-heading { padding:27px var(--gutter) 24px; }
.h6-parents-heading h2 { margin:0 0 12px; font-size:clamp(34px,3.3vw,48px); line-height:1; }
.h6-parents-heading p { margin:0; font-size:16px; font-weight:400; line-height:1.5; }
.h6-parent-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid; border-bottom:1px solid; }
.h6-parent-card { min-width:0; display:flex; flex-direction:column; }
.h6-parent-card+.h6-parent-card { border-left:1px solid; }
.h6-parent-heading { padding:24px var(--gutter); background:var(--soft-green); border-bottom:1px solid; min-height:150px; }
.h6-parent-heading h3 { margin:12px 0 10px; font-size:clamp(30px,2.8vw,42px); line-height:1.05; overflow-wrap:anywhere; }
.h6-parent-heading p { font-size:14.4px; font-weight:400; line-height:1.4; margin:0; }
.h6-parent-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:0; padding:0 var(--gutter); column-gap:28px; }
.h6-parent-stat { min-width:0; padding:18px 0; border-bottom:1px solid #c8ccbf; }
.h6-parent-stat dt { font-size:14.4px; font-weight:400; line-height:1.3; }
.h6-parent-stat dd { font:400 clamp(26px,2.4vw,35px)/1.2 var(--heading); letter-spacing:-.03em; margin:8px 0 0; overflow-wrap:anywhere; }
.h6-parent-stat dd.is-missing { font:400 18px/1.5 var(--body); letter-spacing:0; }
.h6-stat-caption { display:block; font:400 13px/1.4 var(--body); letter-spacing:0; margin-top:3px; }
.h6-parent-note { font-size:13px; font-weight:400; line-height:1.5; padding:0 var(--gutter); margin:15px 0 0; }
.h6-parent-sources { margin-top:auto; padding:18px var(--gutter) 22px; font-size:13px; font-weight:400; line-height:1.5; }
.h6-parent-sources summary { cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.h6-parent-sources ul { padding-left:18px; }
.h6-parent-sources li { margin:7px 0; }
.h6-parent-sources p { margin:8px 0 0; }
.h6-record-note { padding:0 var(--gutter); max-width:1100px; font-size:13px; font-weight:400; line-height:1.55; margin:20px 0; }
@media(max-width:700px) {
  .home-intro { padding-top:28px; padding-bottom:30px; }
  .directory-heading h2 { font-size:30px; }
  .mare-grid { grid-template-columns:minmax(0,1fr); }
  .mare-card { border-right:0; }
  .mare-card-content { padding:24px 18px 28px; }
  .mare-card h3 { font-size:32px; }
  .mare-actions { flex-direction:column; align-items:stretch; }
  .mare-product { text-align:center; }
  .home-method { flex-direction:column; align-items:flex-start; gap:12px; }
  .h6-pattern { padding:18px; }
  .h6-parent-grid { grid-template-columns:minmax(0,1fr); }
  .h6-parent-card+.h6-parent-card { border-left:0; border-top:1px solid; }
  .h6-parent-heading { min-height:0; padding:22px 18px; }
  .h6-parent-stats { padding:0 18px; column-gap:18px; }
  .h6-parent-note,.h6-parent-sources { padding-left:18px; padding-right:18px; }
}
