:root {
  color-scheme: light;
  --ink: #271d30;
  --muted: #6b6170;
  --purple: #513565;
  --plum: #291d34;
  --lavender: #e8dced;
  --paper: #f7f4f8;
  --line: #e8e1e9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(5%, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span {
  color: #806390;
}

.header-cta {
  padding: 11px 16px;
  border: 1px solid #d5cadb;
  border-radius: 999px;
  color: var(--purple);
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.header-cta:hover {
  border-color: #b9a7c3;
  background: #f5f0f7;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(48px, 6vw, 80px) max(5%, calc((100vw - 1280px) / 2));
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 50%, #e8daed 0, #f1eaf3 30%, transparent 62%),
    linear-gradient(110deg, #fcfafc, #f6f1f7);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -120px;
  width: 650px;
  height: 650px;
  border: 1px solid #d9c9e0;
  border-radius: 50%;
  content: "";
}

.hero-copy {
  max-width: 550px;
}

.eyebrow {
  margin: 0 0 15px;
  color: #785d87;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5.2vw, 68px);
  font-weight: normal;
  letter-spacing: -.05em;
  line-height: .99;
}

.hero h1 em {
  display: block;
  color: var(--purple);
  font-weight: normal;
}

.hero-copy > p:not(.eyebrow, .hero-trail) {
  max-width: 480px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
}

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button.primary {
  color: #fff;
  background: var(--purple);
  box-shadow: 0 8px 20px #51356526;
}

.button.primary:hover {
  transform: translateY(-2px);
  background: #392649;
}

.hero-trail {
  margin: 24px 0 0;
  color: #827787;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .14em;
}

.hero-trail span {
  padding: 0 5px;
  color: #b19bbd;
}

.hero-visual {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.34;
  border: 1px solid #d9cde0;
  border-radius: 20px;
  background: var(--plum);
  box-shadow: 0 28px 70px #39264930;
  text-decoration: none;
  transform: rotate(1deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-visual:hover {
  box-shadow: 0 34px 78px #3926493b;
  transform: rotate(0) translateY(-3px);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.visual-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border-radius: 999px;
  color: var(--plum);
  background: #fff;
  box-shadow: 0 5px 16px #21172b40;
  font-size: 11px;
  font-weight: bold;
}

.section-wrap {
  width: min(1280px, 90%);
  margin: 0 auto;
}

.featured {
  padding: clamp(48px, 6vw, 76px) 0 clamp(58px, 8vw, 96px);
  background: #fff;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: normal;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.section-heading > p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.homepage-ad {
  width: min(1280px, 90%);
  margin: 0 auto;
  padding: 22px 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.homepage-ad[hidden] {
  display: none;
}

.site-footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px max(5%, calc((100vw - 1280px) / 2));
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer .wordmark {
  font-size: 20px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer div {
  display: flex;
  gap: 18px;
  font-size: 12px;
}

.site-footer div a {
  text-decoration: none;
}

.site-footer div a:hover {
  color: var(--purple);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid #a68ab1;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .site-header {
    height: 66px;
    padding: 0 5%;
  }

  .wordmark {
    font-size: 21px;
  }

  .header-cta {
    padding: 10px 13px;
    font-size: 12px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 31px;
    padding: 48px 5% 52px;
  }

  .hero h1 {
    max-width: 590px;
    font-size: clamp(45px, 10.5vw, 66px);
  }

  .hero-copy > p:not(.eyebrow, .hero-trail) {
    margin-top: 17px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-visual {
    aspect-ratio: 1.3;
    transform: none;
  }

  .hero-visual:hover {
    transform: translateY(-2px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 5%;
  }
}

@media (max-width: 380px) {
  .header-cta {
    padding: 9px 10px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .header-cta,
  .button,
  .hero-visual {
    transition: none;
  }
}
