[hidden] { display: none !important; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #d7b16f;
  outline-offset: 4px;
}

.hero-content h1 {
  font-size: clamp(2.35rem, 5.35vw, 5.25rem);
  line-height: 1.03;
}

.hero-content .hero-copy {
  max-width: 38ch;
  color: #e1dcd4;
  margin: 1.25rem 0 1.5rem;
}

.hero-action {
  position: relative;
  overflow: hidden;
  min-height: 3rem;
  border-radius: .35rem;
  background: #e6c78d;
  transition: transform .22s ease, background .22s ease;
}

.hero-action:hover { background: #f4dcae; }
.hero-action:active { transform: scale(.98); }

.how h2 { font-size: clamp(2rem, 4vw, 3rem); }

.request-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.request-steps li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding-top: 1.125rem;
  border-top: 1px solid #d9bb834a;
}

.step-marker {
  display: grid;
  place-items: center;
  flex: 0 0 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: #d9bb831a;
  color: #e8c68b;
  font-size: .875rem;
  font-weight: 700;
}

.request-steps h3 { margin: .2rem 0 .4rem; font: 700 1.075rem Manrope, sans-serif; }
.request-steps p { margin: 0; color: #b8b2a9; }
.socials a { width: 44px; height: 44px; }
.socials a:active { transform: scale(.94); }

@media (max-width: 700px) {
  .hero-content h1 { font-size: clamp(1.85rem, 8.6vw, 3.6rem); }
  .hero-content .hero-copy { margin-block: .875rem 1.125rem; }
  .request-steps { grid-template-columns: 1fr; gap: 1rem; }
  footer { gap: 1rem; }
  footer p { margin: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: page-arrive .55s cubic-bezier(.2,.75,.25,1) both; }
  .hero-content > :nth-child(2) { animation-delay: 60ms; }
  .hero-content > :nth-child(3) { animation-delay: 120ms; }

  .reveal-pending {
    transform: translateY(14px);
    transition: transform .58s cubic-bezier(.2,.75,.25,1);
  }

  .reveal-pending.is-visible, .reveal-pending:focus-within {
    transform: none;
  }

  .request-steps.is-visible li { animation: page-arrive .5s cubic-bezier(.2,.75,.25,1) both; }
  .request-steps.is-visible li:nth-child(2) { animation-delay: 65ms; }
  .request-steps.is-visible li:nth-child(3) { animation-delay: 130ms; }

  .hero-action::after, .moment-card .request-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(108deg, transparent 35%, #fff8 50%, transparent 65%);
    transform: translateX(-105%);
    pointer-events: none;
  }

  .hero-action::after { animation: action-glint .9s ease-out 650ms 1 both; }
  .featured-moment.is-visible .request-btn::after { animation: action-glint .9s ease-out 280ms 1 both; }
  .events.is-guiding .moment-card--featured .request-btn { animation: request-cue .8s ease-out 1 both; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-action, .moment-details .request-btn, .moment-card > img, .socials a {
    transition: none;
  }
}

@keyframes page-arrive {
  from { transform: translateY(10px); }
  to { transform: translateY(0); }
}

@keyframes action-glint {
  to { transform: translateX(105%); }
}

@keyframes request-cue {
  30% { box-shadow: 0 0 0 4px #f0d59a85; }
  100% { box-shadow: 0 0 0 8px #f0d59a00; }
}
