/* =====================================================================
   claude-marketing.css
   Extra styles for sections unique to claude-marketing.html.
   Loads AFTER style.css + responsive.css. Shared sections (hero, cards,
   media cards, path-cards, FAQ, tags) reuse style.css. Defined here:
   the stats band, the Bootstrap-tab skill catalog, the outcome-card
   result chip, the library GitHub link, the MCP media frame, plus the
   page-level entrance / hover / count-up animation layer.
   Reuses style.css tokens: --sc-green, --sc-head, --sc-ink,
   --sc-grey-700/300, --sc-dark-800, --sc-body.
   ===================================================================== */

:root {
  --cm-lime: #d2ff00;
  --cm-lime-500: #d0ff00;
  --cm-ink: #1b1b1b;
  --cm-dark-600: #3c3c3c;
}

/* ---------------------------------------------------------------------
   STATS BAND — dark band, lime figures, hairline dividers
   (sits on the beige hero section; square corners like the card system)
   --------------------------------------------------------------------- */
.section--stats {
  padding-block: 0;
}
.section--stats .container {
  position: relative;
  z-index: 1;
}
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 0;
  border-radius: 0;
  background: var(--sc-ink, #1a1a1a);
  overflow: hidden;
  padding:56px 0px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.stat:first-child {
  border-left: 0;
}
.stat__num {
  font-family: var(--sc-head, inherit);
  font-size: 54px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sc-green, #d2ff00);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 15px;
  line-height: 1.4;
  color: rgba(244, 244, 237, 0.62);
  max-width: 160px;
    margin: 0px auto;
       border-color: rgba(129, 128, 110, 0.20);
}

/* ---------------------------------------------------------------------
   DARK-SECTION PRIMARY BUTTON — beige pill on ink backgrounds
   (Explore More + Skills + MCP show a light button; light sections
   keep the default dark pill from style.css)
   --------------------------------------------------------------------- */
.bg-ink .btn .btn__label {
  background: #f2f2e6;
  color: #1a1a1a;
}

/* ---------------------------------------------------------------------
   HERO SUBHEAD — dark body copy, not the purple display subhead
   --------------------------------------------------------------------- */
.section--hero-lines .subhead {
  font-family: var(--sc-body, inherit);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: normal;
  color: var(--sc-dark-800, #212121);
  max-width: 820px;
}

/* ---------------------------------------------------------------------
   WHERE SKILLS RUN TODAY — result chip pinned to the card bottom
   (card--dark is justify-content:space-between, so this sits at base)
   --------------------------------------------------------------------- */
.result-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 4px;
  background: var(--sc-grey-700, #2b2b2b);
  color: var(--sc-grey-300, #d8d8d0);
  font-family: var(--sc-head, inherit);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------
   TABBED SKILL CATALOG (Bootstrap tabs: .nav + .tab-content)
   --------------------------------------------------------------------- */
.skill-tabs.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
  margin-bottom: 28px;
  border: 0;
}
.skill-tabs .nav-item {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
}
.skill-tab {
  flex: 1 0 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 14px 20px;
  border: 0;
  border-radius: 0px;
  background: #202020;
  color: #fff;
  font-family: var(--sc-head, inherit);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.skill-tab:hover {
  background: #2c2c2c;
}
.skill-tab.active {
  background: var(--cm-lime);
  color: #000;
}
.skill-tab__dot {
  width: 10px;
  height: 10px;
  background: #000;
  flex: none;
  opacity: 0;
}
.skill-tab.active .skill-tab__dot {
  opacity: 1;
}
.skill-panel__label {
  margin: 0 0 20px;
  font-family: var(--sc-head, inherit);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.28px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
}
.skill-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.skill-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 0px;
  background: var(--cm-dark-600);
}
.skill-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.skill-card__num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--cm-lime-500);
  color: var(--cm-ink);
  font-family: var(--sc-head, inherit);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.skill-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
}
.skill-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------------------------------------------------------------------
   PUBLIC SKILL LIBRARIES — lime GitHub link (pinned to card bottom)
   --------------------------------------------------------------------- */
.lib-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sc-green, #d0ff00);
  font-family: var(--sc-head, inherit);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.18s ease;
}
.lib-link:hover {
  color: var(--sc-green, #d0ff00);
  text-decoration: underline;
}
.lib-link svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* ---------------------------------------------------------------------
   SKILLS + MCP — framed media area (keeps shape before assets land)
   --------------------------------------------------------------------- */
.mcp-media {
  width: 100%;
 
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}
.mcp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------------------
   ANIMATION LAYER
   Entrance reveal + hero rise + count-up are gated behind `.js-reveal`
   (added by the page script) and prefers-reduced-motion, so a no-JS or
   reduced-motion visitor always sees fully rendered, static content.
   The button hover-swap distances are measured per button in the script.
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1),
      transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
    will-change: opacity, transform;
  }
  .js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Hero rises on load — pure CSS so there is no flash-then-hide */
  .section--hero-lines .hero-content {
    animation: cm-rise 0.75s cubic-bezier(0.2, 0.6, 0.2, 1) both;
  }
  .section--hero-lines .section-block-heading-actions {
    animation: cm-rise 0.75s cubic-bezier(0.2, 0.6, 0.2, 1) 0.12s both;
  }
}

@keyframes cm-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 991px) {
  .stat-band {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    padding: 40px 32px;
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .skill-tabs.nav {
    flex-wrap: wrap;
  }
  .skill-tabs .nav-item {
    flex: 1 1 calc(50% - 6px);
  }
  .skill-panel__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .stat-band {
    grid-template-columns: 1fr;
	padding:0px;
  }
  .stat {
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .stat:last-child {
    border-bottom: 0;
  }
  .stat__num {
    font-size: 42px;
  }
  .skill-tabs .nav-item {
    flex: 1 1 100%;
  }
  
}