/* Main home — elegant forest wedding */

.home {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.home-eyebrow {
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin: 0 0 0.75rem;
}

.home-section-head {
  margin-bottom: 1.75rem;
}

.home-section-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.15;
  margin: 0;
}

/* Hero */
.home-hero {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin: -4px -4px 2.5rem;
  min-height: min(52vh, 420px);
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(168, 213, 186, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(45, 80, 22, 0.45), transparent 50%),
    linear-gradient(160deg, #1b3a0d 0%, #2d5016 42%, #3d6b24 78%, #2a4a18 100%);
  color: #f3f8f2;
  box-shadow: 0 18px 40px rgba(27, 58, 13, 0.28);
}

.home-hero-mist {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(255, 255, 255, 0.015) 11px,
      rgba(255, 255, 255, 0.015) 12px
    );
  pointer-events: none;
  opacity: 0.9;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.25rem);
  width: 100%;
}

.home-hero .home-eyebrow {
  color: rgba(232, 245, 233, 0.78);
}

.home-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: #f7fbf6;
  max-width: 12ch;
}

.home-title-mark {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  letter-spacing: 0.04em;
  color: var(--accent-color);
  margin-bottom: 0.15em;
}

.home-lede {
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  max-width: 34rem;
  margin: 0;
  color: rgba(243, 248, 242, 0.88);
}

.home-hero-rule {
  width: 64px;
  height: 2px;
  margin-top: 1.75rem;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

/* Day timeline */
.home-day {
  margin-bottom: 3rem;
}

.day-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(74, 124, 44, 0.35);
  margin-left: 0.35rem;
}

.day-step {
  display: grid;
  grid-template-columns: minmax(88px, 110px) 1fr;
  gap: 1.25rem 1.5rem;
  padding: 0 0 2rem 1.5rem;
  position: relative;
}

.day-step:last-child {
  padding-bottom: 0;
}

.day-step::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary-color);
  box-shadow: 0 0 0 3px var(--light-green);
}

.day-time {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.day-clock {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.1;
}

.day-span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7f5c;
}

.day-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--dark-green);
  margin: 0 0 0.35rem;
}

.day-place {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--secondary-color);
  margin: 0 0 0.15rem;
}

.day-detail {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  color: #5a6b52;
  margin: 0 0 0.65rem;
}

.day-note {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-color);
  margin: 0;
}

.day-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.day-list li {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: var(--primary-color);
  position: relative;
  padding-left: 0.9rem;
}

.day-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-color);
}

/* Announcements */
.home-updates {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(74, 124, 44, 0.2);
}

.home-admin-create {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(168, 213, 186, 0.55);
  border-radius: 4px;
}

.updates-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.update-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(74, 124, 44, 0.15);
}

.update-item:first-child {
  padding-top: 0.25rem;
}

.update-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 0.5rem;
}

.update-body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: #3d4a38;
  margin: 0 0 0.75rem;
  white-space: pre-wrap;
}

.update-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a8c6e;
  margin: 0 0 0.75rem;
}

.updates-empty {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-style: italic;
  color: #6b7f5c;
  padding: 0.5rem 0 1rem;
}

.btn-small {
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* Motion */
.animate-in {
  opacity: 0;
  transform: translateY(14px);
  animation: homeRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

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

@media (prefers-reduced-motion: reduce) {
  .animate-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 700px) {
  .home-hero {
    min-height: 340px;
    margin: 0 0 2rem;
  }

  .day-step {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding-left: 1.25rem;
  }

  .day-time {
    flex-direction: row;
    align-items: baseline;
    gap: 0.65rem;
  }
}
