:root {
  --blush: #F5E9E8;
  --rose: #D8B4B5;
  --mauve: #B47E83;
  --plum: #654B51;
}

html {
  @media (prefers-reduced-motion: reduce) {
    scroll-behavior: auto;
  }
}

body {
  background: var(--blush);
  color: var(--plum);
  font-family: Montserrat, sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.cover-locked {
  overflow: hidden;
  height: 100dvh;
}

h1,
h2,
h3,
.serif {
  font-family: 'Playfair Display', Georgia, serif;
}

.soft {
  font-size: 1.02rem;
  font-weight: 400;
}

.card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(216, 180, 181, 0.7);
  border-radius: 2rem;
  box-shadow: 0 18px 40px -22px rgba(101, 75, 81, 0.35);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.oval {
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(216, 180, 181, 0.65));
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.55), 0 0 0 9px rgba(180, 126, 131, 0.5);
}

.oval img,
.tile img {
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);

  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }
}

.oval:hover img,
.tile:hover img {
  transform: scale(1.05);

  @media (prefers-reduced-motion: reduce) {
    transform: none;
  }
}

.tile {
  border-radius: 1.75rem;
  overflow: hidden;
  background: var(--rose);
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 1rem;
  box-shadow: 0 14px 30px -18px rgba(101, 75, 81, 0.5);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn-solid {
  background: var(--plum);
  color: var(--blush);
}

.btn-solid:hover {
  background: var(--mauve);
}

.btn-line {
  border: 1.5px solid var(--mauve);
  color: var(--plum);
}

.btn-line:hover {
  background: var(--mauve);
  color: #fff;
}

.field {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(180, 126, 131, 0.55);
  border-radius: 1.1rem;
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
  color: var(--plum);
}

.field:focus {
  outline: none;
  border-color: var(--plum);
  background: #fff;
}

.ico {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
}

.wv-svg {
  position: absolute;
  left: 0;
  top: -47px;
  width: 100%;
  height: 48px;
  display: block;
  pointer-events: none;
}

.flor {
  position: absolute;
  pointer-events: none;
}

.sway {
  animation: mawaddahSway 9s ease-in-out infinite;
  transform-origin: 50% 90%;

  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

@keyframes mawaddahSway {
  0%,
  100% {
    transform: rotate(var(--r, 0deg));
  }
  50% {
    transform: rotate(calc(var(--r, 0deg) + 4deg));
  }
}

.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);

  @media (prefers-reduced-motion: reduce) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.reveal-item.is-visible {
  opacity: 1;
  transform: none;
}

#opening-cover {
  transition: opacity 1s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), visibility 1s;

  @media (prefers-reduced-motion: reduce) {
    transition: opacity 0.2s ease, visibility 0.2s;
  }
}

#opening-cover.cover-dismissed {
  opacity: 0;
  transform: translateY(-4%);
  visibility: hidden;
  pointer-events: none;

  @media (prefers-reduced-motion: reduce) {
    transform: none;
  }
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--blush);
}

::-webkit-scrollbar-thumb {
  background: var(--rose);
  border-radius: 6px;
}

