/* Animals & Kids, Inc.: site styles */
:root {
  --teal: #1fa59d;
  --teal-strong: #0e6e69;
  --teal-deep: #0b4f4b;
  --teal-ink: #08332f;
  --mint: #e6f3f1;
  --mint-2: #d3ebe7;
  --paper: #f7faf9;
  --white: #ffffff;
  --ink: #14201e;
  --ink-2: #3b4a47;
  --muted: #5d6d6a;
  --line: #d6e3e0;
  --sand: #f3efe6;
  --danger: #a3271c;
  --success: #0e6e69;

  --font-display: 'Libre Baskerville', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --text-hero: clamp(2.4rem, 1.6rem + 3.6vw, 4.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(8, 51, 47, .06), 0 1px 1px rgba(8, 51, 47, .04);
  --shadow-md: 0 8px 24px -10px rgba(8, 51, 47, .22);
  --container: 1200px;
  --section-pad: clamp(var(--space-16), 8vw, var(--space-24));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.65;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-strong); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 var(--space-4); color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); line-height: 1.3; }
p { margin: 0 0 var(--space-4); }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal-deep); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--mint { background: var(--mint); }
.section--white { background: var(--white); }
.section--deep { background: var(--teal-deep); color: #e8f4f2; }
.section--deep h2, .section--deep h3 { color: #fff; }
.eyebrow { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-strong); margin: 0 0 var(--space-3); display: block; }
.eyebrow::before { content: '– '; }
.section--deep .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #7fd8d1; }
.lead { font-size: var(--text-lg); color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.stack > * + * { margin-top: var(--space-4); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.4rem; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal-strong); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); color: #fff; }
.btn--outline { border-color: var(--teal-strong); color: var(--teal-strong); background: transparent; }
.btn--outline:hover { background: var(--teal-strong); color: #fff; }
.btn--light { background: #fff; color: var(--teal-deep); }
.btn--light:hover { background: var(--mint); color: var(--teal-deep); }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.text-link::after { content: '→'; transition: transform .2s; }
.text-link:hover::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-body); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: var(--space-1); }
.nav a { text-decoration: none; color: var(--ink-2); font-size: var(--text-sm); font-weight: 500; padding: .5rem .7rem; border-radius: var(--radius-sm); }
.nav a:hover { color: var(--teal-deep); background: var(--mint); }
.nav a[aria-current="page"] { color: var(--teal-deep); background: var(--mint); }
.nav .btn { margin-left: var(--space-2); color: #fff; padding: .6rem 1.2rem; }
.nav .btn:hover { color: #fff; background: var(--teal-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); width: 46px; height: 46px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { margin: auto; }
@media (max-width: 1080px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: var(--space-4) 1.25rem var(--space-6); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); display: none; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .75rem; font-size: var(--text-base); }
  .nav .btn { margin: var(--space-3) 0 0; }
}

/* Hero */
.hero { position: relative; color: #fff; min-height: min(86vh, 760px); display: grid; align-items: center; overflow: hidden; background: var(--teal-ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,30,28,.86) 0%, rgba(5,30,28,.62) 45%, rgba(5,30,28,.18) 100%); }
.hero__content { position: relative; padding-block: var(--space-20); max-width: 640px; }
.hero h1 { font-size: var(--text-hero); color: #fff; margin-bottom: var(--space-6); }
.hero h1 em { color: #6fd6ce; font-style: italic; }
.hero p { font-size: var(--text-lg); color: rgba(255,255,255,.9); max-width: 52ch; }
.hero__proof { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.25); list-style: none; padding-left: 0; font-size: var(--text-sm); color: rgba(255,255,255,.88); }
.hero__proof li { display: flex; align-items: center; gap: .5rem; }
.hero__proof svg { color: #6fd6ce; flex: none; }

.page-hero { position: relative; color: #fff; background: var(--teal-deep); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,40,37,.88), rgba(5,40,37,.55)); }
.page-hero__content { position: relative; padding-block: clamp(4rem, 9vw, 7.5rem); max-width: 720px; }
.page-hero h1 { color: #fff; font-size: var(--text-2xl); }
.page-hero p { color: rgba(255,255,255,.9); font-size: var(--text-lg); max-width: 58ch; margin-bottom: 0; }

/* Stats band */
.stats { background: var(--mint); border-bottom: 1px solid var(--line); }
.stats__list { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: var(--space-8) 0; }
.stats__list li { text-align: center; padding: 0 var(--space-3); border-left: 1px solid var(--line); }
.stats__list li:first-child { border-left: 0; }
.stats__num { display: block; font-family: var(--font-display); font-size: var(--text-xl); color: var(--teal-strong); line-height: 1.1; }
.stats__label { font-size: var(--text-xs); color: var(--muted); letter-spacing: .02em; }
@media (max-width: 760px) { .stats__list { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) 0; } .stats__list li { border-left: 0; } .stats__list li:last-child { grid-column: span 2; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }
.split__media--landscape img { aspect-ratio: 4/3; }
.media-pair { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--space-4); align-items: end; }
.media-pair img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
.media-pair img:first-child { aspect-ratio: 3/4; }
.media-pair img:last-child { aspect-ratio: 3/4; margin-bottom: var(--space-12); }
@media (max-width: 860px) { .split, .split--wide-text { grid-template-columns: 1fr; } .split__media { order: -1; } }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-6); list-style: none; padding: 0; margin: var(--space-6) 0 0; }
.pillars li { display: flex; gap: .6rem; align-items: center; font-weight: 600; font-size: var(--text-sm); color: var(--ink); }
.pillars svg { color: var(--teal-strong); flex: none; }

blockquote.pull { margin: var(--space-8) 0; padding: var(--space-6) var(--space-8); border-left: 4px solid var(--teal); background: var(--mint); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); line-height: 1.55; color: var(--teal-ink); }
.section--mint blockquote.pull { background: #fff; }

/* Program cards */
.program-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-5); margin-top: var(--space-10); }
.program-card { grid-column: span 4; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-8); display: flex; flex-direction: column; }
.program-card--feature { grid-column: span 8; background: var(--teal-deep); color: #e8f4f2; border-color: var(--teal-deep); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); padding: 0; overflow: hidden; }
.program-card--feature .program-card__body { padding: var(--space-8); }
.program-card--feature h3 { color: #fff; }
.program-card--feature img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.program-card--feature li { color: #d5ecea; }
.program-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.program-card p { font-size: var(--text-sm); color: var(--muted); }
.program-card--feature p { color: #cfe6e3; }
.program-card ul { margin: auto 0 0; padding: var(--space-4) 0 0; list-style: none; border-top: 1px solid var(--line); font-size: var(--text-sm); }
.program-card--feature ul { border-color: rgba(255,255,255,.18); }
.program-card li { padding: .3rem 0 .3rem 1.1rem; position: relative; color: var(--ink-2); }
.program-card li::before { content: '→'; position: absolute; left: 0; color: var(--teal); }
@media (max-width: 980px) { .program-card { grid-column: span 6; } .program-card--feature { grid-column: span 12; } }
@media (max-width: 640px) { .program-card { grid-column: span 12; } .program-card--feature { grid-template-columns: 1fr; } .program-card--feature img { min-height: 220px; max-height: 280px; } }

.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: var(--space-6) 0 0; }
.tag-list li { background: var(--mint); color: var(--teal-deep); border: 1px solid var(--mint-2); border-radius: var(--radius-pill); padding: .35rem .85rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: .02em; }
.section--mint .tag-list li { background: #fff; }

/* Give section */
.give-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-8); align-items: start; margin-top: var(--space-10); }
.give-options { display: grid; gap: var(--space-4); }
.give-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: var(--space-6); }
.give-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.give-card p { color: #cfe6e3; font-size: var(--text-sm); }
.give-card .btn-row { margin-top: var(--space-4); }
.give-embed { background: #fff; border-radius: var(--radius-lg); padding: var(--space-4); color: var(--ink); box-shadow: var(--shadow-md); }
.give-embed__head { padding: var(--space-3) var(--space-3) var(--space-2); }
.give-embed__head h3 { color: var(--ink) !important; margin-bottom: var(--space-1); }
.give-embed__head p { color: var(--muted); font-size: var(--text-sm); margin: 0; }
.fineprint { font-size: var(--text-xs); color: var(--muted); }
.section--deep .fineprint { color: #a9cfcb; }
@media (max-width: 900px) { .give-grid { grid-template-columns: 1fr; } }

.impact-list { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); }
.impact-list li { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-4); align-items: baseline; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.impact-list strong { font-family: var(--font-display); font-size: var(--text-lg); color: var(--teal-strong); font-weight: 400; }

/* FAQ */
.faq { max-width: 820px; margin: var(--space-10) auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: var(--space-5) var(--space-10) var(--space-5) 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--teal-strong); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); padding-bottom: var(--space-5); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-5); }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: var(--space-3); }
.contact-list svg { color: var(--teal-strong); margin-top: 3px; }
.contact-list .label { display: block; font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.map-embed { margin-top: var(--space-8); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--mint); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(var(--space-6), 4vw, var(--space-10)); box-shadow: var(--shadow-sm); }
.form-card h2, .form-card h3 { margin-bottom: var(--space-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-5); margin-top: var(--space-6); }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: .35rem; color: var(--ink); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: var(--text-base); padding: .75rem .9rem; border: 1px solid #bccfcb; border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); min-height: 48px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-strong); box-shadow: 0 0 0 3px rgba(31,165,157,.22); background: #fff; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field .hint { font-size: var(--text-xs); color: var(--muted); margin-top: .3rem; }
.field .error { font-size: var(--text-xs); color: var(--danger); margin-top: .3rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-4); }
.checks label { display: flex; gap: .55rem; align-items: center; font-weight: 400; font-size: var(--text-sm); min-height: 40px; cursor: pointer; }
.checks input { width: 20px; height: 20px; min-height: 0; accent-color: var(--teal-strong); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: var(--space-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.form-actions .fineprint { margin: 0; }
.form-status { margin-top: var(--space-4); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); font-size: var(--text-sm); display: none; }
.form-status.is-success { display: block; background: var(--mint); color: var(--teal-ink); border: 1px solid var(--mint-2); }
.form-status.is-error { display: block; background: #fbeceb; color: #6d1a12; border: 1px solid #f1c9c5; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
@media (max-width: 640px) { .form-grid, .checks { grid-template-columns: 1fr; } }

/* Horses */
.featured-horse { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.featured-horse + .featured-horse { margin-top: var(--space-16); }
.featured-horse:nth-of-type(even) .featured-horse__media { order: 2; }
.featured-horse__media img { border-radius: var(--radius-lg); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.badge { display: inline-block; background: var(--mint-2); color: var(--teal-deep); font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .75rem; border-radius: var(--radius-pill); margin-bottom: var(--space-3); }
@media (max-width: 860px) { .featured-horse { grid-template-columns: 1fr; } .featured-horse:nth-of-type(even) .featured-horse__media { order: 0; } }

.herd { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-5); margin-top: var(--space-10); }
.horse-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.horse-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.horse-card__body { padding: var(--space-5) var(--space-6) var(--space-6); display: flex; flex-direction: column; flex: 1; }
.horse-card .role { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-strong); margin-bottom: var(--space-2); }
.horse-card h3 { margin-bottom: var(--space-2); }
.horse-card p { font-size: var(--text-sm); color: var(--ink-2); }
.horse-card .motto { margin-top: auto; font-family: var(--font-display); font-style: italic; font-size: var(--text-sm); color: var(--teal-deep); border-top: 1px solid var(--line); padding-top: var(--space-3); margin-bottom: 0; }

/* People */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-10); }
.person-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.person-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center 20%; }
.person-card__body { padding: var(--space-6) var(--space-8) var(--space-8); }
.person-card .role { font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-strong); margin-bottom: var(--space-3); display: block; }
.person-card p { font-size: var(--text-sm); color: var(--ink-2); margin: 0; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-10); list-style: none; padding: 0; }
.board li { display: grid; grid-template-columns: 76px 1fr; gap: var(--space-4); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3); }
.board img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); }
.board strong { display: block; font-size: var(--text-sm); }
.board .title { display: block; font-size: var(--text-xs); color: var(--muted); line-height: 1.4; }
.board .office { display: block; font-size: var(--text-xs); color: var(--teal-strong); font-weight: 600; margin-top: .2rem; }
@media (max-width: 960px) { .board { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .founders, .board { grid-template-columns: 1fr; } }

/* Programs page */
.subnav { position: sticky; top: 76px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: var(--space-2) 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--ink-2); padding: .55rem .9rem; border-radius: var(--radius-pill); }
.subnav a:hover { background: var(--mint); color: var(--teal-deep); }
.prog-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.prog-block__intro { position: sticky; top: 150px; }
.prog-block__intro img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; margin-top: var(--space-6); width: 100%; }
.prog-list { display: grid; gap: var(--space-4); }
.prog-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-6); }
.section--mint .prog-item { border-color: var(--mint-2); }
.prog-item h3 { margin-bottom: var(--space-2); }
.prog-item p { color: var(--ink-2); font-size: var(--text-sm); margin-bottom: 0; }
.prog-item .tag-list { margin-top: var(--space-4); }
.prog-item .text-link { margin-top: var(--space-4); font-size: var(--text-sm); }
.steps { list-style: none; padding: 0; margin: var(--space-4) 0 0; counter-reset: s; display: grid; gap: var(--space-3); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: var(--space-3); font-size: var(--text-sm); color: var(--ink-2); }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--teal-strong); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
@media (max-width: 900px) { .prog-block { grid-template-columns: 1fr; } .prog-block__intro { position: static; } }

/* Callout */
.callout { background: var(--teal-deep); color: #e5f3f1; border-radius: var(--radius-lg); padding: clamp(var(--space-8), 5vw, var(--space-12)); display: grid; grid-template-columns: 1fr auto; gap: var(--space-6); align-items: center; }
.callout h2 { color: #fff; margin-bottom: var(--space-2); }
.callout p { margin: 0; color: #cfe6e3; }
.callout .btn-row { margin: 0; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

/* Ways to help */
.help-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-5); margin-top: var(--space-10); }
.help-card { grid-column: span 6; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-8); }
.help-card--wide { grid-column: span 12; }
.help-card h3 { font-size: var(--text-lg); }
.help-card ul { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: .4rem; font-size: var(--text-sm); color: var(--ink-2); }
.help-card ul li::before { content: '✓'; color: var(--teal-strong); font-weight: 700; margin-right: .55rem; }
@media (max-width: 860px) { .help-card { grid-column: span 12; } }

.referral-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-8); }
.referral-grid > div { border-top: 3px solid var(--teal); padding-top: var(--space-4); }
.referral-grid h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.referral-grid p { font-size: var(--text-sm); color: var(--ink-2); }
@media (max-width: 760px) { .referral-grid { grid-template-columns: 1fr; } }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.chip { font: inherit; font-size: var(--text-sm); font-weight: 500; border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: var(--radius-pill); padding: .5rem 1rem; min-height: 42px; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; }
.chip:hover { border-color: var(--teal); color: var(--teal-deep); }
.chip[aria-pressed="true"] { background: var(--teal-strong); border-color: var(--teal-strong); color: #fff; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.masonry { columns: 3 280px; column-gap: var(--space-4); margin-top: var(--space-8); }
.masonry figure { break-inside: avoid; margin: 0 0 var(--space-4); }
.masonry button { padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; display: block; border-radius: var(--radius-md); overflow: hidden; }
.masonry img { width: 100%; transition: transform .4s; }
.masonry button:hover img { transform: scale(1.03); }
.masonry figure[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; background: rgba(4,22,20,.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: var(--space-6); }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 86vh; max-width: min(92vw, 1200px); width: auto; border-radius: var(--radius-md); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Calendar */
.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: var(--space-8); box-shadow: var(--shadow-sm); }
.cal__bar { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
.cal__nav { display: flex; align-items: center; gap: var(--space-2); }
.cal__title { font-family: var(--font-display); font-size: var(--text-lg); margin: 0 var(--space-3); min-width: 9.5em; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.icon-btn:hover { background: var(--mint); border-color: var(--mint-2); }
.small-btn { font: inherit; font-size: var(--text-sm); font-weight: 600; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-pill); padding: .5rem 1rem; min-height: 44px; cursor: pointer; color: var(--ink-2); }
.small-btn:hover { background: var(--mint); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px; background: var(--paper); }
.seg button { font: inherit; font-size: var(--text-sm); font-weight: 600; border: 0; background: none; padding: .45rem 1rem; border-radius: var(--radius-pill); cursor: pointer; color: var(--muted); min-height: 38px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--teal-deep); box-shadow: var(--shadow-sm); }
.cal__filters { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--line); background: var(--paper); }
.cal__filters .chip { min-height: 36px; padding: .35rem .8rem; font-size: var(--text-xs); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__dow { font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; padding: var(--space-2) 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.cal__day { min-height: 118px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal__day:nth-child(7n) { border-right: 0; }
.cal__day.is-out { background: #fafcfb; }
.cal__day.is-out .cal__date { color: #aab8b5; }
.cal__date { font-size: var(--text-xs); font-weight: 600; color: var(--ink-2); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.cal__day.is-today .cal__date { background: var(--teal-strong); color: #fff; }
.cal__ev { font: inherit; font-size: .75rem; line-height: 1.25; text-align: left; border: 0; border-left: 3px solid var(--c, var(--teal)); background: color-mix(in srgb, var(--c, var(--teal)) 14%, white); color: var(--ink); border-radius: 4px; padding: 4px 6px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.cal__ev:hover { background: color-mix(in srgb, var(--c, var(--teal)) 26%, white); }
.cal__ev.is-cont { border-left-style: dotted; }
.cal__more { font-size: .72rem; color: var(--teal-strong); font-weight: 600; background: none; border: 0; text-align: left; cursor: pointer; padding: 2px 4px; }
.cal__list { padding: var(--space-2) var(--space-5) var(--space-5); }
.cal__list-group { margin-top: var(--space-5); }
.cal__list-group h3 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: var(--space-3); }
.ev-row { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--space-4); align-items: center; padding: var(--space-4); border: 1px solid var(--line); border-left: 4px solid var(--c, var(--teal)); border-radius: var(--radius-md); background: #fff; margin-bottom: var(--space-3); cursor: pointer; text-align: left; font: inherit; width: 100%; color: inherit; }
.ev-row:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.ev-row__date { text-align: center; line-height: 1.1; }
.ev-row__date .m { display: block; font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-strong); }
.ev-row__date .d { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }
.ev-row h4 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; margin: 0 0 .2rem; }
.ev-row .meta { font-size: var(--text-sm); color: var(--muted); }
.ev-row .go { color: var(--teal-strong); font-weight: 600; font-size: var(--text-sm); white-space: nowrap; }
.cal__empty { text-align: center; padding: var(--space-12) var(--space-6); color: var(--muted); }
.cal__empty strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 400; font-size: var(--text-lg); margin-bottom: var(--space-2); }
.cal__legend { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-xs); color: var(--muted); padding: var(--space-3) var(--space-5); border-top: 1px solid var(--line); }
.cal__legend span { display: inline-flex; gap: .4rem; align-items: center; }
.cal__legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--c); display: inline-block; }
@media (max-width: 760px) {
  .cal__day { min-height: 64px; padding: 4px 2px; align-items: center; }
  .cal__ev { font-size: 0; padding: 0; height: 6px; width: 6px; border-radius: 50%; border: 0; background: var(--c, var(--teal)); display: inline-block; }
  .cal__evs { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; }
  .cal__more { display: none; }
  .cal__day.has-ev { cursor: pointer; }
  .cal__title { min-width: 0; font-size: var(--text-base); margin: 0 var(--space-2); }
  .ev-row { grid-template-columns: 56px 1fr; }
  .ev-row .go { grid-column: 2; }
}
.ev-dialog { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(560px, calc(100vw - 2rem)); box-shadow: 0 30px 80px -20px rgba(4,22,20,.5); color: var(--ink); }
.ev-dialog::backdrop { background: rgba(4,22,20,.55); }
.ev-dialog__head { padding: var(--space-6) var(--space-6) var(--space-4); border-top: 6px solid var(--c, var(--teal)); }
.ev-dialog__head .cat { font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-strong); }
.ev-dialog__head h3 { font-size: var(--text-xl); margin: var(--space-2) 0 0; }
.ev-dialog__body { padding: 0 var(--space-6) var(--space-4); }
.ev-dialog__body dl { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); margin: 0 0 var(--space-4); font-size: var(--text-sm); }
.ev-dialog__body dt { color: var(--teal-strong); }
.ev-dialog__body dd { margin: 0; }
.ev-dialog__body .desc { font-size: var(--text-sm); color: var(--ink-2); white-space: pre-line; }
.ev-dialog__foot { padding: var(--space-4) var(--space-6) var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-2); border-top: 1px solid var(--line); }
.ev-dialog__close { position: absolute; top: 12px; right: 12px; }
.ev-dialog .small-btn { text-decoration: none; display: inline-flex; align-items: center; }

/* Footer */
.site-footer { background: var(--teal-ink); color: #bcd9d5; font-size: var(--text-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-8); padding-block: var(--space-16) var(--space-10); }
.footer-grid h2 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: #7fd8d1; font-weight: 700; margin-bottom: var(--space-4); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-grid a { color: #e1f0ee; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { height: 64px; width: auto; margin-bottom: var(--space-4); }
.footer-brand p { max-width: 34ch; }
.socials { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); }
.socials a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: var(--space-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); font-size: var(--text-xs); color: #93b9b4; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Section heading helper */
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--ink-2); }
.section--deep .section-head p { color: #cfe6e3; }
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* Fixes */
.nav .btn[aria-current="page"] { background: var(--teal-deep); color: #fff; }
.give-embed .fineprint, .section--deep .give-embed .fineprint { color: var(--muted); }
[data-zeffy-donate] { min-height: 420px; }
@media (max-width: 760px) { .cal__title { white-space: nowrap; } .cal__bar { padding: var(--space-3); } }
@media (max-width: 420px) { .cal__nav { gap: 6px; } .cal__nav .icon-btn { width: 38px; height: 38px; } .cal__nav .small-btn { padding: .4rem .75rem; min-height: 38px; } .cal__title { margin: 0 4px; font-size: .98rem; } }
.program-card.program-card--feature li { color: #d5ecea; }
.program-card--half { grid-column: span 6; }
@media (max-width: 640px) { .program-card--half { grid-column: span 12; } }

/* ---- Photo framing fixes (Oct 2026) ---- */
/* Home: Core Youth Development photo shows the whole horse and rider at every width */
.program-card--feature { align-items: center; }
.program-card--feature img { height: auto; min-height: 0; aspect-ratio: 4/3; object-fit: cover; object-position: 45% 55%; border-radius: var(--radius-lg); margin: var(--space-5) var(--space-5) var(--space-5) 0; width: calc(100% - var(--space-5)); }
@media (max-width: 640px) { .program-card--feature img { margin: 0 var(--space-5) var(--space-5); width: calc(100% - 2 * var(--space-5)); max-height: none; min-height: 0; } }
/* Programs: portrait photos keep the student and poster centered */
.prog-block__intro img.pb-img--g-boy-vet-diagram { aspect-ratio: 4/5; object-position: 50% 30%; }
/* Our Horses: show each horse's whole head (photo is never cropped) */
.horse-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--mint); }
.horse-card__media::before { content: ""; position: absolute; inset: -20px; background: var(--bg) center/cover no-repeat; filter: blur(18px) saturate(1.1); opacity: .55; }
.horse-card .horse-card__media img { position: relative; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
/* Events: ongoing program labels fit inside their date column */
.ev-row { grid-template-columns: 104px 1fr auto; }
.ev-row__date .m { letter-spacing: .06em; overflow-wrap: anywhere; }
@media (max-width: 640px) { .ev-row { grid-template-columns: 84px 1fr; } .ev-row__date .m { font-size: .62rem; letter-spacing: .03em; } }
a.ev-row, a.ev-row:hover { text-decoration: none; }
a.ev-row:hover .go { text-decoration: underline; }
/* Memorial card (Jiffy) */
.horse-card--memorial { border-color: #d9cbb0; background: #fdfaf4; }
.horse-card--memorial .horse-card__media img { filter: saturate(.85); }
.memorial-ribbon { position: absolute; left: var(--space-3); bottom: var(--space-3); background: rgba(253,250,244,.94); color: var(--teal-deep); font-family: var(--font-display); font-style: italic; font-size: var(--text-sm); padding: .3rem .8rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.horse-card--memorial .role { color: #8a6d3b; }
/* Home hero: lighter overlay so the photo shows through */
.hero__media::after { background: linear-gradient(90deg, rgba(5,30,28,.62) 0%, rgba(5,30,28,.40) 50%, rgba(5,30,28,.12) 100%); }
.hero h1, .hero p, .hero__proof { text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 2px 18px rgba(0,0,0,.35); }
@media (max-width: 640px) { .hero__media::after { background: rgba(5,30,28,.55); } }

/* Newsletter sign-up band */
.newsletter-band .narrow > h2 { text-align: center; margin-bottom: var(--space-2); }
.newsletter-band .narrow > p { text-align: center; margin: 0 auto var(--space-6); max-width: 36rem; }

/* Legal pages and FAQ */
.legal-hero { padding-bottom: var(--space-6); }
.legal-hero .narrow { text-align: left; }
.legal-body { padding-top: var(--space-8); }
.legal h2 { margin-top: var(--space-10); font-size: var(--text-lg); }
.legal h3 { margin-top: var(--space-6); font-size: var(--text-base); }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: var(--space-2); }
.legal a, .faq-answer a { color: var(--teal-strong); text-decoration: underline; }
.faq-list { display: grid; gap: var(--space-3); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--teal-strong); font-weight: 700; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
.faq-answer p { margin: var(--space-3) 0 0; color: var(--ink-2); line-height: 1.7; }
.footer-bottom a { color: inherit; text-decoration: underline; }
