:root {
  color-scheme: light;
  --canvas: #f6f0e7;
  --canvas-deep: #e7ddd0;
  --ink: #25201b;
  --muted: rgba(37, 32, 27, 0.58);
  --line: rgba(37, 32, 27, 0.12);
  --mist: rgba(239, 231, 218, 0.86);
  --gold-smoke: rgba(182, 156, 121, 0.26);
  --shadow: rgba(56, 42, 28, 0.12);
}

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

html {
  background: var(--canvas);
}

body {
  min-block-size: 100svh;
  min-block-size: 100dvh;
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.78), transparent 38%),
    radial-gradient(circle at 82% 22%, rgba(214, 198, 177, 0.42), transparent 28%),
    linear-gradient(160deg, var(--canvas) 0%, var(--mist) 52%, var(--canvas-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.35) 50%, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), transparent 24%, transparent 72%, rgba(78, 57, 36, 0.06));
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

.page-shell {
  min-block-size: 100svh;
  min-block-size: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1.1rem, 2vw, 2rem);
  isolation: isolate;
}

.hero {
  position: relative;
  inline-size: min(100%, 96rem);
  min-block-size: min(100dvh - clamp(2.2rem, 4vw, 4rem), 52rem);
  padding:
    clamp(1.6rem, 3vw, 2.8rem)
    clamp(1.35rem, 4.5vw, 4.5rem)
    clamp(1.6rem, 3vw, 2.8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 0.7fr);
  grid-template-rows: auto 1fr auto;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: clamp(1.4rem, 2.2vw, 2.1rem);
  overflow: clip;
  box-shadow:
    0 1.1rem 3rem -2rem var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18)),
    rgba(246, 240, 231, 0.56);
}

.hero::after {
  content: "";
  position: absolute;
  inset: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(37, 32, 27, 0.08);
  border-radius: clamp(1rem, 2vw, 1.5rem);
  pointer-events: none;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb,
.hero-grain {
  position: absolute;
  display: block;
}

.hero-orb {
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.8;
}

.hero-orb-left {
  inline-size: clamp(16rem, 24vw, 27rem);
  block-size: clamp(16rem, 24vw, 27rem);
  inset-block-start: -7%;
  inset-inline-start: -5%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(245, 237, 227, 0.18) 62%, transparent 74%);
}

.hero-orb-right {
  inline-size: clamp(14rem, 20vw, 24rem);
  block-size: clamp(14rem, 20vw, 24rem);
  inset-block-end: -18%;
  inset-inline-end: 5%;
  background: radial-gradient(circle, var(--gold-smoke), transparent 70%);
}

.hero-grain {
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 32, 27, 0.03) 1px, transparent 1px);
  background-size: 100% 0.38rem, 0.38rem 100%;
  mix-blend-mode: multiply;
}

.hero-title,
.hero-copy > * {
  position: relative;
  margin: 0;
  animation: driftIn 980ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-title {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  align-self: center;
  max-inline-size: 100%;
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  font-size: clamp(3.05rem, 6.6vw, 6.95rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.92;
  white-space: nowrap;
  text-shadow: 0 0.2rem 1rem rgba(255, 255, 255, 0.26);
  animation-delay: 120ms;
}

.hero-copy {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  align-self: center;
  justify-self: end;
  inline-size: min(100%, 29rem);
  display: grid;
  gap: clamp(0.8rem, 1.55vh, 1.05rem);
}

.hero-copy p {
  max-inline-size: 31ch;
  font-size: clamp(0.93rem, 1vw, 0.98rem);
  line-height: 1.68;
  color: var(--muted);
}

.hero-lede {
  max-inline-size: 28ch;
  font-size: clamp(1rem, 1.16vw, 1.1rem);
  line-height: 1.5;
  color: rgba(37, 32, 27, 0.76);
  animation-delay: 250ms;
}

.hero-copy p:nth-child(2) {
  animation-delay: 330ms;
}

.hero-copy p:nth-child(3) {
  animation-delay: 410ms;
}

.hero-copy p:nth-child(4) {
  animation-delay: 490ms;
}

.hero-signoff {
  padding-block-start: 0.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(37, 32, 27, 0.84);
  animation-delay: 570ms;
}

@keyframes driftIn {
  from {
    opacity: 0;
    transform: translate3d(0, 1.2rem, 0);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: clamp(1rem, 4vw, 2rem);
  }

  .hero-title,
  .hero-copy {
    grid-column: 1 / 2;
  }

  .hero-title {
    grid-row: 2 / 3;
    align-self: end;
  }

  .hero-copy {
    grid-row: 3 / 4;
    justify-self: start;
    inline-size: min(100%, 31rem);
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 0;
  }

  .hero {
    min-block-size: 100svh;
    min-block-size: 100dvh;
    border-radius: 0;
    border-inline: 0;
    padding:
      clamp(1.4rem, 5vw, 2rem)
      clamp(1rem, 6vw, 1.6rem)
      clamp(1.6rem, 6vw, 2.2rem);
  }

  .hero::after {
    inset: 0.8rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12.8vw, 4.55rem);
    line-height: 0.96;
  }

  .hero-copy {
    gap: 0.82rem;
  }

  .hero-copy p {
    max-inline-size: 100%;
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .hero-lede {
    font-size: 0.98rem;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: clamp(2.2rem, 12.6vw, 3rem);
  }

  .hero-copy p {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
