/* ==========================================================================
   Sections - the flexible-content block library
   ========================================================================== */

/* Shared helpers used across sections */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.section--green .btn-row .btn--outline { color: var(--c-ink); }

.chevron-divider { line-height: 0; }
.chevron-divider svg { width: 100%; height: clamp(40px, 6vw, 80px); display: block; }

/* max-width in rem (not ch) - ch here is measured at the small body font and
   was far too narrow for the large heading. */
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section-head .h-section { margin-top: var(--sp-3); }
.section-head .lead, .section-head .lead--prose { margin-top: var(--sp-5); }
.section-head .lead--prose { max-width: 60ch; }
.section-head.text-center { margin-inline: auto; max-width: 38rem; }
.section-head.text-center .lead--prose { margin-inline: auto; }

/* ---------------- HERO (full-bleed) ----------------------------------- */
.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 920px);
  display: grid;
  align-items: end;
  color: var(--c-white);
  overflow: hidden;
  isolation: isolate;
  background: var(--c-black);
}
/* Textured canvas used until real photography is supplied - a deliberate dark
   ground, not a placeholder. Layered tints + a faint vignette for depth. */
.hero--canvas {
  background:
    radial-gradient(120% 90% at 78% 0%, color-mix(in srgb, var(--c-green-ink) 55%, transparent) 0%, transparent 45%),
    radial-gradient(100% 80% at 0% 100%, #1b1b1b 0%, transparent 55%),
    linear-gradient(180deg, #1d1f1d 0%, var(--c-black) 100%);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(17,17,17,.5) 0%, rgba(17,17,17,.12) 28%, rgba(17,17,17,.4) 62%, rgba(17,17,17,.9) 100%),
    linear-gradient(90deg, rgba(17,17,17,.72) 0%, rgba(17,17,17,.2) 42%, rgba(17,17,17,0) 68%);
}
/* Oversized peak watermark - only on the textured (no-photo) canvas. */
.hero__watermark {
  position: absolute; z-index: -1;
  top: 50%; right: -4%; translate: 0 -50%;
  width: clamp(280px, 42vw, 720px); aspect-ratio: 760 / 630;
  background: var(--c-white);
  opacity: .04;
  -webkit-mask: url("../images/icon-white.svg") no-repeat center / contain;
          mask: url("../images/icon-white.svg") no-repeat center / contain;
  pointer-events: none;
}
.hero--photo .hero__watermark { display: none; }

/* ---- Canvas (no photo): bold green wedge echoing the logo peak ---- */
.hero__sweep {
  position: absolute; top: 0; right: 0; z-index: -1; height: 100%;
  width: clamp(140px, 28vw, 480px);
  background: var(--c-green);
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 8% 100%);
}
.hero__sweep::after {
  content: ""; position: absolute; inset: 0;
  background: var(--c-green-ink);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 36% 100%);
  opacity: .35;
}

/* ---- Photo: the brand-tile composition - dark text panel + angular photo,
        split by a green diagonal seam, M/A mark above the headline. ---- */
.hero--photo {
  --seam-top: 66%;          /* x of the diagonal seam at the top    */
  --seam-bot: 50%;          /* x of the diagonal seam at the bottom */
  align-items: center;
  background: #191b19;      /* the dark panel the text sits on      */
}
.hero--photo .hero__media {
  inset: 0; left: auto; width: 100%;
  clip-path: polygon(var(--seam-top) 0, 100% 0, 100% 100%, var(--seam-bot) 100%);
}
.hero--photo .hero__scrim {
  inset: 0;
  background: linear-gradient(96deg,
    #191b19 calc(var(--seam-bot) - 4%), rgba(25,27,25,0) calc(var(--seam-top) + 4%));
}
/* Green band riding the seam - the signature graphic.
   A translucent green diagonal straddles the seam with mix-blend-mode:multiply,
   so the cattle/grass show through it as a green duotone (rather than a solid
   opaque block). A thin solid edge keeps the seam crisp against the dark panel. */
.hero--photo .hero__sweep {
  inset: 0; width: 100%; height: 100%;
  background: var(--c-green);
  mix-blend-mode: multiply;
  clip-path: polygon(
    calc(var(--seam-top) - 2%) 0, calc(var(--seam-top) + 9%) 0,
    calc(var(--seam-bot) + 9%) 100%, calc(var(--seam-bot) - 2%) 100%);
}
/* Thin crisp green divider sitting exactly on the seam (normal blend). */
.hero--photo .hero__sweep::after {
  content: ""; display: block; position: absolute; inset: 0;
  background: var(--c-green);
  clip-path: polygon(
    calc(var(--seam-top) - 4%) 0, var(--seam-top) 0,
    var(--seam-bot) 100%, calc(var(--seam-bot) - 4%) 100%);
}
/* White M/A peak mark centred on the green strip - the brand-tile signature.
   The strip rides the seam with its midpoint at +3.5%, so place the mark there
   and centre it on that point. */
.hero__mark {
  position: absolute; z-index: 1; pointer-events: none;
  top: 50%; left: calc((var(--seam-top) + var(--seam-bot)) / 2 + 3.5%);
  translate: -50% -50%;
  width: clamp(46px, 4.6vw, 74px); aspect-ratio: 760 / 630;
  background: var(--c-white);
  -webkit-mask: url("../images/icon-white.svg") center / contain no-repeat;
          mask: url("../images/icon-white.svg") center / contain no-repeat;
}

/* Subtle film grain on dark surfaces - breaks digital flatness. Static SVG
   noise on a pseudo-element behind content; no runtime cost. */
.section--ink, .section--black { position: relative; }
.section--ink::before, .section--black::before, .hero--canvas::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .045; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.section--ink > *, .section--black > * { position: relative; z-index: 1; }
.hero__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
/* Content lives in the dark panel - size it to stay clear of the diagonal. */
.hero--photo .hero__inner { padding-block: clamp(2rem, 5vh, 5rem); }
.hero--photo .hero__title { font-size: clamp(2.3rem, 1.4rem + 2.9vw, 4rem); max-width: 17ch; }
.hero--photo .hero__lead { color: rgba(255,255,255,.72); max-width: 34ch; }
.hero__title { font-size: var(--fs-900); max-width: 17ch; }
.hero__title .accent { color: var(--c-green); }
.hero__lead {
  max-width: 48ch; margin-top: var(--sp-4);
  color: rgba(255,255,255,.82); font-size: var(--fs-450);
  font-weight: var(--weight-medium); line-height: var(--lh-normal);
}
.hero__actions { margin-top: clamp(1.75rem, 1rem + 2vw, 2.5rem); align-items: center; gap: var(--sp-5); }

/* Secondary CTA is a light text link, not a second heavy button. */
.hero__link {
  display: inline-flex; align-items: center; gap: .55em;
  color: var(--c-white); font-family: var(--font-sans); font-weight: var(--weight-semibold);
  font-size: var(--fs-400);
  padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.45);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.hero__link::after {
  content: ""; width: .5em; height: .5em; background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: transform var(--dur) var(--ease-out);
}
.hero__link:hover { color: var(--c-green); border-color: var(--c-green); }
.hero__link:hover::after { transform: translateX(3px); }

/* Quiet positioning line under the actions - replaces the loud green row. */
.hero__points {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8em 1.3em;
  margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  font-family: var(--font-sans); font-weight: var(--weight-semibold);
  text-transform: uppercase; letter-spacing: .15em; font-size: .72rem;
  color: rgba(255,255,255,.62);
}
.hero__points li { display: inline-flex; align-items: center; }
.hero__points li + li::before {
  content: ""; width: 4px; height: 4px; margin-right: 1.3em; border-radius: 50%;
  background: var(--c-green);
}

/* Tablet / narrow: the side-by-side diagonal panel can't hold, so the photo
   goes full-bleed with the text over a scrim and the green as a slim edge
   accent. The M/A mark is dropped here (the nav logo already carries it). */
@media (max-width: 1024px) {
  .hero--photo { align-items: end; background: var(--c-black); }
  .hero--photo .hero__media { clip-path: none; }
  .hero--photo .hero__scrim {
    background:
      linear-gradient(180deg, rgba(17,17,17,.62) 0%, rgba(17,17,17,.12) 30%, rgba(17,17,17,.5) 60%, rgba(17,17,17,.94) 100%),
      linear-gradient(90deg, rgba(17,17,17,.84) 0%, rgba(17,17,17,.2) 52%, rgba(17,17,17,0) 78%);
  }
  .hero--photo .hero__sweep { clip-path: polygon(82% 0, 100% 0, 100% 100%, 64% 100%); }
  .hero--photo .hero__sweep::after { display: none; } /* duotone band is desktop-only */
  .hero--photo .hero__mark { display: none; }
  .hero--photo .hero__inner { padding-block: 0 clamp(2.5rem, 1.5rem + 4vw, 5rem); }
  .hero--photo .hero__title { font-size: clamp(2.3rem, 1.5rem + 4vw, 3.8rem); max-width: 16ch; }
  .hero--photo .hero__lead { max-width: 44ch; color: rgba(255,255,255,.86); }
}

@media (max-width: 720px) {
  .hero { min-height: 82vh; }
  .hero--canvas .hero__sweep { width: 56vw; height: 36vh; clip-path: polygon(40% 0, 100% 0, 100% 100%, 100% 100%); }
  .hero--photo .hero__sweep { clip-path: polygon(78% 0, 100% 0, 100% 100%, 56% 100%); }
  .hero__title, .hero--photo .hero__title { font-size: clamp(2.1rem, 1.2rem + 6.2vw, 3.1rem); }
  .hero__points { letter-spacing: .12em; }
}

/* Compact page hero (interior pages) */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(7rem, 5rem + 8vw, 11rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.page-hero--compact { padding-block: clamp(8rem, 6rem + 6vw, 12rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.page-hero .h-hero { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.6rem); max-width: 18ch; }
.page-hero .lead { margin-top: var(--sp-5); max-width: 62ch; }
.page-hero .eyebrow { margin-bottom: var(--sp-4); }

/* Photo variant */
.page-hero--photo { color: var(--c-white); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17,17,17,.55), rgba(17,17,17,.35) 40%, rgba(17,17,17,.85)); }
.page-hero__sweep { position: absolute; top: 0; right: 0; z-index: -1; height: 100%;
  width: clamp(140px, 26vw, 460px); background: var(--c-green); opacity: .9;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); }

/* ---------------- TEAM GRID ------------------------------------------- */
.team-grid { gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.team-card { margin: 0; }
.team-card .frame { box-shadow: var(--shadow-sm); margin-bottom: var(--sp-4); }
.team-card__name { font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-600); letter-spacing: var(--tracking-display); }
.team-card__role { font-weight: 600; color: var(--c-green-text); margin-top: var(--sp-2); }
.section--ink .team-card__role { color: var(--c-green); }
.team-card__prop { font-size: var(--fs-300); margin-top: var(--sp-1); }

/* ---------------- STATEMENT BAND -------------------------------------- */
/* Left-aligned editorial statement. Heading and paragraph share one text
   column (so they're the same width); an optional image fills the right. */
.statement-band__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.statement-band--media .statement-band__grid { grid-template-columns: minmax(0, 46rem) 1fr; }
.statement-band__text { max-width: 58rem; }
.statement-band__text .statement { max-width: 100%; }
.statement-band .eyebrow { margin-bottom: var(--sp-5); }
.statement-band__sub {
  margin-top: var(--sp-6); max-width: 100%;
  font-size: var(--fs-450); line-height: var(--lh-normal); color: var(--c-text-muted);
}
.section--ink .statement-band__sub, .section--black .statement-band__sub { color: rgba(255,255,255,.78); }
.section--green .statement-band__sub { color: var(--c-green-ink); }
.statement-band__media .frame { box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
@media (max-width: 880px) {
  .statement-band--media .statement-band__grid { grid-template-columns: 1fr; }
  .statement-band__media { order: -1; }
}

/* ---------------- PANEL ROW (three parallel routes) ------------------- */
.panel-row { gap: clamp(1.75rem, 1rem + 2.5vw, 3.5rem); }
.panel-col { display: grid; gap: var(--sp-3); padding-top: var(--sp-5); border-top: 2px solid var(--c-ink); align-content: start; }
.section--ink .panel-col, .section--black .panel-col { border-top-color: var(--c-green); }
.panel-col__title { font-family: var(--font-sans); font-weight: var(--weight-heading); font-size: var(--fs-600); letter-spacing: var(--tracking-tight); }
.panel-col__text { color: var(--c-text-muted); max-width: 42ch; }
.section--ink .panel-col__text, .section--black .panel-col__text { color: rgba(255,255,255,.74); }
.panel-col .link-peak { margin-top: auto; padding-top: var(--sp-2); }

/* ---------------- SPLIT (text + chevron-framed media) ----------------- */
.split-feature .split__media { position: relative; }
.split-feature .frame { box-shadow: var(--shadow); }
.split-feature .eyebrow { margin-bottom: var(--sp-4); }
.split-feature .h-section { margin-bottom: var(--sp-5); max-width: 18ch; }
.split-feature .split__body > .flow { color: var(--c-text-muted); max-width: 56ch; }
.section--ink .split-feature .split__body > .flow { color: rgba(255,255,255,.78); }

/* ---------------- FEATURE LIST (split variant, no image) -------------- */
.feature-list .rail .h-section { margin-top: var(--sp-3); max-width: 18ch; }
/* Body copy + points now share the right column, so a short list still fills
   the space beside the heading instead of leaving the column empty. */
.feature-list__col { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.feature-list__col .lead--prose { max-width: 60ch; }
.feature-list__grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.feature-list__grid li {
  position: relative; padding: clamp(1rem, .8rem + 1vw, 1.4rem) 0 clamp(1rem, .8rem + 1vw, 1.4rem) 1.8em;
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-450); line-height: var(--lh-normal); font-weight: var(--weight-medium);
}
.feature-list__grid li:last-child { border-bottom: 1px solid var(--c-border); }
.feature-list__grid li::before {
  content: ""; position: absolute; left: 0; top: calc(clamp(1rem, .8rem + 1vw, 1.4rem) + .55em);
  width: .65em; height: .65em; background: var(--c-green); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.section--ink .feature-list__grid li, .section--black .feature-list__grid li { border-top-color: var(--c-border-dark); }
.section--ink .feature-list__grid li:last-child, .section--black .feature-list__grid li:last-child { border-bottom-color: var(--c-border-dark); }

/* ---------------- PILLARS (editorial left-rail) ----------------------- */
.pillars .rail .h-section { margin-top: var(--sp-3); }
.pillars-rows { display: grid; }
.pillars-rows .pillar { padding-block: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); border-top: 1px solid var(--c-border); display: grid; gap: var(--sp-3); }
.pillars-rows .pillar:first-child { padding-top: 0; border-top: 0; }
.section--ink .pillars-rows .pillar, .section--black .pillars-rows .pillar { border-top-color: var(--c-border-dark); }
.pillar__title { font-family: var(--font-sans); font-weight: var(--weight-heading); font-size: var(--fs-700); letter-spacing: var(--tracking-tight); }
.pillar__text { color: var(--c-text-muted); max-width: 64ch; font-size: var(--fs-450); }
.section--ink .pillar__text, .section--black .pillar__text { color: rgba(255,255,255,.76); }

/* ---------------- STAT ROW -------------------------------------------- */
.stat-row { gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.stat-row .stat { padding-top: var(--sp-5); border-top: 2px solid currentColor; }
.section--ink .stat-row .stat, .section--black .stat-row .stat { border-color: var(--c-green); }
.stat-row .stat__label { max-width: 22ch; }

/* ---------------- CTA BAND -------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .statement { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: var(--sp-6); }

/* ---------------- QUOTE BAND ------------------------------------------ */
.quote-band { text-align: center; }
.quote-band blockquote {
  font-family: var(--font-display); font-weight: var(--weight-heading);
  letter-spacing: var(--tracking-display);
  font-size: var(--fs-800); line-height: var(--lh-tight);
  max-width: 20ch; margin: 0 auto;
}
.quote-band .accent { color: var(--c-green); }
.quote-band cite { display: block; margin-top: var(--sp-5); font-style: normal; font-family: var(--font-sans); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: var(--fs-300); color: var(--c-text-muted); }

/* ---------------- LOGO / RICH TEXT ------------------------------------ */
.richtext h2 { font-family: var(--font-display); font-weight: var(--weight-heading); letter-spacing: var(--tracking-display); font-size: var(--fs-700); margin-top: var(--sp-7); }
.richtext h3 { font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-600); margin-top: var(--sp-6); }
.richtext ul { display: grid; gap: var(--sp-3); margin-top: var(--sp-4); }
.richtext ul li { position: relative; padding-left: 1.7em; }
.richtext ul li::before { content:""; position:absolute; left:0; top:.5em; width:.65em; height:.65em; background:var(--c-green); clip-path:polygon(50% 0,100% 100%,0 100%); }

/* ---------------- IMAGE GRID (gallery) -------------------------------- */
.image-grid { gap: var(--sp-4); }
.image-grid .frame { aspect-ratio: 4/3; }

/* ---------------- SIRE GRID / CARD ------------------------------------ */
.sire-grid { gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
/* Landscape (16:9) sire cards: fixed 3 per row on desktop, stepping down on
   smaller screens. */
.grid.sire-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid.sire-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.sire-grid { grid-template-columns: 1fr; } }
.sire-card { margin: 0; display: grid; gap: var(--sp-4); }
.sire-card__media { display: block; box-shadow: var(--shadow-sm); }
/* Type tag pinned to the top-left of the portrait (top-right/bottom-left carry
   the brand corner wedges). AI sires get the green pill; walking sires a quiet
   dark one. */
.sire-card__tag {
  position: absolute; top: var(--sp-3); right: var(--sp-3); z-index: 3;
  font-family: var(--font-sans); font-weight: 700; font-size: .6rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .4em .7em; border-radius: 999px; line-height: 1;
  background: rgba(17,17,17,.6); color: var(--c-white);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.sire-card__tag--ai { color: var(--c-green); }
.sire-card__name { font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-600); letter-spacing: var(--tracking-display); }
.sire-card__name a:hover { color: var(--c-green-text); }
.sire-card__ident {
  margin-top: var(--sp-2);
  font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-text-muted); font-variant-numeric: tabular-nums lining-nums;
}
.sire-card__pedigree { display: grid; gap: var(--sp-2); margin-top: var(--sp-2); }
.sire-card__pedigree div { display: flex; gap: var(--sp-3); align-items: baseline; border-top: 1px solid var(--c-border); padding-top: var(--sp-2); }
.sire-card__pedigree dt { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: var(--c-text-muted); min-width: 3em; }
.sire-card__pedigree dd { margin: 0; font-weight: 600; }
.sire-card__body .link-peak { margin-top: var(--sp-3); }
.sire-grid__empty { max-width: 640px; }

/* ---------------- DATA CHARTS ----------------------------------------- */
.chart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.chart-card { background: var(--c-white); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1vw, 2rem); box-shadow: var(--shadow-sm); }
/* Short green rule at the top - the site's panel accent (matches the contact panel). */
.chart-card::before { content: ""; display: block; width: 56px; height: 4px; background: var(--c-green); margin-bottom: var(--sp-5); }
.section--ink .chart-card, .section--alt .chart-card { background: var(--c-white); color: var(--c-ink); }
.chart-card--wide { grid-column: 1 / -1; }
.chart-card__head { margin-bottom: var(--sp-4); }
.chart-card__title { font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-600); letter-spacing: var(--tracking-display); }
.chart-card__note { font-size: var(--fs-300); margin-top: var(--sp-1); }
.chart-card__canvas { position: relative; height: clamp(240px, 30vw, 340px); }
.chart-disclaimer { margin-top: var(--sp-6); font-size: var(--fs-300); text-align: center; }
@media (max-width: 760px) { .chart-grid { grid-template-columns: 1fr; } }

/* ---------------- SALE -------------------------------------------------*/
.sale-cards { margin-bottom: var(--sp-7); }
.sale-card__label { margin-bottom: var(--sp-2); }
.sale-card__value { font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-600); line-height: var(--lh-snug); letter-spacing: var(--tracking-display); max-width: none; }
.sale-actions { justify-content: flex-start; }
.sale-video { margin-top: var(--sp-7); aspect-ratio: 16/9; background: var(--c-ink); }
.sale-video iframe { width: 100%; height: 100%; display: block; }

/* ---------------- LOT CARD --------------------------------------------*/
.lot-grid { gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.lot-card { margin: 0; display: grid; gap: var(--sp-3); }
.lot-card__media { position: relative; display: block; box-shadow: var(--shadow-sm); }
.lot-card__badge { position: absolute; top: var(--sp-3); left: var(--sp-3); z-index: 2; }
.lot-card__name { font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-500); letter-spacing: var(--tracking-display); }
.lot-card__name a:hover { color: var(--c-green-text); }
.lot-card__pedigree { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4); font-size: var(--fs-300); }
.lot-grid__empty, .sire-grid__empty { max-width: 680px; }

/* ---------------- SPEC / EBV (single sire & lot) ----------------------*/
.spec-list { display: grid; gap: 0; margin-top: var(--sp-2); }
.spec-list div { display: flex; gap: var(--sp-4); align-items: baseline; padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-border); }
.spec-list dt { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--c-text-muted); min-width: 4em; }
.spec-list dd { margin: 0; font-weight: 600; font-size: var(--fs-500); }
.ebv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: var(--sp-3); margin-top: var(--sp-3); }
.ebv-cell { background: var(--c-grey-50); border-radius: var(--radius-sm); border-top: 3px solid var(--c-green); padding: var(--sp-3); display: grid; gap: var(--sp-1); }
.ebv-cell__value { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-600); color: var(--c-ink); line-height: 1; }
.ebv-cell__trait { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-muted); }

/* ---------------- EMPTY STATES ---------------------------------------- */
.empty-state {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: var(--sp-4);
  max-width: 560px;
  margin-inline: auto;
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  border: 1px dashed var(--c-grey-300);
  border-radius: var(--radius);
  background: var(--c-grey-50);
}
.section--alt .empty-state { background: var(--c-white); }
.section--ink .empty-state, .section--black .empty-state { border-color: var(--c-border-dark); background: rgba(255,255,255,.02); }
.empty-state__mark {
  width: 46px; height: 40px;
  background: var(--c-green);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: .9;
  margin-bottom: var(--sp-1);
}
.empty-state__title { font-family: var(--font-sans); font-weight: var(--weight-heading); font-size: var(--fs-700); letter-spacing: var(--tracking-tight); }
.empty-state p { color: var(--c-text-muted); max-width: 52ch; margin-inline: auto; }
.section--ink .empty-state p, .section--black .empty-state p { color: rgba(255,255,255,.74); }
.empty-state .btn { margin-top: var(--sp-2); }

/* Reveal-friendly cards inside grids */
.grid > [data-reveal] { height: 100%; }
