@font-face {
  font-family: "Literata";
  src: url("assets/fonts/literata-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("assets/fonts/literata-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("assets/fonts/literata-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-ink: #07100b;
  --color-ink-2: #0d1912;
  --color-green: #073a29;
  --color-green-2: #0b5138;
  --color-milk: #f2eadc;
  --color-paper: #f8f5ee;
  --color-card: #fffdf8;
  --color-line: rgba(18, 32, 23, 0.16);
  --color-line-strong: rgba(18, 32, 23, 0.28);
  --color-gold: #bca666;
  --color-olive: #697454;
  --color-muted: #697066;
  --container: 1280px;
  --radius: 3px;
  --font-serif: "Literata", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  --shadow-soft: 0 26px 70px rgba(7, 16, 11, 0.18);
  --shadow-card: 0 18px 48px rgba(27, 36, 26, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 11, 0.035), transparent 420px),
    var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern";
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

.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;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: 0 clamp(18px, 4vw, 64px);
  color: #fff;
  background: rgba(5, 11, 7, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 180ms ease, height 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(5, 12, 8, 0.96);
  border-color: rgba(188, 166, 102, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(156px, 15vw, 220px);
  height: 62px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 18px rgba(188, 166, 102, 0.28));
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.16vw, 21px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.8px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 29px 0;
  white-space: nowrap;
  transition: color 160ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 32px rgba(5, 21, 14, 0.16);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.header-cta,
.button-primary {
  color: #07100b;
  background: var(--color-gold);
  border-color: rgba(255, 255, 255, 0.14);
}

.button-secondary {
  color: var(--color-green);
  background: transparent;
  border-color: rgba(6, 47, 34, 0.28);
}

.header-cta {
  min-height: 44px;
  padding-inline: 24px;
  font-size: 13px;
  box-shadow: 0 16px 40px rgba(188, 166, 102, 0.28);
}

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

.button:active,
.header-cta:active {
  transform: translateY(1px);
}

.button-primary:hover,
.header-cta:hover {
  background: #d2bb77;
  box-shadow: 0 18px 44px rgba(188, 166, 102, 0.36);
}

.button-secondary:hover {
  color: #fff;
  background: var(--color-green);
  box-shadow: 0 14px 34px rgba(5, 21, 14, 0.16);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--color-ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% 15%;
  filter: saturate(0.92) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 10, 7, 0.9) 0%, rgba(5, 10, 7, 0.68) 30%, rgba(5, 10, 7, 0.16) 66%, rgba(5, 10, 7, 0.24) 100%),
    linear-gradient(0deg, rgba(3, 7, 5, 0.34), rgba(3, 7, 5, 0.04) 48%, rgba(3, 7, 5, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  padding-top: 72px;
  color: #fff;
}

.hero-accent {
  width: 64px;
  height: 1px;
  margin-bottom: 22px;
  background: var(--color-gold);
}

.hero h1 {
  max-width: 1040px;
  margin: 0 0 30px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.stats {
  background:
    linear-gradient(90deg, rgba(188, 166, 102, 0.08), transparent 34%, rgba(188, 166, 102, 0.05)),
    var(--color-green);
  color: var(--color-milk);
}

.stats-inner {
  width: min(calc(100% - 40px), var(--container));
  min-height: 126px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  display: grid;
  grid-template-columns: 42px auto;
  grid-template-rows: auto auto;
  column-gap: 17px;
  align-content: center;
  padding: 24px 28px;
  border-left: 1px solid rgba(242, 234, 220, 0.13);
}

.stat-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.line-icon {
  grid-row: 1 / span 2;
  align-self: center;
  width: 34px;
  height: 34px;
  filter: invert(72%) sepia(25%) saturate(612%) hue-rotate(6deg) brightness(91%) contrast(86%);
}

.stat-item strong {
  font-family: var(--font-serif);
  font-size: clamp(21px, 1.7vw, 27px);
  font-weight: 600;
  line-height: 1.08;
}

.stat-item span:last-child {
  color: rgba(242, 234, 220, 0.8);
  font-size: 13px;
  font-weight: 500;
}

.stat-item.is-discipline strong {
  grid-row: 1 / span 2;
  align-self: center;
  font-size: clamp(30px, 2.5vw, 40px);
}

.section {
  padding: clamp(78px, 8vw, 124px) 0;
}

.section h2,
.contact-section h2,
.groom-section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.1vw, 60px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

.section h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.section p,
.contact-info p,
.groom-content p {
  color: var(--color-muted);
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p {
  margin-top: 14px;
  max-width: 58ch;
}

.section-heading.horizontal {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}

.section-kicker {
  color: var(--color-gold) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-green);
  font-weight: 700;
  border-bottom: 1px solid rgba(6, 47, 34, 0.3);
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  color: #0f523b;
  border-color: #0f523b;
}

.trainer-section {
  background:
    linear-gradient(135deg, rgba(188, 166, 102, 0.08), transparent 32%),
    linear-gradient(180deg, var(--color-ink), #050a07);
  color: #fff;
}

.trainer-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(48px, 8vw, 116px);
}

.trainer-photo {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #111812;
  border: 1px solid rgba(242, 234, 220, 0.16);
  box-shadow: var(--shadow-soft);
}

.trainer-photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(188, 166, 102, 0.34);
  pointer-events: none;
}

.trainer-photo img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(0.88) contrast(1.04);
}

.trainer-copy {
  max-width: 600px;
}

.trainer-copy .role {
  margin: 8px 0 26px;
  color: rgba(242, 234, 220, 0.78);
  font-size: 18px;
  font-weight: 600;
}

.trainer-copy > p:not(.role):not(.section-kicker) {
  color: rgba(242, 234, 220, 0.76);
  margin-bottom: 28px;
}

.fact-list {
  display: grid;
  gap: 0;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(242, 234, 220, 0.14);
}

.fact-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 0 14px 30px;
  color: rgba(242, 234, 220, 0.84);
  border-bottom: 1px solid rgba(242, 234, 220, 0.12);
  font-weight: 500;
  line-height: 1.42;
}

.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 2px;
  transform: translateY(-50%);
  background: var(--color-gold);
}

.trainer-copy .text-link {
  color: var(--color-milk);
  border-color: rgba(246, 241, 232, 0.28);
}

.directions-section,
.sale-section {
  background:
    linear-gradient(180deg, rgba(188, 166, 102, 0.08), transparent 280px),
    var(--color-milk);
}

.direction-grid {
  counter-reset: direction;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(390px, 36vw, 520px);
  gap: 18px;
}

.direction-card {
  counter-increment: direction;
  position: relative;
  min-height: 318px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  padding: 30px;
  background: var(--color-ink);
  border: 1px solid rgba(7, 16, 11, 0.16);
  box-shadow: 0 18px 44px rgba(30, 33, 26, 0.12);
  isolation: isolate;
}

.direction-card.large {
  grid-row: auto;
}

.direction-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
  transition: transform 520ms ease, filter 520ms ease;
}

.direction-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(4, 8, 6, 0.82)),
    linear-gradient(90deg, rgba(7, 16, 11, 0.35), transparent 60%);
}

.direction-card::before {
  content: "0" counter(direction);
  position: absolute;
  left: 28px;
  top: 24px;
  z-index: 1;
  color: rgba(242, 234, 220, 0.74);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
}

.direction-card > span,
.direction-card > small,
.direction-card > b {
  position: relative;
  z-index: 1;
}

.direction-card > span {
  font-family: var(--font-serif);
  font-size: clamp(27px, 2.35vw, 40px);
  font-weight: 500;
  line-height: 1.06;
}

.direction-card > small {
  max-width: 31ch;
  margin-top: 12px;
  color: rgba(242, 234, 220, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.direction-card > b {
  position: absolute;
  top: 26px;
  right: 28px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  font-weight: 400;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.direction-card:hover img,
.direction-card:hover .direction-image-placeholder {
  transform: scale(1.04);
  filter: saturate(0.98) contrast(1.06);
}

.direction-image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  transition: transform 520ms ease, filter 520ms ease;
}

.direction-image-placeholder::after {
  border-color: rgba(255, 255, 255, 0.09);
}

.direction-card:hover b {
  color: var(--color-ink);
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.cases-section,
.lessons-section {
  background: var(--color-paper);
}

.cases-section {
  background:
    linear-gradient(135deg, rgba(188, 166, 102, 0.1), transparent 32%),
    var(--color-ink-2);
  color: #fff;
}

.cases-section .section-heading p,
.cases-section .case-card p {
  color: rgba(242, 234, 220, 0.72);
}

.cases-section .text-link {
  color: var(--color-milk);
  border-color: rgba(242, 234, 220, 0.32);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.case-card:first-child {
  background: transparent;
  border-color: transparent;
}

.case-image {
  position: relative;
  margin: 0 0 20px;
  aspect-ratio: 1.28;
  overflow: hidden;
  background: #101b14;
  border: 0;
  border-radius: var(--radius);
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card:nth-child(2) .case-image img {
  object-position: 50% 46%;
}

.case-card:nth-child(3) .case-image img {
  object-position: 50% 58%;
}

.case-card h3,
.horse-card h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
}

.case-card h3 {
  color: var(--color-milk);
}

.case-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.56;
}

.case-action {
  width: fit-content;
  margin-top: auto;
  padding-top: 20px;
  color: var(--color-milk);
  border-bottom: 1px solid rgba(242, 234, 220, 0.32);
  font-size: 13px;
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease;
}

.case-action:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.lessons-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.lessons-copy > p {
  margin: 18px 0 28px;
  max-width: 58ch;
}

.lesson-columns {
  display: grid;
  gap: 0;
  margin-bottom: 30px;
  border-top: 1px solid var(--color-line);
}

.lesson-columns article {
  padding: 18px 0 18px 24px;
  border-left: 2px solid var(--color-gold);
  border-bottom: 1px solid var(--color-line);
}

.lesson-columns h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
}

.lesson-columns p {
  margin-top: 6px;
  font-size: 14px;
}

.lessons-image {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
}

.lessons-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}

.horse-grid {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, 1fr);
  gap: 14px;
}

.horse-card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.horse-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-line-strong);
  box-shadow: 0 24px 62px rgba(27, 36, 26, 0.13);
}

.horse-card img {
  width: 100%;
  height: clamp(232px, 19vw, 286px);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}

.horse-card-placeholder {
  width: 100%;
  height: clamp(232px, 19vw, 286px);
  min-height: 0;
  margin: 0;
  border-radius: 0;
}

.horse-card-portrait img {
  object-position: 46% 38%;
}

.horse-card-head img {
  object-position: 50% 42%;
}

.horse-card-face img {
  object-position: 58% 46%;
}

.horse-card-action img {
  object-position: 50% 48%;
}

.horse-card div,
.horse-card span,
.horse-card strong {
  display: block;
  margin-inline: 18px;
}

.horse-card div {
  margin-top: 18px;
}

.horse-card p {
  margin-top: 4px;
  font-size: 13px;
}

.horse-card span {
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
}

.horse-card strong {
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: right;
  color: var(--color-green);
  font-size: 18px;
  font-weight: 800;
}

.groom-section {
  position: relative;
  min-height: 460px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background:
    linear-gradient(135deg, rgba(188, 166, 102, 0.12), transparent 34%),
    var(--color-ink);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(188, 166, 102, 0.22);
  border-bottom: 1px solid rgba(188, 166, 102, 0.14);
}

.groom-media {
  min-height: 460px;
}

.groom-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.9) contrast(1.02);
}

.groom-content {
  align-self: center;
  max-width: 650px;
  padding: clamp(50px, 7vw, 92px) clamp(28px, 7vw, 92px);
  border-left: 1px solid rgba(242, 234, 220, 0.12);
}

.groom-content p {
  max-width: 54ch;
  margin-top: 18px;
  color: rgba(242, 234, 220, 0.74);
}

.groom-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin: 32px 0;
}

.groom-list span {
  position: relative;
  padding-left: 24px;
  color: rgba(242, 234, 220, 0.86);
  font-size: 14px;
  font-weight: 600;
}

.groom-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  transform: rotate(-45deg);
}

.contact-section {
  position: relative;
  overflow: hidden;
  background: #050907;
  color: #fff;
  padding: clamp(78px, 8vw, 120px) 0 58px;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 7, 0.98), rgba(5, 9, 7, 0.88) 48%, rgba(5, 9, 7, 0.36) 74%, rgba(5, 9, 7, 0.08)),
    linear-gradient(180deg, rgba(188, 166, 102, 0.08), transparent 44%);
  z-index: 1;
}

.contact-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: min(50vw, 720px);
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  opacity: 0.95;
  filter: saturate(0.96) contrast(1.02);
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
}

.contact-info p {
  max-width: 38ch;
  margin-top: 14px;
  color: rgba(242, 234, 220, 0.72);
}

.contact-info address {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  font-style: normal;
  color: rgba(242, 234, 220, 0.84);
  font-weight: 500;
}

.contact-info address a:hover {
  color: var(--color-gold);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.socials a {
  min-width: 42px;
  height: 42px;
  padding-inline: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 234, 220, 0.25);
  border-radius: var(--radius);
  color: rgba(242, 234, 220, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.socials a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.contact-form {
  display: grid;
  gap: 16px;
  width: min(100%, 550px);
  justify-self: start;
  padding: clamp(18px, 2.2vw, 28px);
  background: rgba(242, 234, 220, 0.045);
  border: 1px solid rgba(242, 234, 220, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(242, 234, 220, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(242, 234, 220, 0.2);
  border-radius: var(--radius);
}

.contact-form textarea {
  min-height: 126px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(242, 234, 220, 0.46);
}

.contact-form select {
  color-scheme: dark;
}

.contact-form select option {
  color: #f2eadc;
  background: #10251d;
}

.contact-form select option:checked {
  color: #ffffff;
  background: #315443;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(188, 166, 102, 0.12);
}

.consent {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 12px !important;
}

.consent input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--color-gold);
}

.consent a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-form button {
  justify-self: end;
  min-width: 170px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 20px;
  color: var(--color-gold);
  font-size: 14px;
}

.form-status.is-success {
  color: #b7dda9;
}

.form-status.is-error {
  color: #ffb6ad;
}

.site-footer {
  background: #050907;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}

.footer-inner p {
  margin-right: auto;
}

.footer-inner a:hover {
  color: #fff;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    justify-self: end;
    grid-column: 3;
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-content: center;
    gap: 5px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
  }

  .menu-toggle span:not(.sr-only) {
    width: 18px;
    height: 1px;
    background: currentColor;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto;
    max-height: calc(100dvh - 72px);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 12px 20px 26px;
    background: rgba(5, 12, 8, 0.99);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(calc(-100% - 90px));
    transition: transform 220ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 15px 0;
    font-size: 18.4px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .stats-inner,
  .case-grid,
  .horse-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .direction-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .direction-card.large {
    grid-row: span 1;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    height: 66px;
    padding-inline: 14px;
    gap: 12px;
  }

  .site-header.is-scrolled {
    height: 64px;
  }

  .brand {
    width: clamp(200px, 34vw, 248px);
    min-width: 0;
    height: 50px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    top: 66px;
    max-height: calc(100dvh - 66px);
  }

  .hero {
    min-height: 88dvh;
    align-items: end;
  }

  .hero-image {
    object-position: 58% 22%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 8, 6, 0.82), rgba(5, 8, 6, 0.4)),
      linear-gradient(0deg, rgba(3, 7, 5, 0.78), rgba(3, 7, 5, 0.08));
  }

  .hero-content {
    width: min(calc(100% - 28px), var(--container));
    padding: 116px 0 54px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(31px, 8.8vw, 42px);
    line-height: 1.06;
  }

  .stats-inner,
  .trainer-grid,
  .lessons-grid,
  .contact-grid,
  .groom-section,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    width: 100%;
  }

  .stat-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 24px;
  }

  .stat-item:last-child {
    border-right: 0;
  }

  .trainer-photo,
  .trainer-photo img,
  .lessons-image,
  .lessons-image img,
  .groom-media {
    min-height: 380px;
  }

  .trainer-photo img {
    object-position: center 20%;
  }

  .section-heading.horizontal {
    display: grid;
  }

  .direction-grid,
  .case-grid,
  .horse-grid {
    grid-template-columns: 1fr;
  }

  .direction-grid {
    grid-auto-rows: minmax(320px, auto);
  }

  .direction-card {
    min-height: 320px;
    padding: 24px;
  }

  .case-card,
  .horse-card {
    box-shadow: 0 14px 34px rgba(27, 36, 26, 0.08);
  }

  .groom-content {
    padding-inline: 20px;
  }

  .groom-list {
    grid-template-columns: 1fr;
  }

  .contact-bg {
    top: 240px;
    width: min(86vw, 640px);
    height: clamp(420px, 60vw, 520px);
    object-position: 72% 48%;
    opacity: 0.94;
  }

  .contact-info {
    padding-bottom: clamp(220px, 32vw, 300px);
  }

  .contact-section::before {
    background:
      linear-gradient(180deg, rgba(5, 9, 7, 0.98) 0%, rgba(5, 9, 7, 0.82) 22%, rgba(5, 9, 7, 0.22) 44%, rgba(5, 9, 7, 0.16) 57%, rgba(5, 9, 7, 0.92) 76%, rgba(5, 9, 7, 0.98) 100%),
      linear-gradient(90deg, rgba(5, 9, 7, 0.9), rgba(5, 9, 7, 0.12) 74%);
  }

  .contact-form button {
    justify-self: stretch;
  }

  .footer-inner {
    min-height: auto;
    padding: 22px 0;
    display: grid;
    gap: 10px;
  }

  .footer-inner p {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .hero h1 {
    font-size: clamp(31px, 10vw, 38px);
  }

  .section {
    padding: 64px 0;
  }

  .horse-card strong {
    text-align: left;
  }

  .horse-card img {
    height: 260px;
  }

  .brand {
    width: clamp(196px, 68vw, 276px);
    min-width: 0;
    height: 48px;
  }

  .contact-form {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.motion-ready .hero-content > *,
.motion-ready .page-hero-content > * {
  animation: hero-content-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-ready .hero-content > *:nth-child(2),
.motion-ready .page-hero-content > *:nth-child(2) {
  animation-delay: 70ms;
}

.motion-ready .hero-content > *:nth-child(3),
.motion-ready .page-hero-content > *:nth-child(3) {
  animation-delay: 140ms;
}

.motion-ready .hero-content > *:nth-child(4),
.motion-ready .page-hero-content > *:nth-child(4) {
  animation-delay: 210ms;
}

.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.motion-ready .reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .hero-content > *,
  .motion-ready .page-hero-content > *,
  .motion-ready .reveal-item {
    opacity: 1;
    animation: none;
    transform: none;
    transition: none;
  }
}

/* Inner pages */

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.inner-page {
  background:
    linear-gradient(180deg, rgba(7, 16, 11, 0.035), transparent 420px),
    var(--color-paper);
}

.page-hero {
  position: relative;
  min-height: clamp(520px, 72dvh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--color-ink);
}

.page-hero-image,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-image {
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.page-about .page-hero-image {
  object-position: center 20%;
}

.page-work .page-hero-image {
  object-position: center 38%;
}

.page-lessons .page-hero-image {
  object-position: center top;
}

.page-trainer .page-hero-image {
  object-position: center top;
}

.page-sale .page-hero-image {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.page-sale .page-hero {
  background: var(--color-ink);
}

.page-sale .page-hero::before {
  display: none;
}

.page-groom-course .page-hero-image {
  object-position: center;
}

.page-contacts .page-hero-image {
  z-index: 0;
  object-fit: cover;
  object-position: 76% center;
  transform: none;
  filter: saturate(0.9) contrast(1.03);
}

.page-contacts .page-hero {
  background:
    radial-gradient(ellipse at 74% 50%, rgba(24, 30, 26, 0.72) 0%, rgba(8, 11, 9, 0.9) 42%, #050605 78%),
    #050605;
}

.page-contacts .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #050605 0%, rgba(5, 6, 5, 0.93) 26%, rgba(5, 6, 5, 0.34) 54%, rgba(5, 6, 5, 0.04) 78%),
    linear-gradient(180deg, rgba(5, 6, 5, 0.62) 0%, transparent 22%, transparent 72%, #050605 100%);
}

.page-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 10, 7, 0.88) 0%, rgba(4, 10, 7, 0.58) 42%, rgba(4, 10, 7, 0.18) 78%),
    linear-gradient(0deg, rgba(3, 8, 5, 0.82) 0%, rgba(3, 8, 5, 0.04) 62%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 132px;
  padding-bottom: clamp(58px, 7vw, 94px);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a {
  transition: color 160ms ease;
}

.breadcrumbs a:hover {
  color: var(--color-gold);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.1vw, 86px);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

.page-lead {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.58;
}

.page-hero-cta {
  margin-top: 30px;
}

.section-nav {
  position: sticky;
  top: 66px;
  z-index: 20;
  background: rgba(248, 245, 238, 0.94);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 10px 32px rgba(7, 16, 11, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.section-nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  min-height: 64px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.section-nav-inner::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: color 160ms ease;
}

.section-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.section-nav a:hover,
.section-nav a.is-active {
  color: var(--color-green);
}

.section-nav a:hover::after,
.section-nav a.is-active::after {
  transform: scaleX(1);
}

.inner-content {
  overflow: clip;
}

.inner-section {
  padding: clamp(78px, 8vw, 126px) 0;
  scroll-margin-top: 136px;
}

.section-soft {
  background:
    linear-gradient(120deg, rgba(7, 58, 41, 0.035), transparent 46%),
    rgba(242, 234, 220, 0.46);
  border-top: 1px solid rgba(18, 32, 23, 0.08);
  border-bottom: 1px solid rgba(18, 32, 23, 0.08);
}

.narrow-copy {
  max-width: 980px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--color-green-2) !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.inner-section h2,
.page-action h2,
.inline-action h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

.section-intro {
  max-width: 820px;
  margin: 28px 0 0;
  color: #354038;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.62;
}

.inner-heading {
  max-width: 780px;
  margin-bottom: clamp(38px, 5vw, 68px);
}

.inner-heading p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 17px;
}

.inner-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(42px, 7vw, 104px);
}

.inner-split-reverse .inner-copy {
  order: 2;
}

.inner-split-reverse .inner-media {
  order: 1;
}

.inner-copy > p:not(.section-kicker) {
  max-width: 620px;
  margin: 24px 0 0;
  color: #3d473f;
  font-size: 17px;
  line-height: 1.72;
}

.inner-copy .text-link,
.inner-copy .button {
  margin-top: 30px;
}

.inner-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-ink);
  box-shadow: var(--shadow-card);
}

.inner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: inherit;
  pointer-events: none;
}

.inner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-media {
  aspect-ratio: 4 / 5;
}

.landscape-media {
  aspect-ratio: 4 / 3;
}

.dark-media img {
  object-position: center 38%;
}

.principles-list {
  margin-top: clamp(42px, 6vw, 72px);
  border-top: 1px solid var(--color-line-strong);
}

.principles-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  padding: 30px 0;
  border-bottom: 1px solid var(--color-line);
}

.principles-list h3,
.process-list h3,
.task-bands h3,
.format-item h3,
.inner-case h3,
.sale-page-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.25;
}

.principles-list p,
.process-list p,
.task-bands p,
.format-item p {
  margin: 0;
  color: var(--color-muted);
}

.direction-links,
.format-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.direction-link,
.format-item {
  grid-column: span 5;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 3vw, 40px);
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.direction-link-wide,
.format-item-wide {
  grid-column: span 7;
}

.direction-link:nth-child(4),
.format-item:nth-child(4) {
  grid-column: span 7;
}

.direction-link span {
  font-family: var(--font-serif);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.15;
}

.direction-link small {
  max-width: 480px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}

.direction-link::after {
  content: "→";
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: var(--color-green);
  font-size: 20px;
  transition: color 180ms ease, transform 180ms ease;
}

.direction-link {
  position: relative;
  padding-right: 58px;
}

.direction-link:hover {
  color: #fff;
  background: var(--color-green);
  border-color: var(--color-green);
  transform: translateY(-2px);
}

.direction-link:hover small {
  color: rgba(255, 255, 255, 0.72);
}

.direction-link:hover::after {
  color: var(--color-gold);
  transform: translateX(3px);
}

.editorial-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  align-items: end;
  gap: clamp(42px, 9vw, 140px);
}

.editorial-feature-copy p {
  margin: 0;
  color: #3d473f;
  font-size: 18px;
  line-height: 1.7;
}

.editorial-feature-copy .text-link {
  margin-top: 28px;
}

.editorial-feature-with-media {
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 0.85fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
}

.editorial-feature-media {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.editorial-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.compact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.compact-points span {
  padding: 9px 13px;
  color: var(--color-green);
  background: rgba(7, 58, 41, 0.06);
  border: 1px solid rgba(7, 58, 41, 0.16);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.format-item {
  min-height: 210px;
}

.format-item h3 {
  font-size: clamp(25px, 2.8vw, 36px);
}

.format-item p {
  max-width: 470px;
}

.process-list {
  border-top: 1px solid var(--color-line-strong);
}

.process-list article {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 80px);
  padding: 29px 0;
  border-bottom: 1px solid var(--color-line);
}

.compact-process {
  margin-top: 48px;
}

.inline-action {
  margin-top: clamp(54px, 7vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px clamp(26px, 4vw, 54px);
  color: #fff;
  background: var(--color-green);
  border-radius: var(--radius);
}

.inline-action h2 {
  font-size: clamp(28px, 3.5vw, 44px);
}

.task-bands {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
}

.task-bands article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
  background: var(--color-green);
  border-radius: var(--radius);
}

.task-bands article:nth-child(2),
.task-bands article:nth-child(3) {
  color: var(--color-ink);
  background: var(--color-card);
  border: 1px solid var(--color-line);
}

.task-bands article:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 150px;
}

.task-bands article:first-child p {
  color: rgba(255, 255, 255, 0.74);
}

.inner-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.inner-case {
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.inner-case-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
}

.inner-case img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.inner-case-wide img {
  height: 100%;
  min-height: 420px;
}

.inner-case > div {
  padding: clamp(26px, 3vw, 40px);
}

.inner-case p {
  margin: 14px 0 0;
  color: var(--color-muted);
}

.inner-case p + p {
  margin-top: 7px;
}

.page-action {
  padding: clamp(68px, 8vw, 104px) 0;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(188, 166, 102, 0.1), transparent 42%),
    var(--color-green);
  scroll-margin-top: 136px;
}

.page-action-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-action p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 700;
}

.page-action h2 {
  max-width: 760px;
  font-size: clamp(32px, 4.2vw, 58px);
}

.trainer-facts {
  margin-top: 0;
}

.sale-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sale-page-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.sale-page-card > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.sale-page-card:nth-child(3) > img {
  object-position: left center;
}

.sale-page-card > div {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
}

.sale-page-card > div > p {
  margin: 7px 0 0;
  color: var(--color-muted);
}

.sale-page-card dl {
  margin: auto 0 0;
}

.sale-page-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-line);
}

.sale-page-card dt {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.sale-page-card dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.course-map {
  margin-top: clamp(44px, 6vw, 72px);
  border-top: 1px solid var(--color-line-strong);
}

.course-map a {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-line);
  transition: color 160ms ease, padding-left 160ms ease;
}

.course-map a:hover {
  padding-left: 10px;
  color: var(--color-green-2);
}

.course-map span {
  font-family: var(--font-serif);
  font-size: 24px;
}

.course-map small {
  color: var(--color-muted);
  font-size: 14px;
}

/* Content-rich inner pages */

.compact-heading {
  margin-bottom: 38px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading-row .inner-heading {
  margin-bottom: clamp(38px, 5vw, 58px);
}

.media-placeholder {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 28px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(188, 166, 102, 0.16), transparent 48%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.025) 18px 19px),
    var(--color-green);
}

.media-placeholder::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.media-placeholder p,
.media-placeholder small {
  position: relative;
  z-index: 1;
  margin: 0;
}

.media-placeholder p {
  font-family: var(--font-serif);
  font-size: 22px;
}

.media-placeholder small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.placeholder-mark {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: var(--color-gold);
  border: 1px solid rgba(188, 166, 102, 0.55);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 25px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(38px, 5vw, 58px);
}

.carousel-controls button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--color-green);
  background: transparent;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  color: #fff;
  background: var(--color-green);
  border-color: var(--color-green);
  transform: translateY(-2px);
  outline: none;
}

.carousel-controls button:active {
  transform: translateY(0) scale(0.96);
}

.carousel-counter {
  min-width: 62px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  color: var(--color-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.carousel-counter strong {
  color: var(--color-green);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}

.content-carousel {
  --carousel-duration: 620ms;
  --carousel-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  width: 100%;
  max-width: 1260px;
  margin-inline: auto;
  padding-inline: 70px;
  overflow: visible;
  outline: none;
  touch-action: pan-y;
  perspective: 1200px;
}

.content-carousel:focus-visible {
  box-shadow: 0 0 0 3px rgba(188, 166, 102, 0.32);
}

.content-carousel-track {
  display: grid;
  grid-template-areas: "slide";
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-side-control {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--color-green);
  background: rgba(250, 247, 240, 0.92);
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  box-shadow: 0 12px 34px rgba(27, 36, 26, 0.11);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.carousel-side-prev {
  left: 0;
}

.carousel-side-next {
  right: 0;
}

.carousel-side-control:hover,
.carousel-side-control:focus-visible {
  color: #fff;
  background: var(--color-green);
  border-color: var(--color-green);
  outline: none;
  transform: translateY(-50%) scale(1.06);
}

.carousel-side-control:active {
  transform: translateY(-50%) scale(0.96);
}

.horse-profile-card {
  grid-area: slide;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  min-height: 480px;
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transform-origin: center;
  will-change: transform, opacity;
}

.horse-profile-card[data-carousel-state="idle"] {
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
}

.horse-profile-card[data-carousel-state="active"] {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  transform: translateX(0) scale(1);
  transition:
    opacity var(--carousel-duration) var(--carousel-ease),
    transform var(--carousel-duration) var(--carousel-ease),
    visibility 0s linear 0s;
}

.horse-profile-card[data-carousel-state="enter-next"],
.horse-profile-card[data-carousel-state="enter-prev"],
.horse-profile-card[data-carousel-state="exit-next"],
.horse-profile-card[data-carousel-state="exit-prev"] {
  visibility: visible;
  pointer-events: none;
}

.horse-profile-card[data-carousel-state="enter-next"] {
  z-index: 3;
  opacity: 0;
  transform: translateX(10%) scale(0.965) rotateY(-1.5deg);
}

.horse-profile-card[data-carousel-state="enter-prev"] {
  z-index: 3;
  opacity: 0;
  transform: translateX(-10%) scale(0.965) rotateY(1.5deg);
}

.horse-profile-card[data-carousel-state="exit-next"] {
  z-index: 1;
  opacity: 0;
  transform: translateX(-7%) scale(0.98) rotateY(1deg);
  transition: opacity 440ms ease, transform var(--carousel-duration) var(--carousel-ease);
}

.horse-profile-card[data-carousel-state="exit-prev"] {
  z-index: 1;
  opacity: 0;
  transform: translateX(7%) scale(0.98) rotateY(-1deg);
  transition: opacity 440ms ease, transform var(--carousel-duration) var(--carousel-ease);
}

.horse-profile-card .media-placeholder,
.horse-profile-card .horse-profile-copy {
  transition: transform 760ms var(--carousel-ease), opacity 500ms ease;
}

.horse-profile-card[data-carousel-state="enter-next"] .media-placeholder,
.horse-profile-card[data-carousel-state="enter-prev"] .media-placeholder {
  transform: scale(1.035);
}

.horse-profile-card[data-carousel-state="enter-next"] .horse-profile-copy,
.horse-profile-card[data-carousel-state="enter-prev"] .horse-profile-copy {
  opacity: 0;
  transform: translateY(16px);
}

.horse-profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
}

.profile-meta {
  margin: 0 0 12px !important;
  color: var(--color-green-2) !important;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.horse-profile-card h3,
.trainer-profile-card h3,
.work-story h3,
.sale-profile h3,
.condition-grid h3,
.program-grid h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.12;
}

.horse-profile-copy > p:not(.profile-meta) {
  margin: 20px 0 0;
  color: var(--color-muted);
}

.profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.profile-facts li {
  padding: 8px 11px;
  color: var(--color-green);
  background: rgba(7, 58, 41, 0.06);
  border: 1px solid rgba(7, 58, 41, 0.14);
  font-size: 12px;
  font-weight: 700;
}

.trainer-roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trainer-profile-card {
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(27, 36, 26, 0.055);
}

.trainer-profile-card > img,
.trainer-placeholder {
  width: 100%;
  height: 320px;
  min-height: 320px;
  object-fit: cover;
}

.trainer-profile-card > img {
  object-position: center 18%;
}

.page-trainer #team .trainer-profile-card,
.page-lessons #trainers .trainer-profile-card {
  display: flex;
  flex-direction: column;
}

.page-lessons #trainers .trainer-profile-card > img {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), filter 620ms ease;
  will-change: transform;
}

.page-lessons #trainers .trainer-profile-card:hover > img {
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1.035);
}

.page-trainer #team {
  padding-block: clamp(66px, 6vw, 88px);
}

.page-trainer #team .inner-heading {
  margin-bottom: clamp(30px, 3.5vw, 42px);
}

.page-trainer #team .trainer-profile-card > img {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  object-position: center 34%;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), filter 620ms ease;
}

.page-trainer #team .trainer-profile-card:hover > img {
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1.035);
}

.page-trainer #team .trainer-profile-card > div:last-child {
  padding: 22px 24px 24px;
}

.page-trainer #team .trainer-profile-card h3 {
  font-size: clamp(20px, 1.75vw, 26px);
}

.page-trainer #team .trainer-profile-card > div:last-child > p:not(.profile-meta) {
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.52;
}

.page-trainer #team .achievement-note {
  margin-top: 16px;
  padding: 13px 15px;
}

.page-trainer #team .trainer-profile-card > div:last-child,
.page-lessons #trainers .trainer-profile-card > div:last-child {
  flex: 1;
}

.trainer-profile-card > div:last-child {
  padding: clamp(24px, 2.6vw, 34px);
}

.trainer-profile-card h3 {
  font-size: clamp(22px, 2vw, 30px);
}

.trainer-profile-card > div:last-child > p:not(.profile-meta) {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.65;
}

.trainer-roster-compact .trainer-profile-card > div:last-child > p:not(.profile-meta) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.roster-link {
  margin-top: 28px;
}

.feature-placeholder {
  min-height: 460px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.feature-image {
  width: 100%;
  height: 460px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.membership-image {
  object-position: center 68%;
}

.feature-image.rent-image {
  height: 620px;
  object-position: center top;
}

.offer-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(42px, 7vw, 104px);
}

.dynamic-placeholder {
  background:
    linear-gradient(120deg, rgba(188, 166, 102, 0.18), transparent 46%),
    repeating-linear-gradient(160deg, transparent 0 24px, rgba(255, 255, 255, 0.025) 24px 25px),
    var(--color-ink-2);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(42px, 6vw, 72px);
}

.price-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  background: var(--color-card);
  border: 1px solid var(--color-line);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.price-card:hover {
  color: #fff;
  background: var(--color-green);
  border-color: var(--color-green);
  box-shadow: 0 22px 54px rgba(7, 58, 41, 0.18);
  transform: translateY(-4px);
}

.price-card p {
  margin: 0;
  font-weight: 800;
}

.price-card strong {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 500;
}

.price-card span,
.price-card small {
  color: var(--color-muted);
}

.price-card:hover span,
.price-card:hover small {
  color: rgba(255, 255, 255, 0.68);
}

.price-card small {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
}

.price-card:hover small {
  border-color: rgba(255, 255, 255, 0.18);
}

.single-price {
  max-width: 420px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid var(--color-line-strong);
  border-bottom: 1px solid var(--color-line-strong);
}

.single-price span {
  color: var(--color-muted);
}

.single-price strong {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  white-space: nowrap;
}

.work-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px);
}

.work-story {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-card);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.work-story-featured {
  grid-column: auto;
}

.story-placeholder {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 0;
}

.work-story-featured .story-placeholder {
  min-height: 0;
}

.work-story-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(26px, 3vw, 42px);
}

.work-story-copy > p:not(.profile-meta) {
  margin: 18px 0 0;
  color: var(--color-muted);
}

.result-line {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid var(--color-line);
}

.result-line span {
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-line strong {
  color: var(--color-green);
}

.achievement-note,
.content-awaiting {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 17px 18px;
  background: rgba(7, 58, 41, 0.055);
  border-left: 2px solid var(--color-gold);
}

.achievement-note span,
.content-awaiting strong {
  color: var(--color-green-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.achievement-note strong,
.content-awaiting span {
  font-size: 13px;
}

.achievement-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(50px, 8vw, 116px);
}

.achievement-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.achievement-gallery .media-placeholder {
  min-height: 220px;
}

.achievement-gallery .media-placeholder:first-child {
  grid-column: 1 / -1;
  min-height: 330px;
}

.condition-grid,
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.condition-grid article,
.program-grid article {
  min-height: 230px;
  padding: clamp(26px, 3vw, 38px);
  background: var(--color-card);
  border: 1px solid var(--color-line);
}

.condition-grid article > span,
.program-grid article > span {
  display: block;
  margin-bottom: 40px;
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 800;
}

.condition-grid h3,
.program-grid h3 {
  font-size: 25px;
}

.condition-grid p,
.program-grid p {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.sale-overview {
  padding: clamp(64px, 7vw, 94px) 0;
  scroll-margin-top: 136px;
  background: var(--color-paper);
}

.sale-overview-inner {
  max-width: 920px;
}

.sale-overview h2 {
  max-width: 850px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.08;
}

.sale-overview-inner > p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: 17px;
}

.sale-profile-list {
  display: grid;
  gap: 28px;
}

.sale-profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 540px;
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid var(--color-line);
}

.sale-profile > img,
.sale-profile > .sale-profile-placeholder {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.sale-profile:first-child > img {
  object-position: center 74%;
}

.sale-profile:nth-child(3) > img {
  object-position: left center;
}

.sale-profile > div:not(.sale-profile-placeholder) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(34px, 5vw, 64px);
}

.sale-profile-reverse > img,
.sale-profile-reverse > .sale-profile-placeholder {
  order: 2;
}

.sale-profile-reverse > div:not(.sale-profile-placeholder) {
  order: 1;
}

.sale-profile-placeholder {
  border-radius: 0;
}

.sale-profile h3 {
  font-size: clamp(36px, 4vw, 54px);
}

.sale-profile > div > p:not(.profile-meta) {
  margin: 20px 0 0;
  color: var(--color-muted);
}

.sale-profile dl {
  margin: 28px 0 0;
}

.sale-profile dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
}

.sale-profile dt {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.sale-profile dd {
  margin: 0;
  font-weight: 800;
}

.sale-profile .text-link {
  margin-top: auto;
  padding-top: 28px;
}

.course-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.course-photo-stack {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 14px;
}

.course-photo-stack figure {
  height: 520px;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.course-photo-stack figure:last-child {
  height: 340px;
  margin-bottom: -42px;
}

.course-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-photo-single {
  display: block;
  max-width: 520px;
  justify-self: center;
}

.course-photo-single figure,
.course-photo-single figure:last-child {
  height: 640px;
  margin: 0;
}

.course-photo-single img {
  object-position: center 48%;
}

.program-grid article:nth-child(odd) {
  color: #fff;
  background: var(--color-green);
  border-color: var(--color-green);
}

.program-grid article:nth-child(odd) p {
  color: rgba(255, 255, 255, 0.68);
}

.terms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: clamp(48px, 9vw, 140px);
}

.course-price-card {
  padding: clamp(34px, 4vw, 52px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(188, 166, 102, 0.17), transparent 54%),
    var(--color-green);
  box-shadow: var(--shadow-soft);
}

.course-price-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 800;
}

.course-price-card > strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(43px, 5vw, 66px);
  font-weight: 500;
}

.course-price-card dl {
  margin: 30px 0;
}

.course-price-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.course-price-card dt {
  color: rgba(255, 255, 255, 0.62);
}

.course-price-card dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.employment-section {
  padding: clamp(78px, 8vw, 120px) 0;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(188, 166, 102, 0.14), transparent 48%),
    var(--color-ink-2);
  scroll-margin-top: 136px;
}

.employment-inner {
  max-width: var(--container);
  text-align: left;
}

.employment-section h2 {
  max-width: 900px;
  text-align: left;
}

.employment-section h2,
.question-copy h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.08;
}

.employment-section p:not(.section-kicker) {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

.light-link {
  margin-top: 30px;
  color: #fff;
}

.question-section {
  padding: clamp(72px, 8vw, 112px) 0;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(188, 166, 102, 0.09), transparent 42%),
    var(--color-green);
  scroll-margin-top: 136px;
}

.question-section-paper {
  background:
    linear-gradient(120deg, rgba(188, 166, 102, 0.09), transparent 42%),
    var(--color-green);
}

.question-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}

.question-copy {
  padding-top: 14px;
}

.question-copy .section-kicker {
  color: var(--color-gold) !important;
}

.question-copy p:not(.section-kicker) {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

.inner-question-form {
  width: 100%;
  justify-self: stretch;
  background: rgba(4, 12, 8, 0.34);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: clamp(32px, 5vw, 72px);
}

.contact-details-column {
  display: grid;
  align-content: start;
  gap: clamp(28px, 3vw, 42px);
}

.contact-details-copy {
  margin-bottom: 0;
}

.contact-details-copy h2 {
  font-size: clamp(38px, 4.5vw, 58px);
}

.contact-details-card {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 28px 28px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(188, 166, 102, 0.13), transparent 44%),
    var(--color-green);
  border: 1px solid rgba(188, 166, 102, 0.3);
  box-shadow: var(--shadow-soft);
  font-style: normal;
}

.contact-info-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-info-icon {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-info-copy > span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-info-copy strong,
.contact-info-copy > a {
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 500;
  line-height: 1.25;
}

.contact-info-copy > a {
  transition: color 180ms ease;
}

.contact-info-copy > a:hover {
  color: var(--color-gold);
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 8px;
  padding-top: 22px;
}

.contact-socials a {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 25px minmax(0, auto);
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-socials a:hover {
  color: var(--color-green);
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.contact-socials svg {
  width: 25px;
  height: 25px;
  justify-self: center;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-socials img {
  width: 25px;
  height: 25px;
  justify-self: center;
  object-fit: contain;
}

.contact-socials a:first-child svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.contact-socials span {
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.home-socials {
  width: min(100%, 460px);
  margin-top: 28px;
  padding-top: 0;
}

.yandex-map-frame {
  position: relative;
  height: clamp(440px, 56vw, 620px);
  overflow: hidden;
  background: var(--color-green);
  border: 1px solid var(--color-line-strong);
  box-shadow: var(--shadow-card);
}

.contact-inline-map {
  height: 100%;
  min-height: 620px;
}

.yandex-map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: saturate(0.72) sepia(0.08) contrast(1.02);
}

.contact-photo-stage {
  position: relative;
  align-self: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1456 / 1080;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: #e7e9e7;
  border: 1px solid var(--color-line-strong);
  box-shadow: var(--shadow-card);
  clip-path: none;
}

.contact-photo-stage::before {
  display: none;
}

.contact-photo-stage > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
}

.contact-photo-wash {
  display: none;
}

.legal-page-content .inner-section {
  padding-top: clamp(34px, 5vw, 72px);
}

.legal-copy {
  width: min(calc(100% - 40px), 860px);
}

.legal-hero {
  padding: calc(66px + clamp(56px, 6vw, 86px)) 0 clamp(52px, 6vw, 84px);
  background:
    linear-gradient(135deg, rgba(188, 166, 102, 0.12), transparent 42%),
    var(--color-green);
  color: #fff;
}

.legal-hero .breadcrumbs {
  color: rgba(255, 255, 255, 0.66);
}

.legal-hero .breadcrumbs a:hover {
  color: var(--color-gold);
}

.legal-hero h1 {
  max-width: 16ch;
  margin: 24px 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.08;
}

.legal-hero p:last-child {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .feature-image.rent-image {
    height: min(760px, 125vw);
  }
}

@media (max-width: 480px) {
  .legal-hero {
    padding: calc(64px + 42px) 0 50px;
  }

  .legal-hero h1 {
    max-width: 100%;
    font-size: clamp(29px, 8.2vw, 34px);
    line-height: 1.12;
  }

  .legal-hero .breadcrumbs {
    display: none;
  }
}

.legal-copy h2 {
  margin: 52px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.16;
}

.legal-copy h2:first-of-type {
  margin-top: 18px;
}

.legal-copy p {
  max-width: 74ch;
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.75;
}

.legal-copy a {
  color: var(--color-green-2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-updated {
  color: var(--color-green-2) !important;
  font-size: 13px !important;
  font-weight: 800;
}

.page-privacy .page-hero-image {
  object-position: center 38%;
}

.contact-form-section {
  scroll-margin-top: 136px;
}

@media (min-width: 981px) {
  .sale-profile {
    height: 560px;
    min-height: 0;
  }

  .sale-profile > img,
  .sale-profile > .sale-profile-placeholder {
    min-height: 0;
  }

}

@media (max-width: 980px) {
  .inner-split,
  .editorial-feature,
  .editorial-feature-with-media,
  .offer-feature,
  .achievement-layout,
  .course-intro-layout,
  .terms-layout,
  .question-grid {
    grid-template-columns: 1fr;
  }

  .trainer-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trainer-roster .trainer-profile-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  }

  .trainer-roster .trainer-profile-card:last-child > img {
    height: 100%;
    min-height: 430px;
  }

  .page-trainer .trainer-roster .trainer-profile-card:last-child,
  .page-lessons #trainers .trainer-roster .trainer-profile-card:last-child {
    width: calc(50% - 9px);
    display: flex;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .page-trainer .trainer-roster .trainer-profile-card:last-child > img,
  .page-lessons #trainers .trainer-roster .trainer-profile-card:last-child > img {
    height: auto;
    min-height: 0;
  }

  .horse-profile-card {
    flex-basis: min(760px, 88vw);
  }

  .work-story,
  .work-story-featured,
  .sale-profile {
    grid-template-columns: 1fr 1fr;
  }

  .work-story-featured {
    grid-column: auto;
  }

  .work-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sale-profile-reverse > img,
  .sale-profile-reverse > .sale-profile-placeholder,
  .sale-profile-reverse > div:not(.sale-profile-placeholder) {
    order: initial;
  }

  .course-photo-stack {
    max-width: 760px;
  }

  .question-grid {
    gap: 38px;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .contact-inline-map {
    height: clamp(420px, 66vw, 560px);
    min-height: 0;
  }

  .contact-photo-stage {
    height: auto;
    clip-path: none;
  }

  .contact-photo-stage::before {
    inset: 18px 18px 24px 22px;
  }

  .contact-photo-stage > img {
    min-height: 0;
  }

  .sale-page-grid {
    grid-template-columns: 1fr;
  }

  .inner-split-reverse .inner-copy,
  .inner-split-reverse .inner-media {
    order: initial;
  }

  .portrait-media,
  .landscape-media {
    aspect-ratio: 16 / 10;
  }

  .page-about #team .portrait-media,
  .page-trainer #about .portrait-media {
    aspect-ratio: 4 / 5;
  }

  .page-about #team .portrait-media img {
    object-position: center 34%;
  }

  .page-trainer #about .portrait-media img {
    object-position: center 16%;
  }

  .editorial-feature-copy {
    max-width: 680px;
  }

  .sale-page-card {
    grid-template-columns: 1fr;
  }

  .sale-page-card > img {
    min-height: 300px;
    max-height: 380px;
  }
}

@media (max-width: 760px) {
  .page-hero {
    min-height: 560px;
  }

  .page-hero-content {
    padding-top: 112px;
    padding-bottom: 48px;
  }

  .page-hero h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .page-lead {
    font-size: 16px;
  }

  .section-nav {
    top: 62px;
  }

  .section-nav.has-overflow::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 42px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(248, 245, 238, 0), rgba(248, 245, 238, 0.98));
  }

  .section-nav.is-at-end::after {
    opacity: 0;
  }

  .section-nav-inner {
    width: 100%;
    padding-inline: 20px;
    min-height: 56px;
    gap: 20px;
  }

  .section-nav a {
    min-height: 56px;
  }

  .inner-section {
    padding: 68px 0;
  }

  .inner-section h2,
  .page-action h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .principles-list article,
  .process-list article,
  .course-map a {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .direction-links,
  .format-grid,
  .task-bands,
  .inner-case-grid,
  .sale-page-grid,
  .trainer-roster,
  .price-grid,
  .condition-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .carousel-controls {
    margin-top: -20px;
  }

  .content-carousel {
    padding-inline: 0;
  }

  .carousel-side-control {
    width: 44px;
    height: 44px;
    background: rgba(250, 247, 240, 0.96);
  }

  .carousel-side-prev {
    left: 10px;
  }

  .carousel-side-next {
    right: 10px;
  }

  .horse-profile-card {
    grid-template-columns: 1fr;
  }

  .horse-profile-card .media-placeholder {
    min-height: 300px;
  }

  .trainer-roster .trainer-profile-card:last-child {
    grid-column: auto;
    display: block;
  }

  .page-trainer .trainer-roster .trainer-profile-card:last-child,
  .page-lessons #trainers .trainer-roster .trainer-profile-card:last-child {
    width: auto;
    grid-column: auto;
  }

  .trainer-roster .trainer-profile-card:last-child > img {
    height: 320px;
    min-height: 320px;
  }

  .page-trainer .trainer-roster .trainer-profile-card:last-child > img,
  .page-lessons #trainers .trainer-roster .trainer-profile-card:last-child > img {
    height: auto;
    min-height: 0;
  }

  .feature-placeholder {
    min-height: 340px;
  }

  .feature-image {
    height: 340px;
  }

  .work-story,
  .work-story-featured,
  .sale-profile {
    grid-template-columns: 1fr;
  }

  .work-story-grid {
    grid-template-columns: 1fr;
  }

  .story-placeholder,
  .work-story-featured .story-placeholder {
    min-height: 300px;
  }

  .achievement-gallery {
    grid-template-columns: 1fr;
  }

  .achievement-gallery .media-placeholder:first-child {
    grid-column: auto;
  }

  .sale-profile > img,
  .sale-profile > .sale-profile-placeholder {
    min-height: 360px;
    height: 360px;
  }

  .course-photo-stack figure {
    height: 400px;
  }

  .course-photo-stack figure:last-child {
    height: 260px;
    margin-bottom: -24px;
  }

  .course-photo-single figure,
  .course-photo-single figure:last-child {
    height: min(620px, 138vw);
    margin: 0;
  }

  .question-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .inner-question-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-socials {
    grid-template-columns: 1fr;
  }

  .contact-socials a {
    min-height: 58px;
    grid-template-columns: 28px auto;
    justify-content: start;
    padding-inline: 18px;
  }

  .direction-link,
  .direction-link-wide,
  .direction-link:nth-child(4),
  .format-item,
  .format-item-wide,
  .format-item:nth-child(4),
  .task-bands article:nth-child(3),
  .inner-case-wide {
    grid-column: auto;
  }

  .direction-link,
  .format-item,
  .task-bands article {
    min-height: 170px;
  }

  .inner-case-wide {
    display: block;
  }

  .inner-case img,
  .inner-case-wide img {
    height: 300px;
    min-height: 0;
  }

  .inline-action,
  .page-action-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .inline-action .button,
  .page-action .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .horse-profile-card,
  .horse-profile-card .media-placeholder,
  .horse-profile-card .horse-profile-copy,
  .page-trainer #team .trainer-profile-card > img,
  .page-lessons #trainers .trainer-profile-card > img,
  .carousel-controls button,
  .carousel-side-control {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 520px;
  }

  .breadcrumbs {
    margin-bottom: 17px;
  }

  .page-about .page-hero-image {
    object-position: 58% center;
  }

  .page-trainer .page-hero-image {
    object-position: 54% top;
  }

  .page-work .page-hero-image {
    object-position: 42% top;
  }

  .inner-media,
  .portrait-media,
  .landscape-media {
    aspect-ratio: 4 / 3;
  }

  .page-about #team .portrait-media,
  .page-trainer #about .portrait-media {
    aspect-ratio: 4 / 5;
  }

  .sale-page-card > img,
  .inner-case img,
  .inner-case-wide img {
    height: 260px;
  }
}
