:root {
  color-scheme: light;
  font-family: "DM Sans", Arial, sans-serif;
  color: #242126;
  background: #f8f6f2;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  overflow: hidden;
}

.page {
  height: 100vh;
  height: 100svh;
  padding: 24px;
}

.page__frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e5e0da;
  background: #fbfaf7;
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header {
  justify-content: center;
  padding: 26px 5%;
}

.header__line {
  width: 54px;
  height: 1px;
  background: #bdb4c6;
}

.header__label,
.eyebrow,
.hero__note,
.art__caption,
.footer {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.header__label {
  color: #756b79;
  text-align: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  flex: 1;
  min-height: 0;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 clamp(38px, 6.5vw, 112px);
}

.logo-wrap {
  width: clamp(260px, 34vw, 430px);
  height: clamp(165px, 18vw, 225px);
  overflow: hidden;
  margin: 5px 0 auto -7%;
}

.logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__content {
  max-width: 590px;
  margin: auto 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 27px;
  color: #806b98;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #9b7dc5;
  box-shadow: 0 0 0 5px #eae2f3;
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 5.4vw, 92px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.07;
}

h1 em {
  color: #8b69ae;
  font-weight: 400;
}

.hero__description {
  max-width: 440px;
  margin: 31px 0 39px;
  color: #706b70;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.85;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #827887;
}

.hero__note-line {
  width: 31px;
  height: 1px;
  background: #ac96bd;
}

.art {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  background: radial-gradient(circle at 48% 44%, #f8f4fb 0%, #eee5f5 48%, #e7daee 100%);
}

.art::before,
.art::after {
  position: absolute;
  z-index: -1;
  width: 540px;
  height: 540px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  content: "";
}

.art::after {
  width: 750px;
  height: 750px;
}

.art__halo {
  position: absolute;
  border-radius: 50%;
  background: rgb(255 255 255 / 25%);
  filter: blur(1px);
}

.art__halo--outer {
  width: 430px;
  height: 430px;
}

.art__halo--inner {
  width: 310px;
  height: 310px;
  background: rgb(255 255 255 / 32%);
}

.gift {
  position: relative;
  width: clamp(230px, 25vw, 370px);
  height: clamp(220px, 25vw, 370px);
  transform: rotate(-8deg);
  filter: drop-shadow(22px 33px 20px rgb(74 44 97 / 20%));
}

.gift__box,
.gift__lid,
.gift__ribbon,
.gift__bow,
.gift__knot {
  position: absolute;
}

.gift__box {
  inset: 23% 6% 5%;
  border: 1px solid #b898d3;
  border-radius: 5px 5px 12px 12px;
  background: linear-gradient(135deg, #cfb4e5 0%, #aa80ca 62%, #8863a8 100%);
  box-shadow: inset -24px -10px 30px rgb(78 45 106 / 11%), inset 12px 12px 22px rgb(255 255 255 / 23%);
}

.gift__lid {
  z-index: 2;
  top: 17%;
  left: 1%;
  width: 98%;
  height: 23%;
  border: 1px solid #c9a9de;
  border-radius: 5px;
  background: linear-gradient(145deg, #dcc4ec, #ad85cc 76%);
  box-shadow: 0 8px 13px rgb(76 44 104 / 15%);
}

.gift__ribbon--vertical {
  z-index: 3;
  top: 17%;
  left: 44%;
  width: 13%;
  height: 78%;
  background: linear-gradient(90deg, #f8edcc, #fff9e9 45%, #d9c699);
  box-shadow: 3px 0 5px rgb(80 54 92 / 13%);
}

.gift__ribbon--horizontal {
  z-index: 4;
  top: 24%;
  left: 1%;
  width: 98%;
  height: 11%;
  background: linear-gradient(#fdf8e9, #e0cca3);
}

.gift__bow {
  z-index: 5;
  top: 0;
  width: 25%;
  height: 22%;
  border: clamp(12px, 1.7vw, 24px) solid #f5e8c5;
  box-shadow: inset 3px 3px 5px rgb(80 54 92 / 10%);
}

.gift__bow--left {
  left: 26%;
  border-radius: 90% 20% 75% 28%;
  transform: rotate(23deg);
}

.gift__bow--right {
  right: 24%;
  border-radius: 20% 90% 28% 75%;
  transform: rotate(-23deg);
}

.gift__knot {
  z-index: 6;
  top: 14%;
  left: 44%;
  width: 14%;
  height: 11%;
  border-radius: 50%;
  background: #fff6de;
}

.art__spark {
  position: absolute;
  color: #a281bd;
  font-family: Georgia, serif;
}

.art__spark--one {
  top: 21%;
  left: 23%;
  font-size: 30px;
}

.art__spark--two {
  top: 30%;
  right: 19%;
  font-size: 18px;
}

.art__spark--three {
  right: 23%;
  bottom: 24%;
  font-size: 25px;
}

.art__caption {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  color: #7e678e;
  text-align: center;
}

.footer {
  padding: 24px clamp(38px, 6.5vw, 112px);
  color: #8a858a;
  font-size: 9px;
  letter-spacing: 0.15em;
}

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 145px clamp(210px, 30svh, 300px) auto;
    align-content: center;
  }

  .hero__copy {
    display: contents;
  }

  .logo-wrap {
    grid-row: 1;
    width: min(330px, calc(100% - 76px));
    height: 145px;
    margin: 0 auto;
  }

  .hero__content {
    grid-row: 3;
    max-width: none;
    margin: 0;
    padding: 0 38px 24px;
  }

  .art {
    grid-row: 2;
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .gift {
    width: clamp(110px, 21svh, 190px);
    height: clamp(110px, 21svh, 190px);
  }

  .art__caption {
    display: none;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 10px;
  }

  .page__frame {
    height: 100%;
  }

  .header {
    padding: 21px 12px;
  }

  .header__line {
    width: 22px;
  }

  .header__label {
    font-size: 8px;
  }

  .logo-wrap {
    width: min(300px, calc(100% - 38px));
    height: clamp(95px, 16svh, 140px);
    margin: 0 auto;
  }

  .hero {
    grid-template-rows: clamp(95px, 16svh, 140px) clamp(180px, 27svh, 240px) auto;
  }

  .hero__content {
    padding: 0 19px 14px;
  }

  .eyebrow {
    font-size: 8px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .hero__description {
    margin: 18px 0 22px;
    font-size: 14px;
  }

  .hero__note {
    font-size: 8px;
  }

  .footer {
    flex-direction: column;
    gap: 10px;
    padding: 20px 12px;
    text-align: center;
  }
}

@media (max-height: 820px) {
  .header {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .logo-wrap {
    height: clamp(90px, 18svh, 135px);
  }

  .eyebrow {
    margin-bottom: 13px;
  }

  h1 {
    font-size: clamp(36px, 4.8vw, 65px);
  }

  .hero__description {
    margin: 15px 0 18px;
    line-height: 1.5;
  }

  .footer {
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

@media (max-width: 560px) and (max-height: 700px) {
  .logo-wrap {
    height: clamp(80px, 14svh, 110px);
  }

  h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .hero__description {
    font-size: 12px;
  }

  .gift {
    width: clamp(82px, 16svh, 112px);
    height: clamp(82px, 16svh, 112px);
  }

  .footer {
    gap: 6px;
  }
}

@media (max-height: 500px) {
  .page {
    padding: 8px;
  }

  .header,
  .eyebrow,
  .hero__note {
    display: none;
  }

  .logo-wrap {
    width: 220px;
    height: 78px;
    margin: 0 auto;
  }

  .hero__content {
    padding: 0 15px 8px;
  }

  h1 {
    font-size: clamp(30px, 4vw, 42px);
  }

  .hero__description {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.4;
  }

  .gift {
    width: clamp(92px, 24svh, 120px);
    height: clamp(92px, 24svh, 120px);
  }

  .footer {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
