:root {
  color-scheme: light;
  --ink: #1f2430;
  --cream: #fff8e9;
  --petal: #ff8eb4;
  --sea: #75c9d8;
  --shadow: rgba(31, 36, 48, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family:
    ui-rounded,
    "Hiragino Maru Gothic ProN",
    "Avenir Next",
    system-ui,
    sans-serif;
  color: var(--cream);
  background: #f7d48b;
}

.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 19, 29, 0.66), rgba(12, 19, 29, 0.18) 48%, rgba(255, 220, 143, 0.04)),
    radial-gradient(circle at 22% 34%, rgba(255, 142, 180, 0.26), transparent 28%),
    linear-gradient(180deg, rgba(32, 86, 118, 0.1), rgba(31, 36, 48, 0.18));
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  right: clamp(1rem, 5vw, 5rem);
  bottom: clamp(1rem, 4vw, 4rem);
  width: min(24vw, 16rem);
  aspect-ratio: 1;
  border: clamp(0.5rem, 1vw, 0.85rem) solid rgba(255, 248, 233, 0.78);
  border-radius: 999px;
  filter: drop-shadow(0 1.2rem 1.8rem rgba(31, 36, 48, 0.2));
  opacity: 0.72;
}

.hero::after {
  left: clamp(1rem, 4vw, 4rem);
  top: clamp(1rem, 4vw, 3rem);
  width: min(16vw, 8rem);
  height: min(16vw, 8rem);
  background:
    radial-gradient(circle at 50% 28%, #fff8e9 0 12%, transparent 13%),
    radial-gradient(circle at 34% 42%, #fff8e9 0 12%, transparent 13%),
    radial-gradient(circle at 66% 42%, #fff8e9 0 12%, transparent 13%),
    radial-gradient(circle at 42% 64%, #fff8e9 0 12%, transparent 13%),
    radial-gradient(circle at 58% 64%, #fff8e9 0 12%, transparent 13%);
  opacity: 0.52;
  transform: rotate(-12deg);
}

.hero__content {
  display: grid;
  align-content: end;
  min-height: 100svh;
  width: min(44rem, 100%);
  padding: clamp(2rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 7rem);
  text-shadow: 0 0.18rem 1.2rem rgba(12, 19, 29, 0.36);
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.35rem, 11vw, 8.6rem);
  line-height: 0.85;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .hero__image {
    object-position: 58% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(12, 19, 29, 0.18), rgba(12, 19, 29, 0.64) 66%, rgba(12, 19, 29, 0.72)),
      radial-gradient(circle at 36% 64%, rgba(255, 142, 180, 0.22), transparent 34%);
  }

  .hero__content {
    align-content: end;
    padding: 1.25rem;
    padding-bottom: 2rem;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }
}
