/* Handle With Care Ranch — site styles (independent of Appraisals) */
:root {
  --ink: #152018;
  --forest: #243528;
  --moss: #3d5a42;
  --sage: #6f8f74;
  --mist: #e6ebe4;
  --fog: #f3f5f1;
  --sand: #c9b896;
  --sand-soft: #efe8d8;
  --gold: #b8954a;
  --gold-deep: #9a7a38;
  --cream: #fbfaf6;
  --white: #ffffff;
  --muted: #5a6b5c;
  --line: rgba(21, 32, 24, 0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(21, 32, 24, 0.06), 0 12px 32px -18px rgba(21, 32, 24, 0.35);
  --max: 1160px;
  --nav-h: 76px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--forest);
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 0.5em; }
h3 { font-size: 1.3rem; margin: 0 0 0.4em; }
h4 { font-size: 1.05rem; margin: 0 0 0.4em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.3rem; }

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: min(40rem, 100%);
  overflow-wrap: break-word;
}

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 44rem; }
.prose { max-width: 42rem; }
.prose h2:not(:first-child) { margin-top: 2rem; }

.about-herd {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.about-herd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 5;
}
.center { text-align: center; }
.center .lede, .center .btn-row { margin-inline: auto; justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--forest); color: var(--white);
  padding: 0.75rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* —— Section rhythm —— */
.section { padding: clamp(3.25rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.section-alt { background: var(--fog); }
.section-sand { background: var(--sand-soft); }
.section-dark { background: var(--forest); color: rgba(255, 255, 255, 0.86); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lede { color: rgba(255, 255, 255, 0.78); }
.section-dark a:not(.btn) { color: var(--sand); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.75rem;
}
.section-dark .section-label { color: var(--sand); }

.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head .lede { margin-top: 0.25rem; }
.section-head-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem 2rem; margin-bottom: 2.25rem;
}
.section-head-row .section-head { margin-bottom: 0; }

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; line-height: 1.2;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background: #c9a75a; color: var(--ink); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-light { background: var(--white); color: var(--forest); border-color: var(--white); }
.btn-light:hover { background: var(--mist); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.link-arrow { font-weight: 500; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* —— Header / nav —— */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h); gap: 1rem;
}
.brand {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 550;
  color: var(--forest); text-decoration: none; letter-spacing: -0.01em; line-height: 1.2;
}
.brand span {
  display: block; font-family: var(--font-body); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem;
}
.nav-toggle {
  display: none; font: inherit; font-size: 0.9rem; font-weight: 500;
  background: transparent; border: 1px solid var(--forest); border-radius: 999px;
  color: var(--forest); padding: 0.5rem 0.95rem; cursor: pointer;
}
.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 0.15rem;
}
.nav-links > li { position: relative; }
.nav-links a, .nav-links .nav-menu-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font: inherit; font-size: 0.93rem; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 0.55rem 0.75rem; border-radius: 999px;
  background: none; border: 0; cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links .nav-menu-btn:hover,
.nav-links a[aria-current="page"], .nav-links > li.is-current > .nav-menu-btn {
  background: var(--mist); color: var(--forest);
}
.nav-menu-btn svg { width: 0.8rem; height: 0.8rem; transition: transform 0.2s var(--ease); }
.nav-menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-submenu {
  list-style: none; margin: 0; padding: 0.5rem;
  position: absolute; top: calc(100% + 0.5rem); left: 0; min-width: 16.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); display: none; z-index: 20;
}
.nav-submenu li { margin: 0; }
.nav-submenu a { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; gap: 0.05rem; width: 100%; padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); }
.nav-submenu a small { font-size: 0.78rem; font-weight: 400; color: var(--muted); }
.nav-links > li.is-open > .nav-submenu { display: block; }
.nav-cta { margin-left: 0.5rem; }
.nav-cta a { background: var(--forest); color: var(--white); padding: 0.62rem 1.1rem; }
.nav-cta a:hover { background: var(--moss); color: var(--white); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav-bar nav { position: absolute; top: 100%; left: 0; right: 0; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.25rem; max-height: calc(100vh - var(--nav-h)); overflow: auto;
    box-shadow: 0 24px 40px -24px rgba(21, 32, 24, 0.4);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a, .nav-links .nav-menu-btn { width: 100%; justify-content: space-between; padding: 0.8rem 0.75rem; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav-submenu a { justify-content: flex-start; }
  .nav-submenu { position: static; box-shadow: none; border: 0; background: var(--fog); min-width: 0; margin: 0.15rem 0 0.5rem; padding: 0.35rem; }
  .nav-cta { margin: 0.75rem 0 0; }
  .nav-cta a { justify-content: center; }
}

/* —— Home hero —— */
.hero {
  position: relative; min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--forest); overflow: hidden;
}
.hero-carousel, .hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; z-index: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(21, 32, 24, 0.2) 0%, rgba(21, 32, 24, 0.45) 45%, rgba(21, 32, 24, 0.86) 100%);
}
.hero-inner {
  position: relative; z-index: 3; min-width: 0;
  padding: 5rem 0 3rem;
}
.hero .eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sand); margin: 0 0 1rem;
}
.hero h1 { color: var(--white); max-width: 28ch; font-size: clamp(2.5rem, 5.4vw, 4.1rem); margin-bottom: 0.45em; }
.hero .lede { color: rgba(255, 255, 255, 0.85); max-width: 36rem; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 1.5rem; margin-top: 1.75rem; }
.hero .btn-row { margin-top: 0; }
.hero-controls { display: flex; align-items: center; gap: 0.45rem; }
.hero-icon-btn, .hero-dot {
  color: var(--white); background: rgba(21, 32, 24, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4); cursor: pointer;
}
.hero-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.35rem; height: 2.35rem; padding: 0; border-radius: 50%; }
.hero-icon-btn svg { width: 1.1rem; height: 1.1rem; display: block; }
.hero-pause .icon-play { display: none; }
.hero-pause.is-paused .icon-pause { display: none; }
.hero-pause.is-paused .icon-play { display: block; }
.hero-icon-btn:hover, .hero-dot:hover, .hero-icon-btn:focus-visible, .hero-dot:focus-visible { border-color: var(--gold); }
.hero-dots { display: flex; gap: 0.4rem; }
.hero-dot { width: 0.7rem; height: 0.7rem; padding: 0; border-radius: 50%; }
.hero-dot.is-active { background: var(--gold); border-color: var(--gold); }
.hero .eyebrow, .hero h1, .hero .lede, .hero .hero-actions { opacity: 0; animation: riseIn 0.9s var(--ease) forwards; }
.hero h1 { animation-delay: 0.15s; }
.hero .lede { animation-delay: 0.3s; }
.hero .hero-actions { animation-delay: 0.45s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-strip {
  background: var(--forest); color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-strip .container {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; align-items: center;
  min-height: 3.4rem; font-size: 0.92rem;
}
.hero-strip span::before { content: "✓"; color: var(--gold); margin-right: 0.5rem; font-weight: 700; }

@media (max-width: 700px) {
  .hero { min-height: 82vh; }
  .hero-inner { padding: 3.5rem 0 1.75rem; }
  .hero .lede { font-size: 1.02rem; }
  .hero-actions, .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero-controls { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero .eyebrow, .hero h1, .hero .lede, .hero .hero-actions { animation: none; opacity: 1; }
  .btn:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* —— Inner page hero —— */
.page-hero { background: var(--forest); color: var(--white); padding: 3.5rem 0 3rem; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(255, 255, 255, 0.8); }
.page-hero .section-label { color: var(--sand); }
.page-hero .btn-row { margin-top: 1.5rem; }
.page-hero-photo { min-height: 26rem; display: flex; align-items: flex-end; padding: 6rem 0 3rem; }
.page-hero-photo img.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21, 32, 24, 0.25), rgba(21, 32, 24, 0.85));
}
.page-hero-photo .container { position: relative; z-index: 1; }
.crumbs { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin: 0 0 1rem; }
.crumbs a { color: rgba(255, 255, 255, 0.85); }

/* —— Steps (How to begin) —— */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 1.75rem 1.5rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 0.9rem;
}
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* —— Experience cards —— */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.exp-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.exp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.exp-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.exp-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.exp-body h3 { margin: 0; font-size: 1.28rem; }
.exp-body p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.exp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 0.75rem; font-size: 0.86rem; }
.exp-price { font-weight: 600; color: var(--forest); }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--mist); color: var(--forest);
}
.badge-now { background: #dfeadf; color: #2b5a34; }
.badge-soon { background: var(--sand-soft); color: var(--gold-deep); }
.badge-consult { background: #e4ebf0; color: #3a5d70; }
.exp-card .link-arrow { margin-top: 0.4rem; font-size: 0.95rem; }
@media (max-width: 960px) { .exp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .exp-grid { grid-template-columns: 1fr; } }

/* —— Audience strip —— */
.audience-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.audience-strip a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--forest); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.audience-strip a:hover { border-color: var(--forest); background: var(--mist); }
.audience-strip a::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold); }

/* —— Split layouts —— */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-reverse > :first-child { order: 2; }
.split-photo { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.portrait-photo { object-position: center 18%; }
.split-photo-wide { aspect-ratio: 1 / 1; }
.portrait-placeholder {
  aspect-ratio: 4 / 5; border-radius: var(--radius); display: flex; align-items: flex-end;
  padding: 1.5rem; color: var(--white); font-family: var(--font-display); font-size: 1.15rem;
  background: linear-gradient(160deg, var(--moss), var(--forest)); box-shadow: var(--shadow);
}
.portrait-placeholder small { display: block; font-family: var(--font-body); font-size: 0.8rem; opacity: 0.75; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse > :first-child { order: 0; }
  .split-photo, .portrait-placeholder { aspect-ratio: 4 / 3; }
  .about-herd img { aspect-ratio: 3 / 4; }
}

.founder-role {
  font-size: 1.02rem;
  color: var(--forest);
  font-weight: 500;
  margin: -0.35rem 0 1.15rem;
  max-width: 38rem;
}
.cred-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 1.25rem; font-size: 0.95rem; }
.cred-list li { padding-left: 1.1rem; position: relative; margin: 0; }
.cred-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--gold); }
@media (max-width: 600px) { .cred-list { grid-template-columns: 1fr; } }

/* —— Feature / principle cards —— */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.feature ul { color: var(--muted); font-size: 0.95rem; }
.feature-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* —— Credentials carousel (founder page) —— */
.cred-carousel { position: relative; }
.cred-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.cred-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
}
.cred-tab {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest);
  cursor: pointer;
  white-space: nowrap;
}
.cred-tab:hover { border-color: var(--gold); color: var(--gold-deep); }
.cred-tab.is-active,
.cred-tab[aria-selected="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}
.cred-track {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.45rem 0.15rem 0.7rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cred-track::-webkit-scrollbar { display: none; }
.cred-slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 min(22rem, 86%);
  scroll-snap-align: start;
  min-height: 24rem;
  padding: 1.7rem 1.7rem 1.5rem;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cred-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px -14px rgba(21, 32, 24, 0.5);
  border-color: var(--sage);
}
.cred-slide:hover .cred-chips li { background: var(--mist); }
.cred-slide h3 { font-size: 1.38rem; margin-bottom: 0.7rem; }
.cred-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.9rem 0 0;
  margin: auto 0 0;
}
.cred-chips li {
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--sand-soft);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}
.cred-slide .link-arrow {
  margin-top: 0.85rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--forest);
  font-size: 0.95rem;
}
.cred-controls { display: flex; flex-shrink: 0; justify-content: flex-end; gap: 0.5rem; }
.cred-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest);
  cursor: pointer;
}
.cred-arrow svg { width: 1.15rem; height: 1.15rem; display: block; }
.cred-arrow:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-deep); }
.cred-arrow:disabled { opacity: 0.35; cursor: default; }
@media (min-width: 800px) {
  .cred-slide { flex-basis: calc(46% - 0.4rem); }
}
@media (max-width: 720px) {
  .cred-toolbar { flex-direction: column; align-items: stretch; }
  .cred-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.15rem; }
  .cred-tabs::-webkit-scrollbar { display: none; }
  .cred-controls { align-self: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .cred-track { scroll-behavior: auto; }
  .cred-slide { transition: none; }
  .cred-slide:hover { transform: none; }
}

/* —— Offer cards (bookable) —— */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.offer { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.7rem; }
.offer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.6rem; }
.offer h3 { font-size: 1.32rem; margin: 0; }
.offer p { color: var(--muted); font-size: 0.97rem; }
.offer p.offer-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest); margin: 0.75rem 0 0.15rem; }
.offer p.offer-price small { font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); margin-left: 0.35rem; }
.offer .btn-row { margin-top: auto; padding-top: 1.1rem; }
.offer-note { font-size: 0.85rem; color: var(--gold-deep); margin-top: 0.5rem; }

/* —— Pathway cards (support / contact) —— */
.pathway-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.pathway {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; text-decoration: none; color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pathway:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage); color: inherit; }
.pathway h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.pathway p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.pathway .link-arrow { display: inline-block; margin-top: 0.75rem; font-size: 0.92rem; }

/* —— Facts list —— */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem 2rem; margin: 0; }
.facts div { border-top: 2px solid var(--sand); padding-top: 0.75rem; }
.facts dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.3rem; }
.facts dd { margin: 0; font-size: 0.97rem; color: var(--ink); }

.status-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; max-width: 40rem; }
.status-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; margin: 0; }
.status-list .badge { margin-top: 0.25rem; white-space: nowrap; }

/* —— Session flow —— */
.session-flow { counter-reset: flow; list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.9rem; }
.session-flow li { position: relative; padding: 1rem 1.25rem 1rem 3.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0; }
.session-flow li::before {
  counter-increment: flow; content: counter(flow);
  position: absolute; left: 1.1rem; top: 1rem; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--forest); color: var(--white); font-size: 0.85rem; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}

/* —— Scope note —— */
.scope-note {
  border-left: 3px solid var(--sand); background: var(--white);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.93rem; color: var(--muted); max-width: 48rem;
}
.scope-note > strong { display: block; color: var(--forest); font-weight: 600; margin-bottom: 0.25rem; }
.scope-note ul { margin: 0.6rem 0 0; padding-left: 1.15rem; }
.scope-note li strong { display: inline; color: var(--forest); font-weight: 600; }
.scope-note p { margin: 0.75rem 0 0; }
.scope-note a { color: var(--moss); }
.scope-inline { font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; max-width: 48rem; }
.crisis-note { border-left-color: #b45a3c; }
.crisis-note strong { color: #8a3f27; }

/* —— Horse profiles —— */
.horse-grid { display: grid; gap: 2rem; }
.horse-card { display: grid; grid-template-columns: minmax(240px, 2fr) 3fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.horse-card:nth-child(even) { grid-template-columns: 3fr minmax(240px, 2fr); }
.horse-card:nth-child(even) .horse-photo { order: 2; }
.horse-photo { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.horse-body { padding: clamp(1.5rem, 3vw, 2.5rem); }
.horse-role { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 0.35rem; }
.horse-body h2 { font-size: 2rem; }
.horse-meta { margin: 1.25rem 0 0; display: grid; gap: 1rem; }
.horse-meta dt { font-weight: 600; color: var(--forest); font-size: 0.95rem; margin-bottom: 0.25rem; }
.horse-meta dd { margin: 0; color: var(--muted); font-size: 0.95rem; }
.horse-meta ul { columns: 2; column-gap: 1.5rem; margin: 0; padding-left: 1.1rem; }
.herd-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.herd-strip a { display: block; position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--white); }
.herd-strip img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform 0.6s var(--ease); }
.herd-strip a:hover img { transform: scale(1.03); }
.herd-strip span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 1rem; background: linear-gradient(transparent, rgba(21, 32, 24, 0.85)); font-family: var(--font-display); font-size: 1.3rem; }
.herd-strip small { display: block; font-family: var(--font-body); font-size: 0.78rem; opacity: 0.8; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 760px) {
  .horse-card { grid-template-columns: 1fr; }
  .horse-card:nth-child(even) .horse-photo { order: 0; }
  .horse-photo { aspect-ratio: 4 / 3; }
  .horse-meta ul { columns: 1; }
  .herd-strip { grid-template-columns: 1fr; }
  .herd-strip img { aspect-ratio: 16 / 10; }
}

/* —— FAQ —— */
.faq-list { max-width: 46rem; display: grid; gap: 0.75rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.05rem 1.25rem; font-family: var(--font-display); font-size: 1.15rem; color: var(--forest); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-body); color: var(--gold-deep); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item > div { padding: 0 1.25rem 1.15rem; color: var(--muted); font-size: 0.98rem; }

/* —— Form —— */
.form { display: grid; gap: 1rem; max-width: 36rem; }
.form label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.3rem; color: var(--forest); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 0.7rem 0.85rem;
  border: 1px solid rgba(21, 32, 24, 0.25); border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
}
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form .hint { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
.checkbox-row { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; }
.checkbox-row input { width: 1.1rem; height: 1.1rem; margin-top: 0.3rem; }
.checkbox-row label { font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.form-success { display: none; background: var(--white); border: 1px solid var(--sage); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.form-success.is-visible { display: block; }
.contact-aside { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.contact-aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; font-size: 0.97rem; }
.calendly-wrap { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.calendly-inline-widget { width: 100%; }
.list-plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }

/* —— CTA band —— */
.cta-band { text-align: center; }
.cta-band .lede { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-panel {
  background: var(--forest); color: var(--white); border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.cta-panel h2 { color: var(--white); margin-bottom: 0.4em; }
.cta-panel p { color: rgba(255, 255, 255, 0.8); }
.cta-panel .btn-row { justify-content: flex-end; margin-top: 0; }
@media (max-width: 760px) { .cta-panel { grid-template-columns: 1fr; } .cta-panel .btn-row { justify-content: flex-start; } }

/* —— Related links —— */
.related { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.related a { display: inline-block; padding: 0.55rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-size: 0.92rem; color: var(--forest); }
.related a:hover { border-color: var(--forest); }

/* —— Footer —— */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 3.5rem 0 2rem; font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); margin-bottom: 0.5rem; }
.footer-col h4 { color: var(--sand); font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer-scope { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); max-width: 60rem; }
.footer-bottom { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.utility-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* —— Mobile sticky CTA —— */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 4.5rem; }
  .mobile-cta {
    display: flex; gap: 0.6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(251, 250, 246, 0.96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }
  .mobile-cta .btn { flex: 1; font-size: 0.9rem; padding: 0.75rem 1rem; white-space: nowrap; }
  .mobile-cta .btn-outline { flex: 0 0 auto; }
}

/* —— Utilities —— */
.gallery-teaser { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.gallery-teaser img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); width: 100%; }
@media (max-width: 600px) { .gallery-teaser { grid-template-columns: repeat(2, 1fr); } }

/* —— Gallery —— */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: sticky;
  top: var(--nav-h);
  z-index: 80;
  margin: 0 0 1.75rem;
  padding: 0.7rem 0 0.75rem;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.gallery-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.22rem 0.85rem 0.22rem 0.22rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest);
  cursor: pointer;
  white-space: nowrap;
}
.gallery-filter-thumb {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--mist);
}
.gallery-filter:hover { border-color: var(--gold); color: var(--gold-deep); }
.gallery-filter.is-active,
.gallery-filter[aria-pressed="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}
@media (max-width: 720px) {
  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.65rem 0 0.7rem;
    margin-bottom: 1.25rem;
  }
  .gallery-filters::-webkit-scrollbar { display: none; }
}

.gallery-groups {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.gallery-group h2 {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  column-gap: 1rem;
  row-gap: 1.45rem;
  margin-top: 1.5rem;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: transparent;
  padding: 0;
  border-radius: 6px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-body);
  color: inherit;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  opacity: 0.88;
}

.gallery-caption {
  display: block;
  padding: 0.55rem 0 0;
  font-size: 0.92rem;
  color: var(--forest);
  text-align: center;
}

.gallery-lightbox {
  max-width: min(92vw, 960px);
  padding: 1rem 1rem 1.25rem;
  border: none;
  background: var(--fog);
}

.gallery-lightbox::backdrop {
  background: rgba(21, 32, 24, 0.72);
}

.gallery-lightbox-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.gallery-nav {
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest);
  cursor: pointer;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  border-color: var(--moss);
}

.gallery-lightbox img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: var(--mist);
  border-radius: 6px;
}

.gallery-lightbox-caption {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.manage-login {
  max-width: 22rem;
}

.manage-login label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.manage-login input {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 1rem;
}

.manage-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.manage-toolbar label:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.manage-toolbar select {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
}

.manage-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.manage-row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.manage-row img {
  width: 7rem;
  height: 7rem;
  object-fit: cover;
  background: var(--mist);
}

.manage-fields {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.manage-fields input,
.manage-fields select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 1rem;
}

.manage-row-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (max-width: 700px) {
  .manage-row {
    grid-template-columns: 1fr;
  }
}
