/* ===== Save Native Horses Trust — stylesheet ===== */

:root {
  --navy: #0d2a8c;
  --navy-dark: #081c61;
  --navy-light: #1c3fae;
  --gold: #c5912c;
  --gold-light: #e0b566;
  --gold-dark: #9c7320;
  --cream: #faf6ee;
  --ink: #1b2130;
  --ink-soft: #4a5165;
  --white: #ffffff;
  --border: #e7e1d3;
  --shadow: 0 10px 30px rgba(13, 42, 140, 0.12);
  --radius: 14px;
  --maxw: 1180px;
  --maxw-wide: 1360px;
  --ff-head: "Fraunces", "Georgia", serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.15;
  margin: 0 0 16px;
}

h2.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-intro {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 44px;
}

section { padding: 88px 0; }
.alt-bg { background: var(--cream); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(197,145,44,0.35); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13,42,140,0.3); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255,255,255,0.0);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 18px rgba(13,42,140,0.08);
  padding: 10px 0;
  backdrop-filter: saturate(180%) blur(8px);
}

.utility-bar {
  background: var(--navy-dark);
  margin: -18px 0 12px;
  padding: 7px 0;
}
.site-header.scrolled .utility-bar { margin-top: -10px; }
.utility-bar-inner {
  max-width: var(--maxw-wide);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.78);
}
.utility-bar-inner a { color: var(--gold-light); font-weight: 600; white-space: nowrap; }
.utility-bar-inner a:hover { color: #fff; }
.utility-bar-inner span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header .container {
  max-width: var(--maxw-wide);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  white-space: nowrap;
}
.brand img { width: 40px; height: 42px; flex: none; }
.brand-name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.15;
  color: var(--navy-dark);
  white-space: nowrap;
}
.brand-name span {
  display: block;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 3px;
  white-space: nowrap;
}
.site-header:not(.scrolled) .brand-name,
.site-header:not(.scrolled) .brand-name span { color: var(--white); }
.site-header:not(.scrolled) .brand-name span { color: var(--gold-light); }

.main-nav { flex: none; }
.main-nav-cta { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; white-space: nowrap; }
.main-nav a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-dark);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.site-header:not(.scrolled) .main-nav a { color: var(--white); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; white-space: nowrap; }
.header-cta .btn { padding: 10px 18px; font-size: 0.86rem; white-space: nowrap; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-dark);
  transition: all 0.2s ease;
}
.site-header:not(.scrolled) .nav-toggle span { background: var(--white); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero picture, .hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,20,65,0.55) 0%, rgba(8,20,65,0.55) 40%, rgba(8,20,65,0.88) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 90px;
}
.has-utility-bar ~ main .hero-content { padding-top: 120px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.6);
  animation: scrollpulse 1.8s ease-in-out infinite;
}
@keyframes scrollpulse {
  0% { transform: scaleY(0.3); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(0.3); opacity: 0.4; transform-origin: bottom; }
}

/* ===== Intro strip ===== */
.intro-strip {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.intro-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.intro-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.intro-item .ico {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}
.intro-item h4 { font-size: 0.98rem; margin-bottom: 4px; }
.intro-item p { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.about-copy { padding-top: 10px; }
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 1/1;
  max-height: 480px;
  object-fit: cover;
  object-position: center 22%;
}
.about-media .tag-card {
  position: absolute;
  bottom: -26px;
  right: -26px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(13,42,140,0.35);
  max-width: 220px;
}
.about-media .tag-card strong {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.5rem;
  color: var(--gold-light);
}
.about-media .tag-card span { font-size: 0.82rem; color: rgba(255,255,255,0.85); }

.about-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.about-list { margin-top: 24px; display: grid; gap: 14px; }
.about-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 0.98rem;
}
.about-list li svg { flex: none; margin-top: 3px; color: var(--gold); }

/* ===== Vision / Mission ===== */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.vm-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.vm-card .ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.vm-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.vm-card p { color: var(--ink-soft); margin-bottom: 14px; }
.vm-card ul { display: grid; gap: 10px; }
.vm-card ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.94rem; color: var(--ink-soft);
}
.vm-card ul li svg { flex: none; margin-top: 4px; color: var(--gold-dark); }

/* ===== Our work ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-card .num {
  font-family: var(--ff-head);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.work-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.work-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ===== Gallery ===== */
/* ===== Gallery collage — revolving marquee ===== */
.gallery-collage {
  position: relative;
  overflow: hidden;
  padding: 50px 0 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.collage-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  animation: collage-revolve 38s linear infinite;
}
.gallery-collage:hover .collage-track { animation-play-state: paused; }
@keyframes collage-revolve {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.gallery-collage .tile {
  position: relative;
  display: block;
  width: 200px;
  aspect-ratio: 3 / 4;
  margin: 18px 14px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  border: 5px solid var(--white);
  box-shadow: 0 16px 30px rgba(13, 42, 140, 0.2);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease, z-index 0s;
  cursor: pointer;
  flex: none;
}
.gallery-collage .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-collage .tile .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(8,20,65,0.78));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-collage .tile:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.07) !important;
  box-shadow: 0 26px 46px rgba(13, 42, 140, 0.32);
  z-index: 40 !important;
}
.gallery-collage .tile:hover img { transform: scale(1.06); }
.gallery-collage .tile:hover .cap { opacity: 1; transform: translateY(0); }

.gallery-collage .tile.r1 { transform: rotate(-7deg) translateY(6px);  z-index: 3; }
.gallery-collage .tile.r2 { transform: rotate(4deg)  translateY(-16px); z-index: 2; }
.gallery-collage .tile.r3 { transform: rotate(-4deg) translateY(16px);  z-index: 4; }
.gallery-collage .tile.r4 { transform: rotate(6deg)  translateY(-10px); z-index: 2; }
.gallery-collage .tile.r5 { transform: rotate(-6deg) translateY(12px);  z-index: 3; }
.gallery-collage .tile.r6 { transform: rotate(5deg)  translateY(-14px); z-index: 2; }
.gallery-collage .tile.r7 { transform: rotate(-5deg) translateY(10px);  z-index: 3; }

/* ===== Programs ===== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: rgba(197,145,44,0.18);
  border-radius: 50%;
}
.program-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; position: relative; }
.program-card p { color: rgba(255,255,255,0.78); font-size: 0.92rem; margin: 0; position: relative; }
.program-card .ico { color: var(--gold-light); margin-bottom: 16px; position: relative; }

/* ===== Why native horses ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
}
.why-copy { padding-top: 10px; }
.why-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 1/1;
  max-height: 480px;
  object-fit: cover;
  object-position: center 38%;
}
.why-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.why-points { display: grid; gap: 16px; margin-top: 26px; }
.why-points .pt { display: flex; gap: 14px; }
.why-points .pt .ico {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--cream); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
}
.why-points .pt h4 { font-size: 0.98rem; margin-bottom: 3px; }
.why-points .pt p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ===== Get involved ===== */
.involve-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.involve-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(197,145,44,0.18), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(197,145,44,0.14), transparent 45%);
}
.involve-section .container { position: relative; }
.involve-section .eyebrow { color: var(--gold-light); }
.involve-section h2 { color: var(--white); }
.involve-section .section-intro { color: rgba(255,255,255,0.78); }
.involve-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.involve-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.involve-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-5px); }
.involve-card .ico { color: var(--gold-light); margin-bottom: 14px; }
.involve-card h4 { color: var(--white); font-size: 0.96rem; margin: 0; }
.involve-cta { margin-top: 44px; text-align: center; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-cards { display: grid; gap: 18px; align-content: start; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.contact-card .ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}
.contact-card h4 { font-size: 0.98rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.contact-card a:hover { color: var(--navy); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-height: 360px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.contact-form {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: var(--ff-body);
  font-size: 0.94rem;
  margin-bottom: 16px;
  background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 10px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand strong { color: var(--white); font-family: var(--ff-head); font-size: 1.1rem; }
.site-footer p { font-size: 0.9rem; line-height: 1.7; }
.site-footer h5 {
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 600;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .intro-strip .container { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .involve-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media .tag-card { right: 16px; }
}

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 82vw);
    background: var(--white); box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transform: translateX(100%); transition: transform 0.3s ease; padding: 100px 28px 28px; z-index: 450; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
  .main-nav a { color: var(--navy-dark) !important; font-size: 1.05rem; }
  .nav-toggle { display: block; z-index: 460; }
  .header-cta .btn-outline { display: none; }
  .main-nav-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; width: 100%; }
  .main-nav-cta .btn { width: 100%; }
  .main-nav-cta .btn-outline { border-color: var(--navy); color: var(--navy-dark) !important; }
  .vm-grid, .contact-form .row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .work-grid, .programs-grid, .involve-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding-top: 70px; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-media .tag-card { position: static; margin-top: -40px; margin-left: 16px; width: fit-content; }
}

@media (max-width: 420px) {
  .header-cta .btn-primary { display: none; }
  .brand-name { font-size: 0.92rem; }
  .brand img { width: 34px; height: 36px; }
  .header-cta { gap: 8px; }
}

/* ===== Our Horses ===== */
.horses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.horse-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 26px;
}
.horse-card picture, .horse-card img {
  width: 140px;
  aspect-ratio: 7 / 10;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
  box-shadow: 0 6px 16px rgba(13,42,140,0.12);
}
.horse-info { flex: 1; padding: 0; }
.horse-info h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.horse-info h3 span {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 999px;
}
.horse-info ul { display: grid; gap: 9px; }
.horse-info li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--border);
}
.horse-info li:last-child { border-bottom: none; padding-bottom: 0; }
.horse-info li span { color: var(--ink-soft); }
.horse-info li strong { color: var(--navy-dark); font-weight: 600; text-align: right; }

/* ===== Benefits ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.benefit-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-dark);
  box-shadow: 0 4px 14px rgba(13,42,140,0.05);
}
.benefit-chip .ico {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.testimonial-card .stars { color: var(--gold); font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.92rem; color: var(--ink-soft); font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; flex-direction: column; }
.testimonial-author strong { color: var(--navy-dark); font-size: 0.94rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--gold-dark); }

@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .horses-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .horse-card { flex-direction: column; }
  .horse-card picture, .horse-card img { width: 120px; }
  .gallery-collage { padding: 30px 0 10px; }
  .gallery-collage .tile { width: 130px; margin: 10px 8px; }
  .collage-track { animation-duration: 26s; }
}

/* ===== Profile page (Managing Director) ===== */
.profile-hero {
  background: var(--navy-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}
.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 18%, rgba(197,145,44,0.22), transparent 45%),
              radial-gradient(circle at 88% 85%, rgba(28,63,174,0.55), transparent 50%);
}
.profile-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 70px;
  align-items: center;
}
.profile-hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  margin-bottom: 10px;
}
.profile-role {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(197,145,44,0.12);
  border: 1px solid rgba(224,181,102,0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.profile-hero p.lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 0 30px;
}
.profile-photo {
  position: relative;
  width: 100%;
  max-width: 340px;
  justify-self: end;
}
.profile-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  border-radius: 18px;
}
.profile-photo img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 26px 50px rgba(0,0,0,0.4);
}
.profile-photo .tag-card {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.3);
}
.profile-photo .tag-card strong { display: block; font-family: var(--ff-head); font-size: 1rem; line-height: 1.2; }
.profile-photo .tag-card span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; }

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 620px;
}
.profile-stats div {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 14px 12px;
}
.profile-stats strong {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.5rem;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 4px;
}
.profile-stats span { display: block; font-size: 0.76rem; line-height: 1.35; color: rgba(255,255,255,0.75); }

.traits-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.traits-card .eyebrow { margin-bottom: 4px; }
.traits-card .why-points { margin-top: 18px; }

.quote-block {
  margin: 28px 0 0;
  padding: 22px 26px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  border-radius: 0 12px 12px 0;
  font-family: var(--ff-head);
  font-size: 1.15rem;
  color: var(--navy-dark);
  line-height: 1.5;
}

.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.award-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.award-card .ico {
  flex: none;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}
.award-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.award-card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

.statement-card p.statement {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--navy-dark);
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.objectives-grid .work-card { padding: 26px 22px; }

.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.leader-card {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.leader-card img {
  width: 120px; height: 140px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 10px;
  flex: none;
}
.leader-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.leader-card .role { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 8px; }
.leader-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 12px; }
.leader-card .link { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.leader-card .link:hover { color: var(--gold-dark); }

.directions-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--navy) !important;
}
.directions-link:hover { color: var(--gold-dark) !important; }

@media (max-width: 1024px) {
  .objectives-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-hero .container { grid-template-columns: 1fr; gap: 56px; }
  .profile-photo { justify-self: center; max-width: 300px; }
  .leader-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .awards-grid { grid-template-columns: 1fr; }
  .profile-hero { padding: 120px 0 70px; }
}
@media (max-width: 600px) {
  .profile-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .profile-photo { max-width: 250px; }
  .profile-photo::before { inset: 12px -12px -12px 12px; }
  .award-card { flex-direction: column; padding: 26px 22px; }
  .leader-card { flex-direction: column; align-items: flex-start; }
  .leader-card img { width: 100%; height: 260px; }
}
@media (max-width: 420px) {
  .objectives-grid { grid-template-columns: 1fr; }
}

/* Keep the desktop nav on one line between tablet and wide screens */
@media (min-width: 861px) and (max-width: 1180px) {
  .main-nav ul { gap: 14px; }
  .header-cta .btn-outline { display: none; }
}

@media (max-width: 1024px) {
  .traits-card { order: 3 !important; }
  .profile-role { border-radius: 12px; }
}
