:root {
  --paper: #f3efe6;
  --paper-2: #e7e1d4;
  --ink: #1c1915;
  --ink-soft: #4a453e;
  --line: #d4cdbf;
  --moss: #243028;
  --brass: #8d7044;
  --card: #faf7f1;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 360;
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: #d9c7a2; }
:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.wrap {
  width: min(var(--measure), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--measure), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
}
.mark {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-right: auto;
}
.mark-name {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}
.mark-place {
  margin-top: 0.28rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav { display: flex; gap: 1.4rem; }
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--brass); }
.nav-phone { display: none; }
.header-phone {
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.05rem;
  white-space: nowrap;
}
.menu-btn {
  display: none;
  margin-left: 0.25rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) 1.15fr;
  min-height: min(84vh, 46rem);
  background: var(--paper);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3.5rem var(--pad);
  max-width: 42rem;
  margin-left: auto;
}
.hero-photo {
  position: relative;
  min-height: 26rem;
  background: var(--moss);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-nav {
  position: absolute;
  z-index: 2;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-arrow,
.hero-dot {
  background: rgba(243, 239, 230, 0.92);
  border: 0;
  color: var(--ink);
  cursor: pointer;
}
.hero-arrow {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
}
.hero-dots { display: flex; gap: 0.4rem; margin-left: auto; }
.hero-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  padding: 0;
  opacity: 0.5;
}
.hero-dot[aria-current="true"] {
  opacity: 1;
  background: var(--ink);
}

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.9rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4.4rem, 8vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin: 0;
}
.hero-lead {
  max-width: 28rem;
  margin: 1.15rem 0 0;
  color: var(--ink-soft);
  font-weight: 360;
  font-size: 1.15rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  min-height: 2.8rem;
  cursor: pointer;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
button.btn-ink { border: 0; width: 100%; }
.btn:hover { transform: translateY(-1px); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.facts div { padding: 1.3rem 0; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}
.facts strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
}

section { padding: 5.5rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.section-head h2,
.about h2,
.visit h2,
.catalog h1,
.page h1,
.horse-page h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0.3rem 0 0;
}
.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.section-note {
  max-width: 22rem;
  margin: 0;
  color: var(--ink-soft);
}
.section-note a { color: inherit; }

.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.program { background: var(--card); border: 1px solid var(--line); }
.program img { width: 100%; height: 18rem; object-fit: cover; }
.program-body { padding: 1.2rem 1.2rem 1.4rem; }
.program h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}
.program p { margin: 0; color: var(--ink-soft); }

.horses { background: var(--moss); color: #f3efe6; }
.horses .eyebrow { color: #c6b48a; }
.horses .section-note { color: #d9d2c4; }
.horses .section-note a { color: #f3efe6; }
.horse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.horse { text-decoration: none; color: inherit; display: block; }
.horse img,
.horse .photo-missing {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #1a221c;
}
.card-body { display: block; padding-top: 0.8rem; }
.horse h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.15;
  margin: 0.2rem 0 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.horse .ped { margin: 0.25rem 0 0; color: #d9d2c4; font-size: 0.92rem; }
.horse .meta {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c6b48a;
}
.catalog .horse .ped { color: var(--ink-soft); }
.catalog .horse .meta { color: var(--brass); }
.catalog .horse img,
.catalog .photo-missing { background: var(--paper-2); }
.pill {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.horses .pill { color: #c6b48a; }
.photo-missing,
.portrait-frame {
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--ink-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem;
}
.horses .photo-missing { background: #1a221c; color: #d9d2c4; }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.about p { color: var(--ink-soft); }
.about p.lede {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.about img {
  width: 100%;
  height: 36rem;
  object-fit: cover;
  object-position: 50% 30%;
}

.visit { background: var(--paper-2); }
.visit-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.phone-block {
  display: block;
  margin: 0.6rem 0 0.4rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
}
.quiet { color: var(--ink-soft); }
.quiet a { color: inherit; }
form {
  display: grid;
  gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.2rem;
}
label { display: grid; gap: 0.3rem; font-size: 0.85rem; }
input, textarea {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.7rem 0.75rem;
  border-radius: 0;
}
input:focus, textarea:focus {
  outline: 2px solid var(--moss);
  border-color: transparent;
}
.form-note, .sent { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.sent:empty { display: none; }

.note {
  margin: -0.6rem 0 1.4rem;
  max-width: 42rem;
  color: var(--ink-soft);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
  margin-bottom: 1.4rem;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-row button,
.sold-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 0.92rem;
}
.filter-row button[aria-pressed="true"],
.sold-toggle[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.sold-toggle { margin-left: auto; }
.empty { color: var(--ink-soft); }

.page, .horse-page, .catalog { padding-top: 2.6rem; }
.catalog { padding-bottom: 5rem; }
.page { padding-bottom: 4rem; }
.back { margin: 0 0 1rem; }
.back a { color: var(--ink-soft); text-decoration: none; }
.back a:hover { color: var(--brass); }
.detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: start;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.gallery figure { margin: 0; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; height: auto; background: var(--paper-2); }
.horse-facts .pill { margin-bottom: 0.4rem; }
.meta-line {
  margin: 0.7rem 0 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--brass);
}
.pedigree {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 0.45rem 0.8rem;
  margin: 1.2rem 0 0;
}
.pedigree dt {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink-soft);
  padding-top: 0.15rem;
}
.pedigree dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 1.6rem 0 0;
  background: var(--moss);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.horse-copy { max-width: 44rem; margin-top: 2.5rem; }
.prose { color: var(--ink-soft); }
.prose :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 1.6rem 0 0.5rem;
}
.prose a { color: var(--brass); }
.prose ul { padding-left: 1.15rem; }
.prose li { margin: 0.2rem 0; }

.mick-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 1.6rem;
}
.portrait-frame { min-height: 26rem; }
.portrait { width: 100%; height: auto; object-fit: cover; }
.page .phone-block { margin-top: 1.4rem; }

.map {
  display: block;
  width: 100%;
  height: 22rem;
  margin-top: 2.4rem;
  border: 1px solid var(--line);
}
.map-note { margin: 0.6rem 0 0; }

footer {
  padding: 1.6rem 0 2.4rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.footer-links { display: flex; gap: 1rem; }
.footer-links a, footer a { text-decoration: none; }
.footer-links a:hover, footer a:hover { color: var(--brass); }

@media (max-width: 1100px) {
  .horse-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 22rem; order: -1; }
  .hero-copy { margin-left: 0; padding-top: 2rem; max-width: none; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem var(--pad) 1.1rem;
    gap: 0.85rem;
  }
  .nav-phone { display: inline; font-variant-numeric: tabular-nums; }
  .menu-btn { display: inline-flex; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(odd) { border-right: 1px solid var(--line); }
  .facts div:nth-child(2),
  .facts div:nth-child(4) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .programs, .about-grid, .visit-grid, .detail, .mick-grid { grid-template-columns: 1fr; }
  .about img { height: 24rem; }
  .section-head { flex-direction: column; align-items: start; }
  section { padding: 3.6rem 0; }
  .sold-toggle { margin-left: 0; }
  .catalog { padding-bottom: 3.6rem; }
}
@media (max-width: 700px) {
  .header-inner { gap: 0.7rem; }
  .mark-name { font-size: 1.28rem; }
  .header-phone { font-size: 0.92rem; }
  .horse-grid, .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
  .hero-slide:not(:first-child) { display: none; }
  .hero-nav { display: none; }
  .hero-slide:first-child { opacity: 1; }
  .btn:hover { transform: none; }
}
