
/* ==========================================
   CONTENIDO DEL BLOG (.blog-content)
   ========================================== */

/* --- TÍTULOS CON JERARQUÍA (Móvil por defecto) --- */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #1A52A8; /* Color de $rose */
  text-align: start;
  margin-top: 32px;
  margin-bottom: 16px;
}

/* Tamaños Base (Pantallas Móviles) */
.blog-content h1 {
  font-size: 32px;
  line-height: 40px;
}

.blog-content h2 {
  font-size: 28px;
  line-height: 36px;
}

.blog-content h3 {
  font-size: 24px;
  line-height: 32px;
}

.blog-content h4 {
  font-size: 20px;
  line-height: 28px;
}

.blog-content h5 {
  font-size: 18px;
  line-height: 26px;
}

.blog-content h6 {
  font-size: 16px;
  line-height: 24px;
}

/* --- Párrafos --- */
.blog-content p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #1E2235; /* Color de $blue-primary */
  margin-bottom: 20px;
}

/* --- Listas Ordenadas (ol) --- */
.blog-content ol {
  counter-reset: item;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.blog-content ol li {
  list-style: none;
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1E2235;
  line-height: 28px;
  text-decoration: none;
}

.blog-content ol li::before {
  counter-increment: item;
  content: counter(item);
  font-size: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #1E2235;
  color: #1E2235;
  border-radius: 50%;
  text-align: center;
  margin-right: 10px;
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
}

/* --- Listas Desordenadas (ul) --- */
.blog-content ul {
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.blog-content ul li {
  position: relative;
  list-style: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: #1E2235;
}

.blog-content ul li::before {
  content: "•";
  color: #1A52A8;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 18px;
  vertical-align: middle;
}

/* --- Bloque de Citas (blockquote) --- */
.blog-content blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  border-left: 4px solid #1A52A8;
  background-color: #f3f4f6;
  border-radius: 0 8px 8px 0;
}

.blog-content blockquote p {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 14px;
  line-height: 28px;
  color: #1E2235;
  margin-bottom: 0;
}

/* --- Enlaces (a) --- */
.blog-content a {
  color: #1A52A8;
  text-decoration: underline;
  font-weight: 500;
  transition: opacity 0.2s ease-in-out;
}

.blog-content a:hover {
  opacity: 0.8;
}

/* --- Imágenes (img) --- */
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
  display: block;
}

/* --- Código e Inline Code (code / pre) --- */
.blog-content pre {
  background-color: #f3f4f6;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
}

.blog-content code {
  font-family: monospace;
  font-size: 14px;
  color: #1A52A8;
  background-color: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
}

.blog-content pre code {
  padding: 0;
  background-color: transparent;
  color: #1E2235;
}

/* --- Tablas --- */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-family: sans-serif;
  font-size: 14px;
}

.blog-content th,
.blog-content td {
  padding: 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.blog-content th {
  background-color: #f3f4f6;
  color: #1A52A8;
  font-weight: 500;
}

.blog-content td {
  color: #1E2235;
}

.blog-card-thumb .blog-card-badge,
.job-thumb .blog-card-badge,
.blog-feature-media .blog-card-badge {
  background: rgba(20, 22, 34, 0.85);
  border-color: rgba(196, 171, 108, 0.6);
  /* opcional: ayuda a que se lea bien incluso en fotos con mucho detalle */
  backdrop-filter: blur(2px);
}



/* ==========================================
   MEDIA QUERIES (Pantallas Grandes / Escritorio)
   ========================================== */
@media (min-width: 640px) {
  
  

  .blog-content h1 {
    font-size: 42px;
    line-height: 52px;
  }

  .blog-content h2 {
    font-size: 36px;
    line-height: 46px;
  }

  .blog-content h3 {
    font-size: 30px;
    line-height: 38px;
  }

  .blog-content h4 {
    font-size: 24px;
    line-height: 32px;
  }

  .blog-content h5 {
    font-size: 20px;
    line-height: 28px;
  }

  .blog-content h6 {
    font-size: 18px;
    line-height: 26px;
  }

  /* Textos de párrafos y listas en escritorio */
  .blog-content p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
  }

  .blog-content ul li {
    font-size: 16px;
    line-height: 26px;
  }
}



.testimonials-track {
  display: flex; /* Asumo que usas flexbox para poner las cards en fila */
  /* Esta es la transición por defecto que usará el JS */
  transition: transform 0.4s ease;
  will-change: transform; /* Optimización de rendimiento */
    width: max-content;
}
.carousel-arrow:disabled { opacity: .3; cursor: not-allowed; }

.carousel-track { width: max-content; }
.carousel-btn:disabled { opacity: .3; cursor: not-allowed; }


.copy-link-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 12px);
  background: #1A1A1A;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}
.copy-link-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.testimonials-track {
  align-items: flex-start;
}

.testimonial-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.testimonial-text.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.testimonial-toggle {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 14px;
  padding: 0;
  background: none;
  border: none;
  color: var(--SAND, #C4AB6C);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.testimonial-toggle:hover,
.testimonial-toggle:focus-visible {
  text-decoration: underline;
}


/* 1. Inicializamos el contador en el contenedor principal de la cuadrícula */
#gallery-grid {
  counter-reset: masonry-counter 0; /* Empieza en 0, para que el primer elemento sume 1 */
}

/* 2. Incrementamos el contador en cada tarjeta */
#gallery-grid .masonry-card {
  counter-increment: masonry-counter;
}

/* 3. Ocultamos el texto original (el 0, 1, 2...) y mostramos el nuevo número formateado */
#gallery-grid .masonry-card-num {
  visibility: hidden; /* Oculta el texto interno original sin romper el espacio del contenedor */
  position: relative;
}

#gallery-grid .masonry-card-num::before {
  content: counter(masonry-counter, decimal-leading-zero); /* Genera: 01, 02, 03... */
  visibility: visible; /* Hace visible el contador de CSS */
  position: absolute;
  left: 0;
  top: 0;
}

/* ─── Gallery modal — captioned image carousel (RelatedGallery) + project
   narrative (Description as "what we did", Html as story) below. Project-level
   prev/next (outside the box) cycles all visible cards; image-level prev/next
   (inside the carousel) cycles that project's RelatedGallery. Cards with no
   RelatedGallery still open the modal, just without the carousel — see
   .gallery-modal-box--no-gallery. ── */
.gallery-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(0,0,0,.92); backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
.gallery-modal-overlay.open { opacity: 1; pointer-events: auto; }

.gallery-modal-box {
  position: relative; width: 100%; max-width: 880px; max-height: 92vh;
  overflow-y: auto; background: var(--CHAR);
}

.gallery-modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,11,20,.55); border: none; cursor: pointer;
  transition: background .2s;
}
.gallery-modal-close:hover { background: rgba(10,11,20,.8); }

/* Image carousel */
.gallery-modal-box--no-gallery .gallery-modal-carousel { display: none; }
.gallery-modal-carousel { position: relative; overflow: hidden; background: var(--DARK); }
.gallery-modal-track { display: flex; transition: transform .35s ease; }
.gallery-modal-slide { position: relative; flex: 0 0 100%; width: 100%; aspect-ratio: 21 / 9; }
.gallery-modal-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-modal-slide-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,11,20,.85) 0%, rgba(10,11,20,0) 100%);
}
.gallery-modal-caption {
  position: absolute; left: 24px; right: 24px; bottom: 16px;
  font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,.85);
}

.gallery-modal-cat {
  position: absolute; top: 16px; left: 16px;
  font-family: 'Articulat CF', sans-serif; font-weight: 700; font-size: 9px;
  color: #fff; letter-spacing: 2.5px; text-transform: uppercase;
  background: var(--B); padding: 4px 10px;
}

.gallery-modal-imgnav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,11,20,.55); border: none; cursor: pointer;
  transition: background .2s;
}
.gallery-modal-imgnav:hover { background: rgba(10,11,20,.8); }
.gallery-modal-imgprev { left: 12px; }
.gallery-modal-imgnext { right: 12px; }

.gallery-modal-imgbar {
  position: absolute; bottom: 12px; right: 16px;
  display: flex; align-items: center; gap: 12px;
}
.gallery-modal-imgcount { font-family: 'Articulat CF', sans-serif; font-weight: 700; font-size: 11px; color: rgba(255,255,255,.6); }
.gallery-modal-dots { display: flex; gap: 6px; }
.gallery-modal-dot {
  width: 6px; height: 6px; border-radius: 50%; padding: 0; border: none; cursor: pointer;
  background: rgba(255,255,255,.4); transition: width .3s, background .3s;
}
.gallery-modal-dot.active { width: 18px; background: var(--SAND); }

/* Content below the carousel */
.gallery-modal-content { padding: 40px; }
@media (max-width: 639px) { .gallery-modal-content { padding: 28px 20px; } }
.gallery-modal-title { font-family: 'Articulat CF', sans-serif; font-weight: 800; font-size: clamp(24px,3vw,32px); color: #fff; line-height: 1.15; letter-spacing: -.5px; margin-bottom: 6px; }
.gallery-modal-loc { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--SAND); margin-bottom: 24px; }

.gallery-modal-whatwedid { margin-bottom: 24px; padding: 16px; background: rgba(26,82,168,.12); border: 1px solid rgba(26,82,168,.25); }
.gallery-modal-whatwedid-label { font-family: 'Articulat CF', sans-serif; font-weight: 700; font-size: 10px; color: var(--B); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.gallery-modal-whatwedid-text { font-family: 'Inter', sans-serif; font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.6; }

.gallery-modal-story { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.gallery-modal-story p { font-family: 'Inter', sans-serif; font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.8; }

.gallery-modal-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--B); border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; color: #fff;
  transition: opacity .2s;
}
.gallery-modal-cta:hover { opacity: .9; }

/* Project-level prev/next — outside the box, over the backdrop */
.gallery-modal-projnav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); cursor: pointer;
  transition: background .2s;
}
.gallery-modal-projnav:hover { background: rgba(255,255,255,.16); }
.gallery-modal-projprev { left: 16px; }
.gallery-modal-projnext { right: 16px; }
@media (min-width: 1024px) { .gallery-modal-projnav { display: flex; } }

.gallery-footer-count {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}


/* ─── Case study modal — image carousel (RelatedGallery) + light content
   panel (Html/Description as story, Item1-3 as bullets) below. Light/white
   theme to match the CREAM bento section, unlike the dark Gallery modal.
   Project-level prev/next (outside the box) cycles all loaded cards;
   image-level prev/next (inside the carousel) cycles that case's
   RelatedGallery. Cards with no RelatedGallery still open the modal, just
   without the carousel — see .case-modal-box--no-gallery. ── */
.case-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(10,11,20,.82); backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
.case-modal-overlay.open { opacity: 1; pointer-events: auto; }

.case-modal-box {
  position: relative; width: 100%; max-width: 980px; max-height: 92vh;
  overflow-y: auto; background: #fff;
}

.case-modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,11,20,.55); border: none; cursor: pointer;
  transition: background .2s;
}
.case-modal-close:hover { background: rgba(10,11,20,.8); }

/* Image carousel */
.case-modal-box--no-gallery .case-modal-carousel { display: none; }
.case-modal-carousel { position: relative; overflow: hidden; background: var(--DARK); }
.case-modal-track { display: flex; transition: transform .35s ease; }
.case-modal-slide { position: relative; flex: 0 0 100%; width: 100%; aspect-ratio: 16 / 9; }
.case-modal-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-modal-slide-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,11,20,.85) 0%, rgba(10,11,20,0) 100%);
}
.case-modal-caption {
  position: absolute; left: 24px; right: 24px; bottom: 16px;
  font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,.85);
}

.case-modal-cat {
  position: absolute; top: 16px; left: 16px;
  font-family: 'Articulat CF', sans-serif; font-weight: 700; font-size: 9px;
  color: #fff; letter-spacing: 2.5px; text-transform: uppercase;
  background: var(--B); padding: 4px 10px;
}

.case-modal-imgnav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,11,20,.55); border: none; cursor: pointer;
  transition: background .2s;
}
.case-modal-imgnav:hover { background: rgba(10,11,20,.8); }
.case-modal-imgprev { left: 12px; }
.case-modal-imgnext { right: 12px; }

.case-modal-imgbar {
  position: absolute; bottom: 12px; right: 16px;
  display: flex; align-items: center; gap: 12px;
}
.case-modal-imgcount { font-family: 'Articulat CF', sans-serif; font-weight: 700; font-size: 11px; color: rgba(255,255,255,.6); }
.case-modal-dots { display: flex; gap: 6px; }
.case-modal-dot {
  width: 6px; height: 6px; border-radius: 50%; padding: 0; border: none; cursor: pointer;
  background: rgba(255,255,255,.4); transition: width .3s, background .3s;
}
.case-modal-dot.active { width: 18px; background: var(--SAND); }

/* Content below the carousel — light theme, matches the CREAM section */
.case-modal-content { padding: 40px; }
@media (max-width: 639px) { .case-modal-content { padding: 28px 20px; } }
.case-modal-title { font-family: 'Articulat CF', sans-serif; font-weight: 800; font-size: clamp(24px,3vw,32px); color: var(--CHAR); letter-spacing: -.5px; margin-bottom: 20px; }

.case-modal-story { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.case-modal-story p { font-family: 'Inter', sans-serif; font-size: 16px; color: #444; line-height: 1.75; }

.case-modal-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.case-modal-item { display: flex; align-items: flex-start; gap: 10px; list-style: none; }
.case-modal-bullet { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 7px; background: var(--B); }
.case-modal-item span { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--MUTED); line-height: 1.6; }

.case-modal-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--B); border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; color: #fff;
  transition: opacity .2s;
}
.case-modal-cta:hover { opacity: .9; }

/* Project-level prev/next — outside the box, over the backdrop */
.case-modal-projnav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); cursor: pointer;
  transition: background .2s;
}
.case-modal-projnav:hover { background: rgba(255,255,255,.16); }
.case-modal-projprev { left: 16px; }
.case-modal-projnext { right: 16px; }
@media (min-width: 1024px) { .case-modal-projnav { display: flex; } }


.gallery-view-all:disabled { opacity: .5; cursor: not-allowed; }


/* ============================================================
   Menu alignment with prototype — 2026-09-30 (dev test)
   custom-style.css loads last, so these override main.css
   without editing the base. Reversible: delete this block.
   ============================================================ */

/* 1) Dropdown / flyout shadow: charcoal tint to match the prototype (was pure black) */
#main-nav .simple-dropdown-inner,
#main-nav .dd-flyout-panel-inner { box-shadow: 0 24px 60px rgba(62, 60, 73, .5); }

/* 2) Hide the "Service Area" states submenu (the 4 state sections stay in the CMS
      and in the HTML); render Service Area as a plain link, like the prototype. */
/* desktop */
#main-nav .dd-flyout-trigger[href="/about/service-area/"] + .dd-flyout-panel { display: none; }
#main-nav .dd-flyout-trigger[href="/about/service-area/"] > svg { display: none; }
/* mobile drill-in */
#mobile-menu .mobile-expand-group:has(.mobile-drill-item[href="/about/service-area/"]) .mobile-expand-toggle,
#mobile-menu .mobile-expand-group:has(.mobile-drill-item[href="/about/service-area/"]) .mobile-expand-sub { display: none; }


/* ============================================================
   FAQ — match the prototype's LIGHT "plain divider row" design
   (instance had a dark boxed accordion). Site-wide: every page uses
   the Skins/Faq skin's .si-faq* classes defined in main.css; this
   block loads last and overrides them. Tokens only, no hex.
   Reversible: delete this block. Prototype ref: FaqSection in
   ProblemSignInnerPage / ServicePage / ResourcesPage.
   ============================================================ */
.si-faq { background: var(--CREAM); }
.si-faq-eyebrow { color: var(--B); }                 /* eyebrow text blue (the SAND rules stay) */
.si-faq-h2 { color: var(--CHAR); }
.si-faq-sub { color: var(--MUTED); }
/* rows: drop the box, keep a single hairline divider between items */
.si-faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--on-light-10); border-radius: 0; margin-bottom: 0; }
.si-faq-q-text { color: var(--CHAR); }
/* "+" icon: no bordered square; charcoal, turns blue and rotates 45° on open */
.si-faq-q-icon { border: 0 !important; }
.si-faq-q-icon svg path { stroke: var(--MUTED); }
.si-faq-item.open .si-faq-q-icon { border-color: transparent; }
.si-faq-item.open .si-faq-q-icon svg path { stroke: var(--B); }
/* answer: dark text on light; prototype has no divider line above the answer */
.si-faq-a-divider { display: none; }
.si-faq-a-text { color: var(--MUTED); }


/* ============================================================
   PRICING HERO stats — match the prototype's transparent stat row.
   The HeroPricing skin reuses the Certified skin's .cert-stats-grid /
   .cert-stat-item classes, which are WHITE cards with a border (built
   for the light Evergreen "Certified" section). On the DARK pricing
   hero that renders as empty white boxes, because .pr-stat-n is #fff
   (white number on a white card). This block (scoped under
   .pr-stats-wrap, so ONLY the pricing hero is affected) restyles those
   cells to the prototype: a flush row of transparent cells, white
   numbers, muted uppercase labels, a sand left-rule on the first cell
   and hairline separators. Tokens only. Reversible: delete this block.
   Prototype ref: PricingPage.tsx HeroSection stat row.
   ============================================================ */
.pr-stats-wrap .cert-stats-grid {
  display: flex; flex-wrap: wrap; gap: 0;
  background: none; border: none; margin-bottom: 0;
}
.pr-stats-wrap .cert-stat-item {
  align-items: flex-start; justify-content: flex-start; text-align: left;
  padding: var(--space-16) var(--space-32);
  background: none;
  border-left: 1px solid var(--on-dark-06);
}
.pr-stats-wrap .cert-stat-item:first-child { border-left: 2px solid var(--SAND); }
.pr-stats-wrap .cert-stat-item:last-child { border-right: 1px solid var(--on-dark-06); }
.pr-stats-wrap .pr-stat-l {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--on-dark-40); margin-top: var(--space-4);
}


/* ============================================================
   PRICING "Cost by Service" — flip the section from the instance's
   DARK theme to the prototype's LIGHT theme (white section, cream
   cards, blue price). The skin section is <section id="cost-by-service"
   class="page-section section-char"> so the live bg is var(--CHAR)
   (dark) and the inner .cost-* text is light-on-dark. Everything here
   is scoped under #cost-by-service (the id is unique to this skin), so
   NO other page using .page-section / .section-char / the shared
   .cost-* classes is affected. main.css already carries a
   #cost-by-service block (dark); this loads last and wins. Tokens
   only. Reversible: delete this block. Ref: PricingPage.tsx
   CostByServiceSection (section SURFACE.base, cards SURFACE.alt=CREAM,
   price = B, tag = blue tint).
   ============================================================ */
#cost-by-service { background: var(--WHITE); }
#cost-by-service .pr-section-sub { color: var(--MUTED); }
#cost-by-service .cost-card { background: var(--CREAM); border-color: var(--on-light-border); }
#cost-by-service .cost-card:hover { border-color: var(--on-light-border); }
#cost-by-service .cost-tag { background: var(--B-12); border-color: var(--B-25); color: var(--B); }
#cost-by-service .cost-h3 { color: var(--CHAR); }
#cost-by-service .cost-range { color: var(--B); }
#cost-by-service .cost-sub { color: var(--on-light-40); }
#cost-by-service .cost-desc { color: var(--on-light-45); }


/* ============================================================
   PRICING "Cost by City" — flip the section from the instance's DARK
   theme to the prototype's CREAM theme (cream section, WHITE photo
   cards, blue price). The skin section is <section id="cost-by-city"
   class="page-section"> so the live bg is var(--DARK) and the
   .pr-city-* text is light-on-dark (the heading is even dark-on-dark
   and barely legible). Scoped under #cost-by-city (unique id), so the
   shared .page-section / .pr-city-* rules used elsewhere are untouched.
   Tokens only. Reversible: delete this block. Ref: PricingPage.tsx
   CostByCitySection (section CREAM, cards SURFACE.base=WHITE, price = B,
   image overlay = the prototype's bottom gradient).
   ============================================================ */
#cost-by-city { background: var(--CREAM); }
#cost-by-city .pr-section-sub { color: var(--MUTED); }
#cost-by-city .pr-city-card { background: var(--WHITE); border-color: var(--on-light-border); }
#cost-by-city .pr-city-range { color: var(--B); }
#cost-by-city .pr-city-note { color: var(--on-light-45); }
#cost-by-city .pr-city-img-ov { background: linear-gradient(to top, var(--on-light-85) 0%, var(--on-light-15) 55%, transparent 100%); }


/* ============================================================
   PRICING "Buyer & Seller" — section bg white → CREAM (prototype),
   /pricing ONLY. The block is the SHARED Skins/DownloadResources skin,
   which renders <section id="resources" style="background:var(--WHITE)">
   on BOTH /pricing (playlist 367, "Buyer & Seller") and /resources
   (playlist 163, the download library). The prototype keeps the
   /resources download section WHITE (ResourcesDownloadSection =
   SURFACE.base) but makes the Buyer & Seller section CREAM — so this is
   scoped to the /pricing instance ONLY, via the skin's unique wrapper
   <div id="skin-367"> that immediately precedes the section. !important
   is required to beat the inline background. The cards (.dl-card) are
   already navy (--surface-panel = prototype SURFACE.panel), so no card
   change. Reversible: delete this rule. Ref: PricingPage.tsx
   BuyerSellerSection (background CREAM, navy cards).
   ============================================================ */
#skin-367 + section#resources { background: var(--CREAM) !important; }

/* ============================================================
   WorkInner (R5 detalle) — START
   Estilos del skin Template/WorkInner (boson 337) — detalle de
   case-study / review / job-story / project. Movidos aquí desde el
   <style> inline del skin (regla del proyecto: Tailwind-first, y lo
   que no sea viable en Tailwind va a custom-style.css con comentarios).
   Casi todo usa tokens (var(--...)), clamp() y valores arbitrarios que
   el Tailwind precompilado (JIT) no genera, por eso viven aquí.
   ============================================================ */
.wi-wrap { font-family: var(--font-body); }
.wi-shell { max-width: 1440px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (min-width: 768px) { .wi-shell { padding-left: 56px; padding-right: 56px; } }

/* Hero */
.wi-hero { background: var(--DARK); }
.wi-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 1024px) { .wi-hero-grid { grid-template-columns: 1fr minmax(0,46%); gap: 56px; padding-top: 64px; padding-bottom: 64px; } }
.wi-eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.wi-badge { padding: 4px 12px; background: rgba(216,203,165,.16); border: 1px solid rgba(216,203,165,.42); font-family: var(--font-heading); font-weight: 600; font-size: 10px; color: var(--SAND); letter-spacing: 2.5px; text-transform: uppercase; }
.wi-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.wi-h1 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(30px,4.4vw,56px); color: #fff; line-height: 1.02; letter-spacing: -1px; margin-bottom: 18px; }
.wi-lead { max-width: 52ch; font-size: 16px; color: rgba(255,255,255,.66); line-height: 1.7; }
.wi-homeowner { font-size: 13.5px; color: rgba(255,255,255,.45); margin-top: 16px; }
.wi-hero-img { position: relative; width: 100%; overflow: hidden; aspect-ratio: 4/3; background: var(--NAVY); }
.wi-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wi-stars { display: inline-flex; align-items: center; gap: 2px; margin-bottom: 16px; }

/* Body */
.wi-body { background: var(--WHITE); padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 1024px) { .wi-body { padding-top: 80px; padding-bottom: 80px; } }
.wi-body-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .wi-body-grid { grid-template-columns: minmax(0,1fr) 340px; gap: 64px; } }
.wi-quote { margin: 0 0 40px; }
.wi-review-quote { font-family: var(--font-heading); font-weight: 700; font-size: clamp(22px,2.6vw,32px); color: var(--DARK); line-height: 1.35; letter-spacing: -.4px; }
.wi-review-foot { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.wi-review-name { display: block; font-weight: 600; font-size: 14px; color: var(--DARK); }
.wi-review-sub { display: block; font-size: 12.5px; color: var(--MUTED); }
.wi-stats { display: flex; flex-wrap: wrap; gap: 32px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid rgba(0,0,0,.08); }
@media (min-width: 1024px) { .wi-stats { gap: 48px; } }
.wi-stat-val { font-family: var(--font-heading); font-weight: 900; font-size: clamp(28px,3.4vw,40px); color: var(--B); line-height: 1; }
.wi-stat-lbl { font-size: 11.5px; color: var(--MUTED); margin-top: 6px; line-height: 1.4; }
.wi-kicker { font-family: var(--font-heading); font-weight: 600; font-size: 10px; color: var(--B); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; }
.wi-prose { max-width: 68ch; color: var(--CHAR); font-size: 16.5px; line-height: 1.78; }
.wi-prose p { margin: 0 0 20px; }
.wi-prose h2, .wi-prose h3 { font-family: var(--font-heading); color: var(--DARK); line-height: 1.2; margin: 28px 0 12px; }
.wi-prose ul, .wi-prose ol { margin: 0 0 20px; padding-left: 22px; }
.wi-prose li { margin-bottom: 8px; }
.wi-inline-fig { margin-top: 40px; }
.wi-inline-fig .wi-fr { position: relative; width: 100%; overflow: hidden; aspect-ratio: 16/9; background: var(--DARK); }
.wi-inline-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wi-cap { font-size: 12.5px; color: var(--MUTED); margin-top: 8px; }

/* Facts sidebar */
.wi-dl { margin: 0; }
.wi-fact-ico { margin-top: 2px; flex-shrink: 0; }
.wi-facts { background: var(--CREAM); border: 1px solid rgba(0,0,0,.1); padding: 24px; }
@media (min-width: 1024px) { .wi-facts-wrap { position: sticky; top: 180px; } }
.wi-facts-h { font-family: var(--font-heading); font-weight: 600; font-size: 10px; color: var(--B); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; }
.wi-fact-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(0,0,0,.08); }
.wi-fact-row:first-of-type { border-top: none; }
.wi-fact-label { font-size: 11px; color: var(--MUTED); margin-bottom: 2px; }
.wi-fact-value { font-weight: 500; font-size: 14px; color: var(--DARK); margin: 0; }
.wi-cta-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; margin-top: 20px; background: var(--B); font-weight: 700; font-size: 14px; color: #fff; border: none; cursor: pointer; transition: background .2s; }
.wi-cta-btn:hover { background: var(--NAVY); }
.wi-tel { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; margin-top: 8px; border: 1.5px solid rgba(0,0,0,.12); font-weight: 600; font-size: 13.5px; color: var(--DARK); text-decoration: none; }

/* Gallery */
.wi-gallery { background: var(--CREAM); padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 1024px) { .wi-gallery { padding-top: 80px; padding-bottom: 80px; } }
.wi-gal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.wi-gal-rule { display: block; width: 20px; height: 2px; background: var(--B); }
.wi-gal-title { font-family: var(--font-heading); font-weight: 700; font-size: 11px; color: var(--B); letter-spacing: 3.5px; text-transform: uppercase; }
.wi-gal-frame { position: relative; width: 100%; overflow: hidden; aspect-ratio: 16/9; background: var(--DARK); }
.wi-gal-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wi-gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 24px; background: linear-gradient(0deg, rgba(62,60,73,.88) 0%, rgba(62,60,73,0) 100%); font-size: 13.5px; color: rgba(255,255,255,.9); }
.wi-gal-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.wi-thumb { position: relative; flex-shrink: 0; width: 132px; height: 88px; border: 2px solid transparent; opacity: .62; background: var(--DARK); cursor: pointer; padding: 0; transition: opacity .2s; }
.wi-thumb[aria-current="true"] { border-color: var(--B); opacity: 1; }
.wi-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Back link + CTA band */
.wi-back-wrap { background: var(--WHITE); }
.wi-back { display: inline-flex; align-items: center; gap: 8px; padding: 32px 0; font-weight: 600; font-size: 13.5px; color: var(--B); text-decoration: none; }
.wi-cta-band { background: var(--NAVY); padding-top: 64px; padding-bottom: 64px; }
.wi-cta-inner { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) { .wi-cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.wi-cta-h { font-family: var(--font-heading); font-weight: 900; font-size: clamp(26px,3.4vw,42px); color: #fff; line-height: 1.05; letter-spacing: -.8px; margin-bottom: 10px; }
.wi-cta-sub { font-size: 15.5px; color: rgba(161,205,241,.9); line-height: 1.65; }
.wi-cta-band-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 32px; flex-shrink: 0; background: #fff; font-weight: 700; font-size: 15px; color: var(--B); border: none; cursor: pointer; }

/* Hero video (video reviews with a YoutubeId) — fills the hero media column */
.wi-hero-video { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--DARK); }
.wi-hero-video .wi-video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Related — "More <kind>" row (prototype <Related>): header + 3-card grid */
.wi-related { background: var(--WHITE); padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 1024px) { .wi-related { padding-top: 80px; padding-bottom: 80px; } }
.wi-related-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.wi-related-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(22px,2.6vw,32px); color: var(--CHAR); letter-spacing: -.5px; }
.wi-related-all { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 13.5px; color: var(--B); text-decoration: none; }
.wi-related-all svg { transition: transform .2s ease; }
.wi-related-all:hover svg { transform: translateX(4px); }
.wi-related-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .wi-related-grid { grid-template-columns: repeat(3, 1fr); } }
.wi-related-card { display: flex; flex-direction: column; background: var(--WHITE); border: 1px solid var(--on-light-border); text-decoration: none; color: inherit; transition: border-color .2s ease; overflow: hidden; }
.wi-related-card:hover { border-color: var(--on-light-25); }
.wi-related-media { display: block; position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--DARK); }
.wi-related-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.wi-related-card:hover .wi-related-media img { transform: scale(1.04); }
.wi-related-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.wi-related-eyebrow { display: flex; align-items: center; gap: 8px; }
.wi-related-service { font-family: var(--font-heading); font-weight: 600; font-size: 9.5px; color: var(--B); letter-spacing: 2px; text-transform: uppercase; }
.wi-related-loc { font-family: var(--font-body); font-size: 11.5px; color: var(--on-light-45); }
.wi-related-stars { display: inline-flex; gap: 2px; }
.wi-related-cardtitle { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--CHAR); line-height: 1.35; }
/* ============================================================
   WorkInner (R5 detalle) — END
   ============================================================ */

/* ============================================================
   Location pages (R6 /locations/<slug>) — START
   ============================================================ */
.loc-hero .wi-shell { padding-top: 56px; padding-bottom: 56px; }
.loc-cta-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 26px; background: var(--B); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 15px; border: none; cursor: pointer; transition: opacity .2s; }
.loc-cta-btn:hover { opacity: .9; }
.loc-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.loc-eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--B); }
.loc-eyebrow-text { font-family: var(--font-heading); font-weight: 700; font-size: 11px; color: var(--B); letter-spacing: 4px; text-transform: uppercase; }
.loc-section { padding-top: 56px; padding-bottom: 56px; background: var(--WHITE); }
@media (min-width: 1024px) { .loc-section { padding-top: 88px; padding-bottom: 88px; } }
.loc-section-alt { background: var(--CREAM); }
.loc-h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px,3.2vw,44px); color: var(--CHAR); line-height: 1.08; letter-spacing: -.6px; margin: 0; }
.loc-mb { margin-bottom: 40px; }
.loc-intro-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1024px) { .loc-intro-grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; } }
.loc-intro-lead p { font-family: var(--font-body); font-size: 17px; color: var(--MUTED); line-height: 1.75; margin: 0; }
.loc-svc-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .loc-svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .loc-svc-grid { grid-template-columns: repeat(4,1fr); } }
.loc-svc { display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; padding: 28px; background: var(--WHITE); border: 1px solid var(--on-light-12, rgba(62,60,73,.12)); text-decoration: none; transition: border-color .2s, transform .2s; }
.loc-svc:hover { border-color: var(--B); transform: translateY(-2px); }
.loc-svc-h3 { font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: var(--CHAR); line-height: 1.2; margin: 0 0 16px; }
.loc-svc-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--B); }
.loc-cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.loc-cta-h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(26px,3vw,40px); color: #fff; line-height: 1.1; margin: 0; }
.loc-cta-sub { font-family: var(--font-body); font-size: 16px; color: rgba(255,255,255,.72); line-height: 1.7; margin: 14px 0 0; max-width: 54ch; }
.loc-cta-btn-lg { margin-top: 28px; padding: 16px 32px; }
.loc-index { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.loc-index-link { display: inline-flex; padding: 8px 16px; background: var(--WHITE); border: 1px solid var(--on-light-12, rgba(62,60,73,.12)); font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--B); text-decoration: none; transition: border-color .2s; }
.loc-index-link:hover { border-color: var(--B); }
/* ============================================================
   Location pages (R6 /locations/<slug>) — END
   ============================================================ */

/* ============================================================
   Service Area explorer → city-page links (R6) — START
   A .sa-city-chip / .sa-search-result carrying .has-page is an <a> that
   navigates to /locations/<slug> (city has a landing page), rendered blue
   with a trailing ↗; cities without a page keep their plain modal button.
   ============================================================ */
.sa-city-chip.has-page { display: inline-flex; align-items: center; gap: 4px; color: var(--B); text-decoration: none; }
.sa-city-chip.has-page:hover { color: var(--NAVY); text-decoration: underline; }
.sa-city-chip-arrow { flex: 0 0 auto; opacity: .7; }
.sa-city-chip.has-page:hover .sa-city-chip-arrow { opacity: 1; }
.sa-search-result.has-page { text-decoration: none; }
.sa-search-result.has-page .sa-search-result-name span { color: var(--B); }
.sa-search-result.has-page .sa-city-chip-arrow { color: var(--B); vertical-align: -1px; }
/* ============================================================
   Service Area explorer → city-page links (R6) — END
   ============================================================ */

/* ============================================================
   Logo size parity with prototype (brand logo swap) — START
   The prototype's nav logo is NOT a fixed size — SharedNavBar.tsx scales it
   across its own custom breakpoints (xxs 384px / xs 416px / wide 1200px,
   from tailwind.css --breakpoint-xxs/-xs/-wide): 28/30/40/48/58/71/84px at
   base/384/416/640/768/1024/1200. Our nav-logo used flat 72/88/104px at
   640/1024/1280 (Tailwind arbitrary-value classes already baked into
   tailwind-generated.css, prebuilt — can't add new ones, see
   expresia-build-not-installed), which read much bigger than the prototype
   at every width. These overrides win by cascade order (custom-style.css
   loads last, equal specificity) without touching the markup's classes.
   Mobile slide-out menu logo mirrors the prototype's flat h-[40px] (no
   responsive scale there — it's a single full-screen overlay context).
   ============================================================ */
#main-nav .nav-logo { height: 28px; }
@media (min-width: 384px)  { #main-nav .nav-logo { height: 30px; } }
@media (min-width: 416px)  { #main-nav .nav-logo { height: 40px; } }
@media (min-width: 640px)  { #main-nav .nav-logo { height: 48px; } }
@media (min-width: 768px)  { #main-nav .nav-logo { height: 58px; } }
@media (min-width: 1024px) { #main-nav .nav-logo { height: 71px; } }
@media (min-width: 1200px) { #main-nav .nav-logo { height: 84px; } }
.mobile-menu-logo { height: 40px; }
/* ============================================================
   Logo size parity with prototype — END
   ============================================================ */

/* ============================================================
   Page header-offset (breadcrumb gap fix) — START
   Every Template page reserves space below the FIXED #site-header with a
   `page-header-offset` wrapper (padding-top) and pins the breadcrumb under it
   with `page-header-offset-top` (sticky top) — both used to be a hardcoded
   Tailwind ladder (pt-[89px]/md:123/lg:139/xl:155) sized for the OLD, taller
   logo. Shrinking the logo (see "Logo size parity" above) shrank the header's
   real height at every breakpoint, so that hardcoded ladder left a visible
   white gap between the header and the breadcrumb. Header/Main.html now
   measures the header's ACTUAL rendered height (announcement bar + nav) via
   a ResizeObserver and writes it to --header-h; these two classes just read
   that variable, so they stay correct no matter how the header's height
   changes in the future (logo tweak, announcement-bar copy wrapping, etc).
   `155px` is the fallback for the instant before the measuring script runs.
   ============================================================ */
.page-header-offset { padding-top: var(--header-h, 155px); }
.page-header-offset-top { top: var(--header-h, 155px); }
/* ============================================================
   Page header-offset (breadcrumb gap fix) — END
   ============================================================ */

/* ============================================================
   Header phone number — hide between lg/hamburger breakpoints — START
   Between 1024px (desktop nav kicks in) and ~1280px, the nav links + phone
   number + "Free Inspection" button compete for a shrinking row with no
   wrap/shrink handling, so the blue button gets visually clipped. The
   prototype hits the same squeeze and fixes it by hiding the phone number
   below its `xl` breakpoint (1280px) — `hidden xl:block` on the <a> in
   SharedNavBar.tsx — keeping only the button + nav links in that range.
   Our Tailwind build has no `xl:` utilities generated (JIT not installed
   here), so this ports the same breakpoint as plain CSS instead of a class.
   ============================================================ */
#main-nav .nav-phone { display: none; }
@media (min-width: 1280px) { #main-nav .nav-phone { display: inline-block; } }
/* ============================================================
   Header phone number — hide between lg/hamburger breakpoints — END
   ============================================================ */

/* ============================================================
   Case Studies pagination — ellipsis gap marker — START
   Case Studies' pagination now uses the windowed/ellipsis algorithm
   (page 1, last page, current±2) ported from BeforeAfter, whose own
   .bap-page-ellipsis is scoped to that bundle's class names. This is the
   equivalent gap marker for the shared .pagination/.pagination-btn pills
   (used by Case Studies, Reviews, Blogs, …), styled to match
   #case-studies-pagination .pagination-btn's light-on-cream palette.
   ============================================================ */
#case-studies-pagination .pagination-ellipsis { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--on-light-50); }
/* ============================================================
   Case Studies pagination — ellipsis gap marker — END
   ============================================================ */

/* ============================================================
   Case Studies filter chips — same as Job Stories — START
   Byte-identical rule shape to the live #jobstories-filters override
   (Header/CSS/main.css ~6398-6401): .gallery-filter defaults to a
   DARK-surface palette (near-white text, translucent-white border), but
   both Job Stories' and Case Studies' grids sit on --WHITE, so they need
   the same light-surface override. Scoped to #case-studies-filters,
   same colors (active = var(--B) blue, not sand) per user request
   ("dejemos los mismos estilos de los filtros de job stories").
   ============================================================ */
#case-studies-filters.gallery-filters { margin-bottom: 0; }
#case-studies-filters .gallery-filter { color: var(--MUTED); border-color: var(--on-light-border); }
#case-studies-filters .gallery-filter.active { background: var(--B); color: #fff; border-color: var(--B); }
#case-studies-filters .gallery-filter:hover:not(.active) { color: var(--CHAR); border-color: var(--on-light-35); }
/* ============================================================
   Case Studies filter chips — same as Job Stories — END
   ============================================================ */

/* ============================================================
   About "Meet our team" preview — cap at 6 cards — START
   Skins/PeopleTeaser reuses the shared getPeoples DataSource (same as the
   full roster on /about/team/) but only shows the first 6 people. Capped
   here via CSS (:nth-child), not a Handlebars index check in the skin —
   an {{#XprLogic @index 6 logic="lt"}} inside the `{{#@root.getPeoples}}`
   loop blanked the ENTIRE skin's output (a template error swallows the
   whole bound block here, not just the offending node). All people still
   render server-side; this just hides the rest.
   ============================================================ */
#people-teaser-grid .people-teaser-card:nth-child(n+7) { display: none; }
/* ============================================================
   About "Meet our team" preview — cap at 6 cards — END
   ============================================================ */
