/* VERSION E5 — MOBILE/DESKTOP REFINEMENT PASS */

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.concept-e5 {
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: var(--font-body);
  font-family: var(--font-body);
  font-synthesis: none;
  font-weight: 400;
}

.concept-e5 :is(h1, h2, h3, p, a, button, input, textarea, select, summary, cite, small, strong, span) {
  font-family: var(--font-body);
}

.concept-e5 :is(p, cite, small) {
  font-weight: 400;
}

.concept-e5 :is(h1, h2),
.concept-e5 .hero-final h1,
.concept-e5 .mirror h2,
.concept-e5 .method-title-block h2,
.concept-e5 .section-heading h2,
.concept-e5 .mini-check h2,
.concept-e5 .final-cta h2 {
  font-weight: 700;
}

.concept-e5 :is(h3, summary),
.concept-e5 .mini-check h3 {
  font-weight: 600;
}

.concept-e5 :is(
  strong,
  button,
  .button,
  .eyebrow,
  .concept-kicker,
  .nav-links a,
  .brand strong,
  .mini-check-progress,
  .mini-check-result-intro,
  .mini-check-goal span,
  .mini-check-user-goal span,
  .process-flow article > span,
  .process-outcome > span
) {
  font-weight: 600;
}

.concept-e5 .hero-lead span,
.concept-e5 .method-overlay-grid .body-copy p:last-child,
.concept-e5 .review-grid cite {
  font-weight: 600;
}

.concept-e5 :is(.bridge-index, .chapter-number) {
  display: none;
}

.concept-e5 .bridge-heading {
  width: min(100%, 820px);
  margin-inline: auto;
}

.concept-e5 .mini-bridge {
  padding-bottom: clamp(72px, 6vw, 92px);
}

.concept-e5 .mirror-heading h2 {
  padding-right: 0;
}

.concept-e5 .about-mobile-carousel {
  display: none;
}

@media (min-width: 768px) {
  .concept-e5 .bridge-grid {
    display: block;
  }

  .concept-e5 .mini-check {
    width: min(100%, 820px);
    min-height: 0;
    margin-inline: auto;
    padding: clamp(1.9rem, 3.2vw, 2.45rem);
  }

  .concept-e5 .mini-teaching-photo {
    display: none;
  }

  .concept-e5 .about-gallery {
    align-items: stretch;
  }

  .concept-e5 .about-portrait-main,
  .concept-e5 .about-portrait-playing,
  .concept-e5 .about-portrait-wide {
    min-height: 0;
  }

  .concept-e5 .about-portrait-main img,
  .concept-e5 .about-portrait-playing img,
  .concept-e5 .about-portrait-wide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .concept-e5 .about-portrait-main img {
    object-position: center 35%;
  }

  .concept-e5 .about-portrait-playing img {
    object-position: center 52%;
  }

  .concept-e5 .about-portrait-wide img {
    object-position: center 35%;
  }
}

@media (max-width: 767px) {
  .concept-e5 .hero-media img {
    object-position: center 35%;
  }

  .concept-e5 .hero-final h1 {
    font-weight: 700;
    letter-spacing: -.035em;
  }

  .concept-e5 .bridge-heading {
    width: 100%;
  }

  .concept-e5 .mirror-media-layout {
    grid-template-areas:
      "heading"
      "list";
    gap: 20px;
  }

  .concept-e5 .mirror-heading h2 {
    padding-right: 0;
  }

  .concept-e5 .mirror-teaching-photo {
    display: none;
  }

  .concept-e5 .about-mobile-intro {
    padding-right: 0;
  }

  .concept-e5 .about-mobile-carousel {
    display: block;
    width: min(100%, 420px);
    margin: 30px auto 32px;
  }

  .concept-e5 .about-mobile-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 7px;
    background: var(--cream-2);
    box-shadow: 0 20px 52px rgba(29, 51, 42, .1);
    touch-action: pan-y;
  }

  .concept-e5 .about-mobile-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    opacity: 0;
    transition: opacity .7s ease;
    pointer-events: none;
  }

  .concept-e5 .about-mobile-slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
  }

  .concept-e5 .about-mobile-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .concept-e5 .about-mobile-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: .78rem;
  }

  .concept-e5 .about-mobile-carousel-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(29, 51, 42, .28);
    border-radius: 50%;
    background: transparent;
    color: var(--green);
    font: inherit;
    cursor: pointer;
  }

  .concept-e5 .about-mobile-carousel-controls button:hover,
  .concept-e5 .about-mobile-carousel-controls button:focus-visible {
    border-color: var(--gold);
    background: rgba(198, 165, 104, .12);
  }

  .concept-e5 .about-mobile-carousel-controls span {
    min-width: 52px;
    color: var(--muted-text);
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
  }

  .concept-e5 .concept-switcher a {
    width: 29px;
    height: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .concept-e5 .about-mobile-slide {
    transition: none;
  }
}
