/* =========================================================================
   PROJECT U.P. — MEN'S PAGE STYLES
   The men's page loads styles.css (shared component library) AND mens.css.
   styles.css uses token vars throughout — body.brand-men in tokens.css swaps
   most of them automatically.

   This file provides:
   1. Men's-brand TYPE corrections (League Gothic isn't italic — em styling
      needs to lift to gold without italic, ALL CAPS context handled).
   2. New men's-page-only components (spots indicator, case-stats grid,
      coaches--solo single-column variant).
   3. Tweaks to shared components that don't translate cleanly to dark bg
      (quiz card needs charcoal not espresso, AC form overrides for dark).
   ========================================================================= */

/* =========================================================================
   TYPE — men's display emphasis
   styles.css makes em italic + gold for women's Cormorant. League Gothic
   doesn't have an italic, so men's em renders as upright gold instead.
   ========================================================================= */
body.brand-men .section__title em,
body.brand-men .hero__title em,
body.brand-men .section__pull em,
body.brand-men .quiz__r-title em,
body.brand-men .timeline__row p em {
  font-style: normal !important;
  color: var(--gold);
}

/* Page typography baseline — body uses Poppins Light on men's */
body.brand-men {
  font-family: var(--font-body);
}

/* League Gothic is condensed + uppercase — section titles need slightly
   more line-height and tighter letter-spacing to read right at large sizes */
body.brand-men .hero__title,
body.brand-men .section__title {
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: 0.02em;
  font-weight: 400;
}
body.brand-men .section__pull {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 1.05;
}

/* Eyebrows and labels in Roboto Mono for men's — already token'd */

/* =========================================================================
   NAV — copied from women's pattern (logo + back + CTA) — token-driven
   ========================================================================= */
.nav__back {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-muted);
}
.nav__back:hover { color: var(--gold); }

/* =========================================================================
   COACHES — solo variant (single column, wider card)
   ========================================================================= */
.coaches--solo {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

/* =========================================================================
   HERO SUB-HEADLINE (men's only)
   Sits between the H1 wordmark "Performance Labs" and the prose intro.
   Cormorant-equivalent for men's is the same display font but uppercase —
   here we let it lift to the strong gold-emphasis style without italic.
   ========================================================================= */
.hero__sub-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #E6E7D9;
  margin: 12px auto 28px;
  max-width: 720px;
}
.hero__sub-headline em {
  font-style: normal;
  color: var(--gold);
}

/* =========================================================================
   COHORT COUNTER
   Replaces the old ten-dot indicator. Progress bar + count + remaining text
   with the "Final spot available" gold-highlight state. Admin panel revealed
   via URL hash #admin for session-only preview.
   ========================================================================= */
.cohort {
  max-width: 480px;
  margin: 40px auto 0;
}
.cohort__bar {
  height: 8px;
  background: rgba(212, 188, 154, 0.18);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 0 22px;
}
.cohort__bar-fill {
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.cohort__counts {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: 0 0 10px;
}
.cohort__taken {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 84px);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cohort__divider {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #FFFFFF;
  opacity: 0.6;
  align-self: center;
  padding-bottom: 6px;
}
.cohort__total {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: #FFFFFF;
  opacity: 0.75;
  line-height: 1;
  align-self: center;
  padding-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.cohort__remaining {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
  font-weight: 500;
}
.cohort__remaining.is-final {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.28em;
}
.cohort__remaining.is-full {
  color: var(--gold);
}

/* admin panel — revealed via hash #admin */
.cohort-admin {
  margin: 40px auto 0;
  max-width: 380px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(212, 188, 154, 0.35);
  text-align: left;
}
.cohort-admin__title {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 500;
}
.cohort-admin__field {
  display: block;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FFFFFF;
  opacity: 0.7;
  margin-bottom: 14px;
}
.cohort-admin__field input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 188, 154, 0.3);
  color: #E6E7D9;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}
.cohort-admin__field input:focus {
  border-color: var(--gold);
}
.cohort-admin__save {
  background: var(--gold);
  color: #1A1A1A;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 0;
  padding: 12px 22px;
  cursor: pointer;
  width: 100%;
  margin-top: 4px;
}
.cohort-admin__save:hover { background: var(--gold-deep); color: #FFFFFF; }
.cohort-admin__hint {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin: 16px 0 0;
  line-height: 1.5;
}
.cohort-admin__hint code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  padding: 1px 5px;
  background: rgba(255, 255, 255, 0.05);
}

/* =========================================================================
   TRUSTED-BY LOGOS
   Stand-in styled-text "logos" until real logo files arrive. Each cell is
   uniform height with a subtle border. Wraps to multiple rows on narrow.
   ========================================================================= */
.logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 920px;
  margin: 48px auto 32px;
}
.logos__item {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(212, 188, 154, 0.18);
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.logos__item:hover {
  border-color: rgba(212, 188, 154, 0.45);
  background: rgba(255, 255, 255, 0.04);
}
.logos__item--text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #E6E7D9;
  opacity: 0.85;
}
.logos__item img {
  max-height: 48px;
  max-width: 80%;
  width: auto;
  height: auto;
}
@media (max-width: 720px) {
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos__item { min-height: 72px; padding: 14px 14px; }
  .logos__item--text { font-size: 13px; letter-spacing: 0.04em; }
}
@media (max-width: 420px) {
  .logos { grid-template-columns: 1fr; }
}

/* =========================================================================
   SOCIAL PROOF TICKER
   Infinite horizontal scroll via CSS keyframes. JS clones the track contents
   once so the loop seam is invisible. Pauses on hover and on
   prefers-reduced-motion.
   ========================================================================= */
.ticker-section {
  overflow: hidden;            /* contain the wide track */
}
.ticker {
  margin-top: 40px;
  overflow: hidden;
  position: relative;
  /* edge fade so items appear/disappear smoothly */
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
}
.ticker__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: ticker-scroll 90s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; transform: none; }
}

.ticker__item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
  border: 1px solid rgba(212, 188, 154, 0.20);
  background: rgba(255, 255, 255, 0.03);
  min-width: 280px;
  max-width: 440px;
}

/* quote variant */
.ticker__item--quote p {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: #FFFFFF;
  margin: 0 0 14px;
}
.ticker__item--quote cite {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}

/* stat variant — gold-tinted with big numerals */
.ticker__item--stat {
  background: rgba(185, 153, 115, 0.12);
  border-color: var(--gold);
  align-items: flex-start;
  min-width: 220px;
}
.ticker__stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 44px);
  color: var(--gold);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ticker__stat-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FFFFFF;
  opacity: 0.7;
  margin: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================================
   CASE STATS — Liam's results
   Four big numbers in a row, with body copy below.
   ========================================================================= */
.case {
  max-width: 880px;
  margin: 48px auto 0;
}
.case__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 0 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case__stat {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.case__stat:last-child { border-right: 0; }
.case__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: var(--gold);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.case__label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}
.case__body {
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}
.case__body p {
  color: var(--ink-muted);
  margin: 0 0 20px;
  line-height: 1.7;
}
.case__body p em {
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}
@media (max-width: 720px) {
  .case__stats { grid-template-columns: 1fr 1fr; }
  .case__stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .case__stat:nth-child(2n) { border-right: 0; }
  .case__stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* =========================================================================
   QUIZ — men's adaptation
   Women's quiz uses #1F1810 (deep espresso) on ivory section background —
   produces high contrast. On men's #1A1A1A page background, espresso reads
   as muddy. Lift the quiz card to charcoal so it differentiates from the
   page surround.
   ========================================================================= */
body.brand-men .quiz {
  background: #232323;                    /* slight lift from --bg (#1A1A1A) */
  border: 1px solid rgba(212, 188, 154, 0.22);
}
body.brand-men .quiz__q {
  color: #E6E7D9;                         /* men's off-white */
}
body.brand-men .quiz__opt {
  background: rgba(255, 255, 255, 0.025);
  border: 1.5px solid rgba(212, 188, 154, 0.20);
  color: rgba(218, 211, 201, 0.9);        /* men's cream @90% */
}
body.brand-men .quiz__opt:hover {
  border-color: rgba(212, 188, 154, 0.55);
  background: rgba(255, 255, 255, 0.05);
  color: #E6E7D9;
}
body.brand-men .quiz__opt.selected {
  border-color: var(--gold);
  background: rgba(185, 153, 115, 0.10);
  color: #E6E7D9;
}

/* Quiz result tier colours — men's brand palette */
body.brand-men .quiz--almost .quiz__r-title { color: #C8CDB8; }   /* off-olive on dark */
body.brand-men .quiz--notyet .quiz__r-title { color: #D6967E; }   /* warm warning */

/* Score numerals use League Gothic (no italic in men's) */
body.brand-men .quiz__score {
  font-style: normal;
  letter-spacing: 0.01em;
}

/* =========================================================================
   AC PRIORITY-LIST FORM — men's overrides
   styles.css has body.brand-women overrides. Now men's equivalent: dark
   page bg, transparent inputs with cream text, gold submit, hidden AC
   branding and form title.
   ========================================================================= */
body.brand-men #_form_1_ {
  background: transparent !important;
  border: 0 !important;
  font-family: var(--font-body) !important;
  color: var(--ink-muted) !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
body.brand-men #_form_1_ ._form-title { display: none !important; }
body.brand-men #_form_1_ ._form-label,
body.brand-men #_form_1_._inline-form ._form-label {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body.brand-men #_form_1_ ._form-content,
body.brand-men #_form_1_._inline-form ._form-content {
  font-family: var(--font-body) !important;
  color: var(--ink-muted) !important;
}
body.brand-men #_form_1_ ._form_element {
  margin-bottom: 14px !important;
}
body.brand-men #_form_1_ input[type="text"],
body.brand-men #_form_1_ input[type="email"] {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(212, 188, 154, 0.28) !important;
  border-radius: 0 !important;
  padding: 20px 22px !important;
  color: #E6E7D9 !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  -webkit-appearance: none;
  appearance: none;
}
body.brand-men #_form_1_ input::placeholder {
  color: rgba(218, 211, 201, 0.4) !important;
  font-style: italic;
}
body.brand-men #_form_1_ input[type="text"]:focus,
body.brand-men #_form_1_ input[type="email"]:focus {
  border-color: var(--gold) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  outline: none;
}
body.brand-men #_form_1_ ._submit {
  background: var(--gold) !important;
  color: #1A1A1A !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 22px 32px !important;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s ease;
}
body.brand-men #_form_1_ ._submit:hover { background: var(--gold-deep) !important; }
body.brand-men #_form_1_ ._form-branding { display: none !important; }
body.brand-men #_form_1_ ._form-thank-you {
  font-family: var(--font-display) !important;
  font-style: normal !important;
  font-size: clamp(28px, 4vw, 40px) !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  text-align: center;
  padding: 40px 0;
}

/* =========================================================================
   MATRIX — men's brand context
   styles.css matrix uses token-driven colours, so the brand-men token swap
   handles most of it. Featured column tint reads slightly differently on a
   dark page background — bump opacity to keep the highlight legible.
   ========================================================================= */
body.brand-men .matrix__col,
body.brand-men .matrix__cell {
  background: #232323;
}
body.brand-men .matrix__col--featured,
body.brand-men .matrix__cell--featured {
  background: rgba(185, 153, 115, 0.18) !important;
}
@media (max-width: 720px) {
  body.brand-men .matrix tr { background: #232323; }
}

/* =========================================================================
   TIMELINE — men's brand context
   Background line through the dots needs adjustment for dark bg legibility.
   ========================================================================= */
body.brand-men .timeline {
  background:
    linear-gradient(to right,
      transparent 8.33%, rgba(212, 188, 154, 0.35) 8.33%,
      rgba(212, 188, 154, 0.35) 91.67%, transparent 91.67%
    ) 0 36px / 100% 1px no-repeat;
}
body.brand-men .timeline__dot {
  background: var(--bg);
  border-color: rgba(212, 188, 154, 0.45);
}
body.brand-men .timeline__panel {
  background: #232323;
}

/* =========================================================================
   FAQ / OBJECTION HANDLER — men's brand context
   styles.css uses var(--font-display) for FAQ summaries — that's Cormorant
   on women's, League Gothic on men's. League Gothic doesn't suit long
   sentence-level summary text, so men's swaps to Poppins.
   ========================================================================= */
body.brand-men .faq summary {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  color: #FFFFFF;
}
body.brand-men .faq details p {
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================================================
   DARK-ON-DARK AUDIT — colour overrides for men's brand
   styles.css uses var(--gold-deep) (#957550) for many small-label colours
   (eyebrows, coach role, phase__when, testimonial meta). On the men's near-
   black surfaces (#1A1A1A / #232323 / #0F0F0F), gold-deep reads too dim.
   Lift everything to var(--gold) so all small labels stay legible.

   Brand rule from the design team: only gold or white on dark backgrounds.
   ========================================================================= */
body.brand-men .eyebrow,
body.brand-men .coach__role,
body.brand-men .phase__when,
body.brand-men .testimonial__meta,
body.brand-men .price-card__label--addon,
body.brand-men .price-card__sub,
body.brand-men .matrix__col,
body.brand-men .matrix__crit,
body.brand-men .quiz__count,
body.brand-men .quiz__r-eyebrow,
body.brand-men .timeline__row-label {
  color: var(--gold);
}

/* Body / prose text on men's — keep at white with sensible opacity */
body.brand-men .prose,
body.brand-men .coach__bio,
body.brand-men .coach__creds,
body.brand-men .timeline__row p,
body.brand-men .matrix__cell--text,
body.brand-men .phase p,
body.brand-men .testimonial p,
body.brand-men .checklist li,
body.brand-men .faq details p {
  color: rgba(255, 255, 255, 0.85);
}

/* Matrix "not included" cells — dimmed cream instead of dark brown so the
   ✗ stays visible on the dark cell background. */
body.brand-men .matrix__cell--no { color: rgba(255, 255, 255, 0.32); }

/* Hero meta line — small caps tracked text on dark sections */
body.brand-men .hero__meta { color: var(--gold); }
body.brand-men .hero__meta--light { color: var(--gold); }

/* Strong text accent on dark = pure white */
body.brand-men strong { color: #FFFFFF; }

/* Section title em emphasis already overridden above; double-check coach
   names (which are font-display Cormorant on women's, League Gothic on men's) */
body.brand-men .coach__name {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* =========================================================================
   FOOTER on men's
   ========================================================================= */
body.brand-men .footer {
  border-top: 1px solid var(--line);
}


/* ==========================================================================
   Logo wall — image partner logos (overrides text placeholders)
   Floats logos on dark background, normalises to white silhouettes for
   visual consistency. Remove .logos__item--image filter to keep brand colour.
   ========================================================================== */
.logos__item--image {
  background: transparent !important;
  border: none !important;
  padding: 12px !important;
  min-height: 88px;
  height: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.logos__item--image img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.logos__item--image:hover img {
  opacity: 1;
}
@media (max-width: 720px) {
  .logos__item--image img { max-height: 42px; }
}


/* ==========================================================================
   Logo marquee — infinite-scroll partner logo banner
   Replaces the original 3x3 grid. Strip uses cream/bone-white bg so
   brand-colour logos pop against the dark men's page. STAC Capital uses
   selective invert because its source artwork is white-on-transparent.
   ========================================================================== */
.logo-marquee {
  background: #f5efe6;
  margin: 56px -32px 0;
  padding: 36px 0;
  overflow: hidden;
  width: calc(100% + 64px);
  position: relative;
  border-top: 1px solid rgba(181, 148, 106, 0.18);
  border-bottom: 1px solid rgba(181, 148, 106, 0.18);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: logo-marquee-scroll 60s linear infinite;
}
.logo-marquee__img {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.78;
  filter: grayscale(20%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.logo-marquee__img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.logo-marquee__invert {
  filter: invert(1) grayscale(20%);
}
.logo-marquee__invert:hover {
  filter: invert(1) grayscale(0%);
}
.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}
@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 40px)); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track { animation: none; }
}
@media (max-width: 720px) {
  .logo-marquee { margin: 40px -24px 0; padding: 28px 0; width: calc(100% + 48px); }
  .logo-marquee__track { gap: 56px; }
  .logo-marquee__img { height: 40px; }
}


/* ==========================================================================
   Performance Lab spot counter
   Replaces the previous .cohort layout. Lives inside .section--dark so all
   tokens are tuned for the dark background. Has three states:
     .spot-counter--open  (default — N spots remaining)
     .spot-counter--final (1 spot — gold accent, glow)
     .spot-counter--full  (0 spots — priority list only)
   ========================================================================== */
.spot-counter {
  max-width: 520px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.spot-counter__bar {
  position: relative;
}
.spot-counter__bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 188, 154, 0.22);
  border-radius: 999px;
  overflow: hidden;
}
.spot-counter__bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #957550 0%, #b5946a 50%, #d4bc9a 100%);
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.spot-counter__pips {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
}
.spot-counter__pips li {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  transition: background 0.4s ease;
}
.spot-counter__pips li[data-filled] {
  background: #b5946a;
}

.spot-counter__readout {
  text-align: center;
}
.spot-counter__numbers {
  font-family: var(--font-display, "League Gothic"), Impact, sans-serif;
  font-size: clamp(56px, 8vw, 88px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: rgba(250, 246, 239, 0.95);
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.spot-counter__taken {
  color: #b5946a;
}
.spot-counter__sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7em;
  margin: 0 4px;
}
.spot-counter__total {
  color: rgba(250, 246, 239, 0.88);
}
.spot-counter__message {
  font-family: var(--font-body, "Roboto Mono"), monospace;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.82);
  margin: 14px 0 0;
}
.spot-counter__message strong {
  font-weight: 500;
  color: rgba(250, 246, 239, 0.95);
}
.spot-counter__count {
  color: #b5946a;
  font-weight: 500;
}

/* ---------- FINAL SPOT state (1 remaining) ---------- */
.spot-counter--final .spot-counter__bar-fill {
  background: linear-gradient(90deg, #b5946a 0%, #d4bc9a 50%, #f0d9b5 100%);
  box-shadow: 0 0 18px rgba(212, 188, 154, 0.35);
}
.spot-counter--final .spot-counter__message {
  color: #d4bc9a;
  letter-spacing: 0.28em;
  font-size: 13px;
  animation: spot-counter-pulse 2s ease-in-out infinite;
}
.spot-counter--final .spot-counter__message strong {
  color: #d4bc9a;
  font-weight: 600;
}
@keyframes spot-counter-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.68; }
}

/* ---------- FULL state (0 remaining) ---------- */
.spot-counter--full .spot-counter__bar-fill {
  background: rgba(212, 188, 154, 0.5);
}
.spot-counter--full .spot-counter__message {
  color: rgba(250, 246, 239, 0.7);
}
.spot-counter--full .spot-counter__message strong {
  color: rgba(250, 246, 239, 0.92);
}

/* ==========================================================================
   Hidden cohort admin panel (revealed via #admin URL hash)
   Floats bottom-right. Editable only on this browser.
   ========================================================================== */
.cohort-admin {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #14110d;
  border: 1px solid rgba(212, 188, 154, 0.35);
  padding: 20px 22px;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  font-family: var(--font-body, "Roboto Mono"), monospace;
  color: #faf6ef;
  z-index: 9000;
}
.cohort-admin[hidden] { display: none; }
.cohort-admin__title {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b5946a;
  margin: 0 0 10px;
}
.cohort-admin__help {
  font-size: 11px;
  line-height: 1.55;
  color: rgba(250, 246, 239, 0.68);
  margin: 0 0 16px;
}
.cohort-admin__help code {
  background: rgba(212, 188, 154, 0.14);
  color: #d4bc9a;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10.5px;
}
.cohort-admin__label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.55);
  margin: 0 0 6px;
}
.cohort-admin__input {
  width: 100%;
  background: #0a0908;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #faf6ef;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 15px;
  border-radius: 3px;
  margin: 0 0 14px;
  box-sizing: border-box;
}
.cohort-admin__input:focus {
  outline: none;
  border-color: #b5946a;
}
.cohort-admin__actions {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}
.cohort-admin__btn {
  flex: 1;
  padding: 9px 12px;
  border-radius: 3px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.cohort-admin__btn--primary {
  background: #b5946a;
  color: #14110d;
  border: 1px solid #b5946a;
}
.cohort-admin__btn--primary:hover {
  background: #d4bc9a;
  border-color: #d4bc9a;
}
.cohort-admin__btn--ghost {
  background: transparent;
  color: rgba(250, 246, 239, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.cohort-admin__btn--ghost:hover {
  color: #faf6ef;
  border-color: rgba(255, 255, 255, 0.3);
}
.cohort-admin__status {
  font-size: 10.5px;
  color: rgba(250, 246, 239, 0.55);
  margin: 0;
  min-height: 14px;
}

@media (max-width: 600px) {
  .cohort-admin { bottom: 16px; right: 16px; width: calc(100vw - 32px); }
  .spot-counter__numbers { font-size: clamp(48px, 14vw, 72px); }
}

/* Fix: section__title--light should be light on dark men page (was inheriting dark color) */
body.brand-men .section__title--light {
  color: #faf6ef;
}
body.brand-men .section__title--light em {
  color: var(--gold, #b5946a);
}


/* ==========================================================================
   Embedded Testosterone Tax Calculator section
   Lives above the Your Coach section. Frames the manus.space app in a styled
   container that inherits the dark men's section aesthetic.
   ========================================================================== */
.testosterone-tax__embed {
  position: relative;
  margin: 48px auto 16px;
  max-width: 760px;
  width: 100%;
  background: #0a0908;
  border: 1px solid rgba(212, 188, 154, 0.22);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.testosterone-tax__frame {
  display: block;
  width: 100%;
  height: 1360px;
  border: 0;
  background: #0f0f0f;
}
@supports (height: 1lh) {
  .testosterone-tax__frame {
    /* Keep a usable minimum on tall screens */
    min-height: 980px;
  }
}
.testosterone-tax__fallback {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.55);
  margin: 8px 0 0;
}
.testosterone-tax__fallback a {
  color: #b5946a;
  text-decoration: none;
  transition: color 0.15s ease;
}
.testosterone-tax__fallback a:hover {
  color: #d4bc9a;
}

@media (max-width: 720px) {
  .testosterone-tax__embed { margin: 36px auto 12px; border-radius: 4px; }
  .testosterone-tax__frame { height: 1400px; }
}
