@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/playfair.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/playfair-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #302a25;
  --charcoal: #302b26;
  --charcoal-deep: #292622;
  --ivory: #f2ebe1;
  --paper: #faf7f0;
  --taupe: #e9dfd3;
  --muted: #675b50;
  --edge: #d8ccbf;
  --accent: #745941;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 74px);
  --wrap: 1200px;
  --header: 86px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 14px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.58 var(--sans); }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(2.5rem, 5.15vw, 4.5rem); letter-spacing: -.052em; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #936847; outline-offset: 4px; }
.hero :focus-visible, .theo :focus-visible { outline-color: #dbc5ad; }
#herd-title:focus { outline: none; }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(74px, 8.3vw, 126px); }
.eyebrow {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .115em;
  line-height: 1.35;
  text-transform: uppercase;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button-ivory { background: var(--ivory); color: var(--charcoal-deep); }
.button-ivory:hover { background: #e7dbcd; }
.button-outline-light { background: transparent; color: var(--ivory); border-color: #bca98f; }
.button-outline-light:hover { background: #463b32; }
.button-dark { background: var(--charcoal); color: white; }
.button-dark:hover { background: #504037; }
.button-outline { background: transparent; color: var(--charcoal-deep); border-color: #8b7562; }
.button-outline:hover { background: #e9ded0; }
.text-link {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-underline-offset: .28em;
  text-decoration-thickness: 1px;
  font-weight: 700;
}
.text-link:hover { color: var(--accent); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--charcoal);
}
.skip-link:focus { transform: none; }

.preview-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 33px;
  padding: 5px 14px;
  background: #e5d9cb;
  color: #514337;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.site-header { position: sticky; z-index: 5; top: 0; background: var(--paper); border-bottom: 1px solid #e4d9cb; }
.header-inner { display: flex; min-height: var(--header); align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; flex: none; gap: 12px; align-items: center; text-decoration: none; color: var(--charcoal-deep); }
.brand img { flex: none; }
.brand > span { display: flex; flex-direction: column; gap: 4px; font: 400 1.45rem/.92 var(--serif); }
.brand small { font: 700 .73rem/1 var(--sans); letter-spacing: .23em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.35vw, 38px); }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-contact { border: 1px solid #ac9984; border-radius: 4px; padding: 0 17px; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(540px, 48vw, 720px);
  background: var(--charcoal);
  color: var(--ivory);
}
.hero-image, .hero-image img, .hero-image::after { position: absolute; inset: 0; }
.hero-image { z-index: -1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-image::after {
  content: "";
  background: linear-gradient(90deg, #1b1915ef 0%, #211d16b0 28%, #25201830 60%, transparent 79%), linear-gradient(0deg, #1b191570, transparent 34%);
}
.hero-copy {
  padding-block: clamp(56px, 7vw, 100px);
}
.hero-location { color: #f0ddc6; display: flex; align-items: center; gap: 12px; }
.hero-location::before { content: ""; width: 25px; height: 1px; background: currentColor; }
.hero h1 { margin: 17px 0 21px; font-size: clamp(5.25rem, 8.6vw, 8.3rem); letter-spacing: -.06em; line-height: .97; }
.hero h1 em { display: block; color: #f3dec6; font-weight: 400; }
.hero-intro { max-width: 31ch; margin-bottom: 25px; color: #fff4e8; font-size: clamp(1.02rem, 1.45vw, 1.22rem); }
.hero .button-outline-light { background: #292622bf; }
.hero .button-outline-light:hover { background: #463b32; }

.welcome { background: var(--paper); }
.welcome-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  gap: clamp(34px, 7vw, 105px);
}
.welcome-copy h2 { max-width: 13ch; margin-bottom: 23px; }
.welcome-copy p { max-width: 57ch; color: var(--muted); }
.welcome-copy p + p { margin-top: 15px; }
.welcome-portrait {
  width: min(100%, 380px);
  height: auto;
  justify-self: end;
  border-radius: 4px;
}
.home-explore { background: var(--paper); padding-bottom: clamp(64px, 8vw, 115px); }
.home-explore .wrap { padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--edge); }
.home-explore h2 { margin-bottom: 25px; font-size: clamp(2.25rem, 4.2vw, 3.8rem); }
.home-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.home-link {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 4px;
  background: var(--ivory);
  text-decoration: none;
}
.home-link img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 28%; background: #161310; }
.home-link-youngstock img { object-position: center 51%; }
.home-link-theo img { object-position: center 30%; }
.home-link span { padding: 15px 17px 17px; font: 400 clamp(1.25rem, 2.45vw, 2rem)/1.15 var(--serif); }
.home-link:hover { border-color: #a48b73; }
.home-link:hover span { text-decoration: underline; text-underline-offset: .2em; }

.farm-life { background: var(--taupe); }
.farm-life-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(35px, 7vw, 100px);
}
.farm-life-copy p { max-width: 42ch; margin-top: 17px; color: var(--muted); }
.farm-life-media { display: grid; gap: 24px; min-width: 0; }
.farm-life-photo { display: block; width: 100%; height: auto; }
.farm-life-film { width: min(100%, 315px); justify-self: center; }
.program-video { position: relative; overflow: hidden; border-radius: 4px; }
.program-video-play {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  gap: 9px;
  white-space: nowrap;
  box-shadow: 0 2px 12px #0005;
}
.program-video-play::before {
  content: "";
  border-block: 6px solid transparent;
  border-inline-start: 9px solid currentColor;
}
.program-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #080808;
}

.program { background: var(--ivory); }
.program-layout, .youngstock-layout { display: grid; align-items: center; gap: clamp(39px, 8vw, 126px); grid-template-columns: 1fr 1.08fr; }
.program-copy .eyebrow, .youngstock-copy .eyebrow, .section-heading .eyebrow { margin-bottom: 12px; }
.program-copy h2, .youngstock-copy h2 { margin-bottom: 23px; }
.program-copy p:not(.eyebrow), .youngstock-copy p:not(.eyebrow) { max-width: 50ch; margin-bottom: 14px; color: var(--muted); }
.program-copy .text-link { margin-top: 2px; }
.program-photo, .youngstock-photo { width: min(100%, 430px); justify-self: center; }
.program-photo img, .youngstock-photo img { width: 100%; height: auto; border-radius: 4px; }
.program-photo figcaption, .youngstock-photo figcaption { color: var(--muted); font-size: .875rem; padding: 8px 0 0; }

.herd { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 26px; }
.section-heading > p { max-width: 43ch; color: var(--muted); padding-bottom: 4px; }
.herd-controls {
  margin-top: 33px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 330px);
  align-items: center;
  gap: 8px 14px;
  background: #f0e7dc;
  border: 1px solid #e2d6c8;
  border-radius: 6px;
}
.filters { display: flex; flex-wrap: wrap; gap: 4px; }
.filters button {
  min-height: 44px;
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--charcoal-deep);
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
}
.filters button:hover { background: #e4d6c6; }
.filters button[aria-pressed="true"] { background: var(--charcoal); color: white; }
.sale-filters {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 10px;
  padding: 6px 0 0;
  border-top: 1px solid var(--edge);
}
.sale-filters > span { padding-inline: 8px; color: var(--muted); font-size: .875rem; font-weight: 700; }
.sale-filters button:not([aria-pressed="true"]) { border-color: var(--edge); }
.search-box { position: relative; }
.search-box input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 8px 14px 8px 39px;
  border: 1px solid #a38d79;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
}
.search-box input::placeholder { color: #665a50; }
.search-icon {
  position: absolute;
  top: 15px;
  left: 14px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  pointer-events: none;
}
.search-icon::after { content: ""; position: absolute; top: 8px; left: 9px; width: 6px; height: 1.5px; transform: rotate(45deg); background: var(--muted); }
.herd-status { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.herd-status p { color: var(--muted); font-size: .875rem; }
.link-button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--charcoal-deep);
  font-weight: 700;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .24em;
}
.pony-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pony-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 4px;
  background: var(--paper);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.pony-card:hover { border-color: #a48b73; box-shadow: 0 5px 17px #392b2114; }
.pony-card .card-media { aspect-ratio: 16 / 10; position: relative; }
.card-media img, .photo-pending { width: 100%; height: 100%; }
.card-media img { object-fit: cover; object-position: 50% 46%; }
.card-media :is(.photo-tilly-studio, .photo-lush-studio, .photo-winston-studio, .photo-theo-studio, .photo-lolli-studio, .photo-charlotte-studio, .photo-julep-studio, .photo-poppy-studio, .photo-calvin-studio, .photo-ashe-studio, .photo-loki-studio) { object-fit: contain; background: #0e0e0e; object-position: center; }
.card-media .photo-portia-studio { object-position: center 14%; }
.card-media :is(.photo-annie-in-hand, .photo-coco-jumping, .photo-rhianna-jumping, .photo-brynn-conformation, .photo-davi-conformation, .photo-gigi-conformation, .photo-cora-conformation, .photo-nico-conformation, .photo-pippa-in-hand, .photo-cash-conformation, .photo-ari-conformation) { object-fit: contain; background: var(--taupe); }
.card-media .photo-pixie { object-position: 49% 58%; }
.photo-pending {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  background: #eae0d4;
  color: #68594c;
  font-size: .875rem;
  text-align: center;
  padding: 15px;
}
.photo-pending img { width: 42px; height: 42px; }
.card-body { display: flex; flex-direction: column; align-items: start; flex: 1; padding: 18px 20px 17px; }
.card-meta { display: flex; align-items: center; gap: 5px 10px; flex-wrap: wrap; }
.card-type { color: var(--accent); font-weight: 700; font-size: .875rem; line-height: 1.3; }
.sale-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
}
.sale-badge-available { color: #2c4636; background: #dce8db; }
.sale-badge-unavailable { color: #54483c; background: var(--taupe); }
.profile-content-inner > .sale-badge { margin-block: 8px; }
.card-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 4px; letter-spacing: -.035em; }
.card-name { color: var(--muted); margin-top: 4px; margin-bottom: 13px; overflow-wrap: anywhere; }
.card-link { margin-top: auto; font-size: .875rem; font-weight: 700; text-underline-offset: .26em; text-decoration: underline; }
.herd-more { text-align: center; }
.herd-more .button { margin-top: 28px; }
.empty-state { padding: 33px 20px; text-align: center; border: 1px solid var(--edge); border-radius: 4px; }
.empty-state h3 { font-size: 1.8rem; margin-bottom: 10px; }
.empty-state p { margin-bottom: 18px; }

.youngstock { background: var(--taupe); }
.youngstock-layout { grid-template-columns: 1.04fr 1fr; }
.youngstock-copy .review-note { font-size: .9375rem; }
.youngstock-copy .button { margin-top: 7px; }

.theo { padding-block: clamp(70px, 7.2vw, 110px); background: var(--charcoal-deep); color: var(--ivory); }
.theo-layout { display: grid; align-items: center; gap: clamp(32px, 6vw, 86px); grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr); }
.theo-copy .eyebrow { color: #dbc5ad; margin-bottom: 12px; }
.theo h2 { font-size: clamp(3rem, 6.25vw, 6rem); }
.theo-barn-name { margin: 7px 0 18px; font: italic 400 clamp(1.65rem, 3.2vw, 2.35rem)/1.14 var(--serif); color: #e6d1bb; }
.theo-description { color: #f2eae0; max-width: 42ch; margin-bottom: 23px; }
.theo-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 16px; border-top: 1px solid #776756; }
.theo-facts div { padding: 9px 5px 10px 0; border-bottom: 1px solid #776756; }
.theo-facts dt { font-size: .875rem; color: #ded1c1; }
.theo-facts dd { font-weight: 600; font-size: 1.125rem; }
.theo-note { color: #e1d6c9; font-size: .875rem; margin-bottom: 18px; }
.theo-photo > img { width: 100%; height: auto; aspect-ratio: 1098 / 974; object-fit: contain; background: #080808; }
.photo-picker { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; padding: 10px; }
.photo-picker button {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  min-height: 44px;
  padding: 5px 2px;
  border: 1px solid var(--edge);
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25;
}
.photo-picker button[aria-pressed="true"] { background: var(--taupe); border-color: var(--accent); color: var(--charcoal-deep); }
.photo-picker button img { width: min(100%, 78px); height: 54px; object-fit: contain; background: #080808; }
.theo-photo .photo-picker { padding-inline: 0; }
.theo-photo .photo-picker button { border-color: #a6937e; }
.theo-photo .photo-picker button[aria-pressed="true"] { border-color: var(--ivory); }

.contact { background: var(--ivory); }
.contact-main { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(53px, 7vw, 96px); }
.contact h2 { margin-top: 10px; }
.contact-main p:not(.eyebrow) { margin-top: 14px; color: var(--muted); }
.contact-links { display: flex; flex-direction: column; align-items: start; gap: 3px; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
  min-height: 116px;
  padding-block: 14px;
  border-top: 1px solid #d5c6b7;
  color: var(--muted);
  font-size: .875rem;
}

body:has(dialog[open]) { overflow: hidden; }
dialog {
  position: fixed;
  width: min(calc(100% - 26px), 680px);
  max-height: calc(100dvh - 36px);
  padding: 0;
  border: 1px solid #d9cdbf;
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
}
dialog::backdrop { background: #251c17ba; }
.dialog-top {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px clamp(16px, 4vw, 31px);
  border-bottom: 1px solid var(--edge);
  background: var(--paper);
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
}
.close-profile {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #bfad9b;
  border-radius: 4px;
  padding: 3px 10px;
  background: var(--paper);
  color: var(--charcoal-deep);
}
.close-profile:hover { background: var(--taupe); }
.close-profile span { font-size: 1.4rem; line-height: 1; }
.profile-content-inner { padding: 24px clamp(16px, 4vw, 31px) 31px; }
.profile-photo { background: #eae0d4; }
.profile-photo img { width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.profile-photo .photo-pending { min-height: 135px; }
.profile-photo :is(.photo-tilly-studio, .photo-lush-studio, .photo-winston-studio, .photo-theo-studio, .photo-lolli-studio, .photo-charlotte-studio, .photo-portia-studio, .photo-julep-studio, .photo-poppy-studio, .photo-calvin-studio, .photo-ashe-studio, .photo-loki-studio) { object-fit: contain; background: #0e0e0e; }
.profile-extra-photo { border-bottom: 1px solid var(--edge); }
.profile-extra-photo summary {
  min-height: 44px;
  padding: 10px clamp(16px, 4vw, 31px);
  color: var(--charcoal-deep);
  cursor: pointer;
  font-weight: 700;
}
.profile-extra-photo summary:focus-visible { outline-offset: -4px; }
.profile-extra-photo img { width: 100%; height: auto; max-height: 460px; object-fit: contain; background: #080808; }
.profile-content-inner h2 { font-size: clamp(2.45rem, 7vw, 4rem); margin: 4px 0; }
.profile-subtitle { color: var(--muted); font-size: 1.13rem; }
.profile-description { margin-top: 14px; }
.pedigree { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.pedigree div { border: 1px solid var(--edge); background: #f3eade; padding: 10px 11px; overflow-wrap: anywhere; }
.pedigree dt { font-size: .875rem; color: var(--muted); }
.pedigree dd { font-weight: 700; }
.pedigree a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
.pedigree dd > span { display: flex; align-items: center; min-height: 44px; }
.related { margin-top: 18px; }
.related h3 { font-size: 1.45rem; }
.related-list { margin: 7px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.related-list a { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid #b4a08d; border-radius: 4px; padding: 4px 11px; color: var(--charcoal-deep); font-weight: 600; text-decoration: none; }
.related-list a:hover { background: var(--taupe); }
.profile-review { margin-top: 19px; padding: 10px 12px; border-left: 2px solid #9e7350; background: #efe3d7; color: #584c42; font-size: .9375rem; }
.profile-action { margin-top: 18px; }

@media (max-width: 820px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .875rem; }
  .herd-controls { align-items: stretch; }
  .filters button { padding-inline: 9px; }
  .pony-grid { gap: 15px; }
  .desktop-break { display: none; }
}
@media (max-width: 760px) {
  :root { --header: 68px; }
  .section { padding-block: 60px; }
  .header-inner { flex-wrap: wrap; gap: 0; }
  .brand img { width: 54px; height: 54px; }
  .footer-brand img { width: 72px; height: 72px; }
  .brand > span { font-size: 1.33rem; }
  .enhanced .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    border: 0;
    border-radius: 4px;
    padding: 0 4px 0 12px;
    background: transparent;
    color: var(--charcoal-deep);
    font-size: .9375rem;
    font-weight: 700;
  }
  .menu-icon { position: relative; width: 17px; height: 10px; border-block: 1.5px solid currentColor; }
  .menu-icon::after { position: absolute; content: ""; top: 3px; left: 0; width: 100%; height: 1px; background: currentColor; }
  .enhanced .site-nav:not(.is-open) { display: none; }
  .site-nav {
    width: 100%;
    display: grid;
    gap: 0;
    padding-block: 5px 10px;
    border-top: 1px solid #e2d6c8;
  }
  .site-nav a { padding-inline: 8px; font-size: .9375rem; }
  .site-nav .nav-contact { border: 0; padding-inline: 8px; }
  .hero { min-height: 0; }
  .hero-image { position: relative; aspect-ratio: 1.48; max-height: 440px; }
  .hero-image img { object-position: center 56%; }
  .hero-image::after { content: none; }
  .hero-copy { padding-block: 29px 39px; }
  .hero h1 { font-size: clamp(2.4rem, 11.4vw, 5.25rem); margin-block: 13px 15px; white-space: normal; }
  .hero h1 em { display: inline; }
  .hero-intro { margin-bottom: 22px; }
  .hero .actions { gap: 8px; }
  .hero .button { padding-inline: 12px; }
  .welcome-layout, .farm-life-layout, .program-layout, .youngstock-layout, .theo-layout { grid-template-columns: 1fr; gap: 25px; }
  .welcome-copy h2 { margin-bottom: 16px; }
  .welcome-portrait { justify-self: center; }
  .home-links { grid-template-columns: 1fr; gap: 9px; }
  .home-link { grid-template-columns: minmax(88px, .32fr) minmax(0, .68fr); align-items: center; }
  .home-link img { aspect-ratio: 1.25; }
  .farm-life-copy p { margin-top: 12px; }
  .program-copy h2, .youngstock-copy h2 { margin-bottom: 17px; }
  .youngstock-copy { grid-row: 1; }
  .section-heading { display: block; }
  .section-heading > p { padding: 0; margin-top: 12px; }
  .herd-controls { grid-template-columns: minmax(0, 1fr); margin-top: 22px; padding: 8px; }
  .filters { gap: 3px; }
  .pony-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 13px 12px 14px; }
  .card-name { font-size: .9375rem; margin-bottom: 10px; }
  .theo { padding-block: 57px; }
  .contact-main { align-items: start; flex-direction: column; gap: 16px; }
  .footer-bar { flex-wrap: wrap; min-height: 0; }
  .footer-bar p { flex-basis: 100%; order: 1; }
}
@media (max-width: 385px) {
  .filters button { padding-inline: 7px; }
  .card-body h3 { font-size: 1.45rem; }
}
@media (max-width: 350px) {
  .pony-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
