*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --plum: #3e2f5b;
  --peach: #ffb86f;
  --sage: #ced9b8;
  --ink: #17202b;
  --body-text: #445064;
  --divider: #e1e5eb;
  --gutter: clamp(1.125rem, 5.8vw, 4rem);
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  line-height: 1.55;
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.06;
}

.hero {
  background: var(--plum);
  color: #fff;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 82rem;
  margin-inline: auto;
  overflow: hidden;
  isolation: isolate;
}

.hero-copy {
  --copy-gap: clamp(1.45rem, 3vw, 2.1rem);
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: var(--copy-gap);
  padding: 4.25rem var(--gutter) 1.65rem;
}

.hero-lead {
  font-size: calc(1rem + 2px);
  line-height: 1.55rem;
  transform: translateY(calc(var(--copy-gap) / 2));
}

.hero-copy h1 {
  font-size: clamp(2.25rem, 7.7vw, 3.7rem);
  line-height: 1.18;
  transform: translateY(calc(var(--copy-gap) / -4));
}

.action {
  display: inline-block;
  margin-top: clamp(.5rem, 1.2vw, .9rem);
  padding: .85rem 1.15rem;
  border-radius: .2rem;
  background: var(--sage);
  color: var(--plum);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}

.action:hover {
  background: #dbe4cb;
}

.action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.hero-art {
  position: relative;
  align-self: end;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-top: -1rem;
  opacity: .55;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 26%);
}

.hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--peach);
  mask: url('assets/pax-round-table.webp') center / contain no-repeat;
}

.content-section {
  max-width: 72rem;
  margin-inline: max(var(--gutter), calc((100% - 72rem) / 2));
  padding-block: 2.5rem;
  border-top: 1px solid var(--divider);
}

.content-section p {
  max-width: 65ch;
  margin-top: .75rem;
  color: var(--body-text);
}

.founder {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 4rem);
}

.video-placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .75rem;
  aspect-ratio: 16 / 9;
  border-radius: .25rem;
  background: #1b2431;
  color: #e3e8f0;
  font-size: .875rem;
}

.video-symbol {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid #b3c0d0;
  border-radius: 50%;
}

.video-symbol::before {
  content: '';
  margin-left: .2rem;
  border: .38rem solid transparent;
  border-right: 0;
  border-left: .62rem solid #fff;
}

.membership-benefits {
  display: grid;
  gap: 1.2rem;
  max-width: 65ch;
  margin: 1.3rem 0 0;
}

.membership-benefits dt {
  font-weight: 700;
}

.membership-benefits dd {
  margin: .2rem 0 0;
  color: var(--body-text);
}

@media (min-width: 40rem) {
  .hero-inner {
    min-height: clamp(29rem, 57vw, 42rem);
  }

  .hero-copy {
    padding-top: clamp(5.25rem, 9.25vw, 7rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 5.55vw, 4.7rem);
  }

  .hero-copy h1 span {
    display: block;
  }

  .hero-art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 82%;
    margin: 0;
    mask-image: linear-gradient(134deg, transparent 29%, rgb(0 0 0 / .05) 46%, rgb(0 0 0 / .55) 72%, #000 93%);
  }

  .founder {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }
}
