/* Page Jean-Louis Holzer. */
.expert-profile-page :where(h1, h2, h3, p, a, button, dt, dd, li, data) {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.expert-profile-page :where(h1, h2, h3) {
  text-wrap: balance;
}

.expert-profile-page :where(p, li, dd) {
  text-wrap: pretty;
}

.expert-profile-page .button {
  white-space: normal;
}

.expert-profile-page :where(section, article, div, header, dl) {
  min-width: 0;
}

.expert-hero {
  min-height: clamp(560px, 66vh, 720px);
  padding-top: clamp(44px, 6vh, 74px);
  padding-bottom: clamp(44px, 6vh, 74px);
}

.expert-hero .hero-grid {
  min-height: clamp(460px, 54vh, 620px);
}

.expert-hero .hero-copy,
.site-hero.is-hero-locked.expert-hero .hero-copy {
  width: min(100%, 1120px);
}

.expert-hero h1,
.site-hero.is-hero-locked.expert-hero h1 {
  max-width: 900px;
}

.expert-hero .expert-hero-title,
.site-hero.is-hero-locked.expert-hero .expert-hero-title {
  font-size: clamp(2.45rem, 3.85vw, 3.75rem);
  line-height: 1.03;
}

.expert-hero-title span {
  display: block;
  color: var(--dark);
}

.expert-hero .hero-lead,
.site-hero.is-hero-locked.expert-hero .hero-lead {
  max-width: 760px;
}

.expert-hero-role {
  max-width: 760px;
  margin: -6px 0 18px;
  color: var(--dark);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-weight: 850;
}

.expert-hero .hero-actions {
  margin-top: 20px;
}

.hero-home .expert-hero-media,
.site-hero.is-hero-locked .expert-hero-media {
  inset: 0 0 0 auto;
  width: min(58vw, 780px);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 16%, rgba(0, 0, 0, 0.58) 34%, #000 56%);
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 16%, rgba(0, 0, 0, 0.58) 34%, #000 56%);
}

.hero-home .expert-hero-media img,
.site-hero.is-hero-locked .expert-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.78;
}

.expert-hero .hero-visual-home::after,
.site-hero.is-hero-locked.expert-hero .hero-visual-home::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 46%, rgba(255, 255, 255, 0.68) 76%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 46%, rgba(255, 255, 255, 0.2));
}

.expert-summary-section {
  background:
    linear-gradient(118deg, transparent 0 62%, rgba(244, 195, 0, 0.1) 62% 100%),
    var(--soft);
}

.expert-t-profile {
  display: grid;
  grid-template-columns: minmax(270px, 0.34fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 18px 46px rgba(51, 51, 51, 0.07);
  overflow: hidden;
}

.expert-t-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(30px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58) 0 24%, transparent 24% 100%),
    radial-gradient(circle at 100% 0%, rgba(244, 195, 0, 0.24), transparent 34%),
    linear-gradient(145deg, #fff8db 0%, #fff2b5 100%);
  border-right: 1px solid rgba(244, 195, 0, 0.28);
}

.expert-t-kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 11px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(244, 195, 0, 0.42);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.expert-t-role {
  max-width: 18ch;
  margin: 0 0 18px;
  color: var(--dark);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  font-weight: 850;
  line-height: 1.12;
  overflow-wrap: break-word;
}

.expert-t-aside p:not(.expert-t-kicker):not(.expert-t-role) {
  max-width: 34ch;
  margin-bottom: 0;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.58;
}

.expert-t-map {
  display: grid;
  gap: 22px;
  min-width: 0;
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(90deg, rgba(244, 195, 0, 0.05), transparent 38%),
    var(--white);
}

.expert-t-label {
  margin: 0;
  color: #7a8491;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: uppercase;
}

.expert-t-crossbar {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.6vw, 24px);
  background: #fbfbfb;
  border: 1px solid rgba(51, 51, 51, 0.08);
  border-radius: var(--radius-soft);
}

.expert-t-crossbar ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.expert-t-crossbar li {
  min-width: 0;
  padding: 14px 14px 15px;
  background: var(--white);
  border: 1px solid rgba(51, 51, 51, 0.08);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
}

.expert-t-crossbar strong,
.expert-t-stem span {
  display: block;
  color: var(--dark);
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.22;
}

.expert-t-crossbar span {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 580;
  line-height: 1.42;
}

.expert-t-depth {
  display: grid;
  grid-template-columns: minmax(300px, 0.54fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.expert-t-stem,
.expert-t-note {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  background: var(--white);
  border: 1px solid rgba(51, 51, 51, 0.08);
  border-radius: var(--radius-soft);
}

.expert-t-stem {
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 14px 32px rgba(51, 51, 51, 0.045);
}

.expert-t-stem ol {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  counter-reset: t-depth;
}

.expert-t-stem li {
  position: relative;
  min-width: 0;
  padding-left: 40px;
  counter-increment: t-depth;
}

.expert-t-stem li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 26px;
  height: 26px;
  color: var(--dark);
  background: #fff8db;
  border: 1px solid rgba(244, 195, 0, 0.54);
  border-radius: 999px;
  content: counter(t-depth, decimal-leading-zero);
  font-size: 0.84rem;
  font-weight: 900;
  place-items: center;
}

.expert-t-stem em {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 570;
  line-height: 1.45;
}

.expert-t-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(244, 195, 0, 0.09), transparent 42%),
    #fbfbfb;
}

.expert-t-note p:not(.expert-t-label) {
  margin: 16px 0 0;
  color: var(--dark);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 650;
  line-height: 1.58;
}

.expert-t-bases {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.expert-t-bases span {
  padding: 8px 12px;
  color: var(--dark);
  background: var(--white);
  border: 1px solid rgba(51, 51, 51, 0.1);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.expert-editorial-section {
  --expert-accent: var(--gold);
}

.expert-accent-gold {
  --expert-accent: var(--gold);
}

.expert-accent-blue {
  --expert-accent: var(--blue);
}

.expert-accent-green {
  --expert-accent: #2fbf71;
}

.expert-accent-coral {
  --expert-accent: #ef6f6c;
}

.expert-accent-purple {
  --expert-accent: #8a63d2;
}

.expert-accent-teal {
  --expert-accent: #1fb6aa;
}

.expert-editorial-layout,
.expert-two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.expert-section-heading {
  position: relative;
  padding-top: 18px;
}

.expert-section-heading::before,
.expert-editorial-section .section-heading-left::before {
  display: block;
  width: 46px;
  height: 5px;
  margin-bottom: 22px;
  content: "";
  background: var(--expert-accent);
  border-radius: 999px;
}

.expert-section-heading h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
}

.expert-section-body {
  max-width: 830px;
  padding: clamp(24px, 3.5vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--expert-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 14px 40px rgba(51, 51, 51, 0.045);
}

.expert-section-body p:last-child {
  margin-bottom: 0;
}

.expert-topic-grid,
.expert-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.expert-topic-grid article,
.expert-resource-grid article {
  min-width: 0;
  padding: clamp(22px, 2.6vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--expert-accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 34px rgba(51, 51, 51, 0.045);
}

.expert-topic-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--dark);
  background: color-mix(in srgb, var(--expert-accent) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--expert-accent) 38%, transparent);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
  place-items: center;
}

.expert-topic-grid h3,
.expert-resource-grid h3 {
  margin-bottom: 12px;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
}

.expert-topic-grid p,
.expert-resource-grid p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.expert-resource-grid article {
  display: flex;
  flex-direction: column;
}

.expert-resource-grid a {
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
}

.expert-section-link {
  max-width: 980px;
  margin: 28px 0 0;
  padding: 16px 18px;
  color: var(--dark);
  background: color-mix(in srgb, var(--expert-accent) 12%, white);
  border-left: 4px solid var(--expert-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 720;
}

.expert-journey-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}

.expert-journey-copy {
  max-width: 960px;
}

.expert-journey-copy .eyebrow {
  margin-bottom: 12px;
}

.expert-journey-copy h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 3.2vw, 3.25rem);
  line-height: 1.08;
  text-wrap: balance;
}

.expert-journey-copy p:not(.eyebrow) {
  max-width: 86ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(0.98rem, 1.08vw, 1.08rem);
  line-height: 1.7;
}

.expert-journey-copy p:not(.eyebrow) + p:not(.eyebrow) {
  margin-top: 12px;
}

.expert-method-list {
  display: grid;
  gap: 0;
  max-width: 1080px;
  margin-top: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  box-shadow: 0 16px 42px rgba(51, 51, 51, 0.05);
}

.expert-method-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(22px, 3vw, 30px);
}

.expert-method-list article+article {
  border-top: 1px solid var(--line);
}

.expert-method-list span {
  display: inline-grid;
  width: 52px;
  height: 52px;
  color: var(--dark);
  background: rgba(47, 191, 113, 0.18);
  border: 1px solid rgba(47, 191, 113, 0.34);
  border-radius: 50%;
  font-size: 0.84rem;
  font-weight: 900;
  place-items: center;
}

.expert-method-list h3 {
  margin-bottom: 10px;
  font-size: clamp(1.16rem, 1.55vw, 1.42rem);
}

.expert-method-list p {
  margin-bottom: 0;
}

.expert-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.expert-timeline article {
  position: relative;
  min-height: 154px;
  padding: clamp(20px, 2.4vw, 26px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--expert-accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 36px rgba(51, 51, 51, 0.045);
}

.expert-timeline article:last-child {
  padding-bottom: clamp(20px, 2.4vw, 26px);
}

.expert-timeline article::before {
  position: absolute;
  top: 22px;
  right: 22px;
  left: auto;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--expert-accent);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(239, 111, 108, 0.28);
}

.expert-timeline time {
  display: block;
  padding-right: 24px;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 0.92rem;
  font-weight: 900;
}

.expert-timeline p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.expert-proof-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 0.42fr)) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: stretch;
}

.expert-proof-layout article {
  padding: clamp(24px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--expert-accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 34px rgba(51, 51, 51, 0.045);
}

.expert-proof-layout data {
  display: block;
  margin-bottom: 12px;
  color: var(--expert-accent);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 0.95;
}

.expert-proof-layout p:last-child {
  margin-bottom: 0;
}

.expert-proof-note {
  color: var(--white);
  background: var(--dark) !important;
  border-top-color: var(--gold) !important;
}

.expert-proof-note h3,
.expert-proof-note p {
  color: var(--white);
}

.expert-proof-note h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
}

.expert-proof-note .button {
  margin-top: 10px;
}

.expert-final-cta .cta-inner {
  align-items: center;
}

@media (max-width: 1080px) {
  .expert-t-profile,
  .expert-t-depth,
  .expert-editorial-layout,
  .expert-two-column,
  .expert-proof-layout {
    grid-template-columns: 1fr;
  }

  .expert-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expert-t-aside {
    border-right: 0;
    border-bottom: 1px solid rgba(244, 195, 0, 0.28);
  }

  .expert-t-role {
    max-width: 24ch;
  }

  .expert-t-crossbar ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expert-topic-grid,
  .expert-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .expert-t-crossbar ul,
  .expert-t-depth {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .expert-hero,
  .expert-hero .hero-copy,
  .expert-hero .site-hero-copy-grid,
  .expert-hero .site-hero-kicker-slot,
  .expert-hero .site-hero-title-slot,
  .expert-hero .site-hero-intro-slot,
  .expert-hero .site-hero-action-slot,
  .expert-hero h1,
  .expert-hero .hero-lead,
  .expert-hero-role {
    max-width: 100%;
  }

  .expert-hero .hero-copy,
  .expert-hero .site-hero-copy-grid,
  .expert-hero .site-hero-kicker-slot,
  .expert-hero .site-hero-title-slot,
  .expert-hero .site-hero-intro-slot,
  .expert-hero .site-hero-action-slot {
    display: block;
    width: min(100%, 360px) !important;
    max-width: 360px !important;
  }

  .expert-hero h1,
  .expert-hero .hero-lead,
  .expert-hero-role {
    width: 100% !important;
    max-width: 100% !important;
  }

  .expert-hero .hero-lead,
  .expert-hero-role {
    text-wrap: auto;
  }

  .expert-hero h1 {
    font-size: clamp(2.35rem, 10.8vw, 2.95rem);
  }

  .expert-hero {
    position: relative;
    overflow: hidden;
  }

  .expert-hero .hero-visual-home {
    position: absolute;
    inset: 0;
    width: 100%;
    margin-top: 0;
    pointer-events: none;
  }

  .expert-hero .hero-foreground-media {
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-home .expert-hero-media,
  .site-hero.is-hero-locked .expert-hero-media {
    inset: 0;
    width: 100%;
  }

  .hero-home .expert-hero-media img,
  .site-hero.is-hero-locked .expert-hero-media img {
    object-position: 62% center;
    opacity: 0.24;
  }

  .expert-hero .hero-visual-home::after,
  .site-hero.is-hero-locked.expert-hero .hero-visual-home::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 0.56) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 46%, rgba(255, 255, 255, 0.28));
  }

  .expert-topic-grid,
  .expert-resource-grid {
    grid-template-columns: 1fr;
  }

  .expert-timeline {
    grid-template-columns: 1fr;
  }

  .expert-journey-copy h2 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .expert-method-list article {
    grid-template-columns: 1fr;
  }

  .expert-final-cta .cta-inner,
  .expert-final-cta .button {
    width: 100%;
  }
}
