:root {
  --ink: #172722;
  --ink-soft: #4f6059;
  --forest: #123d32;
  --forest-deep: #092820;
  --sage: #d9e3dc;
  --sage-light: #edf2ee;
  --cream: #f7f3e9;
  --paper: #fffdf7;
  --gold: #b48a42;
  --gold-light: #e9d8ac;
  --line: rgba(23, 39, 34, .14);
  --shadow: 0 24px 70px rgba(16, 38, 31, .14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.masthead {
  min-height: 82px;
  padding: 18px clamp(22px, 4vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 233, .94);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 20;
}
.catalog-masthead { position: sticky; top: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 43px; height: 43px;
  color: var(--cream); background: var(--forest); border-radius: 50%;
  font-family: var(--serif); font-size: 15px; letter-spacing: -.04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.brand strong { display: block; font-family: var(--serif); font-size: 20px; line-height: 1; font-weight: 600; }
.brand small { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.edition-pill { border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; color: var(--ink-soft); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.header-nav { display: flex; align-items: center; gap: 28px; color: var(--ink-soft); font-size: 13px; }
.header-nav a, .link-button { border: 0; padding: 0; color: inherit; background: none; text-decoration: none; cursor: pointer; }
.header-nav a:hover, .link-button:hover { color: var(--forest); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--forest); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; z-index: 50; top: calc(100% + 10px); right: 0; width: min(78vw, 280px); padding: 10px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 45px rgb(22 43 35 / 18%); }
.mobile-nav nav a, .mobile-nav nav button { display: block; width: 100%; padding: 12px 10px; color: var(--ink); text-align: left; text-decoration: none; font: inherit; font-size: 13px; border-bottom: 1px solid var(--line); }
.mobile-nav nav > :last-child { border-bottom: 0; }

.eyebrow { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.landing-hero { max-width: 1180px; padding: clamp(74px, 10vw, 142px) clamp(24px, 5vw, 74px) 72px; margin: 0 auto; }
.landing-hero h1, .catalog-hero h1 {
  max-width: 930px; margin: 17px 0 22px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(52px, 8.2vw, 108px); line-height: .9; letter-spacing: -.055em;
}
.landing-hero h1 em, .catalog-hero h1 em { color: var(--gold); font-weight: 400; }
.landing-hero > p { max-width: 700px; color: var(--ink-soft); font-size: clamp(16px, 2vw, 20px); line-height: 1.65; }

.sale-grid { max-width: 1180px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 74px) 90px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sale-card { min-height: 480px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; position: relative; overflow: hidden; }
.sale-card--active { color: var(--paper); background: var(--forest); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.sale-card--active:hover { transform: translateY(-5px); box-shadow: 0 34px 80px rgba(16, 38, 31, .22); }
.sale-card--active::after { content: ""; position: absolute; width: 330px; height: 330px; right: -120px; top: 70px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.02); }
.sale-card--soon { background: rgba(255,255,255,.32); }
.sale-card-topline { display: flex; justify-content: space-between; color: inherit; opacity: .68; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.sale-monogram { margin: 45px 0 30px; font-family: var(--serif); font-size: 88px; line-height: 1; opacity: .17; }
.sale-kicker { margin: 0 0 8px; color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sale-card--soon .sale-kicker { color: var(--gold); }
.sale-card h2 { margin: 0 0 13px; font-family: var(--serif); font-size: clamp(33px, 4vw, 48px); font-weight: 400; letter-spacing: -.03em; }
.sale-card-copy > p:last-child { max-width: 430px; margin: 0; opacity: .72; line-height: 1.62; }
.sale-action { margin-top: auto; padding-top: 36px; font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.sale-action span { margin-left: 8px; }
.sale-action--muted { color: var(--ink-soft); font-weight: 500; }
.principles-strip { max-width: 1032px; margin: 0 auto 105px; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.principles-strip div { border-top: 2px solid var(--gold); padding-top: 18px; }
.principles-strip strong, .principles-strip span { display: block; }
.principles-strip strong { font-family: var(--serif); font-size: 20px; }
.principles-strip span { margin-top: 9px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }

.catalog-hero { min-height: 570px; padding: clamp(66px, 8vw, 110px) clamp(24px, 6vw, 96px); color: var(--paper); background: var(--forest-deep); display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: end; gap: 80px; position: relative; overflow: hidden; }
.catalog-hero::before { content: "RS"; position: absolute; right: 3vw; top: -50px; color: rgba(255,255,255,.035); font-family: var(--serif); font-size: clamp(230px, 37vw, 530px); line-height: 1; }
.catalog-hero-copy { position: relative; z-index: 1; }
.catalog-hero h1 { max-width: 800px; font-size: clamp(58px, 8.5vw, 122px); }
.catalog-hero-copy > p { max-width: 620px; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 2px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-decoration: none; cursor: pointer; }
.button--primary { color: var(--forest-deep); background: var(--gold-light); }
.button--ghost { color: var(--paper); border-color: rgba(255,255,255,.26); background: transparent; }
.button--ghost-light { color: var(--cream); border-color: rgba(255,255,255,.3); background: transparent; }
.hero-note { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.3); padding-top: 18px; }
.note-label { color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-note p { color: rgba(255,255,255,.7); font-family: var(--serif); font-size: 19px; line-height: 1.5; }

.stat-ribbon { padding: 26px clamp(24px, 6vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); background: var(--gold-light); }
.stat-ribbon div { padding: 4px 24px; border-right: 1px solid rgba(23,39,34,.16); }
.stat-ribbon div:first-child { padding-left: 0; }
.stat-ribbon div:last-child { border-right: 0; }
.stat-ribbon strong, .stat-ribbon span { display: block; }
.stat-ribbon strong { font-family: var(--serif); font-size: 27px; font-weight: 500; }
.stat-ribbon span { margin-top: 4px; color: rgba(23,39,34,.65); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.catalog-shell { max-width: 1520px; margin: 0 auto; padding: 88px clamp(18px, 4vw, 64px) 100px; }
.section-heading { margin-bottom: 30px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section-heading h2 { margin: 9px 0 0; font-family: var(--serif); font-size: clamp(37px, 5vw, 58px); font-weight: 400; letter-spacing: -.04em; }
.section-heading-actions { display: flex; gap: 18px; }
.text-action { padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); background: transparent; font-size: 12px; cursor: pointer; }

.catalog-controls { padding: 18px; display: grid; grid-template-columns: minmax(280px, 2.2fr) repeat(4, minmax(130px, .7fr)); gap: 12px; background: var(--sage); border-radius: 3px; }
.catalog-controls label:not(.search-field) { display: flex; flex-direction: column; gap: 6px; }
.catalog-controls label > span { color: var(--ink-soft); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.catalog-controls select, .search-field { height: 45px; border: 1px solid rgba(23,39,34,.16); border-radius: 2px; background: var(--paper); }
.catalog-controls select { width: 100%; padding: 0 10px; color: var(--ink); font-size: 12px; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 13px; }
.search-field svg { width: 17px; fill: none; stroke: var(--ink-soft); stroke-width: 1.7; }
.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-field input::placeholder { color: #7c8a84; }
.active-row { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--ink-soft); font-size: 12px; }
.active-row p { margin: 0; }
.active-row strong { color: var(--ink); }
.shortlist-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.shortlist-toggle input { accent-color: var(--forest); }
.shortlist-toggle b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; color: var(--paper); background: var(--forest); font-size: 10px; }

.espeed-explainer { margin: 0 0 28px; padding: 24px; display: grid; grid-template-columns: minmax(180px, .7fr) 1fr 1fr; gap: 24px; border: 1px solid var(--line); border-left: 4px solid var(--gold); background: var(--sage-light); }
.espeed-explainer h3 { margin: 7px 0 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.espeed-explainer p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.espeed-explainer p strong { color: var(--ink); }
.espeed-explainer a { grid-column: 2 / -1; width: fit-content; color: var(--forest); font-size: 10px; font-weight: 750; text-underline-offset: 3px; }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.catalog-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.3); font-size: 12px; }
.catalog-table th { padding: 14px 10px; border-bottom: 1px solid var(--line); color: var(--ink-soft); text-align: left; white-space: nowrap; }
.catalog-table th.numeric { text-align: right; }
.catalog-table th button { padding: 0; border: 0; color: inherit; background: transparent; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.catalog-table th button[data-active] { color: var(--forest); }
.catalog-table th button[data-active]::after { content: attr(data-direction); margin-left: 5px; color: var(--gold); }
.catalog-table td { padding: 17px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.catalog-table tbody tr { cursor: pointer; transition: background .15s ease; }
.catalog-table tbody tr:hover { background: var(--paper); }
.catalog-table tbody tr:focus-visible, .mobile-horse:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.catalog-table td.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.favorite-col { width: 34px; }
.favorite-button { width: 29px; height: 29px; padding: 0; border: 0; color: #89958f; background: transparent; font-size: 19px; cursor: pointer; }
.favorite-button.is-saved { color: var(--gold); }
.horse-link { padding: 0; border: 0; background: transparent; color: var(--forest); font-weight: 750; text-align: left; cursor: pointer; }
.horse-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.feed-horse { display: flex; align-items: center; gap: 10px; min-width: 175px; }
.feed-thumbnail { width: 52px; height: 42px; flex: 0 0 auto; border-radius: 2px; object-fit: cover; background: var(--sage); }
.community-note { display: block; margin-top: 4px; color: var(--gold-dark); font-size: 9px; font-weight: 750; }
.cell-sub { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 10px; font-weight: 400; }
.rank-disc { display: inline-grid; place-items: center; min-width: 35px; height: 35px; padding: 0 7px; border: 1px solid var(--line); border-radius: 50%; font-family: var(--serif); font-size: 14px; }
.price-stack { display: block; font-weight: 700; }
.price-stack small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 9px; font-weight: 500; }
.confidence-badge { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.confidence-high { color: #164d3d; background: #d8eadf; }
.confidence-medium, .confidence-moderate { color: #715816; background: #f1e6bd; }
.confidence-medium-low { color: #775a30; background: #eee0ce; }
.confidence-limited { color: #775a30; background: #eee0ce; }
.confidence-speculative, .confidence-very-limited { color: #625d57; background: #e8e4de; }
.open-arrow { border: 0; background: none; color: var(--gold); font-size: 20px; cursor: pointer; }
.empty-state { padding: 70px 20px !important; color: var(--ink-soft); text-align: center; }
.mobile-results { display: none; }
.pagination { padding-top: 24px; display: flex; justify-content: center; align-items: center; gap: 20px; }
.pagination button { min-width: 90px; height: 38px; border: 1px solid var(--line); border-radius: 2px; background: transparent; cursor: pointer; }
.pagination button:disabled { opacity: .35; cursor: default; }
.pagination span { color: var(--ink-soft); font-size: 11px; }

.disclosure-band { padding: 90px clamp(24px, 8vw, 130px); color: var(--paper); background: var(--forest); }
.disclosure-band h2 { max-width: 800px; margin: 13px 0; font-family: var(--serif); font-size: clamp(42px, 6vw, 75px); font-weight: 400; letter-spacing: -.04em; }
.disclosure-band p { max-width: 750px; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.7; }
.disclosure-band .button { margin-top: 15px; }
.site-footer { min-height: 86px; padding: 24px clamp(24px, 5vw, 74px); display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; letter-spacing: .05em; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal-scrim { position: absolute; inset: 0; background: rgba(5,20,16,.62); backdrop-filter: blur(3px); }
.horse-panel { position: absolute; top: 0; right: 0; width: min(940px, 94vw); height: 100%; overflow-y: auto; background: var(--paper); box-shadow: -20px 0 60px rgba(0,0,0,.2); }
.methodology-panel { position: relative; width: min(1000px, calc(100vw - 36px)); max-height: calc(100vh - 50px); margin: 25px auto; padding: clamp(34px, 6vw, 76px); overflow-y: auto; background: var(--paper); box-shadow: var(--shadow); }
.modal-close { position: sticky; z-index: 5; top: 18px; float: right; width: 42px; height: 42px; margin: 18px 18px 0 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: rgba(255,253,247,.92); font-size: 25px; line-height: 1; cursor: pointer; }
body.modal-open { overflow: hidden; }

.hip-browser { position: sticky; z-index: 6; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; min-height: 62px; color: var(--paper); background: #102d24; border-bottom: 1px solid rgba(255,255,255,.12); }
.hip-browser button { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 10px clamp(18px, 4vw, 38px); border: 0; color: inherit; background: transparent; cursor: pointer; }
.hip-browser button:last-child { align-items: flex-end; text-align: right; }
.hip-browser button:hover:not(:disabled) { background: rgba(255,255,255,.07); }
.hip-browser button:disabled { color: rgba(255,255,255,.35); cursor: default; }
.hip-browser button span, .hip-browser-position { font-size: 9px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.hip-browser button strong { color: var(--gold-light); font-family: var(--serif); font-size: 17px; font-weight: 500; }
.hip-browser-position { align-self: center; color: rgba(255,255,255,.58); white-space: nowrap; }

.horse-profile-header { padding: 58px clamp(24px, 6vw, 70px) 42px; color: var(--paper); background: var(--forest-deep); }
.horse-profile-topline { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.horse-profile-header h2 { max-width: 700px; margin: 18px 0 14px; font-family: var(--serif); font-size: clamp(45px, 7vw, 78px); font-weight: 400; line-height: .95; letter-spacing: -.045em; }
.pedigree-line { color: rgba(255,255,255,.7); line-height: 1.55; }
.pedigree-line strong { color: var(--gold-light); }
.profile-rank-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.profile-rank-row span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 10px; }
.profile-body { padding: 0 clamp(24px, 6vw, 70px) 70px; }
.profile-tabs { position: sticky; top: 0; z-index: 4; margin: 0 calc(-1 * clamp(24px, 6vw, 70px)) 34px; padding: 0 clamp(24px, 6vw, 70px); display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); background: rgba(255,253,247,.96); backdrop-filter: blur(12px); }
.profile-tabs button { min-height: 56px; padding: 0 15px; border: 0; border-bottom: 2px solid transparent; color: var(--ink-soft); background: transparent; font-size: 11px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.profile-tabs button.is-active { color: var(--forest); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.profile-section { margin: 0 0 36px; }
.profile-section h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.data-point { min-height: 98px; padding: 17px; background: var(--paper); }
.data-point span { display: block; color: var(--ink-soft); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.data-point strong { display: block; margin-top: 10px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.data-point small { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 10px; line-height: 1.35; }
.price-callout { margin-bottom: 30px; padding: 25px; border-left: 4px solid var(--gold); background: var(--sage-light); }
.price-callout-top { display: flex; justify-content: space-between; gap: 24px; }
.price-callout .price-value { margin: 9px 0; font-family: var(--serif); font-size: clamp(32px, 5vw, 47px); }
.price-callout p { max-width: 650px; margin: 12px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.progress-stat { margin: 18px 0; }
.progress-label { display: flex; justify-content: space-between; gap: 20px; color: var(--ink-soft); font-size: 11px; }
.progress-label strong { color: var(--ink); }
.progress-track { height: 7px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: var(--sage); }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--forest), var(--gold)); border-radius: inherit; }
.pedigree-tree { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pedigree-card { padding: 18px; border: 1px solid var(--line); background: #fff; }
.pedigree-card--wide { grid-column: 1 / -1; }
.pedigree-card span { color: var(--ink-soft); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pedigree-card strong { display: block; margin-top: 8px; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.pedigree-card small { display: block; margin-top: 5px; color: var(--ink-soft); }
.evidence-list { margin: 0; padding: 0; list-style: none; }
.evidence-list li { padding: 15px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.evidence-list li:first-child { border-top: 1px solid var(--line); }
.evidence-list strong { font-size: 12px; }
.evidence-list span { color: var(--ink-soft); font-size: 11px; text-align: right; }
.commentary-card { margin-bottom: 14px; padding: 22px; border: 1px solid var(--line); background: #fff; }
.commentary-card--summary { padding: clamp(24px, 4vw, 38px); border-left: 4px solid var(--gold); background: var(--sage-light); }
.commentary-card--summary h4 { margin-top: 8px; font-size: clamp(25px, 4vw, 34px); }
.commentary-card--summary p { max-width: 760px; color: var(--ink); font-size: 15px; }
.commentary-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.commentary-card h4 { margin: 0 0 10px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.commentary-card p, .commentary-card li { color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.commentary-card ul { margin: 0; padding-left: 20px; }

.community-intro { max-width: 720px; margin: -6px 0 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.community-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.community-photo { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.community-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.community-photo figcaption { padding: 11px 12px; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.community-photo button, .public-comment button { margin: 0 12px 12px; padding: 0; border: 0; border-bottom: 1px solid currentColor; color: #875742; background: transparent; font-size: 10px; cursor: pointer; }
.community-empty, .community-loading { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line); color: var(--ink-soft); background: rgba(255,255,255,.45); font-size: 12px; text-align: center; }
.community-form { margin: 34px 0 50px; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line); background: var(--sage-light); }
.community-form h4 { margin: 0 0 22px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.community-form label, .captcha-block { display: block; margin: 0 0 16px; }
.community-form label > span, .captcha-block > span { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.community-form input[type="text"], .community-form input[type="file"], .community-form textarea, .captcha-block input { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); background: #fff; font: inherit; font-size: 12px; }
.community-form textarea { resize: vertical; }
.captcha-row { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.captcha-row img { width: 210px; height: 72px; border: 1px solid var(--line); object-fit: contain; background: #f1eadb; }
.captcha-refresh { padding: 7px 0; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); background: transparent; font-size: 10px; cursor: pointer; }
.form-note, .form-status { color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.form-status { min-height: 18px; margin: 10px 0; color: var(--forest); font-weight: 700; }
.button--dark { color: var(--paper); background: var(--forest); }
.button:disabled { opacity: .55; cursor: wait; }
.community-comments-section { margin-top: 60px; }
.public-comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.public-comment:first-child { border-top: 1px solid var(--line); }
.public-comment header { display: flex; justify-content: space-between; gap: 20px; }
.public-comment header strong { font-size: 12px; }
.public-comment time { color: var(--ink-soft); font-size: 10px; }
.public-comment p { margin: 9px 0 12px; color: var(--ink-soft); font-size: 13px; line-height: 1.65; white-space: pre-wrap; }
.community-guidelines { margin-top: 34px; }
.catalog-source-link { display: inline-block; margin-top: 8px; color: var(--forest); font-size: 11px; font-weight: 750; text-underline-offset: 3px; }
.comp-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.comp-table th, .comp-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.comp-table th { color: var(--ink-soft); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.methodology-panel h2 { max-width: 680px; margin: 14px 0 38px; font-family: var(--serif); font-size: clamp(38px, 6vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.methodology-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.methodology-grid section { border-top: 1px solid var(--ink); padding-top: 14px; }
.methodology-grid section > span { color: var(--gold); font-family: var(--serif); }
.methodology-grid h3 { margin: 24px 0 8px; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.methodology-grid p { color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.methodology-disclaimer { margin-top: 38px; padding: 22px; background: var(--sage-light); }
.methodology-disclaimer p { margin-bottom: 0; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 1100px) {
  .catalog-controls { grid-template-columns: 2fr repeat(2, 1fr); }
  .catalog-controls label:nth-last-child(-n+2) { grid-column: auto; }
  .catalog-table th:nth-child(5), .catalog-table td:nth-child(5),
  .catalog-table th:nth-child(6), .catalog-table td:nth-child(6) { display: none; }
}

@media (max-width: 760px) {
  .masthead { min-height: 68px; padding: 13px 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 8px; }
  .header-nav { display: none; }
  .mobile-nav { display: block; }
  .landing-hero { padding-top: 70px; }
  .landing-hero h1 { font-size: clamp(48px, 15vw, 76px); }
  .sale-grid { grid-template-columns: 1fr; }
  .sale-card { min-height: 420px; }
  .principles-strip { grid-template-columns: 1fr; }
  .catalog-hero { min-height: auto; padding: 70px 22px; grid-template-columns: 1fr; gap: 42px; }
  .catalog-hero h1 { font-size: clamp(55px, 16vw, 82px); }
  .stat-ribbon { padding: 20px; grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat-ribbon div:nth-child(2) { border-right: 0; }
  .stat-ribbon div:nth-child(3) { padding-left: 0; }
  .catalog-shell { padding-top: 65px; }
  .section-heading { align-items: start; flex-direction: column; }
  .catalog-controls { grid-template-columns: repeat(2, 1fr); }
  .search-field { grid-column: 1 / -1; }
  .active-row { align-items: start; flex-direction: column; padding: 18px 0; }
  .espeed-explainer { grid-template-columns: 1fr; }
  .espeed-explainer a { grid-column: auto; }
  .table-wrap { display: none; }
  .mobile-results { display: grid; gap: 12px; }
  .mobile-horse { padding: 17px; border: 1px solid var(--line); background: rgba(255,255,255,.48); cursor: pointer; }
  .commentary-summary-grid { grid-template-columns: 1fr; }
  .community-gallery { grid-template-columns: 1fr 1fr; }
  .mobile-horse-top { display: flex; justify-content: space-between; gap: 12px; }
  .mobile-horse-title { min-width: 0; flex: 1; }
  .feed-thumbnail--mobile { width: 64px; height: 58px; }
  .mobile-horse h3 { margin: 2px 0 4px; font-family: var(--serif); font-size: 23px; font-weight: 500; }
  .mobile-horse p { margin: 0; color: var(--ink-soft); font-size: 11px; }
  .mobile-horse-metrics { margin: 17px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .mobile-horse-metrics span { display: block; color: var(--ink-soft); font-size: 8px; text-transform: uppercase; }
  .mobile-horse-metrics strong { display: block; margin-top: 5px; font-size: 12px; }
  .mobile-horse-metrics small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 8px; line-height: 1.25; }
  .mobile-horse-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .mobile-horse-bottom button { border: 0; padding: 0; color: var(--forest); background: transparent; font-size: 11px; font-weight: 800; }
  .horse-panel { width: 100vw; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .pedigree-tree { grid-template-columns: 1fr; }
  .pedigree-card--wide { grid-column: auto; }
  .price-callout-top { flex-direction: column; }
  .methodology-grid { grid-template-columns: 1fr; }
  .site-footer { align-items: start; flex-direction: column; }
}

@media (max-width: 460px) {
  .catalog-controls { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .section-heading-actions { width: 100%; justify-content: space-between; }
  .data-grid { grid-template-columns: 1fr 1fr; }
}

@media print {
  .masthead, .catalog-controls, .active-row, .pagination, .disclosure-band, .site-footer, .modal-close, .profile-tabs { display: none !important; }
  .modal { position: static; display: block !important; }
  .modal-scrim { display: none; }
  .horse-panel { position: static; width: 100%; height: auto; box-shadow: none; }
  .tab-panel { display: block !important; page-break-inside: avoid; }
}
