:root {
  --forest: #294638;
  --forest-deep: #1e3429;
  --ivory: #f6f2e9;
  --card: #fbf9f4;
  --stone: #dcd6c9;
  --charcoal: #37332f;
  --saddle: #795e48;
  --gold: #aa915f;
  --border: #d9d1c4;
  --muted: #766f67;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --ease: cubic-bezier(.23,1,.32,1);
  --content: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .8rem 1rem; background: var(--ivory); color: var(--forest); }
.skip-link:focus { top: 1rem; }

.content-width, .section-grid { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.section { position: relative; }
.section-grid { display: grid; grid-template-columns: repeat(12, 1fr); }

h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, .footer-name { font-family: var(--serif); font-weight: 500; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3rem, 6.2vw, 5.8rem); line-height: .98; letter-spacing: -.03em; }
h2 { margin-bottom: 0; font-size: clamp(2.55rem, 4.4vw, 4rem); line-height: 1.08; letter-spacing: -.025em; }
h1 em, h2 em { font-weight: 400; }

.eyebrow { margin-bottom: 1.25rem; font-size: .72rem; font-weight: 500; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow-brown { color: var(--saddle); }
.eyebrow-gold { color: var(--gold); }
.rule { display: block; width: 100%; height: 1px; background: var(--gold); opacity: .75; }
.short-rule { width: 3rem; }
.body-copy { margin-top: 2rem; }
.body-copy p { margin-bottom: 1.35rem; color: rgba(55,51,47,.82); font-size: 1.04rem; line-height: 1.78; }
.caption { margin: .95rem 0 0; color: var(--muted); font-size: .68rem; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.caption-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.caption-row .rule { width: 3rem; flex: 0 0 auto; }
.image-frame { overflow: hidden; background: #d3cec3; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.image-frame:hover img { transform: scale(1.03); }
.portrait .image-frame { aspect-ratio: 3/4; }
.landscape .image-frame { aspect-ratio: 4/3; }
.brand-detail { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.brand-detail img { width: 2.7rem; height: 2.7rem; color: var(--forest); opacity: .8; }
.brand-detail .rule { width: 4rem; }
.text-link { position: relative; display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.75rem; color: var(--forest); font-size: .78rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.5rem; height: 1px; background: currentColor; opacity: .35; transition: opacity .35s ease; }
.text-link:hover::after, .text-link:focus-visible::after { opacity: 1; }
.text-link-light { color: var(--ivory); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .9rem 1.7rem; border: 1px solid transparent; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: background .35s ease, color .35s ease, border-color .35s ease; }
.button-light { border-color: rgba(246,242,233,.7); color: var(--ivory); }
.button-light:hover, .button-light:focus-visible { background: var(--ivory); color: var(--charcoal); }
.button-dark { margin-top: 1.6rem; background: var(--forest); color: var(--ivory); }
.button-dark:hover, .button-dark:focus-visible { background: var(--forest-deep); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--ivory); transition: background .5s ease, color .5s ease, box-shadow .5s ease; }
.site-header.scrolled, .site-header.menu-open { background: rgba(246,242,233,.94); color: var(--charcoal); box-shadow: 0 1px 0 var(--border); backdrop-filter: blur(12px); }
.header-inner { width: min(calc(100% - 40px), 1400px); min-height: 76px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .8rem; }
.wordmark img { width: 2.7rem; height: 2.7rem; color: currentColor; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark-main { font-family: var(--serif); font-size: 1.06rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.wordmark-sub { margin-top: .35rem; font-size: .52rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; opacity: .82; }
.desktop-nav { display: flex; align-items: center; gap: 1.65rem; }
.desktop-nav > a:not(.header-cta) { font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; opacity: .88; }
.desktop-nav > a:hover { opacity: 1; }
.header-cta { border: 1px solid currentColor; padding: .75rem 1.15rem; font-size: .68rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.site-header:not(.scrolled):not(.menu-open) .header-cta:hover { background: var(--ivory); color: var(--charcoal); }
.site-header.scrolled .header-cta:hover, .site-header.menu-open .header-cta:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; color: inherit; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { padding: .5rem 20px 1.8rem; background: rgba(246,242,233,.98); color: var(--charcoal); border-top: 1px solid var(--border); }
.mobile-nav a { display: block; padding: .9rem 0; border-bottom: 1px solid rgba(217,209,196,.72); font-family: var(--serif); font-size: 1.35rem; }
.mobile-nav .mobile-cta { display: inline-block; margin-top: 1.2rem; padding: .85rem 1.25rem; border: 1px solid var(--forest); font-family: var(--sans); color: var(--forest); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: var(--ivory); text-align: center; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,26,21,.58), rgba(17,26,21,.18) 45%, rgba(17,26,21,.7)); }
.hero-content { position: relative; z-index: 2; width: min(calc(100% - 40px), 920px); padding: 8rem 0 6rem; }
.hero-copy { max-width: 700px; margin: 0 auto; color: rgba(246,242,233,.84); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 2.2rem; }
.hero-actions .text-link { margin-top: 0; }
.hero-location { position: absolute; z-index: 2; left: max(20px, calc((100vw - 1400px)/2)); bottom: 2rem; display: flex; align-items: center; gap: 1rem; text-align: left; font-size: .63rem; line-height: 1.7; letter-spacing: .18em; text-transform: uppercase; }
.hero-location .rule { width: 2.5rem; }

.intro { padding: 8.5rem 0; }
.intro-grid { align-items: center; gap: 5rem 0; }
.intro .media-block { grid-column: 1 / span 5; }
.intro .copy-block { grid-column: 7 / span 6; }

.facility { padding-bottom: 8.5rem;  background: url('../images/horse-map.webp'); background-repeat: no-repeat; background-position: center bottom;background-size: contain;}
.facility-heading { padding-bottom: 4rem; }
.facility-heading h2 { max-width: 820px; }
.facility-image-frame { position: relative; height: min(74vh, 760px); min-height: 480px; overflow: hidden; }
.facility-image-frame img { width: 100%; height: calc(100% + 80px); object-fit: cover; object-position: center 54%; transform: translateY(-40px) scale(1.04); will-change: transform; }
.image-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25,32,28,.52), transparent 55%); }
.image-location { position: absolute; left: max(20px, calc((100vw - var(--content))/2)); bottom: 2.3rem; display: flex; align-items: center; gap: 1rem; color: var(--ivory); font-size: .65rem; line-height: 1.65; letter-spacing: .18em; text-transform: uppercase; }
.image-location .rule { width: 2.5rem; }
.facility-card { position: relative; z-index: 3; width: min(900px, 100%); margin: -7rem 0 0 auto; padding: 4rem; display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; background: var(--card); box-shadow: 0 24px 65px rgba(27,36,29,.16); }
.facility-card > div > p:last-child { margin: 1.5rem 0 0; color: rgba(55,51,47,.76); font-size: .98rem; line-height: 1.75; }
.facility-quote { margin-bottom: 1.5rem; font-family: var(--serif); font-size: 1.75rem; font-style: italic; line-height: 1.25; }
.facility-list { margin: 0; padding: 0; list-style: none; }
.facility-list li { display: grid; grid-template-columns: 2.5rem 1fr; align-items: baseline; gap: .7rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.facility-list li:last-child { border-bottom: 0; }
.facility-list span { color: var(--gold); font-family: var(--serif); font-size: .86rem; }
.facility-list p { margin: 0; color: rgba(55,51,47,.86); font-size: .95rem; line-height: 1.55; }

.training { padding-top: 8.5rem; background: var(--forest); color: var(--ivory); }
.training-heading { display: grid; grid-template-columns: 5fr 6fr; gap: 8.33%; }
.training-heading h2 { max-width: 560px; }
.training-intro { margin: .2rem 0 0; color: rgba(246,242,233,.8); font-size: 1.04rem; line-height: 1.78; }
.training-layout { display: grid; grid-template-columns: 5fr 6fr; gap: 8.33%; padding: 5.5rem 0 7rem; }
.training-images .image-frame:first-child { aspect-ratio: 4/3; }
.training-images .secondary-image { width: 75%; margin-top: 2rem; aspect-ratio: 3/4; }
.process-list { margin: 0; }
.process-list > div { padding: 1.45rem 0; border-bottom: 1px solid rgba(246,242,233,.15); }
.process-list > div:last-child { border-bottom: 0; }
.process-list dt { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.process-list dd { max-width: 550px; margin: .55rem 0 0; color: rgba(246,242,233,.7); font-size: .93rem; line-height: 1.7; }
.pull-quote { border-top: 1px solid rgba(246,242,233,.12); padding: 5.5rem 20px 6rem; text-align: center; }
.pull-quote img { width: 3.2rem; height: 3.2rem; margin: 0 auto 1.8rem; color: var(--ivory); opacity: .88; }
.pull-quote blockquote { max-width: 850px; margin: 0 auto; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; font-style: italic; line-height: 1.2; }

.sales { padding: 7rem 0 8.5rem; }
.seal-divider { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 5rem; }
.seal-divider img { width: 2.7rem; height: 2.7rem; color: var(--forest); opacity: .8; }
.sales-grid { align-items: center; }
.sales-copy { grid-column: 1 / span 5; padding-bottom: 3rem; }
.sales .media-block { grid-column: 7 / span 6; margin-top: 5rem; }

.about { padding: 8.5rem 0; background: #EAE5DA; }
.about-grid { gap: 5rem 0; }
.about .copy-block { grid-column: 1 / span 6; padding-top: 4rem; }
.about .media-block { grid-column: 8 / span 5; }
.coordinate-note { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.coordinate-note .rule { width: 2.5rem; }
.coordinate-note p { margin: 0; color: var(--muted); font-size: .67rem; letter-spacing: .15em; text-transform: uppercase; }

.site-footer { padding: 6rem 0 2rem; background: var(--forest-deep); color: var(--ivory); }
.footer-main { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 3rem; }
.footer-brand > img { width: 3.8rem; height: 3.8rem; margin-bottom: 1.4rem; color: var(--ivory); }
.footer-name { margin-bottom: 1.5rem; font-size: 2.6rem; line-height: 1.02; }
.footer-brand > p:last-child { max-width: 390px; margin-top: 1.5rem; color: rgba(246,242,233,.7); font-size: .94rem; line-height: 1.75; }
.site-footer address { color: rgba(246,242,233,.8); font-size: .94rem; font-style: normal; line-height: 2; }
.site-footer a { transition: color .3s ease; }
.site-footer a:hover { color: #fff; }
.site-footer address a:last-child { overflow-wrap: anywhere; }
.footer-nav { display: flex; flex-direction: column; gap: .85rem; color: rgba(246,242,233,.8); font-size: .94rem; }
.social-heading { margin-top: 2.5rem; }
.social-links { display: flex; gap: 1.5rem; color: rgba(246,242,233,.8); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.8rem; border-top: 1px solid rgba(246,242,233,.15); color: rgba(246,242,233,.5); font-size: .72rem; line-height: 1.6; }
.footer-bottom p { margin: 0; }
.footer-bottom p span { margin-left: .7rem; color: rgba(246,242,233,.32); }
.footer-bottom div { display: flex; gap: 2rem; white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.process-list .reveal:nth-child(2) { transition-delay: .06s; }
.process-list .reveal:nth-child(3) { transition-delay: .12s; }
.process-list .reveal:nth-child(4) { transition-delay: .18s; }
.process-list .reveal:nth-child(5) { transition-delay: .24s; }
.process-list .reveal:nth-child(6) { transition-delay: .3s; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .section-grid { grid-template-columns: repeat(6, 1fr); }
  .intro .media-block, .intro .copy-block, .sales-copy, .sales .media-block, .about .copy-block, .about .media-block { grid-column: 1 / -1; }
  .intro .copy-block { grid-row: 1; }
  .intro .media-block { grid-row: 2; max-width: 650px; }
  .facility-card { margin-top: -5rem; padding: 3rem; gap: 2.5rem; }
  .training-heading, .training-layout { grid-template-columns: 1fr; gap: 3rem; }
  .training-images { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 1.5rem; }
  .training-images .secondary-image { width: 100%; margin-top: 0; }
  .sales .media-block { margin-top: 1rem; }
  .sales-copy { padding-bottom: 0; }
  .about .copy-block { padding-top: 0; }
  .about .media-block { max-width: 650px; }
  .about-grid { gap: 0; }
}

@media (max-width: 760px) {
  .content-width, .section-grid, .header-inner { width: min(calc(100% - 32px), var(--content)); }
  h1 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  h2 { font-size: clamp(2.25rem, 10.5vw, 3.35rem); }
  .header-inner { min-height: 70px; }
  .wordmark img { width: 2.35rem; height: 2.35rem; }
  .wordmark-main { font-size: .92rem; }
  .wordmark-sub { font-size: .47rem; }
  .hero { min-height: 820px; }
  .hero-content { padding-top: 8.5rem; }
  .hero-actions { flex-direction: column; gap: 1.5rem; }
  .hero-location { left: 16px; bottom: 1.2rem; }
  .intro, .about { padding: 6rem 0; }
  .facility { padding-bottom: 6rem; }
  .facility-heading { padding-bottom: 3rem; }
  .facility-image-frame { height: 58vh; min-height: 430px; }
  .image-location { left: 16px; bottom: 1.5rem; }
  .facility-card { margin-top: -2.5rem; padding: 2rem 1.4rem; grid-template-columns: 1fr; }
  .training { padding-top: 6rem; }
  .training-layout { padding: 4rem 0 5rem; }
  .training-images { grid-template-columns: 1fr; }
  .training-images .secondary-image { display: none; }
  .pull-quote { padding: 4.5rem 20px; }
  .sales { padding: 5rem 0 6rem; }
  .seal-divider { margin-bottom: 4rem; }
  .footer-main { grid-template-columns: 1fr; gap: 3rem; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom p span { display: block; margin: .35rem 0 0; }
  .footer-bottom div { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .facility-image-frame img { transform: scale(1.04); }
}
