:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #380c48;
  background: #fff2e4;
  --plum: #410b53;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-block-size: 100svh;
  background:
    radial-gradient(ellipse at 96% 2%, #c2e3f1, transparent 49%),
    radial-gradient(ellipse at 36% 40%, #fffcfa, transparent 65%),
    linear-gradient(155deg, #fff6ea, #ffe8d4);
  isolation: isolate;
  position: relative;
}

body::before, body::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset-inline-start: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  mask-image: linear-gradient(90deg, #000 64%, transparent);
}

body::before {
  inset-block-start: 0;
  inline-size: min(36vw, 618px);
  aspect-ratio: 618 / 184;
  mask-image: linear-gradient(90deg, #000 62%, transparent), linear-gradient(#000 76%, transparent);
  mask-composite: intersect;
  background-image: url("assets/gold-ribbon.png");
}

body::after {
  inset-block-start: clamp(320px, 34vw, 565px);
  inline-size: min(12vw, 174px);
  aspect-ratio: 174 / 272;
  background-image: url("assets/side-ribbons.png");
  mask-image: radial-gradient(ellipse at 0% 65%, #000 34%, transparent 74%);
}

.masthead {
  text-align: center;
  padding-block: clamp(23px, 3vw, 45px) 8px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .17em;
  color: var(--plum);
  font-size: clamp(1.8rem, 4vw, 4.15rem);
  font-weight: 750;
  letter-spacing: .48em;
  padding-inline-start: .48em;
  text-transform: uppercase;
  line-height: 1;
}

.wordmark::after {
  content: "";
  width: 74%;
  height: .32em;
  transform: translateX(-.24em);
  background: linear-gradient(110deg, #f7d69c, #c98418 60%, #ffc54b);
  clip-path: shape(from 0% 100%, curve to 58% 10% with 24% -12% / 43% -10%, curve to 100% 19% with 74% 32% / 89% 47%, curve to 57% 72% with 88% 84% / 77% 93%, curve to 0% 100% with 39% 46% / 19% 49%, close);
  border-radius: 60% 20% 65% 10%;
}

main {
  max-inline-size: 1720px;
  margin-inline: auto;
  padding-block-end: clamp(80px, 8vw, 130px);
}

main::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(34px, 5.9vw, 96px);
  background: url("assets/footer-ribbons.png") center / 100% 100% no-repeat;
  mask-image: linear-gradient(transparent, #000 30%);
  pointer-events: none;
  z-index: -1;
}

.hero {
  display: grid;
  grid-template-columns: 53% 47%;
  align-items: center;
  padding-inline-start: clamp(28px, 4.7vw, 84px);
}

.hero-copy {
  text-align: center;
  padding-block: 20px 32px;
  position: relative;
  z-index: 1;
}

h1, .tagline, .description { margin: 0; }

h1 {
  font: bold clamp(3.15rem, 7vw, 8rem)/.99 Georgia, serif;
  letter-spacing: -.055em;
  color: var(--plum);
}

.tagline {
  margin: .4em auto 0;
  font: italic clamp(1.38rem, 2.8vw, 3.2rem)/1.13 Georgia, serif;
  max-inline-size: 32ch;
  color: var(--plum);
}

.description {
  margin: .8em auto 0;
  max-inline-size: 40ch;
  font-size: clamp(1rem, 1.74vw, 1.9rem);
  line-height: 1.38;
  text-wrap: pretty;
}

.description::before {
  content: "";
  display: block;
  block-size: 2px;
  inline-size: 68%;
  margin: 0 auto .66em;
  background: linear-gradient(90deg, transparent, #c8871f, transparent);
}

.hero-art {
  display: block;
  inline-size: 100%;
  block-size: auto;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000), linear-gradient(180deg, transparent, #000 9%, #000 92%, transparent);
  mask-composite: intersect;
}

.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 25px);
  max-inline-size: 1140px;
  width: min(86%, 1140px);
  padding: 0;
  margin: clamp(2px, 1.2vw, 20px) auto 0;
}

.features li {
  display: grid;
  justify-items: center;
  gap: .22em;
  padding: .52em .2em .58em;
  border: 1px solid #ffffffb0;
  border-radius: clamp(16px, 2vw, 32px);
  background: linear-gradient(#fffaf4, #fff0e4);
  box-shadow: 0 12px 25px #a75d2422;
  font-size: clamp(.83rem, 1.7vw, 1.62rem);
  white-space: nowrap;
}

.features img {
  width: auto;
  height: clamp(34px, 4vw, 63px);
  object-fit: contain;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse farthest-corner, #000 71%, transparent 100%);

}

@media (max-width: 760px) {
  body::before { inline-size: min(63vw, 360px); }
  body::after { display: none; }
  .masthead { padding-block-start: 30px; }
  .hero { grid-template-columns: 1fr; padding: 0; }
  .hero-copy { padding: 24px 18px 12px; }
  h1 { font-size: clamp(2.8rem, 11vw, 5rem); }
  .tagline { font-size: clamp(1.4rem, 5.6vw, 2.65rem); }
  .description { max-inline-size: 37ch; }
  .hero-art { width: min(100%, 590px); justify-self: center; }
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(90%, 460px);
    gap: 10px;
    margin-block-start: 5px;
  }
  .features li { padding-block: .6em; }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .hero { padding-inline-start: 24px; }
  .features { width: 91%; }
}
