:root {
  --bg: #f7f4ec;
  --bg-soft: #efe8dc;
  --ink: #25251f;
  --muted: #666151;
  --line: #ded4c4;
  --green: #314d2d;
  --green-2: #6d8a4e;
  --brass: #a77732;
  --rust: #8f4e2c;
  --white: #fffdf8;
  --shadow: 0 24px 60px rgba(37, 37, 31, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 16px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(24, 28, 21, 0.82), rgba(24, 28, 21, 0));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 244, 236, 0.94);
  box-shadow: 0 12px 40px rgba(37, 37, 31, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 1px;
  font-size: 12px;
  color: currentColor;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 25, 16, 0.7), rgba(18, 25, 16, 0.2) 45%, rgba(18, 25, 16, 0.02)),
    linear-gradient(0deg, rgba(18, 25, 16, 0.72), rgba(18, 25, 16, 0.02) 48%);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 clamp(20px, 8vw, 104px) clamp(70px, 10vw, 126px);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  max-width: 720px;
  font-size: clamp(52px, 9vw, 112px);
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
}

h3 {
  font-size: 25px;
}

p {
  margin: 0;
}

.hero-panel p {
  max-width: 650px;
  margin-top: 22px;
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions,
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

.hero .button-primary {
  color: var(--green);
  background: var(--white);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.72);
  background: rgba(255, 253, 248, 0.08);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: -42px auto 0;
  position: relative;
  z-index: 5;
  background: var(--line);
  box-shadow: var(--shadow);
}

.intro-item {
  min-height: 202px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}

.intro-item span {
  color: var(--brass);
  font-weight: 800;
  font-size: 13px;
}

.intro-item strong {
  display: block;
  margin-top: 18px;
  font-size: 21px;
}

.intro-item p {
  margin-top: 10px;
  color: var(--muted);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(78px, 10vw, 132px) clamp(20px, 4vw, 30px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(38px, 7vw, 84px);
  align-items: center;
}

.section-label {
  margin-bottom: 18px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-copy > p:not(.section-label),
.section-heading > p,
.about-copy > p:not(.section-label),
.contact-copy > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
}

.feature-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.feature-list strong {
  color: var(--ink);
}

.media-frame {
  margin: 0;
}

.media-frame img,
.horse-layout > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.horse-section {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: #263120;
  color: var(--white);
}

.horse-section .section-heading,
.horse-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 30px);
  padding-right: clamp(20px, 4vw, 30px);
}

.section-heading {
  max-width: 820px;
}

.section-heading.narrow {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.horse-section .section-label {
  color: #cfa05e;
}

.horse-section .section-heading > p {
  color: rgba(255, 253, 248, 0.72);
}

.horse-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.7fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: stretch;
  margin-top: 46px;
}

.horse-notes {
  display: grid;
  align-content: center;
  gap: 18px;
}

.horse-notes div {
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
}

.horse-notes strong {
  display: block;
  font-size: 20px;
}

.horse-notes p {
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.72);
}

.availability-section {
  max-width: none;
  background: var(--bg-soft);
}

.availability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: var(--max);
  margin: 44px auto 0;
  padding: 0 clamp(20px, 4vw, 30px);
}

.availability-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.availability-card span {
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.availability-card h3 {
  margin-top: 16px;
}

.availability-card p {
  margin-top: 14px;
  color: var(--muted);
}

.availability-card a {
  display: inline-block;
  margin-top: 24px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.82fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.marketing-plan {
  padding: 32px;
  border-left: 4px solid var(--green);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(37, 37, 31, 0.08);
}

.marketing-plan ol {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.marketing-plan li + li {
  margin-top: 12px;
}

.contact-section {
  max-width: none;
  padding-left: max(clamp(20px, 4vw, 30px), calc((100vw - var(--max)) / 2 + 30px));
  padding-right: max(clamp(20px, 4vw, 30px), calc((100vw - var(--max)) / 2 + 30px));
  background: #fdfbf5;
}

.contact-details {
  margin-top: 28px;
}

.contact-details a,
.contact-details span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(37, 37, 31, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fffefa;
  font: 500 15px/1.3 Inter, system-ui, sans-serif;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 4vw, 56px);
  color: rgba(255, 253, 248, 0.82);
  background: #1f271b;
}

.site-footer p {
  margin-top: 4px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-panel {
    margin-bottom: 56px;
  }

  .intro-band,
  .split-section,
  .horse-layout,
  .availability-grid,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-band {
    margin-top: 0;
  }

  .availability-grid,
  .horse-section .section-heading,
  .horse-layout {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-heading.narrow {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(18, 25, 16, 0.76), rgba(18, 25, 16, 0.22)),
      linear-gradient(0deg, rgba(18, 25, 16, 0.78), rgba(18, 25, 16, 0.08) 52%);
  }

  .hero-actions,
  .contact-details {
    flex-direction: column;
  }

  .button,
  .contact-details a,
  .contact-details span {
    width: 100%;
  }

  .intro-item,
  .availability-card,
  .marketing-plan,
  .inquiry-form {
    padding: 24px;
  }
}
