/* 2spuds wedding — coming soon */

:root {
  --cream: #faf6f0;
  --cream-deep: #f0e8dc;
  --ink: #2c1810;
  --ink-soft: #5c4033;
  --ink-muted: #8a7060;
  --gold: #c4a574;
  --gold-soft: #dcc9a8;
  --terracotta: #e07a5f;
  --leaf: #6b8f5e;
  --page-max: 42rem;
  --hero-max: 28rem;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Soft ambient background */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(220, 201, 168, 0.55), transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(224, 122, 95, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 35% at 85% 70%, rgba(107, 143, 94, 0.08), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.bg-dots {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle at 1px 1px, var(--gold-soft) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, black 15%, black 70%, transparent);
}

.main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2rem)
    clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

/* Brand */
.brand {
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.brand-kicker {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
}

.brand-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
}

.brand-title-main {
  font-size: clamp(2.75rem, 10vw, 4.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand-title-sub {
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: var(--terracotta);
}

/* Hero — primary visual: potato duo */
.hero {
  width: 100%;
  max-width: var(--hero-max);
  margin: clamp(0.25rem, 1.5vw, 0.75rem) auto;
}

.hero-stage {
  width: 100%;
  aspect-ratio: 480 / 320;
  min-height: min(42vw, 14rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.potato-duo {
  width: 100%;
  height: auto;
  max-height: 320px;
  display: block;
  overflow: visible;
}

/* --- Animations: potatoes bob, hold hands, pulse heart --- */

.potato-left {
  transform-origin: 150px 260px;
  animation: bob-left 2.8s ease-in-out infinite;
}

.potato-right {
  transform-origin: 330px 260px;
  animation: bob-right 2.8s ease-in-out infinite;
}

.joined-hands {
  transform-origin: 240px 222px;
  animation: hands-sway 2.8s ease-in-out infinite;
}

.heart-sparkle {
  transform-origin: 240px 200px;
  animation: heart-pulse 1.6s ease-in-out infinite;
}

.arm-wave {
  transform-origin: 95px 165px;
  animation: wave-left 3.2s ease-in-out infinite;
}

.arm-wave-right {
  transform-origin: 385px 165px;
  animation: wave-right 3.2s ease-in-out infinite 0.4s;
}

.sprouts {
  animation: sprout-sway 3.5s ease-in-out infinite;
}

.potato-left .sprouts {
  transform-origin: 150px 90px;
}

.potato-right .sprouts {
  transform-origin: 330px 88px;
  animation-delay: 0.35s;
}

.ground-shadow {
  animation: shadow-breathe 2.8s ease-in-out infinite;
}

.eye {
  animation: blink 5s ease-in-out infinite;
  transform-origin: center;
}

.potato-right .eye {
  animation-delay: 0.15s;
}

@keyframes bob-left {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes bob-right {
  0%,
  100% {
    transform: translateY(-4px) rotate(1.5deg);
  }
  50% {
    transform: translateY(4px) rotate(-1deg);
  }
}

@keyframes hands-sway {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes heart-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes wave-left {
  0%,
  100% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(-12deg);
  }
  60% {
    transform: rotate(-4deg);
  }
}

@keyframes wave-right {
  0%,
  100% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(12deg);
  }
  60% {
    transform: rotate(4deg);
  }
}

@keyframes sprout-sway {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

@keyframes shadow-breathe {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.12;
  }
  50% {
    transform: scaleX(0.92);
    opacity: 0.09;
  }
}

@keyframes blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  94%,
  96% {
    transform: scaleY(0.12);
  }
}

/* Message */
.message {
  margin-top: clamp(0.5rem, 2vw, 1.25rem);
  max-width: 28rem;
}

.coming-soon {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.coming-soon::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0.85rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 1px;
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.details {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 300;
  color: var(--ink-muted);
  max-width: 26rem;
  margin: 0 auto;
}

/* Footer */
.footer {
  margin-top: auto;
  padding-top: clamp(2rem, 6vw, 3.5rem);
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.footer-domain {
  font-weight: 500;
  color: var(--ink-soft);
}

.footer-sep {
  margin: 0 0.45rem;
  opacity: 0.5;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .potato-left,
  .potato-right,
  .joined-hands,
  .heart-sparkle,
  .arm-wave,
  .arm-wave-right,
  .sprouts,
  .ground-shadow,
  .eye {
    animation: none !important;
  }
}

/* Mobile tweaks */
@media (max-width: 400px) {
  .brand-kicker {
    letter-spacing: 0.14em;
    font-size: 0.65rem;
  }

  .hero-stage {
    min-height: 11rem;
  }
}

/* Wide screens — keep hero prominent */
@media (min-width: 768px) {
  .main {
    justify-content: center;
    padding-top: clamp(2rem, 6vh, 4rem);
  }

  .hero {
    max-width: 32rem;
  }

  .hero-stage {
    min-height: 16rem;
  }
}
