.polaroid {
  display: inline-block;
  background: #fff;
  padding: 12px 12px 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.08);

  /* start state */
  opacity: 0;
  transform: translateY(-40px) scale(.96);
  animation: polaroidDrop .9s cubic-bezier(.34,1.56,.64,1) forwards;
  animation-play-state: paused;
}

.polaroid.on {
  animation-play-state: running;
}

/* Image develops from washed-out to normal */
.polaroid img {
  display: block;
  width: 100%;
  filter: brightness(1.6) saturate(0);
  transition: filter 1.4s ease .5s;
}

.polaroid.on img {
  filter: brightness(1) saturate(1);
}

@keyframes polaroidDrop {
  0%   { opacity: 0; transform: translateY(-40px) scale(.96); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* ── Hero text wrapper ── */
.hero-text {
  text-align: center;
  padding-top: 0px !important;
}

.hero-eyebrow {
    font-size: 12px;
    letter-spacing: .55em;
    font-weight: 200;
    text-transform: uppercase;
    margin-bottom: 51px;
    opacity: 0;
    animation: htFadeUp .8s ease 2.0s forwards;
    color: #2e2820 ! IMPORTANT;
}
/* Name row */
.hero-name-wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.15em;
}

.hero-n {
  font-family: var(--font-heading);
  color: #2E2820;
  display: inline-block;
  clip-path: polygon(-50% 110%, 150% 110%, 150% 110%, -50% 110%);
  animation: htSlideUp 1s cubic-bezier(.16,1,.3,1) forwards;
  animation-play-state: paused;
  white-space: nowrap;
}
.hero-n.go { animation-play-state: running; }

.hero-n.hn1 {
  font-size: clamp(68px, 17vw, 136px);
  line-height: .88;
  padding: 0.15em 0.5em 0.15em 0.6em;
  margin: -0.15em -0.5em -0.15em -0.6em;
}
.hero-n.hamp {
  font-size: clamp(28px, 7vw, 52px);
  color: #C9A96E;
  line-height: 1.25;
  opacity: .88;
  padding: 0px 30px;
}
.hero-n.hn2 {
  font-size: clamp(68px, 17vw, 136px);
  line-height: .88;
  padding: 0.15em 0.6em 0.15em 0.5em;
  margin: -0.15em -0.6em -0.15em -0.5em;
}

/* The expanding letters ("amo" and "eri") */
.exp {
  display: none;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .22em;
  margin-top: 18px;
  line-height: 2;
  opacity: 0;
  animation: htFadeUp .8s ease 2.9s forwards;
}

/* Scroll indicator */
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 53px;
  opacity: 0;
  animation: htFadeUp .8s ease 3.2s forwards;
}
.hero-scroll-line {
    width: 1px;
    background: #2e282082 !important;
    animation: htGrowDown 1s ease 3.4s forwards;
    margin-bottom: 1em;
    height: 29px !important;
}


/* Wave divider at the bottom of the hero */
.hero_main {
  position: relative;
}
.hero_main::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 47px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C320,110 560,10 720,55 C880,100 1120,5 1440,60 L1440,100 L0,100 Z' fill='%23fff5e3'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 2;
}

/* Mobile */
@media (max-width: 767px) {
  p.hero-eyebrow {
    margin-bottom: 36px !important;
  }
  .hero-scroll {
    margin-top: 0px;
  }
}

/* Keyframes */
@keyframes htSlideUp  { to { clip-path: polygon(-50% -50%, 150% -50%, 150% 150%, -50% 150%); } }
@keyframes htFadeUp   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes htGrowDown { to { height: 56px; } }
