:root {
  color-scheme: light;
  --ink: #182922;
  --green: #17332a;
  --deep: #102820;
  --cream: #f8f4ea;
  --gold: #e2be83;
  --line: #c9beaa;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 1.0625rem/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid #b67e36; outline-offset: 5px; }
.wrap { width: min(100% - 3rem, 73rem); margin-inline: auto; }
.skip { position: absolute; inset: .5rem auto auto .5rem; padding: .5rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; z-index: 2; }
.site-header { background: var(--deep); color: var(--cream); border-bottom: 1px solid #506259; }
.header-inner, .footer-inner { display: flex; gap: .6rem 2rem; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-block: 1rem; }
.brand { font: 1.5rem/1.2 var(--serif); text-decoration: none; }
.brand span { color: var(--gold); }
nav { display: flex; flex-wrap: wrap; gap: .15rem 1.55rem; }
nav a, .footer-inner a { font-size: .94rem; display: inline-block; padding-block: .4rem; text-decoration: none; }
nav a:hover, .footer-inner a:hover { text-decoration: underline; }
.hero { background: var(--green); color: var(--cream); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 6vw, 6.5rem); padding-block: clamp(2rem, 5vw, 4.75rem); }
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(3rem, 7.9vw, 8rem); letter-spacing: -.065em; }
h1 em { color: var(--gold); font-weight: 400; }
.hero-copy p { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 32ch; margin-block: 1.7rem; color: #ece5d6; }
.button { display: inline-block; background: var(--gold); color: var(--deep); padding: .78rem 1.15rem; font-weight: 650; text-decoration: none; border: 1px solid transparent; }
.button:hover { background: #f1d19d; border-color: currentColor; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid #9a8b69; }
figcaption { margin-top: .45rem; font-size: .85rem; color: #e5d6ba; }
h2 { font-size: clamp(2.1rem, 4.6vw, 4.3rem); letter-spacing: -.043em; }
h3 { font-size: clamp(1.65rem, 2.65vw, 2.35rem); letter-spacing: -.025em; }
p { margin: .75em 0; }
.heritage, .presentation { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.4rem 4rem; align-items: start; padding-block: clamp(3rem, 7vw, 6rem); }
.heritage p:first-child { margin-top: 0; }
.text-link { display: inline-block; font-weight: 620; margin-top: .5rem; }
.horses { background: #efe7d7; border-block: 1px solid var(--line); }
.section-inner { padding-block: clamp(3rem, 6vw, 5.5rem); }
.intro { max-width: 59ch; margin-bottom: 2rem; }
.lineage, .mares { display: grid; gap: 1.25rem 2rem; margin: 0; padding: 0; }
.lineage { grid-template-columns: repeat(3, 1fr); list-style: none; }
.mares { grid-template-columns: repeat(2, 1fr); margin-top: 1.6rem; }
.lineage li, .mares article { border-top: 1px solid #aa987b; padding-top: 1.25rem; }
blockquote { position: relative; padding-left: 1.25rem; border-left: 3px solid #a87538; font-size: clamp(1.9rem, 3.8vw, 3.9rem); font-style: italic; }
.presentation .button { margin-top: .5rem; background: var(--green); color: var(--cream); }
.presentation .button:hover { background: var(--deep); }
footer { background: var(--deep); color: var(--cream); }
footer span { font-family: var(--serif); font-size: 1.2rem; }
@media (max-width: 48rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-inner, .heritage, .presentation { grid-template-columns: 1fr; }
  .hero-inner { gap: 1.75rem; }
  figure img { height: auto; }
  .lineage { grid-template-columns: 1fr; }
}
@media (max-width: 29rem) {
  nav { gap: .15rem .9rem; }
  .mares { grid-template-columns: 1fr; }
}
.pedigree { margin: 1rem 0 0; }
.pedigree > div { display: grid; grid-template-columns: 3.35rem 1fr; gap: .55rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.pedigree dt { font-weight: 650; }
.pedigree dd { margin: 0; }
#drummer-horses { border-bottom: 1px solid var(--line); }

.achievement { padding-block: clamp(3rem, 6vw, 5.5rem); }
.achievement h2 { max-width: 24ch; }
.achievement-copy { max-width: 72ch; margin: 1.8rem 0 0 auto; }
.eyebrow { font-size: .9rem; font-weight: 650; letter-spacing: .04em; color: #4b6052; margin: 0 0 .8rem; }
.family-line { padding: 1.4rem 1.6rem; border-left: 3px solid #a87538; background: #f8f4ea; margin: 2rem 0; }
.family-line p { margin-bottom: 0; }
.horse-index { margin-bottom: 2.5rem; gap: .5rem 1.25rem; }
.horse-index a { text-decoration: underline; }
.horse-profile { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem,4vw,4rem); padding-block: 2.5rem; border-top: 1px solid #aa987b; scroll-margin-top: 1rem; }
.horse-profile:nth-child(even) .horse-film { order: 2; }
video { display: block; width: 100%; max-height: 34rem; aspect-ratio: 4/3; object-fit: contain; background: #102820; border: 1px solid #9a8b69; }
.record { padding-top: 1rem; border-top: 1px solid #c9beaa; }
.record strong { display: block; color: #5b421e; font-size: .9rem; margin-bottom: .3rem; }
.more-horses { border-top: 1px solid #aa987b; padding-top: 2rem; margin-top: 1rem; }
.record-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 1.5rem; }
h4 { font: 400 1.5rem/1.2 var(--serif); margin: 0; }
.film-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2.5rem 2rem; }
.film-card h3 { font-size: 1.75rem; margin-top: 1rem; line-height: 1.15; }
.film-card p { max-width: 52ch; }
@media (max-width: 48rem) {
 .horse-profile, .film-grid, .record-grid { grid-template-columns: 1fr; }
 .horse-profile:nth-child(even) .horse-film { order: 0; }
 video { max-height: 29rem; }
 .horse-index { gap: .3rem 1rem; }
}
