/*
 * HGI - Credential Marquee + Select Path
 * 20-paths.css
 *
 * Marquee: Two scrolling text strips, opposite directions.
 * Select Path desktop: Focus shift on hover with 500ms delay.
 * Select Path mobile: Expanding horizontal panels on tap.
 * Treatment pills visible immediately on active panel, sage border.
 */


/* ─────────────────────────────────────────
   CREDENTIAL RAIL
   Replaced the scrolling marquee, then the pill row.
   No containers. A small caps label over a serif value,
   separated by engraved hairlines. The band draws itself in
   once on load: rules first, then the values, then the stars,
   which stop at the real score rather than at five.
───────────────────────────────────────── */

.cred-rail {
  position: relative;
  background: var(--color-bg-base);
  padding-block: var(--space-10);
}

.cred-rail::before,
.cred-rail::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
  transform: scaleX(0);
  animation: cred-rule-in 760ms var(--ease-out) 60ms both;
}

.cred-rail::before { top: 0; }
.cred-rail::after  { bottom: 0; }

.cred-rail__row {
  display: grid;
  grid-template-columns: repeat(var(--cred-cols, 4), 1fr);
  max-width: 1000px;
  margin-inline: auto;
  list-style: none;
  margin-block: 0;
  padding: 0;
}

.cred-rail__item {
  position: relative;
  opacity: 0;
  animation: cred-item-in 640ms var(--ease-out) both;
}

/* Faded at both ends so it reads as a rule, not a stick. */
.cred-rail__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 46px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--color-border-strong),
    transparent
  );
  transform: translateY(-50%) scaleY(0);
  animation: cred-divider-in 560ms var(--ease-out) both;
}

.cred-rail__item:first-child::before { display: none; }

.cred-rail__item:nth-child(1),
.cred-rail__item:nth-child(1)::before { animation-delay: 240ms; }
.cred-rail__item:nth-child(2),
.cred-rail__item:nth-child(2)::before { animation-delay: 320ms; }
.cred-rail__item:nth-child(3),
.cred-rail__item:nth-child(3)::before { animation-delay: 400ms; }
.cred-rail__item:nth-child(4),
.cred-rail__item:nth-child(4)::before { animation-delay: 480ms; }
.cred-rail__item:nth-child(5),
.cred-rail__item:nth-child(5)::before { animation-delay: 560ms; }

.cred-rail__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
  padding-inline: var(--space-5);
}

.cred-rail__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-support-text);
  transition: color var(--duration-fast) var(--ease-out);
}

.cred-rail__value {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  line-height: 1.15;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  transition: color var(--duration-fast) var(--ease-out);
}

/* ── Stars, filled to the real score ── */

.cred-rail__stars {
  position: relative;
  display: inline-block;
  margin-top: -2px;
}

.cred-rail__stars-track,
.cred-rail__stars-fill {
  display: flex;
  gap: 2px;
}

.cred-rail__stars-track svg,
.cred-rail__stars-fill svg {
  width: 14px;
  height: 14px;
  display: block;
}

.cred-rail__stars-track svg { fill: var(--color-border-strong); }
.cred-rail__stars-fill  svg { fill: var(--color-star); }

.cred-rail__stars-fill {
  position: absolute;
  inset: 0;
  clip-path: inset(0 100% 0 0);
  animation: cred-stars-in 980ms var(--ease-out) 640ms both;
}

/* ── The one item that leads somewhere ── */

.cred-rail__link {
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
}

.cred-rail__link:hover .cred-rail__value,
.cred-rail__link:hover .cred-rail__label {
  color: var(--color-action-text);
}

/* ── Entrance ── */

@keyframes cred-rule-in {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes cred-item-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes cred-divider-in {
  from { transform: translateY(-50%) scaleY(0); }
  to   { transform: translateY(-50%) scaleY(1); }
}

@keyframes cred-stars-in {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 var(--cred-star-cut, 0%) 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .cred-rail::before,
  .cred-rail::after,
  .cred-rail__item,
  .cred-rail__item::before,
  .cred-rail__stars-fill { animation: none; }

  .cred-rail::before,
  .cred-rail::after        { transform: none; }
  .cred-rail__item         { opacity: 1; }
  .cred-rail__item::before { transform: translateY(-50%) scaleY(1); }
  .cred-rail__stars-fill   { clip-path: inset(0 var(--cred-star-cut, 0%) 0 0); }
}

@media (max-width: 860px) {
  .cred-rail__row { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-8); }
  .cred-rail__item:nth-child(odd)::before { display: none; }
}

@media (max-width: 420px) {
  .cred-rail { padding-block: var(--space-8); }
  .cred-rail__value { font-size: var(--text-md); }
  .cred-rail__inner { padding-inline: var(--space-3); }
}

/* ─────────────────────────────────────────
   SELECT PATH - shared
───────────────────────────────────────── */

.select-path {
  padding: var(--space-12) 0 0;
  margin-bottom: 0;
}

.select-path::after {
  content: '';
  display: block;
  height: 1px;
  margin: var(--space-16) var(--section-pad-x) 0;
  background: var(--color-border);
  opacity: 1;
}

.select-path__header {
  text-align: center;
  margin-bottom: var(--space-12);
  max-width: 640px;
  margin-inline: auto;
  padding: 0 var(--section-pad-x);
}


/* ─────────────────────────────────────────
   SELECT PATH - DESKTOP
───────────────────────────────────────── */

.select-path__panels {
  display: flex;
  gap: 0;
  height: 520px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.select-path__panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  flex-shrink: 0;
  width: 21%;
  transition: width 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.select-path__panel.is-active {
  width: 58%;
  cursor: default;
}

.select-path__panel + .select-path__panel {
  margin-left: var(--space-4);
}


/* ── Background image ── */

.select-path__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.select-path__image img,
.select-path__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition:
    transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter    800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.select-path__placeholder {
  background: linear-gradient(
    135deg,
    var(--color-bg-alt) 0%,
    var(--color-action-light) 100%
  );
}

.select-path__panel:not(.is-active) .select-path__image img,
.select-path__panel:not(.is-active) .select-path__placeholder {
  filter: blur(6px) saturate(0.3) brightness(0.7);
  transform: scale(1.08);
}

.select-path__panel:not(.is-active):hover .select-path__image img,
.select-path__panel:not(.is-active):hover .select-path__placeholder {
  filter: blur(3px) saturate(0.5) brightness(0.8);
}

.select-path__panel.is-active .select-path__image img,
.select-path__panel.is-active .select-path__placeholder {
  filter: blur(0) saturate(1) brightness(1);
  transform: scale(1.02);
}


/* ── Overlay ── */

.select-path__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: background 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.select-path__panel:not(.is-active) .select-path__overlay {
  background: rgba(22, 37, 11, 0.55);
}

.select-path__panel:not(.is-active):hover .select-path__overlay {
  background: rgba(22, 37, 11, 0.40);
}

.select-path__panel.is-active .select-path__overlay {
  background: linear-gradient(
    to top,
    rgba(22, 37, 11, 0.88)   0%,
    rgba(22, 37, 11, 0.65)  25%,
    rgba(22, 37, 11, 0.35)  45%,
    rgba(22, 37, 11, 0.10)  65%,
    transparent              80%
  );
}


/* ── Side label (inactive panels) ── */

.select-path__label {
  position: absolute;
  z-index: 2;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-regular);
  font-style: italic;
  color: var(--color-text-inverse);
  white-space: nowrap;
  letter-spacing: 0.02em;
  opacity: 1;
  transition: opacity 300ms var(--ease-out);
}

.select-path__panel.is-active .select-path__label {
  opacity: 0;
  pointer-events: none;
}


/* ─────────────────────────────────────────
   CONTENT AREA (active panel)
   Uses space-between to push title/desc
   to top and treatment pills to bottom.
───────────────────────────────────────── */

.select-path__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: var(--space-8) var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 350ms var(--ease-out);
  pointer-events: none;
}

.select-path__panel.is-active .select-path__content {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 200ms;
}


/* ── Top: eyebrow, title, description ── */

.select-path__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: auto;
}

.select-path__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(247, 249, 250, 0.55);
}

.select-path__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-regular);
  font-style: italic;
  color: var(--color-text-inverse);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
}

.select-path__desc {
  font-size: var(--text-base);
  color: rgba(247, 249, 250, 0.75);
  line-height: var(--leading-normal);
  max-width: 50ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ── Bottom: treatment pills ── */

.select-path__treatments {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.select-path__tx-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-inverse);
  background: rgba(247, 249, 250, 0.22);
  border: 1px solid rgba(247, 249, 250, 0.25);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    background   var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    transform    var(--duration-fast) var(--ease-out);

  /* Staggered entrance */
  opacity: 0;
  transform: translateY(6px);
}

.select-path__panel.is-active .select-path__tx-btn {
  animation: tx-enter 350ms var(--ease-out) forwards;
  animation-delay: calc(var(--tx-index) * 60ms + 250ms);
}

.select-path__tx-btn:hover {
  background: rgba(247, 249, 250, 0.20);
  border-color: var(--color-action);
  transform: translateY(-1px);
}

.select-path__tx-btn svg {
  width: 12px;
  height: 12px;
  opacity: 0.60;
  transition: transform var(--duration-base) var(--ease-bounce);
}

.select-path__tx-btn:hover svg {
  transform: translateX(2px);
  opacity: 1;
}

@keyframes tx-enter {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ── Mobile reveal button (hidden on desktop) ── */

.select-path__mobile-cta {
  display: none;
}


/* ─────────────────────────────────────────
   TABLET
───────────────────────────────────────── */

@media (max-width: 1024px) {
  .select-path__panels {
    height: 480px;
  }

  .select-path__panel {
    width: 22%;
  }

  .select-path__panel.is-active {
    width: 56%;
  }

  .select-path__title {
    font-size: var(--text-2xl);
  }

  .select-path__content {
    padding: var(--space-6);
  }
}


/* ─────────────────────────────────────────
   MOBILE (Expanding panels)
   Active: image + title + button. No description.
   Expanded: description + pills revealed.
───────────────────────────────────────── */

@media (max-width: 768px) {


  /* Select path */
  .select-path {
    padding: var(--space-8) 0 0;
  }

  .select-path__header {
    margin-bottom: var(--space-8);
  }

  .select-path__panels {
    flex-direction: column;
    height: auto;
    gap: 0;
    padding: 0 var(--space-6);
  }

  .select-path__panel {
    width: 100% !important;
    height: 110px;
    border-radius: var(--radius-md);
    transition: height 500ms var(--ease-out);
  }

  .select-path__panel + .select-path__panel {
    margin-left: 0;
    margin-top: var(--space-6);
  }

  /* Active: image + title + button only */
  .select-path__panel.is-active {
    height: 340px;
  }

  /* Expanded: description + pills added */
.select-path__panel.is-active.is-expanded {
    height: auto;
    min-height: 520px;
  }

  /* Mobile image treatment */
  .select-path__panel:not(.is-active) .select-path__image img,
  .select-path__panel:not(.is-active) .select-path__placeholder {
    filter: blur(2px) saturate(0.4) brightness(0.65);
    transform: scale(1.05);
  }

  .select-path__panel.is-active .select-path__image img,
  .select-path__panel.is-active .select-path__placeholder {
    filter: none;
    transform: scale(1);
  }

  /* Heavy overlay on active card for text legibility */
  .select-path__panel.is-active .select-path__overlay {
    background: linear-gradient(
      to top,
      rgba(22, 37, 11, 0.88)   0%,
      rgba(22, 37, 11, 0.75)  25%,
      rgba(22, 37, 11, 0.55)  45%,
      rgba(22, 37, 11, 0.30)  65%,
      rgba(22, 37, 11, 0.10)  80%,
      transparent              100%
    );
  }

  /* Side label for horizontal band */
  .select-path__label {
    bottom: auto;
    top: 50%;
    left: var(--space-6);
    transform: translateY(-50%);
    font-size: var(--text-lg);
  }

  .select-path__content {
    padding: var(--space-6);
  }

  /* Large, bold title */
  .select-path__title {
    font-size: var(--text-2xl);
    text-shadow: 0 2px 6px rgba(22, 37, 11, 0.40);
  }

  /* Hide eyebrow on mobile to save space */
  .select-path__eyebrow {
    display: none;
  }

  /* Description hidden by default, shown on expand */
.select-path__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: var(--text-base);
    color: rgba(247, 249, 250, 0.92);
    text-shadow: 0 1px 3px rgba(22, 37, 11, 0.20);
  }

  .select-path__panel.is-expanded .select-path__desc {
    display: none;
  }

  /* Hide treatment pills by default on mobile */
.select-path__treatments {
    display: none;
    margin-top: var(--space-6);
    padding-bottom: var(--space-5);
    gap: var(--space-5);
  }

  /* Show pills when expanded */
  .select-path__panel.is-expanded .select-path__treatments {
    display: flex;
  }

  /* Re-trigger stagger animation on expand */
  .select-path__panel.is-expanded .select-path__tx-btn {
    animation: tx-enter 350ms var(--ease-out) forwards;
    animation-delay: calc(var(--tx-index) * 60ms + 100ms);
  }

  .select-path__tx-btn {
    font-size: var(--text-sm);
    padding: var(--space-2-5) var(--space-4);
  }

  /* Show mobile reveal button */
  .select-path__mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: 100%;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--color-text-inverse);
    background: rgba(247, 249, 250, 0.15);
    border: 1px solid rgba(247, 249, 250, 0.25);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    cursor: pointer;
    margin-top: var(--space-5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: 0 1px 3px rgba(22, 37, 11, 0.20);
    transition:
      background   var(--duration-fast) var(--ease-out),
      border-color var(--duration-fast) var(--ease-out);
  }

  .select-path__mobile-cta:hover {
    background: rgba(247, 249, 250, 0.25);
    border-color: var(--color-action);
  }

  .select-path__mobile-cta-icon {
    transition: transform 300ms var(--ease-out);
  }

  .select-path__panel.is-expanded .select-path__mobile-cta-icon {
    transform: rotate(180deg);
  }

  .select-path__panel.is-expanded .select-path__mobile-cta {
    background: rgba(247, 249, 250, 0.08);
    border-color: rgba(247, 249, 250, 0.20);
  }
}

@media (max-width: 480px) {
  .select-path__panel.is-active {
    height: 320px;
  }

.select-path__panel.is-active.is-expanded {
    min-height: 500px;
  }

  .select-path__title {
    font-size: var(--text-xl);
  }

  .select-path__tx-btn {
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-3);
  }
}

/* ─────────────────────────────────────────
   HOMEPAGE INTRODUCTION
   Two columns: prose left, key facts and a note from
   the doctor right. Same shape as the landing page
   intros, but with its own classes, because
   .svc-trust-box and .aes-intro__facts live in
   stylesheets that never load on the homepage.
───────────────────────────────────────── */

.home-intro {
  background: var(--color-bg-base);
}

.home-intro__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-12);
  align-items: start;
}

.home-intro__head {
  margin-bottom: var(--space-6);
}

.home-intro__body {
  font-size: var(--text-md);
}

.home-intro__body p {
  color: var(--color-text-body);
  line-height: var(--leading-loose);
}

.home-intro__body p + p {
  margin-top: var(--space-5);
}

.home-intro__body a {
  color: var(--color-action-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-border-action);
  transition:
    color                 var(--duration-fast) var(--ease-out),
    text-decoration-color var(--duration-fast) var(--ease-out);
}

.home-intro__body a:hover {
  color: var(--color-action-hover);
  text-decoration-color: var(--color-action);
}

.home-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* ── Aside column ── */

.home-intro__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* ── Key facts ── */

.home-intro__facts {
  background: var(--color-bg-white);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
}

.home-intro__facts-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-support-text);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 0.5px solid var(--color-border);
}

.home-intro__facts-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-intro__fact {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
}

.home-intro__fact svg {
  color: var(--color-action);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ── Note from the doctor ── */

.home-intro__note {
  background: var(--color-panel-deep);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: 0;
  color: #F2F6EE;
}

.home-intro__note-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-4);
}

.home-intro__note-quote {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-style: italic;
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: #FFFFFF;
  margin: 0;
}

.home-intro__note-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 0.5px solid rgba(242, 246, 238, 0.20);
}

.home-intro__note-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.home-intro__note-byline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.home-intro__note-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: #FFFFFF;
}

.home-intro__note-role {
  font-size: var(--text-xs);
  color: var(--color-sage);
}

/* ── Responsive ── */

@media (max-width: 1100px) {
  .home-intro__grid {
    grid-template-columns: 1fr 320px;
    gap: var(--space-8);
  }
}

@media (max-width: 900px) {
  .home-intro__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .home-intro__aside {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .home-intro__facts,
  .home-intro__note {
    flex: 1 1 300px;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .home-intro__aside { flex-direction: column; }
  .home-intro__body  { font-size: var(--text-base); }
}

/* ── Audience paths: "How can we help? I am..." ── */

.audience-paths {
  padding-block: var(--section-pad-y-sm);
}

.audience-paths__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.audience-paths__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.audience-paths__grid > li {
  display: flex;
}

.audience-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-8) var(--space-6);
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition:
    background   var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    box-shadow   var(--duration-base) var(--ease-out),
    transform    var(--duration-base) var(--ease-out);
}

.audience-card:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.audience-card:focus-visible {
  outline: none;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-focus);
}

.audience-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-action-light);
  color: var(--color-action);
}

.audience-card__eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  color: var(--color-text-primary);
}

.audience-card__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text-body);
  flex-grow: 1;
}

.audience-card__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-cta-text);
  background: var(--color-action);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  transition: background var(--duration-fast) var(--ease-out);
}

.audience-card:hover .audience-card__btn,
.audience-card:focus-visible .audience-card__btn {
  background: var(--color-action-hover);
}

@media (max-width: 1024px) {
  .audience-paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .audience-paths__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .audience-card {
    padding: var(--space-6) var(--space-5);
  }
}