/* Homepage editorial sibling. All composition rules belong to this section. */
.home-editorial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.75rem, 2.4vw, 3rem) var(--gutter) clamp(1.5rem, 2.1vw, 2.75rem);
  color: var(--charcoal);
  background: linear-gradient(rgb(243 236 223 / .84), rgb(243 236 223 / .84)), url("../img/psychic-circle/find-your-way-in/find-your-way-parchment-texture.webp") center / cover;
}

.home-editorial__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.home-editorial__atmosphere::before,
.home-editorial__atmosphere::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  background-repeat: no-repeat;
  background-size: auto 100%;
  -webkit-mask-image: none;
  mask-image: none;
}

.home-editorial__atmosphere::before {
  left: 0;
  background-image: url("../img/home/meet-elie-cloud-left.webp");
  background-position: left center;
}

.home-editorial__atmosphere::after {
  right: 0;
  background-image: url("../img/home/meet-elie-cloud-right.webp");
  background-position: right bottom;
  background-size: auto min(31.2rem, 59.8%);
}

.home-editorial__star {
  position: absolute;
  color: var(--gold);
  font-size: clamp(1.4rem, 2.5vw, 2.5rem);
  font-weight: 400;
  opacity: .7;
}

.home-editorial__star--left { left: 3%; top: 16%; }
.home-editorial__star--right { right: 3.5%; bottom: 29%; }

.home-editorial__inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.95fr);
  column-gap: clamp(2rem, 3.4vw, 3.5rem);
  max-width: 74rem;
  margin-inline: auto;
  align-items: start;
  text-align: center;
}

.home-editorial__heading,
.home-editorial__intro,
.home-editorial__services,
.home-editorial__action,
.home-editorial__location,
.home-editorial__divider--closing { grid-column: 2; }

.home-editorial__heading {
  grid-row: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}
.home-editorial__eyebrow {
  margin: 0;
  font-family: var(--font-interface);
  font-size: var(--text-small);
  letter-spacing: .27em;
  line-height: 1.5;
}

.home-editorial__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin: .8rem auto 1.2rem;
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
}

.home-editorial__divider > span:first-child,
.home-editorial__divider > span:last-child {
  height: 1px;
  width: clamp(3rem, 8.5vw, 7.5rem);
  background: currentColor;
  opacity: .6;
}

.home-editorial__heading h2 {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.home-editorial__portrait {
  grid-column: 1;
  grid-row: 1 / 7;
  align-self: center;
  width: 100%;
  margin: 0;
}

.home-editorial__portrait-frame {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent);
  border-radius: 50% 50% 0 0 / 37.5% 37.5% 0 0;
}

.home-editorial__portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.home-editorial__portrait-caption {
  margin: clamp(.75rem, 1vw, 1rem) 0 0;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.1vw, 1.12rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.home-editorial__intro {
  grid-row: 2;
  max-width: 44rem;
  margin: 1.15rem auto 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.85vw, 1.75rem);
  line-height: 1.35;
  text-wrap: pretty;
}

.home-editorial__services {
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 2.15rem 0 0;
  list-style: none;
}

.home-editorial__services li {
  position: relative;
  padding-inline: 1rem;
}

.home-editorial__services li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: .5rem;
  width: 1px;
  background: color-mix(in srgb, var(--gold) 50%, transparent);
}

.home-editorial__services img { display: block; width: 3.5rem; height: 3.5rem; margin: 0 auto .75rem; }
.home-editorial__services h3 {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--font-interface);
  font-size: clamp(.75rem, .95vw, .9rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .12em;
}

.home-editorial__services p {
  max-width: 19ch;
  margin: .6rem auto 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.45vw, 1.4rem);
  line-height: 1.25;
  text-wrap: pretty;
}

.home-editorial__action { grid-row: 4; margin-top: 1.65rem; }
.home-editorial__cta { min-width: 18rem; border-radius: 99rem; gap: 1rem; }
.home-editorial__cta > span { font-size: 1.35rem; font-weight: 400; line-height: 1; }
.home-editorial__location {
  grid-row: 5;
  max-width: none;
  margin: 1.5rem 0 0;
  font-family: var(--font-interface);
  font-size: .72rem;
  letter-spacing: .2em;
  line-height: 1.6;
  text-wrap: balance;
}

.home-editorial__divider--closing { grid-row: 6; margin: 1.2rem auto 0; font-size: 1.65rem; }
.home-editorial__divider--closing > span:first-child,
.home-editorial__divider--closing > span:last-child { width: 5.5rem; }

@media (max-width: 63.999rem) {
  .home-editorial__atmosphere::before,
  .home-editorial__atmosphere::after {
    width: 100%;
    height: clamp(11rem, 48vw, 14rem);
    bottom: auto;
    background-size: auto 100%;
  }
  .home-editorial__atmosphere::before { top: 0; background-position: left top; }
  .home-editorial__atmosphere::after { top: 55%; right: 0; background-position: right top; }
  .home-editorial__inner { grid-template-columns: 1fr; max-width: 42rem; }
  .home-editorial__inner > * { grid-column: 1; }
  .home-editorial__heading { grid-row: 1; }
  .home-editorial__portrait { grid-row: 2; width: min(100%, 20rem); margin: 1.75rem auto 0; }
  .home-editorial__intro { grid-row: 3; margin-top: 1.5rem; font-size: 1.5rem; }
  .home-editorial__services { grid-row: 4; }
  .home-editorial__action { grid-row: 5; }
  .home-editorial__location { grid-row: 6; }
  .home-editorial__divider--closing { grid-row: 7; }
}

@media (min-width: 36rem) and (max-width: 63.999rem) {
  .home-editorial__atmosphere::before,
  .home-editorial__atmosphere::after { height: min(28rem, 38vw); }
}

@media (min-width: 64rem) and (max-width: 67.999rem) {
  .home-editorial__atmosphere::after {
    top: auto;
    bottom: 1rem;
    height: 16.9rem;
    background-size: auto 100%;
  }
}

@media (max-width: 35.999rem) {
  .home-editorial { padding: 2.75rem 1.25rem 2.5rem; }
  .home-editorial__eyebrow { font-size: .68rem; letter-spacing: .16em; }
  .home-editorial__heading h2 { font-size: clamp(2.5rem, 9.8vw, 3rem); }
  .home-editorial__portrait { width: min(100%, 17rem); }
  .home-editorial__intro { font-size: 1.35rem; }
  .home-editorial__services { grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.65rem; }
  .home-editorial__services li { padding: 0; }
  .home-editorial__services li + li::before { display: none; }
  .home-editorial__services img { width: 2.65rem; height: 2.65rem; margin-bottom: .45rem; }
  .home-editorial__services h3 { font-size: .78rem; }
  .home-editorial__services p { max-width: 26ch; margin-top: .35rem; font-size: 1.2rem; }
  .home-editorial__cta { min-width: 0; width: min(100%, 18rem); }
  .home-editorial__location { font-size: .65rem; letter-spacing: .13em; }
  .home-editorial__star { opacity: .45; }
}
