:root {
  color-scheme: light;
  --cream: #fff8ec;
  --ink: #39231e;
  --coral: #aa4134;
  --rule: #e6cfc0;
  font-family: 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
}

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

.hero, footer {
  width: min(100% - clamp(2.5rem, 10vw, 10rem), 77rem);
  margin-inline: auto;
}

.brand {
  display: block;
  width: min(100%, 29rem);
  height: auto;
  margin-bottom: 1.15rem;
  animation: gift-intro 850ms cubic-bezier(.22,.75,.35,1) both;
}

.status {
  display: inline-block;
  margin-bottom: 1.2rem;
  border: 1px solid var(--rule);
  border-radius: 2rem;
  padding: .55rem .85rem;
  color: var(--coral);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

h1, h2 { font-family: Georgia, serif; font-weight: 400; }
h1 {
  margin: 0 0 1.6rem;
  font-size: clamp(2.56rem, 4.88vw, 4.8rem);
  line-height: .99;
  letter-spacing: -.062em;
  text-wrap: balance;
}

h1 em { color: var(--coral); white-space: nowrap; }
.copy p { max-width: 37ch; margin: 0; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65; }
.copy p + p { margin-top: .85rem; }

.gifts {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 36rem;
  border-radius: 48% 48% .8rem .8rem / 35% 35% .8rem .8rem;
  background: #ecd1be;
  box-shadow: 0 16px 46px #77391d19;
  isolation: isolate;
}

.gifts img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.sparkle { position: absolute; color: #fff9dc; line-height: 1; text-shadow: 0 1px 8px #7d372b; animation: twinkle 1.5s ease-out both; }
.sparkle-top { top: 26%; right: 14%; font-size: 2rem; }
.sparkle-bottom { bottom: 19%; left: 10%; font-size: 1.55rem; animation-delay: 200ms; }

.holiday {
  padding: clamp(2rem, 5vw, 3.6rem) 1.25rem;
  text-align: center;
  background: #f8e1d7;
  border-block: 1px solid var(--rule);
}

.ornament { color: var(--coral); }
.holiday h2 { margin: .55rem 0 .65rem; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; text-wrap: balance; }
.holiday p { margin: 0; line-height: 1.5; }
footer { padding-block: 1.6rem; text-align: center; }
.domain { display: block; margin-bottom: .35rem; color: var(--coral); font-weight: 700; }

@keyframes gift-intro {
  from { opacity: 0; transform: translateY(5px) scale(.85) rotate(-9deg); }
  to { opacity: 1; transform: none; }
}

@keyframes twinkle {
  0% { opacity: 0; transform: scale(.5); }
  50% { opacity: 1; transform: scale(1.16); }
  100% { opacity: .85; transform: scale(1); }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .copy { text-align: center; }
  .brand { width: min(100%, 23rem); margin-inline: auto; }
  .copy p { margin-inline: auto; }
  h1 { font-size: clamp(2.16rem, 6.8vw, 3.76rem); }
  .gifts { width: min(100%, 27rem); justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .brand, .sparkle { animation: none; }
}
