/* ── VARIABLES ── */
:root {
  --bg:         #0a1009;
  --bg2:        #0d1a0e;
  --bg3:        #112214;
  --surface:    #162b18;
  --gold:       #D4B87A;
  --gold-dim:   #a08550;
  --sage:       #96bc9a;
  --sage-dim:   #5e8862;
  --birch:      #f2ece0;
  --birch-dim:  rgba(242, 236, 224, 0.68);
  --mist:       #a0b2c2;
  --text:       rgba(242, 236, 224, 0.92);
  --text-dim:   rgba(242, 236, 224, 0.52);
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  opacity: 0.035; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 20px 52px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10, 16, 9, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 168, 106, 0.1);
}

.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--birch); text-decoration: none;
}

.nav-links { display: flex; gap: 38px; list-style: none; }

.nav-links a {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  transition: color 0.35s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none;
  cursor: pointer; padding: 4px;
}

.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--birch-dim); transition: all 0.3s;
}

/* ── SHARED SECTION STYLES ── */
section { position: relative; z-index: 1; }

.section-label {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}

.section-label::before, .section-label::after {
  content: ''; display: block;
  width: 20px; height: 1px; background: var(--gold-dim);
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 400; line-height: 1.15; letter-spacing: 0.02em;
}

/* ── BUTTONS ── */
.btn-ghost {
  display: inline-block; padding: 14px 40px;
  border: 1px solid rgba(196,168,106,0.28);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  transition: all 0.35s; background: transparent;
  font-family: 'Jost', sans-serif;
}

.btn-ghost:hover {
  background: rgba(196,168,106,0.07);
  border-color: rgba(196,168,106,0.55);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 24px 120px;
  position: relative; overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 50% 55%, rgba(138,158,133,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(196,168,106,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}

.hero-logo {
  width: min(320px, 68vw); margin-bottom: 40px;
  animation: fadeUp 1.4s ease both;
  filter: drop-shadow(0 4px 20px rgba(196,168,106,0.08)) brightness(0.85);
}

.hero-rule {
  width: 80px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
  margin-bottom: 24px;
  animation: fadeUp 1.4s 0.15s ease both;
}

.hero-tagline {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
  animation: fadeUp 1.4s 0.25s ease both;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px, 2.8vw, 24px);
  font-weight: 300; font-style: italic;
  color: var(--birch-dim); letter-spacing: 0.04em;
  animation: fadeUp 1.4s 0.38s ease both;
}

.hero-scroll {
  position: absolute; bottom: 48px;
  left: 0; right: 0;
  transform: none; margin: 0 auto; width: fit-content;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 1; animation: fadeUp 1.4s 0.6s ease both;
}

.hero-scroll span {
  font-size: 9px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold-dim);
}

.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 160px 52px 80px;
  background: var(--bg);
  border-bottom: 1px solid rgba(196,168,106,0.08);
  position: relative; z-index: 1;
}

.page-hero .section-heading { color: var(--birch); margin-bottom: 16px; }

.page-hero p {
  font-size: 15px; line-height: 1.9;
  color: var(--text-dim); max-width: 540px;
}

/* ── HORSES SECTION (homepage) ── */
.horses {
  background: var(--bg2); padding: 110px 52px;
  border-top: 1px solid rgba(196,168,106,0.08);
}

.horses-inner { max-width: 1120px; margin: 0 auto; }

.horses-header { text-align: center; margin-bottom: 72px; }
.horses-header .section-label { justify-content: center; }
.horses-header .section-heading { color: var(--birch); }
.horses-header p {
  margin-top: 20px; font-size: 14.5px; line-height: 1.9;
  color: var(--text-dim); max-width: 500px;
  margin-left: auto; margin-right: auto;
}

.horses-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(196,168,106,0.07);
}

.horse-card {
  background: var(--bg2); padding: 44px 36px;
  position: relative; overflow: hidden;
  transition: background 0.4s ease;
  text-decoration: none; color: inherit; display: block;
}

.horse-card:hover { background: var(--surface); }

.horse-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,168,106,0.3), transparent);
  opacity: 0; transition: opacity 0.4s;
}

.horse-card:hover::after { opacity: 1; }

.horse-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; letter-spacing: 0.35em;
  color: var(--gold-dim); margin-bottom: 22px;
}

.horse-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400;
  color: var(--birch); margin-bottom: 8px; line-height: 1.2;
}

.horse-breed {
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 20px;
}

.horse-detail { font-size: 13px; line-height: 1.85; color: var(--text-dim); }
.horse-detail span { color: var(--text); font-weight: 400; }

.horses-footer { text-align: center; margin-top: 52px; }

/* ── RESULTS SECTION (homepage) ── */
.results {
  background: var(--bg3); padding: 110px 52px;
  border-top: 1px solid rgba(196,168,106,0.08);
  border-bottom: 1px solid rgba(196,168,106,0.08);
}

.results-inner { max-width: 1020px; margin: 0 auto; }

.results-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: end; margin-bottom: 64px;
}

.results-header .section-heading { color: var(--birch); }
.results-header p { font-size: 14px; line-height: 1.9; color: var(--text-dim); }

.results-table { width: 100%; border-collapse: collapse; }
.results-table thead tr { border-bottom: 1px solid rgba(196,168,106,0.18); }

.results-table th {
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-dim); padding: 0 0 18px; text-align: left;
}

.results-table th:last-child { text-align: right; }

.results-table tbody tr {
  border-bottom: 1px solid rgba(232,224,208,0.05);
  transition: background 0.3s;
}

.results-table tbody tr:hover { background: rgba(196,168,106,0.04); }

.results-table td {
  padding: 22px 0; font-size: 13.5px;
  color: var(--text-dim); font-weight: 300; vertical-align: middle;
}

.results-table td:last-child { text-align: right; }

.result-horse {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 21px !important; font-style: italic;
  color: var(--birch) !important; font-weight: 400 !important;
}

.place-badge {
  display: inline-block; padding: 4px 12px;
  font-size: 10px; letter-spacing: 0.12em; border-radius: 1px;
}

.place-1 { background: rgba(196,168,106,0.12); color: var(--gold); border: 1px solid rgba(196,168,106,0.22); }
.place-2 { background: rgba(138,154,170,0.1); color: var(--mist); border: 1px solid rgba(138,154,170,0.18); }
.place-3 { background: rgba(122,158,126,0.1); color: var(--sage); border: 1px solid rgba(122,158,126,0.18); }
.place-other { background: rgba(242,236,224,0.05); color: var(--text-dim); border: 1px solid rgba(242,236,224,0.1); }

.view-all { margin-top: 52px; text-align: center; }

/* ── ABOUT SECTION (homepage) ── */
.about { background: var(--bg); padding: 110px 52px; }

.about-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 100px; align-items: center;
}

.about-crest { display: none; } /* replaced by two-col layout */

.about-text .section-heading { color: var(--birch); margin-bottom: 30px; }

.about-text p {
  font-size: 14.5px; line-height: 1.95;
  color: var(--text-dim); margin-bottom: 20px;
}

.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(196,168,106,0.12);
}

.stat { padding-right: 24px; border-right: 1px solid rgba(196,168,106,0.08); }
.stat:last-child { border-right: none; padding-left: 24px; padding-right: 0; }
.stat:nth-child(2) { padding-left: 24px; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 300;
  color: var(--birch); line-height: 1; margin-bottom: 8px;
}

.stat-label {
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-dim);
}

/* ── FOOTER ── */
footer {
  background: var(--bg2); padding: 72px 52px 48px;
  border-top: 1px solid rgba(196,168,106,0.08);
}

.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 72px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(232,224,208,0.06);
}

.footer-brand img { width: 90px; margin-bottom: 22px; opacity: 0.65; }

.footer-brand p {
  font-size: 13px; line-height: 1.85;
  color: var(--text-dim); max-width: 240px;
}

.footer-brand a { color: var(--gold); }
.footer-brand a:hover { color: var(--mist); }

.footer-col h4 {
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 22px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.footer-col ul a {
  font-size: 13px; color: rgba(232,224,208,0.3);
  text-decoration: none; transition: color 0.3s;
}

.footer-col ul a:hover { color: var(--birch-dim); }

.footer-bottom {
  max-width: 1120px; margin: 36px auto 0;
  display: flex; justify-content: space-between; align-items: center;
}

.footer-bottom p { font-size: 10px; color: rgba(232,224,208,0.16); letter-spacing: 0.12em; }

.footer-bottom .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; font-weight: 300;
  letter-spacing: 0.25em; text-transform: uppercase;
  font-style: italic; color: rgba(232,224,208,0.18);
}

/* ── NO DATA ── */
.no-data {
  font-size: 13px; color: var(--text-dim);
  font-style: italic; padding: 32px 0; text-align: center;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── RESPONSIVE (global) ── */
@media (max-width: 768px) {
  nav { padding: 18px 24px; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,16,9,0.98);
    padding: 24px 24px 32px;
    border-bottom: 1px solid rgba(196,168,106,0.1);
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .horses, .results, .about { padding: 72px 24px; }
  .horses-grid { grid-template-columns: 1fr; }
  .results-header { grid-template-columns: 1fr; gap: 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 52px; }
  .page-hero { padding: 120px 24px 60px; }
  footer { padding: 52px 24px 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ── HORSES PAGE ── */
.page-hero-inner { max-width: 1120px; margin: 0 auto; }

/* Tab filter bar (horses.php) — .horses-filter-btn to avoid conflict with results dropdowns */
.filter-bar {
  background: var(--bg2);
  border-bottom: 1px solid rgba(196,168,106,0.08);
  padding: 0 52px;
  position: relative; z-index: 1;
}

.filter-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: stretch;
  gap: 0; overflow-x: auto;
}

.horses-filter-btn {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  padding: 20px 24px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}

.horses-filter-btn:hover { color: var(--birch); }
.horses-filter-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

.filter-sub { opacity: 0.8; font-size: 9.5px; }
.filter-sub.active { opacity: 1; }

.filter-divider {
  width: 1px; margin: 12px 8px;
  background: rgba(196,168,106,0.15);
  flex-shrink: 0;
}

.filter-count {
  font-size: 9px;
  background: rgba(196,168,106,0.12);
  color: var(--gold-dim);
  padding: 2px 7px; border-radius: 20px;
}

.horses-filter-btn.active .filter-count {
  background: rgba(196,168,106,0.2);
  color: var(--gold);
}

.horses-full { padding-top: 72px; }
.horses-grid-full { grid-template-columns: repeat(4, 1fr) !important; }
.horse-card-retired { opacity: 0.75; }
.horse-card-retired:hover { opacity: 1; }

.pagination {
  display: flex; gap: 8px; margin-top: 60px;
  justify-content: center; flex-wrap: wrap;
}

.page-btn {
  display: inline-block; padding: 10px 18px;
  font-size: 11px; letter-spacing: 0.15em;
  color: var(--text-dim); text-decoration: none;
  border: 1px solid rgba(196,168,106,0.15);
  transition: all 0.3s;
}

.page-btn:hover { color: var(--gold); border-color: rgba(196,168,106,0.4); }
.page-btn.active { color: var(--gold); border-color: var(--gold); background: rgba(196,168,106,0.08); }

/* ── HORSE PROFILE PAGE ── */
.horse-hero {
  background: var(--bg);
  padding: 140px 52px 60px;
  border-bottom: 1px solid rgba(196,168,106,0.08);
  position: relative; z-index: 1;
}

.horse-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(138,158,133,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.horse-hero-inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }

.back-link {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  transition: color 0.3s; display: inline-block; margin-bottom: 36px;
}

.back-link:hover { color: var(--gold); }

.horse-hero-content {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 40px; flex-wrap: wrap;
}

.horse-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 400; color: var(--birch);
  line-height: 1.05; margin-bottom: 14px;
}

.horse-title-prefix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.55em; font-weight: 400; font-style: normal;
  color: var(--gold); letter-spacing: 0.08em;
  margin-right: 6px; vertical-align: middle; opacity: 0.9;
}

.horse-earned-title {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-dim); margin-top: 6px; margin-bottom: 4px;
}

.horse-subtitle {
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sage);
}

.horse-hero-stats {
  display: flex; gap: 48px;
  padding: 28px 36px;
  border: 1px solid rgba(196,168,106,0.12);
  background: rgba(196,168,106,0.04);
  flex-shrink: 0;
}

.h-stat { text-align: center; }

.h-stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px; font-weight: 300;
  color: var(--birch); line-height: 1; margin-bottom: 6px;
}

.h-stat-label {
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sage-dim);
}

.horse-profile {
  background: var(--bg2); padding: 72px 52px;
  position: relative; z-index: 1;
}

.horse-profile-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 340px 1fr;
  gap: 72px; align-items: start;
}

.detail-block {
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(196,168,106,0.08);
}

.detail-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.detail-block-title {
  font-size: 10px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(196,168,106,0.1);
}

.detail-grid { display: flex; flex-direction: column; gap: 14px; }

.detail-item {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 16px;
}

.detail-label {
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-dim); flex-shrink: 0;
}

.detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: var(--birch); text-align: right;
}

.horse-bio { font-size: 14.5px; line-height: 1.95; color: var(--text-dim); }
.horse-bio p { margin-bottom: 16px; }
.horse-bio center { text-align: center; }
.horse-bio p:last-child { margin-bottom: 0; }

.horse-results-col .results-table th { padding-bottom: 14px; }
.horse-results-col .results-table td { padding: 16px 0; font-size: 13px; }

/* ── HORSE IMAGE ── */
.horse-image-wrap {
  width: 100%; margin-bottom: 36px;
  border-radius: 2px; overflow: hidden; position: relative;
  background: var(--bg);
}

.horse-image-wrap::after {
  content: '';
  position: absolute; inset: 10px;
  border: 1px solid rgba(183,148,79,0.3);
  pointer-events: none; z-index: 1;
}

.horse-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.8) saturate(0.6);
  transition: filter 0.5s ease;
}

.horse-image-wrap:hover .horse-image { filter: brightness(.8) saturate(.8); }

.horse-image-placeholder {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  background: rgba(196,168,106,0.04);
}

.placeholder-inner {
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--text-dim);
}

/* ── RESULTS PAGE ── */
.stats-strip {
  background: var(--bg3);
  border-top: 1px solid rgba(196,168,106,0.08);
  border-bottom: 1px solid rgba(196,168,106,0.08);
  padding: 0 52px; position: relative; z-index: 1;
}

.stats-strip-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.strip-stat { padding: 32px 24px; text-align: center; flex: 1; }

.strip-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 300;
  color: var(--birch); line-height: 1; margin-bottom: 6px;
}

.strip-label {
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sage-dim);
}

.strip-divider { width: 1px; height: 40px; background: rgba(196,168,106,0.1); flex-shrink: 0; }

.results-page { background: var(--bg2); position: relative; z-index: 1; }

/* Results count in header */
.results-count {
  font-size: 10px; letter-spacing: 0.15em;
  color: var(--text-dim); font-family: 'Jost', sans-serif;
  font-weight: 300; margin-left: 12px;
}

.results-meta {
  font-size: 12px; color: var(--text-dim);
  letter-spacing: 0.05em;
}

.horse-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; font-style: italic;
  color: var(--birch); text-decoration: none; transition: color 0.3s;
}

.horse-link:hover { color: var(--gold); }

/* ── RESULT CARDS (mobile) ── */
.results-cards { display: none; }

.result-card {
  padding: 18px 0;
  border-bottom: 1px solid rgba(232,224,208,0.06);
}

.result-card-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 6px; gap: 12px;
}

.result-card-horse {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-style: italic;
  color: var(--birch); text-decoration: none;
  transition: color 0.3s;
}

.result-card-horse:hover { color: var(--gold); }
.result-card-class { font-size: 13px; color: var(--text); margin-bottom: 5px; }
.result-card-meta { font-size: 11px; color: var(--text-dim); letter-spacing: 0.08em; }

/* ── TABLE SCROLL WRAPPER ── */
.table-scroll-wrap {
  width: 100%; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll-wrap::-webkit-scrollbar { height: 4px; }
.table-scroll-wrap::-webkit-scrollbar-track { background: rgba(196,168,106,0.05); }
.table-scroll-wrap::-webkit-scrollbar-thumb { background: rgba(196,168,106,0.2); border-radius: 2px; }

/* ── RESULTS FILTER BAR ── */
.results-filter-bar {
  background: var(--surface);
  border-bottom: 1px solid rgba(183,148,79,0.12);
  position: relative; z-index: 50;
  transition: box-shadow 0.3s;
}

.results-filter-bar.sticky {
  position: sticky; top: 64px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.results-filter-bar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; min-height: 52px;
}

/* Results dropdown trigger button */
.filter-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 14px; background: transparent;
  border: 1px solid rgba(183,148,79,0.18); border-radius: 2px;
  color: var(--text-dim); font-family: 'Jost', sans-serif;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}

.filter-btn:hover { border-color: rgba(183,148,79,0.4); color: var(--birch); }
.filter-btn-active { border-color: var(--gold); color: var(--gold); background: rgba(196,168,106,0.08); }
.filter-btn svg { opacity: 0.6; flex-shrink: 0; }

.filter-control { position: relative; }

.filter-dropdown {
  display: none; position: absolute;
  top: calc(100% + 6px); left: 0; min-width: 200px;
  background: #1a2a18; border: 1px solid rgba(183,148,79,0.2);
  border-radius: 2px; box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 100; overflow: hidden;
}

.filter-dropdown.open { display: block; }

.filter-search-wrap {
  padding: 10px 10px 6px;
  border-bottom: 1px solid rgba(183,148,79,0.1);
}

.filter-search {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(183,148,79,0.15); border-radius: 2px;
  color: var(--birch); padding: 7px 10px;
  font-family: 'Jost', sans-serif; font-size: 12px; outline: none;
}

.filter-search:focus { border-color: rgba(183,148,79,0.4); }
.filter-search::placeholder { color: rgba(200,191,168,0.35); }

.filter-dropdown-scroll {
  max-height: 260px; overflow-y: auto; padding: 4px 0;
}

.filter-dropdown-scroll::-webkit-scrollbar { width: 4px; }
.filter-dropdown-scroll::-webkit-scrollbar-track { background: transparent; }
.filter-dropdown-scroll::-webkit-scrollbar-thumb { background: rgba(183,148,79,0.2); border-radius: 2px; }

.filter-opt {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; font-family: 'Jost', sans-serif;
  font-size: 12px; color: var(--text-dim);
  text-decoration: none; transition: background 0.15s, color 0.15s; white-space: nowrap;
}

.filter-opt:hover { background: rgba(183,148,79,0.08); color: var(--birch); }
.filter-opt.active { color: var(--gold); background: rgba(196,168,106,0.07); }
.filter-opt-code { font-size: 10px; letter-spacing: 0.1em; color: rgba(183,148,79,0.45); margin-left: 8px; }

.filter-bar-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }

.filter-clear-btn {
  font-family: 'Jost', sans-serif; font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(224,112,112,0.7); text-decoration: none;
  padding: 5px 10px; border: 1px solid rgba(224,112,112,0.2);
  border-radius: 2px; transition: all 0.2s; white-space: nowrap;
}

.filter-clear-btn:hover { color: #e07070; border-color: rgba(224,112,112,0.5); background: rgba(224,112,112,0.05); }

.per-page-control { display: flex; align-items: center; gap: 6px; }
.per-page-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); }

.per-page-btn {
  font-family: 'Jost', sans-serif; font-size: 11px;
  color: var(--text-dim); text-decoration: none;
  padding: 4px 8px; border: 1px solid transparent; border-radius: 2px; transition: all 0.2s;
}

.per-page-btn:hover { color: var(--birch); border-color: rgba(183,148,79,0.2); }
.per-page-btn.active { color: var(--gold); border-color: rgba(183,148,79,0.3); }

.active-filter-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 8px 40px;
  border-top: 1px solid rgba(183,148,79,0.07);
}

.filter-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 12px;
  background: rgba(196,168,106,0.1); border: 1px solid rgba(196,168,106,0.25);
  border-radius: 20px; font-family: 'Jost', sans-serif;
  font-size: 11px; color: var(--gold); text-decoration: none; transition: all 0.2s;
}

.filter-tag:hover { background: rgba(196,168,106,0.18); }
.filter-tag span { font-size: 10px; opacity: 0.7; }

.results-page-full { padding: 32px 0 80px; }
.results-page-inner-full { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.results-meta-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}

.page-ellipsis { font-size: 13px; color: var(--text-dim); padding: 0 4px; align-self: center; }

/* ── ABOUT PAGE ── */
.about-hero { padding-bottom: 0 !important; overflow: hidden; }

.about-hero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end;
}

.about-hero-left { padding-bottom: 72px; }
.about-hero-left .section-heading { color: var(--birch); margin: 12px 0 20px; font-size: clamp(32px, 5vw, 58px); }
.about-hero-left p { font-size: 15px; line-height: 1.9; color: var(--text-dim); }

.about-hero-crest {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
}

.crest-glow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 70%; height: 60%;
  background: radial-gradient(ellipse at bottom, rgba(196,168,106,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero-crest img { width: 75%; position: relative; z-index: 1; filter: sepia(0.15) brightness(0.88); }

.about-story {
  background: var(--bg2); padding: 100px 52px;
  border-top: 1px solid rgba(196,168,106,0.08);
  position: relative; z-index: 1;
}

.about-story-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 80px; align-items: start;
}

.story-text p { font-size: 15px; line-height: 1.95; color: var(--text-dim); margin-bottom: 20px; }

.about-stats-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(196,168,106,0.08);
  position: sticky; top: 100px;
}

.about-stat { background: var(--bg2); padding: 36px 28px; text-align: center; transition: background 0.3s; }
.about-stat:hover { background: var(--surface); }
.about-stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px; font-weight: 300; color: var(--birch); line-height: 1; margin-bottom: 8px;
}
.about-stat-label { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-dim); }

.about-owner {
  background: var(--bg); padding: 80px 0;
  border-bottom: 1px solid rgba(183,148,79,0.12);
}

.about-owner-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 280px 1fr;
  gap: 64px; align-items: start;
}

.owner-label-col { position: sticky; top: 100px; }

.owner-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 300;
  color: var(--birch); line-height: 1.1; margin: 16px 0 10px; font-style: italic;
}

.owner-location { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-dim); }

.owner-text-col p { font-size: 15px; line-height: 1.95; color: var(--text-dim); margin-bottom: 20px; }
.owner-text-col p:last-child { margin-bottom: 0; }

.about-two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.about-image-col { position: relative; }

.about-image-wrap {
  position: relative; overflow: hidden; border-radius: 2px;
}

.about-image-wrap::before {
  content: ''; position: absolute; inset: 12px;
  border: 1px solid rgba(183,148,79,0.3); z-index: 1; pointer-events: none;
}

.about-image-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 1; pointer-events: none;
}

.about-image-wrap img {
  width: 100%; height: 480px; object-fit: cover; display: block;
  filter: brightness(0.88) saturate(0.85); transition: filter 0.6s ease;
}

.about-image-wrap:hover img { filter: brightness(0.95) saturate(0.95); }

.about-top-horses {
  background: var(--bg3); padding: 100px 52px;
  border-top: 1px solid rgba(196,168,106,0.08);
  position: relative; z-index: 1;
}

.about-top-inner { max-width: 1120px; margin: 0 auto; }
.about-top-inner .section-label { justify-content: center; }

.top-horses-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(196,168,106,0.07);
}

.top-horse-card {
  background: var(--bg3); padding: 44px 36px;
  text-decoration: none; color: inherit;
  transition: background 0.4s; position: relative; overflow: hidden;
}

.top-horse-card:hover { background: var(--surface); }

.top-horse-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,168,106,0.3), transparent);
  opacity: 0; transition: opacity 0.4s;
}

.top-horse-card:hover::after { opacity: 1; }

.top-horse-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400; font-style: italic;
  color: var(--birch); margin-bottom: 28px; line-height: 1.2;
}

.top-horse-stats { display: flex; gap: 32px; }
.th-stat { display: flex; flex-direction: column; gap: 4px; }
.th-num { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: var(--gold); line-height: 1; }
.th-lbl { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage-dim); }

.about-contact {
  background: var(--bg); padding: 100px 52px;
  border-top: 1px solid rgba(196,168,106,0.08);
  position: relative; z-index: 1;
}

.about-contact-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}

.contact-crest { display: flex; align-items: center; justify-content: center; position: relative; }

.contact-crest::before {
  content: ''; position: absolute; width: 78%; height: 78%;
  background: radial-gradient(ellipse at center, rgba(196,168,106,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-crest::after {
  content: ''; position: absolute; width: 70%; height: 88%;
  border: 1px solid rgba(196,168,106,0.08); transform: rotate(-2deg);
}

.contact-crest img { width: 72%; position: relative; z-index: 1; filter: sepia(0.2) brightness(0.82); }

/* ── APPRENTICESHIP PAGE ── */
.appr-about {
  background: var(--bg2); padding: 100px 52px;
  border-top: 1px solid rgba(196,168,106,0.08);
  position: relative; z-index: 1;
}

.appr-about-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.appr-image-wrap { border: 1px solid rgba(196,168,106,0.1); overflow: hidden; }
.appr-image { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.appr-image-wrap:hover .appr-image { transform: scale(1.02); }

.appr-text p { font-size: 15px; line-height: 1.95; color: var(--text-dim); margin-bottom: 20px; }

.appr-pricing {
  background: var(--bg3); padding: 100px 52px;
  border-top: 1px solid rgba(196,168,106,0.08);
  position: relative; z-index: 1;
}

.appr-pricing-inner { max-width: 1120px; margin: 0 auto; }
.appr-pricing-inner .section-label { justify-content: center; }

.appr-price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(196,168,106,0.08);
}

.appr-price-grid-two { grid-template-columns: repeat(2, 1fr) !important; max-width: 720px; margin: 0 auto; }

.price-card { background: var(--bg3); padding: 48px 36px; position: relative; transition: background 0.3s; }
.price-card:hover { background: var(--surface); }
.price-card-featured { background: var(--surface); border-top: 2px solid var(--gold); }

.price-badge { font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.price-tier { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.price-amount { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 300; color: var(--birch); line-height: 1; margin-bottom: 4px; }
.price-period { font-size: 11px; color: var(--text-dim); letter-spacing: 0.1em; margin-bottom: 32px; }

.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; padding-top: 28px; border-top: 1px solid rgba(196,168,106,0.1); }
.price-features li { font-size: 13.5px; color: var(--text-dim); padding-left: 16px; position: relative; }
.price-features li::before { content: '—'; position: absolute; left: 0; color: var(--gold-dim); font-size: 11px; }

.appr-table-section { background: var(--bg2); padding: 100px 52px; border-top: 1px solid rgba(196,168,106,0.08); position: relative; z-index: 1; }
.appr-table-inner { max-width: 1120px; margin: 0 auto; }
.appr-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; color: var(--birch); }

.appr-contact-note { text-align: center; margin-top: 48px; font-size: 14px; color: var(--text-dim); }
.appr-contact-note a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(196,168,106,0.3); transition: border-color 0.3s; }
.appr-contact-note a:hover { border-color: var(--gold); }

/* ── HALL OF FAME ── */
.hof-hero-stats { display: flex; align-items: center; gap: 32px; margin-top: 32px; }
.hof-hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hof-hero-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; color: var(--gold); line-height: 1; }
.hof-hero-lbl { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-dim); }
.hof-hero-divider { width: 1px; height: 48px; background: rgba(183,148,79,0.25); }

.hof-section { padding: 80px 0; }
.hof-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.hof-tier { margin-bottom: 72px; }
.hof-tier-header { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.hof-tier-badge { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--bg); background: var(--gold); padding: 4px 12px; border-radius: 2px; font-weight: 500; white-space: nowrap; }
.hof-tier-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 300; color: var(--birch); white-space: nowrap; }
.hof-tier-line { flex: 1; height: 1px; background: rgba(183,148,79,0.15); }
.hof-tier-count { font-size: 11px; letter-spacing: 0.15em; color: var(--text-dim); white-space: nowrap; }

.hof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.hof-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid rgba(183,148,79,0.12); border-radius: 2px; overflow: hidden; text-decoration: none; transition: border-color 0.3s ease, transform 0.3s ease; }
.hof-card:hover { border-color: rgba(183,148,79,0.35); transform: translateY(-3px); }

.hof-card-image { position: relative; height: 220px; overflow: hidden; background: rgba(0,0,0,0.3); }
.hof-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; filter: brightness(0.88) saturate(0.85); transition: filter 0.5s ease, transform 0.5s ease; }
.hof-card:hover .hof-card-image img { filter: brightness(0.95) saturate(0.95); transform: scale(1.03); }

.hof-no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(183,148,79,0.04); }
.hof-no-image span { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 300; color: rgba(183,148,79,0.18); }

.hof-badge-overlay { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.65); border: 1px solid rgba(183,148,79,0.4); color: var(--gold); font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; backdrop-filter: blur(4px); }

.hof-card-body { padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.hof-card-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 300; color: var(--birch); line-height: 1.2; }
.hof-card-earned-title { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dim); margin-top: -6px; }

.hof-card-meta { display: flex; flex-direction: column; gap: 6px; }
.hof-meta-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hof-meta-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; flex-shrink: 0; }
.hof-meta-value { font-size: 12px; color: var(--text); text-align: right; }

.hof-card-points { display: flex; border-top: 1px solid rgba(183,148,79,0.1); padding-top: 12px; margin-top: auto; }
.hof-point-stat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; border-right: 1px solid rgba(183,148,79,0.1); }
.hof-point-stat:last-child { border-right: none; }
.hof-point-num { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 300; color: var(--gold); line-height: 1; }
.hof-point-lbl { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }

/* ── BREEDING PAGE ── */
.breeding-section { padding: 80px 0; }
.foals-section { padding: 60px 0 80px; background: rgba(0,0,0,0.15); }
.breeding-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.breeding-header { margin-bottom: 48px; }
.breeding-header p { font-size: 14px; color: var(--text-dim); line-height: 1.8; max-width: 560px; margin-top: 12px; }

.stud-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }

.stud-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid rgba(183,148,79,0.12); border-radius: 2px; overflow: hidden; text-decoration: none; transition: border-color 0.3s ease, transform 0.3s ease; }
.stud-card:hover { border-color: rgba(183,148,79,0.35); transform: translateY(-3px); }
.stud-card-unavailable { opacity: 0.6; }

.stud-card-image { position: relative; height: 240px; overflow: hidden; background: rgba(0,0,0,0.3); }
.stud-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; filter: brightness(0.88) saturate(0.85); transition: filter 0.5s ease, transform 0.5s ease; }
.stud-card:hover .stud-card-image img { filter: brightness(0.95) saturate(0.95); transform: scale(1.03); }

.stud-no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(183,148,79,0.04); }
.stud-no-image span { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 300; color: rgba(183,148,79,0.18); }

.stud-availability { position: absolute; top: 12px; right: 12px; font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; backdrop-filter: blur(4px); border: 1px solid; }
.stud-open { background: rgba(0,0,0,0.6); border-color: rgba(80,160,80,0.5); color: #7ec87e; }
.stud-closed { background: rgba(0,0,0,0.6); border-color: rgba(180,60,60,0.4); color: #e07070; }

.stud-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.stud-card-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 300; color: var(--birch); line-height: 1.2; }
.stud-card-breed { font-size: 11px; color: var(--text-dim); letter-spacing: 0.05em; margin-top: -4px; }

.stud-meta { display: flex; flex-direction: column; gap: 5px; }
.stud-meta-row { display: flex; justify-content: space-between; gap: 8px; }
.stud-meta-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; flex-shrink: 0; }
.stud-meta-value { font-size: 12px; color: var(--text); text-align: right; }

.stud-notes { font-size: 12px; color: var(--text-dim); font-style: italic; padding: 8px 10px; background: rgba(183,148,79,0.05); border-left: 2px solid rgba(183,148,79,0.2); border-radius: 0 2px 2px 0; }

.stud-fee-row { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; margin-top: auto; border-top: 1px solid rgba(183,148,79,0.1); }
.stud-fee-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }
.stud-fee-amount { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; color: var(--gold); }

.foals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

.foal-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid rgba(183,148,79,0.1); border-radius: 2px; overflow: hidden; text-decoration: none; transition: border-color 0.3s, transform 0.3s; }
.foal-card:hover { border-color: rgba(183,148,79,0.3); transform: translateY(-2px); }

.foal-card-image { position: relative; height: 160px; overflow: hidden; background: rgba(0,0,0,0.3); }
.foal-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; filter: brightness(0.88) saturate(0.85); transition: filter 0.4s, transform 0.4s; }
.foal-card:hover .foal-card-image img { filter: brightness(0.95) saturate(0.95); transform: scale(1.04); }

.foal-no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(183,148,79,0.04); }
.foal-no-image span { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 300; color: rgba(183,148,79,0.15); }

.foal-card-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.foal-card-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 300; color: var(--birch); line-height: 1.2; }
.foal-card-breed { font-size: 11px; color: var(--text-dim); }

.foal-pedigree { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.foal-ped-row { display: flex; justify-content: space-between; gap: 8px; }
.foal-ped-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); flex-shrink: 0; }
.foal-ped-label-gold { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); flex-shrink: 0; }
.foal-ped-value { font-size: 11px; color: var(--text); text-align: right; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .horses-grid-full { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 900px) {
  .horse-hero { padding: 120px 24px 48px; }
  .horse-hero-stats { width: 100%; justify-content: space-around; }
  .horse-profile { padding: 52px 24px; }
  .horse-profile-inner { grid-template-columns: 1fr; gap: 48px; }
  .stats-strip { padding: 0 24px; }
  .stats-strip-inner { flex-wrap: wrap; }
  .strip-stat { padding: 20px 12px; min-width: 80px; }
  .strip-divider { display: none; }
  .about-hero-inner { grid-template-columns: 1fr; }
  .about-hero-crest { display: none; }
  .about-story { padding: 72px 24px; }
  .about-story-inner { grid-template-columns: 1fr; }
  .about-stats-block { position: static; }
  .about-top-horses { padding: 72px 24px; }
  .top-horses-grid { grid-template-columns: 1fr; }
  .about-contact { padding: 72px 24px; }
  .about-contact-inner { grid-template-columns: 1fr; }
  .contact-crest { display: none; }
  .filter-bar { padding: 0 24px; }
  .horses-grid-full { grid-template-columns: 1fr !important; }
  .appr-about { padding: 72px 24px; }
  .appr-about-inner { grid-template-columns: 1fr; }
  .appr-pricing { padding: 72px 24px; }
  .appr-price-grid { grid-template-columns: 1fr; }
  .appr-table-section { padding: 72px 24px; }
}

@media (max-width: 768px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,16,9,0.98); padding: 24px 24px 32px; border-bottom: 1px solid rgba(196,168,106,0.1); gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .horses, .results, .about { padding: 72px 24px; }
  .horses-grid { grid-template-columns: 1fr; }
  .results-header { grid-template-columns: 1fr; gap: 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 52px; }
  .page-hero { padding: 120px 24px 60px; }
  footer { padding: 52px 24px 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .horse-image-wrap { margin-bottom: 28px; }
  .results-cards { display: block; }
  .desktop-table { display: none; }
  .stats-strip-inner { overflow-x: auto; justify-content: flex-start; }
  .about-two-col { grid-template-columns: 1fr; gap: 2rem; }
  .about-image-wrap img { height: 280px; }
  .about-owner-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; }
  .owner-label-col { position: static; }
  .owner-name { font-size: 2rem; }
  .hof-inner { padding: 0 20px; }
  .hof-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hof-card-image { height: 160px; }
  .hof-hero-stats { gap: 20px; }
  .breeding-inner { padding: 0 20px; }
  .stud-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stud-card-image { height: 180px; }
  .foals-grid { grid-template-columns: 1fr 1fr; }
  .results-filter-bar-inner { padding: 8px 16px; gap: 6px; }
  .active-filter-tags { padding: 8px 16px; }
  .results-page-inner-full { padding: 0 16px; }
  .filter-bar-right { margin-left: 0; width: 100%; justify-content: space-between; padding: 4px 0 8px; }
  .per-page-label { display: none; }
  .appr-price-grid-two { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .hof-grid { grid-template-columns: 1fr; }
  .stud-grid { grid-template-columns: 1fr; }
  .foals-grid { grid-template-columns: 1fr; }
}