/* ==========================================================================
   Athios Content Store: shared modules (cs-)
   Loaded after home.css + platform.css. Uses the hm- tokens from home.css.
   Modules:
     .cs-head        section heading block (eyebrow, h2, lead)
     .cs-aisles      theme tiles (photo, theme name, formats, CTA)
     .cs-formats     format shelf (Reel, TikTok, YouTube Short, ...)
     .cs-ways        four ways to buy (sponsored, licensing, gifting, appearances)
     .cs-steps       numbered "how shopping works" progression
     .cs-shift       old way vs Athios comparison
     .cs-proof       C4 case study card with Reel link and metric row
     .cs-paths       audience pathway tiles
     .cs-listing     product listing card (content store page)
     .cs-tag         small status labels (ready to license, series, custom)
   ========================================================================== */

.cs-section { padding-block: var(--hm-section-y); }
.cs-section--tint { background: var(--hm-green-pale); }
.cs-section--dark { background: var(--hm-dark); color: var(--hm-on-dark); }

/* ---------- Heading block ---------- */
.cs-head { max-width: 760px; margin: 0 0 2.25rem; }
.cs-head--center { margin-inline: auto; text-align: center; }
.cs-head .hm-eyebrow { color: var(--hm-accent-green); }
.cs-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.cs-head h2 em { font-style: normal; color: var(--hm-orange); }
.cs-head p {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--hm-ink-muted);
}
.cs-section--dark .cs-head p { color: var(--hm-on-dark-muted); }
.cs-section--dark .cs-head .hm-eyebrow { color: #b8e07a; }

/* ---------- Tags ---------- */
.cs-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  background: var(--hm-green);
  color: #2c5a17;
  white-space: nowrap;
}
.cs-tag--series { background: #e5f1fa; color: #1f5878; }
.cs-tag--custom { background: var(--hm-orange-soft); color: #9a3a0f; }
.cs-tag--ghost { background: rgba(255,255,255,0.92); color: var(--hm-ink); }
.cs-note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--hm-ink-muted);
}

/* ---------- Theme aisles ---------- */
.cs-aisles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.cs-aisle {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius-lg);
  background: var(--hm-white);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cs-aisle:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18, 21, 26, 0.1); }
.cs-aisle:focus-visible { outline: 3px solid var(--hm-orange); outline-offset: 3px; }
.cs-aisle__media { position: relative; aspect-ratio: 4 / 3; background: var(--hm-green); }
.cs-aisle__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-aisle__media .cs-tag { position: absolute; top: 0.75rem; left: 0.75rem; }
.cs-aisle__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.1rem 1.25rem 1.25rem; flex: 1; }
.cs-aisle__name { margin: 0; font-size: 1.3rem; font-weight: 900; letter-spacing: -0.01em; }
.cs-aisle__desc { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--hm-ink-muted); }
.cs-aisle__chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.25rem; }
.cs-aisle__chips span {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--hm-line);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hm-ink);
}
.cs-aisle__go { margin-top: auto; padding-top: 0.5rem; font-weight: 700; color: var(--hm-orange); }

/* ---------- Format shelf ---------- */
.cs-formats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}
.cs-format {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: var(--hm-radius);
  border: 1px solid var(--hm-line);
  background: var(--hm-white);
}
.cs-format__shape {
  display: block;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--hm-green) 0%, #d7ebb9 100%);
  border: 2px solid var(--hm-ink);
}
.cs-format__shape--v { width: 26px; height: 44px; }
.cs-format__shape--h { width: 48px; height: 28px; }
.cs-format__shape--sq { width: 38px; height: 38px; }
.cs-format__shape--story { width: 26px; height: 44px; background: linear-gradient(160deg, #ffe1cf 0%, #fbc9aa 100%); }
.cs-format__shape--photo { width: 42px; height: 34px; background: linear-gradient(160deg, #e5f1fa 0%, #c9e2f2 100%); }
.cs-format__shape--x { width: 40px; height: 30px; background: linear-gradient(160deg, #eef0f3 0%, #d6dae0 100%); }
.cs-format b { font-size: 0.95rem; line-height: 1.2; }
.cs-format small { font-size: 0.78rem; color: var(--hm-ink-muted); line-height: 1.35; }
.cs-section--dark .cs-format { background: rgba(255,255,255,0.05); border-color: var(--hm-line-dark); }
.cs-section--dark .cs-format small { color: var(--hm-on-dark-muted); }
.cs-section--dark .cs-format__shape { border-color: #fff; }

/* ---------- Four ways to buy ---------- */
.cs-ways {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.cs-way {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--hm-radius-lg);
  background: var(--hm-white);
  border: 1px solid var(--hm-line);
}
.cs-way__n {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--hm-green);
  font-weight: 900;
  font-size: 0.95rem;
}
.cs-way:nth-child(2) .cs-way__n { background: #e5f1fa; }
.cs-way:nth-child(3) .cs-way__n { background: var(--hm-orange-soft); }
.cs-way:nth-child(4) .cs-way__n { background: #f6ecd9; }
.cs-way h3 { margin: 0.25rem 0 0; font-size: 1.25rem; font-weight: 900; }
.cs-way p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--hm-ink-muted); }
.cs-way ul { margin: 0.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; }
.cs-way li { position: relative; padding-left: 1.3rem; font-size: 0.9rem; line-height: 1.45; }
.cs-way li::before { content: "\2713"; position: absolute; left: 0; color: var(--hm-accent-green); font-weight: 900; }
.cs-way__fine { margin-top: auto !important; padding-top: 0.6rem; border-top: 1px dashed var(--hm-line); font-size: 0.8rem !important; }

/* ---------- Steps ---------- */
.cs-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cs-step;
}
.cs-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-steps li {
  counter-increment: cs-step;
  position: relative;
  padding: 1.25rem 1.1rem 1.2rem;
  border-radius: var(--hm-radius);
  background: var(--hm-white);
  border: 1px solid var(--hm-line);
}
.cs-steps li::before {
  content: counter(cs-step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--hm-orange);
}
.cs-steps b { display: block; font-size: 1.05rem; line-height: 1.25; }
.cs-steps span { display: block; margin-top: 0.4rem; font-size: 0.875rem; line-height: 1.45; color: var(--hm-ink-muted); }
.cs-section--dark .cs-steps li { background: rgba(255,255,255,0.05); border-color: var(--hm-line-dark); }
.cs-section--dark .cs-steps span { color: var(--hm-on-dark-muted); }

/* ---------- Old way vs Athios ---------- */
.cs-shift { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cs-shift__col { padding: 1.75rem; border-radius: var(--hm-radius-lg); border: 1px solid var(--hm-line); background: var(--hm-white); }
.cs-shift__col--new { background: var(--hm-dark); color: var(--hm-on-dark); border-color: var(--hm-dark); }
.cs-shift__k { margin: 0 0 1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-ink-muted); }
.cs-shift__col--new .cs-shift__k { color: #b8e07a; }
.cs-shift ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.cs-shift li { display: flex; align-items: center; gap: 0.75rem; font-size: 1.05rem; font-weight: 600; }
.cs-shift li i {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  font-style: normal;
  font-size: 0.8rem;
  background: #f1f2f4;
  color: var(--hm-ink-muted);
}
.cs-shift__col--new li i { background: #b8e07a; color: var(--hm-dark); }

/* ---------- C4 proof card ---------- */
.cs-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: stretch;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--hm-radius-lg);
  background: var(--hm-white);
  border: 1px solid var(--hm-line);
}
.cs-proof__reel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 1.25rem;
  border-radius: var(--hm-radius);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(184, 224, 122, 0.55), transparent 60%),
    radial-gradient(90% 70% at 90% 90%, rgba(244, 104, 43, 0.55), transparent 60%),
    var(--hm-dark);
}
.cs-proof__reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-proof__reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6)); }
.cs-proof__reel > * { position: relative; z-index: 1; }
.cs-proof__play {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--hm-dark);
  font-size: 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}
.cs-proof__reel:hover .cs-proof__play { transform: translate(-50%, -50%) scale(1.06); }
.cs-proof__reel:focus-visible { outline: 3px solid var(--hm-orange); outline-offset: 3px; }
.cs-proof__reel b { font-size: 1.05rem; }
.cs-proof__reel small { opacity: 0.85; }
.cs-proof__copy { display: flex; flex-direction: column; justify-content: center; }
.cs-proof__copy .hm-eyebrow { color: var(--hm-accent-green); }
.cs-proof__copy h3 { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; }
.cs-proof__copy > p { margin: 0.9rem 0 0; font-size: 1.05rem; line-height: 1.6; color: var(--hm-ink-muted); }
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.cs-metrics li { padding: 0.9rem 0.8rem; border-radius: var(--hm-radius); background: var(--hm-green-pale); border: 1px solid var(--hm-line); }
.cs-metrics b { display: block; font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.cs-metrics span { display: block; margin-top: 0.35rem; font-size: 0.78rem; line-height: 1.3; color: var(--hm-ink-muted); }
.cs-metrics li.is-hi { background: var(--hm-dark); border-color: var(--hm-dark); color: #fff; }
.cs-metrics li.is-hi b { color: #b8e07a; }
.cs-metrics li.is-hi span { color: var(--hm-on-dark-muted); }
.cs-proof__src { margin: 0.9rem 0 0; font-size: 0.78rem; color: var(--hm-ink-muted); }
.cs-proof__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }

/* ---------- Audience pathways ---------- */
.cs-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cs-path {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--hm-radius-lg);
  border: 1px solid var(--hm-line);
  background: var(--hm-white);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cs-path:hover { border-color: var(--hm-orange); transform: translateY(-2px); }
.cs-path:focus-visible { outline: 3px solid var(--hm-orange); outline-offset: 3px; }
.cs-path__k { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-accent-green); }
.cs-path h3 { margin: 0; font-size: 1.3rem; font-weight: 900; line-height: 1.2; }
.cs-path p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--hm-ink-muted); }
.cs-path__go { margin-top: auto; padding-top: 0.75rem; font-weight: 700; color: var(--hm-orange); }

/* ---------- Content Store page: filters + listings ---------- */
.cs-store-hero { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.25rem); }
.cs-store-hero h1 { margin: 0; font-size: clamp(2.4rem, 5.4vw, 4.25rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.025em; }
.cs-store-hero h1 em { font-style: normal; color: var(--hm-orange); }
.cs-store-hero p { max-width: 640px; margin: 1rem 0 0; font-size: 1.15rem; line-height: 1.6; color: var(--hm-ink-muted); }
.cs-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 640px;
  margin-top: 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1.1rem;
  border: 1.5px solid var(--hm-ink);
  border-radius: 999px;
  background: var(--hm-white);
}
.cs-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; background: transparent; }
.cs-search:focus-within { box-shadow: 0 0 0 3px rgba(244, 104, 43, 0.3); }

.cs-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; }
.cs-filters__k { width: 100%; margin: 0.5rem 0 0.15rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hm-ink-muted); }
.cs-chip {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--hm-line);
  background: var(--hm-white);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hm-ink);
  cursor: pointer;
}
.cs-chip:hover { border-color: var(--hm-ink); }
.cs-chip[aria-pressed="true"] { background: var(--hm-ink); border-color: var(--hm-ink); color: #fff; }
.cs-chip:focus-visible { outline: 3px solid var(--hm-orange); outline-offset: 2px; }

.cs-listings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.cs-listing {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--hm-radius-lg);
  border: 1px solid var(--hm-line);
  background: var(--hm-white);
}
.cs-listing[hidden] { display: none; }
.cs-listing__media { position: relative; aspect-ratio: 4 / 5; background: var(--hm-green); }
.cs-listing__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-listing__media .cs-tag { position: absolute; top: 0.65rem; left: 0.65rem; }
.cs-listing__fmt {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgba(18, 21, 26, 0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.cs-listing__body { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.95rem 1rem 1.1rem; flex: 1; }
.cs-listing__theme { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hm-accent-green); }
.cs-listing h3 { margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.3; }
.cs-listing__who { margin: 0; font-size: 0.85rem; color: var(--hm-ink-muted); }
.cs-listing__inc { margin: 0.35rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.25rem; font-size: 0.8rem; }
.cs-listing__inc li::before { content: "\2713  "; color: var(--hm-accent-green); font-weight: 900; }
.cs-listing__cta { margin-top: auto; padding-top: 0.75rem; }
.cs-listing__cta .hm-btn { width: 100%; justify-content: center; }
.cs-empty { padding: 2rem; text-align: center; color: var(--hm-ink-muted); }

.cs-concept {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--hm-radius);
  background: var(--hm-orange-soft);
  font-size: 0.875rem;
  color: #7a2e0b;
}
.cs-concept b { color: #5b2007; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cs-formats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .cs-ways, .cs-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-steps, .cs-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-proof { grid-template-columns: 1fr; }
  .cs-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-aisles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cs-aisles, .cs-ways, .cs-paths, .cs-shift, .cs-steps, .cs-steps--4 { grid-template-columns: 1fr; }
  .cs-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-listings { grid-template-columns: 1fr; }
  .cs-proof__reel { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-aisle, .cs-path, .cs-proof__play { transition: none; }
  .cs-aisle:hover, .cs-path:hover { transform: none; }
}

/* Sub-heading inside a cs-section (e.g. format shelf under the ways to buy) */
.cs-sub { margin: 3rem 0 1rem; font-size: 1.25rem; font-weight: 900; letter-spacing: -0.01em; }
.cs-store-hero .cs-concept + .hm-eyebrow { margin-top: 1.75rem; }
.cs-filters + .cs-note { margin-bottom: 1rem; }
.cs-actions--center { justify-content: center; margin-top: 1.5rem; }
.cs-ways--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-ways--3 .cs-tag { align-self: flex-start; }
@media (max-width: 991px) { .cs-ways--3 { grid-template-columns: 1fr; } }

/* Keep any photo inside its tile ratio regardless of source dimensions */
.cs-aisle__media, .cs-listing__media { overflow: hidden; }
.cs-aisle__media img, .cs-listing__media img { position: absolute; inset: 0; }

/* ==== Layout fixes (2026-11-04): beat platform.css's sitewide !important rules ==== */
/* platform.css paints every section cream; keep the dark store sections dark */
.pl-page main > section.cs-section.cs-section--dark { background: var(--hm-dark) !important; color: var(--hm-on-dark); }
/* platform.css sets a top margin on every "__cta"; listing buttons sit on the card's bottom edge */
.pl-page main .cs-listings .cs-listing .cs-listing__cta { margin-top: auto !important; }
.cs-note a { color: var(--hm-orange); font-weight: 700; text-decoration: none; }
.cs-note a:hover { text-decoration: underline; }

/* What every offer shows before you commit (how-it-works page) */
.cs-checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.875rem; margin: 0; padding: 0; list-style: none; }
.cs-checklist li { position: relative; padding: 1.1rem 1.1rem 1.2rem 3rem; border-radius: var(--hm-radius); border: 1px solid var(--hm-line); background: var(--hm-white); }
.cs-checklist li::before { content: "\2713"; position: absolute; left: 1.1rem; top: 1.05rem; display: grid; place-items: center; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: var(--hm-accent-green); color: #fff; font-size: 0.75rem; font-weight: 900; }
.cs-checklist b { display: block; font-size: 1.05rem; line-height: 1.25; }
.cs-checklist span { display: block; margin-top: 0.35rem; font-size: 0.875rem; line-height: 1.45; color: var(--hm-ink-muted); }
.cs-store-hero .pl-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
@media (max-width: 640px) { .cs-concept { flex-direction: column; align-items: flex-start; gap: 0.25rem; } }
/* Format shelf: every icon sits in the same 44px slot, so all titles line up */
.cs-format { display: grid; grid-template-rows: 44px auto 1fr; align-items: start; }
.cs-format__shape { align-self: end; }

/* Case study card, light version (2026-11-04): no dark panels.
   The Reel placeholder is a soft green panel until the real C4 frames go in;
   once an <img> is inside the link, the photo styling above takes over again. */
.cs-proof__reel:not(:has(img)) {
  color: var(--hm-ink);
  background:
    radial-gradient(120% 90% at 15% 10%, #e7f6c8 0%, transparent 60%),
    radial-gradient(90% 70% at 90% 95%, #ffe3d3 0%, transparent 60%),
    var(--hm-green-pale);
  border: 1px solid var(--hm-line);
}
.cs-proof__reel:not(:has(img))::after { display: none; }
.cs-proof__reel:not(:has(img)) .cs-proof__play { background: var(--hm-orange); color: #fff; box-shadow: 0 10px 24px rgba(244, 104, 43, 0.3); }
.cs-proof__reel:not(:has(img)) small { color: var(--hm-ink-muted); opacity: 1; }
.cs-metrics li.is-hi { background: #eaf7cf; border-color: #cfe9a0; color: var(--hm-ink); }
.cs-metrics li.is-hi b { color: var(--hm-accent-green); }
.cs-metrics li.is-hi span { color: var(--hm-ink-muted); }
.cs-listing__media img.cs-img-right { object-position: 96% 30%; }

/* Listing photos in 4:3 so the stand-in photos are never stretched past their real size */
.cs-listing__media { aspect-ratio: 4 / 3; }
/* Even section rhythm: the eyebrow's top margin was adding 16px above every store section */
.cs-head > .hm-eyebrow:first-child { margin-top: 0; }

/* ==========================================================================
   Site-wide type consistency (Content Store preview, 2026-11-05)
   One size per role, all from the platform.css tokens:
     hero headline + every section header  -> var(--t-h)
     sub copy under any header             -> var(--t-lead)
     eyebrow above any header              -> 15px / 900 / tracked caps
   store.css loads last on every live page, so these settle the older
   page-by-page overrides.
   ========================================================================== */
body main h1,
body main h2:not(.fq-group__h),
.cs-head h2,
.cs-store-hero h1 {
  font-size: var(--t-h) !important;
  line-height: 1.06 !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

body main :is(h1, h2) + p:not([class*="eyebrow"]):not(.cs-note),
.cs-head > p:not(.hm-eyebrow),
.cs-store-hero h1 + p,
.hm-lead, .pl-hero__lead, .bh-hero__lead, .pa-hero__lead, .pu-hero__lead, .pt-hero__lead,
.sub-hero__p, .pl-mf__sub, .pl-fq__sub, .pl-end__p,
.pa-lead, .pb-lead, .pt-lead, .pu-lead, .pu-compare__p, .pu-book__copy > p:not([class*="eyebrow"]) {
  font-size: var(--t-lead) !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

.hm-eyebrow, .pl-fq__eyebrow, .pl-mf__eyebrow, .pl-s5__eyebrow, .pl-camp__eyebrow, .pl-prob__eyebrow,
.pa-eyebrow, .pb-eyebrow, .pt-eyebrow, .pu-eyebrow, .pu-split__eyebrow, .pt-hero__eyebrow, .bh-hero__eyebrow,
.cs-head > .hm-eyebrow {
  font-size: 0.9375rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
}
@media (max-width: 899px) {
  .hm-eyebrow, .pl-fq__eyebrow, .pl-mf__eyebrow, .pl-s5__eyebrow, .pl-camp__eyebrow, .pl-prob__eyebrow,
  .pa-eyebrow, .pb-eyebrow, .pt-eyebrow, .pu-eyebrow, .pu-split__eyebrow, .pt-hero__eyebrow, .bh-hero__eyebrow,
  .cs-head > .hm-eyebrow { font-size: 0.8125rem !important; }
}

/* Brands "A store stocked by coached athlete creators" stats: full section scale */
.pb-proof { padding-block: var(--hm-section-y) !important; }
.pb-proof .pb-proof__stats { max-width: var(--hm-max) !important; gap: 1.25rem !important; margin-top: 2.25rem !important; }
.pb-proof .pb-pstat { padding: 2.25rem 1.5rem !important; border-radius: var(--hm-radius-lg) !important; }
.pb-proof .pb-pstat b { font-size: clamp(3rem, 6vw, 5.5rem) !important; line-height: 0.95 !important; }
.pb-proof .pb-pstat > span { margin-top: 0.75rem; font-size: var(--t-body) !important; font-weight: 900; }
.pb-proof .pb-pstat .pl-vstats__list { font-size: 0.9375rem !important; font-weight: 600; gap: 0.25rem 1.25rem !important; margin-top: 0.75rem !important; }
@media (max-width: 599px) {
  .pb-proof .pb-proof__stats { grid-template-columns: 1fr !important; }
  .pb-proof .pb-pstat { padding: 1.5rem 1rem !important; }
}

/* One phone/tablet scale for every page (pages used to set their own) */
@media (max-width: 899px) {
  body[class] { --t-h: clamp(1.75rem, 7.6vw, 2.125rem); --t-lead: 1.0625rem; }
}
.pl-std .pl-fq__title h2, .pl-page .pl-fq__title h2 { font-size: var(--t-h) !important; }
.pb-proof .pb-pstat { justify-content: flex-start !important; }

/* Section headlines fit on one line at desktop; the lead stays at a readable measure */
@media (min-width: 900px) {
  .cs-head { max-width: 1000px; }
  .cs-head > p:not(.hm-eyebrow) { max-width: 760px; }
  .cs-head--center > p:not(.hm-eyebrow) { margin-inline: auto; }
}

/* Brands page: leaner rhythm and a balanced hero */
.pb-page { --hm-section-y: clamp(2.25rem, 3.6vw, 3.5rem); }
.pb-page .cs-way__fine { margin-top: auto; }
@media (min-width: 960px) {
  .pb-page .bh-hero__grid { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 4vw, 4rem); }
  .pb-page .bh-store { max-width: 500px; justify-self: end; padding-bottom: 2.25rem; }
  .pl-page main section .bh-store__grid { margin-top: 0 !important; gap: 0.6rem; }
  .pb-page .bh-store__win { padding: 0.8rem; }
  .pb-page .bh-store__chips { margin: 0.6rem 0; }
  .pb-page .bh-tile img { aspect-ratio: 2 / 1; }
  .pb-page .bh-store__req { right: -1.25rem; bottom: 0.5rem; width: 240px; padding: 0.75rem 0.9rem; }
  .pb-page .bh-store__cap { top: auto; bottom: 0.25rem; }
}
@media (max-width: 699px) {
  .pb-page .pb-proof__stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0.5rem !important; }
  .pb-page .pb-pstat { padding: 0.9rem 0.4rem !important; min-height: 0 !important; }
  .pb-page .pb-pstat b { font-size: 2rem !important; }
  .pb-page .pb-pstat span { font-size: 0.8125rem !important; line-height: 1.25; }
  .pb-page .pb-pstat .pl-vstats__list { display: none !important; }
}
/* Brands page on phones: swipe rows instead of tall stacks */
@media (max-width: 699px) {
  .pb-page .cs-aisles, .pb-page .cs-ways {
    display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 78%;
    gap: 0.75rem !important; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--hm-gutter, 1.5rem)); padding: 0.25rem var(--hm-gutter, 1.5rem) 0.75rem; scroll-padding-inline: var(--hm-gutter, 1.5rem);
    scrollbar-width: none;
  }
  .pb-page .cs-aisles::-webkit-scrollbar, .pb-page .cs-ways::-webkit-scrollbar { display: none; }
  .pb-page .cs-aisle, .pb-page .cs-way { scroll-snap-align: start; }
  .pb-page .cs-aisle__media img { aspect-ratio: 4 / 3; }
  .pb-page .cs-steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.5rem !important; }
  .pb-page .cs-steps--4 li { padding: 0.85rem 0.8rem !important; }
  .pb-page .pb-fc .pp { display: none !important; }
  .pb-page .pb-feat__cards { gap: 0.5rem !important; }
}
@media (max-width: 699px) {
  .pb-page .cs-steps:not(.cs-steps--4) li { padding: 0.8rem 1rem !important; }
  .pb-page .pl-end__viz { display: none !important; }
  .pb-page .cs-proof__reel { aspect-ratio: 4 / 3 !important; min-height: 0 !important; height: auto !important; }
  .pb-page .cs-proof__play { translate: 0 -1.5rem; }
}
/* Brands stats: three identical, centered boxes */
.pb-page .pb-proof__stats { align-items: stretch; }
.pb-page .pb-proof .pb-pstat { justify-content: center !important; align-items: center; text-align: center; }
.pb-page .pb-proof .pb-pstat > span { white-space: nowrap; }
@media (max-width: 699px) {
  .pb-page .pb-proof .pb-pstat > span { white-space: normal; min-height: 2.5em; display: flex !important; align-items: center; justify-content: center; }
}
@media (max-width: 699px) { .pb-page .pb-proof .pb-pstat { justify-content: flex-start !important; } }

/* Even line breaks sitewide: no one- or two-word last lines */
main h1, main h2, main h3, .cs-head > p, .hm-lead, [class*="__lead"], [class*="hero__lead"], .pl-fq__sub, .pl-end__p { text-wrap: balance; }
.pl-page.pl-page main :is(p, li, span, small, b), .pl-page footer p { text-wrap: balance !important; }
/* FAQ answers: standard full-width paragraphs, normal wrapping */
.pl-page.pl-page main .pl-fq__card p { text-wrap: wrap !important; max-width: none !important; }
.pl-page.pl-page main .pl-fq__card { padding-right: 1.25rem !important; }
.pl-page.pl-page main .pl-fq__card h3 { text-wrap: wrap !important; max-width: none !important; padding-right: 2.75rem !important; }
.pl-page.pl-page main .pl-fq__card p { margin-top: 0.4rem !important; }

/* Photo focus points: keep the athlete's face centered in every crop */
main img[src$="hm4-hero-licensing.jpg"] { object-position: 35% 30% !important; }
main img[src$="hm4-hero-gifting.jpg"] { object-position: 45% 30% !important; }
main img[src$="hm4-sol-gift.jpg"] { object-position: 55% 30% !important; }
main img[src$="hm4-sol-license.jpg"] { object-position: 47% 25% !important; }
main img[src$="hm4-sol-appearance.jpg"] { object-position: 40% 30% !important; }
main img[src$="hm5-sol-appear.jpg"] { object-position: 80% 25% !important; }
main img[src$="hm5-sol-gift.jpg"] { object-position: 70% 25% !important; }
main img[src$="hm5-sol-license.jpg"] { object-position: 62% 30% !important; }
main img[src$="hm3-proof-license.jpg"] { object-position: 45% 30% !important; }
main img[src$="hm3-proof-appearance.jpg"] { object-position: 40% 30% !important; }
main img[src$="ath4-final-photo.jpg"] { object-position: 50% 35% !important; }
main img[src$="ath4-story.jpg"] { object-position: 58% 12% !important; }
main img[src$="hm3-hero-licensing-nomon.jpg"] { object-position: 50% 30% !important; }

/* Even rhythm: hero bottoms and FAQ page groups match the standard section gap */
.pl-page main > section:first-child { padding-bottom: var(--sec-y) !important; }
.pl-page main > section.pu-hero--split > .pu-split, .pl-page main > section.pt-hero > .pt-hero__stage { padding-bottom: 0 !important; }
.pl-page main > section.sub-hero + section.pl-fq { padding-top: var(--sec-y) !important; }
.pl-page main > section.pl-fq:has(+ section.sub-cta) { padding-bottom: var(--sec-y) !important; }
.pl-page main > section.pa-hero { padding-bottom: calc(var(--sec-y) - 16px) !important; }
.pl-page main > section.pt-hero { padding-bottom: calc(var(--sec-y) - 28px) !important; }
.pl-page main > section.sub-hero:has(+ .sub-form) { padding-bottom: calc(var(--sec-y) - 18px) !important; }
@media (min-width: 900px) {
  .pl-page main > section.pl-hero:first-child { padding-bottom: calc(var(--sec-y) + 10px) !important; }
}
.pl-page main > section#shop { padding-top: calc(var(--sec-y) - 8px) !important; }
.pl-page main > section.pl-fq:has(+ section.pl-end) { padding-bottom: calc(var(--sec-y) - 4px) !important; }
@media (min-width: 900px) { .pl-page main > section.bh-hero { padding-bottom: var(--sec-y) !important; } }
@media (max-width: 899px) {
  .pl-page main > section.pl-fq:has(+ section.pl-end) { padding-bottom: calc(var(--sec-y) - 8px) !important; }
  .pl-page main > section.pu-book { padding-top: calc(var(--sec-y) - 16px) !important; }
}
.pl-hero__br { display: none; }
@media (min-width: 600px) { .pl-hero__br { display: inline; } .pl-page main .pl-hero__lead:has(.pl-hero__br) { text-wrap: wrap !important; max-width: none !important; } }

/* ---- Universities lean pass (2026-11-09) ---- */
/* Hero sits on the same 164–1276 content edges as every other section */
@media (min-width: 900px) {
  .pl-page.pl-page main .pu-split.pu-split { width: min(1112px, 100% - 3rem) !important; max-width: none !important; margin-inline: auto !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: clamp(1.5rem, 3vw, 3rem) !important; }
  .pl-page main .pu-split .uh { justify-self: end; width: 100%; max-width: 560px; margin: 0; }
}
/* Four measures in one even row */
@media (min-width: 900px) { .pl-page main .pu-measure { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }

/* ---- How It Works hero: copy left, live order tracker right ---- */
@media (min-width: 960px) {
  .hw-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
}
.hw-hero__viz { margin-top: 2rem; }
@media (min-width: 960px) { .hw-hero__viz { margin-top: 0; } }
.hw-hero__viz .pl-s5__bar { margin: 0 !important; }
.hw-hero__note { margin-top: 0.75rem !important; text-align: left; }
.pl-page main > section.pl-fq:has(+ section.pu-book) { padding-bottom: calc(var(--sec-y) - 4px) !important; }
@media (max-width: 899px) { .pl-page main > section.pl-fq:has(+ section.pu-book) { padding-bottom: calc(var(--sec-y) - 8px) !important; } }
/* FAQ: short one-line questions still clear the round icon before the answer starts */
.pl-page.pl-page main .pl-fq__card h3 { min-height: 2rem; }
/* Audience tiles: two-line headings and two-line copy in every card when four sit in a row */
@media (min-width: 992px) {
  .cs-path h3 > span { display: block; }
  .pl-page.pl-page main .cs-path p { text-wrap: wrap !important; }
}
/* Brands hero: one row of two tiles so the preview matches the copy's height */
@media (min-width: 960px) {
  .pl-page main .bh-hero .bh-store { max-width: 540px; }
  .bh-store__grid .bh-tile:nth-child(n+3) { display: none; }
  .bh-tile img { aspect-ratio: 16/9 !important; }
  .pl-page main .bh-hero .bh-store { padding-bottom: 3.25rem !important; }
  .pl-page main .bh-store__req { bottom: 0 !important; }
  .pl-page main .bh-store__cap { position: absolute; left: 0; bottom: 1.25rem; margin: 0; }
}
/* Brands C4 case study: compact card, reel no taller than the copy */
@media (min-width: 992px) {
  .pb-coach .cs-proof { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) !important; align-items: stretch; }
  .pb-coach .cs-proof__reel { aspect-ratio: auto !important; min-height: 0 !important; height: auto !important; }
}
