:root {
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  color: #302333;
  background: #fffafb;
  --accent: #a22962;
  --surface: #f8dce6;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
}

.page-width {
  width: min(1200px, calc(100% - clamp(2.25rem, 9vw, 8rem)));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: clamp(4.8rem, 9vw, 7rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: clamp(1.2rem, 2.4vw, 1.48rem);
  font-weight: 800;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
}

.brand-mark svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-period {
  color: var(--accent);
}

main {
  display: grid;
  align-items: center;
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(27rem, 45vw, 37rem);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #efcad8;
  border-radius: clamp(1.3rem, 3.5vw, 2.65rem);
  background: var(--surface);
  box-shadow: 0 1.8rem 4.5rem -3.6rem #793a53a0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(52%, 33rem);
  padding: clamp(2.1rem, 6vw, 5.6rem);
  padding-inline-end: 1rem;
}

h1 {
  margin: 0;
  font-size: clamp(3.8rem, 7.8vw, 7.75rem);
  font-weight: 800;
  letter-spacing: -.085em;
  line-height: .93;
}

h1 em {
  display: block;
  color: #882154;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.08em;
  line-height: 1;
}

.hero-copy p {
  max-width: 24rem;
  margin: 1.65rem 0 0;
  color: #523a4a;
  font-size: clamp(.97rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 25%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% center;
}

.site-footer {
  display: flex;
  align-items: center;
  min-height: clamp(4.3rem, 8vw, 6.5rem);
  color: #6e5363;
  font-weight: 600;
}

@media (max-width: 47rem) {
  .hero {
    display: grid;
    min-height: auto;
  }

  .hero-copy {
    max-width: 36rem;
    padding: clamp(1.65rem, 7vw, 3.25rem) clamp(1.55rem, 6vw, 3rem) 0;
  }

  h1 {
    font-size: clamp(2.88rem, 10vw, 5.15rem);
  }

  h1 em {
    display: inline;
  }

  .hero-copy p {
    margin-top: .95rem;
  }

  .hero-art {
    position: relative;
    inset: auto;
    height: clamp(13.5rem, 55vw, 25rem);
    margin-top: .65rem;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%);
  }

  .hero-art img {
    object-position: 88% center;
  }
}

@media (max-width: 24rem) {
  h1 em {
    display: block;
  }
}
