/* GENERIC STYLING */

h1 {
  font-size: clamp(62px, 8.5vw, 126px);
  max-width: 810px;
}

/* HERO SECTION */

.hero {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  padding: 92px 6vw 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(31, 52, 66, 0.96) 0%,
    rgba(31, 52, 66, 0.84) 42%,
    rgba(31, 52, 66, 0.35) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-copy {
  max-width: 720px;
}

.hero a {
  margin-top: 60px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  z-index: 0;
}

/* LOGOS */

.section.dark.logos {
  background: #152733;
}
.logo-strip {
  margin: 20px 0 40px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(16px, 3vw, 40px);
  width: 100%;
  opacity: 0.86;
}
.logo-strip img {
  display: block;
  width: 100%;
  max-width: 360px;
  object-fit: contain;
}

/* TESTIMONIALS */

.testimonial-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column: 1 / -1;
  gap: 28px;
  background: transparent;
  margin-top: 70px;
}
.testimonial-image {
  aspect-ratio: 16 / 11;
  display: block;
  height: auto;
  min-height: clamp(320px, 36vw, 520px);
  object-fit: cover;
  object-position: center;
  width: 100%;
  box-shadow: 0 0 0 1px var(--line-light) inset;
}

.testimonial-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  column-gap: clamp(36px, 6vw, 76px);
  align-items: end;
}
.testimonial-title {
  margin-bottom: 0;
}

.testimonials button {
  grid-column: 1 / -1;
}

.quote {
  display: flex;
  flex-direction: column;
}

.quote .testimonial-profile {
  margin-top: auto;
}

/* THIS IS WHY EQUITY FEELS SO HARD */

.story-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  column-gap: clamp(42px, 6vw, 82px);
  row-gap: 24px;
  align-items: start;
}
.story-copy {
  max-width: 760px;
}
.story-grid .bullets {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.story-cta {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
}

.story-grid .bullets .row-with-symbol {
  column-gap: 12px;
  grid-template-columns: 22px 1fr;
  padding-bottom: 18px;
}

.story-grid .bullets .row-with-symbol > span {
  color: var(--charcoal);
  font-size: 17px;
}

/* EQUITY-TO-WEALTH SYSTEM */

.equity-to-wealth .center {
  text-align: center;
}
.equity-to-wealth .closer {
  margin-top: 56px;
  line-height: 1.5em;
}

.equity-to-wealth-system-parts-container {
  background: transparent;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  gap: 0;
  margin-top: 64px;
}
.equity-to-wealth-system-parts-container .part {
  border-left: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 38px 28px 34px;
}
.equity-to-wealth-system-parts-container .part:last-child {
  border-right: 1px solid var(--line-light);
}
.equity-to-wealth-system-parts-container .num {
  /* color: rgba(142, 165, 183, 0.34); */
  color: var(--accent);
  opacity: 0.8;

  line-height: 0.74;
  margin-bottom: 44px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 58px;
}
.equity-to-wealth-system-parts-container h3 {
  margin-bottom: 24px;
}
.equity-to-wealth-system-image {
  aspect-ratio: 16 / 7;
  display: block;
  margin-top: 72px;
  object-fit: cover;
  object-position: center 72%;
  width: 100%;
  box-shadow: 0 0 0 1px var(--line-light) inset;
}

/* FAQ */

.faq-list {
  border-top: 1px solid rgba(31, 52, 66, 0.16);
  margin-top: 44px;
}
.faq-item {
  border-bottom: 1px solid rgba(31, 52, 66, 0.16);
}
.faq-question {
  align-items: center;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 34px);
  justify-content: space-between;
  line-height: 1.08;
  list-style: none;
  padding: 28px 0;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  color: var(--mid-blue);
  content: '+';
  font-family: 'Open Sans', sans-serif;
  font-size: 24px;
  line-height: 1;
  margin-left: 24px;
}
.faq-item[open] .faq-question::after {
  content: '–';
}
.faq-content {
  color: var(--charcoal);
  font-size: 17px;
  height: 0;
  max-width: 660px;
  opacity: 0;
  overflow: hidden;
  padding: 0 0 30px;
  transition:
    height 380ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 380ms ease;
  will-change: height, opacity;
}
.faq-content ul {
  margin: 0;
  padding: 0;
}
.faq-content li {
  margin-bottom: 8px;
  list-style-position: inside;
}
.faq-item[open] .faq-content {
  height: auto;
  opacity: 1;
}
.faq-content p:last-child {
  margin-bottom: 0;
}

/* STEPS */

.process-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(42px, 6vw, 82px);
  align-items: start;
}
.process-intro {
  max-width: 520px;
}
.process-intro p {
  color: var(--charcoal);
}
.process-steps {
  border-top: 1px solid rgba(31, 52, 66, 0.16);
  position: relative;
}
.process-step {
  border-bottom: 1px solid rgba(31, 52, 66, 0.16);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: 34px 0;
}
.process-num {
  color: var(--accent);
  /* color: rgba(91, 126, 150, 0.42); */
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 0.82;
}
.process-step h3 {
  color: var(--navy);
  margin-bottom: 8px;
}
.process-meta {
  color: var(--mid);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.process-step p:last-child {
  color: var(--charcoal);
  margin-bottom: 0;
}

/* CALL TO ACTION */

.section.dark.cta {
  background:
    linear-gradient(90deg, rgba(31, 52, 66, 0.95), rgba(31, 52, 66, 0.48)),
    url('https://images.squarespace-cdn.com/content/v1/6036c3b69bd0174010f54771/4d5f75f1-2b36-49b5-9470-3c08471c6fca/adam-chang-1Ycgmzviw_4-unsplash.jpg')
      center/cover no-repeat;
}

/* MOBILE */

@media (max-width: 850px) {
  .testimonial-wrap,
  .story-grid,
  .process-grid,
  .four-column-container {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding: 78px 6vw;
  }
  .hero::before {
    background: rgba(31, 52, 66, 0.82);
  }
  .hero-video {
    object-position: center;
  }
  .testimonial-title {
    order: 1;
  }
  .testimonial-quotes {
    grid-template-columns: 1fr;
    order: 2;
  }
  .testimonial-image {
    margin-top: 34px;
    order: 3;
  }
  .story-grid .bullets,
  .story-cta {
    grid-column: auto;
    grid-row: auto;
  }
  .equity-to-wealth-system-parts-container .part,
  .equity-to-wealth-system-parts-container .part:last-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line-light);
    min-height: auto;
  }
  .equity-to-wealth-system-parts-container .part:first-child {
    border-top: 0;
  }
  .system-image {
    aspect-ratio: 4 / 3;
    margin-top: 48px;
  }
  .process-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-content {
    transition: none;
  }
}
