/* ==========================================================================
   BULL DANCE — prototype stylesheet
   1. Tokens
   2. Base & typography
   3. Layout primitives
   4. Buttons & links
   5. Header / navigation
   6. Hero slider
   7. Sections & section heads
   8. Find Your Path
   9. Horses carousel
   10. Journey carousel
   11. Ownership experience
   12. Investor library
   13. How we select horses
   14. Consultation & visit
   15. Interior pages (library, article, forms, legal, placeholders)
   16. Footer
   17. Motion & reveal
   18. Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --navy-900: #070d15;
  --navy-800: #0b1420;
  --navy-700: #101c2b;
  --navy-600: #172637;
  --navy-line: rgba(255, 255, 255, .12);

  --cream: #f5efe3;
  --cream-2: #faf6ee;
  --white: #ffffff;
  --paper-line: rgba(20, 30, 44, .12);

  --gold: #c8a253;
  --gold-soft: #ddc186;
  --gold-deep: #a07f32;

  --ink: #15202e;
  --ink-soft: #4c5a6b;
  --ink-faint: #7a8798;

  --on-dark: #f1ece3;
  --on-dark-soft: rgba(241, 236, 227, .72);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --shell: 1280px;
  --gut: 40px;
  --sec-y: 128px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 2px;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--cream-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .002em;
  margin: 0;
}

p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 16px; top: 16px; }

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

/* 3. LAYOUT ---------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.shell--narrow { max-width: 860px; }
.shell--mid { max-width: 1060px; }

.section {
  position: relative;
  padding-block: var(--sec-y);
  isolation: isolate;
}
.section--cream { background: var(--cream); }
.section--white { background: var(--cream-2); }
.section--paper { background: var(--cream); }
.section--navy { background: var(--navy-800); color: var(--on-dark); }

.section__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  opacity: .55;
}
.section--paper .section__bg { opacity: .85; }
.section--navy .section__bg { opacity: .5; }
.section--navy::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--navy-900) 0%, rgba(11,20,32,.82) 35%, rgba(11,20,32,.9) 100%);
}

.gold { color: var(--gold); }

/* 4. BUTTONS --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #fff;
  --btn-bd: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .4s var(--ease), color .4s var(--ease),
              border-color .4s var(--ease), transform .4s var(--ease),
              box-shadow .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(7, 13, 21, .18); }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--gold { --btn-bg: var(--gold); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-deep); --btn-bd: var(--gold-deep); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55);
}
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: #fff; }

.btn--ghost-gold {
  --btn-bg: transparent; --btn-fg: var(--gold-soft); --btn-bd: rgba(200,162,83,.6);
}
.btn--ghost-gold:hover { --btn-bg: var(--gold); --btn-fg: #fff; --btn-bd: var(--gold); }

.btn--navy { --btn-bg: var(--navy-800); --btn-fg: var(--cream); --btn-bd: var(--navy-800); }
.btn--navy:hover { --btn-bg: var(--navy-600); --btn-bd: var(--navy-600); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(21,32,46,.35); }
.btn--outline:hover { --btn-bg: var(--navy-800); --btn-fg: var(--cream); --btn-bd: var(--navy-800); }

.btn--sm { padding: 13px 24px; font-size: 11px; letter-spacing: .16em; }
.btn--block { width: 100%; }

/* 5. HEADER ---------------------------------------------------------------- */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 90;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  padding-block: 18px;
}
.site-header--solid {
  position: sticky;
  top: 0;
  background: var(--navy-900);
  box-shadow: 0 1px 0 var(--navy-line);
}
.site-header.is-stuck {
  position: fixed;
  background: rgba(7, 13, 21, .93);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--navy-line);
  padding-block: 8px;
  animation: dropIn .5s var(--ease) both;
}
@keyframes dropIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { flex: 0 0 auto; display: block; }
.brand__mark { height: 62px; width: auto; transition: height .5s var(--ease); }
.brand__mark--dark { display: none; }
.site-header.is-stuck .brand__mark { height: 48px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative;
  display: inline-block;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  padding-block: 8px;
  transition: color .35s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-current { color: var(--gold-soft); }

.nav__cta-mobile { display: none; }
.site-header__cta { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle__bars { display: block; width: 20px; }
.nav-toggle__bars i {
  display: block; height: 1px; background: #fff; margin: 5px 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 6. HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.hero__slides { position: absolute; inset: 0; }

.hero__slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s var(--ease), visibility 1.2s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__media {
  position: absolute; inset: -2%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 9s linear;
}
.hero__slide.is-active .hero__media { transform: scale(1); }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,10,17,.94) 0%, rgba(5,10,17,.8) 32%, rgba(5,10,17,.35) 58%, rgba(5,10,17,.15) 100%),
    linear-gradient(180deg, rgba(5,10,17,.75) 0%, rgba(5,10,17,0) 32%, rgba(5,10,17,.7) 100%);
}

.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 60px; }
.hero__copy { max-width: 640px; }

.hero__title {
  font-size: clamp(3rem, 6.6vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.01em;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: 300;
}
.hero__line { display: block; }
.hero__line.is-gold { color: var(--gold); }

.hero__support {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  line-height: 2.1;
  margin-bottom: 40px;
}
.hero__support span { display: block; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 42px; }

.hero__note {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin: 0;
}
.hero__note .bd-icon { width: 20px; height: 20px; }

/* slide entrance */
.hero__slide.is-active .hero__title,
.hero__slide.is-active .hero__support,
.hero__slide.is-active .hero__actions,
.hero__slide.is-active .hero__note {
  animation: heroUp 1s var(--ease) both;
}
.hero__slide.is-active .hero__support { animation-delay: .16s; }
.hero__slide.is-active .hero__actions { animation-delay: .3s; }
.hero__slide.is-active .hero__note { animation-delay: .44s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero__controls {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: 46px; z-index: 5;
  display: flex; align-items: center; justify-content: flex-end; gap: 18px;
}
.hero__dots { display: flex; gap: 10px; }
.hero__dots button {
  width: 34px; height: 2px; padding: 0;
  border: 0; background: rgba(255,255,255,.32); cursor: pointer;
  transition: background .4s var(--ease), width .4s var(--ease);
}
.hero__dots button.is-active { background: var(--gold); width: 52px; }

.slider-arrow {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(7,13,21,.35);
  color: #fff; cursor: pointer; border-radius: 50%;
  font-size: 22px; line-height: 1;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); transform: scale(1.06); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 46px; z-index: 4;
  transform: translateX(-50%);
  width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.4); border-radius: 12px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 2px; height: 6px;
  background: var(--gold); border-radius: 2px;
  animation: scrollHint 2s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* 7. SECTION HEADS --------------------------------------------------------- */
.section-head {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 68px;
  text-align: center;
}
.section-head--light { color: var(--on-dark); }

.eyebrow {
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.section--navy .eyebrow { color: var(--gold); }
.eyebrow--ruled { display: flex; align-items: center; justify-content: center; gap: 16px; }
.eyebrow--ruled::before, .eyebrow--ruled::after {
  content: ""; width: 48px; height: 1px; background: rgba(160,127,50,.5);
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 22px;
}
.section-title--caps { text-transform: uppercase; letter-spacing: .02em; font-weight: 300; }
.section-head--light .section-title { color: #fff; }

.rule-gold {
  display: block; width: 88px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 24px;
}
.section-head:not([class*="left"]) .rule-gold { margin-inline: auto; }
.rule-gold--sm { width: 46px; margin: 0 0 18px; background: var(--gold); }

.section-intro {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.85;
}
.section-head--light .section-intro { color: var(--on-dark-soft); }

.section-question {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--gold-soft);
  margin-bottom: 18px;
}

.section-actions { margin-top: 60px; text-align: center; }

/* 8. FIND YOUR PATH -------------------------------------------------------- */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.path-card {
  display: flex; flex-direction: column;
  background: var(--cream-2);
  border: 1px solid var(--paper-line);
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
}
.path-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 54px rgba(12, 22, 35, .16);
  border-color: rgba(200,162,83,.5);
}
.path-card__media { display: block; height: 260px; overflow: hidden; }
.path-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.path-card:hover .path-card__media img { transform: scale(1.07); }

.path-card__body { display: block; padding: 34px 32px 36px; }
.path-card__rule { display: block; width: 34px; height: 1px; background: var(--gold); margin-bottom: 18px; }
.path-card__title {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
.path-card__text { display: block; color: var(--ink-soft); font-size: 14.5px; line-height: 1.8; margin-bottom: 22px; }
.path-card__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep);
}
.path-card:hover .path-card__link .btn__arrow { transform: translateX(5px); }

/* 9. HORSES CAROUSEL ------------------------------------------------------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  gap: 30px;
  transition: transform .8s var(--ease);
  will-change: transform;
}
.carousel__slide { flex: 0 0 auto; width: calc((100% - 60px) / 3); }
.carousel--journey .carousel__slide { width: calc((100% - 4 * 22px) / 5); }

.carousel__arrow { position: absolute; top: 45%; z-index: 4; }
.slider-arrow--prev.carousel__arrow { left: -22px; }
.slider-arrow--next.carousel__arrow { right: -22px; }
.section--cream .carousel__arrow,
.section--white .carousel__arrow {
  border-color: rgba(21,32,46,.28); background: rgba(255,255,255,.85); color: var(--ink);
}
.section--cream .carousel__arrow:hover,
.section--white .carousel__arrow:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.carousel__arrow[disabled] { opacity: .3; cursor: default; transform: none; }

.carousel__dots { display: flex; justify-content: center; gap: 9px; margin-top: 36px; }
.carousel__dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(200,162,83,.65); background: transparent; cursor: pointer;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.carousel__dots button.is-active { background: var(--gold); transform: scale(1.25); }

.horse-card {
  height: 100%;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--navy-line);
  padding: 0 30px 32px;
  text-align: center;
  transition: transform .55s var(--ease), border-color .55s var(--ease), box-shadow .55s var(--ease);
}
.horse-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200,162,83,.55);
  box-shadow: 0 28px 60px rgba(0,0,0,.45);
}
.horse-card__head { position: relative; margin-top: -46px; margin-bottom: 18px; }
.horse-card__portrait {
  width: 150px; height: 150px; margin-inline: auto;
  border-radius: 50%; overflow: hidden;
  border: 1px solid rgba(200,162,83,.6);
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
}
.horse-card__portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.horse-card:hover .horse-card__portrait img { transform: scale(1.08); }

.horse-card__status {
  position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%);
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  padding: 5px 14px; background: var(--navy-700); border: 1px solid var(--gold); color: var(--gold-soft);
  white-space: nowrap;
}
.horse-card__status.is-open { border-color: #6fae7d; color: #a8d8b2; }
.horse-card__status.is-closing { border-color: #c07a4f; color: #e0a684; }

.horse-card__name { font-size: 1.9rem; margin: 16px 0 4px; color: #fff; }
.horse-card__eyebrow {
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}

.horse-card__specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
  text-align: left; margin: 0 0 22px;
  padding-block: 20px;
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}
.spec { display: flex; gap: 9px; align-items: flex-start; min-width: 0; }
.spec__icon { flex: 0 0 auto; opacity: .85; }
.spec dt {
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(241,236,227,.5); margin-bottom: 1px;
}
.spec dd {
  margin: 0; font-size: 12.5px; color: #fff; line-height: 1.35;
  overflow-wrap: anywhere;
}

.horse-card__milestone { margin-bottom: 22px; }
.horse-card__milestone span {
  display: block; font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(241,236,227,.5); margin-bottom: 4px;
}
.horse-card__milestone strong {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: var(--gold-soft);
}
.horse-card .btn { margin-top: auto; }

.bd-icon { width: 26px; height: 26px; display: block; }
.bd-icon--sm { width: 30px; height: 30px; }
.bd-icon--xs { width: 16px; height: 16px; }

/* 10. JOURNEY CAROUSEL ----------------------------------------------------- */
.carousel--journey .carousel__track { gap: 22px; align-items: center; }

.journey-card {
  position: relative;
  display: block;
  height: 430px;
  overflow: hidden;
  border: 1px solid rgba(21,32,46,.16);
  background: var(--navy-800);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.journey-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
  filter: saturate(.95);
}
.journey-card__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,13,21,.25) 0%, rgba(7,13,21,.55) 45%, rgba(7,13,21,.92) 100%);
  transition: background .6s var(--ease);
}
.journey-card__body { position: absolute; inset: auto 0 0; padding: 26px 22px 30px; color: #fff; }
.journey-card__no {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem; line-height: 1; color: var(--gold); margin-bottom: 10px;
}
.journey-card__title {
  display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px;
}
.journey-card__text {
  display: block; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.75);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease), opacity .5s var(--ease);
}
.journey-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(12,22,35,.3); }
.journey-card:hover img { transform: scale(1.08); }
.journey-card:hover .journey-card__text { max-height: 120px; opacity: 1; }

/* the focused (centre) card is taller, matching the approved design */
.carousel--journey .carousel__slide.is-focus .journey-card { height: 500px; box-shadow: 0 30px 64px rgba(12,22,35,.32); }
.carousel--journey .carousel__slide.is-focus .journey-card__text { max-height: 120px; opacity: 1; }
.carousel--journey .carousel__slide.is-focus .journey-card__no { color: var(--gold); font-size: 3.2rem; }

/* 11. OWNERSHIP EXPERIENCE ------------------------------------------------- */
.experience .section-head .btn { margin-top: 10px; }
.experience-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.exp-card { display: block; }
.exp-card__media {
  display: block; height: 300px; overflow: hidden; margin-bottom: 20px;
  border: 1px solid var(--paper-line);
}
.exp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.exp-card:hover .exp-card__media img { transform: scale(1.08); }
.exp-card__title {
  display: block; font-family: var(--serif); font-size: 1.22rem;
  text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px;
  transition: color .4s var(--ease);
}
.exp-card:hover .exp-card__title { color: var(--gold-deep); }
.exp-card__text { display: block; font-size: 13px; line-height: 1.75; color: var(--ink-soft); }

/* 12. INVESTOR LIBRARY ----------------------------------------------------- */
.library-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; margin-bottom: 72px;
}
.library-head__media { height: 420px; border: 1px solid var(--paper-line); overflow: hidden; }
.library-head__media img { width: 100%; height: 100%; object-fit: cover; }
.library-head__copy .rule-gold { margin-inline: 0; }
.library-head__copy .section-intro { max-width: 460px; margin-bottom: 28px; }

.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.lib-card {
  display: flex; flex-direction: column;
  background: var(--cream-2);
  border: 1px solid var(--paper-line);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
}
.lib-card:hover { transform: translateY(-8px); box-shadow: 0 26px 54px rgba(12,22,35,.14); border-color: rgba(200,162,83,.5); }
.lib-card__media { display: block; height: 190px; overflow: hidden; }
.lib-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.lib-card:hover .lib-card__media img { transform: scale(1.07); }
.lib-card__body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.lib-card__title {
  font-size: 1.35rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px;
}
.lib-card__list { margin-bottom: 24px; }
.lib-card__list li { border-bottom: 1px solid var(--paper-line); }
.lib-card__list li:first-child { border-top: 1px solid var(--paper-line); }
.lib-card__list a {
  display: block; padding: 13px 0; font-size: 13.5px; color: var(--ink-soft);
  transition: color .35s var(--ease), padding-left .35s var(--ease);
}
.lib-card__list a:hover { color: var(--gold-deep); padding-left: 8px; }
.lib-card__link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep);
}
.lib-card__link:hover .btn__arrow { transform: translateX(5px); }

/* 13. HOW WE SELECT HORSES ------------------------------------------------- */
.select-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }

.select-figure { position: relative; margin: 0; border: 1px solid rgba(200,162,83,.35); overflow: hidden; }
.select-figure img { width: 100%; height: 620px; object-fit: cover; }
.select-figure figcaption {
  position: absolute; inset: auto 0 0; padding: 26px 28px;
  background: linear-gradient(180deg, rgba(7,13,21,0), rgba(7,13,21,.92));
}
.select-figure__label {
  display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.select-figure__value { display: block; font-family: var(--serif); font-size: 1.5rem; color: #fff; }

.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.process-step {
  position: relative;
  padding: 26px 24px 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--navy-line);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.process-step:hover { background: rgba(200,162,83,.08); border-color: rgba(200,162,83,.5); transform: translateY(-4px); }
.process-step__icon { display: block; margin-bottom: 14px; opacity: .9; }
.process-step__no {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--serif); font-size: 1.9rem; color: rgba(200,162,83,.4); line-height: 1;
}
.process-step__title {
  font-size: 1.18rem; text-transform: uppercase; letter-spacing: .04em;
  color: #fff; margin-bottom: 8px;
}
.process-step__text { font-size: 12.5px; line-height: 1.7; color: var(--on-dark-soft); margin: 0; }

/* 14. CONSULTATION & VISIT ------------------------------------------------- */
.consult-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.consult-copy .rule-gold { margin-inline: 0; }
.consult-copy .section-intro { max-width: 520px; }

.consult-points { margin: 0 0 32px; }
.consult-points li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
  font-size: 14.5px; color: var(--ink-soft);
}
.consult-points li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 9px; height: 1px; background: var(--gold);
}

.assurances {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 44px 0 36px; padding-top: 34px; border-top: 1px solid var(--paper-line);
}
.assurances li { text-align: center; }
.assurances__icon { display: flex; justify-content: center; margin-bottom: 12px; }
.assurances strong {
  display: block; font-family: var(--serif); font-size: 1.02rem; font-weight: 500;
  margin-bottom: 4px;
}
.assurances span:last-child { display: block; font-size: 11.5px; line-height: 1.6; color: var(--ink-faint); }

.range {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; background: rgba(200,162,83,.1); border-left: 2px solid var(--gold);
}
.range__icon { flex: 0 0 auto; }
.range__label {
  display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 5px;
}
.range__text { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }

.consult-media { margin: 0; height: 780px; border: 1px solid var(--paper-line); overflow: hidden; }
.consult-media img { width: 100%; height: 100%; object-fit: cover; }

.visit { text-align: center; }
.visit-inner .rule-gold { margin-inline: auto; }
.visit-inner .section-intro { max-width: 620px; margin-inline: auto; }
.visit-inner .btn { margin-top: 18px; }

/* 15. INTERIOR PAGES ------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 210px 0 100px;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  animation: slowPan 18s ease-in-out infinite alternate;
}
@keyframes slowPan { from { transform: scale(1.04); } to { transform: scale(1.1); } }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,10,17,.9) 0%, rgba(5,10,17,.65) 45%, rgba(5,10,17,.92) 100%);
}
.page-hero__inner { max-width: 780px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero__title { font-size: clamp(2.4rem, 5vw, 4.2rem); text-transform: uppercase; font-weight: 300; margin-bottom: 20px; }
.page-hero__intro { font-size: 16.5px; color: rgba(255,255,255,.78); max-width: 620px; }
.page-hero .rule-gold { margin: 0 0 24px; }

.breadcrumbs {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 18px;
}
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin-inline: 8px; opacity: .5; }

/* --- library listing --- */
.library-layout { display: grid; grid-template-columns: 250px 1fr; gap: 60px; align-items: start; }
.cat-nav { position: sticky; top: 100px; }
.cat-nav__title {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 16px;
}
.cat-nav__list li { border-bottom: 1px solid var(--paper-line); }
.cat-nav__list li:first-child { border-top: 1px solid var(--paper-line); }
.cat-nav__list a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 15px 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .35s var(--ease), padding-left .35s var(--ease);
}
.cat-nav__list a:hover { color: var(--gold-deep); padding-left: 6px; }
.cat-nav__list a.is-active { color: var(--gold-deep); font-weight: 500; }
.cat-nav__count { font-size: 11px; color: var(--ink-faint); }

.cat-nav__aside {
  margin-top: 36px; padding: 26px 24px;
  background: var(--cream); border: 1px solid var(--paper-line);
}
.cat-nav__aside h3 { font-size: 1.2rem; margin-bottom: 10px; }
.cat-nav__aside p { font-size: 13px; color: var(--ink-soft); }

.results-bar {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding-bottom: 18px; margin-bottom: 32px; border-bottom: 1px solid var(--paper-line);
}
.results-bar h2 { font-size: 1.9rem; }
.results-bar p { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }

.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--cream-2); border: 1px solid var(--paper-line);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(12,22,35,.13); border-color: rgba(200,162,83,.5); }
.post-card__media { height: 210px; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.07); }
.post-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 12px;
}
.post-card__meta span { color: var(--ink-faint); }
.post-card__title { font-size: 1.42rem; line-height: 1.22; margin-bottom: 12px; }
.post-card__excerpt { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 20px; }
.post-card__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep);
}
.post-card:hover .post-card__link .btn__arrow { transform: translateX(5px); }

/* --- single article --- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 64px; align-items: start; }
.article-body { font-size: 16.5px; line-height: 1.9; color: #22303f; }
.article-body h2 {
  font-size: 1.95rem; margin: 44px 0 16px;
}
.article-body h3 { font-size: 1.4rem; margin: 34px 0 12px; }
.article-body p { margin-bottom: 1.3em; }
.article-body ul { margin: 0 0 1.4em; }
.article-body ul li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.article-body ul li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 1px; background: var(--gold);
}
.article-body blockquote {
  margin: 34px 0; padding: 4px 0 4px 28px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif); font-size: 1.4rem; font-style: italic; line-height: 1.5; color: var(--ink);
}
.article-lead { font-size: 19px; line-height: 1.75; color: var(--ink); }

.article-featured { margin: 0 0 44px; border: 1px solid var(--paper-line); overflow: hidden; }
.article-featured img { width: 100%; height: 460px; object-fit: cover; }

.article-meta {
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center;
  padding-bottom: 24px; margin-bottom: 36px; border-bottom: 1px solid var(--paper-line);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint);
}
.article-meta strong { color: var(--gold-deep); font-weight: 500; }

.article-aside { position: sticky; top: 100px; }
.aside-box { padding: 28px 26px; border: 1px solid var(--paper-line); background: var(--cream); margin-bottom: 26px; }
.aside-box h3 { font-size: 1.2rem; margin-bottom: 14px; }
.aside-box p { font-size: 13px; color: var(--ink-soft); }
.aside-box--gold { background: var(--navy-800); color: var(--on-dark); border-color: var(--navy-700); }
.aside-box--gold h3 { color: #fff; }
.aside-box--gold p { color: var(--on-dark-soft); }
.toc li { border-bottom: 1px solid var(--paper-line); }
.toc a { display: block; padding: 11px 0; font-size: 13px; color: var(--ink-soft); transition: color .3s var(--ease); }
.toc a:hover { color: var(--gold-deep); }

.article-cta {
  margin-top: 56px; padding: 44px 46px;
  background: var(--navy-800); color: var(--on-dark); text-align: center;
}
.article-cta h2 { color: #fff; font-size: 2rem; margin-bottom: 12px; }
.article-cta p { color: var(--on-dark-soft); max-width: 520px; margin-inline: auto; margin-bottom: 24px; }

.article-nav {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--paper-line);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.article-nav a { color: var(--gold-deep); }

/* --- forms --- */
.form-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: start; }
.form-card {
  background: var(--cream-2); border: 1px solid var(--paper-line); padding: 46px 48px 50px;
}
.form-legend {
  font-family: var(--serif); font-size: 1.5rem; margin: 0 0 6px; padding: 0;
}
.form-note { font-size: 13px; color: var(--ink-faint); margin-bottom: 28px; }
.form-section + .form-section { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--paper-line); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field label, .field legend {
  display: block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 8px;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid rgba(20,30,44,.22);
  background: #fff; color: var(--ink);
  font-family: var(--sans); font-size: 15px; font-weight: 300;
  border-radius: var(--radius);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,83,.16);
}
.field-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; color: var(--ink-soft); }
.field-check input { margin-top: 5px; accent-color: var(--gold-deep); }
.field-check label { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); margin: 0; }

.form-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.form-actions .form-note { margin: 0; }

.form-alert {
  padding: 22px 26px; margin-bottom: 32px;
  border-left: 2px solid var(--gold); background: rgba(200,162,83,.12);
}
.form-alert h2 { font-size: 1.4rem; margin-bottom: 6px; }
.form-alert p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.form-alert--error { border-color: #b4533a; background: rgba(180,83,58,.1); }

.form-aside .aside-box { margin-bottom: 24px; }
.form-aside ul li {
  position: relative; padding-left: 24px; margin-bottom: 9px; font-size: 13.5px; color: var(--ink-soft);
}
.form-aside ul li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 9px; height: 1px; background: var(--gold);
}

/* --- FAQ + legal --- */
.faq-group + .faq-group { margin-top: 52px; }
.faq-group__title {
  font-size: 1.7rem; text-transform: uppercase; letter-spacing: .04em;
  padding-bottom: 14px; margin-bottom: 10px; border-bottom: 1px solid var(--paper-line);
}
.faq-item { border-bottom: 1px solid var(--paper-line); }
.faq-item__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 1.25rem; color: var(--ink);
  transition: color .35s var(--ease);
}
.faq-item__q:hover { color: var(--gold-deep); }
.faq-item__q i {
  flex: 0 0 auto; width: 16px; height: 16px; position: relative;
}
.faq-item__q i::before, .faq-item__q i::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1px; background: var(--gold-deep);
  transition: transform .4s var(--ease);
}
.faq-item__q i::after { transform: rotate(90deg); }
.faq-item.is-open .faq-item__q i::after { transform: rotate(0); }
.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease);
  opacity: 0;
}
.faq-item.is-open .faq-item__a { max-height: 480px; opacity: 1; }
.faq-item__a p { font-size: 15px; color: var(--ink-soft); padding-bottom: 22px; margin: 0; }

.legal-body { font-size: 16px; line-height: 1.9; color: #22303f; }
.legal-body h2 { font-size: 1.7rem; margin: 46px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal-body ul { margin-bottom: 1.4em; }
.legal-body ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.legal-body ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 1px; background: var(--gold); }
.legal-note {
  padding: 24px 28px; margin-bottom: 44px;
  background: var(--cream); border-left: 2px solid var(--gold);
  font-size: 14px; color: var(--ink-soft);
}
.legal-note p:last-child { margin: 0; }
.legal-updated {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 36px;
}

/* --- placeholder pages --- */
.placeholder { text-align: center; }
.placeholder__badge {
  display: inline-block; padding: 8px 18px; margin-bottom: 24px;
  border: 1px solid rgba(200,162,83,.55); color: var(--gold-deep);
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
}
.placeholder__title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 20px; }
.placeholder__text { max-width: 620px; margin-inline: auto; color: var(--ink-soft); }
.placeholder-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 54px 0 46px; text-align: left;
}
.placeholder-list li {
  padding: 26px 26px 28px; background: var(--cream-2); border: 1px solid var(--paper-line);
}
.placeholder-list strong {
  display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin-bottom: 8px;
}
.placeholder-list span { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.placeholder__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* 16. FOOTER --------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--navy-900) url("../images/bg-deep-navy-texture.jpg") center/cover no-repeat;
  color: var(--on-dark);
  padding-block: 96px 0;
  isolation: isolate;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,13,21,.93), rgba(7,13,21,.97));
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr .85fr .85fr .85fr 1.2fr;
  gap: 44px;
  padding-bottom: 64px;
}
.footer-brand__logo { height: 66px; width: auto; margin-bottom: 22px; }
.footer-brand__text { font-size: 13.5px; line-height: 1.85; color: var(--on-dark-soft); max-width: 340px; }

.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--navy-line); border-radius: 50%;
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.footer-social a:hover { border-color: var(--gold); background: rgba(200,162,83,.15); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; fill: none; stroke: var(--gold-soft); stroke-width: 1.4; }

.footer-col__title {
  font-family: var(--sans); font-size: 10.5px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
  font-size: 13.5px; color: var(--on-dark-soft);
  transition: color .35s var(--ease), padding-left .35s var(--ease);
}
.footer-col ul a:hover { color: var(--gold-soft); padding-left: 5px; }

.footer-signup p { font-size: 13px; color: var(--on-dark-soft); line-height: 1.8; }
.signup { display: flex; gap: 10px; margin: 18px 0 12px; }
.signup input {
  flex: 1; min-width: 0; padding: 13px 15px;
  border: 1px solid var(--navy-line); background: rgba(255,255,255,.05);
  color: #fff; font-family: var(--sans); font-size: 13.5px; font-weight: 300;
  border-radius: var(--radius);
}
.signup input::placeholder { color: rgba(241,236,227,.45); }
.signup input:focus { outline: none; border-color: var(--gold); }
.footer-signup__note { font-size: 11.5px; color: rgba(241,236,227,.5); }
.footer-signup__note a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center;
  padding-block: 26px 34px; border-top: 1px solid var(--navy-line);
}
.footer-bottom__copy { margin: 0; font-size: 12px; color: rgba(241,236,227,.55); max-width: 640px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-legal a {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(241,236,227,.6);
  transition: color .35s var(--ease);
}
.footer-legal a:hover { color: var(--gold); }

/* 17. REVEAL --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms);
}
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* 18. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --sec-y: 104px; --gut: 32px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 48px; }
  .footer-signup { grid-column: span 2; }
  .select-layout { grid-template-columns: 1fr; gap: 40px; }
  .select-figure img { height: 420px; }
  .consult-media { height: 620px; }
  .experience-grid { grid-template-columns: repeat(3, 1fr); }
  .slider-arrow--prev.carousel__arrow { left: -8px; }
  .slider-arrow--next.carousel__arrow { right: -8px; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .site-header__cta { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(380px, 86vw);
    background: rgba(7,13,21,.98);
    backdrop-filter: blur(12px);
    padding: 110px 34px 40px;
    transform: translateX(100%);
    /* hidden until opened, so the off-canvas panel never creates scroll area */
    visibility: hidden;
    pointer-events: none;
    transition: transform .5s var(--ease), visibility .5s;
    overflow-y: auto;
    z-index: 95;
  }
  body.nav-open .nav { transform: translateX(0); visibility: visible; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--navy-line); }
  .nav__link { display: block; padding: 18px 0; font-size: 13px; }
  .nav__link::after { display: none; }
  .nav__cta-mobile { display: block; border: 0 !important; padding-top: 28px; }
  .nav__cta-mobile .btn { width: 100%; }
  .nav-toggle { margin-left: auto; z-index: 96; }

  .library-layout { grid-template-columns: 1fr; gap: 40px; }
  .cat-nav { position: static; }
  .cat-nav__list { display: flex; flex-wrap: wrap; gap: 10px; }
  .cat-nav__list li { border: 1px solid var(--paper-line) !important; }
  .cat-nav__list a { padding: 11px 18px; }
  .cat-nav__list a.is-active { background: var(--navy-800); color: var(--cream); }
  .cat-nav__aside { margin-top: 8px; }

  .article-layout { grid-template-columns: 1fr; gap: 48px; }
  .article-aside { position: static; }
  .form-layout { grid-template-columns: 1fr; gap: 44px; }

  .consult-layout { grid-template-columns: 1fr; gap: 44px; }
  .consult-media { height: 420px; order: -1; }
  .library-head { grid-template-columns: 1fr; gap: 36px; }
  .library-head__media { height: 320px; order: -1; }
  .library-head__copy .rule-gold { margin-inline: auto; }
  .library-head__copy { text-align: center; }
  .library-head__copy .section-intro { margin-inline: auto; }
  .library-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .path-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .placeholder-list { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --sec-y: 84px; --gut: 22px; }
  .brand__mark { height: 50px; }
  .hero { min-height: 96svh; }
  .hero__inner { padding-top: 96px; padding-bottom: 120px; display: flex; align-items: flex-end; min-height: 100%; }
  .hero__slide { align-items: flex-end; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .hero__support { font-size: 11.5px; letter-spacing: .18em; line-height: 1.9; margin-bottom: 28px; }
  .hero__actions { gap: 12px; margin-bottom: 28px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(5,10,17,.8) 0%, rgba(5,10,17,.35) 30%, rgba(5,10,17,.94) 78%);
  }
  .hero__controls { bottom: 22px; justify-content: center; }
  .hero__scroll { display: none; }
  .slider-arrow { width: 42px; height: 42px; }

  .carousel__slide { width: 84%; }
  .carousel--journey .carousel__slide { width: 74%; }
  .carousel__arrow { display: none; }
  .carousel__viewport { overflow: visible; }
  .carousel__track { touch-action: pan-y; }

  .experience-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .exp-card__media { height: 210px; }
  .process-grid { grid-template-columns: 1fr; }
  .assurances { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 32px 26px 36px; }
  .article-featured img { height: 260px; }
  .article-cta { padding: 34px 26px; }
  .results-bar { flex-direction: column; gap: 8px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-brand { grid-column: span 2; }
  .footer-signup { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 18px; }

  .page-hero { padding: 150px 0 70px; }
}

@media (max-width: 540px) {
  .experience-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .assurances { grid-template-columns: 1fr; }
  .horse-card__specs { grid-template-columns: 1fr; }
  .carousel__slide { width: 90%; }
  .carousel--journey .carousel__slide { width: 86%; }
  .section-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}
