:root {
  --paper: #f3f0ea;
  --ink: #141414;
  --muted: #706d67;
  --line: rgba(20, 20, 20, 0.22);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 4vw, 56px);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -3;
  background:
    radial-gradient(circle at 78% 24%, rgba(255,255,255,.95) 0 12%, transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(221,215,205,.72) 0 10%, transparent 36%),
    linear-gradient(135deg, #f7f4ee 0%, #ece7df 52%, #f4f1eb 100%);
  transform: scale(1.06);
  animation: drift 16s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: min(62vw, 880px);
  aspect-ratio: 1 / 1.25;
  right: -18vw;
  top: 50%;
  transform: translate(var(--mx, 0px), calc(-50% + var(--my, 0px)));
  transition: transform 900ms cubic-bezier(.2,.7,.2,1);
  z-index: -2;
  border: 1px solid rgba(20,20,20,.10);
  border-radius: 50%;
  filter: blur(.1px);
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  z-index: 4;
  background-image:
    repeating-radial-gradient(circle at 0 0, rgba(0,0,0,.14) 0 .45px, transparent .5px 3px);
  mix-blend-mode: multiply;
}

.line {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  right: clamp(24px, 4vw, 56px);
  height: 1px;
  background: var(--line);
  transform-origin: left;
  animation: draw 1.2s cubic-bezier(.2,.7,.2,1) .15s both;
}

.line-top { top: clamp(76px, 9vw, 118px); }
.line-bottom { bottom: clamp(76px, 9vw, 118px); }

.eyebrow,
.footer,
.date {
  font-size: 11px;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow {
  align-self: start;
  padding-top: clamp(70px, 8vw, 102px);
  color: var(--muted);
}

.content {
  align-self: center;
  max-width: 1100px;
  padding: 8vh 0 10vh;
}

.date {
  margin: 0 0 24px;
  color: var(--muted);
}

.title {
  margin: 0;
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: .82;
  font-size: clamp(68px, 13.5vw, 210px);
}

.title span { display: block; }
.title span:last-child { margin-left: clamp(12px, 6vw, 110px); }

.subtitle {
  margin: clamp(28px, 4vw, 48px) 0 0;
  max-width: 480px;
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.35;
  color: #2a2926;
}

.footer {
  align-self: end;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  padding-bottom: 6px;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .95s cubic-bezier(.22,.72,.18,1) forwards;
}

.delay-1 { animation-delay: .28s; }
.delay-2 { animation-delay: .42s; }
.delay-3 { animation-delay: .55s; }
.delay-4 { animation-delay: .78s; }
.delay-5 { animation-delay: 1s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes drift {
  from { transform: scale(1.06) translate3d(-1%, -1%, 0); }
  to { transform: scale(1.11) translate3d(1.4%, 1%, 0); }
}

@media (max-width: 700px) {
  .hero {
    padding: 22px;
  }

  .line {
    left: 22px;
    right: 22px;
  }

  .line-top { top: 73px; }
  .line-bottom { bottom: 73px; }

  .eyebrow { padding-top: 67px; }

  .content {
    padding: 5vh 0 8vh;
  }

  .title {
    font-size: clamp(64px, 21vw, 112px);
    line-height: .88;
  }

  .title span:last-child {
    margin-left: 0;
    margin-top: 8px;
  }

  .subtitle {
    max-width: 300px;
    font-size: 21px;
  }

  .footer {
    justify-content: space-between;
    gap: 10px;
  }

  .footer .dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
