/* ==========================================
   SSPH — Service‑Forward, Story‑Led Home (v2)
   Mobile‑first; clean editorial look
   Palette: Charcoal / Saddle / Sand (no green)
   ========================================== */
/* ==========================================
   SSPH — Clean, Service-Forward Site (v3)
   Mobile-first; single source of truth
   ========================================== */

/* ---------- Design tokens ---------- */
:root{
  --ink:#1B1F23;       /* primary text */
  --muted:#5c6166;     /* secondary text */
  --bg:#ffffff;        /* page */
  --sand:#F4EFE8;      /* soft section bg */
  --gray:#E8E8E8;      /* lines */
  --accent:#9A6A3A;    /* saddle brown accent */
  --cta:#8C5A3C;       /* copper CTAs */
  --radius:16px;
  --radius-lg:24px;
  --shadow:0 10px 24px rgba(0,0,0,.08);
  --maxw:1200px;
  --hero-side-pad: clamp(16px, 6vw, 80px);
}

/* ---------- Resets & utilities ---------- */
*{ box-sizing:border-box }
html,body{ margin:0; padding:0; background:var(--bg); color:var(--ink);
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial }
img{ max-width:100%; height:auto; display:block }
a{ color:var(--cta); text-decoration:none }
a:hover{ opacity:.9 }
.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 16px }
.flex-row{ display:flex; align-items:center; gap:16px }
.center{ text-align:center }
.small{ font-size:.9rem; color:var(--muted) }
.list{ list-style:none; margin:0; padding:0 }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0 }

/* Display/script treatment */
.display{ font-family:'Alex Brush', cursive; font-size:1.4rem; line-height:1 }
.sub{ display:block; font-weight:700; letter-spacing:.2px; margin-top:2px }
.script{ 
  font-family:'Alex Brush', cursive;}
.trainingMore {
  font-size: 2em !important; }
.lede {
  font-size: 16px;
  font-style: italic;
}

/* ---------- Buttons ---------- */
.btn{ display:inline-block; border:1px solid transparent; border-radius:999px;
  padding:12px 18px; font-weight:700 }
.btn-primary{ background:var(--cta); color:#fff }
.btn-secondary{ background:#fff; border-color:var(--cta); color:var(--cta) }
.btn-outline{ background:transparent; border-color:var(--ink); color:var(--ink) }
.btn-ghost{ background:transparent; border-color:transparent; color:#111 }

/* Wider right-edge CTA only */
.site-nav .nav-cta{ padding:12px 28px; min-width:190px; text-align:center }

/* =========================================================
   HEADER — Logo hard-left; socials (top) + nav (bottom) on right
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:40;
  background:var(--sand);
  border-bottom:1px solid var(--gray);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 12px;   /* tighten to edges */
  gap:16px;
}

/* Logo block (LEFT) */
.logo{
  display:flex; align-items:center; gap:10px;
  color:var(--ink); text-decoration:none;
  flex:0 0 auto;               /* stay left, don't grow */
  min-width:0;
  margin-left:-2px;            /* tiny edge hug */
}
.logo-mark{ height:56px; width:auto; display:block }
.logo-text{ display:flex; flex-direction:column; line-height:1; white-space:nowrap }
.logo-line.script{ font-family:'Alex Brush', cursive; font-size:clamp(1.8rem, 3vw, 2.6rem) }
.logo-line.sub{ letter-spacing:.2px; margin-top:2px; font-size:clamp(0rem, 1.5vw, 1rem) }

/* RIGHT column: socials ABOVE nav, aligned right */
.header-right{
  display:flex; flex-direction:column; align-items:flex-end; gap:6px;
  margin-left:auto;     /* pushes the whole column to the far right */
}

/* Social row (smaller + subtle) */
.header-right .social{ display:flex; gap:12px }
.header-right .social a{ font-size:.8rem; color:#555 }

/* Nav row */
.header-right .site-nav{ display:flex; gap:20px; align-items:center }
.header-right .site-nav a{ color:var(--ink); padding:8px 0 }

/* Mobile menu button (shows <900px) */
.menu-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border:1px solid var(--gray); border-radius:10px; background:#fff;
}
.hamburger{ width:18px; height:2px; background:#333; position:relative }
.hamburger::before,.hamburger::after{ content:""; position:absolute; left:0; width:18px; height:2px; background:#333 }
.hamburger::before{ top:-6px } .hamburger::after{ top:6px }

/* Desktop visibility */
@media (min-width:900px){
  .menu-toggle{ display:none }
}

/* =========================================================
   HERO — Full-bleed image, headline bottom-left
   ========================================================= */
.hero--editorial.hero--fullbleed{
  position:relative; min-height:85vh;
  display:flex; align-items:flex-end; justify-content:flex-start;
}
.hero--fullbleed .hero-media{ position:absolute; inset:0; z-index:0 }
.hero--fullbleed .hero-media img{ width:100%; height:100%; object-fit:cover; object-position:center }
.hero--fullbleed::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.15));
  border-bottom:4px solid #000;
}
.hero--fullbleed .hero-copy{
  position:relative; z-index:2; background:transparent; box-shadow:none; border-radius:0;
  margin:0; padding:40px var(--hero-side-pad) 60px var(--hero-side-pad);
  text-align:left; max-width:min(640px, 95vw);
}
.hero--fullbleed .hero-copy h1,
.hero--fullbleed .hero-copy .lede{ color:#fff }
.hero--fullbleed .btn-ghost{ color:#fff; border-color:rgba(255,255,255,.7) }
@media (min-width:900px){
  .hero--editorial.hero--fullbleed{ min-height:90vh }
  .hero--fullbleed .hero-copy{ padding:60px var(--hero-side-pad) 80px var(--hero-side-pad) }
}

/* Story strip (under hero) */
.story-strip{ background:#fff; padding:28px 0 14px; margin-top:18px }
.story-lede{ margin:0 auto; text-align:center; color:var(--muted); font-size:1.1rem; max-width:900px; line-height:1.5 }

/* =========================================================
   SERVICES
   ========================================================= */
.services{ padding:60px 0; border-top:1px solid var(--gray); border-bottom:1px solid var(--gray) }
.section-title{ font-size:clamp(1.5rem, 2.8vw, 2.4rem); margin:0 0 12px; font-family:'Alex Brush', cursive; font-weight:normal; color:var(--ink); text-align:center }
.section-sub{ display:none } /* per your request */
.service-grid{ display:grid; grid-template-columns:1fr; gap:16px }
.service{ display:grid; grid-template-columns:1fr; gap:10px; background:#fff; border:1px solid var(--gray);
  border-radius:var(--radius); overflow:hidden; box-shadow:0 4px 10px rgba(0,0,0,.06);
  transition:box-shadow .25s ease, transform .25s ease, border-color .25s ease }
.service:hover, .service:focus-within{ box-shadow:0 14px 30px rgba(0,0,0,.15); transform:translateY(-3px); border-color:transparent }
.service-media img{ width:100%; height:200px; object-fit:cover }
.service-body{ padding:14px }
.service h3{ margin:.25rem 0 .5rem; font-size:1.15rem }
.service .link{ font-weight:700 }
@media (min-width:800px){ .service-grid{ grid-template-columns:repeat(2,1fr) } }
@media (min-width:1150px){ .service-grid{ grid-template-columns:repeat(3,1fr) } }

/* =========================================================
   ABOUT STRIP
   ========================================================= */
.about-strip{ background:var(--sand); padding:28px 0 }
.about-wrap{ display:grid; grid-template-columns:1fr; gap:16px; align-items:center }
.about-media img{ width:100%; height:260px; object-fit:cover; border-radius:var(--radius);
  border:1px solid rgba(0,0,0,.12); box-shadow:0 6px 18px rgba(0,0,0,.06) }
.actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px }
@media (min-width:900px){ .about-wrap{ grid-template-columns:1.1fr .9fr } .about-media img{ height:320px } }

/* =========================================================
   FEATURED SALES
   ========================================================= */
.featured{ padding:36px 0 }
.cards{ display:grid; grid-template-columns:1fr; gap:16px }
.card{ background:#fff; border:1px solid var(--gray); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow) }
.card-body{ padding:14px }
.card .meta{ color:var(--muted) }
@media (min-width:740px){ .cards{ grid-template-columns:repeat(2,1fr) } }
@media (min-width:1100px){ .cards{ grid-template-columns:repeat(3,1fr) } }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-strip{ background:var(--sand); padding:10px 0; border-top:1px solid var(--gray); border-bottom:1px solid var(--gray) }
.scroll-strip{ display:flex; gap:10px; overflow:auto; padding:0 16px; scroll-snap-type:x mandatory }
.scroll-strip img{ width:260px; height:180px; object-fit:cover; border-radius:12px; scroll-snap-align:start; flex:0 0 auto; border:1px solid var(--gray); background:#fff }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{ background:var(--accent); color:#fff }
.cta-band .container{ display:flex; justify-content:center; align-items:center; padding:22px 0 }
.cta-title{ margin:0; text-align:center; font-size:1.3rem }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background:#0f1214; color:#dcdcdc; padding:28px 0 }
.footer-grid{ display:grid; gap:16px; grid-template-columns:1fr }
.footer-grid a{ color:#f0d9c8 }
@media (min-width:800px){ .footer-grid{ grid-template-columns:2fr 1fr 1fr } }

/* =========================================================
   STICKY MOBILE QUICK BAR
   ========================================================= */
.sticky-mobile{ position:sticky; bottom:0; z-index:999; display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--gray) }
.sticky-mobile a{ display:block; text-align:center; background:#fff; padding:12px 0; font-weight:700 }
@media (min-width:900px){ .sticky-mobile{ display:none } }

/* =========================================================
   TRAINING HTML PAGE
   ========================================================= */

/* Page hero (compact) */
.page-hero{ background:var(--sand); border-bottom:1px solid var(--gray); padding:28px 0 }
.page-title{ margin:0; font-size:clamp(1.6rem, 3vw, 2.4rem) }
.page-title .script{ font-size:2em }
.page-sub{ color:var(--muted); margin:.25rem 0 1rem }
/* Mini hero for inner pages */
.hero--mini{
  position:relative; min-height:50vh; /* smaller than home */
  display:flex; align-items:flex-end; justify-content:flex-start;
}
@media (min-width:900px){ .hero--mini{ min-height:60vh } }
.hero--mini .hero-media{ position:absolute; inset:0; z-index:0; }
.hero--mini .hero-media img{ width:100%; height:100%; object-fit:cover; object-position:center; }
.hero--mini::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.15));
  border-bottom:3px solid #000; /* slightly thinner than home */
}
.hero--mini .hero-copy{
  position:relative; z-index:2; background:transparent; box-shadow:none; border-radius:0;
  padding:32px var(--hero-side-pad) 44px var(--hero-side-pad);
  color:#fff; text-align:left; max-width:min(720px, 95vw);
}
.hero--mini .page-title{ margin:0; font-size:clamp(1.6rem, 3vw, 2.4rem); color:#fff; }
.hero--mini .page-sub{ margin:.25rem 0 1rem; color:#e9e9e9; }

/* Accordion (details) */
/* Refined accordion styling */
.acc{
  border:1px solid var(--gray); border-radius:16px; background:#fff;
  margin:14px 0; overflow:hidden; transition:box-shadow .2s ease, border-color .2s ease;
}
.acc > summary{
  list-style:none; cursor:pointer; padding:14px 16px; position:relative;
  background:#fafafa; /* light header bg */
}
.acc > summary::-webkit-details-marker{ display:none }
.acc > summary h2{
  margin:0; font-size:1.05rem; font-weight:600; color:var(--ink);
}
.acc[open]{ box-shadow:0 10px 24px rgba(0,0,0,.07); border-color:#ddd; }
.acc[open] > summary{ background:#fff; border-bottom:1px solid var(--gray); }

/* subtle caret */
.acc > summary::after{
  content:"▾"; position:absolute; right:14px; top:14px; font-size:1rem; color:#888; transition:transform .2s ease;
}
.acc[open] > summary::after{ transform:rotate(180deg); }

/* body layout */
.acc-body{ display:grid; gap:14px; padding:14px 16px; }
.acc-media img{ width:100%; height:220px; object-fit:cover; object-position:center 68%; border-radius:12px; border:1px solid var(--gray); background:#fff; }
.acc-refresh img{ width:100%; height:220px; object-fit:cover; object-position:center 30%; border-radius:12px; border:1px solid var(--gray); background:#fff; }
.acc-liberty img{ width:100%; height:220px; object-fit:cover; object-position:center 32%; border-radius:12px; border:1px solid var(--gray); background:#fff; }
.acc-showing img{ width:100%; height:220px; object-fit:cover; object-position:center 50%; border-radius:12px; border:1px solid var(--gray); background:#fff; }

.acc-copy .bullets{ padding-left:18px }
.acc-copy .meta{ color:var(--muted) }

@media (min-width:900px){
  .acc-body{ grid-template-columns: .9fr 1.1fr; align-items:start; }
  .acc-media img{ height:260px; }
}

/* small tag/badge for durations */
.badge{
  display:inline-block; font-size:.8rem; background:#f3ede4; color:#6b4c2c;
  padding:4px 10px; border-radius:999px; border:1px solid #e8dccb; margin-left:8px;
}


/* Requirements */
.req-grid{ display:grid; gap:16px; margin-top:10px }
.req-card{ padding:14px; border-radius:16px; border:1px solid var(--gray); background:#fff; box-shadow:0 4px 10px rgba(0,0,0,.04) }
@media (min-width:900px){ .req-grid{ grid-template-columns: 1fr 1fr } }
.note{ color:var(--muted); margin-top:12px }

/* FAQs */
.qa{ border:1px solid var(--gray); border-radius:12px; background:#fff; margin:10px 0 }
.qa > summary{ padding:12px 14px; cursor:pointer }
.qa > summary::-webkit-details-marker{ display:none }
.qa[open] > summary{ background:#fafafa; border-bottom:1px solid var(--gray) }
.qa > div{ padding:12px 14px }


/* ===== SALES HTML ===== */
.sales-controls{ margin:16px 0 8px; }
.filterbar{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.filters{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{
  appearance:none; border:1px solid var(--gray); background:#fff; color:var(--ink);
  border-radius:999px; padding:8px 12px; font-weight:600; cursor:pointer;
}
.chip.is-active{ background:var(--ink); color:#fff; border-color:var(--ink); }
.sales-count{ color:var(--muted); }

/* ===== Horse accordion cards ===== */
.acc-horse{
  border:1px solid var(--gray); border-radius:16px; background:#fff;
  margin:12px 0; overflow:hidden; transition:box-shadow .2s ease, border-color .2s ease;
}
.acc-horse[open]{ box-shadow:0 10px 24px rgba(0,0,0,.07); border-color:#ddd; }

/* summary row */
/* summary row layout: image left, text right */
.acc-horse > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;  /* <-- two columns */
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  background: #fafafa;
}
.acc-horse > summary::-webkit-details-marker { display: none; }

.acc-horse[open] > summary{ background:#fff; border-bottom:1px solid var(--gray); }
.hdr {
  grid-column: 2;
  padding-left: 40px;   /* ensures text sits to the right of the image */
}
.horsesAv {
  font-size: 50px !important;
}
.thumb{
  grid-column: 1;
  width: 160px;      /* unified shape */
  border-radius: 12px;
  border: 1px solid var(--gray);
  overflow: hidden;
  background: #fff;
}
.thumb img{
  width: 100%; height: 100%;
  object-fit: cover;           /* crop to fill, consistent look */
  object-position: center;     /* default focal point (overridable) */
  display: block;
}

.hdr .name{ margin:0; font-size:1.1rem; }
.hdr .tagline{ margin:.15rem 0; color:var(--muted); }
.badges{ display:flex; gap:8px; flex-wrap:wrap; }
.badge{ display:inline-block; font-size:.8rem; background:#f3ede4; color:#6b4c2c; padding:4px 10px; border-radius:999px; border:1px solid #e8dccb; }
.badge--price{ background:#efe9d9; }
.badge--pending{ background:#fff4dd; color:#7a5a10; border-color:#ecd8a4; }

/* expanded body */
.horse-body{ display:grid; gap:14px; padding:14px 16px; background:#f0ede8;}
.media-col .gallery{
  display: flex; gap: 10px; flex-wrap: wrap;
}
.media-col .gallery img{
  aspect-ratio: 4 / 3;         /* unified gallery shape */
  width: clamp(160px, 28vw, 220px);
  height: auto;                /* let aspect-ratio control height */
  object-fit: cover;
  object-position: center;     /* overridable per image */
  border-radius: 12px;
  border: 1px solid var(--gray);
  background: #fff;
}
.horse-body{ display: grid; gap: 16px; padding: 16px; }    /* was 14px */
.media-col .gallery{ gap: 12px; }                          /* was 10px */

.copy-col .bullets{ padding-left:18px; }
.copy-col .meta{ color:var(--muted); }

@media (min-width:900px){
  .acc-horse > summary{ grid-template-columns:160px 1fr; }
  .thumb img{ width:160px; height:110px; }
  .horse-body{ grid-template-columns: .9fr 1.1fr; align-items:start; }
  .media-col .gallery img{ width:220px; height:150px; }
}
/* ============ Sales Information (cards) ============ */
.sales-info { padding: 28px 0 40px; }
.sales-info .section-title { margin-bottom: 12px; }
.info-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
.info {
  background: #fff; border: 1px solid var(--gray); border-radius: 16px;
  padding: 16px; box-shadow: 0 4px 10px rgba(0,0,0,.05);
}
.info h3 { margin: 0 0 8px; font-size: 1.05rem; }
.info p { margin: 0 0 8px; color: var(--ink); }
.info .bullets { padding-left: 18px; }
.info .meta { color: var(--muted); }

@media (min-width: 900px){
  .info-grid { grid-template-columns: 1fr 1fr; }
}

.info-cta {
  margin-top: 8px;
  display: flex; gap: 12px; align-items: center; justify-content: center;
}


/* ===== Consignment band ===== */
.consign-band{
  background: var(--sand);
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  padding: 32px 0;
}
.consign-wrap{
  display: grid; gap: 16px; align-items: center;
  grid-template-columns: 1fr;
}
.consign-copy .lead{ margin: 8px 0 12px; color: var(--ink); font-size: 1.05rem; }
.consign-copy .bullets{ padding-left: 18px; }
.consign-copy .actions{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.consign-media img{
  width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.12); box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
@media (min-width: 980px){
  .consign-wrap{ grid-template-columns: 1.1fr .9fr; }
  .consign-media img{ height: 320px; }
}


/* ===== Testimonials page ===== */
.testimonials-grid{
  display:grid; gap:16px; grid-template-columns:1fr;
}
.tcard{
  background:#fff; border:1px solid var(--gray); border-radius:16px;
  padding:16px; box-shadow:0 4px 10px rgba(0,0,0,.06);
}
.tmedia{
  margin:0 0 10px 0;
  border-radius:12px; overflow:hidden;
  border:1px solid var(--gray); background:#fff;
}
.tmedia img{
  width:100%; height:220px; object-fit:cover; object-position:center;
  display:block;
}
.tesPendl img{
  object-position: center 20%;
}
.tcard blockquote{
  margin:0; font-style:italic; color:var(--ink); line-height:1.5;
}
.tcard .author{
  margin-top:10px; font-weight:600; color:var(--muted);
}
.tcard .tag{
  display:inline-block; margin-left:8px;
  font-weight:600; font-size:.85rem; color:#6b4c2c;
  background:#f3ede4; border:1px solid #e8dccb; border-radius:999px; padding:2px 8px;
}

@media (min-width: 900px){
  .testimonials-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (min-width: 1200px){
  .testimonials-grid{ grid-template-columns:repeat(3, 1fr); }
}

/* CTA card */
.testi-cta{ padding:24px 0 40px; }
.tcta.card{
  background:#fff; border:1px solid var(--gray); border-radius:16px;
  padding:20px; box-shadow:0 6px 18px rgba(0,0,0,.06); text-align:center;
}
.tcta .actions{ margin-top:10px; display:flex; justify-content:center; }
/* ===== Testimonials: clamp long quotes ===== */
.tcard { position: relative; }

/* Structure */
.quote { margin: 0 0 8px; }
.quote-inner {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;  /* show ~6 lines when collapsed */
  overflow: hidden;
  position: relative;
  line-height: 1.5;
}

/* Fade-out at bottom when clamped */
.quote-inner::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 3.2rem;  /* ~2 lines */
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
  transition: opacity .2s ease;
}

/* Expanded state */
.tcard.is-expanded .quote-inner {
  -webkit-line-clamp: unset;
  max-height: none;
}
.tcard.is-expanded .quote-inner::after { opacity: 0; }
/* Read more / less button */
.more-toggle {
  appearance: none;
  border: 1px solid var(--gray);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
}
.more-toggle:hover { background: #fafafa; }

/* Hide the button automatically when not needed */
.more-toggle.is-hidden { display: none; }

/* Optional: small year chips in the controls bar */
.year-filters { display: none; gap: 8px; flex-wrap: wrap; }
.year-filters.is-visible { display: flex; }
/* ===== Testimonials: new filter UX ===== */

/* Group */
.filter-group{ position:relative; }
.filter-toggle{
  appearance:none; cursor:pointer; font-weight:700;
  border:1px solid var(--gray); background:#fff; color:var(--ink);
  border-radius:999px; padding:8px 12px; display:inline-flex; align-items:center; gap:6px;
}
.filter-toggle .chev{ font-size:.85em; opacity:.8; transition:transform .2s ease; }
.filter-group[aria-expanded="true"] .filter-toggle .chev{ transform:rotate(180deg); }

/* Slide-out menu */
.filter-menu{
  position:absolute; left:0; top:calc(100% + 8px);
  display:flex; gap:8px; flex-wrap:wrap;
  max-width:min(70vw, 720px);
  background:#fff; border:1px solid var(--gray); border-radius:12px;
  padding:8px; box-shadow:0 10px 24px rgba(0,0,0,.08);
  visibility:hidden; opacity:0; transform:translateY(-4px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s;
  z-index:20;
}
.filter-group[aria-expanded="true"] .filter-menu{
  visibility:visible; opacity:1; transform:translateY(0);
}

/* Filter options (chips) */
.filter-menu .chip{
  appearance:none; border:1px solid var(--gray); background:#fff; color:var(--ink);
  border-radius:999px; padding:8px 12px; font-weight:600; cursor:pointer;
}
.filter-menu .chip.is-active{ background:var(--ink); color:#fff; border-color:var(--ink); }



/* ===== Testimonials filters: align to card columns ===== */
.t-filters{
  display: grid;
  grid-template-columns: 1fr;          /* mobile: single column */
  align-items: center;
  gap: 12px;
}

/* Left cluster holds Service + Year */
.t-filters .filter-left{ 
  display:flex; 
  gap:10px; 
  flex-wrap:wrap; 
  min-width:0;
}

/* Right count stays on its own track */
.t-filters .filter-right{ 
  justify-self: end; 
  white-space: nowrap; 
  color: var(--muted);
}

/* Tablet: match the grid (2-up cards) -> count over col 2 */
@media (min-width: 900px){
  .t-filters{
    grid-template-columns: 1fr 1fr;    /* 2 columns */
  }
  .t-filters .filter-left{ grid-column: 1; }
  .t-filters .filter-right{ grid-column: 2; justify-self: end; }
}

/* Desktop wide: match the grid (3-up cards) -> count over col 3 */
@media (min-width: 1200px){
  .t-filters{
    grid-template-columns: 1fr 1fr 1fr;  /* 3 columns */
  }
  .t-filters .filter-left{ grid-column: 1; }
  .t-filters .filter-right{ grid-column: 3; justify-self: end; }
}

/* Keep the menus compact so they don't run past the cards */
.t-filters .filter-menu{ max-width: min(70vw, 720px); }
@media (max-width: 600px){
  .t-filters .filter-menu{ max-width: 90vw; }
}

/* A hair less bottom gap so it sits visually 'attached' to row 1 of cards */
.testimonials-controls{ margin: 12px 0 6px; }
/* === Testimonials: align filters to card columns === */
.testimonials-controls .filterbar{
  display: grid !important;       /* override the global .filterbar flex */
  grid-template-columns: 1fr;     /* mobile: 1 col */
  align-items: center;
  gap: 12px;
}

.testimonials-controls .filters{
  grid-column: 1;
  justify-self: start;
}

.testimonials-controls .sales-count{
  grid-column: 1;
  justify-self: end;
  white-space: nowrap;
  color: var(--muted);
}

/* Tablet (your grid is 2-up here) — put the count over column 2 */
@media (min-width: 900px){
  .testimonials-controls{
    grid-template-columns: 1fr 1fr;
  }
  .testimonials-controls .filters{ grid-column: 1; }
  .testimonials-controls .sales-count{ grid-column: 2; justify-self: end; }
}

/* Desktop wide (your grid is 3-up here) — put the count over column 3 */
@media (min-width: 1200px){
  .testimonials-controls {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .testimonials-controls .filters{ grid-column: 1; }
  .testimonials-controls .sales-count{ grid-column: 3; justify-self: end; }
}

/* --- Testimonials: put filters inside the grid --- */
.testimonials-grid { display: grid; gap: 16px; } /* safe if already grid */

.tgrid-controls{
  grid-column: 1 / -1;             /* full-width row inside the grid */
  display: grid;
  grid-template-columns: 1fr;      /* mobile */
  align-items: center;
  gap: 12px;
  margin: 4px 0 8px;               /* breathing room above cards */
}

/* Left cluster (Service + Year) */
.tgrid-controls .filter-left{
  display: flex; gap: 10px; flex-wrap: wrap; min-width: 0;
}

/* Right count */
.tgrid-controls .filter-right{
  justify-self: end;
  white-space: nowrap;
  color: var(--muted);
}

/* Tablet: 2 columns (count aligns over column 2) */
@media (min-width: 900px){
  .tgrid-controls{ grid-template-columns: 1fr 1fr; }
}

/* Desktop wide: 3 columns (count aligns over column 3) */
@media (min-width: 1200px){
  .tgrid-controls{ grid-template-columns: 1fr 1fr 1fr; }
  .tgrid-controls .filter-right{ grid-column: 3; }
}

/* keep popout menus from running past the grid */
.tgrid-controls .filter-menu{ max-width: min(70vw, 720px); }
@media (max-width: 600px){
  .tgrid-controls .filter-menu{ max-width: 90vw; }
}


/* ===== ABOUT page helpers ===== */
.about-intro .two-col,
.about-bio .bio-card{ display:grid; gap:16px; }

.about-intro .two-col{ grid-template-columns: 1fr; align-items:center; }
.about-photo img{ width:100%; height:320px; object-fit:cover; object-position:center; border-radius:16px; border:1px solid var(--gray); background:#fff; }
@media (min-width: 900px){
  .about-intro .two-col{ grid-template-columns: 1.05fr .95fr; }
  .about-photo img{ height:360px; }
}

.bio-card{ grid-template-columns: auto 1fr; align-items:center; gap:16px; }
.avatar{
  width:120px; height:120px; border-radius:999px; overflow:hidden;
  border:1px solid var(--gray); background:#fff;
}
.avatar img{ width:100%; height:100%; object-fit:cover; object-position:center; }
.bio-copy .actions{ margin-top:10px; display:flex; gap:10px; flex-wrap:wrap; }

.care-grid{ display:grid; gap:16px; grid-template-columns:1fr; }
.care{ background:#fff; border:1px solid var(--gray); border-radius:16px; padding:14px; box-shadow:0 4px 10px rgba(0,0,0,.05); }
@media (min-width: 900px){ .care-grid{ grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1200px){ .care-grid{ grid-template-columns: repeat(4,1fr); } }

.value-cards .values{ display:grid; gap:16px; grid-template-columns:1fr; }
.value{ background:#fff; border:1px solid var(--gray); border-radius:16px; padding:16px; }
.value-title{ margin:0 0 6px; font-size:1.05rem; }

/* === Pullquote styling === */
.pullquote {
  text-align: center;
  padding: 40px 20px;
  background: #eddcbb; /* slightly softer than var(--sand) */
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1000px;
}

.pullquote blockquote {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.5;
  color: var(--ink);
}

.pullquote .small {
  color: var(--muted);
}


.aboutFreedom {
object-position: center 20%;}
.aboutLove {
  object-position: center 25%;
}


/* === About page alternating layout === */
.about-row {
  display: grid;
  gap: 20px;
  padding: 40px 0;
  align-items: center;
}
.about-row .about-text { max-width: 650px; }
.about-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--gray);
}
@media (min-width: 900px){
  .about-row { grid-template-columns: 1fr 1fr; }
  .about-row.reverse { direction: rtl; }
  .about-row.reverse .about-text { direction: ltr; }
}
/* === Rotating pullquotes === */
.pullquote.rotating {
  position: relative;
  text-align: center;
  padding: 40px 0;
}

.quote-card {
  display: none;
  max-width: 900px;
  margin: 0 auto;
}
.quote-card.is-active { display: block; }

.quote-card blockquote {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.5;
}
/* === About rows: balance text spacing === */
.about-row .about-text {
  padding-left: 16px;   /* add breathing room when text is on left */
  padding-right: 16px;  /* safe buffer when text is on right */
}

@media (min-width: 900px) {
  .about-row:not(.reverse) .about-text {
    padding-left: 40px;   /* extra space when text is left, desktop */
    padding-right: 0;
  }
  .about-row.reverse .about-text {
    padding-right: 40px;  /* extra space when text is right, desktop */
    padding-left: 0;
  }
}
/* === About page image borders === */
/* About page image borders */
.about-media img {
  border: 4px solid var(--sand);   /* uses same shade as homepage slider */
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
}

/* Pullquote styling */
.pullquote {
  text-align: center;
  padding: 40px 20px;
  background: var(--sand);  /* exact same sandy shade as homepage */
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1000px;
}
/* Soft shadow for sandy pullquote panels */
.pullquote {
  box-shadow: 0 10px 28px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
}
/* Meet Kacey two-photo layout */
/* Meet Kacey two-photo layout (stacked) */
.about-media.two-photos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-media.two-photos img {
  width: 75%;
  height: 320px;
  margin-left: 30px;  
  object-fit: cover;
  border: 4px solid var(--sand);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
}
/* Captions under stacked photos */
.about-media.two-photos figure {
  margin: 0;
}

.about-media.two-photos figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
  text-align: center;
}
/* Captions under all About images */
.about-photo figcaption,
.about-media figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
  text-align: center;
}


@media (min-width: 900px) {
  .about-media.two-photos {
    grid-template-columns: 1fr 1fr;
  }
  .about-media.two-photos img {
    height: 320px;
  }
}


/* Contact page layout */
.hero--small {
  padding: 60px 16px 40px;
  background: var(--sand);
  text-align: center;
}
.contact-grid {
  display: grid;
  gap: 32px;
  padding: 40px 0;
}
.contact-info, .contact-form {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-info h2, .contact-form h2 { margin-top: 0; }
.contact-info p { margin: 0 0 10px; }
.map-wrap { margin-top: 12px; border-radius: var(--radius); overflow: hidden; }
.form label { display: block; margin-bottom: 14px; font-weight: 600; }
.form input, .form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  font-size: 1rem;
}
.form button { margin-top: 8px; }
@media (min-width: 900px){
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contactHero {
  object-position:center 55% !important;
}



/* Gallery grid */
.gallery-grid-wrap { padding: 28px 0 40px; }
.gallery-grid {
  --size: 280px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--size), 1fr));
  gap: 12px;
}
.gallery-grid .gitem img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid var(--sand);
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
}

/* Lightbox */
.lightbox[aria-hidden="true"] { display: none; }
.lightbox[aria-hidden="false"] {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  display: grid; place-items: center; z-index: 9999;
}
.lightbox img {
  max-width: 92vw; max-height: 88vh; border-radius: 12px; border: 4px solid var(--sand);
}
.lightbox-close {
  position: fixed; top: 18px; right: 22px;
  font-size: 2rem; line-height: 1; border: 0; background: transparent; color: #fff; cursor: pointer;
}
.photo-credits {
  text-align: center;
  font-size: 0.8rem;
  font-style: italic;
  color: #777;  /* soft gray */
  margin-top: 2rem;
}
.photo-credits span {
  font-weight: 500; /* makes names stand out slightly */
}
/* ===== MOBILE FIX PATCH (drop-in) ===== */

/* 1) Kill accidental horizontal scroll on narrow phones */
html, body { overflow-x: hidden; }

/* 2) Hide the top desktop nav on mobile (keep your bottom quick bar) */
@media (max-width: 899.98px){
  .header-right .site-nav { display: none; }
  .header-right { align-items: center; }
  .menu-toggle { margin-left: auto; }  /* keeps the hamburger tidy on the right */
}

/* 3) Tighten header spacing so it never forces overflow */
.site-header .container { padding: 10px 12px; }
.logo-mark { max-height: 48px; }

/* 4) Make horizontal scrollers & gallery friendlier on small screens */
.scroll-strip { padding: 0 12px; }
.scroll-strip img { width: 220px; height: 150px; }

.gallery-grid { --size: min(280px, 46vw); } /* lets tiles shrink below 280px on phones */
.gallery-grid .gitem img { height: clamp(160px, 32vw, 220px); }

/* 5) Hero copy padding: avoid vw-padding pushing width on tiny phones */
:root { --hero-side-pad: clamp(12px, 5vw, 80px); }

/* 6) Safety cap for popout filter menus so they can't create overhang */
.filter-menu { max-width: calc(100vw - 24px); }

/* 7) Belt-and-suspenders: ensure common blocks never exceed the viewport */
figure, .card, .service, .acc, .acc-horse, .tcard { max-width: 100%; }
/* === Remove bottom quick bar sitewide === */
.sticky-mobile{ display:none !important; }


/* === Mobile menu === */
.mobile-nav{ display:none; position:relative; }
@media (max-width: 899.98px){
  .header-right .site-nav{ display:none !important; } /* hide desktop nav on phones */
  .mobile-nav{ display:block; }
  .menu-toggle{
    display:inline-flex; align-items:center; justify-content:center;
    width:44px; height:44px; border:1px solid var(--gray); border-radius:10px; background:#fff;
  }
  .hamburger{ width:18px; height:2px; background:#333; position:relative }
  .hamburger::before,.hamburger::after{
    content:""; position:absolute; left:0; width:18px; height:2px; background:#333
  }
  .hamburger::before{ top:-6px } .hamburger::after{ top:6px }

  .mobile-drawer{
    position:absolute; right:0; top:calc(100% + 8px);
    background:#fff; border:1px solid var(--gray); border-radius:12px; box-shadow:var(--shadow);
    padding:8px; display:flex; flex-direction:column; gap:6px; min-width:220px;
    visibility:hidden; opacity:0; transform:translateY(-6px);
    transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index:50;
  }
  .mobile-nav[open] .mobile-drawer{
    visibility:visible; opacity:1; transform:translateY(0);
  }
  .mobile-drawer a{
    padding:10px 12px; border-radius:8px; color:var(--ink);
  }
  .mobile-drawer a:hover{ background:#fafafa; }
}
/* === Sales cards: name + badges inline (top line) === */
.hdr .topline{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}



/* ===== Mobile header-only adjustments (desktop unchanged) ===== */
.mobile-nav{ display:none; position:relative; }

@media (max-width: 899.98px){
  /* Hide socials on phones only */
  .header-right .social{ display:none !important; }

  /* Hide desktop nav on phones; we’ll use the button/drawer */
  .header-right .site-nav{ display:none !important; }

  /* Show the mobile <details> menu */
  .mobile-nav{ display:block; }

  /* Drawer styling */
  .mobile-drawer{
    position:absolute; right:0; top:calc(100% + 8px);
    background:#fff; border:1px solid var(--gray); border-radius:12px;
    box-shadow:var(--shadow); padding:8px;
    display:flex; flex-direction:column; gap:6px; min-width:220px;
    visibility:hidden; opacity:0; transform:translateY(-6px);
    transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index:50;
  }
  .mobile-nav[open] .mobile-drawer{
    visibility:visible; opacity:1; transform:translateY(0);
  }
  .mobile-drawer a{
    padding:10px 12px; border-radius:8px; color:var(--ink);
  }
  .mobile-drawer a:hover{ background:#fafafa; }
}

/* (Your hamburger + .menu-toggle styles are already defined higher in main.css) */


/* ===== Sales card mobile-only tidy (no desktop change) ===== */
@media (max-width: 899.98px){
  .acc-horse > summary{
    grid-template-columns: 120px 1fr;   /* slightly narrower thumb on phones */
    gap: 12px;
    padding: 12px 14px;
  }
  .thumb{ width:120px; }

  .hdr{ padding-left: 0; }              /* remove the extra indent on phones */
  .hdr .tagline{ display: none; }       /* hide the long line under the name */
  .hdr .name{ font-size: 1.05rem; margin: 0; }
  .hdr .badges{ margin-top: 4px; }      /* small space so badges don't jam */
}
/* Sales header layout — MOBILE ONLY */
@media (max-width: 899.98px){
  /* two columns: fixed thumb + flexible text */
  .acc-horse > summary{
    display:grid;
    grid-template-columns: 120px 1fr;
    align-items:center;
    gap:12px;
    padding:12px 14px;
  }

  /* fixed thumb box so it can’t intrude under text */
  .thumb{ width:120px; border-radius:12px; overflow:hidden; }
  .thumb img{ width:120px; height:90px; object-fit:cover; display:block; }

  /* remove desktop left padding on the text block for phones */
  .hdr{ padding-left:3em; }
  .hdr .name{ margin:0; font-size:1.05rem; }
  .hdr .tagline{ margin:.2rem 0 0; } /* keep if you want it visible */
}

/* ===== Gallery: Featured Photographers block ===== */
.gallery-credits {
  padding: 24px 0 8px;
  border-top: 1px solid var(--gray);
}
.gallery-credits-title {
  margin: 0 0 4px;
  text-align: center;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
}
.gallery-credits-sub {
  text-align: center;
  margin: 0 0 14px;
}

.photog { margin: 14px 0 18px; }
.photog-name {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin: 0 0 8px;
  text-align: left;
}

/* Four across on desktop; smooth scroll row on phones */
.photog-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.photog-strip img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid var(--sand);
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
  background: #fff;
}

@media (max-width: 899.98px){
  .photog-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 70%;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }
  .photog-strip img {
    height: 140px;
    scroll-snap-align: start;
  }
}

/* Header above the main gallery grid */
.gallery-all-title { margin-top: 8px; }

.dream3 {
  object-position: center 70%;
}
.dream4 {
  object-position: center 60%;
}
.lucy4 {
  object-position: center 35%;
}
.joe4 {
  object-position:center 80% ;
}
.joe2 {
  object-position: center 60%;
}

/* Alternate alignment for photographer names */
.gallery-credits .photog:nth-of-type(even) .photog-name {
  text-align: right;
}
.gallery-credits .photog:nth-of-type(odd) .photog-name {
  text-align: left;
}
.testi-intro .subtle { margin: .25rem 0 0.75rem; opacity: .85; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  display: inline-block; padding: .25rem .6rem; border-radius: 999px;
  border: 1px solid currentColor; opacity: .75; font-size: .9rem;
}
.center-intro {
  text-align: center;
  padding: 2.5rem 2rem;
  margin: 2rem auto;
}

.testi-intro .subtle {
  margin: .5rem 0 1.5rem;
  opacity: .85;
}

.pill-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
}

.pill {
  display: inline-block;
  padding: .35rem .9rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: .85;
  font-size: .95rem;
}
.testi-intro {
  display: flex;
  justify-content: center; /* center horizontally */
}

.testi-intro .card {
  max-width: 800px;   /* keeps it from stretching edge to edge */
  text-align: center; /* center the text inside */
  padding: 2.5rem 2rem;
  margin: 2rem auto;
}
.pill-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}
/* === Testimonials intro centering & list reset (scoped) === */


/* Some themes style [role="list"] with bullets. Kill them here. */
.testi-intro [role="list"] { 
  list-style: none !important; 
  padding-left: 0 !important; 
  margin-left: 0 !important; 
}
.testi-intro [role="listitem"] { 
  list-style: none !important; 
}

/* Make sure the 'smaller words' (stats line) actually center */
.testi-intro .card p,
.testi-intro .subtle { 
  text-align: center !important; 
  margin: .5rem 0 1.25rem; 
}

/* Pill row layout */
.testi-intro .pill-row { 
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap; 
  gap: .65rem .75rem; 
}

/* Pill appearance */
.testi-intro .pill { 
  display: inline-block; 
  padding: .35rem .9rem; 
  border-radius: 999px; 
  border: 1px solid currentColor; 
  opacity: .9; 
  font-size: .95rem; 
}

/* If you do NOT want any borders on the pills, use this instead: */
/* .testi-intro .pill { border: 0; background: rgba(0,0,0,.06); } */


.sadie3 {
  object-position: center 15% !important;
}