/* VERSION E4 — FINAL REFINEMENT BATCH */

/* The E3 desktop About composition remains untouched; this mobile layout is separate. */
.concept-e4 .about-mobile {
  display: none;
}

.concept-e4 .brand-mark {
  width: 53px;
  height: auto;
}

.concept-e4 .footer-mark {
  width: 49px;
  height: auto;
}

.concept-e4 .concept-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  gap: .7rem;
  white-space: nowrap;
}

.concept-e4 .concept-kicker::before,
.concept-e4 .concept-kicker::after {
  content: "";
  flex: 0 0 34px;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.concept-e4 .bridge-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
}

.concept-e4 .mini-teaching-photo {
  overflow: hidden;
  min-width: 0;
  margin: 0;
  aspect-ratio: 5 / 6;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(29, 51, 42, .12);
}

.concept-e4 .mini-teaching-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.concept-e4 .mirror-media-layout {
  grid-template-columns: minmax(0, .96fr) minmax(430px, 1.04fr);
  column-gap: clamp(42px, 6vw, 82px);
}

.concept-e4 .mirror-heading .chapter-number {
  top: .18rem;
  right: 0;
}

.concept-e4 .mirror-heading h2 {
  max-width: 520px;
  margin-bottom: 1.15rem;
  padding-right: 74px;
}

.concept-e4 .mirror-list p {
  padding-block: 1.02rem;
}

.concept-e4 .mirror-teaching-photo {
  aspect-ratio: 4 / 5;
}

.concept-e4 .mirror-teaching-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.concept-e4 .method-background img {
  object-position: center center;
}

.concept-e4 .method-overlay {
  background:
    linear-gradient(90deg, rgba(17, 38, 29, .88) 0%, rgba(22, 48, 37, .54) 50%, rgba(20, 44, 34, .78) 100%),
    linear-gradient(0deg, rgba(13, 32, 23, .48), rgba(13, 32, 23, .12) 64%);
}

@media (max-width: 1100px) and (min-width: 768px) {
  .concept-e4 .bridge-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .68fr);
    gap: 38px;
  }

  .concept-e4 .mirror-media-layout {
    grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr);
    column-gap: 38px;
  }

  .concept-e4 .mirror-heading h2 {
    padding-right: 62px;
  }
}

@media (max-width: 767px) {
  .concept-e4 .brand-mark {
    width: 45px;
  }

  .concept-e4 .footer-mark {
    width: 46px;
  }

  .concept-e4 .concept-kicker {
    gap: .4rem;
    font-size: clamp(.54rem, 2.25vw, .61rem);
    letter-spacing: .095em;
  }

  .concept-e4 .concept-kicker::before,
  .concept-e4 .concept-kicker::after {
    flex-basis: clamp(13px, 4.2vw, 18px);
    width: clamp(13px, 4.2vw, 18px);
  }

  .concept-e4 .bridge-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .concept-e4 .mini-teaching-photo {
    width: 100%;
    aspect-ratio: auto;
    border-radius: 8px;
  }

  .concept-e4 .mini-teaching-photo img {
    height: auto;
    object-fit: contain;
  }

  .concept-e4 .mirror-media-layout {
    grid-template-columns: 1fr;
  }

  .concept-e4 .mirror-heading h2 {
    padding-right: 54px;
    margin-bottom: 0;
  }

  .concept-e4 .mirror-teaching-photo {
    aspect-ratio: auto;
  }

  .concept-e4 .mirror-teaching-photo img {
    height: auto;
    object-fit: contain;
  }

  .concept-e4 .method-background img {
    object-position: 44% center;
  }

  .concept-e4 .method-overlay {
    background:
      linear-gradient(180deg, rgba(13, 31, 23, .35) 0%, rgba(16, 38, 28, .68) 43%, rgba(17, 40, 30, .94) 100%),
      rgba(17, 40, 30, .18);
  }

  .concept-e4 .about-editorial-desktop {
    display: none;
  }

  .concept-e4 .about-mobile {
    display: block;
  }

  .concept-e4 .about-mobile-intro {
    position: relative;
    padding-right: 58px;
  }

  .concept-e4 .about-mobile-intro .chapter-number {
    top: 0;
    right: 0;
  }

  .concept-e4 .about-mobile-intro .eyebrow {
    margin-bottom: 1.35rem;
  }

  .concept-e4 .about-mobile-intro p:last-child,
  .concept-e4 .about-mobile-bio p {
    color: #505751;
    font-size: .94rem;
    line-height: 1.68;
  }

  .concept-e4 .about-mobile-primary {
    margin: 30px 0 32px;
  }

  .concept-e4 .about-mobile-primary img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
  }

  .concept-e4 .about-mobile-bio p:last-child {
    margin-bottom: 0;
  }

  .concept-e4 .about-mobile-secondary {
    margin-top: 34px;
  }

  .concept-e4 .about-mobile-gallery {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 0 16px 8px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  .concept-e4 .about-mobile-gallery::-webkit-scrollbar {
    display: none;
  }

  .concept-e4 .about-mobile-gallery figure {
    flex: 0 0 min(86vw, 370px);
    margin: 0;
    scroll-snap-align: center;
  }

  .concept-e4 .about-mobile-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
  }

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

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

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

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

  .concept-e4 .concept-switcher {
    position: fixed;
    top: auto;
    right: 10px;
    bottom: 10px;
    flex-direction: row;
    gap: 3px;
    padding: 5px;
  }

  .concept-e4 .concept-switcher > span {
    display: none;
  }

  .concept-e4 .concept-switcher a {
    width: 31px;
    height: 31px;
    font-size: .7rem;
  }
}

@media (max-width: 370px) {
  .concept-e4 .concept-kicker {
    gap: .32rem;
    font-size: .52rem;
    letter-spacing: .075em;
  }

  .concept-e4 .concept-kicker::before,
  .concept-e4 .concept-kicker::after {
    flex-basis: 12px;
    width: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .concept-e4 .about-mobile-gallery {
    scroll-behavior: auto;
  }
}
